{"version":3,"sources":["util/userManager.ts","components/CallbackPage.tsx","components/LoginError.tsx","components/SilentRenew.tsx","helpers/ApiHelpers.ts","reducers/formReducer.ts","actions/actionTypes.ts","reducers/globalReducer.ts","reducers/navigationReducer.ts","reducers/helpers.ts","reducers/changelogReducer.ts","store.ts","reducers/historyReducer.ts","reducers/settingsReducer.ts","reducers/ticketReducer.ts","reducers/userReducer.ts","reducers/index.ts","api/apiLinks.js","api/api.ts","helpers/SessionHelper.ts","components/shared/CurrentUser.tsx","containers/shared/CurrentUserContainer.ts","components/shared/navigation/TitleNavigationSectionHeader.tsx","components/shared/navigation/AdminNavigation.tsx","containers/shared/navigation/AdminNavigationContainer.ts","components/shared/navigation/MainNavigation.tsx","containers/shared/navigation/MainNavigationContainer.ts","actions/formActions.ts","components/shared/navigation/Copyright.tsx","components/shared/Navigation.tsx","actions/navigationActions.ts","components/shared/navigation/HamburgerMenu.tsx","actions/settingsActions.ts","components/shared/GlobalHeader.tsx","containers/shared/GlobalHeaderContainer.ts","global/ButtonDefinitions.ts","components/shared/Content.tsx","components/Layout.jsx","components/shared/NoMatch.tsx","components/shared/TitleHelper.tsx","selectors/basic.ts","components/shared/buttons/Button.tsx","components/shared/tables/DataTableCell.tsx","helpers/ComponentHelpers.ts","components/shared/tables/DataTablePagination.tsx","helpers/ObjectHelpers.ts","global/InfoWrapperTypes.ts","components/shared/tables/DataTable.tsx","components/shared/spinner/LoadingSpinner.tsx","actions/changelogActions.ts","components/shared/FormInfoWrapper.tsx","components/shared/spinner/SmallLoadingSpinner.tsx","components/shared/FormMessage.tsx","containers/shared/FormMessageContainer.ts","components/shared/forms/Description.tsx","components/shared/forms/Label.tsx","components/shared/forms/FormError.tsx","global/editorConfiguration.ts","components/admin/changelog/AddChangelog.tsx","components/admin/changelog/DeleteChangelog.tsx","components/admin/changelog/EditChangelog.tsx","components/shared/error/InfoWrapper.tsx","components/admin/changelog/ChangelogOverview.tsx","containers/admin/ChangelogOverviewContainer.ts","actions/historyActions.ts","components/shared/list/SelectList.tsx","components/admin/history/History.tsx","containers/admin/history/HistoryContainer.ts","components/AdminBucket.tsx","containers/AdminBucketContainer.ts","components/Changelog.tsx","containers/ChangelogContainer.ts","global/TicketTypes.ts","global/TicketForms.ts","components/shared/list/CustomerSelectList.tsx","helpers/SelectListHelpers.ts","helpers/ListHelpers.ts","helpers/TicketHelpers.ts","actions/ticketActions.ts","helpers/ArrayHelpers.ts","helpers/ExportHelpers.ts","components/shared/export/Download.tsx","components/main/tickets/TicketsOverview.tsx","containers/main/OpenTicketsOverviewContainer.ts","containers/main/CompletedTicketsOverviewContainer.ts","components/shared/notifications/NotificationText.tsx","components/shared/notifications/NotificationItem.tsx","components/shared/notifications/Notifications.tsx","components/shared/file/FileDownload.tsx","helpers/FormValidationHelper.ts","components/main/tickets/TicketDetails.tsx","containers/main/TicketDetailsContainer.ts","helpers/DateHelpers.ts","components/shared/forms/TicketDatePicker.tsx","components/shared/list/SearchableSelectList.tsx","components/shared/forms/InputFeedback.tsx","components/shared/forms/RadioButtonGroup.tsx","components/shared/forms/RadioButton.tsx","components/shared/forms/RadioButtonSelect.tsx","components/shared/forms/Wizard.tsx","global/ContactTypes.ts","components/shared/forms/WizardPage.tsx","components/shared/forms/CheckboxGroup.tsx","components/shared/forms/Checkbox.tsx","components/shared/forms/CheckboxSelect.tsx","components/shared/forms/CheckboxWithText.tsx","components/shared/error/ResetWrapper.tsx","components/shared/DeleteModal.tsx","helpers/LabelHelpers.ts","helpers/StringHelpers.ts","components/shared/forms/FileUpload.tsx","components/main/tickets/AddTicket.tsx","containers/main/AddTicketContainer.ts","components/main/tickets/EditTicketPriority.tsx","containers/main/EditTicketPriorityContainer.ts","components/main/tickets/SearchTickets.tsx","containers/main/SearchTicketsContainer.ts","components/main/tickets/TicketContact.tsx","containers/main/TicketContactContainer.ts","components/main/tickets/TicketContactChange.tsx","containers/main/SuperUserChangeContainer.ts","containers/main/AffectedContactChangeContainer.ts","components/main/tickets/TicketEscalation.tsx","containers/main/TicketEscalationContainer.ts","components/Tickets.tsx","containers/TicketsContainer.ts","App.tsx","actions/globalActions.ts","components/NoConnection.tsx","components/EntryPoint.tsx","actions/loginActions.ts","containers/EntryPointContainer.ts","components/ProfileLoadPage.tsx","components/Global.tsx","containers/GlobalContainer.ts","serviceWorker.ts","index.tsx"],"names":["userManagerConfig","client_id","process","redirect_uri","window","location","protocol","hostname","port","response_type","scope","authority","silent_redirect_uri","automaticSilentRenew","filterProtocolClaims","loadUserInfo","includeAllClaimsForUser","allowAccessToAllScopes","userStore","WebStorageStateStore","store","sessionStorage","userManager","createUserManager","CallbackPage","props","successCallback","bind","errorCallback","redirectUrl","localStorage","getItem","this","history","push","removeItem","className","icon","Component","LoginError","SilentRenew","receiveStatusCode","code","includes","defaultState","state","errorMessage","successMessage","warningMessage","tempObject","formReducer","action","type","data","isReachableAPI","isReachableSTS","globalReducer","projectRatingOpen","navigationReducer","Object","assign","getNewSortProperties","obj","sortOrder","sortedProperty","recent","selectedObject","changelogReducer","newProps","date","Date","getFullYear","getMonth","getDate","actions","searchString","selectedAction","startDate","Moment","subtract","toDate","endDate","historyReducer","customers","employees","settingsReducer","customSearchString","filterOptions","commentPageOpen","selectedFile","ticketReducer","user","portalRoles","profileSet","databaseId","isSuperUser","customerCode","userReducer","employeeDatabaseId","isRizSuperUser","rootReducer","combineReducers","navigation","form","router","connectRouter","global","oidc","oidcReducer","changelog","settings","tickets","base","document","getElementsByTagName","baseUrl","undefined","getAttribute","hist","createBrowserHistory","basename","persistConfig","key","storage","stateReconciler","autoMergeLevel2","whitelist","middleware","applyMiddleware","promise","thunk","routerMiddleware","pReducer","persistReducer","reducers","createStore","persistor","persistStore","loadUser","HOST_API","CHANGELOGS","HISTORY","TICKETS","getAPIConfiguration","axios","create","timeout","responseType","headers","getAPIConfigurationSecured","token","getState","id_token","get","url","secured","Promise","resolve","reject","method","then","response","statusCode","message","catch","error","post","body","Number","postFormBody","apiClient","getAPIConfigurationForm","formBody","FormData","append","IsMobile","isMobile","GetPortalRoles","roles","IsPortalAdmin","IsRizEmployee","role","length","profile","upn","endsWith","IsSuperUser","IsNormalUser","HasEditAccess","HasGlobalAccess","HasCustomerAccess","CurrentUser","mainClass","CurrentUserContainer","connect","TitleNavigationSectionHeader","title","AdminNavigation","to","AdminNavigationContainer","MainNavigation","MainNavigationContainer","setFormError","setFormSuccess","setFormWarning","setFormMessageByResponse","res","Copyright","Navigation","menuSelected","changeNavigation","onClick","isRizEmployee","hasCustomerEditAccess","visible","src","alt","link","dispatch","pathname","HamburgerMenu","open","changeMenuState","newState","setState","opened","id","getCustomers","api","getCustomersFromAPI","GlobalHeader","settingsActions","ButtonTypes","ButtonSize","GlobalHeaderContainer","Content","children","Layout","NoMatch","TitleHelper","titleText","Helmet","getSorted","items","options","searchOptions","arrayCopy","keys","elements","searchValue","toLowerCase","filter","element","some","toString","first","substring","indexOf","second","String","filterByMultipleProperties","sortKeys","sort","compareBy","sortKey","reverse","getSortedSimple","sortkey","sortorder","a","b","Button","cls","buttonType","PRIMARY","disabled","DataTableCell","header","content","selectedClass","range","from","step","i","rangeList","isBoolean","val","LEFT_PAGE","DataTablePagination","pageLimit","totalRecords","pageNeighbours","totalPages","gotoPage","page","onPageChanged","f","currentPage","Math","max","min","Data","handleClick","handleMoveLeft","event","preventDefault","handleMoveRight","fetchPageNumbers","totalNumbers","startPage","endPage","pages","hasLeftSpill","hasRightSpill","spillOffset","extraPages","ceil","prevProps","prevState","snapshot","aria-label","map","index","aria-hidden","isEmpty","hasOwnProperty","isDefined","value","isAnyObject","getObjectValueByKey","object","split","forEach","itemKey","isNullOrEmpty","string","checkKeyCondition","condition","conditionMatch","invert","InfoWrapperTypes","DataTable","renderHeadingCell","_cell","cellIndex","onSort","activeSort","replace","paginationHeader","name","lastElementIndexInCurrentPage","firstElementIndexInCurrentPage","rows","onSortChanged","renderDataRow","_row","rowIndex","headings","onPageChange","offset","currentElements","slice","sortAttribute","sortValue","row","showPaginationHeader","theadMarkup","tBodyMarkup","classes","LoadingSpinner","loop","autoplay","animationData","width","height","receiveChangelogsError","changeState","setSelectedObject","backToList","getChangelogAndCallAction","apiLinks","getChangelogFromAPI","getRecent","getRecentChangelogsFromAPI","getChangelogsFromAPI","deleteChangelog","delete","forms","editChangelog","values","patch","idChangelog","FormInfoWrapper","hidden","info","SmallLoadingSpinner","device","FormMessage","setTimeout","formState","clearSuccessMessageAfterSomeTime","SUCCESS","clearErrorMessageAfterSomeTime","FAILURE","clearWarningMessageAfterSomeTime","WARNING","FormMessageContainer","Description","classDescription","show","hide","onMouseOver","onMouseLeave","renderHTML","text","Label","htmlFor","for","description","FormError","customMessage","component","GlobalEditorConfiguration","toolbar","language","heading","model","class","view","FormEditorConfiguration","AddChangelog","validationSchemaData","Yup","shape","versionNumber","required","handleSubmit","onCancel","changelogActions","enableReinitialize","initialValues","onSubmit","validationSchema","bag","editor","ClassicEditor","config","onChange","getData","setFieldValue","DeleteChangelog","initalValues","EditChangelog","onInit","set","InfoWrapper","ChangelogOverview","update","href","renderActions","changelogstore","changelogs","addActions","addEntry","ChangelogOverviewContainer","setDate","getHistoryActions","includeSync","getHistoryActionsFromAPI","getHistoryFromAPI","formattedStartDate","toLocaleString","formattedEndDate","historyAction","startsWith","SelectList","elems","customProperties","properties","valueName","textName","defaultValue","selectedValue","defaultText","History","onSearchFieldChanged","historyActions","historystore","target","searchstring","openModal","infoData","historyStore","printOut","details","JSON","parse","effect","onClickAway","closeModal","placeholder","onFilterChanged","containerClassName","format","time","renderDialog","HistoryContainer","historyData","AdminBucket","path","AdminBucketContainer","Changelog","renderElements","TicketTypes","TicketForms","ChangelogContainer","CustomerSelectList","emptyOption","label","concat","opt","selectedOption","isClearable","getTicketType","SR","INC","getImpactDetails","impact","getFullImpactDescription","descriptionString","getProvisionTimeDescription","provisionTimes","ptWithDescription","x","pt","getSelectedValue","filters","find","filterkey","filtervalue","setFilterOptions","option","findIndex","convertObjectListToSelectListArray","list","labelKey","valueKey","item","getClassificationOptions","getClassificationDescription","getClassificationLabel","classification","setDateDisplaySortKeysForParameters","parameters","displayDateFormat","el","parameter","moment","isValid","formatDate","convertDateFilters","startDateKey","endDateKey","startDateString","endDateString","convertArrayToSearchableSelectList","PriorityChangeEnabled","qualification","restoreProvisionTimeList","provisionTimeList","fields","field","receiveTickets","receiveTicketsError","setCommentPage","setCommentPageOpen","getBlankTicketFormCust","alternativePossibilities","allowedFiles","toUpperCase","storageItem","ticketFormJson","ticketForm","requestText","currentContact","currentAffectedContact","getBlankTicketCustFromAPI","getBlankTicketForm","getBlankTicketFromAPI","getTicketForm","uhdNumber","PRIORITY","currentValues","ticketPriorityFormJson","ticketPriorityForm","getTicketPriorityFormFromAPI","CONTACT","ticketContactFormJson","ticketContactForm","getTicketContactFormFromAPI","CONTACT_CHANGE","getTicketContactChangeFormFromAPI","ESCALATION","ticketEscalationFormJson","ticketEscalationForm","escalationType","escalationText","getTicketEscalationFormFromAPI","loadFile","fileName","defaults","download","loadFileFromAPI","getTicketsOfCustomerFromAPI","customer","completed","dateFilters","getTicketsFromAPI","getTicketFromAPI","setFilters","pushToIndex","array","newItem","getTicketListExportSheet","exportHeadings","sheetName","showHeadings","getIconLinkByFileType","file","imageUrl","ExcelFile","ReactExport","ExcelSheet","Download","currentDate","downloadSheets","sheets","sheet","excelHeadings","excelData","isMatrixExport","wch","style","font","bold","alignment","textRotation","wrapText","vertical","multiDataSet","columns","dataSet","singleSheet","filename","newColumns","newData","sz","newMultiDataSet","defaultProps","TicketsOverview","openAction","ticketsStore","ticketActions","load","uhdTicketNumberLink","uhdTicketNumber","sessionHelper","endDateMoment","startDateMoment","selectedCustomer","onDateChanged","OpenTicketsOverviewContainer","CompletedTicketsOverviewContainer","NotificationText","NotificationItem","displayDate","personImage","onError","currentTarget","person","size","allowComments","onAnswerClick","Notifications","_renderContent","textKey","excludeComment","tileClass","excludeCommentCondition","highlightTileCondition","mainKey","personKey","dateKey","titleKey","classNames","FileDownload","displayName","validateForm","getValidationSchema","validateSync","abortEarly","inner","reduce","errors","TicketDetails","idTicket","idStepsTicket","impactString","urgency","urgencyString","priority","priorityString","qualificationString","insertDate","updateDate","planDate","employee","contact","affectedContact","ticketHistoryEntries","ticketFiles","comment","allowEscalation","escalated","escalationDate","handleCommentSubmit","match","params","matches","nullable","ticketHistory","idTicketHistory","resetForm","setSubmitting","ticketstore","ticketTitle","department","showImage","image","lastname","employeeMail","email","setEmployeesImageLink","ticketDetails","editPriorityAction","idTicketFile","renderCommentForm","validate","getCommentValidationSchema","validateOnChange","minRows","maxRows","e","setItem","setCommentText","renderDetails","TicketDetailsContainer","getDateClass","minDate","maxExpressDate","day","getDay","registerLocale","de","TicketDatePicker","dateFormat","selected","express","locale","dayClassName","filterDate","onChangeRaw","React","SearchableSelectList","selectClass","isDisabled","InputFeedback","RadioButtonGroup","touched","RadioButton","onBlur","checked","RadioButtonSelect","WizardContainer","customerSelected","newPage","Children","count","toArray","c","setTouched","next","child","activeClass","disabledButton","_renderTitles","buttonOnTop","hideButtons","DISABLED","isFirstStep","previous","isLastStep","submitText","cloneElement","formikProps","validateOnBlur","renderForm","ContactTypes","Wizard","WizardPage","CheckboxGroup","handleChange","valueArray","splice","tValue","Checkbox","CheckboxSelect","fieldName","fieldValue","CheckboxWithText","handleOnChange","onReset","buttonText","DeleteModal","onConfirm","cancelText","confirmText","getAllowedFilesLabel","accept","acceptLabel","replaceAll","getQueryParams","searchQuery","queryParamsList","queryParams","param","FileUpload","fileDropHover","handleDrop","handleDragOver","handleDragLeave","files","fieldIndex","valid","splittedFileName","ending","newSize","getFullSize","droppedFiles","dataTransfer","newFiles","Array","hiddenFileInput","getElementById","click","fullSize","fullSizeMB","pow","toFixed","slotsFilled","dragOverHover","onDragLeave","maxSizeMB","onDrop","onDragOver","multiple","invalidClass","input","maxLength","shortenLength","startIndex","round","p1","endIndex","p2","shorten","handleRemove","AddTicket","impactList","provisionTimeListString","provisionTimesString","isExpress","attachment1","attachment1Valid","attachment2","attachment2Valid","attachment3","attachment3Valid","fileSize","currentContactString","currentAffectedContactString","availableContacts","suggestions","hasError","hasBreak","showOptionalPage","showCancelModal","onProvisionTimeSelected","onClassificationChanged","getCustomerCode","parent","displayOnParentValue","search","stringify","provisionTimeListSchema","of","idProvisionTime","validator","fkParent","idTicketField","childField","dynamicSchemaChildFields","acc","getValidatorOfTicketField","fieldVisible","checkFieldVisibility","minLength","provisionTimeSchema","dynamicSchemaFields","notOneOf","typeError","oneOf","idContact","ignoreParent","minLengthMessage","maxLengthMessage","numberLengthMessage","reload","formValues","layer","getAutoTitle","setValues","titles","_","join","provisionTime","globFieldName","summary","fieldLabel","now","formattedDate","dateValue","minDateOffset","maxDateOffset","hasTime","startOf","add","maxDate","endOf","timeFormat","showTimeSelect","timeCaption","selectable","minDateFilter","isSameOrAfter","isSameOrBefore","insert","remove","valueList","childFields","fieldArrayItem","childFieldName","childFieldValue","selectedCheckboxes","selectedChild","renderedChildFields","renderProvisionTimeFields","hideCategory","layers","selectedTicketType","highestSelectedProvisionTimeId","highestSelectedProvisionTime","addDays","processingDays","setHours","businessAdd","advanceDays","highestSelected","invalidFields","showNext","parentProvisionTime","provisionTimesOptions","selectedProvisionTime","globIndex","parentFields","pagesFound","provisionTimeFields","parentFieldsOfPage","renderedProvisionTimeFields","ptDescription","onDateSelected","impactDescription","renderProvisionTimeSelection","onCurrentContactChanged","onFileChanged","selectedImpact","ResetWrapper","AddTicketContainer","EditTicketPriority","currentDateText","currentOption","currentOptionText","EditTicketPriorityContainer","SearchTickets","getSearchString","status","q","decodeURIComponent","SearchTicketsContainer","TicketContact","TicketContactContainer","TicketContactChange","getSuggestions","inputValue","trim","inputLength","lang","getSuggestionValue","suggestion","renderSuggestion","selectedSuggestion","firstname","onSuggestionsFetchRequested","onSuggestionsClearRequested","newContact","contactType","SUPER_USER","AFFECTED","onSuggestionSelected","inputProps","newValue","getLabelForContactTypes","SuperUserChangeContainer","AffectedContactChangeContainer","TicketEscalation","escalationTypeList","TicketEscalationContainer","Tickets","exact","TicketsContainer","library","fab","far","fas","momentLocalizer","App","setConnectionStatusAPI","isReachable","setConnectionStatusSTS","testConnectionToAPI","testConnectionToSTS","HOST_STS","NoConnection","noConnection","iconClass","divClass","EntryPoint","initalLoad","timer","loginSuccess","setInterval","clearInterval","signinRedirect","console","log","clearTimer","login","startTimer","globalActions","EntryPointContainer","ProfileLoadPage","Global","userstore","expired","GlobalContainer","Boolean","rootElement","ReactDOM","render","navigator","serviceWorker","ready","registration","unregister"],"mappings":"qtEAGQA,EAAoB,CACxBC,UAAWC,uCACXC,aAAa,GAAD,OAAKC,OAAOC,SAASC,SAArB,aAAkCF,OAAOC,SAASE,UAAlD,OAA6DH,OAAOC,SAASG,KAAhB,WAA2BJ,OAAOC,SAASG,MAAS,GAAjH,aACZC,cAAe,iBACfC,MAAO,mCACPC,UAAWT,4BACXU,oBAAoB,GAAD,OAAKR,OAAOC,SAASC,SAArB,aAAkCF,OAAOC,SAASE,UAAlD,OAA6DH,OAAOC,SAASG,KAAhB,WAA2BJ,OAAOC,SAASG,MAAS,GAAjH,gBACnBK,sBAAsB,EACtBC,sBAAsB,EACtBC,cAAc,EACdC,yBAAyB,EACzBC,wBAAwB,EACxBC,UAAW,IAAIC,uBAAqB,CAAEC,MAAOC,kBAIhCC,EADKC,4BAAkBvB,GCkBzBwB,E,kDA9BX,WAAYC,GAAa,IAAD,8BACpB,cAAMA,IACDC,gBAAkB,EAAKA,gBAAgBC,KAArB,gBACvB,EAAKC,cAAgB,EAAKA,cAAcD,KAAnB,gBAHD,E,mDAMxB,WACI,IAAIE,EAAcC,aAAaC,QAAQ,gBACvCC,KAAKP,MAAMQ,QAAQC,KAAqB,OAAhBL,EAAuBA,EAAc,KAC7DC,aAAaK,WAAW,kB,2BAG5B,WACIH,KAAKP,MAAMQ,QAAQC,KAAK,iB,oBAG5B,WACI,OACI,kBAAC,oBAAD,CAAmBZ,YAAaA,EAAaI,gBAAiBM,KAAKN,gBAAiBE,cAAeI,KAAKJ,eACpG,yBAAKQ,U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EAAMuF,KAAKhB,KAClBq9B,UAAW5hC,EAAMuE,QAIDuG,CAAyB62B,ICD7BI,QACW,cAA7B/iC,OAAOC,SAASE,UAEe,UAA7BH,OAAOC,SAASE,UAEhBH,OAAOC,SAASE,SAAS+sB,MACvB,2D,YCAA8V,GAAcn8B,SAASouB,eAAe,QAE5CgO,IAASC,OAAO,kBAAC,IAAD,CAAUliC,MAAOA,IAC7B,kBAAC,eAAD,CAAcE,YAAaA,EAAaF,MAAOA,IAC3C,kBAAC,IAAD,CAAaoH,UAAWA,IACpB,kBAAC,IAAD,CAAQvG,QAASqF,IACb,kBAAC,IAAD,KACI,kBAAC,IAAD,CAAOw5B,OAAK,EAACjhB,KAAK,YAAYxF,UAAW7Y,IACzC,kBAAC,IAAD,CAAOs/B,OAAK,EAACjhB,KAAK,eAAexF,UAAW7X,IAC5C,kBAAC,IAAD,CAAOs+B,OAAK,EAACjhB,KAAK,cAAcxF,UAAW9X,IAC3C,kBAAC,IAAD,CAAOsd,KAAK,IAAIxF,UAAW6oB,UAKlCE,IDuGP,kBAAmBG,WACrBA,UAAUC,cAAcC,MAAMz5B,MAAK,SAAA05B,GACjCA,EAAaC,aAAa35B,W","file":"static/js/main.dc1eee97.chunk.js","sourcesContent":["import { WebStorageStateStore } from 'oidc-client';\r\nimport { createUserManager } from 'redux-oidc';\r\n\r\n const userManagerConfig = {\r\n client_id: process.env.REACT_APP_CLIENT_ID_STS,\r\n redirect_uri: `${window.location.protocol}//${window.location.hostname}${window.location.port ? `:${window.location.port}` : ''}/callback`,\r\n response_type: \"token id_token\",\r\n scope: 'allatclaims openid profile email',\r\n authority: process.env.REACT_APP_HOST_STS + '/adfs',\r\n silent_redirect_uri: `${window.location.protocol}//${window.location.hostname}${window.location.port ? `:${window.location.port}` : ''}/silentrenew`,\r\n automaticSilentRenew: true,\r\n filterProtocolClaims: true,\r\n loadUserInfo: false,\r\n includeAllClaimsForUser: true,\r\n allowAccessToAllScopes: true,\r\n userStore: new WebStorageStateStore({ store: sessionStorage})\r\n};\r\n \r\n const userManager = createUserManager(userManagerConfig);\r\n export default userManager;\r\n ","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { Component } from 'react';\r\nimport { CallbackComponent } from 'redux-oidc';\r\nimport userManager from '../util/userManager';\r\n\r\nclass CallbackPage extends Component {\r\n constructor(props : any){\r\n super(props);\r\n this.successCallback = this.successCallback.bind(this);\r\n this.errorCallback = this.errorCallback.bind(this);\r\n }\r\n\r\n successCallback() : void {\r\n let redirectUrl = localStorage.getItem('redirect-url');\r\n this.props.history.push(redirectUrl !== null ? redirectUrl : \"/\");\r\n localStorage.removeItem('redirect-url');\r\n }\r\n\r\n errorCallback() : void {\r\n this.props.history.push(\"/loginerror\")\r\n }\r\n\r\n render(): React.ReactNode {\r\n return (\r\n \r\n
\r\n

Weiterleitung...

\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default CallbackPage;","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { Component } from 'react';\r\n\r\n\r\nclass LoginError extends Component {\r\n render(): React.ReactNode {\r\n return (\r\n <>\r\n
\r\n

Loginfehler

\r\n
\r\n \r\n
\r\n

Beim Login ist ein Fehler aufgetreten. Versuchen Sie es erneut oder melden Sie sich beim Service-Desk unter 044 931 36 36.

\r\n
\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default LoginError;","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { Component } from 'react';\r\n\r\n\r\n\r\nclass SilentRenew extends Component {\r\n render(): React.ReactNode {\r\n return (\r\n <>\r\n
\r\n

SilentRenew

\r\n
\r\n \r\n
\r\n

Beim Login ist ein Fehler aufgetreten. Versuchen Sie es erneut oder melden Sie sich beim Service-Desk unter 044 931 36 36.

\r\n
\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default SilentRenew;","export function receiveStatusCode(code : number) : boolean {\r\n let successCodes: number[] = [200, 202];\r\n return successCodes.includes(code);\r\n}","import * as types from '../actions/actionTypes';\r\nimport {IAction} from '../interfaces/actions';\r\n\r\ninterface FormReducerState {\r\n state: string,\r\n errorMessage: string,\r\n successMessage: string,\r\n warningMessage: string,\r\n tempObject : object\r\n}\r\n\r\nconst defaultState = {\r\n state: \"success\",\r\n errorMessage: \"\",\r\n successMessage: \"\",\r\n warningMessage: \"\",\r\n tempObject : {}\r\n};\r\n\r\n\r\nconst formReducer = (state : FormReducerState = defaultState, action: IAction) => {\r\n switch(action.type) {\r\n case types.SET_FORM_PROCESSING:\r\n return {...state, state: \"processing\", errorMessage: \"\", successMessage: \"\"};\r\n case types.SET_FORM_ERROR:\r\n return {...state, state: \"error\", errorMessage: action.data, successMessage: \"\" };\r\n case types.SET_FORM_SUCCESS:\r\n return {...state, state: \"success\", successMessage: action.data };\r\n case types.SET_FORM_WARNING:\r\n return {...state, state: \"warning\", warningMessage: action.data };\r\n case types.CLEAR_FORM_ERROR:\r\n return {...state, errorMessage: \"\"};\r\n case types.CLEAR_FORM_SUCCESS:\r\n return {...state, successMessage: \"\"};\r\n case types.CLEAR_FORM_WARNING:\r\n return {...state, warningMessage: \"\"};\r\n case types.SET_FORM_TEMP_OBJECT:\r\n return {...state, tempObject: action.data};\r\n case types.CLEAR_FORM_TEMP_OBJECT:\r\n return {...state, tempObject: {}};\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default formReducer;","export const SET_CURRENT_LOCATION = \"SET_CURRENT_LOCATION\";\r\nexport const SET_PROJECT_RATING_OPEN = \"SET_PROJECT_RATING_OPEN\";\r\n\r\nexport const SET_FORM_PROCESSING = \"SET_FORM_PROCESSING\";\r\nexport const SET_FORM_ERROR = \"SET_FORM_ERROR\";\r\nexport const SET_FORM_SUCCESS = \"SET_FORM_SUCCESS\";\r\nexport const CLEAR_FORM_ERROR = \"CLEAR_FORM_ERROR\";\r\nexport const CLEAR_FORM_SUCCESS = \"CLEAR_FORM_SUCCESS\";\r\nexport const SET_FORM_TEMP_OBJECT = \"SET_FORM_TEMP_OBJECT\";\r\nexport const CLEAR_FORM_TEMP_OBJECT = \"CLEAR_FORM_TEMP_OBJECT\";\r\nexport const SET_FORM_WARNING = \"SET_FORM_WARNING\";\r\nexport const CLEAR_FORM_WARNING = \"CLEAR_FORM_WARNING\";\r\n\r\nexport const SET_GLOBAL_CONNECTION_STATUS_API = \"SET_GLOBAL_CONNECTION_STATUS_API\";\r\nexport const SET_GLOBAL_CONNECTION_STATUS_STS = \"SET_GLOBAL_CONNECTION_STATUS_STS\";\r\nexport const SET_GLOBAL_REDIRECT_URL = \"SET_GLOBAL_REDIRECT_URL\";\r\n\r\nexport const UNSET_USER = \"UNSET_USER\";\r\nexport const SET_USER = \"SET_USER\";\r\nexport const SET_USER_ERROR = \"SET_USER_ERROR\";\r\n\r\nexport const SET_USER_DATA = \"SET_USER_DATA\";\r\nexport const CLEAR_USER_DATA = \"CLEAR_USER_DATA\";\r\nexport const SET_USER_DATA_ERROR = \"SET_USER_DATA_ERROR\";\r\nexport const SET_USER_PROFILE = \"SET_USER_PROFILE\";\r\n\r\nexport const SET_CHANGELOG = \"SET_CHANGELOG\";\r\nexport const SET_CHANGELOG_RECENT = \"SET_CHANGELOG_RECENT\";\r\nexport const SET_CHANGELOG_ERROR = \"SET_CHANGELOG_ERROR\";\r\nexport const SET_CHANGELOG_SORT = \"SET_CHANGELOG_SORT\";\r\nexport const SET_CHANGELOG_SELECTED_OBJECT = \"SET_CHANGELOG_SELECTED_OBJECT\";\r\nexport const SET_CHANGELOG_CURRENT_STATE = \"SET_CHANGELOG_CURRENT_STATE\";\r\n\r\nexport const SET_HISTORY = \"SET_HISTORY\";\r\nexport const SET_HISTORY_SORT = \"SET_HISTORY_SORT\";\r\nexport const SET_HISTORY_CURRENT_STATE = \"SET_HISTORY_CURRENT_STATE\";\r\nexport const SET_HISTORY_FILTER = \"SET_HISTORY_FILTER\";\r\nexport const SET_HISTORY_SEARCH = \"SET_HISTORY_SEARCH\";\r\nexport const SET_HISTORY_SELECTED_OBJECT = \"SET_HISTORY_SELECTED_OBJECT\";\r\nexport const SET_HISTORY_ACTIONS = \"SET_HISTORY_ACTIONS\";\r\nexport const SET_HISTORY_SET_STARTDATE = \"SET_HISTORY_SET_STARTDATE\";\r\nexport const SET_HISTORY_SET_ENDDATE = \"SET_HISTORY_SET_ENDDATE\";\r\n\r\nexport const SET_SETTINGS_CUSTOMER = \"SET_SETTINGS_CUSTOMER\";\r\nexport const SET_SETTINGS_EMPLOYEES = \"SET_SETTINGS_EMPLOYEES\";\r\n\r\nexport const SET_TICKETS = \"SET_TICKETS\";\r\nexport const SET_TICKETS_ERROR = \"SET_TICKETS_ERROR\";\r\nexport const SET_TICKETS_FILTER = \"SET_TICKETS_FILTER\";\r\nexport const SET_TICKETS_SORT = \"SET_TICKETS_SORT\";\r\nexport const SET_TICKETS_CURRENT_STATE = \"SET_TICKETS_CURRENT_STATE\";\r\nexport const SET_TICKETS_SELECTED_OBJECT = \"SET_TICKETS_SELECTED_OBJECT\";\r\nexport const SET_TICKETS_SEARCH = \"SET_TICKETS_SEARCH\";\r\nexport const SET_TICKETS_COMMENT_MODAL = \"SET_TICKETS_COMMENT_MODAL\";\r\nexport const SET_TICKETS_CUSTOM_SEARCH = \"SET_TICKETS_CUSTOM_SEARCH\";\r\nexport const SET_TICKETS_FILE = \"SET_TICKETS_FILE\";","import * as types from \"../actions/actionTypes\";\r\nimport { IAction } from \"../interfaces/actions\";\r\n\r\ninterface GlobalReducerState {\r\n isReachableAPI: boolean,\r\n isReachableSTS: boolean,\r\n redirectUrl : string\r\n}\r\n\r\nconst defaultState = {\r\n isReachableAPI: true,\r\n isReachableSTS: true,\r\n redirectUrl : \"/\"\r\n};\r\n\r\nconst globalReducer = (state : GlobalReducerState = defaultState, action: IAction) => {\r\n switch(action.type) {\r\n case types.SET_GLOBAL_CONNECTION_STATUS_API: {\r\n return {...state, isReachableAPI: action.data};\r\n }\r\n case types.SET_GLOBAL_CONNECTION_STATUS_STS: {\r\n return {...state, isReachableSTS: action.data};\r\n }\r\n case types.SET_GLOBAL_REDIRECT_URL: {\r\n return {...state, redirectUrl: action.data};\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default globalReducer;","import * as types from \"../actions/actionTypes\";\r\n\r\nconst defaultState = {\r\n location: \"\",\r\n projectRatingOpen : false\r\n};\r\n\r\nconst navigationReducer = (state = defaultState, action: { type: any; data: any; }) => {\r\n switch(action.type) {\r\n case types.SET_CURRENT_LOCATION : {\r\n return Object.assign({}, state, {\r\n location: action.data\r\n });\r\n }\r\n case types.SET_PROJECT_RATING_OPEN: {\r\n return Object.assign({}, state, {\r\n projectRatingOpen : action.data\r\n });\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default navigationReducer;","export function getNewSortProperties(state : any, action : any) : any {\r\n let obj = {\r\n \"sortOrder\" : state.sortOrder, \"sortedProperty\" : state.sortedProperty\r\n };\r\n if (state.sortedProperty !== action.data) {\r\n obj.sortedProperty = action.data;\r\n obj.sortOrder = \"ascending\";\r\n } else if (state.sortedProperty === action.data) {\r\n obj.sortOrder = (state.sortOrder === \"ascending\") ? \"descending\" : \"ascending\";\r\n }\r\n return obj;\r\n}","import * as types from \"../actions/actionTypes\";\r\nimport {IAction} from \"../interfaces/actions\";\r\nimport {getNewSortProperties} from \"./helpers\";\r\n\r\ninterface ChangelogReducerState {\r\n data: any[],\r\n recent: any[],\r\n state: string,\r\n errorMessage: string,\r\n sortOrder: string,\r\n sortedProperty: string,\r\n selectedObject: object,\r\n}\r\n\r\nconst defaultState = {\r\n data: [],\r\n recent: [],\r\n state: \"success\",\r\n errorMessage: \"\",\r\n sortOrder: \"ascending\",\r\n sortedProperty: \"idChangelog\",\r\n selectedObject: {},\r\n};\r\n\r\nconst changelogReducer = (state : ChangelogReducerState = defaultState, action: IAction) => {\r\n switch(action.type) {\r\n case types.SET_CHANGELOG:\r\n return Object.assign({}, state, {\r\n data : action.data,\r\n errorMessage: \"\",\r\n state: \"success\",\r\n selectedObject : {}\r\n });\r\n case types.SET_CHANGELOG_RECENT:\r\n return Object.assign({}, state, {\r\n recent : action.data,\r\n errorMessage: \"\",\r\n state: \"success\",\r\n selectedObject : {}\r\n });\r\n case types.SET_CHANGELOG_SORT:\r\n let newProps = getNewSortProperties(state, action);\r\n return {...state, sortOrder: newProps.sortOrder, sortedProperty: newProps.sortedProperty};\r\n case types.SET_CHANGELOG_ERROR:\r\n return {...state, state: \"error\", errorMessage: action.data, data : []};\r\n case types.SET_CHANGELOG_CURRENT_STATE:\r\n return {...state, state: action.data};\r\n case types.SET_CHANGELOG_SELECTED_OBJECT:\r\n return {...state, selectedObject : action.data};\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default changelogReducer;","// @ts-ignore\r\nimport { routerMiddleware } from 'connected-react-router';\r\nimport { createBrowserHistory } from \"history\";\r\nimport { applyMiddleware, createStore } from \"redux\";\r\nimport { loadUser } from 'redux-oidc';\r\nimport { persistReducer, persistStore } from 'redux-persist';\r\nimport autoMergeLevel2 from \"redux-persist/lib/stateReconciler/autoMergeLevel2\";\r\nimport storage from \"redux-persist/lib/storage\";\r\nimport promise from \"redux-promise-middleware\";\r\nimport thunk from \"redux-thunk\";\r\nimport reducers from \"./reducers\";\r\nimport userManager from './util/userManager';\r\n\r\n\r\n// Create browser history to use in the Redux store\r\nlet base = document.getElementsByTagName(\"base\")[0];\r\nlet baseUrl : any = null;\r\n\r\nif(base !== undefined){\r\n baseUrl = base.getAttribute(\"href\");\r\n}\r\n \r\nlet history;\r\nif (baseUrl !== undefined && baseUrl !== null){\r\n history = createBrowserHistory({ basename: baseUrl });\r\n} else {\r\n history = createBrowserHistory();\r\n}\r\nexport const hist = history;\r\n\r\nconst persistConfig = {\r\n key: 'root',\r\n storage: storage,\r\n stateReconciler: autoMergeLevel2,\r\n whitelist: ['user', 'oidc', 'navigation']\r\n};\r\n\r\nconst middleware = applyMiddleware(promise, thunk, routerMiddleware(history));\r\n// @ts-ignore\r\nconst pReducer = persistReducer(persistConfig, reducers(history));\r\nconst store = createStore(pReducer, middleware);\r\n\r\nexport const persistor = persistStore(store);\r\nloadUser(store, userManager);\r\n\r\nexport default store;","import * as types from \"../actions/actionTypes\";\r\nimport {IAction} from \"../interfaces/actions\";\r\nimport {getNewSortProperties} from \"./helpers\";\r\nimport Moment from \"moment\";\r\n\r\ninterface HistoryReducerState {\r\n data: any[],\r\n actions: any[]\r\n state: string,\r\n errorMessage: string,\r\n sortOrder: string,\r\n sortedProperty: string,\r\n selectedAction: string,\r\n selectedObject : {},\r\n searchString : string,\r\n startDate : Date,\r\n endDate : Date\r\n}\r\n\r\nlet date = new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate());\r\nlet d = Moment(date).subtract('2', 'month').toDate();\r\n\r\nconst defaultState = {\r\n data: [],\r\n actions: [],\r\n state: \"success\",\r\n errorMessage: \"\",\r\n sortOrder: \"descending\",\r\n sortedProperty: \"actionDate\",\r\n searchString : \"\",\r\n selectedAction: \"all\",\r\n selectedObject : {},\r\n startDate : d,\r\n endDate : date\r\n};\r\n\r\nconst historyReducer = (state : HistoryReducerState = defaultState, action: IAction) => {\r\n switch(action.type) {\r\n case types.SET_HISTORY:\r\n return Object.assign({}, state, {\r\n data : action.data,\r\n errorMessage: \"\",\r\n state: \"success\",\r\n selectedObject : {}\r\n });\r\n case types.SET_HISTORY_SORT:\r\n let newProps = getNewSortProperties(state, action);\r\n return {...state, sortOrder: newProps.sortOrder, sortedProperty: newProps.sortedProperty};\r\n case types.SET_HISTORY_CURRENT_STATE:\r\n return {...state, state: action.data};\r\n case types.SET_HISTORY_SELECTED_OBJECT:\r\n return {...state, selectedObject: action.data};\r\n case types.SET_HISTORY_FILTER:\r\n return {...state, selectedAction: action.data};\r\n case types.SET_HISTORY_SEARCH:\r\n return {...state, searchString: action.data };\r\n case types.SET_HISTORY_ACTIONS:\r\n return {...state, actions: action.data };\r\n case types.SET_HISTORY_SET_STARTDATE:\r\n return {...state, startDate: action.data };\r\n case types.SET_HISTORY_SET_ENDDATE:\r\n return {...state, endDate: action.data };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default historyReducer;","import * as types from \"../actions/actionTypes\";\r\nimport {IAction} from \"../interfaces/actions\";\r\n\r\ninterface SettingsReducerState {\r\n customers: any[],\r\n employees: any[]\r\n}\r\n\r\nconst defaultState = {\r\n customers: [],\r\n employees: []\r\n};\r\n\r\nconst settingsReducer = (state : SettingsReducerState = defaultState, action: IAction) => {\r\n switch(action.type) {\r\n case types.SET_SETTINGS_CUSTOMER:\r\n return {...state, customers: action.data};\r\n case types.SET_SETTINGS_EMPLOYEES:\r\n return {...state, employees: action.data};\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default settingsReducer;","import * as types from \"../actions/actionTypes\";\r\nimport { IAction } from \"../interfaces/actions\";\r\nimport { getNewSortProperties } from \"./helpers\";\r\n\r\ninterface TicketReducerState {\r\n data: any[],\r\n state: string,\r\n errorMessage: string,\r\n sortOrder: string,\r\n sortedProperty: string,\r\n selectedObject: object,\r\n searchString : string,\r\n customSearchString: string,\r\n filterOptions: FilterOptions[],\r\n commentPageOpen: boolean,\r\n selectedFile: any\r\n}\r\n\r\nconst defaultState = {\r\n data: [],\r\n state: \"success\",\r\n errorMessage: \"\",\r\n sortOrder: \"descending\",\r\n sortedProperty: \"uhdTicketNumberLink\",\r\n searchString : \"\",\r\n customSearchString: \"\",\r\n selectedObject: {},\r\n filterOptions: [],\r\n commentPageOpen: false,\r\n selectedFile: null\r\n};\r\n\r\nconst ticketReducer = (state : TicketReducerState = defaultState, action: IAction) => {\r\n switch(action.type) {\r\n case types.SET_TICKETS:\r\n return Object.assign({}, state, {\r\n data : action.data,\r\n errorMessage: \"\",\r\n state: \"success\"\r\n });\r\n case types.SET_TICKETS_SORT:\r\n let newProps = getNewSortProperties(state, action);\r\n return {...state, sortOrder: newProps.sortOrder, sortedProperty: newProps.sortedProperty};\r\n case types.SET_TICKETS_ERROR:\r\n return {...state, state: \"error\", errorMessage: action.data, data : []};\r\n case types.SET_TICKETS_CURRENT_STATE:\r\n return {...state, state: action.data};\r\n case types.SET_TICKETS_SEARCH:\r\n return {...state, searchString: action.data };\r\n case types.SET_TICKETS_CUSTOM_SEARCH:\r\n return {...state, customSearchString: action.data };\r\n case types.SET_TICKETS_FILTER:\r\n return {...state, filterOptions: action.data};\r\n case types.SET_TICKETS_SELECTED_OBJECT:\r\n return {...state, selectedObject : action.data};\r\n case types.SET_TICKETS_COMMENT_MODAL:\r\n return {...state, commentPageOpen : action.data};\r\n case types.SET_TICKETS_FILE:\r\n return {...state, selectedFile : action.data};\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default ticketReducer;","import * as types from \"../actions/actionTypes\";\r\nimport { IAction } from \"../interfaces/actions\";\r\n\r\ninterface UserReducerState {\r\n state: string,\r\n errorMessage: string,\r\n user: object,\r\n portalRoles: any[],\r\n profileSet: boolean,\r\n databaseId: string,\r\n isSuperUser: boolean,\r\n customerCode: string\r\n}\r\n\r\nconst defaultState = {\r\n state: \"success\",\r\n errorMessage: \"\",\r\n user: {},\r\n portalRoles: [],\r\n profileSet: false,\r\n databaseId: \"\",\r\n isSuperUser: false,\r\n customerCode: \"\"\r\n};\r\n\r\nconst userReducer = (state: UserReducerState = defaultState, action: IAction) => {\r\n switch (action.type) {\r\n case types.SET_USER_DATA:\r\n return {state: \"success\", errorMessage: \"\", user: action.data};\r\n case types.SET_USER_PROFILE:\r\n return {state: \"success\", errorMessage: \"\", portalRoles: action.data.portalRoles, databaseId: action.data.employeeDatabaseId, isSuperUser: action.data.isRizSuperUser, customerCode: action.data.customerCode, profileSet: true};\r\n case types.CLEAR_USER_DATA:\r\n return {state: \"success\", errorMessage: \"\", user: {}};\r\n case types.SET_USER_DATA_ERROR:\r\n return {state: \"error\", errorMessage: action.data, user: {}};\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default userReducer;\r\n","import { connectRouter } from \"connected-react-router\";\r\nimport { combineReducers } from \"redux\";\r\nimport { reducer as oidcReducer } from 'redux-oidc';\r\nimport formReducer from \"./formReducer\";\r\nimport globalReducer from \"./globalReducer\";\r\nimport navigationReducer from \"./navigationReducer\";\r\nimport changelogReducer from \"./changelogReducer\";\r\nimport historyReducer from \"./historyReducer\";\r\nimport settingsReducer from \"./settingsReducer\";\r\nimport ticketReducer from \"./ticketReducer\";\r\nimport userReducer from \"./userReducer\";\r\n\r\nconst rootReducer = (history : any) => combineReducers({\r\n navigation : navigationReducer as any,\r\n form : formReducer as any,\r\n router : connectRouter(history),\r\n global : globalReducer as any,\r\n oidc : oidcReducer as any,\r\n\tchangelog : changelogReducer as any,\r\n history : historyReducer as any,\r\n settings : settingsReducer as any,\r\n tickets : ticketReducer as any,\r\n user : userReducer as any\r\n});\r\n\r\nexport default rootReducer;","const HOST_API = process.env.REACT_APP_HOST_API;\r\nconst HOST_STS = process.env.REACT_APP_HOST_STS;\r\n\r\nexport const HEARTBEAT = HOST_API + \"/Heartbeat\";\r\nexport const STS_DISCOVERY = HOST_STS + \"/.well-known/openid-configuration\";\r\nexport const CHANGELOGS = HOST_API + \"/Changelogs\";\r\nexport const HISTORY = HOST_API + \"/History\";\r\nexport const CUSTOMERS = HOST_API + \"/Customers\";\r\nexport const EMPLOYEES = HOST_API + \"/Employees\";\r\nexport const ACTIVITIES = HOST_API + \"/Activities\";\r\nexport const USERS = HOST_API + \"/Users\";\r\nexport const TICKETS = HOST_API + \"/Tickets\";","import axios from \"axios\";\r\nimport { receiveStatusCode } from \"../helpers/ApiHelpers\";\r\nimport store from \"../store\";\r\nimport * as apiLinks from \"./apiLinks\";\r\n\r\nfunction getAPIConfiguration() {\r\n return axios.create({\r\n timeout: 60000,\r\n responseType: 'json',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n 'Accept': 'application/json'\r\n }\r\n });\r\n}\r\n\r\nfunction getAPIConfigurationSecured() {\r\n // @ts-ignore\r\n const token = (store.getState() as any).oidc.user.id_token;\r\n return axios.create({\r\n timeout: 60000,\r\n responseType: 'json',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n 'Accept': 'application/json',\r\n 'Authorization' : `Bearer ${token}`\r\n }\r\n });\r\n}\r\n\r\nfunction getAPIConfigurationForm() {\r\n // @ts-ignore\r\n const token = (store.getState() as any).oidc.user.id_token;\r\n return axios.create({\r\n timeout: 60000,\r\n responseType: 'json',\r\n headers: {\r\n 'Content-Type': 'multipart/form-data',\r\n 'Authorization' : `Bearer ${token}`\r\n }\r\n });\r\n}\r\n\r\nexport function get(url: string, secured: boolean = true) {\r\n return new Promise((resolve, reject) => {\r\n let apiClient = secured ? getAPIConfigurationSecured() : getAPIConfiguration();\r\n\r\n return apiClient({\r\n url : url,\r\n method: 'get'\r\n }).then(function (response) {\r\n if (response.data.statusCode === 200) {\r\n resolve(response.data.data);\r\n } else {\r\n reject(response.data.message);\r\n }\r\n }).catch(function (error) {\r\n reject(\"Es konnte keine Verbindung zum Server hergestellt werden.\");\r\n })\r\n });\r\n}\r\n\r\nexport function getBlob(url: string, secured: boolean = true) {\r\n return new Promise((resolve, reject) => {\r\n let apiClient = secured ? getAPIConfigurationSecured() : getAPIConfiguration();\r\n apiClient.defaults.responseType = \"blob\";\r\n\r\n return apiClient({\r\n url : url,\r\n method: 'get'\r\n }).then(function (response) {\r\n resolve(response.data);\r\n }).catch(function (error) {\r\n reject(\"Es konnte keine Verbindung zum Server hergestellt werden.\");\r\n })\r\n });\r\n}\r\n\r\nexport function post(url: string, body: any, secured: boolean = true) {\r\n return new Promise((resolve, reject) => {\r\n let apiClient = secured ? getAPIConfigurationSecured() : getAPIConfiguration();\r\n return apiClient.post(url, body)\r\n .then(function (response : any) {\r\n if (receiveStatusCode(Number(response.data.statusCode))) {\r\n resolve(response.data);\r\n } else {\r\n reject(response.data.message);\r\n }\r\n }).catch(function (error) {\r\n reject(\"Es konnte keine Verbindung zum Server hergestellt werden.\");\r\n })\r\n });\r\n}\r\n\r\nexport function patch(url: string, body: any, secured: boolean = true) {\r\n return new Promise((resolve, reject) => {\r\n let apiClient = secured ? getAPIConfigurationSecured() : getAPIConfiguration();\r\n return apiClient.patch(url, body)\r\n .then(function (response : any) {\r\n if (receiveStatusCode(Number(response.data.statusCode))) {\r\n resolve(response.data);\r\n } else {\r\n reject(response.data.message);\r\n }\r\n }).catch(function (error) {\r\n reject(\"Es konnte keine Verbindung zum Server hergestellt werden.\");\r\n })\r\n });\r\n}\r\n\r\nexport function del(url: string, secured: boolean = true) {\r\n return new Promise((resolve, reject) => {\r\n let apiClient = secured ? getAPIConfigurationSecured() : getAPIConfiguration();\r\n return apiClient.delete(url)\r\n .then(function (response : any) {\r\n if (receiveStatusCode(Number(response.data.statusCode))) {\r\n resolve(response.data);\r\n } else {\r\n reject(response.data.message);\r\n }\r\n }).catch(function (error) {\r\n reject(\"Es konnte keine Verbindung zum Server hergestellt werden.\");\r\n })\r\n });\r\n}\r\n\r\nexport function postFormBody(url: string, body: any) {\r\n return new Promise((resolve, reject) => {\r\n let apiClient = getAPIConfigurationForm();\r\n let formBody = new FormData();\r\n for(var key in body){\r\n formBody.append(key, body[key]);\r\n }\r\n \r\n return apiClient.post(url, formBody)\r\n .then(function (response : any) {\r\n if (receiveStatusCode(Number(response.data.statusCode))) {\r\n resolve(response.data);\r\n } else {\r\n reject(response.data.message);\r\n }\r\n }).catch(function (error) {\r\n reject(\"Es konnte keine Verbindung zum Server hergestellt werden.\");\r\n })\r\n });\r\n}\r\n\r\nexport function getHeartBeatAPI() {\r\n return new Promise((resolve, reject) => {\r\n let apiClient = getAPIConfiguration();\r\n return apiClient({\r\n url : apiLinks.HEARTBEAT,\r\n method: 'get'\r\n }).then(function (response) {\r\n if (response.data.statusCode === 200) {\r\n resolve(\"true\");\r\n } else {\r\n reject(\"false\");\r\n }\r\n }).catch(function (error) {\r\n reject(\"false\");\r\n })\r\n });\r\n}\r\n\r\nexport function getHeartBeatSTS() {\r\n return new Promise((resolve, reject) => {\r\n let apiClient = getAPIConfiguration();\r\n return apiClient({\r\n url : apiLinks.STS_DISCOVERY,\r\n method: 'get'\r\n }).then(function (response) {\r\n if (response.status === 200) {\r\n resolve(\"true\");\r\n } else {\r\n reject(\"false\");\r\n }\r\n }).catch(function (error) {\r\n reject(\"false\");\r\n })\r\n });\r\n}","import { isMobile } from \"react-device-detect\";\r\nimport store from \"../store\";\r\n\r\nexport function IsMobile() {\r\n return isMobile;\r\n}\r\n\r\nexport function GetUpn(){\r\n return (store.getState() as any).oidc.user.profile.upn;\r\n}\r\n\r\nexport function GetCustomer(){\r\n return (store.getState() as any).user.customerCode;\r\n}\r\n\r\nexport function GetPortalRoles() : any[] {\r\n let roles = (store.getState() as any).user.portalRoles;\r\n if(roles !== undefined && roles !== null){\r\n return roles;\r\n }\r\n return [];\r\n\r\n}\r\n\r\nexport function IsPortalAdmin() : boolean {\r\n let role = GetPortalRoles();\r\n return role.includes(\"support_a\");\r\n}\r\n\r\nexport function IsRizEmployee() {\r\n let role = GetPortalRoles();\r\n if(role.length === 0){\r\n let upn: string = GetUpn();\r\n return upn.endsWith(\"@rizag.ch\");\r\n }\r\n return role.includes(\"support_g\");\r\n}\r\n\r\nexport function IsSuperUser() : boolean {\r\n let role = GetPortalRoles();\r\n return role.includes(\"support_c_su\");\r\n}\r\n\r\nexport function IsNormalUser(){\r\n let role = GetPortalRoles();\r\n return !HasEditAccess() && role.includes(\"support_c_u\");\r\n}\r\n\r\nexport function HasGlobalAccess() {\r\n return IsPortalAdmin() || IsRizEmployee();\r\n}\r\n\r\nexport function HasCustomerAccess() {\r\n return HasGlobalAccess() || IsSuperUser() || IsNormalUser();\r\n}\r\n\r\nexport function HasCustomerAccessOnly() {\r\n return !HasGlobalAccess() && (IsSuperUser() || IsNormalUser());\r\n}\r\n\r\nexport function HasEditAccess() {\r\n return HasGlobalAccess() || IsSuperUser();\r\n}\r\n\r\n","import React, { Component } from \"react\";\r\nimport { IsMobile } from \"../../helpers/SessionHelper\";\r\n\r\nclass CurrentUser extends Component {\r\n render(): React.ReactNode {\r\n const {user} = this.props;\r\n if (user.id_token === \"\") return null;\r\n \r\n let desktopLayout: string = IsMobile() ? \"mobile\" : \"desktop\";\r\n let mainClass: string = \"info-current-user \" + desktopLayout;\r\n\r\n return (\r\n
\r\n

\r\n Eingeloggt als
\r\n {user.profile.upn}\r\n

\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default CurrentUser;","import { connect } from \"react-redux\";\r\nimport CurrentUser from \"../../components/shared/CurrentUser\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n return {\r\n user: store.oidc.user\r\n };\r\n}\r\n\r\nconst CurrentUserContainer = connect(mapStateToProps)(CurrentUser);\r\n\r\nexport default CurrentUserContainer;","/// \r\nimport React, {Component} from \"react\";\r\nimport {ITitleNavigationSectionHeaderProps} from \"../../../interfaces/interfaces\";\r\n\r\nclass TitleNavigationSectionHeader extends Component {\r\n render(): React.ReactNode {\r\n return (\r\n
\r\n {this.props.title}\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default TitleNavigationSectionHeader;","import { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\nimport React, { Component } from \"react\";\r\nimport { NavLink } from \"react-router-dom\";\r\nimport { IsPortalAdmin } from \"../../../helpers/SessionHelper\";\r\nimport TitleNavigationSectionHeader from \"./TitleNavigationSectionHeader\";\r\n\r\nclass AdminNavigation extends Component {\r\n render(): React.ReactNode {\r\n const {location} = this.props;\r\n return (\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n History\r\n
  • \r\n {IsPortalAdmin() && \r\n
  • \r\n \r\n Changelogs\r\n
  • \r\n }\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default AdminNavigation;","import { connect } from \"react-redux\";\r\nimport AdminNavigation from \"../../../components/shared/navigation/AdminNavigation\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n return {\r\n location : store.navigation.location\r\n };\r\n}\r\n\r\nconst AdminNavigationContainer = connect(mapStateToProps)(AdminNavigation);\r\n\r\nexport default AdminNavigationContainer;","import { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\nimport React, { Component } from \"react\";\r\nimport { NavLink } from \"react-router-dom\";\r\nimport { HasCustomerAccess, HasEditAccess } from \"../../../helpers/SessionHelper\";\r\nimport TitleNavigationSectionHeader from \"./TitleNavigationSectionHeader\";\r\n\r\nclass MainNavigation extends Component {\r\n render(): React.ReactNode {\r\n const {location} = this.props;\r\n return (\r\n
\r\n \r\n
    \r\n {HasCustomerAccess() && \r\n
  • \r\n \r\n Neues Ticket\r\n
  • \r\n }\r\n
  • \r\n \r\n Offene Tickets\r\n
  • \r\n
  • \r\n \r\n Abgeschlossene Tickets\r\n
  • \r\n
  • \r\n \r\n Suche\r\n
  • \r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default MainNavigation;","import { connect } from \"react-redux\";\r\nimport MainNavigation from \"../../../components/shared/navigation/MainNavigation\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n return {\r\n location : store.navigation.location\r\n };\r\n}\r\n\r\nconst MainNavigationContainer = connect(mapStateToProps)(MainNavigation);\r\n\r\nexport default MainNavigationContainer;","import store from '../store';\r\nimport * as types from './actionTypes';\r\n\r\nexport function setFormProcessing() {\r\n return {\r\n type : types.SET_FORM_PROCESSING\r\n }\r\n}\r\n\r\nexport function clearErrorMessage() {\r\n return {\r\n type : types.CLEAR_FORM_ERROR\r\n }\r\n}\r\n\r\nexport function clearSuccessMessage() {\r\n return {\r\n type : types.CLEAR_FORM_SUCCESS\r\n }\r\n}\r\n\r\nexport function clearWarningMessage() {\r\n return {\r\n type : types.CLEAR_FORM_WARNING\r\n }\r\n}\r\n\r\nexport function setFormError(error : string) {\r\n return {\r\n type : types.SET_FORM_ERROR,\r\n data : error\r\n }\r\n}\r\n\r\nexport function setFormSuccess(message : string) {\r\n return {\r\n type : types.SET_FORM_SUCCESS,\r\n data : message\r\n }\r\n}\r\n\r\nexport function setFormWarning(message : string) {\r\n return {\r\n type : types.SET_FORM_WARNING,\r\n data : message\r\n }\r\n}\r\n\r\nexport function setFormMessageByResponse(res : any) {\r\n let code = Number(res.statusCode);\r\n \r\n if(code === 200){\r\n return setFormSuccess(res.message);\r\n }else if(code === 202){\r\n return setFormWarning(res.message);\r\n }else{\r\n return setFormWarning(res.message);\r\n }\r\n}\r\n\r\nexport function setTempFormObjects(value : string, label : string) {\r\n let obj = (store.getState() as any).form.tempObject;\r\n obj[label] = value;\r\n return {\r\n type : types.SET_FORM_TEMP_OBJECT,\r\n data : obj\r\n }\r\n}","import React, {Component} from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nclass Copyright extends Component {\r\n render(): React.ReactNode {\r\n let version = process.env.REACT_APP_VERSION;\r\n return (\r\n
\r\n

(c) by RIZ AG
Version {version} | support.rizag.ch

\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Copyright;","import React, { Component } from \"react\";\r\nimport { NavLink } from \"react-router-dom\";\r\nimport CurrentUserContainer from \"../../containers/shared/CurrentUserContainer\";\r\nimport AdminNavigationContainer from \"../../containers/shared/navigation/AdminNavigationContainer\";\r\nimport MainNavigationContainer from \"../../containers/shared/navigation/MainNavigationContainer\";\r\nimport { IsMobile, IsRizEmployee, HasCustomerAccess } from \"../../helpers/SessionHelper\";\r\nimport { INavigationProps } from \"../../interfaces/interfaces\";\r\nimport store from \"../../store\";\r\nimport * as formActions from \"./../../actions/formActions\";\r\nimport * as navigationActions from \"./../../actions/navigationActions\";\r\nimport Copyright from \"./navigation/Copyright\";\r\n\r\nclass Navigation extends Component {\r\n constructor(props: any) {\r\n super(props);\r\n\r\n this.menuSelected = this.menuSelected.bind(this);\r\n }\r\n\r\n static changeNavigation() : void {\r\n store.dispatch(navigationActions.setCurrentSite(window.location.pathname));\r\n store.dispatch(formActions.clearErrorMessage());\r\n store.dispatch(formActions.clearSuccessMessage());\r\n }\r\n\r\n menuSelected(): void{\r\n Navigation.changeNavigation();\r\n \r\n if(IsMobile()){\r\n this.props.onClick();\r\n }\r\n \r\n }\r\n\r\n render(): React.ReactNode {\r\n let isMobile: boolean = IsMobile();\r\n let isRizEmployee: boolean = IsRizEmployee();\r\n let hasCustomerEditAccess: boolean = HasCustomerAccess();\r\n let desktopLayout: string = isMobile ? \"mobile\" : \"desktop\";\r\n let visible: string = this.props.visible !== undefined ? this.props.visible : \"\";\r\n let mainClass: string = \"main-navigation \" + desktopLayout + \" \" + visible;\r\n\r\n return (\r\n
\r\n {!isMobile &&\r\n \r\n \"Startseite\"/\r\n \r\n }\r\n {isMobile && }\r\n {hasCustomerEditAccess && }\r\n {isRizEmployee && }\r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Navigation;","import * as types from \"./actionTypes\";\r\n\r\nfunction setCurrentLocation(location : string) {\r\n return {\r\n type : types.SET_CURRENT_LOCATION,\r\n data : location\r\n }\r\n}\r\n\r\nexport function setCurrentSite(link : string): any {\r\n return function (dispatch : any) {\r\n dispatch(setCurrentLocation(link));\r\n }\r\n}","import React, { Component } from \"react\";\r\nimport Navigation from \"../Navigation\";\r\n\r\nclass HamburgerMenu extends Component {\r\n constructor(props: any) {\r\n super(props);\r\n this.state = {\r\n open: \"\"\r\n };\r\n\r\n this.changeMenuState = this.changeMenuState.bind(this);\r\n }\r\n\r\n changeMenuState(open: string){\r\n let newState = (open === \"\" || open === \"hidden\") ? \"visible\" : \"hidden\";\r\n this.setState({open: newState});\r\n }\r\n\r\n render(): React.ReactNode {\r\n let opened: string = this.state.open === \"visible\" ? \"open\" : \"\";\r\n return (\r\n <>\r\n
this.changeMenuState(this.state.open)}>\r\n \r\n \r\n \r\n \r\n
\r\n this.setState({open: \"hidden\"})} visible={this.state.open}/>\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default HamburgerMenu;","import * as types from \"./actionTypes\";\r\nimport * as api from \"../api/api\";\r\nimport * as apiLinks from \"../api/apiLinks\";\r\n\r\nfunction receiveCustomers(data : any) {\r\n return {\r\n type : types.SET_SETTINGS_CUSTOMER,\r\n data : data\r\n }\r\n}\r\n\r\nfunction receiveEmployees(data : any) {\r\n return {\r\n type : types.SET_SETTINGS_EMPLOYEES,\r\n data : data\r\n }\r\n}\r\n\r\nexport function getCustomers(): any {\r\n return function (dispatch : any) {\r\n getCustomersFromAPI(dispatch);\r\n }\r\n}\r\n\r\nfunction getCustomersFromAPI(dispatch : any): any {\r\n api.get(apiLinks.CUSTOMERS).then(function (res) {\r\n dispatch(receiveCustomers(res));\r\n });\r\n}","import React, { Component } from \"react\";\r\nimport { NavLink } from \"react-router-dom\";\r\nimport CurrentUserContainer from \"../../containers/shared/CurrentUserContainer\";\r\nimport { IsMobile, IsRizEmployee } from \"../../helpers/SessionHelper\";\r\nimport HamburgerMenu from \"./navigation/HamburgerMenu\";\r\nimport store from \"../../store\";\r\nimport * as settingsActions from \"../../actions/settingsActions\";\r\n\r\nclass GlobalHeader extends Component {\r\n componentDidMount() : void {\r\n if(IsRizEmployee()) {\r\n store.dispatch(settingsActions.getCustomers());\r\n }\r\n }\r\n\r\n render(): React.ReactNode {\r\n let isMobile: boolean = IsMobile();\r\n \r\n let desktopLayout: string = isMobile ? \"mobile\" : \"\";\r\n let mainClass: string = \"main-header \" + desktopLayout;\r\n\r\n return (\r\n
\r\n
\r\n {isMobile &&\r\n \r\n \"Startseite\"/\r\n \r\n }\r\n
\r\n
\r\n

\r\n support\r\n rizag\r\n ch\r\n

\r\n Ticket Portal\r\n
\r\n {!isMobile && }\r\n {isMobile && }\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default GlobalHeader;","import {connect} from \"react-redux\";\r\nimport GlobalHeader from \"../../components/shared/GlobalHeader\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n return {\r\n\r\n };\r\n}\r\n\r\nconst GlobalHeaderContainer = connect(mapStateToProps)(GlobalHeader);\r\n\r\nexport default GlobalHeaderContainer;","export enum ButtonTypes {\r\n PRIMARY = 'primary',\r\n WARNING = 'warning',\r\n DANGER = 'danger',\r\n SUCCESS = 'success',\r\n DISABLED = 'disabled'\r\n}\r\n\r\nexport enum ButtonSize {\r\n SMALL = 'small',\r\n MEDIUM = 'medium',\r\n LARGE = 'large'\r\n}","import React, { Component } from \"react\";\r\nimport GlobalHeaderContainer from \"../../containers/shared/GlobalHeaderContainer\";\r\nimport { IsMobile } from \"../../helpers/SessionHelper\";\r\n\r\nclass Content extends Component {\r\n render(): React.ReactNode {\r\n let desktopLayout: string = IsMobile() ? \"\" : \" desktop\";\r\n let mainClass: string = \"main-content-wrapper\" + desktopLayout;\r\n return (\r\n
\r\n \r\n
\r\n {this.props.children}\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Content;","import React, {Component} from \"react\";\r\nimport Navigation from \"../components/shared/Navigation\";\r\nimport Content from \"./shared/Content\";\r\nimport { IsMobile } from \"../helpers/SessionHelper\";\r\n\r\nclass Layout extends Component {\r\n\trender() {\r\n return (\r\n
\r\n {!IsMobile() && }\r\n \r\n {this.props.children}\r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Layout;","import React, {Component} from \"react\";\r\n\r\nclass NoMatch extends Component {\r\n render(): React.ReactNode {\r\n return (\r\n <>\r\n

404 - Page not found

\r\n

\r\n Die angegebene Seite wurde nicht gefunden. Versichern Sie sich ob Sie den URL korrekt eingegeben haben.\r\n

\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default NoMatch;","import React, {Component} from \"react\";\r\nimport {Helmet} from \"react-helmet\";\r\nimport {ITitleProps} from \"../../interfaces/interfaces\";\r\n\r\nclass TitleHelper extends Component {\r\n render(): React.ReactNode {\r\n const titleText = (this.props.title === undefined) ? \"Seite\" : this.props.title;\r\n return (\r\n \r\n RIZ Ticket Portal | {titleText}\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default TitleHelper;","export function getSorted(items : any, options : any, searchOptions? : any) : any {\r\n let arrayCopy = items;\r\n if (items === undefined || items === null) return arrayCopy;\r\n // If search string is supplied, filter the elements by that\r\n if (searchOptions !== undefined && searchOptions !== null && searchOptions.searchString !== \"\") {\r\n arrayCopy = filterByMultipleProperties(searchOptions.searchString, searchOptions.sortKeys, arrayCopy);\r\n }\r\n arrayCopy.sort(compareBy(options.sortKey));\r\n if (options.sortOrder === \"descending\"){\r\n arrayCopy.reverse();\r\n }\r\n return arrayCopy;\r\n}\r\n\r\nexport function getSortedSimple(items : any, options : any) : any {\r\n let arrayCopy = items;\r\n if (items !== undefined && items !== null) {\r\n arrayCopy.sort(compareBy(options.sortkey));\r\n if (options.sortorder === \"descending\"){\r\n arrayCopy.reverse();\r\n }\r\n }\r\n return arrayCopy;\r\n}\r\n\r\nfunction compareBy(key : any){\r\n if (key) {\r\n if (key.toString().includes(\".\")) {\r\n let first = key.toString().substring(0, key.toString().indexOf(\".\"));\r\n let second = key.toString().substring(key.toString().indexOf(\".\") + 1, key.toString().length);\r\n return function (a : any, b : any) {\r\n if (a[first][second] < b[first][second]) return -1;\r\n if (a[first][second] > b[first][second]) return 1;\r\n return 0;\r\n };\r\n } else {\r\n return function (a : any, b : any) {\r\n if (a[key] < b[key]) return -1;\r\n if (a[key] > b[key]) return 1;\r\n return 0;\r\n };\r\n }\r\n }\r\n}\r\n\r\nfunction filterByMultipleProperties(searchString : string, keys : any, elements : any) : any {\r\n let searchValue = searchString.toLowerCase();\r\n return elements.filter(function (element : any) {\r\n return keys.some((key : any) => {\r\n if (key.toString().includes(\".\")) {\r\n let first = key.toString().substring(0, key.toString().indexOf(\".\"));\r\n let second = key.toString().substring(key.toString().indexOf(\".\") + 1, key.toString().length);\r\n if (element[first] !== null) {\r\n return String(element[first][second]).toLowerCase().includes(searchValue);\r\n }\r\n }\r\n return String(element[key]).toLowerCase().includes(searchValue);\r\n });\r\n });\r\n}","import React, {Component} from \"react\";\r\nimport {IButtonProps} from \"../../../interfaces/interfaces\";\r\nimport {ButtonTypes} from \"../../../global/ButtonDefinitions\";\r\n\r\nclass Button extends Component {\r\n render() {\r\n let cls : string = this.props.buttonType || ButtonTypes.PRIMARY;\r\n if (this.props.className !== undefined) {\r\n cls = cls + \" \" + this.props.className;\r\n }\r\n return (\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default Button;","import React, {Component} from \"react\";\r\nimport {IDataTableCellProps} from \"../../../interfaces/interfaces\";\r\nimport {FontAwesomeIcon} from \"@fortawesome/react-fontawesome\";\r\n\r\nclass DataTableCell extends Component {\r\n render() {\r\n const {header, content} = this.props;\r\n return header ? (\r\n \r\n {content}
{this.props.sort && }\r\n \r\n ): (\r\n \r\n {content}\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default DataTableCell;","export function range(from : number, to : number, step = 1) : any {\r\n let i = from;\r\n const rangeList = [];\r\n while(i <= to){\r\n rangeList.push(i as never);\r\n i += step;\r\n }\r\n\r\n return rangeList;\r\n}\r\n\r\nexport function isBoolean(val : any) {\r\n return val === false || val === true;\r\n}\r\n\r\nexport function formatPrice(number : any) : string {\r\n let price = number.toString();\r\n if(price.length >= 4) {\r\n price = price.slice(0,1) + \"'\" + price.slice(1, price.length + 1);\r\n }\r\n return price + \".00\";\r\n}","import React, {Component, Fragment} from \"react\";\r\nimport {IDataTablePaginationProps} from \"../../../interfaces/interfaces\";\r\nimport {range} from \"../../../helpers/ComponentHelpers\";\r\n\r\nconst LEFT_PAGE = 'LEFT';\r\nconst RIGHT_PAGE = 'RIGHT';\r\n\r\nclass DataTablePagination extends Component {\r\n private readonly pageLimit : number;\r\n private totalRecords : number;\r\n private readonly pageNeighbours : number;\r\n private totalPages : number;\r\n\r\n constructor(props: IDataTablePaginationProps) {\r\n super(props);\r\n const { totalRecords = null, pageLimit = 30, pageNeighbours = 0 } = props;\r\n this.pageLimit = pageLimit;\r\n this.totalRecords = totalRecords === null ? 0 : totalRecords;\r\n this.pageNeighbours = Math.max(0, Math.min(pageNeighbours, 2));\r\n this.totalPages = Math.ceil(this.totalRecords / this.pageLimit);\r\n this.state = {\r\n currentPage : 1\r\n };\r\n }\r\n\r\n componentDidUpdate(prevProps: Readonly, prevState: Readonly, snapshot?: any): void {\r\n if (this.state !== prevState || this.totalRecords === this.props.totalRecords) return;\r\n const { totalRecords = null } = this.props;\r\n this.totalRecords = totalRecords === null ? 0 : totalRecords;\r\n this.totalPages = Math.ceil(this.totalRecords / this.pageLimit);\r\n this.gotoPage(1);\r\n }\r\n\r\n componentDidMount(): void {\r\n this.gotoPage(1);\r\n }\r\n\r\n gotoPage = (page : number) => {\r\n const { onPageChanged = (f : any) => f } = this.props;\r\n const currentPage = Math.max(0, Math.min(page, this.totalPages));\r\n\r\n const Data = {\r\n currentPage,\r\n totalPages: this.totalPages,\r\n pageLimit: this.pageLimit,\r\n totalRecords: this.totalRecords\r\n };\r\n this.setState({currentPage}, () => onPageChanged(Data));\r\n };\r\n\r\n handleClick = (page : any) => {\r\n this.gotoPage(page);\r\n };\r\n\r\n handleMoveLeft = (event : any) => {\r\n event.preventDefault();\r\n this.gotoPage(this.state.currentPage - (this.pageNeighbours * 2) - 1);\r\n };\r\n\r\n handleMoveRight = (event : any) => {\r\n event.preventDefault();\r\n this.gotoPage(this.state.currentPage - (this.pageNeighbours * 2) - 1);\r\n };\r\n\r\n fetchPageNumbers = () => {\r\n const totalPages = this.totalPages;\r\n const currentPage = this.state.currentPage;\r\n const pageNeighbours = this.pageNeighbours;\r\n const totalNumbers = (this.pageNeighbours * 2) * 3;\r\n const totalBlocks = totalNumbers + 2;\r\n if (totalPages > totalBlocks){\r\n const startPage = Math.max(2, currentPage - pageNeighbours);\r\n const endPage = Math.min(totalPages - 1, currentPage + pageNeighbours);\r\n let pages = range(startPage, endPage);\r\n const hasLeftSpill = startPage > 2;\r\n const hasRightSpill = (totalPages - endPage) > 1;\r\n const spillOffset = totalNumbers - (pages.length + 1);\r\n\r\n switch(true){\r\n case (hasLeftSpill && !hasRightSpill): {\r\n let extraPages = range(startPage - spillOffset, startPage - 1);\r\n pages = [LEFT_PAGE, ...extraPages, ...pages];\r\n break;\r\n }\r\n case (!hasLeftSpill && hasRightSpill): {\r\n let extraPages = range(endPage + 1, endPage + spillOffset);\r\n pages = [...pages, ...extraPages, RIGHT_PAGE];\r\n break;\r\n }\r\n case (hasLeftSpill && hasRightSpill):\r\n default: {\r\n pages = [LEFT_PAGE, ...pages, RIGHT_PAGE];\r\n break;\r\n }\r\n }\r\n return [1, ...pages, totalPages];\r\n }\r\n return range(1, totalPages);\r\n };\r\n\r\n render() {\r\n if(!this.totalRecords || this.totalPages === 1) return null;\r\n const {currentPage} = this.state;\r\n const pages = this.fetchPageNumbers();\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default DataTablePagination;","export function isEmpty(obj : any) : boolean {\r\n for (let key in obj) {\r\n if (obj.hasOwnProperty(key))\r\n return false;\r\n }\r\n return true;\r\n}\r\n\r\nexport function objectRemoveNullValuesAndReplaceWithStrings(object : {}) {\r\n let elements : any = object;\r\n for(let key of Object.keys(elements)) {\r\n if (elements[key] == null){\r\n elements[key] = \"\"\r\n }\r\n }\r\n return elements;\r\n}\r\n\r\nexport function isDefined(value : T | undefined | null) : value is T {\r\n return value as T !== undefined && value as T != null;\r\n}\r\n\r\nexport function isAnyObject(value : any) {\r\n if (typeof value === 'object') {\r\n return true;\r\n } else if (typeof value === 'string'){\r\n return (value.includes(\"{\") && value.includes(\"}\"));\r\n } else {\r\n return false;\r\n }\r\n}\r\n\r\nexport function getObjectValueByKey(object: any, key: string) : string{\r\n let keys: string[] = key.split('.');\r\n let value: any = object;\r\n keys.forEach((itemKey) => {\r\n if(value == undefined){\r\n return \"\";\r\n }\r\n value = value[itemKey];\r\n });\r\n\r\n return value;\r\n}\r\n\r\nexport function isNullOrEmpty(string: string){\r\n return !isDefined(string) || string === \"\";\r\n}\r\n\r\nexport function checkKeyCondition(object: any, condition: KeyCondition): boolean{\r\n let conditionMatch: boolean = getObjectValueByKey(object, condition.key) === condition.value;\r\n if(condition.invert){\r\n return !conditionMatch;\r\n }\r\n return conditionMatch;\r\n}","export enum InfoWrapperTypes {\r\n PRIMARY = 'info-wrapper-primary',\r\n FAILURE = 'info-wrapper-failure',\r\n DANGER = 'info-wrapper-danger',\r\n SUCCESS = 'info-wrapper-success',\r\n WARNING = 'info-wrapper-warning'\r\n}","import React, {Component} from \"react\";\r\nimport DataTableCell from \"./DataTableCell\";\r\nimport {IDataTableProps} from \"../../../interfaces/interfaces\";\r\nimport DataTablePagination from \"./DataTablePagination\";\r\nimport {isBoolean} from \"../../../helpers/ComponentHelpers\";\r\nimport { isNullOrEmpty } from \"../../../helpers/ObjectHelpers\";\r\n\r\nclass DataTable extends Component {\r\n constructor(props: IDataTableProps) {\r\n super(props);\r\n this.renderDataRow.bind(this);\r\n this.renderHeadingCell.bind(this);\r\n this.state = {\r\n currentElements: [],\r\n currentPage: null,\r\n totalPages: null,\r\n pageLimit: null\r\n };\r\n }\r\n\r\n onSortChanged(event: any, value : any) : void {\r\n if (value === \"action\") return;\r\n \r\n let sortAttribute: string = value+\"-sort\";\r\n let sortValue: string = value;\r\n let row: any = this.props.rows[0];\r\n if(row !== undefined && row[sortAttribute] !== undefined){\r\n sortValue = sortAttribute;\r\n }\r\n if (this.props.onSort != null) this.props.onSort(sortValue);\r\n\r\n const {currentPage, totalPages, pageLimit} = this.state;\r\n const {rows} = this.props;\r\n const offset = (currentPage - 1) * pageLimit;\r\n const currentElements = rows.slice(offset, offset + pageLimit);\r\n this.setState({currentPage, currentElements, totalPages});\r\n }\r\n\r\n renderHeadingCell = (_cell : any, cellIndex : number) => {\r\n let sort = this.props.onSort !== null;\r\n let className = (_cell.sortkey === this.props.activeSort?.replace(\"-sort\", \"\")) ? \"selected\" : \"\";\r\n let paginationHeader = \"\";\r\n let name = _cell.name;\r\n if(_cell.name.includes(\"[pagination_header]\")){\r\n let lastElementIndexInCurrentPage = this.state.currentPage * 20;\r\n let firstElementIndexInCurrentPage = ((this.state.currentPage - 1) * 20) + 1;\r\n\r\n if(lastElementIndexInCurrentPage > this.props.rows.length){\r\n lastElementIndexInCurrentPage = this.props.rows.length;\r\n }\r\n\r\n name = name.replace(\"[pagination_header]\", \"\");\r\n paginationHeader = \" (\" + firstElementIndexInCurrentPage + \"-\" + lastElementIndexInCurrentPage + \" von \" + this.props.rows.length + \")\"\r\n }\r\n if (_cell.sortkey === \"action\" || _cell.sortkey === \"deleted\") {\r\n return \r\n } else {\r\n return this.onSortChanged(event, _cell.sortkey)} selectedClass={className}/>\r\n }\r\n };\r\n\r\n renderDataRow = (_row : [], rowIndex : number) => {\r\n let keys = this.props.headings.map((element : any) => {\r\n return element.sortkey;\r\n });\r\n return [\r\n \r\n {keys.map((key : any, index : number) => {\r\n let value = _row[key];\r\n if (value !== undefined && value !== null) {\r\n if (isBoolean(value)) {\r\n let b = value ? \"JA\" : \"NEIN\";\r\n return ;\r\n }\r\n else {\r\n return ;\r\n }\r\n } else if (key.toString().includes(\".\")) {\r\n let first = key.toString().substring(0, key.toString().indexOf(\".\"));\r\n let second = key.toString().substring(key.toString().indexOf(\".\") + 1, key.toString().length);\r\n if (_row[first] !== null) {\r\n return ;\r\n } else {\r\n return ;\r\n }\r\n } else {\r\n return ;\r\n }\r\n })}\r\n \r\n ]\r\n };\r\n\r\n componentDidUpdate(prevProps: Readonly, prevState: Readonly, snapshot?: any): void {\r\n if (this.state !== prevState) return;\r\n const {currentPage, pageLimit} = this.state;\r\n const offset = (currentPage - 1) * pageLimit;\r\n const currentElements = this.props.rows.slice(offset, offset + pageLimit);\r\n let pages = this.props.rows.length / 20;\r\n if (pages === 0) pages = 1;\r\n this.setState({currentPage, currentElements, \"totalPages\" : pages, pageLimit});\r\n }\r\n\r\n onPageChange = (data : any) => {\r\n const {rows} = this.props;\r\n const {currentPage, totalPages, pageLimit} = data;\r\n const offset = (currentPage - 1) * pageLimit;\r\n const currentElements = rows.slice(offset, offset + pageLimit);\r\n this.setState({currentPage, currentElements, totalPages, pageLimit});\r\n };\r\n\r\n render() {\r\n const {headings, rows, showPaginationHeader} = this.props;\r\n const {currentElements} = this.state;\r\n const theadMarkup = headings.map(this.renderHeadingCell);\r\n const tBodyMarkup = currentElements.map(this.renderDataRow);\r\n if (this.props.rows === undefined || this.props.rows === null || this.props.rows.length === 0) return

Keine Resulate
;\r\n let classes = (this.props.className !== undefined) ? \"datatable \" + this.props.className : \"datatable\";\r\n\r\n let paginationHeader = \"\";\r\n if(showPaginationHeader){\r\n let lastElementIndexInCurrentPage = this.state.currentPage * 20;\r\n let firstElementIndexInCurrentPage = ((this.state.currentPage - 1) * 20) + 1;\r\n\r\n if(lastElementIndexInCurrentPage > this.props.rows.length){\r\n lastElementIndexInCurrentPage = this.props.rows.length;\r\n }\r\n\r\n paginationHeader = \"Resultat \" + firstElementIndexInCurrentPage + \"-\" + lastElementIndexInCurrentPage + \" von \" + this.props.rows.length;\r\n }\r\n\r\n return (\r\n
\r\n {!isNullOrEmpty(paginationHeader) &&\r\n

{paginationHeader}

\r\n }\r\n \r\n \r\n \r\n {theadMarkup}\r\n \r\n \r\n {tBodyMarkup}\r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default DataTable;","import React, {Component} from \"react\";\r\nimport * as animationData from \"../../animations/loading_animation_cloud_new.json\";\r\nimport Lottie from \"react-lottie\";\r\n\r\nclass LoadingSpinner extends Component {\r\n render() {\r\n const options = {\r\n loop : true,\r\n autoplay: true,\r\n animationData: (animationData as any).default\r\n };\r\n\r\n return (\r\n
\r\n \r\n
\r\n Daten werden geladen.\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default LoadingSpinner;","import * as types from \"./actionTypes\";\r\nimport * as api from \"../api/api\";\r\nimport * as forms from \"./formActions\";\r\nimport * as apiLinks from \"../api/apiLinks\";\r\n\r\nfunction receiveChangelogs(data : any) {\r\n return {\r\n type : types.SET_CHANGELOG,\r\n data : data\r\n }\r\n}\r\n\r\nfunction receiveRecentChangelogs(data : any) {\r\n return {\r\n type : types.SET_CHANGELOG_RECENT,\r\n data : data\r\n }\r\n}\r\n\r\nfunction receiveChangelogsError(data : any) {\r\n return {\r\n type : types.SET_CHANGELOG_ERROR,\r\n data : data\r\n }\r\n}\r\n\r\nfunction changeSortingOfData(data : any) {\r\n return {\r\n type : types.SET_CHANGELOG_SORT,\r\n data : data\r\n }\r\n}\r\n\r\nfunction changeState(state : string) {\r\n return {\r\n type : types.SET_CHANGELOG_CURRENT_STATE,\r\n data : state\r\n }\r\n}\r\n\r\nfunction setSelectedObject(changelog : object) {\r\n return {\r\n type : types.SET_CHANGELOG_SELECTED_OBJECT,\r\n data : changelog\r\n }\r\n}\r\n\r\nfunction clearSelectedObject() {\r\n return {\r\n type : types.SET_CHANGELOG_SELECTED_OBJECT,\r\n data : {}\r\n }\r\n}\r\n\r\nexport function reset(): any {\r\n return function (dispatch : any) {\r\n dispatch(clearSelectedObject());\r\n }\r\n}\r\n\r\nexport function onSortChanged(props : any): any {\r\n return function (dispatch : any) {\r\n dispatch(changeSortingOfData(props));\r\n }\r\n}\r\n\r\nexport function backToList(): any {\r\n return function (dispatch : any) {\r\n dispatch(changeState(\"success\"));\r\n dispatch(setSelectedObject({}));\r\n }\r\n}\r\n\r\nexport function getChangelogAndCallAction(id : string, action : string) : any {\r\n return function (dispatch : any) {\r\n getChangelogFromAPI(id, dispatch).then(() => {\r\n dispatch(changeState(action));\r\n });\r\n }\r\n}\r\n\r\nexport function addChangelogForm(): any {\r\n return function (dispatch : any) {\r\n dispatch(changeState(\"add\"));\r\n }\r\n}\r\n\r\nexport function getChangelogs(): any {\r\n return function (dispatch : any) {\r\n getChangelogsFromAPI(dispatch);\r\n }\r\n}\r\n\r\nexport function getRecent(): any {\r\n return function (dispatch : any) {\r\n getRecentChangelogsFromAPI(dispatch);\r\n }\r\n}\r\n\r\nfunction getChangelogsFromAPI(dispatch : any): any {\r\n dispatch(changeState(\"loading\"));\r\n api.get(apiLinks.CHANGELOGS).then(function (res) {\r\n dispatch(receiveChangelogs(res));\r\n }).catch(function (error) {\r\n dispatch(receiveChangelogsError(error));\r\n });\r\n}\r\n\r\nfunction getRecentChangelogsFromAPI(dispatch : any): any {\r\n dispatch(changeState(\"loading\"));\r\n api.get(apiLinks.CHANGELOGS + \"/Recent\").then(function (res) {\r\n dispatch(receiveRecentChangelogs(res));\r\n }).catch(function (error) {\r\n dispatch(receiveChangelogsError(error));\r\n });\r\n}\r\n\r\nfunction getChangelogFromAPI(id : string, dispatch : any) {\r\n return new Promise((resolve, reject) => {\r\n dispatch(changeState(\"loading\"));\r\n api.get(apiLinks.CHANGELOGS + \"/\" + id).then(function (res) {\r\n dispatch(setSelectedObject(res));\r\n resolve();\r\n }).catch(function (error) {\r\n dispatch(receiveChangelogsError(error));\r\n reject();\r\n });\r\n });\r\n}\r\n\r\nexport function deleteChangelog(id : string): any {\r\n return function (dispatch : any) {\r\n dispatch(forms.setFormProcessing());\r\n api.del(apiLinks.CHANGELOGS + \"/\" + id).then(function (res) {\r\n dispatch(forms.setFormSuccess(\"Der Changelogeintrag wurde erfolgreich gelöscht.\"));\r\n dispatch(changeState(\"success\"));\r\n dispatch(clearSelectedObject());\r\n getChangelogsFromAPI(dispatch);\r\n }).catch(function (error) {\r\n dispatch(forms.setFormError(error));\r\n });\r\n }\r\n}\r\n\r\nexport function addChangelog(values : any): any {\r\n values = updateObject(values);\r\n return function (dispatch : any) {\r\n dispatch(forms.setFormProcessing());\r\n api.post(apiLinks.CHANGELOGS, values).then(function (res : any) {\r\n dispatch(forms.setFormSuccess(\"Der Changelogeintrag wurde erfolgreich abgespeichert.\"));\r\n dispatch(changeState(\"success\"));\r\n getChangelogsFromAPI(dispatch);\r\n }).catch(function (error : any) {\r\n dispatch(forms.setFormError(error));\r\n });\r\n }\r\n}\r\n\r\nexport function editChangelog(values : any): any {\r\n return function (dispatch: any) {\r\n dispatch(forms.setFormProcessing());\r\n api.patch(apiLinks.CHANGELOGS + \"/\" + values.idChangelog, values).then(function (res: any) {\r\n dispatch(forms.setFormSuccess(\"Die Änderungen am Changelogeintrag wurden erfolgreich gespeichert.\"));\r\n dispatch(changeState(\"success\"));\r\n dispatch(clearSelectedObject());\r\n getChangelogsFromAPI(dispatch);\r\n }).catch(function (error: any) {\r\n dispatch(forms.setFormError(error));\r\n });\r\n }\r\n}\r\n\r\nfunction updateObject(values : any) : any {\r\n return values;\r\n}","import React, {Component} from \"react\";\r\nimport {IFormInfoWrapperProps} from \"../../interfaces/interfaces\";\r\n\r\nclass FormInfoWrapper extends Component {\r\n render() {\r\n const {hidden} = this.props;\r\n return (\r\n
\r\n

{this.props.info}

\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default FormInfoWrapper;","import React, { Component } from \"react\";\r\nimport Lottie from \"react-lottie\";\r\nimport { IsMobile } from \"../../../helpers/SessionHelper\";\r\nimport * as animationData from \"../../animations/loading_animation_cloud_new.json\";\r\n\r\nclass SmallLoadingSpinner extends Component {\r\n render() {\r\n const options = {\r\n loop : true,\r\n autoplay: true,\r\n animationData: (animationData as any).default\r\n };\r\n\r\n let mobile: boolean = IsMobile();\r\n let device: string = mobile ? \"mobile\" : \"desktop\";\r\n\r\n return (\r\n
\r\n \r\n
\r\n Ihre Informationen werden verarbeitet. Bitte haben Sie einen Moment Geduld.\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default SmallLoadingSpinner;","import React, {Component} from \"react\";\r\nimport FormInfoWrapper from \"./FormInfoWrapper\";\r\nimport {InfoWrapperTypes} from \"../../global/InfoWrapperTypes\";\r\nimport SmallLoadingSpinner from \"./spinner/SmallLoadingSpinner\";\r\nimport * as formActions from \"../../actions/formActions\";\r\nimport store from \"../../store\";\r\n\r\nclass FormMessage extends Component {\r\n clearSuccessMessageAfterSomeTime() : void {\r\n setTimeout(function () {\r\n store.dispatch(formActions.clearSuccessMessage());\r\n }.bind(this), 60 * 1000);\r\n }\r\n\r\n clearErrorMessageAfterSomeTime() : void {\r\n setTimeout(function () {\r\n store.dispatch(formActions.clearErrorMessage());\r\n }.bind(this), 60 * 1000);\r\n }\r\n\r\n clearWarningMessageAfterSomeTime() : void {\r\n setTimeout(function () {\r\n store.dispatch(formActions.clearWarningMessage());\r\n }.bind(this), 60 * 1000);\r\n }\r\n\r\n render(): React.ReactNode {\r\n const {formState} = this.props;\r\n return (\r\n <>\r\n {(() => {\r\n switch (formState.state) {\r\n case \"success\":\r\n if (formState.successMessage !== \"\") {\r\n this.clearSuccessMessageAfterSomeTime();\r\n return ;\r\n }\r\n return null;\r\n case \"processing\":\r\n return ;\r\n case \"error\":\r\n if (formState.errorMessage !== \"\") {\r\n this.clearErrorMessageAfterSomeTime();\r\n return ;\r\n }\r\n return null;\r\n case \"warning\":\r\n if (formState.warningMessage !== \"\") {\r\n this.clearWarningMessageAfterSomeTime();\r\n return ;\r\n }\r\n return null;\r\n default:\r\n return null;\r\n }\r\n })()}\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default FormMessage;","import {connect} from \"react-redux\";\r\nimport FormMessage from \"../../components/shared/FormMessage\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n return {\r\n formState : store.form\r\n };\r\n}\r\n\r\nconst FormMessageContainer = connect(mapStateToProps)(FormMessage);\r\n\r\nexport default FormMessageContainer;","import React, {Component} from 'react';\r\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\r\nimport {IDescriptionProps} from '../../../interfaces/interfaces';\r\n// @ts-ignore\r\nimport renderHTML from 'react-render-html';\r\n\r\nclass Description extends Component {\r\n constructor(props : any){\r\n super(props);\r\n this.state = {\r\n classDescription: \"\"\r\n };\r\n\r\n this.show = this.show.bind(this);\r\n this.hide = this.hide.bind(this);\r\n }\r\n\r\n componentDidMount() {\r\n this.hide();\r\n }\r\n \r\n show(): void{\r\n this.setState({classDescription: \"bubble bubble-arrow hover\"});\r\n }\r\n\r\n hide(): void {\r\n this.setState({classDescription: \"bubble bubble-arrow hide\"});\r\n }\r\n\r\n render() {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n {renderHTML(this.props.text)}\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Description;","import React, {Component} from \"react\";\r\nimport {ILabelProps} from \"../../../interfaces/interfaces\";\r\nimport Description from \"./Description\";\r\n\r\nclass Label extends Component {\r\n render() {\r\n return (\r\n
\r\n \r\n {!!this.props.description && }\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Label;","import React, {Component} from \"react\";\r\nimport {ErrorMessage} from \"formik\";\r\nimport {IFormErrorProps} from \"../../../interfaces/interfaces\";\r\n\r\nclass FormError extends Component {\r\n render() {\r\n if(!!this.props.customMessage){\r\n return (\r\n
\r\n {this.props.customMessage}\r\n
\r\n );\r\n }\r\n return (\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default FormError;","export const GlobalEditorConfiguration = {\r\n toolbar: ['heading', 'bold', 'italic', 'link', 'blockquote', 'bulletedList', 'numberedList', 'undo', 'redo', '|', 'insertTable', 'tableColumn', 'tableRow', 'mergeTableCells', '|', 'imageUpload', 'mediaEmbed', 'imageTextAlternative', 'imageStyle:full', 'imageStyle:side'],\r\n language: \"de\",\r\n heading: {\r\n options: [\r\n { model: 'paragraph', title: 'Absatz', class: 'ck-heading_paragraph' },\r\n { model: 'heading1', view: 'h1', title: 'Überschrift 1', class: 'ck-heading_heading1' },\r\n { model: 'heading2', view: 'h2', title: 'Überschrift 2', class: 'ck-heading_heading2' },\r\n { model: 'heading3', view: 'h3', title: 'Überschrift 3', class: 'ck-heading_heading3' },\r\n { model: 'heading4', view: 'h4', title: 'Überschrift 4', class: 'ck-heading_heading4' },\r\n { model: 'heading5', view: 'h5', title: 'Überschrift 5', class: 'ck-heading_heading5' },\r\n { model: 'heading6', view: 'h6', title: 'Überschrift 6', class: 'ck-heading_heading6' }\r\n ]\r\n }\r\n};\r\n\r\nexport const FormEditorConfiguration = {\r\n toolbar: ['bold', 'italic', 'bulletedList', 'numberedList', 'undo', 'redo'],\r\n language: \"de\"\r\n}","import React, {Component} from \"react\";\r\nimport {Field, Form, Formik, FormikHelpers} from \"formik\";\r\nimport * as changelogActions from \"../../../actions/changelogActions\";\r\nimport {IFormProps} from \"../../../interfaces/interfaces\";\r\nimport store from \"../../../store\";\r\nimport TitleHelper from \"../../shared/TitleHelper\";\r\nimport Label from \"../../shared/forms/Label\";\r\nimport FormError from \"../../shared/forms/FormError\";\r\nimport Button from \"../../shared/buttons/Button\";\r\nimport {ButtonTypes} from \"../../../global/ButtonDefinitions\";\r\n// @ts-ignore\r\nimport CKEditor from \"@ckeditor/ckeditor5-react\";\r\n// @ts-ignore\r\nimport ClassicEditor from \"@ckeditor/ckeditor5-build-classic\";\r\nimport * as Yup from \"yup\";\r\nimport {GlobalEditorConfiguration} from \"../../../global/editorConfiguration\";\r\n\r\nclass AddChangelog extends Component {\r\n constructor(props : any) {\r\n super(props);\r\n this.state = {\r\n versionNumber: \"\",\r\n description: \"\",\r\n };\r\n this.handleSubmit = this.handleSubmit.bind(this);\r\n this.onCancel = this.onCancel.bind(this);\r\n }\r\n\r\n validationSchemaData = Yup.object().shape({\r\n versionNumber : Yup.string().required(\"* Feld ist erforderlich\"),\r\n description : Yup.string().required(\"* Feld ist erforderlich\")\r\n });\r\n\r\n onCancel(): void {\r\n store.dispatch(changelogActions.backToList());\r\n }\r\n\r\n handleSubmit(values : CreateChangelogFormValues, actions : FormikHelpers) : void {\r\n store.dispatch(changelogActions.addChangelog(values));\r\n }\r\n\r\n render(): React.ReactNode {\r\n return (\r\n
\r\n \r\n

Changelogeintrag hinzufügen

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default AddChangelog;","import React, {Component} from \"react\";\r\nimport {Field, Form, Formik, FormikHelpers} from \"formik\";\r\nimport * as changelogActions from \"../../../actions/changelogActions\";\r\nimport {IFormProps} from \"../../../interfaces/interfaces\";\r\nimport store from \"../../../store\";\r\nimport TitleHelper from \"../../shared/TitleHelper\";\r\nimport Label from \"../../shared/forms/Label\";\r\nimport FormError from \"../../shared/forms/FormError\";\r\nimport Button from \"../../shared/buttons/Button\";\r\nimport {ButtonTypes} from \"../../../global/ButtonDefinitions\";\r\n\r\nclass DeleteChangelog extends Component {\r\n constructor(props : any){\r\n super(props);\r\n this.state = {\r\n idChangelog: \"\"\r\n };\r\n this.handleSubmit = this.handleSubmit.bind(this);\r\n this.onCancel = this.onCancel.bind(this);\r\n }\r\n\r\n componentDidMount(): void {\r\n if (this.props.initalValues !== undefined) {\r\n this.setState(this.props.initalValues);\r\n }\r\n }\r\n onCancel(): void {\r\n store.dispatch(changelogActions.backToList());\r\n }\r\n\r\n handleSubmit(values : DeleteChangelogFormValues, actions : FormikHelpers) : void {\r\n store.dispatch(changelogActions.deleteChangelog(values.idChangelog));\r\n }\r\n\r\n render(): React.ReactNode {\r\n return (\r\n
\r\n \r\n

Changelogeintrag löschen

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default DeleteChangelog;","import React, {Component} from \"react\";\r\nimport {Field, Form, Formik, FormikHelpers} from \"formik\";\r\nimport * as changelogActions from \"../../../actions/changelogActions\";\r\nimport {IFormProps} from \"../../../interfaces/interfaces\";\r\nimport store from \"../../../store\";\r\nimport TitleHelper from \"../../shared/TitleHelper\";\r\nimport Label from \"../../shared/forms/Label\";\r\nimport FormError from \"../../shared/forms/FormError\";\r\nimport Button from \"../../shared/buttons/Button\";\r\nimport {ButtonTypes} from \"../../../global/ButtonDefinitions\";\r\n// @ts-ignore\r\nimport CKEditor from \"@ckeditor/ckeditor5-react\";\r\n// @ts-ignore\r\nimport ClassicEditor from \"@ckeditor/ckeditor5-build-classic\";\r\nimport '@ckeditor/ckeditor5-build-classic/build/translations/de';\r\nimport * as Yup from \"yup\";\r\nimport {GlobalEditorConfiguration} from \"../../../global/editorConfiguration\";\r\n\r\nclass EditChangelog extends Component {\r\n constructor(props : any) {\r\n super(props);\r\n this.state = {\r\n idChangelog: \"\",\r\n versionNumber: \"\",\r\n description: \"\"\r\n };\r\n this.handleSubmit = this.handleSubmit.bind(this);\r\n this.onCancel = this.onCancel.bind(this);\r\n }\r\n\r\n validationSchemaData = Yup.object().shape({\r\n versionNumber : Yup.string().required(\"* Feld ist erforderlich\"),\r\n description : Yup.string().required(\"* Feld ist erforderlich\"),\r\n idChangelog : Yup.string().required(\"* Feld ist erforderlich\"),\r\n });\r\n\r\n componentDidMount(): void {\r\n if (this.props.initalValues !== undefined) {\r\n this.setState(this.props.initalValues);\r\n }\r\n }\r\n\r\n onCancel(): void {\r\n store.dispatch(changelogActions.backToList());\r\n }\r\n\r\n handleSubmit(values : EditChangelogFormValues, actions : FormikHelpers) : void {\r\n store.dispatch(changelogActions.editChangelog(values));\r\n }\r\n\r\n render(): React.ReactNode {\r\n return (\r\n
\r\n \r\n

Changelogeintrag bearbeiten

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default EditChangelog;","import React, {Component} from \"react\";\r\nimport {IInfoWrapperProps} from \"../../../interfaces/interfaces\";\r\n\r\nclass InfoWrapper extends Component {\r\n render() {\r\n const {hidden} = this.props;\r\n return (\r\n
\r\n
{this.props.title}
\r\n

{this.props.info}

\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default InfoWrapper;","import React, {Component, Fragment} from \"react\";\r\nimport {FontAwesomeIcon} from \"@fortawesome/react-fontawesome\";\r\nimport store from \"../../../store\";\r\nimport TitleHelper from \"../../shared/TitleHelper\";\r\nimport Button from \"../../shared/buttons/Button\";\r\nimport DataTable from \"../../shared/tables/DataTable\";\r\nimport LoadingSpinner from \"../../shared/spinner/LoadingSpinner\";\r\nimport {InfoWrapperTypes} from \"../../../global/InfoWrapperTypes\";\r\nimport * as changelogActions from \"../../../actions/changelogActions\";\r\nimport {isEmpty} from \"../../../helpers/ObjectHelpers\";\r\nimport FormMessageContainer from \"../../../containers/shared/FormMessageContainer\";\r\nimport AddChangelog from \"./AddChangelog\";\r\nimport DeleteChangelog from \"./DeleteChangelog\";\r\nimport EditChangelog from \"./EditChangelog\";\r\nimport InfoWrapper from \"../../shared/error/InfoWrapper\";\r\n\r\nclass ChangelogOverview extends Component {\r\n constructor(props : any){\r\n super(props);\r\n this.update = this.update.bind(this);\r\n }\r\n componentDidMount(): void {\r\n this.update();\r\n }\r\n\r\n update(): void {\r\n store.dispatch(changelogActions.getChangelogs());\r\n }\r\n\r\n onSortChanged(value : any) : void {\r\n store.dispatch(changelogActions.onSortChanged(value));\r\n }\r\n\r\n addEntry(): void {\r\n store.dispatch(changelogActions.addChangelogForm());\r\n }\r\n\r\n deleteChangelog(id : string) : void {\r\n store.dispatch(changelogActions.getChangelogAndCallAction(id, \"delete\"));\r\n }\r\n\r\n editChangelog(id : string) : void {\r\n store.dispatch(changelogActions.getChangelogAndCallAction(id, \"edit\"));\r\n }\r\n\r\n renderActions(element : any) {\r\n return (\r\n \r\n this.deleteChangelog(element.idChangelog)}> Löschen\r\n this.editChangelog(element.idChangelog)}> Bearbeiten\r\n \r\n )\r\n }\r\n\r\n addActions(items : any) : void {\r\n items.map((element : any) => {\r\n element.action = this.renderActions(element);\r\n return element;\r\n });\r\n }\r\n\r\n render(): React.ReactNode {\r\n const {changelogstore, changelogs} = this.props;\r\n this.addActions(changelogs);\r\n let headings = [\r\n {\"name\" : \"ID\", \"sortkey\" : \"idChangelog\"},\r\n {\"name\" : \"Versionsnummer\", \"sortkey\" : \"versionNumber\"},\r\n {\"name\" : \"Aktionen\", \"sortkey\" : \"action\"}\r\n ];\r\n return (\r\n <>\r\n \r\n

Changelog

\r\n {isEmpty(changelogstore.selectedObject) && changelogstore.state !== \"add\" &&\r\n
\r\n \r\n \r\n
\r\n }\r\n \r\n {(() => {\r\n switch (changelogstore.state) {\r\n case \"success\":\r\n return ;\r\n case \"loading\":\r\n return ;\r\n case \"error\":\r\n return ;\r\n case \"edit\":\r\n return ;\r\n case \"delete\":\r\n return ;\r\n case \"add\":\r\n return ;\r\n default:\r\n return null;\r\n }\r\n })()}\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default ChangelogOverview;","import {connect} from \"react-redux\";\r\nimport {getSortedSimple} from \"../../selectors/basic\";\r\nimport ChangelogOverview from \"../../components/admin/changelog/ChangelogOverview\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n return {\r\n changelogstore : store.changelog ,\r\n changelogs : getSortedSimple(store.changelog.data, {\"sortKey\" : store.changelog.sortedProperty, \"sortOrder\" : store.changelog.sortOrder })\r\n }\r\n}\r\n\r\nconst ChangelogOverviewContainer = connect(mapStateToProps)(ChangelogOverview);\r\n\r\nexport default ChangelogOverviewContainer;","import * as types from \"./actionTypes\";\r\nimport * as api from \"../api/api\";\r\nimport store from \"../store\";\r\nimport * as apiLinks from \"../api/apiLinks\";\r\nimport { IsPortalAdmin } from \"../helpers/SessionHelper\";\r\n\r\nfunction receiveHistoryData(data : any) {\r\n return {\r\n type : types.SET_HISTORY,\r\n data : data\r\n }\r\n}\r\n\r\nfunction receiveHistoryActions(data : any) {\r\n return {\r\n type : types.SET_HISTORY_ACTIONS,\r\n data : data\r\n }\r\n}\r\n\r\nfunction setSelectedObject(data : any) {\r\n return {\r\n type : types.SET_HISTORY_SELECTED_OBJECT,\r\n data : data\r\n }\r\n}\r\n\r\n\r\nfunction changeState(state : string) {\r\n return {\r\n type : types.SET_HISTORY_CURRENT_STATE,\r\n data : state\r\n }\r\n}\r\n\r\nfunction changeSortingOfData(data : any) {\r\n return {\r\n type : types.SET_HISTORY_SORT,\r\n data : data\r\n }\r\n}\r\n\r\nfunction changeFilteringOfData(data : any) {\r\n return {\r\n type : types.SET_HISTORY_FILTER,\r\n data : data\r\n }\r\n}\r\n\r\nfunction changeSearchString(data : string) {\r\n return {\r\n type : types.SET_HISTORY_SEARCH,\r\n data : data\r\n }\r\n}\r\n\r\nfunction setDate(type : string, date : Date) {\r\n return {\r\n type : type,\r\n data : date\r\n }\r\n}\r\n\r\nexport function onSearchChanged(searchstring : any): any {\r\n return function (dispatch : any) {\r\n dispatch(changeSearchString(searchstring));\r\n }\r\n}\r\n\r\nexport function onSortChanged(props : any): any {\r\n return function (dispatch : any) {\r\n dispatch(changeSortingOfData(props));\r\n }\r\n}\r\n\r\nexport function backToList(): any {\r\n return function (dispatch : any) {\r\n dispatch(changeState(\"success\"));\r\n }\r\n}\r\n\r\nexport function onFilterChanged(props : any): any {\r\n return function (dispatch : any) {\r\n dispatch(changeFilteringOfData(props));\r\n if (props !== \"\"){\r\n getHistoryFromAPI(dispatch, props, (store.getState() as any).history.startDate, (store.getState() as any).history.endDate);\r\n }\r\n }\r\n}\r\n\r\nexport function getHistoryActions(includeSync: boolean): any {\r\n return function (dispatch : any) {\r\n getHistoryActionsFromAPI(dispatch, includeSync);\r\n }\r\n}\r\n\r\nexport function getHistory(action : string, startDate : Date, endDate : Date): any {\r\n return function (dispatch : any) {\r\n getHistoryFromAPI(dispatch, action, startDate, endDate);\r\n }\r\n}\r\n\r\nfunction getHistoryFromAPI(dispatch : any, action : string, startDate : Date, endDate : Date): any {\r\n dispatch(changeState(\"loading\"));\r\n let formattedStartDate = startDate.toLocaleString().split(\",\")[0];\r\n let formattedEndDate = endDate.toLocaleString().split(\",\")[0];\r\n let includeSync: boolean = false;\r\n let historyAction: string = action;\r\n if(action === \"all\"){\r\n includeSync = true;\r\n historyAction = \"\";\r\n }\r\n if(action.startsWith(\"8\")){\r\n includeSync = true;\r\n }\r\n let query = \"?action=\" + historyAction + \"&startDate=\" + formattedStartDate + \"&endDate=\" + formattedEndDate + \"&includeSync=\"+includeSync;\r\n api.get(apiLinks.HISTORY + \"/Data\" + query).then(function (res) {\r\n dispatch(receiveHistoryData(res));\r\n });\r\n}\r\n\r\nfunction getHistoryActionsFromAPI(dispatch : any, includeSync: boolean): any {\r\n api.get(apiLinks.HISTORY + \"/Actions?includeSync=\"+includeSync).then(function (res: SelectListItem[]) {\r\n res.push({text: \"Alle Aktionen\", value: \"all\"});\r\n \r\n dispatch(receiveHistoryActions(res));\r\n });\r\n}\r\n\r\nexport function clearSelectedObject() : any {\r\n return function (dispatch : any) {\r\n dispatch(setSelectedObject({}));\r\n }\r\n}\r\n\r\nexport function setAdditionalData(element : any) : any {\r\n return function (dispatch : any) {\r\n dispatch(setSelectedObject(element));\r\n }\r\n}\r\n\r\nexport function setStartDate(date : Date) : any {\r\n return function (dispatch : any) {\r\n dispatch(setDate(types.SET_HISTORY_SET_STARTDATE, date));\r\n getHistoryFromAPI(dispatch, (store.getState() as any).history.selectedAction, (store.getState() as any).history.startDate, (store.getState() as any).history.endDate);\r\n }\r\n}\r\n\r\nexport function setEndDate(date : Date) : any {\r\n return function (dispatch : any) {\r\n dispatch(setDate(types.SET_HISTORY_SET_ENDDATE, date));\r\n getHistoryFromAPI(dispatch, (store.getState() as any).history.selectedAction, (store.getState() as any).history.startDate, (store.getState() as any).history.endDate);\r\n }\r\n}\r\n","import React, {Component} from \"react\";\r\nimport {ISelectListProps} from \"../../../interfaces/interfaces\";\r\n\r\nclass SelectList extends Component {\r\n render(): React.ReactNode {\r\n const elems = this.props.options;\r\n let customProperties = this.props.properties !== undefined;\r\n if (customProperties && this.props.properties.length !== 2) {\r\n return null;\r\n }\r\n let valueName = customProperties ? this.props.properties[0] : \"value\";\r\n let textName = customProperties ? this.props.properties[1] : \"text\";\r\n return (\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default SelectList;","import React, {Component, Fragment} from \"react\";\r\nimport TitleHelper from \"../../shared/TitleHelper\";\r\nimport Button from \"../../shared/buttons/Button\";\r\nimport {FontAwesomeIcon} from \"@fortawesome/react-fontawesome\";\r\nimport * as historyActions from \"../../../actions/historyActions\";\r\nimport store from \"../../../store\";\r\nimport LoadingSpinner from \"../../shared/spinner/LoadingSpinner\";\r\nimport {InfoWrapperTypes} from \"../../../global/InfoWrapperTypes\";\r\nimport DataTable from \"../../shared/tables/DataTable\";\r\n// @ts-ignore\r\nimport Modal from \"react-awesome-modal\";\r\nimport JSONPretty from \"react-json-pretty\";\r\nimport {isAnyObject} from \"../../../helpers/ObjectHelpers\";\r\nimport {DateTimePicker} from \"react-widgets\";\r\nimport SelectList from \"../../shared/list/SelectList\";\r\nimport InfoWrapper from \"../../shared/error/InfoWrapper\";\r\nimport { IsPortalAdmin } from \"../../../helpers/SessionHelper\";\r\n\r\nclass History extends Component {\r\n constructor(props : any){\r\n super(props);\r\n this.update = this.update.bind(this);\r\n this.onSearchFieldChanged = this.onSearchFieldChanged.bind(this);\r\n this.state = {\r\n visible : false,\r\n }\r\n }\r\n\r\n componentWillMount() {\r\n store.dispatch(historyActions.getHistoryActions(IsPortalAdmin()));\r\n }\r\n\r\n componentDidMount() {\r\n this.update();\r\n }\r\n\r\n openModal() : void {\r\n this.setState({\r\n visible : true\r\n });\r\n }\r\n\r\n closeModal() : void {\r\n this.setState({\r\n visible : false\r\n });\r\n store.dispatch(historyActions.clearSelectedObject());\r\n }\r\n\r\n update(): void {\r\n store.dispatch(historyActions.getHistory(this.props.historystore.selectedAction, this.props.historystore.startDate, this.props.historystore.endDate));\r\n }\r\n\r\n onSortChanged(value : any) : void {\r\n store.dispatch(historyActions.onSortChanged(value));\r\n }\r\n\r\n onFilterChanged(event : any) : void {\r\n let filter = event.target.value;\r\n store.dispatch(historyActions.onFilterChanged(filter));\r\n }\r\n\r\n onSearchFieldChanged(event : any): void {\r\n let searchValue = event.target.value;\r\n store.dispatch(historyActions.onSearchChanged(searchValue));\r\n }\r\n\r\n infoData(element : any) : void {\r\n store.dispatch(historyActions.setAdditionalData(element));\r\n this.openModal();\r\n }\r\n\r\n renderActions(element : any) {\r\n return (\r\n \r\n this.infoData(element)}>\r\n \r\n )\r\n }\r\n\r\n addActions(items : any) : void {\r\n items.map((element : any) => {\r\n element.action = this.renderActions(element);\r\n return element;\r\n });\r\n }\r\n\r\n renderDialog(historyStore : any) : any {\r\n let object = historyStore.selectedObject.details;\r\n if (object !== null && object !== undefined && isAnyObject(object)) {\r\n object = JSON.parse(historyStore.selectedObject.details);\r\n Object.keys(object).forEach((key) => {\r\n if (object[key] == null || object[key] === undefined || object[key] === \"\") {\r\n delete object[key];\r\n }\r\n });\r\n }\r\n let printOut;\r\n if (isAnyObject(object)) {\r\n printOut =
;\r\n } else {\r\n printOut = object;\r\n }\r\n\r\n return this.closeModal()} >\r\n
\r\n

Detaildaten

\r\n
\r\n {printOut}\r\n
\r\n this.closeModal()}>Meldung schliessen\r\n
\r\n
\r\n }\r\n\r\n render(): React.ReactNode {\r\n const {historystore, history, actions} = this.props;\r\n let headings = [\r\n {\"name\" : \"Aktion\", \"sortkey\" : \"actionTypeString\"},\r\n {\"name\" : \"BearbeiterIn\", \"sortkey\" : \"requester\"},\r\n {\"name\" : \"Datum und Zeit\", \"sortkey\" : \"actionDate\"}\r\n ];\r\n if (history !== null && history !== undefined) {\r\n if (historystore.selectedAction === \"123\" || historystore.selectedAction === \"121\" || historystore.selectedAction === \"131\" || historystore.selectedAction === \"105\" || historystore.selectedAction === \"106\" || historystore.selectedAction === \"107\" || historystore.selectedAction === \"102\") {\r\n headings.push({\"name\" : \"Details\", \"sortkey\" : \"details\"});\r\n } else {\r\n headings.push({\"name\" : \"Aktionen\", \"sortkey\" : \"action\"});\r\n this.addActions(history);\r\n }\r\n }\r\n return (\r\n
\r\n \r\n

History

\r\n
\r\n \r\n \r\n \r\n store.dispatch(historyActions.setStartDate(value))} />\r\n store.dispatch(historyActions.setEndDate(value))} />\r\n
\r\n {this.renderDialog(historystore)}\r\n {(() => {\r\n switch (historystore.state) {\r\n case \"success\":\r\n return ;\r\n case \"loading\":\r\n return ;\r\n case \"error\":\r\n return ;\r\n default:\r\n return null;\r\n }\r\n })()}\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default History;","import {connect} from \"react-redux\";\r\nimport History from \"../../../components/admin/history/History\";\r\nimport {getSorted} from \"../../../selectors/basic\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n let historyData = store.history.data;\r\n let searchString = store.history.searchString;\r\n let searchOptions = {\"sortKeys\" : ['requester'], \"searchString\" : searchString };\r\n return {\r\n historystore: store.history,\r\n history : getSorted(historyData, {\"sortKey\" : store.history.sortedProperty, \"sortOrder\" : store.history.sortOrder }, searchOptions),\r\n actions : store.history.actions\r\n }\r\n}\r\n\r\nconst HistoryContainer = connect(mapStateToProps)(History);\r\nexport default HistoryContainer;","import React, {Component} from \"react\";\r\nimport {Route, Switch} from \"react-router\";\r\nimport TitleHelper from \"./shared/TitleHelper\";\r\nimport ChangelogOverviewContainer from \"../containers/admin/ChangelogOverviewContainer\";\r\nimport HistoryContainer from \"../containers/admin/history/HistoryContainer\";\r\n\r\nclass AdminBucket extends Component {\r\n render(): React.ReactNode {\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\nexport default AdminBucket;","import {connect} from \"react-redux\";\r\nimport AdminBucket from \"../components/AdminBucket\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n return {\r\n\r\n }\r\n}\r\n\r\nconst AdminBucketContainer = connect(mapStateToProps)(AdminBucket);\r\n\r\nexport default AdminBucketContainer;","import React, {Component} from \"react\";\r\nimport TitleHelper from \"./shared/TitleHelper\";\r\nimport store from \"../store\";\r\nimport * as changelogActions from \"../actions/changelogActions\";\r\n// @ts-ignore\r\nimport renderHTML from \"react-render-html\";\r\nimport LoadingSpinner from \"./shared/spinner/LoadingSpinner\";\r\nimport {InfoWrapperTypes} from \"../global/InfoWrapperTypes\";\r\nimport {FontAwesomeIcon} from \"@fortawesome/react-fontawesome\";\r\nimport InfoWrapper from \"./shared/error/InfoWrapper\";\r\n\r\nclass Changelog extends Component {\r\n constructor(props : any){\r\n super(props);\r\n this.update = this.update.bind(this);\r\n }\r\n\r\n componentDidMount(): void {\r\n this.update();\r\n }\r\n\r\n update(): void {\r\n store.dispatch(changelogActions.getRecent());\r\n }\r\n\r\n renderElements(changelogs : any) : void {\r\n return changelogs.map((element : any, index : number) => {\r\n return (<>\r\n

Version {element.versionNumber}

\r\n {renderHTML(element.description)}\r\n

\r\n )\r\n });\r\n }\r\n\r\n render(): React.ReactNode {\r\n const {changelogstore, changelogs} = this.props;\r\n return (\r\n <>\r\n \r\n

Changelog

\r\n {(() => {\r\n switch (changelogstore.state) {\r\n case \"success\":\r\n return this.renderElements(changelogs);\r\n case \"loading\":\r\n return ;\r\n case \"error\":\r\n return ;\r\n default:\r\n return null;\r\n }\r\n })()}\r\n\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default Changelog;","import {connect} from \"react-redux\";\r\nimport {getSortedSimple} from \"../selectors/basic\";\r\nimport Changelog from \"../components/Changelog\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n return {\r\n changelogstore : store.changelog ,\r\n changelogs : getSortedSimple(store.changelog.recent, {\"sortkey\" : \"versionNumber\", \"sortorder\" : \"descending\" })\r\n }\r\n}\r\n\r\nconst ChangelogContainer = connect(mapStateToProps)(Changelog);\r\n\r\nexport default ChangelogContainer;","export enum TicketTypes {\r\n SR = \"SR\",\r\n INC = \"INC\"\r\n}\r\n\r\nexport function getTicketType(type: number) : TicketTypes | null {\r\n switch(type){\r\n case 0:\r\n return TicketTypes.SR;\r\n case 1:\r\n return TicketTypes.INC;\r\n default:\r\n return null;\r\n }\r\n}\r\n\r\n","export enum TicketForms {\r\n PRIORITY = 'Priority',\r\n CONTACT = 'Contact',\r\n CONTACT_CHANGE = 'ContactChange',\r\n ESCALATION = 'Escalation'\r\n}","import React, {Component} from \"react\";\r\nimport {ICustomerSelectListProps} from \"../../../interfaces/interfaces\";\r\nimport Select from 'react-select';\r\n\r\nclass CustomerSelectList extends Component {\r\n render() {\r\n let options : any[] = [];\r\n let emptyOption: SearchableSelectListItem = {label: \"bitte Kunden auswählen\", value: \"\"}\r\n options.push(emptyOption);\r\n options = options.concat(this.props.options.map((opt : any) => ({label: opt[\"customerCode\"] + \" | \" + opt[\"name\"], value: opt[\"customerCode\"]})));\r\n let value: SearchableSelectListItem = emptyOption;\r\n if (this.props.selectedValue !== undefined || this.props.selectedValue !== \"\") {\r\n let selectedOption = this.props.options.filter((opt : any) => opt.customerCode === this.props.selectedValue);\r\n if (selectedOption[0] !== undefined) value = {label: selectedOption[0][\"customerCode\"] + \" | \" + selectedOption[0][\"name\"], value: selectedOption[0][\"customerCode\"]};\r\n }\r\n return (\r\n \r\n {sessionHelper.HasGlobalAccess() &&\r\n this.onFilterChanged(\"customer\", value)} selectedValue={selectedCustomer} />\r\n }\r\n {this.props.completed &&\r\n <>\r\n this.onDateChanged(\"startDate\", value, true)} />\r\n this.onDateChanged(\"endDate\", value, true)} />\r\n \r\n }\r\n {!isEmpty(tickets) && tickets.length > 0 && }\r\n \r\n \r\n {(() => {\r\n switch (ticketsStore.state) {\r\n case \"success\":\r\n return ;\r\n case \"loading\":\r\n return ;\r\n case \"error\":\r\n return ;\r\n default:\r\n return null;\r\n }\r\n })()}\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default TicketsOverview;","import { connect } from \"react-redux\";\r\nimport TicketsOverview from \"../../components/main/tickets/TicketsOverview\";\r\nimport { getSorted } from \"../../selectors/basic\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n let searchString = store.tickets.searchString;\r\n let searchOptions = {\"sortKeys\" : ['uhdTicketNumber', 'title', 'employee.department', 'contact.displayName', 'qualificationString'], \"searchString\" : searchString };\r\n return {\r\n ticketsStore: store.tickets,\r\n tickets : getSorted(store.tickets.data, {\"sortKey\" : store.tickets.sortedProperty, \"sortOrder\" : store.tickets.sortOrder }, searchOptions),\r\n customers : store.settings.customers,\r\n completed: false\r\n }\r\n}\r\n\r\nconst OpenTicketsOverviewContainer = connect(mapStateToProps)(TicketsOverview);\r\nexport default OpenTicketsOverviewContainer;","import { connect } from \"react-redux\";\r\nimport TicketsOverview from \"../../components/main/tickets/TicketsOverview\";\r\nimport { getSorted } from \"../../selectors/basic\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n let searchString = store.tickets.searchString;\r\n let searchOptions = {\"sortKeys\" : ['uhdTicketNumber', 'title', 'employee.department', 'contact.displayName', 'qualificationString'], \"searchString\" : searchString };\r\n return {\r\n ticketsStore: store.tickets,\r\n tickets : getSorted(store.tickets.data, {\"sortKey\" : store.tickets.sortedProperty, \"sortOrder\" : store.tickets.sortOrder }, searchOptions),\r\n customers : store.settings.customers,\r\n completed: true\r\n }\r\n}\r\n\r\nconst CompletedTicketsOverviewContainer = connect(mapStateToProps)(TicketsOverview);\r\nexport default CompletedTicketsOverviewContainer;","import React, {Component} from \"react\";\r\nimport { INotificationTextProps} from \"../../../interfaces/interfaces\";\r\n// @ts-ignore\r\nimport renderHTML from \"react-render-html\";\r\n\r\nclass NotificationText extends Component {\r\n constructor(props: INotificationTextProps) {\r\n super(props);\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n
\r\n {renderHTML(this.props.text.replace(/\\n/g, \"
\"))}\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default NotificationText;","import React, {Component} from \"react\";\r\nimport {INotificationItemProps} from \"../../../interfaces/interfaces\";\r\nimport NotificationText from \"./NotificationText\";\r\nimport { isNullOrEmpty } from \"../../../helpers/ObjectHelpers\";\r\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\nimport { HasCustomerAccess } from \"../../../helpers/SessionHelper\";\r\nimport moment from \"moment\";\r\n\r\nclass NotificationItem extends Component {\r\n constructor(props: INotificationItemProps) {\r\n super(props);\r\n }\r\n\r\n render() {\r\n let date: moment.Moment = moment(this.props.date);\r\n let displayDate: string = date.format(\"DD.MM.YYYY HH:mm\");\r\n let personImage = process.env.REACT_APP_HOST_IMAGES + \"/employees/hex/person.png\";\r\n \r\n return (\r\n
  • \r\n
    \r\n \r\n {displayDate}\r\n \r\n
    \r\n {currentTarget.src=personImage}}/>\r\n {this.props.person}\r\n
    \r\n {this.props.title}\r\n {!isNullOrEmpty(this.props.message) && }\r\n \r\n {this.props.allowComments && HasCustomerAccess() && this.props.onAnswerClick(this.props.id)}>Antworten }\r\n \r\n
  • \r\n );\r\n }\r\n}\r\n\r\nexport default NotificationItem;","import React, {Component} from \"react\";\r\nimport { isBoolean } from \"../../../helpers/ComponentHelpers\";\r\nimport { checkKeyCondition, getObjectValueByKey, isNullOrEmpty } from \"../../../helpers/ObjectHelpers\";\r\nimport {INotificationsProps} from \"../../../interfaces/interfaces\";\r\nimport NotificationItem from \"./NotificationItem\";\r\n\r\nclass Notifications extends Component {\r\n constructor(props: INotificationsProps) {\r\n super(props);\r\n this._renderContent = this._renderContent.bind(this);\r\n }\r\n\r\n _renderContent(){\r\n return this.props.elements.map((item : any, i) => {\r\n let text: string = getObjectValueByKey(item, this.props.textKey);\r\n let excludeComment: boolean = false;\r\n let tileClass = \"\";\r\n\r\n if(!!this.props.excludeCommentCondition){\r\n if(isBoolean(this.props.excludeCommentCondition)){\r\n excludeComment = this.props.excludeCommentCondition as boolean;\r\n }else{\r\n (this.props.excludeCommentCondition as KeyCondition[]).forEach(condition => {\r\n let exclude = checkKeyCondition(item, condition);\r\n if(exclude){\r\n excludeComment = true;\r\n }\r\n });\r\n }\r\n }\r\n\r\n if(!!this.props.highlightTileCondition){\r\n if(isBoolean(this.props.highlightTileCondition) && this.props.highlightTileCondition){\r\n tileClass = \"highlight\";\r\n }else{\r\n (this.props.highlightTileCondition as KeyCondition[]).forEach(condition => {\r\n let highlight = checkKeyCondition(item, condition);\r\n if(highlight){\r\n tileClass = \"highlight\";\r\n }\r\n });\r\n }\r\n }\r\n\r\n return this.props.onAnswerClick(id)}/>;\r\n });\r\n }\r\n\r\n render() {\r\n let additonalClasses = this.props.className !== undefined ? this.props.className : \"\";\r\n let classNames = \"notifications-wrapper \" + additonalClasses;\r\n return (\r\n
    \r\n
      {this._renderContent()}
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default Notifications;","import React, {Component} from \"react\";\r\nimport {IFileDownloadProps} from \"../../../interfaces/interfaces\";\r\nimport { isNullOrEmpty } from \"../../../helpers/ObjectHelpers\";\r\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\nimport { HasEditAccess } from \"../../../helpers/SessionHelper\";\r\nimport { getIconLinkByFileType } from \"../../../helpers/ExportHelpers\";\r\n\r\nclass FileDownload extends Component {\r\n constructor(props: IFileDownloadProps) {\r\n super(props);\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n \r\n this.props.onClick()}>{this.props.displayName} \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default FileDownload;","export function validateForm(values : any, getValidationSchema : any) {\r\n const validationSchema = getValidationSchema(values);\r\n try {\r\n validationSchema.validateSync(values, { abortEarly : false});\r\n return {};\r\n } catch (error) {\r\n return getErrorsFormValidationError(error)\r\n }\r\n}\r\n\r\nfunction getErrorsFormValidationError(validationError : any) {\r\n const FIRST_ERROR = 0;\r\n return validationError.inner.reduce((errors : any, error: any) => {\r\n return {\r\n ...errors,\r\n [error.path] : error.errors[FIRST_ERROR],\r\n }\r\n }, {});\r\n}","import React, { Component } from 'react';\r\nimport * as ticketActions from '../../../actions/ticketActions';\r\nimport store from \"../../../store\";\r\nimport TitleHelper from \"../../shared/TitleHelper\";\r\nimport '../../../styles/modules/autosuggest.scss';\r\nimport { isDefined, isEmpty } from '../../../helpers/ObjectHelpers';\r\nimport LoadingSpinner from '../../shared/spinner/LoadingSpinner';\r\nimport InfoWrapper from '../../shared/error/InfoWrapper';\r\nimport { InfoWrapperTypes } from '../../../global/InfoWrapperTypes';\r\nimport Button from '../../shared/buttons/Button';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport NotificationText from '../../shared/notifications/NotificationText';\r\nimport Notifications from '../../shared/notifications/Notifications';\r\n// @ts-ignore\r\nimport Modal from \"react-awesome-modal\";\r\nimport { Field, Form, Formik, FormikHelpers as FormikActions, FormikProps } from 'formik';\r\nimport TextareaAutosize from \"react-textarea-autosize\";\r\nimport FormError from '../../shared/forms/FormError';\r\nimport { ButtonTypes } from '../../../global/ButtonDefinitions';\r\nimport FormMessageContainer from '../../../containers/shared/FormMessageContainer';\r\nimport Download from '../../shared/export/Download';\r\nimport moment from 'moment';\r\nimport { setDateDisplaySortKeysForParameters, setDefaultValueForMultipleNullParameters, setEmployeesImageLink } from '../../../helpers/ListHelpers';\r\nimport { HasCustomerAccess, HasEditAccess } from '../../../helpers/SessionHelper';\r\nimport FilePreviewer from 'react-file-previewer';\r\nimport FileDownload from '../../shared/file/FileDownload';\r\nimport { PriorityChangeEnabled } from '../../../helpers/TicketHelpers';\r\nimport Description from '../../shared/forms/Description';\r\nimport { pushToIndex } from '../../../helpers/ArrayHelpers';\r\nimport * as Yup from 'yup';\r\nimport { validateForm } from '../../../helpers/FormValidationHelper';\r\n// @ts-ignore\r\nimport renderHTML from \"react-render-html\";\r\n\r\nclass TicketDetails extends Component {\r\n\r\n constructor(props : any){\r\n super(props);\r\n this.state = {\r\n idTicket: \"\",\r\n idStepsTicket: 0,\r\n uhdTicketNumber : \"\",\r\n title : \"\",\r\n requestText: \"\",\r\n impact : 0,\r\n impactString: \"\",\r\n urgency : 0,\r\n urgencyString: \"\",\r\n priority: 0,\r\n priorityString: \"\",\r\n qualification: 0,\r\n qualificationString: \"\",\r\n insertDate: new Date(),\r\n updateDate: new Date,\r\n startDate: new Date(),\r\n endDate: new Date(),\r\n planDate: new Date(),\r\n completed: false,\r\n employee: {} as Employee,\r\n contact: {} as Contact,\r\n affectedContact: {} as Contact,\r\n customer: {} as Customer,\r\n ticketHistoryEntries: [],\r\n ticketFiles: [],\r\n dataSet: false,\r\n comment: {} as TicketHistoryComment,\r\n allowEscalation: false,\r\n escalated: false,\r\n escalationDate: new Date()\r\n };\r\n this.handleCommentSubmit = this.handleCommentSubmit.bind(this);\r\n }\r\n \r\n componentWillMount() : void {\r\n let id = this.props.match.params.id;\r\n if (isDefined(id) && this.state.idTicket === '') {\r\n this.setState({idTicket : id});\r\n store.dispatch(ticketActions.getTicketById(id));\r\n }\r\n }\r\n\r\n componentWillUnmount(): void {\r\n store.dispatch(ticketActions.clear());\r\n }\r\n\r\n componentDidUpdate(): void {\r\n const {initalValues} = this.props;\r\n if (!isEmpty(initalValues) && (!this.state.dataSet || initalValues.ticketHistoryEntries.length != this.state.ticketHistoryEntries.length)) {\r\n this.setState(initalValues);\r\n this.setState({dataSet : true});\r\n }\r\n }\r\n\r\n getCommentValidationSchema(values: TicketHistoryComment) {\r\n return Yup.object().shape({\r\n text: Yup.string().matches(/^[^<>]+$/, \"Folgende Zeichen sind nicht erlaubt: <, >\").required(\"* dieses Feld ist erforderlich.\").nullable()\r\n });\r\n }\r\n\r\n loadFile(id: string, fileName: string): void {\r\n store.dispatch(ticketActions.loadFile(id, fileName));\r\n }\r\n\r\n setCommentPage(open: boolean, id: string = \"\", form: FormikProps | null = null) : void {\r\n\r\n if(!open && form !== null){\r\n let comment = form.values;\r\n comment.ticketHistory = comment.ticketHistory = {} as TicketHistory;\r\n comment.ticketHistory.idTicketHistory = \"\";\r\n comment.text = \"\";\r\n form.resetForm();\r\n\r\n }else if(open){\r\n let comment = this.state.comment;\r\n comment.ticketHistory = {} as TicketHistory;\r\n comment.ticketHistory.idTicketHistory = id;\r\n comment.text = localStorage.getItem(`comment-${id}`) ?? \"\";\r\n \r\n this.setState({\r\n comment: comment\r\n });\r\n }\r\n\r\n store.dispatch(ticketActions.setCommentPageOpen(open));\r\n }\r\n\r\n handleCommentSubmit(values : TicketHistoryComment, actions : FormikActions): void{\r\n store.dispatch(ticketActions.sendComment(values, this.state.uhdTicketNumber));\r\n actions.setSubmitting(false);\r\n }\r\n\r\n renderDetails() {\r\n const {ticketstore} = this.props;\r\n\r\n let exportDetailsHeadings = [\r\n {label : \"\", key : \"label\", width : 21, bold: true},\r\n {label : \"\", key : \"value\", width : 50}\r\n ];\r\n\r\n let exportHistoryHeadings = [\r\n {label : \"Datum/Uhrzeit\", key : \"insertDate\", width : 25},\r\n {label : \"Text\", key : \"text\", width : 50},\r\n {label : \"BearbeiterIn/Kontakt\", key : \"displayName\", width : 25},\r\n {label : \"Verarbeitungsschritt\", key : \"workStep.title\", width : 30}\r\n ];\r\n\r\n let ticketTitle = this.state.title;\r\n let uhdTicketNumber = this.state.uhdTicketNumber;\r\n let qualificationString = this.state.qualificationString;\r\n let priorityString = this.state.priorityString;\r\n let urgencyString = this.state.urgencyString;\r\n let impactString = this.state.impactString;\r\n let startDate = moment(this.state.startDate).format('DD.MM.YYYY');\r\n let planDate = moment(this.state.planDate).format('DD.MM.YYYY');\r\n let endDate = moment(this.state.endDate).format('DD.MM.YYYY');\r\n let employee = !isEmpty(this.state.employee) ? this.state.employee.department : \"-\";\r\n let contact = !isEmpty(this.state.contact) ? this.state.contact.displayName : \"-\";\r\n let affectedContact = !isEmpty(this.state.affectedContact) ? this.state.affectedContact.displayName : \"-\";\r\n let requestText = this.state.requestText;\r\n let escalated = this.state.escalated;\r\n let escalationDate = moment(this.state.escalationDate).format('DD.MM.YYYY');\r\n\r\n let defaultValuesForWorkSteps: DefaultText[] = [\r\n {key: \"text\", text: \"Ihr Ticket wurde registriert.\", condition: {key: \"workStep.idStepsWorkStep\", value: 41, invert: false}},\r\n {key: \"text\", text: \"Ihr Ticket wurde intern bearbeitet.\", condition: {key: \"workStep.idStepsWorkStep\", value: 46, invert: false}},\r\n {key: \"text\", text: \"Kontaktaufnahme mit Lieferant.\", condition: {key: \"workStep.idStepsWorkStep\", value:39, invert: false}},\r\n {key: \"text\", text: \"Lieferant hat geantwortet.\", condition: {key: \"workStep.idStepsWorkStep\", value: 44, invert: false}}\r\n ];\r\n\r\n let ticketHistoryEntries = setDefaultValueForMultipleNullParameters(this.state.ticketHistoryEntries, defaultValuesForWorkSteps);\r\n ticketHistoryEntries = setEmployeesImageLink(ticketHistoryEntries);\r\n\r\n let ticketFiles: TicketFile[] = this.state.ticketFiles;\r\n\r\n let ticketDetails: any[] = [\r\n {label: \"Ticket-Nr.\", value: uhdTicketNumber},\r\n {label: \"Qualifizierung\", value: qualificationString},\r\n {label: \"Titel\", value: ticketTitle},\r\n {label: \"Priorität\", value: priorityString},\r\n {label: \"Dringlichkeit\", value: urgencyString},\r\n {label: \"Auswirkung\", value: impactString},\r\n {label: \"Eingangsdatum\", value: startDate},\r\n {label: \"Soll-Lösung\", value: planDate},\r\n this.state.completed ? {label: \"Abschlussdatum\", value: endDate} : null,\r\n {label: \"Eskaliert\", value: escalated ? \"JA\" : \"NEIN\"},\r\n this.state.escalated ? {label: \"Datum der Eskalierung\", value: escalationDate} : null,\r\n {label: \"BearbeiterIn\", value: employee},\r\n {label: \"SuperuserIn\", value: contact},\r\n {label: \"Betroffene Person im Ticket\", value: affectedContact},\r\n {label: \"Text\", value: requestText}\r\n ];\r\n\r\n ticketDetails = ticketDetails.filter(x => x !== null);\r\n\r\n let sheets: DownloadSheetProps[] = [\r\n {data: ticketDetails, headings: exportDetailsHeadings, sheetName: \"Details\", showHeadings: true},\r\n {data: ticketHistoryEntries, headings: exportHistoryHeadings, sheetName: \"Verlauf\", showHeadings: true}\r\n ];\r\n\r\n let excludeCommentCondition: KeyCondition[] = this.state.completed ?\r\n [{key: \"workStep.idStepsWorkStep\", value: 0, invert: true}] :\r\n [\r\n {key: \"workStep.idStepsWorkStep\", value: 45, invert: false},\r\n {key: \"workStep.idStepsWorkStep\", value: 41, invert: false},\r\n {key: \"workStep.idStepsWorkStep\", value: 46, invert: false},\r\n {key: \"workStep.idStepsWorkStep\", value: 39, invert: false},\r\n {key: \"workStep.idStepsWorkStep\", value: 44, invert: false}\r\n ];\r\n\r\n let highlightTileCondition: KeyCondition[] = [\r\n {key: \"workStep.idStepsWorkStep\", value: 38, invert: false},\r\n {key: \"workStep.idStepsWorkStep\", value: 43, invert: false},\r\n {key: \"workStep.idStepsWorkStep\", value: 42, invert: false}\r\n ];\r\n\r\n let editPriorityAction: any = null;\r\n if(!this.state.completed && HasEditAccess()){\r\n if(PriorityChangeEnabled(this.state.qualification)){\r\n editPriorityAction = (\r\n \r\n );\r\n }else{\r\n editPriorityAction = (\r\n \r\n );\r\n }\r\n }\r\n return (\r\n <>\r\n

    {ticketTitle}

    \r\n \r\n
    \r\n
    \r\n

    Details

    \r\n
    \r\n Ticket-Nr.\r\n {uhdTicketNumber}\r\n
    \r\n
    \r\n Qualifizierung\r\n {qualificationString}\r\n
    \r\n
    \r\n Priorität\r\n {priorityString} {editPriorityAction}\r\n
    \r\n
    \r\n Dringlichkeit\r\n {urgencyString}\r\n
    \r\n
    \r\n Auswirkung\r\n {impactString}\r\n
    \r\n
    \r\n Eingangsdatum\r\n {startDate}\r\n
    \r\n
    \r\n Soll-Lösung\r\n {planDate}\r\n
    \r\n {this.state.completed &&\r\n
    \r\n Abschlussdatum\r\n {endDate}\r\n
    \r\n }\r\n
    \r\n Eskaliert\r\n \r\n
    \r\n {this.state.escalated &&\r\n
    \r\n Datum der Eskalierung\r\n {escalationDate}\r\n
    \r\n }\r\n
    \r\n BearbeiterIn\r\n {employee}\r\n
    \r\n
    \r\n SuperuserIn\r\n {contact} {!this.state.completed && HasEditAccess() && }\r\n
    \r\n
    \r\n Betroffene Person im Ticket\r\n {affectedContact} {!this.state.completed && HasEditAccess() && }\r\n
    \r\n
    \r\n Text\r\n
    \r\n
    \r\n {renderHTML(requestText.replace(/\\n/g, \"
    \"))}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Anhänge\r\n
    \r\n {ticketFiles.length > 0 && ticketFiles.map(file => {\r\n return this.loadFile(file.idTicketFile, file.fileName)} displayName={file.fileName}/>\r\n })}\r\n {ticketFiles.length == 0 &&\r\n Keine Anhänge vorhanden.\r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    Verlauf

    \r\n {!this.state.completed && HasCustomerAccess() &&\r\n \r\n }\r\n {this.state.allowEscalation && !this.state.escalated && HasEditAccess() && !this.state.completed &&\r\n \r\n }\r\n {ticketHistoryEntries.length > 0 && \r\n <>\r\n this.setCommentPage(true, id)}/>\r\n \r\n {this.renderCommentForm()}\r\n \r\n \r\n }\r\n {ticketHistoryEntries.length == 0 && \r\n

    Kein Verlauf vorhanden.

    \r\n }\r\n
    \r\n
    \r\n \r\n );\r\n }\r\n\r\n renderCommentForm(){\r\n const setCommentText = (form: FormikProps, value: string) => {\r\n form.setFieldValue(\"text\", value);\r\n localStorage.setItem(`comment-${form.values.ticketHistory.idTicketHistory}`, value);\r\n }\r\n return (\r\n
    \r\n

    Kommentar

    \r\n
    \r\n \r\n validateForm(values, this.getCommentValidationSchema)} onSubmit={this.handleCommentSubmit} validateOnChange={true}>\r\n {(form: FormikProps) => {\r\n return (\r\n
    \r\n
    \r\n \r\n setCommentText(form, e.target.value)}/>\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n )\r\n }}\r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n\r\n render(): React.ReactNode {\r\n const {ticketstore} = this.props;\r\n return (\r\n <>\r\n \r\n

    Ticket Details

    \r\n \r\n {(() => {\r\n switch (ticketstore.state) {\r\n case \"success\":\r\n return this.renderDetails();\r\n case \"loading\":\r\n return ;\r\n case \"error\":\r\n return ;\r\n case \"empty\":\r\n return ;\r\n default:\r\n return null;\r\n }\r\n })()}\r\n \r\n );\r\n \r\n }\r\n}\r\n\r\nexport default TicketDetails;","import { connect } from \"react-redux\";\r\nimport TicketDetails from \"../../components/main/tickets/TicketDetails\";\r\n\r\nfunction mapStateToProps(store : any) {\r\n return {\r\n initalValues: store.tickets.selectedObject,\r\n ticketstore: store.tickets\r\n }\r\n}\r\n\r\nconst TicketDetailsContainer = connect(mapStateToProps)(TicketDetails);\r\nexport default TicketDetailsContainer;","export function getDateClass(date: Date, minDate: Date, maxExpressDate: Date): string {\r\n let day = date.getDay();\r\n let isWeekDay = day !== 0 && day !== 6;\r\n \r\n if(date < minDate || !isWeekDay){\r\n return \"disabled-date\";\r\n }\r\n if(date >= minDate && date <= maxExpressDate){\r\n return \"express-date\";\r\n }\r\n if(date > maxExpressDate){\r\n return \"normal-date\";\r\n }\r\n\r\n return \"\";\r\n}\r\n\r\nexport function checkExpressDate(date: Date | null, minDate: Date, maxExpressDate: Date) : boolean{\r\n if(date === null) return false;\r\n let dateClass = getDateClass(date, minDate, maxExpressDate);\r\n return dateClass === \"express-date\";\r\n}","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React from 'react';\r\nimport { ITicketDatePickerProps } from \"../../../interfaces/interfaces\";\r\nimport FormError from \"./FormError\";\r\nimport Label from \"./Label\";\r\nimport DatePicker, {registerLocale} from \"react-datepicker\";\r\nimport de from \"date-fns/locale/de\";\r\nimport { checkExpressDate, getDateClass } from '../../../helpers/DateHelpers';\r\nregisterLocale(\"de\", de);\r\n\r\nclass TicketDatePicker extends React.Component {\r\n constructor(props : any) {\r\n super(props);\r\n }\r\n\r\n render() {\r\n \r\n return (\r\n <>\r\n