{"version":3,"sources":["constants/environment.ts","services/index.ts","app/i18n/main.ts","app/components/charts/horizontal-bar.tsx","app/components/charts/vertical-bar.tsx","app/components/mui/table-cell.tsx","app/components/counter.tsx","configs/app.ts","configs/et-cloud.ts","configs/workaround.ts","app/components/function-icons.tsx","app/components/functioncount-icons.tsx","app/components/articlecount-icons.tsx","app/components/invite-status .tsx","app/components/light-box.tsx","app/components/locale-dropdown.tsx","app/components/logo.tsx","app/containers/show-if-authorised.tsx","app/pages/order/views/cards.tsx","app/pages/order/card.tsx","app/pages/order/details.tsx","app/components/export_excel.tsx","app/pages/order/main.tsx","app/pages/order/store.ts","app/pages/order/manageOrder/manageOrder.tsx","app/pages/account/login.tsx","app/pages/account/register.tsx","app/pages/account/reset-password.tsx","app/pages/article/views/cards.tsx","app/pages/article/card.tsx","app/pages/article/create.tsx","app/pages/article/details.tsx","app/pages/article/edit.tsx","app/hooks/use-force-update.tsx","app/pages/article/form.tsx","app/pages/article/main.tsx","app/pages/article/shared.ts","app/pages/article/store.ts","app/pages/article/translate.tsx","app/pages/article/translate-form.tsx","app/pages/customer/main.tsx","app/pages/customer/store.ts","app/pages/dealercustomer/views/cards.tsx","app/pages/dealercustomer/views/carddetails.tsx","app/pages/dealercustomer/card.tsx","app/pages/dealercustomer/details.tsx","app/pages/dealercustomer/listdetail.tsx","app/pages/dealercustomer/main.tsx","app/pages/dealercustomer/store.ts","app/pages/dealercustomer/addcustomer/form.tsx","app/pages/dealercustomer/addcustomer/layout.tsx","app/pages/dealercustomer/addcustomer/main.tsx","app/pages/dealercustomer/addcustomer/store .ts","app/pages/dealercustomer/customerdetail/card.tsx","app/pages/dealercustomer/customerdetail/views/cards.tsx","app/pages/dealercustomer/customerdetail/details.tsx","app/pages/dealercustomer/customerdetail/main.tsx","app/pages/dealercustomer/customerdetail/store.ts","app/pages/dealercustomer/customerdetail/detailslicense.tsx","app/pages/dealercustomer/customerdetail/cardlicense.tsx","app/pages/dealercustomer/customerdetail/detailsdevice.tsx","app/pages/dealercustomer/customerdetail/carddevice.tsx","app/pages/dealercustomer/customerdetail/user.tsx","app/pages/dealercustomer/adddealeruser/main.tsx","app/pages/dealercustomer/customerinvite/article-selection-card.tsx","themes/global/overrides.ts","themes/global/palette.ts","themes/global/props.ts","themes/global/shared.ts","themes/global/typography.ts","app/pages/dealercustomer/customerinvite/main.tsx","app/pages/dealercustomer/customerinvite/store.ts","app/pages/dealercustomer/customerinvitesummary/main.tsx","app/pages/dealercustomer/customerinvitesummary/store.ts","app/pages/dealercustomer/importdealer/main.tsx","app/pages/dealercustomer/importdealer/store.ts","app/pages/dealercustomer/manageadmin/views/cards.tsx","app/pages/dealercustomer/manageadmin/views/listdetails.tsx","app/pages/dealercustomer/manageadmin/card.tsx","app/pages/dealercustomer/manageadmin/details.tsx","app/pages/dealercustomer/manageadmin/listdetail.tsx","app/pages/dealercustomer/manageadmin/main.tsx","app/pages/dealercustomer/manageadmin/store.ts","app/pages/dealercustomer/managedealer/views/cards.tsx","app/pages/dealercustomer/managedealer/card.tsx","app/pages/dealercustomer/managedealer/main.tsx","app/pages/dealercustomer/managedealer/store.ts","app/pages/device-configuration-upload/store.ts","app/pages/device-configuration-upload/main.tsx","app/pages/easy-touch-device/generate/generate-form.tsx","app/pages/easy-touch-device/generate/generate-store.ts","app/pages/easy-touch-device/generate/success.tsx","app/pages/easy-touch-device/generate/generate-main.tsx","app/pages/easy-touch-device/card.tsx","app/pages/easy-touch-device/details.tsx","app/pages/easy-touch-device/main.tsx","app/pages/easy-touch-device/store.ts","app/pages/easy-touch-device/detail-terminal.tsx","app/pages/function/create.tsx","app/pages/function/edit.tsx","app/pages/function/form.tsx","app/pages/function/main.tsx","app/pages/function/shared.ts","app/pages/function/store.ts","app/pages/function/translate.tsx","app/pages/function/translate-form.tsx","app/pages/home/dashboard.tsx","app/pages/home/main.tsx","app/pages/home/store.ts","app/pages/icon/form.tsx","app/pages/icon/main.tsx","app/pages/icon/shared.ts","app/pages/icon/store.ts","app/pages/icon/upload.tsx","app/pages/industry-segment/create.tsx","app/pages/industry-segment/edit.tsx","app/pages/industry-segment/form.tsx","app/pages/industry-segment/main.tsx","app/pages/industry-segment/shared.ts","app/pages/industry-segment/store.ts","app/pages/license/activate/article-selection-card.tsx","app/pages/license/activate/form.tsx","app/pages/license/activate/layout.tsx","app/pages/license/activate/main.tsx","app/pages/license/activate/store.ts","app/pages/license/activate/success.tsx","app/pages/license/generate/card.tsx","app/pages/license/generate/form.tsx","app/pages/license/generate/main.tsx","app/pages/license/generate/store.ts","app/pages/license/generate/success.tsx","app/pages/license/assignedLicenseDetail/main.tsx","app/pages/license/assignedLicenseDetail/store.ts","app/pages/license/addLicense/main.tsx","app/pages/license/addLicense/store.ts","app/pages/license/card.tsx","app/pages/license/details.tsx","app/pages/license/main.tsx","app/pages/license/manual.tsx","app/pages/license/store.ts","app/pages/profile/main.tsx","app/pages/settings/main.tsx","app/pages/shop/payment/success/main.tsx","app/pages/shop/payment/success/order-detailts.tsx","app/pages/shop/payment/cancelled.tsx","app/pages/shop/payment/failure.tsx","app/pages/shop/payment/process.tsx","app/pages/shop/address.tsx","app/pages/shop/address-form.tsx","app/pages/shop/card.tsx","app/pages/shop/cart.tsx","app/pages/shop/checkout.tsx","app/pages/shop/form.tsx","app/pages/shop/main.tsx","app/pages/shop/procceed-to-payment-button.tsx","app/pages/shop/shared.ts","app/pages/tenant/admin-account-form.tsx","app/pages/tenant/company-form.tsx","app/pages/tenant/create.tsx","app/pages/tenant/main.tsx","app/pages/tenant/shared.ts","app/pages/tenant/store.ts","app/pages/tenant/summary.tsx","app/pages/user-management/main.tsx","app/pages/user-management/store .ts","app/pages/user-management/adddealer/form.tsx","app/pages/user-management/adddealer/layout.tsx","app/pages/user-management/adddealer/main.tsx","app/pages/user-management/adddealer/store .ts","app/pages/order/manageOrder/manageOrderDetail.tsx","app/pages/order/customer/listdetail.tsx","app/pages/order/customer/customerCard.tsx","app/pages/order/customer/customerDetails.tsx","app/pages/order/customer/customerMain.tsx","app/pages/order/customer/customerStore.ts","app/components/msigridcomponent.tsx","app/components/order.tsx","app/components/quick-info-tile.tsx","app/components/redirect.tsx","app/components/responsiveScreen.tsx","app/components/task-popup-menu.tsx","app/components/theme-toggle.tsx","app/components/upload-button.tsx","app/components/working-status.tsx","app/components/responsive-fullscreen-dialog-with-scroll.tsx","app/components/customer.tsx","app/components/order-for-success-page.tsx","app/components/order-status.tsx","app/components/Customer-status.tsx","app/components/switches.tsx","app/routes/dealer/addcustomer.tsx","app/routes/dealer/adddealeruser.tsx","app/routes/dealer/customerdetail.tsx","app/routes/dealer/customerinvite.tsx","app/routes/dealer/customerinvitesummary.tsx","app/routes/dealer/importdealer.tsx","app/routes/dealer/main.tsx","app/routes/dealer/manageadmin.tsx","app/routes/dealer/managedealer.tsx","app/routes/license/activate.tsx","app/routes/license/generate.tsx","app/routes/license/assignedLicenseDetail.tsx","app/routes/addLicense.tsx","app/routes/license/main.tsx","app/routes/shop/main.tsx","app/routes/shop/payment.tsx","app/routes/user/adddealer.tsx","app/routes/user/main.tsx","app/routes/user/user-management.tsx","app/routes/order/manageOrder.tsx","app/routes/order/main.tsx","app/layouts/appbar/main.tsx","app/layouts/drawer-appbar-combo/AppMenuItem.tsx","app/layouts/drawer-appbar-combo/drawer.tsx","app/layouts/drawer-appbar-combo/breadcrumb.tsx","app/layouts/drawer-appbar-combo/main.tsx","app/layouts/externalnavi/main.tsx","app/layouts/none/main.tsx","app/routes/account.tsx","app/routes/article.tsx","app/routes/device-configuration-upload.tsx","app/routes/easy-touch-device.tsx","app/routes/function.tsx","app/routes/global.tsx","app/routes/icon.tsx","app/routes/industry-segment.tsx","app/routes/payment-temp-redirect.tsx","app/routes/route.tsx","app/routes/tenant.tsx","stores/cart.ts","stores/tenant.ts","stores/user.ts","app/main.tsx","serviceWorker.ts","index.tsx","services/managers/index.ts","services/managers/http/index.ts","services/managers/http/axios.ts","services/addcustomer .ts","services/addDealer.ts","services/address.ts","services/adminmanageservice.ts","services/article.ts","services/customer.ts","services/dashboard.ts","services/dealercustomerservice.ts","services/device-configuration-upload.ts","services/easy-touch-device.ts","services/function.ts","services/icon.ts","services/importdealer.ts","services/industry-segment.ts","services/invitecustomer.ts","services/license.ts","services/order.ts","services/tenant.ts","services/user.ts","services/user-management.ts","services/factories/url.ts"],"names":["environment","production","apiBaseUrlProtocol","process","apiBaseUrlHostname","apiBaseUrlVersion","KARegisterURL","BaseKARegisterURL","BaseSSORegisterURL","BaseWEBSHOPURL","REACT_APP_ACCOUNT_BASE_WEBSHOP_URL","KAForgetPasswordURL","AESDataKey","apiStatus","Success","Error","I18next","use","Backend","BrowserLanguageDetector","ReactI18next","init","fallbackLng","debug","whitelist","detection","lookupQuerystring","order","caches","interpolation","escapeValue","data","country","burger","burgerColor","sandwich","sandwichColor","kebab","kebabColor","fries","friesColor","donut","donutColor","ResponsiveHorizontalBar","props","theme","Mui","tooltip","container","background","palette","default","axis","ticks","line","stroke","text","secondary","fill","keys","indexBy","margin","bottom","left","right","top","padding","layout","colors","primary","main","borderRadius","borderColor","from","modifiers","axisTop","tickSize","tickPadding","tickRotation","axisBottom","axisRight","axisLeft","groupMode","enableLabel","enableGridY","enableGridX","labelSkipWidth","labelSkipHeight","labelTextColor","getContrastText","animate","motionStiffness","motionDamping","ResponsiveVerticalBar","innerPadding","spacing","legends","useStyles","root","backgroundColor","color","specialRowColor","paper","borderBottom","leftmost","rightmost","TableCell","children","height","classes","className","borderRight","divider","Counter","min","max","value","handleDecrement","handleIncrement","style","alignItems","onClick","disabled","Math","size","marginRight","marginLeft","APP","url","ET_CLOUD","BASE_URL","hundCodes","toLowerCase","typeCodes","Workaround","code","includes","FuctionIcons","functions","position","width","display","justifyContent","map","func","title","funcationName","key","uuidv4","iconClass","HtmlTooltip","withStyles","maxWidth","fontSize","typography","pxToRem","border","FunctionCountIcons","slice","length","k","ArticleCountIcons","articles","setName","getLabels","status","labels","InviteStatus","label","variant","icon","success","dark","info","light","appbar","breakpoints","values","md","flexGrow","toolbar","mixins","LightBox","open","handleClose","content","actions","anchor","onClose","marginBottom","selectRoot","select","paddingRight","showLabel","selectFormControl","LocaleDropdown","i18n","i18nKey","placement","id","labelId","language","onChange","event","currentCultureInfo","changeLanguage","target","localStorage","setItem","shortLabel","option","src","Configs","alt","logoContainer","gridAutoFlow","gridColumnGap","userSelect","logoFragmentContainer","logoFragmentText","fontStyle","fontWeight","lineHeight","Logo","ShowIfAuthorised","Mobx","roles","userStore","React","App","user","RoleName","descendingComparator","a","b","orderBy","Cards","orders","t","orderId","setOrderId","orderCode","setOrderCode","orderDetailsDialogOpen","setOrderDetailsDialogOpen","orderedOn","setOrderedOn","page","setPage","rowsPerPage","orderServices","Services","httpManager","Axios","agent","urlFactory","URL","protocol","Constants","hostname","version","uid","ETUID","getData","body","cid","result","find","overAllStatus","partialReturnOrderObjectForStatus3","orderDetails","q","setID","returnQuantity","quantity","partialReturnOrderObjectForStatus4","partialReturnOrderObjectForStatus5","setOrders","console","error","orderArrayUniqueByKey","Map","item","flexDirection","xs","window","print","array","comparator","stabilizedThis","el","index","sort","stableSort","getComparator","lg","handleClick","OrderedOn","marginTop","severity","justify","count","ceil","shape","Card","setLanguage","languageValue","CardInternals","dataFrom","sageOLReferenceBillID","assignedTo","companyName","orderID","Details","setOrder","JSON","stringify","getStatusString","ExcelComponent","headerObject","contentList","fileName","handleExport","extractValues","objects","properties","record","property","returnValue","utcDateWithoutZ","utcDate","Date","getUTCDate","getUTCMonth","getUTCFullYear","getUTCHours","getUTCMinutes","workbook","ExcelJS","Workbook","worksheet","addWorksheet","addRow","eachCell","cell","font","bold","argb","type","pattern","fgColor","name","forEach","xlsx","writeBuffer","buffer","blob","Blob","createObjectURL","document","createElement","href","download","click","revokeObjectURL","EnhancedTableHead","onRequestSort","restOfProps","align","numeric","disablePadding","sortDirection","active","direction","visuallyHidden","table","minWidth","clip","overflow","EnhancedTable","rows","setOrderBy","selected","setSelected","handleRequestSort","handleSelectAllClick","checked","newSelecteds","n","emptyRows","navigate","Router","orderStore","aria-labelledby","aria-label","numSelected","onSelectAllClick","rowCount","row","isItemSelected","indexOf","grossTotalPriceInclVAT","vatTaxPercent","hover","selectedIndex","newSelected","concat","clearOrder","etuid","aria-checked","tabIndex","DateFns","component","scope","userFirstName","userLastName","FirstName","LastName","colSpan","Main","search","setSearch","userRole","undefined","read","isInitialLoading","minHeight","maxHeight","view","filter","Store","orderService","licenseService","articleService","this","orderDetail","assignLicense","isLoading","getAllData","orderRequest","licenseRequest","getAllCustomerInviteData","licenseResponse","licenseCodeUniqueList","List","deviceList","licenseCode","device","m","licenseCodeList","maxStatus","findIndex","v","articleResult","orderObject","orderDetailIDList","orderDetailID","licenseList","licemsSetName","setCode","hundCode","assignLicenseSingle","license","assignedCustomerID","every","orderStatus","some","validForAssignAll","log","Object","reduce","hash","model","quantities","isCustomerInvite","buttonIncrementer","isAssignAll","OrderDetailsOpen","isManageOrderDetail","setRowsPerPage","importDealerStore","setSelectedLicenseList","selectAll","setSelectAll","isDeviceDeactive","setDeviceDeactive","isCustomerExist","customerData","setCustomerData","dCustomerStore","delareCustomerStore","enqueueSnackbar","Notistack","setSelectedLicense","isAssign","isAvailable","setAvailable","unAssign","addCustomerStore","setIsCustomerAdd","licenses","getAssignLicense","isCustomerSelected","customer","unAssignedRequest","CustomerETUID","customerObject","CustomerEmailID","emailID","DealerETUID","LicenseCode","OrderDetailID","SetID","cancelInviteForSingleLicense","dealerCompany","importDealer","getAllAssignLicense","assignedQuantity","getItem","parse","inviteCustomer","EmailID","CompanyName","customerName","DealerEmail","UserEmail","DealerName","langCode","DealerCompanyName","IsExsitingCustomer","AssignAll","OrderCode","SerialNumber","inviteFromManageOrder","tableCellColor","setIsCustomerAdded","setAssignLicense","delaerCustomer","isChip","toString","ManageOrder","setIsAssignAll","setButtonIncrementer","OrderDetailsDialogOpen","setLicense","searchParams","setButtonDefiner","get","createdBy","eid","getOrderAndLicense","userID","isGetAll","FormRow","labelList","isLabel","listCount","opacity","square","borderLeft","Timeline","createdDateTime","toLocaleDateString","createdDateTimeProcessed","processedOn","TimelineItem","TimelineOppositeContent","paddingLeft","TimelineSeparator","TimelineDot","ShoppingCart","TimelineConnector","TimelineContent","mt","billingAddress","checkAssignAll","checkUnAssignAll","DealerID","unAssignAll","OrderID","loginCardContainer","paddingTop","easyTouchIllustration","media","Login","ReactCookie","setCookie","sr","did","getCommonCookieOptions","futureTime","setHours","getHours","expires","path","validateEmail","test","showPassword","setShowPassword","setSubmitting","login","axios","credential","username","email","password","sysdate","h5","textTransform","gutterBottom","initialValues","onSubmit","isSubmitting","submitForm","fullWidth","autoFocus","FormikMui","validate","placeholder","InputLabelProps","shrink","InputProps","endAdornment","disableRipple","onMouseDown","preventDefault","registerCardContainer","registrationIllustration","Register","RegisterSchema","Yup","required","firstName","lastName","telephone","primarycolor","salutation","validationSchema","setTimeout","alert","to","resetPasswordCardContainer","forgotPasswordIllustration","ResetPassword","ResetPasswordSchema","selectedArticles","disablePagination","cardsPerRow","cardsPerRowMapping","2","3","4","article","Boolean","setFunctionID","DefaultCardInternals","action","DetailedCardInternals","h4","noWrap","join","elevation","verticalAlign","Create","articleStore","set","dependentSets","industrySegment","industrySegmentsId","iconName","nameEN","isItFree","isFree","licensePerSet","isLimited","licensesPerArticle","moreInfo","linkForMoreInfo","setCost","netPricePerItem","setDescriptions","description","licenseValidityPeriod","validityPeriod","validityPeriodInDays","create","res","preventDuplicate","Article","Form","Formik","resetForm","button","list","contentwidth","contentEle","functionData","articlesData","handleEditClick","handleDeleteClick","handleActivateClick","handleTranslateClick","Numeral","format","articleData","Edit","setInitialValues","updatedArticle","enableReinitialize","editingArticle","useForceUpdate","setValue","iconOptions","setIconOptions","functionOptions","setFunctionOptions","dependentSetOptions","setDependentSetOptions","industrySegmentOptions","setIndustrySegmentOptions","touched","errors","setFieldValue","forceUpdate","Hooks","iconService","functionService","industrySegmentService","industrySegments","industry","icons","multiline","rowsMax","control","FormikMuiLab","options","getOptionLabel","renderTags","tagValue","getTagProps","renderOption","renderInput","params","helperText","multiple","handleView","dependentArticles","validationFailedDialog","setValidationFailedDialog","currentArticle","setCurrentArticle","detailsDrawerOpen","setDetailsDrawerOpen","editDialogOpen","setEditDialogOpen","translateDialogOpen","setTranslateDialogOpen","deleteDialogOpen","setDeleteDialogOpen","activateDialogOpen","setActivateDialogOpen","setIsLoading","functionStore","delete","articleId","activate","setId","toggleDetailsDrawer","articlesDepentOnThis","getArticlesDependentOnThis","selectedArticle","dependentArticlesOfThis","getDependentArticlesOfThis","createDialogOpen","setCreateDialogOpen","contentText","whiteSpace","handleDeleteArticle","common","white","handleActivateArticle","setStatus","filtered","Shared","articleIdFromEdit","parseInt","nullable","notRequired","Translate","name_de","name_es","name_fr","name_it","description_de","description_es","description_fr","description_it","_translations","_articleService","on","setLocale","locale","_locale","translatedArticle","acc","setsLang","lang","_prepareTranslations","getAllSetForInviteData","getAllPurchangeSetForInviteData","setIndustrySegments","nameDE","nameFR","nameIT","nameES","createLangs","TranslateForm","customerService","customers","adminAndCustomerRoleCheck","setAdminAndCustomerRoleCheck","customerMailID","setCustomerMailID","selectedValue","setSelectedValue","customerId","setCustomerId","customerDetailsDialogOpen","setCustomerDetailsDialogOpen","fullscreenBreakpoint","CardDetails","mailID","Customer","xl","CustomerID","dealerProfile","arrayCustomer","customerID","handleSelectDealerUser","roleID","readOfCustomerProfile","delaerCustomerProfile","paddingBottom","flexWrap","sets","orientation","flexItem","etUserStatus","loginUserRole","stopPropagation","functionsDisplay","functionCount","float","ListDeatils","customerLic","valueOf","MailID","setMailID","Row","setRow","numselected","rowcount","avilableFunction","customerDealerID","setCurrentAvilableFunction","store","licenseCount","inviteDate","dcustomerService","getCustomerProfileWithLicense","getCustomer","selectedCustomer","isCustomerAdded","CustomTextField","activateStore","easyTouchDeviceStore","prevValue","setFieldTouched","form","field","onBlur","installed","setInstalled","current","setIsLoadingPreviouslyInstalledArticles","isLoadingPreviouslyInstalledArticles","Set","devices","macID","add","has","Array","submitCount","textAlign","Layout","licenseStore","updateDialogOpen","setUpadateRoleDialogOpen","failureDialogOpen","setfailureRoleDialogOpen","setOpen","homeStore","loader","setLoader","customerInviteStore","orderIdFromPurchaseRedirection","navigationFromManageCustomer","navigationFromManageOrder","setArticleSelected","readUsers","searchtext","Email","EmailId","useLocation","URLSearchParams","ArticleQuantityUpdateAfterPurchase","getPurchangeArticleDetails","company","availableQuantity","purchaseUpdate","purchaseEnableFromInviteCustomer","fName","lName","cName","mailI","DarkerDisabledTextField","cartStore","isPurchase","purchaseCheck","sendInviteCheck","checkDisplay","handleSendInvite","articleIds","dealerEmail","custID","dealerFirstName","dealerLastName","dealerName","handlePurchase","location","boxShadow","alignContent","borderSpacing","product","validationData","dashboardReplica","dashboard","licenseSummary","i","totalQuantity","dash","customerInviteStores","j","invite","basicSetQuantity","s","OtherSetQuantityExceptBasic","MaxValue","twoDecrement","subtraction","decreaseProductQuantity","ArticleDecreaseUpdate","customerInviteStoress","push","filteringSelectedArticleQuantity","filteringBasicSetQuantity","addProduct","quantityOfInvite","availableQuantityOfInvite","increaseProductQuantity","FilteringSelectedArticleQuantityisZeroChecks","FilteringBasicSetQuantityisZeroChecks","checkForAddToCart","FilteringBasicSetQuantityAutomateBasicAddInvite","isEnableBasicset","articled","assign","ArticleIncreaseUpdate","responseCheckerForMailID","responseBasicset","removeProduct","newRowSelected","handleRemoveSelect","backgroundImage","accentcolor","Dialog","keepMounted","disableBackdropClick","aria-describedby","DialogTitle","DialogContent","DialogContentText","DialogActions","removeItem","resetInviteSummary","resetCart","PassOrderDataForMailTrigger","addCustomerService","addCustomer","readCustomerInvitePurchange","cancelInvite","isDealer","searchOrder","setSearchOrder","searchUser","setSearchUser","searchOrderLicense","setSearchOrderLicense","searchOrderDevice","setSearchOrderDevice","searchParam","searchParamCustomerID","handleSearchOrder","dealerCustomerID","fullName","statusConversion","userRoleName","a11yProps","a12yProps","makeStyles","link","TabPanel","other","role","hidden","p","currentLicense","setCurrentLicense","customerStore","handleSearchLicense","handleStatusFilterChange","removingLicenseDuplication","deactivationDialogOpen","setDeactivationDialogOpen","detailsDrawerOpenDevice","setDetailsDrawerOpenDevice","currentDevice","setCurrentDevice","macId","selectedArticlesForDeactivation","toggleArticleSelectionForDeactivation","customerChange","setCustomer","handleSearchDevice","toggleDetailsDrawerDevice","handleDeactivateAll","handleDeactivateSelected","handleDeactivate","successAcknowledgement","deactivateAll","MacID","UserId","dependentSetIds","otherSet","selectedSets","deactivateSelected","LicenseDetailsList","LicenseDetailID","licenseDetailID","zIndex","requestHeader","grey","sm","split","newValue","indicatorColor","textColor","onChangeIndex","countryName","setView","1","setFuncstionsList","setList","resetSelectedArticlesForDeactivation","DetailsLicense","showMore","setShowMore","toggleShowMore","licenseCodes","cursor","total","totalUsed","totalAvailable","deviceName","serialNumber","customerDeviceID","CardLicense","orange","purple","deepPurple","green","avatar","DetailsDevice","CardDevice","EnhancedTableUser","descendingComparatorForDealer","EnhancedTableForUser","headComapany","headEmail","headPhone","headCountry","headCity","headMasterID","headLocation","headProfileID","headFirstName","headLastName","headUserID","headStatus","headUserType","headDealerID","dealerAddressID","postalCode","street","dealerContactID","handleUpdateRoleClick","disable","setDisable","importDealerStoreS","userType","isFirstDealer","importDealerFromSSO","dealerType","dealerProfileID","maninDealer","disableImportDealer","setImportDealerDisable","importDealerDisable","Id","dealerData","stopnavigationHandle","stableSortForDealer","getComparatorForDealer","phoneNumber","onCopy","city","dealerID","inputProps","defaultChecked","dealerMasterID","requestDealer","eTUID","dealerUser","namedata","addDealers","readDealerUsers","txtCompanyName","setTxtCompany","txtEmail","setTxtEmail","txtPhoneNumber","setTxtPhoneNumber","txtCountryName","setTxtCountryName","txtCity","setTxtCity","setTxtLocation","txtMasterID","setTxtMasterID","txtProfileID","setTxtProfileID","txtFirstName","setTxtFirstName","txtLastName","setTxtLastName","txtUserID","setTxtUserID","txtUserType","setTxtUserType","txtStatus","setTxtStatus","txtDealerID","setTxtDealerID","setDealerAddressID","setStreet","setPostalCode","setDealerContactID","DealerMasterID_Decrypt_q","DealerProfileID_Decrypt_m","DealerMasterID_decodedString","atob","DealerProfileID_decodedString","DealerMasterID","DealerProfileID","DealertxtProfileID","btoa","DealertxtMasterID","masID","dealerResult","dealerCompanyEmail","masterID","profileID","BindComapnay","sParams","licenseFilter","setIsLoadings","CustomerDealerID","userData","ReactI18Next","olPrice","singleNetPrice","Overrides","themeMode","overrides","MuiCssBaseline","fontFamily","fontDisplay","MuiPaginationItem","MuiTable","borderCollapse","MuiAppBar","MuiButton","MuiPaper","rounded","Palette","contrastText","pink","Props","MuiSelect","MenuProps","getContentAnchorEl","anchorOrigin","vertical","horizontal","MuiCard","sharedProps","Themes","Typography","shadows","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","customerType","setCustomerType","finame","setfiname","nextActionColor","setNextActionColor","isNextHide","setIsNextHide","liname","setliname","setMail","setcustID","setisBasicSetFlag","flagForField","setFlagForField","ManageCustomerGridDisplay","setManageCustomerGridDisplay","basicData","setBasicData","ciname","setciname","mail","setmail","errormail","seterrormail","companyvalidationflag","setcompanyvalidationflag","lastNameValidationflag","setLastNameValidationflag","firstNameValidationflag","setFirstNameValidationflag","mailvalidationflag","setmailvalidationflag","handleemail","addDealerStore","parameter","getCustomerDetails","isBasicSet","isBasicSetFlag","fetchMyAPI","strConvertBasic","transientName","lengthCheckOfMailResponse","serachMailID","displayLabel","setDisplayLabel","displayCustomerInfoSave","setDisplayCustomerInfoSave","flagForExistingUser","setFlagForExistingUser","selectionCompleteDialog","setSelectionCompleteDialog","searchPara","emailExistingUser","idExistingUser","handleEditCsutomerInfo","e","handleNo","handlefirst","handlecompany","handlelast","navigationfName","navigationlName","navigationcName","navigationmailId","assignLicenseNavigation","mid","cuNAme","coName","articleStoreQuantityCheck","getArticlesFromLicenses","autoComplete","body2","AvailableArticles","message","flagForBasic","setFlagForBasic","handleSelect","basicResponses","convertCustomerType","Number","basicResponse","customerInviteToCart","slicer","checkBasicInCartOrNot","vatPercentage","lengthCheck","setArticle","readInviteLicense","readSetFuncations","licenseSort","parseFloat","filteredArray","selectedObject","licenseArray","getAvailableArticlesFromLicenses","getFilteredAvailableArticles","invitecustomerService","rehydrate","disposer","getAllFuncationData","bind","processAdd","persist","productInCart","getAllSetFuncationsData","activated","getCustomerAllData","serialisedCart","entries","replace","licenseKey","setIsFromManageOrder","frontName","endName","comName","mailId","readOnly","initLicenses","licenseDetailIDs","x","licenseAlreadyInAcc","isEmailFlag","displayData","etstatus","setFilterHide","displayNoData","isEmailColor","setIsEmailColor","setPreviousUrl","urls","state","noStoreData","setDealerData","dealerDataString","setDealerDataString","displayEmptyMsg","setDisplayEmptyMsg","handleSearchClick","trim","dealerFromSSO","isArray","wordSpacing","importDealerService","getDealerFromSSO","getDealerUserDetails","response","resultValue","compentencyDisplay","addDealer","clear","Lists","adminManageStore","userEmail","currentAvilableFunction","adminManage","adminManageService","dealers","manageDealerStore","Dealer","_dealerProfileID","dealer","createMuiTheme","MuiChip","primaryUser","secondaryUser","dataProfile","isPortrait","useMediaQuery","query","dealerLogin","roleName","Nodata","manageDealer","smDown","mdUp","manageDealerService","getManageDealerCompanyDetails","previewContainer","inlineFlex","card","uploadIcon","fileDetails","input","deviceConfigurationUploadService","upload","availableArticles","generateFlag","generateLicenseStore","generateStore","tenantStore","getAll","fetchWithMachineId","machineId","createdby","newurl","pageUrl","availableArticlesMap","setCloudArticle","cloudArticle","tenantId","tenant","tenants","setSelectedTenant","selectedTenant","then","CustomizedSelectForFormik","isVersion","setValues","setIndustrySegmentID","industryID","industrySegmentStore","localStore","industrySegmentId","created","isLoadingManualLicenses","GetAllManualLicenses","manualLicenses","tenantSelectionDialogOpen","setTenantSelectionDialogOpen","setIsBasicSetSelected","isArticleSelected","isBasicSetSelected","GetManualLicenseByMachineId","manualLicensesByMachineID","getManualLicenseByMacID","copied","setCopied","reset","setData","dialogOpen","setDialogOpen","loading","setLoading","gmac","setGenMac","dealerCustomerService","setReturnUrl","returnUrl","userId","isManualActivation","industryFilter","basicSet","setArticles","setSelectedArticle","setSelectedArticles","catch","maccGenerate","eT_version","setCreated","getManualLicenseAvailableList","manualLicenseAvailable","manual","CreateManualLicense","DeviceName","ActivationAck","Createdby","LicenseList","LicenseKey","Remarks","remarks","ActivationKey","CustomerName","Location","MacId","wordWrap","disableDividers","activeTenants","edge","companyAliasName","onlySelectedArticles","noOfSelectedArticles","isDependentArticlesValid","indeterminate","newSelectedArticles","counter","serialNumberList","setserialNumberList","getSerialNumberList","l","setCounter","isFromManageOrder","departmentName","showAdminCustomerSelectionInfo","showAdminNoRecordsInfo","showCustomerNoRecordsInfo","easyTouchDeviceService","initDevices","isAlreadyInAcc","accDevice","DeviceDetail","ackValue","setAckValue","handleDeactivation","decryptedData","ciphertext","CryptoJS","enc","Utf8","iv","encryptText","decrypted","AES","decrypt","mode","CBC","pad","Pkcs7","decryptedDeactivationKey","DeactivationStatus","handleDeactivationClose","funcationCode","Function","updatedFunc","setfuncationId","handleDeleteFunction","handleActivateFunction","functionIdFromEdit","funcationName_de","funcationName_es","funcationName_fr","funcationName_it","_functionService","setFunctionsLangs","register","delimiters","thousands","decimal","abbreviations","thousand","million","billion","trillion","ordinal","number","currency","symbol","Dashboard","setDummyYoySalesData","myLicense","assignedLicense","thisYear","dummyYoySalesData","month","Faker","totalBasicLicenses","basicSetLicenseAvail","totalBasicLicenseInstock","isColorChange","availableLicense","myOrders","textDecoration","weeklySales","sale","sum","overall","totalOrders","totalActiveSets","usersActive","dashboardService","reducedSets","storedSet","available","used","Components","FormControlProps","iconStore","uploadDialogOpen","setUploadDialogOpen","gridTemplateColumns","gridGap","cssFile","eotFile","svgFile","ttfFile","woffFile","Upload","formData","FormData","append","Icon","name_en","IndustrySegment","updatedIndustrySegment","_industrySegmentService","toUpperCase","segment","badgeContent","InstalledArticles","availableArticleDuplicationRemoved","getInstalledArticlesFromLicenses","getFilteredInstalledArticles","Search","machineName","remark","restOfValues","installedArticles","activatePromises","Status","CustomerDeviceID","Promise","all","getLicenseKeyAfterActivation","Sets","setActivated","showVersion","setShowVersion","industrySegmentID","licenseType","assignedLicenseDetailStore","SetId","assignedLicenseDetail","GetCustomerAssignedLicense","floor","random","withoutLabel","textField","shipmentNumber","setShipmentNumber","setAssignStatus","enableDialog","setIsEnableDialog","OrderObject","setOrderObject","orderErrorTxt","setOrderErrorTxt","customerError","setCustomerError","orderError","setOrderError","isCustomerSelectionCompleted","setIsCustomerSelectionCompleted","isOrderSelectionCompleted","setIsOrderSelectionCompleted","assignStatusObject","setAssignStatusObject","CustomerObject","setCustomerObject","handleChangeShipment","handleAssignLicense","LangCode","AssignOrder","fetchData","handleCheckShipment","AddOrderUsingReference","Avatar","clsx","GetCustomerOrDealerByEmailID","startAdornment","HundCode","SetName","setCustomerID","handleChangeManual","setFilter","setRemovingLicenseDuplication","fallback","showDealerNoRecordsInfo","Manual","fetchManualLicenses","isInitialLoadingManualLicenses","createManualLicenseAfterActivation","deactivate","totalAssigned","customerDealerId","readForCustomerInvite","licenseAvailableList","manualLicensesAvailableList","details","flex","cover","controls","playIcon","image","globalTenantStore","cart","hideAddress","hideHeader","hideUserDetails","OrderDetails","Cancelled","Failure","Process","Address","address","updatedAddress","setBillingAddress","Shop","AddressForm","handleAddToCartClick","grossPositionSinglePriceInclVAT","toLocaleString","minimumFractionDigits","maximumFractionDigits","handleMoreInfo","inputString","removedLastCharacter","KernURL","centering","Cart","VatPercent","taxPercentage","addressLightboxOpen","setAddressLightboxOpen","creatingOrderWarningDialogOpen","setCreatingOrderWarningDialogOpen","totalPurchaseValue","NaN","addressServices","customerAddressNumber","AddressNumber","contactPersonNumber","ContactPersonNr","getAddress","grandTotal","vat","localeGrandTotal","localeVat","localetotal","singlePriceInclOfVat","subTotalOfSinglePriceInclOfVat","subTotalOfSingleNetPrice","localeSinglePriceInclOfVat","localeSubTotalOflocaleSinglePriceInclOfVat","localeSingleNetPrice","localeSubTotalOflocaleSingleNetPrice","cartStores","FilteringBasicSetQuantityAutomateBasicAddInCart","Basicset","responseBasicsetFromShopForCustomer","BasicsetFromShopForCustomer","lengthCheckOfExceptBasicSetFromCart","totalBasicLicensesInStock","parseIntOftotalBasicLicensesInStock","accept","addressID","address1","address2","address3","billingAddressID","outputData","subTotal","totalTax","discountAmount","totalAmount","paymentID","orderedBy","unitPrice","discount","validFrom","validTo","setFullYear","getFullYear","paymentDetails","paymentTypeID","transDate","transCode","transStatus","transMsg","userIpAddress","submitFormData","getElementById","method","onload","visibility","fpay","chargetotal","getAttribute","paymentMethod","timezone","Intl","DateTimeFormat","resolvedOptions","timeZone","oId","strValues","isCustPurchans","today","txndatetime","getMonth","getDate","getMinutes","getSeconds","hashValue","txntype","sharedsecret","storeNameKey","require","stringToExtendedHash","hashHMACSHA256","HmacSHA256","extendedhash","Base64","setAttribute","createExtendedHash","Checkout","CheckoutContent","generalTermsAndConditionsDialogOpen","setGeneralTermsAndConditionsDialogOpen","privacyPolicyDialogOpen","setPrivacyPolicyDialogOpen","privacyPolicy","setPrivacyPolicy","generalTermsAndConditions","setGeneralTermsAndConditions","handleGeneralTermsAndConditionsLink","getGeneralTermsAndConditions","handlePrivacyPolicyLink","getPrivacyPolicy","dangerouslySetInnerHTML","__html","setFunctionData","groupFilter","setGroupFilter","pathname","getAllDataWithPrice","sageOLPriceRespone","taxPercent","setVatTaxPercent","percent","langData","adressNr","positions","amount","grossPositionTotalPriceInclVAT","totalNetPrice","ProceedToPaymentButton","oneOf","AdminAccountForm","handleContinue","showConfirmPassword","setShowConfirmPassword","tenantService","userName","setAdminAccount","adminAccount","databaseName","confirmPassword","Tenant","Admin","Account","CompanyForm","activeStep","customerOptions","setCustomerOptions","isCloudPurchased","Company","formikHelpers","setCompanyName","setEtuid","backButton","instructions","setActiveStep","steps","handleNext","prevActiveStep","alternativeLabel","stepIndex","getStepContent","handleReadyClick","isActive","updateCompanyReady","resolve","reject","isCompanyNameAlreadyExists","_tenantService","isLink","Summary","RoleInput","transition","transitions","black","rolesOption","rolesOptions","handleRoleClick","roleId","userManagmentStore","userManagementStore","readRoles","handleChangeUpdateRole","updateRole","RoleId","userManagement","userRoles","userManagementService","getRoles","dealerStore","adddealerService","ManageOrderDetail","customerList","setIsCustomerExist","isLoader","setIsLoader","textOverflow","DeviceCard","setSelectedCustomer","CustomerMain","CustomerCard","CustomerDetails","tableRow","tableCell","navigator","setselectedIndex","setCustomerSelected","selectedCellColor","CustomerStore","Order","orderFilterBasedOnOrderCode","orderDataDuplicationCombineBasedOnSetNameUsingReducer","accumulator","cur","found","elem","totalReturnQuantity","localeSubTotal","QuickInfoTile","titleSuffix","isTooltip","toolTipText","Redirect","responsiveScreen","fullScreen","down","descriptionElementRef","descriptionElement","focus","scroll","dividers","ref","anchorEl","setAnchorEl","aria-controls","aria-haspopup","currentTarget","tasks","anchorReference","anchorPosition","getBoundingClientRect","PaperProps","ITEM_HEIGHT","task","themeTogglePaperRoot","borderTopRightRadius","borderBottomRightRadius","ThemeToggle","darkMode","handleThemeTaggleClick","outlined","UploadButton","setTouched","formControlProps","setFileName","file","files","getLabel","WorkingStatus","ResponsiveFullscreenDialogWithScroll","artiles","StyledToggleButtonGroup","grouped","ToggleButtonGroup","alignment","setAlignment","Grid","exclusive","newAlignment","ToggleButton","deviceActivationDetails","dealerAssignedLicenseDetails","productName","OrderForSuccessPage","getLabelle","getChipLabelle","getCol","getLicenseCol","getLicenseTextCol","OrderStatus","getText","CustomerStatus","PurpleSwitch","switchBase","blue","track","Switch","Switches","labelName","checkedA","checkedB","checkedC","setState","AddCustomer","Route","restricted","element","AddDealerUser","CustomerDetail","CustomerInvite","CustomerInviteSummary","ImportDealer","ManageDealer","ManageAdmin","Activate","Generate","AssignedLicenseDetail","AddLicense","Payment","AddDealer","UserManagement","menuButton","PropTypes","string","isRequired","AppMenuItem","route","items","isExpandable","useState","useContext","handleMainClickFoucs","handleSubClick","useEffect","MenuItemRoot","onMouseLeave","getPreviousURL","disableGutters","onFocusCapture","activeStyle","wordBreak","MenuItemChildren","in","timeout","unmountOnExit","itemsSub","Fragment","Drawer","drawerItems","Breadcrumb","manageStore","hideBreadcrumb","setHideBreadcrumb","indexOfLetterV","startIcon","end","drawer","up","flexShrink","appBar","drawerPaper","rightShortProfile","rightShortProfileName","removeCookie","mobileOpen","setMobileOpen","profileOpen","setProfileOpen","getRole","handleDrawerToggle","xsDown","logout","smUp","implementation","ModalProps","rel","DeviceConfigurationUpload","EasyTouchDevice","Global","routeProps","notRestrictedRouteAndUserNotAuthenticated","restrictedRouteAndUserAuthenticatedAndUserRoleAllowed","notRestrictedRouteButUserAuthenticated","restrictedRouteAndUserNotAuthenticated","restrictedRouteAndUserAuthenticatedButUserRoleNotAllowed","productPresentInCart","serialisedBillingAddress","totalVat","getById","User","userService","token","decodedResult","jwtDecode","ETU","previousUrl","defaults","headers","reload","authenticate","userToken","domain","setUserFromToken","authenticateFromSSO","scalePercentBy100","Stores","License","Contexts","DealerCustomer","AdminManage","Home","deviceConfigurationUploadStore","setDarkMode","notistackRef","cookies","onClickDismiss","closeSnackbar","maxSnack","match","ReactDOM","serviceWorker","ready","registration","unregister","post","getHeaders","named","AdminManageService","FromDate","setDate","toUTCString","ToDate","availableLicenseIDs","availableArticleList","DealerCustomerService","InviteCustomerService","port","baseUrl","isNaN","namedParams","param","queryParams"],"mappings":"uVAEO,IAAMA,EAAc,CACzBC,YAAY,EACZC,mBAAoBC,QACpBC,mBAAoBD,6BACpBE,kBAAmBF,SACnBG,cAAeH,6DACfI,kBAAmBJ,gCACnBK,mBAAoBL,4BACpBM,eAAgBN,wvBAAYO,mCAC5BC,oBAAqBR,kDACrBS,WAAYT,mBACZU,UAAW,CACTC,QAAS,IACTC,MAAO,O,qDCfX,u0F,20RCWAC,KAAQC,IAAIC,MACTD,IAAIE,MACJF,IAAIG,MACJC,KAAK,CACJC,YAAa,CAAC,MACdC,OAAO,EACPC,UAAW,CAAC,KAAM,KAAM,KAAM,KAAM,MACpCC,UAb6D,CAC/DC,kBAAmB,OACnBC,MAAO,CAAC,cAAe,SAAU,gBACjCC,OAAQ,CAAC,eAAg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UAAMA,GAAN,OAAYg/D,IAGVh/D,MAxDX,M","file":"static/js/main.fe374035.chunk.js","sourcesContent":["/** @format */\r\n\r\nexport const environment = {\r\n production: false,\r\n apiBaseUrlProtocol: process.env.REACT_APP_API_PROTOCOL,\r\n apiBaseUrlHostname: process.env.REACT_APP_API_HOSTNAME,\r\n apiBaseUrlVersion: process.env.REACT_APP_API_VERSION,\r\n KARegisterURL: process.env.REACT_APP_ACCOUNT_REGISTER_URL,\r\n BaseKARegisterURL: process.env.REACT_APP_ACCOUNT_BASE_KERN_URL,\r\n BaseSSORegisterURL: process.env.REACT_APP_ACCOUNT_BASE_SSO_URL,\r\n BaseWEBSHOPURL: process.env.REACT_APP_ACCOUNT_BASE_WEBSHOP_URL,\r\n KAForgetPasswordURL: process.env.REACT_APP_ACCOUNT_FORGOT_PASSWORD_URL,\r\n AESDataKey: process.env.REACT_APP_AES_SECERET_KEY,\r\n apiStatus: {\r\n Success: 100,\r\n Error: 200,\r\n },\r\n};\r\n","/** @format */\r\n\r\nimport * as Factories from \"./factories\";\r\nimport * as Managers from \"./managers\";\r\nexport * from \"./actions\";\r\nexport * from \"./addcustomer \";\r\nexport * from \"./addDealer\";\r\nexport * from \"./address\";\r\nexport * from \"./adminmanageservice\";\r\nexport * from \"./article\";\r\nexport * from \"./customer\";\r\nexport * from \"./dashboard\";\r\nexport * from \"./dealercustomerservice\";\r\nexport * from \"./device-configuration-upload\";\r\nexport * from \"./easy-touch-device\";\r\nexport * from \"./function\";\r\nexport * from \"./icon\";\r\nexport * from \"./importdealer\";\r\nexport * from \"./industry-segment\";\r\nexport * from \"./invitecustomer\";\r\nexport * from \"./license\";\r\nexport * from \"./order\";\r\nexport * from \"./tenant\";\r\nexport * from \"./user\";\r\nexport * from \"./user-management\";\r\nexport { Factories, Managers };\r\n","import I18next from \"i18next\";\r\nimport * as BrowserLanguageDetector from \"i18next-browser-languagedetector\";\r\nimport Backend from \"i18next-http-backend\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n\r\nconst detectorOptions: BrowserLanguageDetector.DetectorOptions = {\r\n lookupQuerystring: \"lang\",\r\n order: [\"querystring\", \"cookie\", \"localStorage\"],\r\n caches: [\"localStorage\", \"cookie\"],\r\n};\r\n\r\nI18next.use(Backend)\r\n .use(BrowserLanguageDetector.default)\r\n .use(ReactI18next.initReactI18next)\r\n .init({\r\n fallbackLng: [\"en\"],\r\n debug: false,\r\n whitelist: [\"en\", \"es\", \"de\", \"fr\", \"it\"],\r\n detection: detectorOptions,\r\n interpolation: {\r\n escapeValue: false,\r\n },\r\n });\r\n\r\nexport default I18next;\r\n","import * as Mui from \"@material-ui/core\";\r\nimport { ResponsiveBar } from \"@nivo/bar\";\r\nimport * as React from \"react\";\r\nimport { None } from \"src/app/layouts\";\r\n\r\nconst data = [\r\n {\r\n country: \"AD\",\r\n \"hot dog\": 7,\r\n \"hot dogColor\": \"hsl(60, 70%, 50%)\",\r\n burger: 16,\r\n burgerColor: \"hsl(44, 70%, 50%)\",\r\n sandwich: 65,\r\n sandwichColor: \"hsl(114, 70%, 50%)\",\r\n kebab: 117,\r\n kebabColor: \"hsl(151, 70%, 50%)\",\r\n fries: 162,\r\n friesColor: \"hsl(226, 70%, 50%)\",\r\n donut: 71,\r\n donutColor: \"hsl(75, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AE\",\r\n \"hot dog\": 124,\r\n \"hot dogColor\": \"hsl(240, 70%, 50%)\",\r\n burger: 29,\r\n burgerColor: \"hsl(120, 70%, 50%)\",\r\n sandwich: 188,\r\n sandwichColor: \"hsl(343, 70%, 50%)\",\r\n kebab: 160,\r\n kebabColor: \"hsl(81, 70%, 50%)\",\r\n fries: 6,\r\n friesColor: \"hsl(132, 70%, 50%)\",\r\n donut: 135,\r\n donutColor: \"hsl(142, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AF\",\r\n \"hot dog\": 156,\r\n \"hot dogColor\": \"hsl(226, 70%, 50%)\",\r\n burger: 71,\r\n burgerColor: \"hsl(193, 70%, 50%)\",\r\n sandwich: 55,\r\n sandwichColor: \"hsl(234, 70%, 50%)\",\r\n kebab: 32,\r\n kebabColor: \"hsl(178, 70%, 50%)\",\r\n fries: 141,\r\n friesColor: \"hsl(322, 70%, 50%)\",\r\n donut: 184,\r\n donutColor: \"hsl(318, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AG\",\r\n \"hot dog\": 199,\r\n \"hot dogColor\": \"hsl(1, 70%, 50%)\",\r\n burger: 180,\r\n burgerColor: \"hsl(356, 70%, 50%)\",\r\n sandwich: 133,\r\n sandwichColor: \"hsl(359, 70%, 50%)\",\r\n kebab: 54,\r\n kebabColor: \"hsl(271, 70%, 50%)\",\r\n fries: 113,\r\n friesColor: \"hsl(34, 70%, 50%)\",\r\n donut: 157,\r\n donutColor: \"hsl(327, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AI\",\r\n \"hot dog\": 65,\r\n \"hot dogColor\": \"hsl(194, 70%, 50%)\",\r\n burger: 158,\r\n burgerColor: \"hsl(85, 70%, 50%)\",\r\n sandwich: 40,\r\n sandwichColor: \"hsl(18, 70%, 50%)\",\r\n kebab: 154,\r\n kebabColor: \"hsl(130, 70%, 50%)\",\r\n fries: 191,\r\n friesColor: \"hsl(184, 70%, 50%)\",\r\n donut: 146,\r\n donutColor: \"hsl(59, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AL\",\r\n \"hot dog\": 134,\r\n \"hot dogColor\": \"hsl(96, 70%, 50%)\",\r\n burger: 21,\r\n burgerColor: \"hsl(216, 70%, 50%)\",\r\n sandwich: 38,\r\n sandwichColor: \"hsl(111, 70%, 50%)\",\r\n kebab: 119,\r\n kebabColor: \"hsl(157, 70%, 50%)\",\r\n fries: 164,\r\n friesColor: \"hsl(257, 70%, 50%)\",\r\n donut: 199,\r\n donutColor: \"hsl(135, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AM\",\r\n \"hot dog\": 55,\r\n \"hot dogColor\": \"hsl(101, 70%, 50%)\",\r\n burger: 75,\r\n burgerColor: \"hsl(316, 70%, 50%)\",\r\n sandwich: 49,\r\n sandwichColor: \"hsl(48, 70%, 50%)\",\r\n kebab: 122,\r\n kebabColor: \"hsl(210, 70%, 50%)\",\r\n fries: 50,\r\n friesColor: \"hsl(179, 70%, 50%)\",\r\n donut: 78,\r\n donutColor: \"hsl(247, 70%, 50%)\",\r\n },\r\n];\r\n\r\nexport const ResponsiveHorizontalBar = (props?: {\r\n data?: any[];\r\n indexBy?: string;\r\n keys?: string[];\r\n margin?: Partial<{\r\n bottom: number;\r\n left: number;\r\n right: number;\r\n top: number;\r\n }>;\r\n}) => {\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n );\r\n};\r\n","import * as Mui from \"@material-ui/core\";\r\nimport { ResponsiveBar } from \"@nivo/bar\";\r\nimport * as React from \"react\";\r\n\r\nconst data = [\r\n {\r\n country: \"AD\",\r\n \"hot dog\": 7,\r\n \"hot dogColor\": \"hsl(60, 70%, 50%)\",\r\n burger: 16,\r\n burgerColor: \"hsl(44, 70%, 50%)\",\r\n sandwich: 65,\r\n sandwichColor: \"hsl(114, 70%, 50%)\",\r\n kebab: 117,\r\n kebabColor: \"hsl(151, 70%, 50%)\",\r\n fries: 162,\r\n friesColor: \"hsl(226, 70%, 50%)\",\r\n donut: 71,\r\n donutColor: \"hsl(75, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AE\",\r\n \"hot dog\": 124,\r\n \"hot dogColor\": \"hsl(240, 70%, 50%)\",\r\n burger: 29,\r\n burgerColor: \"hsl(120, 70%, 50%)\",\r\n sandwich: 188,\r\n sandwichColor: \"hsl(343, 70%, 50%)\",\r\n kebab: 160,\r\n kebabColor: \"hsl(81, 70%, 50%)\",\r\n fries: 6,\r\n friesColor: \"hsl(132, 70%, 50%)\",\r\n donut: 135,\r\n donutColor: \"hsl(142, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AF\",\r\n \"hot dog\": 156,\r\n \"hot dogColor\": \"hsl(226, 70%, 50%)\",\r\n burger: 71,\r\n burgerColor: \"hsl(193, 70%, 50%)\",\r\n sandwich: 55,\r\n sandwichColor: \"hsl(234, 70%, 50%)\",\r\n kebab: 32,\r\n kebabColor: \"hsl(178, 70%, 50%)\",\r\n fries: 141,\r\n friesColor: \"hsl(322, 70%, 50%)\",\r\n donut: 184,\r\n donutColor: \"hsl(318, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AG\",\r\n \"hot dog\": 199,\r\n \"hot dogColor\": \"hsl(1, 70%, 50%)\",\r\n burger: 180,\r\n burgerColor: \"hsl(356, 70%, 50%)\",\r\n sandwich: 133,\r\n sandwichColor: \"hsl(359, 70%, 50%)\",\r\n kebab: 54,\r\n kebabColor: \"hsl(271, 70%, 50%)\",\r\n fries: 113,\r\n friesColor: \"hsl(34, 70%, 50%)\",\r\n donut: 157,\r\n donutColor: \"hsl(327, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AI\",\r\n \"hot dog\": 65,\r\n \"hot dogColor\": \"hsl(194, 70%, 50%)\",\r\n burger: 158,\r\n burgerColor: \"hsl(85, 70%, 50%)\",\r\n sandwich: 40,\r\n sandwichColor: \"hsl(18, 70%, 50%)\",\r\n kebab: 154,\r\n kebabColor: \"hsl(130, 70%, 50%)\",\r\n fries: 191,\r\n friesColor: \"hsl(184, 70%, 50%)\",\r\n donut: 146,\r\n donutColor: \"hsl(59, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AL\",\r\n \"hot dog\": 134,\r\n \"hot dogColor\": \"hsl(96, 70%, 50%)\",\r\n burger: 21,\r\n burgerColor: \"hsl(216, 70%, 50%)\",\r\n sandwich: 38,\r\n sandwichColor: \"hsl(111, 70%, 50%)\",\r\n kebab: 119,\r\n kebabColor: \"hsl(157, 70%, 50%)\",\r\n fries: 164,\r\n friesColor: \"hsl(257, 70%, 50%)\",\r\n donut: 199,\r\n donutColor: \"hsl(135, 70%, 50%)\",\r\n },\r\n {\r\n country: \"AM\",\r\n \"hot dog\": 55,\r\n \"hot dogColor\": \"hsl(101, 70%, 50%)\",\r\n burger: 75,\r\n burgerColor: \"hsl(316, 70%, 50%)\",\r\n sandwich: 49,\r\n sandwichColor: \"hsl(48, 70%, 50%)\",\r\n kebab: 122,\r\n kebabColor: \"hsl(210, 70%, 50%)\",\r\n fries: 50,\r\n friesColor: \"hsl(179, 70%, 50%)\",\r\n donut: 78,\r\n donutColor: \"hsl(247, 70%, 50%)\",\r\n },\r\n];\r\n\r\nexport const ResponsiveVerticalBar = (props?: {\r\n data?: any[];\r\n indexBy?: string;\r\n keys?: string[];\r\n margin?: Partial<{\r\n bottom: number;\r\n left: number;\r\n right: number;\r\n top: number;\r\n }>;\r\n}) => {\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n );\r\n};\r\n","import * as React from \"react\";\r\nimport * as Mui from \"@material-ui/core\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) => ({\r\n root: {\r\n padding: theme.spacing(0.5),\r\n backgroundColor: (props: TableCell.Styled.Props) =>\r\n props?.color ?? (props?.specialRowColor ? theme.palette.background.default : theme.palette.background.paper),\r\n // borderRight: (props: TableCell.Styled.Props) =>\r\n // props?.rightmost ? \"none\" : `1px solid ${theme.palette.divider}`,\r\n borderBottom: \"none\",\r\n borderColor: \"unset\",\r\n borderRadius: (props: TableCell.Styled.Props) => {\r\n if (props?.leftmost) {\r\n return theme.spacing(1.5, 0, 0, 1.5);\r\n }\r\n if (props?.rightmost) {\r\n return theme.spacing(0, 1.5, 1.5, 0);\r\n }\r\n return \"unset\";\r\n },\r\n },\r\n}));\r\n\r\nexport declare namespace TableCell {\r\n export interface Props extends Omit {\r\n leftmost?: boolean;\r\n rightmost?: boolean;\r\n color?: string;\r\n specialRowColor?: boolean;\r\n height?: any;\r\n }\r\n\r\n export namespace Styled {\r\n export interface Props\r\n extends Pick {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function TableCell({\r\n leftmost,\r\n rightmost,\r\n specialRowColor,\r\n color,\r\n children,\r\n height,\r\n ...props\r\n}: TableCell.Props) {\r\n const classes = useStyles({ leftmost, rightmost, color,specialRowColor,height });\r\n const theme = Mui.useTheme();\r\n return (\r\n \r\n {!rightmost ? (\r\n \r\n {children}\r\n \r\n ) : (\r\n {children}\r\n )}\r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as React from \"react\";\r\n\r\nexport declare namespace Counter {\r\n export interface Props {\r\n min: number;\r\n max: number;\r\n value: number;\r\n handleDecrement(): void;\r\n handleIncrement(): void;\r\n style?: React.CSSProperties;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Counter({\r\n min,\r\n max,\r\n value,\r\n handleDecrement,\r\n handleIncrement,\r\n style,\r\n}: Counter.Props) {\r\n const theme = Mui.useTheme();\r\n return (\r\n \r\n \r\n \r\n \r\n {value}\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","export const APP = {\r\n ENV: process.env.REACT_APP_ENV,\r\n PUBLIC_URL: process.env.PUBLIC_URL ? `${process.env.PUBLIC_URL}/` : \"/\",\r\n prefixPublicUrl: ({ url }: { url: string }) => {\r\n return (process.env.PUBLIC_URL ? `${process.env.PUBLIC_URL}/` : \"/\") + url;\r\n },\r\n};\r\n","export const ET_CLOUD = {\r\n BASE_URL: process.env.REACT_APP_ET_CLOUD_BASE_URL,\r\n};\r\n","export declare namespace Workaround {\r\n export namespace IsCloudArticle {\r\n export interface Props {\r\n code: string;\r\n }\r\n }\r\n}\r\n\r\nconst hundCodes = [\r\n process.env.REACT_APP_CLOUD_ARTICLE_HUND_CODE?.toLowerCase(),\r\n];\r\nconst typeCodes = [\r\n process.env.REACT_APP_CLOUD_ARTICLE_TYPE_CODE?.toLowerCase(),\r\n];\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Workaround = {\r\n isCloudArticle: ({ code }: Workaround.IsCloudArticle.Props): boolean => {\r\n if (\r\n !typeCodes.includes(code.toLowerCase()) &&\r\n !hundCodes.includes(code.toLowerCase())\r\n ) {\r\n return false;\r\n }\r\n\r\n return true;\r\n },\r\n};\r\n","import * as React from \"react\";\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\nexport declare namespace FunctionIcons {\r\n export interface Props {\r\n functions: Models.Set.Function[];\r\n }\r\n}\r\n\r\nexport function FuctionIcons({ functions }: FunctionIcons.Props) {\r\n const theme = Mui.useTheme();\r\n return (\r\n \r\n \r\n \r\n {functions.map((func) => (\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","import * as Mui from \"@material-ui/core\";\r\nimport { withStyles } from \"@material-ui/core\";\r\nimport * as React from \"react\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nexport declare namespace FunctionCountIcons {\r\n export interface Props {\r\n functions: Models.Set.Function[];\r\n }\r\n}\r\n\r\nconst HtmlTooltip = withStyles((theme) => ({\r\n tooltip: {\r\n backgroundColor: '#f5f5f9',\r\n color: 'rgba(0, 0, 0, 0.87)',\r\n maxWidth: 300,\r\n fontSize: theme.typography.pxToRem(16),\r\n border: '2px solid #dadde9',\r\n },\r\n}))(Mui.Tooltip);\r\nexport function FunctionCountIcons({ functions }: FunctionCountIcons.Props) {\r\n const theme = Mui.useTheme();\r\n return (\r\n \r\n \r\n \r\n {functions.slice(0,4).map((func) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n {\r\n functions.length > 4 ?({functions.slice(4,functions.length).map((k)=>(<>\r\n {k.funcationName}
))}} >\r\n +{functions.length - 4}more \r\n
\r\n ):\"\"}\r\n\r\n
\r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport { withStyles } from \"@material-ui/core\";\r\nimport * as React from \"react\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\nexport declare namespace ArticleCountIcons {\r\n export interface Props {\r\n articles: Models.Order.articles[];\r\n }\r\n}\r\n\r\nconst HtmlTooltip = withStyles((theme) => ({\r\n tooltip: {\r\n backgroundColor: '#f5f5f9',\r\n color: 'rgba(0, 0, 0, 0.87)',\r\n maxWidth: 300,\r\n fontSize: theme.typography.pxToRem(16),\r\n border: '2px solid #dadde9',\r\n },\r\n}))(Mui.Tooltip);\r\n\r\nexport function ArticleCountIcons({ articles }: ArticleCountIcons.Props) {\r\n const theme = Mui.useTheme();\r\n return (\r\n \r\n \r\n {articles?.slice?.(0,4).map?.((func) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n {\r\n articles?.length > 4 ?({articles?.slice?.(4,articles?.length).map?.((k)=>(<>\r\n {k?.setName}
))}} >\r\n +{articles?.length - 4}more \r\n
\r\n ):\"\"}\r\n\r\n
\r\n \r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as React from \"react\";\r\n\r\nexport declare namespace InviteStatus {\r\n export type Status = 1 | 2 | 3 | 4 | 5;\r\n export type Labels = {\r\n [Key in InviteStatus.Status]: string;\r\n };\r\n\r\n export interface Props {\r\n labels?: InviteStatus.Labels;\r\n status: InviteStatus.Status;\r\n }\r\n\r\n export interface GetLabelProps\r\n extends Pick {}\r\n}\r\n\r\nexport function getLabels({\r\n status,\r\n labels,\r\n}: InviteStatus.GetLabelProps): string {\r\n if (!labels && status === 1) {\r\n return \"Invite sent\";\r\n }\r\n\r\n if (!labels && status === 2) {\r\n // return \"Import-ETLicense\";\r\n return \"License assigned\";\r\n }\r\n\r\n if (!labels && status === 3) {\r\n return \"License activated\";\r\n }\r\n if (!labels && status === 4) {\r\n return \"Direct customer\";\r\n \r\n }\r\n if (!labels && status === 5) {\r\n return \"License unassigned\";\r\n \r\n }\r\n if (!labels) {\r\n return \"\";\r\n }\r\n\r\n return labels[status];\r\n}\r\n\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function InviteStatus({ status, labels }: InviteStatus.Props) {\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n ) : status === 2 ? (\r\n \r\n ) : status === 3 ? (\r\n \r\n ) : status === 4 ? (\r\n \r\n ) : status === 5 ? (\r\n \r\n ):(\r\n <>\r\n )\r\n }\r\n />\r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as React from \"react\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n backgroundColor: theme.palette.background.paper,\r\n },\r\n appbar: {\r\n maxWidth: theme.breakpoints.values.md,\r\n borderBottom: `1px solid ${theme.palette.divider}`,\r\n },\r\n paper: {\r\n maxWidth: theme.breakpoints.values.md,\r\n width: \"100%\",\r\n },\r\n title: {\r\n flexGrow: 1,\r\n },\r\n toolbar: theme.mixins.toolbar,\r\n })\r\n);\r\n\r\nexport declare namespace LightBox {\r\n export type VARIANT =\r\n | \"DEFAULT\"\r\n | \"RESPECT_ONLY_CONTENT_AND_IGNORE_COMPONENT_STYLES\";\r\n\r\n export interface Props {\r\n open: boolean;\r\n handleClose(): void;\r\n title: React.ReactNode;\r\n content: React.ReactNode;\r\n actions?: React.ReactNode;\r\n variant?: LightBox.VARIANT;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function LightBox({\r\n open,\r\n handleClose,\r\n content,\r\n title,\r\n actions,\r\n variant = \"DEFAULT\",\r\n}: LightBox.Props) {\r\n const classes = useStyles();\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \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 {variant === \"RESPECT_ONLY_CONTENT_AND_IGNORE_COMPONENT_STYLES\" ? (\r\n content\r\n ) : (\r\n <>\r\n {content}\r\n {actions && (\r\n <>\r\n
\r\n \r\n \r\n {actions}\r\n \r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Configs from \"src/configs\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) => ({\r\n selectRoot: {\r\n color: (props: LocaleDropdown.Styled.Props) => props.color || \"inherit\",\r\n },\r\n select: {\r\n \"& .MuiSelect-select\": {\r\n paddingRight: (props: LocaleDropdown.Styled.Props) =>\r\n props.showLabel ? \"initial\" : 0,\r\n },\r\n \"& .MuiSelect-select:focus\": {\r\n backgroundColor: (props: LocaleDropdown.Styled.Props) =>\r\n props.showLabel ? \"initial\" : \"transparent\",\r\n },\r\n \"& .MuiSelect-icon\": {\r\n display: (props: LocaleDropdown.Styled.Props) =>\r\n props.showLabel ? \"initial\" : \"none\",\r\n },\r\n },\r\n selectFormControl: {\r\n \"& .MuiInput-underline:before,.MuiInput-underline:after,.MuiInput-underline:hover:not(.Mui-disabled):before\": {\r\n borderBottom: \"none\",\r\n },\r\n },\r\n}));\r\n\r\nexport declare namespace LocaleDropdown {\r\n export interface Props extends Omit {\r\n color?: string;\r\n showLabel?: boolean;\r\n }\r\n\r\n export namespace Styled {\r\n export interface Props\r\n extends Pick {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function LocaleDropdown({\r\n color,\r\n showLabel,\r\n ...props\r\n}: LocaleDropdown.Props) {\r\n const classes = useStyles({\r\n color,\r\n showLabel,\r\n } as LocaleDropdown.Styled.Props);\r\n const theme = Mui.useTheme();\r\n const { i18n } = ReactI18next.useTranslation();\r\n\r\n const dropdownOptions = [\r\n {\r\n value: \"en\",\r\n shortLabel: \"EN\",\r\n label: \"English\",\r\n },\r\n {\r\n value: \"de\",\r\n shortLabel: \"DE\",\r\n label: \"German\",\r\n },\r\n {\r\n value: \"fr\",\r\n shortLabel: \"FR\",\r\n label: \"French\",\r\n },\r\n {\r\n value: \"it\",\r\n shortLabel: \"IT\",\r\n label: \"Italian\",\r\n },\r\n {\r\n value: \"es\",\r\n shortLabel: \"ES\",\r\n label: \"Spanish\",\r\n },\r\n ];\r\n\r\n function handleChangeLocaleDropdown() {\r\n return function (\r\n event: React.ChangeEvent<{\r\n name?: string | undefined;\r\n value: unknown;\r\n }>\r\n ) {\r\n i18n.changeLanguage(event.target.value as string);\r\n let currentCultureInfo : any;\r\n currentCultureInfo = event.target.value;\r\n if(currentCultureInfo == \"de\")\r\n {\r\n currentCultureInfo = \"de_DE\"\r\n } else if(currentCultureInfo == \"fr\")\r\n {\r\n currentCultureInfo = \"fr_FR\"\r\n } else if(currentCultureInfo == \"it\")\r\n {\r\n currentCultureInfo = \"it_IT\"\r\n } else if(currentCultureInfo == \"es\")\r\n {\r\n currentCultureInfo = \"es_ES\"\r\n } else \r\n {\r\n currentCultureInfo = \"en_US\"\r\n }\r\n localStorage.setItem(\"currentCultureInfo\", currentCultureInfo);\r\n // console.log('event.target.value', event.target.value);\r\n };\r\n }\r\n\r\n return (\r\n \r\n Language\r\n \r\n )\r\n }\r\n placement=\"left\"\r\n >\r\n \r\n {showLabel && (\r\n \r\n Language\r\n \r\n )}\r\n \r\n {dropdownOptions.map((option) => (\r\n \r\n \r\n \r\n {showLabel ? option.label : option.shortLabel}\r\n \r\n \r\n ))}\r\n \r\n \r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as React from \"react\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) => ({\r\n logoContainer: {\r\n display: \"grid\",\r\n gridAutoFlow: \"column\",\r\n gridColumnGap: theme.spacing(0.5),\r\n justifyContent: \"end\",\r\n userSelect: \"none\",\r\n },\r\n logoFragmentContainer: {\r\n maxWidth: \"fit-content\",\r\n borderBottom: (props: Logo.Style.Color.Props) =>\r\n props.color\r\n ? `${theme.spacing(0.6)}px solid ${props.color}`\r\n : `${theme.spacing(0.6)}px solid ${theme.palette.primary.main}`,\r\n },\r\n logoFragmentText: {\r\n fontStyle: \"italic\",\r\n fontSize: \"2rem\",\r\n fontWeight: 700,\r\n lineHeight: 1,\r\n color: (props: Logo.Style.Color.Props) =>\r\n props.color || theme.palette.primary.main,\r\n },\r\n}));\r\n\r\nexport declare namespace Logo {\r\n export interface Props {\r\n color?: string;\r\n }\r\n\r\n export namespace Style {\r\n export type Props = Logo.Style.Color.Props;\r\n export namespace Color {\r\n export type Props = Logo.Props;\r\n }\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Logo(props: Logo.Props) {\r\n const classes = useStyles(props as Logo.Style.Props);\r\n return (\r\n <>\r\n \r\n \r\n \r\n KE\r\n \r\n \r\n \r\n \r\n RN\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","import * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\n\r\nexport interface ShowIfAuthorisedProps {\r\n roles: string[];\r\n children?: JSX.Element | string | number;\r\n}\r\n\r\nexport const ShowIfAuthorised = Mobx.observer(function ({\r\n roles,\r\n children,\r\n}: ShowIfAuthorisedProps) {\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n\r\n return (\r\n <>{userStore.user && roles.includes(userStore.user.RoleName) && children}\r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Order from \"src/app/pages/order\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport * as Services from \"src/services\";\r\nimport * as App from \"src/app\";\r\nimport * as Constants from \"src/constants\";\r\n\r\ninterface Data extends Models.Order.Main {}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\nexport declare namespace Cards {\r\n export interface Props {\r\n orders: Models.Order.Main[];\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Cards({ orders }: Cards.Props) {\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n\r\n const [orderId, setOrderId] = React.useState();\r\n const [orderCode, setOrderCode] = React.useState();\r\n const [orderDetailsDialogOpen, setOrderDetailsDialogOpen] = React.useState<\r\n boolean\r\n >(false);\r\n const [orderedOn,setOrderedOn] = React.useState();\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(16);\r\n const orderServices = new Services.Order({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [orders]);\r\n \r\n React.useEffect(() => {\r\n (async function () {\r\n const uid = userStore.user?.ETUID;\r\n\r\n if (!orderId) {\r\n return;\r\n }\r\n\r\n try {\r\n const {\r\n result: [order],\r\n } = await orderServices.getData({\r\n body: { id: orderId, cid: uid },\r\n });\r\n \r\n var {result} = await orderServices.getData({\r\n body: { id: orderId, cid: uid },\r\n });\r\n\r\n //overAllStatus = 3 -- > Order completely returned\r\n if(result.find((k:any)=>k.status === 3)){\r\n order.overAllStatus = 3\r\n var partialReturnOrderObjectForStatus3 = result.find((k:any)=>k.status === 2);\r\n partialReturnOrderObjectForStatus3?.orderDetails.map((k:any)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q:any)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n } \r\n //overAllStatus = 2 -- > Order paretially returned\r\n else if(result.find((k:any)=>k.status === 4)){\r\n order.overAllStatus = 4\r\n var partialReturnOrderObjectForStatus4 = result.find((k:any)=>k.status === 2);\r\n partialReturnOrderObjectForStatus4?.orderDetails.map((k:any)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q:any)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n // \r\n \r\n } \r\n else if(result.find((k:any)=>k.status === 5)){\r\n order.overAllStatus = 5\r\n var partialReturnOrderObjectForStatus5 = result.find((k:any)=>k.status === 2);\r\n partialReturnOrderObjectForStatus5?.orderDetails.map((k:any)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q:any)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n // \r\n \r\n } \r\n //overAllStatus = 1 -- > Order paretially returned Order with no return\r\n else{\r\n order.overAllStatus = 1\r\n }\r\n \r\n setOrders(order);\r\n \r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [orderDetailsDialogOpen]);\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n const useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n \r\n title: {\r\n flexGrow: 1,\r\n },\r\n })\r\n);\r\n\r\nconst key = 'orderCode';\r\nconst [order, setOrders] = React.useState();\r\n\r\nconst orderArrayUniqueByKey = [...new Map(orders.map(item =>\r\n [item[key], item])).values()];\r\n\r\nconst classes = useStyles();\r\n return (\r\n <>\r\n setOrderDetailsDialogOpen(false)}\r\n content={}\r\n title={\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n Order details\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n actions={\r\n <>\r\n setOrderDetailsDialogOpen(false)}>\r\n CLOSE\r\n \r\n {\r\n window.print();\r\n }}\r\n >\r\n Print\r\n \r\n \r\n }\r\n />\r\n\r\n \r\n {stableSort(orderArrayUniqueByKey as any, getComparator(\"asc\", \"orderCode\"))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((order, index) => (\r\n \r\n {\r\n setOrderDetailsDialogOpen(true);\r\n setOrderId(orderId);\r\n setOrderCode(order.orderCode)\r\n setOrderedOn(OrderedOn)\r\n }}\r\n order={(order as unknown) as Models.Order.Main}\r\n />\r\n \r\n ))}\r\n {orders.length === 0 && (\r\n \r\n \r\n No orders found\r\n \r\n \r\n )}\r\n \r\n {orders.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport Numeral from \"numeral\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Containers from \"src/app/containers\";\r\nimport * as Models from \"src/models\";\r\nimport * as DateFns from \"date-fns\";\r\nimport * as Components from \"src/app/components\";\r\n\r\nexport declare namespace Card {\r\n export interface Props {\r\n order: Models.Order.Main;\r\n handleClick?(props: { orderId: number | string , OrderedOn: any }): void;\r\n \r\n }\r\n}\r\n// eslint-disable-next-line no-redeclare\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Card({ order, handleClick }: Card.Props) {\r\n const [language,setLanguage] = React.useState('en-IN');\r\n const { i18n } = ReactI18next.useTranslation();\r\n const languageValue = i18n.language\r\n React.useEffect(()=>{\r\n if(languageValue === \"en\"){\r\n setLanguage('en-IN')\r\n }else if(languageValue === \"fr\")\r\n {\r\n setLanguage('fr-FR')\r\n }\r\n else{\r\n setLanguage('de-DE')\r\n }\r\n },[languageValue])\r\n const CardInternals = (\r\n <>\r\n \r\n \r\n Order #\r\n \r\n {order.dataFrom === \"webshop\" && order.sageOLReferenceBillID != null && order.sageOLReferenceBillID > 0 && order.assignedTo === \"0\"? order.orderCode+\"-\"+order.sageOLReferenceBillID : order.orderCode}\r\n \r\n }\r\n />\r\n \r\n \r\n <>\r\n \r\n Company\r\n \r\n {order.companyName}\r\n \r\n \r\n \r\n \r\n <>\r\n \r\n \r\n Status\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 return (\r\n \r\n {handleClick ? (\r\n handleClick({ orderId: order.orderID,OrderedOn: order.orderedOn})}\r\n >\r\n {CardInternals}\r\n \r\n ) : (\r\n CardInternals\r\n )}\r\n \r\n );\r\n}\r\n","import * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Details {\r\n export interface Props {\r\n orderId?: string | number;\r\n cid?: string | number;\r\n orderCode?: string | number | undefined;\r\n orderedOn?: string | number ;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Details = Mobx.observer(function ({\r\n orderedOn,\r\n orderId,\r\n cid,\r\n orderCode,\r\n}: Details.Props) {\r\n const [order, setOrder] = React.useState();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const uid = userStore.user?.ETUID;\r\n const orderServices = new Services.Order({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n React.useEffect(() => {\r\n (async function () {\r\n if (!orderId) {\r\n return;\r\n }\r\n\r\n try {\r\n const {\r\n result: [order],\r\n } = await orderServices.getData({\r\n body: { id: orderId, cid: uid },\r\n });\r\n \r\n var {result} = await orderServices.getData({\r\n body: { id: orderId, cid: uid },\r\n });\r\n\r\n //overAllStatus = 3 -- > Order completely returned\r\n if(result.find(k=>k.status === 3)){\r\n order.overAllStatus = 3\r\n var partialReturnOrderObjectForStatus3 = result.find(k=>k.status === 2);\r\n partialReturnOrderObjectForStatus3?.orderDetails.map((k)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n } \r\n\r\n //overAllStatus = 2 -- > Order paretially returned\r\n else if(result.find(k=>k.status === 4)){\r\n order.overAllStatus = 4\r\n var partialReturnOrderObjectForStatus4 = result.find(k=>k.status === 2);\r\n partialReturnOrderObjectForStatus4?.orderDetails.map((k)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n // \r\n \r\n } \r\n else if(result.find(k=>k.status === 5)){\r\n order.overAllStatus = 5\r\n var partialReturnOrderObjectForStatus5 = result.find(k=>k.status === 2);\r\n partialReturnOrderObjectForStatus5?.orderDetails.map((k)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n // \r\n \r\n } \r\n //overAllStatus = 1 -- > Order paretially returned Order with no return\r\n else{\r\n order.overAllStatus = 1\r\n }\r\n \r\n setOrder(order);\r\n localStorage.setItem(\"orderStatus\",JSON.stringify(order.overAllStatus))\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n return (\r\n <>\r\n \r\n \r\n );\r\n});\r\n","import React from 'react';\r\nimport ExcelJS from 'exceljs';\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport { orderBy } from 'lodash';\r\nimport { getLabelle } from './order-status';\r\n\r\n\r\nexport declare namespace ExcelComponent {\r\n export interface Props {\r\n headerObject?: any;\r\n contentList?: any;\r\n fileName?: string;\r\n // headerTextColor?: string;\r\n // headerFillColor?: string; \r\n }\r\n export interface OrderStatus{\r\n status:any,\r\n }\r\n }\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function ExcelComponent ({\r\nheaderObject,\r\ncontentList,\r\nfileName,\r\n// headerTextColor,\r\n// headerFillColor \r\n}: ExcelComponent.Props)\r\n {\r\n \r\n const handleExport = async () => {\r\n\r\n const workbook = new ExcelJS.Workbook();\r\n const worksheet = workbook.addWorksheet('Sheet1');\r\n\r\n const headerRow = worksheet.addRow(['Ordered on', 'Order code', 'Created by','Status']);\r\n \r\n // Style the header row cells\r\n headerRow.eachCell((cell) => {\r\n cell.font = { bold: true, color: { argb: 'FFFFFF' } };\r\n cell.fill = { type: 'pattern', pattern: 'solid', fgColor: { argb: '009933' } };\r\n });\r\n\r\n // Add data rows\r\n const data = [\r\n { id: 1, name: 'Alice' },\r\n { id: 2, name: 'Bob' },\r\n { id: 3, name: 'Charlie' },\r\n // ... more objects with different properties\r\n ];\r\n function extractValues(objects:any, properties:any) {\r\n \r\n return objects.map((record:any) => properties.map((property:any) =>{ \r\n var returnValue = record[property];\r\n if(property === 'status'){\r\n returnValue = getStatusString({ status:record[property]})\r\n\r\n }\r\n if(property === 'userFirstName' )\r\n {\r\n returnValue = record['userFirstName'] +\" \"+record['userLastName'];\r\n }\r\n if(property === 'orderedOn' && record[property] != null )\r\n {\r\n const utcDateWithoutZ = record[property ];\r\n const utcDate = new Date(utcDateWithoutZ);\r\n const formattedDate = `${utcDate.getUTCDate()}.${utcDate.getUTCMonth() + 1}.${utcDate.getUTCFullYear()} ${utcDate.getUTCHours()}:${utcDate.getUTCMinutes()}`;\r\n returnValue = formattedDate;\r\n }\r\n return returnValue\r\n }));\r\n \r\n }\r\n \r\n const propertyNames = ['orderedOn', 'orderCode','userFirstName','status'];\r\n \r\n const extract = extractValues(contentList, propertyNames);\r\n \r\n extract.forEach((record:any) => {\r\n //const row = record);\r\n worksheet.addRow(record);\r\n });\r\n // contentList.forEach((record:any) => {\r\n // const row = Object.values(record);\r\n // worksheet.addRow(row);\r\n // });\r\n // worksheet.addRow(['John Doe', 'johndoe@example.com']);\r\n // worksheet.addRow(['Jane Smith', 'janesmith@example.com']);\r\n\r\n // Generate the Excel file\r\n const buffer = await workbook.xlsx.writeBuffer();\r\n const blob = new Blob([buffer], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });\r\n const url = window.URL.createObjectURL(blob);\r\n const a = document.createElement('a');\r\n a.href = url;\r\n a.download = fileName ?? 'example.xlsx';\r\n a.click();\r\n window.URL.revokeObjectURL(url);\r\n };\r\n\r\n return (\r\n
\r\n \r\n \r\n Export \r\n \r\n
\r\n );\r\n};\r\nexport function getStatusString({\r\n status\r\n }: ExcelComponent.OrderStatus): string {\r\n if (status === 1) {\r\n return \"Order processed\";\r\n }\r\n \r\n if (status === 4) {\r\n // return \"Import-ETLicense\";\r\n return \"Partially returned\";\r\n }\r\n \r\n if (status === 3) {\r\n return \"Return succeeded\";\r\n }\r\n \r\n if (status === 5) {\r\n return \"Return failed\";\r\n }\r\n return \"\";\r\n \r\n }\r\nexport default ExcelComponent;\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as DateFns from \"date-fns\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport Numeral from \"numeral\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n\r\nimport * as Components from \"src/app/components\";\r\nimport * as Containers from \"src/app/containers\";\r\nimport * as Order from \"src/app/pages/order\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\nimport * as App from \"src/app\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as MuiIcon from \"@material-ui/icons\";\r\nimport ExcelComponent from \"src/app/components/export_excel\";\r\n\r\ninterface Data extends Models.Order.Main {}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: ReturnType;\r\n numSelected: number;\r\n onRequestSort: (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => void;\r\n onSelectAllClick: (event: React.ChangeEvent) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowCount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(\r\n props: EnhancedTableProps & {\r\n id: string;\r\n label: string;\r\n numeric?: boolean;\r\n disablePadding?: boolean;\r\n leftmost?: boolean;\r\n rightmost?: boolean;\r\n }\r\n) {\r\n const { classes, order, orderBy, onRequestSort, ...restOfProps } = props;\r\n const createSortHandler =\r\n (property: keyof Data) => (event: React.MouseEvent) => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n {props.label}\r\n {orderBy === props.id ? (\r\n \r\n {order === \"desc\" ? \"sorted descending\" : \"sorted ascending\"}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n width: \"100%\",\r\n },\r\n paper: {\r\n width: \"100%\",\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: \"rect(0 0 0 0)\",\r\n height: 1,\r\n margin: -1,\r\n overflow: \"hidden\",\r\n padding: 0,\r\n position: \"absolute\",\r\n top: 20,\r\n width: 1,\r\n },\r\n title: {\r\n flexGrow: 1,\r\n },\r\n })\r\n);\r\n\r\nfunction EnhancedTable({ rows }: { rows: Models.Order.Main[] }) {\r\n const classes = useStyles();\r\n const [order, setOrder] = React.useState(\"asc\");\r\n const [orderedOn, setOrderedOn] = React.useState();\r\n const [orderBy, setOrderBy] = React.useState(\"orderCode\");\r\n const [selected, setSelected] = React.useState([]);\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(7);\r\n // const [rowsPerPage, setRowsPerPage] = React.useState(5);\r\n const [orderId, setOrderId] = React.useState();\r\n const [orderDetailsDialogOpen, setOrderDetailsDialogOpen] =\r\n React.useState(false);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const userRole = userStore.user?.RoleName;\r\n const uid = userStore.user?.ETUID;\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [rows]);\r\n const key = \"orderCode\";\r\n\r\n const orderArrayUniqueByKey = [\r\n ...new Map(rows.map((item) => [item[key], item])).values(),\r\n ];\r\n // const orderDetaile = orderArrayUniqueByKey.map(k=>k.orderDetails[0])\r\n const orderDetaile = rows;\r\n // const orderedDetailed = orderDetaile.filter(k=>k.orderCode === \"ET-20220219-00006\")\r\n // const setFilter = orderedDetailed.map(k=>k.sets)\r\n // \r\n const handleRequestSort = (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => {\r\n setPage(0);\r\n const isAsc = orderBy === property && order === \"asc\";\r\n setOrder(isAsc ? \"desc\" : \"asc\");\r\n setOrderBy(property);\r\n };\r\n // const license = orderArrayUniqueByKey.map(k=>k.orderDetails).filter((k:any)=>{k.orderCode === OrderCodeForLicense }).map(k=>k.sets)\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelecteds = rows.map((n) => n.orderCode);\r\n setSelected(newSelecteds);\r\n return;\r\n }\r\n setSelected([]);\r\n };\r\n\r\n const handleClick = (event: React.MouseEvent, name: string) => {\r\n const selectedIndex = selected.indexOf(name);\r\n let newSelected: string[] = [];\r\n\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(selected, name);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(selected.slice(1));\r\n } else if (selectedIndex === selected.length - 1) {\r\n newSelected = newSelected.concat(selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n selected.slice(0, selectedIndex),\r\n selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n\r\n setSelected(newSelected);\r\n };\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n\r\n\r\n const isSelected = (name: string) => selected.indexOf(name) !== -1;\r\n\r\n const emptyRows =\r\n rowsPerPage - Math.min(rowsPerPage, rows.length - page * rowsPerPage);\r\n\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n const [language, setLanguage] = React.useState(\"en-IN\");\r\n const { i18n } = ReactI18next.useTranslation();\r\n const languageValue = i18n.language;\r\n const orderServices = new Services.Order({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n React.useEffect(() => {\r\n if (languageValue === \"en\") {\r\n setLanguage(\"en-IN\");\r\n } else if (languageValue === \"fr\") {\r\n setLanguage(\"fr-FR\");\r\n } else {\r\n setLanguage(\"de-DE\");\r\n }\r\n }, [languageValue]);\r\n const [orderCode, setOrderCode] = React.useState();\r\n const [OrderCodeForLicense, setOrderCodeForLicense] = React.useState();\r\n const [orders, setOrders] = React.useState();\r\n const navigate = Router.useNavigate();\r\n const orderStore = React.useContext(App.Contexts.orderStore);\r\n\r\n React.useEffect(() => {\r\n (async function () {\r\n if (!orderId) {\r\n return;\r\n }\r\n\r\n try {\r\n const {\r\n result: [order],\r\n } = await orderServices.getData({\r\n body: { id: orderId, cid: uid },\r\n });\r\n\r\n var { result } = await orderServices.getData({\r\n body: { id: orderId, cid: uid },\r\n });\r\n\r\n //overAllStatus = 3 -- > Order completely returned\r\n if (result.find((k: any) => k.status === 3)) {\r\n order.overAllStatus = 3;\r\n var partialReturnOrderObjectForStatus3 = result.find(\r\n (k: any) => k.status === 2\r\n );\r\n partialReturnOrderObjectForStatus3?.orderDetails.map((k: any) => {\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q: any) => {\r\n if (q.setID === k.setID) {\r\n q.returnQuantity = k.quantity;\r\n }\r\n });\r\n });\r\n }\r\n //overAllStatus = 2 -- > Order paretially returned\r\n else if (result.find((k: any) => k.status === 4)) {\r\n order.overAllStatus = 4;\r\n var partialReturnOrderObjectForStatus4 = result.find(\r\n (k: any) => k.status === 2\r\n );\r\n partialReturnOrderObjectForStatus4?.orderDetails.map((k: any) => {\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q: any) => {\r\n if (q.setID === k.setID) {\r\n q.returnQuantity = k.quantity;\r\n }\r\n });\r\n });\r\n // \r\n } else if (result.find((k: any) => k.status === 5)) {\r\n order.overAllStatus = 5;\r\n var partialReturnOrderObjectForStatus5 = result.find(\r\n (k: any) => k.status === 2\r\n );\r\n partialReturnOrderObjectForStatus5?.orderDetails.map((k: any) => {\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q: any) => {\r\n if (q.setID === k.setID) {\r\n q.returnQuantity = k.quantity;\r\n }\r\n });\r\n });\r\n // \r\n }\r\n //overAllStatus = 1 -- > Order paretially returned Order with no return\r\n else {\r\n order.overAllStatus = 1;\r\n }\r\n \r\n setOrders(order);\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [orderDetailsDialogOpen]);\r\n // \r\n return (\r\n
\r\n setOrderDetailsDialogOpen(false)}\r\n content={\r\n \r\n }\r\n title={\r\n <>\r\n \r\n \r\n \r\n \r\n Order details\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n actions={\r\n <>\r\n setOrderDetailsDialogOpen(false)}\r\n >\r\n CLOSE\r\n \r\n {\r\n window.print();\r\n }}\r\n >\r\n Print\r\n \r\n \r\n }\r\n />\r\n \r\n \r\n {rows.length > 0 && (\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 {stableSort(\r\n orderArrayUniqueByKey as any,\r\n getComparator(order, orderBy)\r\n )\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((row, index) => {\r\n const isItemSelected = isSelected(row.orderCode as string);\r\n const labelId = `enhanced-table-checkbox-${index}`;\r\n const grossTotalPriceInclVAT: any = row.grossTotalPriceInclVAT;\r\n const totalPrice =\r\n row?.vatTaxPercent === 0\r\n ? (19 / 100) * grossTotalPriceInclVAT +\r\n +grossTotalPriceInclVAT\r\n : row.grossTotalPriceInclVAT;\r\n \r\n var keys = [\"setName\"];\r\n return (\r\n {\r\n handleClick(event, row.orderCode as string);\r\n // orderStore.clearOrder();\r\n // navigate(\r\n // `manage-order?q=${row.orderID}&m=${row.status}&cid=${row.etuid}`\r\n // );\r\n if (userStore.user?.RoleName !== \"customer\") {\r\n orderStore.clearOrder();\r\n navigate(\r\n `manage-order?q=${row.orderID}&m=${row.status}&cid=${row.etuid}`\r\n );\r\n } else {\r\n setOrderCode(row.orderCode);\r\n setOrderId(row.orderID);\r\n setOrderDetailsDialogOpen(true);\r\n setOrderedOn(row.orderedOn);\r\n }\r\n }}\r\n aria-checked={isItemSelected}\r\n tabIndex={-1}\r\n key={row.orderCode}\r\n >\r\n \r\n {DateFns.format(new Date(row.orderedOn), \"dd.MM.yyyy\")}\r\n \r\n \r\n {row.dataFrom === \"webshop\" &&\r\n row.sageOLReferenceBillID != null &&\r\n row.assignedTo === \"0\"\r\n ? row.orderCode + \"-\" + row.sageOLReferenceBillID\r\n : row.orderCode}\r\n \r\n \r\n\r\n \r\n \r\n {row.dataFrom === \"webshop\" && row.assignedTo === \"0\"\r\n ? \"-\"\r\n : row.assignedTo === \"0\"\r\n ? \"KERN\"\r\n : row.userFirstName + \" \" + row.userLastName}\r\n \r\n \r\n \r\n \r\n \r\n {row.dataFrom === \"webshop\" && row.assignedTo === \"0\"\r\n ? \"-\"\r\n : userStore.user?.FirstName +\r\n \" \" +\r\n userStore.user?.LastName}\r\n \r\n \r\n\r\n \r\n \r\n {row.dataFrom === \"webshop\" && row.assignedTo === \"0\"\r\n ? \"-\"\r\n : row.userFirstName + \" \" + row.userLastName}\r\n \r\n \r\n \r\n \r\n {row.companyName}\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 {rows.length === 0 && (\r\n \r\n \r\n \r\n \r\n \r\n No orders found\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {emptyRows > 0 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n {rows.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n
\r\n );\r\n}\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const [search, setSearch] = React.useState(\"\");\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const orderStore = React.useContext(App.Contexts.orderStore);\r\n const theme = Mui.useTheme();\r\n\r\n React.useEffect(() => {\r\n const uid = userStore.user?.ETUID;\r\n const userRole = userStore.user?.RoleName ?? \"customer\";\r\n if (\r\n userRole === \"customer\" ||\r\n userRole === \"dealer\" ||\r\n userRole === \"admin\" ||\r\n userRole === \"superadmin\"\r\n ) {\r\n if (uid !== undefined && uid !== null) {\r\n orderStore.read({\r\n uid,\r\n userRole,\r\n });\r\n }\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n setSearch(event.target.value as string);\r\n };\r\n const { t } = ReactI18next.useTranslation();\r\n return (\r\n <>\r\n \r\n \r\n {orderStore.orders.length > 0 && (\r\n \r\n )}\r\n \r\n \r\n \r\n {orderStore.isInitialLoading ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n {orderStore.view === \"CARD\" && (\r\n {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n order?.orderCode\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.userFirstName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.userLastName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n (order.orderedOn &&\r\n DateFns.format(new Date(order.orderedOn), \"dd.MM.yyyy\")\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n })}\r\n />\r\n )}\r\n {orderStore.view === \"TABULAR\" && (\r\n {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (order?.orderCode && (order?.orderCode + \"-\" + order?.sageOLReferenceBillID)\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n order?.userFirstName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.userLastName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n (order.orderedOn &&\r\n DateFns.format(new Date(order.orderedOn), \"dd.MM.yyyy\")\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n })}\r\n />\r\n )}\r\n \r\n \r\n )}\r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mobx from \"mobx\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export type View = \"TABULAR\" | \"CARD\";\r\n\r\n export interface IStore {\r\n isLoading: boolean;\r\n orders: Models.Order.Main[];\r\n view: Store.View;\r\n orderService: Services.Order;\r\n licenseService: Services.License;\r\n articleService: Services.Article;\r\n assignLicense: Models.License[];\r\n }\r\n\r\n export type Options = Pick<\r\n IStore,\r\n \"view\" | \"orderService\" | \"licenseService\" | \"articleService\"\r\n >;\r\n\r\n export namespace SetView {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace Read {\r\n export interface Props extends Services.Order.GetAllData.Props {}\r\n export interface OrderRequestProps extends Services.Order.GetData.Props {}\r\n export interface LicenseRequestProps\r\n extends Services.License.GetAllData.Props {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public view: Store.View = \"TABULAR\";\r\n @Mobx.observable public orders: Models.Order.Main[] = [];\r\n @Mobx.observable public orderDetail: Models.Order.Main[] = [];\r\n @Mobx.observable public assignLicense: Models.License[] = [];\r\n @Mobx.observable public assignLicenseSingle: Models.License[] = [];\r\n @Mobx.observable public isLoading: boolean = false;\r\n public orderService: Services.Order;\r\n public licenseService: Services.License;\r\n public articleService: Services.Article;\r\n\r\n constructor({\r\n view,\r\n orderService,\r\n licenseService,\r\n articleService,\r\n }: Store.Options) {\r\n this.view = view;\r\n this.orderService = orderService;\r\n this.licenseService = licenseService;\r\n this.articleService = articleService;\r\n }\r\n\r\n @Mobx.action setView({ view }: Store.SetView.Props) {\r\n this.view = view;\r\n }\r\n\r\n @Mobx.action public async clearOrder() {\r\n try {\r\n this.orderDetail = [];\r\n this.orders = [];\r\n this.assignLicense = [];\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async read(props: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.orderService.getAllData(props);\r\n this.orders = result;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action\r\n public async getOrderAndLicense(\r\n orderRequest: Services.Order.GetData.Body,\r\n licenseRequest: Store.Read.LicenseRequestProps\r\n ) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.orderService.getData({\r\n body: orderRequest,\r\n });\r\n this.orders = result;\r\n\r\n const licenseResponse =\r\n await this.licenseService.getAllCustomerInviteData(licenseRequest);\r\n\r\n licenseResponse.result.map((k) => k);\r\n\r\n var licenseCodeUniqueList = licenseResponse.result.filter(\r\n (value, index, List) => {\r\n var deviceList = List.filter(\r\n (k) =>\r\n k.licenseCode === value.licenseCode &&\r\n k.device !== null\r\n ).map((m) => m.device);\r\n\r\n value.deviceList = deviceList;\r\n\r\n var licenseCodeList = List.filter(\r\n (k) => k.licenseCode === value.licenseCode\r\n ).map((m) => m.status);\r\n var maxStatus = Math.max(...licenseCodeList);\r\n\r\n value.status = maxStatus;\r\n\r\n return (\r\n List.findIndex(\r\n (v) => v.licenseCode === value.licenseCode\r\n ) === index\r\n );\r\n }\r\n );\r\n\r\n const articleResult = await this.articleService.getAllData({\r\n status: 1,\r\n });\r\n var orderObject: Models.Order.Main[];\r\n\r\n if (result.find((k) => k.status === 3)) {\r\n orderObject = result.filter((k) => k.status === 3);\r\n orderObject[0].overAllStatus = 3;\r\n }\r\n\r\n //overAllStatus = 2 -- > Order paretially returned\r\n else if (result.find((k) => k.status === 4)) {\r\n orderObject = result.filter((k) => k.status === 4);\r\n orderObject[0].overAllStatus = 4;\r\n\r\n //\r\n } else if (result.find((k) => k.status === 5)) {\r\n orderObject = result.filter((k) => k.status === 2);\r\n orderObject[0].overAllStatus = 5;\r\n\r\n //\r\n }\r\n //overAllStatus = 1 -- > Order paretially returned Order with no return\r\n else {\r\n orderObject = result.filter((k) => k.status === 1);\r\n orderObject[0].overAllStatus = 1;\r\n }\r\n\r\n var orderDetailIDList = orderObject[0].orderDetails.map(\r\n (m) => m.orderDetailID\r\n );\r\n\r\n var licenseList = licenseCodeUniqueList.filter((k) => {\r\n return orderDetailIDList?.includes(k.orderDetailID);\r\n });\r\n\r\n var licemsSetName = licenseList.map((k) => {\r\n return {\r\n ...k,\r\n setName:\r\n articleResult.result\r\n .filter((m) => m.setID === k.setID)\r\n .map((n) => n.setName)[0] ?? \"\",\r\n setCode:\r\n articleResult.result\r\n .filter((m) => m.setID === k.setID)\r\n .map((n) => n.hundCode)[0] ?? \"\",\r\n };\r\n });\r\n this.assignLicense = licemsSetName;\r\n this.assignLicenseSingle = licemsSetName;\r\n orderObject[0].license = licemsSetName;\r\n\r\n this.orderDetail = orderObject;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action checkAssignAll() {\r\n if (\r\n this.orderDetail.length === 0 &&\r\n this.orderDetail[0].license.length === 0\r\n ) {\r\n return false;\r\n } else {\r\n var validForAssignAll =\r\n this.orderDetail[0].license.map((k) => k.assignedCustomerID).length > 0\r\n ? this.orderDetail[0].license\r\n .map((k) => k.assignedCustomerID)\r\n .every((k) => k === 0) &&\r\n this.orderDetail[0].license\r\n .map((k) => k.assignedTo)\r\n .every((k) => k === \"0\") &&\r\n !(\r\n this.orderDetail[0].license\r\n .map((k) => k.orderStatus)\r\n .some((k: any) => k === 3) ||\r\n this.orderDetail[0].license\r\n .map((k) => k.orderStatus)\r\n .some((k: any) => k === 4) ||\r\n this.orderDetail[0].license\r\n .map((k) => k.orderStatus)\r\n .some((k: any) => k === 5)\r\n )\r\n : false;\r\n\r\n return validForAssignAll;\r\n }\r\n }\r\n\r\n @Mobx.action checkUnAssignAll() {\r\n if (\r\n this.orderDetail.length === 0 &&\r\n this.orderDetail[0].license.length === 0\r\n ) {\r\n return false;\r\n } else {\r\n var validForAssignAll = this.orderDetail[0].license\r\n .map((k) => k.assignedTo)\r\n .every((k) => k !== \"0\")\r\n ? true\r\n : false;\r\n console.log(\"Un-Assign all\" + validForAssignAll);\r\n return validForAssignAll;\r\n }\r\n }\r\n\r\n @Mobx.action setAssignLicense(licenseCode: any) {\r\n this.assignLicenseSingle = this.assignLicenseSingle.filter(\r\n (k) => k.licenseCode === licenseCode\r\n );\r\n }\r\n\r\n @Mobx.action getAssignLicense() {\r\n if (this.assignLicenseSingle.length === 0) {\r\n return [];\r\n } else {\r\n return this.assignLicenseSingle;\r\n }\r\n }\r\n\r\n @Mobx.action getAllAssignLicense() {\r\n if (this.assignLicense.length === 0) {\r\n return [];\r\n } else {\r\n return this.assignLicense;\r\n }\r\n }\r\n\r\n @Mobx.action getDistinctLicenseAndSumQuantityBySetID() {\r\n if (this.assignLicense.length === 0) {\r\n return [];\r\n } else {\r\n Object.values(\r\n this.assignLicense.reduce((hash: any, item) => {\r\n if (!hash[item.setID]) {\r\n hash[item.setID] = {\r\n name: item.setName,\r\n model: item.setCode,\r\n quantities: 0,\r\n };\r\n }\r\n hash[item.setID].quantities += item.quantities;\r\n return hash;\r\n }, {})\r\n );\r\n //\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.orders.length !== 0) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Order from \"src/app/pages/order\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\nimport * as Constants from \"src/constants\";\r\nimport Timeline from \"@material-ui/lab/Timeline\";\r\nimport TimelineItem from \"@material-ui/lab/TimelineItem\";\r\nimport TimelineSeparator from \"@material-ui/lab/TimelineSeparator\";\r\nimport TimelineConnector from \"@material-ui/lab/TimelineConnector\";\r\nimport TimelineContent from \"@material-ui/lab/TimelineContent\";\r\nimport TimelineOppositeContent from \"@material-ui/lab/TimelineOppositeContent\";\r\nimport TimelineDot from \"@material-ui/lab/TimelineDot\";\r\nimport ReplyIcon from \"@material-ui/icons/Reply\";\r\nimport * as Router from \"react-router-dom\";\r\nimport { ShoppingCart } from \"@material-ui/icons\";\r\nimport * as MuiIcon from \"@material-ui/icons\";\r\nimport * as Notistack from \"notistack\";\r\n\r\ninterface Data extends Models.License {}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: ReturnType;\r\n numSelected: number;\r\n onRequestSort: (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => void;\r\n onSelectAllClick: (event: React.ChangeEvent) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowCount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(\r\n props: EnhancedTableProps & {\r\n id: string;\r\n label: string;\r\n numeric?: boolean;\r\n disablePadding?: boolean;\r\n leftmost?: boolean;\r\n rightmost?: boolean;\r\n }\r\n) {\r\n const { classes, order, orderBy, onRequestSort, ...restOfProps } = props;\r\n const createSortHandler =\r\n (property: keyof Data) => (event: React.MouseEvent) => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n {props.label}\r\n {orderBy === props.id ? (\r\n \r\n {order === \"desc\" ? \"sorted descending\" : \"sorted ascending\"}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n width: \"100%\",\r\n },\r\n paper: {\r\n width: \"100%\",\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: \"rect(0 0 0 0)\",\r\n height: 1,\r\n margin: -1,\r\n overflow: \"hidden\",\r\n padding: 0,\r\n position: \"absolute\",\r\n top: 20,\r\n width: 1,\r\n },\r\n title: {\r\n flexGrow: 1,\r\n },\r\n })\r\n);\r\n\r\nfunction EnhancedTable({\r\n rows,\r\n isCustomerInvite = false,\r\n orderCode = \"\",\r\n buttonIncrementer = 0,\r\n isAssignAll = false,\r\n OrderDetailsOpen = false,\r\n isManageOrderDetail = false,\r\n}: {\r\n rows: Models.License[];\r\n isCustomerInvite: boolean;\r\n orderCode: string;\r\n buttonIncrementer: number;\r\n isAssignAll: boolean;\r\n OrderDetailsOpen: boolean;\r\n isManageOrderDetail: boolean;\r\n}) {\r\n const classes = useStyles();\r\n const [order, setOrder] = React.useState(\"asc\");\r\n const [orderBy, setOrderBy] = React.useState(\"licenseCode\");\r\n const [selected, setSelected] = React.useState([]);\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage, setRowsPerPage] = React.useState(7);\r\n // const [rowsPerPage, setRowsPerPage] = React.useState(5);\r\n const [orderId, setOrderId] = React.useState();\r\n const [orderDetailsDialogOpen, setOrderDetailsDialogOpen] =\r\n React.useState(false);\r\n const importDealerStore = React.useContext(App.Contexts.importDealerStore);\r\n\r\n const [licenseList, setSelectedLicenseList] = React.useState();\r\n const [selectAll, setSelectAll] = React.useState(false);\r\n const [isDeviceDeactive, setDeviceDeactive] = React.useState(false);\r\n const [isCustomerExist, setIsCustomerExist] = React.useState(false);\r\n const [customerData, setCustomerData] = React.useState([]);\r\n const [customerID, setcustomerID] = React.useState(\"0\");\r\n\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const userRole = userStore.user?.RoleName;\r\n const uid = userStore.user?.ETUID;\r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n\r\n React.useEffect(() => {\r\n setPage(0);\r\n \r\n if (isAssignAll) {\r\n setSelectAll(isAssignAll);\r\n\r\n setOrderDetailsDialogOpen(true);\r\n }\r\n setRowsPerPage(7);\r\n if (isManageOrderDetail) {\r\n setRowsPerPage(3);\r\n }\r\n }, [\r\n OrderDetailsOpen,\r\n isAssignAll,\r\n isManageOrderDetail,\r\n rows,\r\n buttonIncrementer,\r\n importDealerStore,\r\n userStore.user,\r\n ]);\r\n React.useEffect(() => {\r\n if (isAssignAll) {\r\n setSelectedLicenseList(rows);\r\n }\r\n }, [rows, isAssignAll, buttonIncrementer]);\r\n\r\n\r\n const handleRequestSort = (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => {\r\n setPage(0);\r\n const isAsc = orderBy === property && order === \"asc\";\r\n setOrder(isAsc ? \"desc\" : \"asc\");\r\n setOrderBy(property);\r\n };\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelecteds = rows.map((n) => n.licenseCode);\r\n setSelected(newSelecteds);\r\n return;\r\n }\r\n setSelected([]);\r\n };\r\n\r\n const handleClick = (event: React.MouseEvent, name: string) => {\r\n const selectedIndex = selected.indexOf(name);\r\n let newSelected: string[] = [];\r\n\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(selected, name);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(selected.slice(1));\r\n } else if (selectedIndex === selected.length - 1) {\r\n newSelected = newSelected.concat(selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n selected.slice(0, selectedIndex),\r\n selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n\r\n setSelected(newSelected);\r\n };\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n\r\n\r\n const isSelected = (name: string) => selected.indexOf(name) !== -1;\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n\r\n const emptyRows =\r\n rowsPerPage - Math.min(rowsPerPage, rows.length - page * rowsPerPage);\r\n\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n const [language, setLanguage] = React.useState(\"en-IN\");\r\n const { i18n } = ReactI18next.useTranslation();\r\n const languageValue = i18n.language;\r\n const orderServices = new Services.Order({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n React.useEffect(() => {\r\n if (languageValue === \"en\") {\r\n setLanguage(\"en-IN\");\r\n } else if (languageValue === \"fr\") {\r\n setLanguage(\"fr-FR\");\r\n } else {\r\n setLanguage(\"de-DE\");\r\n }\r\n }, [languageValue]);\r\n const [license, setSelectedLicense] = React.useState();\r\n const [isAssign, setAssign] = React.useState(0);\r\n const [isAvailable, setAvailable] = React.useState(false);\r\n const [unAssign, setUnAssign] = React.useState(0);\r\n const orderStore = React.useContext(App.Contexts.orderStore);\r\n const addCustomerStore = React.useContext(App.Contexts.addCustomerStore);\r\n const [isCustomerAdd, setIsCustomerAdd] = React.useState(false);\r\n \r\n const licenses = orderStore.getAssignLicense()[0];\r\n const navigate = Router.useNavigate();\r\n React.useEffect(()=>{\r\n setIsCustomerAdd(dCustomerStore.isCustomerSelected)\r\n },[dCustomerStore.isCustomerSelected])\r\n const handleAssign = () => {\r\n (async () => {\r\n var dealerCompany = importDealerStore.importDealer.map(\r\n (k) => k.companyName\r\n )[0];\r\n var license\r\n if(isAssignAll){\r\n license = orderStore.getAllAssignLicense().map((licenses) => {\r\n return {\r\n setID: licenses.setID,\r\n setName: licenses.setName,\r\n hundCode: licenses.setCode,\r\n assignedQuantity: 1,\r\n licenseCode: licenses.licenseCode,\r\n OrderDetailID: licenses.orderDetailID,\r\n };\r\n });\r\n }else{\r\n license = orderStore.getAssignLicense().map((licenses) => {\r\n return {\r\n setID: licenses.setID,\r\n setName: licenses.setName,\r\n hundCode: licenses.setCode,\r\n assignedQuantity: 1,\r\n licenseCode: licenses.licenseCode,\r\n OrderDetailID: licenses.orderDetailID,\r\n };\r\n });\r\n }\r\n var customer = localStorage.getItem(\"customerObject\") ?? \"\";\r\n var customerObject: Models.DealerCustomer.Main = JSON.parse(customer);\r\n\r\n if (!isCustomerExist) {\r\n \r\n const inviteCustomer: Models.InviteFromManageOrder.Main = {\r\n EmailID: customerObject.emailID ?? \"\",\r\n CompanyName: customerObject?.companyName ?? \"\",\r\n FirstName: customerObject?.customerName ?? \"\",\r\n LastName: \"\",\r\n ETUID: userStore.user?.ETUID,\r\n DealerEmail: userStore.user?.UserEmail ?? \"\",\r\n DealerName:\r\n userStore.user?.FirstName + \" \" + userStore.user?.LastName,\r\n langCode: i18n.language,\r\n DealerCompanyName: dealerCompany,\r\n IsExsitingCustomer: \"0\",\r\n AssignAll: isAssignAll ? 1 : 0,\r\n OrderCode: orderCode,\r\n SerialNumber: license,\r\n };\r\n \r\n\r\n await addCustomerStore.inviteFromManageOrder({\r\n body: inviteCustomer,\r\n });\r\n enqueueSnackbar(\r\n \r\n Invite has been successfully sent to the user!\r\n ,\r\n {\r\n variant: \"success\",\r\n }\r\n );\r\n navigate(\"/dealercustomer\");\r\n }\r\n })();\r\n };\r\n const handleUnAssign = () => {\r\n (async () => {\r\n if(!isDeviceDeactive){\r\n var customer = customerData[0];\r\n \r\n\r\n var customerObject: Models.DealerCustomer.Main = customer;\r\n\r\n \r\n const unAssignedRequest = {\r\n CustomerETUID: customerObject.etuid,\r\n CustomerEmailID: customerObject.emailID,\r\n DealerETUID: userStore.user?.ETUID ?? 0,\r\n LicenseCode: licenses?.licenseCode ?? \"\",\r\n OrderDetailID: licenses?.orderDetailID ?? 0,\r\n SetID: licenses?.setID ?? 0,\r\n };\r\n const result = await addCustomerStore.cancelInviteForSingleLicense({\r\n body: unAssignedRequest,\r\n });\r\n if(result?.status === 100){\r\n enqueueSnackbar(\r\n \r\n License are unassigned from the customer!\r\n ,\r\n {\r\n variant: \"success\",\r\n }\r\n );\r\n navigate(\"/dealercustomer\");\r\n }else{\r\n enqueueSnackbar(\r\n \r\n Error occured, please contact admin\r\n ,\r\n {\r\n variant: \"error\",\r\n }\r\n );\r\n }\r\n }else{\r\n enqueueSnackbar(\r\n \r\n Please deactivate the device and unassign the license\r\n ,\r\n {\r\n variant: \"error\",\r\n }\r\n );\r\n }\r\n })();\r\n };\r\n return (\r\n
\r\n {\r\n setOrderDetailsDialogOpen(false);\r\n OrderDetailsOpen = false;\r\n }}\r\n content={\r\n \r\n }\r\n title={\r\n <>\r\n \r\n \r\n \r\n \r\n Manage license\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n actions={\r\n <>\r\n {\r\n setOrderDetailsDialogOpen(false);\r\n OrderDetailsOpen = false;\r\n }}\r\n >\r\n CLOSE\r\n \r\n {!isAvailable && !isAssignAll && (\r\n \r\n \r\n Unassign\r\n \r\n \r\n )}\r\n {(isAvailable || isAssignAll) && (\r\n \r\n Assign\r\n \r\n )}\r\n \r\n }\r\n />\r\n \r\n \r\n {rows.length > 0 && (\r\n \r\n \r\n \r\n \r\n\r\n {!isCustomerInvite && !isManageOrderDetail && (\r\n \r\n )}\r\n\r\n {(isCustomerInvite || isManageOrderDetail) && (\r\n \r\n )}\r\n {!isCustomerInvite && !isManageOrderDetail && (\r\n \r\n )}\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n {stableSort(rows as any, getComparator(order, orderBy))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((row, index) => {\r\n \r\n const isItemSelected = isSelected(row.licenseCode as string);\r\n const tableCellColor = isManageOrderDetail\r\n ? \"#f5f4fa\"\r\n : \"#ffffff\";\r\n \r\n \r\n return (\r\n {\r\n if(userStore.user?.RoleName === \"dealer\"){\r\n dCustomerStore.setIsCustomerAdded(false);\r\n if(row.status === 3 || row.status === 5 || (row.assignedCustomerID === 0 && row.assignedTo !== \"0\")){\r\n\r\n enqueueSnackbar(\r\n `Detail view not available for ${ (row.assignedCustomerID === 0 && row.assignedTo !== \"0\") ? \"Invite sent\" :row.status === 3 ? \"License returned\" : \"Return failed\"} `,\r\n {\r\n variant: \"error\",\r\n }\r\n );\r\n }else{\r\n localStorage.setItem(\"AssignFlag\",\"0\");\r\n \r\n if(row.status === 2){\r\n setDeviceDeactive(true)\r\n }else{\r\n setDeviceDeactive(false)\r\n }\r\n setOrderDetailsDialogOpen(true);\r\n setSelectedLicense(row);\r\n setSelectAll(false);\r\n if (row.status === 1 && row.assignedCustomerID === 0) {\r\n setAvailable(true);\r\n } else if (\r\n row.status === 1 &&\r\n row.assignedCustomerID !== 0\r\n ) {\r\n setAvailable(false);\r\n }\r\n localStorage.setItem(\"orderCode\", orderCode);\r\n orderStore.setAssignLicense(row.licenseCode);\r\n var isAssignAl = \"0\";\r\n localStorage.setItem(\"isAssignAl\", isAssignAl);\r\n const uid = row.assignedCustomerID;\r\n \r\n (async () => {\r\n const userRole = \"customer\";\r\n if (uid !== undefined && uid !== null && uid !== 0) {\r\n await dCustomerStore.read({\r\n uid,\r\n userRole,\r\n });\r\n \r\n setCustomerData(dCustomerStore.delaerCustomer);\r\n \r\n }\r\n })();\r\n }\r\n }\r\n }}\r\n aria-checked={isItemSelected}\r\n tabIndex={-1}\r\n key={row.licenseCode}\r\n >\r\n \r\n {row.setCode}\r\n \r\n \r\n {row.setName}\r\n \r\n\r\n {!isCustomerInvite && !isManageOrderDetail && (\r\n \r\n {row.licenseCode}\r\n \r\n )}\r\n {(isCustomerInvite || isManageOrderDetail) && (\r\n \r\n {row.licenseCode}\r\n \r\n )}\r\n {!isCustomerInvite && !isManageOrderDetail && (\r\n \r\n \r\n \r\n \r\n {userStore.user?.RoleName === \"dealer\" && }\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n })}\r\n {rows.length === 0 && (\r\n \r\n \r\n \r\n \r\n \r\n No orders found\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {emptyRows > 0 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n {rows.length > rowsPerPage && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n
\r\n );\r\n}\r\n\r\nexport declare namespace ManageOrder {\r\n export interface Props {\r\n licenseList?: Models.License[];\r\n isManageOrderDetail?: boolean;\r\n isCustomerInvite?: boolean;\r\n }\r\n}\r\n// eslint-disable-next-line no-redeclare\r\nexport const ManageOrder = Mobx.observer(function ({\r\n licenseList,\r\n isManageOrderDetail = false,\r\n isCustomerInvite = false,\r\n}: ManageOrder.Props) {\r\n const [search, setSearch] = React.useState(\"\");\r\n const [orderCode, setOrderCode] = React.useState(\"\");\r\n const [orderId, setOrderId] = React.useState(0);\r\n const [isAssignAll, setIsAssignAll] = React.useState(false);\r\n const [buttonIncrementer, setButtonIncrementer] = React.useState(0);\r\n const [OrderDetailsDialogOpen, setOrderDetailsDialogOpen] =\r\n React.useState(false);\r\n const [license, setLicense] = React.useState();\r\n const userStore = React.useContext(App.Contexts.userStore) ?? \"\";\r\n const orderStore = React.useContext(App.Contexts.orderStore);\r\n const theme = Mui.useTheme();\r\n const [searchParams] = Router.useSearchParams();\r\n const [buttonDefiner, setButtonDefiner] = React.useState();\r\n\r\n var overAllStatus = searchParams.get(\"m\") ?? \"\";\r\n React.useEffect(() => {\r\n (async function () {\r\n if (!isManageOrderDetail) {\r\n var orderId = searchParams.get(\"q\") ?? \"\";\r\n var createdBy = searchParams.get(\"cid\") ?? \"\";\r\n localStorage.setItem(\"orderID\",orderId);\r\n localStorage.setItem(\"overAllStatus\",overAllStatus);\r\n var uid = createdBy;\r\n var userRole = userStore.user?.RoleName ?? \"customer\";\r\n var isGetAll = true;\r\n \r\n const orderRequest = { cid: uid, eid: \"\", id: orderId };\r\n await orderStore.getOrderAndLicense(orderRequest, {\r\n body: { status: null, userID: uid },\r\n userRole,\r\n uid,\r\n isGetAll,\r\n });\r\n await setLicense(orderStore.orderDetail[0].license);\r\n await setOrderCode(orderStore.orderDetail[0].orderCode);\r\n setOrderId(orderStore.orderDetail[0].orderID)\r\n } else {\r\n await setLicense(licenseList);\r\n }\r\n \r\n \r\n\r\n if (license?.map((k) => k.assignedCustomerID).every((k) => k === 0)) {\r\n setButtonDefiner(1);\r\n \r\n } else if (license?.map((k) => k.status).every((k) => k === 2)) {\r\n setButtonDefiner(2);\r\n \r\n } else {\r\n setButtonDefiner(3);\r\n \r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n \r\n const addCustomerStore = React.useContext(App.Contexts.addCustomerStore);\r\n\r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n\r\n\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n setSearch(event.target.value as string);\r\n };\r\n const labelSize = \"17px\";\r\n const labelFontWeight = \"bold\";\r\n const { t } = ReactI18next.useTranslation();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const navigate = Router.useNavigate();\r\n\r\n\r\n function FormRow({\r\n labelList,\r\n isLabel,\r\n }: {\r\n labelList: any;\r\n isLabel: boolean;\r\n }) {\r\n const listCount = labelList.length === 3 ? 4 : 3;\r\n \r\n return (\r\n \r\n {labelList.map((title: any) => {\r\n return (\r\n <>\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 }\r\n return (\r\n <>\r\n {!isManageOrderDetail ? (\r\n <>\r\n {orderStore.orderDetail.length > 0 && (\r\n \r\n \r\n {orderStore.orders.map((k, index) => {\r\n var createdDateTime = new Date(\r\n k.orderedOn + \"Z\"\r\n ).toLocaleDateString();\r\n var createdDateTimeProcessed = new Date(\r\n k.processedOn + \"Z\"\r\n ).toLocaleDateString();\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n {k.status === 2 ? (\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 {k.status === 2\r\n ? \"Return order\"\r\n : \"Order processed\"}\r\n \r\n \r\n \r\n \r\n {index === 0 && (\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 {orderStore.orderDetail.length > 0 && (\r\n \r\n )}\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n )}\r\n {license === undefined ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n {orderStore.orderDetail[0].license.length > 0 &&\r\n license !== undefined && (\r\n {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n order?.licenseCode\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.setName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.setCode?.toLowerCase().includes(search.toLowerCase())\r\n );\r\n })}\r\n />\r\n )}\r\n \r\n {!isManageOrderDetail && orderStore.checkAssignAll() && userStore.user?.RoleName === \"dealer\" && (\r\n {\r\n localStorage.setItem(\"orderCode\", orderCode);\r\n var isAssignAll = \"1\";\r\n localStorage.setItem(\"isAssignAl\", isAssignAll);\r\n setOrderDetailsDialogOpen(true);\r\n setIsAssignAll(true);\r\n setButtonIncrementer(() => buttonIncrementer + 1);\r\n }}\r\n >\r\n Assign all\r\n \r\n )}\r\n { !isManageOrderDetail && orderStore.checkUnAssignAll() && userStore.user?.RoleName === \"dealer\" && {\r\n (async () => {\r\n var DealerID = userStore?.user?.ETUID ?? \"\"\r\n await addCustomerStore.unAssignAll({\r\n body: {\r\n DealerETUID: DealerID,\r\n OrderID: orderId,\r\n OrderCode: orderCode\r\n },\r\n });\r\n })();\r\n enqueueSnackbar(\r\n \r\n All the licenses are unassigned from the customer \r\n ,\r\n {\r\n variant: \"success\",\r\n }\r\n );\r\n navigate(\r\n `/Orders`\r\n );\r\n }}\r\n \r\n >\r\n Unassign all\r\n \r\n}\r\n \r\n )}\r\n \r\n );\r\n});\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactCookie from \"react-cookie\";\r\n// NOTE: For translations\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\n// import * as ReactUndraw from \"iblis-react-undraw\";\r\nimport * as Configs from \"src/configs\";\r\nimport * as Constants from \"src/constants\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) => ({\r\n loginCardContainer: {\r\n paddingTop: theme.spacing(6),\r\n },\r\n easyTouchIllustration: {\r\n width: \"inherit\",\r\n paddingTop: theme.spacing(3),\r\n },\r\n media: {\r\n height: 240,\r\n },\r\n}));\r\n\r\nexport declare namespace Login {\r\n export namespace Form {\r\n export interface Values {\r\n email: string;\r\n password: string;\r\n }\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Login() {\r\n // NOTE: For translations\r\n const { t } = ReactI18next.useTranslation();\r\n\r\n const [searchParams] = Router.useSearchParams();\r\n const [, setCookie] = ReactCookie.useCookies();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n\r\n const id = searchParams.get(\"id\");\r\n const sr = searchParams.get(\"sr\");\r\n const did = searchParams.get(\"did\");\r\n // const token = searchParams.get(\"token\");\r\n// const returnUrl = searchParams.get(\"returnUrl\") || \"/\";\r\n \r\n function getCommonCookieOptions() {\r\n const futureTime = new Date();\r\n futureTime.setHours(futureTime.getHours() + 7);\r\n return {\r\n expires: futureTime,\r\n path: \"/\",\r\n };\r\n }\r\n\r\n if (id) {\r\n setCookie(\"macid\", id, getCommonCookieOptions());\r\n setCookie(\"needact\", \"1\", getCommonCookieOptions());\r\n\r\n if (sr) {\r\n setCookie(\"needact\", \"0\", getCommonCookieOptions());\r\n }\r\n }\r\n\r\n if (did) {\r\n setCookie(\"dmacid\", did, getCommonCookieOptions());\r\n }\r\n\r\n const classes = useStyles();\r\n const theme = Mui.useTheme();\r\n\r\n\r\n function validateEmail(value: any) {\r\n let error;\r\n if (!value) {\r\n } else if (!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]{2,}$/i.test(value)) {\r\n error = t(\"Email is invalid\");\r\n }\r\n return error;\r\n }\r\n\r\n const [showPassword, setShowPassword] = React.useState(false);\r\n\r\n function handleClickShowPassword() {\r\n return function () {\r\n setShowPassword(!showPassword);\r\n };\r\n }\r\n\r\n function handleMouseDownPassword() {\r\n return function (event: React.MouseEvent) {\r\n event.preventDefault();\r\n };\r\n }\r\n\r\n async function handleLogin(\r\n values: Login.Form.Values,\r\n { setSubmitting }: Formik.FormikHelpers\r\n ) {\r\n try {\r\n await userStore.login({\r\n axios: App.axios,\r\n credential: {\r\n username: values.email,\r\n password: values.password,\r\n sysdate: new Date(),\r\n },\r\n getCommonCookieOptions,\r\n setCookie,\r\n setSubmitting,\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n if (\r\n error?.name === \"INVALID_CREDENTIAL\" &&\r\n (values.email === \"\" || values.email === null)\r\n ) {\r\n enqueueSnackbar(\r\n \r\n Email ID is required!\r\n ,\r\n {\r\n variant: \"error\",\r\n }\r\n );\r\n } else if (\r\n error?.name === \"INVALID_CREDENTIAL\" &&\r\n (values.password === \"\" || values.password === null)\r\n ) {\r\n enqueueSnackbar(\r\n \r\n Password is required!\r\n ,\r\n {\r\n variant: \"error\",\r\n }\r\n );\r\n } else if (error?.name === \"INVALID_CREDENTIAL\") {\r\n enqueueSnackbar(\r\n \r\n Invalid email ID or password!\r\n ,\r\n {\r\n variant: \"error\",\r\n }\r\n );\r\n } else {\r\n enqueueSnackbar(\r\n \r\n Something went wrong! Please try again later.\r\n ,\r\n {\r\n variant: \"error\",\r\n }\r\n );\r\n }\r\n } finally {\r\n setSubmitting(false);\r\n }\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n Welcome to\r\n {\" \"}\r\n  \r\n \r\n KERN License Management\r\n \r\n \r\n \r\n \r\n Login to get started\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {theme.palette.type === \"light\" ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n {({\r\n isSubmitting,\r\n submitForm,\r\n }: Formik.FormikProps) => (\r\n \r\n \r\n \r\n Email ID\r\n \r\n }\r\n placeholder={t(\"Please enter Email ID\")}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}\r\n InputProps={{\r\n endAdornment: (\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 Password\r\n \r\n }\r\n placeholder={t(\"Please enter password\")}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}\r\n type={showPassword ? \"text\" : \"password\"}\r\n InputProps={{\r\n endAdornment: (\r\n \r\n \r\n \r\n {showPassword ? (\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 {isSubmitting && }\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Forgot password?\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Login\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 If you are new or don't have a KERN account, please\r\n \r\n  \r\n \r\n \r\n register\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as ReactUndraw from \"iblis-react-undraw\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Yup from \"yup\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) => ({\r\n registerCardContainer: {\r\n paddingTop: theme.spacing(6),\r\n },\r\n registrationIllustration: {\r\n width: \"inherit\",\r\n paddingTop: theme.spacing(3),\r\n paddingLeft: theme.spacing(3),\r\n },\r\n}));\r\n\r\nexport declare namespace Register {\r\n export namespace Form {\r\n export interface Values {\r\n email: string;\r\n password: string;\r\n salutation: string;\r\n firstName: string;\r\n lastName: string;\r\n position: string;\r\n country: string;\r\n language: string;\r\n telephone: string;\r\n }\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Register() {\r\n const classes = useStyles();\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const RegisterSchema = Yup.object().shape({\r\n email: Yup.string()\r\n .required(t(\"Email ID is required\"))\r\n .email(t(\"Email is invalid\")),\r\n password: Yup.string().required(t(\"Password is required\")),\r\n firstName: Yup.string()\r\n .min(2, t(\"pages.account.register.inputErrors.firstName.min\"))\r\n .required(t(\"pages.account.register.inputErrors.firstName.required\")),\r\n lastName: Yup.string()\r\n .min(2, t(\"pages.account.register.inputErrors.lastName.min\"))\r\n .required(t(\"pages.account.register.inputErrors.lastName.required\")),\r\n position: Yup.string()\r\n .min(2, t(\"pages.account.register.inputErrors.position.min\"))\r\n .required(t(\"pages.account.register.inputErrors.position.required\")),\r\n country: Yup.string(),\r\n language: Yup.string(),\r\n telephone: Yup.string()\r\n .min(2, t(\"pages.account.register.inputErrors.position.min\"))\r\n .required(t(\"pages.account.register.inputErrors.position.required\")),\r\n });\r\n\r\n const [showPassword, setShowPassword] = React.useState(false);\r\n\r\n function handleClickShowPassword() {\r\n return function () {\r\n setShowPassword(!showPassword);\r\n };\r\n }\r\n\r\n function handleMouseDownPassword() {\r\n return function (event: React.MouseEvent) {\r\n event.preventDefault();\r\n };\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n Easy Touch Shop & License Management\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n KERN team thank you for your interest to create the KERN Account.\r\n Please provide the details below to create your KERN account. We\r\n will send an email to your address to verify your email after the\r\n registration, please validate your email using the link provided\r\n in the email. You will be redirected to the web shop upon success\r\n creation of KERN account.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Register\r\n \r\n \r\n \r\n \r\n {\r\n setTimeout(() => {\r\n setSubmitting(false);\r\n alert(JSON.stringify(values, null, 2));\r\n }, 500);\r\n }}\r\n >\r\n {({\r\n isSubmitting,\r\n submitForm,\r\n }: Formik.FormikProps) => (\r\n \r\n \r\n \r\n Email ID\r\n \r\n }\r\n variant=\"outlined\"\r\n />\r\n \r\n \r\n \r\n Password\r\n \r\n }\r\n variant=\"outlined\"\r\n type={showPassword ? \"text\" : \"password\"}\r\n InputProps={{\r\n endAdornment: (\r\n \r\n \r\n {showPassword ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n ),\r\n }}\r\n />\r\n \r\n \r\n Personal Details\r\n \r\n \r\n \r\n Salutation\r\n \r\n }\r\n variant=\"outlined\"\r\n type=\"text\"\r\n />\r\n \r\n \r\n \r\n First Name\r\n \r\n }\r\n variant=\"outlined\"\r\n type=\"text\"\r\n />\r\n \r\n \r\n \r\n Last Name\r\n \r\n }\r\n variant=\"outlined\"\r\n type=\"text\"\r\n />\r\n \r\n \r\n \r\n Position\r\n \r\n }\r\n variant=\"outlined\"\r\n type=\"text\"\r\n />\r\n \r\n \r\n \r\n Country\r\n \r\n }\r\n variant=\"outlined\"\r\n type=\"text\"\r\n />\r\n \r\n \r\n \r\n Language\r\n \r\n }\r\n variant=\"outlined\"\r\n type=\"text\"\r\n />\r\n \r\n \r\n \r\n Telephone\r\n \r\n }\r\n variant=\"outlined\"\r\n type=\"tel\"\r\n />\r\n \r\n {isSubmitting && }\r\n \r\n \r\n \r\n \r\n Back To Login\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create Account\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","import * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as ReactUndraw from \"iblis-react-undraw\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Yup from \"yup\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) => ({\r\n resetPasswordCardContainer: {\r\n paddingTop: theme.spacing(6),\r\n },\r\n forgotPasswordIllustration: {\r\n width: \"inherit\",\r\n paddingTop: theme.spacing(3),\r\n paddingLeft: theme.spacing(3),\r\n },\r\n}));\r\n\r\nexport declare namespace ResetPassword {\r\n export namespace Form {\r\n export interface Values {\r\n email: string;\r\n }\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function ResetPassword() {\r\n const classes = useStyles();\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const ResetPasswordSchema = Yup.object().shape({\r\n email: Yup.string()\r\n .required(t(\"pages.account.resetPassword.inputErrors.email.required\"))\r\n .email(t(\"pages.account.resetPassword.inputErrors.email.invalid\")),\r\n });\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n Easy Touch Shop & License Management\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 Forgot Password\r\n \r\n \r\n \r\n \r\n {\r\n setTimeout(() => {\r\n setSubmitting(false);\r\n alert(JSON.stringify(values, null, 2));\r\n }, 500);\r\n }}\r\n >\r\n {({\r\n isSubmitting,\r\n submitForm,\r\n }: Formik.FormikProps) => (\r\n \r\n \r\n \r\n Email ID\r\n \r\n }\r\n variant=\"outlined\"\r\n />\r\n \r\n\r\n \r\n \r\n \r\n A link to reset password will be sent to your email\r\n address.\r\n \r\n \r\n \r\n\r\n {isSubmitting && }\r\n\r\n \r\n \r\n \r\n \r\n Back To Login\r\n \r\n \r\n \r\n \r\n \r\n \r\n Send Email\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n Don't have an account?\r\n \r\n   \r\n \r\n \r\n \r\n Register\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","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as React from \"react\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"desc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\nexport declare namespace Cards {\r\n export type VARIANT = \"DEFAULT\" | \"DETAILED\";\r\n\r\n export interface Props extends Pick {\r\n selectedArticles?: { [Key: string]: boolean; [Key: number]: boolean };\r\n functions?: Models.Set.Function[];\r\n articles: Models.Set.Article[];\r\n handleClick?(props: { article: Models.Set.Article }): void;\r\n disablePagination?: boolean;\r\n cardsPerRow?: 2 | 3 | 4;\r\n variant?: Cards.VARIANT;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Cards({\r\n selectedArticles,\r\n articles,\r\n handleClick,\r\n disablePagination,\r\n cardsPerRow,\r\n functions,\r\n spacing,\r\n variant = \"DEFAULT\",\r\n}: Cards.Props) {\r\n const theme = Mui.useTheme();\r\n\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(\r\n disablePagination ? articles.length : 16\r\n );\r\n\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [articles]);\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n\r\n const cardsPerRowMapping = {\r\n xs: {\r\n 2: 12,\r\n 3: 12,\r\n 4: 12,\r\n },\r\n md: {\r\n 2: 12,\r\n 3: 12,\r\n 4: 6,\r\n },\r\n lg: {\r\n 2: 6,\r\n 3: 4,\r\n 4: 3,\r\n },\r\n };\r\n\r\n return (\r\n <>\r\n \r\n {stableSort(articles as any, getComparator(\"asc\", \"setID\"))\r\n .slice(\r\n ...(disablePagination\r\n ? [0]\r\n : [page * rowsPerPage, page * rowsPerPage + rowsPerPage])\r\n )\r\n .map((article, index) => (\r\n \r\n \r\n (article as Models.Set.Article).functions.includes(\r\n func.setFunctionID\r\n )\r\n )}\r\n handleClick={handleClick}\r\n article={(article as unknown) as Models.Set.Article}\r\n variant={variant}\r\n />\r\n \r\n ))}\r\n {articles.length === 0 && (\r\n \r\n \r\n No articles found\r\n \r\n \r\n )}\r\n \r\n {/* {articles.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )} */}\r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Models from \"src/models\";\r\n\r\nexport declare namespace Card {\r\n export type VARIANT = Article.Views.Cards.VARIANT;\r\n\r\n export interface Props extends Pick {\r\n selected?: boolean;\r\n functions?: Models.Set.Function[];\r\n article: Models.Set.Article;\r\n handleClick?(props: { article: Models.Set.Article }): void;\r\n variant?: Card.VARIANT;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Card({\r\n article,\r\n style,\r\n handleClick,\r\n selected,\r\n functions,\r\n variant = \"DEFAULT\",\r\n}: Card.Props) {\r\n const theme = Mui.useTheme();\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n const { t } = ReactI18next.useTranslation();\r\n const DefaultCardInternals = (\r\n <>\r\n \r\n \r\n Name\r\n \r\n {article.setName}\r\n \r\n }\r\n action={\r\n \r\n }\r\n />\r\n \r\n \r\n Code\r\n \r\n {article.setCode}\r\n \r\n \r\n );\r\n\r\n const DetailedCardInternals = (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n }\r\n action={\r\n <>\r\n {selected !== undefined && (\r\n \r\n )}\r\n \r\n }\r\n />\r\n \r\n {functions && functions.length > 0 && (\r\n \r\n \r\n \r\n )}\r\n\r\n \r\n \r\n Available functions\r\n \r\n \r\n \r\n {functions?.map((func) => func.funcationName).join(\", \")}\r\n \r\n
\r\n
\r\n \r\n );\r\n\r\n return (\r\n \r\n {handleClick ? (\r\n handleClick({ article })}\r\n >\r\n {variant === \"DEFAULT\" && DefaultCardInternals}\r\n {variant === \"DETAILED\" && DetailedCardInternals}\r\n \r\n ) : (\r\n <>\r\n {variant === \"DEFAULT\" && DefaultCardInternals}\r\n {variant === \"DETAILED\" && DetailedCardInternals}\r\n \r\n )}\r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n title: {\r\n flexGrow: 1,\r\n },\r\n })\r\n);\r\n\r\nexport declare namespace Create {\r\n export type Props = Pick<\r\n Components.ResponsiveFullscreenDialogWithScroll.Props,\r\n \"open\" | \"handleClose\"\r\n >;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Create = Mobx.observer(function (props: Create.Props) {\r\n const { t } = ReactI18next.useTranslation();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const articleStore = React.useContext(App.Contexts.articleStore);\r\n const articleService = new Services.Article({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n async function handleCreate(\r\n values: Article.Form.Values,\r\n { setSubmitting }: Formik.FormikHelpers\r\n ) {\r\n try {\r\n const uid = userStore.user?.uid;\r\n if (uid === undefined) {\r\n throw new Error(\"uid is undefined\");\r\n }\r\n\r\n const functions = ((values.setID as unknown) as Models.Set.Function[]).map(\r\n (set) => set.setFunctionID\r\n );\r\n\r\n const dependentSets = ((values.dependentSets as unknown) as Models.Set.Article[]).map(\r\n (article) => article.setID\r\n );\r\n\r\n const industrySegment = (values.industrySegmentsId as unknown) as Models.IndustrySegment.Main;\r\n\r\n const iconClass = ((values.iconClass as unknown) as Article.Form.Options.Icon)\r\n .iconName;\r\n\r\n const article = ({\r\n functions,\r\n dependentSets,\r\n hundCode: values.hundCode,\r\n iconClass,\r\n industrySegment: industrySegment.nameEN,\r\n industrySegmentsId: industrySegment.industrySegmentsId,\r\n isItFree: values.isFree,\r\n licensePerSet: values?.isLimited === true ? 1 : values.licensesPerArticle,\r\n moreInfo: values.linkForMoreInfo,\r\n setCode: values.code,\r\n setCost: values.netPricePerItem,\r\n setDescriptions: values.description,\r\n setID: 0,\r\n setName: values.name,\r\n status: 1,\r\n licenseValidityPeriod: values.licenseValidityPeriod,\r\n validityPeriod: values.isFree ? values.validityPeriodInDays : 0,\r\n isLimited: !values?.isLimited\r\n } as unknown) as Models.Set.Article;\r\n const res = await articleService.create({ body: article, uid });\r\n const result: any = res?.result;\r\n // console.log(\"result\",result);\r\n if(result == 1){\r\n enqueueSnackbar(t(\"Article successfully created!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n }\r\n if(result == 2){\r\n enqueueSnackbar(t(\"Article successfully updated!\"), {\r\n variant: \"info\",\r\n preventDuplicate: false,\r\n });\r\n }\r\n articleStore.read();\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setSubmitting(false);\r\n props.handleClose();\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n \r\n
\r\n \r\n \r\n );\r\n});\r\n\r\nfunction Form({ open, handleClose }: Create.Props) {\r\n const classes = useStyles();\r\n const theme = Mui.useTheme();\r\n const { isSubmitting, submitForm, resetForm } = Formik.useFormikContext();\r\n React.useEffect(() => {\r\n resetForm();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [open]);\r\n \r\n return (\r\n }\r\n title={\r\n \r\n \r\n Add new article\r\n \r\n \r\n }\r\n actions={\r\n <>\r\n \r\n CLOSE\r\n \r\n {\r\n submitForm();\r\n }}\r\n >\r\n Save\r\n {isSubmitting && (\r\n \r\n )}\r\n \r\n \r\n }\r\n />\r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\n// import * as MuiIcons from \"@material-ui/icons\";\r\nimport Numeral from \"numeral\";\r\nimport * as React from \"react\";\r\n// import { v4 as uuidv4 } from \"uuid\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n// import * as Containers from \"src/app/containers\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Configs from \"src/configs\";\r\nimport * as Models from \"src/models\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) => ({\r\n list: {\r\n width: 380,\r\n },\r\n title: {\r\n flexGrow: 1,\r\n },\r\n contentwidth: {\r\n width: theme.breakpoints.values.md,\r\n },\r\n contentEle: {\r\n padding: 8,\r\n marginBottom: 12,\r\n },\r\n}));\r\n\r\nexport declare namespace Details {\r\n export interface Props {\r\n open: boolean;\r\n handleClose(): void;\r\n functionData: Models.Set.Function[];\r\n articlesData: Models.Set.Article[];\r\n article: Models.Set.Article;\r\n handleEditClick(props: { article: Models.Set.Article }): void;\r\n handleTranslateClick(props: { article: Models.Set.Article }): void;\r\n handleDeleteClick(props: { id: string | number }): void;\r\n handleActivateClick(props: { id: string | number }): void;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Details({\r\n open,\r\n handleClose,\r\n article,\r\n functionData,\r\n articlesData,\r\n handleEditClick,\r\n handleDeleteClick,\r\n handleActivateClick,\r\n handleTranslateClick,\r\n}: Details.Props) {\r\n const classes = useStyles();\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Article name\r\n \r\n \r\n \r\n {article?.setName}\r\n \r\n \r\n \r\n \r\n \r\n Article description\r\n \r\n \r\n \r\n {article?.setDescriptions}\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n Article code (Type code)\r\n \r\n \r\n \r\n {article?.setCode}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Model number\r\n \r\n \r\n \r\n {article?.hundCode}\r\n \r\n \r\n\r\n \r\n \r\n {Configs.Workaround.isCloudArticle({\r\n code: article?.setCode ?? \"\",\r\n }) ||\r\n Configs.Workaround.isCloudArticle({\r\n code: article?.hundCode ?? \"\",\r\n }) ? (\r\n \r\n Price (net) per month in €\r\n \r\n ) : (\r\n \r\n Price (net) per item in €\r\n \r\n )}\r\n \r\n \r\n {Numeral(article?.setCost).format(\"$ 0,.00a\")}\r\n \r\n \r\n \r\n \r\n {Configs.Workaround.isCloudArticle({\r\n code: article?.setCode ?? \"\",\r\n }) ||\r\n Configs.Workaround.isCloudArticle({\r\n code: article?.hundCode ?? \"\",\r\n }) ? (\r\n \r\n Users per article\r\n \r\n ) : (\r\n \r\n Licenses per article\r\n \r\n )}\r\n \r\n \r\n {article?.isLimited === false ? \"Unlimited\" : article?.licensePerSet}\r\n \r\n \r\n \r\n \r\n \r\n Icon name\r\n \r\n \r\n \r\n {article?.iconClass}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Link for more information\r\n \r\n \r\n \r\n {article?.moreInfo}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Select functions\r\n \r\n \r\n \r\n {functionData\r\n .filter((func) =>\r\n article?.functions?.includes(func.setFunctionID)\r\n )\r\n .map((func) => func.funcationName)\r\n .join(\", \")}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Dependent articles\r\n \r\n \r\n \r\n {articlesData\r\n .filter((articleData) =>\r\n article?.dependentSets?.includes(articleData.setID)\r\n )\r\n .map((articleData) => articleData.setName)\r\n .join(\", \") || \"-\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n title={\r\n \r\n {article?.setName}\r\n \r\n }\r\n actions={\r\n <>\r\n \r\n {article?.status === 1 ? (\r\n handleDeleteClick({ id: article.setID })}\r\n >\r\n Delete\r\n \r\n ) : (\r\n handleActivateClick({ id: article.setID })}\r\n >\r\n \r\n Activate\r\n \r\n \r\n )}\r\n\r\n \r\n handleTranslateClick({ article })}\r\n >\r\n \r\n Translate\r\n \r\n \r\n {\r\n handleEditClick({ article });\r\n localStorage.setItem(\r\n \"articleIdFromEdit\",\r\n article.setID.toString()\r\n );\r\n }}\r\n >\r\n Edit\r\n \r\n \r\n \r\n \r\n }\r\n />\r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n title: {\r\n flexGrow: 1,\r\n },\r\n toolbar: theme.mixins.toolbar,\r\n })\r\n);\r\n\r\nexport declare namespace Edit {\r\n export type Props = Pick<\r\n Components.ResponsiveFullscreenDialogWithScroll.Props,\r\n \"open\" | \"handleClose\"\r\n > & {\r\n article?: Models.Set.Article;\r\n };\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Edit = Mobx.observer(function ({\r\n open,\r\n handleClose,\r\n article,\r\n}: Edit.Props) {\r\n const classes = useStyles();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const [initialValues, setInitialValues] =\r\n React.useState();\r\n\r\n const articleService = new Services.Article({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n const articleStore = React.useContext(App.Contexts.articleStore);\r\n async function handleEdit(\r\n values: Article.Form.Values,\r\n { setSubmitting }: Formik.FormikHelpers\r\n ) {\r\n try {\r\n const uid = userStore.user?.uid;\r\n if (uid === undefined) {\r\n throw new Error(t(\"uid is undefined\"));\r\n }\r\n\r\n if (!article) {\r\n throw new Error(t(\"article is undefined\"));\r\n }\r\n\r\n const functions = (values.setID as unknown as Models.Set.Function[]).map(\r\n (set) => set.setFunctionID\r\n );\r\n\r\n const dependentSets = (\r\n values.dependentSets as unknown as Models.Set.Article[]\r\n ).map((article) => article.setID);\r\n\r\n const industrySegment = (values.industrySegmentsId as unknown) as Models.IndustrySegment.Main;\r\n \r\n const iconClass = (\r\n values.iconClass as unknown as Article.Form.Options.Icon\r\n ).iconName;\r\n\r\n const updatedArticle = {\r\n setID: article.setID,\r\n dependentSets,\r\n functions,\r\n hundCode: values.hundCode,\r\n iconClass,\r\n industrySegment: industrySegment.nameEN,\r\n industrySegmentsId: industrySegment.industrySegmentsId,\r\n isItFree: values.isFree,\r\n licensePerSet: values?.isLimited === true ? 1 : values.licensesPerArticle,\r\n moreInfo: values.linkForMoreInfo,\r\n setCode: values.code,\r\n setCost: values.netPricePerItem,\r\n setDescriptions: values.description,\r\n setName: values.name,\r\n licenseValidityPeriod: values.licenseValidityPeriod,\r\n validityPeriod: values.isFree ? values.validityPeriodInDays : 0,\r\n isLimited: !values?.isLimited \r\n } as Models.Set.Article;\r\n await articleService.create({ body: updatedArticle, uid });\r\n enqueueSnackbar(t(\"Article successfully updated!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n articleStore.read();\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setSubmitting(false);\r\n handleClose();\r\n }\r\n }\r\n\r\n React.useEffect(() => {\r\n if (!article) {\r\n setInitialValues(undefined);\r\n return;\r\n }\r\n\r\n const initialValues: Article.Form.Values = {\r\n code: article?.setCode,\r\n description: article?.setDescriptions,\r\n hundCode: article?.hundCode,\r\n iconClass: article?.iconClass,\r\n industrySegmentsId: (article?.industrySegmentsId as unknown) as string,\r\n licensesPerArticle: article?.licensePerSet,\r\n linkForMoreInfo: article?.moreInfo,\r\n name: article?.setName,\r\n netPricePerItem: article?.setCost,\r\n setID: article?.functions,\r\n validityPeriodInDays: article?.validityPeriod,\r\n isFree: article?.isItFree,\r\n dependentSets: article?.dependentSets,\r\n licenseValidityPeriod: article.licenseValidityPeriod,\r\n isLimited: !article?.isLimited\r\n };\r\n\r\n setInitialValues(initialValues);\r\n }, [article]);\r\n\r\n return (\r\n <>\r\n \r\n {initialValues && (\r\n \r\n {({ isSubmitting, submitForm }) => {\r\n \r\n return (\r\n <>\r\n \r\n {article && }\r\n \r\n \r\n \r\n \r\n \r\n <>\r\n \r\n \r\n CLOSE\r\n \r\n \r\n submitForm()}\r\n >\r\n \r\n Update\r\n \r\n {isSubmitting && (\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 title={\r\n \r\n \r\n Edit article\r\n \r\n \r\n }\r\n />\r\n \r\n );\r\n});\r\n","import * as React from \"react\";\r\n\r\nexport function useForceUpdate() {\r\n const [, setValue] = React.useState(0);\r\n return () => setValue((value) => ++value);\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as FormikMuiLab from \"formik-material-ui-lab\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Hooks from \"src/app/hooks\";\r\nimport * as Configs from \"src/configs\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\nexport declare namespace Form {\r\n export interface Props {\r\n editingArticle?: Models.Set.Article;\r\n }\r\n\r\n export interface Values {\r\n name: any;\r\n code: any;\r\n hundCode: string;\r\n description: string;\r\n industrySegmentsId: string;\r\n isFree?: boolean;\r\n validityPeriodInDays: number;\r\n licenseValidityPeriod?: number;\r\n netPricePerItem: number;\r\n licensesPerArticle: number;\r\n iconClass: string;\r\n linkForMoreInfo: string;\r\n setID: Array;\r\n dependentSets?: Array;\r\n isLimited?: boolean;\r\n }\r\n\r\n export namespace Options {\r\n export interface Icon {\r\n iconName: string;\r\n iconType: string;\r\n }\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Form({ editingArticle }: Form.Props) {\r\n const { t } = ReactI18next.useTranslation();\r\n const [iconOptions, setIconOptions] = React.useState([]);\r\n const [functionOptions, setFunctionOptions] = React.useState<\r\n Models.Set.Function[]\r\n >([]);\r\n const [articleNameExists, setArticleNameExists] =\r\n React.useState(\"false\");\r\n const [articleCodeExists, setArticleCodeExists] =\r\n React.useState(\"false\");\r\n const [articleModelExists, setArticleModelExists] =\r\n React.useState(\"false\");\r\n const [initError, setInitError] = React.useState(false);\r\n const [articleName, setArticleName] = React.useState(\"\");\r\n const [articleCode, setArticleCode] = React.useState(\"\");\r\n const [articleModel, setArticleModel] = React.useState(\"\");\r\n const [dependentSetOptions, setDependentSetOptions] = React.useState<\r\n Models.Set.Article[]\r\n >([]);\r\n const [industrySegmentOptions, setIndustrySegmentOptions] = React.useState<\r\n Models.IndustrySegment.Main[]\r\n >([]);\r\n const { touched, errors, values, setFieldValue } =\r\n Formik.useFormikContext();\r\n const forceUpdate = Hooks.useForceUpdate();\r\n\r\n const iconService = new Services.Icon({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n const functionService = new Services.Function({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n const industrySegmentService = new Services.IndustrySegment({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n const articleService = new Services.Article({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n React.useEffect(() => {\r\n (async function () {\r\n try {\r\n const {\r\n result: industrySegments,\r\n } = await industrySegmentService.getAllData();\r\n setIndustrySegmentOptions(\r\n industrySegments.filter((industry) => industry.status === 1)\r\n );\r\n\r\n if (values.industrySegmentsId) {\r\n values.industrySegmentsId = (industrySegments.find(\r\n (industrySegment) =>\r\n // eslint-disable-next-line eqeqeq\r\n ((values.industrySegmentsId as unknown) as string) ==\r\n ((industrySegment.industrySegmentsId as unknown) as string)\r\n ) as unknown) as string;\r\n forceUpdate();\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n React.useEffect(() => {\r\n (async function () {\r\n try {\r\n const { result: icons } = await iconService.getAllData();\r\n setIconOptions(icons);\r\n if (values.iconClass) {\r\n values.iconClass = {\r\n iconName: values.iconClass,\r\n } as unknown as string;\r\n forceUpdate();\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n (async function () {\r\n try {\r\n const result = await functionService.getAllData();\r\n const functions = result.result\r\n .filter((func) => func.status === 1)\r\n .map(\r\n ({ funcationName, iconClass, setFunctionID }) =>\r\n ({\r\n funcationName,\r\n iconClass,\r\n setFunctionID,\r\n } as Models.Set.Function)\r\n );\r\n setFunctionOptions(functions);\r\n\r\n if (values.setID) {\r\n values.setID = functions.filter((func) =>\r\n values.setID.includes(func.setFunctionID)\r\n ) as unknown as Array;\r\n forceUpdate();\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n (async function () {\r\n try {\r\n const result = await articleService.getAllData();\r\n const articles = result.result.filter((article) =>\r\n editingArticle\r\n ? article.status === 1 && article.setID !== editingArticle?.setID\r\n : article.status === 1\r\n );\r\n\r\n setDependentSetOptions(articles);\r\n\r\n if (values.dependentSets) {\r\n values.dependentSets = articles.filter((article) =>\r\n values.dependentSets?.includes(article.setID)\r\n ) as unknown as Array;\r\n forceUpdate();\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [editingArticle]);\r\n\r\n \r\n\r\n React.useEffect(() => {\r\n if (\r\n Configs.Workaround.isCloudArticle({ code: values.code }) ||\r\n Configs.Workaround.isCloudArticle({ code: values.hundCode })\r\n ) {\r\n setFieldValue(\"licensesPerArticle\", 1);\r\n }\r\n }, [setFieldValue, values]);\r\n const articleStore = React.useContext(App.Contexts.articleStore);\r\n const handleArticleName = (event: any) => {\r\n setArticleName(event.target.value);\r\n const articleNameFilter = articleStore.articles\r\n .map((k) => k.setName)\r\n .includes(event.target.value)\r\n .toString();\r\n setArticleNameExists(articleNameFilter);\r\n localStorage.setItem(\"articleName\", event.target.value);\r\n };\r\n const handleArticleCode = (event: any) => {\r\n setArticleCode(event.target.value);\r\n const articleCodeFilter = articleStore.articles\r\n .map((k) => k.setCode)\r\n .includes(event.target.value)\r\n .toString();\r\n setArticleCodeExists(articleCodeFilter);\r\n localStorage.setItem(\"articleCode\", event.target.value);\r\n };\r\n const handleArticleModel = (event: any) => {\r\n setArticleModel(event.target.value);\r\n const articleModelFilter = articleStore.articles\r\n .map((k) => k.hundCode)\r\n .includes(event.target.value)\r\n .toString();\r\n setArticleModelExists(articleModelFilter);\r\n localStorage.setItem(\"articleModel\", event.target.value);\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n Article name\r\n \r\n }\r\n fullWidth\r\n autoFocus\r\n\r\n \r\n />\r\n \r\n\r\n \r\n \r\n Article code (Type code)\r\n \r\n }\r\n fullWidth\r\n \r\n />\r\n \r\n\r\n \r\n \r\n Model number\r\n \r\n }\r\n fullWidth\r\n \r\n />\r\n \r\n\r\n \r\n \r\n Article description\r\n \r\n }\r\n multiline\r\n rows={3}\r\n rowsMax={5}\r\n fullWidth\r\n />\r\n \r\n\r\n\r\n \r\n \r\n \r\n Validity period in days\r\n \r\n }\r\n fullWidth\r\n />\r\n \r\n\r\n \r\n \r\n Price (net) per month in €\r\n \r\n ) : (\r\n \r\n Price (net) per item in €\r\n \r\n )\r\n }\r\n fullWidth\r\n />\r\n \r\n \r\n \r\n \r\n \r\n }\r\n label={t(\"Is unlimited installation ?\")}\r\n />\r\n \r\n \r\n \r\n \r\n {!values.isLimited && \r\n \r\n Users per article\r\n \r\n ) : (\r\n \r\n Licenses per article\r\n \r\n )\r\n }\r\n fullWidth\r\n />\r\n }\r\n\r\n \r\n option.iconName}\r\n renderTags={(tagValue: Form.Options.Icon[], getTagProps: any) =>\r\n tagValue.map((option, index) => (\r\n \r\n ))\r\n }\r\n renderOption={(option: Form.Options.Icon) => (\r\n \r\n \r\n \r\n \r\n \r\n {option.iconName}\r\n \r\n \r\n )}\r\n renderInput={(\r\n params: FormikMuiLab.AutocompleteRenderInputParams\r\n ) => (\r\n \r\n Icon name\r\n \r\n }\r\n />\r\n )}\r\n />\r\n \r\n\r\n \r\n \r\n Link for more information\r\n \r\n }\r\n fullWidth\r\n />\r\n \r\n\r\n \r\n \r\n option.funcationName\r\n }\r\n renderTags={(tagValue: Models.Set.Function[], getTagProps: any) =>\r\n tagValue.map((option, index) => (\r\n \r\n ))\r\n }\r\n renderOption={(option: Models.Set.Function) => (\r\n \r\n \r\n \r\n \r\n \r\n {option.funcationName}\r\n \r\n \r\n \r\n )}\r\n renderInput={(\r\n params: FormikMuiLab.AutocompleteRenderInputParams\r\n ) => (\r\n \r\n Select functions\r\n \r\n }\r\n />\r\n )}\r\n />\r\n \r\n\r\n \r\n option.setName}\r\n renderTags={(tagValue: Models.Set.Article[], getTagProps: any) =>\r\n tagValue.map((option, index) => (\r\n \r\n ))\r\n }\r\n renderOption={(option: Models.Set.Article) => (\r\n \r\n \r\n \r\n \r\n \r\n {option.setName}\r\n \r\n \r\n )}\r\n renderInput={(\r\n params: FormikMuiLab.AutocompleteRenderInputParams\r\n ) => (\r\n \r\n Select dependent articles\r\n \r\n }\r\n />\r\n )}\r\n />\r\n \r\n \r\n \r\n option.nameEN\r\n }\r\n renderInput={(\r\n params: FormikMuiLab.AutocompleteRenderInputParams\r\n ) => (\r\n \r\n Industry / Segment\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 label={t(\"Enable trial\")}\r\n />\r\n \r\n \r\n {errors.isFree ? (\r\n {errors.isFree}\r\n ) : null}\r\n \r\n \r\n\r\n \r\n \r\n Trial period in days\r\n \r\n }\r\n fullWidth\r\n />\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\ninterface Data extends Models.Set.Article {}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"desc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: ReturnType;\r\n numSelected: number;\r\n onRequestSort: (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => void;\r\n onSelectAllClick: (event: React.ChangeEvent) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowCount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(\r\n props: EnhancedTableProps &\r\n Pick & {\r\n id: string;\r\n label: string;\r\n numeric?: boolean;\r\n disablePadding?: boolean;\r\n }\r\n) {\r\n const { classes, order, orderBy, onRequestSort, ...restOfProps } = props;\r\n const createSortHandler = (property: keyof Data) => (\r\n event: React.MouseEvent\r\n ) => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n {props.label}\r\n {orderBy === props.id ? (\r\n \r\n {order === \"desc\" ? \"sorted descending\" : \"sorted ascending\"}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n width: \"100%\",\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: \"rect(0 0 0 0)\",\r\n height: 1,\r\n margin: -1,\r\n overflow: \"hidden\",\r\n padding: 0,\r\n position: \"absolute\",\r\n top: 20,\r\n width: 1,\r\n },\r\n })\r\n);\r\n\r\nfunction EnhancedTable({\r\n rows,\r\n handleEditClick,\r\n handleTranslateClick,\r\n handleDeleteClick,\r\n handleActivateClick,\r\n handleView,\r\n}: {\r\n rows: Models.Set.Article[];\r\n handleEditClick(props: { article: Models.Set.Article }): void;\r\n handleTranslateClick(props: { article: Models.Set.Article }): void;\r\n handleDeleteClick(props: { id: string | number }): void;\r\n handleActivateClick(props: { id: string | number }): void;\r\n handleView(props: { article: Models.Set.Article }): void;\r\n}) {\r\n const classes = useStyles();\r\n const [order, setOrder] = React.useState(\"asc\");\r\n const [orderBy, setOrderBy] = React.useState(\"setName\");\r\n const [selected, setSelected] = React.useState([]);\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(7);\r\n // const [rowsPerPage, setRowsPerPage] = React.useState(5);\r\n const { t } = ReactI18next.useTranslation();\r\n\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [rows]);\r\n\r\n const handleRequestSort = (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => {\r\n setPage(0);\r\n const isAsc = orderBy === property && order === \"asc\";\r\n setOrder(isAsc ? \"desc\" : \"asc\");\r\n setOrderBy(property);\r\n };\r\n\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelecteds = rows.map((n) => n.setID);\r\n setSelected((newSelecteds as unknown) as string[]);\r\n return;\r\n }\r\n setSelected([]);\r\n };\r\n\r\n const handleClick = (event: React.MouseEvent, name: string) => {\r\n const selectedIndex = selected.indexOf(name);\r\n let newSelected: string[] = [];\r\n\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(selected, name);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(selected.slice(1));\r\n } else if (selectedIndex === selected.length - 1) {\r\n newSelected = newSelected.concat(selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n selected.slice(0, selectedIndex),\r\n selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n\r\n setSelected(newSelected);\r\n };\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n\r\n const isSelected = (name: string) => selected.indexOf(name) !== -1;\r\n\r\n const emptyRows =\r\n rowsPerPage - Math.min(rowsPerPage, rows.length - page * rowsPerPage);\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n
\r\n \r\n \r\n {rows.length > 0 && (\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 Actions\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n {stableSort(rows as any, getComparator(order, orderBy))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((row, index) => {\r\n const isItemSelected = isSelected(row.setID as string);\r\n const labelId = `enhanced-table-checkbox-${index}`;\r\n\r\n return (\r\n handleClick(event, row.setID as string)}\r\n aria-checked={isItemSelected}\r\n tabIndex={-1}\r\n key={row.setID}\r\n // selected={isItemSelected}\r\n >\r\n \r\n {row.setName}\r\n \r\n \r\n {row.setCode}\r\n \r\n \r\n {row.hundCode}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {false && (\r\n \r\n handleEditClick({\r\n article: (row as unknown) as Models.Set.Article,\r\n })\r\n }\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\r\n }}\r\n >\r\n \r\n \r\n {/* */}\r\n \r\n \r\n )}\r\n\r\n {false && (\r\n handleDeleteClick({ id: row.setID })}\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\r\n }}\r\n >\r\n \r\n \r\n {/* */}\r\n \r\n \r\n )}\r\n\r\n {false && (\r\n \r\n handleActivateClick({ id: row.setID })\r\n }\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\r\n }}\r\n >\r\n \r\n \r\n {/* */}\r\n \r\n \r\n )}\r\n\r\n {false && (\r\n \r\n handleTranslateClick({\r\n article: (row as unknown) as Models.Set.Article,\r\n })\r\n }\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\r\n }}\r\n >\r\n \r\n {/* */}\r\n \r\n \r\n \r\n )}\r\n\r\n \r\n handleView({\r\n article: (row as unknown) as Models.Set.Article,\r\n })\r\n }\r\n style={{\r\n padding: theme.spacing(0.125),\r\n }}\r\n size=\"small\"\r\n >\r\n \r\n {/* */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n })}\r\n {rows.length === 0 && (\r\n \r\n \r\n \r\n No articles found\r\n \r\n \r\n \r\n )}\r\n {emptyRows > 0 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n {rows.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n
\r\n );\r\n}\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const [validationFailedDialog, setValidationFailedDialog] = React.useState<{\r\n open: boolean;\r\n action: \"ACTIVATE\" | \"DELETE\";\r\n dependentArticles: Models.Set.Article[];\r\n selectedArticles: Models.Set.Article[];\r\n }>({\r\n open: false,\r\n action: \"ACTIVATE\",\r\n dependentArticles: [],\r\n selectedArticles: [],\r\n });\r\n const [currentArticle, setCurrentArticle] = React.useState<\r\n Models.Set.Article\r\n >();\r\n const [detailsDrawerOpen, setDetailsDrawerOpen] = React.useState(\r\n false\r\n );\r\n const [editDialogOpen, setEditDialogOpen] = React.useState<\r\n Models.Set.Article\r\n >();\r\n const [translateDialogOpen, setTranslateDialogOpen] = React.useState<\r\n Models.Set.Article\r\n >();\r\n const [deleteDialogOpen, setDeleteDialogOpen] = React.useState<\r\n number | string\r\n >();\r\n const [activateDialogOpen, setActivateDialogOpen] = React.useState<\r\n number | string\r\n >();\r\n const [isLoading, setIsLoading] = React.useState(false);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const articleStore = React.useContext(App.Contexts.articleStore);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n\r\n const articleService = new Services.Article({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n React.useEffect(() => {\r\n articleStore.read();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n functionStore.read();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n function getArticlesDependentOnThis({\r\n setID,\r\n }: {\r\n setID: number;\r\n }): Models.Set.Article[] {\r\n return articleStore.articles\r\n .filter((article) => article.status === 1)\r\n .filter((article) => article.dependentSets.includes(setID));\r\n }\r\n\r\n function getDependentArticlesOfThis({\r\n setID,\r\n }: {\r\n setID: number;\r\n }): Models.Set.Article[] {\r\n const selectedArticle = articleStore.articles.find(\r\n (article) => article.setID === setID\r\n );\r\n\r\n if (!selectedArticle) {\r\n return [];\r\n }\r\n\r\n return articleStore.articles\r\n .filter((article) => article.status === 2)\r\n .filter((article) =>\r\n selectedArticle.dependentSets.includes(article.setID)\r\n );\r\n }\r\n\r\n async function handleDeleteArticle() {\r\n setIsLoading(true);\r\n const uid = userStore.user?.uid;\r\n if (deleteDialogOpen === undefined || uid === undefined) {\r\n return;\r\n }\r\n\r\n try {\r\n await articleService.delete({\r\n articleId: deleteDialogOpen,\r\n uid,\r\n });\r\n enqueueSnackbar(t(\"Article successfully deleted!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setIsLoading(false);\r\n setDeleteDialogOpen(undefined);\r\n articleStore.read();\r\n }\r\n }\r\n async function handleActivateArticle() {\r\n setIsLoading(true);\r\n const uid = userStore.user?.uid;\r\n if (activateDialogOpen === undefined || uid === undefined) {\r\n // console.log({ activateDialogOpen, uid });\r\n return;\r\n }\r\n try {\r\n await articleService.activate({\r\n setId: activateDialogOpen,\r\n uid,\r\n });\r\n enqueueSnackbar(t(\"Article successfully activated!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setIsLoading(false);\r\n setActivateDialogOpen(undefined);\r\n articleStore.read();\r\n }\r\n }\r\n\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n articleStore.setSearch({ search: event.target.value as string });\r\n };\r\n\r\n const handleChange = (event: React.ChangeEvent<{ value: unknown }>) => {\r\n const status = event.target.value as string | number;\r\n if (typeof status === \"string\" && status !== \"\") {\r\n return;\r\n }\r\n\r\n if (status === \"\") {\r\n articleStore.setStatus({ status: undefined });\r\n return;\r\n }\r\n\r\n articleStore.setStatus({ status });\r\n };\r\n\r\n const toggleDetailsDrawer = () => {\r\n setDetailsDrawerOpen(!detailsDrawerOpen);\r\n };\r\n\r\n return (\r\n <>\r\n {\r\n toggleDetailsDrawer();\r\n setEditDialogOpen(article);\r\n }}\r\n handleTranslateClick={({ article }) => {\r\n toggleDetailsDrawer();\r\n setTranslateDialogOpen(article);\r\n }}\r\n handleDeleteClick={({ id }) => {\r\n toggleDetailsDrawer();\r\n\r\n const articlesDepentOnThis = getArticlesDependentOnThis({\r\n setID: id as number,\r\n });\r\n\r\n const selectedArticle = articleStore.articles.find(\r\n (article) => article.setID === id\r\n );\r\n\r\n if (articlesDepentOnThis.length > 0) {\r\n setValidationFailedDialog({\r\n open: true,\r\n action: \"DELETE\",\r\n dependentArticles: articlesDepentOnThis,\r\n selectedArticles: selectedArticle ? [selectedArticle] : [],\r\n });\r\n return;\r\n }\r\n\r\n setDeleteDialogOpen(id);\r\n }}\r\n handleActivateClick={function ({ id }) {\r\n toggleDetailsDrawer();\r\n\r\n const dependentArticlesOfThis = getDependentArticlesOfThis({\r\n setID: id as number,\r\n });\r\n\r\n const selectedArticle = articleStore.articles.find(\r\n (article) => article.setID === id\r\n );\r\n\r\n if (dependentArticlesOfThis.length > 0) {\r\n setValidationFailedDialog({\r\n open: true,\r\n action: \"ACTIVATE\",\r\n dependentArticles: dependentArticlesOfThis,\r\n selectedArticles: selectedArticle ? [selectedArticle] : [],\r\n });\r\n return;\r\n }\r\n\r\n setActivateDialogOpen(id);\r\n }}\r\n />\r\n {\r\n articleStore.setCreateDialogOpen({ createDialogOpen: false });\r\n // articleStore.read();\r\n }}\r\n />\r\n {\r\n setTranslateDialogOpen(undefined);\r\n // articleStore.read();\r\n }}\r\n />\r\n {\r\n setEditDialogOpen(undefined);\r\n // articleStore.read();\r\n }}\r\n />\r\n \r\n {validationFailedDialog.action === \"DELETE\" && \"Deletion\"}\r\n {validationFailedDialog.action === \"ACTIVATE\" && \"Activation\"}\r\n  interrupted!\r\n \r\n }\r\n handleClose={() => {\r\n setValidationFailedDialog({\r\n action: \"ACTIVATE\",\r\n dependentArticles: [],\r\n open: false,\r\n selectedArticles: [],\r\n });\r\n setDetailsDrawerOpen(true);\r\n }}\r\n contentText={\r\n <>\r\n {(function () {\r\n if (validationFailedDialog.dependentArticles.length === 0) {\r\n return null;\r\n }\r\n\r\n return (\r\n \r\n Can't proceed!\r\n {validationFailedDialog.action === \"DELETE\" && (\r\n <>\r\n Based on the selected license for deletion, we found that\r\n there are other article(s) which depend on it. For a\r\n successful re-attempt, please try deleting all those\r\n article(s) first.\r\n \r\n )}\r\n {validationFailedDialog.action === \"ACTIVATE\" && (\r\n <>\r\n Based on the selected license for activation, we found\r\n that it is dependent on other article(s). For a successful\r\n re-attempt, please try activating all those article(s)\r\n first.\r\n \r\n )}\r\n \r\n );\r\n })()}\r\n\r\n \r\n Selected license for{\" \"}\r\n {validationFailedDialog.action === \"DELETE\" && \"deletion\"}\r\n {validationFailedDialog.action === \"ACTIVATE\" && \"activation\"}\r\n \r\n \r\n {validationFailedDialog.selectedArticles.map((set) => (\r\n \r\n \r\n set.functions.includes(func.setFunctionID)\r\n )}\r\n article={set}\r\n variant={\"DETAILED\"}\r\n />\r\n \r\n ))}\r\n \r\n {(function () {\r\n if (validationFailedDialog.dependentArticles.length === 0) {\r\n return null;\r\n }\r\n\r\n return (\r\n <>\r\n \r\n {validationFailedDialog.action === \"ACTIVATE\" && (\r\n <>\r\n Deleted dependent license(s) of your selected license\r\n for activation\r\n \r\n )}\r\n {validationFailedDialog.action === \"DELETE\" && (\r\n <>\r\n Active license(s) dependent on your selected license for\r\n deletion\r\n \r\n )}\r\n \r\n \r\n {validationFailedDialog.dependentArticles.map((set) => (\r\n \r\n \r\n set.functions.includes(func.setFunctionID)\r\n )}\r\n article={set}\r\n variant={\"DETAILED\"}\r\n />\r\n \r\n ))}\r\n \r\n \r\n );\r\n })()}\r\n \r\n }\r\n actions={\r\n <>\r\n {\r\n setValidationFailedDialog({\r\n action: \"ACTIVATE\",\r\n dependentArticles: [],\r\n open: false,\r\n selectedArticles: [],\r\n });\r\n setDetailsDrawerOpen(true);\r\n }}\r\n >\r\n OK\r\n \r\n \r\n }\r\n />\r\n setDeleteDialogOpen(undefined)}\r\n title={t(\"Delete article\")}\r\n contentText={t(\"Are you sure you want to delete this article?\")}\r\n actions={\r\n <>\r\n setDeleteDialogOpen(undefined)}\r\n >\r\n Cancel\r\n \r\n handleDeleteArticle()}\r\n disabled={isLoading}\r\n {...(!isLoading && {\r\n style: {\r\n backgroundColor: theme.palette.primary.main,\r\n color: theme.palette.common.white,\r\n },\r\n })}\r\n >\r\n Delete\r\n {isLoading && (\r\n \r\n )}\r\n \r\n \r\n }\r\n />\r\n setActivateDialogOpen(undefined)}\r\n title={t(\"Activate article\")}\r\n contentText={t(\"Are you sure you want to activate this article?\")}\r\n actions={\r\n <>\r\n setActivateDialogOpen(undefined)}\r\n >\r\n Cancel\r\n \r\n handleActivateArticle()}\r\n disabled={isLoading}\r\n {...(!isLoading && {\r\n style: {\r\n backgroundColor: theme.palette.success.main,\r\n color: theme.palette.common.white,\r\n },\r\n })}\r\n >\r\n \r\n Activate\r\n \r\n {isLoading && (\r\n \r\n )}\r\n \r\n \r\n }\r\n />\r\n { articleStore.articles.length > 0 &&(\r\n \r\n \r\n \r\n Filter by status\r\n \r\n \r\n \r\n Filter by status\r\n \r\n }\r\n >\r\n \r\n \r\n None\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 { articleStore.articles.length > 0 &&()}\r\n \r\n )}\r\n {articleStore.isInitialLoading ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n {articleStore.view === \"CARD\" && (\r\n {\r\n setCurrentArticle(article);\r\n toggleDetailsDrawer();\r\n }}\r\n articles={articleStore.filtered}\r\n />\r\n )}\r\n {articleStore.view === \"TABULAR\" && (\r\n {\r\n setEditDialogOpen(article);\r\n }}\r\n handleTranslateClick={({ article }) => {\r\n setTranslateDialogOpen(article);\r\n }}\r\n handleDeleteClick={({ id }) => {\r\n setDeleteDialogOpen(id);\r\n }}\r\n handleActivateClick={({ id }) => {\r\n setActivateDialogOpen(id);\r\n }}\r\n handleView={({ article }) => {\r\n setCurrentArticle(article);\r\n toggleDetailsDrawer();\r\n }}\r\n rows={articleStore.filtered}\r\n />\r\n )}\r\n \r\n )}\r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Yup from \"yup\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\n\r\nexport declare namespace Shared {\r\n export interface Props {\r\n t(key: string): string;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Shared({ t }: Shared.Props) {\r\n const articleStore = React.useContext(App.Contexts.articleStore);\r\n const articleIdFromEdit: any = localStorage.getItem(\"articleIdFromEdit\");\r\n return {\r\n Form: {\r\n validationSchema: Yup.object({\r\n name: Yup.string()\r\n .required(t(\"Article name is required\"))\r\n .test(\"Already exists\", t(\"Article name already exists\"), (value) => {\r\n if (articleIdFromEdit?.length > 0) {\r\n if (\r\n articleStore.articles\r\n .filter((k) => k.setID !== parseInt(articleIdFromEdit))\r\n .map((k: any) => k.setName)\r\n .includes(value)\r\n ) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n } else if (\r\n articleStore.articles.map((k: any) => k.setName).includes(value)\r\n ) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }),\r\n code: Yup.string()\r\n .required(t(\"Article code is required\"))\r\n .test(\"Already exists\", t(\"Article code already exists\"), (value) => {\r\n if (articleIdFromEdit?.length > 0) {\r\n if (\r\n articleStore.articles\r\n .filter((k) => k.setID !== parseInt(articleIdFromEdit))\r\n .map((k: any) => k.setCode)\r\n .includes(value)\r\n ) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n } else if (\r\n articleStore.articles.map((k: any) => k.setCode).includes(value)\r\n ) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }),\r\n industrySegmentsId: Yup.string()\r\n .nullable()\r\n .required(t(\"Industry / Segment is required\")),\r\n hundCode: Yup.string()\r\n .required(t(\"Model number is required\"))\r\n .test(\"Already exists\", t(\"Model number already exists\"), (value) => {\r\n if (articleIdFromEdit?.length > 0) {\r\n if (\r\n articleStore.articles\r\n .filter((k) => k.setID !== parseInt(articleIdFromEdit))\r\n .map((k: any) => k.hundCode)\r\n .includes(value)\r\n ) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n } else if (\r\n articleStore.articles.map((k: any) => k.hundCode).includes(value)\r\n ) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }),\r\n description: Yup.string().required(\r\n t(\"Article description is required\")\r\n ),\r\n isLimited: Yup.bool().notRequired(),\r\n isFree: Yup.bool().notRequired(),\r\n validityPeriodInDays: Yup.number().required(t(\"Validity is required\")),\r\n netPricePerItem: Yup.number().required(t(\"Price is required\")),\r\n licensesPerArticle: Yup.number().required(t(\"Licenses are required\")),\r\n iconClass: Yup.string().nullable().required(t(\"Icon name is required\")),\r\n linkForMoreInfo: Yup.string()\r\n .nullable()\r\n .required(t(\"More info link is required\")),\r\n setID: Yup.array()\r\n .nullable()\r\n .required(t(\"Functions are required\")),\r\n dependentSets: Yup.array(),\r\n }),\r\n },\r\n Translate: {\r\n Form: {\r\n validationSchema: Yup.object({\r\n name_de: Yup.string().required(t(\"Article name in DE is required\")),\r\n name_es: Yup.string().required(t(\"Article name in ES is required\")),\r\n name_fr: Yup.string().required(t(\"Article name in FR is required\")),\r\n name_it: Yup.string().required(t(\"Article name in IT is required\")),\r\n description_de: Yup.string().required(\r\n t(\"Description in DE is required\")\r\n ),\r\n description_es: Yup.string().required(\r\n t(\"Description in ES is required\")\r\n ),\r\n description_fr: Yup.string().required(\r\n t(\"Description in FR is required\")\r\n ),\r\n description_it: Yup.string().required(\r\n t(\"Description in IT is required\")\r\n ),\r\n }),\r\n },\r\n },\r\n };\r\n}\r\n","import * as Mobx from \"mobx\";\r\nimport * as i18n from \"src/app/i18n\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export type View = \"TABULAR\" | \"CARD\";\r\n\r\n export interface IStore {\r\n isLoading: boolean;\r\n search: string;\r\n status?: number;\r\n view: Store.View;\r\n createDialogOpen: boolean;\r\n articles: Models.Set.Article[];\r\n }\r\n\r\n export type Options = Pick & {\r\n articleService: Services.Article;\r\n };\r\n\r\n export namespace SetView {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetCreateDialogOpen {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetSearch {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetStatus {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetLocale {\r\n export interface Props {\r\n locale: string;\r\n }\r\n }\r\n\r\n export namespace Read {\r\n export interface Props extends Services.Article.GetAllData.Props {}\r\n }\r\n\r\n export namespace GetAllSetData {\r\n export interface Props {\r\n userID?: string | any;\r\n customerDealerId?: string | any;\r\n }\r\n }\r\n\r\n export namespace GetAllPurchanseSetData {\r\n export interface Props {\r\n orderID?: string | any;\r\n }\r\n export type Return = Models.API.Response;\r\n }\r\n\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable private _locale: string = \"en\";\r\n\r\n @Mobx.observable public isLoading: boolean = false;\r\n @Mobx.observable public search: string = \"\";\r\n @Mobx.observable public status?: number = 1;\r\n @Mobx.observable public view: Store.View = \"TABULAR\";\r\n @Mobx.observable public createDialogOpen: boolean = false;\r\n @Mobx.observable public articles: Models.Set.Article[] = [];\r\n\r\n private _translations: Map = new Map();\r\n private _articleService: Services.Article;\r\n\r\n constructor({ view, articleService }: Store.Options) {\r\n this.view = view;\r\n this._articleService = articleService;\r\n i18n.instance.on(\"languageChanged\", (language) =>\r\n this.setLocale({ locale: language })\r\n );\r\n }\r\n\r\n @Mobx.action public reset() {\r\n this.search = \"\";\r\n this.status = 1;\r\n }\r\n\r\n @Mobx.action setLocale({ locale }: Store.SetLocale.Props) {\r\n this._locale = locale.toLowerCase();\r\n\r\n this.articles = this.articles.map((article) => {\r\n const translatedArticle = this._translations.get(\r\n `${article.setID}${this._locale.toLowerCase()}`\r\n );\r\n\r\n return {\r\n ...article,\r\n setName: translatedArticle?.setName ?? article.setName,\r\n setDescriptions:\r\n translatedArticle?.setDescriptions ?? article.setDescriptions,\r\n };\r\n });\r\n }\r\n\r\n @Mobx.action setView({ view }: Store.SetView.Props) {\r\n this.view = view;\r\n }\r\n\r\n @Mobx.action public setSearch({ search }: Store.SetSearch.Props) {\r\n this.search = search;\r\n }\r\n\r\n @Mobx.action public setStatus({ status }: Store.SetStatus.Props) {\r\n this.status = status;\r\n }\r\n\r\n @Mobx.action setCreateDialogOpen({\r\n createDialogOpen,\r\n }: Store.SetCreateDialogOpen.Props) {\r\n this.createDialogOpen = createDialogOpen;\r\n }\r\n\r\n private _prepareTranslations() {\r\n this._translations = this.articles.reduce(\r\n (acc: Map, article: Models.Set.Article) => {\r\n const { setID } = article;\r\n acc.set(`${setID}en`, { ...article });\r\n article.setsLang.map((lang) =>\r\n acc.set(`${setID}${lang.langCode.toLowerCase()}`, {\r\n ...article,\r\n setName: lang.setName,\r\n setDescriptions: lang.setDescriptions,\r\n })\r\n );\r\n return acc;\r\n },\r\n new Map()\r\n );\r\n }\r\n\r\n @Mobx.action public async read(props?: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this._articleService.getAllData(props);\r\n\r\n this.articles = result;\r\n this._prepareTranslations();\r\n this.setLocale({ locale: i18n.instance.language });\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async readForCustomerInvite(\r\n props?: Store.GetAllSetData.Props\r\n ) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this._articleService.getAllSetForInviteData(\r\n props\r\n );\r\n\r\n this.articles = result;\r\n this._prepareTranslations();\r\n this.setLocale({ locale: i18n.instance.language });\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async readCustomerInvitePurchange(\r\n props?: Store.GetAllPurchanseSetData.Props\r\n ) {\r\n try {\r\n this.isLoading = true;\r\n const { result } =\r\n await this._articleService.getAllPurchangeSetForInviteData(props);\r\n return result;\r\n \r\n }\r\n\r\n catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.articles.length !== 0) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n @Mobx.computed public get filtered() {\r\n return this.articles\r\n .filter((article) => {\r\n if (!this.status) {\r\n return true;\r\n }\r\n return article.status === this.status;\r\n })\r\n .filter((article) => {\r\n if (!this.search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName\r\n .toLowerCase()\r\n .includes(this.search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode\r\n .toLowerCase()\r\n .includes(this.search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode.toLowerCase().includes(this.search.toLowerCase()))\r\n );\r\n });\r\n }\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n title: {\r\n flexGrow: 1,\r\n },\r\n })\r\n);\r\n\r\nexport declare namespace Translate {\r\n export type Props = Pick<\r\n Components.ResponsiveFullscreenDialogWithScroll.Props,\r\n \"open\" | \"handleClose\"\r\n > & {\r\n article?: Models.Set.Article;\r\n };\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Translate = Mobx.observer(function ({\r\n article,\r\n open,\r\n handleClose,\r\n}: Translate.Props) {\r\n const classes = useStyles();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const [initialValues, setInitialValues] = React.useState<\r\n Article.TranslateForm.Values\r\n >();\r\n const [industrySegments, setIndustrySegments] = React.useState<\r\n Models.IndustrySegment.Main[]\r\n >([]);\r\n const { t } = ReactI18next.useTranslation();\r\n const articleStore = React.useContext(App.Contexts.articleStore);\r\n const articleService = new Services.Article({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n const theme = Mui.useTheme();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const industrySegmentService = new Services.IndustrySegment({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n async function handleTranslate(\r\n values: Article.TranslateForm.Values,\r\n { setSubmitting }: Formik.FormikHelpers\r\n ) {\r\n try {\r\n const uid = userStore.user?.uid;\r\n if (uid === undefined) {\r\n throw new Error(t(\"uid is undefined\"));\r\n }\r\n\r\n if (!article) {\r\n throw new Error(t(\"Article is undefined\"));\r\n }\r\n\r\n const setsLang: Partial[] = [\r\n {\r\n setID: article.setID,\r\n setName: values.name_de,\r\n langCode: \"de\",\r\n setDescriptions: values.description_de,\r\n industrySegment: industrySegments.find(\r\n (industrySegment) =>\r\n industrySegment.industrySegmentsId === article.industrySegmentsId\r\n )?.nameDE,\r\n },\r\n {\r\n setID: article.setID,\r\n setName: values.name_fr,\r\n langCode: \"fr\",\r\n setDescriptions: values.description_fr,\r\n industrySegment: industrySegments.find(\r\n (industrySegment) =>\r\n industrySegment.industrySegmentsId === article.industrySegmentsId\r\n )?.nameFR,\r\n },\r\n {\r\n setID: article.setID,\r\n setName: values.name_it,\r\n langCode: \"it\",\r\n setDescriptions: values.description_it,\r\n industrySegment: industrySegments.find(\r\n (industrySegment) =>\r\n industrySegment.industrySegmentsId === article.industrySegmentsId\r\n )?.nameIT,\r\n },\r\n {\r\n setID: article.setID,\r\n setName: values.name_es,\r\n langCode: \"es\",\r\n setDescriptions: values.description_es,\r\n industrySegment: industrySegments.find(\r\n (industrySegment) =>\r\n industrySegment.industrySegmentsId === article.industrySegmentsId\r\n )?.nameES,\r\n },\r\n ];\r\n await articleService.createLangs({ body: setsLang, uid });\r\n enqueueSnackbar(t(\"Article successfully translated!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n articleStore.read();\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setSubmitting(false);\r\n handleClose();\r\n }\r\n }\r\n\r\n React.useEffect(() => {\r\n if (!open) {\r\n return;\r\n }\r\n (async function () {\r\n try {\r\n const {\r\n result: industrySegments,\r\n } = await industrySegmentService.getAllData();\r\n setIndustrySegments(industrySegments);\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [open]);\r\n\r\n React.useEffect(() => {\r\n if (!article) {\r\n setInitialValues(undefined);\r\n return;\r\n }\r\n\r\n const initialValues: Article.TranslateForm.Values = {\r\n name_de: article?.setsLang?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"de\") {\r\n return name + lang.setName;\r\n }\r\n return name;\r\n }, \"\"),\r\n name_es: article?.setsLang?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"es\") {\r\n return name + lang.setName;\r\n }\r\n return name;\r\n }, \"\"),\r\n name_fr: article?.setsLang?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"fr\") {\r\n return name + lang.setName;\r\n }\r\n return name;\r\n }, \"\"),\r\n name_it: article?.setsLang?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"it\") {\r\n return name + lang.setName;\r\n }\r\n return name;\r\n }, \"\"),\r\n description_de: article?.setsLang?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"de\") {\r\n return name + lang.setDescriptions;\r\n }\r\n return name;\r\n }, \"\"),\r\n description_es: article?.setsLang?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"es\") {\r\n return name + lang.setDescriptions;\r\n }\r\n return name;\r\n }, \"\"),\r\n description_fr: article?.setsLang?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"fr\") {\r\n return name + lang.setDescriptions;\r\n }\r\n return name;\r\n }, \"\"),\r\n description_it: article?.setsLang?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"it\") {\r\n return name + lang.setDescriptions;\r\n }\r\n return name;\r\n }, \"\"),\r\n };\r\n setInitialValues(initialValues);\r\n }, [article]);\r\n\r\n return (\r\n <>\r\n \r\n {({ isSubmitting, submitForm }) => {\r\n \r\n return (\r\n \r\n \r\n {article && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n \r\n }\r\n title={\r\n \r\n {t(\"Translate article name & description\")}\r\n \r\n }\r\n actions={\r\n <>\r\n \r\n CLOSE\r\n \r\n submitForm()}\r\n >\r\n \r\n Save / Update\r\n \r\n {isSubmitting && (\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 Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n\r\nexport declare namespace TranslateForm {\r\n export interface Values {\r\n name_de: string;\r\n name_fr: string;\r\n name_it: string;\r\n name_es: string;\r\n description_de: string;\r\n description_fr: string;\r\n description_it: string;\r\n description_es: string;\r\n }\r\n\r\n export interface Props {\r\n name: string;\r\n description: string;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function TranslateForm({ name, description }: TranslateForm.Props) {\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n Article name\r\n \r\n \r\n {name}\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 Article description\r\n \r\n \r\n {description}\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","import * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n\r\nexport function Main() {\r\n return (\r\n <>\r\n \r\n This is a customers main page\r\n \r\n \r\n );\r\n}\r\n","import * as Mobx from \"mobx\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export type View = \"TABULAR\" | \"CARD\";\r\n\r\n export interface IStore {\r\n isLoading: boolean;\r\n customers: Models.Customer.Main[];\r\n customerService: Services.Customer;\r\n }\r\n\r\n export type Options = Pick;\r\n\r\n export namespace Read {\r\n export interface Props extends Services.Customer.GetAllData.Props {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public customers: Models.Customer.Main[] = [];\r\n @Mobx.observable public isLoading: boolean = false;\r\n\r\n public customerService: Services.Customer;\r\n\r\n constructor({ customerService }: Store.Options) {\r\n this.customerService = customerService;\r\n }\r\n\r\n @Mobx.action public async read(props: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.customerService.getAllData(props);\r\n this.customers = result;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.customers.length !== 0) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as DealerCustomer from \"src/app/pages/dealercustomer\";\r\nimport * as Order from \"src/app/pages/order\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport * as Components from \"src/app/components\";\r\n\r\ninterface Data extends Models.DealerCustomer.Main {}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\nexport declare namespace Cards {\r\n export interface Props {\r\n customers: Models.DealerCustomer.Main[];\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Cards({ customers }: Cards.Props) {\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n\r\n const [orderId, setOrderId] = React.useState();\r\n const [orderDetailsDialogOpen, setOrderDetailsDialogOpen] = React.useState<\r\n boolean\r\n >(false);\r\n \r\n const [customerData, setCustomerData] = React.useState();\r\n const [page, setPage] = React.useState(0);\r\n const [select, setSelect] = React.useState(false);\r\n const [\r\n adminAndCustomerRoleCheck,\r\n setAdminAndCustomerRoleCheck,\r\n ] = React.useState(false);\r\n const [rowsPerPage] = React.useState(8);\r\n\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [customers]);\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n const [detailsDrawerOpen, setDetailsDrawerOpen] = React.useState(\r\n false\r\n );\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const [currentLicense, setCurrentLicense] = React.useState(false);\r\n const [customerMailID, setCustomerMailID] = React.useState(\"\");\r\n const toggleDetailsDrawer = () => {\r\n setDetailsDrawerOpen(!detailsDrawerOpen);\r\n };\r\n const navigate = Router.useNavigate();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n const [selectedValue, setSelectedValue] = React.useState(\"\");\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n React.useEffect(() => {\r\n const userRole = userStore.user?.RoleName;\r\n if (userRole === \"admin\" || userRole === \"superadmin\" || userRole === \"customer\") {\r\n setAdminAndCustomerRoleCheck(false);\r\n } else {\r\n setAdminAndCustomerRoleCheck(true);\r\n }\r\n }, [userStore.user, adminAndCustomerRoleCheck]);\r\n\r\n const handleSelectDealerUser = ({\r\n dealerProfile,\r\n }: {\r\n dealerProfile: any;\r\n }) => {\r\n\r\n const selectedIndex = dCustomerStore.selected.indexOf(dealerProfile);\r\n let newSelected: Models.CustomerLicense.Main[] = [];\r\n dCustomerStore.setSelected({ selected: newSelected });\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(dCustomerStore.selected, dealerProfile);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(dCustomerStore.selected.slice(1));\r\n } else if (selectedIndex === dCustomerStore.selected.length - 1) {\r\n newSelected = newSelected.concat(dCustomerStore.selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n dCustomerStore.selected.slice(0, selectedIndex),\r\n dCustomerStore.selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n dCustomerStore.setSelected({ selected: newSelected });\r\n let arrayCustomer: any = [];\r\n arrayCustomer = newSelected;\r\n const customerName = arrayCustomer.map((k: any) => k.customerName);\r\n const mailID: any = arrayCustomer.map((k: any) => k.emailID);\r\n const companyName: any = arrayCustomer.map((k: any) => k.companyName);\r\n const customerID: any = arrayCustomer.map((k: any) => k.customerID);\r\n localStorage.setItem(\"mID\", mailID);\r\n localStorage.setItem(\"cuName\", customerName);\r\n localStorage.setItem(\"coName\", companyName);\r\n localStorage.setItem(\"customerID\", customerID);\r\n };\r\n const [customerId, setCustomerId] = React.useState();\r\n const [customerDetailsDialogOpen, setCustomerDetailsDialogOpen] = React.useState<\r\n boolean\r\n >(false);\r\n const uid = userStore.user?.ETUID;\r\n const userRole = userStore?.user?.RoleName\r\n return (\r\n <>\r\n setCustomerDetailsDialogOpen(false)}\r\n title={t(\"Customer details\")}\r\n contentText={}\r\n actions={\r\n <>\r\n window.print()}\r\n >\r\n Print\r\n \r\n setCustomerDetailsDialogOpen(false)}\r\n >\r\n Close\r\n \r\n \r\n }\r\n />\r\n\r\n \r\n {stableSort(customers as any, getComparator(\"asc\", \"customerName\"))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((Customer, index) => (\r\n \r\n {\r\n setCustomerMailID(EmailID)\r\n setOrderId(CustomerID);\r\n setCustomerId(CustomerID);\r\n setCustomerData(customerData)\r\n setSelectedValue(CustomerID);\r\n handleSelectDealerUser({\r\n dealerProfile: (Customer as unknown) as Models.CustomerLicense.Main[],\r\n });\r\n navigate(\r\n `/dealercustomer/customerdetail?q=${etuid}&m=${CustomerID}`\r\n );\r\n }}\r\n customer={(Customer as unknown) as Models.DealerCustomer.Main}\r\n />\r\n \r\n ))}\r\n {customers.length === 0 && (\r\n \r\n \r\n No customers found\r\n \r\n \r\n )}\r\n \r\n \r\n {customers.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n );\r\n}\r\n","import * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Services from \"src/services\";\r\nimport * as Models from \"src/models\";\r\n\r\nexport declare namespace CardDetails {\r\n export interface Props {\r\n uid?: string | number;\r\n userRole?: string | any;\r\n mailID?:string | any;\r\n row?: Models.DealerCustomer.Main;\r\n customers?: Models.DealerCustomer.Main[];\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const CardDetails = Mobx.observer(function ({\r\n uid,\r\n userRole,\r\n mailID,\r\n row,\r\n customers\r\n}: CardDetails.Props) {\r\n // \r\n const [order, setOrder] = React.useState();\r\n const [isLoading, setIsLoading] = React.useState(true);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const orderServices = new Services.Order({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n \r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n React.useEffect(() => {\r\n (async function () {\r\n if (!uid) {\r\n return;\r\n }\r\n\r\n try {\r\n setIsLoading(true)\r\n const roleID:any = userStore.user?.ETUID;\r\n \r\n const result = await dCustomerStore.readOfCustomerProfile({\r\n uid,\r\n mailID,\r\n roleID,\r\n userRole,\r\n });\r\n setOrder(dCustomerStore.delaerCustomerProfile);\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n setIsLoading(false)\r\n }\r\n })(); \r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n return (\r\n <>\r\n \r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Models from \"src/models\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n\r\nexport declare namespace Card {\r\n export interface Props {\r\n customer: Models.DealerCustomer.Main;\r\n selected: number | string;\r\n handleClick?(props: { CustomerID: number | string ,EmailID: any,customerData:any,etuid:any}): void;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Card({\r\n customer,\r\n selected,\r\n handleClick,\r\n}: \r\nCard.Props) {\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const [\r\n adminAndCustomerRoleCheck,\r\n setAdminAndCustomerRoleCheck,\r\n ] = React.useState(false);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const userRole = userStore.user?.RoleName;\r\n React.useEffect(() => {\r\n if (userRole === \"admin\" || userRole === \"superadmin\" || userRole === \"customer\") {\r\n setAdminAndCustomerRoleCheck(false);\r\n } else {\r\n setAdminAndCustomerRoleCheck(true);\r\n }\r\n }, [userRole, adminAndCustomerRoleCheck]);\r\n const CardInternals = (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {customer.companyName}\r\n \r\n }\r\n secondary={\r\n <>\r\n \r\n \r\n
\r\n \r\n }\r\n />\r\n \r\n \r\n }\r\n action={\r\n <>\r\n \r\n \r\n }\r\n />\r\n \r\n \r\n <>\r\n \r\n \r\n \r\n Customer name\r\n :\r\n \r\n \r\n {customer.customerName}\r\n \r\n
\r\n \r\n\r\n {/* */}\r\n <>\r\n \r\n \r\n {\" \"}\r\n {t(\"Email ID\")}:\r\n \r\n {window.open(`mailto:${customer.emailID}`)}}\r\n style={{\r\n color: \"black\",\r\n fontSize: \"14px\",\r\n marginLeft: \"6px\",\r\n }}\r\n >\r\n \r\n click to open an mail\r\n }>{customer.emailID}\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n Purchased license\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 {t(\"Status\")}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n\r\n return (\r\n \r\n {handleClick ? (\r\n handleClick({ CustomerID: customer.customerID,EmailID: customer.emailID ,customerData:customer,etuid:customer.etuid})}\r\n >\r\n {CardInternals}\r\n \r\n ) : (\r\n { CardInternals }\r\n )}\r\n \r\n );\r\n}\r\n","import * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Services from \"src/services\";\r\nimport * as Models from \"src/models\";\r\n\r\nexport declare namespace Details {\r\n export interface Props {\r\n uid?: string | number;\r\n userRole?: string | any;\r\n mailID?:string | any;\r\n row?: Models.DealerCustomer.Main;\r\n customers?: Models.DealerCustomer.Main[];\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Details = Mobx.observer(function ({\r\n uid,\r\n userRole,\r\n mailID,\r\n row,\r\n customers\r\n}: Details.Props) {\r\n const [order, setOrder] = React.useState();\r\n const [isLoading, setIsLoading] = React.useState(true);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const orderServices = new Services.Order({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n \r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n React.useEffect(() => {\r\n (async function () {\r\n if (!uid) {\r\n return;\r\n }\r\n\r\n try {\r\n setIsLoading(true);\r\n const roleID:any = userStore.user?.ETUID;\r\n const result = await dCustomerStore.readOfCustomerProfile({\r\n uid,\r\n mailID,\r\n roleID,\r\n userRole,\r\n });\r\n setOrder(dCustomerStore.delaerCustomerProfile);\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n setIsLoading(false);\r\n }\r\n })(); \r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n return (\r\n <>\r\n \r\n \r\n );\r\n});\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Models from \"src/models\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nexport declare namespace List {\r\n export interface Props {\r\n customer: Models.DealerCustomer.Main;\r\n selected: number | string;\r\n handleClick?(props: { CustomerID: number | string }): void;\r\n }\r\n}\r\n\r\nexport declare namespace ListDetails {\r\n export interface Props {\r\n customerLicense: Models.Set.Function[];\r\n handleClick?(props: { CustomerID: number | string }): void;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\n//Load the Card details\r\nexport function List({ customer, handleClick, selected }: List.Props) {\r\n const theme = Mui.useTheme();\r\n const CardInternals = (\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 {customer.companyName}\r\n \r\n }\r\n secondary={\r\n <>\r\n \r\n \r\n Role:\r\n \r\n\r\n \r\n {customer.loginUserRole}\r\n \r\n \r\n \r\n }\r\n />\r\n \r\n \r\n }\r\n action={\r\n <>\r\n {selected !== undefined && (\r\n {\r\n event.stopPropagation();\r\n event.preventDefault();\r\n }}\r\n />\r\n )}\r\n \r\n }\r\n style={{ padding: 4, margin: 6 }}\r\n />\r\n \r\n \r\n <>\r\n \r\n \r\n\r\n <>\r\n \r\n \r\n {\" \"}\r\n {\"EmailID:\"}\r\n \r\n {window.open(`mailto:${customer.emailID}`)}}\r\n style={{ color: \"black\", fontSize: \"14px\" }}>\r\n \r\n click to open an mail\r\n }>{customer.emailID}\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n Available license\r\n \r\n\r\n \r\n \r\n \r\n {customer?.functionCount > 4 && (\r\n \r\n + {customer.functionCount}\r\n {}more\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n {\"Status\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n\r\n return (\r\n \r\n {handleClick ? (\r\n handleClick({ CustomerID: customer.customerID })}>\r\n {CardInternals}\r\n \r\n ) : (\r\n CardInternals\r\n )}\r\n \r\n );\r\n}\r\n\r\nexport function ListDeatils({ customer, handleClick }: List.Props) {\r\n const customerLic = JSON.stringify(customer);\r\n\r\n const CardInternals = (\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 secondary={\r\n <>\r\n \r\n Role:\r\n\r\n \r\n \r\n \r\n \r\n }\r\n />\r\n \r\n \r\n }\r\n style={{ padding: 4, margin: 6 }}\r\n />\r\n \r\n \r\n <>\r\n \r\n Company name:\r\n \r\n {customerLic.valueOf()}\r\n \r\n \r\n \r\n\r\n <>\r\n \r\n {\"EmailID:\"}\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {customer.functionCount > 4 && (\r\n \r\n + {customer.functionCount}\r\n {}more\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n {\"Status\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n\r\n return (\r\n \r\n {handleClick ? (\r\n handleClick({ CustomerID: 1 })}>\r\n {CardInternals}\r\n \r\n ) : (\r\n CardInternals\r\n )}\r\n \r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as DateFns from \"date-fns\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Containers from \"src/app/containers\";\r\nimport * as DealerCustomer from \"src/app/pages/dealercustomer\";\r\nimport * as Models from \"src/models\";\r\nimport * as MuiIcon from \"@material-ui/icons\";\r\n\r\ninterface Data extends Models.DealerCustomer.Main {}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (a: { [key in Key]: any }, b: { [key in Key]: any }) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: ReturnType;\r\n numselected: number;\r\n onRequestSort: (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => void;\r\n onSelectAllClick: (event: React.ChangeEvent) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowcount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(\r\n props: EnhancedTableProps & {\r\n id: string;\r\n label: string;\r\n numeric?: boolean;\r\n disablePadding?: boolean;\r\n leftmost?: boolean;\r\n rightmost?: boolean;\r\n }\r\n) {\r\n const { classes, order, orderBy, onRequestSort, ...restOfProps } = props;\r\n const createSortHandler =\r\n (property: keyof Data) => (event: React.MouseEvent) => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n {props.label}\r\n {orderBy === props.id ? (\r\n \r\n {order === \"desc\" ? \"sorted descending\" : \"sorted ascending\"}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n width: \"100%\",\r\n },\r\n paper: {\r\n width: \"100%\",\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: \"rect(0 0 0 0)\",\r\n height: 1,\r\n margin: -1,\r\n overflow: \"hidden\",\r\n padding: 0,\r\n position: \"absolute\",\r\n top: 20,\r\n width: 1,\r\n },\r\n })\r\n);\r\n\r\nfunction EnhancedTable({\r\n rows,\r\n handleView,\r\n}: {\r\n rows: Models.DealerCustomer.Main[];\r\n handleView(props: { avilableFunction: Models.Set.Function[] }): void;\r\n}) {\r\n const classes = useStyles();\r\n const [order, setOrder] = React.useState(\"asc\");\r\n const [orderBy, setOrderBy] = React.useState(\"customerName\");\r\n const [selected, setSelected] = React.useState([]);\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(7);\r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const [currentLicense, setCurrentLicense] = React.useState(false);\r\n const [selectedValue, setSelectedValue] = React.useState(\"\");\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [rows]);\r\n\r\n const handleRequestSort = (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => {\r\n setPage(0);\r\n const isAsc = orderBy === property && order === \"asc\";\r\n setOrder(isAsc ? \"desc\" : \"asc\");\r\n setOrderBy(property);\r\n };\r\n\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelecteds = rows.map((n) => n.customerID);\r\n setSelected(newSelecteds);\r\n return;\r\n }\r\n setSelected([]);\r\n };\r\n\r\n const handleClick = (event: React.MouseEvent, name: string) => {\r\n const selectedIndex = selected.indexOf(name);\r\n let newSelected: string[] = [];\r\n\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(selected, name);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(selected.slice(1));\r\n } else if (selectedIndex === selected.length - 1) {\r\n newSelected = newSelected.concat(selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n selected.slice(0, selectedIndex),\r\n selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n\r\n setSelected(newSelected);\r\n };\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n const navigate = Router.useNavigate();\r\n const isSelected = (name: string) => selected.indexOf(name) !== -1;\r\n const [adminAndCustomerRoleCheck, setAdminAndCustomerRoleCheck] =\r\n React.useState(false);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const userRole = userStore.user?.RoleName;\r\n React.useEffect(() => {\r\n if (\r\n userRole === \"admin\" ||\r\n userRole === \"superadmin\" ||\r\n userRole === \"customer\"\r\n ) {\r\n setAdminAndCustomerRoleCheck(false);\r\n } else {\r\n setAdminAndCustomerRoleCheck(true);\r\n }\r\n }, [userRole, adminAndCustomerRoleCheck]);\r\n const handleSelectDealerUser = ({\r\n dealerProfile,\r\n }: {\r\n dealerProfile: any;\r\n }) => {\r\n //alert(JSON.stringify(dealerProfile));\r\n const selectedIndex = dCustomerStore.selected.indexOf(dealerProfile);\r\n let newSelected: Models.CustomerLicense.Main[] = [];\r\n dCustomerStore.setSelected({ selected: newSelected });\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(dCustomerStore.selected, dealerProfile);\r\n } else if (selectedIndex === 0) {\r\n // alert(\"4\");\r\n newSelected = newSelected.concat(dCustomerStore.selected.slice(1));\r\n } else if (selectedIndex === dCustomerStore.selected.length - 1) {\r\n newSelected = newSelected.concat(dCustomerStore.selected.slice(0, -1));\r\n // alert(\"5\");\r\n } else if (selectedIndex > 0) {\r\n //alert(\"6\");\r\n newSelected = newSelected.concat(\r\n dCustomerStore.selected.slice(0, selectedIndex),\r\n dCustomerStore.selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n dCustomerStore.setSelected({ selected: newSelected });\r\n let arrayCustomer: any = [];\r\n arrayCustomer = newSelected;\r\n\r\n const customerName = arrayCustomer.map((k: any) => k.customerName);\r\n const mailID: any = arrayCustomer.map((k: any) => k.emailID);\r\n const companyName: any = arrayCustomer.map((k: any) => k.companyName);\r\n const customerID: any = arrayCustomer.map((k: any) => k.customerID);\r\n localStorage.setItem(\"mID\", mailID);\r\n localStorage.setItem(\"cuName\", customerName);\r\n localStorage.setItem(\"coName\", companyName);\r\n localStorage.setItem(\"customerID\", customerID);\r\n //dCustomerStore.setSelected();\r\n };\r\n const emptyRows =\r\n rowsPerPage - Math.min(rowsPerPage, rows.length - page * rowsPerPage);\r\n\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const [customerId, setCustomerId] = React.useState();\r\n const [MailID, setMailID] = React.useState();\r\n const [Row, setRow] = React.useState();\r\n const [customerDetailsDialogOpen, setCustomerDetailsDialogOpen] =\r\n React.useState(false);\r\n const uid = userStore.user?.ETUID;\r\n const roleName = \"dealer\";\r\n\r\n return (\r\n
\r\n setCustomerDetailsDialogOpen(false)}\r\n title={t(\"Customer details\")}\r\n contentText={\r\n \r\n }\r\n actions={\r\n <>\r\n window.print()}\r\n >\r\n Print\r\n \r\n setCustomerDetailsDialogOpen(false)}\r\n >\r\n Close\r\n \r\n \r\n }\r\n />\r\n \r\n \r\n {rows.length > 0 && (\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 {stableSort(rows as any, getComparator(order, orderBy))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((row, index) => {\r\n const isItemSelected = isSelected(row.customerID as string);\r\n const labelId = `enhanced-table-checkbox-${index}`;\r\n\r\n return (\r\n {\r\n if (row.etUserStatus !== 5) {\r\n handleClick(event, row.customerID as string);\r\n handleView({\r\n avilableFunction:\r\n row.customerID as unknown as Models.Set.Function[],\r\n });\r\n \r\n setCustomerId(row.customerID);\r\n setMailID(row.emailID);\r\n setRow(row);\r\n if (row.etuid) {\r\n navigate(\r\n `/dealercustomer/customerdetail?q=${row.etuid}&m=${row.customerID}`\r\n );\r\n }\r\n } else {\r\n enqueueSnackbar(\r\n t(\"Detail view not available for license unassigned\"),\r\n {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n }\r\n }}\r\n aria-checked={isItemSelected}\r\n tabIndex={-1}\r\n key={row.customerID}\r\n \r\n >\r\n \r\n \r\n \r\n {row.customerDealerID}\r\n \r\n \r\n {row.companyName}\r\n \r\n \r\n {row.customerName}\r\n \r\n \r\n\r\n {\r\n window.open(`mailto:${row.emailID}`);\r\n }}\r\n >\r\n \r\n click to open an mail\r\n \r\n }\r\n >\r\n \r\n {row.emailID}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {row.etUserStatus > 1 ? \"\" : 3 ? \"Enabled\" :\"Yet to enable\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {row.etUserStatus > 0 ? (\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 {rows.length === 0 && (\r\n \r\n \r\n \r\n \r\n \r\n No customers found\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {emptyRows > 0 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n {rows.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n
\r\n );\r\n}\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const [search, setSearch] = React.useState(\"\");\r\n const [state, setState] = React.useState();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n const theme = Mui.useTheme();\r\n const [detailsDrawerOpen, setDetailsDrawerOpen] =\r\n React.useState(false);\r\n const [searchParams] = Router.useSearchParams();\r\n\r\n const id = searchParams.get(\"roleId\");\r\n\r\n React.useEffect(() => {\r\n const uid = userStore.user?.ETUID;\r\n dCustomerStore.delaerCustomer = [];\r\n // userStore.setPreviousUrl({ urls: \"/dealercustomer?roles=all\" });\r\n const userRole = \"customer\";\r\n if (uid !== undefined && uid !== null) {\r\n dCustomerStore.read({\r\n uid,\r\n userRole,\r\n });\r\n }\r\n console.log(\"dCustomerStore\"+JSON.stringify(dCustomerStore.delaerCustomer));\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [searchParams]);\r\n\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n setSearch(event.target.value as string);\r\n };\r\n const { t } = ReactI18next.useTranslation();\r\n const toggleDetailsDrawer = () => {\r\n setDetailsDrawerOpen(!detailsDrawerOpen);\r\n };\r\n const [currentAvilableFunction, setCurrentAvilableFunction] =\r\n React.useState();\r\n \r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n\r\n const handleChange = (event: any) => {\r\n if (event.target.value === \"All\") {\r\n setSearch(\"\");\r\n } else {\r\n setSearch(event.target.value as string);\r\n }\r\n };\r\n return (\r\n <>\r\n \r\n \r\n \r\n {dCustomerStore.delaerCustomer.length > 0 && (\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {dCustomerStore.isInitialLoading ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n {dCustomerStore.view === \"LIST\" && (\r\n {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n order?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.customerName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.licenseCount\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.emailID\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n (order.companyName &&\r\n DateFns.format(new Date(order.companyName), \"dd.MM.yyyy\")\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n })}\r\n />\r\n )}\r\n {dCustomerStore.view === \"CARD\" && (\r\n {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n customer?.loginUserRole\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n customer?.customerName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n customer?.emailID\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n customer?.customerName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n customer?.customerDealerID\r\n .includes(search) ||\r\n customer?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n (customer.inviteDate &&\r\n DateFns.format(new Date(customer.inviteDate), \"dd.MM.yyyy\")\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n })}\r\n />\r\n )}\r\n {dCustomerStore.view === \"TABULAR\" && (\r\n {\r\n setCurrentAvilableFunction(avilableFunction);\r\n toggleDetailsDrawer();\r\n }}\r\n rows={dCustomerStore.delaerCustomer.filter((order) => {\r\n if (!search) {\r\n return true;\r\n }\r\n\r\n return (\r\n order?.loginUserRole\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.customerName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.emailID\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.customerName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.customerDealerID\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.licenseCount\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase())\r\n );\r\n })}\r\n />\r\n )}\r\n \r\n )}\r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mobx from \"mobx\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export type View = \"TABULAR\" | \"CARD\" | \"LIST\";\r\n\r\n export interface IStore {\r\n isLoading: boolean;\r\n dcustomerService: Services.DealerCustomerService;\r\n view: Store.View;\r\n }\r\n\r\n export type Options = Pick;\r\n\r\n export namespace SetView {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace Read {\r\n export interface Props\r\n extends Services.DealerCustomerService.GetAllData.Props {}\r\n }\r\n export namespace ReadOfCustomerProfile {\r\n export interface Props\r\n extends Services.DealerCustomerService.GetCustomerProfileData.Props {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public view: Store.View = \"TABULAR\";\r\n @Mobx.observable public delaerCustomer: Models.DealerCustomer.Main[] = [];\r\n @Mobx.observable public selectedCustomer: Models.DealerCustomer.Main[] = [];\r\n @Mobx.observable\r\n public delaerCustomerProfile: Models.CustomerProfileOnDealer.Main[] = [];\r\n @Mobx.observable public isLoading: boolean = false;\r\n @Mobx.observable public isCustomerAdded: boolean = false;\r\n @Mobx.observable public isSet: boolean = false;\r\n @Mobx.observable public isCustomerSelected: boolean = false;\r\n @Mobx.observable public selected: Models.CustomerLicense.Main[] = [];\r\n public dcustomerService: Services.DealerCustomerService;\r\n constructor({ view, dcustomerService }: Store.Options) {\r\n this.view = view;\r\n this.dcustomerService = dcustomerService;\r\n }\r\n\r\n @Mobx.action setView({ view }: Store.SetView.Props) {\r\n this.view = view;\r\n }\r\n\r\n @Mobx.action public async readOfCustomerProfile(\r\n props: Store.ReadOfCustomerProfile.Props\r\n ) {\r\n try {\r\n this.isLoading = true;\r\n const { result } =\r\n await this.dcustomerService.getCustomerProfileWithLicense(props);\r\n\r\n this.delaerCustomerProfile = result;\r\n //\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async read(props: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.dcustomerService.getCustomer(props);\r\n this.delaerCustomer = result;\r\n this.selectedCustomer = result;\r\n\r\n //\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action setIsCustomerAdded(isCustomerAdded: boolean) {\r\n this.isCustomerAdded = isCustomerAdded;\r\n }\r\n\r\n @Mobx.action setSelectedCustomer(customerID: any) {\r\n this.selectedCustomer = this.selectedCustomer.filter(\r\n (k) => k.etuid === customerID\r\n );\r\n }\r\n\r\n @Mobx.action getSelectedCustomer() {\r\n if (this.selectedCustomer.length === 0) {\r\n return [];\r\n } else {\r\n return this.selectedCustomer;\r\n } //\r\n }\r\n @Mobx.computed public get isInitialLoadings(): boolean {\r\n if (this.delaerCustomerProfile.length !== 0) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.delaerCustomer.length !== 0) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n @Mobx.action public setSelected({\r\n selected,\r\n }: {\r\n selected: Models.CustomerLicense.Main[];\r\n }) {\r\n this.selected = selected;\r\n \r\n }\r\n\r\n @Mobx.action public setCustomerSelected(isCustomerSelected: boolean) {\r\n this.isCustomerSelected = isCustomerSelected;\r\n console.log(\"selected\" + this.isCustomerSelected);\r\n }\r\n\r\n @Mobx.computed public get getCustomerSelected(): boolean {\r\n if (this.isCustomerSelected === true) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport LanguageIcon from \"@material-ui/icons/Language\";\r\nimport * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nconst CustomTextField = Mobx.observer(function (\r\n props: FormikMui.TextFieldProps\r\n) {\r\n const activateStore = React.useContext(App.Contexts.license.activateStore);\r\n const easyTouchDeviceStore = React.useContext(\r\n App.Contexts.easyTouchDeviceStore\r\n );\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const prevValue = React.useRef(\"\");\r\n\r\n const {\r\n form: { setFieldTouched },\r\n field: { name },\r\n } = props;\r\n\r\n const onBlur = React.useCallback(\r\n async (event) => {\r\n const { value } = event.target;\r\n const etuid = userStore.user?.ETUID;\r\n setFieldTouched(name);\r\n if (!value && activateStore.installed.length) {\r\n activateStore.setInstalled({ installed: [] });\r\n }\r\n\r\n if (!value || !etuid || value === prevValue.current) {\r\n prevValue.current = value;\r\n return;\r\n }\r\n\r\n try {\r\n activateStore.setIsLoadingPreviouslyInstalledArticles({\r\n isLoadingPreviouslyInstalledArticles: true,\r\n });\r\n\r\n await easyTouchDeviceStore.read({\r\n userRole: \"customer\",\r\n status: -1,\r\n uid: etuid,\r\n });\r\n\r\n const installed: Set = new Set();\r\n easyTouchDeviceStore.devices\r\n ?.filter((device) => device.macID === value)\r\n .map((device) => {\r\n device.sets.forEach((set) => installed.add(set.setID));\r\n });\r\n\r\n if (installed.size > 0 && activateStore.selected.length > 0) {\r\n activateStore.setSelected({\r\n selected: activateStore.selected.filter(\r\n (setID) => !installed.has(setID)\r\n ),\r\n });\r\n }\r\n\r\n activateStore.setInstalled({\r\n installed: Array.from(installed.values()),\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n activateStore.setIsLoadingPreviouslyInstalledArticles({\r\n isLoadingPreviouslyInstalledArticles: false,\r\n });\r\n prevValue.current = value;\r\n }\r\n },\r\n [activateStore, easyTouchDeviceStore, name, setFieldTouched, userStore.user]\r\n );\r\n\r\n return (\r\n <>\r\n \r\n \r\n );\r\n});\r\n\r\nexport const Form = Mobx.observer(function () {\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const { submitCount, submitForm } = Formik.useFormikContext();\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n Customer Details\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n Assign Licenses\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\nimport * as AddCustomer from \"src/app/pages/dealercustomer/addcustomer\";\r\nexport const Layout = Mobx.observer(function () {\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n\r\n React.useEffect(() => {\r\n const uid = userStore.user?.ETUID;\r\n const userRole = userStore.user?.RoleName ?? \"customer\";\r\n\r\n if (\r\n !licenseStore.licenses?.length &&\r\n userRole === \"customer\" &&\r\n uid !== undefined &&\r\n uid !== null\r\n )\r\n licenseStore.read({\r\n body: { status: null, userID: uid },\r\n userRole,\r\n uid,\r\n });\r\n\r\n if (!functionStore.functions.length) functionStore.read();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\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 );\r\n});\r\n","/** @format */\r\nimport * as Mui from \"@material-ui/core\";\r\nimport { withStyles } from \"@material-ui/core\";\r\nimport Dialog from \"@material-ui/core/Dialog\";\r\nimport DialogActions from \"@material-ui/core/DialogActions\";\r\nimport DialogContent from \"@material-ui/core/DialogContent\";\r\nimport DialogContentText from \"@material-ui/core/DialogContentText\";\r\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport CheckCircleIcon from \"@material-ui/icons/CheckCircle\";\r\nimport InfoIcon from \"@material-ui/icons/Info\";\r\nimport LanguageIcon from \"@material-ui/icons/Language\";\r\nimport * as ReactUndraw from \"iblis-react-undraw\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as Pages from \"src/app/pages\";\r\n\r\nimport { useLocation } from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport { CustomerInviteSummary } from \"src/app/routes/dealer\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport * as Yup from \"yup\";\r\nimport * as Services from \"src/services\";\r\nimport * as Constants from \"src/constants\";\r\nexport interface FormProps {\r\n emailID: string;\r\n firstname?: any;\r\n companyName?: any;\r\n lastname?: any;\r\n}\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const [updateDialogOpen, setUpadateRoleDialogOpen] = React.useState<\r\n | {\r\n roles: number;\r\n }\r\n | undefined\r\n >();\r\n const [failureDialogOpen, setfailureRoleDialogOpen] = React.useState<\r\n | {\r\n roles: number;\r\n }\r\n | undefined\r\n >();\r\n\r\n const [purchaseDialogOpen, setfPurchaseDialogOpen] = React.useState<\r\n | {\r\n roles: number;\r\n }\r\n | undefined\r\n >();\r\n //const [modalFlag, setModalFlag] = React.useState(false);\r\n const [open, setOpen] = React.useState(false);\r\n const homeStore = React.useContext(App.Contexts.homeStore);\r\n const [loader, setLoader] = React.useState(false);\r\n const navigate = Router.useNavigate();\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n // const cartStore = React.useContext(App.Contexts.cartStore);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const validationSchema = Yup.object().shape({\r\n emailID: Yup.string().required(\"Email ID is required\"),\r\n });\r\n const [searchParams] = Router.useSearchParams();\r\n\r\n const [isFromManageOrder, setIsFromManageOrder] = React.useState(false);\r\n\r\n const orderStore = React.useContext(App.Contexts.orderStore);\r\n\r\n const customerInviteStore = React.useContext(\r\n App.Contexts.customerInviteStore\r\n );\r\n const importDealerStore = React.useContext(App.Contexts.importDealerStore);\r\n\r\n const addCustomerStore = React.useContext(App.Contexts.addCustomerStore);\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n var orderIdFromPurchaseRedirection = searchParams.get(\"isP\");\r\n var navigationFromManageCustomer = searchParams.get(\"q\");\r\n var navigationFromManageOrder = searchParams.get(\"m\");\r\n //console.log(\"navigationFromManageCustomer\", navigationFromManageCustomer);\r\n React.useEffect(() => {\r\n const result = customerInviteStore.setArticleSelected;\r\n const dealerUser = Array.from(\r\n customerInviteStore.selectedArticle.values()\r\n ).map(\r\n (item) =>\r\n ({\r\n setDescriptions: item.setDescriptions,\r\n setName: item.setName,\r\n setID: item.setID,\r\n } as any)\r\n );\r\n\r\n //alert(JSON.stringify(dealerUser));\r\n\r\n // const ETUID = userStore.user?.ETUID.toString();\r\n\r\n //**********Getting the OrderId from query string******\r\n\r\n //alert(orderIdFromPurchaseRedirection);\r\n if (orderIdFromPurchaseRedirection) {\r\n setOpen(true);\r\n }\r\n\r\n importDealerStore.readUsers({ searchtext:userStore.user?.emailID ?? \"All\", });\r\n\r\n //\r\n //alert(purchaseNavigation);\r\n\r\n // customerInviteStore.getPurchangeArticleDetails({\r\n // orderID: OrderID,\r\n // });\r\n }, [customerInviteStore.setArticleSelected, customerInviteStore.selectedArticle, orderIdFromPurchaseRedirection, importDealerStore, userStore.user]);\r\n \r\n const Email = localStorage.getItem(\"customermailID\")\r\n const cid = localStorage.getItem(\"customerID\")\r\n React.useEffect(()=>{\r\n const userRole = \"customer\"\r\n const EmailId = Email? Email : undefined;\r\n const uid = cid ? cid : \"0\";\r\n if ((uid !== undefined && uid !== null) && Email) {\r\n homeStore.read({\r\n uid,\r\n userRole,\r\n EmailId,\r\n });\r\n }\r\n },[Email, cid, homeStore])\r\n //BindComapnay(OrderID);\r\n\r\n function ArticleUpdateInCart(article: Models.Set.Article) {\r\n const cartStore = React.useContext(App.Contexts.cartStore);\r\n article.olPrice.singleNetPrice = article.setCost;\r\n article.olPrice.grossPositionSinglePriceInclVAT = article.setCost;\r\n article.olPrice.grossPositionTotalPriceInclVAT = article.setCost;\r\n article.olPrice.totalNetPrice = article.setCost;\r\n\r\n if (article.quantity > article.availableQuantity) {\r\n // article.quantity = article.availableQuantity - article.quantity;\r\n cartStore.vatTaxPercent = article.vatPercentage;\r\n cartStore.addProduct({ product: article });\r\n enqueueSnackbar(t(\"Added to cart!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n }\r\n }\r\n const search = useLocation().search;\r\n const id = new URLSearchParams(search).get(\"isP\");\r\n function ArticleQuantityUpdateAfterPurchase(article: Models.Set.Article) {\r\n // const cartStore = React.useContext(App.Contexts.cartStore);\r\n // article.setCost = 300;\r\n // if (article.quantity > article.availableQuantity) {\r\n // // article.quantity = article.availableQuantity - article.quantity;\r\n // cartStore.addProduct({ product: article });\r\n // }\r\n // const OrderID = \"196\";\r\n purchaseUpdate(id);\r\n async function purchaseUpdate(orderID: any) {\r\n //alert(DealerMasterID);\r\n //alert(DealerProfileID);\r\n // alert('BindComapnay method');\r\n const company = await addCustomerStore.getPurchangeArticleDetails({\r\n orderID: orderID,\r\n });\r\n\r\n //alert(JSON.stringify(company))\r\n const purchaseAvailableQuantity: any = company?.map((k) => ({\r\n setID: k.setID,\r\n availableQuantity: k.availableQuantity,\r\n quantity:\r\n k.setID == article.setID\r\n ? (article.availableQuantity =\r\n +article.availableQuantity + +k.availableQuantity)\r\n : article.availableQuantity,\r\n }));\r\n\r\n //alert(JSON.stringify(purchaseAvailableQuantity));\r\n }\r\n }\r\n\r\n function ArticleIncreaseUpdate(article: Models.Set.Article): void {\r\n\r\n\r\n let validationData = [];\r\n let dashboardReplica:any = [];\r\n dashboardReplica = homeStore.dashboard?.licenseSummary\r\n for (var i = 0; i < dashboardReplica.length; i++) {\r\n dashboardReplica[i].totalQuantity = +dashboardReplica[i].totalQuantity;\r\n }\r\n const dash = dashboardReplica.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.totalQuantity / 4,\r\n setName: k.setName\r\n }\r\n })\r\n \r\n let customerInviteStores:any = Array.from(customerInviteStore.article.values())\r\n // const replacing = cartStores.map(({ quantity }:any) => ({ totalQuantity: quantity}));\r\n // \r\n \r\n for (var j = 0; j < customerInviteStores.length; j++) {\r\n customerInviteStores[j].quantity = +customerInviteStores[j].quantity;\r\n customerInviteStores[j].availableQuantity = +customerInviteStores[j].availableQuantity;\r\n }\r\n const customerInviteStoress = customerInviteStores.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.quantity,\r\n setName: k.setName,\r\n availableQuantity: k.availableQuantity\r\n }\r\n })\r\n \r\n if(dashboardReplica.length > 0 && customerInviteStoress.length > 0){\r\n const result = Object.values([...customerInviteStoress, ...dash].reduce((acc, { hundCode, totalQuantity,setName }) => {\r\n acc[hundCode] = { hundCode, totalQuantity: (acc[hundCode] ? acc[hundCode].totalQuantity : 0) + totalQuantity,setName };\r\n return acc;\r\n }, {}));\r\n validationData = result;\r\n \r\n \r\n }\r\n else if(dashboardReplica.length > 0 && (customerInviteStoress.length === 0 || customerInviteStoress === undefined )){\r\n const dash = dashboardReplica.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.totalQuantity / 4,\r\n setName: k.setName\r\n }\r\n })\r\n validationData = dash\r\n }\r\n else if((dashboardReplica.length === 0 || dashboardReplica === undefined ) && customerInviteStoress.length > 0){\r\n const inviteStore = customerInviteStoress.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.totalQuantity,\r\n setName: k.setName,\r\n availableQuantity: k.availableQuantity\r\n }\r\n })\r\n validationData = inviteStore;\r\n\r\n }\r\n else\r\n {\r\n validationData = [];\r\n }\r\n \r\n \r\n // const validat = validationData.filter((k:any)=>k.hundCode === article.hundCode\r\n \r\n // ).map((k:any)=>k.totalQuantity + 1)\r\n for(var m = 0; m < validationData.length; m++){\r\n if(validationData[m].hundCode === article.hundCode){\r\n validationData[m].totalQuantity = validationData[m].totalQuantity + 1;\r\n }\r\n \r\n }\r\n \r\n const validationCheckfilter = validationData.filter((k:any)=>k.hundCode === article.hundCode)\r\n if(validationCheckfilter.length > 0){\r\n \r\n \r\n }else{\r\n \r\n \r\n validationData.push({\r\n hundCode: article.hundCode,\r\n totalQuantity: 1,\r\n setName: article.setName\r\n })\r\n }\r\n\r\n \r\n const filteringSelectedArticleQuantity = validationData.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.totalQuantity)\r\n const filteringBasicSetQuantity= validationData.filter((k:any)=>k.hundCode === \"SET-01\").map((k:any)=>k.totalQuantity)\r\n \r\n if(article.hundCode === \"SET-01\"){\r\n customerInviteStore.addProduct({ article: article });\r\n \r\n // const InviteStore = customerInviteStoress.map((k:any)=>{\r\n // return {\r\n // hundCode: k.hundCode,\r\n // totalQuantity: k.quantity,\r\n // setName: k.setName,\r\n // availableQuantity: k.availableQuantity\r\n // }\r\n // })\r\n const quantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.totalQuantity)[0]\r\n const availableQuantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.availableQuantity)[0]\r\n customerInviteStore.increaseProductQuantity({\r\n article,\r\n });\r\n customerInviteStore.addProduct({ article: article })\r\n if((quantityOfInvite + +1) - availableQuantityOfInvite > 0){\r\n cartStore.addProduct({ product: article })\r\n enqueueSnackbar(t(\"Added to cart!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n }\r\n }\r\n else if(article.hundCode !== \"SET-01\"){\r\n\r\n const FilteringSelectedArticleQuantityisZeroChecks = filteringSelectedArticleQuantity.length === 0 || filteringSelectedArticleQuantity.length === undefined || filteringSelectedArticleQuantity.length === null ? 0 : filteringSelectedArticleQuantity[0]\r\n const FilteringBasicSetQuantityisZeroChecks = filteringBasicSetQuantity.length === 0 || filteringBasicSetQuantity.length === undefined || filteringBasicSetQuantity.length === null ? 0 : filteringBasicSetQuantity[0]\r\n \r\n const checkForAddToCart = FilteringSelectedArticleQuantityisZeroChecks <= FilteringBasicSetQuantityisZeroChecks \r\n \r\n const inviteStore = customerInviteStoress.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.totalQuantity,\r\n setName: k.setName,\r\n availableQuantity: k.availableQuantity\r\n }\r\n })\r\n const filteringBasicSetQuantityAutomateBasicAdd= inviteStore.filter((k:any)=>k.hundCode === \"SET-01\").map((k:any)=>k.totalQuantity)\r\n const FilteringBasicSetQuantityAutomateBasicAddInvite = filteringBasicSetQuantityAutomateBasicAdd.length === 0 || filteringBasicSetQuantity.length === undefined || filteringBasicSetQuantity.length === null ? 0 : filteringBasicSetQuantity[0]\r\n let isEnableBasicset = false;\r\n if((FilteringBasicSetQuantityisZeroChecks === 0 )&& (FilteringBasicSetQuantityAutomateBasicAddInvite === 0)){\r\n isEnableBasicset = true\r\n const articled:any = customerInviteStore.selectedArticle.filter((k:any) => k.hundCode === \"SET-01\")\r\n \r\n const articles = Object.assign({}, ...articled);\r\n customerInviteStore.increaseProductQuantity({\r\n article,\r\n });\r\n customerInviteStore.addProduct({ article: article });\r\n \r\n // const InviteStore = customerInviteStoress.map((k:any)=>{\r\n // return {\r\n // hundCode: k.hundCode,\r\n // totalQuantity: k.quantity,\r\n // setName: k.setName,\r\n // availableQuantity: k.availableQuantity\r\n // }\r\n // })\r\n const quantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.totalQuantity)[0]\r\n const availableQuantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.availableQuantity)[0]\r\n customerInviteStore.increaseProductQuantity({\r\n article,\r\n });\r\n customerInviteStore.addProduct({ article: article })\r\n if((quantityOfInvite + +1) - availableQuantityOfInvite > 0){\r\n cartStore.addProduct({ product: article })\r\n enqueueSnackbar(t(\"Added to cart!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n \r\n }\r\n }else{\r\n isEnableBasicset = false\r\n }\r\n \r\n if((checkForAddToCart === true)|| (isEnableBasicset === true)){\r\n customerInviteStore.increaseProductQuantity({\r\n article,\r\n });\r\n customerInviteStore.addProduct({ article: article });\r\n \r\n // const InviteStore = customerInviteStoress.map((k:any)=>{\r\n // return {\r\n // hundCode: k.hundCode,\r\n // totalQuantity: k.quantity,\r\n // setName: k.setName,\r\n // availableQuantity: k.availableQuantity\r\n // }\r\n // })\r\n const quantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.totalQuantity)[0]\r\n const availableQuantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.availableQuantity)[0]\r\n // customerInviteStore.increaseProductQuantity({\r\n // article,\r\n // });\r\n // customerInviteStore.addProduct({ article: article })\r\n if((quantityOfInvite + +1) - availableQuantityOfInvite > 0){\r\n cartStore.addProduct({ product: article })\r\n enqueueSnackbar(t(\"Added to cart!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n \r\n }else{\r\n \r\n }\r\n \r\n }\r\n else\r\n {\r\n enqueueSnackbar(\r\n t(`Basic Set cannot be lesser than the other article, please add Basic Set`),\r\n {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n }\r\n \r\n }\r\n\r\n\r\n\r\n\r\n \r\n }\r\n function ArticleDecreaseUpdate(article: Models.Set.Article): void {\r\n\r\n let product:any = []\r\n product = article\r\n let validationData = [];\r\n let dashboardReplica:any = [];\r\n dashboardReplica = homeStore.dashboard?.licenseSummary\r\n for (var i = 0; i < dashboardReplica.length; i++) {\r\n dashboardReplica[i].totalQuantity = +dashboardReplica[i].totalQuantity;\r\n }\r\n const dash = dashboardReplica.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.totalQuantity / 4,\r\n setName: k.setName\r\n }\r\n })\r\n \r\n let customerInviteStores:any = Array.from(customerInviteStore.article.values())\r\n // const replacing = cartStores.map(({ quantity }:any) => ({ totalQuantity: quantity}));\r\n // \r\n \r\n for (var j = 0; j < customerInviteStores.length; j++) {\r\n customerInviteStores[j].quantity = +customerInviteStores[j].quantity;\r\n }\r\n const invite = customerInviteStores.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.quantity,\r\n setName: k.setName,\r\n availableQuantity: k.availableQuantity\r\n }\r\n })\r\n \r\n if(dashboardReplica.length > 0 && customerInviteStores.length > 0){\r\n const result = Object.values([...invite, ...dash].reduce((acc, { hundCode, totalQuantity,setName,availableQuantity }) => {\r\n acc[hundCode] = { hundCode, totalQuantity: (acc[hundCode] ? acc[hundCode].totalQuantity : 0) + totalQuantity,setName,availableQuantity };\r\n return acc;\r\n }, {}));\r\n validationData = result;\r\n \r\n \r\n }\r\n else if(dashboardReplica.length > 0 && (customerInviteStores.length === 0 || customerInviteStores === undefined )){\r\n const dash = dashboardReplica.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.totalQuantity / 4,\r\n setName: k.setName\r\n }\r\n })\r\n validationData = dash\r\n }\r\n else if((dashboardReplica.length === 0 || dashboardReplica === undefined ) && customerInviteStores.length > 0){\r\n const customerInvite = customerInviteStores.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.quantity,\r\n setName: k.setName,\r\n availableQuantity: k.availableQuantity\r\n }\r\n })\r\n validationData = customerInvite;\r\n \r\n }\r\n else\r\n {\r\n validationData = [];\r\n }\r\n \r\n \r\n if(article.hundCode === \"SET-01\"){\r\n const basicSetQuantity = validationData.filter((k:any)=>k.hundCode === \"SET-01\").map((s:any)=>s.totalQuantity)\r\n \r\n const OtherSetQuantityExceptBasic = validationData.filter((k:any)=>k.hundCode !== \"SET-01\").map((s:any)=>s.totalQuantity)\r\n const maximumQuantityFromOtherSets:any = Math.max(...OtherSetQuantityExceptBasic)\r\n const MaxValue = maximumQuantityFromOtherSets\r\n \r\n const subFunction = (a:number,b:number)=>{\r\n return a - b\r\n }\r\n const oneDecrement = 1\r\n const twoDecrement = parseInt(basicSetQuantity[0])\r\n const subtraction = subFunction(twoDecrement,oneDecrement)\r\n \r\n var comaprator ;\r\n if(subtraction > MaxValue || subtraction === MaxValue){\r\n comaprator = true\r\n }\r\n else {\r\n comaprator = false\r\n \r\n }\r\n \r\n \r\n if(comaprator){\r\n customerInviteStore.decreaseProductQuantity({article});\r\n cartStore.decreaseProductQuantity({product});\r\n \r\n \r\n }\r\n else{\r\n enqueueSnackbar(\r\n t(`Basic Set cannot be lesser than the other article, please add Basic Set`),\r\n {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n }\r\n }\r\n else if(article.hundCode !== \"SET-01\"){\r\n const basicSetQuantity = validationData.filter((k:any)=>k.hundCode === \"SET-01\").map((s:any)=>s.totalQuantity)\r\n \r\n const selectedQuantity = validationData.filter((k:any)=>k.hundCode === article.hundCode).map((s:any)=>s.totalQuantity)\r\n const oneDecrement = 1\r\n if((selectedQuantity[0] - oneDecrement) <= basicSetQuantity[0]){\r\n customerInviteStore.decreaseProductQuantity({article});\r\n cartStore.decreaseProductQuantity({product});\r\n \r\n \r\n }\r\n else{\r\n enqueueSnackbar(\r\n t(`Basic Set cannot be lesser than the other article, please add Basic Set`),\r\n {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n }\r\n \r\n }\r\n \r\n }\r\n\r\n const handleRemoveSelect = ({ article }: { article: any }) => {\r\n // alert(\"Hi\");\r\n //alert(JSON.stringify(article));\r\n\r\n const selectedIndex = customerInviteStore.selected.indexOf(article.setID);\r\n //alert(JSON.stringify(selectedIndex));\r\n let newSelected: number[] = [];\r\n let newRowSelected: Models.Set.Article[] = [];\r\n //alert('handleSelect');\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(\r\n customerInviteStore.selected,\r\n article.setID\r\n );\r\n newRowSelected = newRowSelected.concat(\r\n customerInviteStore.selectedArticle,\r\n article\r\n );\r\n } else if (selectedIndex === 0) {\r\n } else if (selectedIndex === customerInviteStore.selected.length - 1) {\r\n newSelected = newSelected.concat(\r\n customerInviteStore.selected.slice(0, -1)\r\n );\r\n newRowSelected = newRowSelected.concat(\r\n customerInviteStore.selectedArticle.slice(0, -1)\r\n );\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n customerInviteStore.selected.slice(0, selectedIndex),\r\n customerInviteStore.selected.slice(selectedIndex + 1)\r\n );\r\n newRowSelected = newRowSelected.concat(\r\n customerInviteStore.selectedArticle.slice(0, selectedIndex),\r\n customerInviteStore.selectedArticle.slice(selectedIndex + 1)\r\n );\r\n // setDisable(false);\r\n }\r\n\r\n customerInviteStore.setArticleSelected({ selectedArticle: newRowSelected });\r\n customerInviteStore.setSelected({ selected: newSelected });\r\n };\r\n //const [isPurchase, setIsPurchase] = React.useState(true);\r\n const purchaseEnableFromInviteCustomer = Array.from(\r\n customerInviteStore.article.values()\r\n )\r\n .map((k) => k)\r\n .some((k) => (k.quantity > k.availableQuantity ? true : false));\r\n //alert(purchaseEnableFromInviteCustomer);\r\n localStorage.setItem(\r\n \"isCustomerInvitePurchase\",\r\n JSON.stringify(purchaseEnableFromInviteCustomer)\r\n );\r\n\r\n const fName = localStorage.getItem(\"cfname\");\r\n const lName = localStorage.getItem(\"clname\");\r\n const cName = localStorage.getItem(\"ccname\");\r\n const mailI = localStorage.getItem(\"mailId\");\r\n\r\n localStorage.setItem(\"nfname\", JSON.stringify(fName));\r\n localStorage.setItem(\"nlname\", JSON.stringify(lName));\r\n localStorage.setItem(\"ncname\", JSON.stringify(cName));\r\n localStorage.setItem(\"nmailId\", JSON.stringify(mailI));\r\n const DarkerDisabledTextField = withStyles({\r\n root: {\r\n marginRight: 8,\r\n \"& .MuiInputBase-root.Mui-disabled\": {\r\n color: \"black\", // (default alpha is 0.38)\r\n },\r\n },\r\n })(Mui.TextField);\r\n\r\n var quantityUpdate = Array.from(\r\n customerInviteStore.article.values()\r\n ).map((k) =>\r\n k.quantity > k.availableQuantity\r\n ? { setID: k.setID, quantity: k.quantity }\r\n : \"\"\r\n );\r\n\r\n const cartStore = React.useContext(App.Contexts.cartStore);\r\n\r\n const handleClose = () => {\r\n setOpen(false);\r\n };\r\n \r\n const isPurchase = localStorage.getItem(\"isCustomerInvitePurchase\");\r\n const purchaseCheck = isPurchase == \"true\" ? false : true;\r\n const sendInviteCheck = isPurchase == \"true\" ? true : false;\r\n const { i18n } = ReactI18next.useTranslation(); \r\n const localdisplayCustomerDetailCard = localStorage.getItem(\r\n \"displayCustomerDetailCard\"\r\n );\r\n var checkDisplay = localdisplayCustomerDetailCard === \"true\";\r\n const licenseList = orderStore.getAssignLicense();\r\n\r\n React.useEffect(() => {\r\n const custID = localStorage.getItem(\"customerID\");\r\n\r\n \r\n });\r\n \r\n const handleSendInvite = async () => {\r\n try {\r\n \r\n let newSelected: number[] = [];\r\n customerInviteStore.setSelected({\r\n selected: newSelected,\r\n });\r\n const articleIds = Array.from(\r\n customerInviteStore.article.values()\r\n ).map(\r\n (item) =>\r\n ({\r\n setId: item.setID,\r\n setName: item.setName,\r\n hundCode: item.hundCode,\r\n assignedQuantity: item.quantity,\r\n } as Models.InviteCustomer.InviteArticle)\r\n );\r\n const dealerEmail = userStore.user?.UserEmail;\r\n const fName = localStorage.getItem(\"cfname\");\r\n const lName = localStorage.getItem(\"clname\");\r\n const cName = localStorage.getItem(\"ccname\");\r\n const mailI = localStorage.getItem(\"mailId\");\r\n const custID = localStorage.getItem(\"customerID\");\r\n const dealerFirstName = userStore.user?.FirstName;\r\n const dealerLastName = userStore.user?.LastName;\r\n const dealerName = dealerFirstName+\" \"+dealerLastName;\r\n var dealerCompany = importDealerStore.importDealer.map((k) => k.companyName)[0];\r\n if(navigationFromManageOrder !== \"ManageOrder\"){\r\n const inviteCustomer: Models.InviteCustomer.Main = {\r\n EmailID: mailI ? mailI : \"\",\r\n CompanyName: cName ? cName : \"\",\r\n FirstName: fName ? fName : \"\",\r\n LastName: lName ? lName : \"\",\r\n ETUID: userStore.user?.RoleName === \"dealer\"? userStore.user?.ETUID: localStorage.getItem(\"etID\") ?? \"\",\r\n DealerEmail: dealerEmail ? dealerEmail : \"\",\r\n DealerName: dealerFirstName ? dealerName : \"\",\r\n langCode: i18n.language, \r\n DealerCompanyName: dealerCompany,\r\n IsExsitingCustomer: navigationFromManageCustomer\r\n ? custID\r\n : \"0\",\r\n SerialNumber: articleIds,\r\n };\r\n var result = await addCustomerStore.inviteCustomer({\r\n body: inviteCustomer,\r\n });\r\n }else{\r\n var licenses\r\n if(licenseList !== undefined ){\r\n licenses = licenseList.map((k:Models.License)=>{\r\n return{\r\n setID : k.setID,\r\n setName : k.setName,\r\n hundCode : k.setCode,\r\n assignedQuantity : 1,\r\n licenseCode: k.licenseCode,\r\n OrderDetailID: k.orderDetailID,\r\n }\r\n })}\r\n const inviteCustomer: Models.InviteFromManageOrder.Main = {\r\n EmailID: mailI ? mailI : \"\",\r\n CompanyName: cName ? cName : \"\",\r\n FirstName: fName ? fName : \"\",\r\n LastName: lName ? lName : \"\",\r\n ETUID: userStore.user?.ETUID,\r\n DealerEmail: userStore.user?.UserEmail ?? \"\",\r\n DealerName: userStore.user?.FirstName + \" \"+userStore.user?.LastName,\r\n langCode: i18n.language, \r\n DealerCompanyName: userStore.user?.CompanyName,\r\n IsExsitingCustomer: \"0\",\r\n AssignAll: localStorage.getItem(\"isAssignAl\") === \"0\" ? 0 : 1,\r\n OrderCode:localStorage.getItem(\"orderCode\") ?? \"\",\r\n SerialNumber: licenses,\r\n };\r\n \r\n var result = await addCustomerStore.inviteFromManageOrder({\r\n body: inviteCustomer,\r\n });\r\n }\r\n if (result != \"\") {\r\n setUpadateRoleDialogOpen({ roles: 1 });\r\n } else {\r\n setfailureRoleDialogOpen({ roles: 1 });\r\n }\r\n }\r\n catch (error) {\r\n throw error;\r\n }\r\n}\r\n const handlePurchase = async () => {\r\n window.location.href = 'https://www.kern-sohn.com/shop/en/products/software/easytouch'\r\n // Array.from(customerInviteStore.selectedArticle).map(\r\n // (item) =>\r\n // (({\r\n // setID: item.setID,\r\n // setName: item.setName,\r\n // setDescriptions: item.setDescriptions,\r\n // createdBy: item.createdBy,\r\n // createdOn: item.createdOn,\r\n // functions: item.functions,\r\n // hundCode: item.hundCode,\r\n // iconClass: item.iconClass,\r\n // industrySegment: item.industrySegment,\r\n // industrySegmentsId: item.industrySegmentsId,\r\n // isItFree: item.isItFree, \r\n // langId: item.langId,\r\n // licensePerSet: item.licensePerSet,\r\n // modifiedBy: item.modifiedBy,\r\n // modifiedOn: item.modifiedOn,\r\n // moreInfo: item.setCode,\r\n // setCode: item.setID,\r\n // setCost: item.setCost,\r\n // setsLang: item.setsLang,\r\n // status: item.status,\r\n // validityPeriod: item.validityPeriod,\r\n // vatPercentage: item.vatPercentage,\r\n // quantity: item.quantity,\r\n // availableQuantity: item.availableQuantity,\r\n // olPrice: item.olPrice,\r\n // dependentSets: item.dependentSets,\r\n // } as unknown) as Models.Set.Article)\r\n // );\r\n \r\n // navigate(\"/shop/cart\");\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n Customer company selected for customer invite\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {checkDisplay == true ? (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {cName}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Company details\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 Email ID\r\n \r\n \r\n \r\n \r\n \r\n {window.open(`mailto:${mailI}`)}}\r\n >\r\n \r\n click to open an mail\r\n }>{mailI}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n First name\r\n \r\n \r\n \r\n \r\n \r\n \r\n {fName}\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 Last name\r\n \r\n \r\n \r\n \r\n \r\n {lName}\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 Customer details\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 Selected license\r\n \r\n\r\n \r\n }\r\n />\r\n {Array.from(customerInviteStore.article.values()).length > 0 ? (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n Model\r\n \r\n \r\n \r\n \r\n Product\r\n \r\n \r\n \r\n \r\n {/* Price excl. VAT */}\r\n \r\n \r\n \r\n \r\n Quantity\r\n \r\n \r\n \r\n \r\n Available\r\n \r\n \r\n \r\n \r\n To be purchased\r\n \r\n \r\n \r\n \r\n Remove\r\n \r\n \r\n \r\n \r\n \r\n {Array.from(customerInviteStore.article.values()).map(\r\n (article) => (\r\n \r\n \r\n {article.hundCode}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {article.setName}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ArticleDecreaseUpdate(article)\r\n }\r\n handleIncrement={() =>\r\n \r\n ArticleIncreaseUpdate(article)\r\n }\r\n style={{ justifyContent: \"flex-end\" }}\r\n />\r\n \r\n \r\n {article.availableQuantity ? article.availableQuantity : 0}\r\n \r\n \r\n {(article.quantity - article.availableQuantity) < 0 ? 0: article.quantity - article.availableQuantity}\r\n \r\n \r\n {\r\n enqueueSnackbar(\r\n t(`SET-01 is a dependent for your selected license, hence it cannot be removed`),\r\n {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n })()\r\n : (() => {\r\n const totalBasicSetInCartStore = Array.from(\r\n customerInviteStore.article.values()\r\n ).filter((item) => item.setID !== 1).map((k) => k);\r\n\r\n const lengthCheckOfExceptBasicSetFromCart = totalBasicSetInCartStore.length;\r\n if(lengthCheckOfExceptBasicSetFromCart > 0 && article.setID === 1){\r\n enqueueSnackbar(\r\n t(`SET-01 is a dependent for your selected license, hence it cannot be removed`),\r\n {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n }else{\r\n customerInviteStore.removeProduct({\r\n article,\r\n });\r\n let product = [];\r\n product = article;\r\n cartStore.removeProduct({ product });\r\n handleRemoveSelect({ article });\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 Add more license\r\n \r\n \r\n {sendInviteCheck && (\r\n \r\n {loader?:\r\n Purchase\r\n } \r\n \r\n )}\r\n {purchaseCheck && (\r\n \r\n \r\n Assign license\r\n \r\n \r\n )}\r\n \r\n \r\n \r\n ) : (\r\n navigationFromManageOrder === \"ManageOrder\" ? <> \r\n \r\n \r\n Assign license\r\n \r\n \r\n : \r\n \r\n \r\n \r\n No articles are assigned\r\n \r\n \r\n \r\n \r\n Please click on the Assign license to add the article.\r\n \r\n \r\n \r\n \r\n \r\n Assign licenses\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n\r\n {\r\n setUpadateRoleDialogOpen(undefined);\r\n }}\r\n aria-labelledby=\"alert-dialog-slide-title\"\r\n aria-describedby=\"alert-dialog-slide-description\"\r\n >\r\n {\"\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n Success!\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n You have successfully sent the customer invite to the new customer\r\n \"{fName + \" \" + lName}\" \r\n from the Easy Touch License.\r\n \r\n \r\n \r\n \r\n {\r\n navigate(\"/dealercustomer\");\r\n localStorage.removeItem(\"cfname\");\r\n localStorage.removeItem(\"clname\");\r\n localStorage.removeItem(\"ccname\");\r\n localStorage.removeItem(\"mailId\");\r\n customerInviteStore.resetInviteSummary();\r\n cartStore.resetCart();\r\n }}\r\n variant=\"contained\"\r\n color=\"primary\"\r\n style={{\r\n height: \"32px\",\r\n width: \"150px\",\r\n marginBottom: \"12px\",\r\n marginTop: \"12px\",\r\n }}\r\n >\r\n OK\r\n \r\n \r\n \r\n {/* Failure Response pop up start*/}\r\n {\r\n setfailureRoleDialogOpen(undefined);\r\n }}\r\n aria-labelledby=\"alert-dialog-slide-title\"\r\n aria-describedby=\"alert-dialog-slide-description\"\r\n >\r\n {\"\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n Information!\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n Unable to onboard the HASE dealer into Easy Touch License. Please contact admin.\r\n \r\n \r\n \r\n \r\n {\r\n setfailureRoleDialogOpen(undefined);\r\n navigate(\"/dealercustomer/adddealeruser\");\r\n }}\r\n variant=\"contained\"\r\n color=\"primary\"\r\n style={{\r\n height: \"32px\",\r\n width: \"150px\",\r\n marginBottom: \"12px\",\r\n marginTop: \"12px\",\r\n }}\r\n >\r\n OK\r\n \r\n \r\n \r\n {/* Failure pop up end */}\r\n \r\n {\"\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n Success!\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n Purchase articles have been successfully added to Easy Touch License.\r\n \r\n \r\n \r\n \r\n {\r\n setOpen(false);\r\n \r\n const langCode = localStorage.getItem(\"i18nextLng\")\r\n const orderServices = new Services.Order({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n \r\n const { result:any } = await orderServices.PassOrderDataForMailTrigger({\r\n body: { eid: id, langCode: langCode },\r\n });\r\n let newSelected: number[] = [];\r\n customerInviteStore.setSelected({\r\n selected: newSelected,\r\n });\r\n cartStore.resetCart();\r\n setLoader(true);\r\n Array.from(customerInviteStore.article.values()).map((article) =>\r\n ArticleQuantityUpdateAfterPurchase(article)\r\n );\r\n navigate(`/dealercustomer/addcustomer`);\r\n setLoader(false);\r\n }}\r\n variant=\"contained\"\r\n color=\"primary\"\r\n style={{\r\n height: \"32px\",\r\n width: \"150px\",\r\n marginBottom: \"12px\",\r\n marginTop: \"12px\",\r\n }}\r\n >\r\n OK\r\n \r\n \r\n \r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mobx from \"mobx\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export interface IStore {\r\n isLoading: boolean;\r\n addCustomer: Models.AddDealer.Main | undefined;\r\n addCustomerService: Services.AddCustomer;\r\n }\r\n\r\n export type Options = {\r\n addCustomerService: Services.AddCustomer;\r\n articleStore: Article.Store;\r\n };\r\n\r\n export namespace InviteCustomer {\r\n export interface Props\r\n extends Services.InviteCustomerService.InviteCustomer.Props {}\r\n }\r\n export namespace InviteFromManageOrder {\r\n export interface Props\r\n extends Services.AddCustomer.InviteFromManageOrder.Props {}\r\n }\r\n\r\n export namespace Read {\r\n export interface Props extends Services.AddCustomer.GetAllData.Return {}\r\n }\r\n export namespace GetAllPurchanseSetData {\r\n export interface Props {\r\n orderID?: string | any;\r\n }\r\n export type Return = Models.API.Response;\r\n }\r\n export namespace cancelInvite {\r\n export type Props = Services.AddCustomer.CancelInvite.Props;\r\n export type Return = Models.API.Response;\r\n }\r\n\r\n export namespace unassignAll {\r\n export type Props = Services.AddCustomer.UnAssignAll.Props;\r\n export type Return = Models.API.Response;\r\n }\r\n\r\n export namespace cancelInviteForSingleLicense {\r\n export type Props = Services.AddCustomer.CancelInviteForSingleLicense.Props;\r\n export type Return = Models.API.Response;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public addCustomer: Models.AddDealer.Main | undefined;\r\n\r\n @Mobx.observable public isLoading: boolean = false;\r\n public addCustomerService: Services.AddCustomer;\r\n articleStore: Article.Store;\r\n constructor({ addCustomerService, articleStore }: Store.Options) {\r\n this.addCustomerService = addCustomerService;\r\n this.articleStore = articleStore;\r\n }\r\n\r\n @Mobx.action public async readUsers() {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.addCustomerService.getAllData();\r\n this.addCustomer = result;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async inviteCustomer(props: Store.InviteCustomer.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.addCustomerService.inviteCustomer(props);\r\n return result;\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n @Mobx.action public async inviteFromManageOrder(\r\n props: Store.InviteFromManageOrder.Props\r\n ) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.addCustomerService.inviteFromManageOrder(\r\n props\r\n );\r\n return result;\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n\r\n @Mobx.action public async getPurchangeArticleDetails(\r\n props: Store.GetAllPurchanseSetData.Props\r\n ) {\r\n try {\r\n this.isLoading = true;\r\n const result = await this.articleStore.readCustomerInvitePurchange({\r\n orderID: props?.orderID,\r\n });\r\n return result;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n @Mobx.action public async cancelInvite(props: Store.cancelInvite.Props) {\r\n try {\r\n this.isLoading = true;\r\n const result = await this.addCustomerService.cancelInvite(props);\r\n return result;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async unAssignAll(props: Store.unassignAll.Props) {\r\n try {\r\n this.isLoading = true;\r\n const result = await this.addCustomerService.unAssignAll(props);\r\n return result;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async cancelInviteForSingleLicense(\r\n props: Store.cancelInviteForSingleLicense.Props\r\n ) {\r\n try {\r\n this.isLoading = true;\r\n const result = await this.addCustomerService.cancelInviteForSingleLicense(\r\n props\r\n );\r\n return result;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport Numeral from \"numeral\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Containers from \"src/app/containers\";\r\nimport * as Models from \"src/models\";\r\nimport * as DateFns from \"date-fns\";\r\nimport * as Components from \"src/app/components\";\r\n\r\nexport declare namespace Card {\r\n export interface Props {\r\n order: Models.Order.Main;\r\n handleClick?(props: { orderId: number | string , OrderedOn: any }): void;\r\n \r\n }\r\n}\r\n// eslint-disable-next-line no-redeclare\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Card({ order, handleClick }: Card.Props) {\r\n const [language,setLanguage] = React.useState('en-IN');\r\n const { i18n } = ReactI18next.useTranslation();\r\n const languageValue = i18n.language\r\n React.useEffect(()=>{\r\n if(languageValue === \"en\"){\r\n setLanguage('en-IN')\r\n }else if(languageValue === \"fr\")\r\n {\r\n setLanguage('fr-FR')\r\n }\r\n else{\r\n setLanguage('de-DE')\r\n }\r\n },[languageValue])\r\n const CardInternals = (\r\n <>\r\n \r\n \r\n Order #\r\n \r\n {order.dataFrom === \"webshop\" && order.sageOLReferenceBillID != null && order.sageOLReferenceBillID > 0 && order.assignedTo === \"0\"? order.orderCode+\"-\"+order.sageOLReferenceBillID : order.orderCode}\r\n \r\n }\r\n />\r\n \r\n \r\n \r\n <>\r\n \r\n \r\n Status\r\n \r\n \r\n \r\n {/* {DateFns.format(new Date(order.orderedOn), \"dd.MM.yyyy\")} */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n \r\n \r\n return (\r\n \r\n {handleClick ? (\r\n handleClick({ orderId: order.orderID,OrderedOn: order.orderedOn})}\r\n >\r\n {CardInternals}\r\n \r\n ) : (\r\n CardInternals\r\n )}\r\n \r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Order from \"src/app/pages/order\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport * as Services from \"src/services\";\r\nimport * as App from \"src/app\";\r\nimport * as Constants from \"src/constants\";\r\nimport { CustomerDetail } from \"src/app/routes/dealer\";\r\nimport { Pages } from \"@material-ui/icons\";\r\nimport { Card } from \"../card\";\r\n\r\ninterface Data extends Models.Order.Main {}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\nexport declare namespace Cards {\r\n export interface Props {\r\n orders: Models.Order.Main[];\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Cards({ orders }: Cards.Props) {\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n\r\n const [orderId, setOrderId] = React.useState();\r\n const [orderCode, setOrderCode] = React.useState();\r\n const [orderDetailsDialogOpen, setOrderDetailsDialogOpen] = React.useState<\r\n boolean\r\n >(false);\r\n const [orderedOn,setOrderedOn] = React.useState();\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(16);\r\n const orderServices = new Services.Order({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [orders]);\r\n \r\n React.useEffect(() => {\r\n (async function () {\r\n const uid = userStore.user?.ETUID;\r\n if (!orderId) {\r\n return;\r\n }\r\n\r\n try {\r\n const {\r\n result: [order],\r\n } = await orderServices.getData({\r\n body: { id: orderId, cid: uid },\r\n });\r\n \r\n var {result} = await orderServices.getData({\r\n body: { id: orderId, cid: uid },\r\n });\r\n\r\n //overAllStatus = 3 -- > Order completely returned\r\n if(result.find((k:any)=>k.status === 3)){\r\n order.overAllStatus = 3\r\n var partialReturnOrderObjectForStatus3 = result.find((k:any)=>k.status === 2);\r\n partialReturnOrderObjectForStatus3?.orderDetails.map((k:any)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q:any)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n } \r\n //overAllStatus = 2 -- > Order paretially returned\r\n else if(result.find((k:any)=>k.status === 4)){\r\n order.overAllStatus = 4\r\n var partialReturnOrderObjectForStatus4 = result.find((k:any)=>k.status === 2);\r\n partialReturnOrderObjectForStatus4?.orderDetails.map((k:any)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q:any)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n // \r\n \r\n } \r\n else if(result.find((k:any)=>k.status === 5)){\r\n order.overAllStatus = 5\r\n var partialReturnOrderObjectForStatus5 = result.find((k:any)=>k.status === 2);\r\n partialReturnOrderObjectForStatus5?.orderDetails.map((k:any)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q:any)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n // \r\n \r\n } \r\n //overAllStatus = 1 -- > Order paretially returned Order with no return\r\n else{\r\n order.overAllStatus = 1\r\n }\r\n \r\n setOrders(order);\r\n \r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [orderDetailsDialogOpen]);\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n const useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n \r\n title: {\r\n flexGrow: 1,\r\n },\r\n })\r\n);\r\n\r\nconst key = 'orderCode';\r\nconst [order, setOrders] = React.useState();\r\n\r\nconst orderArrayUniqueByKey = [...new Map(orders.map(item =>\r\n [item[key], item])).values()];\r\n\r\n // \r\nconst classes = useStyles();\r\n return (\r\n <>\r\n setOrderDetailsDialogOpen(false)}\r\n content={}\r\n title={\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n Order details\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n actions={\r\n <>\r\n setOrderDetailsDialogOpen(false)}>\r\n CLOSE\r\n \r\n {\r\n window.print();\r\n }}\r\n >\r\n Print\r\n \r\n \r\n }\r\n />\r\n\r\n \r\n {stableSort(orderArrayUniqueByKey as any, getComparator(\"asc\", \"orderCode\"))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((order, index) => (\r\n \r\n {\r\n setOrderDetailsDialogOpen(true);\r\n setOrderId(orderId);\r\n setOrderCode(order.orderCode)\r\n setOrderedOn(OrderedOn)\r\n }}\r\n order={(order as unknown) as Models.Order.Main}\r\n />\r\n \r\n ))}\r\n {orders.length === 0 && (\r\n \r\n \r\n No orders found\r\n \r\n \r\n )}\r\n \r\n {orders.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n );\r\n}\r\n","import * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Details {\r\n export interface Props {\r\n orderId?: string | number;\r\n cid?: string | number;\r\n orderCode?: string | number | undefined;\r\n orderedOn?: string | number ;\r\n isDealer?: boolean ;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Details = Mobx.observer(function ({\r\n orderedOn,\r\n orderId,\r\n cid,\r\n orderCode,\r\n isDealer = false,\r\n}: Details.Props) {\r\n const [order, setOrder] = React.useState();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const uid = userStore.user?.ETUID;\r\n const orderServices = new Services.Order({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n React.useEffect(() => {\r\n (async function () {\r\n // \r\n if (!orderId) {\r\n return;\r\n }\r\n\r\n try {\r\n //alert('Order');\r\n const {\r\n result: [order],\r\n } = await orderServices.getData({\r\n body: { id: orderId, cid: cid },\r\n });\r\n \r\n var {result} = await orderServices.getData({\r\n body: { id: orderId, cid: cid },\r\n });\r\n\r\n //overAllStatus = 3 -- > Order completely returned\r\n if(result.find(k=>k.status === 3)){\r\n order.overAllStatus = 3\r\n var partialReturnOrderObjectForStatus3 = result.find(k=>k.status === 2);\r\n partialReturnOrderObjectForStatus3?.orderDetails.map((k)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n } \r\n\r\n //overAllStatus = 2 -- > Order paretially returned\r\n else if(result.find(k=>k.status === 4)){\r\n order.overAllStatus = 4\r\n var partialReturnOrderObjectForStatus4 = result.find(k=>k.status === 2);\r\n partialReturnOrderObjectForStatus4?.orderDetails.map((k)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n // \r\n \r\n } \r\n else if(result.find(k=>k.status === 5)){\r\n order.overAllStatus = 5\r\n var partialReturnOrderObjectForStatus5 = result.find(k=>k.status === 2);\r\n partialReturnOrderObjectForStatus5?.orderDetails.map((k)=>{\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q)=>{\r\n if(q.setID === k.setID ){\r\n q.returnQuantity = k.quantity\r\n }\r\n })\r\n })\r\n // \r\n \r\n } \r\n //overAllStatus = 1 -- > Order paretially returned Order with no return\r\n else{\r\n order.overAllStatus = 1\r\n }\r\n \r\n setOrder(order);\r\n \r\n localStorage.setItem(\"orderStatus\",JSON.stringify(order.overAllStatus))\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n return (\r\n <>\r\n \r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport SwipeableViews from \"react-swipeable-views\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as DateFns from \"date-fns\";\r\nimport * as Containers from \"src/app/containers\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport { makeStyles, Theme } from \"@material-ui/core\";\r\nimport * as CustomerDetail from \"src/app/pages/dealercustomer/customerdetail\";\r\nimport { withStyles } from \"@material-ui/core\";\r\nimport * as Services from \"src/services\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as MuiIcon from \"@material-ui/icons\";\r\n\r\ninterface Data extends Models.Order.Main {}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: ReturnType;\r\n numSelected: number;\r\n onRequestSort: (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => void;\r\n onSelectAllClick: (event: React.ChangeEvent) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowCount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(\r\n props: EnhancedTableProps & {\r\n id: string;\r\n label: string;\r\n numeric?: boolean;\r\n disablePadding?: boolean;\r\n leftmost?: boolean;\r\n rightmost?: boolean;\r\n }\r\n) {\r\n const { classes, order, orderBy, onRequestSort, ...restOfProps } = props;\r\n const createSortHandler =\r\n (property: keyof Data) => (event: React.MouseEvent) => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n {props.label}\r\n {orderBy === props.id ? (\r\n \r\n {order === \"desc\" ? \"sorted descending\" : \"sorted ascending\"}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n width: \"100%\",\r\n },\r\n paper: {\r\n width: \"100%\",\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: \"rect(0 0 0 0)\",\r\n height: 1,\r\n margin: -1,\r\n overflow: \"hidden\",\r\n padding: 0,\r\n position: \"absolute\",\r\n top: 20,\r\n width: 1,\r\n },\r\n title: {\r\n flexGrow: 1,\r\n },\r\n })\r\n);\r\n\r\nfunction EnhancedTable({ rows, cid }: { rows: Models.Order.Main[]; cid: any }) {\r\n const classes = useStyles();\r\n const [order, setOrder] = React.useState(\"asc\");\r\n const [orderedOn, setOrderedOn] = React.useState();\r\n const [orderBy, setOrderBy] = React.useState(\"orderCode\");\r\n const [selected, setSelected] = React.useState([]);\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(7);\r\n const [orderId, setOrderId] = React.useState();\r\n const [orderCode, setOrderCode] = React.useState();\r\n const [orderDetailsDialogOpen, setOrderDetailsDialogOpen] =\r\n React.useState(false);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const uid = userStore.user?.ETUID;\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [rows]);\r\n const key = \"orderCode\";\r\n\r\n const orderArrayUniqueByKey = [\r\n ...new Map(rows.map((item) => [item[key], item])).values(),\r\n ];\r\n const handleRequestSort = (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => {\r\n setPage(0);\r\n const isAsc = orderBy === property && order === \"asc\";\r\n setOrder(isAsc ? \"desc\" : \"asc\");\r\n setOrderBy(property);\r\n };\r\n \r\n\r\n const orderDetaile = rows;\r\n var keys = [\"setName\"];\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelecteds = rows.map((n) => n.orderCode);\r\n setSelected(newSelecteds);\r\n return;\r\n }\r\n setSelected([]);\r\n };\r\n\r\n const handleClick = (event: React.MouseEvent, name: string) => {\r\n const selectedIndex = selected.indexOf(name);\r\n let newSelected: string[] = [];\r\n\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(selected, name);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(selected.slice(1));\r\n } else if (selectedIndex === selected.length - 1) {\r\n newSelected = newSelected.concat(selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n selected.slice(0, selectedIndex),\r\n selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n\r\n setSelected(newSelected);\r\n };\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n\r\n const isSelected = (name: string) => selected.indexOf(name) !== -1;\r\n\r\n const emptyRows =\r\n rowsPerPage - Math.min(rowsPerPage, rows.length - page * rowsPerPage);\r\n\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n\r\n const HtmlTooltip = withStyles((theme) => ({\r\n tooltip: {\r\n backgroundColor: \"#f5f5f9\",\r\n color: \"rgba(0, 0, 0, 0.87)\",\r\n maxWidth: 300,\r\n fontSize: theme.typography.pxToRem(16),\r\n border: \"2px solid #dadde9\",\r\n },\r\n }))(Mui.Tooltip);\r\n const [language, setLanguage] = React.useState(\"en-IN\");\r\n const { i18n } = ReactI18next.useTranslation();\r\n const languageValue = i18n.language;\r\n const [orders, setOrders] = React.useState();\r\n const orderServices = new Services.Order({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n React.useEffect(() => {\r\n (async function () {\r\n // \r\n if (!orderId) {\r\n return;\r\n }\r\n\r\n try {\r\n //alert('Order');\r\n const {\r\n result: [order],\r\n } = await orderServices.getData({\r\n body: { id: orderId, cid: cid },\r\n });\r\n\r\n var { result } = await orderServices.getData({\r\n body: { id: orderId, cid: cid },\r\n });\r\n\r\n //overAllStatus = 3 -- > Order completely returned\r\n if (result.find((k: any) => k.status === 3)) {\r\n order.overAllStatus = 3;\r\n var partialReturnOrderObjectForStatus3 = result.find(\r\n (k: any) => k.status === 2\r\n );\r\n partialReturnOrderObjectForStatus3?.orderDetails.map((k: any) => {\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q: any) => {\r\n if (q.setID === k.setID) {\r\n q.returnQuantity = k.quantity;\r\n }\r\n });\r\n });\r\n }\r\n //overAllStatus = 2 -- > Order paretially returned\r\n else if (result.find((k: any) => k.status === 4)) {\r\n order.overAllStatus = 4;\r\n var partialReturnOrderObjectForStatus4 = result.find(\r\n (k: any) => k.status === 2\r\n );\r\n partialReturnOrderObjectForStatus4?.orderDetails.map((k: any) => {\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q: any) => {\r\n if (q.setID === k.setID) {\r\n q.returnQuantity = k.quantity;\r\n }\r\n });\r\n });\r\n // \r\n } else if (result.find((k: any) => k.status === 5)) {\r\n order.overAllStatus = 5;\r\n var partialReturnOrderObjectForStatus5 = result.find(\r\n (k: any) => k.status === 2\r\n );\r\n partialReturnOrderObjectForStatus5?.orderDetails.map((k: any) => {\r\n // eslint-disable-next-line array-callback-return\r\n order.orderDetails.map((q: any) => {\r\n if (q.setID === k.setID) {\r\n q.returnQuantity = k.quantity;\r\n }\r\n });\r\n });\r\n // \r\n }\r\n //overAllStatus = 1 -- > Order paretially returned Order with no return\r\n else {\r\n order.overAllStatus = 1;\r\n }\r\n \r\n setOrders(order);\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [orderDetailsDialogOpen]);\r\n // \r\n React.useEffect(() => {\r\n if (languageValue === \"en\") {\r\n setLanguage(\"en-IN\");\r\n } else if (languageValue === \"fr\") {\r\n setLanguage(\"fr-FR\");\r\n } else {\r\n setLanguage(\"de-DE\");\r\n }\r\n }, [languageValue]);\r\n\r\n return (\r\n
\r\n {/* setOrderDetailsDialogOpen(false)}\r\n title={t(\"Order details\")}\r\n contentText={}\r\n actions={\r\n <>\r\n window.print()}\r\n >\r\n Print\r\n \r\n setOrderDetailsDialogOpen(false)}\r\n >\r\n Close\r\n \r\n \r\n }\r\n /> */}\r\n setOrderDetailsDialogOpen(false)}\r\n content={\r\n \r\n }\r\n title={\r\n <>\r\n \r\n \r\n \r\n \r\n Order details\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n actions={\r\n <>\r\n setOrderDetailsDialogOpen(false)}\r\n >\r\n CLOSE\r\n \r\n {\r\n window.print();\r\n }}\r\n >\r\n Print\r\n \r\n \r\n }\r\n />\r\n {/* */}\r\n \r\n \r\n {rows.length > 0 && (\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 {stableSort(\r\n orderArrayUniqueByKey as any,\r\n getComparator(order, orderBy)\r\n )\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((row, index) => {\r\n const isItemSelected = isSelected(row.orderCode as string);\r\n const labelId = `enhanced-table-checkbox-${index}`;\r\n const grossTotalPriceInclVAT: any = row.grossTotalPriceInclVAT;\r\n const totalPrice =\r\n row?.vatTaxPercent === 0\r\n ? (19 / 100) * grossTotalPriceInclVAT +\r\n +grossTotalPriceInclVAT\r\n : row.grossTotalPriceInclVAT;\r\n const assignedDetails =\r\n row.assignedTo === \"0\" ? \"KERN\" : \"Dealer\";\r\n return (\r\n {\r\n handleClick(event, row.orderCode as string);\r\n setOrderCode(row.orderCode);\r\n setOrderedOn(row.orderedOn);\r\n setOrderId(row.orderID);\r\n setOrderDetailsDialogOpen(true);\r\n }}\r\n aria-checked={isItemSelected}\r\n tabIndex={-1}\r\n key={row.orderCode}\r\n\r\n >\r\n \r\n {row.dataFrom === \"webshop\" &&\r\n row.sageOLReferenceBillID != null &&\r\n row.sageOLReferenceBillID > 0 &&\r\n row.assignedTo === \"0\"\r\n ? row.orderCode + \"-\" + row.sageOLReferenceBillID\r\n : row.orderCode}\r\n \r\n \r\n {DateFns.format(new Date(row.orderedOn), \"dd.MM.yyyy\")}\r\n \r\n \r\n {row.dataFrom === \"webshop\" && row.assignedTo === \"0\"\r\n ? \"\"\r\n : row.userFirstName + \" \" + row.userLastName}\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 {rows.length === 0 && (\r\n \r\n \r\n \r\n \r\n \r\n No orders found\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {emptyRows > 0 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n {rows.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n
\r\n );\r\n}\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const [searchOrder, setSearchOrder] = React.useState(\"\");\r\n const [searchUser, setSearchUser] = React.useState(\"\");\r\n const [searchOrderLicense, setSearchOrderLicense] =\r\n React.useState(\"\");\r\n const [searchOrderDevice, setSearchOrderDevice] = React.useState(\"\");\r\n const theme = Mui.useTheme();\r\n const importDealerStore = React.useContext(App.Contexts.importDealerStore);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const orderStore = React.useContext(App.Contexts.orderStore);\r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n const addCustomerStore = React.useContext(App.Contexts.addCustomerStore);\r\n const [searchParams] = Router.useSearchParams();\r\n var searchParam = searchParams.get(\"q\");\r\n var searchParamCustomerID = searchParams.get(\"m\");\r\n React.useEffect(() => {\r\n const uid = userStore.user?.ETUID;\r\n const userRole = \"customer\";\r\n if (uid !== undefined && uid !== null) {\r\n dCustomerStore.read({\r\n uid,\r\n userRole,\r\n });\r\n }\r\n\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [searchParams]);\r\n React.useEffect(() => {\r\n const uid = searchParam;\r\n const userRole = \"customer\";\r\n if (\r\n userRole === \"customer\" ||\r\n userRole === \"dealer\" ||\r\n userRole === \"admin\" ||\r\n userRole === \"superadmin\"\r\n ) {\r\n if (uid !== undefined && uid !== null) {\r\n orderStore.read({\r\n uid,\r\n userRole,\r\n });\r\n }\r\n }\r\n importDealerStore.readUsers({ searchtext: \"All\"});\r\n localStorage.removeItem(\"namedatad\");\r\n let dealer: any;\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n let searchHighlight: Boolean = false;\r\n const getSearchHighlight = (highlightFlag: boolean) => {\r\n searchHighlight = highlightFlag;\r\n return highlightFlag;\r\n };\r\n const handleSearchUser = (event: any) => {\r\n // \r\n setSearchUser(event.target.value);\r\n };\r\n const handleSearchOrder = (event: any) => {\r\n // \r\n setSearchOrder(event.target.value);\r\n };\r\n const customerName: any = dCustomerStore?.delaerCustomer\r\n ?.filter((k) => k.customerID === searchParamCustomerID)\r\n ?.map((k) => k.customerName);\r\n \r\n const emailID = dCustomerStore?.delaerCustomer\r\n ?.filter((k) => k.customerID === searchParamCustomerID)\r\n ?.map((k) => k.emailID);\r\n const dealerCustomerID = dCustomerStore?.delaerCustomer\r\n ?.filter((k) => k.customerID === searchParamCustomerID)\r\n ?.map((k) => k.customerDealerID);\r\n const etUserStatus: any = dCustomerStore?.delaerCustomer\r\n ?.filter((k) => k.customerID === searchParamCustomerID)\r\n ?.map((k) => k.etUserStatus);\r\n const companyName: any = dCustomerStore?.delaerCustomer\r\n ?.filter((k) => k.customerID === searchParamCustomerID)\r\n ?.map((k) => k.companyName);\r\n const fullName = customerName[0] === undefined ? \"\" : customerName[0].toString();\r\n const statusConversion = parseInt(etUserStatus.toString());\r\n const userRoleName = userStore.user?.RoleName;\r\n // \r\n const [state, setState] = React.useState();\r\n const { t } = ReactI18next.useTranslation();\r\n function a11yProps(index: any) {\r\n return {\r\n id: `full-width-tab-${index}`,\r\n \"aria-controls\": `full-width-tabpanel-${index}`,\r\n };\r\n }\r\n function a12yProps(index: any) {\r\n return {\r\n id: `full-width-tab-${index}`,\r\n \"aria-controls\": `full-width-tabpanel-${index}`,\r\n };\r\n }\r\n const useStyles = makeStyles((theme: Theme) => ({\r\n root: {\r\n backgroundColor: theme.palette.background.paper,\r\n borderRadius: \"10px\",\r\n },\r\n link: {\r\n display: \"flex\",\r\n },\r\n icon: {\r\n color: theme.palette.text.secondary,\r\n marginRight: theme.spacing(0.5),\r\n width: 20,\r\n height: 20,\r\n },\r\n }));\r\n const classes = useStyles();\r\n const [value, setValue] = React.useState(0);\r\n interface TabPanelProps {\r\n children?: React.ReactNode;\r\n dir?: string;\r\n index: any;\r\n value: any;\r\n }\r\n\r\n function TabPanel(props: TabPanelProps) {\r\n const { children, value, index, ...other } = props;\r\n\r\n return (\r\n
\r\n \r\n {isNextHide && \r\n \r\n >\">\r\n Next{' '} {'>> '}\r\n \r\n \r\n }\r\n \r\n {flagForField &&\r\n }\r\n \r\n \r\n {flagForField &&\r\n }\r\n \r\n \r\n {flagForField && }\r\n \r\n {!displayLabel && !ManageCustomerGridDisplay && (\r\n isNextHide ? <> : \r\n \r\n >\">\r\n Next{' '} {'>> '}\r\n \r\n \r\n \r\n \r\n Change customer\r\n \r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n \r\n {(displayLabel || ManageCustomerGridDisplay) && (\r\n \r\n \r\n \r\n )}\r\n {(displayLabel || ManageCustomerGridDisplay) && (\r\n <>\r\n \r\n \r\n \r\n {articleStoreQuantityCheck.length >\r\n 0 && (\r\n \r\n \r\n Select the license(s)\r\n \r\n {/* Select the article */}\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 Information!\r\n \r\n \r\n \r\n\r\n \r\n \r\n  Great! customer selection is completed. The system shows licenses available to be purchased in your stock as the\r\n   \r\n green indicator is for available and the\r\n   \r\n red indicator to be purchased.
\r\n
\r\n As a next step, Please assign the licenses by selecting the required licenses.\r\n \r\n
\r\n
\r\n \r\n {\r\n setSelectionCompleteDialog(false)\r\n }}\r\n variant=\"contained\"\r\n color=\"primary\"\r\n style={{\r\n height: \"32px\",\r\n width: \"150px\",\r\n marginBottom: \"12px\",\r\n marginTop: \"12px\",\r\n }}\r\n >\r\n \r\n Ok\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n\r\n {/* Load the POP message */}\r\n \r\n {\"\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n Information\r\n \r\n \r\n \r\n\r\n \r\n \r\n {customerType == 3\r\n ? t(\"Customer Invite has already sent to the user, Do you want to add more licenses\")+\" \"+\"?\"\r\n : customerType == 4\r\n ? t(\"The user was already mapped to other dealer or the user will be Admin or Dealer, please try again with some other user\")\r\n : customerType == 5\r\n \r\n ? Another dealer has been successfully sent the customer invites to this customer \r\n { \" \"} { mailID} \r\n Once the customer accepts the invite and onboard to ETLicense, you can assign more licenses to the customer. please try again with some other user\r\n \r\n : customerType == 2\r\n ? t(\"The Email ID of the customer was already having the Kern Id, customer can log in to Easy Touch License using the same email Id, Do you want to continue?\")\r\n : customerType == 7\r\n ? t(\"This is an existing customer in Easy Touch License system, Do you want to add more licenses\")\r\n : customerType == 6\r\n ? t(\"This is an existing customer in Easy Touch License system, The user was already mapped to other dealer\")\r\n : t(\"This is an existing customer in Easy Touch License system, Do you want to associate the customer with your company\")}\r\n \r\n \r\n \r\n \r\n {customerType > 3 && customerType != 7 ? null : (\r\n \r\n Yes\r\n \r\n )}\r\n {customerType > 3 && customerType != 7 ? null : (\r\n \r\n No\r\n \r\n )}\r\n {customerType > 3 && customerType != 7 && (\r\n \r\n Ok\r\n \r\n )}\r\n \r\n \r\n \r\n );\r\n});\r\ninterface Props {\r\n /**\r\n * Injected by the documentation to work in an iframe.\r\n * You won't need it on your project.\r\n */\r\n value?: boolean;\r\n}\r\nconst AvailableArticles = Mobx.observer((props: Props) => {\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const cartStore = React.useContext(App.Contexts.cartStore);\r\n const { t } = ReactI18next.useTranslation();\r\n const useStyles = Mui.makeStyles((theme) => ({\r\n message: {\r\n width: \"100%\",\r\n },\r\n root:\r\n theme.palette.type === \"light\"\r\n ? {\r\n backgroundColor: theme.palette.grey[300],\r\n color: theme.palette.primary.main,\r\n }\r\n : {},\r\n }));\r\n const [searchParams] = Router.useSearchParams();\r\n var navigationFromManageCustomer = searchParams.get(\"q\");\r\n const [flagForBasic, setFlagForBasic] = React.useState(false);\r\n const homeStore = React.useContext(App.Contexts.homeStore);\r\n const handleSelect = ({ article }: { article: Models.Set.Article }) => {\r\n \r\n let validationData = [];\r\n let dashboardReplica:any = [];\r\n dashboardReplica = homeStore.dashboard?.licenseSummary ?? [];\r\n \r\n for (var i = 0; i < dashboardReplica.length; i++) {\r\n dashboardReplica[i].totalQuantity = +dashboardReplica[i].totalQuantity;\r\n }\r\n const dash = dashboardReplica.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.totalQuantity / 4,\r\n setName: k.setName\r\n }\r\n })\r\n \r\n \r\n \r\n let customerInviteStores:any = Array.from(customerInviteStore.article.values())\r\n \r\n if(customerInviteStores !== undefined){\r\n for (var j = 0; j < customerInviteStores.length; j++) {\r\n customerInviteStores[j].quantity = +customerInviteStores[j].quantity;\r\n customerInviteStores[j].availableQuantity = +customerInviteStores[j].availableQuantity;\r\n }\r\n }\r\n const customerInviteStoress = customerInviteStores.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.quantity,\r\n setName: k.setName,\r\n availableQuantity: k.availableQuantity\r\n }\r\n })\r\n \r\n if(dashboardReplica.length > 0 && customerInviteStoress.length > 0){\r\n const result = Object.values([...customerInviteStoress, ...dash].reduce((acc, { hundCode, totalQuantity,setName }) => {\r\n acc[hundCode] = { hundCode, totalQuantity: (acc[hundCode] ? acc[hundCode].totalQuantity : 0) + totalQuantity,setName };\r\n return acc;\r\n }, {}));\r\n validationData = result;\r\n \r\n \r\n }\r\n else if(dashboardReplica.length > 0 && (customerInviteStoress.length === 0 || customerInviteStoress === undefined )){\r\n const dash = dashboardReplica.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.totalQuantity / 4,\r\n setName: k.setName\r\n }\r\n })\r\n validationData = dash\r\n }\r\n else if((dashboardReplica.length === 0 || dashboardReplica === undefined ) && customerInviteStoress.length > 0){\r\n const inviteStore = customerInviteStoress.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.totalQuantity,\r\n setName: k.setName,\r\n availableQuantity: k.availableQuantity\r\n }\r\n })\r\n validationData = inviteStore;\r\n \r\n }\r\n else\r\n {\r\n validationData = [];\r\n }\r\n \r\n for(var m = 0; m < validationData.length; m++){\r\n if(validationData[m].hundCode === article.hundCode){\r\n validationData[m].totalQuantity = validationData[m].totalQuantity + 1;\r\n }\r\n \r\n }\r\n \r\n const validationCheckfilter = validationData.filter((k:any)=>k.hundCode === article.hundCode)\r\n if(validationCheckfilter.length > 0){\r\n \r\n \r\n }else{\r\n \r\n \r\n validationData.push({\r\n hundCode: article.hundCode,\r\n totalQuantity: 1,\r\n setName: article.setName\r\n })\r\n }\r\n \r\n \r\n const filteringSelectedArticleQuantity = validationData.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.totalQuantity)\r\n const filteringBasicSetQuantity= validationData.filter((k:any)=>k.hundCode === \"SET-01\").map((k:any)=>k.totalQuantity)\r\n \r\n if(article.hundCode === \"SET-01\"){\r\n \r\n const quantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.totalQuantity)[0]\r\n const availableQuantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.availableQuantity)[0]\r\n customerInviteStore.increaseProductQuantity({\r\n article,\r\n });\r\n if((quantityOfInvite + +1) - availableQuantityOfInvite > 0){\r\n \r\n }\r\n const FilteringSelectedArticleQuantityisZeroChecks = filteringSelectedArticleQuantity.length === 0 || filteringSelectedArticleQuantity.length === undefined || filteringSelectedArticleQuantity.length === null ? 0 : filteringSelectedArticleQuantity[0]\r\n const FilteringBasicSetQuantityisZeroChecks = filteringBasicSetQuantity.length === 0 || filteringBasicSetQuantity.length === undefined || filteringBasicSetQuantity.length === null ? 0 : filteringBasicSetQuantity[0]\r\n \r\n const checkForAddToCart = FilteringSelectedArticleQuantityisZeroChecks <= (FilteringBasicSetQuantityisZeroChecks - 1)\r\n if (customerInviteStore.selected.includes(article.setID)) \r\n {\r\n if(checkForAddToCart){\r\n customerInviteStore.removeProduct({ article: article });\r\n }\r\n else\r\n {\r\n enqueueSnackbar(\r\n t(`Basic Set cannot be removed because it has dependent with other article`),\r\n {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n return false;\r\n }\r\n }\r\n }\r\n else if(article.hundCode !== \"SET-01\"){\r\n \r\n const FilteringSelectedArticleQuantityisZeroChecks = filteringSelectedArticleQuantity.length === 0 || filteringSelectedArticleQuantity.length === undefined || filteringSelectedArticleQuantity.length === null ? 0 : filteringSelectedArticleQuantity[0]\r\n const FilteringBasicSetQuantityisZeroChecks = filteringBasicSetQuantity.length === 0 || filteringBasicSetQuantity.length === undefined || filteringBasicSetQuantity.length === null ? 0 : filteringBasicSetQuantity[0]\r\n \r\n const checkForAddToCart = FilteringSelectedArticleQuantityisZeroChecks <= FilteringBasicSetQuantityisZeroChecks \r\n \r\n const inviteStore = customerInviteStoress.map((k:any)=>{\r\n return {\r\n hundCode: k.hundCode,\r\n totalQuantity: k.totalQuantity,\r\n setName: k.setName,\r\n availableQuantity: k.availableQuantity\r\n }\r\n })\r\n const filteringBasicSetQuantityAutomateBasicAdd= inviteStore.filter((k:any)=>k.hundCode === \"SET-01\").map((k:any)=>k.totalQuantity)\r\n const FilteringBasicSetQuantityAutomateBasicAddInvite = filteringBasicSetQuantityAutomateBasicAdd.length === 0 || filteringBasicSetQuantity.length === undefined || filteringBasicSetQuantity.length === null ? 0 : filteringBasicSetQuantity[0]\r\n let isEnableBasicset = false;\r\n if((FilteringBasicSetQuantityisZeroChecks === 0 )&& (FilteringBasicSetQuantityAutomateBasicAddInvite === 0)){\r\n isEnableBasicset = true\r\n const articled:any = customerInviteStore.selectedArticle.filter((k:any) => k.hundCode === \"SET-01\")\r\n \r\n const articles = Object.assign({}, ...articled);\r\n customerInviteStore.increaseProductQuantity({\r\n article,\r\n });\r\n \r\n const quantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.totalQuantity)[0]\r\n const availableQuantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.availableQuantity)[0]\r\n \r\n if((quantityOfInvite + +1) - availableQuantityOfInvite > 0){\r\n \r\n \r\n }\r\n }else{\r\n isEnableBasicset = false\r\n }\r\n \r\n if((checkForAddToCart === true)|| (isEnableBasicset === true)){\r\n customerInviteStore.increaseProductQuantity({\r\n article,\r\n });\r\n \r\n const quantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.totalQuantity)[0]\r\n const availableQuantityOfInvite = customerInviteStoress.filter((k:any)=>k.hundCode === article.hundCode).map((k:any)=>k.availableQuantity)[0]\r\n \r\n if((quantityOfInvite + +1) - availableQuantityOfInvite > 0){\r\n \r\n \r\n }else{\r\n \r\n }\r\n \r\n }\r\n else\r\n {\r\n \r\n if (customerInviteStore.selected.includes(article.setID)) \r\n {\r\n customerInviteStore.removeProduct({ article: article });\r\n }else{\r\n enqueueSnackbar(\r\n t(`Basic Set cannot be lesser than the other article, please add Basic Set`),\r\n {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n return false;\r\n }\r\n \r\n }\r\n \r\n }\r\n\r\n if(article?.olPrice?.singleNetPrice?.toString() === \"0.0\" || article?.olPrice?.singleNetPrice?.toString() === \"0\" || article.olPrice.singleNetPrice === null){\r\n enqueueSnackbar(t(\"This article will not be available for purchase at this time\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n return false;\r\n }\r\n const basicResponses = localStorage.getItem(\"Basicset\");\r\n if (customerInviteStore.selected.includes(article.setID)) {\r\n customerInviteStore.removeProduct({ article: article });\r\n if((basicResponses === \"0\" || basicResponses === \"undefined\") && article.setID ===1){\r\n \r\n } else {\r\n cartStore.removeProduct({ product: article });\r\n }\r\n\r\n } else {\r\n customerInviteStore.addProduct({ article: article });\r\n }\r\n\r\n\r\n const custMailResponseLengthCheck = localStorage.getItem(\r\n \"responseOfCustMail\"\r\n );\r\n const articled = customerInviteStore.getArticlesFromLicenses.filter(\r\n (k) => k.setID == 1\r\n );\r\n const articles = Object.assign({}, ...articled);\r\n const inviteStoreCheck = Array.from(customerInviteStore.article.values());\r\n const inviteStoreLengthCheck = inviteStoreCheck.length;\r\n const customerType = localStorage.getItem(\"customerType\");\r\n let convertCustomerType = Number(customerType);\r\n\r\n const selectedIndex = customerInviteStore.selected.indexOf(article.setID);\r\n let newSelected: number[] = [];\r\n let newRowSelected: Models.Set.Article[] = [];\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(\r\n customerInviteStore.selected,\r\n article.setID\r\n );\r\n newRowSelected = newRowSelected.concat(\r\n customerInviteStore.selectedArticle,\r\n article\r\n );\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(customerInviteStore.selected.slice(1));\r\n newRowSelected = newRowSelected.concat(\r\n customerInviteStore.selectedArticle.slice(1)\r\n );\r\n } else if (selectedIndex === customerInviteStore.selected.length - 1) {\r\n newSelected = newSelected.concat(\r\n customerInviteStore.selected.slice(0, -1)\r\n );\r\n newRowSelected = newRowSelected.concat(\r\n customerInviteStore.selectedArticle.slice(0, -1)\r\n );\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n customerInviteStore.selected.slice(0, selectedIndex),\r\n customerInviteStore.selected.slice(selectedIndex + 1)\r\n );\r\n newRowSelected = newRowSelected.concat(\r\n customerInviteStore.selectedArticle.slice(0, selectedIndex),\r\n customerInviteStore.selectedArticle.slice(selectedIndex + 1)\r\n );\r\n }\r\n\r\n customerInviteStore.setArticleSelected({ selectedArticle: newRowSelected });\r\n customerInviteStore.setSelected({ selected: newSelected });\r\n //\r\n if (convertCustomerType === null || convertCustomerType === undefined) {\r\n convertCustomerType = 0;\r\n }\r\n const basicResponse = localStorage.getItem(\"Basicset\");\r\n const addingBasicSetForNewCustomerToInviteSummary =\r\n convertCustomerType < 3 &&\r\n navigationFromManageCustomer === null &&\r\n (basicResponse === \"0\" || basicResponse === \"undefined\")\r\n ? (() => {\r\n customerInviteStore.addProduct({ article: articles });\r\n let selected: number = 1;\r\n let seelectedValues = customerInviteStore.selected.push(selected)\r\n // \r\n })()\r\n\r\n : \"\";\r\n\r\n const purchaseEnableFromInviteCustomer = customerInviteStore.selectedArticle\r\n .map((k) => k.availableQuantity)\r\n .some((k) => (k == 0 ? true : false));\r\n localStorage.setItem(\r\n \"isCustomerInvitePurchase\",\r\n JSON.stringify(purchaseEnableFromInviteCustomer)\r\n );\r\n\r\n const customerInviteToCart = customerInviteStore.selectedArticle.filter(\r\n (k: Models.Set.Article) => k.availableQuantity // {\r\n \r\n );\r\n const storealert = localStorage.getItem(\"isCustomerInvitePurchase\");\r\n const slicer = customerInviteToCart.slice(customerInviteToCart.length - 1);\r\n const checkBasicInCartOrNot = newSelected.includes(article.setID);\r\n slicer.map((k) =>\r\n k.availableQuantity == 0 && checkBasicInCartOrNot\r\n ? (() => {\r\n if((basicResponses === \"0\" || basicResponses === \"undefined\") &&\r\n article.setID === 1 ){\r\n if(customerInviteStore.selected.includes(article.setID)){\r\n \r\n }else if(customerInviteStore.selected.includes(1)){\r\n cartStore.vatTaxPercent = article.vatPercentage;\r\n cartStore.addProduct({ product: article });\r\n }\r\n\r\n }else{\r\n cartStore.vatTaxPercent = article.vatPercentage;\r\n cartStore.addProduct({ product: article });\r\n enqueueSnackbar(t(\"Added to cart!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n }\r\n\r\n\r\n\r\n })()\r\n : \"\"\r\n );\r\n const checkBasic = newSelected.includes(1);\r\n const responseBasicset = localStorage.getItem(\"Basicset\");\r\n const params = new URLSearchParams(window.location.search);\r\n const parameter = params.toString();\r\n if(convertCustomerType < 3 &&\r\n navigationFromManageCustomer === null &&\r\n (responseBasicset === \"0\" || responseBasicset === \"undefined\") &&\r\n articles.availableQuantity == 0 && !flagForBasic && !parameter){\r\n cartStore.vatTaxPercent = article.vatPercentage;\r\n cartStore.addProduct({ product: articles });\r\n let selected: number = 1;\r\n let seelectedValues = customerInviteStore.selected.push(selected) \r\n setFlagForBasic(true);\r\n\r\n }\r\n\r\n };\r\n const customerInviteStore = React.useContext(\r\n App.Contexts.customerInviteStore\r\n );\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const uid = userStore.user?.ETUID as number;\r\n const userRole = userStore.user?.RoleName ?? \"customer\";\r\n const lengthCheck = customerInviteStore.selected.length > 0;\r\n const { i18n } = ReactI18next.useTranslation();\r\n const [disable, setDisable] = React.useState(\r\n lengthCheck ? false : true\r\n );\r\n const [articles, setArticle] = React.useState();\r\n\r\n const theme = Mui.useTheme();\r\n const navigate = Router.useNavigate();\r\n React.useEffect(() => {\r\n licenseStore.readInviteLicense({\r\n body: { status: null, userID: uid },\r\n userRole,\r\n uid,\r\n });\r\n if (!functionStore.functions.length) functionStore.read();\r\n customerInviteStore.readSetFuncations();\r\n if (navigationFromManageCustomer) {\r\n customerInviteStore.resetInviteSummary();\r\n let newSelected: number[] = [];\r\n customerInviteStore.setSelected({\r\n selected: newSelected,\r\n });\r\n }\r\n if(customerInviteStore.getArticlesFromLicenses !== undefined){\r\n \r\n }\r\n }, [\r\n i18n.language,\r\n customerInviteStore,\r\n functionStore,\r\n licenseStore,\r\n navigationFromManageCustomer,\r\n uid,\r\n userRole,\r\n ]);\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const handleAssignLicense = () => {\r\n if (customerInviteStore.selected.length > 0) {\r\n if (navigationFromManageCustomer) {\r\n const fromManageCustomer = \"fromManageCustomer\";\r\n navigate(\r\n `/dealercustomer/addcustomer?q=${fromManageCustomer}`\r\n );\r\n } else {\r\n navigate(`/dealercustomer/addcustomer`);\r\n }\r\n } else {\r\n enqueueSnackbar(\"Please the select article!\", {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n }\r\n \r\n }\r\n React.useEffect(() => {\r\n if(customerInviteStore.getArticlesFromLicenses.length > 0 ){\r\n var licenseSort = customerInviteStore.getArticlesFromLicenses\r\n .sort((a, b) =>{ \r\n if(b.availableQuantity !== null && a.availableQuantity !== null )\r\n { return parseFloat(b.availableQuantity.toString()) - parseFloat(a.availableQuantity.toString())}\r\n else{\r\n return 0\r\n }\r\n })\r\n var filteredArray = licenseSort.filter((k) => k.setID !== 1);\r\n var selectedObject = licenseSort.filter((k) => k.setID === 1);\r\n var licenseArray = [...selectedObject,...filteredArray]\r\n setArticle(licenseArray);\r\n }\r\n \r\n }, [customerInviteStore.getArticlesFromLicenses, customerInviteStore.getArticlesFromLicenses.length]);\r\n \r\n\r\n return (\r\n <>\r\n \r\n {customerInviteStore.getAvailableArticlesFromLicenses.length === 0 && (\r\n \r\n \r\n \r\n )}\r\n {customerInviteStore.getAvailableArticlesFromLicenses.length > 0 &&\r\n customerInviteStore.getFilteredAvailableArticles.length === 0 &&\r\n customerInviteStore.search && (\r\n \r\n \r\n \r\n \r\n No article(s) found\r\n \r\n \r\n No available license(s) found for the search term. Use a \r\n different search term or clear the search to view some available license(s).\r\n \r\n \r\n \r\n )}\r\n {customerInviteStore.getArticlesFromLicenses !== undefined && customerInviteStore.getArticlesFromLicenses.map((article) =>{ \r\n // \r\n return (\r\n \r\n \r\n \r\n (article as Models.Set.Article).functions.includes(\r\n func.setFunctionID\r\n )\r\n )}\r\n handleClick={handleSelect}\r\n article={article}\r\n />\r\n \r\n )})}\r\n \r\n \r\n {customerInviteStore.getAvailableArticlesFromLicenses.length > 0 && (\r\n \r\n\r\n \r\n \r\n Continue\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mobx from \"mobx\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as License from \"src/app/pages/license\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\nimport * as Stores from \"src/stores\";\r\nexport declare namespace Store {\r\n export interface IStore {\r\n isLoading: boolean;\r\n customerInvite: Models.InviteCustomer.Main[];\r\n invitecustomerService: Services.InviteCustomerService;\r\n functions: Models.Set.Function[];\r\n }\r\n export type Options = {\r\n invitecustomerService: Services.InviteCustomerService;\r\n licenseService: Services.License;\r\n licenseStore: License.Store;\r\n articleStore: Article.Store;\r\n userStore: Stores.User;\r\n };\r\n export namespace InviteCustomer {\r\n export interface Props\r\n extends Services.InviteCustomerService.InviteCustomer.Props {}\r\n }\r\n export namespace Read {\r\n export interface Props extends Services.License.GetAllData.Props {}\r\n }\r\n\r\n export namespace ReadAddCustomer {\r\n export interface Props\r\n extends Services.InviteCustomerService.GetAddCustomerAllData.Props {}\r\n }\r\n\r\n export namespace GetAllPurchanseSetData {\r\n export interface Props {\r\n orderID?: string | any;\r\n }\r\n export type Return = Models.API.Response;\r\n }\r\n\r\n export namespace IncreaseProductQuantity {\r\n export interface Props {\r\n article: any;\r\n }\r\n }\r\n\r\n export namespace AddProduct {\r\n export interface Props {\r\n article: any;\r\n }\r\n }\r\n export namespace DecreaseProductQuantity {\r\n export interface Props {\r\n article: any;\r\n }\r\n }\r\n export namespace RemoveProduct {\r\n export interface Props {\r\n article: any;\r\n }\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public article: Map = new Map();\r\n @Mobx.observable public functions: Models.Set.Function[] = [];\r\n @Mobx.observable public addcustomer: Map<\r\n Models.Customer.AddCustomerUser,\r\n any\r\n > = new Map();\r\n private userStore: Stores.User;\r\n\r\n @Mobx.observable\r\n public existingcustomer: Models.Customer.AddCustomerUser[] = [];\r\n @Mobx.observable public isLoading: boolean = false;\r\n @Mobx.observable public search: string = \"\";\r\n @Mobx.observable public customerInvite: Models.InviteCustomer.Main[] = [];\r\n @Mobx.observable public selected: number[] = [];\r\n @Mobx.observable\r\n public assignedArticle: Models.InviteCustomer.InviteArticle[] = [];\r\n @Mobx.observable public selectedArticle: Models.Set.Article[] = [];\r\n @Mobx.observable public installed: number[] = [];\r\n @Mobx.observable public isLoadingPreviouslyInstalledArticles: boolean = false;\r\n @Mobx.observable public activated: Pick<\r\n Services.License.Create.Result,\r\n \"licenseKey\"\r\n > & {\r\n sets: Models.Set.Article[];\r\n } = {\r\n licenseKey: \"\",\r\n sets: [],\r\n };\r\n public invitecustomerService: Services.InviteCustomerService;\r\n private licenseService: Services.License;\r\n articleStore: Article.Store;\r\n @Mobx.observable public licenses?: Models.License[];\r\n licenseStore: License.Store;\r\n constructor({\r\n invitecustomerService,\r\n licenseService,\r\n articleStore,\r\n licenseStore,\r\n userStore,\r\n }: Store.Options) {\r\n this.invitecustomerService = invitecustomerService;\r\n this.licenseService = licenseService;\r\n this.articleStore = articleStore;\r\n this.licenseStore = licenseStore;\r\n this.userStore = userStore;\r\n this.rehydrate();\r\n const disposer = Mobx.reaction(\r\n () => this.userStore.user?.ETUID,\r\n () => {\r\n if (\r\n this.userStore.user?.ETUID !== undefined ||\r\n this.userStore.user?.ETUID !== null\r\n ) {\r\n this.rehydrate();\r\n disposer();\r\n }\r\n }\r\n );\r\n }\r\n\r\n @Mobx.action public async readFunction(props?: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.invitecustomerService.getAllFuncationData(\r\n props\r\n );\r\n\r\n \r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n @Mobx.action public addProduct({ article }: Store.AddProduct.Props) {\r\n function processAdd(this: Store) {\r\n const productPresentInCart = this.article.get(article.setID);\r\n if (productPresentInCart) {\r\n return;\r\n }\r\n\r\n this.article.set(article.setID, { ...article, quantity: 1 });\r\n }\r\n\r\n processAdd.bind(this)();\r\n this.persist();\r\n }\r\n\r\n @Mobx.action public removeProduct({ article }: Store.RemoveProduct.Props) {\r\n this.article.delete(article.setID);\r\n this.persist();\r\n }\r\n\r\n @Mobx.action public increaseProductQuantity({\r\n article,\r\n }: Store.IncreaseProductQuantity.Props) {\r\n const productInCart = this.article.get(article.setID);\r\n if (!productInCart) {\r\n return;\r\n }\r\n productInCart.quantity += 1;\r\n this.persist();\r\n }\r\n\r\n @Mobx.action public decreaseProductQuantity({\r\n article,\r\n }: Store.DecreaseProductQuantity.Props) {\r\n const productInCart = this.article.get(article.setID);\r\n\r\n if (!productInCart) {\r\n return;\r\n }\r\n productInCart.quantity -= 1;\r\n this.persist();\r\n }\r\n\r\n @Mobx.action public resetInviteSummary() {\r\n const ETUID = this.userStore.user?.ETUID;\r\n if (ETUID === undefined || ETUID === null) {\r\n return;\r\n }\r\n localStorage.removeItem(`article-${ETUID}`);\r\n this.article = new Map();\r\n }\r\n\r\n @Mobx.action public async readSetFuncations(props?: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } =\r\n await this.invitecustomerService.getAllSetFuncationsData(props);\r\n\r\n this.functions = result;\r\n \r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public setActivated({\r\n activated,\r\n }: {\r\n activated: Pick & {\r\n sets: Models.Set.Article[];\r\n };\r\n }) {\r\n this.activated = activated;\r\n }\r\n\r\n @Mobx.action public setSearch({ search }: { search: string }) {\r\n this.search = search;\r\n }\r\n @Mobx.action public async inviteCustomer(props: Store.InviteCustomer.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.invitecustomerService.inviteCustomer(props);\r\n this.invitecustomerService = result;\r\n return result;\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n @Mobx.computed get getArticlesFromLicenses(): Models.Set.Article[] {\r\n if (!this.licenseStore.licenses?.length) return [];\r\n var article = this.licenseStore.licenses\r\n .filter((license: any) => license.status === 1)\r\n .map((license: any) => license.setList)\r\n .filter((article) => article)\r\n .sort(function (a, b) {\r\n const setNumbersA = parseInt(\r\n a.setCode.replace(/^'|'$/g, \"\").split(/\\s*\\-\\s*/g)[1]\r\n );\r\n const setNumbersB = parseInt(\r\n b.setCode.replace(/^'|'$/g, \"\").split(/\\s*\\-\\s*/g)[1]\r\n );\r\n\r\n \r\n return setNumbersA - setNumbersB;\r\n });\r\n var articleStore = article.sort((a, b) => {\r\n if (b.availableQuantity !== null && a.availableQuantity !== null) {\r\n return (\r\n parseFloat(b.availableQuantity.toString()) -\r\n parseFloat(a.availableQuantity.toString())\r\n );\r\n }\r\n return 0;\r\n });\r\n\r\n return articleStore;\r\n }\r\n @Mobx.computed get getInstalledArticlesFromLicenses(): Models.Set.Article[] {\r\n return this.getArticlesFromLicenses.filter((article) =>\r\n this.installed.includes(article.setID)\r\n );\r\n }\r\n\r\n @Mobx.action public setArticleSelected({\r\n selectedArticle,\r\n }: {\r\n selectedArticle: Models.Set.Article[];\r\n }) {\r\n this.selectedArticle = selectedArticle;\r\n }\r\n\r\n @Mobx.action public setSelected({ selected }: { selected: number[] }) {\r\n this.selected = selected;\r\n }\r\n @Mobx.action public setInstalled({ installed }: { installed: number[] }) {\r\n this.installed = installed;\r\n }\r\n @Mobx.action public setIsLoadingPreviouslyInstalledArticles({\r\n isLoadingPreviouslyInstalledArticles,\r\n }: {\r\n isLoadingPreviouslyInstalledArticles: boolean;\r\n }) {\r\n this.isLoadingPreviouslyInstalledArticles =\r\n isLoadingPreviouslyInstalledArticles;\r\n }\r\n @Mobx.computed get getAvailableArticlesFromLicenses(): Models.Set.Article[] {\r\n return this.getArticlesFromLicenses.filter(\r\n (article) => !this.installed.includes(article.setID)\r\n );\r\n }\r\n @Mobx.computed get getFilteredAvailableArticles(): Models.Set.Article[] {\r\n if (!this.search) return this.getAvailableArticlesFromLicenses;\r\n\r\n return this.getAvailableArticlesFromLicenses.filter(\r\n (article) =>\r\n (article.setName &&\r\n article.setName.toLowerCase().includes(this.search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode.toLowerCase().includes(this.search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode.toLowerCase().includes(this.search.toLowerCase()))\r\n );\r\n }\r\n\r\n @Mobx.computed public get dependentArticles(): Set {\r\n return (\r\n [...this.selected, ...this.installed]\r\n .map((setID) =>\r\n this.getAvailableArticlesFromLicenses.find(\r\n (article) => article.setID === setID\r\n )\r\n )\r\n .filter((article) => article) as Models.Set.Article[]\r\n ).reduce((acc: Set, article: Models.Set.Article) => {\r\n article.dependentSets.forEach((setID) => {\r\n if ([...this.selected, ...this.installed].includes(setID)) {\r\n return;\r\n }\r\n acc.add(\r\n this.articleStore.articles\r\n ?.filter((article) => article.status === 1)\r\n .find((article) => article.setID === setID)?.hundCode ??\r\n `Article ID: ${setID}` // TODO: remove this after removing the duplicate article\r\n );\r\n });\r\n return acc;\r\n }, new Set());\r\n }\r\n @Mobx.computed public get isDependentArticlesValid(): boolean {\r\n return (\r\n [...this.selected, ...this.installed]\r\n .map((setID) =>\r\n this.getAvailableArticlesFromLicenses.find(\r\n (article) => article.setID === setID\r\n )\r\n )\r\n .filter((article) => article) as Models.Set.Article[]\r\n ).reduce((acc: boolean, article: Models.Set.Article) => {\r\n if (!acc) {\r\n return acc;\r\n }\r\n return article.dependentSets.reduce((acc, setID) => {\r\n if (!acc) {\r\n return acc;\r\n }\r\n if ([...this.selected, ...this.installed].includes(setID)) {\r\n return true;\r\n }\r\n return false;\r\n }, true);\r\n }, true);\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.licenses) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n\r\n @Mobx.action public async getCustomerDetails(\r\n props: Store.ReadAddCustomer.Props\r\n ) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.invitecustomerService.getCustomerAllData(\r\n props\r\n );\r\n return { result };\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n private rehydrate() {\r\n const ETUID = this.userStore.user?.ETUID;\r\n if (ETUID === undefined || ETUID === null) {\r\n return;\r\n }\r\n\r\n const serialisedCart = localStorage.getItem(`article-${ETUID}`);\r\n if (serialisedCart) {\r\n this.article = new Map(JSON.parse(serialisedCart));\r\n }\r\n }\r\n private persist() {\r\n const ETUID = this.userStore.user?.ETUID;\r\n if (ETUID === undefined || ETUID === null) {\r\n return;\r\n }\r\n\r\n const article = JSON.stringify(Array.from(this.article.entries()));\r\n localStorage.setItem(`article-${ETUID}`, article);\r\n }\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport LanguageIcon from \"@material-ui/icons/Language\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as CustomerInvite from \"src/app/pages/dealercustomer/customerinvite\";\r\nimport * as Models from \"src/models\";\r\nimport * as Pages from \"src/app/pages\";\r\nimport * as Yup from \"yup\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nexport interface FormProps {\r\n emailID: string;\r\n firstname?: string;\r\n lastname?: string;\r\n companyName?: string;\r\n}\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const navigate = Router.useNavigate();\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const customerInviteStore = React.useContext(\r\n App.Contexts.customerInviteStore\r\n );\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const [displayLabel, setDisplayLabel] = React.useState(false);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const uid = userStore.user?.ETUID as number;\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const Email = localStorage.getItem(\"customermailID\")\r\n const cid = localStorage.getItem(\"customerID\")\r\n const homeStore = React.useContext(App.Contexts.homeStore);\r\n const [searchParams] = Router.useSearchParams();\r\n const [isFromManageOrder, setIsFromManageOrder] = React.useState(false);\r\n const orderStore = React.useContext(App.Contexts.orderStore);\r\n\r\n const searchPara = searchParams.get(\"m\");\r\n React.useEffect(()=>{\r\n const userRole = \"customer\"\r\n const EmailId = Email ? Email : undefined;\r\n const uid = cid ? cid : \"0\";\r\n if ((uid !== undefined && uid !== null) && Email) {\r\n homeStore.read({\r\n uid,\r\n userRole,\r\n EmailId,\r\n });\r\n }\r\n if(searchPara === \"ManageOrder\"){\r\n setIsFromManageOrder(true)\r\n }\r\n },[Email, cid, homeStore, navigate, searchPara])\r\n\r\n const frontName = localStorage.getItem(\"cfname\");\r\n const endName = localStorage.getItem(\"clname\");\r\n const comName = localStorage.getItem(\"ccname\");\r\n const mailId = localStorage.getItem(\"mail\");\r\n const validationSchema = Yup.object().shape({\r\n emailID: Yup.string().required(\"Email ID is required\"),\r\n });\r\n\r\n const handleLabel = () => {\r\n setDisplayLabel(true);\r\n };\r\n const licenseList = orderStore.getAssignLicense();\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n Customer details\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 Continue\r\n \r\n \r\n {displayLabel && (\r\n \r\n \r\n Selected license\r\n \r\n \r\n )}\r\n {displayLabel && (\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n});\r\n\r\nconst AvailableArticles = Mobx.observer(() => {\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n\r\n const handleSelect = ({ article }: { article: Models.Set.Article }) => {\r\n const selectedIndex = customerInviteStore.selected.indexOf(article.setID);\r\n let newSelected: number[] = [];\r\n //alert('handleSelect');\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(\r\n customerInviteStore.selected,\r\n article.setID\r\n );\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(customerInviteStore.selected.slice(1));\r\n } else if (selectedIndex === customerInviteStore.selected.length - 1) {\r\n newSelected = newSelected.concat(\r\n customerInviteStore.selected.slice(0, -1)\r\n );\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n customerInviteStore.selected.slice(0, selectedIndex),\r\n customerInviteStore.selected.slice(selectedIndex + 1)\r\n );\r\n setDisable(false);\r\n }\r\n\r\n customerInviteStore.setSelected({ selected: newSelected });\r\n };\r\n const customerInviteStore = React.useContext(\r\n App.Contexts.customerInviteStore\r\n );\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const uid = userStore.user?.ETUID as number;\r\n const userRole = userStore.user?.RoleName ?? \"customer\";\r\n const [disable, setDisable] = React.useState(true);\r\n const [getArticle, setArticle] = React.useState();\r\n const theme = Mui.useTheme();\r\n\r\n React.useEffect(() => {\r\n if (\r\n !licenseStore.licenses?.length &&\r\n userRole === \"customer\" &&\r\n uid !== undefined &&\r\n uid !== null\r\n )\r\n licenseStore.read({\r\n body: { status: null, userID: uid },\r\n userRole,\r\n uid,\r\n });\r\n if (!functionStore.functions.length) functionStore.read();\r\n customerInviteStore.readSetFuncations();\r\n }, [customerInviteStore, functionStore, licenseStore, uid, userRole]);\r\n\r\n return (\r\n \r\n {customerInviteStore.getAvailableArticlesFromLicenses.length > 0 &&\r\n customerInviteStore.getFilteredAvailableArticles.length === 0 &&\r\n customerInviteStore.search && (\r\n \r\n \r\n No license(s) found\r\n No available license(s) found for the search term. Use a different\r\n search term or clear the search to view some available license(s).\r\n \r\n \r\n )}\r\n {customerInviteStore.getArticlesFromLicenses.map((article) => (\r\n \r\n \r\n (article as Models.Set.Article).functions.includes(\r\n func.setFunctionID\r\n )\r\n )}\r\n handleClick={handleSelect}\r\n article={article}\r\n />\r\n \r\n ))}\r\n \r\n \r\n Assign license\r\n \r\n \r\n \r\n );\r\n});\r\n","import * as Mobx from \"mobx\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as License from \"src/app/pages/license\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\nexport declare namespace Store {\r\n export interface IStore {\r\n isLoading: boolean;\r\n customerInvite: Models.InviteCustomer.Main[];\r\n invitecustomerService: Services.InviteCustomerService;\r\n functions: Models.Set.Function[];\r\n }\r\n export type Options = {\r\n invitecustomerService: Services.InviteCustomerService;\r\n licenseService: Services.License;\r\n licenseStore: License.Store;\r\n articleStore: Article.Store;\r\n };\r\n export namespace InviteCustomer {\r\n export interface Props\r\n extends Services.InviteCustomerService.InviteCustomer.Props {}\r\n }\r\n export namespace Read {\r\n export interface Props extends Services.License.GetAllData.Props {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public functions: Models.Set.Function[] = [];\r\n @Mobx.observable public isLoading: boolean = false;\r\n @Mobx.observable public search: string = \"\";\r\n @Mobx.observable public customerInvite: Models.InviteCustomer.Main[] = [];\r\n @Mobx.observable public selected: number[] = [];\r\n @Mobx.observable public installed: number[] = [];\r\n @Mobx.observable public isLoadingPreviouslyInstalledArticles: boolean = false;\r\n @Mobx.observable public activated: Pick<\r\n Services.License.Create.Result,\r\n \"licenseKey\"\r\n > & {\r\n sets: Models.Set.Article[];\r\n } = {\r\n licenseKey: \"\",\r\n sets: [],\r\n };\r\n public invitecustomerService: Services.InviteCustomerService;\r\n private licenseService: Services.License;\r\n articleStore: Article.Store;\r\n @Mobx.observable public licenses?: Models.License[];\r\n licenseStore: License.Store;\r\n constructor({\r\n invitecustomerService,\r\n licenseService,\r\n articleStore,\r\n licenseStore,\r\n }: Store.Options) {\r\n this.invitecustomerService = invitecustomerService;\r\n this.licenseService = licenseService;\r\n this.articleStore = articleStore;\r\n this.licenseStore = licenseStore;\r\n }\r\n\r\n @Mobx.action public async readFunction(props?: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.invitecustomerService.getAllFuncationData(props);\r\n\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async readSetFuncations(props?: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.invitecustomerService.getAllSetFuncationsData(props);\r\n\r\n this.functions = result;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public setActivated({\r\n activated,\r\n }: {\r\n activated: Pick & {\r\n sets: Models.Set.Article[];\r\n };\r\n }) {\r\n this.activated = activated;\r\n }\r\n\r\n @Mobx.action public setSearch({ search }: { search: string }) {\r\n this.search = search;\r\n }\r\n @Mobx.action public async inviteCustomer(props: Store.InviteCustomer.Props) {\r\n try {\r\n const { result } = await this.invitecustomerService.inviteCustomer(props);\r\n this.invitecustomerService = result;\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n @Mobx.computed get getArticlesFromLicenses(): Models.Set.Article[] {\r\n if (!this.licenseStore.licenses?.length) return [];\r\n return this.licenseStore.licenses\r\n .filter((license: any) => license.status === 1)\r\n .map((license: any) => license.setList)\r\n .filter((article) => article);\r\n }\r\n @Mobx.computed get getInstalledArticlesFromLicenses(): Models.Set.Article[] {\r\n return this.getArticlesFromLicenses.filter((article) =>\r\n this.installed.includes(article.setID)\r\n );\r\n }\r\n\r\n @Mobx.action public setSelected({ selected }: { selected: number[] }) {\r\n this.selected = selected;\r\n }\r\n @Mobx.action public setInstalled({ installed }: { installed: number[] }) {\r\n this.installed = installed;\r\n }\r\n @Mobx.action public setIsLoadingPreviouslyInstalledArticles({\r\n isLoadingPreviouslyInstalledArticles,\r\n }: {\r\n isLoadingPreviouslyInstalledArticles: boolean;\r\n }) {\r\n this.isLoadingPreviouslyInstalledArticles = isLoadingPreviouslyInstalledArticles;\r\n }\r\n @Mobx.computed get getAvailableArticlesFromLicenses(): Models.Set.Article[] {\r\n return this.getArticlesFromLicenses.filter(\r\n (article) => !this.installed.includes(article.setID)\r\n );\r\n }\r\n @Mobx.computed get getFilteredAvailableArticles(): Models.Set.Article[] {\r\n if (!this.search) return this.getAvailableArticlesFromLicenses;\r\n\r\n return this.getAvailableArticlesFromLicenses.filter(\r\n (article) =>\r\n (article.setName &&\r\n article.setName.toLowerCase().includes(this.search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode.toLowerCase().includes(this.search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode.toLowerCase().includes(this.search.toLowerCase()))\r\n );\r\n }\r\n\r\n @Mobx.computed public get dependentArticles(): Set {\r\n return ([...this.selected, ...this.installed]\r\n .map((setID) =>\r\n this.getAvailableArticlesFromLicenses.find(\r\n (article) => article.setID === setID\r\n )\r\n )\r\n .filter((article) => article) as Models.Set.Article[]).reduce(\r\n (acc: Set, article: Models.Set.Article) => {\r\n article.dependentSets.forEach((setID) => {\r\n if ([...this.selected, ...this.installed].includes(setID)) {\r\n return;\r\n }\r\n acc.add(\r\n this.articleStore.articles\r\n ?.filter((article) => article.status === 1)\r\n .find((article) => article.setID === setID)?.hundCode ??\r\n `Article ID: ${setID}` // TODO: remove this after removing the duplicate article\r\n );\r\n });\r\n return acc;\r\n },\r\n new Set()\r\n );\r\n }\r\n @Mobx.computed public get isDependentArticlesValid(): boolean {\r\n return ([...this.selected, ...this.installed]\r\n .map((setID) =>\r\n this.getAvailableArticlesFromLicenses.find(\r\n (article) => article.setID === setID\r\n )\r\n )\r\n .filter((article) => article) as Models.Set.Article[]).reduce(\r\n (acc: boolean, article: Models.Set.Article) => {\r\n if (!acc) {\r\n return acc;\r\n }\r\n return article.dependentSets.reduce((acc, setID) => {\r\n if (!acc) {\r\n return acc;\r\n }\r\n if ([...this.selected, ...this.installed].includes(setID)) {\r\n return true;\r\n }\r\n return false;\r\n }, true);\r\n },\r\n true\r\n );\r\n }\r\n\r\n @Mobx.action public async read(props: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const initLicenses = ({ result }: { result: Models.License[] }) => {\r\n this.licenses = result\r\n .filter(\r\n (license: any, index) =>\r\n result.findIndex(\r\n (a: any) => a[\"licenseCode\"] === license[\"licenseCode\"]\r\n ) === index\r\n )\r\n .map((license: any) => {\r\n const licenseDetailIDs = result\r\n .filter((x) => x.licenseCode === license.licenseCode && !x.macID)\r\n .map((x) => x.licenseDetailID);\r\n const total = result.filter(\r\n (x: any) => x.licenseCode === license.licenseCode\r\n ).length as number;\r\n const totalUsed = result.filter(\r\n (x: any) => x.licenseCode === license.licenseCode && x.macID\r\n ).length as number;\r\n const totalAvailable = (total - totalUsed) as number;\r\n const setList = this.articleStore.articles.find(\r\n (article) => article.setID === license.setID\r\n );\r\n return {\r\n licenseDetailIDs,\r\n licenseCodes: [license.licenseCode],\r\n total,\r\n totalUsed,\r\n totalAvailable,\r\n status: totalAvailable === 0 ? 2 : 1,\r\n setList: setList && { ...setList, licenseDetailIDs },\r\n setID: setList?.setID,\r\n setCode: setList?.setCode,\r\n setName: setList?.setName,\r\n hundCode: setList?.hundCode,\r\n devices: result\r\n .filter(\r\n (x: any) => x.licenseCode === license.licenseCode && x.macID\r\n )\r\n .map((license: any) => license.device),\r\n } as any;\r\n });\r\n\r\n if (this.articleStore.articles.length > 0) {\r\n const licenses = Array.from(\r\n this.licenses\r\n .reduce((acc: Map, license: any) => {\r\n const licenseAlreadyInAcc = acc.get(license.setID);\r\n if (licenseAlreadyInAcc) {\r\n acc.set(license.setID, {\r\n ...licenseAlreadyInAcc,\r\n ...license,\r\n ...{\r\n licenseCodes: [\r\n ...licenseAlreadyInAcc.licenseCodes,\r\n ...license.licenseCodes,\r\n ],\r\n licenseDetailIDs: [\r\n ...licenseAlreadyInAcc.licenseDetailIDs,\r\n ...license.licenseDetailIDs,\r\n ],\r\n total: licenseAlreadyInAcc.total + license.total,\r\n totalUsed:\r\n licenseAlreadyInAcc.totalUsed + license.totalUsed,\r\n totalAvailable:\r\n licenseAlreadyInAcc.totalAvailable +\r\n license.totalAvailable,\r\n status:\r\n licenseAlreadyInAcc.total + license.totalAvailable === 0\r\n ? 2\r\n : 1,\r\n devices: [\r\n ...licenseAlreadyInAcc.devices,\r\n ...license.devices,\r\n ],\r\n },\r\n });\r\n\r\n return acc;\r\n }\r\n\r\n acc.set(license.setID, license);\r\n return acc;\r\n }, new Map())\r\n .values()\r\n );\r\n\r\n this.licenses = [];\r\n this.licenses = licenses;\r\n }\r\n };\r\n\r\n const { result } = await this.licenseService.getAllData(props);\r\n initLicenses({ result });\r\n\r\n await this.articleStore.read();\r\n initLicenses({ result });\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.licenses) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n\r\n\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport CheckCircleIcon from \"@material-ui/icons/CheckCircle\";\r\nimport FlagIcon from \"@material-ui/icons/Flag\";\r\nimport InfoIcon from \"@material-ui/icons/Info\";\r\nimport PeopleAlt from \"@material-ui/icons/PeopleAlt\";\r\nimport SearchIcon from \"@material-ui/icons/Search\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactCopyToClipboard from \"react-copy-to-clipboard\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport * as MuiIcon from \"@material-ui/icons\";\r\nimport * as ReactUndraw from \"iblis-react-undraw\";\r\n\r\ninterface Data extends Models.ImportDealer.Main {}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"desc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: ReturnType;\r\n numSelected: number;\r\n onRequestSort: (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => void;\r\n onSelectAllClick: (event: React.ChangeEvent) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowCount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(\r\n props: EnhancedTableProps & {\r\n id: string;\r\n label: string;\r\n numeric?: boolean;\r\n disablePadding?: boolean;\r\n leftmost?: boolean;\r\n rightmost?: boolean;\r\n }\r\n) {\r\n const { classes, order, orderBy, onRequestSort, ...restOfProps } = props;\r\n const createSortHandler = (property: keyof Data) => (\r\n event: React.MouseEvent\r\n ) => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n {props.label}\r\n {orderBy === props.id ? (\r\n \r\n {order === \"desc\" ? \"sorted descending\" : \"sorted ascending\"}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n width: \"100%\",\r\n },\r\n paper: {\r\n width: \"100%\",\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: \"rect(0 0 0 0)\",\r\n height: 1,\r\n margin: -1,\r\n overflow: \"hidden\",\r\n padding: 0,\r\n position: \"absolute\",\r\n top: 20,\r\n width: 1,\r\n },\r\n })\r\n);\r\n\r\nfunction EnhancedTable({\r\n rows,\r\n displayData,\r\n isEmailFlag,\r\n}: {\r\n rows: Models.ImportDealer.Main[];\r\n isEmailFlag: boolean;\r\n displayData: boolean;\r\n}) {\r\n const classes = useStyles();\r\n const [order, setOrder] = React.useState(\"asc\");\r\n const [orderBy, setOrderBy] = React.useState(\"companyName\");\r\n const [selected, setSelected] = React.useState([]);\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(7);\r\n\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [rows]);\r\n\r\n const handleRequestSort = (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => {\r\n setPage(0);\r\n const isAsc = orderBy === property && order === \"asc\";\r\n setOrder(isAsc ? \"desc\" : \"asc\");\r\n setOrderBy(property);\r\n };\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelecteds = rows.map((n) => n.dealerProfileID);\r\n setSelected(newSelecteds);\r\n return;\r\n }\r\n setSelected([]);\r\n };\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n\r\n const isSelected = (name: string) => selected.indexOf(name) !== -1;\r\n\r\n const emptyRows =\r\n rowsPerPage - Math.min(rowsPerPage, rows.length - page * rowsPerPage);\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n const navigate = Router.useNavigate();\r\n const stopnavigationHandle = (event: any) => {\r\n event.stopPropagation();\r\n };\r\n const importDealerStoreS = React.useContext(App.Contexts.importDealerStore);\r\n const handleSelectDealerUser = ({\r\n dealerProfile,\r\n etstatus,\r\n }: {\r\n dealerProfile: Models.ImportDealer.DealerUser;\r\n etstatus: number;\r\n }) => {\r\n let newSelected: Models.ImportDealer.DealerUser[] = [];\r\n importDealerStoreS.selected.slice(0, -1);\r\n importDealerStoreS.setSelected({ selected: newSelected });\r\n //alert(etstatus)\r\n // if (etstatus != 0) {\r\n // let newSelected: Models.ImportDealer.DealerUser[] = [];\r\n // } else {\r\n localStorage.removeItem(\"selected\");\r\n const selectedIndex = importDealerStoreS.selected.indexOf(dealerProfile);\r\n //let newSelected: Models.ImportDealer.DealerUser[] = [];\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(\r\n importDealerStoreS.selected,\r\n dealerProfile\r\n );\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(importDealerStoreS.selected.slice(1));\r\n } else if (selectedIndex === importDealerStoreS.selected.length - 1) {\r\n newSelected = newSelected.concat(\r\n importDealerStoreS.selected.slice(0, -1)\r\n );\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n importDealerStoreS.selected.slice(0, selectedIndex),\r\n importDealerStoreS.selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n importDealerStoreS.setSelected({ selected: [] });\r\n localStorage.removeItem(\"namedatad\");\r\n // }\r\n //alert(\"Imported\"+JSON.stringify(newSelected));\r\n };\r\n const { i18n } = ReactI18next.useTranslation();\r\n\r\n\r\n return (\r\n
\r\n \r\n \r\n {rows.length > 0 && (\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 {stableSort(rows as any, getComparator(order, orderBy))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((row, index) => {\r\n const isItemSelected = isSelected(row.dealerMasterID as any);\r\n const labelId = `enhanced-table-checkbox-${index}`;\r\n return (\r\n {\r\n \r\n localStorage.setItem(\"dealerID\", JSON.stringify(row));\r\n handleSelectDealerUser({\r\n dealerProfile: (row as unknown) as Models.ImportDealer.DealerUser,\r\n etstatus: row.status as number,\r\n });\r\n const flowFrom = \"isFromImportDealer\";\r\n var dealerMasterID = btoa(row.dealerMasterID.toString());\r\n var dealerProfileID = btoa(\r\n row.dealerAddressID.toString()\r\n );\r\n navigate(\r\n `/dealercustomer/adddealeruser?q=${dealerMasterID}&m=${dealerProfileID}&v=${flowFrom}`\r\n );\r\n }}\r\n aria-checked={isItemSelected}\r\n tabIndex={-1}\r\n key={row.dealerMasterID}\r\n >\r\n \r\n {row.companyName && isEmailFlag ? (\r\n row.companyName\r\n ) : (\r\n {row.companyName}\r\n )}\r\n \r\n \r\n {window.open(`mailto:${row.dealerCompanyEmail}`)}}\r\n >\r\n \r\n click to open an mail\r\n }>{row.dealerCompanyEmail && isEmailFlag ? (\r\n {row.dealerCompanyEmail}\r\n ) : (\r\n row.dealerCompanyEmail\r\n )}\r\n\r\n \r\n \r\n \r\n \r\n {row.phoneNumber}\r\n \r\n Click to copy the phone number.\r\n }\r\n >\r\n {\r\n enqueueSnackbar(\r\n t(\r\n `Phone number of ${row.firstName} has been successfully copied to clipboard.`\r\n ),\r\n {\r\n variant: \"success\",\r\n preventDuplicate: false,\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 {row.countryName}\r\n \r\n \r\n \r\n\r\n \r\n {row.city}\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 {emptyRows > 0 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n {rows.length > 7 && (\r\n \r\n \r\n \r\n \r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n \r\n )}\r\n
\r\n );\r\n}\r\nexport const Main = Mobx.observer(function () {\r\n const [search, setSearch] = React.useState(\"\");\r\n const [filterHide, setFilterHide] = React.useState(false);\r\n const [displayNoData, setDisplayNoData] = React.useState(false);\r\n const [isEmailColor, setIsEmailColor] = React.useState(true);\r\n const [disable, setDisable] = React.useState(true);\r\n const theme = Mui.useTheme();\r\n const importDealerStore = React.useContext(App.Contexts.importDealerStore);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n React.useEffect(() => {\r\n userStore.setPreviousUrl({\r\n urls: \"/dealercustomer/managedealer\",\r\n });\r\n localStorage.removeItem(\"namedatad\");\r\n let dealer: any;\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n let searchHighlight: Boolean = false;\r\n const getSearchHighlight = (highlightFlag: boolean) => {\r\n searchHighlight = highlightFlag;\r\n return highlightFlag;\r\n };\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n setSearch(event.target.value as string);\r\n if (event.target.value !== \"\") {\r\n setDisable(false);\r\n } else {\r\n setDisable(true);\r\n }\r\n };\r\n const [state, setState] = React.useState();\r\n const handleChange = (event: any) => {\r\n if (event.target.value === \"All\") {\r\n setSearch(\"\");\r\n } else {\r\n setSearch(event.target.value as string);\r\n }\r\n };\r\n const storeData = importDealerStore.importDealer;\r\n const noStoreData = storeData.length > 0 ? true : false;\r\n const { t } = ReactI18next.useTranslation();\r\n const [open,setOpen] = React.useState(true);\r\n const [dealerData,setDealerData] = React.useState([]);\r\n const [dealerDataString,setDealerDataString] = React.useState(\"\");\r\n const [displayEmptyMsg,setDisplayEmptyMsg] = React.useState(false);\r\n const handleSearchClick = async() => {\r\n setFilterHide(true);\r\n const searchtext = search.trim();\r\n let searchType;\r\n var format = /[@]/;\r\n if (format.test(search.trim())) {\r\n setIsEmailColor(true);\r\n searchType = \"1\";\r\n } else {\r\n setIsEmailColor(false);\r\n searchType = \"0\";\r\n }\r\n const dealerFromSSO = await importDealerStore.readUsers({\r\n searchtext,\r\n });\r\n if(dealerFromSSO !== undefined && dealerFromSSO !== null && dealerFromSSO.length > 0 && Array.isArray(dealerFromSSO)){\r\n setDealerData([dealerFromSSO[0]]);\r\n setDisplayEmptyMsg(false);\r\n setDealerDataString(\"\");\r\n\r\n }else{\r\n setDisplayEmptyMsg(true);\r\n setDealerDataString(dealerFromSSO);\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\n \r\n \r\n Information!\r\n \r\n \r\n \r\n\r\n \r\n \r\n  This module is fetching the dealers from SAGE OL.\r\n\r\n \r\n \r\n \r\n {\r\n setOpen(false)\r\n }}\r\n variant=\"contained\"\r\n color=\"primary\"\r\n style={{\r\n height: \"32px\",\r\n width: \"150px\",\r\n marginBottom: \"12px\",\r\n marginTop: \"12px\",\r\n }}\r\n >\r\n \r\n Ok\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 SEARCH\r\n \r\n \r\n \r\n {\" \"}\r\n \r\n {noStoreData && (\r\n \r\n \r\n \r\n \r\n Country\r\n \r\n \r\n \r\n None\r\n {Array.from(\r\n importDealerStore &&\r\n importDealerStore.importDealer\r\n .reduce((acc: Set, set) => {\r\n return acc.add(set.countryName);\r\n }, new Set())\r\n .values()\r\n ).map((countryName: any) => (\r\n \r\n {countryName}\r\n \r\n ))}\r\n \r\n \r\n \r\n )}\r\n \r\n\r\n \r\n <>\r\n This module is fetching the dealers from SAGE OL.\r\n \r\n { !displayEmptyMsg ? dealerData !== undefined && dealerData?.length > 0 && dealerDataString !== \"Mail id not available in SSO\" && : (\r\n \r\n \r\n \r\n \r\n \r\n There are no company found for the selected address ID or email ID.\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","/** @format */\r\n\r\nimport * as Mobx from \"mobx\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export interface IStore {\r\n isLoading: boolean;\r\n importDealer: Models.ImportDealer.Main[];\r\n importDealerService: Services.ImportDealer;\r\n }\r\n export type Options = {\r\n importDealerService: Services.ImportDealer;\r\n };\r\n\r\n export namespace AddDealer {\r\n export interface Props extends Services.ImportDealer.AddDealer.Props {}\r\n }\r\n\r\n export namespace Read {\r\n export interface Props extends Services.ImportDealer.GetAllData.Props {}\r\n export interface DealerProps\r\n extends Services.ImportDealer.GetAllData.DealerProps {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public importDealer: Models.ImportDealer.Main[] = [];\r\n @Mobx.observable public importDealerFromSSO: Models.ImportDealer.Main[] = [];\r\n @Mobx.observable public selected: Models.ImportDealer.DealerUser[] = [];\r\n @Mobx.observable public isLoading: boolean = false;\r\n public importDealerService: Services.ImportDealer;\r\n\r\n constructor({ importDealerService }: Store.Options) {\r\n this.importDealerService = importDealerService;\r\n }\r\n\r\n @Mobx.action public async readUsers(props: Store.Read.DealerProps) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.importDealerService.getDealerFromSSO(props);\r\n\r\n return (this.importDealerFromSSO = result);\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async readDealerUsers(props: Store.Read.DealerProps) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.importDealerService.getDealerUserDetails(\r\n props\r\n );\r\n return (this.importDealer = result);\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async readDealer(props: Store.Read.DealerProps) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.importDealerService.getDealerUserDetails(\r\n props\r\n );\r\n const response = this.importDealer;\r\n var resultValue: any = response.find((k) => k.dealerProfileID === \"1011\");\r\n var resultData = delete resultValue?.compentencyDisplay;\r\n if (resultValue != undefined) {\r\n localStorage.setItem(\"dealerID\", JSON.stringify(resultValue));\r\n } else {\r\n }\r\n const local = localStorage.getItem(\"dealerID\");\r\n return (this.importDealer = result);\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.action public async addDealers(props: Store.AddDealer.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.importDealerService.addDealer(props);\r\n return result;\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n @Mobx.action public setSelected({\r\n selected,\r\n }: {\r\n selected: Models.ImportDealer.DealerUser[];\r\n }) {\r\n this.selected = selected;\r\n }\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as AdminManage from \"src/app/pages/dealercustomer/manageadmin\";\r\nimport * as Order from \"src/app/pages/order\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\ninterface Data extends Models.AdminManage.Main {}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\nexport declare namespace Cards {\r\n export interface Props {\r\n customers: Models.AdminManage.Main[];\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Cards({ customers }: Cards.Props) {\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n\r\n const [orderId, setOrderId] = React.useState();\r\n const [orderDetailsDialogOpen, setOrderDetailsDialogOpen] = React.useState<\r\n boolean\r\n >(false);\r\n const [page, setPage] = React.useState(0);\r\n const [select, setSelect] = React.useState(false);\r\n const [rowsPerPage] = React.useState(8);\r\n\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [customers]);\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n const [detailsDrawerOpen, setDetailsDrawerOpen] = React.useState(\r\n false\r\n );\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const [currentLicense, setCurrentLicense] = React.useState(false);\r\n const toggleDetailsDrawer = () => {\r\n setDetailsDrawerOpen(!detailsDrawerOpen);\r\n };\r\n const navigate = Router.useNavigate();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n const [selectedValue, setSelectedValue] = React.useState(\"\");\r\n const handleSelectDealerUser = ({\r\n dealerProfile,\r\n }: {\r\n dealerProfile: any;\r\n }) => {\r\n\r\n const selectedIndex = dCustomerStore.selected.indexOf(dealerProfile);\r\n let newSelected: Models.CustomerLicense.Main[] = [];\r\n dCustomerStore.setSelected({ selected: newSelected });\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(dCustomerStore.selected, dealerProfile);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(dCustomerStore.selected.slice(1));\r\n } else if (selectedIndex === dCustomerStore.selected.length - 1) {\r\n newSelected = newSelected.concat(dCustomerStore.selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n dCustomerStore.selected.slice(0, selectedIndex),\r\n dCustomerStore.selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n dCustomerStore.setSelected({ selected: newSelected });\r\n\r\n };\r\n return (\r\n <>\r\n \r\n \r\n {stableSort(customers as any, getComparator(\"asc\", \"customerName\"))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((Customer, index) => (\r\n \r\n {\r\n setOrderId(CustomerID);\r\n setSelectedValue(CustomerID);\r\n handleSelectDealerUser({\r\n dealerProfile: (Customer as unknown) as Models.CustomerLicense.Main[],\r\n });\r\n }}\r\n customer={(Customer as unknown) as Models.AdminManage.Main}\r\n />\r\n \r\n ))}\r\n \r\n {\r\n localStorage.clear();\r\n if (selectedValue) {\r\n navigate(`/dealercustomer/customerinvite`);\r\n } else {\r\n enqueueSnackbar(\r\n t(\"Please select one customer for customer invite !\"),\r\n { variant: \"error\" }\r\n );\r\n navigate(`/dealercustomer/`);\r\n }\r\n }}\r\n >\r\n Assign\r\n \r\n {customers.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Containers from \"src/app/containers\";\r\nimport * as AdminManage from \"src/app/pages/dealercustomer/manageadmin\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\ninterface Data extends Models.AdminManage.Main {}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"desc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\nexport declare namespace Lists {\r\n export interface Props {\r\n customers: Models.AdminManage.Main[];\r\n }\r\n}\r\n\r\nexport declare namespace ListsDetails {\r\n export interface Props {\r\n customerLicense: Models.Set.Function[];\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Lists({ customers }: Lists.Props) {\r\n const theme = Mui.useTheme();\r\n\r\n const [orderId, setOrderId] = React.useState();\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(8);\r\n const [selectedValue, setSelectedValue] = React.useState(\"\");\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [customers]);\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n const adminManageStore = React.useContext(App.Contexts.adminManageStore);\r\n const handleSelectDealerUser = ({\r\n dealerProfile,\r\n }: {\r\n dealerProfile: any;\r\n }) => {\r\n //alert(JSON.stringify(dealerProfile));\r\n\r\n const selectedIndex = adminManageStore.selected.indexOf(dealerProfile);\r\n let newSelected: Models.CustomerLicense.Main[] = [];\r\n adminManageStore.setSelected({ selected: newSelected });\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(\r\n adminManageStore.selected,\r\n dealerProfile\r\n );\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(adminManageStore.selected.slice(1));\r\n } else if (selectedIndex === adminManageStore.selected.length - 1) {\r\n newSelected = newSelected.concat(adminManageStore.selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n adminManageStore.selected.slice(0, selectedIndex),\r\n adminManageStore.selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n adminManageStore.setSelected({ selected: newSelected });\r\n };\r\n return (\r\n <>\r\n
\r\n
\r\n \r\n {stableSort(customers as any, getComparator(\"asc\", \"customerName\"))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((Customer, index) => (\r\n \r\n {\r\n setOrderId(CustomerID);\r\n setSelectedValue(CustomerID);\r\n handleSelectDealerUser({\r\n dealerProfile: (Customer as unknown) as Models.CustomerLicense.Main[],\r\n });\r\n }}\r\n customer={(Customer as unknown) as Models.AdminManage.Main}\r\n />\r\n \r\n ))}\r\n \r\n
\r\n
\r\n \r\n {stableSort(customers as any, getComparator(\"asc\", \"customerName\"))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((Customer, index) => (\r\n \r\n {\r\n setOrderId(CustomerID);\r\n }}\r\n customer={(customers as unknown) as Models.AdminManage.Main}\r\n />\r\n \r\n ))}\r\n \r\n \r\n \r\n <>\r\n \r\n \r\n \r\n Used installations\r\n \r\n \r\n \r\n {\"license?.totalUsed\"}\r\n \r\n \r\n \r\n \r\n \r\n Used installations\r\n 2\r\n \r\n \r\n {\"license?.totalUsed\"}\r\n \r\n \r\n \r\n \r\n \r\n Used installations\r\n 3\r\n \r\n \r\n {\"license?.totalUsed\"}\r\n \r\n \r\n \r\n \r\n \r\n Used installations\r\n 4\r\n \r\n \r\n {\"license?.totalUsed\"}\r\n \r\n \r\n \r\n \r\n {\"license?.hundCode\"} - {\"license?.setName\"}\r\n \r\n \r\n\r\n \r\n \r\n {\"license?.setCode\"} - {\"license?.setName\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Total installations\r\n \r\n \r\n \r\n {\"license?.total\"}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Used installations\r\n \r\n \r\n \r\n {\"license?.totalUsed\"}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Available installations\r\n \r\n \r\n \r\n {\"license?.totalAvailable\"}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Available functions\r\n \r\n \r\n \r\n \r\n\r\n <>\r\n \r\n \r\n \r\n \r\n List of devices\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 MAC ID (PC, tablet):\r\n \r\n \r\n \r\n {\"device?.macID\"}\r\n \r\n
\r\n \r\n \r\n Device name\r\n \r\n \r\n \r\n {\"device?.deviceName\"}\r\n \r\n
\r\n \r\n \r\n License serial number\r\n \r\n \r\n \r\n {\"device?.serialNumber\"}\r\n \r\n
\r\n \r\n \r\n Customer device id\r\n \r\n \r\n \r\n {\"device?.customerDeviceID\"}\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 {customers.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as React from \"react\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Models from \"src/models\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n\r\nexport declare namespace Card {\r\n export interface Props {\r\n customer: Models.AdminManage.Main;\r\n selected: number | string;\r\n handleClick?(props: { CustomerID: number | string }): void;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Card({\r\n customer,\r\n selected,\r\n handleClick,\r\n}:\r\nCard.Props) {\r\n const theme = Mui.useTheme();\r\n\r\n\r\n const CardInternals = (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {customer.companyName}\r\n \r\n }\r\n secondary={\r\n <>\r\n \r\n \r\n Role:\r\n \r\n\r\n \r\n {customer.loginUserRole}\r\n \r\n \r\n \r\n }\r\n />\r\n\r\n \r\n \r\n }\r\n action={\r\n <>\r\n {selected !== undefined && (\r\n {\r\n event.stopPropagation();\r\n event.preventDefault();\r\n }}\r\n />\r\n )}\r\n \r\n }\r\n />\r\n \r\n \r\n <>\r\n \r\n \r\n Company name:\r\n \r\n \r\n {customer.companyName}\r\n \r\n \r\n \r\n\r\n {/* */}\r\n <>\r\n \r\n \r\n {\" \"}\r\n {\"EmailID:\"}\r\n \r\n {window.open(`mailto:${customer.emailID}`)}}\r\n >\r\n \r\n click to open an mail\r\n }>{customer.emailID}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n Available license\r\n \r\n \r\n \r\n \r\n \r\n\r\n {customer?.functionCount > 4 && (\r\n \r\n + {customer.functionCount}\r\n {}more\r\n \r\n )}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {\"Status\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n\r\n return (\r\n \r\n {handleClick ? (\r\n handleClick({ CustomerID: customer.customerID })}>\r\n {CardInternals}\r\n \r\n ) : (\r\n { CardInternals }\r\n )}\r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Containers from \"src/app/containers\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nconst useStyles = Mui.makeStyles((theme) => ({\r\n list: {\r\n width: 380,\r\n },\r\n title: {\r\n flexGrow: 1,\r\n },\r\n}));\r\n\r\nexport declare namespace Details {\r\n export interface Props {\r\n open: boolean;\r\n handleClose(): void;\r\n functionData: Models.Set.Function[];\r\n license: any;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Details = Mobx.observer(function ({\r\n open,\r\n handleClose,\r\n license,\r\n functionData,\r\n}: Details.Props) {\r\n const [showMore, setShowMore] = React.useState(false);\r\n const classes = useStyles();\r\n const theme = Mui.useTheme();\r\n const navigate = Router.useNavigate();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const toggleShowMore = () => setShowMore(!showMore);\r\n React.useEffect(() => {\r\n const uid = userStore.user?.ETUID;\r\n const userRole =\r\n userStore.user?.RoleName ?? (\"customer\" || \"EU\" || \"admin\" || \"superadmin\");\r\n if (\r\n (userRole === \"customer\" || userRole === \"EU\" || userRole === \"admin\" || userRole === \"superadmin\") &&\r\n uid !== undefined &&\r\n uid !== null\r\n ) {\r\n licenseStore.read({\r\n body: { status: null, userID: uid },\r\n userRole,\r\n uid,\r\n });\r\n }\r\n\r\n functionStore.read();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n React.useEffect(() => {\r\n if (open) setShowMore(false);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [open]);\r\n\r\n return (\r\n \r\n \r\n \r\n {license?.hundCode} - {license?.setName}\r\n \r\n \r\n\r\n \r\n \r\n {license?.setCode} - {license?.setName}\r\n \r\n \r\n \r\n }\r\n content={\r\n <>\r\n \r\n \r\n \r\n \r\n License serial number(s)\r\n \r\n \r\n \r\n {license?.licenseCodes?.length > 0 && !showMore\r\n ? license?.licenseCodes[0]\r\n : license?.licenseCodes?.join(\", \")}{\" \"}\r\n {license?.licenseCodes?.length > 1 && !showMore && (\r\n \r\n Show more\r\n \r\n )}\r\n {license?.licenseCodes?.length > 1 && showMore && (\r\n \r\n Show less\r\n \r\n )}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Total installations\r\n \r\n \r\n \r\n {license?.total}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Used installations\r\n \r\n \r\n \r\n {license?.totalUsed}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Available installations\r\n \r\n \r\n \r\n {license?.totalAvailable}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Available functions\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Status\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {license?.devices?.length > 0 && (\r\n <>\r\n \r\n \r\n \r\n \r\n List of devices\r\n \r\n \r\n }\r\n />\r\n \r\n \r\n\r\n \r\n {license?.devices?.map((device: any) => (\r\n \r\n \r\n \r\n navigate(\r\n `/easy-touch-devices?macId=${device?.macID}${\r\n (userStore.user?.RoleName === \"admin\" || userStore.user?.RoleName === \"superadmin\")\r\n ? `&customer=${licenseStore.customer}`\r\n : \"\"\r\n }`\r\n )\r\n }>\r\n \r\n \r\n \r\n MAC ID (PC, tablet):\r\n \r\n \r\n \r\n {device?.macID}\r\n \r\n
\r\n \r\n \r\n Device name\r\n \r\n \r\n \r\n {device?.deviceName}\r\n \r\n
\r\n \r\n \r\n License serial number\r\n \r\n \r\n \r\n {device?.serialNumber}\r\n \r\n
\r\n \r\n \r\n Customer device id\r\n \r\n \r\n \r\n {device?.customerDeviceID}\r\n \r\n
\r\n \r\n \r\n
\r\n ))}\r\n
\r\n \r\n )}\r\n \r\n }\r\n actions={\r\n <>\r\n \r\n CLOSE\r\n \r\n \r\n }\r\n />\r\n );\r\n});\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Models from \"src/models\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nexport declare namespace List {\r\n export interface Props {\r\n customer: Models.AdminManage.Main;\r\n selected: number | string;\r\n handleClick?(props: { CustomerID: number | string }): void;\r\n }\r\n}\r\n\r\nexport declare namespace ListDetails {\r\n export interface Props {\r\n customerLicense: Models.Set.Function[];\r\n handleClick?(props: { CustomerID: number | string }): void;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\n//Load the Card details\r\nexport function List({ customer, handleClick, selected }: List.Props) {\r\n const theme = Mui.useTheme();\r\n const CardInternals = (\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 {customer.companyName}\r\n \r\n }\r\n secondary={\r\n <>\r\n \r\n \r\n Role:\r\n \r\n\r\n \r\n {customer.loginUserRole}\r\n \r\n \r\n \r\n }\r\n />\r\n \r\n \r\n }\r\n action={\r\n <>\r\n {selected !== undefined && (\r\n {\r\n event.stopPropagation();\r\n event.preventDefault();\r\n }}\r\n />\r\n )}\r\n \r\n }\r\n style={{ padding: 4, margin: 6 }}\r\n />\r\n \r\n \r\n <>\r\n \r\n\r\n <>\r\n \r\n \r\n {\" \"}\r\n {\"EmailID:\"}\r\n \r\n {window.open(`mailto:${customer.emailID}`)}}>\r\n \r\n click to open an mail\r\n }>{customer.emailID}\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n Available license\r\n \r\n \r\n\r\n \r\n \r\n \r\n {customer?.functionCount > 4 && (\r\n \r\n + {customer.functionCount}\r\n {}more\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n {\"Status\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n\r\n return (\r\n \r\n {handleClick ? (\r\n handleClick({ CustomerID: customer.customerID })}>\r\n {CardInternals}\r\n \r\n ) : (\r\n CardInternals\r\n )}\r\n \r\n );\r\n}\r\n\r\nexport function ListDeatils({ customer, handleClick }: List.Props) {\r\n const customerLic = JSON.stringify(customer);\r\n\r\n const CardInternals = (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {/* {customer.companyName} */}\r\n \r\n }\r\n secondary={\r\n <>\r\n \r\n Role:\r\n\r\n \r\n {/* { customer.loginUserRole } */}\r\n \r\n \r\n \r\n }\r\n />\r\n \r\n \r\n }\r\n style={{ padding: 4, margin: 6 }}\r\n />\r\n \r\n \r\n <>\r\n \r\n Company name:\r\n \r\n {customerLic.valueOf()}\r\n \r\n \r\n \r\n\r\n <>\r\n \r\n {\"EmailID:\"}\r\n \r\n {/* {customer.emailID} */}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {customer.functionCount > 4 && (\r\n \r\n + {customer.functionCount}\r\n {}more\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n {\"Status\"}\r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n \r\n \r\n );\r\n\r\n return (\r\n \r\n {handleClick ? (\r\n handleClick({ CustomerID: 1 })}>\r\n {CardInternals}\r\n \r\n ) : (\r\n CardInternals\r\n )}\r\n \r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as DateFns from \"date-fns\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as AdminManage from \"src/app/pages/dealercustomer/manageadmin\";\r\nimport * as Models from \"src/models\";\r\n\r\ninterface Data extends Models.AdminManage.Main {}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: ReturnType;\r\n numselected: number;\r\n onRequestSort: (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => void;\r\n onSelectAllClick: (event: React.ChangeEvent) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowcount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(\r\n props: EnhancedTableProps & {\r\n id: string;\r\n label: string;\r\n numeric?: boolean;\r\n disablePadding?: boolean;\r\n leftmost?: boolean;\r\n rightmost?: boolean;\r\n }\r\n) {\r\n const { classes, order, orderBy, onRequestSort, ...restOfProps } = props;\r\n const createSortHandler = (property: keyof Data) => (\r\n event: React.MouseEvent\r\n ) => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n {props.label}\r\n {orderBy === props.id ? (\r\n \r\n {order === \"desc\" ? \"sorted descending\" : \"sorted ascending\"}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n width: \"100%\",\r\n },\r\n paper: {\r\n width: \"100%\",\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: \"rect(0 0 0 0)\",\r\n height: 1,\r\n margin: -1,\r\n overflow: \"hidden\",\r\n padding: 0,\r\n position: \"absolute\",\r\n top: 20,\r\n width: 1,\r\n },\r\n })\r\n);\r\n\r\nfunction EnhancedTable({\r\n rows,\r\n handleView,\r\n}: {\r\n rows: Models.AdminManage.Main[];\r\n handleView(props: { avilableFunction: Models.Set.Function[] }): void;\r\n}) {\r\n const classes = useStyles();\r\n const [order, setOrder] = React.useState(\"asc\");\r\n const [orderBy, setOrderBy] = React.useState(\"etuid\");\r\n const [selected, setSelected] = React.useState([]);\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(7);\r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const [currentLicense, setCurrentLicense] = React.useState(false);\r\n const [selectedValue, setSelectedValue] = React.useState(\"\");\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [rows]);\r\n\r\n const handleRequestSort = (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => {\r\n setPage(0);\r\n const isAsc = orderBy === property && order === \"asc\";\r\n setOrder(isAsc ? \"desc\" : \"asc\");\r\n setOrderBy(property);\r\n };\r\n\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelecteds = rows.map((n) => n.etuid);\r\n setSelected(newSelecteds);\r\n return;\r\n }\r\n setSelected([]);\r\n };\r\n\r\n const handleClick = (event: React.MouseEvent, name: string) => {\r\n const selectedIndex = selected.indexOf(name);\r\n let newSelected: string[] = [];\r\n\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(selected, name);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(selected.slice(1));\r\n } else if (selectedIndex === selected.length - 1) {\r\n newSelected = newSelected.concat(selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n selected.slice(0, selectedIndex),\r\n selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n\r\n setSelected(newSelected);\r\n };\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n const navigate = Router.useNavigate();\r\n const isSelected = (name: string) => selected.indexOf(name) !== -1;\r\n const handleSelectDealerUser = ({\r\n dealerProfile,\r\n }: {\r\n dealerProfile: any;\r\n }) => {\r\n //alert(JSON.stringify(dealerProfile));\r\n const selectedIndex = dCustomerStore.selected.indexOf(dealerProfile);\r\n let newSelected: Models.CustomerLicense.Main[] = [];\r\n dCustomerStore.setSelected({ selected: newSelected });\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(dCustomerStore.selected, dealerProfile);\r\n } else if (selectedIndex === 0) {\r\n // alert(\"4\");\r\n newSelected = newSelected.concat(dCustomerStore.selected.slice(1));\r\n } else if (selectedIndex === dCustomerStore.selected.length - 1) {\r\n newSelected = newSelected.concat(dCustomerStore.selected.slice(0, -1));\r\n // alert(\"5\");\r\n } else if (selectedIndex > 0) {\r\n //alert(\"6\");\r\n newSelected = newSelected.concat(\r\n dCustomerStore.selected.slice(0, selectedIndex),\r\n dCustomerStore.selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n dCustomerStore.setSelected({ selected: newSelected });\r\n\r\n //dCustomerStore.setSelected();\r\n };\r\n const emptyRows =\r\n rowsPerPage - Math.min(rowsPerPage, rows.length - page * rowsPerPage);\r\n\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n return (\r\n
\r\n \r\n \r\n {rows.length > 0 && (\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 {stableSort(rows as any, getComparator(order, orderBy))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((row, index) => {\r\n const isItemSelected = isSelected(row.etuid as string);\r\n const labelId = `enhanced-table-checkbox-${index}`;\r\n\r\n return (\r\n \r\n handleClick(event, row.etuid as string)\r\n }\r\n aria-checked={isItemSelected}\r\n tabIndex={-1}\r\n key={row.etuid}\r\n >\r\n \r\n\r\n {window.open(`mailto:${row.userEmail}`)}}\r\n >\r\n \r\n click to open an mail\r\n }>{row.userEmail}\r\n\r\n \r\n \r\n {row.firstName}\r\n \r\n \r\n \r\n {row.lastName}\r\n \r\n \r\n\r\n \r\n \r\n );\r\n })}\r\n {rows.length === 0 && (\r\n \r\n \r\n \r\n No admin found\r\n \r\n \r\n \r\n )}\r\n {emptyRows > 0 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n\r\n {rows.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n
\r\n );\r\n}\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const [search, setSearch] = React.useState(\"\");\r\n const [state, setState] = React.useState();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const adminManageStore = React.useContext(App.Contexts.adminManageStore);\r\n const dCustomerStore = React.useContext(App.Contexts.adminManageStore);\r\n const theme = Mui.useTheme();\r\n const [detailsDrawerOpen, setDetailsDrawerOpen] = React.useState(\r\n false\r\n );\r\n const [searchParams] = Router.useSearchParams();\r\n\r\n React.useEffect(() => {\r\n const uid = userStore.user?.ETUID;\r\n const userRole = \"admin\";\r\n if (uid !== undefined && uid !== null) {\r\n adminManageStore.read({\r\n uid,\r\n userRole,\r\n });\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [searchParams]);\r\n\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n setSearch(event.target.value as string);\r\n };\r\n const { t } = ReactI18next.useTranslation();\r\n const toggleDetailsDrawer = () => {\r\n setDetailsDrawerOpen(!detailsDrawerOpen);\r\n };\r\n const [currentAvilableFunction, setCurrentAvilableFunction] = React.useState<\r\n Models.Set.Function[]\r\n >();\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n\r\n const handleChange = (event: any) => {\r\n // setState(event.target.value);\r\n if (event.target.value === \"All\") {\r\n setSearch(\"\");\r\n } else {\r\n setSearch(event.target.value as string);\r\n }\r\n };\r\n //alert(state);\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {adminManageStore.adminManage.length > 0 && (\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {adminManageStore.isInitialLoading ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n {adminManageStore.view === \"LIST\" && (\r\n {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n order?.etuid?.toLowerCase().includes(search.toLowerCase()) ||\r\n order?.firstName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.lastName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n (order.companyName &&\r\n DateFns.format(new Date(order.companyName), \"dd.MM.yyyy\")\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n })}\r\n />\r\n )}\r\n {dCustomerStore.view === \"CARD\" && (\r\n {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n order?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.customerName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.customerName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n (order.companyName &&\r\n DateFns.format(new Date(order.companyName), \"dd.MM.yyyy\")\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n })}\r\n />\r\n )}\r\n {dCustomerStore.view === \"TABULAR\" && (\r\n {\r\n setCurrentAvilableFunction(avilableFunction);\r\n toggleDetailsDrawer();\r\n }}\r\n rows={adminManageStore.adminManage.filter((order) => {\r\n if (!search) {\r\n return true;\r\n }\r\n\r\n return (\r\n order?.etuid?.toLowerCase().includes(search.toLowerCase()) ||\r\n order?.firstName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.lastName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n order?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n (order.inviteDate &&\r\n DateFns.format(new Date(order.inviteDate), \"dd.MM.yyyy\")\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n order?.userEmail?.toLowerCase().includes(search.toLowerCase())\r\n );\r\n })}\r\n />\r\n )}\r\n \r\n )}\r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mobx from \"mobx\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export type View = \"TABULAR\" | \"CARD\" | \"LIST\";\r\n\r\n export interface IStore {\r\n isLoading: boolean;\r\n adminManageService: Services.AdminManageService;\r\n view: Store.View;\r\n }\r\n\r\n export type Options = Pick;\r\n\r\n export namespace SetView {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace Read {\r\n export interface Props\r\n extends Services.AdminManageService.GetAllData.Props {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public view: Store.View = \"TABULAR\";\r\n @Mobx.observable public adminManage: Models.AdminManage.Main[] = [];\r\n @Mobx.observable public isLoading: boolean = false;\r\n @Mobx.observable public selected: Models.CustomerLicense.Main[] = [];\r\n //public orderService: Services.Order;\r\n public adminManageService: Services.AdminManageService;\r\n constructor({ view, adminManageService }: Store.Options) {\r\n this.view = view;\r\n this.adminManageService = adminManageService;\r\n }\r\n\r\n @Mobx.action setView({ view }: Store.SetView.Props) {\r\n this.view = view;\r\n }\r\n\r\n @Mobx.action public async read(props: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.adminManageService.getCustomer(props);\r\n this.adminManage = result;\r\n //\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.adminManage.length !== 0) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n @Mobx.action public setSelected({\r\n selected,\r\n }: {\r\n selected: Models.CustomerLicense.Main[];\r\n }) {\r\n this.selected = selected;\r\n \r\n }\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport FlagIcon from \"@material-ui/icons/Flag\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as ManageDealer from \"src/app/pages/dealercustomer/managedealer\";\r\nimport * as Order from \"src/app/pages/order\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\ninterface Data extends Models.ImportDealer.Main {}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\nexport declare namespace Cards {\r\n export interface Props {\r\n dealers: Models.ImportDealer.Main[];\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Cards({ dealers }: Cards.Props) {\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n\r\n const [orderId, setOrderId] = React.useState();\r\n const [orderDetailsDialogOpen, setOrderDetailsDialogOpen] = React.useState<\r\n boolean\r\n >(false);\r\n const [page, setPage] = React.useState(0);\r\n const [select, setSelect] = React.useState(false);\r\n const [rowsPerPage] = React.useState(8);\r\n\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [dealers]);\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n const [detailsDrawerOpen, setDetailsDrawerOpen] = React.useState(\r\n false\r\n );\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const [currentLicense, setCurrentLicense] = React.useState(false);\r\n const toggleDetailsDrawer = () => {\r\n setDetailsDrawerOpen(!detailsDrawerOpen);\r\n };\r\n const navigate = Router.useNavigate();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const managaeStore = React.useContext(App.Contexts.manageDealerStore);\r\n const [selectedValue, setSelectedValue] = React.useState(\"\");\r\n const handleSelectDealerUser = ({\r\n dealerProfile,\r\n }: {\r\n dealerProfile: any;\r\n }) => {\r\n \r\n };\r\n return (\r\n <>\r\n \r\n \r\n {stableSort(dealers as any, getComparator(\"asc\", \"customerName\"))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((Dealer, index) => (\r\n \r\n {\r\n setOrderId(DealerProfileID);\r\n setSelectedValue(DealerProfileID);\r\n localStorage.setItem(\"dealerID\", JSON.stringify(Dealer));\r\n handleSelectDealerUser({\r\n dealerProfile: (Dealer as unknown) as Models.CustomerLicense.Main[],\r\n });\r\n var _dealerProfileID = btoa(DealerProfileID.toString());\r\n navigate(\r\n `/dealercustomer/adddealeruser?q=${_dealerProfileID}`\r\n );\r\n }}\r\n dealer={(Dealer as unknown) as Models.ImportDealer.Main}\r\n />\r\n \r\n ))}\r\n {dealers.length === 0 && (\r\n \r\n \r\n No dealer found\r\n \r\n \r\n )}\r\n \r\n \r\n {/* dealers.length !== 0 */}\r\n {dealers.length > 7 && (\r\n \r\n \r\n \r\n \r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n \r\n )}\r\n \r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport { createMuiTheme, makeStyles } from \"@material-ui/core\";\r\nimport { deepPurple } from \"@material-ui/core/colors\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport CheckCircleIcon from \"@material-ui/icons/CheckCircle\";\r\nimport FlagIcon from \"@material-ui/icons/Flag\";\r\nimport InfoIcon from \"@material-ui/icons/Info\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as Models from \"src/models\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nexport declare namespace Card {\r\n export interface Props {\r\n dealer: Models.ImportDealer.Main;\r\n selected: number | string;\r\n handleClick?(props: { DealerProfileID: number | string }): void;\r\n }\r\n}\r\nconst useStyles = makeStyles((theme) => ({\r\n root: {\r\n display: \"flex\",\r\n \"& > *\": {\r\n margin: theme.spacing(1),\r\n },\r\n },\r\n orange: {\r\n color: \"white\",\r\n backgroundColor: \"grey\",\r\n },\r\n purple: {\r\n color: theme.palette.getContrastText(deepPurple[500]),\r\n backgroundColor: deepPurple[500],\r\n },\r\n green: {\r\n backgroundColor: \"green\",\r\n },\r\n}));\r\n\r\nconst theme = createMuiTheme({\r\n overrides: {\r\n MuiChip: {\r\n root: {\r\n \"& $avatarColorPrimary\": {\r\n color: \"lightgrey\",\r\n },\r\n },\r\n },\r\n },\r\n});\r\n\r\nexport function Card({\r\n dealer,\r\n selected,\r\n handleClick,\r\n}: \r\nCard.Props) {\r\n \r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const classes = useStyles();\r\n const stopnavigationHandle = (event: any) => {\r\n event.stopPropagation();\r\n };\r\n const CardInternals = (\r\n <>\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n {dealer.companyName}\r\n \r\n }\r\n secondary={\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 {dealer.status === 0 ? (\r\n \r\n }\r\n label={\"Yet to import\"}\r\n >\r\n ) : (\r\n \r\n }\r\n label={\"Imported\"}\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 Dealer name\r\n :\r\n \r\n \r\n  {dealer.firstName}\r\n \r\n {dealer.userType === \"P\" ? (\r\n \r\n Primary user\r\n }>\r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n <>\r\n \r\n {dealer.userType === \"P\" ? (\r\n \r\n User\r\n :\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n  \r\n {dealer.userType === \"P\" ? (\r\n <>\r\n \r\n {dealer.primaryUser}\r\n \r\n }\r\n >\r\n \r\n {dealer.secondaryUser}\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 Contact information\r\n \r\n \r\n \r\n <>\r\n \r\n \r\n {\" \"}\r\n \r\n Email ID\r\n :\r\n {/* {\"Email ID:\"} */}\r\n \r\n {window.open(`mailto:${dealer.email}`)}}>\r\n   \r\n click to open an mail\r\n }>{dealer.email}\r\n\r\n \r\n \r\n \r\n <>\r\n \r\n \r\n {\" \"}\r\n \r\n Phone no\r\n :\r\n {/* {\"Phone number:\"} */}\r\n \r\n \r\n  {dealer.phoneNumber}\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 Country\r\n \r\n \r\n \r\n \r\n \r\n <>\r\n \r\n \r\n {dealer.countryName}\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 return (\r\n \r\n {handleClick ? (\r\n \r\n handleClick({ DealerProfileID: dealer.dealerProfileID })\r\n }\r\n >\r\n {CardInternals}\r\n \r\n ) : (\r\n { CardInternals }\r\n )}\r\n \r\n );\r\n}\r\nfunction t(arg0: string): Notistack.SnackbarMessage {\r\n throw new Error(\"Function not implemented.\");\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport CheckCircleIcon from \"@material-ui/icons/CheckCircle\";\r\nimport FlagIcon from \"@material-ui/icons/Flag\";\r\nimport InfoIcon from \"@material-ui/icons/Info\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactCopyToClipboard from \"react-copy-to-clipboard\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport { useMediaQuery } from \"react-responsive\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as ManageDealer from \"src/app/pages/dealercustomer/managedealer\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport * as MuiIcon from \"@material-ui/icons\";\r\n\r\ninterface Data extends Models.ImportDealer.Main {}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"asc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: ReturnType;\r\n numSelected: number;\r\n onRequestSort: (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => void;\r\n onSelectAllClick: (event: React.ChangeEvent) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowCount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(\r\n props: EnhancedTableProps & {\r\n id: string;\r\n label: string;\r\n numeric?: boolean;\r\n disablePadding?: boolean;\r\n leftmost?: boolean;\r\n rightmost?: boolean;\r\n }\r\n) {\r\n const { classes, order, orderBy, onRequestSort, ...restOfProps } = props;\r\n const createSortHandler = (property: keyof Data) => (\r\n event: React.MouseEvent\r\n ) => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n {props.label}\r\n {orderBy === props.id ? (\r\n \r\n {order === \"desc\" ? \"sorted descending\" : \"sorted ascending\"}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n width: \"100%\",\r\n },\r\n paper: {\r\n width: \"100%\",\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: \"rect(0 0 0 0)\",\r\n height: 1,\r\n margin: -1,\r\n overflow: \"hidden\",\r\n padding: 0,\r\n position: \"absolute\",\r\n top: 20,\r\n width: 1,\r\n },\r\n })\r\n);\r\n\r\nfunction EnhancedTable({\r\n rows,\r\n displayData,\r\n isEmailFlag,\r\n}: {\r\n rows: Models.ImportDealer.Main[];\r\n isEmailFlag: boolean;\r\n displayData: boolean;\r\n}) {\r\n const classes = useStyles();\r\n const [order, setOrder] = React.useState(\"asc\");\r\n const [orderBy, setOrderBy] = React.useState(\"companyName\");\r\n const [selected, setSelected] = React.useState([]);\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(7);\r\n\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [rows]);\r\n\r\n const handleRequestSort = (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => {\r\n setPage(0);\r\n const isAsc = orderBy === property && order === \"asc\";\r\n setOrder(isAsc ? \"desc\" : \"asc\");\r\n setOrderBy(property);\r\n };\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelecteds = rows.map((n) => n.dealerProfileID);\r\n setSelected(newSelecteds);\r\n return;\r\n }\r\n setSelected([]);\r\n };\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n\r\n const isSelected = (name: string) => selected.indexOf(name) !== -1;\r\n\r\n const emptyRows =\r\n rowsPerPage - Math.min(rowsPerPage, rows.length - page * rowsPerPage);\r\n\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n const navigate = Router.useNavigate();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const stopnavigationHandle = (event: any) => {\r\n event.stopPropagation();\r\n };\r\n const importDealerStoreS = React.useContext(App.Contexts.importDealerStore);\r\n return (\r\n
\r\n \r\n \r\n {rows.length > 0 && (\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 {stableSort(rows as any, getComparator(order, orderBy))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((row, index) => {\r\n const isItemSelected = isSelected(row.dealerProfileID as any);\r\n const labelId = `enhanced-table-checkbox-${index}`;\r\n var data = row.dealerAddressID ?? \"\";\r\n var dealerMasterID = btoa(data.toString());\r\n var dataProfile = row.dealerMasterID ?? \"\";\r\n var dealerProfileID = btoa(dataProfile.toString());\r\n return (\r\n {\r\n let newSelected: any[] = [];\r\n importDealerStoreS.setSelected({\r\n selected: newSelected,\r\n });\r\n localStorage.setItem(\"dealerID\", JSON.stringify(row));\r\n localStorage.setItem(\"etID\", dealerProfileID.toString());\r\n \r\n\r\n navigate(\r\n `/dealercustomer/adddealeruser?q=${dealerProfileID}&m=${dealerMasterID}`\r\n );\r\n }}\r\n aria-checked={isItemSelected}\r\n tabIndex={-1}\r\n key={row.dealerProfileID}\r\n >\r\n \r\n {row.companyName}\r\n \r\n \r\n {row.firstName}\r\n {row.userType === \"P\" ? (\r\n \r\n Primary user\r\n }>\r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n {window.open(`mailto:${row.email}`)}}>\r\n \r\n click to open an mail\r\n }>{row.email}\r\n \r\n \r\n \r\n {row.phoneNumber}\r\n \r\n Click to copy the phone number.\r\n }\r\n >\r\n\r\n {\r\n enqueueSnackbar(\r\n t(\r\n `Phone number of ${row.firstName} has been successfully copied to clipboard.`\r\n ),\r\n {\r\n variant: \"success\",\r\n preventDuplicate: false,\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 {row.countryName}\r\n \r\n \r\n {row.city}\r\n \r\n \r\n \r\n \r\n {row.status === \"0\" ? (\r\n \r\n }\r\n label=\"Yet to import\"\r\n >\r\n ) : (\r\n \r\n }\r\n label=\"Imported\"\r\n >\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n })}\r\n {rows.length === 0 && (\r\n \r\n \r\n \r\n No dealer found\r\n \r\n \r\n \r\n )}\r\n {emptyRows > 0 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n {rows.length > 7 && (\r\n \r\n \r\n \r\n \r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n \r\n )}\r\n
\r\n );\r\n}\r\nexport const Main = Mobx.observer(function () {\r\n const [search, setSearch] = React.useState(\"\");\r\n const [state, setState] = React.useState();\r\n const [isEmailColor, setIsEmailColor] = React.useState(true);\r\n const [displayNoData, setDisplayNoData] = React.useState(false);\r\n const theme = Mui.useTheme();\r\n const isPortrait = useMediaQuery({ query: \"(orientation: portrait)\" });\r\n const importDealerStore = React.useContext(App.Contexts.manageDealerStore);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const etuid = userStore.user?.ETUID;\r\n const RoleName = userStore.user?.RoleName;\r\n const { t } = ReactI18next.useTranslation();\r\n React.useEffect(() => {\r\n userStore.setPreviousUrl({\r\n urls: \"/dealercustomer/managedealer\",\r\n });\r\n if (RoleName === \"dealer\") {\r\n const dealerLogin = importDealerStore.readUsers({\r\n searchtext: \"All\",\r\n roleName: etuid,\r\n });\r\n localStorage.setItem(\"dealerID\", JSON.stringify(dealerLogin));\r\n } else {\r\n importDealerStore.readUsers({ searchtext: \"All\", roleName: 0 });\r\n }\r\n\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n let searchHighlight: Boolean = false;\r\n const getSearchHighlight = (highlightFlag: boolean) => {\r\n searchHighlight = highlightFlag;\r\n return highlightFlag;\r\n };\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n setSearch(event.target.value as string);\r\n };\r\n\r\n const Nodata = importDealerStore.manageDealer.length > 0 ? true : false;\r\n const handleChange = (event: any) => {\r\n setSearch(event.target.value as string);\r\n };\r\n return (\r\n <>\r\n \r\n {Nodata && (\r\n \r\n \r\n \r\n \r\n Country\r\n \r\n \r\n \r\n None\r\n {Array.from(\r\n importDealerStore &&\r\n importDealerStore.manageDealer\r\n .reduce((acc: Set, set) => {\r\n return acc.add(set.countryName);\r\n }, new Set())\r\n .values()\r\n ).map((countryName: any) => (\r\n \r\n {countryName}\r\n \r\n ))}\r\n \r\n \r\n \r\n )}\r\n \r\n {Nodata && (\r\n \r\n \r\n \r\n )}\r\n \r\n {importDealerStore.isInitialLoading ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n {importDealerStore.view === \"CARD\" && (\r\n \r\n {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n manageDealer?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n manageDealer?.firstName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n manageDealer?.countryName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n manageDealer?.email\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n manageDealer?.phoneNumber\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase())\r\n );\r\n }\r\n )}\r\n />\r\n \r\n )}\r\n\r\n {isPortrait && (\r\n \r\n {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n manageDealer?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n manageDealer?.firstName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n manageDealer?.countryName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n manageDealer?.email\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase())\r\n );\r\n }\r\n )}\r\n />\r\n \r\n )}\r\n {importDealerStore.view === \"TABULAR\" && (\r\n \r\n {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n userData?.companyName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n userData?.firstName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n userData?.email\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n userData?.phoneNumber\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n userData?.countryName\r\n ?.toLowerCase()\r\n .includes(search.toLowerCase()) ||\r\n userData?.city?.toLowerCase().includes(search.toLowerCase())\r\n );\r\n })}\r\n displayData={displayNoData}\r\n isEmailFlag={isEmailColor}\r\n />\r\n \r\n )}\r\n \r\n )}\r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mobx from \"mobx\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export type View = \"TABULAR\" | \"CARD\" | \"LIST\";\r\n export interface IStore {\r\n isLoading: boolean;\r\n manageDealer: Models.ImportDealer.Main[];\r\n manageDealerService: Services.ImportDealer;\r\n view: Store.View;\r\n }\r\n\r\n export type Options = Pick;\r\n\r\n export namespace Read {\r\n export interface Props extends Services.ImportDealer.GetAllData.Props {}\r\n }\r\n\r\n export namespace SetView {\r\n export interface Props extends Pick {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public view: Store.View = \"TABULAR\";\r\n @Mobx.observable public manageDealer: Models.ImportDealer.Main[] = [];\r\n @Mobx.observable public selected: Models.ImportDealer.DealerUser[] = [];\r\n @Mobx.observable public isLoading: boolean = false;\r\n public manageDealerService: Services.ImportDealer;\r\n\r\n constructor({ view, manageDealerService }: Store.Options) {\r\n this.view = view;\r\n this.manageDealerService = manageDealerService;\r\n }\r\n\r\n @Mobx.action setView({ view }: Store.SetView.Props) {\r\n this.view = view;\r\n }\r\n\r\n @Mobx.action public async readUsers(props: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.manageDealerService.getManageDealerCompanyDetails(\r\n props\r\n );\r\n this.manageDealer = result;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n}\r\n","import * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export interface IStore {}\r\n\r\n export type Options = {\r\n deviceConfigurationUploadService: Services.DeviceConfigurationUpload;\r\n };\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n public deviceConfigurationUploadService: Services.DeviceConfigurationUpload;\r\n\r\n constructor({ deviceConfigurationUploadService }: Store.Options) {\r\n this.deviceConfigurationUploadService = deviceConfigurationUploadService;\r\n }\r\n\r\n public upload(props: Services.DeviceConfigurationUpload.Upload.Props) {\r\n return this.deviceConfigurationUploadService.upload(props);\r\n }\r\n\r\n public download() {\r\n return this.deviceConfigurationUploadService.download();\r\n }\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport clsx from \"clsx\";\r\nimport * as Formik from \"formik\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as XLSX from \"xlsx\";\r\nimport { useExcelGenerateAndDownload } from \"./use-excel-generate-and-download\";\r\n\r\nexport const readFile = (file: any) => {\r\n return new Promise((resolve) => {\r\n const reader = new FileReader();\r\n reader.addEventListener(\"load\", () => resolve(reader.result), false);\r\n reader.readAsBinaryString(file);\r\n });\r\n};\r\n\r\nexport const parseArr = (arr: Array) => {\r\n const [headings, ...data] = arr;\r\n\r\n return data.reduce((acc: any, curr: any, index: number) => {\r\n const newData: any = {};\r\n for (const [index, heading] of headings.entries()) {\r\n newData[heading] = curr[index] === undefined ? null : curr[index];\r\n }\r\n\r\n return [...acc, newData];\r\n }, []);\r\n};\r\n\r\nexport const Main = () => {\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const { t } = ReactI18next.useTranslation();\r\n\r\n const [fileDetails, setFileDetails] = React.useState();\r\n const [data, setData] = React.useState();\r\n const [isDownloading, setIsDownloading] = React.useState(false);\r\n\r\n const { exportAsExcelFile } = useExcelGenerateAndDownload();\r\n\r\n const classes = useStyles({ fileDetails });\r\n\r\n const deviceConfigurationUploadStore = React.useContext(\r\n App.Contexts.deviceConfigurationUploadStore\r\n );\r\n\r\n const onFileChange = async (e: any) => {\r\n if (e.target.files && e.target.files.length > 0) {\r\n const file = e.target.files[0];\r\n e.target.value = null;\r\n\r\n if (!(file.type || \"\").toLowerCase().includes(\"sheet\")) {\r\n enqueueSnackbar(\r\n t(\"Please attach a valid excel file. Supported file extensions are '.xlsx' and '.xlsb'.\"),\r\n {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n return;\r\n }\r\n\r\n const fileName = file.name;\r\n const fileSize = `${(file.size / 1024).toFixed(2)} KB`;\r\n const fileType = file.type;\r\n const fileModifiedDate = file.lastModifiedDate;\r\n setFileDetails(undefined);\r\n setFileDetails({\r\n fileName,\r\n fileSize,\r\n fileType,\r\n fileModifiedDate,\r\n });\r\n\r\n let data = await readFile(file);\r\n\r\n let workbook = XLSX.read(data, { type: \"binary\" });\r\n workbook.SheetNames.forEach((sheet) => {\r\n let rowObject = XLSX.utils.sheet_to_json(workbook.Sheets[sheet], {\r\n header: 1,\r\n raw: true,\r\n });\r\n setData([]);\r\n setData(parseArr(rowObject));\r\n });\r\n }\r\n };\r\n\r\n const handleUpload: (\r\n values: {},\r\n formikHelpers: Formik.FormikHelpers<{}>\r\n ) => void | Promise = async (values, { setSubmitting }) => {\r\n try {\r\n await deviceConfigurationUploadStore.upload({\r\n body: { DynamicDataList: data },\r\n });\r\n\r\n enqueueSnackbar(\r\n t(\"Your configuration excel file has been successfully uploaded!\"),\r\n {\r\n variant: \"success\",\r\n preventDuplicate: true,\r\n }\r\n );\r\n } catch (error) {\r\n console.error(error);\r\n if (error?.response?.status === 400) {\r\n enqueueSnackbar(\r\n t(\r\n \"The file currently uploaded doesn't contains the configuration(s) in an acceptable format.\"\r\n ),\r\n {\r\n variant: \"error\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n return;\r\n }\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setFileDetails(undefined);\r\n setData(undefined);\r\n setSubmitting(false);\r\n }\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n const handleDownload = async () => {\r\n try {\r\n setIsDownloading(true);\r\n const { result } = await deviceConfigurationUploadStore.download();\r\n\r\n enqueueSnackbar(\r\n t(\r\n \"Latest configurations has been successfully downloaded! Please, save the file on your system.\"\r\n ),\r\n {\r\n variant: \"success\",\r\n preventDuplicate: true,\r\n }\r\n );\r\n\r\n exportAsExcelFile(result, \"device-configurations\");\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setIsDownloading(false);\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n \r\n {({ isSubmitting, submitForm }) => (\r\n \r\n \r\n \r\n Welcome to KERN's scales configuration management setup\r\n \r\n \r\n }\r\n />\r\n \r\n \r\n \r\n \r\n {!fileDetails && (\r\n \r\n \r\n Please load the configuration excel file using the following button.\r\n \r\n \r\n \r\n )}\r\n\r\n {fileDetails && (\r\n \r\n \r\n Your excel file has been successfully loaded. Now, make sure the file you are going to upload is the right configuration file before proceeding.\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 {fileDetails && (\r\n \r\n \r\n {fileDetails?.fileName && (\r\n \r\n \r\n \r\n File name\r\n \r\n \r\n \r\n {fileDetails.fileName}\r\n \r\n \r\n )}\r\n\r\n {fileDetails?.fileSize && (\r\n \r\n \r\n \r\n File size\r\n \r\n \r\n \r\n {fileDetails.fileSize}\r\n \r\n \r\n )}\r\n\r\n {fileDetails?.fileType && (\r\n \r\n \r\n \r\n File type\r\n \r\n \r\n \r\n {fileDetails.fileType}\r\n \r\n \r\n )}\r\n\r\n {fileDetails?.fileModifiedDate && (\r\n \r\n \r\n \r\n File modified date\r\n \r\n \r\n \r\n {(fileDetails.fileModifiedDate as Date).toString()}\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 Download latest configurations\r\n \r\n {isDownloading && (\r\n \r\n )}\r\n \r\n\r\n \r\n \r\n Upload configuration\r\n \r\n {isSubmitting && (\r\n \r\n )}\r\n \r\n \r\n
\r\n )}\r\n
\r\n \r\n );\r\n};\r\n\r\nexport interface StyledProps {\r\n fileDetails?: unknown;\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n previewContainer: {\r\n width: 150,\r\n },\r\n inlineFlex: {\r\n display: \"inline-flex\",\r\n },\r\n card: {\r\n backgroundColor: theme.palette.background.default,\r\n width: 150,\r\n height: 150,\r\n },\r\n uploadIcon: {\r\n color: (props: StyledProps) =>\r\n props.fileDetails\r\n ? theme.palette.success.main\r\n : theme.palette.text.secondary,\r\n },\r\n input: {\r\n display: \"none\",\r\n },\r\n })\r\n);\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Hooks from \"src/app/hooks\";\r\nimport * as Configs from \"src/configs\";\r\nimport * as Models from \"src/models\";\r\nimport * as Notistack from \"notistack\";\r\nimport { IndustrySegment } from \"src/services\";\r\n\r\nexport declare namespace Form {\r\n export interface Props {\r\n availableArticles: Models.Set.Article[];\r\n generateFlag(props: boolean): void;\r\n }\r\n\r\n export interface Values {\r\n macId: string;\r\n customerName?: string;\r\n location?: string;\r\n remarks?: string;\r\n eT_version?: number;\r\n deviceName?: string;\r\n }\r\n}\r\n\r\nfunction CustomTextField({\r\n availableArticles,\r\n generateFlag,\r\n ...props\r\n}: FormikMui.TextFieldProps & Form.Props) {\r\n const generateLicenseStore = React.useContext(\r\n App.Contexts.license.generateStore\r\n );\r\n const tenantStore = React.useContext(App.Contexts.tenantStore);\r\n\r\n const [searchParams] = Router.useSearchParams();\r\n const forceUpdate = Hooks.useForceUpdate();\r\n const navigate = Router.useNavigate();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n\r\n const {\r\n // form: { setFieldTouched, setFieldValue },\r\n form: { setFieldTouched },\r\n field: { name },\r\n } = props;\r\n\r\n const onBlur = React.useCallback(\r\n async (event) => {\r\n const sets = searchParams.getAll(\"set\");\r\n\r\n if (sets.length) {\r\n return;\r\n }\r\n\r\n const { value } = event.target;\r\n setFieldTouched(name);\r\n if (value) {\r\n const result = await generateLicenseStore.fetchWithMachineId({\r\n machineId: value,\r\n availableArticles,\r\n });\r\n if(result?.license?.macId !== undefined){\r\n if(result?.license?.createdby === userStore.user?.ETUID){\r\n var newurl = `/easy-touch-devices/generate?macID=${result?.license?.macId}&deviceName=${result?.license?.deviceName}&location=${\r\n result?.license?.location\r\n }`;\r\n \r\n navigate(newurl);\r\n }else{\r\n var macQuery = searchParams.get(\"macId\") === \"\" ? null : \"\"\r\n var pageUrl = `/easy-touch-devices/generate?gnot=${\"true\"}`;\r\n navigate(pageUrl);\r\n enqueueSnackbar(\r\n \"Entered mac-Id already assigned to other account, please use the different one\",\r\n {\r\n variant: \"error\",\r\n }\r\n );\r\n \r\n }\r\n }else{\r\n \r\n var newurls = `/easy-touch-devices/generate`\r\n navigate(newurls);\r\n }\r\n\r\n (function () {\r\n result?.license?.sets.forEach((set) => {\r\n const article = result?.availableArticlesMap.get(set);\r\n\r\n if (!article) {\r\n return;\r\n }\r\n\r\n if (\r\n Configs.Workaround.isCloudArticle({\r\n code: article.hundCode,\r\n }) ||\r\n Configs.Workaround.isCloudArticle({ code: article.setCode })\r\n ) {\r\n generateLicenseStore.setCloudArticle({ cloudArticle: article });\r\n }\r\n });\r\n })();\r\n\r\n (function () {\r\n if (result?.license?.tenantId) {\r\n const tenantId = result?.license.tenantId;\r\n\r\n const tenant = tenantStore.tenants.find(\r\n (tenant) => tenant.id === tenantId\r\n );\r\n\r\n if (tenant) {\r\n generateLicenseStore.setSelectedTenant({\r\n selectedTenant: tenant,\r\n });\r\n forceUpdate();\r\n return;\r\n }\r\n\r\n tenantStore.read().then(() => {\r\n const tenant = tenantStore.tenants.find(\r\n (tenant) => tenant.id === tenantId\r\n );\r\n\r\n generateLicenseStore.setSelectedTenant({\r\n selectedTenant: tenant,\r\n });\r\n forceUpdate();\r\n });\r\n }\r\n })();\r\n }\r\n },\r\n [availableArticles, enqueueSnackbar, forceUpdate, generateLicenseStore, name, navigate, searchParams, setFieldTouched, tenantStore, userStore.user]\r\n );\r\n\r\n return (\r\n \r\n );\r\n}\r\nconst CustomizedSelectForFormik = ({\r\n children,\r\n form,\r\n field,\r\n isVersion\r\n}: {\r\n children: any;\r\n form: any;\r\n field: any;\r\n isVersion:boolean;\r\n}) => {\r\n const { name, value } = field;\r\n const { setFieldValue } = form;\r\n const [values, setValues] = React.useState(2);\r\n const generateLicenseStore = React.useContext(\r\n App.Contexts.license.generateStore\r\n );\r\n return (\r\n {\r\n\r\n if(!isVersion){\r\n generateLicenseStore.setIndustrySegmentID(e.target.value);\r\n const industryID : any = e.target.value;\r\n localStorage.setItem(\"industryID\", industryID);\r\n }\r\n setFieldValue(name, e.target.value);\r\n setValues(e.target.value);\r\n }}\r\n placeholder={name}\r\n fullWidth\r\n >\r\n {children}\r\n \r\n );\r\n};\r\n// eslint-disable-next-line no-redeclare\r\nexport function Form({ availableArticles, generateFlag }: Form.Props) {\r\n const { t } = ReactI18next.useTranslation();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const generateStore = React.useContext(App.Contexts.license.generateStore);\r\n const userRole = userStore.user?.RoleName;\r\n const [searchParams] = Router.useSearchParams();\r\n const industrySegmentStore = React.useContext(\r\n App.Contexts.industrySegmentStore\r\n );\r\n React.useEffect(() => {\r\n industrySegmentStore.read();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n const generateLicenseStore = React.useContext(\r\n App.Contexts.license.generateStore\r\n );\r\n React.useEffect(() => {\r\n const localStore = localStorage.getItem(\"industryID\");\r\n console.log(\"localStore\",localStore)\r\n\r\n // setShowVersion(!!(industrySegmentID && industrySegmentID.toString() === localStore)); // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [generateLicenseStore.industrySegmentId]);\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Select the Industry/Segments\r\n \r\n { industrySegmentStore?.filtered.map((k:any,index)=>\r\n (\r\n {k.name}\r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {(userRole === \"customer\" || userRole === \"dealer\") && \r\n \r\n }\r\n \r\n \r\n \r\n \r\n \r\n {(userRole !== \"customer\" && userRole !== \"dealer\") && \r\n \r\n }\r\n \r\n \r\n \r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mobx from \"mobx\";\r\nimport * as Configs from \"src/configs\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export namespace License {\r\n export type Created = Pick & {\r\n sets: Models.Set.Article[];\r\n };\r\n }\r\n\r\n export interface IStore {\r\n isLoadingManualLicenses: boolean;\r\n selectedArticles: { [Key: number]: boolean; [Key: string]: boolean };\r\n created?: Store.License.Created;\r\n manualLicenses: Models.ManualLicense[];\r\n isBasicSetSelected: boolean;\r\n articles: Map;\r\n tenantSelectionDialogOpen: boolean;\r\n selectedTenant?: Models.Tenant.Main;\r\n cloudArticle?: Models.Set.Article;\r\n }\r\n\r\n export interface Options {\r\n licenseService: Services.License;\r\n }\r\n\r\n export namespace SetArticles {\r\n export interface Props {\r\n articles: Models.Set.Article[];\r\n }\r\n }\r\n\r\n export namespace SetSelectedArticle {\r\n export interface Props {\r\n article: Models.Set.Article;\r\n }\r\n }\r\n\r\n export namespace SetIsBasicSetSelected {\r\n export interface Props extends Store.SetSelectedArticle.Props {\r\n isArticleSelected: boolean;\r\n }\r\n }\r\n\r\n export namespace SetSelectedArticles {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetCreated {\r\n export interface Props extends Required> {}\r\n }\r\n\r\n export namespace FetchWithMachineId {\r\n export type Props = Services.License.GetManualLicenseByMachineId.Props & {\r\n availableArticles: Models.Set.Article[];\r\n };\r\n }\r\n\r\n export namespace SetTenantSelectionDialogOpen {\r\n export interface Props\r\n extends Pick {}\r\n }\r\n\r\n export namespace SetSelectedTenant {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetCloudArticle {\r\n export interface Props extends Pick {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public isLoadingManualLicenses: boolean = false;\r\n @Mobx.observable public selectedArticles: {\r\n [Key: number]: boolean;\r\n [Key: string]: boolean;\r\n } = {};\r\n @Mobx.observable public created?: Store.License.Created;\r\n @Mobx.observable public manualLicenses: Models.ManualLicense[] = [];\r\n @Mobx.observable public isBasicSetSelected: boolean = false;\r\n @Mobx.observable public articles: Map = new Map();\r\n @Mobx.observable public tenantSelectionDialogOpen: boolean = false;\r\n @Mobx.observable public selectedTenant?: Models.Tenant.Main;\r\n @Mobx.observable public cloudArticle?: Models.Set.Article;\r\n @Mobx.observable public manualLicensesByMachineID: Models.ManualLicense[] =\r\n [];\r\n\r\n private licenseService: Services.License;\r\n\r\n constructor({ licenseService }: Store.Options) {\r\n this.licenseService = licenseService;\r\n }\r\n\r\n @Mobx.action public reset() {\r\n this.selectedArticles = {};\r\n this.created = undefined;\r\n this.articles = new Map();\r\n this.selectedTenant = undefined;\r\n this.cloudArticle = undefined;\r\n }\r\n\r\n @Mobx.action public setSelectedTenant({\r\n selectedTenant,\r\n }: Store.SetSelectedTenant.Props) {\r\n this.selectedTenant = selectedTenant;\r\n }\r\n\r\n @Mobx.action public async fetchManualLicenses() {\r\n try {\r\n this.isLoadingManualLicenses = true;\r\n const { status, result } =\r\n await this.licenseService.GetAllManualLicenses();\r\n if (status === Constants.environment.apiStatus.Success) {\r\n this.manualLicenses = result;\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoadingManualLicenses = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoadingManualLicenses(): boolean {\r\n if (this.manualLicenses.length !== 0) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoadingManualLicenses) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n @Mobx.computed public get isDependentArticlesValid(): boolean {\r\n return (\r\n Object.keys(this.selectedArticles)\r\n .filter((key) => this.selectedArticles[key])\r\n .map((key) => this.articles.get(parseInt(key, 10)))\r\n .filter((article) => article) as Models.Set.Article[]\r\n ).reduce((acc: boolean, article: Models.Set.Article) => {\r\n if (!acc) {\r\n return acc;\r\n }\r\n return article.dependentSets.reduce((acc, set) => {\r\n if (!acc) {\r\n return acc;\r\n }\r\n if (this.selectedArticles[set]) {\r\n return true;\r\n }\r\n return false;\r\n }, true);\r\n }, true);\r\n }\r\n\r\n @Mobx.computed public get dependentArticles(): Set {\r\n return (\r\n Object.keys(this.selectedArticles)\r\n .filter((key) => this.selectedArticles[key])\r\n .map((key) => this.articles.get(parseInt(key, 10)))\r\n .filter((article) => article) as Models.Set.Article[]\r\n ).reduce((acc: Set, article: Models.Set.Article) => {\r\n article.dependentSets.forEach((set) => {\r\n if (this.selectedArticles[set]) {\r\n return;\r\n }\r\n acc.add(this.articles.get(set)?.setCode ?? \"\");\r\n });\r\n return acc;\r\n }, new Set());\r\n }\r\n\r\n @Mobx.action public setArticles({ articles }: Store.SetArticles.Props) {\r\n this.articles = new Map();\r\n articles.forEach((article) => {\r\n this.articles.set(article.setID, article);\r\n });\r\n }\r\n\r\n @Mobx.action\r\n public setTenantSelectionDialogOpen({\r\n tenantSelectionDialogOpen,\r\n }: Store.SetTenantSelectionDialogOpen.Props) {\r\n this.tenantSelectionDialogOpen = tenantSelectionDialogOpen;\r\n }\r\n\r\n @Mobx.action public setCloudArticle({\r\n cloudArticle,\r\n }: Store.SetCloudArticle.Props) {\r\n this.cloudArticle = cloudArticle;\r\n }\r\n\r\n @Mobx.action public setSelectedArticle({\r\n article,\r\n }: Store.SetSelectedArticle.Props) {\r\n const { setID, hundCode, setCode } = article;\r\n const selected = this.selectedArticles[setID];\r\n const newSelected = !Boolean(selected);\r\n\r\n if (\r\n newSelected &&\r\n (Configs.Workaround.isCloudArticle({ code: hundCode }) ||\r\n Configs.Workaround.isCloudArticle({ code: setCode }))\r\n ) {\r\n this.setCloudArticle({ cloudArticle: article });\r\n if (!this.selectedTenant) {\r\n this.setTenantSelectionDialogOpen({ tenantSelectionDialogOpen: true });\r\n }\r\n }\r\n\r\n if (\r\n !newSelected &&\r\n (Configs.Workaround.isCloudArticle({ code: hundCode }) ||\r\n Configs.Workaround.isCloudArticle({ code: setCode }))\r\n ) {\r\n this.setCloudArticle({ cloudArticle: undefined });\r\n this.setSelectedTenant({ selectedTenant: undefined });\r\n }\r\n\r\n this.selectedArticles[setID] = newSelected;\r\n this.setIsBasicSetSelected({ article, isArticleSelected: newSelected });\r\n }\r\n\r\n public setIsBasicSetSelected({\r\n article,\r\n isArticleSelected,\r\n }: Store.SetIsBasicSetSelected.Props) {\r\n if (\r\n (article.setName.toLowerCase().includes(\"os\") ||\r\n article.setName.toLowerCase().includes(\"basic\")) &&\r\n isArticleSelected\r\n ) {\r\n this.isBasicSetSelected = true;\r\n }\r\n if (\r\n (article.setName.toLowerCase().includes(\"os\") ||\r\n article.setName.toLowerCase().includes(\"basic\")) &&\r\n !isArticleSelected\r\n ) {\r\n this.isBasicSetSelected = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get noOfSelectedArticles(): number {\r\n return Object.keys(this.selectedArticles).filter(\r\n (key) => this.selectedArticles[key]\r\n ).length;\r\n }\r\n\r\n @Mobx.computed public get onlySelectedArticles(): number[] {\r\n return Object.keys(this.selectedArticles)\r\n .filter((key) => this.selectedArticles[key])\r\n .map((key) => parseInt(key, 10));\r\n }\r\n\r\n @Mobx.action public setSelectedArticles({\r\n selectedArticles,\r\n }: Store.SetSelectedArticles.Props) {\r\n this.selectedArticles = selectedArticles;\r\n }\r\n\r\n @Mobx.action public setCreated({ created }: Store.SetCreated.Props) {\r\n this.created = created;\r\n }\r\n\r\n @Mobx.action public async fetchWithMachineId({\r\n machineId,\r\n availableArticles,\r\n }: Store.FetchWithMachineId.Props) {\r\n try {\r\n const availableArticlesMap = new Map();\r\n availableArticles.forEach((article) => {\r\n availableArticlesMap.set(article.setID, article);\r\n });\r\n\r\n const { status, result } =\r\n await this.licenseService.GetManualLicenseByMachineId({\r\n machineId,\r\n });\r\n const [license] = result || [];\r\n if (status === Constants.environment.apiStatus.Success && license) {\r\n this.manualLicensesByMachineID = [license];\r\n license.sets.forEach((setId) => {\r\n this.selectedArticles[setId] = true;\r\n const article = availableArticlesMap.get(setId);\r\n if (article) {\r\n this.setIsBasicSetSelected({ article, isArticleSelected: true });\r\n }\r\n });\r\n \r\n\r\n return { availableArticlesMap, license };\r\n }\r\n return { availableArticlesMap };\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n\r\n @Mobx.computed public get getManualLicenseByMacID(): Models.ManualLicense[] {\r\n if (this.getManualLicenseByMacID.length > 0) {\r\n return this.getManualLicenseByMacID;\r\n } else {\r\n return [];\r\n }\r\n }\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as ReactCopyToClipboard from \"react-copy-to-clipboard\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\nexport const Success = Mobx.observer(function () {\r\n const [copied, setCopied] = React.useState(false);\r\n\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const generateLicenseStore = React.useContext(\r\n App.Contexts.license.generateStore\r\n );\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n\r\n React.useEffect(() => {\r\n functionStore.read();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n return () => {\r\n generateLicenseStore.reset();\r\n };\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n return (\r\n <>\r\n {!generateLicenseStore.created ? (\r\n \r\n ) : (\r\n <>\r\n \r\n \r\n \r\n \r\n License successfully generated.\r\n \r\n \r\n \r\n Share the license key from the below checkbox with your relevant\r\n customer.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n setCopied(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\n \r\n Bought articles\r\n \r\n \r\n \r\n {generateLicenseStore.created?.sets.map((article) => (\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 Generate another license\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {generateLicenseStore.created && (\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n Back to manual licenses\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Generate from \"src/app/pages/easy-touch-device/generate\";\r\nimport * as Configs from \"src/configs\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport * as Yup from \"yup\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as ReactCopyToClipboard from \"react-copy-to-clipboard\";\r\nimport Dialog from \"@material-ui/core/Dialog\";\r\nimport DialogActions from \"@material-ui/core/DialogActions\";\r\nimport DialogContent from \"@material-ui/core/DialogContent\";\r\nimport DialogContentText from \"@material-ui/core/DialogContentText\";\r\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const [data, setData] = React.useState([]);\r\n const [dialogOpen, setDialogOpen] = React.useState(false);\r\n const [loading, setLoading] = React.useState(false);\r\n const [search, setSearch] = React.useState(\"\");\r\n const [gmac, setGenMac] = React.useState(false);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const tenantStore = React.useContext(App.Contexts.tenantStore);\r\n const generateLicenseStore = React.useContext(\r\n App.Contexts.license.generateStore\r\n );\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const navigate = Router.useNavigate();\r\n const [searchParams] = Router.useSearchParams();\r\n const userRole = userStore.user?.RoleName ?? \"\";\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const articleService = new Services.Article({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n const licenseService = new Services.License({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n const dealerCustomerService = new Services.DealerCustomerService({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n \r\n\r\n React.useEffect(() => {\r\n tenantStore.setReturnUrl({ returnUrl: \"\" });\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n (function () {\r\n const tenantId = searchParams.get(\"tenantId\");\r\n \r\n if (!tenantId) {\r\n return;\r\n }\r\n\r\n \r\n\r\n tenantStore.read().then(() => {\r\n const tenant = tenantStore.tenants.find(\r\n (tenant) => tenant.id === parseInt(tenantId, 10)\r\n );\r\n\r\n generateLicenseStore.setSelectedTenant({ selectedTenant: tenant });\r\n });\r\n })();\r\n return () => {\r\n if (generateLicenseStore.created) {\r\n return;\r\n }\r\n\r\n generateLicenseStore.reset();\r\n };\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n const userId = userStore.user?.uid;\r\n const ETUID= userStore.user?.ETUID\r\n \r\n\r\n if (userId === undefined || userRole === undefined) {\r\n return;\r\n }\r\n\r\n generateLicenseStore.reset();\r\n \r\n articleService\r\n .getAllData({ status: 1,isManualActivation: true ,ETUID:ETUID,roleName:userRole})\r\n .then((result) => {\r\n const industryID = localStorage.getItem(\"industryID\");\r\n console.log(result.result.toString());\r\n\r\n const industryFilter = result?.result?.filter(k => k.industrySegmentsId.toString() === industryID)\r\n\r\n setData(industryFilter);\r\n console.log(industryFilter.toString());\r\n const basicSet = industryFilter.filter(k=>k.hundCode === \"SET-01\");\r\n\r\n generateLicenseStore.setArticles({ articles: industryFilter });\r\n\r\n\r\n generateLicenseStore.setSelectedArticle({ article:basicSet[0] });\r\n const availableArticlesMap = new Map();\r\n industryFilter.forEach((article) => {\r\n availableArticlesMap.set(article.setID, article);\r\n });\r\n\r\n const sets = searchParams.getAll(\"set\");\r\n\r\n sets.forEach((set) => {\r\n const article = availableArticlesMap.get(parseInt(set, 10));\r\n\r\n if (!article) {\r\n return;\r\n }\r\n\r\n if (\r\n Configs.Workaround.isCloudArticle({ code: article.hundCode }) ||\r\n Configs.Workaround.isCloudArticle({ code: article.setCode })\r\n ) {\r\n generateLicenseStore.setCloudArticle({ cloudArticle: article });\r\n }\r\n });\r\n\r\n if (sets.length) {\r\n generateLicenseStore.setSelectedArticles({\r\n selectedArticles: sets.reduce((acc, set) => {\r\n const article = availableArticlesMap.get(parseInt(set, 10));\r\n if (article) {\r\n generateLicenseStore.setIsBasicSetSelected({\r\n article,\r\n isArticleSelected: true,\r\n });\r\n }\r\n return { ...acc, [parseInt(set, 10)]: true };\r\n }, {}),\r\n });\r\n }\r\n })\r\n .catch(console.error);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [generateLicenseStore.industrySegmentId]);\r\n\r\n React.useEffect(() => {\r\n functionStore.read();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n tenantStore.read();\r\n }, [generateLicenseStore.tenantSelectionDialogOpen, tenantStore]);\r\n React.useEffect(() => {\r\n const maccGenerate = searchParams.get(\"gnot\") \r\n \r\n setGenMac(maccGenerate === \"true\" ? true :false );\r\n }, [generateLicenseStore.tenantSelectionDialogOpen, searchParams, tenantStore]);\r\n\r\n\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n setSearch(event.target.value as string);\r\n };\r\n\r\n async function handleCreate(\r\n values: Generate.Form.Values,\r\n { setSubmitting }: Formik.FormikHelpers\r\n ) {\r\n try {\r\n setLoading(true);\r\n const sets: number[] = Object.keys(\r\n generateLicenseStore.selectedArticles\r\n ).reduce((acc: number[], key) => {\r\n if (generateLicenseStore.selectedArticles[key]) {\r\n return [...acc, parseInt(key, 10)];\r\n }\r\n return acc;\r\n }, []);\r\n if (sets.length === 0) {\r\n return;\r\n }\r\n\r\n \r\n\r\n const userId = userStore.user?.uid;\r\n if (userId === undefined) {\r\n throw new Error(t(\"uid is undefined\"));\r\n }\r\n if (values.eT_version == null) {\r\n values.eT_version = 2;\r\n }\r\n\r\n if (userStore.user?.RoleName === \"admin\") {\r\n const { status, result } = await licenseService.Create({\r\n ...values,\r\n tenantId: generateLicenseStore.selectedTenant?.id,\r\n sets,\r\n userId,\r\n });\r\n\r\n if (status === 100 && (result as unknown as string) === \"Error\") {\r\n throw new Error(result as unknown as string);\r\n }\r\n\r\n generateLicenseStore.setCreated({\r\n created: {\r\n licenseKey: result.licenseKey,\r\n sets: data?.filter((article) => sets.includes(article.setID)),\r\n },\r\n });\r\n navigate(\"success\")\r\n\r\n } else {\r\n console.log(\"else starts\")\r\n const uid = userStore.user?.ETUID ?? \"0\";\r\n\r\n var manualLicenseAvailable =\r\n await licenseStore.getManualLicenseAvailableList({\r\n body: { status: null, userID: uid },\r\n userRole: \"dealer\",\r\n uid,\r\n isGetAll: true,\r\n });\r\n \r\n const manual = manualLicenseAvailable?.filter(\r\n ({ setID }) => sets.includes(setID)\r\n );\r\n var license: any = manual?.map((m) => {\r\n return {\r\n licenseDetailID: m.licenseDetailID,\r\n setID: m.setID,\r\n };\r\n });\r\n \r\n const { status, result } =\r\n await dealerCustomerService.CreateManualLicense({\r\n ETUID: userStore.user?.ETUID ?? 0,\r\n DeviceName: values.deviceName,\r\n ActivationAck: \"1\",\r\n Createdby: 0,\r\n LicenseList: license,\r\n LicenseKey: \"\",\r\n Remarks: values.remarks,\r\n ActivationKey: \"fhvhjghfhgjbkjhgfgh\",\r\n CustomerName: values.customerName ?? \"\",\r\n eT_version: values.eT_version,\r\n Location: values.location ?? \"\",\r\n MacId: values.macId,\r\n });\r\n console.log(\"create exceuted\")\r\n if (status === 100 && (result as unknown as string) === \"Error\") {\r\n throw new Error(result as unknown as string);\r\n }\r\n\r\n generateLicenseStore.setCreated({\r\n created: {\r\n licenseKey: result.licenseKey,\r\n sets: data?.filter((article) => sets.includes(article.setID)),\r\n },\r\n });\r\n\r\n setLoading(false);\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n setSubmitting(false);\r\n }\r\n }\r\n const easyTouchDeviceStore = React.useContext(\r\n App.Contexts.easyTouchDeviceStore\r\n );\r\nconst generateFlag = (props:boolean)=>{\r\n\r\n\r\n}\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelectedArticles = data\r\n ?.filter((article) => {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName.toLowerCase().includes(search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode.toLowerCase().includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode.toLowerCase().includes(search.toLowerCase()))\r\n );\r\n })\r\n .map((article) => {\r\n if (\r\n Configs.Workaround.isCloudArticle({ code: article.hundCode }) ||\r\n Configs.Workaround.isCloudArticle({ code: article.setCode })\r\n ) {\r\n generateLicenseStore.setCloudArticle({ cloudArticle: article });\r\n\r\n if (!generateLicenseStore.selectedTenant) {\r\n generateLicenseStore.setTenantSelectionDialogOpen({\r\n tenantSelectionDialogOpen: true,\r\n });\r\n }\r\n }\r\n\r\n return article.setID;\r\n })\r\n .reduce((acc, id) => {\r\n return { ...acc, [id]: true };\r\n }, {});\r\n generateLicenseStore.setSelectedArticles({\r\n selectedArticles: search\r\n ? { ...generateLicenseStore.selectedArticles, ...newSelectedArticles }\r\n : newSelectedArticles,\r\n });\r\n setSearch(\"\");\r\n return;\r\n }\r\n\r\n const newSelectedArticles = data\r\n ?.filter((article) => {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName.toLowerCase().includes(search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode.toLowerCase().includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode.toLowerCase().includes(search.toLowerCase()))\r\n );\r\n })\r\n .map((article) => {\r\n if (\r\n Configs.Workaround.isCloudArticle({ code: article.hundCode }) ||\r\n Configs.Workaround.isCloudArticle({ code: article.setCode })\r\n ) {\r\n generateLicenseStore.setCloudArticle({ cloudArticle: undefined });\r\n generateLicenseStore.setSelectedTenant({ selectedTenant: undefined });\r\n }\r\n\r\n return article.setID;\r\n })\r\n .reduce((acc, id) => {\r\n return { ...acc, [id]: false };\r\n }, {});\r\n generateLicenseStore.setSelectedArticles({\r\n selectedArticles: search\r\n ? { ...generateLicenseStore.selectedArticles, ...newSelectedArticles }\r\n : {},\r\n });\r\n setSearch(\"\");\r\n };\r\n const successAcknowledgement = () => {\r\n enqueueSnackbar(t(\"License(s) deactivated successfully.\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n\r\n easyTouchDeviceStore.read({\r\n userRole: \"customer\",\r\n status: 1,\r\n uid: userStore.user?.ETUID ?? 0,\r\n });\r\n navigate(\"/easy-touch-devices\")\r\n };\r\n return (\r\n <>\r\n \r\n {\r\n setDialogOpen(false);\r\n }}\r\n maxWidth=\"md\"\r\n aria-labelledby=\"alert-dialog-slide-title\"\r\n aria-describedby=\"alert-dialog-slide-description\"\r\n >\r\n {\"\"}\r\n \r\n \r\n \r\n \r\n \r\n Installation key generated successfully.\r\n \r\n \r\n \r\n \r\n \r\n The installation key generated can be copied for activating the easy touch manually.\r\n \r\n \r\n \r\n \r\n \r\n \r\n {loading ? \r\n \r\n : generateLicenseStore.created?.licenseKey} \r\n \r\n \r\n \r\n {!loading && \r\n {\r\n setDialogOpen(false);\r\n \r\n }}\r\n variant=\"contained\"\r\n color=\"default\"\r\n style={{\r\n height: \"32px\",\r\n width: \"150px\",\r\n marginBottom: \"12px\",\r\n marginTop: \"12px\",\r\n \r\n }}\r\n >\r\n Back\r\n \r\n {\r\n enqueueSnackbar(\r\n t(\r\n `License key has been successfully copied to clipboard.`\r\n ),\r\n {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n }}\r\n >\r\n {\r\n \r\n \r\n }}\r\n variant=\"contained\"\r\n color=\"primary\"\r\n style={{\r\n height: \"32px\",\r\n width: \"150px\",\r\n marginBottom: \"12px\",\r\n marginTop: \"12px\",\r\n }}\r\n >\r\n Copy key\r\n \r\n \r\n }\r\n \r\n \r\n \r\n \r\n \r\n ({\r\n macId: Yup.string()\r\n .nullable()\r\n .required(t(\"Machine ID is required\")),\r\n customerName: userStore.user?.RoleName !== \"customer\" ? Yup.string().nullable()\r\n .required(t(\"Customer name is required\")):undefined,\r\n deviceName: userStore.user?.RoleName === \"customer\" ? Yup.string().nullable()\r\n .required(t(\"Device name is required\")):undefined,\r\n })}\r\n onSubmit={handleCreate}\r\n >\r\n {({ isSubmitting, values, submitForm, submitCount }) => (\r\n <>\r\n {\r\n generateLicenseStore.setTenantSelectionDialogOpen({\r\n tenantSelectionDialogOpen: false,\r\n });\r\n\r\n if (generateLicenseStore.selectedTenant) {\r\n return;\r\n }\r\n\r\n generateLicenseStore.setSelectedArticle({\r\n article:\r\n generateLicenseStore.cloudArticle as Models.Set.Article,\r\n });\r\n }}\r\n contentText={\r\n \r\n {tenantStore.activeTenants.length === 0 && (\r\n \r\n \r\n \r\n No tenants found\r\n \r\n \r\n \r\n There are no active tenants to choose from.\r\n Please add active tenants and try again later!\r\n \r\n \r\n )}\r\n {tenantStore.activeTenants.map((tenant, index) => (\r\n \r\n {\r\n generateLicenseStore.setSelectedTenant({\r\n selectedTenant: tenant,\r\n });\r\n generateLicenseStore.setTenantSelectionDialogOpen(\r\n {\r\n tenantSelectionDialogOpen: false,\r\n }\r\n );\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n {index !== tenantStore.tenants.length - 1 && (\r\n \r\n )}\r\n \r\n ))}\r\n \r\n }\r\n actions={\r\n <>\r\n {\r\n generateLicenseStore.setSelectedArticle({\r\n article:\r\n generateLicenseStore.cloudArticle as Models.Set.Article,\r\n });\r\n generateLicenseStore.setTenantSelectionDialogOpen(\r\n {\r\n tenantSelectionDialogOpen: false,\r\n }\r\n );\r\n }}\r\n >\r\n Cancel {generateLicenseStore.cloudArticle?.setName}{\" \"}\r\n Article\r\n \r\n {\r\n const returnUrl = `/licenses/generate?macId=${\r\n values.macId\r\n }&customerName=${values.customerName}&remarks=${\r\n values.remarks\r\n }&tenantId=${\r\n generateLicenseStore.selectedTenant?.id ?? \"\"\r\n }${generateLicenseStore.onlySelectedArticles.reduce(\r\n (acc: string, set) => {\r\n return acc + `&set=${set}`;\r\n },\r\n \"\"\r\n )}`;\r\n\r\n tenantStore.setReturnUrl({ returnUrl });\r\n }}\r\n >\r\n Create New Tenant\r\n \r\n \r\n }\r\n title={\r\n <>\r\n {generateLicenseStore.cloudArticle\r\n ? `Select tenant for ${generateLicenseStore.cloudArticle.setName}`\r\n : \"Select tenant\"}\r\n \r\n }\r\n />\r\n {searchParams.get(\"macId\") === null ? <> New terminal device\r\n Add a new PC/Tablet to create a manual installation key:<>Edit terminal device\r\n Edit a existing PC/Tablet to update a manual installation key}\r\n \r\n \r\n {generateLicenseStore.selectedTenant && (\r\n <>\r\n \r\n \r\n Selected tenant\r\n \r\n \r\n \r\n generateLicenseStore.setTenantSelectionDialogOpen({\r\n tenantSelectionDialogOpen: true,\r\n })\r\n }\r\n style={{ cursor: \"pointer\" }}\r\n >\r\n \r\n Change selected tenant\r\n \r\n }\r\n placement=\"bottom-start\"\r\n >\r\n \r\n {\r\n generateLicenseStore.selectedTenant\r\n ?.companyAliasName\r\n }{\" \"}\r\n (\r\n {generateLicenseStore.selectedTenant?.companyName}\r\n )\r\n \r\n \r\n \r\n \r\n )}\r\n {generateLicenseStore.noOfSelectedArticles > 0 && \r\n \r\n Selected license(s)\r\n \r\n }\r\n {submitCount > 0 &&\r\n generateLicenseStore.noOfSelectedArticles === 0 && (\r\n \r\n \r\n Please select an license before proceeding\r\n \r\n \r\n )}\r\n {submitCount > 0 &&\r\n generateLicenseStore.noOfSelectedArticles > 0 &&\r\n !generateLicenseStore.isDependentArticlesValid && (\r\n \r\n \r\n Please select dependent license\r\n {` (${Array.from(\r\n generateLicenseStore.dependentArticles.values()\r\n ).join(\", \")})`}\r\n \r\n \r\n )}\r\n \r\n \r\n {data\r\n ?.filter(\r\n (article) =>\r\n generateLicenseStore.selectedArticles[article.setID]\r\n )\r\n .map((article) => (\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 navigate('/easy-touch-devices');\r\n }}\r\n style={{marginRight:\"12px\",}}\r\n color=\"default\"\r\n variant=\"contained\"\r\n >\r\n \r\n Back\r\n \r\n \r\n \r\n {searchParams.get(\"macId\") !== null && {\r\n \r\n await licenseStore.deactivateAll({\r\n body: {\r\n MacID: searchParams.get(\"macId\") ?? \"0\",\r\n UserId: userStore.user?.ETUID ?? 0,\r\n },\r\n });\r\n successAcknowledgement();\r\n return;\r\n \r\n }} \r\n color=\"default\"\r\n variant=\"contained\"\r\n style={{marginRight:\"18px\"}}\r\n >\r\n \r\n Deactivate terminal device\r\n \r\n }\r\n {\r\n submitForm()\r\n setDialogOpen(true)\r\n }}\r\n color=\"default\"\r\n variant=\"contained\"\r\n disabled={gmac}\r\n style={{ marginRight: \"12px\",}}\r\n >\r\n \r\n \r\n Get Installation key\r\n \r\n \r\n {\r\n \r\n await submitForm()\r\n \r\n enqueueSnackbar(\r\n t(\r\n `Installation activated successfully`\r\n ),\r\n {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n navigate('/easy-touch-devices');\r\n \r\n }}\r\n color=\"primary\"\r\n variant=\"contained\"\r\n disabled={gmac}\r\n >\r\n \r\n \r\n Update\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 Select the license(s) for installation(s)\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 if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n ||\r\n (article.setCode &&\r\n article.setCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n })\r\n .filter(\r\n (article) =>\r\n generateLicenseStore.selectedArticles[\r\n article.setID\r\n ]\r\n ).length > 0 &&\r\n data\r\n ?.filter((article) => {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n })\r\n .filter(\r\n (article) =>\r\n generateLicenseStore.selectedArticles[\r\n article.setID\r\n ]\r\n ).length <\r\n data?.filter((article) => {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n }).length\r\n }\r\n checked={\r\n data?.filter((article) => {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n }).length > 0 &&\r\n data\r\n ?.filter((article) => {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n })\r\n .filter(\r\n (article) =>\r\n generateLicenseStore.selectedArticles[\r\n article.setID\r\n ]\r\n ).length ===\r\n data?.filter((article) => {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase()))\r\n );\r\n }).length\r\n }\r\n onChange={handleSelectAllClick}\r\n inputProps={{\r\n \"aria-label\": t(\"select all articles\"),\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 console.log(\"article\"+JSON.stringify(article))\r\n \r\n generateLicenseStore.setSelectedArticle({ article });\r\n \r\n \r\n }}\r\n functions={functionStore.functions}\r\n articles={data?.filter((article) => {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode\r\n .toLowerCase()\r\n .includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode.toLowerCase().includes(search.toLowerCase()))\r\n );\r\n })}\r\n />\r\n \r\n \r\n \r\n \r\n );\r\n});\r\n","/* eslint-disable @typescript-eslint/no-unused-vars */\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Models from \"src/models\";\r\n\r\nexport declare namespace Card {\r\n export interface Props {\r\n device: Models.Devices & { sets: Set };\r\n handleClick?(event: any): void;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Card = Mobx.observer(function ({\r\n device,\r\n handleClick,\r\n}: Card.Props) {\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const CardInternals = (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {device.deviceName ?? \"\"}\r\n }\r\n secondary={\r\n \r\n \r\n MAC#: \r\n \r\n \r\n {device.macID}\r\n \r\n \r\n }\r\n />\r\n \r\n }\r\n action={\r\n \r\n }\r\n />\r\n \r\n \r\n \r\n \r\n Installed articles\r\n \r\n \r\n {Array.from(device.sets.values())\r\n .filter((article) => article)\r\n .map((article) => (\r\n }\r\n style={{\r\n margin: theme.spacing(1.5, 2, 0, 0),\r\n }}\r\n label={article.setName}\r\n />\r\n ))}\r\n \r\n \r\n );\r\n\r\n return (\r\n <>\r\n \r\n {handleClick ? (\r\n \r\n {CardInternals}\r\n \r\n ) : (\r\n CardInternals\r\n )}\r\n \r\n \r\n );\r\n});\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport { License } from \"..\";\r\nimport * as ReactCopyToClipboard from \"react-copy-to-clipboard\";\r\nimport * as Notistack from \"notistack\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) => ({\r\n list: {\r\n width: 380,\r\n },\r\n title: {\r\n flexGrow: 1,\r\n },\r\n}));\r\n\r\nexport declare namespace Details {\r\n export interface Props {\r\n open: boolean;\r\n handleClose(): void;\r\n device?: Models.Devices & { sets: Set };\r\n handleDeactivateSelected(): void;\r\n handleDeactivateAll(): void;\r\n licenseList?: Models.License[];\r\n counter: number;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Details = Mobx.observer(function ({\r\n open,\r\n handleClose,\r\n handleDeactivateAll,\r\n handleDeactivateSelected,\r\n device,\r\n counter\r\n}: Details.Props) {\r\n const classes = useStyles();\r\n const theme = Mui.useTheme();\r\n\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const easyTouchDeviceStore = React.useContext(App.Contexts.easyTouchDeviceStore);\r\n const [serialNumberList, setserialNumberList] = React.useState();\r\n const [showMore, setShowMore] = React.useState(false);\r\n const toggleShowMore = () => setShowMore(!showMore);\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n\r\n React.useEffect(() => {\r\n var licenseList = easyTouchDeviceStore.getSerialNumberList;\r\n var serialNumberList = licenseList.filter(k=>k.macID === device?.macID ).map(l=>l.licenseCode)\r\n setserialNumberList(serialNumberList);\r\n }, [counter, device, easyTouchDeviceStore, licenseStore.licenses]);\r\n\r\n const generateLicenseStore = React.useContext(\r\n App.Contexts.license.generateStore\r\n );\r\n return (\r\n \r\n \r\n \r\n Device details\r\n \r\n \r\n \r\n }\r\n content={\r\n <>\r\n {device && (\r\n \r\n \r\n \r\n \r\n MAC ID (PC, tablet)\r\n \r\n \r\n \r\n {device?.macID}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Device name\r\n \r\n \r\n \r\n {device?.deviceName}\r\n \r\n \r\n\r\n \r\n \r\n \r\n License serial number\r\n \r\n \r\n \r\n {serialNumberList.length > 0 && !showMore\r\n ? serialNumberList[0]\r\n : serialNumberList.join(\", \")}{\" \"}\r\n {serialNumberList.length > 1 && !showMore && (\r\n \r\n Show more\r\n \r\n )}\r\n {serialNumberList.length > 1 && showMore && (\r\n \r\n Show less\r\n \r\n )}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Customer device id\r\n \r\n \r\n \r\n {device?.customerDeviceID}\r\n \r\n \r\n \r\n )}\r\n {device && Array.from(device.sets.values()).length > 0 && (\r\n <>\r\n \r\n \r\n \r\n \r\n List of installed articles\r\n \r\n \r\n }\r\n />\r\n \r\n \r\n\r\n \r\n {Array.from(device.sets.values())\r\n .filter((article) => article)\r\n .map((article) => (\r\n \r\n \r\n article.functions.includes(func.setFunctionID)\r\n )}\r\n handleClick={() =>\r\n licenseStore.toggleArticleSelectionForDeactivation({\r\n setID: article.setID,\r\n })\r\n }\r\n article={article}\r\n variant={\"DETAILED\"}\r\n />\r\n \r\n ))}\r\n \r\n \r\n )}\r\n \r\n \r\n }\r\n actions={\r\n <>\r\n {\r\n window.print();\r\n }}\r\n >\r\n Print\r\n \r\n 0 && {\r\n // style: {\r\n // backgroundColor: theme.palette.primary.main,\r\n // color: theme.palette.common.white,\r\n // },\r\n // })}\r\n className=\"noprint\"\r\n disabled={licenseStore.selectedArticlesForDeactivation.size === 0}\r\n variant=\"contained\"\r\n color=\"default\"\r\n onClick={handleDeactivateSelected}\r\n >\r\n \r\n Deactivate installation\r\n \r\n \r\n {\r\n if (device?.sets.size === 0) {\r\n return;\r\n }\r\n handleDeactivateAll();\r\n }}\r\n >\r\n \r\n Deactivate terminal device\r\n \r\n \r\n \r\n }\r\n />\r\n );\r\n});\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Containers from \"src/app/containers\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as EasyTouchDevice from \"src/app/pages/easy-touch-device\";\r\nimport * as Models from \"src/models\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n link: {\r\n display: \"flex\",\r\n },\r\n icon: {\r\n color: theme.palette.text.secondary,\r\n marginRight: theme.spacing(0.5),\r\n width: 20,\r\n height: 20,\r\n },\r\n })\r\n);\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const [searchParams] = Router.useSearchParams();\r\n const [isLoading, setIsLoading] = React.useState(false);\r\n const [counter, setCounter] = React.useState(0);\r\n const [deactivationDialogOpen, setDeactivationDialogOpen] = React.useState<\r\n boolean\r\n >(false);\r\n const [detailsDrawerOpen, setDetailsDrawerOpen] = React.useState(\r\n false\r\n );\r\n const [currentDevice, setCurrentDevice] = React.useState<\r\n Models.Devices & { sets: Set }\r\n >();\r\n const { t } = ReactI18next.useTranslation();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const customerStore = React.useContext(App.Contexts.customerStore);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const easyTouchDeviceStore = React.useContext(\r\n App.Contexts.easyTouchDeviceStore\r\n );\r\n const classes = useStyles();\r\n const theme = Mui.useTheme();\r\n const navigate = Router.useNavigate();\r\n const isFromManageOrder = searchParams.get(\"isFromManageOrder\")\r\n React.useEffect(() => {\r\n const macId = searchParams.get(\"macId\");\r\n if (!macId) {\r\n return;\r\n }\r\n if (!easyTouchDeviceStore.devices) {\r\n return;\r\n }\r\n const device = easyTouchDeviceStore.devices.find(\r\n (device) => device.macID === macId\r\n );\r\n if (!device) {\r\n return;\r\n }\r\n if (device) {\r\n Array.from(licenseStore.selectedArticlesForDeactivation.values()).forEach(\r\n (setID) => {\r\n licenseStore.toggleArticleSelectionForDeactivation({ setID });\r\n }\r\n );\r\n device?.sets?.forEach((set) => {\r\n licenseStore.toggleArticleSelectionForDeactivation({\r\n setID: set?.setID,\r\n });\r\n });\r\n setDetailsDrawerOpen(true);\r\n setCurrentDevice(device);\r\n licenseStore.setCurrentDevice(device);\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [easyTouchDeviceStore.devices]);\r\n\r\n React.useEffect(() => {\r\n const userRole = userStore.user?.RoleName;\r\n\r\n if (userRole === \"customer\") {\r\n return;\r\n }\r\n\r\n const customer = searchParams.get(\"customer\");\r\n\r\n if (!customer) {\r\n return;\r\n }\r\n\r\n customerChange(customer);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const customerChange = (customer: number | string) => {\r\n const uid = userStore.user?.ETUID;\r\n\r\n easyTouchDeviceStore.setCustomer({ customer });\r\n\r\n if (uid === undefined || uid === null) {\r\n return;\r\n }\r\n\r\n if (customer === \"\" || customer === undefined || customer === null) {\r\n return;\r\n }\r\n\r\n easyTouchDeviceStore.read({\r\n body: { status: null, userID: customer },\r\n userRole: \"admin\",\r\n uid,\r\n });\r\n };\r\n\r\n const handleChange = (event: React.ChangeEvent<{ value: unknown }>) => {\r\n const customer = event.target.value as string | number;\r\n customerChange(customer);\r\n };\r\n\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n easyTouchDeviceStore.setSearch({ search: event.target.value as string });\r\n };\r\n\r\n const toggleDetailsDrawer = () => {\r\n setDetailsDrawerOpen(!detailsDrawerOpen);\r\n };\r\n\r\n React.useEffect(() => {\r\n functionStore.read();\r\n\r\n const userRole = userStore.user?.RoleName ?? (\"customer\" || \"EU\");\r\n const uid = userStore.user?.ETUID;\r\n\r\n if (userRole === \"admin\" || userRole === \"superadmin\") {\r\n customerStore.read({});\r\n }\r\n if (\r\n (userRole === \"customer\" || userRole === \"EU\") &&\r\n uid !== undefined &&\r\n uid !== null\r\n ) {\r\n easyTouchDeviceStore.read({ userRole: \"customer\", status: -1, uid });\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n function handleDeactivateAll() {\r\n Array.from(licenseStore.selectedArticlesForDeactivation.values()).forEach(\r\n (setID) => {\r\n licenseStore.toggleArticleSelectionForDeactivation({ setID });\r\n }\r\n );\r\n currentDevice?.sets.forEach(({ setID }) => {\r\n licenseStore.toggleArticleSelectionForDeactivation({ setID });\r\n });\r\n setDetailsDrawerOpen(false);\r\n setDeactivationDialogOpen(true);\r\n }\r\n\r\n function handleDeactivateSelected() {\r\n setDetailsDrawerOpen(false);\r\n setDeactivationDialogOpen(true);\r\n }\r\n\r\n async function handleDeactivate() {\r\n try {\r\n const userRole = userStore.user?.RoleName;\r\n const etuid = userStore.user?.ETUID;\r\n\r\n if (!etuid) {\r\n return;\r\n }\r\n\r\n if (!currentDevice) {\r\n return;\r\n }\r\n\r\n setIsLoading(true);\r\n\r\n const successAcknowledgement = () => {\r\n enqueueSnackbar(t(\"License(s) deactivated successfully.\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n\r\n const userRole = userStore.user?.RoleName;\r\n if (userRole === \"admin\" || userRole === \"superadmin\") {\r\n easyTouchDeviceStore.read({\r\n body: { status: null, userID: easyTouchDeviceStore.customer },\r\n userRole: \"admin\",\r\n uid: etuid,\r\n });\r\n return;\r\n }\r\n const orderID = localStorage.getItem(\"orderID\");\r\n const overAllStatus = localStorage.getItem(\"overAllStatus\");\r\n \r\n if(isFromManageOrder === \"1\"){\r\n navigate(`/Orders/manage-order?q=${orderID}&m=${overAllStatus}`);\r\n }\r\n easyTouchDeviceStore.read({\r\n userRole: \"customer\",\r\n status: -1,\r\n uid: etuid,\r\n });\r\n };\r\n\r\n if (\r\n userRole === \"customer\" &&\r\n licenseStore.selectedArticlesForDeactivation.size > 0 &&\r\n licenseStore.selectedArticlesForDeactivation.size ===\r\n currentDevice?.sets.size\r\n ) {\r\n await licenseStore.deactivateAll({\r\n body: {\r\n MacID: currentDevice.macID,\r\n UserId: etuid,\r\n },\r\n });\r\n successAcknowledgement();\r\n return;\r\n }\r\n\r\n if (\r\n (userRole === \"admin\" || userRole === \"superadmin\") &&\r\n easyTouchDeviceStore.customer &&\r\n licenseStore.selectedArticlesForDeactivation.size > 0 &&\r\n licenseStore.selectedArticlesForDeactivation.size ===\r\n currentDevice?.sets.size\r\n ) {\r\n await licenseStore.deactivateAll({\r\n body: {\r\n MacID: currentDevice.macID,\r\n UserId: easyTouchDeviceStore.customer as number,\r\n },\r\n });\r\n successAcknowledgement();\r\n return;\r\n }\r\n\r\n const dependentSetIds = Array.from(currentDevice?.sets?.values() ?? [])\r\n .filter((set) =>\r\n licenseStore.selectedArticlesForDeactivation.has(set?.setID)\r\n )\r\n .reduce((acc, set) => {\r\n Array.from(currentDevice?.sets?.values() ?? [])\r\n .filter(\r\n (set) =>\r\n !licenseStore.selectedArticlesForDeactivation.has(set?.setID)\r\n )\r\n .forEach((otherSet) => {\r\n if (\r\n otherSet.dependentSets.includes(set.setID) &&\r\n licenseStore.selectedArticlesForDeactivation.has(otherSet.setID)\r\n ) {\r\n return;\r\n }\r\n if (otherSet.dependentSets.includes(set.setID)) {\r\n acc.add(otherSet.setID);\r\n }\r\n });\r\n return acc;\r\n }, new Set());\r\n\r\n const dependentSets = Array.from(\r\n currentDevice?.sets?.values() ?? []\r\n ).filter((set) => dependentSetIds.has(set?.setID));\r\n\r\n const selectedSets = Array.from(\r\n currentDevice.sets.values()\r\n ).filter((set) =>\r\n licenseStore.selectedArticlesForDeactivation.has(set.setID)\r\n );\r\n\r\n await licenseStore.deactivateSelected({\r\n body: {\r\n LicenseDetailsList: [...dependentSets, ...selectedSets].map((set) => {\r\n return {\r\n LicenseDetailID: (set as any)?.licenseDetailID,\r\n MacID: currentDevice.macID,\r\n };\r\n }),\r\n },\r\n });\r\n successAcknowledgement();\r\n } catch (error) {\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setIsLoading(false);\r\n setDeactivationDialogOpen(false);\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n {}}\r\n contentText={\r\n <>\r\n {(function () {\r\n if (\r\n currentDevice?.sets.size ===\r\n licenseStore.selectedArticlesForDeactivation.size\r\n ) {\r\n return null;\r\n }\r\n\r\n const dependentSetIds = Array.from(\r\n currentDevice?.sets?.values() ?? []\r\n )\r\n .filter((set) =>\r\n licenseStore.selectedArticlesForDeactivation.has(set?.setID)\r\n )\r\n .reduce((acc, set) => {\r\n Array.from(currentDevice?.sets?.values() ?? [])\r\n .filter(\r\n (set) =>\r\n !licenseStore.selectedArticlesForDeactivation.has(\r\n set?.setID\r\n )\r\n )\r\n .forEach((otherSet) => {\r\n if (\r\n otherSet.dependentSets.includes(set.setID) &&\r\n licenseStore.selectedArticlesForDeactivation.has(\r\n otherSet.setID\r\n )\r\n ) {\r\n return;\r\n }\r\n if (otherSet.dependentSets.includes(set.setID)) {\r\n acc.add(otherSet.setID);\r\n }\r\n });\r\n return acc;\r\n }, new Set());\r\n\r\n if (dependentSetIds.size > 0) {\r\n return (\r\n \r\n Proceed with caution!\r\n Based on your selected license we found the following\r\n dependent articles. The following dependent articles will\r\n also be deactivated if you proceed.\r\n \r\n );\r\n }\r\n })()}\r\n\r\n \r\n Are you sure you want to deactivate the following articles for\r\n this device with{\" \"}\r\n Machine ID - {currentDevice?.macID}?\r\n \r\n\r\n \r\n Selected license\r\n \r\n \r\n {Array.from(currentDevice?.sets?.values() ?? [])\r\n .filter((set) =>\r\n licenseStore.selectedArticlesForDeactivation.has(set?.setID)\r\n )\r\n .map((set) => (\r\n \r\n \r\n set.functions.includes(func.setFunctionID)\r\n )}\r\n article={set}\r\n variant={\"DETAILED\"}\r\n />\r\n \r\n ))}\r\n \r\n {(function () {\r\n if (\r\n currentDevice?.sets.size ===\r\n licenseStore.selectedArticlesForDeactivation.size\r\n ) {\r\n return null;\r\n }\r\n\r\n const dependentSetIds = Array.from(\r\n currentDevice?.sets?.values() ?? []\r\n )\r\n .filter((set) =>\r\n licenseStore.selectedArticlesForDeactivation.has(set?.setID)\r\n )\r\n .reduce((acc, set) => {\r\n Array.from(currentDevice?.sets?.values() ?? [])\r\n .filter(\r\n (set) =>\r\n !licenseStore.selectedArticlesForDeactivation.has(\r\n set?.setID\r\n )\r\n )\r\n .forEach((otherSet) => {\r\n if (\r\n otherSet.dependentSets.includes(set.setID) &&\r\n licenseStore.selectedArticlesForDeactivation.has(\r\n otherSet.setID\r\n )\r\n ) {\r\n return;\r\n }\r\n if (otherSet.dependentSets.includes(set.setID)) {\r\n acc.add(otherSet.setID);\r\n }\r\n });\r\n return acc;\r\n }, new Set());\r\n\r\n const dependentSets = Array.from(\r\n currentDevice?.sets?.values() ?? []\r\n ).filter((set) => dependentSetIds.has(set?.setID));\r\n\r\n if (dependentSets.length > 0) {\r\n return (\r\n <>\r\n \r\n Dependent articles based on your selected license\r\n \r\n \r\n {Array.from(dependentSets.values()).map((set) => (\r\n \r\n \r\n set.functions.includes(func.setFunctionID)\r\n )}\r\n article={set}\r\n variant={\"DETAILED\"}\r\n />\r\n \r\n ))}\r\n \r\n \r\n );\r\n }\r\n })()}\r\n \r\n }\r\n actions={\r\n <>\r\n {\r\n setDeactivationDialogOpen(false);\r\n setDetailsDrawerOpen(true);\r\n }}>\r\n Cancel\r\n \r\n handleDeactivate()}\r\n disabled={isLoading}\r\n {...(!isLoading && {\r\n style: {\r\n backgroundColor: theme.palette.primary.main,\r\n color: theme.palette.common.white,\r\n },\r\n })}>\r\n \r\n Deactivate\r\n \r\n {isLoading && (\r\n \r\n )}\r\n \r\n \r\n }\r\n />\r\n {userStore.user?.RoleName === \"customer\" ? : }\r\n \r\n \r\n \r\n \r\n \r\n Customer\r\n \r\n \r\n \r\n \r\n None\r\n \r\n \r\n {customerStore.customers.map((customer) => (\r\n \r\n \r\n \r\n {customer.firstName} {customer.lastName}\r\n \r\n {window.open(`mailto:${customer.userEmail}`)}}>\r\n \r\n \r\n click to open an mail\r\n }>{customer.userEmail}\r\n\r\n \r\n {customer.companyName && (\r\n \r\n \r\n {customer.companyName}\r\n \r\n )}\r\n {customer.departmentName && (\r\n \r\n \r\n {customer.departmentName}\r\n \r\n )}\r\n \r\n ))}\r\n \r\n \r\n \r\n {!detailsDrawerOpen && \r\n {easyTouchDeviceStore?.filtered.length > 0 && (\r\n )}\r\n }\r\n \r\n \r\n {easyTouchDeviceStore.isInitialLoading ||\r\n ((userStore.user?.RoleName === \"admin\" || userStore.user?.RoleName === \"superadmin\" || userStore.user?.RoleName === \"customer\") &&\r\n easyTouchDeviceStore.isLoading) ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n {easyTouchDeviceStore.showAdminCustomerSelectionInfo && (\r\n \r\n \r\n \r\n Select customer!\r\n \r\n \r\n Select a customer from the above dropdown selection to view their terminal devices.\r\n \r\n \r\n \r\n )}\r\n\r\n {easyTouchDeviceStore.showAdminNoRecordsInfo && (\r\n \r\n \r\n \r\n \r\n No terminal devices found\r\n \r\n \r\n There are no terminal devices found for the selected customer!\r\n Please try selecting a different customer to view their terminal devices.\r\n \r\n \r\n \r\n \r\n )}\r\n\r\n {easyTouchDeviceStore.showCustomerNoRecordsInfo && (\r\n \r\n \r\n \r\n No terminal devices found\r\n \r\n \r\n There are no terminal device(s) with installed license(s) found for you!\r\n Please try installing your purchased license(s) on your terminal device(s) or reach out to KERN admin.\r\n \r\n \r\n \r\n )}\r\n\r\n { !detailsDrawerOpen && easyTouchDeviceStore.filtered.map(\r\n (device: Models.Devices & { sets: Set }) => (\r\n \r\n {\r\n setCounter(()=> counter + 1)\r\n licenseStore.resetSelectedArticlesForDeactivation();\r\n setCurrentDevice(device);\r\n licenseStore.setCurrentDevice(device);\r\n toggleDetailsDrawer();\r\n }}\r\n />\r\n \r\n )\r\n )}\r\n \r\n )}\r\n \r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mobx from \"mobx\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\nimport * as Stores from \"src/stores\";\r\n\r\nexport declare namespace Store {\r\n export interface IStore {\r\n isLoading: boolean;\r\n customer?: number | string;\r\n search: string;\r\n status?: number;\r\n devices?: Array }>;\r\n }\r\n\r\n export interface Options {\r\n easyTouchDeviceService: Services.EasyTouchDevice;\r\n userStore: Stores.User;\r\n articleStore: Article.Store;\r\n }\r\n\r\n export namespace SetLicenses {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace Read {\r\n export interface Props extends Services.EasyTouchDevice.GetAllData.Props {}\r\n }\r\n\r\n export namespace SetSearch {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetStatus {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetCustomer {\r\n export interface Props extends Pick {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public isLoading: boolean = false;\r\n @Mobx.observable public devices?: Array<\r\n Models.Devices & { sets: Set }\r\n >;\r\n @Mobx.observable public search: string = \"\";\r\n @Mobx.observable public status?: number = 1;\r\n @Mobx.observable public customer?: string | number;\r\n @Mobx.observable public serialNumber?: Models.License[];\r\n\r\n private easyTouchDeviceService: Services.EasyTouchDevice;\r\n private userStore: Stores.User;\r\n private articleStore: Article.Store;\r\n\r\n constructor({\r\n articleStore,\r\n easyTouchDeviceService,\r\n userStore,\r\n }: Store.Options) {\r\n this.articleStore = articleStore;\r\n this.easyTouchDeviceService = easyTouchDeviceService;\r\n this.userStore = userStore;\r\n }\r\n\r\n @Mobx.action public setLicenses({ devices }: Store.SetLicenses.Props) {\r\n this.devices = devices;\r\n }\r\n\r\n @Mobx.action public async read(props: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n\r\n const initDevices = ({ result }: { result: Models.License[] }) => {\r\n var licenseList = result.filter((k) => k.macID !== null);\r\n //\r\n this.serialNumber = licenseList;\r\n this.devices = result\r\n .filter((device: any) => device.device && device.device.status === 1)\r\n .reduce((acc: any[], device: any) => {\r\n const isAlreadyInAcc = acc.findIndex(\r\n (accDevice) => accDevice.macID === device.device.macID\r\n );\r\n const article = this.articleStore.articles.find(\r\n (article) => article.setID === device.setID\r\n );\r\n if (isAlreadyInAcc !== -1) {\r\n if (article) {\r\n acc[isAlreadyInAcc].sets.add({\r\n ...article,\r\n licenseDetailID: device.licenseDetailID,\r\n });\r\n }\r\n return acc;\r\n }\r\n device.device[\"sets\"] = new Set();\r\n if (article) {\r\n device.device[\"sets\"].add({\r\n ...article,\r\n licenseDetailID: device.licenseDetailID,\r\n });\r\n }\r\n acc.push(device.device);\r\n return acc;\r\n }, []);\r\n };\r\n const { result } = await this.easyTouchDeviceService.getAllData(props);\r\n initDevices({ result });\r\n await this.articleStore.read();\r\n initDevices({ result });\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.devices) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n @Mobx.action public setSearch({ search }: Store.SetSearch.Props) {\r\n this.search = search;\r\n }\r\n\r\n @Mobx.action public setStatus({ status }: Store.SetStatus.Props) {\r\n this.status = status;\r\n }\r\n\r\n @Mobx.action public setCustomer({ customer }: Store.SetCustomer.Props) {\r\n this.customer = customer;\r\n }\r\n\r\n @Mobx.computed public get filtered() {\r\n if (!this.devices) {\r\n return [];\r\n }\r\n\r\n return this.devices.filter(\r\n (device: Models.Devices & { sets: Set }) => {\r\n if (!this.search) {\r\n return true;\r\n }\r\n return device.macID.toLowerCase().includes(this.search.toLowerCase());\r\n }\r\n );\r\n }\r\n\r\n @Mobx.computed public get getSerialNumberList() {\r\n if (!this.serialNumber) {\r\n return [];\r\n }\r\n\r\n return this.serialNumber;\r\n }\r\n\r\n @Mobx.computed public get showAdminCustomerSelectionInfo() {\r\n if (this.userStore.user?.RoleName === \"customer\") {\r\n return false;\r\n }\r\n\r\n if (this.devices) {\r\n return false;\r\n }\r\n\r\n if (this.customer) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n @Mobx.computed public get showAdminNoRecordsInfo() {\r\n if (\r\n this.userStore.user?.RoleName !== \"admin\" &&\r\n this.userStore.user?.RoleName !== \"superadmin\"\r\n ) {\r\n return false;\r\n }\r\n\r\n if (!this.devices) {\r\n return false;\r\n }\r\n\r\n if (this.devices.length) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n @Mobx.computed public get showCustomerNoRecordsInfo() {\r\n if (this.userStore.user?.RoleName !== \"customer\") {\r\n return false;\r\n }\r\n\r\n if (!this.devices) {\r\n return false;\r\n }\r\n\r\n if (this.devices.length) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as License from \"src/app/pages/license\";\r\nimport * as Generate from \"src/app/pages/easy-touch-device/generate\";\r\nimport * as Configs from \"src/configs\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport * as MuiIcons from \"@material-ui/icons\";\r\nimport * as Yup from \"yup\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as ReactCopyToClipboard from \"react-copy-to-clipboard\";\r\nimport Dialog from \"@material-ui/core/Dialog\";\r\nimport DialogActions from \"@material-ui/core/DialogActions\";\r\nimport DialogContent from \"@material-ui/core/DialogContent\";\r\nimport DialogContentText from \"@material-ui/core/DialogContentText\";\r\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\r\nimport CryptoJS from \"crypto-js\";\r\n\r\nexport declare namespace Device {\r\n export interface Props {\r\n open: boolean;\r\n handleClose(): void;\r\n device?: Models.Devices & { sets: Set };\r\n handleDeactivateSelected(): void;\r\n handleDeactivateAll(): void;\r\n licenseList?: Models.License[];\r\n counter:number;\r\n }\r\n }\r\nexport const DeviceDetail = function ({\r\n open,\r\n handleClose,\r\n handleDeactivateAll,\r\n handleDeactivateSelected,\r\n device,\r\n counter\r\n }: Device.Props) {\r\n const [data, setData] = React.useState([]);\r\n const [manualData, setManualData] = React.useState([]);\r\n const [ackValue, setAckValue] = React.useState(\"\");\r\n const [dataLicense, setDataLicense] = React.useState([]);\r\n const [dialogOpen, setDialogOpen] = React.useState(false);\r\n const [deactivationDialogOpen, setDeactivationDialogOpen] = React.useState(false);\r\n const [search, setSearch] = React.useState(\"\");\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const tenantStore = React.useContext(App.Contexts.tenantStore);\r\n const generateLicenseStore = React.useContext(\r\n App.Contexts.license.generateStore\r\n );\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const navigate = Router.useNavigate();\r\n const [searchParams] = Router.useSearchParams();\r\n const userRole = userStore.user?.RoleName ?? \"\";\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const [serialNumberList, setserialNumberList] = React.useState();\r\n const easyTouchDeviceStore = React.useContext(App.Contexts.easyTouchDeviceStore);\r\n const [showMore, setShowMore] = React.useState(false);\r\n const toggleShowMore = () => setShowMore(!showMore);\r\n const articleService = new Services.Article({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n const licenseService = new Services.License({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n const dealerCustomerService = new Services.DealerCustomerService({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n React.useEffect(() => {\r\n tenantStore.setReturnUrl({ returnUrl: \"\" });\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n React.useEffect(() => {\r\n var licenseList = easyTouchDeviceStore.getSerialNumberList;\r\n var serialNumberList = licenseList.filter(k=>k.macID === device?.macID ).map(l=>l.licenseCode)\r\n setserialNumberList(serialNumberList);\r\n }, [counter, device, easyTouchDeviceStore.getSerialNumberList, licenseStore.licenses]);\r\n React.useEffect(() => {\r\n (function () {\r\n const tenantId = searchParams.get(\"tenantId\");\r\n\r\n if (!tenantId) {\r\n return;\r\n }\r\n\r\n \r\n\r\n tenantStore.read().then(() => {\r\n const tenant = tenantStore.tenants.find(\r\n (tenant) => tenant.id === parseInt(tenantId, 10)\r\n );\r\n\r\n generateLicenseStore.setSelectedTenant({ selectedTenant: tenant });\r\n });\r\n })();\r\n return () => {\r\n if (generateLicenseStore.created) {\r\n return;\r\n }\r\n\r\n generateLicenseStore.reset();\r\n };\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n const userId = userStore.user?.uid;\r\n const ETUID= userStore.user?.ETUID\r\n \r\n\r\n if (userId === undefined || userRole === undefined) {\r\n return;\r\n }\r\n\r\n generateLicenseStore.reset();\r\n \r\n articleService\r\n .getAllData({ status: 1,isManualActivation: true ,ETUID:ETUID,roleName:userRole})\r\n .then((result) => {\r\n setData(result.result);\r\n generateLicenseStore.setArticles({ articles: result.result });\r\n\r\n const availableArticlesMap = new Map();\r\n result.result.forEach((article) => {\r\n availableArticlesMap.set(article.setID, article);\r\n });\r\n\r\n const sets = searchParams.getAll(\"set\");\r\n\r\n sets.forEach((set) => {\r\n const article = availableArticlesMap.get(parseInt(set, 10));\r\n\r\n if (!article) {\r\n return;\r\n }\r\n\r\n if (\r\n Configs.Workaround.isCloudArticle({ code: article.hundCode }) ||\r\n Configs.Workaround.isCloudArticle({ code: article.setCode })\r\n ) {\r\n generateLicenseStore.setCloudArticle({ cloudArticle: article });\r\n }\r\n });\r\n\r\n if (sets.length) {\r\n generateLicenseStore.setSelectedArticles({\r\n selectedArticles: sets.reduce((acc, set) => {\r\n const article = availableArticlesMap.get(parseInt(set, 10));\r\n if (article) {\r\n generateLicenseStore.setIsBasicSetSelected({\r\n article,\r\n isArticleSelected: true,\r\n });\r\n }\r\n return { ...acc, [parseInt(set, 10)]: true };\r\n }, {}),\r\n });\r\n }\r\n })\r\n .catch(console.error);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n functionStore.read();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n tenantStore.read();\r\n }, [generateLicenseStore.tenantSelectionDialogOpen, tenantStore]);\r\n\r\n\r\n\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n setSearch(event.target.value as string);\r\n };\r\n\r\n async function handleCreate(\r\n values: Generate.Form.Values,\r\n { setSubmitting }: Formik.FormikHelpers\r\n ) {\r\n try {\r\n const sets: number[] = Object.keys(\r\n generateLicenseStore.selectedArticles\r\n ).reduce((acc: number[], key) => {\r\n if (generateLicenseStore.selectedArticles[key]) {\r\n return [...acc, parseInt(key, 10)];\r\n }\r\n return acc;\r\n }, []);\r\n\r\n if (sets.length === 0) {\r\n return;\r\n }\r\n if (sets.includes(1)) {\r\n generateLicenseStore.isBasicSetSelected = true;\r\n } else {\r\n generateLicenseStore.isBasicSetSelected = false;\r\n }\r\n\r\n if (\r\n generateLicenseStore.noOfSelectedArticles > 0 &&\r\n !generateLicenseStore.isBasicSetSelected\r\n ) {\r\n return;\r\n }\r\n\r\n if (\r\n generateLicenseStore.noOfSelectedArticles > 0 &&\r\n !generateLicenseStore.isDependentArticlesValid\r\n ) {\r\n return;\r\n }\r\n\r\n const userId = userStore.user?.uid;\r\n if (userId === undefined) {\r\n throw new Error(t(\"uid is undefined\"));\r\n }\r\n if (values.eT_version == null) {\r\n values.eT_version = 2;\r\n }\r\n\r\n if (userStore.user?.RoleName === \"admin\") {\r\n const { status, result } = await licenseService.Create({\r\n ...values,\r\n tenantId: generateLicenseStore.selectedTenant?.id,\r\n sets,\r\n userId,\r\n });\r\n\r\n if (status === 100 && (result as unknown as string) === \"Error\") {\r\n throw new Error(result as unknown as string);\r\n }\r\n\r\n generateLicenseStore.setCreated({\r\n created: {\r\n licenseKey: result.licenseKey,\r\n sets: data?.filter((article) => sets.includes(article.setID)),\r\n },\r\n });\r\n navigate(\"success\")\r\n\r\n } else {\r\n const uid = userStore.user?.ETUID ?? \"0\";\r\n\r\n var manualLicenseAvailable =\r\n await licenseStore.getManualLicenseAvailableList({\r\n body: { status: null, userID: uid },\r\n userRole: \"dealer\",\r\n uid,\r\n isGetAll: true,\r\n });\r\n \r\n const manual = manualLicenseAvailable?.filter(\r\n ({ setID }) => sets.includes(setID)\r\n );\r\n var license: any = manual?.map((m) => {\r\n return {\r\n licenseDetailID: m.licenseDetailID,\r\n setID: m.setID,\r\n };\r\n });\r\n \r\n const { status, result } =\r\n await dealerCustomerService.CreateManualLicense({\r\n ETUID: userStore.user?.ETUID ?? 0,\r\n DeviceName: values.deviceName,\r\n ActivationAck: \"1\",\r\n Createdby: 0,\r\n LicenseList: license,\r\n LicenseKey: \"\",\r\n Remarks: values.remarks,\r\n ActivationKey: \"fhvhjghfhgjbkjhgfgh\",\r\n CustomerName: values.customerName ?? \"\",\r\n eT_version: values.eT_version,\r\n MacId: values.macId,\r\n Location: values.location ?? \"\",\r\n });\r\n \r\n if (status === 100 && (result as unknown as string) === \"Error\") {\r\n throw new Error(result as unknown as string);\r\n }\r\n\r\n generateLicenseStore.setCreated({\r\n created: {\r\n licenseKey: result.licenseKey,\r\n sets: data?.filter((article) => sets.includes(article.setID)),\r\n },\r\n });\r\n\r\n setDialogOpen(true)\r\n\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n setSubmitting(false);\r\n }\r\n }\r\n\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelectedArticles = data\r\n ?.filter((article) => {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName.toLowerCase().includes(search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode.toLowerCase().includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode.toLowerCase().includes(search.toLowerCase()))\r\n );\r\n })\r\n .map((article) => {\r\n if (\r\n Configs.Workaround.isCloudArticle({ code: article.hundCode }) ||\r\n Configs.Workaround.isCloudArticle({ code: article.setCode })\r\n ) {\r\n generateLicenseStore.setCloudArticle({ cloudArticle: article });\r\n\r\n if (!generateLicenseStore.selectedTenant) {\r\n generateLicenseStore.setTenantSelectionDialogOpen({\r\n tenantSelectionDialogOpen: true,\r\n });\r\n }\r\n }\r\n\r\n return article.setID;\r\n })\r\n .reduce((acc, id) => {\r\n return { ...acc, [id]: true };\r\n }, {});\r\n generateLicenseStore.setSelectedArticles({\r\n selectedArticles: search\r\n ? { ...generateLicenseStore.selectedArticles, ...newSelectedArticles }\r\n : newSelectedArticles,\r\n });\r\n setSearch(\"\");\r\n return;\r\n }\r\n\r\n const newSelectedArticles = data\r\n ?.filter((article) => {\r\n if (!search) {\r\n return true;\r\n }\r\n return (\r\n (article.setName &&\r\n article.setName.toLowerCase().includes(search.toLowerCase())) ||\r\n (article.setCode &&\r\n article.setCode.toLowerCase().includes(search.toLowerCase())) ||\r\n (article.hundCode &&\r\n article.hundCode.toLowerCase().includes(search.toLowerCase()))\r\n );\r\n })\r\n .map((article) => {\r\n if (\r\n Configs.Workaround.isCloudArticle({ code: article.hundCode }) ||\r\n Configs.Workaround.isCloudArticle({ code: article.setCode })\r\n ) {\r\n generateLicenseStore.setCloudArticle({ cloudArticle: undefined });\r\n generateLicenseStore.setSelectedTenant({ selectedTenant: undefined });\r\n }\r\n\r\n return article.setID;\r\n })\r\n .reduce((acc, id) => {\r\n return { ...acc, [id]: false };\r\n }, {});\r\n generateLicenseStore.setSelectedArticles({\r\n selectedArticles: search\r\n ? { ...generateLicenseStore.selectedArticles, ...newSelectedArticles }\r\n : {},\r\n });\r\n setSearch(\"\");\r\n };\r\n // Function to decrypt the ciphertext\r\n function decrypt(ciphertext: string): string {\r\n try {\r\n var key = CryptoJS.enc.Utf8.parse(Constants.environment.AESDataKey); \r\n var iv = CryptoJS.enc.Utf8.parse(Constants.environment.AESDataKey); \r\n var encryptText = ciphertext;\r\n \r\n const decrypted = CryptoJS.AES.decrypt(encryptText, key, {\r\n iv: iv,\r\n mode: CryptoJS.mode.CBC,\r\n padding: CryptoJS.pad.Pkcs7,\r\n }).toString(CryptoJS.enc.Utf8);\r\n console.log('decrypt: ', decrypted);\r\n\r\n return decrypted;\r\n } catch (error) {\r\n console.error('Decryption error:', (error as Error).message);\r\n return '';\r\n }\r\n }\r\n\r\nfunction handleDeactivation(){\r\n var decryptedData = decrypt(ackValue)\r\n var decryptedDeactivationKey = JSON.parse(decryptedData)\r\n\r\n const { MacId,DeactivationStatus} = decryptedDeactivationKey;\r\n console.log(MacId)\r\n if(decryptedDeactivationKey != null && MacId === device?.macID && DeactivationStatus === 1){\r\n handleDeactivateAll();\r\n handleDeactivationClose();\r\n }else{\r\n enqueueSnackbar(\r\n t(\r\n `Enter the valid acknowledgement key`\r\n ),\r\n {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n }\r\n ); \r\n }\r\n}\r\n\r\nfunction handleDeactivationClose(){\r\nsetDeactivationDialogOpen(false)\r\n}\r\n return (\r\n <>\r\n \r\n Deactivation of terminal device\r\n \r\n \r\n After entering the valid acknowledgement key the deactivation of this device will be completed.\r\n \r\n {\r\n enqueueSnackbar(\r\n t(\r\n `Deactivation key successfully copied to clipboard.`\r\n ),\r\n {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n }}\r\n >\r\n {}}>\r\n \r\n \r\n }}\r\n />\r\n setAckValue(e.target.value)}\r\n />\r\n \r\n \r\n \r\n Cancel\r\n \r\n {\r\n if(device!.licenseKey !== \"\"){\r\n handleDeactivation()\r\n }else{\r\n handleDeactivateAll();\r\n }\r\n }} color=\"primary\">\r\n Deactivate\r\n \r\n \r\n \r\n {\r\n setDialogOpen(false);\r\n }}\r\n maxWidth=\"md\"\r\n aria-labelledby=\"alert-dialog-slide-title\"\r\n aria-describedby=\"alert-dialog-slide-description\"\r\n >\r\n {\"\"}\r\n \r\n \r\n \r\n \r\n \r\n Installation key generated successfully.\r\n \r\n \r\n \r\n \r\n \r\n The installation key generated can be copied for activating the easy touch manually.\r\n \r\n \r\n \r\n \r\n \r\n \r\n {generateLicenseStore.created?.licenseKey}\r\n \r\n \r\n \r\n \r\n {\r\n setDialogOpen(false);\r\n \r\n }}\r\n variant=\"contained\"\r\n color=\"default\"\r\n style={{\r\n height: \"32px\",\r\n width: \"150px\",\r\n marginBottom: \"12px\",\r\n marginTop: \"12px\",\r\n }}\r\n >\r\n Back\r\n \r\n {\r\n enqueueSnackbar(\r\n t(\r\n `License key has been successfully copied to clipboard.`\r\n ),\r\n {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n }\r\n );\r\n }}\r\n >\r\n {\r\n \r\n \r\n }}\r\n variant=\"contained\"\r\n color=\"primary\"\r\n style={{\r\n height: \"32px\",\r\n width: \"150px\",\r\n marginBottom: \"12px\",\r\n marginTop: \"12px\",\r\n }}\r\n >\r\n Copy key\r\n \r\n \r\n \r\n \r\n {open && (\r\n \r\n \r\n \r\n ({\r\n macId: Yup.string()\r\n .nullable()\r\n .required(t(\"Machine ID is required\")),\r\n customerName: userStore.user?.RoleName !== \"customer\" ? Yup.string().nullable()\r\n .required(t(\"Customer name is required\")):undefined,\r\n deviceName: userStore.user?.RoleName === \"customer\" ? Yup.string().nullable()\r\n .required(t(\"Device name is required\")):undefined,\r\n })}\r\n onSubmit={handleCreate}\r\n enableReinitialize\r\n >\r\n {({ isSubmitting, values, submitForm, submitCount }) => (\r\n <>\r\n {\r\n generateLicenseStore.setTenantSelectionDialogOpen({\r\n tenantSelectionDialogOpen: false,\r\n });\r\n\r\n if (generateLicenseStore.selectedTenant) {\r\n return;\r\n }\r\n\r\n generateLicenseStore.setSelectedArticle({\r\n article:\r\n generateLicenseStore.cloudArticle as Models.Set.Article,\r\n });\r\n }}\r\n contentText={\r\n \r\n {tenantStore.activeTenants.length === 0 && (\r\n \r\n \r\n \r\n No tenants found\r\n \r\n \r\n \r\n There are no active tenants to choose from.\r\n Please add active tenants and try again later!\r\n \r\n \r\n )}\r\n {tenantStore.activeTenants.map((tenant, index) => (\r\n \r\n {\r\n generateLicenseStore.setSelectedTenant({\r\n selectedTenant: tenant,\r\n });\r\n generateLicenseStore.setTenantSelectionDialogOpen(\r\n {\r\n tenantSelectionDialogOpen: false,\r\n }\r\n );\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n {index !== tenantStore.tenants.length - 1 && (\r\n \r\n )}\r\n \r\n ))}\r\n \r\n }\r\n actions={\r\n <>\r\n {\r\n generateLicenseStore.setSelectedArticle({\r\n article:\r\n generateLicenseStore.cloudArticle as Models.Set.Article,\r\n });\r\n generateLicenseStore.setTenantSelectionDialogOpen(\r\n {\r\n tenantSelectionDialogOpen: false,\r\n }\r\n );\r\n }}\r\n >\r\n Cancel {generateLicenseStore.cloudArticle?.setName}{\" \"}\r\n Article\r\n \r\n {\r\n const returnUrl = `/licenses/generate?macId=${\r\n values.macId\r\n }&customerName=${values.customerName}&remarks=${\r\n values.remarks\r\n }&tenantId=${\r\n generateLicenseStore.selectedTenant?.id ?? \"\"\r\n }${generateLicenseStore.onlySelectedArticles.reduce(\r\n (acc: string, set) => {\r\n return acc + `&set=${set}`;\r\n },\r\n \"\"\r\n )}`;\r\n\r\n tenantStore.setReturnUrl({ returnUrl });\r\n }}\r\n >\r\n Create New Tenant\r\n \r\n \r\n }\r\n title={\r\n <>\r\n {generateLicenseStore.cloudArticle\r\n ? `Select tenant for ${generateLicenseStore.cloudArticle.setName}`\r\n : \"Select tenant\"}\r\n \r\n }\r\n />\r\n {/* */}\r\n <>\r\n Terminal device detail\r\n Here you can view and update the terminal device\r\n \r\n \r\n \r\n \r\n \r\n MAC ID (PC, tablet)\r\n \r\n \r\n \r\n {device?.macID}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Device name\r\n \r\n \r\n \r\n {device?.deviceName}\r\n \r\n \r\n\r\n \r\n \r\n \r\n License serial number\r\n \r\n \r\n \r\n {serialNumberList.length > 0 && !showMore\r\n ? serialNumberList[0]\r\n : serialNumberList.join(\", \")}{\" \"}\r\n {serialNumberList.length > 1 && !showMore && (\r\n \r\n Show more\r\n \r\n )}\r\n {serialNumberList.length > 1 && showMore && (\r\n \r\n Show less\r\n \r\n )}\r\n \r\n \r\n\r\n \r\n \r\n \r\n Customer device id\r\n \r\n \r\n \r\n {device?.customerDeviceID}\r\n \r\n \r\n { device?.location !== null && \r\n \r\n \r\n Location name\r\n \r\n \r\n \r\n {device?.location}\r\n \r\n }\r\n {device?.licenseKey !== null && \r\n \r\n \r\n \r\n \r\n Installation key\r\n \r\n \r\n \r\n {device?.licenseKey !== null ? device?.licenseKey.slice(0, 30)+\"...\" : \"\"}\r\n \r\n \r\n \r\n {\r\n enqueueSnackbar(\r\n t(\r\n `Installation key has been successfully copied to clipboard.`\r\n ),\r\n {\r\n variant: \"success\",\r\n preventDuplicate: false,\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 {generateLicenseStore.selectedTenant && (\r\n <>\r\n \r\n \r\n Selected tenant\r\n \r\n \r\n \r\n generateLicenseStore.setTenantSelectionDialogOpen({\r\n tenantSelectionDialogOpen: true,\r\n })\r\n }\r\n style={{ cursor: \"pointer\" }}\r\n >\r\n \r\n Change selected tenant\r\n \r\n }\r\n placement=\"bottom-start\"\r\n >\r\n \r\n {\r\n generateLicenseStore.selectedTenant\r\n ?.companyAliasName\r\n }{\" \"}\r\n (\r\n {generateLicenseStore.selectedTenant?.companyName}\r\n )\r\n \r\n \r\n \r\n \r\n )}\r\n {generateLicenseStore.noOfSelectedArticles > 0 && \r\n \r\n Selected license(s)\r\n \r\n }\r\n {submitCount > 0 &&\r\n generateLicenseStore.noOfSelectedArticles === 0 && (\r\n \r\n \r\n Please select an license before proceeding\r\n \r\n \r\n )}\r\n {submitCount > 0 &&\r\n generateLicenseStore.noOfSelectedArticles > 0 &&\r\n !generateLicenseStore.isDependentArticlesValid && (\r\n \r\n \r\n Please select dependent license\r\n {` (${Array.from(\r\n generateLicenseStore.dependentArticles.values()\r\n ).join(\", \")})`}\r\n \r\n \r\n )}\r\n \r\n \r\n {data\r\n ?.filter(\r\n (article) =>\r\n generateLicenseStore.selectedArticles[article.setID]\r\n )\r\n .map((article) => (\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 if (device?.sets.size === 0) {\r\n return;\r\n }\r\n if(device?.licenseKey != null)\r\n {\r\n setDeactivationDialogOpen(true);\r\n }else{\r\n handleDeactivateAll();\r\n }\r\n }}\r\n color=\"default\"\r\n variant=\"contained\"\r\n style={{marginRight:\"18px\"}}\r\n >\r\n \r\n Deactivate terminal device\r\n \r\n \r\n {\r\n const sets = Array.from(device!.sets.values())\r\n .filter((article) => article)\r\n .map((article) => (article.setID));\r\n \r\n \r\n const url = `/easy-touch-devices/generate?macId=${\r\n device!.macID\r\n }&deviceName=${device!.deviceName}&remarks=${\r\n device?.deviceName\r\n }&location=${\r\n device?.location ?? \"\"\r\n }${sets?.reduce(\r\n (acc:any, set:any) => {\r\n return acc + `&set=${set}`;\r\n },\r\n \"\"\r\n )}`;\r\n \r\n navigate(url);\r\n }}\r\n color=\"primary\"\r\n variant=\"contained\"\r\n >\r\n \r\n Edit terminal device\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n )}\r\n {open && device !== undefined && ( \r\n \r\n \r\n List of installed licenses\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 {Array.from(device.sets.values())\r\n .filter((article) => article)\r\n .map((article) => (\r\n \r\n \r\n article.functions.includes(func.setFunctionID)\r\n )}\r\n handleClick={() =>\r\n licenseStore.toggleArticleSelectionForDeactivation({\r\n setID: article.setID,\r\n })\r\n }\r\n article={article}\r\n variant={\"DETAILED\"}\r\n />\r\n \r\n ))}\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n }\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Function from \"src/app/pages/function\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n title: {\r\n flexGrow: 1,\r\n },\r\n }),\r\n);\r\n\r\nexport declare namespace Create {\r\n export type Props = Pick<\r\n Components.ResponsiveFullscreenDialogWithScroll.Props,\r\n \"open\" | \"handleClose\"\r\n >;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Create = Mobx.observer(function (props: Create.Props) {\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const { t } = ReactI18next.useTranslation();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const functionService = new Services.Function({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n async function handleCreate(\r\n values: Function.Form.Values,\r\n { setSubmitting }: Formik.FormikHelpers\r\n ) {\r\n try {\r\n const uid = userStore.user?.uid;\r\n if (uid === undefined) {\r\n throw new Error(\"uid is undefined\");\r\n }\r\n const iconClass = ((values.iconClass as unknown) as Function.Form.Options.Icon)\r\n .iconName;\r\n const func: Models.Set.Function = {\r\n iconClass,\r\n funcationCode: values.funcationCode,\r\n funcationName: values.funcationName,\r\n status: 1,\r\n } as Models.Set.Function;\r\n const res = await functionService.create({ body: func, uid });\r\n const result: any = res?.result;\r\n \r\n if(result == 1){\r\n enqueueSnackbar(t(\"Function successfully created!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n }\r\n if(result == 3){\r\n enqueueSnackbar(t(\"Function code already exist!\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n }\r\n functionStore.read();\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setSubmitting(false);\r\n props.handleClose();\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n );\r\n});\r\n\r\nfunction Form({ open, handleClose }: Create.Props) {\r\n const classes = useStyles();\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n const { isSubmitting, submitForm, resetForm } = Formik.useFormikContext();\r\n React.useEffect(() => {\r\n resetForm();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [open]);\r\n return (\r\n }\r\n title={\r\n \r\n {t(\"Create new function\")}\r\n \r\n }\r\n actions={\r\n <>\r\n \r\n CLOSE\r\n \r\n {\r\n submitForm();\r\n }}\r\n >\r\n Save\r\n {isSubmitting && (\r\n \r\n )}\r\n \r\n \r\n }\r\n />\r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Function from \"src/app/pages/function\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n title: {\r\n flexGrow: 1,\r\n },\r\n toolbar: theme.mixins.toolbar,\r\n }),\r\n);\r\n\r\nexport declare namespace Edit {\r\n export type Props = Pick<\r\n Components.ResponsiveFullscreenDialogWithScroll.Props,\r\n \"open\" | \"handleClose\"\r\n > & {\r\n func?: Models.Set.Function;\r\n };\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Edit = Mobx.observer(function ({\r\n open,\r\n handleClose,\r\n func,\r\n}: Edit.Props) {\r\n const theme = Mui.useTheme();\r\n // const { i18n } = ReactI18next.useTranslation();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const classes = useStyles();\r\n const { t } = ReactI18next.useTranslation();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const [initialValues, setInitialValues] = React.useState<\r\n Function.Form.Values\r\n >();\r\n const functionService = new Services.Function({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n\r\n React.useEffect(() => {\r\n if (!func) {\r\n setInitialValues(undefined);\r\n return;\r\n }\r\n\r\n const initialValues: Function.Form.Values = {\r\n iconClass: func?.iconClass,\r\n funcationCode: func?.funcationCode,\r\n funcationName: func?.funcationName,\r\n };\r\n\r\n setInitialValues(initialValues);\r\n }, [func]);\r\n\r\n async function handleEdit(\r\n values: Function.Form.Values,\r\n { setSubmitting }: Formik.FormikHelpers,\r\n ) {\r\n try {\r\n const uid = userStore.user?.uid;\r\n if (uid === undefined) {\r\n throw new Error(t(\"uid is undefined\"));\r\n }\r\n\r\n if (!func) {\r\n throw new Error(t(\"Func is undefined\"));\r\n }\r\n\r\n const iconClass = ((values.iconClass as unknown) as Function.Form.Options.Icon)\r\n .iconName;\r\n const updatedFunc: Models.Set.Function = {\r\n ...func,\r\n iconClass,\r\n funcationCode: values.funcationCode,\r\n funcationName: values.funcationName,\r\n };\r\n const res = await functionService.create({ body: updatedFunc, uid });\r\n const result: any = res?.result;\r\n //await functionService.create({ body: updatedFunc, uid });\r\n if(result == 2)\r\n {\r\n enqueueSnackbar(t(\"Function successfully updated!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n }\r\n if(result == 3)\r\n {\r\n enqueueSnackbar(t(\"Function code already exist!\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n }\r\n functionStore.read();\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setSubmitting(false);\r\n handleClose();\r\n }\r\n }\r\n\r\n return (\r\n \r\n {initialValues && (\r\n \r\n {({ isSubmitting, submitForm }) => {\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 \r\n \r\n CLOSE\r\n \r\n \r\n submitForm()}\r\n >\r\n \r\n Update\r\n \r\n {isSubmitting && (\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 title={\r\n \r\n {t(\"Edit function\")}\r\n \r\n }\r\n />\r\n );\r\n});\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as FormikMuiLab from \"formik-material-ui-lab\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Hooks from \"src/app/hooks\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Services from \"src/services\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\nexport declare namespace Form {\r\n export interface Values {\r\n funcationCode: string;\r\n funcationName: string;\r\n iconClass: string;\r\n }\r\n\r\n export namespace Options {\r\n export interface Icon {\r\n iconName: string;\r\n iconType: string;\r\n }\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Form() {\r\n const [iconOptions, setIconOptions] = React.useState([]);\r\n const { touched, errors, values } = Formik.useFormikContext();\r\n const forceUpdate = Hooks.useForceUpdate();\r\n const { t } = ReactI18next.useTranslation();\r\n\r\n const iconService = new Services.Icon({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n React.useEffect(() => {\r\n (async function () {\r\n try {\r\n const { result: icons } = await iconService.getAllData();\r\n setIconOptions(icons);\r\n if (values.iconClass) {\r\n values.iconClass = ({\r\n iconName: values.iconClass,\r\n } as unknown) as string;\r\n forceUpdate();\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n })();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\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 \r\n\r\n \r\n option.iconName}\r\n renderTags={(tagValue: Form.Options.Icon[], getTagProps: any) =>\r\n tagValue.map((option, index) => (\r\n \r\n ))\r\n }\r\n renderOption={(option: Form.Options.Icon) => (\r\n \r\n \r\n \r\n \r\n \r\n {option.iconName}\r\n \r\n \r\n )}\r\n renderInput={(\r\n params: FormikMuiLab.AutocompleteRenderInputParams,\r\n ) => (\r\n \r\n )}\r\n />\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Function from \"src/app/pages/function\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\ninterface Data extends Models.Set.Function {}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"desc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: ReturnType;\r\n numSelected: number;\r\n onRequestSort: (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => void;\r\n onSelectAllClick: (event: React.ChangeEvent) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowCount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(\r\n props: EnhancedTableProps &\r\n Pick & {\r\n id: string;\r\n label: string;\r\n numeric?: boolean;\r\n disablePadding?: boolean;\r\n }\r\n) {\r\n const { classes, order, orderBy, onRequestSort, ...restOfProps } = props;\r\n const createSortHandler = (property: keyof Data) => (\r\n event: React.MouseEvent\r\n ) => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n {props.label}\r\n {orderBy === props.id ? (\r\n \r\n {order === \"desc\" ? \"sorted descending\" : \"sorted ascending\"}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n width: \"100%\",\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: \"rect(0 0 0 0)\",\r\n height: 1,\r\n margin: -1,\r\n overflow: \"hidden\",\r\n padding: 0,\r\n position: \"absolute\",\r\n top: 20,\r\n width: 1,\r\n },\r\n })\r\n);\r\n\r\nfunction EnhancedTable({\r\n rows,\r\n handleEditClick,\r\n handleDeleteClick,\r\n handleActivateClick,\r\n handleTranslateClick,\r\n}: {\r\n rows: Models.Set.Function[];\r\n handleEditClick(props: { func: Models.Set.Function }): void;\r\n handleDeleteClick(props: { id: string | number }): void;\r\n handleActivateClick(props: { id: string | number }): void;\r\n handleTranslateClick(props: { func: Models.Set.Function }): void;\r\n}) {\r\n const classes = useStyles();\r\n const [order, setOrder] = React.useState(\"asc\");\r\n const [orderBy, setOrderBy] = React.useState(\"funcationName\");\r\n const [selected, setSelected] = React.useState([]);\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(7);\r\n\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [rows]);\r\n\r\n const handleRequestSort = (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => {\r\n setPage(0);\r\n const isAsc = orderBy === property && order === \"asc\";\r\n setOrder(isAsc ? \"desc\" : \"asc\");\r\n setOrderBy(property);\r\n };\r\n\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelecteds = rows.map((n) => n.setFunctionID);\r\n setSelected((newSelecteds as unknown) as string[]);\r\n return;\r\n }\r\n setSelected([]);\r\n };\r\n const { t } = ReactI18next.useTranslation();\r\n const handleClick = (event: React.MouseEvent, name: string) => {\r\n const selectedIndex = selected.indexOf(name);\r\n let newSelected: string[] = [];\r\n\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(selected, name);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(selected.slice(1));\r\n } else if (selectedIndex === selected.length - 1) {\r\n newSelected = newSelected.concat(selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n selected.slice(0, selectedIndex),\r\n selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n\r\n setSelected(newSelected);\r\n };\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n\r\n\r\n const isSelected = (name: string) => selected.indexOf(name) !== -1;\r\n\r\n const emptyRows =\r\n rowsPerPage - Math.min(rowsPerPage, rows.length - page * rowsPerPage);\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n
\r\n \r\n \r\n {rows.length > 0 &&(\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n Actions\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n {stableSort(rows as any, getComparator(order, orderBy))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((row, index) => {\r\n const isItemSelected = isSelected(row.setFunctionID as string);\r\n const labelId = `enhanced-table-checkbox-${index}`;\r\n\r\n return (\r\n \r\n handleClick(event, row.setFunctionID as string)\r\n }\r\n aria-checked={isItemSelected}\r\n tabIndex={-1}\r\n key={row.setFunctionID}\r\n >\r\n \r\n {row.funcationName}\r\n \r\n \r\n {row.funcationCode}\r\n \r\n \r\n {row.iconClass}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n handleEditClick({\r\n func: (row as unknown) as Models.Set.Function,\r\n })\r\n localStorage.setItem(\"functionIdFromEdit\",row.setFunctionID.toString())\r\n }\r\n }\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\r\n }}\r\n >\r\n \r\n \r\n {/* */}\r\n \r\n \r\n\r\n {row.status === 1 ? (\r\n \r\n handleDeleteClick({ id: row.setFunctionID })\r\n }\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\r\n }}\r\n >\r\n \r\n \r\n \r\n {/* */}\r\n \r\n ) : (\r\n \r\n handleActivateClick({ id: row.setFunctionID })\r\n }\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\r\n }}\r\n >\r\n \r\n \r\n \r\n {/* */}\r\n \r\n )}\r\n\r\n \r\n handleTranslateClick({\r\n func: (row as unknown) as Models.Set.Function,\r\n })\r\n }\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\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 {rows.length === 0 && (\r\n // \r\n // \r\n // \r\n \r\n \r\n \r\n No functions found\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n {rows.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n
\r\n );\r\n}\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const [editDialogOpen, setEditDialogOpen] = React.useState<\r\n Models.Set.Function\r\n >();\r\n const [translateDialogOpen, setTranslateDialogOpen] = React.useState();\r\n const [deleteDialogOpen, setDeleteDialogOpen] = React.useState<\r\n number | string\r\n >();\r\n const [activateDialogOpen, setActivateDialogOpen] = React.useState<\r\n number | string\r\n >();\r\n const [isLoading, setIsLoading] = React.useState(false);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n\r\n const functionService = new Services.Function({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n React.useEffect(() => {\r\n functionStore.read();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n functionStore.setSearch({ search: event.target.value as string });\r\n };\r\n\r\n const handleChange = (event: React.ChangeEvent<{ value: unknown }>) => {\r\n const status = event.target.value as string | number;\r\n if (typeof status === \"string\" && status !== \"\") {\r\n return;\r\n }\r\n\r\n if (status === \"\") {\r\n functionStore.setStatus({ status: undefined });\r\n return;\r\n }\r\n\r\n functionStore.setStatus({ status });\r\n };\r\n\r\n async function handleDeleteFunction() {\r\n setIsLoading(true);\r\n const uid = userStore.user?.uid;\r\n if (deleteDialogOpen === undefined || uid === undefined) {\r\n \r\n return;\r\n }\r\n try {\r\n await functionService.delete({\r\n setfuncationId: deleteDialogOpen,\r\n uid,\r\n });\r\n enqueueSnackbar(t(\"Function successfully deleted!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setIsLoading(false);\r\n setDeleteDialogOpen(undefined);\r\n functionStore.read();\r\n }\r\n }\r\n \r\n async function handleActivateFunction() {\r\n setIsLoading(true);\r\n const uid = userStore.user?.uid;\r\n if (activateDialogOpen === undefined || uid === undefined) {\r\n \r\n return;\r\n }\r\n try {\r\n await functionService.activate({\r\n setfuncationId: activateDialogOpen,\r\n uid,\r\n });\r\n enqueueSnackbar(t(\"Function successfully activated!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setIsLoading(false);\r\n setActivateDialogOpen(undefined);\r\n functionStore.read();\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n {\r\n setDeleteDialogOpen(undefined);\r\n }}\r\n title={t(\"Delete function\")}\r\n contentText={t(\"Are you sure you want to delete this function?\")}\r\n actions={\r\n <>\r\n {\r\n setDeleteDialogOpen(undefined);\r\n }}\r\n >\r\n Cancel\r\n \r\n handleDeleteFunction()}\r\n disabled={isLoading}\r\n {...(!isLoading && {\r\n style: {\r\n backgroundColor: theme.palette.primary.main,\r\n color: theme.palette.common.white,\r\n },\r\n })}\r\n >\r\n Delete\r\n {isLoading && (\r\n \r\n )}\r\n \r\n \r\n }\r\n />\r\n\r\n {\r\n setActivateDialogOpen(undefined);\r\n }}\r\n title={t(\"Activate function\")}\r\n contentText={t(\"Are you sure you want to activate this function?\")}\r\n actions={\r\n <>\r\n {\r\n setActivateDialogOpen(undefined);\r\n }}\r\n >\r\n Cancel\r\n \r\n handleActivateFunction()}\r\n disabled={isLoading}\r\n {...(!isLoading && {\r\n style: {\r\n backgroundColor: theme.palette.primary.main,\r\n color: theme.palette.common.white,\r\n },\r\n })}\r\n >\r\n \r\n Activate\r\n \r\n {isLoading && (\r\n \r\n )}\r\n \r\n \r\n }\r\n />\r\n {\r\n functionStore.setCreateDialogOpen({ createDialogOpen: false });\r\n }}\r\n />\r\n {\r\n setEditDialogOpen(undefined);\r\n }}\r\n />\r\n {\r\n setTranslateDialogOpen(undefined);\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n Filter by status\r\n \r\n \r\n \r\n \r\n None\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 {functionStore.functions.length > 0 && ()}\r\n \r\n \r\n {functionStore.isInitialLoading ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n {\r\n setEditDialogOpen(func);\r\n }}\r\n handleDeleteClick={({ id }) => {\r\n setDeleteDialogOpen(id);\r\n }}\r\n handleActivateClick={({ id }) => {\r\n setActivateDialogOpen(id);\r\n }}\r\n handleTranslateClick={({ func }) => {\r\n setTranslateDialogOpen(func);\r\n }}\r\n rows={functionStore.filtered}\r\n />\r\n \r\n )}\r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Yup from \"yup\";\r\nimport * as Function from \"src/app/pages/function\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\n\r\nexport declare namespace Shared {\r\n export interface Props {\r\n t(key: string): string;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Shared({ t }: Shared.Props) {\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const functionIdFromEdit: any = localStorage.getItem(\"functionIdFromEdit\");\r\n return {\r\n Form: {\r\n validationSchema: Yup.object({\r\n funcationCode: Yup.string()\r\n .required(t(\"Function code is required\"))\r\n .test(\r\n \"Already exists\",\r\n t(\"Function code already exists\"),\r\n (value) => {\r\n if (functionIdFromEdit?.length > 0) {\r\n if (\r\n functionStore.functions\r\n .filter(\r\n (k) => k.setFunctionID !== parseInt(functionIdFromEdit)\r\n )\r\n .map((k: any) => k.funcationCode)\r\n .includes(value)\r\n ) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n } else if (\r\n functionStore.functions\r\n .map((k: any) => k.funcationCode)\r\n .includes(value)\r\n ) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }\r\n ),\r\n funcationName: Yup.string()\r\n .required(t(\"Function name is required\"))\r\n .test(\r\n \"Already exists\",\r\n t(\"Function name already exists\"),\r\n (value) => {\r\n if (functionIdFromEdit?.length > 0) {\r\n if (\r\n functionStore.functions\r\n .filter(\r\n (k) => k.setFunctionID !== parseInt(functionIdFromEdit)\r\n )\r\n .map((k: any) => k.funcationName)\r\n .includes(value)\r\n ) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n } else if (\r\n functionStore.functions\r\n .map((k: any) => k.funcationName)\r\n .includes(value)\r\n ) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }\r\n ),\r\n iconClass: Yup.string().required(t(\"Icon name is required\")),\r\n }),\r\n },\r\n Translate: {\r\n Form: {\r\n validationSchema: Yup.object({\r\n funcationName_de: Yup.string().required(\r\n t(\"Function name in DE is required\")\r\n ),\r\n funcationName_es: Yup.string().required(\r\n t(\"Function name in ES is required\")\r\n ),\r\n funcationName_fr: Yup.string().required(\r\n t(\"Function name in FR is required\")\r\n ),\r\n funcationName_it: Yup.string().required(\r\n t(\"Function name in IT is required\")\r\n ),\r\n }),\r\n },\r\n },\r\n };\r\n}\r\n","import * as Mobx from \"mobx\";\r\nimport * as i18n from \"src/app/i18n\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export interface IStore {\r\n isLoading: boolean;\r\n search: string;\r\n status?: number;\r\n createDialogOpen: boolean;\r\n functions: Models.Set.Function[];\r\n }\r\n\r\n export type Options = {\r\n functionService: Services.Function;\r\n };\r\n\r\n export namespace SetCreateDialogOpen {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace Read {\r\n export interface Props extends Services.Function.GetAllData.Props {}\r\n }\r\n\r\n export namespace SetSearch {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetStatus {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetLocale {\r\n export interface Props {\r\n locale: string;\r\n }\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable private _locale: string = \"en\";\r\n\r\n @Mobx.observable public isLoading: boolean = false;\r\n @Mobx.observable public search: string = \"\";\r\n @Mobx.observable public status?: number = 1;\r\n @Mobx.observable public createDialogOpen: boolean = false;\r\n @Mobx.observable public functions: Models.Set.Function[] = [];\r\n\r\n private _translations: Map = new Map();\r\n private _functionService: Services.Function;\r\n\r\n constructor({ functionService }: Store.Options) {\r\n this._functionService = functionService;\r\n i18n.instance.on(\"languageChanged\", (language) =>\r\n this.setLocale({ locale: language })\r\n );\r\n }\r\n\r\n @Mobx.action public reset() {\r\n this.search = \"\";\r\n this.status = 1;\r\n }\r\n\r\n private _prepareTranslations() {\r\n this._translations = this.functions.reduce(\r\n (acc: Map, func: Models.Set.Function) => {\r\n const { setFunctionID } = func;\r\n acc.set(`${setFunctionID}en`, { ...func });\r\n func.setFunctionsLangs.map((lang) =>\r\n acc.set(`${setFunctionID}${lang.langCode.toLowerCase()}`, {\r\n ...func,\r\n funcationName: lang.funcationName,\r\n })\r\n );\r\n return acc;\r\n },\r\n new Map()\r\n );\r\n }\r\n\r\n @Mobx.action public setLocale({ locale }: Store.SetLocale.Props) {\r\n this._locale = locale.toLowerCase();\r\n\r\n this.functions = this.functions.map((func) => ({\r\n ...func,\r\n funcationName:\r\n this._translations.get(\r\n `${func.setFunctionID}${this._locale.toLowerCase()}`\r\n )?.funcationName ?? func.funcationName,\r\n }));\r\n }\r\n\r\n @Mobx.action public setSearch({ search }: Store.SetSearch.Props) {\r\n this.search = search;\r\n }\r\n\r\n @Mobx.action public setStatus({ status }: Store.SetStatus.Props) {\r\n this.status = status;\r\n }\r\n\r\n @Mobx.action public async read(props?: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this._functionService.getAllData(props);\r\n\r\n this.functions = result;\r\n this._prepareTranslations();\r\n this.setLocale({ locale: i18n.instance.language });\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.functions.length !== 0) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n @Mobx.computed public get filtered() {\r\n return this.functions\r\n .filter((func) => {\r\n if (!this.status) {\r\n return true;\r\n }\r\n return func.status === this.status;\r\n })\r\n .filter((func) => {\r\n if (!this.search) {\r\n return true;\r\n }\r\n return (\r\n (func.funcationName &&\r\n func.funcationName\r\n .toLowerCase()\r\n .includes(this.search.toLowerCase())) ||\r\n (func.funcationCode &&\r\n func.funcationCode\r\n .toLowerCase()\r\n .includes(this.search.toLowerCase())) ||\r\n (func.iconClass &&\r\n func.iconClass.toLowerCase().includes(this.search.toLowerCase()))\r\n );\r\n });\r\n }\r\n\r\n @Mobx.action setCreateDialogOpen({\r\n createDialogOpen,\r\n }: Store.SetCreateDialogOpen.Props) {\r\n this.createDialogOpen = createDialogOpen;\r\n }\r\n}\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Function from \"src/app/pages/function\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n title: {\r\n flexGrow: 1,\r\n },\r\n })\r\n);\r\n\r\nexport declare namespace Translate {\r\n export type Props = Pick<\r\n Components.ResponsiveFullscreenDialogWithScroll.Props,\r\n \"open\" | \"handleClose\"\r\n > & {\r\n func?: Models.Set.Function;\r\n };\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Translate = Mobx.observer(function ({\r\n open,\r\n handleClose,\r\n func,\r\n}: Translate.Props) {\r\n const [initialValues, setInitialValues] = React.useState<\r\n Function.TranslateForm.Values\r\n >();\r\n const theme = Mui.useTheme();\r\n const classes = useStyles();\r\n const functionStore = React.useContext(App.Contexts.functionStore);\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const functionService = new Services.Function({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n React.useEffect(() => {\r\n if (!func) {\r\n setInitialValues(undefined);\r\n return;\r\n }\r\n\r\n const initialValues = {\r\n funcationName_de:\r\n func?.setFunctionsLangs?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"de\") {\r\n return name + lang.funcationName;\r\n }\r\n return name;\r\n }, \"\") || \"\",\r\n funcationName_es:\r\n func?.setFunctionsLangs?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"es\") {\r\n return name + lang.funcationName;\r\n }\r\n return name;\r\n }, \"\") || \"\",\r\n funcationName_fr:\r\n func?.setFunctionsLangs?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"fr\") {\r\n return name + lang.funcationName;\r\n }\r\n return name;\r\n }, \"\") || \"\",\r\n funcationName_it:\r\n func?.setFunctionsLangs?.reduce((name: string, lang) => {\r\n if (lang.langCode.toLowerCase() === \"it\") {\r\n return name + lang.funcationName;\r\n }\r\n return name;\r\n }, \"\") || \"\",\r\n } as Function.TranslateForm.Values;\r\n\r\n setInitialValues(initialValues);\r\n }, [func]);\r\n\r\n async function handleTranslate(\r\n values: Function.TranslateForm.Values,\r\n { setSubmitting }: Formik.FormikHelpers\r\n ) {\r\n try {\r\n const uid = userStore.user?.uid;\r\n if (uid === undefined) {\r\n throw new Error(t(\"uid is undefined\"));\r\n }\r\n\r\n if (!func) {\r\n throw new Error(t(\"func is undefined\"));\r\n }\r\n\r\n const setFunctionsLangs: Partial[] = [\r\n {\r\n funcationName: values.funcationName_de,\r\n setFunctionID: func.setFunctionID,\r\n langCode: \"de\",\r\n funcationCode: \"\",\r\n },\r\n {\r\n funcationName: values.funcationName_fr,\r\n setFunctionID: func.setFunctionID,\r\n langCode: \"fr\",\r\n funcationCode: \"\",\r\n },\r\n {\r\n funcationName: values.funcationName_es,\r\n setFunctionID: func.setFunctionID,\r\n langCode: \"es\",\r\n funcationCode: \"\",\r\n },\r\n {\r\n funcationName: values.funcationName_it,\r\n setFunctionID: func.setFunctionID,\r\n langCode: \"it\",\r\n funcationCode: \"\",\r\n },\r\n ];\r\n await functionService.createLangs({ body: setFunctionsLangs, uid });\r\n enqueueSnackbar(t(\"Function successfully translated!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n functionStore.read();\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setSubmitting(false);\r\n handleClose();\r\n }\r\n }\r\n const { t } = ReactI18next.useTranslation();\r\n return (\r\n <>\r\n \r\n {({ isSubmitting, submitForm }) => { \r\n \r\n return (\r\n \r\n {func && (\r\n <>\r\n \r\n \r\n Function name EN\r\n \r\n \r\n \r\n {func?.funcationName}\r\n \r\n \r\n )}\r\n \r\n \r\n }\r\n title={\r\n \r\n {t(\"Translate function name\")}\r\n \r\n }\r\n actions={\r\n <>\r\n \r\n CLOSE\r\n \r\n submitForm()}\r\n >\r\n \r\n Save / Update\r\n \r\n {isSubmitting && (\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","import * as React from \"react\";\r\nimport * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Mui from \"@material-ui/core\";\r\n\r\nexport declare namespace TranslateForm {\r\n export interface Values {\r\n funcationName_de: string;\r\n funcationName_fr: string;\r\n funcationName_it: string;\r\n funcationName_es: string;\r\n }\r\n}\r\n// eslint-disable-next-line no-redeclare\r\nexport function TranslateForm() {\r\n const { t } = ReactI18next.useTranslation();\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","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport * as DateFns from \"date-fns\";\r\nimport * as Faker from \"faker\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport Numeral from \"numeral\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Router from \"react-router-dom\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Containers from \"src/app/containers\";\r\n\r\nNumeral.register(\"locale\", \"fr\", {\r\n delimiters: {\r\n thousands: \",\",\r\n decimal: \".\",\r\n },\r\n abbreviations: {\r\n thousand: \"K\",\r\n million: \"M\",\r\n billion: \"B\",\r\n trillion: \"T\",\r\n },\r\n ordinal: function (number) {\r\n return number === 1 ? \"er\" : \"ème\";\r\n },\r\n currency: {\r\n symbol: \"€\",\r\n },\r\n});\r\nNumeral.locale(\"fr\");\r\n\r\nexport const Dashboard = Mobx.observer(function () {\r\n const { t } = ReactI18next.useTranslation();\r\n const [dummyYoySalesData, setDummyYoySalesData] = React.useState();\r\n const theme = Mui.useTheme();\r\n const navigate = Router.useNavigate();\r\n\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const homeStore = React.useContext(App.Contexts.homeStore);\r\n const orderStore = React.useContext(App.Contexts.orderStore);\r\n const articleStore = React.useContext(App.Contexts.articleStore);\r\n\r\n const lic = homeStore.dashboard?.sets?.map((row:any)=>row);\r\n \r\n\r\n React.useEffect(() => {\r\n const userRole = userStore.user?.RoleName;\r\n if (\r\n userRole === \"customer\" &&\r\n homeStore.dashboard?.myLicense === 0 &&\r\n homeStore.dashboard?.assignedLicense === 0\r\n ) {\r\n navigate(\"/Activate\");\r\n return;\r\n }\r\n if (userRole === \"dealer\" && homeStore.dashboard?.myLicense === 0) {\r\n navigate(\"/Activate\");\r\n return;\r\n }\r\n orderStore.clearOrder();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [homeStore.dashboard, userStore.user]);\r\n const dCustomerStore = React.useContext(App.Contexts.delareCustomerStore);\r\n React.useEffect(() => {\r\n const uid = userStore.user?.ETUID;\r\n // userStore.setPreviousUrl({ urls: \"/dealercustomer?roles=all\" });\r\n const userRole = \"customer\";\r\n if (uid !== undefined && uid !== null) {\r\n dCustomerStore.read({\r\n uid,\r\n userRole,\r\n });\r\n } \r\n \r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [dCustomerStore]);\r\n React.useEffect(() => {\r\n const uid = userStore.user?.ETUID ? userStore.user?.ETUID : \"0\";\r\n //alert(uid);\r\n const userRole = userStore.user?.RoleName ?? (\"customer\" || \"dealer\");\r\n const EmailId = userStore.user?.UserEmail ? userStore.user?.UserEmail : undefined;\r\n if (uid !== undefined && uid !== null) {\r\n homeStore.read({\r\n uid,\r\n userRole,\r\n EmailId,\r\n });\r\n }\r\n\r\n if (\r\n userRole === (\"customer\" || \"dealer\") &&\r\n uid !== undefined &&\r\n uid !== null\r\n ) {\r\n articleStore.read({status:1});\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n const thisYear = DateFns.getYear(new Date());\r\n const dummyYoySalesData = [\r\n t(\"Jan\"),\r\n t(\"Feb\"),\r\n t(\"Mar\"),\r\n t(\"Apr\"),\r\n t(\"May\"),\r\n t(\"Jun\"),\r\n t(\"Jul\"),\r\n t(\"Aug\"),\r\n t(\"Sep\"),\r\n t(\"Oct\"),\r\n t(\"Nov\"),\r\n t(\"Dec\"),\r\n ].map((month) => {\r\n return {\r\n month,\r\n [thisYear]: Faker.random.number({ min: 10, max: 53 }),\r\n [thisYear - 1]: Faker.random.number({ min: 0, max: 25 }),\r\n };\r\n });\r\n setDummyYoySalesData(dummyYoySalesData);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n const useStyles = makeStyles({\r\n table: {\r\n minWidth: 10,\r\n padding:\"5px 25px 25px 25px\"\r\n },\r\n });\r\n const classes = useStyles();\r\n const totalBasicLicenses = homeStore.dashboard?.licenseSummary?.filter((row:any) => row.hundCode === 'SET-01' )\r\n const basicSetLicenseAvail = totalBasicLicenses?.map((k:any)=>k.availableQuantity)\r\n const totalBasicLicenseInstock = userStore.user?.RoleName ===\"dealer\"? +basicSetLicenseAvail : (+basicSetLicenseAvail/4) \r\n const totalBasicLicenseInstockDashBoarddisplay = +basicSetLicenseAvail\r\n //\r\n localStorage.setItem(\"totalBasicLicensesInStock\", JSON.stringify(totalBasicLicenseInstock));\r\n \r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n Each license can be installed on 4 devices\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {homeStore.isInitialLoading ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n \r\n\r\n \r\n \r\n 0 ? true : false}\r\n // handleClick={() => navigate(\"/dealercustomer\")}\r\n title={homeStore.dashboard?.availableLicense ?? \"\"}\r\n body={t(\"Available\")}\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 navigate(\"/licenses\")}\r\n title={homeStore.dashboard?.myLicense ?? \"\"}\r\n body={t(\"Purchased\")}\r\n \r\n />\r\n \r\n \r\n \r\n \r\n \r\n navigate(\"/orders\")}\r\n title={homeStore.dashboard?.myOrders ?? \"\"}\r\n body={t(\"Placed\")}\r\n />\r\n \r\n \r\n \r\n \r\n <>\r\n {homeStore.dashboard?.sets.length > 0 && (\r\n \r\n \r\n (\r\n \r\n )}\r\n >\r\n \r\n \r\n {userStore.user?.RoleName === \"customer\" ?\r\n \r\n Installations summary\r\n :\r\n Licenses summary\r\n }\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Product name\r\n \r\n \r\n \r\n Model\r\n \r\n \r\n \r\n {userStore.user?.RoleName === \"customer\"? t(\"Total installations\"):t(\"Licenses purchased\")}\r\n \r\n \r\n {userStore.user?.RoleName === \"customer\"? t(\"Used installations\"):t(\"Licenses sold\")}\r\n \r\n \r\n \r\n {userStore.user?.RoleName === \"customer\"? t(\"Available installations\"):t(\"Licenses in stock\")}\r\n \r\n \r\n \r\n \r\n {homeStore.dashboard?.licenseSummary?.map((row:any) => (\r\n \r\n \r\n 0 ? 1 : 2 as 1 | 2}\r\n labels={{ 1: \"Available\", 2: \"Used\" }}\r\n \r\n />\r\n {row.setName}\r\n \r\n {row.hundCode}\r\n \r\n {row.totalQuantity}\r\n \r\n \r\n -\r\n \r\n \r\n \r\n {row.assignedQuantity ?? 0}\r\n \r\n \r\n \r\n =\r\n \r\n \r\n \r\n {row.availableQuantity}\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 sale.month === DateFns.getMonth(new Date()) + 1\r\n )\r\n .reduce((sum: number, sale: any) => {\r\n return (sum += sale.count);\r\n }, 0)\r\n ).format(\"0a\")}\r\n body={t(\"\")}\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 Sales by articles\r\n \r\n \r\n \r\n \r\n a.setName.length - b.setName.length\r\n )\r\n .sort(\r\n (a: any, b: any) => a.quantity - b.quantity\r\n )}\r\n keys={[\"quantity\"]}\r\n margin={{\r\n bottom: 25, left: 120, right: 60, top: 0\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 Licenses sales summary\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Product name\r\n \r\n \r\n \r\n {(userStore.user?.RoleName === \"admin\" || userStore.user?.RoleName === \"superadmin\")? t(\"Code\"):t(\"Model\")}\r\n \r\n \r\n Sales quantity\r\n \r\n \r\n \r\n \r\n {homeStore.dashboard?.sets?.map((row:any) => (\r\n \r\n \r\n \r\n \r\n {row.setName}\r\n \r\n \r\n {row.setCode}\r\n \r\n {row.quantity}\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","import * as React from \"react\";\r\nimport * as Router from \"react-router-dom\";\r\n\r\nexport function Main() {\r\n return (\r\n <>\r\n \r\n \r\n );\r\n}\r\n","import * as Mobx from \"mobx\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export interface IStore {\r\n isLoading: boolean;\r\n dashboardService: Services.Dashboard;\r\n dashboard?: any;\r\n }\r\n\r\n export type Options = Pick;\r\n\r\n export namespace Read {\r\n export interface Props extends Services.Dashboard.GetAllData.Props {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public isLoading: boolean = false;\r\n @Mobx.observable public dashboard?: any;\r\n\r\n public dashboardService: Services.Dashboard;\r\n\r\n constructor({ dashboardService }: Store.Options) {\r\n this.dashboardService = dashboardService;\r\n }\r\n\r\n @Mobx.action public async read(props: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.dashboardService.getAllData(props);\r\n const reducedSets = result.sets.filter( (x: any) => x.licenseCode != 'CustInvite')\r\n .reduce(\r\n (reducedSets: Map, set: any) => {\r\n const storedSet = reducedSets.get(set.setID);\r\n if (storedSet && set.status === 1) {\r\n storedSet.available += 1;\r\n return reducedSets;\r\n }\r\n if (storedSet && set.status !== 1) {\r\n storedSet.used += 1;\r\n return reducedSets;\r\n }\r\n\r\n if (set.status === 1) {\r\n set[\"available\"] = 1;\r\n set[\"used\"] = 0;\r\n } else {\r\n set[\"available\"] = 1;\r\n set[\"used\"] = 1;\r\n }\r\n reducedSets.set(set.setID, set);\r\n return reducedSets;\r\n },\r\n new Map()\r\n );\r\n\r\n this.dashboard = { ...result, sets: Array.from(reducedSets.values()) };\r\n\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.dashboard) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n}\r\n","import * as React from \"react\";\r\nimport * as Formik from \"formik\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n\r\nexport declare namespace Form {\r\n export interface Values {\r\n cssFile: File;\r\n eotFile: File;\r\n svgFile: File;\r\n ttfFile: File;\r\n woffFile: File;\r\n }\r\n}\r\n// eslint-disable-next-line no-redeclare\r\nexport function Form() {\r\n const { t } = ReactI18next.useTranslation();\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","import * as Mui from \"@material-ui/core\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\nimport * as Icon from \"src/app/pages/icon\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const theme = Mui.useTheme();\r\n const iconStore = React.useContext(App.Contexts.iconStore);\r\n\r\n React.useEffect(() => {\r\n iconStore.read({});\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n return (\r\n <>\r\n {iconStore.uploadDialogOpen && (\r\n {\r\n iconStore.setUploadDialogOpen({ uploadDialogOpen: false });\r\n iconStore.read({});\r\n }}\r\n />\r\n )}\r\n\r\n {iconStore.isInitialLoading ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n \r\n \r\n \r\n {iconStore.icons.map((data: any) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {data.iconName}\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","import * as Icon from \"src/app/pages/icon\";\r\nimport * as Yup from \"yup\";\r\n\r\nexport declare namespace Shared {\r\n export interface Props {\r\n t(key: string): string;\r\n }\r\n}\r\n\r\nconst FILE_SIZE = 4096 * 1024;\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Shared({ t }: Shared.Props) {\r\n return {\r\n Form: {\r\n validationSchema: Yup.object({\r\n cssFile: Yup.mixed()\r\n .required(t(\"A CSS file is required\"))\r\n .test(\r\n t(\"fileSize\"),\r\n t(\"File too large\"),\r\n (value) => value && value.size <= FILE_SIZE,\r\n )\r\n .test(t(\"fileFormat\"), t(\"Unsupported Format\"), (value) => {\r\n return value && [\"text/css\"].includes(value.type);\r\n }),\r\n eotFile: Yup.mixed()\r\n .required(t(\"A EOT file is required\"))\r\n .test(\r\n t(\"fileSize\"),\r\n t(\"File too large\"),\r\n (value) => value && value.size <= FILE_SIZE,\r\n )\r\n .test(t(\"fileFormat\"), t(\"Unsupported format\"), (value) => {\r\n return value && !value.type && value.name.includes(\".eot\");\r\n }),\r\n svgFile: Yup.mixed()\r\n .required(t(\"A SVG file is required\"))\r\n .test(\r\n t(\"fileSize\"),\r\n t(\"File too large\"),\r\n (value) => value && value.size <= FILE_SIZE,\r\n )\r\n .test(t(\"fileFormat\"), t(\"Unsupported Format\"), (value) => {\r\n return value && [\"image/svg+xml\"].includes(value.type);\r\n }),\r\n ttfFile: Yup.mixed()\r\n .required(t(\"A TTF file is required\"))\r\n .test(\r\n t(\"fileSize\"),\r\n t(\"File too large\"),\r\n (value) => value && value.size <= FILE_SIZE,\r\n )\r\n .test(t(\"fileFormat\"), t(\"Unsupported format\"), (value) => {\r\n return value && !value.type && value.name.includes(\".ttf\");\r\n }),\r\n woffFile: Yup.mixed()\r\n .required(t(\"A WOFF file is required\"))\r\n .test(\r\n t(\"fileSize\"),\r\n t(\"File too large\"),\r\n (value) => value && value.size <= FILE_SIZE,\r\n )\r\n .test(t(\"fileFormat\"), t(\"Unsupported format\"), (value) => {\r\n return value && [\"application/font-woff\"].includes(value.type);\r\n }),\r\n }),\r\n },\r\n };\r\n}\r\n","import * as Mobx from \"mobx\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export interface IStore {\r\n isLoading: boolean;\r\n icons: Models.Icon.Name[];\r\n uploadDialogOpen: boolean;\r\n iconService: Services.Icon;\r\n }\r\n\r\n export type Options = {\r\n iconService: Services.Icon;\r\n };\r\n\r\n export namespace SetUploadDialogOpen {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace Read {\r\n export interface Props extends Services.Icon.GetAllData.Props {}\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable public isLoading: boolean = false;\r\n @Mobx.observable public icons: Models.Icon.Name[] = [];\r\n @Mobx.observable public uploadDialogOpen: boolean = false;\r\n\r\n public iconService: Services.Icon;\r\n\r\n constructor({ iconService }: Store.Options) {\r\n this.iconService = iconService;\r\n }\r\n\r\n @Mobx.action setUploadDialogOpen({\r\n uploadDialogOpen,\r\n }: Store.SetUploadDialogOpen.Props) {\r\n this.uploadDialogOpen = uploadDialogOpen;\r\n }\r\n\r\n @Mobx.action public async read(props: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this.iconService.getAllData(props);\r\n this.icons = result;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.icons.length !== 0) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n}\r\n","import * as React from \"react\";\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Icon from \"src/app/pages/icon\";\r\nimport * as Formik from \"formik\";\r\nimport * as App from \"src/app\";\r\nimport * as Services from \"src/services\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n\r\nexport declare namespace Upload {\r\n export type Props = Pick<\r\n Components.ResponsiveFullscreenDialogWithScroll.Props,\r\n \"open\" | \"handleClose\"\r\n >;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Upload = Mobx.observer(function ({\r\n open,\r\n handleClose,\r\n}: Upload.Props) {\r\n const { t } = ReactI18next.useTranslation();\r\n\r\n const iconService = new Services.Icon({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n async function handleCreate(\r\n values: Icon.Form.Values,\r\n { setSubmitting }: Formik.FormikHelpers\r\n ) {\r\n try {\r\n const formData = new FormData();\r\n formData.append(\"css\", values.cssFile, values.cssFile.name);\r\n formData.append(\"eot\", values.eotFile, values.eotFile.name);\r\n formData.append(\"svg\", values.svgFile, values.svgFile.name);\r\n formData.append(\"ttf\", values.ttfFile, values.ttfFile.name);\r\n formData.append(\"woff\", values.woffFile, values.woffFile.name);\r\n\r\n await iconService.upload({ formData: formData });\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n setSubmitting(false);\r\n handleClose();\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n \r\n {({ submitForm, values }) => (\r\n }\r\n actions={\r\n <>\r\n \r\n CLOSE\r\n\r\n \r\n {\r\n Formik.validateYupSchema(\r\n values,\r\n Icon.Shared({ t }).Form.validationSchema\r\n );\r\n submitForm();\r\n }}\r\n >\r\n Save\r\n \r\n \r\n }\r\n />\r\n )}\r\n \r\n \r\n );\r\n});\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as IndustrySegment from \"src/app/pages/industry-segment\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n title: {\r\n flexGrow: 1,\r\n },\r\n }),\r\n);\r\n\r\nexport declare namespace Create {\r\n export type Props = Pick<\r\n Components.ResponsiveFullscreenDialogWithScroll.Props,\r\n \"open\" | \"handleClose\"\r\n >;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Create = Mobx.observer(function (props: Create.Props) {\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const { t } = ReactI18next.useTranslation();\r\n const industrySegmentStore = React.useContext(\r\n App.Contexts.industrySegmentStore\r\n );\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const industrySegmentService = new Services.IndustrySegment({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n async function handleCreate(\r\n values: IndustrySegment.Form.Values,\r\n { setSubmitting }: Formik.FormikHelpers,\r\n ) {\r\n try {\r\n const uid = userStore.user?.uid;\r\n if (uid === undefined) {\r\n throw new Error(t(\"uid is undefined\"));\r\n }\r\n\r\n const industrySegment: Models.IndustrySegment.Main = {\r\n nameDE: values.name_de,\r\n nameEN: values.name_en,\r\n nameES: values.name_es,\r\n nameFR: values.name_fr,\r\n nameIT: values.name_it,\r\n status: 1,\r\n } as Models.IndustrySegment.Main;\r\n await industrySegmentService.create({ body: industrySegment, uid });\r\n industrySegmentStore.read();\r\n enqueueSnackbar(t(\"Industry/Segments successfully created!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setSubmitting(false);\r\n props.handleClose();\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n );\r\n});\r\n\r\nfunction Form({ open, handleClose }: Create.Props) {\r\n const classes = useStyles();\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\r\n const { isSubmitting, submitForm, resetForm } = Formik.useFormikContext();\r\n React.useEffect(() => {\r\n resetForm();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [open]);\r\n return (\r\n }\r\n title={\r\n \r\n {t(\"Create new Industry / Segment\")}\r\n \r\n }\r\n actions={\r\n <>\r\n \r\n CLOSE\r\n \r\n submitForm()}\r\n >\r\n Save\r\n {isSubmitting && (\r\n \r\n )}\r\n \r\n \r\n }\r\n />\r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as IndustrySegment from \"src/app/pages/industry-segment\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n title: {\r\n flexGrow: 1,\r\n },\r\n }),\r\n);\r\n\r\nexport declare namespace Edit {\r\n export type Props = Pick<\r\n Components.ResponsiveFullscreenDialogWithScroll.Props,\r\n \"open\" | \"handleClose\"\r\n > & {\r\n industrySegment: Models.IndustrySegment.Main;\r\n };\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport const Edit = Mobx.observer(function ({\r\n industrySegment,\r\n open,\r\n handleClose,\r\n}: Edit.Props) {\r\n const [initialValues, setInitialValues] = React.useState<\r\n IndustrySegment.Form.Values\r\n >();\r\n const theme = Mui.useTheme();\r\n const classes = useStyles();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const { t } = ReactI18next.useTranslation();\r\n const industrySegmentStore = React.useContext(\r\n App.Contexts.industrySegmentStore\r\n );\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const industrySegmentService = new Services.IndustrySegment({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n React.useEffect(() => {\r\n if (!industrySegment) {\r\n setInitialValues(undefined);\r\n return;\r\n }\r\n\r\n const initialValues = {\r\n name_de: industrySegment.nameDE,\r\n name_en: industrySegment.nameEN,\r\n name_es: industrySegment.nameES,\r\n name_fr: industrySegment.nameFR,\r\n name_it: industrySegment.nameIT,\r\n } as IndustrySegment.Form.Values;\r\n\r\n setInitialValues(initialValues);\r\n }, [industrySegment]);\r\n\r\n async function handleEdit(\r\n values: IndustrySegment.Form.Values,\r\n { setSubmitting }: Formik.FormikHelpers,\r\n ) {\r\n try {\r\n const uid = userStore.user?.uid;\r\n if (uid === undefined) {\r\n throw new Error(t(\"uid is undefined\"));\r\n }\r\n\r\n if (!industrySegment) {\r\n throw new Error(t(\"IndustrySegment is undefined\"));\r\n }\r\n\r\n const updatedIndustrySegment: Models.IndustrySegment.Main = {\r\n ...industrySegment,\r\n nameDE: values.name_de,\r\n nameEN: values.name_en,\r\n nameES: values.name_es,\r\n nameFR: values.name_fr,\r\n nameIT: values.name_it,\r\n } as Models.IndustrySegment.Main;\r\n await industrySegmentService.create({\r\n body: updatedIndustrySegment,\r\n uid,\r\n });\r\n industrySegmentStore.read();\r\n enqueueSnackbar(t(\"Industry/Segments successfully updated!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setSubmitting(false);\r\n handleClose();\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n \r\n {({ isSubmitting, submitForm }) => (\r\n }\r\n title={\r\n \r\n {t(\"Edit Industry / Segment\")}\r\n \r\n }\r\n actions={\r\n <>\r\n \r\n CLOSE\r\n \r\n submitForm()}\r\n >\r\n \r\n Update\r\n \r\n {isSubmitting && (\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 * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Mui from \"@material-ui/core\";\r\n\r\nexport declare namespace Form {\r\n export interface Values {\r\n name_en: string;\r\n name_de: string;\r\n name_fr: string;\r\n name_it: string;\r\n name_es: string;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Form() {\r\n const { t } = ReactI18next.useTranslation();\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","import * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as Notistack from \"notistack\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as IndustrySegment from \"src/app/pages/industry-segment\";\r\nimport * as Constants from \"src/constants\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\ninterface Data extends Models.IndustrySegment.Main {}\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T) {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = \"asc\" | \"desc\";\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key\r\n): (\r\n a: { [key in Key]: number | string },\r\n b: { [key in Key]: number | string }\r\n) => number {\r\n return order === \"desc\"\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number) {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: ReturnType;\r\n numSelected: number;\r\n onRequestSort: (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => void;\r\n onSelectAllClick: (event: React.ChangeEvent) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowCount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(\r\n props: EnhancedTableProps &\r\n Pick & {\r\n id: string;\r\n label: string;\r\n numeric?: boolean;\r\n disablePadding?: boolean;\r\n }\r\n) {\r\n const { classes, order, orderBy, onRequestSort, ...restOfProps } = props;\r\n const createSortHandler = (property: keyof Data) => (\r\n event: React.MouseEvent\r\n ) => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n \r\n {props.label}\r\n {orderBy === props.id ? (\r\n \r\n {order === \"desc\" ? \"sorted descending\" : \"sorted ascending\"}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useStyles = Mui.makeStyles((theme) =>\r\n Mui.createStyles({\r\n root: {\r\n width: \"100%\",\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: \"rect(0 0 0 0)\",\r\n height: 1,\r\n margin: -1,\r\n overflow: \"hidden\",\r\n padding: 0,\r\n position: \"absolute\",\r\n top: 20,\r\n width: 1,\r\n },\r\n })\r\n);\r\n\r\nfunction EnhancedTable({\r\n rows,\r\n handleEditClick,\r\n handleActivateClick,\r\n handleDeleteClick,\r\n}: {\r\n rows: Models.IndustrySegment.Main[];\r\n handleEditClick(props: {\r\n industrySegment: Models.IndustrySegment.Main;\r\n }): void;\r\n handleDeleteClick(props: { id: string | number }): void;\r\n handleActivateClick(props: { id: string | number }): void;\r\n}) {\r\n const classes = useStyles();\r\n const [order, setOrder] = React.useState(\"asc\");\r\n const [orderBy, setOrderBy] = React.useState(\"name\");\r\n const [selected, setSelected] = React.useState([]);\r\n const [page, setPage] = React.useState(0);\r\n const [rowsPerPage] = React.useState(7);\r\n // const [rowsPerPage, setRowsPerPage] = React.useState(5);\r\n\r\n React.useEffect(() => {\r\n setPage(0);\r\n }, [rows.length]);\r\n\r\n const handleRequestSort = (\r\n event: React.MouseEvent,\r\n property: keyof Data\r\n ) => {\r\n setPage(0);\r\n const isAsc = orderBy === property && order === \"asc\";\r\n setOrder(isAsc ? \"desc\" : \"asc\");\r\n setOrderBy(property);\r\n };\r\n\r\n const handleSelectAllClick = (event: React.ChangeEvent) => {\r\n if (event.target.checked) {\r\n const newSelecteds = rows.map(\r\n (n) => (n.industrySegmentsId as unknown) as string\r\n );\r\n setSelected(newSelecteds);\r\n return;\r\n }\r\n setSelected([]);\r\n };\r\n\r\n const handleClick = (event: React.MouseEvent, name: string) => {\r\n const selectedIndex = selected.indexOf(name);\r\n let newSelected: string[] = [];\r\n\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(selected, name);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(selected.slice(1));\r\n } else if (selectedIndex === selected.length - 1) {\r\n newSelected = newSelected.concat(selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(\r\n selected.slice(0, selectedIndex),\r\n selected.slice(selectedIndex + 1)\r\n );\r\n }\r\n\r\n setSelected(newSelected);\r\n };\r\n\r\n const handleChangePage = (event: unknown, newPage: number) => {\r\n setPage(newPage);\r\n };\r\n\r\n\r\n const isSelected = (name: string) => selected.indexOf(name) !== -1;\r\n\r\n const emptyRows =\r\n rowsPerPage - Math.min(rowsPerPage, rows.length - page * rowsPerPage);\r\n\r\n const { t } = ReactI18next.useTranslation();\r\n const theme = Mui.useTheme();\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 \r\n \r\n Actions\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {stableSort(rows as any, getComparator(order, orderBy))\r\n .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\r\n .map((row, index) => {\r\n const isItemSelected = isSelected(\r\n row.industrySegmentsId as string\r\n );\r\n const labelId = `enhanced-table-checkbox-${index}`;\r\n\r\n return (\r\n \r\n handleClick(event, row.industrySegmentsId as string)\r\n }\r\n aria-checked={isItemSelected}\r\n tabIndex={-1}\r\n key={row.industrySegmentsId}\r\n // selected={isItemSelected}\r\n >\r\n \r\n {row.name}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n handleEditClick({\r\n industrySegment: row as Models.IndustrySegment.Main,\r\n })\r\n }\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\r\n }}\r\n >\r\n \r\n \r\n {/* */}\r\n \r\n \r\n\r\n {row.status === 1 ? (\r\n \r\n handleDeleteClick({ id: row.industrySegmentsId })\r\n }\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\r\n }}\r\n >\r\n \r\n \r\n {/* */}\r\n \r\n \r\n ) : (\r\n \r\n handleActivateClick({\r\n id: row.industrySegmentsId,\r\n })\r\n }\r\n size=\"small\"\r\n style={{\r\n padding: theme.spacing(0.125),\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 {emptyRows > 0 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n {rows.length > 7 && (\r\n \r\n handleChangePage(event, page - 1)}\r\n shape=\"rounded\"\r\n />\r\n \r\n )}\r\n \r\n
\r\n );\r\n}\r\n\r\nexport const Main = Mobx.observer(function () {\r\n const [editDialogOpen, setEditDialogOpen] = React.useState<\r\n Models.IndustrySegment.Main\r\n >();\r\n const [deleteDialogOpen, setDeleteDialogOpen] = React.useState<\r\n number | string\r\n >();\r\n const [activateDialogOpen, setActivateDialogOpen] = React.useState<\r\n number | string\r\n >();\r\n const [isLoading, setIsLoading] = React.useState(false);\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const industrySegmentStore = React.useContext(\r\n App.Contexts.industrySegmentStore\r\n );\r\n const theme = Mui.useTheme();\r\n const { enqueueSnackbar } = Notistack.useSnackbar();\r\n const industrySegmentService = new Services.IndustrySegment({\r\n httpManager: new Services.Managers.Axios({ agent: App.axios }),\r\n urlFactory: new Services.Factories.URL({\r\n protocol: Constants.environment.apiBaseUrlProtocol as \"http\",\r\n hostname: Constants.environment.apiBaseUrlHostname,\r\n version: Constants.environment.apiBaseUrlVersion,\r\n }),\r\n });\r\n\r\n React.useEffect(() => {\r\n industrySegmentStore.read();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const handleSearch = (event: React.ChangeEvent) => {\r\n const search = event.target.value as string;\r\n industrySegmentStore.setSearch({ search });\r\n };\r\n\r\n const handleChange = (event: React.ChangeEvent<{ value: unknown }>) => {\r\n const status = event.target.value as string | number;\r\n if (typeof status === \"string\" && status !== \"\") {\r\n return;\r\n }\r\n\r\n if (status === \"\") {\r\n industrySegmentStore.setStatus({ status: undefined });\r\n return;\r\n }\r\n\r\n industrySegmentStore.setStatus({ status });\r\n };\r\n\r\n async function handleDeleteFunction() {\r\n setIsLoading(true);\r\n const uid = userStore.user?.uid;\r\n if (deleteDialogOpen === undefined || uid === undefined) {\r\n \r\n return;\r\n }\r\n try {\r\n await industrySegmentService.delete({\r\n industrySegmentsId: deleteDialogOpen,\r\n uid,\r\n });\r\n enqueueSnackbar(t(\"Industry/Segments successfully deleted!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setIsLoading(false);\r\n setDeleteDialogOpen(undefined);\r\n industrySegmentStore.read();\r\n }\r\n }\r\n async function handleActivateFunction() {\r\n setIsLoading(true);\r\n const uid = userStore.user?.uid;\r\n if (activateDialogOpen === undefined || uid === undefined) {\r\n \r\n return;\r\n }\r\n try {\r\n await industrySegmentService.activate({\r\n industrySegmentsId: activateDialogOpen,\r\n uid,\r\n });\r\n enqueueSnackbar(t(\"Industry/Segments successfully activated!\"), {\r\n variant: \"success\",\r\n preventDuplicate: false,\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n enqueueSnackbar(t(\"Something went wrong! Please try again later.\"), {\r\n variant: \"warning\",\r\n preventDuplicate: false,\r\n });\r\n } finally {\r\n setIsLoading(false);\r\n setActivateDialogOpen(undefined);\r\n industrySegmentStore.read();\r\n }\r\n }\r\n\r\n const { t } = ReactI18next.useTranslation();\r\n return (\r\n <>\r\n {\r\n setDeleteDialogOpen(undefined);\r\n }}\r\n title={t(\"Delete group\")}\r\n contentText={t(\r\n \"Are you sure you want to delete this Industry / Segment group?\"\r\n )}\r\n actions={\r\n <>\r\n {\r\n setDeleteDialogOpen(undefined);\r\n }}\r\n >\r\n Cancel\r\n \r\n handleDeleteFunction()}\r\n disabled={isLoading}\r\n {...(!isLoading && {\r\n style: {\r\n backgroundColor: theme.palette.primary.main,\r\n color: theme.palette.common.white,\r\n },\r\n })}\r\n >\r\n Delete\r\n {isLoading && (\r\n \r\n )}\r\n \r\n \r\n }\r\n />\r\n\r\n {\r\n setActivateDialogOpen(undefined);\r\n }}\r\n title={t(\"Activate group\")}\r\n contentText={t(\r\n \"Are you sure you want to activate this Industry / Segment group?\"\r\n )}\r\n actions={\r\n <>\r\n {\r\n setActivateDialogOpen(undefined);\r\n }}\r\n >\r\n Cancel\r\n \r\n handleActivateFunction()}\r\n disabled={isLoading}\r\n {...(!isLoading && {\r\n style: {\r\n backgroundColor: theme.palette.primary.main,\r\n color: theme.palette.common.white,\r\n },\r\n })}\r\n >\r\n \r\n Activate\r\n \r\n {isLoading && (\r\n \r\n )}\r\n \r\n \r\n }\r\n />\r\n {industrySegmentStore.createDialogOpen && (\r\n {\r\n industrySegmentStore.setCreateDialogOpen({\r\n createDialogOpen: false,\r\n });\r\n }}\r\n />\r\n )}\r\n {editDialogOpen && (\r\n {\r\n setEditDialogOpen(undefined);\r\n }}\r\n />\r\n )}\r\n \r\n \r\n \r\n \r\n Filter by status\r\n \r\n \r\n \r\n \r\n \r\n None\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 {industrySegmentStore.industrySegments.length > 0 && ()}\r\n \r\n \r\n {industrySegmentStore.isInitialLoading ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n {\r\n setEditDialogOpen(industrySegment);\r\n }}\r\n handleDeleteClick={({ id }) => {\r\n setDeleteDialogOpen(id);\r\n }}\r\n handleActivateClick={({ id }) => {\r\n setActivateDialogOpen(id);\r\n }}\r\n rows={industrySegmentStore.filtered}\r\n />\r\n \r\n )}\r\n \r\n );\r\n});\r\n","import * as IndustrySegment from \"src/app/pages/industry-segment\";\r\nimport * as Yup from \"yup\";\r\n\r\nexport declare namespace Shared {\r\n export interface Props {\r\n t(key: string): string;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Shared({ t }: Shared.Props) {\r\n return {\r\n Form: {\r\n validationSchema: Yup.object({\r\n name_en: Yup.string().required(t(\"English translation is required\")),\r\n name_de: Yup.string().required(t(\"German translation is required\")),\r\n name_fr: Yup.string().required(t(\"French translation is required\")),\r\n name_it: Yup.string().required(t(\"Italian translation is required\")),\r\n name_es: Yup.string().required(t(\"Spanish translation is required\")),\r\n }),\r\n },\r\n };\r\n}\r\n","import * as Mobx from \"mobx\";\r\nimport * as i18n from \"src/app/i18n\";\r\nimport * as Models from \"src/models\";\r\nimport * as Services from \"src/services\";\r\n\r\nexport declare namespace Store {\r\n export interface IStore {\r\n isLoading: boolean;\r\n search: string;\r\n status?: number;\r\n createDialogOpen: boolean;\r\n industrySegments: Models.IndustrySegment.Main[];\r\n }\r\n\r\n export type Options = {\r\n industrySegmentService: Services.IndustrySegment;\r\n };\r\n\r\n export namespace SetCreateDialogOpen {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace Read {\r\n export interface Props extends Services.IndustrySegment.GetAllData.Props {}\r\n }\r\n\r\n export namespace SetSearch {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetStatus {\r\n export interface Props extends Pick {}\r\n }\r\n\r\n export namespace SetLocale {\r\n export interface Props {\r\n locale: string;\r\n }\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport class Store implements Store.IStore {\r\n @Mobx.observable private _locale: string = \"en\";\r\n\r\n @Mobx.observable public isLoading: boolean = false;\r\n @Mobx.observable public search: string = \"\";\r\n @Mobx.observable public status?: number = 1;\r\n @Mobx.observable public createDialogOpen: boolean = false;\r\n @Mobx.observable public industrySegments: Models.IndustrySegment.Main[] = [];\r\n\r\n private _industrySegmentService: Services.IndustrySegment;\r\n\r\n constructor({ industrySegmentService }: Store.Options) {\r\n this._industrySegmentService = industrySegmentService;\r\n i18n.instance.on(\"languageChanged\", (language) =>\r\n this.setLocale({ locale: language })\r\n );\r\n }\r\n\r\n @Mobx.action public reset() {\r\n this.search = \"\";\r\n this.status = 1;\r\n }\r\n\r\n @Mobx.action public setLocale({ locale }: Store.SetLocale.Props) {\r\n this._locale = locale.toLowerCase();\r\n\r\n this.industrySegments = this.industrySegments.map((industrySegment) => ({\r\n ...industrySegment,\r\n name: (industrySegment[\r\n `name${this._locale.toUpperCase()}` as keyof Models.IndustrySegment.Main\r\n ] ?? industrySegment.nameEN) as string,\r\n }));\r\n }\r\n\r\n @Mobx.action setCreateDialogOpen({\r\n createDialogOpen,\r\n }: Store.SetCreateDialogOpen.Props) {\r\n this.createDialogOpen = createDialogOpen;\r\n }\r\n\r\n @Mobx.action public setSearch({ search }: Store.SetSearch.Props) {\r\n this.search = search;\r\n }\r\n\r\n @Mobx.action public setStatus({ status }: Store.SetStatus.Props) {\r\n this.status = status;\r\n }\r\n\r\n @Mobx.action public async read(props?: Store.Read.Props) {\r\n try {\r\n this.isLoading = true;\r\n const { result } = await this._industrySegmentService.getAllData(props);\r\n\r\n this.industrySegments = result;\r\n this.setLocale({ locale: i18n.instance.language });\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n @Mobx.computed public get isInitialLoading(): boolean {\r\n if (this.industrySegments.length !== 0) {\r\n return false;\r\n }\r\n\r\n if (!this.isLoading) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n @Mobx.computed public get filtered() {\r\n return this.industrySegments\r\n .filter((segment: any) => {\r\n if (!this.status) {\r\n return true;\r\n }\r\n return segment.status === this.status;\r\n })\r\n .filter((segment) => {\r\n if (!this.search) {\r\n return true;\r\n }\r\n return (\r\n ((segment[\r\n `name${this._locale.toUpperCase()}` as keyof Models.IndustrySegment.Main\r\n ] ?? segment.nameEN) as string) &&\r\n ((segment[\r\n `name${this._locale.toUpperCase()}` as keyof Models.IndustrySegment.Main\r\n ] ?? segment.nameEN) as string)\r\n .toLowerCase()\r\n .includes(this.search.toLowerCase())\r\n );\r\n });\r\n }\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as Components from \"src/app/components\";\r\nimport * as Models from \"src/models\";\r\n\r\nexport declare namespace Card {\r\n export interface Props {\r\n selected: boolean;\r\n functions: Models.Set.Function[];\r\n article: Models.Set.Article;\r\n handleClick(props: { article: Models.Set.Article }): void;\r\n }\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare\r\nexport function Card({\r\n article,\r\n handleClick,\r\n selected,\r\n functions,\r\n}: Card.Props) {\r\n const theme = Mui.useTheme();\r\n\r\n return (\r\n \r\n handleClick({ article })}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n }\r\n action={\r\n <>\r\n {selected !== undefined && (\r\n \r\n )}\r\n \r\n }\r\n />\r\n \r\n {functions && functions.length > 0 && (\r\n \r\n \r\n \r\n )}\r\n\r\n \r\n \r\n Available functions\r\n \r\n \r\n \r\n {functions?.map((func) => func.funcationName).join(\", \")}\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","import * as Mui from \"@material-ui/core\";\r\nimport * as Formik from \"formik\";\r\nimport * as FormikMui from \"formik-material-ui\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as ReactI18next from \"react-i18next\";\r\nimport * as App from \"src/app\";\r\n\r\nconst CustomTextField = Mobx.observer(function (\r\n props: FormikMui.TextFieldProps\r\n) {\r\n const activateStore = React.useContext(App.Contexts.license.activateStore);\r\n const easyTouchDeviceStore = React.useContext(\r\n App.Contexts.easyTouchDeviceStore\r\n );\r\n const userStore = React.useContext(App.Contexts.userStore);\r\n const prevValue = React.useRef(\"\");\r\n\r\n const {\r\n form: { setFieldTouched },\r\n field: { name },\r\n } = props;\r\n\r\n const onBlur = React.useCallback(\r\n async (event) => {\r\n const { value } = event.target;\r\n const etuid = userStore.user?.ETUID;\r\n setFieldTouched(name);\r\n\r\n if (!value && activateStore.installed.length) {\r\n activateStore.setInstalled({ installed: [] });\r\n }\r\n\r\n if (!value || !etuid || value === prevValue.current) {\r\n prevValue.current = value;\r\n return;\r\n }\r\n\r\n try {\r\n activateStore.setIsLoadingPreviouslyInstalledArticles({\r\n isLoadingPreviouslyInstalledArticles: true,\r\n });\r\n\r\n await easyTouchDeviceStore.read({\r\n userRole: \"customer\",\r\n status: -1,\r\n uid: etuid,\r\n });\r\n\r\n const installed: Set = new Set();\r\n easyTouchDeviceStore.devices\r\n ?.filter((device) => device.macID === value)\r\n .map((device) => {\r\n device.sets.forEach((set) => installed.add(set.setID));\r\n });\r\n\r\n if (installed.size > 0 && activateStore.selected.length > 0) {\r\n activateStore.setSelected({\r\n selected: activateStore.selected.filter(\r\n (setID) => !installed.has(setID)\r\n ),\r\n });\r\n }\r\n\r\n activateStore.setInstalled({\r\n installed: Array.from(installed.values()),\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n activateStore.setIsLoadingPreviouslyInstalledArticles({\r\n isLoadingPreviouslyInstalledArticles: false,\r\n });\r\n prevValue.current = value;\r\n }\r\n },\r\n [activateStore, easyTouchDeviceStore, name, setFieldTouched, userStore.user]\r\n );\r\n\r\n return (\r\n <>\r\n \r\n {activateStore.isLoadingPreviouslyInstalledArticles && (\r\n \r\n )}\r\n {activateStore.isLoadingPreviouslyInstalledArticles && (\r\n \r\n Looking for previously installed articles...\r\n \r\n )}\r\n \r\n );\r\n});\r\n\r\nexport const Form = Mobx.observer(function () {\r\n const theme = Mui.useTheme();\r\n const { t } = ReactI18next.useTranslation();\r\n\r\n const activateStore = React.useContext(App.Contexts.license.activateStore);\r\n const licenseStore = React.useContext(App.Contexts.license.store);\r\n\r\n const { submitCount, submitForm } = Formik.useFormikContext();\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 Selected license\r\n \r\n \r\n\r\n \r\n {() => (\r\n <>\r\n {submitCount > 0 && activateStore.selected.length === 0 && (\r\n \r\n \r\n Please select an license before proceeding\r\n \r\n \r\n )}\r\n\r\n {submitCount > 0 &&\r\n activateStore.selected.length > 0 &&\r\n !activateStore.isDependentArticlesValid && (\r\n \r\n \r\n Please select dependent license\r\n {` (${Array.from(\r\n activateStore.dependentArticles.values()\r\n ).join(\", \")})`}\r\n \r\n \r\n )}\r\n\r\n \r\n \r\n {licenseStore.getArticlesFromLicenses\r\n ?.filter((article) =>\r\n activateStore.selected.includes(article.setID)\r\n )\r\n .map((article) => (\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 Generate license and activate\r\n \r\n \r\n \r\n \r\n \r\n );\r\n});\r\n","/** @format */\r\n\r\nimport * as Mui from \"@material-ui/core\";\r\nimport * as MuiLab from \"@material-ui/lab\";\r\nimport * as Formik from \"formik\";\r\nimport * as Mobx from \"mobx-react-lite\";\r\nimport * as React from \"react\";\r\nimport * as App from \"src/app\";\r\nimport * as Article from \"src/app/pages/article\";\r\nimport * as Activate from \"src/app/pages/license/activate\";\r\nimport * as Models from \"src/models\";\r\nimport * as ReactI18next from \"react-i18next\";\r\n\r\ninterface TabPanelProps {\r\n children?: React.ReactNode;\r\n index: any;\r\n value: any;\r\n}\r\n\r\nconst TabPanel = Mobx.observer(function (props: TabPanelProps) {\r\n const { children, value, index, ...other } = props;\r\n const activateStore = React.useContext(App.Contexts.license.activateStore);\r\n const classes = useStyles({\r\n loading: activateStore.isLoadingPreviouslyInstalledArticles,\r\n });\r\n\r\n return (\r\n