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AA,KAACgpE,GAAY,OACrDhpE,EAAAA,GAAAA,KAACm2C,EAAAA,MAAK,CAACzoB,KAAK,gBAAgBgB,SAAS1uB,EAAAA,GAAAA,KAACqpE,GAAe,OACrDrpE,EAAAA,GAAAA,KAACm2C,EAAAA,MAAK,CAACzoB,KAAK,gBAAgBgB,SAAS1uB,EAAAA,GAAAA,KAAC6C,GAAY,OAClD7C,EAAAA,GAAAA,KAACm2C,EAAAA,MAAK,CAACzoB,KAAK,IAAIgB,SAAS1uB,EAAAA,GAAAA,KAAC0nE,GAAG,iBAMvC+C,IAOFI,I","sources":["components/CountSlice.ts","Variables/NavState.ts","components/Nav/NavSlice.ts","Variables/StaticVariables.ts","redux/api/BaseApi.ts","redux/api/UserApi.ts","redux/api/ProjectApi.ts","slices/TicketSlice.ts","slices/ActionSlice.ts","components/Attachment/FileSlice.ts","slices/FeedSlice.ts","slices/FavoriteSlice.ts","Variables/RightBarState.ts","slices/RightBarSlice.ts","slices/KBSlice.ts","slices/RevelationSlice.ts","redux/api/errorHandling/ApiErrorHandler.ts","redux/store.ts","components/Auth/AuthSettings.ts","redux/hooks.ts","components/Nav/Spinny.tsx","context/UserContext.ts","components/Common/ErrorCard.tsx","context/RevelationContext.tsx","components/ErrorPages/NoAuthServer.tsx","redux/api/AssetApi.ts","redux/api/TicketApi.ts","components/Ticket/FormControls/LogOptions.tsx","utils/utils.ts","components/Ticket/GridControls/TicketGrid.tsx","components/Ticket/FormControls/TicketHierarchy.tsx","components/Ticket/GridControls/ExistingTickets.tsx","components/Asset/GridColumnOptions.tsx","components/Asset/AssetGrid.tsx","components/Ticket/GridControls/TicketAssets.tsx","components/Ticket/Timeline.tsx","components/CustomForms/FieldTypes/DateField.tsx","components/CustomForms/FieldTypes/DropdownField.tsx","components/CustomForms/FieldTypes/NumericField.tsx","components/CustomForms/FieldTypes/TextField.tsx","redux/api/ClientApi.ts","components/Client/ListControls/ClientFieldList.tsx","components/CustomForms/FieldTypes/ClientField.tsx","components/User/ListControls/StaffList.tsx","components/CustomForms/FieldTypes/StaffField.tsx","components/Common/Time.tsx","components/CustomForms/FieldTypes/TimeField.tsx","components/CustomForms/FieldTypes/EndUserField.tsx","components/CustomForms/FormField.tsx","components/CustomForms/CustomForm.tsx","components/ClientType/FilterButton.tsx","components/Ticket/FormControls/BulkLogButton.tsx","components/User/UserDetailsModal.tsx","components/Ticket/ListControls/UserFynd.tsx","components/Ticket/ListControls/SLAList.tsx","components/Ticket/ListControls/StatusList.tsx","components/Project/ListControls/ProjectList.tsx","components/Ticket/ListControls/PriorityList.tsx","components/Ticket/ListControls/AssociatedContacts.tsx","components/Ticket/ListControls/TeamList.tsx","components/Ticket/ListControls/AssignedStaff.tsx","components/Ticket/ListControls/TypeList.tsx","components/CustomForms/Validators/DropdownFieldValidator.ts","components/CustomForms/Validators/NumberFieldValidator.ts","components/CustomForms/Validators/CustomFieldValidator.ts","components/CustomForms/Validators/EndUserFieldValidator.ts","components/CustomForms/Validators/DateFieldValidator.ts","components/Ticket/TicketSavedDialog.tsx","components/Ticket/ListControls/RoleList.tsx","types/Setting/Setting.ts","redux/api/SystemApi.ts","components/Action/ActionDate.tsx","utils/TreeDataOperations.ts","components/Ticket/QuickNotes/AddQuickNote.tsx","components/Ticket/QuickNotes/QuickNotesList.tsx","components/Ticket/FormControls/Stopwatch.tsx","components/Common/Mentions/Mentions.tsx","components/Common/Mentions/utils.ts","components/Common/Mentions/Handlers.ts","components/Common/TextEditor.tsx","components/Action/ActionNote/ActionNoteTextEditor.tsx","components/Action/ActionNote/ActionNote.tsx","components/ClientType/ClientTypeList.tsx","components/ClientType/ClientTypeFilter.tsx","components/Ticket/ListControls/BulkContacts.tsx","components/Ticket/TicketDetails/TicketDescription/Description.tsx","components/Ticket/TicketDetails/TicketDescription/TicketDescription.tsx","components/Test/JsonTreeViewer.tsx","components/Gameplan/WorkstreamList.tsx","components/Gameplan/TicketWorkstream.tsx","components/Gameplan/WorkstreamAssignment.tsx","components/Ticket/FormControls/FlaggedNotes.tsx","components/Ticket/TicketDetails/TicketDetails.tsx","components/Ticket/ListControls/TemplateList.tsx","redux/api/FileApi.ts","types/File/FileType.ts","components/Ticket/FormControls/TemplateActions.tsx","components/Ticket/FormControls/Templates.tsx","components/Ticket/FormControls/KBPreview.tsx","components/Ticket/FormControls/KnowledgeBase.tsx","components/Attachment/FileUpload.tsx","components/Ticket/FormControls/Attachments.tsx","redux/api/KBApi.ts","components/Ticket/FormControls/SplitActions.tsx","components/Ticket/TicketDrawer.tsx","components/Ticket/TicketPage.tsx","components/Ticket/TicketModal.tsx","redux/api/FavoriteApi.ts","components/User/Settings.ts","components/RightBar/Contacts/HeaderMenu.tsx","components/RightBar/Revelations/Revelations.tsx","components/RightBar/Revelations/RevelationsPage.tsx","redux/api/FeedApi.ts","components/RightBar/ActivityFeed/HeaderMenu.tsx","components/Team/TeamMultiSelect.tsx","components/Project/ListControls/ProjectTypeList.tsx","components/Client/ListControls/ClientList.tsx","components/RightBar/ActivityFeed/SettingsDialog.tsx","components/Common/ErrorBoundry.tsx","components/RightBar/ActivityFeed/ActivityFeed.tsx","components/User/Fav.tsx","components/RightBar/Contacts/ContactsMenu.tsx","components/RightBar/Contacts/ContactCard.tsx","components/RightBar/Contacts/SettingsDialog.tsx","components/RightBar/Contacts/Settings.tsx","components/RightBar/Contacts/Contacts.tsx","components/RightBar/ToolButton.tsx","components/RightBar/Chat/ChatBar.tsx","components/Chat/ChatRequest.tsx","components/RightBar/RightBar.tsx","components/Revelation/SessionKeepAlive.tsx","components/Revelation/RevelationIframe.tsx","components/Nav/Deeplink.tsx","components/License/LicenseManager.tsx","components/Nav/MimicBar.tsx","components/Nav/NavLogo.tsx","redux/api/AlertApi.ts","components/Nav/Notifications/Notifications.tsx","components/Nav/ProfileNav/HamburgerMenu/HamburgerMenu.tsx","components/Nav/ProfileNav/ProfileDropdown/ProductTour.tsx","components/Nav/ProfileNav/ProfileDropdown/TrialTour.tsx","components/Nav/ProfileNav/ProfileDropdown/ProfileDropdown.tsx","components/DropdownCheckbox/constants.ts","components/DropdownCheckbox/styled/background.tsx","components/DropdownCheckbox/styled/dropdown.tsx","components/DropdownCheckbox/styled/wrapper.tsx","components/DropdownCheckbox/styled/label.tsx","components/DropdownCheckbox/styled/option.tsx","components/DropdownCheckbox/styled/single.tsx","components/DropdownCheckbox/styled/multi.tsx","components/DropdownCheckbox/hooks.ts","components/DropdownCheckbox/CustomSmartOption.tsx","components/DropdownCheckbox/utils.ts","components/DropdownCheckbox/CustomSmartSelect.tsx","components/Nav/ProfileNav/CheckBoxDropdownFilter/CheckBoxDropdownFilter.tsx","components/Nav/ProfileNav/QuickSearch/QuickSearch.tsx","components/Nav/ProfileNav/QuickSearch/QuickSearchWrapper.tsx","components/Nav/ProfileNav/FocusedViewToggle.tsx","components/Nav/ProfileNav/Logout.tsx","components/Nav/ProfileNav/AdminAreaButton.tsx","components/Nav/ProfileNav/CoreIcon.tsx","components/Nav/ProfileNav/ProfileNav.tsx","components/Nav/NavButton/NavButton.tsx","components/Nav/NavButton/FluentButtonBar.tsx","components/Nav/NavWrapper.tsx","components/Nav/NavBar.tsx","components/RightBar/ActivityFeed/FeedPage.tsx","components/Action/ActionForm.tsx","components/Action/ActionSavedDialog.tsx","components/Action/ActionModal.tsx","components/RightBar/Contacts/ContactsPage.tsx","components/Chat/ChatPageWarpper.tsx","redux/api/ChatApi.ts","components/Chat/LogTicketFromChat.tsx","components/Routes/AppRoutes.tsx","components/Auth/SignoutPage.tsx","App.tsx","reportWebVitals.ts","components/Auth/CallbackPage.tsx","components/Auth/SilentRenewPage.tsx","utils/ApplicationInsights.ts","bootstrap.tsx"],"sourcesContent":["import { createSlice } from \"@reduxjs/toolkit\";\n\nconst CountSlice = createSlice({\n name: \"count\",\n initialState: {\n value: 0,\n },\n reducers: {\n IncreaseCount: (state, action) => {\n state.value = action.payload;\n },\n DecreaseCount: (state, action) => {\n state.value = action.payload;\n },\n },\n});\n\nexport const {IncreaseCount, DecreaseCount} = CountSlice.actions\nexport default CountSlice.reducer\n","import { ISearchQuickResults } from \"../types/ISearch\";\n\nconst NavInitialState = {\n quickSearchResults: [] as ISearchQuickResults[],\n quickSearchingFlag: false,\n quickSearchInput: \"\",\n contextMenuOpen: \"\",\n};\nexport default NavInitialState;\n","import { createSlice } from \"@reduxjs/toolkit\";\nimport NavInitialState from \"../../Variables/NavState\";\n\nconst NavSlice = createSlice({\n name: \"nav1\",\n initialState: NavInitialState,\n reducers: {\n updateQuickSearchResults: (state, action) => {\n state.quickSearchResults = action.payload;\n },\n toggleQuickSearchingFlag: (state, action) => {\n state.quickSearchingFlag = action.payload;\n },\n updateQuickSearchInput: (state, action) => {\n state.quickSearchInput = action.payload;\n },\n setContextMenuOpen: (state, action) => {\n state.contextMenuOpen = action.payload;\n },\n },\n});\n\nexport const {\n updateQuickSearchResults,\n toggleQuickSearchingFlag,\n updateQuickSearchInput,\n setContextMenuOpen,\n} = NavSlice.actions;\nexport default NavSlice.reducer;\n","\nimport { IUserProfile } from \"../types/User/IUserProfile\";\n\nexport const INITIAL_USER_CONTEXT: Partial = {};\nexport class Constants {\n //Identity server settings\n public static stsAuthority = \"https://login.revelationhelpdesk.com/common/\";\n // public static stsAuthority = \"https://localhost:5001/common/\";\n public static clientId = \"Revelation.NewUX\";\n //public static clientRoot = \"https://localhost:4200/\";\n public static clientRoot = window.location.origin + process.env.PUBLIC_URL; // window.location.pathname;\n public static clientScope = \"offline_access Revelation.Api\"; //openid makes sure we get the id_token so we get the \"Sign back in\" button on the logout page.\n\n //Revelation API (V2) (moved to .env)\n public static apiRoot = process.env.REACT_APP_REVELATION_API_URL;\n public static appInsightsInstrumentationKey = process.env.REACT_APP_APPLICATION_INSIGHTS_CONNECTION;\n}\n//console.log('process.env.REACT_APP_REVELATION_API_URL', process.env)\n\nconst REVELATION_IFRAME = \"RevelationIframe\";\n\nconst ticketFilters = [\n \"Check All\",\n \"Quick Search\",\n \"Tickets Open\",\n \"Tickets Closed\",\n \"Client\",\n \"Projects\",\n \"People\",\n \"KBs\",\n \"Assets\",\n];\nconst profileDropdownItems = [\n \"My Account\",\n \"Ticket Monitor\",\n \"Email Signature\",\n \"@Tag Settings\",\n \"Single Sign On\",\n \"Interface Options\",\n \"Product Tour\",\n];\nconst symbolSize = 30;\nexport {\n REVELATION_IFRAME,\n ticketFilters,\n profileDropdownItems,\n symbolSize\n};\n","import { createApi, fetchBaseQuery } from \"@reduxjs/toolkit/query/react\";\nimport {\n ISearchQuick,\n ISearchQuickPost,\n ISearchType,\n} from \"../../types/ISearch\";\nimport { IUserProfile } from \"../../types/User/IUserProfile\";\nimport { IAssConfig, IUser } from \"../../types/User/IUser\";\nimport { Constants } from \"../../Variables/StaticVariables\";\nimport { ITenant } from \"../../types/ITenant\";\nimport IForm from \"../../types/Form/IForm\";\nimport { IProject } from \"../../types/Project/IProject\";\nimport { IPriority } from \"../../types/IPriority\";\nimport { ISLA } from \"../../types/ISLA\";\nimport { ISearchField } from \"../../types/ISearchField\";\nimport { IFyndResult } from \"../../types/IFyndResult\";\nimport { IAssociatedContact } from \"../../types/Ticket/ITicket\";\nimport { IProjectAssignment } from \"../../types/Project/IProjectAssignment\";\nimport { IFormConfig } from \"../../types/Form/IFormConfig\";\nimport { RootState } from \"../store\";\nimport Cookies from 'js-cookie';\n\nconst Api = createApi({\n reducerPath: \"api\",\n baseQuery: fetchBaseQuery({\n baseUrl: Constants.apiRoot,\n prepareHeaders: async (headers, { getState }) => {\n //console.log('prepareHeaders', (getState() as RootState).auth);\n const token = (getState() as RootState).auth.user?.access_token;\n //const token = (await userManager.getUser()).access_token;\n if (token !== \"null\" && token) {\n headers.set(\"authorization\", `Bearer ${token}`);\n }\n return headers;\n },\n }),\n tagTypes: [\n \"Chat\",\n \"Chats\",\n \"ChatMessages\",\n \"UserProfile\",\n \"UpdateSearchType\",\n \"QuickSearch\",\n \"UpdateStaff\",\n \"GetTenant\",\n \"ImageTicketTimeline\",\n \"ImageTimeline\",\n \"FormByProject\",\n \"ProjectList\",\n \"SLAList\",\n \"PriorityList\",\n \"ClientList\",\n \"GetPriority\",\n \"GetSLA\",\n \"GetTeams\",\n \"GetTeam\",\n \"UserFyndConfig\",\n \"GetProject\",\n \"GetStatuses\",\n \"GetTicket\",\n \"GetForm\",\n \"GetUsers\",\n \"TypeList\",\n \"SLAConfig\",\n \"GetAssociatedContacts\",\n \"GetProjectAssignment\",\n \"GetOpenTickets\",\n \"GetOpenParentTickets\",\n \"GetAssContactConfig\",\n \"GetClient\",\n \"GetUsersByIds\",\n \"GetUser\",\n \"MyLogOptions\",\n \"GetAssets\",\n \"UserRoles\",\n \"GetUsersById\",\n \"FormConfig\",\n \"GetUserSetting\",\n \"UpdateUserSetting\",\n \"GetClientTypes\",\n \"GetClientTypeFilter\",\n \"GetSystemHours\",\n \"GetQuickNotes\",\n \"GetMyTemplates\",\n \"GetTemplate\",\n \"GetTemplateAssignment\",\n \"GetTemplateActions\",\n \"GetStatus\",\n \"GetQuickNoteAsAction\",\n \"FileIsActive\",\n \"GetStopwatches\",\n \"GetSystemStartEnd\",\n \"GetFiles\",\n \"GetFileSetting\",\n \"KBSearch\",\n \"GetMyStatuses\",\n \"GetUserFeed\",\n \"GetUserFavs\",\n \"GetFeedConfig\",\n \"ProjectTypeList\",\n \"GetContacts\",\n \"GetFavConfig\",\n \"GetAlertConfig\",\n \"GetTenantConfig\",\n \"GetWorkstreams\",\n \"GetOffice\",\n \"GetClassification\",\n \"GetMyClient\",\n \"DebugTimezone\"\n ],\n endpoints: (build) => ({\n getTenant: build.query({\n query: (tenantUid) => {\n const revTenantCookie = Cookies.get('RevTenantUid');\n return \"Account/TenantConfig/?tenantUrl=\" + document.location.host + \"&tenantUid=\" + (revTenantCookie || \"\")\n },\n providesTags: [\"GetTenant\"],\n }),\n renewlicense: build.mutation({\n query: () => ({\n url: \"License/Renew\",\n method: \"POST\",\n }),\n }),\n releaselicense: build.mutation({\n query: () => ({\n url: \"License/Release\",\n method: \"POST\",\n }),\n }),\n getAssContactConfig: build.query({\n query: (clientTypeId) => `ClientType/${clientTypeId}/AssociatedContacts`,\n providesTags: [\"GetAssContactConfig\"],\n }),\n getSLAList: build.query({\n query: ({ projectId, priorityId }) =>\n \"SLA/?projectId=\" + projectId + \"&priorityId=\" + priorityId,\n providesTags: [\"SLAList\"],\n }),\n getPriorityList: build.query({\n query: (prioritySetId) =>\n \"Ticket/Priority/?prioritySetId=\" + prioritySetId,\n providesTags: [\"PriorityList\"],\n }),\n getProjectAssignment: build.query({\n query: (projectId) => `Project/${projectId}/Assignment`,\n providesTags: [\"GetProjectAssignment\"],\n }),\n getAssociatedContacts: build.query<\n IAssociatedContact[],\n { ticketId: number }\n >({\n query: (ticketId) => `Ticket/${ticketId}/Contact`,\n providesTags: [\"GetAssociatedContacts\"],\n }),\n getUserProfile: build.query({\n query: (uid) => {\n console.log('getUserProfile', uid);\n if (uid) {\n return `User/${uid}/Profile`;\n }\n return \"User/Profile\";\n },\n providesTags: [\"UserProfile\"],\n }),\n invalidateProfile: build.mutation({\n queryFn: () => {\n console.log('invalidateProfile')\n return ({ data: null })\n },\n invalidatesTags: [\"UserProfile\"],\n }),\n updateFocusedViewToggle: build.mutation({\n query: (info) => ({\n url: `User/Me/ToggleNav`,\n method: \"POST\",\n body: { Collapsed: info },\n }),\n async onQueryStarted(info, { dispatch, queryFulfilled }) {\n const postResult = dispatch(\n Api.util.updateQueryData(\"getUserProfile\", undefined, (draft) => {\n draft.Nav_Collapsed = info;\n })\n );\n try {\n await queryFulfilled;\n } catch {\n postResult.undo();\n }\n },\n invalidatesTags: [\"UserProfile\"],\n }),\n getTicketTimelineImage: build.query({\n query: (ticketId) => ({\n url: \"Image/Timeline/\" + ticketId,\n headers: { Accept: \"image/jpeg\" },\n responseHandler: async (response) => {\n const reader = new FileReader();\n return new Promise((resolve, reject) => {\n reader.onload = () => {\n const base64data = reader.result;\n resolve(base64data);\n };\n reader.onerror = (err) => {\n reject(err);\n };\n response.blob().then((value) => reader.readAsDataURL(value));\n });\n },\n }),\n providesTags: [\"ImageTicketTimeline\"],\n }),\n getTimelineImage: build.query<\n any,\n { projectId: number; slaId: number; priorityId: number }\n >({\n query: ({ projectId, slaId, priorityId }) => ({\n url: `Image/Timeline/${projectId}/${slaId ? slaId : 0}/${priorityId}/`,\n headers: { Accept: \"image/jpeg\" },\n responseHandler: async (response) => {\n const reader = new FileReader();\n return new Promise((resolve, reject) => {\n reader.onload = () => {\n const base64data = reader.result;\n resolve(base64data);\n };\n reader.onerror = (err) => {\n reject(err);\n };\n response.blob().then((value) => reader.readAsDataURL(value));\n });\n },\n }),\n providesTags: [\"ImageTimeline\"],\n }),\n getForm: build.query({\n query: (formId) => {\n return `Form/${formId}/`;\n },\n providesTags: [\"FormByProject\"],\n }),\n getFormConfig: build.query({\n query: () => `Form/Config`,\n providesTags: [\"FormConfig\"],\n }),\n getFormByProject: build.query<\n IForm,\n { projectId: number; companyId?: number; locationId?: number }\n >({\n query: ({ projectId, companyId, locationId }) => {\n console.log(\"locationId\", locationId);\n if (companyId)\n return `Form/ByProject/${projectId}/${companyId}/${locationId | 0}`;\n else return `Form/ByProject/${projectId}`;\n },\n providesTags: [\"FormByProject\"],\n }),\n getPriority: build.query({\n query: (priorityId: number) => `Ticket/Priority/${priorityId}`,\n providesTags: [\"GetPriority\"],\n }),\n getSLA: build.query({\n query: (slaId: number) => `SLA/${slaId}`,\n providesTags: [\"GetSLA\"],\n }),\n getSearchType: build.query({\n query: () => \"Search/type\",\n providesTags: [\"UpdateSearchType\"],\n }),\n getProject: build.query({\n query: (Id) => `Project/${Id}`,\n providesTags: [\"GetProject\"],\n }),\n getUserFyndConfig: build.query({\n query: () => \"Search/UserFynd/Config\",\n providesTags: [\"UserFyndConfig\"],\n }),\n getUsers: build.query({\n query: ({ companyId, locationId }) =>\n `User/?companyId=${companyId}${locationId ? \"&locationId=\" + locationId : \"\"\n }`,\n providesTags: [\"GetUsers\"],\n }),\n // updateContactSetting: build.mutation({\n // query: (info) => ({\n // url: \"User/Setting\",\n // method: \"POST\",\n // body: info,\n // }),\n // }),\n postUserFynd: build.mutation({\n query: (info) => ({\n url: \"Search/UserFynd\",\n method: \"POST\",\n body: { SearchPhrase: info },\n }),\n }),\n postSearchQuick: build.mutation({\n query: (info) => ({\n url: \"Search/quick\",\n method: \"POST\",\n body: info,\n }),\n }),\n updateSearchType: build.mutation({\n query: (info) => ({\n url: \"Search/type/my\",\n method: \"POST\",\n body: info,\n }),\n async onQueryStarted(info, { dispatch, queryFulfilled }) {\n const postResult = dispatch(\n Api.util.updateQueryData(\"getSearchType\", undefined, (draft) => {\n const selectOption = draft.find((item) => item.ID === info[0].ID);\n const checkAllBoolTrue = info.every((ele) => ele.Checked === true);\n if (draft.length === info.length) {\n // \"Check All\" Option was checked\n draft.forEach((item) => {\n if (checkAllBoolTrue) {\n item.Checked = true;\n } else {\n item.Checked = false;\n }\n });\n } else if (selectOption) {\n // Only a single Option was check\n selectOption.Checked = info[0].Checked;\n }\n })\n );\n try {\n await queryFulfilled;\n } catch {\n postResult.undo();\n }\n },\n invalidatesTags: [\"UpdateSearchType\"],\n }),\n }),\n});\n\nexport const {\n useGetTicketTimelineImageQuery,\n useReleaselicenseMutation,\n useRenewlicenseMutation,\n useGetUserProfileQuery,\n useGetSearchTypeQuery,\n useUpdateSearchTypeMutation,\n usePostSearchQuickMutation,\n useGetTenantQuery,\n useUpdateFocusedViewToggleMutation,\n} = Api;\n\nexport { Api };\n","import { Api } from './BaseApi'\nimport { IUser } from '../../types/User/IUser';\nimport { IStaff } from '../../types/IStaff';\nimport { ITeam } from '../../types/ITeam';\nimport { ILogOptions } from '../../types/User/ILogOptions';\nimport { IRole } from '../../types/User/IRole';\nimport { ISetting } from '../../types/User/ISetting';\nimport { IClientTypeFilter } from '../../types/User/IClientTypeFilter';\nimport { IContactResults, IContactSearchProps } from '../../types/User/IContact';\nimport { IMention } from '../../types/User/IMention';\nimport { IMentionConfig } from '../../types/User/IMentionConfig';\nimport { IClassification } from '../../types/User/IClassification';\n\nconst UserApi = Api.injectEndpoints({\n endpoints: (build) => ({\n getUsersByIds: build.query({\n query: (Ids) => `User/ByIds/${Ids}`,\n providesTags: [\"GetUsersByIds\"],\n }),\n getUserById: build.query({\n query: (id) => `User/ById/${id}`,\n providesTags: [\"GetUsersById\"],\n }),\n getStaff: build.query({\n query: ({ teamId, includeQueues, includeStaffPlusForCompanyId }) => `User/Staff?teamId=${teamId ? teamId : ''}&includeQueues=${includeQueues}&includeStaffPlusForCompanyId=${includeStaffPlusForCompanyId}`,\n providesTags: [\"UpdateStaff\"],\n }),\n getMention: build.query({\n query: (prefix) => `User/Mention?prefix=${prefix}`,\n }),\n getMentionConfig: build.query({\n query: () => `User/Mention/Config`,\n }),\n getContacts: build.query({\n query: (props) => `User/${props.uid}/Contacts?favsOnly=${props.favsOnly || 'false'}&filter=${props.filter || ''}&pageLetter=${props.pageLetter || ''}&groupByOffice=${props.groupByOffice ? 'true' : 'false'}`,\n providesTags: [\"GetContacts\"],\n //Only have one cache entry because the arg always maps to one string\n // serializeQueryArgs: ({ endpointName }) => {\n // return endpointName;\n // },\n }),\n getUser: build.query({\n query: (uid) => `User/${uid}`,\n providesTags: [\"GetUser\"],\n }),\n debugTimezone: build.query({\n query: (query) => `Debug/${query}`,\n providesTags: [\"DebugTimezone\"],\n }),\n getTeams: build.query({\n query: () => \"User/Team\",\n providesTags: [\"GetTeams\"],\n }),\n getTeam: build.query({\n query: (Id: number) => `User/Team/${Id}`,\n providesTags: [\"GetTeam\"],\n }),\n getLogOptions: build.query({\n query: () => \"User/Me/LogOptions\",\n providesTags: [\"MyLogOptions\"],\n }),\n getRoles: build.query({\n query: (uid) => `User/${uid}/Role`,\n providesTags: [\"UserRoles\"],\n }),\n getSetting: build.query({\n query: (settingId) => `User/Setting/${settingId}/`,\n providesTags: [\"GetUserSetting\"],\n }),\n saveSetting: build.mutation({\n query: (setting) => ({\n url: `User/Setting/`,\n method: \"POST\",\n body: setting,\n }),\n invalidatesTags: [\"GetUserSetting\"]\n }),\n getClientTypeFilters: build.query({\n query: (settingId) => `User/ClientTypeFilter`,\n providesTags: [\"GetClientTypeFilter\"],\n }),\n getUserClassification: build.query({\n query: () => `User/Classification`,\n providesTags: [\"GetClassification\"],\n }),\n postLogOptions: build.mutation({\n query: (options) => ({\n url: \"User/Me/LogOptions\",\n method: \"POST\",\n body: options,\n }),\n invalidatesTags: [\"MyLogOptions\"]\n }),\n postClientTypeFilter: build.mutation({\n query: (filter) => ({\n url: \"User/ClientTypeFilter\",\n method: \"POST\",\n body: filter,\n }),\n invalidatesTags: [\"GetClientTypeFilter\", \"GetMyClient\"]\n }),\n dismissIntro: build.mutation({\n query: (featureId) => ({\n url: `User/Me/DismissIntro/${featureId || 0}`,\n method: \"POST\",\n body: {},\n }),\n invalidatesTags: [\"UserProfile\"]\n }),\n }),\n overrideExisting: false,\n})\n\nexport { UserApi };","import { Api } from './BaseApi'\nimport { IProject } from '../../types/Project/IProject';\nimport { IProjectType } from '../../types/Project/IProjectType';\nimport { IWorkstream } from '../../types/Gameplan/IWorkstream';\n\nconst ProjectApi = Api.injectEndpoints({\n endpoints: (build) => ({\n getProjectList: build.query({\n query: (companyId) => \"Project/?companyId=\" + companyId,\n providesTags: [\"ProjectList\"],\n }),\n getProjectTypeList: build.query({\n query: () => \"Project/Type\",\n providesTags: [\"ProjectTypeList\"],\n }),\n getWorkstreams: build.query({\n query: (id) => `Project/${id || 0}/Workstream`,\n providesTags: [\"GetWorkstreams\"],\n }),\n }),\n\n overrideExisting: true,\n})\n\nexport { ProjectApi };","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\nimport { IProject } from \"../types/Project/IProject\";\nimport { ITeam } from \"../types/ITeam\";\nimport { IAutoCloseSetting, IAutoOpenSetting, ICallAssignment, ITicket, ITicketOptions } from \"../types/Ticket/ITicket\";\nimport { Api } from \"../redux/api/BaseApi\";\nimport { IPriority } from \"../types/IPriority\";\nimport IForm, { IField } from \"../types/Form/IForm\";\nimport { IStatus } from \"../types/Ticket/Status/IStatus\";\nimport { ISLA } from \"../types/ISLA\";\nimport { IStaff } from \"../types/IStaff\";\nimport { Features } from \"../types/User/IUserProfile\";\nimport { HierarchyProps } from \"../types/Props/HierarchyProps\";\nimport { IUser } from \"../types/User/IUser\";\nimport { ILogOptions } from \"../types/User/ILogOptions\";\nimport { ITicketAsset } from \"../types/Ticket/ITicketAsset\";\nimport { UserApi } from \"../redux/api/UserApi\";\nimport { ITemplateListItem } from \"../types/Ticket/ITemplate\";\nimport { ProjectApi } from \"../redux/api/ProjectApi\";\nimport { SplitActionOptions } from \"../types/Ticket/IAction\";\nimport { IWorkstream } from \"../types/Gameplan/IWorkstream\";\nimport { IWorkstreamAssignment } from \"../types/Ticket/IWorkstreamAssignment\";\n\nexport type TaggedUserType = {\n label: string;\n value: string;\n}\n\nconst initialTicketState = {\n ID: 0,\n Call_Desc: \"\",\n Company_Id: 0,//9000,\n Project_Id: 0, //5009, \n SLA_Id: 0,\n Priority_Id: 0,\n Company_Contact: 0,//3,\n Company_Address_Id: 1,\n Assigned_Team_Id: 0,\n CustomFormId: -1,\n Contact_Name: \"\",\n Bulk_Contact_Ids: [],\n Start_Date: null,\n End_Date: null,\n MergeActionsFromCallId: 0,\n MergeActionsIds: []\n} as ITicket;\n\nconst TicketSlice = createSlice({\n name: \"ticketDetails\",\n initialState: {\n //initialAction: null as IAction,\n ticket: initialTicketState,\n features: null as Features,\n selectedProject: null as IProject,\n selectedPriority: null as IPriority,\n defaultTeamId: 0,\n bulkLog: false,\n logOptions: null as ILogOptions,\n // The expanded/collapsed state of the form\n formState: ['details', 'description', 'workstream-section'] as string[],\n TaggedUsers: [] as TaggedUserType[],\n mentionFocused: \"\",\n splitFromTicketOptions: {} as SplitActionOptions,\n lastFlaggedNoteConfirmedId: 0,\n },\n reducers: {\n SetLastFlaggedNoteConfirmedId: (state, action: PayloadAction) => {\n state.lastFlaggedNoteConfirmedId = action.payload;\n },\n SetSplitOptions: (state, action: PayloadAction) => {\n state.splitFromTicketOptions = action.payload;\n state.ticket.MergeActionsFromCallId = action.payload?.TicketId;\n state.ticket.MergeActionsIds = action.payload?.Ids;\n },\n SetBulkLog: (state, action: PayloadAction) => {\n state.bulkLog = action.payload;\n },\n SetTemplate: (state, action: PayloadAction) => {\n state.ticket.Template_Id = action.payload?.Id;\n },\n SetTemplatePopulated: (state, action: PayloadAction) => {\n state.ticket.Template_Populated = action.payload;\n },\n SetFormState: (state, action: PayloadAction) => {\n state.formState = action.payload;\n },\n SetTicket: (state, action: PayloadAction) => {\n state.ticket = action.payload;\n },\n SetWorkstreamAssignment: (state, action: PayloadAction) => {\n state.ticket.Workstream_Assignment = action.payload;\n console.log('after SetWorkstreamAssignment', state.ticket.Workstream_Assignment);\n },\n SetLogOptions: (state, action: PayloadAction) => {\n state.ticket.LogOptions = action.payload;\n },\n SetMyOptions: (state, action: PayloadAction) => {\n state.logOptions = action.payload;\n },\n SetDueDate: (state, action: PayloadAction) => {\n state.ticket.Due_Dt = action.payload.toISOString();\n },\n SetForm: (state, action: PayloadAction) => {\n //Don't do this when we load the initial ticket details;\n if (state.ticket.CustomFormId !== action.payload?.ID) {\n state.ticket.CustomFormId = action.payload?.ID;\n state.ticket.CustomFormName = action.payload?.Name;\n state.ticket.CustomFormFields = action.payload?.Fields;\n\n //Set the default field values if they haven't been set\n state.ticket.CustomFormFields = state.ticket.CustomFormFields?.map(ff => {\n if (!ff.VALUES || ff.VALUES.length === 0) {\n let newValues = ff.ConfigSettings.Default?.split(',')// || ff.ConfigSettings.DefaultValue;\n\n //Date field\n if (ff.Field_Type_Id === 3 || ff.Field_Type_Id === 5 || ff.Field_Type_Id === 6 || ff.Field_Type_Id === 7 || ff.Field_Type_Id === 8 || ff.Field_Type_Id === 9) {\n\n if (ff.ConfigSettings.DefaultValue?.toString().length > 0) {\n let defVal = ff.ConfigSettings.DefaultValue;\n //Check for null date\n if (ff.Field_Type_Id === 3)\n defVal = defVal.replace('0001-01-01T00:00:00', '')\n\n if (isNaN(defVal))\n newValues = defVal?.toString().split(',').filter(f => f !== '')\n else //Numeric or date\n newValues = [defVal]\n }\n\n }\n return ({\n ...ff, VALUES: newValues//?.filter(v=>v!==undefined)\n });\n }\n return ff;\n })\n }\n },\n SetField: (state, action: PayloadAction) => {\n //state.ticket.CustomFormFields?.map(f => f.UID === action.payload.UID ? {...f, VALUES:action.payload.VALUES} : f);\n let foundField = state.ticket.CustomFormFields?.filter(f => f.UID === action.payload.UID)\n if (foundField.length > 0) {\n foundField[0].VALUES = action.payload.VALUES;\n foundField[0].ConfigSettings = action.payload.ConfigSettings;\n }\n state.ticket.Last_Update_Dt = new Date().toISOString();\n },\n SetClient: (state, action: PayloadAction) => {\n state.ticket.Company_Id = action.payload;\n },\n SetType: (state, action) => {\n state.ticket.Type_Id = action.payload;\n },\n SetStatus: (state, action: PayloadAction) => {\n state.ticket.Call_Status = action.payload?.Call_Status\n state.ticket.Call_Status_Id = action.payload?.ID;\n state.ticket.Open_Status = action.payload?.Open_status;\n },\n SetAssigned: (state, action: PayloadAction) => {\n state.ticket.Call_Assignment = action.payload?.map(m => {\n return {\n Contact_Name: m.F_Name ? m.F_Name + ' ' + m.L_Name : m.Full_Name,\n Contact_Id: m.ID\n } as ICallAssignment\n });\n },\n SetAutoCloseSetting: (state, action: PayloadAction) => {\n state.ticket.AutoCloseSettings = action.payload;\n },\n SetAutoOpenSetting: (state, action: PayloadAction) => {\n state.ticket.AutoOpenSettings = action.payload;\n },\n SetBulkContacts: (state, action: PayloadAction) => {\n state.ticket.Bulk_Contact_Ids = action.payload?.map(m => m.ID);\n },\n SetAssociatedContacts: (state, action: PayloadAction) => {\n state.ticket.Associated_Contact_Ids = action.payload?.map(m => m.ID);\n },\n SetProject: (state, action: PayloadAction) => {\n state.selectedProject = action.payload;\n state.ticket.Project_Id = action.payload?.ID | 0;\n //only when SLAs are on\n if (state.features.SLAs)\n state.ticket.SLA_Id = action.payload?.Default_SLA_Id || 0;\n\n state.ticket.Priority_Set_Id = action.payload?.Priority_Set_Id;\n state.ticket.Priority_Id = action.payload?.Default_Priority_Id || 0;\n state.ticket.Is_Workstream = action.payload?.Workstream_Enabled ? true : false;\n },\n SetWorkstream: (state, action: PayloadAction) => {\n //console.log('SetWorkstream', action.payload)\n state.ticket.WorkstreamId = action.payload?.Workstream_Id;\n state.ticket.WorkstreamName = action.payload?.Workstream_Name;\n //Default start and end date\n //state.ticket.Start_Date = action.payload?.StartDt;\n //state.ticket.End_Date = action.payload?.EndDt;\n },\n SetEffort: (state, action: PayloadAction) => {\n state.ticket.Effort_Mins = action.payload;\n },\n SetStartDate: (state, action: PayloadAction) => {\n state.ticket.Start_Date = action.payload;\n },\n SetEndDate: (state, action: PayloadAction) => {\n state.ticket.End_Date = action.payload;\n },\n SetSLA: (state, action: PayloadAction) => {\n //only when SLAs are on\n if (state.features.SLAs)\n state.ticket.SLA_Id = action.payload.SLA_ID === undefined ? 0 : action.payload.SLA_ID;\n },\n SetPriority: (state, action: PayloadAction) => {\n state.selectedPriority = action.payload;\n state.ticket.Priority_Id = action.payload?.ID;\n },\n SetTeam: (state, action: PayloadAction) => {\n state.ticket.Assigned_Team_Id = action.payload.ID;\n },\n SetAssets: (state, action: PayloadAction) => {\n state.ticket.Assets = action.payload;\n },\n SetLinkedKbs: (state, action: PayloadAction) => {\n state.ticket.Linked_Kb_Ids = action.payload;\n },\n SetEndUserName: (state, action: PayloadAction) => {\n state.ticket.Contact_Name = action.payload;\n },\n SetEndUser: (state, action: PayloadAction) => {\n console.log('SetEndUser', action.payload)\n //state.ticket.Contact_Name = action.payload?.FullName\n state.ticket.Company_Id = action.payload?.Company_Id | 0;\n state.ticket.Company_Name = action.payload?.Company_Name;\n state.ticket.Company_Type_Id = action.payload?.Company_Type_Id;\n state.ticket.Company_Address_Id = action.payload?.Company_Address_Id | 0;\n state.ticket.Address_Name = action.payload?.Address_Name;\n state.ticket.Company_Contact = action.payload?.ID;\n //state.ticket.Company_Contact_Uid = action.payload?.UId;\n },\n SetEndUserUid: (state, action: PayloadAction) => {\n console.log('Ticket slice - SetEndUserUid')\n state.ticket.Company_Contact_Uid = action.payload || null;\n },\n SetDescription: (state, action) => {\n state.ticket.Call_Desc = action.payload;\n },\n SetTaggedDescription: (state, action) => {\n state.ticket.TaggedDescription = action.payload;\n },\n SetMentionFocused: (state, action) => {\n state.mentionFocused = action.payload\n },\n SetTaggedUsers: (state, action) => {\n state.TaggedUsers = action.payload;\n },\n ResetTicket: (state, action) => {\n state.ticket = { ...initialTicketState, Assigned_Team_Id: state.defaultTeamId, LogOptions: state.ticket?.LogOptions };\n state.selectedProject = null;\n state.splitFromTicketOptions = {} as SplitActionOptions;\n //console.log('Ticket reset!')\n },\n SetHierarchy: (state, action: PayloadAction) => {\n if (action.payload.IsParent) {\n state.ticket.Is_Parent = true;\n state.ticket.Parent_Call_Id = null;\n }\n else if (!isNaN(action.payload.Parent_Ticket_Id)) {\n state.ticket.Is_Parent = false;\n state.ticket.Parent_Call_Id = action.payload.Parent_Ticket_Id;\n }\n else {\n state.ticket.Is_Parent = false;\n state.ticket.Parent_Call_Id = null;\n }\n },\n },\n extraReducers: (builder) => {\n builder.addMatcher(\n //The new ticket should initially be assigned to the current user\n Api.endpoints.getUserProfile.matchFulfilled, (state, { payload }) => {\n //Default log a ticket team.\n if (payload.Features.Your_Team_Log_A_Ticket) {\n state.ticket.Assigned_Team_Id = payload.Team_Id;\n state.defaultTeamId = payload.Team_Id;\n }\n state.features = payload.Features;\n\n //Set the current user as assigned to the ticket\n if (!state.ticket.Call_Assignment)\n state.ticket.Call_Assignment = [\n {\n Contact_Name: payload.F_Name + ' ' + payload.L_Name,\n Contact_Id: payload.Id\n } as ICallAssignment];\n\n //state.initialAction = { ...state.initialAction, Staff_Id: payload.Id, Billable_Time: payload.Default_Time, Action_Type_Id: (payload.Features.Private_Actions && payload.Features.Private_Notes_Always_On) ? 7 : undefined }\n }\n );\n builder.addMatcher(\n //Sets the default project when a Company is selcted\n ProjectApi.endpoints.getProjectList.matchFulfilled,\n (state, { payload }) => {\n const prim = payload.filter(proj => { return proj.Primary_Project });\n if (prim?.length > 0 && state.ticket.ID === 0) {\n state.selectedProject = prim[0];\n state.ticket.Project_Id = prim[0].ID;\n if (state.features.SLAs)\n state.ticket.SLA_Id = prim[0].Default_SLA_Id || 0;\n state.ticket.Priority_Set_Id = prim[0].Priority_Set_Id;\n state.ticket.Priority_Id = prim[0].Default_Priority_Id || 0;\n state.ticket.Is_Workstream = prim[0].Workstream_Enabled ? true : false;\n }\n });\n builder.addMatcher(\n //The user's default state for timeline and initial action\n UserApi.endpoints.getLogOptions.matchFulfilled, (state, { payload }) => {\n payload.Timeline_Open && state.formState.push('timeline');\n payload.Action_Open && state.formState.push('action');\n });\n builder.addMatcher(\n //The system's default state for form collapsed\n Api.endpoints.getFormConfig.matchFulfilled, (state, { payload }) => {\n !payload.Log_Ticket_Collapsed && state.formState.push('form');\n });\n }\n})\n\nexport const { SetClient, SetProject, SetSLA, SetPriority, SetTeam, SetEndUser, SetDescription, SetTaggedUsers, SetTaggedDescription, SetMentionFocused, ResetTicket, SetTicket, SetForm, SetField, SetType,\n SetStatus, SetAssigned, SetAssociatedContacts, SetHierarchy, SetEndUserUid, SetEndUserName, SetDueDate, SetMyOptions, SetLogOptions, SetAssets, SetStartDate, SetEndDate,\n SetFormState, SetTemplate, SetTemplatePopulated, SetBulkLog, SetBulkContacts, SetLinkedKbs, SetAutoCloseSetting, SetAutoOpenSetting, SetSplitOptions, SetWorkstream, SetEffort, SetWorkstreamAssignment,\n SetLastFlaggedNoteConfirmedId\n} = TicketSlice.actions\nexport default TicketSlice.reducer\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\nimport { Api } from \"../redux/api/BaseApi\";\nimport { IAction, IActionUI } from \"../types/Ticket/IAction\";\n\nconst initialActionState = {\n ID: 0,\n} as IAction;\n\nconst initialUiSettings = {\n Bill_Time_Enabled: true,\n NonBill_Time_Enabled: true,\n} as IActionUI;\n\nexport const PRIVATE_ACTION_ID = 7;\n\nconst ActionSlice = createSlice({\n name: \"actionDetails\",\n initialState: {\n action: initialActionState,\n settings: initialUiSettings,\n },\n reducers: {\n ResetAction: (state, action) => {\n state.action = initialActionState;\n state.settings = initialUiSettings;\n },\n SetAction: (state, action: PayloadAction) => {\n state.action = action.payload;\n },\n SetBill: (state, action: PayloadAction) => {\n state.action.Billable_Time = action.payload;\n },\n SetNonBill: (state, action: PayloadAction) => {\n state.action.Non_Billable_Time = action.payload;\n },\n SetUISettings: (state, action: PayloadAction) => {\n state.settings = action.payload;\n },\n SetTaggedDescription: (state, action: PayloadAction) => {\n state.action.TaggedDescription = action.payload;\n },\n SetHTML_Notes: (state, action: PayloadAction) => {\n state.action.HTML_Notes = action.payload;\n },\n },\n extraReducers: (builder) => {\n builder.addMatcher(\n //The new ticket should initially be assigned to the current user\n Api.endpoints.getUserProfile.matchFulfilled,\n (state, { payload }) => {\n console.log(\"Api.endpoints.getUserProfile.matchFulfilled\", payload.Id);\n let actionTypeId =\n payload.Features.Private_Actions &&\n payload.Features.Private_Notes_Always_On\n ? PRIVATE_ACTION_ID\n : undefined;\n state.action = {\n ...state.action,\n Staff_Id: payload.Id,\n Billable_Time: payload.Default_Time,\n Action_Type_Id: actionTypeId,\n };\n state.settings = {\n ...state.settings,\n Bill_Time_Enabled: actionTypeId !== PRIVATE_ACTION_ID,\n NonBill_Time_Enabled: actionTypeId !== PRIVATE_ACTION_ID,\n };\n }\n );\n },\n});\n\nexport const {\n SetAction,\n SetBill,\n SetNonBill,\n SetUISettings,\n ResetAction,\n SetTaggedDescription,\n SetHTML_Notes,\n} = ActionSlice.actions;\nexport default ActionSlice.reducer;\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\nimport { IFileUpload } from \"../../types/File/FileUpload\";\n\nconst FileSlice = createSlice({\n name: \"fileDetails\",\n initialState: {\n files: [],\n },\n reducers: {\n ResetFiles: (state, action) => {\n state.files = [];\n },\n SetFiles: (state, action: PayloadAction) => {\n state.files = action.payload;\n }\n }\n})\n\nexport const { ResetFiles, SetFiles } = FileSlice.actions\nexport default FileSlice.reducer\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\nimport { IFeedResult } from \"../types/Feed/IFeedResult\";\n\nconst FeedSlice = createSlice({\n name: \"count\",\n initialState: {\n feedItems: { LastId: 0 } as IFeedResult,\n },\n reducers: {\n SetFeedItems: (state, action: PayloadAction) => {\n state.feedItems = action.payload\n }\n },\n});\n\nexport const { SetFeedItems } = FeedSlice.actions\nexport default FeedSlice.reducer\n","import { createSlice } from \"@reduxjs/toolkit\";\nimport { IFavorite } from \"../types/Favorites/IFavorite\";\n\nconst FavoriteSlice = createSlice({\n name: \"revelation\",\n initialState: {\n favorites: [] as IFavorite[],\n },\n reducers: {\n saveFavorites: (state, action) => {\n //console.log('saveFavorites', action.payload)\n state.favorites = action.payload;\n },\n },\n});\n\nexport const { saveFavorites } = FavoriteSlice.actions;\nexport default FavoriteSlice.reducer;\n","const RightBarInitialState = {\n toggleState: 0,\n};\nexport default RightBarInitialState;\n","import { createSlice } from \"@reduxjs/toolkit\";\nimport RightBarInitialState from \"../Variables/RightBarState\";\n\nconst RightBarSlice = createSlice({\n name: \"rightBar\",\n initialState: RightBarInitialState,\n reducers: {\n updateToggleState: (state, action) => {\n state.toggleState = action.payload;\n },\n },\n});\n\nexport const { updateToggleState } = RightBarSlice.actions;\nexport default RightBarSlice.reducer;\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\nimport { IKBSearchResult } from \"../types/KB/IKBSearchResult\";\n\n\nconst KBSlice = createSlice({\n name: \"kbDetails\",\n initialState: {\n results: [] as IKBSearchResult[],\n selectKbs: [],\n previewKbId: null\n },\n reducers: {\n SetResults: (state, action: PayloadAction) => {\n state.results = action.payload;\n },\n SetPreview: (state, action: PayloadAction) => {\n state.previewKbId = action.payload;\n }\n }\n\n})\n\nexport const { SetResults } = KBSlice.actions\nexport default KBSlice.reducer\n","import { createSlice } from \"@reduxjs/toolkit\";\nimport { nanoid } from \"nanoid\";\n\nconst RevelationIframeSlice = createSlice({\n name: \"revelation\",\n initialState: {\n isFirstIframeRequest: true,\n currentIframeSrc: \"\",\n iFrameLoading: true,\n mimicUid: undefined as string,\n uniqueId: null as string,\n } as RevelationIframeType,\n reducers: {\n setIframeLoaded: (state, action) => {\n state.iFrameLoading = false\n },\n updateIframeSrc: (state, action) => {\n //console.log('state.currentIframeSrc=', state.currentIframeSrc, action.payload, state.currentIframeSrc === action.payload)\n console.log('updateIframeSrc - action.payload:', action.payload, state.currentIframeSrc === action.payload)\n state.iFrameLoading = true;//(state.currentIframeSrc !== action.payload)\n state.currentIframeSrc === action.payload\n ? state.currentIframeSrc = action.payload + (action.payload.indexOf(\"?\") > -1 ? \"&d=\" : \"?d=\") + nanoid()\n : state.currentIframeSrc = action.payload;\n state.uniqueId = nanoid();\n //}\n },\n mimicUser: (state, action) => {\n state.mimicUid = action.payload;\n state.currentIframeSrc = null;\n state.iFrameLoading = true;\n },\n cancelMimic: (state) => {\n state.mimicUid = null;\n state.currentIframeSrc = null;\n state.iFrameLoading = true;\n },\n setFirstIframeRequest: (state, action) => {\n state.isFirstIframeRequest = action.payload;\n },\n },\n});\n\nexport type RevelationIframeType = {\n iFrameLoading: boolean;\n currentIframeSrc: string;\n mimicUid: string;\n uniqueId: string;\n isFirstIframeRequest: boolean;\n};\n\nexport const {\n updateIframeSrc,\n setIframeLoaded,\n mimicUser,\n cancelMimic,\n setFirstIframeRequest\n} = RevelationIframeSlice.actions;\nexport default RevelationIframeSlice.reducer;\n","import { isRejectedWithValue } from '@reduxjs/toolkit'\nimport type { MiddlewareAPI, Middleware } from '@reduxjs/toolkit'\n\n/**\n * Log a warning and show a toast!\n */\nexport const rtkQueryErrorLogger: Middleware =\n (api: MiddlewareAPI) => (next) => (action) => {\n //console.log('rtkQueryErrorLogger')\n // RTK Query uses `createAsyncThunk` from redux-toolkit under the hood, so we're able to utilize these matchers!\n if (isRejectedWithValue(action)) {\n console.warn('We got a rejected action!', action)\n if (action.payload?.status === 401) {\n\n }\n //Not ready yet\n // toast.error('An unexpected error occurred when calling the Revelation API', {\n // position: \"top-center\",\n // autoClose: 0,\n // hideProgressBar: true,\n // closeOnClick: true,\n // pauseOnHover: false,\n // draggable: true,\n // progress: undefined,\n // theme: \"colored\",\n // bodyStyle: {\n // width: '100%'\n // }\n //});\n }\n\n return next(action)\n }","import { configureStore, ThunkAction, Action, createReducer, combineReducers, Reducer } from \"@reduxjs/toolkit\";\nimport { setupListeners } from \"@reduxjs/toolkit/dist/query\";\nimport CountReducer from \"../components/CountSlice\";\nimport NavReducer from \"../components/Nav/NavSlice\";\n//const mimicUid = useReduxSelector(s=>s.revI.mimicUid)import AuthReducer from \"../slices/AuthSlice\";\nimport TicketReducer from \"../slices/TicketSlice\";\nimport ActionReducer from \"../slices/ActionSlice\";\nimport FileReducer from \"../components/Attachment/FileSlice\";\nimport FeedReducer from \"../slices/FeedSlice\";\nimport FavoriteReducer from \"../slices/FavoriteSlice\";\nimport RightBarReducer from \"../slices/RightBarSlice\";\nimport KBReducer from \"../slices/KBSlice\";\nimport RevelationIframeReducer from \"../slices/RevelationSlice\";\nimport { Api } from \"./api/BaseApi\";\nimport { reducer as oidcReducer } from 'redux-oidc';\nimport { rtkQueryErrorLogger } from \"./api/errorHandling/ApiErrorHandler\";\nimport { createDynamicMiddlewares } from 'redux-dynamic-middlewares'\n\nconst dynamicMiddlewaresInstance = createDynamicMiddlewares()\n\nconst staticReducers = {\n kb: KBReducer,\n files: FileReducer,\n ticketDetails: TicketReducer,\n actionDetails: ActionReducer,\n auth: oidcReducer,\n //mimic: AuthReducer,\n rightBar: RightBarReducer,\n nav: NavReducer,\n count: CountReducer,\n feed: FeedReducer,\n favs: FavoriteReducer,\n revI: RevelationIframeReducer,\n [Api.reducerPath]: Api.reducer\n};\n\n\nlet chatApiMiddleware = null;\n\n// Configure the store\n//const store = function createStore(initialState) {\nexport const store = configureStore({\n reducer: staticReducers,\n devTools: true,\n middleware: (getDefaultMiddleware) => {\n return getDefaultMiddleware({\n serializableCheck: false //Stop OIDC serializable warnings\n }).concat(Api.middleware)\n .concat(rtkQueryErrorLogger).concat(dynamicMiddlewaresInstance.enhancer)\n\n\n },\n});\n\n// Add a dictionary to keep track of the registered async reducers\n//const asyncReducers = {}\n// Create an inject reducer function\n// This function adds the async reducer, and creates a new combined reducer\n// const injectReducer = (key, asyncReducer) => {\n// asyncReducers[key] = asyncReducer\n// store.replaceReducer(createReducer(asyncReducers))\n// }\n// function registerReducers(newReducer: Reducer) {\n// store.replaceReducer(\n// combineReducers({ ...staticReducers, ...{ chatApi: newReducer } })\n// );\n// }\n\n//import chat API reducer\n// import(\"chat/ChatApi\").then(({ ChatApi }) => {\n// console.log('store.replaceReducer', ChatApi, ChatApi.reducer);\n// registerReducers(ChatApi.reducer)\n// dynamicMiddlewaresInstance.addMiddleware(ChatApi.middleware)\n// }\n// );\n\n//import chat reducers, api, and middleware for Signal R\n//@ts-expect-error\nimport(\"chat/ChatReducers\").then(({ ChatApi, ChatSlice, SignalRMiddleware }) => {\n //console.log('store.replaceReducer ChatApi ChatSlice', ChatApi, SignalRMiddleware);\n\n store.replaceReducer(\n combineReducers({ ...staticReducers, ...{ [ChatApi.reducerPath]: ChatApi.reducer, [ChatSlice.name]: ChatSlice.reducer, } })\n );\n dynamicMiddlewaresInstance.addMiddleware(ChatApi.middleware)\n dynamicMiddlewaresInstance.addMiddleware(SignalRMiddleware)\n\n}\n);\n\n\n\n\n// optional, but required for refetchOnFocus/refetchOnReconnect behaviors\nsetupListeners(store.dispatch);\n\n\nexport type AppDispatch = typeof store.dispatch;\nexport type RootState = ReturnType;\nexport type AppThunk = ThunkAction<\n ReturnType,\n RootState,\n unknown,\n Action\n>;\n","import { UserManagerSettings } from \"oidc-client\";\nimport { Constants } from \"../../Variables/StaticVariables\";\nimport { WebStorageStateStore } from \"oidc-client-ts\";\n\nexport const oAuthSettings = {\n authority: Constants.stsAuthority,\n client_id: Constants.clientId,\n redirect_uri: `${window.location.protocol}//${window.location.hostname}${window.location.port ? `:${window.location.port}` : ''}${process.env.PUBLIC_URL}/signin-callback`,//`${Constants.clientRoot}/signin-callback.html`,\n silent_redirect_uri: `${Constants.clientRoot}/silent-renew`,\n automaticSilentRenew: true,\n post_logout_redirect_uri: `${Constants.clientRoot}`,\n response_type: \"code\",\n scope: Constants.clientScope,\n validateSubOnSilentRenew: false,\n includeIdTokenInSilentRenew: true,\n silentRequestTimeoutInSeconds: 30,\n //Store access token in local storage so a new token doen't need to be fetch when opening a ticket in a new tab.\n // stateStore: new WebStorageStateStore({\n // store: localStorage\n // }),\n} as UserManagerSettings;","import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux';\nimport type { RootState, AppDispatch } from './store';\n\n// Use throughout your app instead of plain `useDispatch` and `useSelector`\nexport const useReduxDispatch = () => useDispatch();\nexport const useReduxSelector: TypedUseSelectorHook = useSelector;\n","const Spinny = (props: { text?: string }) => {\n return (\n <>\n
\n
\n
{props.text}
\n
\n \n );\n};\n\nconst PartialSpinny = (props) => {\n return (\n <>\n
\n
\n \n
\n
\n \n );\n};\n\nconst SimpleSpinny = () => {\n return (\n <>\n
\n \n
\n \n );\n};\n\nexport { Spinny, PartialSpinny, SimpleSpinny };\n\n","import { createContext } from 'react';\n\nexport const RevUserContext = createContext(null);","\nimport { Card, CardActions, CardBody, CardTitle } from '@progress/kendo-react-layout'\nimport { Button } from '@progress/kendo-react-buttons'\nimport React from 'react'\nimport { Link } from 'react-router-dom'\nimport Scrollbars from 'react-custom-scrollbars-2'\n\nexport default function ErrorCard(props: ErrorProps) {\n return (\n \n \n An unexpected error occurred!\n {props.message}\n\n \n {props.details}\n \n\n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport type ErrorProps = {\n message: string\n details: string\n}","import React from 'react'\nimport { Spinny } from '../components/Nav/Spinny';\nimport { useReduxSelector } from '../redux/hooks';\nimport { RevUserContext } from './UserContext';\nimport { Api } from '../redux/api/BaseApi';\nimport { createUserManager } from 'redux-oidc';\nimport { oAuthSettings } from \"../components/Auth/AuthSettings\";\nimport ErrorCard from '../components/Common/ErrorCard';\nimport Cookies from 'js-cookie';\n\nexport const RevelationContext = (props) => {\n const stateUser = useReduxSelector((state) => state.auth.user);\n const mimicUid = useReduxSelector((state) => state.revI.mimicUid);\n //Wait for the user token to be loaded into state before calling the API\n const { data: profile, error } = Api.useGetUserProfileQuery(mimicUid ? mimicUid : undefined, { skip: !stateUser })\n if (error) {\n console.log('RevelationContext error', error)\n }\n if (error && (error['originalStatus'] === 401 || error['originalStatus'] === 403)) {\n //Reauthenticate\n //return
error:{JSON.stringify(error)}
\n let newUserManager = createUserManager(oAuthSettings)\n newUserManager.signoutRedirect();\n\n return \n }\n\n if (error)\n return \n\n\n if (!profile && !error) {\n //console.log('RevelationContext', profile, error, isSuccess, stateUser)\n return \n }\n if (profile && profile?.Tenant_Uid)\n Cookies.set('RevTenantUid', profile?.Tenant_Uid);\n\n return (\n <>\n \n \n {props.children}\n \n \n \n )\n}\n","import React from 'react'\nimport { useNavigate, useSearchParams } from 'react-router-dom';\nimport { Button } from \"@progress/kendo-react-buttons\";\nimport ErrorCard from '../Common/ErrorCard';\n\nexport const NoAuthServer = () => {\n const [params] = useSearchParams()\n const navigate = useNavigate()\n\n return \n\n return (\n
\n Authentication Server Not Found ({params.get(\"authority\")})\n\n

\n
\n\n )\n} \n","import { Api } from './BaseApi'\nimport { IAsset } from '../../types/Asset/IAsset';\n\nconst AssetApi = Api.injectEndpoints({\n endpoints: (build) => ({\n getAssets: build.query({\n query: ({contactId,locationId,companyId}) => `Asset/?contactId=${contactId}&locationId=${locationId || 0}&companyId=${companyId || 0}`,\n providesTags: [\"GetAssets\"],\n }),\n }),\n overrideExisting: false,\n})\n\nexport { AssetApi };","import { Api } from './BaseApi'\nimport { ITicket } from \"../../types/Ticket/ITicket\";\nimport { IType } from '../../types/IType';\nimport { ISLAConfig } from '../../types/ISLAConfig';\nimport { IStatus } from '../../types/Ticket/Status/IStatus';\nimport { IQuickNoteCategory } from '../../types/Ticket/IQuickNotes';\nimport { ITemplate, ITemplateAction, ITemplateAssignment, ITemplateListItem } from '../../types/Ticket/ITemplate';\nimport { IAction, IActionIds } from '../../types/Ticket/IAction';\nimport { IStopwatch, StopwatchProps } from '../../types/Ticket/IStopwatch';\nimport { IStatusType } from '../../types/Ticket/Status/IStatusListItem';\n\nconst TicketApi = Api.injectEndpoints({\n endpoints: (build) => ({\n getTypeList: build.query({\n query: (parentId) => \"Ticket/Type?parentTypeId=\" + parentId,\n providesTags: [\"TypeList\"],\n }),\n getSLAConfig: build.query({\n query: () => \"Ticket/SLAConfig\",\n providesTags: [\"SLAConfig\"],\n }),\n getTicket: build.query({\n query: ({ ticketId, populateFormData }) => `Ticket/${ticketId}/?populateFormData=${populateFormData || 'false'}`,\n providesTags: [\"GetTicket\"],\n }),\n getOpenTickets: build.query({\n query: ({ companyId }) => `/Ticket/?companyId=${companyId || 0}`,\n providesTags: [\"GetOpenTickets\"],\n }),\n getStatuses: build.query({\n query: () => \"Ticket/Status?statusTypeId=-1\",\n providesTags: [\"GetStatuses\"],\n }),\n getMyStatuses: build.query({\n query: () => \"Ticket/Status/My\",\n providesTags: [\"GetMyStatuses\"],\n }),\n getStatus: build.query({\n query: (Id) => `Ticket/Status/${Id}`,\n providesTags: [\"GetStatus\"],\n }),\n getOpenEndUserTickets: build.query({\n query: (Uid) => `Ticket/ByEndUser/${Uid}`,\n providesTags: [\"GetOpenTickets\"],\n }),\n getOpenParentTickets: build.query({\n query: () => \"Ticket/Parent/\",\n providesTags: [\"GetOpenParentTickets\"],\n }),\n getQuickNotes: build.query({\n query: () => \"QuickNote/My/\",\n providesTags: [\"GetQuickNotes\"],\n }),\n getQuickNoteAsAction: build.query({\n query: ({ id, ticketId }) => `QuickNote/${id}/AsAction/${ticketId}`,\n providesTags: [\"GetQuickNoteAsAction\"],\n }),\n getMyTemplates: build.query({\n query: () => \"Ticket/Template/My\",\n providesTags: [\"GetMyTemplates\"],\n }),\n getTemplateActions: build.query({\n query: (id) => `Ticket/Template/${id}/Actions`,\n providesTags: [\"GetTemplateActions\"],\n }),\n getTemplateAssignment: build.query({\n query: (id) => `Ticket/Template/${id}/Assignment`,\n providesTags: [\"GetTemplateAssignment\"],\n }),\n getTemplate: build.query({\n query: (id) => `Ticket/Template/${id}`,\n providesTags: [\"GetTemplate\"],\n }),\n getStopwatches: build.query({\n query: (id) => `Ticket/${id || 0}/Stopwatch`,\n providesTags: [\"GetStopwatches\"],\n }),\n startStopwatch: build.mutation({\n query: (props) => ({\n url: `Ticket/${props.TicketId || 0}/Stopwatch/Start`,\n method: \"POST\",\n body: props,\n }),\n invalidatesTags: [\"GetStopwatches\"]\n }),\n stopStopwatch: build.mutation({\n query: (props) => ({\n url: `Ticket/${props.TicketId || 0}/Stopwatch/Stop`,\n method: \"POST\",\n body: props,\n }),\n invalidatesTags: [\"GetStopwatches\"]\n }),\n createTicket: build.mutation({\n query: (info) => ({\n url: \"Ticket\",\n method: \"POST\",\n body: info,\n }),\n invalidatesTags: [\"GetStopwatches\", \"GetTicket\", \"GetFiles\"]\n }),\n bulkLogTicket: build.mutation({\n query: (info) => ({\n url: \"Ticket/BulkLog\",\n method: \"POST\",\n body: info,\n }),\n invalidatesTags: [\"GetStopwatches\", \"GetTicket\", \"GetFiles\"]\n }),\n actionsById: build.mutation({\n query: (info) => ({\n url: \"Ticket/Action/ByIds\",\n method: \"POST\",\n body: info,\n })\n }),\n refetchQuicknotes: build.mutation({\n queryFn: () => ({ data: null }),\n invalidatesTags: ['GetQuickNotes'],\n }),\n }),\n overrideExisting: false,\n})\n\nexport { TicketApi };","import { DropDownList } from '@progress/kendo-react-dropdowns'\nimport React, { useEffect, useMemo, useState } from 'react'\nimport { Api } from '../../../redux/api/BaseApi';\nimport { UserApi } from '../../../redux/api/UserApi';\nimport { useReduxDispatch, useReduxSelector } from '../../../redux/hooks';\nimport * as TicketSlice from '../../../slices/TicketSlice';\nimport { ITicketOptions } from '../../../types/Ticket/ITicket';\n// import JsonTreeViewer from '../../Test/JsonTreeViewer';\n\nconst LogOptions = () => {\n const dispatch = useReduxDispatch();\n const { data: myLogOptions } = UserApi.useGetLogOptionsQuery()\n const { data: userProfile } = Api.useGetUserProfileQuery();\n const [saveLogOptions] = UserApi.usePostLogOptionsMutation();\n const { logOptions } = useReduxSelector(state => state.ticketDetails);\n const options = useMemo(() => [\n { id: 0, text: \"View details\" },\n { id: 1, text: \"Pin to dock\" },\n { id: 2, text: \"Close \" + userProfile?.Phrases.CallPhrase },\n { id: 3, text: \"Log another (Blank)\" },\n { id: 4, text: \"Log another (Duplicate)\" },\n ], [userProfile?.Phrases.CallPhrase]);\n\n const [values, setValues] = useState([]);\n const [opened, setOpened] = useState(false);\n useEffect(() => {\n if (!logOptions) {\n const defaultOptions = options.filter(o => myLogOptions?.Options?.split(',').indexOf(o.id.toString()) > -1)\n setValues(defaultOptions)\n dispatch(TicketSlice.SetMyOptions(myLogOptions))\n //Initial Close option on ticket form.\n myLogOptions?.Options?.indexOf('2') > -1 && dispatch(TicketSlice.SetLogOptions({ Close: true } as ITicketOptions));\n } else {\n const defaultOptions = options.filter(o => logOptions?.Options?.split(',').indexOf(o.id.toString()) > -1)\n setValues(defaultOptions)\n }\n console.log('useEffect LogOptions', myLogOptions, logOptions, options);\n }, [dispatch, myLogOptions, logOptions, options])\n\n const handleSingleChange = (event) => {\n let foundItem = values.filter(v => v.id === event.value.id)\n\n let newArray = [...values] //clone\n\n if (foundItem?.length > 0) {\n newArray.splice(values.indexOf(foundItem[0]), 1)\n //remove\n setValues(newArray);\n }\n else {\n newArray = [...values, event.value]\n\n //If log another or log duplicate is selected the UNSELECT 'view details'\n if (event.value.id === 3)\n newArray = newArray.filter(n => n.id !== 0 && n.id !== 4);\n if (event.value.id === 4)\n newArray = newArray.filter(n => n.id !== 0 && n.id !== 3);\n if (event.value.id === 0)\n newArray = newArray.filter(n => n.id !== 3 && n.id !== 4);\n\n setValues(newArray);\n }\n\n\n //Update the ticket state\n let newOptions = newArray.map(n => n.id).join(',');\n\n dispatch(TicketSlice.SetMyOptions({ ...myLogOptions, Options: newOptions }))\n\n //Pin ticket\n let mustPin = newOptions.indexOf('1') > -1;\n let closeTicket = newOptions.indexOf('2') > -1;\n\n dispatch(TicketSlice.SetLogOptions({ Pin: mustPin, Close: closeTicket } as ITicketOptions));\n\n //post to persist settings in API.\n //console.log('post to persist settings in API', newOptions, logOptions);\n saveLogOptions({ ...myLogOptions, Options: newOptions });\n }\n\n const itemRender = (li, itemProps) => {\n let foundItem = values.filter(v => v.id === itemProps.dataItem[\"id\"])\n const itemChildren = (\n \n 0}\n onMouseDown={(e) => { e.preventDefault(); }}\n />\n  {li.props.children}\n \n );\n return React.cloneElement(li, li.props, itemChildren);\n }\n\n return (\n
\n
\n { console.log('onFocus'); setOpened(true) }}\n onBlur={() => { console.log('blur'); setOpened(false) }}\n title={values.map(v => v.text).join(', ')}\n value={!values?.length ? { text: 'Log options...' } : values?.length === 1 ? { text: values[0].text } : { text: `${values?.length} items selected` }}\n data={options}\n textField=\"text\"\n itemRender={itemRender}\n style={{ width: 190, marginLeft: 5 }}\n onChange={handleSingleChange}\n // footer={footer}\n />\n
\n {/*
\n {JSON.stringify(values)} \n \n\n
*/}\n
\n )\n}\n\nexport default LogOptions","import { useEffect, useRef } from \"react\";\nimport { ISearchQuick, ISearchQuickResults } from \"../types/ISearch\";\nimport { NavItems } from \"../types/User/IUserProfile\";\n\nconst useFocusInput = () => {\n const ref = useRef(null);\n useEffect(() => {\n ref.current?.focus();\n });\n return ref;\n};\n\nconst useFocusTextArea = () => {\n const ref = useRef(null);\n useEffect(() => {\n ref.current?.focus();\n });\n return ref;\n};\n\nfunction any(iterable) {\n for (let index = 0; index < iterable.length; index++) {\n if (iterable[index]) return true;\n }\n return false;\n}\n\nexport function trimChar(str, ch) {\n if (!str?.length) return str;\n var start = 0,\n end = str?.length;\n\n while (start < end && str[start] === ch) ++start;\n\n while (end > start && str[end - 1] === ch) --end;\n\n return start > 0 || end < str.length ? str.substring(start, end) : str;\n}\n\nconst isDate = function (date) {\n return date instanceof Date && !isNaN(date.valueOf());\n};\n\nconst mouseClickEvents = [\"mousedown\", \"click\", \"mouseup\"];\nfunction simulateMouseClick(element) {\n mouseClickEvents.forEach((mouseEventType) =>\n element.dispatchEvent(\n new MouseEvent(mouseEventType, {\n view: window,\n bubbles: true,\n cancelable: true,\n buttons: 1,\n })\n )\n );\n}\nfunction removeTrailingSlash(str) {\n return str.endsWith(\"/\") ? str.slice(0, -1) : str;\n}\n/** Return Object if it matches number in ID attribute. The array objects must have an attribute of ID. */\nfunction ObjectExistsInArray(arr: any[], ID: number) {\n for (let i = 0; i < arr.length; i++) {\n if (arr[i].ID === ID) {\n return { found: arr[i], index: i };\n }\n return null;\n }\n}\nexport function FlattenAndAddCategoryObjectsToQuickSearchResults(\n quickSearchObj: ISearchQuick\n) {\n const resultsArr: ISearchQuickResults[] = [];\n const maxResults = 50;\n let i = 0;\n quickSearchObj.Categories.forEach((category) => {\n const resultsCount =\n category.ResultCount > maxResults ? maxResults : category.ResultCount;\n resultsArr.push({\n Id: i,\n Display: category.Display,\n ResultCount: resultsCount,\n Url_Format: \"#\",\n isCategory: true,\n });\n i++;\n category.Results.slice(0, maxResults).forEach((result) => {\n resultsArr.push({\n ...result,\n Url_Format: category.Url_Format,\n isCategory: false,\n });\n });\n });\n return resultsArr;\n}\nexport function AddTextAndItemsAttrToNavItems(Nav_Items: NavItems[]) {\n return Nav_Items?.map((item1) => {\n return {\n ...item1,\n text: item1.Text,\n items: [...item1.Nav_Items]?.map((item2) => {\n return {\n ...item2,\n text: item2.Text,\n items: [...item2.Nav_Items]?.map((item3) => {\n return {\n ...item3,\n text: item3.Text,\n items: [...item3.Nav_Items].map((item4) => {\n return { ...item4, text: item4.Text }\n }),\n }\n }),\n };\n }),\n };\n });\n}\nexport function AddTextAndItemsAttrToHamburgerItems(Nav_Items: NavItems[]) {\n return Nav_Items.map((item1) => {\n return {\n ...item1,\n text: item1.Text,\n items: [...item1.Nav_Items]?.map((item2) => {\n return {\n ...item2,\n text: item2.Text,\n items: [...item2.Nav_Items]?.map((item3) => {\n return {\n ...item3,\n text: item3.Text,\n items: [...item3.Nav_Items]?.map((item4) => {\n return {\n ...item4,\n text: item4.Text,\n items: item4.Nav_Items.map(n4 => {\n return { text: n4.Text }\n })\n };\n }),\n };\n }),\n };\n }),\n };\n });\n}\n\nfunction getTicketStateClassName(state: string) {\n switch (state?.toLowerCase()) {\n case \"new\":\n return \"ticket-state-new\";\n case \"current\":\n return \"ticket-state-current\";\n case \"response late\":\n case \"resolve late\":\n return \"ticket-state-late\";\n case \"response at risk\":\n case \"resolve at risk\":\n return \"ticket-state-at-risk\";\n }\n\n return \"ticket-state-current\";\n}\n\nfunction toDigital(minutes, negativeBrackets?) {\n if (minutes === 0) return \"0:00\";\n if (!minutes) return \"\";\n let convert = minutes < 0 && negativeBrackets ? minutes * -1 : minutes;\n let digital =\n Math.floor(convert / 60) + \":\" + (convert % 60).toFixed().padStart(2, \"0\");\n\n return minutes < 0 && negativeBrackets ? `(${digital})` : digital;\n}\n\n///Converts Hours and Minutes to Minutes ie. 1:20 = 80min\nfunction toMinutes(time) {\n var strMin;\n var strHour;\n if (time.indexOf(\":\") > -1) {\n strHour = parseInt(time.substr(0, time.indexOf(\":\")));\n strMin = parseInt(time.substr(time.indexOf(\":\") + 1).padEnd(2, \"0\"));\n } else {\n strHour = parseInt(time);\n strMin = parseInt(\"0\");\n }\n var minutes = 0;\n var hours = 0;\n\n if (!isNaN(strMin)) {\n minutes = strMin;\n }\n if (!isNaN(strHour)) {\n hours = strHour;\n }\n\n return hours * 60 + minutes;\n}\n\nexport {\n toDigital,\n toMinutes,\n useFocusInput,\n useFocusTextArea,\n any,\n simulateMouseClick,\n ObjectExistsInArray,\n removeTrailingSlash,\n getTicketStateClassName,\n isDate,\n};\n","import React, { useEffect } from 'react'\nimport { formatDate } from '@progress/kendo-intl';\nimport {\n getSelectedState,\n Grid,\n GridColumn,\n GridSelectionChangeEvent,\n GridSortChangeEvent\n} from \"@progress/kendo-react-grid\";\nimport { getter } from \"@progress/kendo-react-common\";\nimport { GridCellProps } from '@progress/kendo-react-grid';\nimport { Link } from 'react-router-dom';\nimport { TextBox, Checkbox } from '@progress/kendo-react-inputs';\nimport { TicketSelectedProps } from '../../../types/Props/TicketSelectedProps';\nimport {\n filterBy, orderBy, SortDescriptor\n} from \"@progress/kendo-data-query\";\nimport { Api, useGetTenantQuery } from '../../../redux/api/BaseApi';\nimport { getTicketStateClassName } from '../../../utils/utils';\nconst TicketGrid = (props: TicketSelectedProps) => {\n const DATA_ITEM_KEY = \"ID\";\n const idGetter = getter(DATA_ITEM_KEY);\n const SELECTED_FIELD = \"selected\";\n const { data: userProfile } = Api.useGetUserProfileQuery();\n const [filter, setFilter] = React.useState(null);\n const { data: tenant } = useGetTenantQuery()\n\n let primaryCol = props.primaryCol ? props.primaryCol : \"Company_Name\";\n //Sorting\n const initialSort: Array = [\n { field: \"Call_Id\", dir: \"desc\" },\n ];\n const [sort, setSort] = React.useState(initialSort);\n\n ///Fires when a ticket is selected in the Grid\n const ticketSelected = (e) => {\n //console.log('TicketGrid',e);\n if (e.checked)\n props.onTicketSelected(e.value)\n else\n props.onTicketSelected(0)\n\n setSelectedState({ [e.value]: e.checked });\n }\n const [selectedState, setSelectedState] = React.useState<{\n [id: string]: boolean | number[];\n }>({ [props.selectedTicketId]: true });\n const ticketRowSelected = (event: GridSelectionChangeEvent) => {\n const newSelectedState = getSelectedState({\n event,\n selectedState: selectedState,\n dataItemKey: \"ID\",\n });\n\n setSelectedState(newSelectedState);\n\n props.onTicketSelected(event.dataItems[event.startRowIndex].ID);\n }\n const filterChanged = (e) => {\n console.log('filterchanged', e.value)\n let newFilter = {\n logic: \"or\",\n filters: [\n { field: \"Company_Name\", operator: \"contains\", value: e.value },\n { field: \"Project_Name\", operator: \"contains\", value: e.value },\n { field: \"Call_Desc\", operator: \"contains\", value: e.value },\n { field: \"ID\", operator: \"contains\", value: e.value },\n ],\n }\n setFilter(newFilter);\n }\n\n useEffect(() => {\n if (!props.selectedTicketId)\n setSelectedState({});\n }, [props.selectedTicketId])\n return (\n <>\n
\n \n
\n {\n setSort(e.sort);\n }}\n selectable={{\n enabled: props.selectable\n }}\n selectedField={SELECTED_FIELD}\n data={orderBy(\n filterBy(props.data?.map((item) => ({\n ...item,\n [SELECTED_FIELD]: selectedState[idGetter(item)],\n })), filter),\n sort)}\n >\n {props.selectable &&\n {\n let fieldValue = props.dataItem[\"ID\"] || \"\";\n return (\n <>\n \n { e.syntheticEvent.preventDefault(); ticketSelected({ value: fieldValue, checked: e.value }) }} />\n \n \n );\n }}\n />}\n\n {\n let fieldValue = props.dataItem[props.field] || \"\";\n return (\n \n {fieldValue}\n \n );\n }}\n />\n {\n return (\n ticketSelected({ value: props.dataItem[\"ID\"], checked: true })}>\n {formatDate(new Date(props.dataItem[\"Open_Dt\"] + 'Z'), \"g\")}\n \n );\n }} />\n {\n return (\n ticketSelected({ value: props.dataItem[\"ID\"], checked: true })}>\n {props.dataItem[primaryCol]}\n
{props.dataItem[\"Project_Name\"]}
\n \n );\n }}\n />\n \n
\n \n )\n}\n\nexport default TicketGrid","import { Checkbox } from \"@progress/kendo-react-inputs\";\nimport { PanelBar, PanelBarItem } from \"@progress/kendo-react-layout\";\n// import { PanelBar, PanelBarItem } from \"@progress/kendo-react-layout\";\nimport { FunctionComponent } from \"react\"\nimport { Api } from \"../../../redux/api/BaseApi\";\nimport { TicketApi } from \"../../../redux/api/TicketApi\";\nimport { useReduxDispatch, useReduxSelector } from \"../../../redux/hooks\";\nimport { SimpleSpinny } from \"../../Nav/Spinny\";\nimport TicketGrid from \"../GridControls/TicketGrid\";\nimport { SetHierarchy } from \"../../../slices/TicketSlice\";\n\nconst TicketHierarchy: FunctionComponent = props => {\n const dispatch = useReduxDispatch();\n const { ticket } = useReduxSelector(state => state.ticketDetails);\n const isChild = ticket.Parent_Call_Id || ticket.Parent_Call_Id === 0\n const { data: parentTickets, isLoading } = TicketApi.useGetOpenParentTicketsQuery(undefined, { skip: !isChild });\n const isParent = ticket.Is_Parent;\n\n\n const handleParentChange = (event) => {\n //props.onParentChanged(event.value);\n dispatch(SetHierarchy({ IsParent: event.value, Parent_Ticket_Id: null }));\n };\n\n const handleChildChange = (event) => {\n console.log('handleChildChange', event)\n if (!event.value)\n dispatch(SetHierarchy({ Parent_Ticket_Id: null, IsParent: false }));\n else\n dispatch(SetHierarchy({ Parent_Ticket_Id: 0, IsParent: false }));\n };\n const onTicketSelected = (Id?: number) => {\n console.log('onTicketSelected', Id)\n dispatch(SetHierarchy({ Parent_Ticket_Id: Id, IsParent: false }));\n };\n const childTicketLabel = ticket.Parent_Call_Id > 0 ? `Child to ${ticket.Parent_Call_Id}` : \"Child to ...\"\n const { data: userProfile } = Api.useGetUserProfileQuery();\n\n\n return (\n \n \n {/* Parent_Call_Id:{ticket.Parent_Call_Id} - isChild{isChild} */}\n
\n \n
\n
\n \n
\n {isChild &&\n
\n
\n {isLoading ? :\n \n }\n
\n
\n }\n
\n
\n )\n}\n\ntype HierarchyProps = {\n onParentChanged?: (e: any) => void;\n onChildChanged?: (e: any) => void;\n}\n\nexport default TicketHierarchy;\n","import { PanelBar, PanelBarItem } from '@progress/kendo-react-layout';\nimport React from 'react'\nimport { TicketApi } from '../../../redux/api/TicketApi';\nimport { useReduxSelector } from '../../../redux/hooks';\nimport TicketGrid from './TicketGrid';\n\n\nconst ExistingTickets = (props) => {\n const { ticket } = useReduxSelector(state => state.ticketDetails);\n const { data: userProfile } = TicketApi.useGetUserProfileQuery();\n const { data } = TicketApi.useGetOpenEndUserTicketsQuery(ticket.Company_Contact_Uid, { skip: !ticket.Company_Contact_Uid })\n const { data: clientTickets } = TicketApi.useGetOpenTicketsQuery({ companyId: ticket.Company_Id }, { skip: !ticket.Company_Id })\n return (\n <>\n \n \n \n \n \n \n \n \n\n \n )\n}\n\nexport default ExistingTickets","import * as React from 'react';\nimport { GridColumnMenuSort, GridColumnMenuFilter, GridColumnMenuItemGroup, GridColumnMenuItem, GridColumnMenuItemContent } from '@progress/kendo-react-grid';\nexport const GridColumnOptions = props => {\n const [columns, setColumns] = React.useState(props.columns);\n const [columnsExpanded, setColumnsExpanded] = React.useState(false);\n const [filterExpanded, setFilterExpanded] = React.useState(false);\n const onToggleColumn = id => {\n const newColumns = columns.map((column, idx) => {\n return idx === id ? {\n ...column,\n show: !column.show\n } : column;\n });\n setColumns(newColumns);\n };\n const onReset = event => {\n event.preventDefault();\n const newColumns = props.columns.map(col => {\n return {\n ...col,\n show: true\n };\n });\n setColumns(newColumns);\n props.onColumnsSubmit(newColumns);\n if (props.onCloseMenu) {\n props.onCloseMenu();\n }\n };\n const onSubmit = event => {\n if (event) {\n event.preventDefault();\n }\n props.onColumnsSubmit(columns);\n if (props.onCloseMenu) {\n props.onCloseMenu();\n }\n };\n const onMenuItemClick = () => {\n const value = !columnsExpanded;\n setColumnsExpanded(value);\n setFilterExpanded(value ? false : filterExpanded);\n };\n const onFilterExpandChange = value => {\n setFilterExpanded(value);\n setColumnsExpanded(value ? false : columnsExpanded);\n };\n const oneVisibleColumn = columns.filter(c => c.show).length === 1;\n return
\n \n \n \n \n \n
\n
\n
\n {columns.map((column, idx) =>
\n \n {\n onToggleColumn(idx);\n }} />\n \n \n
)}\n
\n
\n \n \n
\n
\n
\n
\n
\n
;\n};","import { Grid, GridColumn as Column, GridColumnMenuGroup, GridColumnReorderEvent, GridDataStateChangeEvent, GridSortChangeEvent } from '@progress/kendo-react-grid'\nimport React, { useEffect, useMemo } from 'react'\nimport { Api } from \"../../redux/api/BaseApi\";\nimport { AssetApi } from \"../../redux/api/AssetApi\";\nimport { UserApi } from \"../../redux/api/UserApi\";\nimport { GridColumnOptions } from './GridColumnOptions';\nimport { nanoid } from 'nanoid';\nimport { Checkbox, TextBox, TextBoxChangeEvent } from '@progress/kendo-react-inputs';\nimport { CompositeFilterDescriptor, process, SortDescriptor, State } from '@progress/kendo-data-query';\nimport { IAsset } from '../../types/Asset/IAsset';\nimport { ISetting } from '../../types/User/ISetting';\n\nexport const AssetGrid = (props: AssetGridProps) => {\n const { data: userGridState } = UserApi.useGetSettingQuery(props.persistedSettingId, { skip: !props.persistedSettingId })\n const [saveSetting] = UserApi.useSaveSettingMutation()\n const { data: userProfile } = Api.useGetUserProfileQuery();\n const currentIds = props.selectedAssets\n const { data } = AssetApi.useGetAssetsQuery({ companyId: props.companyId, locationId: props.locationId, contactId: props.locationId ? 0 : props.contactId }, { skip: !props.companyId })\n const bindData = props.locationId ? data?.filter(d => d.Contact_Id !== props.contactId) : data\n const columns = [\n {\n title: userProfile?.Phrases.Device,\n field: \"Device_Name\",\n show: true,\n filter: \"text\",\n orderIndex: 0\n },\n {\n title: userProfile?.Phrases.Manufacturer,\n field: \"Manuf_Name\",\n show: true,\n filter: \"text\",\n orderIndex: 1\n },\n {\n title: userProfile?.Phrases.Model,\n field: \"Model_Name\",\n show: true,\n filter: \"text\",\n orderIndex: 2\n },\n {\n title: userProfile?.Phrases.SerialNumber,\n field: \"Serial_Number\",\n show: true,\n filter: \"text\",\n orderIndex: 3\n },\n {\n title: userProfile?.Phrases.Memory,\n field: \"Memory\",\n show: true,\n filter: \"text\",\n orderIndex: 4\n },\n {\n title: userProfile?.Phrases.Processor,\n field: \"Processor\",\n show: false,\n filter: \"text\",\n orderIndex: 5\n },\n {\n title: userProfile?.Phrases.AssetCustom1,\n field: \"Custom1\",\n show: false,\n filter: \"text\",\n orderIndex: 6\n },\n {\n title: userProfile?.Phrases.AssetCustom2,\n field: \"Custom2\",\n show: false,\n filter: \"text\",\n orderIndex: 7\n },\n {\n title: userProfile?.Phrases.AssetCustom3,\n field: \"Custom3\",\n show: false,\n filter: \"text\",\n orderIndex: 8\n },\n {\n title: userProfile?.Phrases.AssetCustom4,\n field: \"Custom4\",\n show: false,\n filter: \"text\",\n orderIndex: 9\n },\n {\n title: userProfile?.Phrases.AssetCustom5,\n field: \"Custom5\",\n show: false,\n filter: \"text\",\n orderIndex: 10\n },\n ];\n\n //The user's saved grid state and columns\n const userStateFromSettings = userGridState?.Big_String_Value ? JSON.parse(userGridState?.Big_String_Value) : undefined;\n const userState = (userStateFromSettings ? userStateFromSettings : { state: { take: 20, skip: 0 }, columns: null }) as { state: State, columns: [{ field: string, orderIndex: number }] }\n\n //The user's chosen columns\n const userColumns = columns.map((c) => {\n let userColIndex = userState?.columns?.map(uc => uc.field).indexOf(c.field)\n\n return (userState?.columns?.length ?\n userColIndex > -1 ? { ...c, show: true, orderIndex: userState?.columns[userColIndex].orderIndex } : { ...c, show: false }\n : c)\n })\n const [dataState, setDataState] = React.useState(userState?.state || {});\n const [stateColumns, setStateColumns] = React.useState(userColumns);\n\n //Update the grid state when the user's settings are loaded.\n useEffect(() => {\n //never override the page number or filters\n setDataState({ ...userState?.state, skip: dataState?.skip, filter: dataState?.filter })\n setStateColumns(userColumns)\n }, [userGridState])\n\n\n const onColumnsSubmit = (columnsState) => {\n setStateColumns(columnsState);\n\n persistUserState(dataState, columnsState);\n };\n\n const assetSelected = (e: IAsset) => {\n let newArray = data.filter(ass => props.selectedAssets?.indexOf(ass.ID) > -1);\n let found = newArray?.filter(a => a.ID === e.ID)\n if (found?.length)\n newArray.splice(newArray?.indexOf(found[0]), 1)\n else\n newArray.push(e);\n\n props.onChange({ value: newArray });\n };\n\n const dataStateChange = (event: GridDataStateChangeEvent) => {\n setDataState(event.dataState);\n\n persistUserState(event.dataState, null);\n };\n\n const persistUserState = (dataState: State, columnsState: any[]) => {\n //Save to user templateSettings\n if (props.persistedSettingId) {\n //, filter: undefined\n saveSetting({ ID: 0, Contact_Id: userProfile.Id, Setting_Id: props.persistedSettingId, Big_String_Value: JSON.stringify({ state: { ...dataState, filter: undefined, skip: 0 }, columns: (columnsState || stateColumns).filter(c => c.show).map(m => { return { field: m.field, orderIndex: m.orderIndex } }) }) } as ISetting)\n }\n }\n\n const columnReorder = (e: GridColumnReorderEvent) => {\n let newColumns = e.columns.filter(f => f.field).map(c => { return { title: c.title, field: c.field, filter: c.filter, orderIndex: c.orderIndex, show: true } })\n setStateColumns(newColumns);\n persistUserState(dataState, newColumns);\n }\n\n const filterChanged = (e: TextBoxChangeEvent) => {\n let newFilter = {\n logic: \"or\",\n operator: \"eq\",\n filters: e.value ? columns.map(c => { return { field: c.field, operator: \"contains\", value: e.value } }) : []\n } as CompositeFilterDescriptor\n let newState = { ...dataState, filter: newFilter, skip: 0 }\n setDataState(newState)\n\n persistUserState(newState, null);\n }\n\n const columnsToRender = stateColumns?.map(\n (column, idx) =>\n column.show && (\n (\n <>\n \n \n \n )}\n />\n )\n )\n\n return (\n <>\n
\n \n
\n \n {/* */}\n {\n if (e.rowType === 'groupHeader') return <>;\n return (\n \n -1} onChange={() => assetSelected(e.dataItem)} />\n )\n }}\n />\n {columnsToRender}\n \n {/* columnsToRender: {columnsToRender?.length} */}\n {/*
userColumns:{JSON.stringify(userColumns?.filter(u => u.show).map(c => c.field))} - {userColumns?.length}
*/}\n {/*
stateColumns:{JSON.stringify(stateColumns.filter(u => u.show).map(c => c.field))}
\n
dataState:{JSON.stringify(dataState)}
\n
userState:{JSON.stringify(userState)}
*/}\n {/*
userGridState?.Big_String_Value:{userGridState?.Big_String_Value}
*/}\n\n \n )\n}\n\n\n\nexport interface AssetGridProps {\n persistedSettingId?: number\n contactId?: number\n locationId?: number\n companyId?: number\n onChange?: (e: { value: IAsset[] }) => void\n selectedAssets: number[]\n}","import { AssetGrid } from \"../../Asset/AssetGrid\"\nimport { PanelBar, PanelBarItem } from '@progress/kendo-react-layout';\nimport { Api } from \"../../../redux/api/BaseApi\";\nimport { useReduxDispatch, useReduxSelector } from \"../../../redux/hooks\";\nimport { SetAssets } from \"../../../slices/TicketSlice\";\nimport { IAsset } from \"../../../types/Asset/IAsset\";\nimport { AssetApi } from \"../../../redux/api/AssetApi\";\n\nconst TicketAssets = (props) => {\n const dispatch = useReduxDispatch();\n const { data: userProfile } = Api.useGetUserProfileQuery();\n const { ticket } = useReduxSelector(state => state.ticketDetails);\n const { data: assets } = AssetApi.useGetAssetsQuery({ contactId: 0, locationId: ticket.Company_Address_Id }, { skip: !ticket.Company_Address_Id })\n const contactAssets = assets?.filter((a) => a.Contact_Id === ticket.Company_Contact)\n const locationAssets = assets?.filter((a) => a.Contact_Id !== ticket.Company_Contact)\n const selectedAssetIds = ticket?.Assets?.map(a => a.Asset_Id);\n const selectedLocationAssetCount = ticket?.Assets?.filter(a => a.Contact_Id !== ticket.Company_Contact).length;\n const selectedContactAssetCount = ticket?.Assets?.filter(a => a.Contact_Id === ticket.Company_Contact).length;\n const assetSelected = (e: { value: IAsset[] }) => {\n dispatch(SetAssets(e.value.map((a) => {\n return { Call_Id: ticket.ID, Asset_Id: a.ID, ID: 0, Contact_Id: a.Contact_Id }\n })));\n }\n return (\n <>\n {/* Assets:{JSON.stringify(ticket?.Assets?.map(a => a.Asset_Id))} */}\n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default TicketAssets;","import { FieldRenderProps, FieldWrapper } from '@progress/kendo-react-form';\nimport React from 'react'\nimport { Api } from '../../redux/api/BaseApi';\nimport { useReduxSelector } from '../../redux/hooks';\nimport {\n Label\n} from \"@progress/kendo-react-labels\";\n\nexport default function Timeline (props:FieldRenderProps) {\n const {ticket} = useReduxSelector(state=>state.ticketDetails);\n const {data: imageData} = Api.useGetTimelineImageQuery({projectId:ticket.Project_Id, priorityId: ticket.Priority_Id, slaId:ticket.SLA_Id});\n return (\n \n \n {props.label}\n \n timeline\n \n )\n}\n ","import React, { FunctionComponent, useRef } from 'react'\nimport { Field } from '../../../types/Form/IForm'\nimport { DatePicker, DateTimePicker } from \"@progress/kendo-react-dateinputs\";\nimport { FieldRenderProps } from '@progress/kendo-react-form';\n\nexport const DateField: FunctionComponent = props => {\n const { field, value, ...others } = props;\n const defVal = field?.VALUES?.length > 0 ? new Date(field?.VALUES[0]) : undefined //props.ConfigSettings?.Default === \"2\" ? new Date(Date.parse(props.ConfigSettings?.DefaultValue)) : (props.ConfigSettings?.Default === \"1\" ? new Date() : null);\n const wrapper = useRef();\n const onBlur = (e) => {\n let fieldChange = { ...field, VALUES: [e.target.value] }\n props.onChange({ value: fieldChange });\n }\n // defaultValue={defVal}\n if (field.ConfigSettings?.Display === \"1\")\n return \n else\n return (\n
\n {/* {JSON.stringify(defVal)} */}\n \n
\n\n )\n\n}\n","import { DropDownList, MultiSelect } from '@progress/kendo-react-dropdowns'\nimport { Field, FieldRenderProps, } from '@progress/kendo-react-form';\nimport React, { FunctionComponent, useEffect, useRef, useState } from 'react'\nimport { IOption } from '../../../types/Form/IForm';\n\ntype DropdownState = {\n isOpen: boolean;\n data: IOption[];\n value: IOption;\n select?: IOption;\n}\nconst DropdownField: FunctionComponent = formRenderProps => {\n const { field,\n value,\n touched,\n ...others\n } = formRenderProps;\n const activeItems: IOption[] = field.Options.filter(o => o.Enabled)\n const currentValues = field?.VALUES?.length > 0 ? activeItems.filter(i => field?.VALUES.indexOf(i.UID) > -1) : undefined;\n const maxDepth = field?.ConfigSettings?.MaxDepth;\n\n //Cascading field\n const parentItems = activeItems.filter(i => i.Parent_UID == '00000000-0000-0000-0000-000000000000')\n const [topLevelOptions, setTopLevelOptions] = useState({ isOpen: false, data: parentItems, value: null, select: null });\n const [secondLevelOptions, setSecondLevelOptions] = useState({ isOpen: false, data: [], value: null, select: null });\n const [thirdLevelOptions, setThirdLevelOptions] = useState({ isOpen: false, data: [], value: null, select: null });\n const [fourthLevelOptions, setFourthLevelOptions] = useState({ isOpen: false, data: [], value: null, select: null });\n const [fifthLevelOptions, setFifthLevelOptions] = useState({ isOpen: false, data: [], value: null, select: null });\n\n //const defaultOption = activeItems.filter(o=> o.UID === field.ConfigSettings?.Default);\n const fieldChanged = (e) => {\n //console.log('fieldChanged',e);\n let fieldChange = { ...field, VALUES: [e.value.UID] }\n formRenderProps.onChange({ value: fieldChange });\n }\n const multiFieldChanged = (e) => {\n let fieldChange = { ...field, VALUES: e.value.map(v => v.UID) }\n formRenderProps.onChange({ value: fieldChange });\n }\n const parentChanged = (event) => {\n let fieldChange = { ...field, VALUES: [event.value.UID].filter(v => v !== undefined && v !== null) }\n formRenderProps.onChange({ value: fieldChange });\n\n }\n const secondLevelChanged = (event) => {\n let fieldChange = { ...field, VALUES: [topLevelOptions.value.UID, event.value.UID].filter(v => v !== undefined && v !== null) }\n formRenderProps.onChange({ value: fieldChange });\n }\n const thirdLevelChanged = (e) => {\n let fieldChange = { ...field, VALUES: [topLevelOptions.value?.UID, secondLevelOptions.value?.UID, e.value.UID].filter(v => v !== undefined && v !== null) }\n formRenderProps.onChange({ value: fieldChange });\n }\n const fourthLevelChanged = (e) => {\n let fieldChange = { ...field, VALUES: [topLevelOptions.value?.UID, secondLevelOptions.value?.UID, thirdLevelOptions.value?.UID, e.value.UID].filter(v => v !== undefined && v !== null) }\n formRenderProps.onChange({ value: fieldChange });\n }\n\n const fifthLevelChanged = (e) => {\n let fieldChange = { ...field, VALUES: [topLevelOptions.value?.UID, secondLevelOptions.value?.UID, thirdLevelOptions.value?.UID, fourthLevelOptions.value?.UID, e.value.UID].filter(v => v !== undefined && v !== null) }\n formRenderProps.onChange({ value: fieldChange });\n //setFifthLevelOptions((o) => o = {...o, value:e.value});\n }\n\n const blur = (level) => {\n if (level === 2) { setSecondLevelOptions((e) => e = { ...e, isOpen: false }); }\n if (level === 3) { setThirdLevelOptions((e) => e = { ...e, isOpen: false }); }\n if (level === 4) { setFourthLevelOptions((e) => e = { ...e, isOpen: false }); }\n if (level === 5) { setFifthLevelOptions((e) => e = { ...e, isOpen: false }); }\n }\n const open = (level) => {\n if (level === 2) { setSecondLevelOptions((e) => e = { ...e, isOpen: true }); }\n if (level === 3) { setThirdLevelOptions((e) => e = { ...e, isOpen: true }); }\n if (level === 4) { setFourthLevelOptions((e) => e = { ...e, isOpen: true }); }\n if (level === 5) { setFifthLevelOptions((e) => e = { ...e, isOpen: true }); }\n }\n const wrapper = useRef();\n //Reverse fill the dropdowns based on the selected value.\n useEffect(() => {\n const option1 = activeItems.filter(i => i.UID === field.VALUES[0])\n const option2 = activeItems.filter(i => i.UID === field.VALUES[1])\n const option3 = activeItems.filter(i => i.UID === field.VALUES[2])\n const option4 = activeItems.filter(i => i.UID === field.VALUES[3])\n const option5 = activeItems.filter(i => i.UID === field.VALUES[4])\n\n //const level1Items = activeItems?.filter(s=>(option1?.length > 0 ? s.Parent_UID == option1[0].UID : null));\n const level2Items = activeItems?.filter(s => (option1?.length > 0 ? s.Parent_UID === option1[0].UID : null));\n const level3Items = activeItems?.filter(s => (option2?.length > 0 ? s.Parent_UID === option2[0].UID : null));\n const level4Items = activeItems?.filter(s => (option3?.length > 0 ? s.Parent_UID === option3[0].UID : null));\n const level5Items = activeItems?.filter(s => (option4?.length > 0 ? s.Parent_UID === option4[0].UID : null));\n\n const select2 = { Value: (level2Items?.length > 0 ? 'Select' : option1?.length > 0 ? '(None)' : null) } as IOption\n const select3 = { Value: (level3Items?.length > 0 ? 'Select' : option2?.length > 0 ? '(None)' : null) } as IOption\n const select4 = { Value: (level4Items?.length > 0 ? 'Select' : option3?.length > 0 ? '(None)' : null) } as IOption\n const select5 = { Value: (level5Items?.length > 0 ? 'Select' : option4?.length > 0 ? '(None)' : null) } as IOption\n\n setTopLevelOptions((e) => e = { ...e, value: (option1?.length > 0 ? option1[0] : null) });\n setSecondLevelOptions((e) => e = { ...e, data: level2Items, value: (option2?.length > 0 ? option2[0] : null), select: select2 });\n setThirdLevelOptions((e) => e = { ...e, data: level3Items, value: (option3?.length > 0 ? option3[0] : null), select: select3 });\n setFourthLevelOptions((e) => e = { ...e, data: level4Items, value: (option4?.length > 0 ? option4[0] : null), select: select4 });\n setFifthLevelOptions((e) => e = { ...e, data: level5Items, value: (option5?.length > 0 ? option5[0] : null), select: select5 });\n }, [field.VALUES]);\n\n if (field.ConfigSettings?.Display === \"0\") {\n //Dropdown\n return (\n
\n \n
)\n }\n else if (field.ConfigSettings?.Display === \"1\") {\n //Multi select\n return (\n
\n \n
\n )\n }\n else if (field.ConfigSettings?.Display === \"2\") {\n //Cascading dropdowns\n return (\n
\n {/* {JSON.stringify(others)} */}\n open(1)} defaultItem={{ Value: \"Select\" }} data={topLevelOptions.data} textField=\"Value\" dataItemKey='UID' />\n {maxDepth > 1 && open(2)} onClose={() => blur(2)} onBlur={() => blur(2)} data={secondLevelOptions?.data} textField=\"Value\" dataItemKey='UID' />}\n {maxDepth > 2 && open(3)} onClose={() => blur(3)} onBlur={() => blur(3)} data={thirdLevelOptions?.data} textField=\"Value\" dataItemKey='UID' />}\n {maxDepth > 3 && open(4)} onClose={() => blur(4)} onBlur={() => blur(4)} data={fourthLevelOptions?.data} textField=\"Value\" dataItemKey='UID' />}\n {maxDepth > 4 && open(5)} onClose={() => blur(5)} onBlur={() => blur(5)} data={fifthLevelOptions?.data} textField=\"Value\" dataItemKey='UID' />}\n
\n )\n }\n return <>\n}\n\nexport default DropdownField;","import React, { FunctionComponent } from 'react'\nimport { NumericTextBox } from \"@progress/kendo-react-inputs\";\nimport { Hint } from \"@progress/kendo-react-labels\";\nimport { FieldRenderProps } from '@progress/kendo-react-form';\n\nconst NumericField: FunctionComponent = formRenderProps => {\n const {field} = formRenderProps;\n\n let format = \"n\" + field.ConfigSettings?.Decimal;\n if(field.Field_Type_Id === 9){format = \"c2\"} //Currency\n //if(field.Field_Type_Id === 5)\n const minVal = field.ConfigSettings?.MinValue || undefined;\n const maxVal = field.ConfigSettings?.MaxValue || 2147483647;\n const currentValue = field?.VALUES?.length > 0 ? field.VALUES[0] : undefined;\n\n const onBlur = (e) =>{\n console.log(e.target.value);\n let fieldChange = {...field, VALUES:[e.target.value]}\n formRenderProps.onChange({value:fieldChange});\n }\n return (\n <>\n {/* default:{minVal} - {maxVal} - {format} */}\n \n { minVal && maxVal &&\n \n range {minVal} - {maxVal}\n \n }\n \n )\n}\n\nexport default NumericField;","import { Input, TextArea } from '@progress/kendo-react-inputs'\nimport { Hint } from \"@progress/kendo-react-labels\";\nimport { Field as CustomField, IField } from '../../../types/Form/IForm'\nimport { Field, FieldRenderProps, } from '@progress/kendo-react-form';\nimport React, { FunctionComponent } from 'react'\n\nconst TextField: FunctionComponent = formRenderProps => {\n const { field, companyId, ...others } = formRenderProps;\n const currentValue = field?.VALUES?.length > 0 ? field.VALUES[0] : null;\n const [value, setValue] = React.useState(currentValue)// ? currentValue : field.ConfigSettings?.Default);\n const [currentField, setCurrentField] = React.useState(field);\n const max = field.ConfigSettings.Max;\n const handleChange = (e) => {\n\n setValue(e.value);\n\n console.log('chnage', e.value, value)\n\n };\n const blurry = (e) => {\n //Bubble the event up to the ticket component so the data can be saved\n const changeField = { ...currentField };\n changeField.VALUES = [value];\n\n formRenderProps.onChange({ value: changeField });\n }\n if (field.ConfigSettings?.Display == \"1\")\n return (\n <>\n \n {max &&\n \n {value ? value.length : 0} / {max}\n \n }\n )\n else\n return (\n <>\n \n {max &&\n \n {value ? value.length : 0} / {max}\n \n }\n \n )\n\n}\n\nexport default TextField;","import { Api } from './BaseApi'\nimport { IClient } from '../../types/Client/IClient';\nimport { IClientType } from '../../types/Client/IClientType';\nimport { IOffice } from '../../types/Client/IOffice';\n\nconst ClientApi = Api.injectEndpoints({\n endpoints: (build) => ({\n getClient: build.query({\n query: (Id) => `Client/${Id}`,\n providesTags: [\"GetClient\"],\n }),\n getMyClients: build.query({\n query: (Id) => `Client/My`,\n providesTags: [\"GetMyClient\"],\n }),\n getClientList: build.query({\n query: (companyTypeId) => {\n if (companyTypeId)\n return `Client/ByType/${companyTypeId}`;\n\n return `Client`\n },\n providesTags: [\"ClientList\"],\n }),\n getClientTypes: build.query({\n query: () => `Client/Type/`,\n providesTags: [\"GetClientTypes\"],\n }),\n getOffice: build.query({\n query: (Id) => `Office/${Id}`,\n providesTags: [\"GetOffice\"],\n })\n }),\n overrideExisting: false,\n})\n\nexport { ClientApi };","import { DropDownList, MultiSelect } from '@progress/kendo-react-dropdowns';\nimport { FieldRenderProps, FieldWrapper } from '@progress/kendo-react-form';\nimport { Label } from \"@progress/kendo-react-labels\";\nimport { toInteger } from 'lodash';\nimport React, { FunctionComponent } from 'react'\nimport { ClientApi } from '../../../redux/api/ClientApi';\n\nconst ClientFieldList: FunctionComponent = props => {\n const {\n validationMessage,\n touched,\n label,\n id,\n valid,\n disabled,\n hint,\n type,\n optional,\n value,\n data,\n multiSelect,\n field,\n ...others\n } = props;\n const values = Array.isArray(field?.VALUES) ? field?.VALUES?.map(v => toInteger(v)) : [];\n const clientTypeId = field?.ConfigSettings?.ClientType;\n const { data: clients } = ClientApi.useGetClientListQuery(clientTypeId);\n //const defaultClient = clients?.filter(c=>c.ID == defaultValue);\n //const defaultClients = clients?.filter(c=>defaultValue.split(',').indexOf(c.ID.toString()) > -1);\n const currentValues = values?.length > 0 ? clients?.filter(i => values?.indexOf(i.ID) > -1) : undefined;\n const fieldChanged = (e) => {\n let fieldChange = { ...field, VALUES: [e.value.ID] }\n props.onChange({ value: fieldChange });\n }\n const multiFieldChanged = (e) => {\n let newValues = e.value.length ? e.value : [{ ID: null }];//Null required to remove existing values from multi-select\n let fieldChange = { ...field, VALUES: newValues.map(v => v.ID) }\n\n props.onChange({ value: fieldChange });\n }\n const listControl = () => {\n if (field?.ConfigSettings?.Display === '1' || multiSelect)\n return \n else\n return 0 ? currentValues[0] : undefined} data={clients} dataItemKey=\"ID\" textField=\"Company_Name\" />\n }\n return (\n <>\n \n {label}\n \n {listControl()}\n \n )\n}\n\nexport default ClientFieldList;","import React, { FunctionComponent } from 'react'\nimport { FieldRenderProps } from '@progress/kendo-react-form';\nimport ClientList from '../../Client/ListControls/ClientFieldList';\n\nexport const ClientField: FunctionComponent = props => {\n const { field, ...others } = props;\n\n return (\n \n )\n\n}\n","import { DropDownList, MultiSelect } from '@progress/kendo-react-dropdowns';\nimport { FieldRenderProps } from '@progress/kendo-react-form';\nimport { Label } from \"@progress/kendo-react-labels\";\nimport React, { FunctionComponent, useState } from 'react'\nimport { Api } from '../../../redux/api/BaseApi';\nimport { UserApi } from '../../../redux/api/UserApi';\n\nconst StaffList: FunctionComponent = props => {\n const {\n label,\n id,\n valid,\n disabled,\n optional,\n values,\n multiSelect,\n addSelect,\n companyId,\n showMe,\n currentUserTop,\n } = props;\n\n const { data: staff } = UserApi.useGetStaffQuery({ teamId: undefined, includeQueues: false, includeStaffPlusForCompanyId: companyId || 0 });\n const [opened, setOpened] = useState(false);\n\n //Show current user as \"Me\"\n const { data: userProfile } = Api.useGetUserProfileQuery();\n let bindStaff = showMe ? staff?.map(s => { return { ...s, Full_Name: s.ID === userProfile.Id ? '' : s.Full_Name } }) : staff;\n bindStaff = currentUserTop ? bindStaff?.sort(function (x, y) { return x.ID === userProfile.Id ? -1 : y.ID === userProfile.Id ? 1 : 0; }) : bindStaff;\n\n const currentValues = values?.length > 0 ? bindStaff?.filter(i => values?.indexOf(i.ID) > -1) : undefined;\n const fieldChanged = (e) => {\n props.onChange({ value: [e.value.ID] });\n }\n const multiFieldChanged = (e) => {\n let newValues = e.value.map(v => v.ID);\n props.onChange({ value: newValues.length ? newValues : [null] }); //Null required to remove existing values from multi-select\n }\n const listControl = (\n multiSelect ?\n { setOpened(true) }}\n onBlur={() => { setOpened(false) }}\n />\n :\n 0 ? currentValues[0] : undefined} data={bindStaff} dataItemKey=\"ID\" textField=\"Full_Name\" />\n )\n return (\n <>\n \n {label}\n \n {listControl}\n \n )\n}\n\n\nexport default StaffList;","import React, { FunctionComponent } from 'react'\nimport { FieldRenderProps } from '@progress/kendo-react-form';\nimport StaffList from '../../User/ListControls/StaffList';\n\nexport const StaffField: FunctionComponent = props => {\n const {field} = props;\n const defVal = field.ConfigSettings?.DefaultValue;\n const multiSelect = field?.ConfigSettings?.Display === '1'\n const values = Array.isArray(field?.VALUES) ? field?.VALUES?.map(v=>parseInt(v)) : [];\n const fieldChanged = (e) =>{\n //console.log('fieldChanged',e);\n let fieldChange = {...field, VALUES:e.value}\n //console.log('fieldChanged2',fieldChange);\n props.onChange({value:fieldChange});\n }\n return(\n \n )\n \n}\n\n","import { FieldRenderProps } from \"@progress/kendo-react-form\";\nimport { Input } from \"@progress/kendo-react-inputs\";\nimport { FunctionComponent, useEffect, useState } from \"react\";\nimport { Label } from \"@progress/kendo-react-labels\";\nimport React from \"react\";\nimport { toDigital, toMinutes } from \"../../utils/utils\";\n\nconst Time: FunctionComponent = props => {\n const {\n label,\n id,\n valid,\n disabled,\n optional,\n mins,\n value,\n onChange,\n ...others\n } = props;\n\n const [time, setTime] = useState(toDigital(mins))\n //const theTime = React.useMemo(() => time === undefined ? toDigital(mins) : time, [mins, time]);\n const timeChanged = e => {\n let newVal = toMinutes(e.target.value);\n onChange({ value: newVal })\n //console.log('timeChanged', e.target.value, newVal)\n setTime(toDigital(newVal))\n }\n\n useEffect(() => {\n setTime(toDigital(mins))\n }, [mins])\n\n return (\n <>\n \n {label}\n {/* {disabled} - {mins} - {time} value={disabled ? '' : time} */}\n \n setTime(e.target.value?.toString())} />\n\n \n )\n}\n\nexport default Time","import React, { FunctionComponent, useRef } from 'react'\nimport { DatePicker, DateTimePicker, TimePicker } from \"@progress/kendo-react-dateinputs\";\nimport { FieldRenderProps } from '@progress/kendo-react-form';\nimport { MaskedTextBox } from '@progress/kendo-react-inputs';\nimport Time from '../../Common/Time';\n\nexport const TimeField: FunctionComponent = props => {\n const { field, value, companyId, ...others } = props;\n const defVal = field?.VALUES?.length > 0 ? new Date(field?.VALUES[0]) : undefined //props.ConfigSettings?.Default === \"2\" ? new Date(Date.parse(props.ConfigSettings?.DefaultValue)) : (props.ConfigSettings?.Default === \"1\" ? new Date() : null);\n const fieldChanged = (e) => {\n let fieldChange = { ...field, VALUES: [e.value] }\n props.onChange({ value: fieldChange });\n }\n return (\n
\n
\n\n )\n}\n\n\n","import React, { FunctionComponent } from 'react'\nimport { FieldRenderProps } from '@progress/kendo-react-form';\nimport { DropDownList, DropDownListChangeEvent, MultiSelect } from '@progress/kendo-react-dropdowns';\nimport { ClientApi } from '../../../redux/api/ClientApi';\nimport { UserApi } from '../../../redux/api/UserApi';\n\nexport const EndUserField: FunctionComponent = props => {\n const { field, ...others } = props;\n const defClientId = field.ConfigSettings?.DefaultCompany;\n const { data: clients } = ClientApi.useGetClientListQuery(null);\n const defClient = clients?.filter(c => c.ID === defClientId)\n const { data: users, isFetching: usersLoading } = UserApi.useGetUsersQuery({ companyId: defClient?.length ? defClient[0].ID : null })\n const currentValues = field?.VALUES?.length > 0 ? users?.filter(i => field?.VALUES.map(v => parseInt(v)).indexOf(i.ID) > -1) : null;\n //const [selectedClient, setSelectedClient] = React.useState(defClient?.length ? defClient[0] : null)\n const fieldChanged = (e) => {\n //console.log('fieldChanged',e);\n let fieldChange = { ...field, VALUES: [e.value.ID] }\n props.onChange({ value: fieldChange });\n }\n const clientChanged = (e: DropDownListChangeEvent) => {\n let fieldChange = { ...field, ConfigSettings: { ...field.ConfigSettings, DefaultCompany: e.value.ID } }\n props.onChange({ value: fieldChange });\n\n console.log('clientChanged', fieldChange)\n }\n const multiFieldChanged = (e) => {\n let fieldChange = { ...field, VALUES: e.value.map(v => v.ID) }\n props.onChange({ value: fieldChange });\n }\n const clientList = (\n <>\n 0 ? defClient[0] : undefined} data={clients} dataItemKey=\"ID\" textField=\"Company_Name\" />\n \n )\n\n if (field.ConfigSettings?.Display === \"0\") {\n //Dropdown\n return (\n
\n {clientList}\n \n
)\n }\n else if (field.ConfigSettings?.Display === \"1\") {\n //Multi select\n return (\n
\n {clientList}\n \n
\n )\n }\n\n}\n","import React, { FunctionComponent } from 'react'\nimport { DateField } from './FieldTypes/DateField';\nimport DropdownField from './FieldTypes/DropdownField';\nimport NumericField from './FieldTypes/NumericField';\nimport TextField from './FieldTypes/TextField';\nimport { Field, FieldRenderProps, FieldWrapper, } from '@progress/kendo-react-form';\nimport { ClientField } from './FieldTypes/ClientField';\nimport { StaffField } from './FieldTypes/StaffField';\nimport { Label, Error, Hint } from \"@progress/kendo-react-labels\";\nimport { TimeField } from './FieldTypes/TimeField';\nimport { EndUserField } from './FieldTypes/EndUserField';\nconst FormField: FunctionComponent = formRenderProps => {\n const {\n validationMessage,\n touched,\n label,\n id,\n valid,\n disabled,\n hint,\n showHint,\n optional,\n field,\n ...others\n } = formRenderProps;\n const labelValid = !validationMessage;\n const hintId = showHint ? `${id}_hint` : \"\";\n const errorId = validationMessage ? `${id}_error` : \"\";\n let description = field.Description && !field.Show_Tooltip && (\n \n {field.Description}\n \n )\n\n //Show tooltip popup\n const tool = (\n field.Show_Tooltip && field.Description &&\n \n )\n\n const renderField = () => {\n switch (field.Field_Type_Id) {\n case 1:\n return TextField\n case 2:\n return DropdownField\n case 3:\n return DateField\n case 4:\n return TimeField\n case 5:\n return NumericField\n case 6:\n return StaffField\n case 7:\n return ClientField\n case 8:\n return EndUserField\n case 9:\n return NumericField\n default:\n return Error\n }\n }\n return (\n \n \n {tool} {field.Name} {validationMessage && ( {validationMessage})}\n \n {/* {JSON.stringify(field.Is_Required)} - valid:{JSON.stringify(field.Required_To)} - {validationMessage} */}\n {description}\n \n {hint}\n\n \n )\n}\n\nexport default FormField;","import { Field, FieldRenderProps } from '@progress/kendo-react-form'\nimport { min } from 'lodash'\nimport React, { FunctionComponent } from 'react'\nimport { Api } from '../../redux/api/BaseApi'\nimport FormField from './FormField'\nimport {\n Label\n} from \"@progress/kendo-react-labels\";\n\n\nconst CustomForm: FunctionComponent = formRenderProps => {\n const {\n id,\n disabled,\n valid,\n optional,\n validationMessage,\n formId,\n fields,\n ...others\n } = formRenderProps;\n const { data: form } = Api.useGetFormQuery(formId);\n if (!form)\n return <>\n\n //const form = value || {Fields:[]} as Form;\n let fieldWidth = form.Columns === 1 ? 'basis-full pl-1' : `basis-full p-2 md:basis-1/2 lg:basis-1/${min([3, form.Columns])} xl:basis-1/${form.Columns} 2xl:basis-1/${form.Columns}`\n let parentStyle = 'flex flex-wrap w-full';\n if (form.Direction === 1) {\n parentStyle = `gap-0 columns-1 md:columns-2 lg:columns-${min([3, form.Columns])} xl:columns-${form.Columns}` //+ form.Columns;\n fieldWidth = 'inline-block w-full pl-1';\n }\n return (\n <>\n \n {/* id:{id} {JSON.stringify(valid)} - {validationMessage} */}\n \n

{form.Description}

\n
\n {fields?.map((f) => {\n return (\n f.Enabled &&\n
\n \n
)\n })}\n
\n {/* Required for css rendering */}\n
\n {/* */}\n \n )\n}\n\n\nexport default CustomForm;","import React from 'react'\nimport { Button } from \"@progress/kendo-react-buttons\";\nimport { Badge, BadgeContainer } from '@progress/kendo-react-indicators';\nimport { UserApi } from '../../redux/api/UserApi';\nimport { Api } from '../../redux/api/BaseApi';\nimport { ClientApi } from '../../redux/api/ClientApi';\n\nconst FilterButton = (props: FilterButtonProps) => {\n const { data: clientTypeFilters } = UserApi.useGetClientTypeFiltersQuery();\n const badgeCount = clientTypeFilters?.filter(c => c.Checked).length\n const { data: userProfile } = Api.useGetUserProfileQuery();\n const disabled = userProfile?.Features.Client_Type_Filter_Disabled;\n const { data: clientTypes } = ClientApi.useGetClientTypesQuery()\n const myClientTypeIds = clientTypeFilters?.map(my => my.Company_Type_Id)\n const title = myClientTypeIds?.length === 0 ? `${props.clientTypePhrase} type filters: None` : `${props.clientTypePhrase} Types: ${clientTypes?.filter(ct => myClientTypeIds?.indexOf(ct.ID) > -1).map(ct => ct.Company_Type_Name).join(', ')}`\n return (\n \n \n {props?.contactId > 0 && }\n {ifameProps?.visible &&\n setIfameProps({ visible: false, contactId: 0 })}\n title={\n <>\n {ifameProps?.contactId ? `Edit ${userProfile?.Phrases.EndUser}` : `Add ${userProfile?.Phrases.EndUser}`}\n }\n modal={true}\n >\n {/* A fullscreen IfraME WINDOW to the user details aspx page */}\n
\n {ifameProps.iFrameLoading && }\n \n
\n }\n \n );\n}\n\ninterface UserModalProps {\n contactId?: number,\n companyId?: number,\n userCreated?: (e: any) => void\n}\n\ninterface IframeProps {\n contactId: number,\n visible: boolean,\n iFrameLoading?: boolean\n}\n\n\nexport default UserDetailsModal;\n","import { ComboBox, ComboBoxChangeEvent, ComboBoxFilterChangeEvent, DropDownList, DropDownListChangeEvent, MultiColumnComboBox, MultiColumnComboBoxColumn, MultiColumnComboBoxHandle } from '@progress/kendo-react-dropdowns';\nimport { FieldRenderProps, FieldWrapper } from '@progress/kendo-react-form';\nimport React, { ChangeEvent, FunctionComponent, useEffect, useMemo, useRef } from 'react'\nimport { Api } from '../../../redux/api/BaseApi';\nimport {\n Label,\n Error,\n Hint,\n} from \"@progress/kendo-react-labels\";\nimport { UserApi } from '../../../redux/api/UserApi';\nimport { ClientApi } from '../../../redux/api/ClientApi';\nimport { FilterDescriptor, filterBy } from \"@progress/kendo-data-query\";\nimport { IClient } from '../../../types/Client/IClient';\nimport { IUser } from '../../../types/User/IUser';\nimport FilterButton from '../../ClientType/FilterButton';\nimport BulkLogButton from '../FormControls/BulkLogButton';\nimport UserDetailsModal from '../../User/UserDetailsModal';\n\nconst UserFynd: FunctionComponent = props => {\n const {\n validationMessage,\n label,\n id,\n disabled,\n hint,\n optional,\n endUserId,\n hideOptions\n } = props;\n const { data: profile } = Api.useGetUserProfileQuery();\n const requiredMessage = `${profile?.Phrases.EndUser} is required`\n const { data: columns } = Api.useGetUserFyndConfigQuery();\n const [postSearch, { isLoading, data }] = Api.usePostUserFyndMutation();\n const { data: users, isFetching: usersLoading } = UserApi.useGetUsersQuery({ companyId: props.companyId })\n const { data: clients } = ClientApi.useGetMyClientsQuery(undefined);\n const { data: classification } = UserApi.useGetUserClassificationQuery();\n\n const niceColumns: MultiColumnComboBoxColumn[] = useMemo(() => {\n return columns?.map(c => { return { field: c.Display_Name, header: c.Display_Name, width: '' } as MultiColumnComboBoxColumn })\n }, [columns]);\n\n const [clientOpen, setClientOpen] = React.useState(false);\n const [userOpen, setUserOpen] = React.useState(false);\n const [filter, setFilter] = React.useState();\n const [userFilter, setUserFilter] = React.useState();\n const filterChange = (event) => {\n setFilter(event.filter);\n };\n const userFilterChange = (event) => {\n setUserFilter(event.filter);\n };\n const filteredUsers = (userFilter ? filterBy(users.slice(), userFilter) : users)?.map(u => { return { ...u, Address_Line_1: u.Address_Line_1 || '', Bus_Phone: u.Bus_Phone || '', Title: u.Title || '', Custom1: u.Custom1 || '', Custom2: u.Custom2 || '', Custom3: u.Custom3 || '', Custom4: u.Custom4 || '', Custom5: u.Custom5 || '', Custom6: u.Custom6 || '', Company_Abbrev: u.Company_Abbrev || '' } });\n const filteredClients = filter ? filterBy(clients.slice(), filter) : clients\n const selectedClient = filteredClients?.find(c => c.ID === props.companyId) || {} as IClient;\n const selectedUser = users?.find(c => c.ID === endUserId) || {} as IUser;\n const sortedUsers = classification?.Secondary_Sort ? filteredUsers?.sort((a, b) => classification?.Secondary_Sort_Direction === 'Desc' ? b[classification.Field_Name].toString().localeCompare(a[classification.Field_Name]) : a[classification.Field_Name].toString().localeCompare(b[classification.Field_Name])) : filteredUsers;\n const combo = useRef();\n\n //Auto focus the combo box when the component is loaded\n useEffect(() => {\n if (combo.current && !endUserId) {\n combo.current.focus();\n }\n }, [combo, endUserId]);\n\n //Select the first client if there is only one\n useEffect(() => {\n if (clients?.length === 1)\n props?.onClientChange({ value: clients[0] })\n }, [clients]);\n\n //Event handlers\n const endUserFilterHandler = (e: ComboBoxFilterChangeEvent) => {\n //console.log('endUserChangeHandler', e.filter);\n if (e.filter.value.length > 2)\n postSearch(e.filter.value);\n }\n const endUserChangeHandler = (e: ComboBoxChangeEvent) => {\n console.log('endUserChangeHandler', e.value);\n props?.onChange(e.value);\n }\n\n const endUserCreated = (newEndUser: IUser) => {\n\n console.log('endUserCreated', newEndUser);\n\n props?.onChange({ target: null, value: newEndUser.ID, ...newEndUser });\n }\n\n function endUserChanged(e: DropDownListChangeEvent): void {\n console.log('endUserChanged', e.value, userOpen)\n\n setUserOpen(false);\n setUserFilter(null);\n props?.onChange({ ...e.value, Contact_Id: e.value.ID });\n\n }\n\n function clientChanged(e: DropDownListChangeEvent): void {\n setClientOpen(false);\n\n props?.onClientChange(e);\n\n setUserOpen(true);\n setFilter(null);\n }\n\n\n const itemRender = (li, props) => {\n const children = columns?.map((col, i) => {\n return (\n \n
\n \n );\n });\n return React.cloneElement(li, { ...li.props }, children);\n };\n const endUserColumns = classification?.Field_Name ? [\n {\n field: \"FullName\",\n header: \"Name\",\n width: \"40%\",\n },\n {\n field: classification?.Field_Name,\n header: classification?.Display_Name,\n width: null,\n }\n ] : [\n {\n field: \"FullName\",\n header: \"Name\",\n width: \"50%\",\n }\n ]\n\n const wrapper = useRef(null);\n const showValidationMessage = validationMessage;\n const isValid = !validationMessage\n const showHint = !showValidationMessage && hint;\n const hintId = showHint ? `${id}_hint` : \"\";\n const errorId = showValidationMessage ? `${id}_error` : \"\";\n\n const filterButton = !hideOptions && profile?.Features.Show_Client_Type_Filter ?
\n \n
: <>\n\n const bulkLog = !hideOptions && profile?.Features.Bulk_Call_Logging &&
\n \n
\n\n const addEditUser = !hideOptions && profile?.Features.Add_Edit_EndUSer_From_LogACall &&
\n \n
\n\n\n return (\n profile?.Features.UserFynd ?\n \n \n {label} {showValidationMessage && ({validationMessage})}\n \n\n
\n \n
\n {addEditUser}\n {filterButton}\n {bulkLog}\n {showHint && {hint}}\n
\n : <>\n \n \n {profile?.Phrases.Client} {showValidationMessage && !selectedClient?.ID && ({validationMessage})}\n \n
\n setClientOpen(true)} onBlur={e => setClientOpen(false)} onFocus={e => setClientOpen(true)} suggest={true} filterable={true} placeholder=\"Type to search...\" popupSettings={{ className: \"z500\" }} onFilterChange={filterChange} onChange={clientChanged} value={selectedClient} data={filteredClients} dataItemKey=\"ID\" textField=\"Company_Name\" />\n
\n {filterButton}\n
\n \n {label} {showValidationMessage && ({validationMessage})}\n \n
\n {/* selected:{selectedUser?.FullName} */}\n setUserOpen(true)} onBlur={e => setUserOpen(false)} onFocus={e => setUserOpen(true)} suggest={true} filterable={true} loading={usersLoading} placeholder={selectedClient ? \"Select\" : `Select a ${profile.Phrases.Client}`} popupSettings={{ className: \"z500\" }} onFilterChange={userFilterChange} onChange={endUserChanged} value={selectedUser} data={sortedUsers} textField=\"FullName\" dataItemKey='ID' />\n
\n {addEditUser}\n {bulkLog}\n
\n )\n}\n\nexport default UserFynd;","import { MultiColumnComboBox } from '@progress/kendo-react-dropdowns';\nimport { FieldRenderProps, FieldWrapper } from '@progress/kendo-react-form';\nimport React, { FunctionComponent } from 'react'\nimport { TicketApi } from '../../../redux/api/TicketApi';\nimport {\n Label\n} from \"@progress/kendo-react-labels\";\n\nconst SLAList: FunctionComponent = props => {\n const {\n label,\n id,\n valid,\n disabled,\n optional,\n onChange,\n } = props;\n\n const { data: config } = TicketApi.useGetSLAConfigQuery();\n const { data: slas, isFetching: fetchingSLAs } = TicketApi.useGetSLAListQuery({ projectId: props.projectId, priorityId: props.priorityId });\n const { data: selectedSLA } = TicketApi.useGetSLAQuery(props.slaId, { skip: !props.slaId });\n // const SLA = {SLA_ID:props.slaId,SLA_Name:'Nope'} as ISLA;\n const defaultSLA = props.slaId === 0 ? slas?.filter(s => s.SLA_ID === 0) : selectedSLA ? [selectedSLA] : [];\n\n const slaColumns = [\n {\n field: \"SLA_Name\",\n header: \"Name\",\n width: \"300px\",\n },\n config?.Multi_SLA_List_Option > 1 ?\n {\n field: \"SLA_Code\",\n header: \"Code\",\n width: \"100px\",\n } : undefined,\n config?.Multi_SLA_List_Option > 2 ?\n {\n field: \"SLA_Response_Time\",\n header: \"Response\",\n width: \"80px\",\n } : undefined,\n config?.Multi_SLA_List_Option > 2 ?\n {\n field: \"SLA_Resolve_Time\",\n header: \"Resolve\",\n width: \"80px\",\n } : undefined\n ].filter(f => f !== undefined);\n return (\n \n \n {label}\n \n
\n 0 ? defaultSLA[0] : null} columns={slaColumns} onChange={onChange} data={slas} dataItemKey=\"SLA_ID\" textField=\"SLA_Name\" loading={fetchingSLAs} />\n
\n
\n\n )\n}\n\nexport default SLAList","import { DropDownList } from '@progress/kendo-react-dropdowns'\nimport { FieldRenderProps, FieldWrapper } from \"@progress/kendo-react-form\";\nimport React, { FunctionComponent, useRef, useState } from 'react'\nimport { TicketApi } from '../../../redux/api/TicketApi'\nimport { Label, Hint } from \"@progress/kendo-react-labels\";\nimport { Popup } from '@progress/kendo-react-popup';\nimport { Menu } from '@progress/kendo-react-layout';\nimport { Dialog, DialogActionsBar } from \"@progress/kendo-react-dialogs\";\nimport { Api } from '../../../redux/api/BaseApi';\nimport { DateTimePicker } from '@progress/kendo-react-dateinputs';\nimport { IStatus } from '../../../types/Ticket/Status/IStatus';\nimport { IAutoCloseSetting, IAutoOpenSetting } from '../../../types/Ticket/ITicket';\nimport ReactTimeAgo from 'react-timeago';\n\nconst StatusList: FunctionComponent = props => {\n const {\n label,\n id,\n valid,\n disabled,\n statusId,\n autoOpenSettings,\n autoCloseSettings,\n optional,\n onChange,\n } = props;\n\n const { data } = TicketApi.useGetMyStatusesQuery();\n const defaultStatusOrCurrent = data?.map(s => {\n if (statusId) return s.Statuses.find(ss => ss.Id === statusId);\n return s.Statuses.find(ss => ss.Open_Default)\n }).find(s => s);\n const defaultStatusIdOrCurrent = statusId ? statusId : defaultStatusOrCurrent?.Id;\n const selectedStatus = data?.map((t) => { //return {Type:t.Name, Name:t.Statuses.find(s=>s.Id === defaultStatusIdOrCurrent)?.Name}}\n var stat = t.Statuses.find(s => s.Id === defaultStatusIdOrCurrent)\n if (stat)\n return t.Name + ' > ' + stat.Name;\n else\n return null;\n }).find(s => s);\n //console.log('selectedStatus', statusId, defaultStatusOrCurrent);\n const [show, setShow] = useState(false);\n const offSet = useRef({\n left: 0,\n top: 0,\n });\n const onClick = (e) => {\n offSet.current = {\n left: e.nativeEvent.x,\n top: e.nativeEvent.y,\n };\n setShow(!show);\n };\n const itemSelected = (e) => {\n let selectedStatus = data?.map(s => { return s.Statuses.find(ss => ss.Id === e.item.id) }).find(s => s);\n\n //Show the Date prompt for auto close\n if (selectedStatus?.Auto_Status_Interval === 4) {\n setAutoCloseStatus(selectedStatus);\n setAutoCloseDate(null);\n setShowDatePrompt(true);\n return;\n }\n\n //console.log('itemSelected', selectedStatus, e.item);\n onChange({ value: { status: (selectedStatus ? { Call_Status: selectedStatus.Name, ID: selectedStatus.Id, Open_status: selectedStatus.Open_Status } as IStatus : null) } });\n\n setShow(false);\n };\n const [autoCloseStatus, setAutoCloseStatus] = useState(null);\n const [autoCloseDate, setAutoCloseDate] = useState(null);\n const autoCloseDateOk = (e) => {\n if (autoCloseStatus) {\n let selectedStatus = data?.map(s => { return s.Statuses.find(ss => ss.Id === autoCloseStatus.Id) }).find(s => s);\n //console.log('itemSelected', autoCloseStatus.Id, autoCloseDate);\n autoCloseStatus?.Open_Status === 2\n ? onChange({ value: { autoOpenSettings: { Enabled: true, Auto_Open_Date: autoCloseDate } as IAutoOpenSetting, status: (selectedStatus ? { Call_Status: selectedStatus.Name, ID: selectedStatus.Id, Open_status: selectedStatus.Open_Status } as IStatus : null) } })\n : onChange({ value: { autoCloseSettings: { Enabled: true, Auto_Close_Date: autoCloseDate } as IAutoCloseSetting, status: (selectedStatus ? { Call_Status: selectedStatus.Name, ID: selectedStatus.Id, Open_status: selectedStatus.Open_Status } as IStatus : null) } })\n }\n setShow(false)\n setShowDatePrompt(false);\n }\n const anchor = useRef();\n //No Empties statuses\n const statusItems = data?.filter(s => s.Id !== 3).map((t) => {\n return {\n id: t.Id,\n text: t.Name,\n items: t.Statuses?.map((s) => { return { id: s.Id, text: s.Name } })\n }\n });\n\n const [showDatePrompt, setShowDatePrompt] = React.useState(false);\n const toggleDialog = () => {\n setShowDatePrompt((curValue) => !curValue);\n };\n const { data: userProfile } = Api.useGetUserProfileQuery();\n return (\n <>\n \n \n {label}\n \n
\n {/* 0 ? selectedStatus[0] : null} data={data} textField={\"Call_Status\"} dataItemKey={\"ID\"}/> */}\n setShow(false)} ref={anchor} value={selectedStatus} />\n \n \n \n {(autoCloseSettings?.Auto_Close_Date) &&\n \n \n Auto close \n \n \n }\n {(autoOpenSettings?.Auto_Open_Date) &&\n \n \n Un-pause \n \n \n }\n
\n {showDatePrompt && (\n \n \n {autoCloseStatus?.Open_Status === 2\n ? `Select the date when this ${userProfile?.Phrases.CallPhrase} will un-pause and go back to Open status:`\n : `Select the date when this ${userProfile?.Phrases.CallPhrase} will Auto-close:`\n }\n\n
\n setAutoCloseDate(e.value.toISOString())} />\n \n \n Ok\n \n \n Cancel\n \n \n \n )}\n \n\n \n )\n}\n\nexport default StatusList;","import { DropDownList } from '@progress/kendo-react-dropdowns'\nimport { FieldRenderProps, FieldWrapper } from '@progress/kendo-react-form';\nimport React, { FunctionComponent } from 'react'\nimport { IProject } from '../../../types/Project/IProject'\nimport {\n Label,\n Error,\n Hint,\n} from \"@progress/kendo-react-labels\";\nimport { toDigital } from '../../../utils/utils';\nimport { ProjectApi } from '../../../redux/api/ProjectApi';\nconst ProjectList: FunctionComponent = props => {\n const { data: projects, isLoading: projectLoading } = ProjectApi.useGetProjectListQuery(props.companyId);\n const {\n validationMessage,\n label,\n id,\n disabled,\n optional,\n selectedProject,\n } = props;\n const isValid = !validationMessage;\n const showValidationMessage = validationMessage;\n const showHint = selectedProject && !(selectedProject as IProject)?.Unlimited_Ret;\n const availableTime = (selectedProject as IProject)?.Available_Time;\n const hintId = showHint ? `${id}_hint` : \"\";\n const errorId = showValidationMessage ? `${id}_error` : \"\";\n const defaultValue = { ID: 0, Project_Name: \"Select\" } as IProject\n const sortedProjects = [...projects || []].sort((a, b) => a.Project_Name.localeCompare(b.Project_Name));\n return (\n \n \n {label} {showValidationMessage && ({validationMessage})}\n \n\n
\n {/* selectedProject:{selectedProject?.Project_Name} */}\n props.onSelect(e.value)} value={selectedProject} data={sortedProjects} dataItemKey=\"ID\" textField=\"Project_Name\" loading={projectLoading} required={true} />\n {showHint && \n 0 ? 'k-text-success' : 'k-text-error'}>{label} time remaining: {toDigital((selectedProject as IProject)?.Available_Time, true)}\n }\n\n
\n
\n )\n}\n\n\nexport default ProjectList;","import { DropDownList } from '@progress/kendo-react-dropdowns';\nimport { FieldRenderProps, FieldWrapper } from '@progress/kendo-react-form';\nimport {\n Label\n } from \"@progress/kendo-react-labels\";\nimport React, { FunctionComponent } from 'react'\nimport { Api } from '../../../redux/api/BaseApi';\n\nconst PriorityList: FunctionComponent = props =>{\n const {data:priorities} = Api.useGetPriorityListQuery(props.prioritySetId,{skip:!props.prioritySetId});\n const {\n label,\n id,\n valid,\n disabled,\n optional,\n selectedPriority,\n priorityChangeHandler,\n } = props;\n return (\n \n \n {label}\n \n \n
\n \n
\n
\n )\n}\n\nexport default PriorityList;","import { MultiSelect, MultiSelectFilterChangeEvent } from \"@progress/kendo-react-dropdowns\"\nimport { FieldRenderProps, FieldWrapper } from \"@progress/kendo-react-form\";\nimport { FunctionComponent, useMemo, useState } from \"react\"\nimport { Label } from \"@progress/kendo-react-labels\";\nimport { Api } from \"../../../redux/api/BaseApi\";\nimport { UserApi } from \"../../../redux/api/UserApi\";\nimport UserFynd from \"./UserFynd\";\nimport {\n ListBox,\n ListBoxItemClickEvent,\n ListBoxToolbar,\n} from \"@progress/kendo-react-listbox\";\nimport { IStaff } from \"../../../types/IStaff\";\nimport { filterBy, FilterDescriptor } from \"@progress/kendo-data-query\";\nconst AssociatedContacts: FunctionComponent = props => {\n const {\n label,\n id,\n valid,\n disabled,\n optional,\n assContactIds,\n companyId,\n companyTypeId,\n onChange,\n } = props;\n //const { data : userProfile } = Api.useGetUserProfileQuery(); \n const { data: associatedUsers } = UserApi.useGetUsersByIdsQuery(assContactIds?.length ? assContactIds?.join(',') : '0');\n const { data: assContactConfig } = Api.useGetAssContactConfigQuery(companyTypeId, { skip: !companyTypeId });\n const { data: endUsers } = Api.useGetUsersQuery({ companyId: companyId, locationId: null });\n const [filter, setFilter] = useState(null);\n const [globalContactsIds, setGlobalContactIds] = useState(assContactIds || []);\n const [selectedId, setSelectedId] = useState();\n const SELECTED_FIELD = \"selected\";\n //add usememo to stop rerendering on every keypress of the call description changing\n const endUsersFormatted = useMemo(() => setDisplayName(endUsers) || [], [endUsers]);\n const associatedUsersFormatted = setDisplayName(associatedUsers) || [];\n\n function setDisplayName(data) {\n return data?.map(a => {\n return {\n ...a,\n \"Display_Name\":\n a[a.Secondary_User_Classification] ?\n `${a.FullName} - ${a[a.Secondary_User_Classification]}`\n : a.FullName,\n [SELECTED_FIELD]: a.ID === selectedId\n }\n })\n }\n const globalContactSelected = (e) => {\n console.log('globalContacts', globalContactsIds, e.Contact_Id, [...globalContactsIds, e.Contact_Id])\n\n let newArray = [...globalContactsIds, e.Contact_Id];\n setGlobalContactIds(newArray)\n\n onChange({ value: newArray.map(g => { return { ID: g } as IStaff }) });\n\n console.log('globalContacts', newArray?.length)\n }\n\n const handleToolBarClick = (e) => {\n let toolName = e.toolName || \"\";\n if (toolName === \"remove\") {\n let newArray = [...globalContactsIds];\n newArray.splice(newArray.indexOf(selectedId), 1)\n\n setGlobalContactIds(newArray)\n\n onChange({ value: newArray.map(g => { return { ID: g } as IStaff }) });\n }\n };\n\n const filterChanged = (event: MultiSelectFilterChangeEvent) => {\n setFilter(event.filter)\n }\n return (\n
\n \n {\n assContactConfig?.Global\n ?
\n \n setSelectedId(e.dataItem.ID)}\n toolbar={() => {\n return (\n \n );\n }\n }\n />\n
\n : <>\n \n {label}\n \n \n }\n\n\n
\n
\n )\n\n}\n\nexport default AssociatedContacts;","import { FieldRenderProps, FieldWrapper } from \"@progress/kendo-react-form\";\nimport { FunctionComponent } from \"react\";\nimport { UserApi } from \"../../../redux/api/UserApi\";\nimport {Label} from \"@progress/kendo-react-labels\";\nimport { DropDownList } from \"@progress/kendo-react-dropdowns\";\n\nconst TeamList: FunctionComponent = props => {\n const {\n validationMessage,\n touched,\n label,\n id,\n valid,\n disabled,\n hint,\n type,\n optional,\n value,\n teamId,\n data,\n selectedPriority,\n priorityChangeHandler,\n showHint,\n ...others\n } = props;\n const { data: teams } = UserApi.useGetTeamsQuery();\n const selectedTeam = teams?.filter(f=>f.ID === teamId);\n const allTeams = {ID:undefined,Dept_Name: `All ${label}s` }\n return(\n \n \n {label} \n \n
\n 0 ? selectedTeam[0] : undefined} data={teams} dataItemKey=\"ID\" textField=\"Dept_Name\" popupSettings={{className:'z500' }} {...others} />\n \n
\n
\n )\n}\n\nexport default TeamList;","import { FieldRenderProps, FieldWrapper } from \"@progress/kendo-react-form\";\nimport { FunctionComponent, useEffect, useState } from \"react\";\nimport { Api } from \"../../../redux/api/BaseApi\";\nimport {Label} from \"@progress/kendo-react-labels\";\nimport { MultiSelect, MultiSelectFilterChangeEvent } from \"@progress/kendo-react-dropdowns\";\nimport { filterBy } from \"@progress/kendo-data-query\";\nimport { UserApi } from '../../../redux/api/UserApi';\n\nconst AssignedStaff: FunctionComponent = props => {\n const {\n label,\n id,\n valid,\n disabled,\n optional,\n teamId,\n staff,\n showMe,\n onChange,\n } = props;\n //const { ticket } = useReduxSelector(state => state.ticketDetails);\n const {data:userProfile} = Api.useGetUserProfileQuery();\n const assignedStaff = staff?.map(ass=> { return {Full_Name:ass?.Contact_Name, ID:ass.Contact_Id}});\n let { data: staffList, isLoading: staffLoading } = UserApi.useGetStaffQuery({ teamId: teamId, includeQueues: true, includeStaffPlusForCompanyId: 0 });\n \n \n const [staffFiltered, setStaff] = useState([])\n\n const onFilter = (event:MultiSelectFilterChangeEvent) =>{\n console.log('Filter',event);\n setStaff(filterBy(staffList?.slice(), event.filter));\n }\n\n useEffect(()=>{\n console.log('Team chnaged',teamId, staffList?.length)\n\n if(showMe)\n staffList = staffList?.map(s=>s.ID === userProfile?.Id ? {...s,Full_Name:''}: s );\n\n setStaff(staffList)\n },[staffList]);\n return(\n \n \n {label} \n \n {/* {JSON.stringify(assignedStaff)} */}\n
\n \n
\n
\n )\n}\n\nexport default AssignedStaff;","import { FieldRenderProps, FieldWrapper } from \"@progress/kendo-react-form\";\nimport { FunctionComponent, useMemo, useRef, useState } from \"react\";\nimport { TicketApi } from \"../../../redux/api/TicketApi\";\nimport { Label, Error } from \"@progress/kendo-react-labels\";\nimport { DropDownList } from \"@progress/kendo-react-dropdowns\";\nimport { Popup } from \"@progress/kendo-react-popup\";\nimport { Menu } from \"@progress/kendo-react-layout\";\nimport { IType } from \"../../../types/IType\";\n\nconst TypeList: FunctionComponent = props => {\n const {\n label,\n id,\n disabled,\n optional,\n typeId,\n validationMessage,\n onChange,\n } = props;\n const { data: typesList } = TicketApi.useGetTypeListQuery(-1)\n\n const getSelectedPath = (typeId) => {\n let path = '';\n let currentType = typesList?.filter(t => t.ID === typeId)\n if (currentType?.length > 0) {\n let parentType = getSelectedPath(currentType[0].Parent_Id)\n path = (parentType ? parentType + ' > ' : '') + currentType[0].Call_Type\n }\n console.log('getSelectedPath', path)\n return path;\n }\n const selectedPath = useMemo(() => getSelectedPath(typeId), [typeId]);\n\n //const typeItems = typesList?.filter(l=>{l.Level === 1});\n function fillLevelTypes(type: IType[]) {\n return type?.map((t) => {\n const result: any = {\n id: t.ID,\n text: t.Call_Type,\n items: fillLevelTypes(typesList.filter(tf => tf.Parent_Id === t.ID))\n }\n return result;\n });\n }\n\n const typeItems = useMemo(() => fillLevelTypes(typesList?.filter(l => l.Level === 1)), [typesList])\n //console.log('Lets go',typeItems);\n const popRef = useRef();\n const dropRef = useRef();\n const [show, setShow] = useState(false);\n const offSet = useRef({\n left: 0,\n top: 0,\n });\n const onClick = (e) => {\n offSet.current = {\n left: e.nativeEvent.x,\n top: e.nativeEvent.y,\n };\n setShow(!show);\n\n // setTimeout(() => {\n // console.log('clicky', popRef?.current, popRef?.current?.element.focus);\n // popRef.current && popRef.current.element.focus();\n // }, 100);\n };\n\n window.onclick = (e) => {\n //Check whether the user clicked out of the menu\n //console.log('window click', e.target, popRef?.current?.element)\n if (popRef?.current?.element && dropRef?.current?.element && !popRef.current.element.contains(e.target) && !dropRef.current.element.contains(e.target)) {\n setShow(false);\n }\n }\n\n const itemSelected = (e) => {\n console.log('itemSelected', e, popRef?.current)\n\n onChange(e.item);\n\n setShow(false)\n }\n function dropdownBlur(e) {\n //console.log('Debounce the dropdown blur', e);\n //Debounce the dropdown blur otherwise you can't select a top-level itme in the menu\n // setTimeout(() => {\n // setShow(false);\n // }, 30);\n }\n const isValid = !validationMessage;\n const anchor = useRef();\n const errorId = validationMessage ? `${id}_error` : \"\";\n return (\n\n \n \n {label} {validationMessage && ({validationMessage})}\n \n
\n \n \n \n \n
\n
\n )\n}\n\nexport default TypeList;","import { IField } from \"../../../types/Form/IForm\";\n\nexport default function dropdownFieldValidator(field: IField) {\n if (!field.VALUES || field.VALUES.length === 0 || !field.VALUES[0] || field.VALUES[0] === '')\n return `*required`\n}","import { IField } from \"../../../types/Form/IForm\";\n\nexport default function numberFieldValidator(field: IField) {\n if (!field.VALUES || field.VALUES.length === 0 || !field.VALUES[0] || field.VALUES[0] === '')\n return `*required`\n}","import { IField } from \"../../../types/Form/IForm\";\nimport dateFieldValidator from \"./DateFieldValidator\";\nimport dropdownFieldValidator from \"./DropdownFieldValidator\";\nimport endUserFieldValidator from \"./EndUserFieldValidator\";\nimport numberFieldValidator from \"./NumberFieldValidator\";\nimport textFieldValidator from \"./TextFieldValidator\";\n\nexport default function validateCustomFields(fields: IField[], closeTicket: boolean) {\n let validators = {};\n fields?.filter(field => field.Is_Required && (field.Required_To === 0 || (field.Required_To === 1 && closeTicket))).map(field => {\n var validMsg = null;\n switch (field.Field_Type_Id) {\n case 1:\n validMsg = textFieldValidator(field);\n break\n case 2:\n validMsg = dropdownFieldValidator(field);\n break\n case 3:\n //DateField\n validMsg = dateFieldValidator(field);\n break\n case 4:\n // TimeField\n validMsg = numberFieldValidator(field);\n break\n case 5:\n // NumericField\n validMsg = numberFieldValidator(field);\n break\n case 8: //End user\n validMsg = endUserFieldValidator(field);\n break\n case 6:\n validMsg = dropdownFieldValidator(field);\n break\n case 7:\n //ClientField\n validMsg = dropdownFieldValidator(field);\n break\n case 9:\n return null//NumericField\n default:\n return null\n }\n if (validMsg)\n validators = { ...validators, ...{ ['field_' + field.ID]: validMsg } };\n })\n //console.log('validateCustomFields',validators)\n return validators;\n}","import { IField } from \"../../../types/Form/IForm\";\n\nexport default function endUserFieldValidator(field: IField) {\n if (!field.VALUES || field.VALUES.length === 0 || !field.VALUES[0] || field.VALUES[0] === '')\n return `*required`\n}","\nimport { IField } from \"../../../types/Form/IForm\";\nimport { isDate } from \"../../../utils/utils\";\n\nexport default function dateFieldValidator(field: IField) {\n\n if (!field.VALUES || field.VALUES.length === 0 || !field.VALUES[0] || !isDate(new Date(field.VALUES[0])))\n return `*required`\n}","import { Dialog, DialogActionsBar } from '@progress/kendo-react-dialogs'\nimport React from 'react'\nimport { Link } from 'react-router-dom';\nimport { Api } from '../../redux/api/BaseApi';\nimport { TicketSavedDialogProps } from '../../types/Props/TicketSavedProps'\n\nconst TicketSavedDialog = (props: TicketSavedDialogProps) => {\n const { data: userProfile } = Api.useGetUserProfileQuery();\n\n\n return (\n
\n {props.title}
} onClose={props.toggleDialog} >\n \n {userProfile.Phrases.CallPhrase + (props.ticketIds.length > 1 ? 's' : '')}\n {props.ticketIds.map(tid => {\n return (\n {tid}{props.ticketIds.length > 1 ? ',' : ''}\n )\n })}\n {(props.ticketIds.length > 1 ? ' were' : ' was') + ' logged successfully.'}\n

\n \n \n OK\n \n 1}\n >\n View Details\n \n \n \n \n )\n}\n\nexport default TicketSavedDialog","import { DropDownList } from \"@progress/kendo-react-dropdowns\";\nimport { FieldRenderProps } from \"@progress/kendo-react-form\";\nimport { Label } from \"@progress/kendo-react-labels\";\nimport { FunctionComponent } from \"react\";\nimport { UserApi } from \"../../../redux/api/UserApi\";\n\nconst RoleList: FunctionComponent = props => {\n const {\n validationMessage,\n touched,\n label,\n id,\n valid,\n disabled,\n hint,\n type,\n optional,\n value,\n uid,\n showHint,\n ...others\n } = props;\n\n const { data: roles, isFetching } = UserApi.useGetRolesQuery(uid, { skip: !uid });\n const defaultRole = roles?.filter(r => r.Default_Role);\n const selectedRole = roles?.filter(r => r.Role_id === value?.Role_id);\n const currentValue = (selectedRole?.length ? selectedRole[0] : undefined) || (defaultRole?.length ? defaultRole[0] : undefined)\n return (\n <>\n \n {label}\n \n
\n \n
\n \n )\n}\n\nexport default RoleList;","export const Setting = {\n \"Mimic\": 80,\n \"Timepicket Interval\": 93,\n}\n\n","import { Api } from './BaseApi'\nimport { IHours, IStartEnd } from '../../types/System/IHours';\n\nconst SystemApi = Api.injectEndpoints({\n endpoints: (build) => ({\n getHours: build.query({\n query: () => \"System/Hours\",\n providesTags: [\"GetSystemHours\"],\n }),\n getStartEnd: build.query({\n query: () => \"System/StartEnd\",\n providesTags: [\"GetSystemStartEnd\"],\n }),\n }),\n\n overrideExisting: false,\n})\n\nexport { SystemApi };","import { DateTimePicker } from '@progress/kendo-react-dateinputs'\nimport { FieldRenderProps } from '@progress/kendo-react-form'\nimport React, { FunctionComponent } from 'react'\nimport { Label } from \"@progress/kendo-react-labels\";\nimport { UserApi } from '../../redux/api/UserApi';\nimport { Setting } from '../../types/Setting/Setting';\nimport { SystemApi } from '../../redux/api/SystemApi';\n\nconst ActionDate: FunctionComponent = props => {\n const {\n label,\n id,\n valid,\n disabled,\n actionDate,\n optional,\n onChange\n } = props;\n const { data: startEnd } = SystemApi.useGetStartEndQuery()\n const { data: setting } = UserApi.useGetSettingQuery(Setting['Timepicket Interval'])\n const timeInterval = setting?.Int_Value\n const minTime = setting?.Bool_Value && startEnd?.Item1 && new Date(startEnd?.Item1)\n const maxTime = setting?.Bool_Value && startEnd?.Item2 && new Date(startEnd?.Item2)\n\n const selectedDate = actionDate ? new Date(actionDate) : new Date()\n return (\n <>\n \n {label}\n \n {/* Don't validate start and end dates */}\n \n {/* {JSON.stringify(minTime)} - {JSON.stringify(maxTime)} = {JSON.stringify(systemHours)} */}\n \n )\n}\n\nexport default ActionDate;","import { filterBy } from \"@progress/kendo-react-data-tools\";\nimport { mapTree, extendDataItem } from \"@progress/kendo-react-common\";\n\nexport const processTreeData = (data, state, fields) => {\n const { selectField, expandField, dataItemKey, subItemsField } = fields;\n const { expanded, value, filter } = state;\n const filtering = Boolean(filter && filter.value);\n\n return mapTree(\n filtering ? filterBy(data, [filter], subItemsField) : data,\n subItemsField,\n (item) => {\n const props = {\n [expandField]: expanded.includes(item[dataItemKey]),\n [selectField]: value && item[dataItemKey] === value[dataItemKey],\n };\n return filtering\n ? extendDataItem(item, subItemsField, props)\n : { ...item, ...props };\n }\n );\n};\n\nexport const expandedState = (item, dataItemKey, expanded) => {\n const nextExpanded = expanded.slice();\n const itemKey = item[dataItemKey];\n const index = expanded.indexOf(itemKey);\n index === -1 ? nextExpanded.push(itemKey) : nextExpanded.splice(index, 1);\n\n return nextExpanded;\n};","import { Window } from \"@progress/kendo-react-dialogs\"\nimport { useEffect } from \"react\";\nimport { useGetTenantQuery } from \"../../../redux/api/BaseApi\";\nimport { QuickNotePopupProps } from \"../../../types/Props/QuickNotePopupProps\";\nimport { trimChar } from \"../../../utils/utils\";\n\nconst AddQuickNote: React.FC = (props) => {\n const { data: tenant } = useGetTenantQuery();\n\n useEffect(() => {\n const listenForMessage = (ev) => {\n console.log('Lets GO!', ev)\n if (ev.data) {\n let dataObject = JSON.parse(ev.data);\n if (dataObject?.Message && dataObject?.Message === 'Quick_Note_Added') {\n props.onSave(dataObject.ID);\n }\n }\n }\n\n window.addEventListener('message', listenForMessage);\n\n //remove the event listener when component unmounts\n return () => {\n window.removeEventListener('message', listenForMessage);\n };\n }, []);\n\n return (\n \n
\n {tenant?.Tenant_Url && \n \n \n )\n}\n\nexport type KBPreviewArgs = {\n KB_ID: number\n onClose: () => void\n}\nexport default KBPreview;","import { Checkbox } from \"@progress/kendo-react-inputs\";\nimport React from \"react\";\nimport { Grid, GridColumn as Column, GridDataStateChangeEvent } from \"@progress/kendo-react-grid\";\nimport { nanoid } from \"nanoid\";\nimport { IKBSearchResult } from \"../../../types/KB/IKBSearchResult\";\nimport { useReduxDispatch, useReduxSelector } from \"../../../redux/hooks\";\nimport { process, State } from '@progress/kendo-data-query';\nimport { Api, useGetTenantQuery } from \"../../../redux/api/BaseApi\";\nimport { PanelBar, PanelBarItem } from \"@progress/kendo-react-layout\";\nimport KBPreview from \"./KBPreview\";\nimport { SetLinkedKbs } from \"../../../slices/TicketSlice\";\nimport ReactTimeAgo from 'react-timeago'\nimport { trimChar } from \"../../../utils/utils\";\n\nconst KnowledgeBase: React.FC = (props) => {\n const dispatch = useReduxDispatch();\n const { data: tenant } = useGetTenantQuery();\n const { ticket } = useReduxSelector(state => state.ticketDetails);\n const [previewKBId, setPreviewKBId] = React.useState()\n const columns = [\n {\n title: \"Article #\",\n field: \"KB_Id\",\n show: true,\n filter: \"text\",\n orderIndex: 0,\n width: 80,\n cell: (props) => {\n return (\n \n {props.dataItem[\"KB_Id\"]}\n )\n }\n },\n {\n title: \"Title\",\n field: \"Title\",\n show: true,\n filter: \"text\",\n orderIndex: 1\n },\n {\n title: \"Updated\",\n field: \"Date_Updated\",\n show: true,\n filter: \"text\",\n orderIndex: 3,\n cell: (props) => {\n return (\n \n \n )\n }\n },\n {\n title: \"Score\",\n field: \"Rating\",\n show: true,\n filter: \"text\",\n orderIndex: 4,\n width: 80\n },\n {\n width: 50,\n cell: (props) => {\n return (\n \n \n \n );\n },\n show: true,\n orderIndex: 5\n }\n ]\n\n const kbSelected = (e: IKBSearchResult) => {\n const linkedKbs = ticket.Linked_Kb_Ids ? [...ticket.Linked_Kb_Ids] : [] as number[];\n //Add or remove element\n console.log('kbSelected', linkedKbs.indexOf(e.ID), linkedKbs.length)\n linkedKbs.indexOf(e.ID) === -1 ? linkedKbs.push(e.ID) : linkedKbs.splice(linkedKbs.indexOf(e.ID), 1)\n dispatch(SetLinkedKbs(linkedKbs));\n }\n const { results: kbResults } = useReduxSelector(state => state.kb);\n const userState = ({ state: { take: 5, skip: 0 }, columns: null }) as { state: State, columns: [{ field: string, orderIndex: number }] }\n const [dataState, setDataState] = React.useState(userState?.state || {});\n const dataStateChange = (event: GridDataStateChangeEvent) => {\n setDataState(event.dataState);\n };\n\n const { data: userProfile } = Api.useGetUserProfileQuery();\n return <>\n \n \n {previewKBId && setPreviewKBId(null)} />}\n \n {\n if (e.rowType === 'groupHeader') return <>;\n return (\n \n -1} onChange={() => kbSelected(e.dataItem)} />\n )\n }}\n />\n {columns?.map((column, idx) =>\n column.show && (\n \n )\n )}\n \n \n \n \n\n}\n\nexport default KnowledgeBase;","import { FunctionComponent, useEffect, useState } from \"react\";\nimport { Upload, UploadAdditionalData, UploadFileInfo, UploadHttpHeaders, UploadOnAddEvent, UploadOnBeforeUploadEvent, UploadOnProgressEvent, UploadOnRemoveEvent, UploadOnStatusChangeEvent } from \"@progress/kendo-react-upload\";\nimport React from \"react\";\nimport { FileApi } from \"../../redux/api/FileApi\";\nimport { Constants } from \"../../Variables/StaticVariables\";\nimport { FileUploadProps } from \"../../types/Props/FileUploadProps\";\nimport { useReduxDispatch, useReduxSelector } from \"../../redux/hooks\";\nimport * as FileSlice from \"./FileSlice\";\nimport { IFileUpload } from \"../../types/File/FileUpload\";\nimport { PartialSpinny } from \"../Nav/Spinny\";\nimport {\n Hint,\n} from \"@progress/kendo-react-labels\";\n\nconst FileUpload: FunctionComponent = props => {\n const dispatch = useReduxDispatch()\n const { files } = useReduxSelector(s => s.files)\n const { user } = useReduxSelector(s => s.auth)\n const [token, setToken] = useState('');\n const [error, setError] = useState('');\n //const [files, setFiles] = React.useState>([]);\n const revUploadUrl = `${Constants.apiRoot}file/${props.FileType}/${props.Primary_Id | 0}`\n const [deleteFile, { isLoading: isDeleting }] = FileApi.useDeleteFileMutation();\n const { data: apifiles, isFetching } = FileApi.useGetFilesQuery({ typeId: props.FileType, primaryId: props.Primary_Id });\n const [refetchFiles] = FileApi.useRefetchFilesMutation();\n const { data: fileSettings } = FileApi.useGetFileSettingsQuery()\n const maxFilesReached = fileSettings && fileSettings?.Max_Files <= apifiles?.length;\n const mountedRef = React.useRef(true)\n\n const setFiles = (f: UploadFileInfo[]) => {\n dispatch(FileSlice.SetFiles(f?.map(f1 => {\n return {\n name: f1.name,\n uid: f1.uid,\n size: f1.size,\n extension: f1.extension,\n status: f1.status,\n progress: f1.progress\n } as IFileUpload\n })))\n }\n useEffect(() => {\n console.log('useEffect FielUpload.tsx', apifiles?.length)\n let newFiles = apifiles?.map(f => {\n return {\n name: f.File_Name,\n uid: f.ID.toString(),\n size: f.Length,\n extension: f.File_Name.substring(f.File_Name.lastIndexOf('.'))\n } as UploadFileInfo\n })\n setFiles(newFiles)\n }, [apifiles]);\n useEffect(() => {\n console.log('useEffect()', apifiles?.length)\n async function getToken() {\n //let user = await userManager.getUser()\n setToken(user.access_token);\n }\n if (!token)\n getToken();\n\n return () => { mountedRef.current = false; }\n }, []);\n const onRemove = (event: UploadOnRemoveEvent) => {\n //Make sure some files aren't uploading\n if (event.newState.filter(n => n.status === 3).length > 0) {\n alert('Please wait for files to finish uploading')\n return\n }\n\n console.log('onRemove', event.affectedFiles)\n event.affectedFiles.map(\n f =>\n deleteFile(f.uid).then(e => {\n setFiles(event.newState);\n })\n\n )\n\n }\n const onProgress = (event: UploadOnProgressEvent) => {\n console.log('progress', event.newState)\n\n setFiles(event.newState);\n };\n const onAdd = (event: UploadOnAddEvent) => {\n setError('')\n console.log('onAdd', event, fileSettings?.Prohibited)\n let newFiles = event.newState;\n\n //Moved to onBeforeUpload\n //Validation done on the server\n //remove files too big\n // let fileTooBig = event.affectedFiles.find(f => f.size > fileSettings?.Max_Size * 1024 * 1024)\n // if (fileTooBig) {\n // setError(`Cannot upload file because file size is too large. Upload limit is ${fileSettings?.Max_Size}Mb`)\n // newFiles.splice(newFiles.indexOf(fileTooBig), 1)\n // }\n // if (fileSettings?.Prohibited?.length) {\n // let fileProhibited = event.affectedFiles.find(f => fileSettings?.Prohibited.indexOf(f.extension.replace('.', '')) > -1)\n // if (fileProhibited) {\n // setError(`Cannot upload file because the file extension (${fileProhibited.extension}) is prohibited`)\n // newFiles.splice(newFiles.indexOf(fileProhibited), 1)\n // }\n // }\n\n setFiles(newFiles);\n\n }\n\n const onStatusChange = (event: UploadOnStatusChangeEvent) => {\n console.log('event.response?.status', event.response?.response, event?.newState)\n if (event.response?.response?.status === 400 || event.response?.response?.status === 500)\n setError(event.response?.response?.data)\n\n console.log('mountedRef.current = ', mountedRef.current);\n if (mountedRef.current)\n setFiles(event.newState);\n\n //only refresh the files if they have ALL finished uploading\n if (event.newState.filter(n => n.status === 3 && n.progress < 100).length === 0) {\n console.log('ready to refetchFiles()', apifiles?.length)\n refetchFiles() //Clear the cache'\n console.log('refetchFiles()', apifiles?.length)\n }\n\n };\n\n const onBeforeUpload = (event: UploadOnBeforeUploadEvent) => {\n console.log('onBeforeUpload', event.files, event.additionalData)\n\n let fileTooBig = event.files.find(f => f.size > fileSettings?.Max_Size * 1024 * 1024)\n if (fileTooBig) {\n setError(`Cannot upload file because file size is too large. Upload limit is ${fileSettings?.Max_Size}Mb`)\n files.splice(files.indexOf(fileTooBig), 1)\n }\n\n if (fileSettings?.Prohibited?.length) {\n let fileProhibited = event.files.find(f => fileSettings?.Prohibited.indexOf(f.extension.replace('.', '')) > -1)\n if (fileProhibited) {\n setError(`Cannot upload file because the file extension (${fileProhibited.extension}) is prohibited`)\n files.splice(files.indexOf(fileProhibited), 1)\n }\n }\n }\n\n return (\n <>\n {error &&\n
\n {error}\n
}\n {(isDeleting || isFetching) && }\n \n {maxFilesReached && fileSettings\n ?
Max file limit reached ({fileSettings?.Max_Files})
\n :
Max file limit: {fileSettings?.Max_Files}
}\n
| Max file size:{fileSettings?.Max_Size}Mb
\n
\n {/* */}\n \n \n )\n}\n\nexport default FileUpload","import { FileApi } from \"../../../redux/api/FileApi\";\nimport { FileType } from \"../../../types/File/FileType\";\nimport FileUpload from \"../../Attachment/FileUpload\";\n\n\nconst Attachments: React.FC = (props) => {\n const { data: isFileActive } = FileApi.useIsActiveQuery(FileType.Call_Action_Internal)\n\n return (\n
\n {isFileActive && }\n
\n )\n}\n\nexport default Attachments;","import { IKBSearchResult } from '../../types/KB/IKBSearchResult';\nimport { KBSearchProps } from '../../types/KB/KBSearchProps';\nimport { Api } from './BaseApi'\n\nconst KBApi = Api.injectEndpoints({\n endpoints: (build) => ({\n searchKB: build.mutation({\n query: (info) => ({\n url: \"KB/Search/\",\n method: \"POST\",\n body: info,\n }),\n invalidatesTags: [\"KBSearch\"]\n }),\n }),\n overrideExisting: false,\n})\n\nexport { KBApi };","import { Grid, GridColumn } from \"@progress/kendo-react-grid\";\nimport { Api } from \"../../../redux/api/BaseApi\";\nimport { TicketApi } from \"../../../redux/api/TicketApi\";\nimport { toDigital } from \"../../../utils/utils\";\nimport { FileApi } from '../../../redux/api/FileApi';\nimport { FileType } from '../../../types/File/FileType';\nimport { SimpleSpinny } from \"../../Nav/Spinny\";\nimport { useReduxSelector } from \"../../../redux/hooks\";\nimport { IAction } from \"../../../types/Ticket/IAction\";\nimport React, { useEffect } from \"react\";\n\nconst SplitActions: React.FC = (props) => {\n const { data: isFileActive } = FileApi.useIsActiveQuery(FileType.Call_Action_Internal)\n const { data: userProfile } = Api.useGetUserProfileQuery();\n const splitOptions = useReduxSelector(state => state.ticketDetails.splitFromTicketOptions)\n const [getSplitActions, { isLoading }] = TicketApi.useActionsByIdMutation();\n const [actions, setActions] = React.useState([])\n\n useEffect(() => {\n if (splitOptions && splitOptions.Ids.length > 0 && splitOptions.TicketId > 0)\n getSplitActions(splitOptions).unwrap().then((r) => {\n setActions(r.map(a => { return { ...a, Bill_Time: toDigital(a.Billable_Time), Non_Bill_Time: toDigital(a.Non_Billable_Time) } }));\n }).catch((err) => { });\n\n }, [splitOptions, getSplitActions])\n\n return (<>\n

These {userProfile?.Phrases.Action}s will be Split (moved) to this {userProfile?.Phrases.CallPhrase} when logged.

\n {isLoading\n ? \n : \n \n \n {\n return
\n }} />\n {/* Attachment column */}\n {isFileActive && {\n return \n }} />}\n \n {userProfile?.Features?.Non_Bill_Time && }\n\n
}\n )\n}\n\nexport default SplitActions;","import { WindowActionsBar } from '@progress/kendo-react-dialogs'\nimport { Badge, BadgeContainer } from '@progress/kendo-react-indicators'\nimport { Drawer, DrawerContent, DrawerItem, DrawerItemProps, DrawerSelectEvent } from '@progress/kendo-react-layout'\nimport React, { FunctionComponent, useEffect, useState } from 'react'\nimport { Navigate, Route, Routes, useLocation, useNavigate } from 'react-router-dom'\nimport { AssetApi } from '../../redux/api/AssetApi'\nimport { Api } from '../../redux/api/BaseApi'\nimport { TicketApi } from '../../redux/api/TicketApi'\nimport { TicketDrawerProps } from '../../types/Props/TicketDrawerProps'\nimport LogOptions from './FormControls/LogOptions'\nimport TicketHierarchy from './FormControls/TicketHierarchy'\nimport ExistingTickets from './GridControls/ExistingTickets'\nimport TicketAssets from './GridControls/TicketAssets'\nimport TicketDetails from './TicketDetails/TicketDetails'\nimport { Button } from \"@progress/kendo-react-buttons\";\nimport { useReduxDispatch, useReduxSelector } from '../../redux/hooks'\nimport Templates from './FormControls/Templates'\nimport * as TicketSlice from '../../slices/TicketSlice'\n//import { UserApi } from '../../redux/api/UserApi'\nimport { IStaff } from '../../types/IStaff'\nimport KnowledgeBase from './FormControls/KnowledgeBase'\nimport Attachments from './FormControls/Attachments'\nimport { FileType } from '../../types/File/FileType'\nimport { FileApi } from '../../redux/api/FileApi'\nimport * as KBSlice from '../../slices/KBSlice'\nimport { KBApi } from '../../redux/api/KBApi'\nimport { KBSearchProps } from '../../types/KB/KBSearchProps'\nimport SplitActions from './FormControls/SplitActions'\n\n\nconst TicketDrawer: FunctionComponent = props => {\n const { data: userProfile } = Api.useGetUserProfileQuery();\n const { ticket, splitFromTicketOptions } = useReduxSelector(state => state.ticketDetails);\n const { data: apifiles } = FileApi.useGetFilesQuery({ typeId: FileType.Call_Action_Internal, primaryId: ticket?.ID | 0 });\n const { data: isFileActive } = FileApi.useIsActiveQuery(FileType.Call_Action_Internal)\n const { data: assets } = AssetApi.useGetAssetsQuery({ contactId: 0, locationId: ticket.Company_Address_Id }, { skip: !ticket.Company_Address_Id })\n const contactAssets = assets?.filter((a) => a.Contact_Id === ticket.Company_Contact)\n const { data: existingTickets } = TicketApi.useGetOpenEndUserTicketsQuery(ticket.Company_Contact_Uid, { skip: !ticket.Company_Contact_Uid })\n const { data: clientTickets } = TicketApi.useGetOpenTicketsQuery({ companyId: ticket.Company_Id }, { skip: !ticket.Company_Id })\n const { data: templateActions } = TicketApi.useGetTemplateActionsQuery(ticket.Template_Id, { skip: !ticket.Template_Id })\n const { data: templates } = TicketApi.useGetMyTemplatesQuery();\n const { data: template } = TicketApi.useGetTemplateQuery(ticket.Template_Id, { skip: !ticket.Template_Id });\n const { data: status } = TicketApi.useGetStatusQuery(template?.Status_Id, { skip: !template?.Status_Id });\n const { results: kbResults } = useReduxSelector(state => state.kb);\n const dispatch = useReduxDispatch();\n const location = useLocation();\n const navigate = useNavigate();\n\n function isSelected(route) {\n return location.pathname.indexOf(route) > -1;\n }\n function isDetailsPage() {\n //check for /ticket/details OR just /ticket\n return location.pathname.endsWith('/ticket') || location.pathname.endsWith('/ticket/') || location.pathname.endsWith('/ticket/details');\n }\n\n const items = [\n {\n text: `Templates`, route: \"templates\", selected: isSelected('templates'), icon: \"k-i-copy\",\n badge: `${ticket.Template_Id ? templateActions?.length || '0' : ''}`,\n title: ticket.Template_Id ? `${templateActions?.length || '0'} Template ${userProfile.Phrases.Action}${templateActions?.length === 1 ? '' : 's'}` : null,\n visible: templates?.length ? 'true' : null\n },\n {\n separator: true,\n visible: templates?.length ? 'true' : null\n },\n { text: `${userProfile?.Phrases.CallPhrase} Details`, route: \"details\", selected: isDetailsPage(), icon: \"k-i-edit\", visible: 'true' },\n { separator: true, visible: 'true' },\n {\n title: \"Attachments\",\n text: \"Attachments\",\n route: \"file\",\n selected: isSelected('file'),\n icon: \"k-i-clip\",\n visible: isFileActive ? 'true' : null,\n badge: `${apifiles?.length || ''}`\n },\n {\n separator: true,\n visible: isFileActive ? 'true' : null,\n },\n {\n text: ticket.Is_Parent ? \"Parent\" : ticket.Parent_Call_Id > 0 ? `Child to ${ticket.Parent_Call_Id}` : \"Parent / Child\",\n route: \"hierarchy\",\n icon: \"k-i-link-horizontal\",\n selected: isSelected('hierarchy'),\n visible: 'true'\n },\n\n { separator: true, visible: 'true' },\n {\n text: `Open ${userProfile?.Phrases.CallPhrase}s`,\n route: \"existing\",\n icon: \"k-i-calendar\",\n badge: `${existingTickets?.length || 0} / ${clientTickets?.length || 0}`,\n disabled: (!ticket.Company_Contact_Uid),\n selected: isSelected('existing'),\n visible: 'true'\n },\n { separator: true, visible: userProfile?.Features.View_Assets && userProfile?.Features.Asset_Manager ? 'true' : null },\n {\n text: `${userProfile?.Phrases.Asset}s ${ticket?.Assets?.length > 0 ? '(' + ticket?.Assets?.length + ')' : ''}`,\n route: \"assets\",\n selected: isSelected('assets'),\n badge: `${contactAssets?.length || 0} / ${assets?.length || 0}`,\n disabled: (!ticket.Company_Contact_Uid),\n icon: \"k-i-toggle-full-screen-mode\",\n visible: userProfile?.Features.View_Assets && userProfile?.Features.Asset_Manager ? 'true' : null\n },\n {\n separator: true,\n visible: userProfile?.Features.View_KB && userProfile?.Features.KnowledgeBase ? 'true' : null\n },\n {\n badge: kbResults?.length > 0 ? kbResults.length : null,\n title: \"Knowlege base\",\n text: \"KBase\",\n route: \"kbase\",\n selected: isSelected('kbase'),\n image: \"./images/lifesaver.png\",\n visible: userProfile?.Features.View_KB && userProfile?.Features.KnowledgeBase ? 'true' : null\n },\n {\n separator: true,\n visible: 'true'\n },\n {\n badge: splitFromTicketOptions?.Ids?.length > 0 ? splitFromTicketOptions?.Ids?.length : null,\n title: \"Split \" + userProfile?.Phrases.Action + \"s\",\n text: \"Split \" + userProfile?.Phrases.Action + \"s\",\n route: \"split\",\n selected: isSelected('split'),\n icon: \"k-i-connector\",\n // image: \"./images/split-gray.png\",\n visible: splitFromTicketOptions && splitFromTicketOptions.TicketId && splitFromTicketOptions.Ids?.length > 0\n },\n {\n separator: true,\n visible: 'true'\n },\n ];\n const onSelect = (e: DrawerSelectEvent) => {\n navigate(e.itemTarget.props.route);\n };\n const RenderItem = (props: DrawerItemProps) => {\n if (!props.visible) return <>;\n return (\n \n {props.badge && !props.disabled ?\n \n
\n {props.image\n ? \"Tool\"\n : \n }\n {props.badge}\n
\n
\n :\n <>\n {props.image\n ? \"Tool\"\n : \n }\n\n \n }\n
\n
{props.text}
\n
\n
\n );\n };\n\n useEffect(() => {\n //Set the other template details like description, type, status etc.\n console.log('Template useEffect', template, status)\n if (template) {\n //if (!ticket.Template_Populated) {\n //Call description\n template.Call_Desc && dispatch(TicketSlice.SetDescription(decodeURIComponent(template.Call_Desc)))\n\n //Call Type\n template.Sub_Type_Id && dispatch(TicketSlice.SetType(template.Sub_Type_Id))\n // }\n\n //Call Status\n template.Status_Id && status && dispatch(TicketSlice.SetStatus(status))\n\n //Call Assignment\n if (template.Assignment?.length) {\n let newAssigned = template.Assignment.map(a => { return { ID: a.Contact_Id, Full_Name: a.Full_Name } as IStaff })\n dispatch(TicketSlice.SetAssigned(newAssigned))\n }\n\n\n //dispatch(TicketSlice.SetTemplatePopulated(true))\n }\n }, [template]);\n\n useEffect(() => {\n console.log('Template Status useEffect')\n //Call Status\n if (template?.Status_Id && status) {\n dispatch(TicketSlice.SetStatus(status))\n console.log('Template useEffect: Status', template, status)\n\n }\n\n }, [template, status]);\n\n //KB Search When ticket description changes\n const [searchKB] = KBApi.useSearchKBMutation();\n const [wordCount, setWordCount] = useState(0)\n useEffect(() => {\n //console.log('KnowledgeBase - desc changed');\n const fetchResults = async () => {\n let currentWordCount = (ticket?.Call_Desc).split(\" \").length;\n //Search\n if (!ticket?.Call_Desc) {\n dispatch(KBSlice.SetResults([]))\n } else if (currentWordCount > 0 && wordCount !== currentWordCount) {\n var kbResults = await searchKB({ Description: ticket.Call_Desc, EndUserId: userProfile.Id } as KBSearchProps).unwrap()\n\n //Update results\n dispatch(KBSlice.SetResults(kbResults))\n\n setWordCount(currentWordCount);\n }\n }\n fetchResults();\n }, [ticket.Call_Desc])\n\n return (\n <>\n {/* KnowledgeBase {JSON.stringify(userProfile?.Features.KnowledgeBase)}\n View_KB {JSON.stringify(userProfile?.Features.View_KB)} */}\n \n \n \n {(userProfile?.Features.Call_Templates || userProfile?.Features.Workflow) && } />}\n } />\n } />\n } />\n } />\n } />\n } />\n } />\n } />\n {/* } /> */}\n \n \n \n \n
\n
\n \n
\n
\n \n {/* */}\n
\n
\n
\n \n )\n}\n\nexport default TicketDrawer;","import React, { useEffect } from \"react\";\nimport { useLocation, useNavigate, useParams } from \"react-router-dom\";\nimport TicketDrawer from \"./TicketDrawer\";\nimport { Window, WindowMoveEvent } from \"@progress/kendo-react-dialogs\";\nimport { PartialSpinny } from \"../Nav/Spinny\";\nimport { TicketApi as Api } from \"../../redux/api/TicketApi\";\nimport { Button } from \"@progress/kendo-react-buttons\";\nimport { TicketLocationState } from \"./TicketRoute\";\nimport { useReduxDispatch, useReduxSelector } from \"../../redux/hooks\";\nimport { SetDescription } from \"../../slices/TicketSlice\";\nimport { SetHTML_Notes } from \"../../slices/ActionSlice\";\n\nexport const TicketPage = (props) => {\n const { logOptions } = useReduxSelector((state) => state.ticketDetails);\n const { Id: ticketId } = useParams();\n const location = useLocation();\n const navigate = useNavigate();\n const dispatch = useReduxDispatch();\n let background =\n location.state && (location.state as TicketLocationState).background;\n const [previousPage] = React.useState(background);\n let goBack = () => {\n if (previousPage) navigate(previousPage);\n else navigate(\"/\");\n const blank = \"\";\n dispatch(SetDescription(blank));\n dispatch(SetHTML_Notes(blank));\n };\n\n const [expanded, setExpanded] = React.useState(true);\n const [size, setSize] = React.useState({\n w: Math.max(window.innerWidth - 200, 500),\n h: window.innerHeight - 200,\n });\n\n const handleClick = (e) => {\n //console.log('handleClick',e)\n\n setExpanded(!expanded);\n };\n\n const resizing = (e: WindowMoveEvent) => {\n //console.log('resizing', e.width)\n setSize({ t: e.top, l: e.left, w: e.width, h: e.height });\n setExpanded(e.width < 660 ? false : true);\n };\n\n const moving = (e: WindowMoveEvent) => {\n if (e.top !== size.t || e.left !== size.l) {\n //console.log('moving')\n setSize({ ...size, t: e.top, l: e.left });\n }\n };\n\n window.onresize = (e: UIEvent) => {\n console.log(\"window resizing\");\n let popupWidth = window.innerWidth - 200;\n setSize({ w: popupWidth, h: window.innerHeight - 200, t: 100, l: 100 });\n\n setExpanded(popupWidth < 660 ? false : true);\n };\n\n useEffect(() => {\n console.log(\"useEffect\", size);\n //collapse the drawer when the popup gets smaller than 660px\n setExpanded(size.w < 660 ? false : true);\n }, [size]);\n\n //Raised when a ticket is saved. decides where we go from here\n const ticketSaved = (tIds: number[]) => {\n //Check log options\n let myOptions = logOptions?.Options?.split(\",\");\n //console.log('myOptions', myOptions)\n if (!myOptions) {\n goBack();\n }\n\n if (myOptions?.indexOf(\"0\") > -1) {\n //Go to the ticket\n navigate(`/deeplink?url=/calls/callhistory.aspx?call_id=${tIds[0]}`);\n } else if (\n myOptions?.indexOf(\"3\") === -1 &&\n myOptions?.indexOf(\"4\") === -1\n ) {\n //If no \"Log another\" option is chosen\n //just close the popup by going Back\n goBack();\n }\n };\n\n const { data: existingTicket } = Api.useGetTicketQuery(\n { ticketId: ticketId ? parseInt(ticketId) : 0, populateFormData: true },\n { skip: !ticketId }\n );\n const { data: userProfile, isLoading: profileIsLoading } =\n Api.useGetUserProfileQuery(null);\n const ticketTitle = (\n
\n \n \n {existingTicket\n ? `${userProfile?.Phrases.CallPhrase} ${existingTicket.ID}`\n : userProfile?.Phrases.CallPhrase ? `New ${userProfile?.Phrases.CallPhrase}` : ''}\n \n
\n );\n\n var modalWindow = (\n
\n \n {profileIsLoading && }\n {!profileIsLoading && (\n <>\n {/* location:{JSON.stringify(size)} */}\n\n \n \n )}\n \n
\n );\n const nonModalForm = (\n
\n \n
\n );\n\n return props.isModal ? modalWindow : nonModalForm;\n};\n\ntype windowDims = {\n w: number;\n h: number;\n t?: number;\n l?: number;\n};\n","import React from \"react\";\nimport { TicketPage } from \"./TicketPage\";\n\n\nconst TicketModal: React.FunctionComponent = props => {\n return (\n <>\n {/* (ticketpage.tsx - {props.index}) */}\n \n \n \n );\n}\n\nexport default TicketModal;","import { Api } from './BaseApi'\nimport { IFavOrder, IFavorite } from '../../types/Favorites/IFavorite';\nimport { IFavoriteConfig } from '../../types/Favorites/IFavoriteConfig';\n\nconst FavoriteApi = Api.injectEndpoints({\n endpoints: (build) => ({\n getUserFavorites: build.query({\n query: (uid) => `User/${uid}/Favorite`,\n providesTags: [\"GetUserFavs\"],\n }),\n saveFavorite: build.mutation({\n query: (info) => ({\n url: `User/${info.uid}/Favorite`,\n method: \"POST\",\n body: info.fav\n }),\n invalidatesTags: [\"GetUserFavs\", \"GetContacts\"]\n }),\n getFavoriteConfig: build.query({\n query: (uid) => `User/${uid}/Favorite/Config`,\n providesTags: [\"GetFavConfig\"],\n }),\n saveFavoriteConfig: build.mutation({\n query: (info) => ({\n url: `User/${info.uid}/Favorite/Config`,\n method: \"POST\",\n body: info.config\n }),\n invalidatesTags: [\"GetFavConfig\", \"GetContacts\"]\n }),\n sortFavorite: build.mutation({\n query: (info) => ({\n url: `User/${info.uid}/Favorite/Sort`,\n method: \"POST\",\n body: info.order\n }),\n invalidatesTags: [\"GetUserFavs\", \"GetContacts\"]\n }),\n sortFavCategories: build.mutation({\n query: (info) => ({\n url: `User/${info.uid}/Favorite/Category/Sort`,\n method: \"POST\",\n body: info.order\n }),\n invalidatesTags: [\"GetUserFavs\", \"GetContacts\"]\n }),\n deleteFavorite: build.mutation({\n query: (info) => ({\n url: `User/${info.uid}/Favorite/${info.favId}`,\n method: \"DELETE\"\n }),\n invalidatesTags: [\"GetUserFavs\", \"GetContacts\"]\n }),\n invalidateFavorites: build.mutation({\n queryFn: () => ({ data: null }),\n invalidatesTags: ['GetUserFavs'],\n }),\n }),\n\n overrideExisting: true,\n})\n\nexport { FavoriteApi };","export default class Setting {\n public static USER_TIMEZONE = 104\n public static REVELATIONS_COLLAPSED_STATE = 121;\n}","import React from 'react'\nimport { Offset, Popup } from '@progress/kendo-react-popup';\nimport { Menu, MenuItem, MenuSelectEvent } from '@progress/kendo-react-layout';\nimport { HeaderOptions } from '../HeaderOptions';\nimport { MenuProps } from './ContactsMenu';\nimport { Link } from 'react-router-dom';\n\nexport const HeaderMenu = (props: MenuProps) => {\n //const { data: contact } = UserApi.useGetUserByIdQuery(props?.contactId, { skip: !props?.contactId });\n const menuItemSelected = (e: MenuSelectEvent) => {\n //console.log('menuItemSelected', e)\n\n //Fire the click event for this option\n props.options.find(o => o.id === e.item.data)?.onclick()\n\n props.itemClicked();\n }\n\n return (\n \n \n {props.options.map(o => (\n {\n return o.link\n ? {o.element || } {o.title}\n :
{o.element || } {o.title}
\n }} icon={o.icon?.replace('k-i-', '')} text={o.title} data={o.id} />\n ))}\n
\n
\n\n )\n}","import React, { useContext, useEffect, useState } from 'react'\nimport { FavoriteApi } from '../../../redux/api/FavoriteApi'\nimport './Revelations.scss'\nimport { Menu, MenuItem, MenuSelectEvent, PanelBar, PanelBarItem } from '@progress/kendo-react-layout';\nimport { UserApi } from '../../../redux/api/UserApi';\nimport Setting from '../../User/Settings';\nimport { Sortable, SortableItemUIProps, SortableOnDragOverEvent, SortableOnDragStartEvent } from \"@progress/kendo-react-sortable\";\nimport { Button } from \"@progress/kendo-react-buttons\";\nimport { Icon } from '@progress/kendo-react-common';\nimport { Offset, Popup } from '@progress/kendo-react-popup';\nimport { InputSuffix, TextBox } from '@progress/kendo-react-inputs';\nimport { IFavOrder, IFavorite } from '../../../types/Favorites/IFavorite';\nimport { RevUserContext } from '../../../context/UserContext';\nimport { useReduxDispatch, useReduxSelector } from '../../../redux/hooks';\nimport * as FavoriteSlice from '../../../slices/FavoriteSlice';\nimport { nanoid } from 'nanoid';\nimport { IUserProfile } from '../../../types/User/IUserProfile';\nimport Scrollbars from 'react-custom-scrollbars-2';\nimport { ReactSortable } from \"react-sortablejs\";\nimport { HeaderMenu } from '../Contacts/HeaderMenu';\nimport { HeaderOptions } from '../HeaderOptions';\nimport { MenuProps } from '../Contacts/ContactsMenu';\nimport { PartialSpinny } from '../../Nav/Spinny';\nimport { updateIframeSrc } from '../../../slices/RevelationSlice';\nimport { ToolProps } from '../ActivityFeed/ActivityFeed';\n\nexport const Revelations: React.FC = (mainProps) => {\n const profile = useContext(RevUserContext)\n const sortedData = useReduxSelector((state) => state.favs.favorites);\n const dispatch = useReduxDispatch();\n const [menuProps, setMenuProps] = useState()\n const [expanded, setExpanded] = useState()\n const [editItem, setEditItem] = useState<{ id: number, text: string }>()\n const { data: collapsedItems } = UserApi.useGetSettingQuery(Setting.REVELATIONS_COLLAPSED_STATE)\n const [saveSetting] = UserApi.useSaveSettingMutation()\n const { data: favorites, isFetching } = FavoriteApi.useGetUserFavoritesQuery(profile.Uid)\n const [saveFavorites] = FavoriteApi.useSaveFavoriteMutation()\n const [sortFavorites] = FavoriteApi.useSortFavoriteMutation()\n const [sortFavoriteCategories] = FavoriteApi.useSortFavCategoriesMutation()\n const [deleteFavorite] = FavoriteApi.useDeleteFavoriteMutation()\n const [headerMenu, setHeaderMenu] = useState>()\n //Get the categories\n const [itemsToRender, setItemsToRender] = React.useState([]);\n\n useEffect(() => {\n if (sortedData) {\n const categoryIds = sortedData ? [...new Set(sortedData?.slice().sort((a, b) => (a.Category_Order - b.Category_Order)).map(item => item.Category_Id))] : [];\n let newRenderData = categoryIds?.map(cid => {\n let _children = sortedData.filter(f => f.Category_Id === cid).sort((a, b) => a.Order - b.Order);\n return {\n id: cid.toString(),\n title: `${sortedData.find(f => f.Category_Id === cid).Category_Name} (${_children.length})`,\n imageUrl: sortedData.find(f => f.Category_Id === cid).Category_Image_Url,\n children: _children\n } as FavData\n });\n //console.log('setItemsToRender')\n setItemsToRender(newRenderData)\n //cancel edit\n setEditItem(null)\n //console.log('useEffect sortedData setItemsToRender', newRenderData);\n }\n }, [sortedData])\n\n //Only set the favoirites the first time we load data\n useEffect(() => {\n console.log('UpdatingFavoriteSlice')\n //if (favorites && !sortedData?.length) {\n //Always update\n favorites && dispatch(FavoriteSlice.saveFavorites(favorites))\n //}\n\n }, [favorites])\n\n\n //Put the saved collapsed items into state\n useEffect(() => {\n\n //Sets the expanded items into local state. This is the opposite of the state saved via the API which is the ids of the COLLAPSED items\n let expandedSet = false;\n if (collapsedItems && sortedData && !expanded) {\n let collapsedArray = JSON.parse(collapsedItems.Big_String_Value) || []//[\"1\",\"2\",\"3\"...]\n if (collapsedArray) {\n let distinctIds = [...new Set(sortedData.map(s => s.Category_Id.toString()))]\n let expanded = distinctIds.filter(c => collapsedArray.indexOf(c.toString()) === -1);\n // console.log('collapsedItems', collapsedItems)\n // console.log('expanded', expanded)\n // console.log('collapsedArray', collapsedArray)\n // console.log('distinctIds', distinctIds)\n // console.log('collapsedArray.indexOf ', distinctIds.map(c => collapsedArray.indexOf(c.toString())))\n setExpanded(expanded);\n expandedSet = true;\n }\n }\n //console.log('setExpanded2', expanded, expandedSet, collapsedItems)\n }, [collapsedItems, sortedData])\n\n const headerRef = React.useRef();\n\n const loadRevPage = (fav, deeplink) => {\n let relativeURL = `${fav.Url_Format.replace('{0}', fav.Key_Value_1 || '').replace('{1}', fav.Key_Value_2 || '').replace('{2}', fav.Key_Value_3 || '').replace('{3}', fav.Key_Value_4 || '').replace('{4}', fav.Key_Value_5 || '').replace('{5}', fav.Key_Value_6 || '').replace('{6}', fav.Key_Value_7 || '').replace('{7}', fav.Key_Value_8 || '')}`\n //console.log('loading fav:', relativeURL, fav)\n let navigateTo = `${relativeURL}${relativeURL.indexOf('?') > -1 ? '&' : '?'}d=${nanoid()}`\n if (deeplink)\n return `./deeplink?url=${relativeURL}`;\n else\n return `${relativeURL}`;\n\n mainProps.itemSelected();\n }\n\n const gotoFavorite = (e, navigateTo) => {\n if (mainProps.fullScreen)\n return true;\n\n e.preventDefault()\n e.stopPropagation()\n dispatch(updateIframeSrc(navigateTo));\n\n return false;\n }\n\n\n const RenderItem = (props: SortableItemUIProps) => {\n const { attributes, dataItem, forwardRef, isActive, style } = props;\n const fav: IFavorite = dataItem;\n const [editText, setEditText] = useState(editItem?.id === fav.Id ? editItem.text : '')\n\n return (\n
\n
\n {editItem?.id === fav.Id\n //Edit mode\n ? setEditText(e.value.toString())}\n suffix={() => (\n \n {\n //Save changes\n await saveFavorites({ uid: profile.Uid, fav: { ...fav, Name: editText } });\n\n //Update the name in the main sortedData\n let newData = [...sortedData]\n let found = newData.find(f => f.Id === fav.Id)\n if (found) {\n newData[newData.indexOf(found)] = { ...found, Name: editText }\n //console.log('found', newData)\n }\n dispatch(FavoriteSlice.saveFavorites(newData))\n\n }}>Save\n \n )\n } />\n //Text mode\n : { return gotoFavorite(e, loadRevPage(fav, false)); }}>{fav.Name}\n\n }\n {/* Menu */}\n {editItem?.id !== fav.Id &&\n {\n console.log('menu clicked')\n e.syntheticEvent.preventDefault();\n e.syntheticEvent.stopPropagation();\n setMenuProps(oldProps => { return { ...oldProps, item: fav, visible: !oldProps?.visible, offset: { left: e.syntheticEvent.clientX - 100, top: e.syntheticEvent.clientY + 10 } } })\n }} >}\n
\n );\n };\n\n //Close the menu\n const handleItemSelect = async (e) => {\n //console.log('handleItemSelect', e)\n //setMenuProps(oldProps => { return { ...oldProps, visible: false } })\n\n setExpanded((oldState) => {\n let newState = oldState ? [...oldState] : [];\n if (newState.indexOf(e.id.toString()) > -1)\n newState.splice(newState.indexOf(e.id.toString()), 1);\n else\n newState.push(e.id.toString())\n console.log('newState', newState)\n\n //Save via the API\n let newArray = itemsToRender.filter(i => newState.indexOf(i.id) === -1).map(i => i.id)\n let newSettings = { ...collapsedItems }\n newSettings.Big_String_Value = newArray.length ? `[\"${newArray.join('\",\"')}\"]` : null\n console.log('expanded', newArray, newSettings.Big_String_Value)\n saveSetting(newSettings);\n\n return newState;\n });\n\n\n }\n\n const menuItemSelected = async (e: MenuSelectEvent) => {\n console.log('menuItemSelected', e)\n //Delete favorite\n if (e.item.text.indexOf('Delete') > -1) {\n\n await deleteFavorite({ favId: menuProps.item.Id, uid: profile.Uid }).then(() => {\n //just remove the item\n let newState = [...sortedData]\n let foundItem = newState.find(n => n.Id === menuProps.item.Id)\n if (foundItem) {\n newState.splice(newState.indexOf(foundItem), 1)\n dispatch(FavoriteSlice.saveFavorites(newState))\n }\n }\n )\n\n //Update the state with new favorites\n //refetch().then((e) => dispatch(FavoriteSlice.saveFavorites(e.data)));\n } else {\n setEditItem({ id: menuProps.item.Id, text: menuProps.item.Name });\n }\n\n //close the popup\n setMenuProps(oldProps => { return { ...oldProps, visible: false } })\n }\n\n const categoryReordered = (evt, sortable) => {\n //console.log('categoryReordered', sortable)\n //update category order via the API.\n let sortArray = itemsToRender.map(i => i.id)\n sortFavoriteCategories({ order: sortArray, uid: profile.Uid })\n\n }\n\n const HeaderOptions = [\n {\n id: \"win\",\n title: `Open in New Window`,\n element: ,\n link: '/Revelations',\n visible: !mainProps.fullScreen\n }\n ] as HeaderOptions[]\n\n\n return (\n
\n
Revelations\n {!mainProps.fullScreen && }\n {!mainProps.fullScreen && }\n
\n o.visible)} itemClicked={() => setHeaderMenu(null)} />\n {!isFetching && itemsToRender?.length == 0 && }\n {isFetching && !favorites ? \n : \n \n\n \n {itemsToRender?.map((c) => {\n const onDragOver = (event: SortableOnDragOverEvent) => {\n let newData = [...sortedData]\n event.newState.map((n: IFavorite, i) => {\n let found = newData.find(f => n.Id === f.Id)\n if (found)\n newData[newData.indexOf(found)] = { ...found, Order: i }\n });\n dispatch(FavoriteSlice.saveFavorites(newData));\n\n };\n const Sorting = (event: SortableOnDragStartEvent) => {\n //No sorting when in edit mode\n if (menuProps?.visible || editItem)\n event.preventDefault()\n }\n const Sorted = (event: SortableOnDragOverEvent) => {\n console.log('sorted', c.id, event) //event.newstate\n const sortParams: IFavOrder = {\n CategoryId: parseInt(c.id),\n NewOrderIds: event.newState.map(i => (i as IFavorite).Id)\n }\n //Update stat via API\n sortFavorites({ order: sortParams, uid: profile.Uid })\n\n let newData = [...sortedData]\n event.newState.map((n: IFavorite, i) => {\n let found = newData.find(f => n.Id === f.Id)\n if (found)\n newData[newData.indexOf(found)] = { ...found, Order: i }\n });\n //console.log('dispatching', newData)\n dispatch(FavoriteSlice.saveFavorites(newData));\n }\n return (\n <>\n -1} key={c.id.toString()} id={c.id.toString()} title={`${c.title}`} imageUrl={`.${c.imageUrl}`} className=\"category-item k-panelbar-header\">\n \n \n \n )\n })\n }\n \n \n }\n {menuProps?.visible &&\n \n \n \n \n \n \n }\n
\n )\n}\nexport type FavData = {\n id: string\n title: string\n imageUrl: string,\n children: IFavorite[]\n}\nexport type FavMenuProps = {\n item: IFavorite\n visible: boolean\n offset: Offset\n}\n\nexport type FavProps = {\n itemSelected?: () => void\n locked?: () => void\n unlocked?: () => void\n fullScreen?: boolean\n}","import React from 'react'\nimport { Revelations } from './Revelations'\nimport './Revelations.scss'\n\nexport const RevelationsPage = () => {\n return (\n
\n \n
\n )\n}\n","import { Api } from './BaseApi'\nimport { IFeedResult } from '../../types/Feed/IFeedResult';\nimport { IFeedConfig } from '../../types/Feed/IFeedConfig';\n\nconst FeedApi = Api.injectEndpoints({\n endpoints: (build) => ({\n getUserFeed: build.query({\n query: ({ uid, lastId }) => `User/${uid}/Feed?lastId=${lastId}`,\n providesTags: [\"GetUserFeed\"],\n serializeQueryArgs: ({ endpointName }) => {\n return endpointName;\n },\n // Always merge incoming data to the cache entry\n merge: (currentCache, newItems) => {\n //console.log('merging...', currentCache.FeedItems?.length, newItems.FeedItems?.length, newItems.LastId)\n currentCache.FeedItems.push(...newItems.FeedItems);\n //Limit to 100 items and sort by ID\n currentCache.FeedItems = currentCache.FeedItems.sort((a, b) => b.ID - a.ID).slice(0, 100);\n currentCache.LastId = newItems.LastId;\n currentCache.UnReadCount = currentCache.FeedItems?.filter(x => !x.Is_Read && !(x.Use_Temp_Read && x.Is_Temp_Read)).length;\n },\n // Refetch when the page arg changes\n forceRefetch({ currentArg, previousArg }) {\n //console.log('forceRefetch', currentArg !== previousArg)\n return currentArg !== previousArg;\n }\n }),\n getFeedConfig: build.query({\n query: (uid) => `User/${uid}/Feed/Config`,\n providesTags: [\"GetFeedConfig\"],\n }),\n saveFeedConfig: build.mutation({\n query: (info) => ({\n url: `User/${info.uid}/Feed/Config`,\n method: \"POST\",\n body: info.config\n }),\n async onQueryStarted(info, { dispatch, queryFulfilled }) {\n const postResult = dispatch(\n FeedApi.util.updateQueryData(\"getUserFeed\", undefined, (draft) => {\n draft.FeedItems.map(f => f.Is_Read = true);\n })\n );\n try {\n await queryFulfilled;\n } catch {\n postResult.undo();\n }\n },\n invalidatesTags: [\"GetFeedConfig\"]\n }),\n resetFeed: build.mutation({\n query: () => null,\n async onQueryStarted(info, { dispatch, queryFulfilled }) {\n const postResult = dispatch(\n FeedApi.util.updateQueryData(\"getUserFeed\", undefined, (draft) => {\n draft.FeedItems.map(f => {\n f.Is_Read = f.Use_Temp_Read && f.Is_Temp_Read;\n f.Use_Temp_Read = false;\n f.Is_Temp_Read = false;\n return f;\n });\n })\n );\n try {\n await queryFulfilled;\n } catch {\n postResult.undo();\n }\n },\n invalidatesTags: [\"GetUserFeed\"]\n }),\n clearFeed: build.mutation({\n query: (uid) => ({\n url: `User/${uid}/Feed/Clear`,\n method: \"POST\"\n }),\n async onQueryStarted(info, { dispatch, queryFulfilled }) {\n const postResult = dispatch(\n FeedApi.util.updateQueryData(\"getUserFeed\", undefined, (draft) => {\n draft.FeedItems.map(f => {\n f.Is_Read = true;\n return f;\n });\n })\n );\n try {\n await queryFulfilled;\n } catch {\n postResult.undo();\n }\n },\n invalidatesTags: [\"GetUserFeed\"]\n }),\n markAsRead: build.mutation({\n query: (data) => ({\n url: `User/${data.uid}/Feed/${data.id}/Read`,\n method: \"POST\"\n }),\n async onQueryStarted(info, { dispatch, queryFulfilled }) {\n const postResult = dispatch(\n FeedApi.util.updateQueryData(\"getUserFeed\", undefined, (draft) => {\n var foundIndex = draft.FeedItems.findIndex(f => f.Feed_Item_Id === info.id);\n\n console.log('markAsRead', foundIndex, info.id)\n\n if (foundIndex > -1) {\n draft.FeedItems[foundIndex] = { ...draft.FeedItems[foundIndex], Is_Temp_Read: true, Use_Temp_Read: true };\n draft.UnReadCount = draft.FeedItems?.filter(x => !x.Is_Read && !(x.Use_Temp_Read && x.Is_Temp_Read)).length;\n }\n })\n );\n try {\n await queryFulfilled;\n } catch {\n postResult.undo();\n }\n },\n invalidatesTags: [\"GetUserFeed\"]\n }),\n markAsUnRead: build.mutation({\n query: (data) => ({\n url: `User/${data.uid}/Feed/${data.id}/UnRead`,\n method: \"POST\"\n }),\n async onQueryStarted(info, { dispatch, queryFulfilled }) {\n const postResult = dispatch(\n FeedApi.util.updateQueryData(\"getUserFeed\", undefined, (draft) => {\n var foundIndex = draft.FeedItems.findIndex(f => f.Feed_Item_Id === info.id);\n\n console.log('markAsUnRead', foundIndex, info.id)\n\n if (foundIndex > -1) {\n draft.FeedItems[foundIndex] = { ...draft.FeedItems[foundIndex], Is_Read: false, Is_Temp_Read: false, Use_Temp_Read: false };\n draft.UnReadCount = draft.FeedItems?.filter(x => !x.Is_Read && !(x.Use_Temp_Read && x.Is_Temp_Read)).length;\n }\n })\n );\n try {\n await queryFulfilled;\n } catch {\n postResult.undo();\n }\n },\n invalidatesTags: [\"GetUserFeed\"]\n }),\n }),\n\n overrideExisting: true,\n})\n\nexport { FeedApi };","import React from 'react'\nimport { Offset, Popup } from '@progress/kendo-react-popup';\nimport { Menu, MenuItem, MenuSelectEvent } from '@progress/kendo-react-layout';\nimport { Link } from 'react-router-dom';\nimport { MenuProps } from '../Contacts/ContactsMenu';\nimport { HeaderOptions } from '../HeaderOptions';\n\nexport const HeaderMenu = (props: MenuProps) => {\n //const { data: contact } = UserApi.useGetUserByIdQuery(props?.contactId, { skip: !props?.contactId });\n const menuItemSelected = (e: MenuSelectEvent) => {\n //Fire the click event for this option\n props.options.find(o => o.id === e.item.data)?.onclick()\n\n props.itemClicked();\n }\n\n return (\n \n \n {props.options.map(o => (\n {\n return o.link\n ? {o.element || } {o.title}\n :
{o.element || } {o.title}
\n }} icon={o.icon?.replace('k-i-', '')} text={o.title} data={o.id} />\n ))}\n
\n
\n\n )\n}","import { filterBy } from '@progress/kendo-data-query';\nimport { MultiSelect, MultiSelectChangeEvent, MultiSelectFilterChangeEvent } from '@progress/kendo-react-dropdowns';\nimport React, { useEffect, useMemo, useState } from 'react'\nimport { UserApi } from '../../redux/api/UserApi';\n\nexport const TeamMultiSelect = (props: TeamListProps) => {\n const { data: teams, isFetching: teamsLoading } = UserApi.useGetTeamsQuery();\n const [teamsFiltered, setTeams] = useState([])\n const selectedTeams = useMemo(() => {\n return teams?.filter(t => props?.selectedTeamIds?.indexOf(t.ID) > -1);\n }, [teams, props?.selectedTeamIds]);\n\n useEffect(() => {\n console.log('Teams loading...', teams, selectedTeams)\n\n if (teams)\n setTeams(teams)\n }, [teams]);\n\n const onFilter = (event: MultiSelectFilterChangeEvent) => {\n console.log('Filter', event);\n setTeams(filterBy(teams?.slice(), event.filter));\n }\n if (!teamsFiltered)\n return <>\n\n return (\n <>\n {/* selectedTeams:{JSON.stringify(selectedTeams)} / {teams.length} / {props.selectedTeamIds} */}\n \n \n )\n}\n\nexport type TeamListProps = {\n selectedTeamIds?: number[],\n onChange?: (e: MultiSelectChangeEvent) => void\n}","import { DropDownList, MultiSelect } from '@progress/kendo-react-dropdowns'\nimport { FieldRenderProps, FieldWrapper } from '@progress/kendo-react-form';\nimport React, { FunctionComponent, useState } from 'react'\nimport {\n Label,\n Error,\n Hint,\n} from \"@progress/kendo-react-labels\";\nimport { toDigital } from '../../../utils/utils';\nimport { ProjectApi } from '../../../redux/api/ProjectApi';\nimport { IProjectType } from '../../../types/Project/IProjectType';\n\nexport const ProjectTypeList = (props) => {\n const {\n validationMessage,\n label,\n id,\n disabled,\n optional,\n onChange,\n multiSelect,\n placeholder,\n projectTypeIds,\n } = props;\n const isValid = !validationMessage;\n const showValidationMessage = validationMessage;\n const errorId = showValidationMessage ? `${id}_error` : \"\";\n const defaultValue = { ID: 0, Cost_Center: \"Select\" } as IProjectType\n const { data: projectTypes, isLoading: projectLoading } = ProjectApi.useGetProjectTypeListQuery()\n const selectProjectTypes = projectTypes?.filter(ct => projectTypeIds?.indexOf(ct.ID) > -1);\n const selectProjectType = projectTypes?.find(ct => projectTypeIds?.indexOf(ct.ID) > -1);\n const [opened, setOpened] = useState(false);\n return (\n \n \n {label} {showValidationMessage && ({validationMessage})}\n \n
\n {multiSelect ?\n { setOpened(true) }}\n onBlur={() => { setOpened(false) }}\n placeholder={placeholder || 'Filter...'}\n data={projectTypes}\n textField=\"Cost_Center\"\n />\n :\n props.onSelect(e.value)} value={selectProjectType} data={projectTypes} dataItemKey=\"ID\" textField=\"Cost_Center\" loading={projectLoading} required={true} />\n }\n
\n
\n )\n}\n","import { DropDownList, MultiSelect } from '@progress/kendo-react-dropdowns';\nimport { FieldRenderProps, FieldWrapper } from '@progress/kendo-react-form';\nimport { Label } from \"@progress/kendo-react-labels\";\nimport React, { FunctionComponent, useState } from 'react'\nimport { ClientApi } from '../../../redux/api/ClientApi';\n\nconst ClientList: FunctionComponent = props => {\n const {\n validationMessage,\n touched,\n label,\n id,\n valid,\n disabled,\n hint,\n type,\n optional,\n value,\n data,\n multiSelect,\n clientIds,\n clientTypeId,\n ...others\n } = props;\n //const values = Array.isArray(field?.VALUES) ? field?.VALUES?.map(v => toInteger(v)) : [];\n const [opened, setOpened] = useState(false);\n const { data: clients } = ClientApi.useGetClientListQuery(clientTypeId);\n const currentValues = clientIds?.length > 0 ? clients?.filter(i => clientIds?.indexOf(i.ID) > -1) : undefined;\n const fieldChanged = (e) => {\n props.onChange(e);\n }\n const multiFieldChanged = (e) => {\n props.onChange(e);\n }\n\n return (\n <>\n \n {label}\n \n {\n multiSelect\n ? { setOpened(true) }}\n onBlur={() => { setOpened(false) }} />\n : 0 ? currentValues[0] : undefined} data={clients} dataItemKey=\"ID\" textField=\"Company_Name\" />\n }\n \n )\n}\n\nexport default ClientList;","import React, { useContext, useEffect, useState } from 'react'\nimport { Checkbox, RadioButton } from '@progress/kendo-react-inputs';\nimport { PanelBar, PanelBarItem } from '@progress/kendo-react-layout';\nimport { DropDownList, DropDownListChangeEvent, MultiSelect, MultiSelectChangeEvent, MultiSelectFilterChangeEvent } from '@progress/kendo-react-dropdowns';\nimport { FeedApi } from '../../../redux/api/FeedApi';\nimport { Dialog, DialogActionsBar } from '@progress/kendo-react-dialogs';\nimport { PartialSpinny } from '../../Nav/Spinny';\nimport { IFeedConfig } from '../../../types/Feed/IFeedConfig';\nimport { TeamMultiSelect } from '../../Team/TeamMultiSelect';\nimport { FieldRenderProps, Form, FormElement } from '@progress/kendo-react-form';\nimport StaffList from '../../User/ListControls/StaffList';\nimport ClientTypeList from '../../ClientType/ClientTypeList';\nimport { ProjectTypeList } from '../../Project/ListControls/ProjectTypeList';\nimport { Scrollbars } from 'react-custom-scrollbars-2';\nimport ClientList from '../../Client/ListControls/ClientList';\nimport { RevUserContext } from '../../../context/UserContext';\n\nexport const SettingsDialog = (props: FeedDialogProps) => {\n const profile = useContext(RevUserContext)\n const { data: apiConfig, isFetching } = FeedApi.useGetFeedConfigQuery(profile.Uid)\n const [settings, setSettings] = useState({} as IFeedConfig)\n const [saveFeedSettings, { isLoading: savingConfig }] = FeedApi.useSaveFeedConfigMutation();\n\n const saveClicked = async () => {\n //Save the feed config\n await saveFeedSettings({ config: settings, uid: profile.Uid });\n\n props.onSaved();\n }\n\n //put the API data in state\n useEffect(() => {\n console.log('put the API data in state', apiConfig)\n if (apiConfig)\n setSettings(apiConfig);\n }, [apiConfig]);\n\n const activityValues = [\n {\n text: `My ${profile?.Phrases.CallPhrase}s`,\n id: 0\n },\n {\n text: `My ${profile?.Phrases.CallPhrase} Monitor`,\n id: 1\n },\n {\n text: `All ${profile?.Phrases.CallPhrase}s`,\n id: 2\n }\n ]\n\n //Team filter changed\n const teamChanged = (e: MultiSelectChangeEvent) => {\n console.log('team changed', e)\n\n setSettings((oldval) => {\n return { ...oldval, Filter_Team_Ids: e.value?.map(v => v?.ID).join(',') }\n });\n }\n //Staff changed\n const staffChanged = (e: MultiSelectChangeEvent) => {\n console.log('staff changed', e)\n\n setSettings((oldval) => {\n return { ...oldval, Filter_Staff_Ids: e.value?.join(',') }\n });\n }\n const clientTypeChanged = (e) => {\n //console.log('client Type changed', e)\n setSettings((oldval) => {\n return { ...oldval, Filter_Client_Type_Ids: e.value?.map(v => v?.ID).join(',') }\n });\n }\n\n const clientChanged = (e) => {\n setSettings((oldval) => {\n return { ...oldval, Filter_Client_Ids: e.value?.map(v => v?.ID).join(',') }\n });\n }\n\n const projectTypeChanged = (e) => {\n //console.log('project Type changed', e)\n setSettings((oldval) => {\n return { ...oldval, Filter_Project_Type_Ids: e.value?.map(v => v?.ID).join(',') }\n });\n }\n\n const emptyProps = {} as FieldRenderProps\n\n return (\n \n\n {(!apiConfig || isFetching || !settings || savingConfig) &&\n \n }\n \n \n \n
\n
\n \n a.id === settings.Activity_For)} onChange={(e: DropDownListChangeEvent) => { setSettings((oldVal) => oldVal = { ...oldVal, Activity_For: e.value.id }) }} data={activityValues} />\n
\n
\n \n { setSettings((oldVal) => oldVal = { ...oldVal, Recent_Item_Count: e.value }) }} data={[50, 100, 200]} />\n
\n
\n \n setSettings((oldVal) => { return { ...oldVal, Initial_State: (v.value.id === '1') } })} />\n
\n
\n \n
\n
\n setSettings((oldVal) => { return { ...oldVal, Remember_State: 1 } })} />\n
\n setSettings((oldVal) => { return { ...oldVal, Remember_State: 0 } })} />\n
\n
\n
\n
\n
\n o.Is_Checked).length}/${settings.Options?.length}`}>\n
\n {settings.Options?.map((o, i) => {\n return (\n
\n {\n setSettings((oldVal) => {\n let newState = [...oldVal.Options]\n newState[i] = { ...newState[i], Is_Checked: e.value }\n return { ...oldVal, Options: newState }\n })\n }} />\n
\n )\n })}\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
setSettings((oldVal) => { return { ...oldVal, Team_Filter_Option: 0 } })} />
\n
setSettings((oldVal) => { return { ...oldVal, Team_Filter_Option: 1 } })} />
\n
\n parseInt(t))} onChange={teamChanged} />\n
\n
\n
\n
\n \n
\n
\n
\n
setSettings((oldVal) => { return { ...oldVal, Staff_Filter_Option: 0 } })} />
\n
setSettings((oldVal) => { return { ...oldVal, Staff_Filter_Option: 1 } })} />
\n
\n parseInt(t))} onChange={staffChanged} />\n
\n
\n
\n
\n \n
\n
\n parseInt(t))} />\n
\n
\n
\n
\n \n
\n
\n parseInt(t))} />\n
\n
\n
\n
\n \n
\n
\n parseInt(t))} />\n
\n
\n
\n
\n {/* \n
\n {JSON.stringify(settings)}\n
\n
*/}\n
\n
\n \n \n Save\n \n \n Cancel\n \n \n\n
\n )\n}\n\nexport type FeedDialogProps = {\n onClose: () => void\n onSaved: () => void\n}","import React, { Component, ReactNode } from \"react\";\n\ninterface Props {\n errorMessage?: string | ReactNode;\n children: ReactNode;\n}\n\ninterface State {\n hasError: boolean;\n}\n\nexport class ErrorBoundary extends Component {\n constructor(props) {\n super(props);\n this.state = { hasError: false };\n }\n\n static getDerivedStateFromError(error) {\n return { hasError: true };\n }\n\n render() {\n if (this.state.hasError) {\n return

{this.props.errorMessage}

;\n }\n\n return this.props.children;\n }\n}","import React, { useContext, useEffect } from 'react'\nimport { FeedApi } from '../../../redux/api/FeedApi'\nimport ReactTimeAgo from 'react-timeago'\nimport { Scrollbars } from 'react-custom-scrollbars-2';\nimport './ActivityFeed.scss'\nimport { trimChar } from '../../../utils/utils';\nimport { Link } from 'react-router-dom';\nimport { useReduxDispatch, useReduxSelector } from '../../../redux/hooks';\nimport { PartialSpinny } from '../../Nav/Spinny';\nimport { IFeedItem } from '../../../types/Feed/IFeedItem';\nimport { Icon } from '@progress/kendo-react-common';\nimport { Offset, Popup } from '@progress/kendo-react-popup';\nimport { Menu, MenuItem, MenuSelectEvent } from '@progress/kendo-react-layout';\nimport { IUserProfile } from '../../../types/User/IUserProfile';\nimport { RevUserContext } from '../../../context/UserContext';\nimport * as RevelationSlice from '../../../slices/RevelationSlice';\nimport { HeaderOptions } from '../HeaderOptions';\nimport HTMLEllipsis from 'react-lines-ellipsis/lib/html'\nimport { MenuProps } from '../Contacts/ContactsMenu';\nimport { HeaderMenu } from './HeaderMenu';\nimport { Switch } from '@progress/kendo-react-inputs';\nimport { SettingsDialog } from './SettingsDialog';\nimport { ErrorBoundary } from '../../Common/ErrorBoundry';\nimport { IFeedResult } from '../../../types/Feed/IFeedResult';\n\nexport const ActivityFeed = (props: ToolProps) => {\n const profile = useContext(RevUserContext)\n const dispatch = useReduxDispatch();\n //const { FeedItems, LastId } = useReduxSelector(rev => rev.feed.feedItems)\n const [lastFeedId, setLastFeedId] = React.useState();\n const { data } = FeedApi.useGetUserFeedQuery({ uid: profile.Uid, lastId: lastFeedId ? lastFeedId?.toString() : '' }, { pollingInterval: 20000, skip: !props.fullScreen });\n const [resetFeed] = FeedApi.useResetFeedMutation();\n //const [trigger, result] = FeedApi.useLazyGetUserFeedQuery({ pollingInterval: 20000 });\n const feedResult = props.feedResults || data;\n const [postAllAsRead, { isLoading }] = FeedApi.useClearFeedMutation();\n const [markAsRead, { isLoading: markingAsRead }] = FeedApi.useMarkAsReadMutation();\n const [markAsUnRead, { isLoading: markingAsUnRead }] = FeedApi.useMarkAsUnReadMutation();\n const [unreadOnly, setUnreadonly] = React.useState(true);\n //const [autoRefresh, setAutoRefresh] = React.useState(true);\n const [menuProps, setMenuProps] = React.useState();\n const [headerMenu, setHeaderMenu] = React.useState>()\n const [settingsVisible, setSettingsVisible] = React.useState(false);\n //const [itemsToRender, setItemsToRender] = React.useState([]);\n // useEffect(() => {\n // setLastFeedId(LastId)\n // }, [LastId])\n\n // useEffect(() => {\n // console.log('run once');\n // trigger({ uid: profile.Uid, lastId: lastFeedId ? lastFeedId?.toString() : '' })\n // }, [])\n\n //console.log('lastFeedId', lastFeedId, LastId)\n\n //Update the feed items in reduc state\n useEffect(() => {\n console.log('ActivityFeed useEffect', feedResult)\n if (feedResult && feedResult.LastId > 0 && feedResult.LastId !== lastFeedId)\n setLastFeedId(feedResult.LastId);\n //dispatch(FeedSlice.SetFeedItems(feedResult));\n\n }, [feedResult, dispatch])\n\n const markAllRead = async () => {\n await postAllAsRead(profile.Uid);\n }\n\n const feedItemClicked = async (f: IFeedItem) => {\n if (!f.Is_Read) {\n //setAutoRefresh(false);\n await markAsRead({ id: f.Feed_Item_Id, uid: profile.Uid });\n }\n }\n\n const handleContextMenu = (e, f: IFeedItem) => {\n e.preventDefault();\n\n setMenuProps({ offset: { left: e.clientX, top: e.clientY }, visible: true, isread: f.Is_Read || (f.Use_Temp_Read && f.Is_Temp_Read), id: f.Feed_Item_Id });\n };\n\n const menuItemSelected = async (e: MenuSelectEvent) => {\n //Mark the item as read / unread\n e.item.text.indexOf('Unread') > -1\n ? await markAsUnRead({ id: menuProps.id, uid: profile.Uid })\n : await markAsRead({ id: menuProps.id, uid: profile.Uid })\n\n setMenuProps(oldProps => { return { ...oldProps, visible: false } })\n }\n //Close the menu\n const feedClicked = () => setMenuProps(oldProps => { return { ...oldProps, visible: false } })\n\n const HeaderOptions = [\n {\n id: \"settings\",\n title: `Settings`,\n element: ,\n onclick: () => setSettingsVisible(true),\n visible: true\n },\n {\n id: \"read\",\n title: `Mark all as Read`,\n //image: './images/clear_button_grey.png',\n element: ,\n onclick: markAllRead,\n visible: true\n },\n {\n id: \"win\",\n title: `Open in New Window`,\n //image: 'images/ibutton_revelations_popout_black.png',\n element: ,\n link: '/Feed',\n visible: !props.fullScreen\n }, {\n id: \"unread\",\n title: ``,\n onclick: () => {\n setUnreadonly((u) => {\n return !u\n });\n\n console.log('reset the feed Read state')\n //reset the feed Read state\n dispatch(\n FeedApi.util.updateQueryData(\"getUserFeed\", undefined, (draft) => {\n console.log('updateQueryData', draft.FeedItems?.length)\n draft.FeedItems.filter(f => f.Use_Temp_Read).map(f => {\n console.log('reset the feed Read state', f)\n f.Is_Read = f.Use_Temp_Read && f.Is_Temp_Read;\n f.Use_Temp_Read = false;\n f.Is_Temp_Read = false;\n });\n })\n );\n },\n element: <>Unread only ,\n visible: true\n },\n ] as HeaderOptions[]\n\n function rightBarMouseOut(e) {\n //console.log('Mouse out', e);\n\n props.itemSelected && props.itemSelected(e);\n }\n\n const headerRef = React.useRef();\n\n const itemsToRender = feedResult?.FeedItems?.filter(f => !unreadOnly || !f.Is_Read);\n\n if (!feedResult?.FeedItems)\n return <>\n\n return (\n \n
\n\n
\n feed\n Activity Feed\n {/* {UnReadCount}/{FeedItems.length} */}\n {/* \n {!props.fullScreen && } */}\n }\n {!props.fullScreen && }\n
\n {settingsVisible && { setSettingsVisible(false) }} onClose={() => { setSettingsVisible(false) }} />}\n o.visible)} itemClicked={() => setHeaderMenu(null)} />\n \n {(isLoading) && }\n
    \n {itemsToRender?.map((f) => {\n if (unreadOnly && f.Is_Read)\n return <>\n\n var itemClass = f.Is_Read || (f.Use_Temp_Read && f.Is_Temp_Read) ? 'fi' : 'fi unReadFeedItem'\n return (\n
  • feedItemClicked(f)} onContextMenu={(e) => handleContextMenu(e, f)}>\n \n \n {/* \n \n \n \n \n */}\n \n \n {/* {f.ShowProfileIMages && } */}\n {/* always show profile image */}\n \n \n\n \n \n \n \n \n
    {f.Header}\n
    \n profile\n {f.Activity_Image_Url && activity type}\n \n \n \n \n \n \n \n \n \n \n {f.From_String && f.To_String &&\n <>\n \n \n \n \n \n \n \n }\n\n\n
    {f.Action_Contact_Name}\n {/* timeStyle={{ labels: 'short', steps: null, round: 'round' }} */}\n
    \n \n {\n dispatch(RevelationSlice.updateIframeSrc(`/calls/callhistory.aspx?call_id=${f.Call_Id}`));\n props.itemSelected();\n }}>#{f.Call_Id}\n
    \n {/* lines: {f.Text.indexOf('feedDesc1lines') > -1 ? 3 : f.Text.indexOf('feedDesc2lines') > -1 ? 4 : f.Text.indexOf('feedDesc3lines') > -1 ? 5 : 5} */}\n -1 ? 3 : f.Text.indexOf('feedDesc2lines') > -1 ? 4 : f.Text.indexOf('feedDesc3lines') > -1 ? 5 : 5}\n ellipsis='...'\n basedOn=''\n />\n
    {f.Header}
    \n
    \n
    \n\n
  • \n )\n })}\n {!feedResult?.FeedItems?.length\n ?
  • {!feedResult?.FeedItems ? 'Loading...' : `No activity to display`}
  • \n : itemsToRender.length === 0 &&
  • You don't have any unread activity\n

    You can us this toggle (also in the menu options) to toggle between read and unread items.

    \n
    Unread only setUnreadonly(u => !u)} />
    \n
  • }\n
\n
\n {menuProps?.visible &&\n \n \n {menuProps?.isread\n ? \n : \n }\n \n \n }\n
\n
\n )\n}\n\nexport type ItemMenuProps = {\n id: number\n visible: boolean\n offset: Offset\n isread: boolean\n}\n\nexport type ToolProps = {\n feedResults?: IFeedResult\n fullScreen: boolean\n unlocked?: () => void\n locked?: () => void\n itemSelected?: (e?: any) => void\n onMouseLeave?: (e?: any) => void\n}","import { Loader } from '@progress/kendo-react-indicators'\nimport React, { useState } from 'react'\nimport { RevUserContext } from '../../context/UserContext'\nimport { FavoriteApi } from '../../redux/api/FavoriteApi'\nimport { IFavorite } from '../../types/Favorites/IFavorite'\nimport { IUserProfile } from '../../types/User/IUserProfile'\n\nexport const Fav = (props: FavProps) => {\n const profile = React.useContext(RevUserContext)\n const [postFavorite, { isLoading: saving }] = FavoriteApi.useSaveFavoriteMutation()\n const [deleteFavorite,] = FavoriteApi.useDeleteFavoriteMutation()\n const [favId] = useState(props.favId)\n const icon = favId ? './images/Fav_Color.png' : './images/Fav_Grey.png'\n\n const saveFavorite = async (event: React.MouseEvent) => {\n event.stopPropagation();\n event.preventDefault();\n if (favId) {\n await deleteFavorite({ favId: favId, uid: profile.Uid });\n } else {\n let newFav = {} as IFavorite\n newFav.Name = props.name\n newFav.Category_Id = 7\n newFav.Key_Value_1 = props.contactId.toString()\n await postFavorite({ fav: newFav, uid: profile.Uid });\n }\n }\n if (saving)\n return \n if (!profile?.Features.Revelations)\n return <>\n\n\n return (\n \n )\n}\n\nexport type FavProps = {\n favId: number,\n name: string,\n contactId: number,\n toggleFavorite?: () => void\n}","import React from 'react'\nimport { Offset, Popup } from '@progress/kendo-react-popup';\nimport { Menu, MenuItem, MenuSelectEvent } from '@progress/kendo-react-layout';\nimport { UserApi } from '../../../redux/api/UserApi';\nimport { ContactOptions } from './ContactOptions';\n\nexport const ContactsMenu = (props: MenuProps) => {\n const { data: contact } = UserApi.useGetUserByIdQuery(props?.contactId, { skip: !props?.contactId });\n const menuItemSelected = (e: MenuSelectEvent) => {\n //console.log('menuItemSelected', e)\n\n //Fire the click event for this option\n props.options.find(o => o.id === e.item.data)?.onclick(contact)\n\n props.itemClicked();\n }\n\n return (\n \n \n {props.options.map(o => (\n {\n return
{o.title}
\n }} icon={o.icon?.replace('k-i-', '')} text={o.title} data={o.id} />\n ))}\n
\n
\n\n )\n}\n\nexport type MenuProps = {\n itemClicked: () => void\n contactId: number\n visible: boolean\n offset: Offset,\n options: T[]\n}\n","import { Avatar, Card, CardBody, CardFooter, CardHeader, CardSubtitle, CardTitle } from '@progress/kendo-react-layout'\nimport React from 'react'\nimport { RevUserContext } from '../../../context/UserContext'\nimport { UserApi } from '../../../redux/api/UserApi'\nimport { useReduxDispatch, useReduxSelector } from '../../../redux/hooks'\nimport { IUserProfile } from '../../../types/User/IUserProfile'\nimport { PartialSpinny } from '../../Nav/Spinny'\nimport { ContactOptions } from './ContactOptions'\n\n\nexport const ContactCard: React.FC = (props) => {\n const dispatch = useReduxDispatch();\n const { currentIframeSrc } = useReduxSelector(state => state.revI)\n const profile = React.useContext(RevUserContext)\n const { data: contact, isFetching } = UserApi.useGetUserByIdQuery(props.id)\n const buttonClass = 'k-button k-button-md k-rounded-md k-button-flat k-button-flat-base contacts-tool-button';\n\n if (!contact || isFetching)\n return \n\n const fieldsToRender = props.fieldsCSV.split(\",\").map(f => {\n const l = props.fieldLabels.find(fl => fl.split(',')[0].toLocaleLowerCase() === f.toLocaleLowerCase())?.split(',')\n let icon = l && l[0] === 'PrimaryEmail' &&
\n icon = icon || (l && l[0] === 'Full_Address' &&
)\n\n let text = contact[f]?.replaceAll('
', '\\n').toString()\n let display = l[0] === 'PrimaryEmail'\n ? {text}\n : text\n display = l[0] === 'Mobile' || l[0] === 'Bus_Phone'\n ? {text}\n : display\n\n return contact && contact[f] && (\n
{icon}{display}
\n )\n\n })\n\n return (\n
\n \n {profile?.Features.Profile_Images &&\n \n {`Profile\n }\n\n
\n \n {contact.FullName}\n \n \n

{contact.Company_Name}
{contact.Address_Name}

\n
\n
\n \n \n {fieldsToRender}\n \n \n {props.options.map(a => {\n const iconOrImage = a.icon\n ? \n : {a.title}\n\n return ()\n })}\n \n
\n )\n}\n\nexport type ContactCardProps = {\n id: number,\n fieldsCSV: string,\n fieldLabels: string[],\n options: ContactOptions[]\n}","import React, { useContext, useEffect, useState } from 'react'\nimport { Dialog, DialogActionsBar } from '@progress/kendo-react-dialogs';\nimport { PartialSpinny } from '../../Nav/Spinny';\nimport { FieldRenderProps } from '@progress/kendo-react-form';\nimport ClientTypeList from '../../ClientType/ClientTypeList';\nimport { RevUserContext } from '../../../context/UserContext';\nimport { FavoriteApi } from '../../../redux/api/FavoriteApi';\nimport { IFavoriteConfig } from '../../../types/Favorites/IFavoriteConfig';\n\nexport const SettingsDialog = (props: FeedDialogProps) => {\n const profile = useContext(RevUserContext)\n const { data: apiConfig, isFetching } = FavoriteApi.useGetFavoriteConfigQuery(profile.Uid, { skip: !profile?.Features?.Revelations });\n const [settings, setSettings] = useState({} as IFavoriteConfig)\n const [saveFavSettings, { isLoading: savingConfig }] = FavoriteApi.useSaveFavoriteConfigMutation();\n\n const saveClicked = async () => {\n //Save the feed config\n await saveFavSettings({ config: settings, uid: profile.Uid });\n\n props.onSaved();\n }\n\n //put the API data in state\n useEffect(() => {\n console.log('put the API data in state', apiConfig)\n if (apiConfig)\n setSettings(apiConfig);\n }, [apiConfig]);\n\n\n const clientTypeChanged = (e) => {\n console.log('client Type changed', e)\n setSettings((oldval) => {\n return { ...oldval, Client_Type_Ids: e.value.map(ct => ct.ID)?.join(',') }\n });\n }\n\n const emptyProps = {} as FieldRenderProps\n\n return (\n \n {(!apiConfig || isFetching || !settings || savingConfig) &&\n \n }\n
\n
\n
\n \n
\n
\n\n parseInt(t))} onChange={clientTypeChanged} />\n
\n
\n
\n \n \n Save\n \n \n Cancel\n \n \n\n
\n )\n}\n\nexport type FeedDialogProps = {\n onClose: () => void\n onSaved: () => void\n}","import React from 'react'\nimport { SettingsDialog } from './SettingsDialog';\n\nexport const Settings: React.FC = (props) => {\n\n return (\n <>\n {\n props.showPopup && { props.popupToggled(false) }} onClose={() => { props.popupToggled(false) }} />\n }\n\n )\n}\n\nexport type SettingProps = {\n popupToggled: (visible) => void\n showPopup: boolean\n badgeCount: number\n}","import { PanelBar, PanelBarItem, PanelBarSelectEventArguments } from '@progress/kendo-react-layout'\nimport React, { useContext, useEffect, useMemo, useRef, useState } from 'react'\nimport { UserApi } from '../../../redux/api/UserApi'\nimport { Scrollbars } from 'react-custom-scrollbars-2';\nimport './Contacts.scss'\nimport { InputClearValue, InputPrefix, TextBox } from '@progress/kendo-react-inputs';\nimport { Icon } from \"@progress/kendo-react-common\";\nimport { IContact, IContactSearchProps } from '../../../types/User/IContact';\nimport { Badge, BadgeContainer, Loader } from '@progress/kendo-react-indicators';\nimport { Fav } from '../../User/Fav';\nimport { ContactsMenu, MenuProps } from './ContactsMenu';\nimport { RevUserContext } from '../../../context/UserContext';\nimport { FavoriteApi } from '../../../redux/api/FavoriteApi';\nimport { ContactCard } from './ContactCard';\nimport { IUser } from '../../../types/User/IUser';\nimport { useReduxDispatch, useReduxSelector } from '../../../redux/hooks';\nimport * as RevelationSlice from '../../../slices/RevelationSlice';\nimport { useNavigate } from 'react-router-dom';\nimport { IUserProfile } from '../../../types/User/IUserProfile';\nimport { ToolProps } from '../ActivityFeed/ActivityFeed';\nimport { useDebounce } from 'use-debounce';\nimport { Setting } from '../../../types/Setting/Setting';\nimport { Settings } from './Settings';\nimport { ContactOptions } from './ContactOptions';\nimport { HeaderOptions } from '../HeaderOptions';\nimport { HeaderMenu } from './HeaderMenu';\n\nexport type ContactsProps = ToolProps & {\n selectedContact?: IContact\n}\n\nexport const Contacts = (props: ContactsProps) => {\n const navigate = useNavigate()\n const profile = useContext(RevUserContext)\n const dispatch = useReduxDispatch()\n const { currentIframeSrc } = useReduxSelector(state => state.revI)\n const [filter, setFilter] = useState('')\n const [filterText, setFilterText] = useState('')\n const debouncedSearchTerm = useDebounce(filterText, 500);\n const [page, gotoPage] = useState('')\n const [menu, setMenu] = useState>()\n const [popupSettingsVisible, setPopupSettingsVisible] = useState(false);\n const [headerMenu, setHeaderMenu] = useState>()\n const { data: config } = FavoriteApi.useGetFavoriteConfigQuery(profile.Uid, { skip: !profile?.Features?.Revelations });\n const [favOnly, setFavOnly] = useState(profile?.Features.Revelations && config?.Contacts_Search_Favs_Only)\n const [saveFavConfig] = FavoriteApi.useSaveFavoriteConfigMutation();\n const { data: contacts, isFetching } = UserApi.useGetContactsQuery({ uid: profile.Uid, filter: filter, favsOnly: favOnly, pageLetter: page, groupByOffice: !config?.Contacts_Search_By_Name } as IContactSearchProps)\n const [expanded, setExpanded] = useState() //all groups expanded by default\n const [contactSelected, setContactSelected] = useState() //all groups expanded by default\n const { data: mimicSetting } = UserApi.useGetSettingQuery(Setting.Mimic);\n\n useEffect(() => {\n console.log('props.selectedContact', props.selectedContact)\n setFavOnly(false)\n setContactSelected(props.selectedContact)\n setFilterText(props.selectedContact?.FullName)\n setFilter(props.selectedContact?.FullName) //Will cause fetch\n }, [props.selectedContact])\n\n //Change favorites when mimicing an account\n useEffect(() => {\n setFavOnly(profile?.Features.Revelations && config?.Contacts_Search_Favs_Only)\n }, [profile, config])\n\n\n useEffect(() => {\n //console.log('debouncedSearchTerm', debouncedSearchTerm[0])\n setFilter(debouncedSearchTerm[0])\n }, [debouncedSearchTerm])\n\n const handleSelect = async (event: PanelBarSelectEventArguments) => {\n setExpanded(event.expandedItems);\n //event.target.props.id && setExpandedContactId(event.target.props.id)\n setMenu(null);\n }\n\n const toggleFavorites = () => {\n //let newFavs = !favOnly;\n setFavOnly(f => !f)\n saveFavConfig({ uid: profile.Uid, config: { ...config, Contacts_Search_Favs_Only: !config?.Contacts_Search_Favs_Only } });\n }\n\n const toggleByOffice = () => {\n saveFavConfig({ uid: profile.Uid, config: { ...config, Contacts_Search_By_Name: !config?.Contacts_Search_By_Name } });\n }\n\n const itemsToRender = useMemo(() => {\n //console.log('itemsToRender')\n const groups = [...new Set(contacts?.ReturnValue.map(g => g.Group_Value))]\n\n //console.log('setExpanded', groups, expanded, contacts?.ReturnValue.length)\n if (contactSelected) {\n let newExpanded = [...groups, contactSelected.ID.toString()];\n //console.log('setExpanded', newExpanded)\n setExpanded(newExpanded)\n setContactSelected(null)\n }\n else {\n setExpanded(groups)\n }\n\n return groups.map(g => {\n let _children = contacts?.ReturnValue.filter(c => c.Group_Value === g).map(c => {\n return {\n id: c.ID.toString(),\n title: c.FullName,\n favId: c.Fav_Id,\n contactId: c.ID,\n imageUrl: c.Profile_Image_Path,\n url: `/deeplink?url=/contacts/contactinfo.aspx?contact_id=${c.ID}`,\n }\n })\n return {\n id: g.toString(),\n title: `${g}`,\n //title: `${cid.toString()} ${favorites.find(f => f.Category_Id === cid).Category_Name} (${_children.length}) ${expanded.indexOf(cid.toString()) > -1}`,\n //imageUrl: favorites.find(f => f.Category_Id === cid).Category_Image_Url,\n children: _children\n }\n });\n }, [contacts]);\n\n const addNewContact = () => {\n dispatch(RevelationSlice.updateIframeSrc(`/contacts/contactinfo.aspx`))\n }\n\n const HeaderOptions = [\n {\n id: \"filter\",\n title: `Filter`,\n image: './images/Dock/Edit.png',\n onclick: () => {\n setPopupSettingsVisible(true);\n },\n element:\n \n {config?.Client_Type_Ids?.split(',').length &&\n \n {config?.Client_Type_Ids?.split(',').length}\n \n }\n \n ,\n visible: true\n },\n {\n id: \"new\",\n title: `Add New ${profile?.Phrases.Contact}`,\n //image: './images/Add-Contact.png',\n element: ,\n onclick: addNewContact,\n visible: profile?.Features.Add_Edit_EndUSer_From_LogACall\n },\n {\n id: \"toggle\",\n title: `Group by Name or Address`,\n //image: config?.Contacts_Search_By_Name ? './images/contacts-by-person-icon-dark.png' : './images/contacts-by-company-icon.png',\n element: config?.Contacts_Search_By_Name\n ? \n : ,\n onclick: toggleByOffice,\n visible: true\n },\n {\n id: \"fav\",\n title: `Toggle favorites`,\n image: favOnly ? './images/Fav_Color.png' : './images/Fav_Grey.png',\n onclick: toggleFavorites,\n visible: profile?.Features.Revelations\n },\n {\n id: \"win\",\n title: `Open in New Window`,\n //image: 'images/ibutton_revelations_popout_black.png',\n element: ,\n link: '/Contacts',\n visible: !props.fullScreen\n }\n ] as HeaderOptions[]\n\n const ContactOptions = [\n {\n id: \"edit\",\n title: `Edit ${profile.Phrases.Contact}`,\n image: './images/Dock/Edit.png',\n onclick: (user: IUser) => {\n dispatch(RevelationSlice.updateIframeSrc(`/contacts/contactinfo.aspx?contact_Id=${user.ID}`))\n props.itemSelected();\n },\n visible: true\n },\n {\n id: \"log\",\n title: `New ${profile?.Phrases.CallPhrase}`,\n //icon: 'k-i-plus-outline',\n image: './images/Dock/New-Ticket.png',\n //link: `/ticket/details?endUserId=${contact?.UId}`,\n onclick: (user: IUser) => {\n navigate(`/ticket/details?endUserId=${user?.UId}`)\n props.itemSelected();\n },\n visible: true\n },\n {\n id: \"find\",\n title: `Find open ${profile?.Phrases.CallPhrase}s`,\n //icon: 'k-i-search',\n image: './images/Dock/Find-Open-Ticket.png',\n onclick: (user: IUser) => {\n dispatch(RevelationSlice.updateIframeSrc(`/Search/Default.aspx?RunSearch=True&SearchTypes=1&Filters=End_User=${user.ID}~!~Ticket_Status_Type=1;2;4`))\n props.itemSelected();\n },\n visible: true\n },\n {\n id: \"add_asset\",\n title: `Add ${profile?.Phrases.Asset}s`,\n //icon: 'k-i-plus',\n image: './images/Dock/Add-Assets.png',\n onclick: (user: IUser) => {\n navigate('/asset');\n props.itemSelected();\n },\n visible: profile.Features.Add_Asset\n },\n {\n id: \"find_asset\",\n title: `Find ${profile?.Phrases.Asset}s`,\n //icon: 'k-i-search',\n image: './images/Dock/Find-Assets.png',\n onclick: (user: IUser) => {\n dispatch(RevelationSlice.updateIframeSrc(`/Search/Default.aspx?RunSearch=True&SearchTypes=7&Filters=End_User=${user.ID}`))\n props.itemSelected();\n },\n visible: profile.Features.View_Assets\n },\n {\n id: \"mimic\",\n title: `Mimic user account`,\n //icon: 'k-i-eye',\n image: './images/Dock/Mimic-User-Account.png',\n onclick: (user: IUser) => {\n dispatch(RevelationSlice.mimicUser(user?.UId))\n\n navigate('/')\n\n props.itemSelected();\n },\n visible: profile.Features.Super_Admin && mimicSetting?.Bool_Value\n }\n ] as ContactOptions[]\n\n\n const headerRef = useRef();\n return (\n
\n
\n contactsContacts\n {/* {profile?.Features.Add_Edit_EndUSer_From_LogACall && }\n \n {profile?.Features.Revelations && }\n {!props.fullScreen && pop out contacts bar} */}\n }\n {!props.fullScreen && }\n
\n setPopupSettingsVisible(v)} showPopup={popupSettingsVisible} badgeCount={config?.Client_Type_Ids?.split(',').length} />\n o.visible)} itemClicked={() => setHeaderMenu(null)} />\n o.visible)} itemClicked={() => setMenu(null)} />\n
\n {\n console.log('onChange')\n //setSomething(true);\n setFilterText(e.value.toString())\n gotoPage(null);\n }}\n placeholder=\"Search...\"\n prefix={() => (\n \n \n )\n }\n suffix={() => (\n <>\n {filterText && (\n {\n setFilterText('')\n setFilter('')\n }}>\n \n \n )}\n {isFetching && }\n \n )}\n />\n
\n

\n {\n contacts?.Pages?.map(p => {\n return \n })}\n

\n {contacts && itemsToRender.length === 0 &&
No contacts found
}\n \n \n {itemsToRender.map(c => {\n // Header\n return \n {c.children.map(i => {\n // Contacts\n return \n \n \n \n } id={i.id.toString()} key={`c-${i.id.toString()}-${i.favId}`} >\n o.visible)} id={parseInt(i.id)} fieldsCSV={contacts.ContactsDockFields} fieldLabels={contacts.FieldLabels} />\n \n })}\n \n })}\n \n \n
\n )\n}\n\n\n\n","import { Badge, BadgeContainer } from '@progress/kendo-react-indicators'\nimport { nanoid } from 'nanoid'\nimport React from 'react'\nexport const ToolButton = (props: ToolButtonProps) => {\n return (\n
\n {props.badge\n ?\n
\n \n \n\n {props.badge}\n \n
\n :\n \n\n }\n\n\n
\n )\n}\n\nexport type ToolButtonProps = {\n id: string\n imageUrl: string\n onClick: (id) => void\n class?: string\n title: string\n selected: boolean\n badge?: string | JSX.Element\n} ","import React, { Suspense, useRef, } from 'react'\nimport { Scrollbars } from 'react-custom-scrollbars-2';\nimport './Chat.scss'\nimport { ErrorBoundary } from '../../Common/ErrorBoundry';\nimport { MenuProps } from '../Contacts/ContactsMenu';\nimport { HeaderOptions } from '../HeaderOptions';\n\n//@ts-expect-error\nconst ChatList = React.lazy(() => import(\"chat/ChatList\"));\n\n//const ChatCount = React.lazy(() => import(\"chat/ChatCount\"));\n\n//const PinnedChatModule = React.lazy(() => import(\"chat/PinnedChats\"));\n//@ts-expect-error\nconst ChatMenuModule = React.lazy(() => import(\"chat/ChatVisibilityMenu\"));\n\n\nexport const ChatBar = (props) => {\n const ChatHeaderOptions = [\n {\n id: \"settings\",\n title: `Settings`,\n element: ,\n onclick: () => { },\n visible: true\n },\n {\n id: \"win\",\n title: `Fullscreen`,\n element: ,\n link: '/Chat',\n visible: true\n }] as HeaderOptions[]\n\n return (\n
\n Error: Failed to connect to chat service.
}>\n \n \n
\n chat\n Chat\n {/* }\n {!props.fullScreen && }\n
\n {/* o.visible)} itemClicked={() => setHeaderMenu(null)} /> */}\n\n\n \n
\n
\n \n \n )\n}\n","import React, { useContext } from \"react\";\nimport { Suspense } from \"react\";\nimport { store } from \"../../redux/store\";\nimport { useParams } from \"react-router-dom\";\nimport './Chat.scss'\nimport { ErrorBoundary } from \"../Common/ErrorBoundry\";\nimport { IUserProfile } from \"../../types/User/IUserProfile\";\nimport { RevUserContext } from \"../../context/UserContext\";\n\n//@ts-expect-error\nconst ChatRequestModule = React.lazy(() => import(\"chat/ChatRequest\"));\n\nexport default function ChatRequest() {\n const profile = useContext(RevUserContext)\n //Chat request is for external people only\n if (!profile?.Features?.SSIChat)\n return <>\n\n return (\n \n
\n \n \n \n
\n
\n )\n}\n","import { nanoid } from \"nanoid\";\nimport React, { ReactNode, Suspense, useContext, useEffect, useMemo } from \"react\";\nimport { RevUserContext } from \"../../context/UserContext\";\nimport { FavoriteApi } from \"../../redux/api/FavoriteApi\";\nimport { FeedApi } from \"../../redux/api/FeedApi\";\nimport { useReduxDispatch, useReduxSelector } from \"../../redux/hooks\";\nimport { IUserProfile } from \"../../types/User/IUserProfile\";\nimport { ActivityFeed, ToolProps } from \"./ActivityFeed/ActivityFeed\";\nimport { Contacts } from \"./Contacts/Contacts\";\nimport { Revelations } from \"./Revelations/Revelations\";\nimport \"./RightBar.scss\";\nimport { ToolButton } from \"./ToolButton\";\nimport XMLParser from \"react-xml-parser\";\nimport { IContact } from \"../../types/User/IContact\";\nimport { updateToggleState } from \"../../slices/RightBarSlice\";\nimport { ChatBar } from \"./Chat/ChatBar\";\nimport ChatRequest from \"../Chat/ChatRequest\";\nimport { ErrorBoundary } from \"../Common/ErrorBoundry\";\n\n//@ts-expect-error\nconst ChatCount = React.lazy(() => import(\"chat/ChatCount\"));\n//@ts-expect-error\nconst PinnedChatModule = React.lazy(() => import(\"chat/PinnedChats\"));\n//@ts-expect-error\nconst ChatNotificationModule = React.lazy(() => import(\"chat/ChatNotification\"));\n\nexport enum ToggleState {\n Uninitialized = 0,\n Collapsed = 1,\n Expanded = 2,\n Free = 3,\n}\n\nexport const RightBar = ({ children }: { children: ReactNode }) => {\n const profile = useContext(RevUserContext);\n const locked = useReduxSelector((state) => state.rightBar.toggleState);\n //const { FeedItems, LastId } = useReduxSelector(rev => rev.feed.feedItems)\n const [lastId, setLastId] = React.useState();\n //const [isLocked, setIsLocked] = React.useState(locked);\n const dispatch = useReduxDispatch();\n const [selectedId, setSelectedId] = React.useState();\n const [dockOrder, setDockOrder] = React.useState();\n const { data: feedResult } = FeedApi.useGetUserFeedQuery({ uid: profile.Uid, lastId: lastId ? lastId.toString() : '' }, {\n pollingInterval: 20000,\n skip: !profile?.Features.Activity_Feed,\n });\n const { data: config } = FavoriteApi.useGetFavoriteConfigQuery(profile.Uid, { skip: profile?.Features.External_Interface });\n const [saveFavConfig] = FavoriteApi.useSaveFavoriteConfigMutation();\n const [selectedContact, setSelectedContact] = React.useState();\n\n //const halfNavcolor = pSBC(0.5, profile?.Nav_Hex_Color) || '#dddddd';\n\n //Update the feed items in reduc state\n useEffect(() => {\n //console.log('RightBar.tsx', feedResult)\n //if (feedResult tId)\n //dispatch(FeedSlice.SetFeedItems(feedResult));\n if (feedResult && feedResult.LastId > 0 && feedResult.LastId !== lastId)\n setLastId(feedResult?.LastId)\n }, [feedResult, dispatch]);\n\n useEffect(() => {\n if (\n config &&\n (locked === ToggleState.Uninitialized ||\n config?.Contact_Id !== profile.Id)\n ) {\n let foundINdex = config.Page_State_Xml.indexOf(\n ''\n );\n //console.log('foundINdex', foundINdex, config)\n dispatch(\n updateToggleState(\n foundINdex > -1 ? ToggleState.Expanded : ToggleState.Collapsed\n )\n );\n var dockOrder = new XMLParser().parseFromString(config.Dock_Order);\n var dockArr = dockOrder?.children?.map((c) => c?.attributes[\"value\"])\n setDockOrder(dockArr);\n console.log('setDockOrder', dockArr)\n }\n }, [config, locked, profile.Uid, dispatch]);\n\n ///Listen for contact name click from CallHistory.aspx page in the IFrame\n useEffect(() => {\n //Add event listener for Events that get posted as messages in the IFrame so we can trigger things like updating the banner\n const messageListener = (e) => {\n try {\n if (e.data?.indexOf && e.data?.indexOf(\"{\") === 0) {\n var messageObj = JSON.parse(e.data);\n //console.log('messageObj', messageObj)\n if (\"message\" in messageObj && messageObj.message === \"ShowContact\") {\n if (\n \"contactId\" in messageObj &&\n messageObj.contactId &&\n !isNaN(messageObj.contactId)\n ) {\n console.log(\"setting expanded\", locked);\n //Expand contacts\n setSelectedId(\"contacts\");\n\n setSelectedContact({\n ID: messageObj.contactId,\n FullName: messageObj.contactName,\n } as IContact);\n if (locked === ToggleState.Collapsed) {\n dispatch(updateToggleState(ToggleState.Free));\n }\n //setFavOnly(false);\n //setContactIdSelected(messageObj.contactId)\n //setFilter(messageObj.contactName)\n }\n }\n }\n } finally {\n }\n };\n\n var ev = window.addEventListener(\"message\", messageListener, false);\n return () => {\n window.removeEventListener(\"message\", messageListener);\n };\n }, [locked, dispatch]);\n\n const buttonClicked = async (id) => {\n if (locked === ToggleState.Collapsed) {\n // let newConfig = { ...config, Page_State_Xml: '' }\n // await saveFavConfig(newConfig);\n\n dispatch(updateToggleState(ToggleState.Free));\n } else if (locked === ToggleState.Free && selectedId === id)\n dispatch(updateToggleState(ToggleState.Collapsed));\n\n if (selectedId !== id) {\n //let newOrder = tools.map(t => t.id);\n //console.log('dockOrder', dockOrder)\n let newOrder = tools.map(t => t.id)\n newOrder.splice(newOrder.indexOf(id), 1);\n newOrder.unshift(id);\n console.log('newOrder', newOrder)\n //Update the order via the API\n let newOrderXML = ``;\n\n setSelectedId(id);\n let newConfig = { ...config, Dock_Order: newOrderXML };\n await saveFavConfig({ config: newConfig, uid: profile.Uid });\n }\n };\n\n const unlockTools = async () => {\n console.log(\"unlockTools\", config);\n\n dispatch(updateToggleState(ToggleState.Collapsed));\n //setIsLocked(ToggleState.Collapsed);\n\n let newConfig = {\n ...config,\n Page_State_Xml:\n '',\n };\n await saveFavConfig({ config: newConfig, uid: profile.Uid });\n };\n let lockingTools = false;\n const lockTools = async () => {\n lockingTools = true;\n console.log(\"lockTools\", config);\n dispatch(updateToggleState(ToggleState.Expanded));\n //setIsLocked(ToggleState.Expanded);\n\n let newConfig = {\n ...config,\n Page_State_Xml:\n '',\n };\n await saveFavConfig({ config: newConfig, uid: profile.Uid });\n };\n\n useEffect(() => {\n console.log('useEffect locked', locked)\n //setIsLocked(locked)\n }, [locked])\n\n const handleMouseLeave = (e) => {\n //e.stopPropagation();\n //e.preventDefault();\n console.log('handleMouseLeave locked=', locked, lockingTools)\n if (locked === ToggleState.Free && !lockingTools) {\n dispatch(updateToggleState(ToggleState.Collapsed));\n //setIsLocked(ToggleState.Collapsed)\n }\n };\n\n const handleClick = (e) => {\n e && e.stopPropagation();\n e && e.preventDefault();\n console.log('handleClick locked=', locked)\n if (locked === ToggleState.Free) {\n dispatch(updateToggleState(ToggleState.Collapsed));\n //setIsLocked(ToggleState.Collapsed)\n }\n };\n\n const toolProps: ToolProps = {\n fullScreen: false,\n unlocked: unlockTools,\n locked: lockTools,\n itemSelected: handleClick,\n onMouseLeave: handleMouseLeave\n };\n const tools = useMemo(\n () =>\n [\n {\n id: \"chat\",\n imageUrl: \"./images/Chat.png\",\n class: \"chat-button\",\n element: ,\n title: \"Chat\",\n badge:\n \n \n ,\n visible: profile?.Features.Chat,\n order: dockOrder?.indexOf(\"chat\"),\n },\n {\n id: \"activity\",\n imageUrl: \"./images/Activity-Feed-Dark.png\",\n class: \"feed-button\",\n element: ,\n title: \"Activity feed\",\n badge:\n feedResult?.UnReadCount > 0\n ? feedResult?.UnReadCount.toString()\n : null,\n visible: profile?.Features.Activity_Feed,\n order: dockOrder?.indexOf(\"activity\"),\n },\n {\n id: \"contacts\",\n imageUrl: \"./images/Contacts-Dark.png\",\n class: \"contacts-button\",\n element: (\n \n ),\n title: \"Contacts\",\n badge: null,\n visible: profile?.Features.Contacts_Dock,\n order: dockOrder?.indexOf(\"contacts\"),\n },\n {\n id: \"favorites\",\n imageUrl: \"./images/Revelations-Dark.png\",\n class: \"revelations-button\",\n element: ,\n title: \"Revelations\",\n badge: null,\n visible: profile?.Features.Revelations,\n order: dockOrder?.indexOf(\"favorites\"),\n },\n ].sort((x, y) => x.order - y.order),\n [feedResult, profile, dockOrder, config, selectedContact, dispatch]\n );\n\n //console.log('tools', tools);\n\n const toolsClass = `right-bar ${tools.filter((t) => t.visible).length === 1 ? \"one-tool\" : \"\"\n }`;\n\n //SSI\n if (profile?.Features.External_Interface)\n return (\n \n
{children}
\n }>\n \n \n )\n\n //Support staff\n return (\n \n {tools.find((t) => t.visible) && (\n \n \n {tools\n .filter((t) => t.visible)\n .map((t, i) => {\n return (\n \n );\n })}\n
\n \n \n \n \n \n \n {locked !== ToggleState.Collapsed &&\n tools.find((t) => t.visible && (!selectedId || selectedId === t.id))\n .element}\n \n )}\n
{children}
\n \n );\n};\n\n","import React, { useContext, useEffect } from 'react'\nimport { IUserProfile } from '../../types/User/IUserProfile';\nimport { RevUserContext } from '../../context/UserContext';\nimport { trimChar } from '../../utils/utils';\nimport { nanoid } from 'nanoid';\nimport { useGetTenantQuery } from '../../redux/api/BaseApi';\n\nconst SessionKeepAlive = () => {\n const [random, setRandom] = React.useState()\n const profile = useContext(RevUserContext);\n const { data: tenant } = useGetTenantQuery();\n const pingUrl = trimChar(tenant?.Tenant_Url, '/') + \"/account/sessionkeepalive?r=\" + random;\n\n useEffect(() => {\n //console.log('SessionKeepAlive setup ping', pingUrl)\n var ping = window.setInterval(() => {\n //console.log('ping', pingUrl)\n setRandom(nanoid())\n }, 60000)\n\n return () => {\n ping && window.clearInterval(ping);\n }\n }, [])\n\n return !profile || !random || !tenant\n ? <>\n : (\n \n )\n}\n\nexport default SessionKeepAlive","import React, { useEffect, useMemo, useState } from \"react\";\nimport { Outlet, useNavigate } from \"react-router-dom\";\nimport { useGetTenantQuery, useGetUserProfileQuery } from \"../../redux/api/BaseApi\";\nimport { useReduxDispatch, useReduxSelector } from \"../../redux/hooks\";\nimport { REVELATION_IFRAME } from \"../../Variables/StaticVariables\";\nimport { updateIframeSrc, setIframeLoaded, mimicUser, setFirstIframeRequest } from \"../../slices/RevelationSlice\";\nimport { RightBar } from \"../RightBar/RightBar\";\nimport { FavoriteApi } from \"../../redux/api/FavoriteApi\";\nimport { PartialSpinny, Spinny } from \"../Nav/Spinny\";\nimport { UserApi } from \"../../redux/api/UserApi\";\nimport { trimChar } from \"../../utils/utils\";\nimport { createUserManager } from \"redux-oidc\";\nimport { oAuthSettings } from \"../Auth/AuthSettings\";\nimport SessionKeepAlive from \"./SessionKeepAlive\";\n\n//const ChatRequestModule = React.lazy(() => import(\"chat/ChatRequest\"));\n\nconst RevelationIframe = () => {\n\n const navigate = useNavigate();\n const dispatch = useReduxDispatch()\n const mimicUid = useReduxSelector((state) => state.revI.mimicUid)\n const { data, error } = useGetUserProfileQuery(mimicUid)\n const { data: tenant } = useGetTenantQuery()\n const [invalidateProfile] = UserApi.useInvalidateProfileMutation()\n //const [iframeLoaded, setIFrameLoaded] = useState(false)\n\n // Redux Selectors\n const revI = useReduxSelector((state) => state.revI);\n const user = useReduxSelector((state) => state.auth.user);\n const iframeRef = React.useRef()\n //Only update the IFrame landing page if the mimic user id changes, NOT when the access token is updated by a silent renew.\n const hasAccessToken = !user?.access_token;\n const homeLandingPage = useMemo(() => {\n //console.log('hasAccessToken', hasAccessToken)\n return `/OAuth/SignInWithJwt?redirectToHomepage=true&jwt=${user?.access_token}&n=${revI.uniqueId}&mimicUid=${mimicUid}${revI.currentIframeSrc ? `&redirectUrl=${encodeURIComponent(revI.currentIframeSrc)}` : ''}`\n }, [revI.uniqueId, mimicUid, hasAccessToken, revI.currentIframeSrc]);\n\n const isFirstIframeRequest = useMemo(() => revI.isFirstIframeRequest, [revI.currentIframeSrc]);\n\n // Constants\n const iframeClass = \"grow\";\n useEffect(() => {\n\n //Add event listener for Events that get posted as messages in the IFrame so we can trigger things like updating the banner\n\n const messageListener = (e) => {\n //console.log('Message Recieved', e.data);\n try {\n if (e.data?.indexOf && e.data?.indexOf('{') === 0) {\n console.log('JSON Message Recieved', e.data);\n var messageObj = JSON.parse(e.data);\n if ('message' in messageObj && messageObj.message === 'mimic') {\n dispatch(mimicUser(messageObj.uid))\n //Go to homepage\n dispatch(updateIframeSrc(null));\n } else if ('message' in messageObj && messageObj.message === 'log_a_ticket') {\n navigate(`/ticket/details?parentCallId=${messageObj?.parentCallId || \"\"}&splitActionIds=${messageObj?.splitActionIds || \"\"}&splitTicketId=${messageObj?.splitTicketId || \"\"}`)\n }\n }\n } catch (err) {\n console.error('ouch in window.addEventListener', err);\n }\n\n if (e.data === \"RefreshNav\") {\n //Re-freth the user's profile \n console.log('RefreshNa - v Re-freth the users profile');\n invalidateProfile();\n };\n\n //The webforms app will post this message when the user's session has expired\n if (e.data === 'SessionExpired') {\n console.log('SessionExpired')\n let userManager = createUserManager(oAuthSettings)\n userManager.signoutRedirect({\n extraQueryParams: { logoutMessage: 'Session has expired.' },\n });\n }\n\n if (e.data === 'RefreshFav') {\n //reload favorites (not cached)\n console.log('invalidateFavorites');\n dispatch(FavoriteApi.util.invalidateTags(['GetUserFavs']))\n }\n };\n\n var ev = window.addEventListener(\"message\", messageListener, false)\n return () => { window.removeEventListener(\"message\", messageListener) }\n }, []);\n if (!user?.access_token || !data || !tenant) return (<>);\n //console.log(encodeURIComponent(revI.currentIframeSrc));\n // Error Handling\n\n const iFrameLoaded = (e) => {\n //console.log('iFrameLoaded', e)\n dispatch(setIframeLoaded(true));\n dispatch(setFirstIframeRequest(false));\n //setIFrameLoaded(true);\n }\n\n\n if (error) {\n return
iframe failed to load because of a query error
;\n }\n\n\n if (isFirstIframeRequest || revI.currentIframeSrc === null || revI.currentIframeSrc?.length === 0) {\n return (\n <>\n \n {revI.iFrameLoading && }\n \n {/* Logout animation */}\n <>\n \n );\n};\n\nexport default SignoutPage;\n","import \"./App.scss\";\nimport \"./fonts/fonts.css\";\nimport { Route, Routes, useNavigate } from \"react-router-dom\";\nimport { store } from './redux/store';\nimport { createUserManager, OidcProvider, loadUser } from 'redux-oidc';\nimport { useGetTenantQuery } from \"./redux/api/BaseApi\";\nimport { useEffect, useState } from \"react\";\nimport { oAuthSettings } from \"./components/Auth/AuthSettings\";\nimport { Log } from \"oidc-client-ts\";\nimport { useReduxSelector } from \"./redux/hooks\";\nimport { RevelationContext } from \"./context/RevelationContext\";\nimport { NoAuthServer } from \"./components/ErrorPages/NoAuthServer\";\nimport 'react-toastify/dist/ReactToastify.css';\nimport { ToastContainer } from \"react-toastify\";\nimport { AppRoutes } from \"./components/Routes/AppRoutes\";\nimport { Spinny } from \"./components/Nav/Spinny\";\nimport React from \"react\";\nimport { TestPage } from \"./components/Test/TestPage\";\nimport SignoutPage from \"./components/Auth/SignoutPage\";\n\nconst App = () => {\n const stateUser = useReduxSelector((state) => state.auth);\n const { data: tenant, isFetching, error: tenantNotFound } = useGetTenantQuery();\n const navigate = useNavigate();\n const [userManager, setUserManager] = useState(null)\n const [isAuthenticating, setAuthenticating] = useState(false)\n\n\n const signIn = async () => {\n let settings = oAuthSettings;\n if (tenant?.Authority)\n settings.authority = tenant?.Authority\n\n Log.setLevel(Log.DEBUG)\n let newUserManager = createUserManager(settings)\n let newUser = await newUserManager.getUser();\n\n console.log('signIn', newUser);\n\n\n //console.log('newUserManager.getUser', newUser);\n if (newUser == null || newUser.expired) {\n var returnUrl = window.location.pathname + window.location.search;\n console.log('newUserManager.signinRedirect', returnUrl)\n\n //This can take some time the first login, so show a spinner.\n setAuthenticating(true);\n await newUserManager.signinRedirect({ state: returnUrl }).catch((err) => {\n console.log('oops', err)\n navigate(`/error/noauth?authority=${tenant?.Authority || oAuthSettings.authority}`)\n });\n setAuthenticating(false);\n\n return;\n }\n else {\n await loadUser(store, newUserManager); //Loads potentially existing user data into the redux store, thus eliminating a new authentication roundtrip to the authentication server when a tab is closed or a new tab is opened.\n //await newUserManager.storeUser(loadedUser);\n\n }\n setUserManager(newUserManager);\n\n }\n\n useEffect(() => {\n if (tenant || tenantNotFound) {\n\n signIn().catch((err) => {\n console.log('oops', err)\n\n navigate(`/error/noauth?authority=${tenant?.Authority || oAuthSettings.authority}`)\n\n });\n\n }\n }, [tenant, tenantNotFound])\n\n\n console.log('App.tsx Authenticating?', userManager, stateUser, isAuthenticating)\n if (isAuthenticating) return \n\n if (!userManager || !stateUser?.user)\n return <>\n\n return (\n <>\n \n {/* microfrontend test */}\n } />\n } />\n \n \n \n \n \n } />\n \n \n );\n};\n\nexport default App;\n","import { ReportHandler } from 'web-vitals';\n\nconst reportWebVitals = (onPerfEntry?: ReportHandler) => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import { User } from 'oidc-client';\nimport { CallbackComponent, createUserManager } from 'redux-oidc';\nimport { useGetTenantQuery } from '../../redux/api/BaseApi';\nimport { oAuthSettings } from './AuthSettings';\n\nconst CallbackPage = () => {\n console.log('CallbackPage');\n const { data: tenant, isFetching, error } = useGetTenantQuery();\n let settings = oAuthSettings;\n if (tenant?.Authority)\n settings.authority = tenant?.Authority\n\n const successCallback = (user: User) => {\n console.log('successCallback', user);\n window.location.href = user.state ? user.state : \"./\";\n //window.location.href = \"./\";\n };\n const authManager = createUserManager(settings);\n const errorCallback = (error) => {\n console.error('errorCallback', error);\n //try re-authenticate\n authManager.signinRedirect();\n };\n if (!error && (isFetching || tenant == null)) {\n //console.log('settings not ready yet', settings, error, tenant, isFetching);\n return <>\n } else {\n //console.log('settings ready')\n }\n\n console.log('CallbackPage authManager', authManager);\n return (\n \n <>\n \n )\n}\n\nexport default CallbackPage;","import { processSilentRenew } from 'redux-oidc';\n\nconst SilentRenewPage = () => {\n //testing\n processSilentRenew();\n\n return <>\n}\n\nexport default SilentRenewPage;","import { ApplicationInsights, ITelemetryItem } from '@microsoft/applicationinsights-web';\nimport { ReactPlugin } from '@microsoft/applicationinsights-react-js';\nimport { Constants } from '../Variables/StaticVariables';\n\nconst reactPlugin = new ReactPlugin();\nconst appInsights = new ApplicationInsights({\n config: {\n connectionString: Constants.appInsightsInstrumentationKey,\n extensions: [reactPlugin],\n enableAutoRouteTracking: true,\n disableAjaxTracking: false,\n autoTrackPageVisitTime: true,\n enableCorsCorrelation: true,\n enableRequestHeaderTracking: true,\n enableResponseHeaderTracking: true,\n }\n});\n\nif (Constants.appInsightsInstrumentationKey) {\n appInsights.loadAppInsights();\n\n console.log('App Insights loaded', appInsights.config);\n\n appInsights.addTelemetryInitializer((env: ITelemetryItem) => {\n env.tags = env.tags || [];\n env.tags[\"ai.cloud.role\"] = document.location.hostname;\n });\n}\nexport { reactPlugin, appInsights };","import React from 'react';\nimport { render } from \"react-dom\";\nimport './index.css';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\nimport { store } from './redux/store'\nimport { Provider } from 'react-redux'\nimport { BrowserRouter, Route, Routes } from 'react-router-dom';\nimport TimeAgo from 'javascript-time-ago'\nimport en from 'javascript-time-ago/locale/en.json'\nimport CallbackPage from './components/Auth/CallbackPage';\nimport SilentRenewPage from './components/Auth/SilentRenewPage';\nimport { NoAuthServer } from \"./components/ErrorPages/NoAuthServer\";\nimport { AppInsightsContext } from '@microsoft/applicationinsights-react-js';\nimport { reactPlugin } from './utils/ApplicationInsights';\n\nTimeAgo.addDefaultLocale(en)\n\nconst root = document.getElementById(\"root\");\nrender(\n \n \n \n \n \n {/* For OAuth */}\n } />\n } />\n } />\n } />\n \n \n \n \n ,\n root\n);\n\n//\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"names":["CountSlice","createSlice","name","initialState","value","reducers","IncreaseCount","state","action","payload","DecreaseCount","actions","quickSearchResults","quickSearchingFlag","quickSearchInput","contextMenuOpen","NavSlice","NavInitialState","updateQuickSearchResults","toggleQuickSearchingFlag","updateQuickSearchInput","setContextMenuOpen","Constants","stsAuthority","clientId","clientRoot","window","location","origin","process","clientScope","apiRoot","appInsightsInstrumentationKey","REACT_APP_APPLICATION_INSIGHTS_CONNECTION","REVELATION_IFRAME","Api","createApi","reducerPath","baseQuery","fetchBaseQuery","baseUrl","prepareHeaders","async","headers","_ref","_auth$user","getState","token","auth","user","access_token","set","concat","tagTypes","endpoints","build","getTenant","query","tenantUid","revTenantCookie","Cookies","document","host","providesTags","renewlicense","mutation","url","method","releaselicense","getAssContactConfig","clientTypeId","getSLAList","_ref2","projectId","priorityId","getPriorityList","prioritySetId","getProjectAssignment","getAssociatedContacts","ticketId","getUserProfile","uid","console","log","invalidateProfile","queryFn","data","invalidatesTags","updateFocusedViewToggle","info","body","Collapsed","onQueryStarted","_ref3","dispatch","queryFulfilled","postResult","util","updateQueryData","undefined","draft","Nav_Collapsed","undo","getTicketTimelineImage","Accept","responseHandler","reader","FileReader","Promise","resolve","reject","onload","base64data","result","onerror","err","response","blob","then","readAsDataURL","getTimelineImage","_ref4","slaId","getForm","formId","getFormConfig","getFormByProject","_ref5","companyId","locationId","getPriority","getSLA","getSearchType","getProject","Id","getUserFyndConfig","getUsers","_ref6","postUserFynd","SearchPhrase","postSearchQuick","updateSearchType","_ref7","selectOption","find","item","ID","checkAllBoolTrue","every","ele","Checked","length","forEach","useGetTicketTimelineImageQuery","useReleaselicenseMutation","useRenewlicenseMutation","useGetUserProfileQuery","useGetSearchTypeQuery","useUpdateSearchTypeMutation","usePostSearchQuickMutation","useGetTenantQuery","useUpdateFocusedViewToggleMutation","UserApi","injectEndpoints","getUsersByIds","Ids","getUserById","id","getStaff","teamId","includeQueues","includeStaffPlusForCompanyId","getMention","prefix","getMentionConfig","getContacts","props","favsOnly","filter","pageLetter","groupByOffice","getUser","debugTimezone","getTeams","getTeam","getLogOptions","getRoles","getSetting","settingId","saveSetting","setting","getClientTypeFilters","getUserClassification","postLogOptions","options","postClientTypeFilter","dismissIntro","featureId","overrideExisting","ProjectApi","getProjectList","getProjectTypeList","getWorkstreams","initialTicketState","Call_Desc","Company_Id","Project_Id","SLA_Id","Priority_Id","Company_Contact","Company_Address_Id","Assigned_Team_Id","CustomFormId","Contact_Name","Bulk_Contact_Ids","Start_Date","End_Date","MergeActionsFromCallId","MergeActionsIds","TicketSlice","ticket","features","selectedProject","selectedPriority","defaultTeamId","bulkLog","logOptions","formState","TaggedUsers","mentionFocused","splitFromTicketOptions","lastFlaggedNoteConfirmedId","SetLastFlaggedNoteConfirmedId","SetSplitOptions","_action$payload","_action$payload2","TicketId","SetBulkLog","SetTemplate","_action$payload3","Template_Id","SetTemplatePopulated","Template_Populated","SetFormState","SetTicket","SetWorkstreamAssignment","Workstream_Assignment","SetLogOptions","LogOptions","SetMyOptions","SetDueDate","Due_Dt","toISOString","SetForm","_action$payload4","_action$payload5","_action$payload6","_action$payload7","_state$ticket$CustomF","CustomFormName","Name","CustomFormFields","Fields","map","ff","VALUES","_ff$ConfigSettings$De","newValues","ConfigSettings","Default","split","_ff$ConfigSettings$De2","Field_Type_Id","DefaultValue","toString","_defVal","defVal","replace","isNaN","f","SetField","_state$ticket$CustomF2","foundField","UID","Last_Update_Dt","Date","SetClient","SetType","Type_Id","SetStatus","_action$payload8","_action$payload9","_action$payload10","Call_Status","Call_Status_Id","Open_Status","Open_status","SetAssigned","_action$payload11","Call_Assignment","m","F_Name","L_Name","Full_Name","Contact_Id","SetAutoCloseSetting","AutoCloseSettings","SetAutoOpenSetting","AutoOpenSettings","SetBulkContacts","_action$payload12","SetAssociatedContacts","_action$payload13","Associated_Contact_Ids","SetProject","_action$payload14","_action$payload15","_action$payload16","_action$payload17","_action$payload18","SLAs","Default_SLA_Id","Priority_Set_Id","Default_Priority_Id","Is_Workstream","Workstream_Enabled","SetWorkstream","_action$payload19","_action$payload20","WorkstreamId","Workstream_Id","WorkstreamName","Workstream_Name","SetEffort","Effort_Mins","SetStartDate","SetEndDate","SetSLA","SLA_ID","SetPriority","_action$payload21","SetTeam","SetAssets","Assets","SetLinkedKbs","Linked_Kb_Ids","SetEndUserName","SetEndUser","_action$payload22","_action$payload23","_action$payload24","_action$payload25","_action$payload26","_action$payload27","Company_Name","Company_Type_Id","Address_Name","SetEndUserUid","Company_Contact_Uid","SetDescription","SetTaggedDescription","TaggedDescription","SetMentionFocused","SetTaggedUsers","ResetTicket","_state$ticket","SetHierarchy","IsParent","Is_Parent","Parent_Call_Id","Parent_Ticket_Id","extraReducers","builder","addMatcher","matchFulfilled","Features","Your_Team_Log_A_Ticket","Team_Id","prim","proj","Primary_Project","Timeline_Open","push","Action_Open","Log_Ticket_Collapsed","initialActionState","initialUiSettings","Bill_Time_Enabled","NonBill_Time_Enabled","ActionSlice","settings","ResetAction","SetAction","SetBill","Billable_Time","SetNonBill","Non_Billable_Time","SetUISettings","SetHTML_Notes","HTML_Notes","actionTypeId","Private_Actions","Private_Notes_Always_On","Staff_Id","Default_Time","Action_Type_Id","FileSlice","files","ResetFiles","SetFiles","FeedSlice","feedItems","LastId","SetFeedItems","FavoriteSlice","favorites","saveFavorites","toggleState","RightBarSlice","RightBarInitialState","updateToggleState","KBSlice","results","selectKbs","previewKbId","SetResults","SetPreview","RevelationIframeSlice","isFirstIframeRequest","currentIframeSrc","iFrameLoading","mimicUid","uniqueId","setIframeLoaded","updateIframeSrc","indexOf","nanoid","mimicUser","cancelMimic","setFirstIframeRequest","rtkQueryErrorLogger","api","next","isRejectedWithValue","warn","status","dynamicMiddlewaresInstance","createDynamicMiddlewares","staticReducers","kb","KBReducer","FileReducer","ticketDetails","TicketReducer","actionDetails","ActionReducer","oidcReducer","rightBar","RightBarReducer","nav","NavReducer","count","CountReducer","feed","FeedReducer","favs","FavoriteReducer","revI","RevelationIframeReducer","reducer","store","configureStore","devTools","middleware","getDefaultMiddleware","serializableCheck","enhancer","ChatApi","ChatSlice","SignalRMiddleware","replaceReducer","combineReducers","addMiddleware","setupListeners","oAuthSettings","authority","client_id","redirect_uri","protocol","hostname","port","silent_redirect_uri","automaticSilentRenew","post_logout_redirect_uri","response_type","scope","validateSubOnSilentRenew","includeIdTokenInSilentRenew","silentRequestTimeoutInSeconds","useReduxDispatch","useDispatch","useReduxSelector","useSelector","Spinny","_jsxs","_Fragment","children","_jsx","className","alt","src","text","PartialSpinny","style","zIndex","z","SimpleSpinny","RevUserContext","createContext","ErrorCard","Card","margin","type","CardBody","CardTitle","message","Scrollbars","autoHeight","autoHeightMin","details","CardActions","color","Button","themeColor","size","icon","onClick","reload","Link","to","RevelationContext","stateUser","profile","error","skip","createUserManager","signoutRedirect","JSON","stringify","Tenant_Uid","Provider","position","NoAuthServer","params","useSearchParams","useNavigate","get","AssetApi","getAssets","contactId","TicketApi","getTypeList","parentId","getSLAConfig","getTicket","populateFormData","getOpenTickets","getStatuses","getMyStatuses","getStatus","getOpenEndUserTickets","Uid","getOpenParentTickets","getQuickNotes","getQuickNoteAsAction","getMyTemplates","getTemplateActions","getTemplateAssignment","getTemplate","getStopwatches","startStopwatch","stopStopwatch","createTicket","bulkLogTicket","actionsById","refetchQuicknotes","myLogOptions","useGetLogOptionsQuery","userProfile","saveLogOptions","usePostLogOptionsMutation","useMemo","Phrases","CallPhrase","values","setValues","useState","opened","setOpened","useEffect","defaultOptions","o","_logOptions$Options","Options","_myLogOptions$Options2","_myLogOptions$Options","Close","DropDownList","onFocus","onBlur","title","v","join","textField","itemRender","li","itemProps","foundItem","dataItem","itemChildren","checked","onMouseDown","e","preventDefault","React","width","marginLeft","onChange","event","newArray","splice","n","newOptions","mustPin","closeTicket","Pin","trimChar","str","ch","start","end","substring","isDate","date","valueOf","AddTextAndItemsAttrToHamburgerItems","Nav_Items","item1","Text","items","item2","item3","item4","n4","getTicketStateClassName","toLowerCase","toDigital","minutes","negativeBrackets","convert","digital","Math","floor","toFixed","padStart","_props$data","idGetter","getter","SELECTED_FIELD","setFilter","tenant","primaryCol","sort","setSort","field","dir","ticketSelected","onTicketSelected","setSelectedState","selectedState","selectedTicketId","TextBox","newFilter","logic","filters","operator","placeholder","Grid","onSelectionChange","newSelectedState","getSelectedState","dataItemKey","dataItems","startRowIndex","sortable","onSortChange","selectable","enabled","selectedField","orderBy","filterBy","GridColumn","cell","fieldValue","Checkbox","radioGroup","syntheticEvent","target","Tenant_Url","formatDate","Client","Project","isChild","parentTickets","isLoading","useGetOpenParentTicketsQuery","isParent","childTicketLabel","PanelBar","expandMode","PanelBarItem","selected","expanded","label","TicketGrid","useGetOpenEndUserTicketsQuery","clientTickets","useGetOpenTicketsQuery","GridColumnOptions","columns","setColumns","columnsExpanded","setColumnsExpanded","filterExpanded","setFilterExpanded","oneVisibleColumn","c","show","GridColumnMenuSort","GridColumnMenuFilter","onExpandChange","GridColumnMenuItemGroup","GridColumnMenuItem","iconClass","onMenuItemClick","GridColumnMenuItemContent","onSubmit","onColumnsSubmit","onCloseMenu","onReset","newColumns","col","column","idx","readOnly","disabled","onToggleColumn","htmlFor","userSelect","AssetGrid","userGridState","useGetSettingQuery","persistedSettingId","useSaveSettingMutation","currentIds","selectedAssets","useGetAssetsQuery","bindData","d","Device","orderIndex","Manufacturer","Model","SerialNumber","Memory","Processor","AssetCustom1","AssetCustom2","AssetCustom3","AssetCustom4","AssetCustom5","userStateFromSettings","Big_String_Value","parse","userState","take","userColumns","_userState$columns","_userState$columns2","userColIndex","uc","dataState","setDataState","stateColumns","setStateColumns","columnsState","persistUserState","Setting_Id","columnsToRender","Column","columnMenu","GridColumnMenuGroup","newState","onDataStateChange","onColumnReorder","groupable","pageable","reorderable","pageSize","locked","rowType","textAlign","ass","_props$selectedAssets","found","a","assetSelected","_ticket$Assets","_ticket$Assets2","_ticket$Assets3","assets","contactAssets","locationAssets","selectedAssetIds","Asset_Id","selectedLocationAssetCount","selectedContactAssetCount","Call_Id","Asset","Timeline","imageData","useGetTimelineImageQuery","FieldWrapper","Label","editorId","editorValid","valid","editorDisabled","optional","DateField","_field$VALUES","_field$ConfigSettings","others","wrapper","useRef","fieldChange","Display","DateTimePicker","ref","DatePicker","popupSettings","appendTo","current","popupClass","formRenderProps","_field$ConfigSettings2","_field$ConfigSettings3","_field$ConfigSettings4","touched","activeItems","Enabled","currentValues","i","maxDepth","MaxDepth","parentItems","Parent_UID","topLevelOptions","setTopLevelOptions","isOpen","select","secondLevelOptions","setSecondLevelOptions","thirdLevelOptions","setThirdLevelOptions","fourthLevelOptions","setFourthLevelOptions","fifthLevelOptions","setFifthLevelOptions","fieldChanged","multiFieldChanged","parentChanged","secondLevelChanged","thirdLevelChanged","_topLevelOptions$valu","_secondLevelOptions$v","fourthLevelChanged","_topLevelOptions$valu2","_secondLevelOptions$v2","_thirdLevelOptions$va","fifthLevelChanged","_topLevelOptions$valu3","_secondLevelOptions$v3","_thirdLevelOptions$va2","_fourthLevelOptions$v","blur","level","open","option1","option2","option3","option4","option5","level2Items","s","level3Items","level4Items","level5Items","select2","Value","select3","select4","select5","defaultItem","MultiSelect","onOpen","onClose","format","Decimal","minVal","MinValue","maxVal","MaxValue","currentValue","NumericTextBox","defaultValue","spinners","min","max","Hint","direction","setValue","currentField","setCurrentField","Max","handleChange","blurry","changeField","TextArea","maxLength","rows","Input","ClientApi","getClient","getMyClients","getClientList","companyTypeId","getClientTypes","getOffice","validationMessage","hint","multiSelect","Array","isArray","toInteger","ClientType","clients","useGetClientListQuery","listControl","ClientField","ClientList","_bindStaff","_bindStaff2","addSelect","showMe","currentUserTop","staff","useGetStaffQuery","bindStaff","x","y","StaffField","parseInt","StaffList","mins","time","setTime","newVal","strMin","strHour","substr","padEnd","hours","toMinutes","_e$target$value","TimeField","Time","EndUserField","defClientId","DefaultCompany","defClient","users","isFetching","usersLoading","useGetUsersQuery","clientList","loading","showHint","labelValid","hintId","errorId","description","Description","Show_Tooltip","tool","Error","Field","component","renderField","TextField","DropdownField","NumericField","fields","form","useGetFormQuery","fieldWidth","Columns","parentStyle","Direction","FormField","clientTypeFilters","useGetClientTypeFiltersQuery","badgeCount","clientTypes","Client_Type_Filter_Disabled","useGetClientTypesQuery","myClientTypeIds","my","clientTypePhrase","ct","Company_Type_Name","BadgeContainer","formNoValidate","Badge","align","horizontal","vertical","newUserId","setNewUserId","newUser","refetch","useGetUserByIdQuery","classification","useGetUserClassificationQuery","ifameProps","setIfameProps","visible","profileIsLoading","userCreated","Field_Name","displayName","FullName","messageListener","_e$data","_e$data2","messageObj","addEventListener","removeEventListener","svgIcon","plusIcon","EndUser","pencilIcon","Window","initialWidth","initialHeight","SvgIcon","userIcon","modal","onLoad","_props$bulkContactIds","endUserId","hideOptions","requiredMessage","useGetUserFyndConfigQuery","postSearch","usePostUserFyndMutation","useGetMyClientsQuery","niceColumns","Display_Name","header","clientOpen","setClientOpen","userOpen","setUserOpen","userFilter","setUserFilter","filteredUsers","slice","u","Address_Line_1","Bus_Phone","Title","Custom1","Custom2","Custom3","Custom4","Custom5","Custom6","Company_Abbrev","filteredClients","selectedClient","selectedUser","sortedUsers","Secondary_Sort","b","Secondary_Sort_Direction","localeCompare","combo","focus","onClientChange","endUserColumns","showValidationMessage","isValid","filterButton","Show_Client_Type_Filter","FilterButton","filterClicked","Bulk_Call_Logging","BulkLogButton","bulkContactIds","toggleBulkLogging","addEditUser","Add_Edit_EndUSer_From_LogACall","UserDetailsModal","newEndUser","UserFynd","MultiColumnComboBox","dangerouslySetInnerHTML","__html","display","onFilterChange","filterable","required","isRequired","ComboBox","suggest","config","useGetSLAConfigQuery","slas","fetchingSLAs","useGetSLAListQuery","selectedSLA","useGetSLAQuery","defaultSLA","slaColumns","Multi_SLA_List_Option","statusId","autoOpenSettings","autoCloseSettings","useGetMyStatusesQuery","defaultStatusOrCurrent","Statuses","ss","Open_Default","defaultStatusIdOrCurrent","selectedStatus","t","stat","setShow","offSet","left","top","autoCloseStatus","setAutoCloseStatus","autoCloseDate","setAutoCloseDate","anchor","statusItems","_t$Statuses","showDatePrompt","setShowDatePrompt","toggleDialog","curValue","nativeEvent","Popup","offset","Menu","onSelect","Auto_Status_Interval","Auto_Close_Date","ReactTimeAgo","Auto_Open_Date","Dialog","DialogActionsBar","projects","projectLoading","useGetProjectListQuery","Unlimited_Ret","availableTime","Available_Time","sortedProjects","Project_Name","priorities","useGetPriorityListQuery","priorityChangeHandler","assContactIds","associatedUsers","useGetUsersByIdsQuery","assContactConfig","useGetAssContactConfigQuery","endUsers","globalContactsIds","setGlobalContactIds","selectedId","setSelectedId","endUsersFormatted","setDisplayName","associatedUsersFormatted","Secondary_User_Classification","handleToolBarClick","toolName","g","Global","ListBox","height","onItemClick","toolbar","ListBoxToolbar","tools","onToolClick","teams","useGetTeamsQuery","selectedTeam","allTeams","Dept_Name","assignedStaff","staffList","staffLoading","staffFiltered","setStaff","_staffList2","_staffList3","_staffList","typeId","typesList","useGetTypeListQuery","getSelectedPath","path","currentType","parentType","Parent_Id","Call_Type","selectedPath","fillLevelTypes","tf","typeItems","l","Level","popRef","dropRef","onclick","_popRef$current","_dropRef$current","element","contains","collision","dropdownFieldValidator","numberFieldValidator","validateCustomFields","validators","Is_Required","Required_To","validMsg","endUserFieldValidator","dateFieldValidator","ticketIds","tid","viewDetails","roles","useGetRolesQuery","defaultRole","r","Default_Role","selectedRole","Role_id","maxWidth","Setting","SystemApi","getHours","getStartEnd","actionDate","startEnd","useGetStartEndQuery","timeInterval","Int_Value","minTime","Bool_Value","Item1","maxTime","Item2","selectedDate","steps","minute","processTreeData","selectField","expandField","subItemsField","filtering","Boolean","mapTree","includes","extendDataItem","expandedState","nextExpanded","itemKey","index","listenForMessage","ev","dataObject","Message","onSave","quickNoteId","quickNotes","useGetQuickNotesQuery","useRefetchQuicknotesMutation","selectedQuickNote","q","QuickNotes","qn","setExpanded","setOpen","popupVisible","setPopupVisible","treeData","newId","setNewId","DropDownTree","oldVal","Add_Quick_Note","AddQuickNote","quickNoteSaved","actionId","isBill","onStart","onStop","onTick","stopwatches","useGetStopwatchesQuery","useStartStopwatchMutation","useStopStopwatchMutation","runningWatches","Is_Bill","IsTicking","isRunning","timer","setTimer","interval","setInterval","clearInterval","ActionId","IsBill","unwrap","confirm","ARROWS","up","right","down","Mentions","handleOnClick","containerRef","isError","useGetMentionQuery","scrollIndex","setScrollIndex","handleNavigation","defaultBehavior","behavior","mention","Object","key","at","getElementById","scrollIntoView","useEventListener","iframe","querySelector","div","contentDocument","sideLength","getImageLength","img_class","person","liStyle","cmp","abs","onMouseEnter","img","team","CallDescToTaggedDescriptionConverter","callDesc","taggedUsers","newDesc","tag","newValue","ShowMentions","mentionsText","minChars","MentionsHandleOnChange","eType","setAtActivated","setMentionsText","atActivated","val","newE","html","atRegex","RegExp","maxRegex","spaceBreakRegex","atRegexMatch","test","maxRegexMatch","spaceBreakMatch","valMatch","match","setActive","res","trim","TextEditor","useGetMentionConfigQuery","Min_Chars","mentionsProps","endOfString","prefixHTML_Notes","suffixHTML_Notes","newHTML_Notes","newTaggedUsers","MentionsHandleOnClickForTextEditor","Bold","Italic","Underline","Strikethrough","AlignLeft","AlignCenter","AlignRight","AlignJustify","OrderedList","UnorderedList","Undo","Redo","FontSize","FontName","FormatBlock","Unlink","ViewHtml","EditorTools","Editor","onMount","iframeDocument","dom","ownerDocument","createElement","appendChild","createTextNode","head","ACTION_LOWERCASE","ActionNoteTextEditor","_userProfile$Features","_userProfile$Features2","_userProfile$Features3","_userProfile$Features4","_userProfile$Features5","_userProfile$Features6","_userProfile$Features7","_userProfile$Features8","_userProfile$Features9","useGetStatusQuery","addTimeSettings","canAddTime","Allow_Add_Time","warning","author","setQuickNoteId","Quick_Note_Id","quickNote","useGetQuickNoteAsActionQuery","fireUpdate","stopwatchTicked","delta","getTime","Start_Dt","stopwatchStarted","note","toLocaleString","stopwatchStopped","Stop_Dt","_quickNote$Action_Not","newAction","Is_Private_Action","Action_Notes","replaceAll","Show_Author","Role_Id","Role","UId","RoleList","_e$value","Action","Set_Action_Date","Action_Dt","_e$value2","ActionDate","Non_Bill_Time","Display_Stopwatch","Stopwatch","Bill_Min","Pinned_Actions","Pinned","Skip_Action_Notifications","SkipActionEmail","clientTypeIds","selectClientTypes","ClientTypeFilter","saveClientTypeFilter","usePostClientTypeFilterMutation","currentTypeIds","newIds","cur","ClientTypeList","bulkUsers","bulkUsersFormatted","Set","customProp","textAreaRef","selectionStart","whole","prefixCallDesc","suffixCallDesc","newCallDesc","DefaultMentionsHandleOnClick","DESCRIPTION_LOWERCASE","TicketDescription","JsonTreeViewer","renderJsonData","R","this","JSONTree","theme","shouldExpandNode","render","_props$value","workstreams","useGetWorkstreamsQuery","prettyWorkStreams","w","_Date","_Date2","StartDt","toLocaleDateString","EndDt","Project_Available_Time","projectTimeRemaining","WorkstreamList","effort","assignmentChanged","_staff$find","_staff$find2","Assigned_Percent","Assigned_Mins","_e$target","_e$target$className","_e$target2","_e$target2$className","paddingRight","paddingLeft","currentTarget","stopPropagation","percent","currentStaff","foundIndex","findIndex","autoFocus","FlaggedNotes","contact","contactFetching","office","officeFetching","useGetOfficeQuery","client","clientFetching","useGetClientQuery","confirmFlaggedNotes","clientNotes","Flag_Notes","Notes","officeNotes","contactNotes","Display_Notes","Popup_Flagged_Notes","Notification","backgroundColor","border","boxShadow","borderRadius","padding","fontSize","verticalAlign","closable","Icon","SECTION_REQUIRED","confirmDialogProps","setConfirmDialogProps","useParams","searchParams","debug","templateId","endUserUId","parentCallId","splitTicketId","splitActionIds","navigate","initialAction","formData","formIsLoading","useGetFormByProjectQuery","newTicketEndUser","userLoading","useGetUserQuery","existingTicket","ticketIsLoading","useGetTicketQuery","customFormConfig","useGetFormConfigQuery","projectIsLoading","useGetProjectQuery","defaultProjectAssignment","defAssignmentLoading","useGetProjectAssignmentQuery","useGetPriorityQuery","statuses","useGetStatusesQuery","quickNoteStatus","Quick_Note_Status_Id","quickNotePriority","Quick_Note_Priority_Id","timelineTitle","SLA_Code","SLA_Response_Time","SLA_Resolve_Time","postTicket","savingTicket","saveTicketError","useCreateTicketMutation","savingBulkTicket","bulkSaveTicketError","useBulkLogTicketMutation","somethingLoading","Quick_Note_Type_Id","Project_Default_Assignment","clientChangeHandler","endUserChangeHandler","_e$Contact_Name","_e$Contact_Name$repla","dueDateChanged","projectChangeHandler","project","teamChangeHandler","slaChangeHandler","typeChanged","assignedChangeHandler","associatedChangeHandler","bulkChangeHandler","divErrorRef","ResetForm","wrapper2","customFormTop","Custom_Forms_Enabled","Log_Call_Orientation","customFormBottom","handleSelect","expandedItems","requiredStyleClass","Nav_Hex_Color","TicketSavedDialog","Form","_initialAction$HTML_N","_saveTicket$Bulk_Cont","saveTicket","Actions","saveMethod","newTicketIds","raiseTicketSaved","ticketSaved","myOptions","viewDetailsURL","viewTicketDetails","currentProps","catch","originalStatus","validator","_ticket$LogOptions","_ticket$Call_Desc","_ticket$Call_Desc$tri","_ticket$Workstream_As","_ticket$Workstream_As2","closeTicketValidation","customFieldValidators","formValidator","keys","typeRequired","Call_Types","Ticket_Type_Required_To_Log","Ticket_Type_Required_To_Close","actionRequired","reduce","endUser","VALIDATION_SUMMARY","ignoreModified","initialValues","due","_saveTicketError$data","_bulkSaveTicketError$","FormElement","errors","isControlled","assign","BulkContacts","IsActive","Contact","AssociatedContacts","ProjectList","StatusList","Type","TypeList","Show_Team_Filter","Team","TeamList","WorkstreamAssignment","AssignedStaff","Multi_SLA","SLA","SLAList","Priority","PriorityList","Workstream","workstream","workstreamStart","workstreamEnd","TicketWorkstream","customform","CustomForm","focused","parentExpanded","ActionNote","TemplateList","template","useGetTemplateQuery","templates","useGetMyTemplatesQuery","selectedTemplate","Call_Template_Name","hasDescription","FileApi","isActive","getFiles","primaryId","getFileSettings","deleteFile","refetchFiles","FileType","isFileActive","useIsActiveQuery","useGetTemplateActionsQuery","initialDataState","Bill_Time","processWithGroups","newDataState","setGroupIds","group","setResultState","resultState","isWorkflow","compare","Step_Order","total","headerClassName","headerCell","Call_Templates","Workflow","TemplateActions","IsWorkflow","KB_ID","previewKBId","setPreviewKBId","colSpan","href","kbResults","KBPreview","_ticket$Linked_Kb_Ids","linkedKbs","kbSelected","setToken","setError","revUploadUrl","Primary_Id","isDeleting","useDeleteFileMutation","apifiles","useGetFilesQuery","useRefetchFilesMutation","fileSettings","useGetFileSettingsQuery","maxFilesReached","Max_Files","mountedRef","setFiles","f1","extension","progress","newFiles","File_Name","Length","lastIndexOf","getToken","Max_Size","Upload","batch","multiple","saveHeaders","withCredentials","onAdd","Prohibited","onRemove","alert","affectedFiles","onBeforeUpload","_fileSettings$Prohibi","additionalData","fileTooBig","fileProhibited","autoUpload","saveUrl","showActionButtons","onProgress","onStatusChange","_event$response","_event$response2","_event$response2$resp","_event$response3","_event$response3$resp","_event$response4","_event$response4$resp","FileUpload","KBApi","searchKB","splitOptions","getSplitActions","useActionsByIdMutation","setActions","_splitFromTicketOptio","_splitFromTicketOptio2","_splitFromTicketOptio3","existingTickets","templateActions","Status_Id","useLocation","isSelected","route","pathname","badge","separator","endsWith","View_Assets","Asset_Manager","View_KB","KnowledgeBase","image","_template$Assignment","decodeURIComponent","Sub_Type_Id","Assignment","newAssigned","useSearchKBMutation","wordCount","setWordCount","currentWordCount","EndUserId","fetchResults","Drawer","mode","mini","DrawerItem","maxHeight","itemTarget","DrawerContent","Routes","Route","Templates","TicketDetails","ExistingTickets","TicketHierarchy","TicketAssets","Attachments","SplitActions","WindowActionsBar","background","TicketPage","previousPage","goBack","setSize","innerWidth","h","innerHeight","onresize","popupWidth","tIds","ticketTitle","fillMode","modalWindow","isModal","onMove","onResize","stage","TicketDrawer","nonModalForm","FavoriteApi","getUserFavorites","saveFavorite","fav","getFavoriteConfig","saveFavoriteConfig","sortFavorite","order","sortFavCategories","deleteFavorite","favId","invalidateFavorites","USER_TIMEZONE","REVELATIONS_COLLAPSED_STATE","HeaderMenu","anchorAlign","_props$options$find","itemClicked","openOnClick","hoverCloseDelay","_o$icon","MenuItem","link","Revelations","mainProps","useContext","sortedData","menuProps","setMenuProps","editItem","setEditItem","collapsedItems","useGetUserFavoritesQuery","useSaveFavoriteMutation","sortFavorites","useSortFavoriteMutation","sortFavoriteCategories","useSortFavCategoriesMutation","useDeleteFavoriteMutation","headerMenu","setHeaderMenu","itemsToRender","setItemsToRender","categoryIds","Category_Order","Category_Id","newRenderData","cid","_children","Order","Category_Name","imageUrl","Category_Image_Url","expandedSet","collapsedArray","headerRef","loadRevPage","deeplink","relativeURL","Url_Format","Key_Value_1","Key_Value_2","Key_Value_3","Key_Value_4","Key_Value_5","Key_Value_6","Key_Value_7","Key_Value_8","RenderItem","attributes","forwardRef","editText","setEditText","cursor","suffix","InputSuffix","newData","gotoFavorite","navigateTo","fullScreen","oldProps","clientX","clientY","handleItemSelect","oldState","newSettings","HeaderOptions","onMouseLeave","unlocked","alignContent","animation","ReactSortable","list","setList","onSort","categoryReordered","evt","sortArray","handle","Sortable","idField","itemUI","onDragStart","onDragEnd","sortParams","CategoryId","NewOrderIds","onDragOver","RevelationsPage","FeedApi","getUserFeed","lastId","serializeQueryArgs","endpointName","merge","currentCache","newItems","_currentCache$FeedIte","FeedItems","UnReadCount","Is_Read","Use_Temp_Read","Is_Temp_Read","forceRefetch","currentArg","previousArg","getFeedConfig","saveFeedConfig","resetFeed","clearFeed","markAsRead","_draft$FeedItems","Feed_Item_Id","markAsUnRead","_ref8","_draft$FeedItems2","TeamMultiSelect","teamsLoading","teamsFiltered","setTeams","selectedTeams","_props$selectedTeamId","selectedTeamIds","ProjectTypeList","projectTypeIds","projectTypes","useGetProjectTypeListQuery","selectProjectTypes","selectProjectType","Cost_Center","clientIds","SettingsDialog","_settings$Options","_settings$Options2","_settings$Options3","_settings$Filter_Team","_settings$Filter_Staf","_settings$Filter_Clie","_settings$Filter_Clie2","_settings$Filter_Proj","apiConfig","useGetFeedConfigQuery","setSettings","saveFeedSettings","savingConfig","useSaveFeedConfigMutation","activityValues","emptyProps","marginRight","Activity_For","Recent_Item_Count","Initial_State","RadioButton","Remember_State","Is_Checked","Visibility","Team_Filter_Option","Filter_Team_Ids","oldval","SupportStaff","Staff_Filter_Option","Filter_Staff_Ids","_e$value3","Filter_Client_Type_Ids","_e$value4","Filter_Client_Ids","_e$value5","Filter_Project_Type_Ids","layout","onSaved","ErrorBoundary","Component","constructor","super","hasError","getDerivedStateFromError","errorMessage","ActivityFeed","_feedResult$FeedItems","_feedResult$FeedItems2","lastFeedId","setLastFeedId","useGetUserFeedQuery","pollingInterval","useResetFeedMutation","feedResult","feedResults","postAllAsRead","useClearFeedMutation","markingAsRead","useMarkAsReadMutation","markingAsUnRead","useMarkAsUnReadMutation","unreadOnly","setUnreadonly","settingsVisible","setSettingsVisible","Switch","defaultChecked","feedClicked","autoHide","itemClass","feedItemClicked","onContextMenu","handleContextMenu","isread","Call_State_CSS","ImageUrl","borderWidth","Activity_Image_Url","Header","borderCollapse","Action_Contact_Name","Action_Date","RevelationSlice","itemSelected","HTMLEllipsis","unsafeHTML","maxLine","ellipsis","basedOn","From_String","To_String","Fav","postFavorite","saving","Loader","newFav","ContactsMenu","ContactCard","fieldsToRender","fieldsCSV","_props$fieldLabels$fi","_contact$f","fieldLabels","fl","toLocaleLowerCase","CardHeader","Profile_Images","Avatar","Profile_Image_Path","CardSubtitle","CardFooter","iconOrImage","_profile$Features","_settings$Client_Type","useGetFavoriteConfigQuery","saveFavSettings","useSaveFavoriteConfigMutation","Client_Type_Ids","_e$value$map","Settings","showPopup","popupToggled","Contacts","_config$Client_Type_I","_config$Client_Type_I2","_config$Client_Type_I3","_contacts$Pages","filterText","setFilterText","debouncedSearchTerm","useDebounce","page","gotoPage","menu","setMenu","popupSettingsVisible","setPopupSettingsVisible","favOnly","setFavOnly","Contacts_Search_Favs_Only","saveFavConfig","contacts","useGetContactsQuery","Contacts_Search_By_Name","contactSelected","setContactSelected","mimicSetting","_props$selectedContac","_props$selectedContac2","selectedContact","groups","ReturnValue","Group_Value","newExpanded","Fav_Id","addNewContact","toggleByOffice","toggleFavorites","ContactOptions","Add_Asset","Super_Admin","offsetTop","offsetLeft","InputPrefix","InputClearValue","Pages","p","Letter","RecordCount","ContactsDockFields","FieldLabels","ToolButton","class","rounded","ChatList","ChatMenuModule","ChatBar","Suspense","fallback","showHeader","pinChatOnClick","ChatRequestModule","ChatRequest","SSIChat","ChatCount","PinnedChatModule","ChatNotificationModule","ToggleState","RightBar","setLastId","dockOrder","setDockOrder","Activity_Feed","External_Interface","setSelectedContact","Uninitialized","_dockOrder$children","foundINdex","Page_State_Xml","Expanded","XMLParser","parseFromString","Dock_Order","dockArr","contactName","Free","buttonClicked","newOrder","unshift","newOrderXML","newConfig","lockingTools","handleClick","toolProps","Chat","Contacts_Dock","toolsClass","Body_Hex_Color","_createElement","SessionKeepAlive","random","setRandom","pingUrl","ping","RevelationIframe","_revI$currentIframeSr","_revI$currentIframeSr2","_revI$currentIframeSr3","useInvalidateProfileMutation","iframeRef","hasAccessToken","homeLandingPage","encodeURIComponent","iframeClass","extraQueryParams","logoutMessage","invalidateTags","iFrameLoaded","Outlet","startsWith","Deeplink","lowerParams","URLSearchParams","self","redirect","search","history","replaceState","LicenseManager","renewLicense","thisLoop","Authority","userManager","signinRedirect","_err$data","MimicBar","cancelMimicSession","imgClass","navStyle","normalSize","halfSize","SetLogoNavStyle","AppBarSection","justifyContent","stopImmediatePropagation","imgUrl","AlertApi","getAlertConfig","Notifications","navColor","notifications","setNotifications","showNotification","setShowNotification","alertConfig","useGetAlertConfigQuery","fetch","Alerts_Get_Url","ok","json","seen","notificationStyle","borderTop","borderRight","borderLeft","placeContent","messageId","Seen_Post_Url","ClientInfoEncrypted","handleNotificationIteration","calculatedIndex","getAttribute","Read_Post_Url","HamburgerMenu","addTextAndItemsToProps","navItems","_menu$current","_menu$current$element","_className","_className2","_menu$current2","popupAlign","handleItemRender","Image_Url","itemId","Url","draggable","resizable","overlayStyle","exitButton","getElementsByClassName","exitVisibility","setAttribute","overflow","PROFILE","_Profile_Menu_Items$f","_Profile_Menu_Items$f2","dismissFeature","useDismissIntroMutation","Profile_Menu_Items","Profile_Image_Url","Help_Url","Whats_New_Tour_Url","Show_Tour","Show_Trial_Tour","productTourPopupVisible","setProductTourPopupVisible","trialTourPopupVisible","setTrialTourPopupVisible","whatsNewTourPopupVisible","setWhatsNewTourPopupVisible","productTourProps","trialTourProps","whatsNewTourProps","additionalItems","access","regularItems","buildItemList","releaseLicense","handleProfileClick","_productTourProps$url","id_token","id_token_hint","logMeOut","activeElement","SplitButton","onButtonClick","setState","_e$item","menuItem","ProductTour","TrialTour","IGNORE_CLASS","OPTION_CLASS","styled","_templateObject","_taggedTemplateLiteral","ul","button","Option","useRandomId","formatSimple","option","CustomSmartOption","multi","formatOption","Styled","Multi","Single","_values","_value","some","formatted","role","toggle","uncheck","updated","SELECT_CLASS","constants","LABEL_CLASS","OPTIONS","shift","placement","CustomSmartSelect","refs","reference","floating","strategy","update","useFloating","formatLabel","empty","utils","onToggle","initialValue","arguments","useCallback","useToggle","btnId","dataset","num","handler","check","source","parentNode","classList","useClickOutside","useLayoutEffect","wrapClass","labelClass","hidden","roundX","round","roundY","dropdown","dropdownStyle","Wrapper","labelStyle","Background","Dropdown","renderOption","optionStyle","CheckBoxDropdownFilter","updateSearchTypeMutation","allOptions","CheckAll","checkedOptions","finalOptions","customSmartSelectStyle","customSmartSelectLabelStyle","divWrapperStyle","paddingTop","fontWeight","countItems","valueCount","optionCount","checkAllOptions","AutoCompleteFooter","noCategoriesArrayLength","isCategory","QuickSearch","getSearchTypeQuery","nv","PostSearchQuickMutation","windowWidth","setWindowWidth","findTicketId","setFindTicketId","foundTicket","fetchTicketError","handleOnChange","chosen","handleSearchIconClick","searchPhrase","searchTypes","selectedTypes","ticketStatusTypes","searchDefault","searchFilters","debouncePostSearch","debounce","input","post","SearchTerm","SearchTypes","quickSearchObj","resultsArr","Categories","category","resultsCount","ResultCount","Results","FlattenAndAddCategoryObjectsToQuickSearchResults","autocomplete","_autocomplete$current","handleKeyDown","keyCode","Number","autoCompleteStyle","borderBottom","AutoComplete","SharedStyles","liProps","cloneElement","listNoDataRender","footer","accessible","FocusedViewToggle","preData","postData","iconImg","collapse","postMessage","Logout","AdminArea","AdminAreaPath","CoreIcon","hamburgerMenuProps","Admin_Area","Selected","Numbers","PROFILE_NAV_CONTAINER_CLASS_NAME","gap","Is_Core_Site","ProfileDropdown","QuickSearchWrapper","Quick_Search","_props$Nav_Items","buttonColor","Tooltip","navTextSize","buttonStyle","symbolSize","ApplyCustomStyles","divHeight","buttonWidth","_props$onContextMenu","call","cx","ticketState","isMoreItems","useStyles","makeStyles","container","flexGrow","flexWrap","minWidth","shorthands","farItems","resizableArea","fontFamily","lineHeight","letterSpacing","tokens","colorNeutralForegroundOnBrand","colorBrandBackground","FluentButtonBar","styles","showNavMenu","setShowNavMenu","profileProps","Overflow","OverflowItem","MenuButton","NavMenu","isTopLevel","ProfileNav","overflowCount","isOverflowing","useOverflowMenu","onOpenChange","MenuTrigger","NavButton","setTimeout","MenuPopover","MenuList","NavMenuItem","_props$Nav_Items2","useIsOverflowItemVisible","NavWrapper","navLogoProps","Site_Logo_Url","Nav_Style","notificationsProps","navContainer","Helmet","Site_Title","AppBar","paddingBottom","NavLogoContainer","NavLogo","Navbar","FeedPage","ActionForm","fetchingProfile","apiError","setApiError","handleSubmit","visited","dialogVisible","setDialogVisible","ActionSavedDialog","ContactsPage","ChatPage","ChatPageWrapper","getChat","getMessages","chatUid","chat","useGetChatQuery","messages","useGetMessagesQuery","EndUser_Uid","firstMessages","ticketDescription","actionNotes","_m$From","Is_Event","StaffContact_Id","Profile_Image","Created","From","AppRoutes","k","LogTicketFromChat","ActionModal","TicketModal","SignoutPage","frameLoaded","setFrameLoaded","App","tenantNotFound","setUserManager","isAuthenticating","setAuthenticating","Log","setLevel","DEBUG","newUserManager","expired","returnUrl","loadUser","signIn","OidcProvider","ToastContainer","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","CallbackPage","authManager","CallbackComponent","successCallback","errorCallback","SilentRenewPage","processSilentRenew","reactPlugin","ReactPlugin","appInsights","ApplicationInsights","connectionString","extensions","enableAutoRouteTracking","disableAjaxTracking","autoTrackPageVisitTime","enableCorsCorrelation","enableRequestHeaderTracking","enableResponseHeaderTracking","loadAppInsights","addTelemetryInitializer","env","tags","TimeAgo","en","root","AppInsightsContext","BrowserRouter","basename","reportWebVitals"],"sourceRoot":""}