{"version":3,"sources":["../node_modules/yargs-parser sync","components/root-snackbar/snackbar-slice.ts","components/root-snackbar/root-snackbar.tsx","components/snackbar/snackbar.ts","common/models/status.ts","api/axios-client.ts","config/convict-config.ts","components/authentication/api/authentication-api.ts","app/local-storage.ts","components/authentication/components/authentication-slice.ts","common/components/buttons/LoadingButton.tsx","components/authentication/components/login-form/login-form-style.ts","components/authentication/components/login-form/login-form.tsx","components/authentication/components/login/login-style.ts","components/authentication/components/login/login.tsx","common/hooks/useRouter.ts","common/hooks/useDebouncedCallback.ts","common/hooks/useDelayedTextUpdate.ts","components/broadcast/api/broadcast-api-v2.ts","components/authentication/api/dealer-api.ts","store/dealerEmailSlice.ts","common/components/tabs/tab-panel.tsx","common/components/buttons/toggle-fab-button.tsx","common/components/buttons/emoji-picker-button.tsx","common/components/input-fields/TextLimitField.tsx","components/broadcast/api/mediaGallery-api.ts","common/components/loaders/small-circular-progress-loader.tsx","components/broadcast/components/broadcast-page/email-editor.tsx","components/broadcast/components/broadcast-page/image-gallery.tsx","components/broadcast/components/broadcast-page/merge-tags.tsx","components/layouts/DashboardLayout/department-filter-context.ts","components/broadcast/components/broadcast-page/message-templates.tsx","common/hooks/useLocations.ts","common/models/location-option.ts","components/broadcast/components/broadcast-page/social-link-widget.tsx","components/broadcast/components/broadcast-page/url-shortener-widget.tsx","dmsAppsCallbacks.js","components/lead/components/task-board/taskhours-step.ts","common/utils/compare-objects.ts","common/utils/shared/shared-constants.ts","common/components/input-fields/PhoneNumberTextMaskCustom.tsx","common/utils/format-phoneNumber.ts","components/broadcast/components/broadcast-page/broadcast-test-message.tsx","components/broadcast/components/broadcast-page/broadcast-form.tsx","components/broadcast/components/broadcast-page/email-broadcast-preview.tsx","components/broadcast/components/broadcast-page/broadcast-preview.tsx","components/broadcast/components/broadcast-page/broadcast-page.tsx","components/customer-groups/api/customer-group-api.ts","components/broadcast/components/broadcast-page/customer-groups.tsx","common/components/buttons/email-link.tsx","components/broadcast/components/broadcasts-page/analytics-tab.tsx","common/components/tag.tsx","components/broadcast/components/broadcasts-page/broadcast-card/card-tooltip-wrapper.tsx","components/broadcast/components/broadcasts-page/broadcast-card/index.tsx","components/broadcast/components/broadcasts-page/new-broadcast-card.tsx","common/components/drawer/drawer-toolbar.tsx","components/broadcast/components/broadcasts-page/new-broadcast-drawer.tsx","components/layouts/DashboardLayout/signalr-context.tsx","components/broadcast/components/broadcasts-page/broadcasts-tab.tsx","components/broadcast/components/broadcasts-page/index.tsx","common/components/layout/page-header.tsx","common/utils/shared/routes-constants.ts","components/customer/api/CustomerAPI.ts","components/customer/components/Customers/customersSlice.ts","components/customer/api/CustomerPhoneAPI.ts","components/customer/components/CustomerValidation/customerValidationSlice.ts","store/dealerPhoneSlice.ts","components/customer/components/CustomerValidation/CustomerValidatePhone.tsx","components/customer/components/CustomerValidation/CustomerValidatePhoneDrawer.tsx","components/customer-groups/components/customer-group/customers-table/customer-invoice/index.tsx","components/lead/components/task-board/taskboard-api.ts","components/lead/models/task.ts","components/customer/components/CustomerDrawer/CustomerEditDrawer.tsx","components/lead/components/task-board/taskboardSlice.ts","components/setting/api/user-api.ts","components/setting/components/department/userUsersList.ts","common/utils/format-date.ts","common/utils/object-check.ts","common/utils/error.ts","components/lead/components/task-board/TaskDrawer/TaskForm.tsx","components/lead/components/task-board/TaskDrawer/TaskAddDrawer.tsx","components/lead/components/task-board/tasks-context.tsx","components/lead/components/task-board/TaskDrawer/TaskArchiveDrawer.tsx","components/deals/model/DealStatusEnum.ts","components/deals/styles/deal-edit-drawer-styles.ts","components/deals/drawer/PdfPreviewModal.tsx","components/messaging/components/conversation-panel/image-modal.tsx","common/utils/shared/getFileExtension.ts","components/deals/drawer/deal-edit-drawer-tabs.tsx","components/deals/apis/deals-details-api.ts","components/deals/contexts/deal-context.tsx","components/setting/api/lost-deal-api.ts","components/deals/apis/deals-api.ts","components/deals/styles/deals-styles.ts","components/deals/drawer/lostDealDrawer.tsx","components/deals/drawer/wonDealDrawer.tsx","components/deals/drawer/archiveDealDrawer.tsx","common/enums/DmsTypeEnum.ts","components/customer/components/CustomerDrawer/CustomerContactDrawer.tsx","components/deals/drawer/customer-contact-treeview.tsx","assets/images/pdf.svg","common/components/icons/pdf.tsx","components/deals/drawer/deal-edit-drawer.tsx","components/lead/components/task-board/TaskBoardTable.tsx","components/lead/components/task-board/TaskDrawer/TaskEditDrawer.tsx","components/lead/components/task-board/TaskDrawer/TaskDoneDrawer.tsx","components/lead/components/task-board/TaskDrawer/TaskRescheduleDrawer.tsx","components/lead/components/task-board/TaskDrawer/TaskListRescheduleDrawer.tsx","components/lead/components/task-board/TaskDrawer/TaskFilterDrawer.tsx","components/lead/components/task-board/TaskDrawer/TaskListDoneDrawer.tsx","components/lead/components/task-board/TaskDrawer/TaskRootDrawer.tsx","components/customer/components/CustomerDrawer/CustomerRootPageDrawer.tsx","components/layouts/DashboardLayout/messenger-context.tsx","components/messaging/api/messaging-api.ts","components/messaging/models/new-conversation-type.ts","components/setting/api/department-api.ts","assets/images/create.svg","common/components/icons/create.tsx","components/messaging/components/initials-avatar.tsx","common/utils/format-string.ts","components/messaging/components/ConversationLabel.tsx","components/messaging/components/conversation-list-panel.tsx","components/image-library/components/image-library-modal.tsx","components/messaging/components/conversation-panel/image-modal-context.tsx","components/messaging/components/conversation-panel/message-bubble/footer.tsx","assets/images/text.svg","common/components/icons/text.tsx","common/utils/media-type.ts","assets/images/audio.svg","common/components/icons/audio.tsx","assets/images/video.svg","common/components/icons/video.tsx","components/messaging/components/conversation-panel/message-bubble/media.tsx","components/messaging/components/conversation-panel/message-bubble/merge-tag.tsx","components/messaging/components/conversation-panel/messages-list.tsx","components/messaging/components/conversation-panel/uploaded-images.tsx","components/broadcast/components/broadcast-page/video-call-widget.tsx","components/customer/components/TextToPay.tsx","common/utils/shared/shared-messages.ts","components/messaging/components/merge-conversation-drawer.tsx","components/messaging/components/archive/archive-dialog.tsx","common/utils/shared/shared-functions.ts","common/utils/shared/permission-extensions.ts","common/utils/shared/cache-service.ts","components/messaging/components/conversation-panel/conversation-panel.tsx","common/utils/is-phone-number.ts","components/layouts/DashboardLayout/useUserDepartmentSettings.ts","components/messaging/components/new-conversation-panel.tsx","common/hooks/useDebounce.ts","components/messaging/components/split-panel.tsx","components/messaging/components/messenger.tsx","components/messaging/components/messenger-drawer.tsx","components/customer/components/customerContact.tsx","components/messaging/components/archive-conversation-panel-drawer.tsx","components/customer/components/customerSummary.tsx","components/customer/components/CustomerForm/CustomerNameComponent.tsx","components/customer/components/CustomerForm/CompanyName.tsx","common/components/input-fields/GoogleAutocomplete.tsx","components/customer/components/CustomerForm/CustomerAddressList.tsx","components/customer/components/CustomerForm/SalesPerson.tsx","components/customer/components/CustomerForm/SurveyRating.tsx","components/customer/components/CustomerForm/Birthday.tsx","components/customer/components/CustomerForm/CustomerCategoryComponent.tsx","components/customer/components/CustomerForm/JobTitle.tsx","common/models/customer.ts","components/customer/components/CustomerForm/formatPhoneNumber.tsx","components/customer/components/CustomerForm/CustomerPhoneList.tsx","components/customer/components/CustomerForm/CustomerEmailList.tsx","components/customer/components/CustomerForm/Notes.tsx","components/setting/api/manage-lead-source-api.ts","components/deals/drawer/addNewDealDrawer.tsx","components/setting/api/customer-settings-api.ts","components/customer/components/Customers/CustomerTagPopover.tsx","common/utils/salesStages.ts","components/customer/components/CustomerForm/CustomerForm.tsx","components/customer/components/CustomerDrawer/CustomerRootDrawer.tsx","components/customer/components/CustomerDrawer/CustomerAddDrawer.tsx","components/customer/components/CustomerTable/CustomerFileUpload.tsx","components/customer/components/CustomerTable/CustomerTable.tsx","components/customer/components/Customers/Customers.tsx","components/survey/api/survey-api.ts","components/dashboard/components/userActivity.tsx","components/dashboard/api/dashboard-api.ts","components/messaging/components/customer-edit-drawer.tsx","components/dashboard/components/dashboard-page.tsx","components/error/404Page.tsx","components/error/internal-service-error-page.tsx","assets/images/feedback.svg","common/components/icons/targetCRM.tsx","components/layouts/PublicLayout/PublicLayout.tsx","assets/images/fire.svg","common/components/icons/fire.tsx","components/layouts/DashboardLayout/beamer-button.tsx","components/layouts/DashboardLayout/selected-departments-card.tsx","components/layouts/DashboardLayout/department-filter-drawer.tsx","components/layouts/DashboardLayout/notification-api.ts","components/layouts/DashboardLayout/notificationSlice.ts","common/models/eventTypes.ts","components/layouts/DashboardLayout/NotificationDrawer.tsx","components/layouts/DashboardLayout/useSignalRConnection.ts","assets/audios/sms.mp3","components/setting/components/account/add-credits-drawer.tsx","components/survey/components/surveys-page/new-survey-drawer/new-survey-form.tsx","components/survey/components/surveys-page/new-survey-drawer/new-survey-drawer.tsx","components/root-drawer/drawer-slice.ts","components/root-drawer/root-drawer.tsx","components/setting/components/twilio/twilio-api.ts","components/layouts/DashboardLayout/DashboardLayout.tsx","teamSupportWidgets.js","components/layouts/PublishLayout/PublishLayout.tsx","components/setting/components/account/account-styles.ts","components/setting/components/account/credit-history-table.tsx","components/setting/components/account/account.tsx","components/setting/api/auto-responder-setting-api.ts","components/setting/components/auto-responder/auto-responder.tsx","components/setting/components/department/edit-department-drawer.tsx","components/setting/components/department/department-form.tsx","components/setting/components/department/new-department-drawer.tsx","components/setting/components/twilio/phone-registration-drawer.tsx","components/setting/components/department/departments.tsx","components/setting/components/email/email-styles.ts","components/setting/components/email/email.tsx","components/setting/api/message-signature-api.ts","components/setting/components/general/general.tsx","components/setting/components/customers/CustomerTagDrawer.tsx","components/setting/components/customers/customers.tsx","components/setting/components/department/useDepartments.ts","components/setting/components/quick-messages/quick-message-form.tsx","components/setting/components/quick-messages/edit-quick-message-drawer.tsx","components/setting/components/quick-messages/new-quick-message-drawer.tsx","components/setting/components/quick-messages/quick-messages-styles.ts","components/setting/components/quick-messages/quick-messages.tsx","components/setting/components/users/edit-user-department-drawer.tsx","components/setting/components/users/edit-user-role-drawer.tsx","components/setting/components/role/role-list-drawer.tsx","components/setting/components/role/permissionList.ts","components/setting/components/role/edit-role-drawer.tsx","components/setting/components/role/role-form.tsx","components/setting/components/role/new-role-drawer.tsx","components/setting/components/users/users.tsx","components/setting/api/lead-texting-setting.ts","components/setting/components/widget/widget-styles.ts","components/setting/components/widget/widget.tsx","components/setting/components/settings/settings-styles.tsx","components/setting/components/taskboard-setting/task-type-form.tsx","components/setting/components/taskboard-setting/edit-task-type-drawer.tsx","components/setting/components/taskboard-setting/new-task-type-drawer.tsx","components/setting/components/taskboard-setting/task-outcome-form.tsx","components/setting/components/taskboard-setting/edit-task-outcome-drawer.tsx","components/setting/components/taskboard-setting/new-task-outcome-drawer.tsx","components/setting/components/taskboard-setting/task-type-styles.ts","components/setting/components/taskboard-setting/TaskboardSetting.tsx","components/setting/components/deal-pipelines/deal-pipelines-styles.ts","components/setting/api/deal-pipelines-api.ts","components/setting/components/deal-pipelines/lost-deal-drawer.tsx","components/setting/components/deal-pipelines/manage-lead-source.tsx","components/setting/components/deal-pipelines/deal-pipelines.tsx","components/setting/components/gravity-payment/api/gravitypayment-api.ts","components/setting/components/gravity-payment/gravityPaymentSettings.tsx","components/setting/components/gravity-payment/adyen-settings.tsx","components/setting/components/gravity-payment/payment-settings.tsx","components/setting/components/settings/settings.tsx","common/components/icons/facebook.tsx","assets/images/facebook.png","common/components/icons/google.tsx","assets/images/google.png","components/survey/components/published-survey/SurveyFormMessage.tsx","common/components/input-fields/EmojiTextField.tsx","common/components/input-fields/PhoneNumberMask.tsx","components/survey/components/question-field/opinion-scale-field.tsx","components/survey/components/question-field/question-field.tsx","components/survey/components/question-field/question-field-title.tsx","components/survey/components/question-field/question-types.tsx","components/survey/components/survey-page/survey-questions/new-question-block/new-question-block.tsx","components/survey/components/survey-form/survey-form.tsx","components/survey/components/survey-preview/useDealerSetting.tsx","components/survey/components/survey-preview/survey-preview.tsx","components/survey/components/surveys-page/new-survey-card/new-survey-card.tsx","components/survey/components/surveys-page/survey-card/survey-card.tsx","components/survey/components/surveys-page/surveys-page.tsx","components/survey/components/survey-page/survey-message/survey-message.tsx","components/survey/components/survey-page/survey-questions/question-block/question-block.tsx","components/survey/components/survey-page/survey-questions/survey-questions.tsx","components/survey/components/survey-page/survey-settings/survey-settings.tsx","components/survey/components/survey-page/survey-summary/customer-detail-drawer.tsx","assets/images/angry.svg","common/components/icons/angry.tsx","assets/images/smile.svg","common/components/icons/smile.tsx","assets/images/neutral.svg","common/components/icons/neutral.tsx","components/survey/components/survey-page/survey-summary/survey-feedback/survey-feedback.tsx","components/survey/components/survey-page/survey-summary/survey-summary.tsx","components/survey/components/survey-page/survey-thank-you-page-setting/survey-thank-you-page-setting.tsx","components/survey/components/survey-page/survey-page.tsx","components/survey/components/published-survey/published-survey-slice.ts","components/survey/components/published-survey/published-survey.tsx","components/survey/components/survey-page/customers-group.tsx","components/unsubscribe/unsubscribe.tsx","common/components/cards/new-card/index.tsx","components/customer-groups/components/customer-groups/customer-group-card/index.tsx","components/customer-groups/components/customer-groups/index.tsx","components/customer-groups/models/filter.ts","components/customer-groups/components/customer-group/add-filter-chip/index.tsx","common/components/icons/success-check.tsx","common/components/icons/error-cancel.tsx","components/customer-groups/components/customer-group/customers-table/index.tsx","components/customer-groups/components/customer-group/filter-drawer/index.tsx","components/customer-groups/components/customer-group/filter-chip/index.tsx","components/customer-groups/components/customer-group/index.tsx","components/invoice/components/invoice/index.tsx","components/survey/components/survey-response/index.tsx","components/authentication/components/login/validateLogin.tsx","routes/private-route.tsx","routes/public-route.tsx","routes/publish-route.tsx","components/lead/components/task-board/task-board.tsx","components/inventory/InventoryPart.tsx","components/inventory/apis/Inventory-api.ts","common/utils/inventory-sanitizeSearch.ts","components/inventory/InventoryWG.tsx","components/inventory/Inventory.tsx","components/deals/drawer/assignDealDrawer.tsx","components/deals/drawer/filterDealsDrawer.tsx","components/deals/drawer/move-deal-drawer.tsx","components/deals/deals.tsx","components/videocall/videocall.tsx","components/videocall/LocalParticipant.tsx","components/videocall/RemoteParticipant.tsx","routes/videocall-route.tsx","components/dealer/components/dealer/dealer.tsx","components/user-profile/UserToggles.tsx","components/user-profile/api/user-profile-api.ts","components/user-profile/UserProfile.tsx","components/payment/api/payments-api.ts","common/utils/tablePaginationUtil.tsx","components/payment/paymentPage.tsx","components/customers-review-hub/styles/customers-hub-page.ts","components/customers-review-hub/api/customers-review-hub-api.ts","components/customers-review-hub/styles/customers-hub-table.ts","components/customers-review-hub/components/customer-review-hub-table.tsx","components/customers-review-hub/components/customers-review-hub.tsx","components/automation/components/automations.tsx","routes/Routes.tsx","components/messaging/components/messenger-customer.tsx","theme/palette.ts","theme/typography.ts","theme/index.ts","app/history.ts","app/store.ts","app/app.tsx","app/hooks.ts","index.tsx","components/broadcast/components/broadcast-page/tiny-global.tsx"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","module","exports","id","initialState","type","undefined","message","snackbarSlice","createSlice","name","reducers","showSnackbar","state","action","payload","hidesnackbar","actions","Alert","props","elevation","variant","RootSnackbar","dispatch","useAppDispatch","useAppSelector","snackbar","open","handleOnClose","Snackbar","autoHideDuration","onClose","anchorOrigin","vertical","horizontal","severity","Status","AppSnackbar","SnackbarProvider","useSnackBar","React","useCallback","apiClient","axios","create","refreshTokenCalled","interceptors","request","use","config","store","getState","user","authToken","headers","Authorization","response","a","error","status","refreshToken","refreshTokenUser","then","resp","location","reload","data","href","console","Promise","reject","get","post","put","patch","destroy","delete","convict","addFormats","convict_format_with_validator","env","doc","format","default","port","arg","app","url","nullable","api","customer","messaging","messaging2","messagingExternal","dealer","dealerExternal","log","authentication","notification","lead","everest","remotePayment","googlePlaces","String","textEditor","paymentSettings","invetoryByParts","facebookAppId","snapengageApiKeyIdeal","snapengageApiKeyInfinity","snapengageApiKeyAspen","validate","allowed","window","indexOf","replace","dealerUrl","authenticateUser","dealerId","userName","password","token","validateTokenUser","localStorageName","serializedState","localStorage","getItem","JSON","parse","stringify","setItem","removeItem","loggedIn","idle","session","dmsDealerId","dealerName","userFullName","crmUserId","messageCount","dmsType","dmsTypeId","phoneValidationCount","Id","isHosted","roleId","roleName","isUserAdmin","userPermissions","Array","textToPayPaymentGateway","loginUser","createAsyncThunk","username","AuthenticationAPI","appLocalStorage","replaceAll","search","endsWith","clear","persistedUserSlice","logoutUser","updateUserCredits","updateStatus","setTextToPayPaymentGateway","extraReducers","pending","loading","fulfilled","succeeded","userId","failed","rejected","document","title","useStyles","makeStyles","createStyles","root","display","alignItems","wrapper","position","buttonSuccess","backgroundColor","green","fabProgress","color","top","left","zIndex","buttonProgress","marginTop","marginLeft","LoadingButton","onClick","disabled","children","other","classes","timer","useRef","buttonClassName","clsx","useEffect","clearTimeout","current","className","Button","CircularProgress","size","theme","form","width","spacing","submit","margin","Schema","Yup","shape","max","required","LoginForm","onSubmit","formik","useFormik","initialValues","validationSchema","useState","showPassword","setShowPassword","rememberMe","setRememberMe","handleCheckboxChange","isCheck","values","length","dealerNumber","loginInfo","setFieldValue","handleSubmit","Card","CardContent","TextField","fullWidth","autoFocus","label","onChange","handleChange","value","errors","helperText","inputProps","inputMode","pattern","onKeyPress","event","keyCode","which","keyValue","fromCharCode","test","preventDefault","touched","InputProps","endAdornment","InputAdornment","IconButton","FormControlLabel","style","control","Checkbox","checked","target","Box","CardActions","container","height","grid","textAlign","avatar","palette","primary","main","Login","redirectTo","setRedirectTo","history","useHistory","handleLoginFormSubmit","x","push","redirectUrl","URLSearchParams","Container","component","maxWidth","Grid","direction","justifyContent","item","Avatar","mt","Typography","to","useRouter","params","useParams","useLocation","match","useRouteMatch","useMemo","pathname","query","queryString","useDebouncedCallback","callback","delay","options","maxWait","maxWaitHandler","maxWaitArgs","leading","trailing","leadingCall","functionTimeoutHandler","isComponentUnmounted","debouncedFunction","cancelDebouncedCallback","debouncedCallback","args","setTimeout","shouldCallFunction","apply","callPending","messagingUrl","messaging2Url","BroadCastAPIV2","getBroadCasts","dmsDealerIdCrm","dealerLocationId","pageSize","pageNumber","createBroadcast","getBroadcast","updateBroadcast","broadcast","duplicateBroadcast","deleteBroadcast","restoreBroadcast","deleteScheduledBroadcast","broadCastId","broadcastType","sendBroadcast","segmentIds","IsSchedule","body","mediaLinks","mmsMedia","map","mediaUrl","emailRequest","dealerLocationid","sendScheduledBroadcast","scheduledTime","rescheduleBroadcast","shortenUrl","currentUrl","Url","getMergeTags","refScreen","getMessageTemplates","updateMessageTemplates","messageTemplates","getMessageTemplate","createMessageTemplate","departmentId","updateMessageTemplate","template","deleteMessageTemplate","templateId","unsubscribeEmail","toString","getBroadCastsAnalytics","dateRangeFilter","DateFrom","DateTo","getBroadcastSpecificAnalytics","broadcastId","messagetype","analyticsType","usageHistoryId","messageId","sendBroadcastTestMessage","testMessageRequest","logUrl","DealerAPI","getDealer","getBrackets","updateCredits","messageCredits","getDealerLocationSettings","getDealerSettings","updateDealerSettings","dealerSetting","getDealerPhoneSetting","getUsageHistory","updateDealerPhoneSetting","dealerPhone","getDealerEmail","updateDealerEmail","dealerEmail","verifyDealerEmail","resendVerificationEmail","cancelVerificationEmail","logUserActivity","route","logError","componentStack","errObj","exception","methodName","decryptLoginKey","key","ExecuteJsonSP","spName","json","escape","ExecuteJsonSPPost","getPersistentAppData","addPersistentAppData","persistentData","updatePersistentAppData","updateDealersDefaultCategory","categoryId","sendGridId","replyToAddress","replyToName","emailFooter","fromAddress","fromName","sameFromAndReplyToAddress","replyToAddressVerified","fromAddressVerified","setDealerReplyTo","setDealerReplyToName","setDealerFromName","setDealerFrom","setDealerEmail","setDealerEmailLoading","setDealerFooter","setSameFromAndReplyToAddressChange","fetchDealerEmail","TabPanel","index","ToggleFab","withStyles","grey","secondary","Fab","EmojiPickerButton","onSelect","anchorEl","setAnchorEl","Boolean","Tooltip","paddingLeft","paddingRight","currentTarget","Popover","emoji","native","TextLimitField","characters","helperTextAlignLeft","valueLength","FormHelperTextProps","val","substring","MediaGalleryAPI","getMediaCount","getImageGallery","page","rowsPerPage","addImage","files","requestForm","FormData","forEach","file","append","deleteMedia","imageId","SmallCircularProgress","textEditorApiKey","EmailEditor","isEmpty","onImageUpload","setLoading","init","paste_data_images","automatic_uploads","setup","ed","on","branding","image_advtab","convert_urls","relative_urls","remove_script_host","images_upload_handler","blobInfo","success","failure","progress","blob","File","filename","plugins","toolbar","menu","items","menubar","hidden","mr","border","apiKey","onEditorChange","fontSize","icon","actionIcon","justify","ImageGallery","onAdd","refresh","expanded","setExpanded","confirmDeleteItemId","setConfirmDeleteItemId","isDeleting","setIsDeleting","galleryImages","setGalleryImages","setPage","totalItems","setTotalItems","filesLoading","setFilesLoading","filesLoaded","setFilesLoaded","fetchGalleryImages","galleryImageResponse","panel","handleChangePage","newPage","currentPage","fetchCount","count","onPageLoad","deleteGalleryImage","galleryImage","Accordion","square","newExpanded","AccordionSummary","expandIcon","padding","AccordionDetails","ImageList","cols","ImageListItem","mimeType","src","alt","fileName","ImageListItemBar","editable","marginBottom","Pagination","pagination","Math","ceil","showFirstButton","showLastButton","useMessageTemplateStyle","markColor","useMessageTemplateItemStyle","smallIconBtn","MergeTagListItem","searchText","anyEditable","setAnyEditable","onUpdate","onDelete","editableBody","setEditableBody","deleteToggle","setDeleteToggle","Highlighted","text","highlight","trim","regex","RegExp","_","escapeRegExp","parts","split","filter","part","i","content","xs","sx","fontWeight","multiline","ListItemText","primaryTypographyProps","whiteSpace","overflow","textOverflow","edge","listItemContent","ListItem","button","dense","placement","arrow","MergeTagWidget","searchFilter","setSearchFilter","AppSnackBar","setMessageTemplates","reOrder","dragItemIndex","hoverItemIndex","useMessageTemplate","snippetAnchorEl","setSnippetAnchorEl","showSnackBar","fetchMergeTags","BroadCastAPI","openSnippet","idSnippet","handleSnippetClose","handleAddMessageTemplate","addedIndex","removedIndex","messageTemplatesListContent","filteredMessageTemplates","messageTemplate","toLowerCase","some","t","messageTemplateListItems","render","updatedTemplateList","setEditable","messageTemplatesNotFound","handleSnippetClick","transformOrigin","p","borderColor","focused","placeholder","pt","px","minHeight","maxHeight","List","onDrop","DepartmentFilterContext","createContext","selectedDepartmentIds","fetchUserDepartmentSettings","messageTemplatesList","MessageSnippetWidget","useContext","templates","fetchMessageTemplates","reOrderedMessages","temp","tempOrderId","orderId","messageTemplatesLoading","MessageTemplateListItem","loadingMessageTemplate","CACHE","useLocations","locations","setLocations","defaultLocationOption","setDefaultLocationOption","locationOptions","setLocationOptions","dealerLocationSettings","fetchDealershipLocations","isMultiStore","locationName","defaultOption","useDebugValue","getLocationName","find","option","SocialLinkWidget","disableAllLocations","socialAnchorEl","setSocialAnchorEl","openSocial","idSocial","loadingLocations","selectedLocationId","setSelectedLocationId","myLocationOptions","handleSocialClose","handleShortenUrl","popOverUrl","shortenedUrl","selectedLocation","subheader","ListSubheader","Select","labelId","MenuItem","googleLink","facebookLink","UrlShortenerWidget","PopoverUrl","setPopOverUrl","GetAttachments","allowedTypes","chrome","webview","postMessage","EVENT_TYPE","SIZE_LIMIT","ALLOWED_TYPES","taskHours","CompareObjects","Objects1","Objects2","dateTimeFormats","MessageStatusType","MessageTypeConst","ConversationType","Display","Value","BroadcastType","SurveyConstants","FeatureNames","MessagePaymentStatus","ApplicationPropertyNames","OrderType","SaleOrder","WorkOrder","PhoneNumberTextMaskCustom","inputRef","ref","inputElement","guide","keepCharPositions","mask","placeholderChar","showMask","formatPhoneNumber","phoneNumberString","phoneNumber","parsePhoneNumberFromString","formatNational","FormatPhoneNumberCustom","num","slice","phoneNumberRegex","emailRegex","paper","toggleButtonGroup","flexDirection","toggleButton","chipContainer","chip","marginRight","textField","dialogTitle","dialogContent","dialogActions","cancelButton","dark","sendButton","infoText","errorText","loader","swalContainerError","borderRadius","boxShadow","shadows","background","fontFamily","typography","contrastText","swalContainer","errorList","listStyleType","errorColor","BroadcastTestMessage","openTestMessageDialog","phoneNumbers","setPhoneNumbers","emailAddresses","setEmailAddresses","phoneNumberError","setPhoneNumberError","emailError","setEmailError","isTestMessageLoading","setIsTestMessageLoading","validateAndSetItems","input","setItems","currentItems","isPhone","Set","includes","handleKeyDown","handleDelete","itemToDelete","prevItems","Swal","fire","html","customClass","testMsgRequest","MessageSetting","PhoneNumbers","join","EmailAddress","DealerId","CrmUserId","testMsgResponse","isSuccess","failedEmailAddress","totalCount","failedPhoneNumbers","failedHtml","errorMsg","element","item1","formatedMessage","Dialog","reason","DialogTitle","DialogContent","Paper","ToggleButtonGroup","exclusive","ToggleButton","onKeyDown","inputComponent","Chip","emailAddress","DialogActions","textareaHover","fileUploadOverlay","datePicker","fabStyle","fabLabels","swalAlert","BroadcastForm","onDuplicate","onSave","onPreview","onSend","isHostedDealer","broadcastObject","emailSchema","subject","schema","matches","useTheme","router","galleryImageUploading","setGalleryImageUploading","refreshImageGallery","setRefreshImageGallery","isDataChanged","setDataChanged","creditUsageHistory","messageHistories","rows","setRows","emailHistories","emailRows","setEmailRows","setRowsPerPage","totalMsg","setTotalMsg","uploadingProgress","setUploadingProgress","checkUpload","setcheckUpload","setduplicateupload","TotalSize","settotalSize","isEmailEmpty","setIsEmailEmpty","scheduleTime","setScheduleTime","scheduleDate","Date","selectedDate","setSelectedDate","UTCdate","moment","utc","local","toDate","date","hours","getHours","padStart","minutes","getMinutes","selectedTime","setSelectedTime","isScheduling","setIsScheduling","isSending","setIsSending","openSch","handleClose","urlRegex","validUrl","warning","setWarning","handleTextChange","foundUrls","every","combineDateTime","time","dateObj","setHours","parseInt","setMinutes","setSeconds","scheduledDateTime","ScheduleTime","toLocaleString","hour12","intervalId","setInterval","filteredTimes","timeValue","timeDate","isBefore","getDate","yourTime","isSelectTimePassed","clearInterval","enableReinitialize","LinearProgressWithLabel","LinearProgress","minWidth","round","prevMedia","newResource","mmsMessageId","newArray","concat","editor","getTinyMce","editors","tinyEmail","getContent","setContent","listenStorageChange","image","addEventListener","removeEventListener","onDropAccepted","acceptedFiles","onUploadProgress","progressEvent","percentCompleted","loaded","total","res","newMediaObjects","catch","err","useDropzone","onDropRejected","accept","maxSize","getRootProps","getInputProps","isDragActive","validateForm","isValid","Object","result","confirmButtonColor","confirmButtonText","isSchedule","isBroadcastValuesChanged","showCancelButton","cancelButtonColor","isConfirmed","appendToBody","totalLength","setImageSize","fileSizeMaxLimit","GetImageSize","fetch","method","promises","prevValue","all","sizes","totalSize","reduce","acc","getFileExtension","fileUrl","lastPart","setOpenTestMessageDialog","handleValidateBroadcastObject","handleOpenTestMessageDialog","handleCloseTestMessageDialog","when","flexGrow","onChangeCapture","isSent","InputLabelProps","shrink","ev","dataTransfer","kind","getAsFile","preHeader","right","cursor","pointerEvents","CalendarToday","LocalizationProvider","dateAdapter","AdapterDateFns","StaticDatePicker","displayStaticWrapperAs","disablePast","renderInput","pl","pr","float","select","hour","overflowY","mb","media","removedValue","remainingValues","removeImage","toFixed","paddingTop","pb","TableContainer","ml","segmentName","filteredRows","email","handleEmailHistory","cellPhone","handleMsgHistory","Table","TableHead","TableRow","TableCell","align","TableBody","row","hasError","TablePagination","rowsPerPageOptions","onPageChange","onRowsPerPageChange","appBar","common","black","header","fromEmail","headerTitleMobile","subjectPreheader","mobileView","webView","scrollWebView","footer","DesktopView","getPreHeader","m","dangerouslySetInnerHTML","__html","DOMPurify","sanitize","Divider","wordBreak","MobileView","TabletView","EmailBroadcastPreview","setValue","tabs","handleTabChange","newValue","md","sm","Tabs","indicatorColor","textColor","tab","Tab","Component","breakpoints","down","innerContainer","paper2","BroadcastPreview","regX","EmailPreview","SMSandMMSPreview","GridList","GridListTile","fullScreen","disableEnforceFocus","AppBar","Toolbar","BroadCastPage","mobile","useMediaQuery","pushUrl","idParam","typeParam","setType","setBroadcast","previewBroadcast","setPreviewBroadcast","updatedBroadcast","idInt","fetchBroadCast","my","py","customerUrl","CustomerSegmentAPI","getCustomerSegments","getSegmentCustomers","segmentId","forAllLocation","searchSegment","EmailOrSms","isDownload","searchstr","sendMessageToSegment","surveyUrl","getSegmentCustomerCount","surveyOrBroadcast","fetchOnlyEmails","createCustomerGroup","customerGroup","getCustomerGroup","updateCustomerGroup","deleteCustomerGroup","getCustomerCategories","getManufacturers","getZipCodes","GetCustomerInvoice","InvoiceId","invoice","GetCustomerInvoicesList","crmCustomerId","GetInvoices","CreateInvoiceExportFile","GetDealerManufacturer","Manufacturer","GetDealerLocations","Locations","contentTitle","paddingBottom","cardList","useCardStyles","card","headerTitle","menuBtn","cardPaperSelected","teal","CustomerGroupCard","selected","segmentDate","formatDate","forDate","calculatedFromDate","calculatedToDate","subHeader","period","periodValue","customerCountText","cardActionContent","CardHeader","mx","CustomerGroups","buttonClicked","setButtonClicked","customerGroups","setCustomerGroups","customerGroupStatuses","setCustomerGroupStatuses","getSegmentIdsAndCustomerCount","customerCount","entries","handleSegmentCardClick","newCustomerGroupStatuses","goBack","fetchBroadcast","ids","fetchCustomerSegments","isSendable","lg","EmailLink","classStyle","AnalyticsHeader","dateRange","typeOptions","onDateRangeChange","onTypeChange","onLocationChange","loc","typ","DateRangeFilter","ButtonGroup","orientation","startDate","getFullYear","getMonth","lastyear","endDate","StaticDateRangePicker","renderDay","dateRangePickerDayProps","DateRangePickerDay","pickersDayClasses","today","startProps","endProps","AnalyticsTab","analytics","setAnaltytics","specificAnalyticsParams","setSpecificAnalyticsParams","specificAnalytics","setSpecificAnalytics","typeFilter","setTypeFilter","returnYtdDateRange","setDateRangeFilter","defaultLocation","locationFilter","setLocationFilter","fetchBroadCastsAnalytics","sort","b","first","second","setFullYear","dateSent","getTime","infoLoading","setInfoLoading","handleErrorMessage","errorMessage","parsedMessage","Exception","FailureDetails","ErrorMessage","stickyHeader","segmentNames","textDecoration","opened","clicks","unsubscribes","replies","csvData","exportData","customerName","firstName","lastName","Email","Cellphone","cellphone","To","address1","address2","city","stateProvince","zipCode","Notes","notes","Category","category","Reply","reply","wb","Sheets","XLSX","json_to_sheet","SheetNames","excelBuffer","bookType","Blob","FileSaver","exportToCSV","tag","transform","lineHeight","borderBottom","borderLeft","borderTop","Tag","HtmlTooltip","tooltip","CardToolTipWrapper","toolTipVisible","visibility","headerContent","Draft","hyphens","Sent","Deleted","BroadCastCard","npsColor","currentBorderColor","broadCast","broadCastType","onRestore","onCancel","handleActionMenuClose","borderColorDeactivated","red","borderColorActive","borderColorDraft","amber","borderColorProgress","blue","borderColorScheduled","purple","surveyStatus","isDeleted","titleTypographyProps","stopPropagation","subheaderTypographyProps","s","space","span","createElement","innerHTML","querySelectorAll","textContent","innerText","extractContent","Menu","keepMounted","white","innerContent","addButton","NewBroadCastCard","textTransform","DrawerToolbar","saving","setSaving","NewBroadCastDrawer","selectedType","onCreate","resetForm","Drawer","PaperProps","anchor","noValidate","typeOption","locationOption","isSubmitting","SignalRContext","displayName","BroadCastHeader","statusOptions","onStatusChange","st","BroadCastsTab","statusFilter","setStatusFilter","broadCasts","setBroadCasts","showNewBroadCastDrawer","setShowNewBroadCastDrawer","setPageNumber","totalRows","setTotalRows","signalRConnection","updateBroadcastStatus","EventData","broadcasts","off","fetchBroadCasts","newBroadcastForm","handleDuplicate","handleRestore","handleCancel","overflowX","TabContext","TabList","tabValue","PageHeader","modelSuggestionToken","CUSTOMER_BASE_URL","MESSAGING_BASE_URL","RouteConstants","GetCustomerPartAndModelNumber","Messaging","GetConversationDepartmentIds","BASE_URL","GoogleApiKey","getCustomers","searchString","cancel","CancelToken","source","cancelToken","axiosResponse","searchCustomersAndContacts","cancelTokenOption","addCustomer","Guid","uuidv1","getCustomer","getCustomerCrmIdByCustomerId","customerId","editCustomer","deleteCustomer","getPhoneTypes","getEmailTypes","getCategories","getCustomerPhoneNumberCount","crmCustomerIds","toggleCustomerOptIn","optInStatus","optIn","getPhoneNumbers","updatePhoneNumberToPrimary","phoneNumberId","GetContacts","GetJsonSp","sp","addCustomerContact","customerContact","checkCustomerNumberExists","customerNumber","fetchTextToPayLink","GetCustomerTags","GetZipcode","lat","lng","GetCustomerInvoices","cancelPartNumberToken","getModelNumbers","searchKeyword","customers","totalCustomers","editCustomerLoading","selectedCustomers","AllCustomersSelected","dialogType","selectedCustomer","drawerType","drawerProps","addCustomerLoading","addCustomerError","createdCustomer","updatedCustomerName","customerDetaillsUpdated","customerSlice","getCustomersStart","getCustomersSuccess","getCustomersFailure","toggleCustomerStart","indexOfCustomer","c","UpdateSelectedCustomer","UpdateDialogType","SetSelectedCustomers","selectedIndex","newSelected","setEditCustomerLoading","SetAllSelectedCustomers","showCustomerDrawer","hideCustomerDrawer","saveCustomerStart","saveCustomerSuccess","saveCustomerFailure","setCreatedCustomer","updateCustomerSearchString","setUpdatedCustomerName","setCustomerDetaillsUpdated","addEmailRow","em","address","contactId","emailType","lastUpdated","isPrimary","isDefault","customerEmails","updateEmailRow","removeEmailRow","splice","fetchSelectedCustomer","CustomerAPI","fetchCustomers","customersResponse","saveCustomer","reviewFlag","isOrganization","organizationName","validateAllPhoneNumbers","validatePhoneType","getCustomerPhoneSummary","getPhoneValidationCost","phoneCount","getAccountBalance","valdiatePhoneNumberByCustomer","customerIds","validatePhoneTypes","phoneUrl","SelectedCustomers","ValidatePhoneType","getCustomerContactPhoneNumbers","customerValidation","loadingValidationCost","validationCost","errorLoadingValidationCost","loadingCustomerPhoneCount","errorCustomerPhoneCount","customerPhoneNumbers","getValidationCostStart","getValidationCostSuccess","getValidationCostFailure","getCustomerPhoneNumberCountStart","getCustomerPhoneNumberCountSuccess","getCustomerPhoneNumberCountFailure","autoRecharge","rechargeBalanceTo","rechargeWhenBalanceLessThan","getDealerPhone","setDealerPhoneLoading","setDealerCredits","CustomerValidatePhone","enqueueSnackbar","useSnackbar","CellPhone","AlternatePhone","Fax","LandLine","setValidatePhoneType","perPhonePrice","arr","alternatePhone","fax","landline","cellPhoneVerificationStatus","alternatePhoneVerificationStatus","faxVerificationStatus","landLineVerificationStatus","phoneType","allCustomers","subTitle","disableValidate","CustomerPhoneAPI","CustomerValidatePhoneDrawer","martin","defaultFont","tableType","table01","borderCollapse","table02","buttonValidatePhone","selectedRow","myTable","CustomerInvoiceDrawer","invoiceId","invoiceRow","invoiceData","SetInvoiceData","customerData","SetCustomerData","dealerData","SetDealerData","invoiceListData","SetInvoiceListData","isLoading","setIsLoading","showAllInvoices","SetShowAllInvoices","currentInvoiceId","SetCurrentInvoiceId","searchInvoice","SetSearchInvoice","openNoInvoiceAlert","SetOpenNoInvoiceAlert","dealerLocations","SetDealerLocations","CloseDrawer","CustomerGroupAPI","Customer","Dealer","FormatNumber","filterInvoiceListData","array","obj1","GetPhoneNumber","cellNumber","landLineNumber","CustomerPhone","PhoneNumber","PhoneType","FormatPhoneNumber","GetEmail","CustomerEmail","Address","DisplayAllInvoices","CrmCustomerId","phone","valign","DealerLocationNickName","ZipPostal","data_filter","AddressType","dataAddress","GetCustomerAddress","Name","CustomerId","City","StateProvince","zipPostal","invoiceType","HasWorkOrder","DmsType","wg","misc","labor","GetInvoiceType","InvoiceNumber","OrderId","GetInvoiceNumber","InvoiceDate","toLocaleDateString","cellPadding","cellSpacing","partNumber","description","price","quantitySold","Description","Price","Model","serialNumber","billedHours","rate","dealernickName","DealerName","GetDealerNickName","onRowClick","InvoiceStatus","InvoiceType","DialogContentText","UserTaskStatus","CustomerEditDrawer","forwardRef","childRef","btnDisabled","useImperativeHandle","CompareChanges","r","SubmitForm","onFormSubmit","customerFormValues","getTasks","createdByUserId","assignedUserIds","taskStatusId","taskTypeId","fromDate","isArchived","searchStr","getTask","taskId","getTaskTypes","getTaskCategories","getTaskOutcomes","addTask","task","updateTask","updateTasks","updateTasksForDone","createTaskType","taskType","departmentIds","departments","taskCategoryId","updateTaskType","deleteTaskType","createTaskOutcome","taskOutcome","updateTaskOutcome","deleteTaskOutcome","getTodoOrOverdueTaskCount","tasks","New","totalTasks","selectedTasks","AllTasksSelected","selectedTask","addTaskLoading","addTaskError","taskboardSlice","getTasksStart","getTasksSuccess","getTasksFailure","toggleTaskStart","setTaskStatusId","setTaskIsArchived","setTaskTypeId","setDealerLocationId","setFilterDates","setSelectedCustomer","setAssignedUsers","UpdateSelectedTask","SetSelectedTasks","SetAllSelectedTasks","showTaskDrawer","hideTaskDrawer","saveTaskStart","saveTaskSuccess","saveTaskFailure","resetFilter","updateTaskSearchString","setPersistantFilterState","assignUser","statusId","typeId","archieve","fetchTasks","taskFilterLocalData","taskFilterData","taskfilerApiData","TaskboardAPI","userTaskResponse","userTasks","itemCount","saveTask","followUpTask","taskRequest","assignedUserId","dueDate","followUpTaskId","isFollowed","taskSubject","taskOutcomeId","dealId","rescheduleTask","rescheduleTaskList","taskIds","UserAPI","getUsers","getUsersByDepartment","getRoles","createRole","permissionIds","updateRole","permissions","deleteRole","statusCode","usersCount","usersInRole","updateUserRole","newRoleId","currentRoleId","userIds","updateUserRequest","RoleId","getPermissions","permissionId","permissionName","getRoleById","roles","rolePermissions","z","permission","y","featureDescription","updateUserDepartment","updateUserRoles","roleIds","useUsersList","setUsersLoading","users","setUsers","fetchUsers","getConversationFormattedDateNew","latestDateTime","timeStamp","dateTime","isSame","formatDatePicker","formatDateTimeDateFns","dateformat","newDate","dt","isNotNullOrUndefined","object","checkedIcon","min","dueTime","is","otherwise","successIcon","errorIcon","removeEmailButton","TaskForm","onMarkAlreadyCompleted","reschedule","done","edit","hideButtons","previousCustomer","disableCustomerSelect","fontColor","openCalender","setOpenCalender","locationDealerId","assignedUsername","createdByUserName","dateCreated","dateUpdated","dealerLocationName","taskStatus","taskArchiveReason","dealTitle","getValues","sanitizedValues","alreadyCompleted","setFieldError","selectedUser","Completed","setAlreadyCompleted","setFollowTask","currentUserId","openCustomerDropdown","setOpenCustomerDropdown","customerOptions","setCustomerOptions","customerloading","setCustomerLoading","taskTypes","setTaskTypes","outcomes","setOutcomes","taskTime","setTaskTime","onCustomerDropdownChange","getOutcomeList","getTaskTypeList","verificationStatus","setSelectedUser","selectedCrmUserId","currentUser","toUpperCase","dueDateWithTime","toISOString","interval","currentTime","formattedTime","currentDate","formikTime","taskDateTimeFilter","autoComplete","maxLength","Switch","labelPlacement","Autocomplete","onOpen","getOptionSelected","getOptionLabel","filterOptions","disableClearable","fullName","isActive","isAdmin","userRoles","disableCloseOnSelect","renderOption","FormControl","InputLabel","opt","FormHelperText","DatePicker","minDate","maxDate","alreadySelectedCustomer","TaskAddDrawer","followTask","taskFormRef","followUpTaskFormRef","preSelectedCustomer","middleName","handleTaskFormSubmit","task1","task2","TaskContext","taskTodoOrOverdueCount","fetchTodoOrOverdueCount","textFieldPadding","archive","info","TaskArchiveDrawer","taskArchiveList","DealStatusEnum","headerLostBtn","headerWonBtn","headerSaveBtn","footerArchiveBtn","editIcon","editInput1","editInput2","editSelect","clearIcon","drawerIcon","iconButton","stageChip","drawerRightWindow","timelineContentChip","timelineDealCreated","clearSubIcon","letterSpacing","dealHistoryBox","dealTimeline","dealHistoryTitle","dealHistoryChatBox","overflowWrap","dealHistoryNote","taskScheduledChip","taskCompletedChip","fieldPadding","floatRight","paddingRight2Percentage","chipStyles","muiPopoverPaper","disableGray","fileUploaderBox","fileUploadStatusBox","fileUploadTextBox","pdfIcon","pdfName","arrowBackButton","newTabButton","bottom","PdfPreviewModal","openModal","openPdf","selectedPdf","Modal","onMouseOver","onMouseOut","Transition","Zoom","ImageModal","imageSrc","TransitionComponent","editorInit","force_br_newlines","force_p_newlines","forced_root_block","sortDealTimeline","list","scheduledList","isAlreadyCompleted","othersList","formikNote","timelines","formikTask","TaskTab","disableTaskForm","taskOutcomes","dealerUsers","setDisableTaskForm","taskTypeName","note","IsArchived","isUpdated","assignedUserIdPrev","taskTimeline","timelineId","timelineType","Number","timelineIndex","unshift","handleTaskFormSubmission","isDueDate","dealStateId","Open","SelectProps","MenuProps","onError","BasicTimeline","setTabValue","setOpenModal","setFileName","setSelectedPdf","setImageSrc","isTaskPermission","featureName","isOpen","Timeline","dealTimelines","timeline","TimelineItem","TimelineOppositeContent","flex","TimelineSeparator","TimelineDot","TimelineConnector","TimelineContent","dueDatee","dealTasks","setValues","getElementById","scrollTop","setEditTaskForm","noteId","setEditNoteForm","extension","fileURL","link","download","appendChild","click","removeChild","rel","createdDate","dealType","DealEditDrawerTabs","filesToUpload","removedDealAttachments","validation","noteTimeline","handleNoteFormSubmission","desiredHeight","mediaQuery1","matchMedia","mediaQuery2","scrollHeight","documentElement","isUploading","setIsUploading","fileNameLimitMsg","fileSizeLimitMsg","fileSizeLimit","appendError","errorsList","errorsListSnackbar","formattedErrorMsgs","msg","uploadFiles","dispatchRequest","baseUrl","addTimelineNodes","attachments","attachment","attachmentId","filteredList","rejectedFiles","dmsAttachmentAttribute","FileSize","dealAttachment","appendFilesToUpload","tagName","userSelect","dealDetailUrl","DealDetailsAPI","getProductConditions","getPipelinesStagesDD","pipelineId","getDealDetails","updateDeal","requestModel","dealAttachmentsToUpload","DealContext","dealPipelineUrl","LostDealAPI","getLostReasons","AddLostReason","lostReason","UpdateLostReason","PipelineDeals","getDeals","searchModel","updateDealPosition","AssignDealToUser","assignDealRequest","addNewDeal","UpdateDealsLostStatus","lostDealsRequest","updateDealWon","updateDealArchive","updateDealIsFavorite","isFavorite","reopenDeal","dealIds","updateDealsPipeline","getDealsPipelinesDD","getPipelineUsers","model","getPipelineStagesList","filterLocationData","filterAgeData","age","ageValue","filterStatusData","getDealsType","hover","boxStyle","searchCard","primaryAddBtn","primaryIconBtn","successIconBtn","errorIconBtn","defaultIconBtn","danger","filterIconBtn","cardAmount","cardDay","LostDealDrawer","editCount","selectedDeals","renderDeals","lostReasons","SetLostReasons","editorLoader","setEditorLoader","GetLostReasons","deals","lostDeals","_index","lostNote","isArchiveTask","lostReasonId","Lost","deal","onInit","WonDealDrawer","selectedColumn","wonDealValues","Won","ArchiveDealDrawer","archiveDealValues","Archive","DmsTypeEnum","TextMaskCustom","CustomerContactDrawer","editContact","setNewCustomerContact","IsCustomerOrganization","defaultPhoneType","convPhoneIds","phoneTypes","setPhoneTypes","emailTypes","setEmailTypes","customerPhoneTypeId","fetchLookups","dmsId","ContactId","FirstName","LastName","jobTitle","JobTitle","dateOfBirth","DateOfBirth","phones","Phones","emails","Emails","Primary","Aspen","IsDefault","handleSubmitCustomerContact","Ideal","onCloseHandler","FormGroup","ContactPhoneList","ContactEmailList","openedPopoverId","popoverState","setPopoverState","handlePopoverOpen","popoverId","handlePopoverClose","contactPhones","removePhoneRowHandler","phoneId","removePhoneRow","allPhoneTypes","notAddedPhoneTypes","contactPhone","PhoneTypeName","IsCellPhone","Extension","addPhoneRow","notEmail","contactEmails","allEmailTypes","customerEmailTypeId","contactEmail","EmailType","ValidateEmail","CustomerContactTreeView","preSelected","dealCustomerContacts","selectedContacts","customerTreeOptions","enableCustomerValidation","nodeIdCount","disabledTreeView","setSelectedContacts","setSelectedCustomers","setCustomerTreeOptions","setCustomerContactDrawerState","setNodeIdCount","drawerFieldContainer","contactsBox","addIcon","hyperLink","disableTreeView","opacity","contactsLoading","setContactsLoading","expandedIds","from","onEditCustomerBtn","existingCustomers","uniqueExistingCustomers","findIndex","customerContacts","contactsPerCustomer","groupBy","contactsTree","nodeId","nodes","contact","contactName","setExistingCustomersAndContacts","getCustomerContacts","custName","newlyCreatedCust","obj","jsonString","CustomerApi","RenderLabel","disableGutters","ListItemIcon","CutomerTreeContactsItem","selectedContactsIds","isCustomerSelected","dep","TreeItem","underline","custOp","CustomerTreeItem","customerTreeOption","selectedCutomerIds","treeItems","handleSelect","contactsId","CustomerChip","startAdornment","multiple","selectedCustomerIds","existingcustomerTreeOptions","existingSelectedContacts","setCustomersAndGetContacts","noOptionsText","renderTags","tagValue","getTagProps","TreeView","logo","objectFit","PDF","PdfSVG","StageDays","styled","DealProductsList","openedPopover","productCondtions","setProductCondtions","hoverProducts","setHoverProducts","prodFormType","setProdFormType","totalProdPrice","setTotalProdPrice","miscellaneousPrice","formikProduct","conditionId","year","make","vinSerialNo","stockNo","class","accessories","miscellaneousDescription","product","updateProductList","getProductConditionsList","calculateProductPrice","dealProducts","sumOfProdPrice","sum","showEditProductPopOver","setErrors","indexOfMicellaneous","removeFromProductList","onMouseEnter","onMouseLeave","minimumFractionDigits","TabIndicatorProps","ProductForm","setProductPrice","isNaN","isWGDisabled","isMiscellaneousFeildDisabled","DealAttachmentsChips","handleDeleteAttachments","handleDeleteAttachmentsToUpload","getIconByExtension","dealAttachments","CustomerContactsList","newCustomerContact","setEnableCustomerValidation","customerDD","updatedCustomerTreeOptions","customerExists","lastCustomerContacts","setNewContactForAlreadySelectedCustomer","DealEditDrawer","dealItem","openedFromTasksBoard","amount","assignedUserName","pipelineName","pipelineStageId","pipelineStageName","pipelineStagePosition","dealCloseDate","dealArchiveDate","dealStageDays","dealStageDaysObject","isTaxExempted","dealContext","SetOpenDrawer","enableEditDealTitle","setEnableEditDealTitle","enableEditDealAmount","setEnableEditDealAmount","enableEditDealAssignment","setEnableEditDealAssignment","enableEditDealPipeline","setEnableEditDealPipeline","enableEditDealStage","setEnableEditDealStage","lostDealDrawerState","setLostDealDrawerState","wonDealDrawerState","setWonDealDrawerState","archiveDealDrawerState","setArchiveDealDrawerState","hoverTitleAmount","setHoverTitleAmount","hoverAssignment","setHoverAssignment","hoverPipeline","setHoverPipeline","hoverStage","setHoverStage","dealOldValues","SetDealOldValues","setTaskOutcomes","pipelineUsers","setPipelineUsers","pipelines","setPipelines","pipelineStages","setPipelineStages","customerContactDrawerState","setFilesToUpload","setRemovedDealAttachments","dealDetails","handleUpdateDeal","fetchPipelineUsers","pipelineDepartments","dealsApi","fetchPipelinesAndUsers","pipeline","pipelineid","fetchDealDetails","resetEditDealDrawer","getOutComeList","prevcustomerContacts","cusOpt","contacts","contactsReq","customersAlreadyInTreeView","cus","min_height","ClassNames","content_style","showClass","popup","hideClass","showDenyButton","denyButtonColor","showCloseButton","reverseButtons","cancelButtonText","denyButtonText","isDenied","rowSpacing","columnSpacing","onBlur","newvalue","integerPart","decimalPart","checkAmount","stage","stageId","stageName","stagePosition","renderDealStatusColor","Stack","flexWrap","day","numberOfDays","dealStageName","diffInTime","getDays","faArchive","descendingComparator","orderBy","SButton","MuiButton","EnhancedTableHead","headCells","numeric","disablePadding","SubjectIcon","PhoneIphoneIcon","PersonIcon","FilterListIcon","ScheduleIcon","AssignmentIcon","PinDropIcon","onSelectVisibleClick","onSelectAllClick","order","numSelected","rowCount","onRequestSort","autoWidth","indeterminate","headCell","property","Icon","sortDirection","TableSortLabel","active","visuallyHidden","useToolbarStyles","lighten","getNextWeekDay","dayOfWeek","dayOffset","getDay","setDate","TaskTableToolbar","validPhoneNumbers","taskIsArchived","shallowEqual","totalSelected","archiveDrawer","setArchiveDrawer","startIcon","noWrap","handleUnarchiveTasks","curr","prev","month","prevMonthDays","last","getSeconds","prevMonthDate","firstday","lastday","nextSunday","nextSaturday","table","clip","tableRow","nameCell","completedSubject","completedButton","overDueChip","toDoChip","TaskboardTable","setOrder","setOrderBy","dealEditDrawerState","setDealEditDrawerState","selectedEditDeal","setSelectedEditDeal","isCustomerPermission","isDealPermission","selectedTaskId","orderby","comparator","stabilizedThis","el","stableSort","getComparator","checkForDefaultOrder","isItemSelected","isRowSelected","tabIndex","onEditTask","scope","tasksScheduled","onReScheduleTaskBtn","onDoneTaskBtn","colSpan","fetchTasksPage","TaskEditDrawer","TaskDoneDrawer","newTask","currentTask","outcomeId","taskUpdateRequest","anchorPosition","getContentAnchorEl","submitForm","TaskRescheduleDrawer","setDueDate","DateTimePicker","taskRescheduleRequest","TaskListDoneDrawer","DRAWER_COMPONENTS","TASK_ADD","AddTaskDrawer","TASK_EDIT","TASK_RESCHEDULE","TASKLIST_RESCHEDULE","TaskListRescheduleDrawer","TASK_DONE","TASKLIST_DONE","currentTasks","TASK_FILTER","locationLoading","SetFilterLocally","assignedUser","handleResetFilter","taskFilterRemove","selectedUsers","handleUserChange","Overdue","TaskRootDrawer","SpecificDrawer","SlideProps","timeout","enter","exit","drawer","CustomerRootPageDrawer","MessengerContext","unreadConversationsCount","fetchUnreadConversationsCount","messagingApiCancel","NewConversationType","DepartmentAPI","getDepartments","selectedDealerLocationId","getDepartment","createDepartment","departmentName","crmUserIds","requestBody","updateDepartment","updateDepartmentRequest","deleteDepartment","getUserDepartmentSetting","updateUserDepartmentSettings","UserSelectedDepartments","updateDealerFacebookTokens","facebookSettingsRequest","messagingUrlExternal","MessagingAPI","assignConversation","conversationIds","unAssignConversation","getConversations","conversationTypes","conversationFilters","sortingOrder","reqObj","SearchString","ConvType","Filters","SortingOrder","getConversationsForMerge","PhoneNumberId","DepartmentIds","mergeConversations","newConversationId","fromNumber","toNumber","conversationIdsToMerge","NewConversationId","FromNumber","ToNumber","ConversationIdsToMerge","getArchiveConversation","conversationId","getConversation","getConversationsByPhoneNumberId","createConversation","sendMessage","messageBody","messageType","messageBodyRef","refid","version","markConversationRead","markConversationUnRead","markConversationArchive","archiveRequest","getUnreadConversationCount","apiRoute","getSearchConversationMessages","messageSid","cancelRequest","getVideoCallToken","getVideoCallUrl","cancelGravityPayment","voidGravityPayment","getApplicationProperty","propertyName","getDepartmentIds","Create","CreateSvg","InitialsAvatar","initialValue","formatAvatarString","avatarString","useConversationLabelStyle","notificationCounter","latestMessageText","conversationLabel","transition","departmentChip","flexBasis","locationChip","phoneChip","assignedDepartmentChip","assigneduserChip","unAssignedChip","markedChipColor","convLabelText","ConversationLabel","unreadCount","latestMessage","customerCellPhone","onChangeCheckBox","assignedDepartmentName","isAspenPrimaryContact","IsFacebookConversation","isArchive","archiveTitle","IsMergeList","UnreadCountChip","groupName","personName","HighlightedChip","filteredName","decideLatestMsg","str","charAt","isJSON","parsedJsonObject","memo","isCheckBoxDisabled","maxInitials","textSizeRatio","useConversationListPanelStyles","toolbarSearch","startConversationButton","conversationSearchField","toolbarSort","svg","polygon","fill","stroke","divider","strokeWidth","ConversationListPanel","conversations","selectedConversation","onSearch","isSearchChecked","onStartConversation","onConversationSelect","fetchNextPage","fetchSortedConversation","handleConversationCheckbox","handleConvTypeChange","handleConvFiltersChange","selectedConversationIds","defaultSearch","sortOrder","setSortOrder","searchRef","handleStartConversation","setSearchText","debouncedSearch","debounce","addSearchText","noConversationMessage","filteredConversations","conversationA","conversationB","data1","data2","searchChecked","setSearchChecked","setPersonName","focus","in","RadioGroup","defaultValue","Radio","OutlinedInput","renderValue","endIcon","ConversationLabelList","onListEnd","handleCheckbox","changeCheckboxStatus","scrollBarRef","scrollBarContainerRef","containerRef","onYReachEnd","conversation","latestMessageSid","unreadMessageCount","onCheckboxChange","FacebookCustomerId","FacebookPageId","useImageLibraryModalStyle","imageLibrary","thumb","boxSizing","thumbInner","img","addOverlay","deleteOverlay","crossBtn","ImageLibraryButton","handleFileUpload","handleOnImageSelect","ImageModalContext","openImageModal","Footer","formattedDateTime","Text","MediaType","TextSVG","mimeTypes","getMimeType","mediaSrc","mediaSrcParsed","pop","getMediaType","isImage","Image","isVideo","Video","isAudio","Audio","isText","isPdf","Other","AudioSvg","VideoSVG","useMessageMediaStyle","VideoMedia","isHtmlSupportedVideo","controls","DownloadMedia","AudioMedia","isHtmlSupportedAudio","ImageMedia","PDFMedia","TextMedia","urlParts","decodeURIComponent","extractFileName","toLocaleLowerCase","MessageMedia","mediaType","MediaComponent","mergeMessageAlert","MergeTag","mergedUserName","dateMerged","bgcolor","useMessageBodyStyles","messenger","surveyMessageBg","broadcastMessageBg","leadTextingMessageBg","highlightedMessageBg","fontVariant","linkLeft","broadcastLink","mySwalPopup","dollarUSLocale","Intl","NumberFormat","currency","useGrouping","maximumFractionDigits","MessagesList","scrollToSelectedMessage","messagesList","scrollIndex","onScrollTop","onScrollBottom","totalPages","oldScrollTop","setOldScrollTop","oldScrollHeight","setOldScrollHeight","isFetching","highlightClass","setHighlightCLass","setFirstPage","myRef","paymentDetails","setPaymentDetials","cancelPaymentLoader","setCancelPaymentLoader","updateScroll","scroll","offsetTop","handleLinkClick","decoratedHref","linkDecorator","decoratedText","linkDecoratorReciever","linkDecoratorWhite","getVideoCallLink","GetVideoStream","ParsePayment","returnKey","Provider","imgSrc","minScrollbarLength","onYReachStart","diff","clientHeight","hideBody","mediaUrls","isSurveyOrBroadcastMessage","isLeadWidget","originType","hasHeader","additionalBgColor","isMergeMessage","componentDecorator","alert","PaymentData","GetPaymentBody","wordWrap","capitalize","parseFloat","urlShortner","paymentStatus","payment","conversationMessageId","paymentPageId","transactionReferenceId","messageIndex","HandlePaymentCancel","useUploadedImagesStyle","uploadedImages","UploadedImages","onRemove","progressCompleted","VideoCallWidget","loadingState","setLoadingState","TextToPay","Conversation","SendPayment","isShowInvoices","isSendingMessage","SetIsSendingMessage","setMemo","setAmount","selectedInvoice","setSelectedInvoice","gravityInvoices","setGravityInvoices","isNoInvoices","setIsNoInvoices","isTesting","invoiceCustomerId","OrderTypeList","queryBody","fetchGravityInvoices","linkRequest","paymentMessageBody","urlShortener","externalTransId","linkExpiryDate","jsonRefBody","CheckAmount","invoiceAmount","invoiceDate","ErrorMessages","InfoMessages","useMergeMessengerStyles","MergeMessengerDrawer","refreshMessages","selectedMessageSid","setSelectedConversation","isConversationRemaining","setConversationRemaining","setConversations","setConversationList","handleSortedConversations","tempConvo","filters","setUniqConversations","conversList","uniqConversations","uniqBy","fetchConversationsApi","conversationType","load","messagingApi","getConversationsResponse","newConversations","isRemaining","fetchConversations","pageNo","mergeConversationDialog","mergeConfirmMsg","mergeResponse","onCloseWrapper","departmentPhoneNumber","ArchiveDialog","openArchiveDialog","validateSchema","disableEscapeKeyDown","disablePortal","checkStringIsEmpty","hasPermission","perm","useHasTextToPayPermission","TargetPayPaymentGateway","Ayden","Gravity","DEFAULT_CACHE_EXPIRY_MS","CacheService","storageType","withExpiry","expireTime","storage","sessionStorage","expiry","now","cachedData","parsedData","MessagesLoader","NoConversationMessage","useConversationPanelStyles","flexShrink","customerDetailsText","conversationHeaderChips","conversationHeaderChip","conversationContent","conversationAction","actionButtons","iconButtonLabel","ConversationPanel","openCustomerEditDrawer","onLatestMessageReceived","onMessageSentUpdateConversations","onMessageRecievedUpdateConversations","fetchConversationMessage","textToPay","setScrollIndex","messages","setMessages","isMessageRemaining","pageNumberRef","minPageNumberRef","maxPageNumberRef","scrollTriggerRef","pageCountRef","loadingRef","messageState","setMessage","textareaRef","hidePersonName","setIsShowInvoices","cacheKey","cachedResult","checkShowInvoices","fetchShowInvoices","showInvoices","propertyValue","dmsNames","dmsTypeName","getName","addImageResponse","modalOpen","setModalOpen","openMergeMessengerDrawer","SetOpenMergeMessengerDrawer","setOpenArchiveDialog","fetchConversationMessages","onMessageReceivedConversation","eventData","newMessages","onMessageSent","onMessageStatusChange","updatedMessage","focusInputTextField","selectionStart","selectionEnd","handleSingleMessageSent","mediaResult","defaultMessageType","messageResponse","handleMessageSent","latestMessageResponses","startTime","performance","endTime","elapsedTime","updatedMessages","OpenPopup","myArrayOfThings","o","inputOptions","didOpen","willClose","clicked","pageUp","pageCount","oldMessages","newMessageList","insertInMessage","textFieldIndex","newMessage","handleCustomerEdit","outline","filteredFiles","onRemoveFile","rowsMax","shiftKey","handleMessageChange","shortner","messageSnippet","ConversationId","IsArchive","Title","handleArchive","areEqual","prevProps","nextProps","isEqual","MemConversationPanel","isPhoneNumber","country","useUserDepartmentSettings","setSelectedDepartmentIds","assignedDepartments","setAssignedDepartments","userSelectedDepartments","userAssignedDepartments","selectedIds","onUserDepartmentSettingUpdate","StartConversationSearchList","setSelectedPhoneNumber","phoneNumberSearchLoading","showNewNumberError","setNewNumberError","customerSearchResult","newCustomerPhone","setCustomers","setStatus","searchParam","customerPhones","customerAndContacts","useCustomerSearch","onAddCustomerBtn","startConversationWithNumber","customerListItems","CustomerConversation","useNewConversationPanelStyles","NewConversationPanel","onStart","onContinue","disableSearch","loadingOldConversations","setLoadingOldConversations","startingNewConversation","setStartingNewConversation","debouncedSearchText","debouncedValue","setDebouncedValue","handler","useDebounce","existingConversations","setExistingConversations","createConversationData","setCreateConversationData","customerContactPhoneNumbers","setCustomerContactPhoneNumbers","selectedPhoneNumber","selectedPhoneNumberId","setSelectedPhoneNumberId","onPhoneNumberSelected","isCustomer","isPrimaryCellPhone","selectedName","fetchCustomerContactPhoneNumbers","CustomerPhoneApi","contactPhoneNumbers","getDepartmentLabel","department","panelMenu","inset","existingConversation","secondaryTypographyProps","assignedDepartment","exist","departmentType","onDepartmentSelected","useSplitPanelStyles","splitPanel","splitPanelLeft","splitPanelRight","SplitPanel","useMessengerStyles","navBar","containerShift","transitions","easing","sharp","duration","enteringScreen","messageFieldBox","updateConversationPanel","markBtn","conversationsList","Messenger","hideNavigations","CloseMe","setCustomerId","showStartNewConversation","setStartNewConversation","setUserLoading","setDepartmentLoading","createConversationLoading","setCreateConversationLoading","setConversationTypes","setConversationFilters","setSelectedMessageSid","reAssignPanel","setReAssignPanel","setDepartments","selectedDepartment","setSelectedDepartment","defaultCategory","setDefaultCategory","setCategories","hideOtherNavigation","setHideOtherNavigation","dealerdefaultCategory","catCheck","defaultCustomerCategoryId","categories","smsSid","loggedInUserId","fetchUsersApi","fetchDepartmentsApi","d","userCount","deleteConfirmation","isTollFreeNumber","refreshCurrentConv","selectedConv","handleOnConversationSelected","NewCustomerConversation","handleMarkConversationRead","isWindowActive","updateConversation","indexOfConversation","RefreshMessenger","callAPIs","handleMarkConversationUnRead","archiveResponse","canAssignConversations","userDepartments","autoCompleteDepartmentEntries","assignedDepartmentId","ResetAutoComplete","hideNavigationFromQuery","autoCompleteUserValue","setAutoCompleteUserValue","dealerLocation","autoCompleteDepartmentValue","setAutoCompleteDepartmentValue","autoCompleteEntries","u","updateConversationList","deleteConversation","onMessageReceived","onConversationRead","onConversationUnread","onConversationCreated","onPaymentReceived","handlePaymentReceivedCount","rightPanel","localeCompare","selectedCustomerId","updateSelectedConversation","handleMarkConversationArchive","leftPanel","containerClassName","smDown","mdDown","containerMaxWidth","up","MessengerDrawer","useStyles1","myChip","CustomerContacts","dataContact","setDataContact","openData","openContactDrawer","setOpenContactDrawer","cleaned","rowPhone","rowEmail","IsOrganization","useArchiveConversationPanelStyles","ArchiveConversationPanelDrawer","cursorChip","tableRowRoot","verticalAlign","CustomerSummary","isInvoice","isMessenger","dataSummary","setSummary","isArchiveLoading","setIsArchiveLoading","openArchvieConvPanelDrawer","SetOpenArchvieConvPanelDrawer","setConversation","Dealerid","GetInvoiceData","Invoice","FirstInvoiceDate","LastInvoiceDate","TotalService","TotalPart","TotalWG","ConvetToLocalTime","toLocaleTimeString","timeStyle","showFullDateTime","minute","conResponse","Type","ArchiveConversation","handleArchiveTitleClick","DepartmentName","DateUpdated","Task","DateCreated","UserName","TaskSubject","Outcome","LastUpdate","CustomerNameComponent","customerNameObject","formikErrors","showNameFields","SetisCustomerNumberUnique","SetNameObject","showSpinner","setShowSpinner","showError","setName","limit","nameValidated","sanitizedValue","handleClick","trimStart","CompanyName","editMode","GoogleAutocomplete","isSubmitted","initValue","setResponse","setAddress","placeId","setFormData","geocodeByPlaceId","place","getLatLng","formatted_address","address_components","types","long_name","postalCode","city1","city2","short_name","stateComponent","stateShort","postalCodeFromLatLng","results","searchOptions","componentRestrictions","suggestions","getSuggestionItemProps","streetAddress","handleBlur","suggestion","CustomerAddressList","billingAdded","customerAddresses","addressType","googleApiData","setGoogleApiData","setClick","addresses","customerAddress","addAddressRow","smallChip","removeAddressRow","handleZipCodeChange","addressTypes","SalesPerson","usersLoading","searchInput","setSearchInput","faHandshake","salesRepName","filteredUsers","Fragment","SurveyRating","surveyRating","surveyRatingDate","faStar","Birthday","substr","faBirthdayCake","dob","setFieldTouched","CustomerCategoryComponent","catLoader","formikValue","customerCategories","handleCategoryChange","customerCategoryId","PhoneVerificationStatusEnum","CustomerPhoneList","addedPhoneTypes","customerPhone","primaryContactId","Verified","Failed","CustomerEmailList","optInEmail","notAddedEmailTypes","customerEmail","BaseUrl","LeadSourceAPI","getLeadSources","addLeadSource","leadRequest","updateLeadSource","deleteLeadSource","AddNewDeal","newDealTypes","setNewDealTypes","userExists","saveButtonLoading","setSaveButtonLoading","pipelineList","setPipelineList","drawerLoading","setDrawerLoading","currentPipelineId","altPipelineStages","setAltPipelineStages","defaultUserValue","onSubmitHandler","defaultPipelineId","onCloseDrawerHandler","getPipelineList","GetPipelineUsers","GetPipelineStagesList","leadTagName","getPipelineData","pipelineStagesResponse","stages","pipeineStage","changePipelineHandler","CustomerSettingsApi","getCustomerTags","updateCustomerTags","insertCustomerTagSetting","CustomerTagPopover","customerTags","setCustomerTags","chipIndex","setPopoverChipState","setTag","tagsLoading","setTagsLoading","filteredTags","customerTagOptions","staticTags","fetchTags","selectedTagOption","customerTag","salesStages","salesStage","myTab","flagIcon","CustomerForm","startValue","endValue","setIsFormSubmitted","defaultCatLoader","setDefaultCatLoader","phoneEmailLoader","setPhoneEmailLoader","openInvoiceDrawer","SetOpenInvoiceDrawer","openMessengerDrawer","SetOpenMessengerDrawer","SetOpenContactDrawer","openSummaryDrawer","SetOpenSummaryDrawer","summaryCount","SetSummaryCount","isCustomerNumberUnique","popoverChipState","isFormSubmitted","openAddDealDrawer","setOpenAddDealDrawer","isReviewHubEnabled","isInvoicePermission","isMessengerPermission","conversationsPhoneIds","optOutDate","salesStageId","defaultPhoneNumberForMessenger","Infinity","customerNameNotValidated","validateCustomerName","notesAspen","dealerSettingsResponse","defaultCategoryId","cat","fetchCategories","reloadCustomerData","handlePopoverChipClose","tags","addNewTAg","handlePopoverChipOpen","ReviewFlag","lastSurveyRating","lastSurveyRatingDate","handleChipDelete","CUSTOMER_ADD","CUSTOMER_EDIT","CUSTOMER_PHONE_VALIDATE","CustomerRootDrawer","CustomerFileUpload","importFile","setImportFile","showPopOver","SetSowPopOver","responseError","SetResponseError","sendingData","setSendingData","readOnly","formData","respObj","respMsg","CustomersCreated","CustomersUpdated","tableHeads","CustomerTableToolbar","CustomerTable","toggleOptIn","newCustomerObject","saveCustomerToggle","emptyRows","ccOrganizationName","isFacebookCustomer","originationSource","createdAt","fetchCustomersPage","Customers","SetIsLoading","debouncedSearchCustomer","customerSearchText","drawerOpen","loadingCategory","setLoadingCategory","mapToSurveyRequest","survey","scheduleSetting","delayForHours","startingHour","endingHour","queryEquipment","queryParts","queryServices","surveyId","useDaylightTime","surveyRequest","questions","isAllLocations","isAutomaticSurvey","mapToSurvey","surveyResponse","getRequest","question","isMandatory","feedbackCount","mySearchTimeOut","SurveyAPI","getSurveysByDealerId","createSurvey","updateSurvey","mapped","updateSurveyLocation","surveyLocations","getSurvey","deleteSurvey","activateSurvey","deactivateSurvey","duplicateSurvey","addFeedback","feedback","getFeedbackSummary","getSurveySentHistory","getMonthlyNps","getSurveyStatistics","detractorsPercentage","promotersPercentage","loyaltyScore","sendSurvey","surveyUri","sendSurveyRequest","getPublishedSurvey","hashId","addQuestion","questionRequest","GetSurveyResponse","GetSurveyStatistics","GetDashboard","FeedbackCSVDownload","DashboardAPI","getAllReports","accordExpanded","UserActivity","refreshTag","SetRefreshTag","dataUserActivity","setDataUserActivity","showFilter","setSearch","openMore","idMore","setMonth","setStartDate","setEndDate","allUsers","setAllUsers","displayType","setDisplayType","SearchBox","DrawerWidth","taskColor","textSentColor","textReceivedColor","input1","GetBGColor","bgColor","Direction","FormatDateForDatePicker","handleDateChange","dateType","parsedDate","GetData","UserID","Users","GetUserDetails","QID","Details","ShowHideMore","GetAccordExpanded","GetDetails","GetUserName","FullName","GetUsersByDate","GetTime","ExpandCollapse","expand","SearchNow","createFilterOptions","MenuListProps","Summary","Count","data_filterUser","data_filterTask","data_filterMessage","TotalTaks","TotalMessages","GetHeaderData","rowKey","handlerAccordClick","Messages","Tasks","DateUpdatedFull","Body","setCustomer","sethasChanges","customerResponse","fetchCustomer","minDepartmentPhone","myCardWidth","myTasks","myCard","borderStyle","borderBottomColor","borderBottomWidth","bold","dateField","fixedHeight","dashboardPaper","pink","unHappyCustomerCard","happyCustomerCard","cardButton","detractor","passive","promoter","totalFeedback","DashboardCard","prefix","postfix","displayValue","DashboardPage","responseCount","surveyStatistics","setSurveyStatistics","settabValue","dataDashBoard","setDataDashBoard","dataDWDashBoard","setDataDWDashBoard","totalNewCustomers","setTotalNewCustomers","setMessageCount","expandedMain","setExpandedMain","showNewDashboard","customerClickCount","setCustomerClickCount","openUserActivity","setOpenUserActivity","isLoading2","setIsLoading2","anchorElMore","SetAnchorElMore","openAnchorElMore","SetOpenAnchorElMore","openGravityTextToPay","SetOpenGravityTextToPay","dashboardClickCount","SetDashboardClickCount","SetSelectedCustomerId","onMessage","func","objMessage","Note","objNote","ForAllLocation","StartDate","EndDate","SurveyData","GetTaskLocationUserName","GetTaskLocationUser","GetTaskTotal","GetMessageTotal","DepartmentId","MessageData","GetSurveyPercent","GetSurveyTotal","DealerLocationId","GetLocationName","handleCustomerclick","GetDashBoard","GetDWDashBoard","fetchDealerSettings","fetchReports","fetchSurveysStatistics","trunc","GetSurveyLocations","isExpanded","GetMessageLocations","Year1","Days180","Days90","Days60","Days30","WG","Part","config2","NotFoundPage","InternalServerError","Logo","Public","VideoCallLayout","Fire","FireSvg","BeamerButton","heading","pxToRem","secondaryHeading","details","column","helper","SelectedDepartmentsCard","removeDepartment","expandButton","tagDifference","collapseText","DepartmentFilterDrawer","selectedDepartments","setSelectedDepartments","departmentOptions","setDepartmentOptions","departmentSearchText","setDepartmentSearchText","locationDepartmentIds","depId","departmentsPerLocation","locationNames","selectAll","departmentsTree","selectedDepartmentGroupByLocation","depNames","departmentInfo","departmentLocation","locationSelectedDepartments","depOption","node","filterTreeItem","DepartmentTreeItem","departmentTreeOption","nameFilter","DepartmentTreeLocationItem","DepartmentTreeSelectAllItem","isLocationSelected","depOp","allSelected","DepartmentDropdown","notificationBaseUrl","notificationUrl","getAllNotifications","removeNotification","updateAllNotifications","removeAllNotifications","notifications","connection","totalNotifications","isNotificationDrawerOpen","startConnection","stopConnection","stop","getNotificationStart","openNotificationDrawer","setNotificationIsRead","isRead","closeNotificationDrawer","getNotificationSuccess","getNotificationFailure","SetSelectedNotifications","showNotificationDrawer","addNotification","newNotification","guid","EventTypes","CustomerEvents","CustomerCreated","CustomerUpdated","CustomerDeleted","UserEvents","UserCreated","UserUpdated","UserDeleted","CustomerPhoneEvents","ValidatePhones","PhoneValidated","CustomerPhoneCreated","CustomerPhoneUpdated","CustomerPhoneDeleted","MessageSent","MessageReceived","MessageConfirmationReceived","NotificationEvents","NotificationCreated","TaskNotification","inline","drawerPaper","toolbarIcon","warningIcon","infoIcon","InProgressIcon","notificationHeader","primaryText","secondaryText","drawerPaperClose","leavingScreen","NotificationList","notificationList","notificationApi","eventType","taskboardApi","NotificationDrawer","isDrawerOpen","negotiateUrl","useSignalRConnection","signalRHubConnection","setSignalRHubConnection","makeHubConnection","accessToken","SignalR","withUrl","accessTokenFactory","build","makeSignalRConnection","uid","negotiateRequestBody","negotiateRequestHeader","negotiateResponse","start","notify","Message","Username","IsRead","EventType","onclose","startSignalRConnection2","formControl","AddCreditsDrawer","brackets","credits","creditsToRecharge","packageText","NewSurveyForm","NewSurveyDrawer","drawerSlice","showDrawer","hideDrawer","NEW_SURVEY","ADD_CREDITS","RootDrawer","businessTypes","business_type","jobPositions","jobPosition","addPhoneRegistration","getSecondaryProfileData","useMainListStyles","listItem","listItemText","listItemIcon","listItemSelected","DashboardDrawerItems","unreadTaskCount","phoneRegistration","dashboardItems","DashboardIcon","SendIcon","MailIcon","PollIcon","FeedbackIcon","GroupIcon","HistoryIcon","AgricultureIcon","AutoAwesomeIcon","AttachMoneyIcon","settingItems","SettingsIcon","subMenu","myRoute","setMyRoute","handleOnClick","setOpen","currentRoute","ListItemButton","Badge","badgeContent","Collapse","unmountOnExit","isDepartment","NotificationButton","notificationCount","inProgress","elem","useDashboardStyles","contentShift","dashboardDrawer","easeOut","easeIn","menuUser","unreadMessagesCount","Dashboard","isLoggedIn","setDealerSettings","departmentSettingLoading","intercomSettings","intercomName","intercomEmail","user_id","alignment","vertical_padding","horizontal_padding","useIntercomSetting","setIsDrawerOpen","isDepartmentDrawerOpen","setIsDepartmentDrawerOpen","toggle","isMenuOpen","setUnreadConversationsCount","setTaskTodoOrOverdueCount","setPhoneRegistration","getNotifications","updateTitle","unreadConversationCount","allowedDMSForTriggerMessageCount","taskCount","fetchPhoneRegistrationStatus","twilioApi","campaignStatus","brandStatus","random","localdealfilter","addtoDb","pipeId","isFilter","localtaskfilter","hideNavigationRaw","se","async","onload","onreadystatechange","this","readyState","getElementsByTagName","parentNode","insertBefore","executeScriptForTeamSupportWidget","intercormWidgetLauncher","getElementsByClassName","intercormWidgetBody","teamSupportWidget","teamSupportBody","hideElementById","hideElementsByClassName","messageReceived","SmsAudio","play","conversationReadOrUnread","logoutOtherTabs","handleDealsFilter","handleTaskFilter","backDrop","handleDrawerOpenHide","show","hideShowTeamSupport","Backdrop","onFocus","PublishLayout","centerAlign","CreditHistoryTable","usageHistory","isError","Content","utcTime","usageType","creditsUsed","creditsRemaning","Loading","Account","fixedHeightPaper","isCreditDrawerOpen","setIsCreditDrawerOpen","useQuery","isDealerPhoneSettingLoading","dealerPhoneSetting","refetchDealerPhoneSetting","refetch","initialData","isBracketsLoading","isUsageHistoryLoading","isUsageHistoryError","usageHistoryError","useMutation","isUpdatingDealerCredits","updateDealerCredits","mutateAsync","isUpdatingDealerPhoneSetting","mutate","autoValidate","dealerLocationNickName","handleUpdateDealerCredits","AutoResponderSettingAPI","getAutoResponderSetting","updateAutoResponderSetting","autoResponder","days","AutoResponder","autoResponderSettings","setAutoResponderSetting","accordionsStatus","setAccordionsStatus","idx","newSettings","accordionsOpenState","fetchAutoResponderSetting","autoResponderSetting","newAccordions","handleAccordionChange","isEnabled","duringHoursMessage","afterHoursMessage","EditDepartmentDrawer","setDepartment","Istextboxdisabled","setIstextboxdisabled","defaultDealerLocation","notOneOf","fetchDepartment","DepartmentForm","setSubmitting","NewDepartmentDrawer","PhoneRegistrationDrawer","onDataLoad","setBusinessTypes","setJobPositions","notPhone","phoneError","setPhoneError","dealerIdCrm","setSubmissionStatus","registrationStatus","setRegistrationStatus","registrationFailedReson","setregistrationFailedReson","registrationIdentifier","setRegistrationIdentifier","companyName","businessTitle","region","ein","businessIdentifier","businessType","website","startsWith","profileData","bussinessIdentifier","brandFailedReason","fetchData","Departments","showAddDepartment","setShowAddDepartment","selectedDepartmentId","setSelectedDepartmentId","openTwilioDrawer","setOpenTwilioDrawer","setIsfacebookExpired","isProfileTwilioApproved","setProfileStatus","fetchDepartments","filteredArray","isFacebookTokenExpired","createDepartmentFormValue","createMore","crmUsersIds","editDepartmentFormValue","onEditDepartment","updateDeleteConfirmation","verifyBtn","EmailSetting","appUrl","appendedContent","UnsubscribeInFooter","ReplyTo","FromName","ReplyToName","EmailFooter","handleEditorChange","MessageSignatureAPI","getMessageSignatures","updateMessageSignatures","messageSignatures","General","setCustomerPhoneType","setMessageSignatures","loadingDealerSetting","setLoadingDealerSetting","dealerSettings","custCategory","setCustCategory","custPhoneType","setCustPhoneType","defaultCustomerPhoneTypeId","defaultData","locationId","defaultPhoneTypeData","fetchCustomerPhoneType","defaultLocationSetting","automaticSurveyDelay","delayInDays","doNotDisturbBroadCast","doNotDisturbSurvey","messageSignature","defaultExpanded","updatedMessageSignatures","ms","handleMessageSignatureChange","animation","easeInOut","titleCount","TagLimit","CustomerTagDrawer","tagProps","newTag","setNewTag","addingTag","setAddingTag","formValuesChanged","setFormValuesChanged","tagError","setTagError","tagErr","tagOption","initialFormValues","currentFormValues","newTagOptions","handleDeleteTagOption","openTagDrawer","setOpenTagDrawer","selectedTagTitle","setSelectedTagTitle","customerTagTitles","setCustomerTagTitles","expandedSections","setExpandedSections","fetchCustomerTagTitles","gutterBottom","prevExpandedSections","handleEditClick","useDepartments","QuickMessageForm","quickMessage","departmentValue","openOnFocus","EditQuickMessageDrawer","quickMessageId","setQuickMessage","fetchQuickMessage","NewQuickMessageDrawer","QuickMessages","quickMessages","setQuickMessages","selectedQuickMessageId","setSelectedQuickMessageId","showCreateDrawer","setShowCreateDrawer","fetchQuickMessages","onEditQuickMessage","departmentLocationName","deleteQuickMessage","EditUserDepartmentDrawer","conversationDepartmentIds","onUpdateDepartment","htmlRef","useFocus","setInputRef","handleDepartmentsChange","oldValues","newValues","newDepartIds","canChangeDepartment","onAnimationEnd","transitionDuration","EditUserRoleDrawer","Roles","setRoles","setSelectedRole","selectedRoleId","fetchRoles","fetchSelectedRole","role","RoleListDrawer","reloadList","setReloadList","onEdit","setSelectedRoleId","deleteModalRoleId","setDelteModalRoleId","selectedDeleteRoleId","setSelectedDeleteRoleId","setUsersCount","setUsersInRole","handleDeleteRole","PermissionList","setPermissions","fetchPermissions","EditRoleDrawer","setRole","fetchRole","RoleForm","NewRoleDrawer","defaultDealerLocationId","setConversationDepartmentIds","selectedRoleUser","setSelectedRoleUser","selectedRole","openRoleDrawer","setOpenRoleDrawer","editDepartloading","setEditDepartloading","editRoleDrawerState","setEditRoleDrawerState","showAddRole","setShowAddRole","departIds","updatedDepartments","createRoleFormValue","editRoleFormValue","onEditUserDepartment","onEditUserRole","handleUpdateRole","openCreateDrawer","openEditRoleDrawer","LeadTextingSettingAPI","getLeadTextingSetting","updateLeadTextingSetting","leadTextingSetting","copiedBtn","Widget","setLeadTextingSetting","fetchLeadTextingSetting","pagePosition","newLeadTextingSetting","useLeadTextingSetting","handleSave","copied","setCopied","buttonText","greetingText","showGreeting","scriptTag","optInStatement","dealers","handlePreview","scriptElement","copyScriptToClipBoard","execCommand","isSelected","TaskTypeForm","taskTypeDepartments","taskCategories","setTaskCategories","getTaskCategoryList","deps","EditTaskTypeDrawer","taskDepartments","NewTaskTypeDrawer","TaskOutcomeForm","taskOutcomeDepartments","EditTaskOutcomeDrawer","NewTaskOutcomeDrawer","TaskboardSetting","selectedTaskType","setSelectedTaskType","selectedTaskOutcome","setSelectedTaskOutcome","showCreateTaskOutcomeDrawer","setShowCreateTaskOutcomeDrawer","fetchTaskTypes","taskboardAPI","fetchTaskOutcomes","taskCategory","onEditTaskType","onEditTaskOutcome","dealPiplineWindow","pipeLineEditIcon","pipeLineClearIcon","pipleLineBox","stageCard","clipPath","stageCardDeleteIcon","stackDivider","deletePipelineBtn","DealPipeLinesAPI","getPipelines","AddUpdatePipelines","DeletePipeline","currentReason","SetCurrentReason","currentId","SetCurrentId","SetSpinner","rowId","setRowId","showEditSpinner","setEditSpinner","ReasonError","setReasonError","StyledTableCell","tableCellClasses","head","StyledTableRow","SetReason","reasonObj","EditReason","ManageLeadSource","LeadTags","setLeadTags","currentValue","SetCurrentValue","showAddSpinner","setAddSpinner","showDeleteSpinner","setDeleteSpinner","LeadError","setLeadError","isEdit","setIsEdit","SetLeadTag","leadTagObj","leadTagId","leadDescription","leadTag","EditLeadTags","DealPipeLines","pipeLinesList","setNewPipeLineStage","showLostDealDrawer","SetLostDealDrawer","showLeadSourceDrawer","SetLeadSourceDrawer","AgingAlertThresholdDays","fetchPipelines","dealsExist","containDeals","setEnableEditPipelineName","index1","enableEdit","pipeLines","enableEditName","validatePipelines","updated","indexWithEmptyName","_pipelineName","targetWebLeads","pipelineLocations","emptyStagePipeline","emptyStage","ValidatePipeLineStages","DepartmentChip","newPipeline","generateEmail","isAging","agingAlertThreshold","scrollIntoView","behavior","pipeLine","updatePipeLineName","changedDepartmentIds","removedPipeline","handlePipeLineDepartmentsChange","setGeneratePipelineEmail","setEnableTargetWebLeadsToggle","setAgingAlertToggle","handlePipeLineLocationsChange","flexItem","index2","deletePipeLineStage","hiddenLabel","updatePipeLineStageName","pipelineStageLength","newStage","addPipeLineStage","GetPaymentSettings","fetchPaymentSettings","updatePaymentSettings","paymentsData","GravityPaymentSettings","loadingLoc","setLoadingLoc","alterFormikPaymentsData","paymentValues","paymentValue","oid","secretPhrase","allowGiftCards","allowTextToPay","isSandbox","merchantKey","merchantName","savePaymentSettings","PaymentSettings","paymentGateway","formikValues","paymentResponse","paymentDataList","getLocations","alignContent","AdyenPaymentSettings","renderSettings","Setting","tabsArray","CenteredTabs","flexContainer","hash","currentTab","Facebook","Google","useSurveyFormMessageStyle","socialBtn","SurveyFormMessage","facebookUrl","googleUrl","pnpMessage","detractorMessage","EmojiPicker","ClickAwayListener","onClickAway","EmojiTextField","onTextChange","textFieldProps","inputValue","setInputValue","PhoneNumberMask","useNPSButtonStyles","IconContainer","useNpsRatingStyles","rating","slider","marks","OpinionScaleField","notMobile","myValue","setMyValue","debouncedcallback","LeftLabel","rightLabel","labels","ratingDefaultValue","sliderDefaultValue","ratingField","Slider","valueLabelDisplay","step","Rating","IconContainerComponent","useHandleTextWithEnter","onNext","charCode","ShortTextQuestionField","handleOnChange","LongTextQuestionField","EmailQuestionField","PhoneNumberField","DateQuestionField","utils","DateFnsUtils","disableToolbar","inputVariant","KeyboardButtonProps","QuestionField","SelectedQuestionField","QuestionFieldTitle","questionTitle","QuestionType","QuestionCategory","questionTypes","shortText","ShortTextIcon","longText","EmailIcon","PhoneIcon","nps","DateRangeIcon","popover","NewQuestionBlock","questionTypeList","handleItemClick","disableRestoreFocus","SelectedNpsRating","selectedNps","ratingTitle","SurveyProgressBar","percentage","progressBarTitle","useSurveyForm","currentIndex","setCurrentIndex","categorizedQuestions","setCategorizedQuestions","currentQuestion","setCurrentQuestion","onNextQuestion","getRatingCategory","answer","PromotersAndPassive","Detractors","groupedQuestions","cQ","selectedQuestion","ratingAnswer","currentCategory","goNext","newQuestions","ratingCategory","PnPCount","DCount","goNextOnRatingQuestion","navigation","isNext","isPrev","showSubmit","PromotersAndPassiveQuestionsCount","DetractorsQuestionCount","getNavigation","totalQuestions","completedQuestions","getProgress","ratingQuestion","responses","questionId","PnpQuestions","DetractorQuestions","q","useSurveyPaperStyles","navigationButtons","submitButton","SurveyForm","questionNumber","currentAnswer","handleNextQuestion","handlePreviousQuestion","handleSurveySubmit","renderNavigation","renderCurrentQuestion","Fade","useDealerSettings","dealerLogo","setDealerLogo","dealerGoogleUrl","setDealerGoogleUrl","dealerFacebookUrl","setDealerFacebookUrl","dealerLocationSetting","useDealerLogoStyles","DealerLogo","SurveyHeader","dealerLogoUrl","SurveyFormLoader","SurveyPreview","setSurvey","setSubmitted","submittedCategory","setSubmittedCategory","fetchSurvey","selectSurveyLocationSetting","settingDealerId","surveyFormMessage","isGoogleReviewActive","googleReviewUrl","isFacebookReviewActive","facebookReviewUrl","passiveNPromotersReviewMessage","detractorsReviewMessage","NewSurveyCard","SurveyStatus","cardContent","SurveyCard","onDeactivate","onActivate","onResults","closeActionMenu","handleCardClicked","Drafted","surveyType","isAutomated","Deactivated","Automated","InActive","indigo","getStatusStyle","surveyToolTip","isNpsInvalid","cardAction","isEditable","isDeactivateAble","totalSurveySent","SurveysHeader","SurveysPage","surveys","setSurveys","selectedSurveyId","setSelectedSurveyId","showNewSurveyDrawer","setShowNewSurveyDrawer","fetchSurveys","surveyLocation","handleEdit","handleDeactivate","handleActivate","handleResults","SurveyMessage","block","contentBlock","number","QuestionBlock","questionType","$enum","getKeyOrThrow","QuestionTypeIcon","QuestionPanelSubTitle","SurveyQuestions","tabLabels","selectedQuestions","tabLabel","useSurveySettings","customSelect","ITEM_HEIGHT","surveyHourSeedData","SurveySettings","CustomerDetailsDrawer","Angry","AngrySvg","Smile","SmileSVG","Neutral","NeutralSVG","useFeedbackResponseListStyles","borderRight","tabpanel","QuestionFeedbackDisplayBlock","ButtonIcon","formattedAnswer","CustomerReactionIcon","SurveyFeedback","onCustomerClick","verticalTabIndex","setVerticalTabIndex","customerNpsGroupFilter","setCustomerNpsGroupFilter","timeFilter","setTimeFilter","feedbackFilteredList","f","customerNpsGroup","feedbackDate","submissionTime","ListItemAvatar","feedbackItem","DataCard","postFix","SurveySummary","summary","selectedCrmCustomerId","setSelectCrmCustomerId","fetchSurveyFeedbackSummary","noResponse","NoResponse","renderItem","SurveyThankYouPageSetting","PnPLocationSettingPanel","DetractorLocationSettingPanel","useStylesLocationSetting","FacebookSwitch","GoogleSwitch","actionFabButtons","actionFab","colors","SurveyPage","setTabIndex","getHash","useSurveyPageTab","showSurveyPreview","setShowSurveyPreview","debouncedSave","saveSurveyApi","surveyDisabled","automaticSurvey","areFabButtonsVisible","handleSettingChange","newSurvey","sur","getSurveyLocations","surveyLocationId","newSurveyLocations","isCompleted","isSubmittable","savingFeedback","errorFeedback","feedbackSubmitted","publishedSurvey","getPublishedSurveyStarted","getPublishedSurveySuccess","getPublishedSurveyFailure","savingFeedbackStart","savingFeedbackError","savingFeedbackSuccess","setLoader","PublishedSurvey","setRatingCategory","feedbackSaving","requestObject","setbuttonClicked","publishedSurveyUrl","origin","bullet","pos","Unsubscribe","setDisabled","handleUnsubscribe","NewCard","actions2","segmentDescription","isDefined","isArray","deleteFilter","segmentTemp","states","zipCodes","zipCodesInRadius","noSaleOption","noSaleOptionValue","manufacturerCodes","customerCategoryIds","amountSpent","AddFilterChip","SuccessCheck","ErrorCancel","columns","formattedPhoneNumber","twilioVerificationStatus","invoiceNumber","customTable","buttonColumn","SetSelectedRow","selectedInvoiceId","SetSelectedInvoiceId","setOpenInvoiceDrawer","classNameSelected","invoiceDealerId","US_CANADA_PROVINCES","Provinces","province","button1","PeriodOptions","formatLabel","value2","v","InvoiceOptions","NoSaleOptions","CustomerGroupFilterDrawer","addFilter","manufacturers","defaultDealerId","invoiceTypes","allInvoiceOptionsSelected","setAllInvoiceOptionsSelected","invoiceCalendarOption","InvoiceTimeFrameTabValue","setInvoiceTimeFrameTabValue","noSaleCalendarOption","crossSellTabValue","setCrossSellTabValue","crossSellError","setCrossSellError","oneOf","fromMonth","modelNumber","invoiceFrom","validateDateRange","parent","invoiceTo","noSaleFrom","noSaleTo","_customerTags","flatMap","setStaticCustomerTags","parseISO","manufacturerId","short","noInvoice","phoneArray","setPhoneArray","uploadText","SetUploadText","partNumberSearchQuery","setPartNumberSearchQuery","partNumberSuggestions","setPartNumberSuggestions","partNumberLoading","setPartNumberLoading","minimumSpent","setMinimumSpent","staticCustomerTags","allLocationsSelected","setAllLocationsSelected","numberValidated","validatePhoneNumber","periodMonthValidated","validatePeriodMonth","dateError","field","locationError","dealerIds","submittedData","elUpload","locationObjects","availableLocation","onlyNoInvoice","cancelLastPartNumberSuggestionsCall","fetchPartNumberSuggestions","hasMoreThanTwoDecimalPlaces","validateDate","handleLocationChange","handleStateChange","allInvoicesSelected","otherValues","handleInvoiceTypesChange","minimumAmountSpent","isInteger","handleAmountSpent","handleMinimumSpentState","handleManufacturerChange","freeSolo","nonEmptyValues","filterSelectedOptions","handleCustomerCategoryChange","handlePhoneTagDelete","ClickAbleChip","ClickAbleWrapChip","FilterChip","getCustomerCategoryName","getManufacturerCode","CustomerCategoryReadOnly","handleOnDelete","op","invoiceLabels","NestedChip","subLabels","IsPhone","dateFrom","dateTo","zipCodeInRadius","paperContainer","exportToCSVLabel","segmentDealerId","isReadOnly","customOutline","defaultSelect","labelLink","myColumn","myColumnMini","myColumnMiniX","SurveyStatistics","menuPaper","promoters","selectMe","textDecorationLine","lastSurveyIds","ValidateLogin","URL","searchParams","PrivateRoute","isAuthenticated","restProps","path","filtered","pageName","pageToRoute","routeRenderProps","PublicRoute","PublishRoute","Taskboard","debouncedSearchTask","taskSearchText","tasksBoardUpdated","UpdatePersistentFilterState","GetInvetoryByParts","sanitizeString","mySelect","myInput","lastPLSearch","InventoryPart","openLocatorDrawer","SetOpenLocatorDrawer","companyId","SetCompanyId","SetDealerId","SetSearchText","advSearch","SetAdvSearch","SetData","SetTotalRows","openDrawer","partnumber","SetPartNumber","partDescription","SetPartDescription","lineCode","wgStatus","Availability","SetAvailability","line","SetLine","LocationId","SetLocationId","anchorModelHelper","SetAnchorModelHelper","openModelHelper","SetOpenModelHelper","showWorking","SetShowWorking","SetshowFilter","plCount","setPLCount","plOptIn","setPlOptIn","GetDmsDealerId","GetDealerData","DealerData","GetLocationData","objData","PageNumber","PageSize","SearchPartNumber","SearchPartDescription","SearchManufacturerId","SearchManufacturerCode","StockingOnly","GroupByPart","SearchPartId","MinAvailableQty","SortBy","Search","queryx","Data","PLSearchCount","OpenCloseFilter","OnLineChange","OnLocationChange","ApplyChanges","SearchData","GetCompanyData","CompanyDealerId","_dealerId","OptInPL","GetPLOptIn","Line","ManufacturerId","Location","MfrName","PartNumber","AvailableQty","navigator","language","IsPartManufacturer","showMore","disableSortBy","sortable","lastPriceFilterMessage","InventoryWG","searchLine","SetSearchLine","minAmount","SetMinAmount","maxAmount","SetMaxAmount","setModel","modelDescription","setModelDescription","stockNumber","SetStockNumber","SetSerialNumber","SetWGStatus","condition","SetCondition","anchorElPriceFilter","SetAnchorElPriceFilter","openLineSearch","SetOpenLineSearch","openPriceFilter","SetOpenPriceFilter","Code","selectedLine","SetSelectedLine","_totalRows","Env","CheckNumber","xType","OnConditionChage","OnStatusChage","HandleOnKeyUp","handlerModelHelper","GetLines","IsWholegoodManufacturer","filterRow","handleRowLineClick","onKeyUp","WGStatus","StatusId","_minAmount","_maxAmount","FilterString","LineName","Age","used","Used","ModelDescription","SerialNumber","StockNumber","Inventory","queryType","SetQueryType","AssignDealDrawer","assignValues","FilterDealDrawer","loadingDeals","filterUserIds","leadTags","defaultFilterValues","setFilter","exportDeals","dealsContext","enableFilter","setEnableFilter","filterLocation","ages","setAges","statuses","filterAge","SetAge","filterStatus","SetStatus","filterUsers","creationDateStart","setCreationDateStart","creationDateEnd","setCreationDateEnd","closureDateStart","setClosureDateStart","closureDateEnd","setClosureDateEnd","isAged","setIsAged","setIsFavorite","setLeadTagId","transientFilter","filterRequest","disableFuture","MoveDealDrawer","selectedPipelineId","setSelectedPipelineId","onCloseDrawerHandle","changeDealsPipeline","DealsApi","selectedpipelineId","selectedFilters","VideoCallState","LocalParticipant","participant","videoTrackEnable","audioTrackEnable","setVideoTrackEnable","setAudioTrackEnable","videoTracks","setVideoTracks","audioTracks","setAudioTracks","videoRef","audioRef","trackpubsToTracks","trackMap","publication","track","videoTrack","removeAllListeners","attach","detach","audioTrack","enable","disable","userInfo","identity","autoPlay","RemoteParticipant","trackpubsToTracksAudio","trackUnsubscribed","borderTopRightRadius","borderBottomRightRadius","borderTopLeftRadius","borderBottomLeftRadius","darkTheme","createTheme","mode","VideoCall","AboutToStart","callStatus","setCallStatus","room","setRoom","participants","setParticipants","setToken","enableVideo","setVideoEnable","enableAudio","setAudioEnable","selectedAudioTrack","setSelectedAudioTrack","selectedVideoTrack","setSelectedVideoTrack","userType","setUserType","participantConnected","participantDisconnected","createLocalTracks","audio","deviceId","video","tracks","connect","localParticipant","publish","GetToken","Started","StartCall","unpublish","disconnect","mediaDevices","enumerateDevices","devices","ThemeProvider","disableElevation","VideocamOff","sid","Ended","VideoCallRoute","UserToggles","handleToggle","notifState","dailySms","notiMsg","taskNotif","leadNotif","convoNotif","detracNotif","paymentNotif","FormLabel","dealerApi","UserProfileAPI","getUserData","updateUserProfile","userEmailandChecks","StyledBadge","backimg","backgroundImage","backgroundSize","backgroundPosition","UserProfileHeader","UserProfile","userData","setUserData","setNotifState","userSignature","saveCrmUserData","dailySMSReportEmail","notifyMessageEmail","leadAssignedNotification","taskAssignedNotification","conversationAssignedNotification","detractorNotification","paymentReceivedNotification","crmUserEmailAndData","getCrmUserData","overlap","xl","PaymentApi","fetchRemotePayments","remotePaymentRequest","TablePaginationActions","selectionFilterOptions","buttonSelected","reviewHubBar","barInfoIcon","customerURL","dealerURL","getCustomersForReviewHub","toggleDealerIsReviwHubSetting","CustomerReviewHubTable","setIsReviewHubEnabled","setCurrentPage","setCount","apiLoader","setApiLoader","fetchCustomersForReviewHub","CustomerReviewHubAPI","customersReviewHubResp","customerStatus","CustomersHubFloatingBar","enabled","handleIsReviwHubChange","titleAccess","CustomersReviewHub","setCustomerSearchText","TextAutomation","privateRoutes","TaskBoard","exact","surveyData","SetSurveyData","SurveyStatisticsData","SetSurveyStatisticsData","SetPageNumber","SetRowsPerPage","filterType","SetFilterType","keywordSearch","SetKeywordSearch","showPagination","SetShowPagination","dealerLocationIds","SetDealerLocationIds","surveyIds","SetSurveyIds","surveysData","SetSurveysData","ResetLocation","ctd","GetDealerLocation","GetSurveyQuery","rowsCount","_surveyIds","LocationIds","ResponseType","Keyword","Offset","SurveyIds","Rows","GetSurveyData","customerOnly","surveyInboxResponses","totalRowCount","dataJson","xstartDate","ResponseCount","Detractor","DetractorPercentage","Passive","PassivePercentage","Promoters","PromotersPercentage","LoyaltyScore","surveyDateTime","updatedAt","score","surveyTitle","labelDisplayedRows","handlerDownloadCSV","disableUnderline","OnLocationFilterChange","Input","ct","innerHeight","keyId","OnSurveyChange","HandleSearchDataChange","group","searchType","SetSearchType","searchData","SetSearchData","searchType2","searchData2","setInvoiceType","invoiceType2","setInvoiceType2","SetShowFilter","orderByDirection","setOrderByDirection","SetAmountSpent","SetDealerLocationId","isDealerLocation","SetIsDealerLocation","customerTypes","SetCustomerTypes","innerWidth","windowWidth","SetWindowWidth","customerTypeData","withInRadius","handleResize","GetJson","forExportData","_withInRadius","_amountSpent","RowsCount","GetManufacturers","handleSortChange","cleanupAndUpdateValues","cleanedWithinRadiusValue","floor","DisplayInvoiceId","DisplayCustomerName","DisplayAddress","LocationName","downloadData","BackdropProps","ModalProps","CustomerPage","setDefaultSearch","setPhoneNumber","customerIdFromQuery","phoneNumberFromQuery","getAndSetCustomerCrmId","MessageTemplatePage","SurveyCustomersGroup","BroadcastCustomersGroup","handleCustomerGroupClick","customerSegmentId","filteredCustomerGroups","openFilterDrawer","setOpenFilterDrawer","setCustomerGroup","customersCount","setCustomersCount","loadingCustomerGroup","setLoadingCustomerGroup","loadingCustomers","setLoadingCustomers","savingCustomerGroup","setSavingCustomerGroup","isDownLoadingCsv","setIsDownLoadingCsv","setManufacturers","manufacturerMap","setManufacturerMap","manufacturer","fetchManufacturers","useManufacturer","setCustomerCategories","customerCategoriesMap","setCustomerCategoriesMap","fetchCustomerCategories","useCustomerCategories","SetSearchSegment","SetEmailOrSms","updateCustomers","initialCustomerGroup","createdByUser","segmentSearch","customerGroupId","GetSegmentId","customerSearch","onFilterChange","updatedCustomerGroup","elUploadFile","customerGroupUpdated","previewSegmentId","handleOpenAddFilterDrawer","handleDeleteFilter","filterItem","SearchSegment","fetchCustomerGroupNCustomers","filterList","onlyNoInvoiceSelected","parseSegment","isNewSegment","headerText","GetHeaderText","localDealFilter","localFilterData","persistFilter","isCurrentUserAdmin","pipeAvailable","setPipelineAvailable","loadingPipline","setLoadingPipeline","setColumns","dealsTotalAmount","setTotalAmount","searchValue","setSearchValue","setPipelineId","disablePipelineDD","setDisablePipelineDD","setPipelineDepartments","filterState","setFilterState","addDealDrawerState","setAddDealDrawerState","assignDealDrawerState","setAssignDealDrawerState","moveDealDrawerState","setMoveDealDrawerState","filterDealDrawerState","setFilterDealDrawerState","filterApplyStatus","setFilterApplyStatus","setDealFavorite","columnId","itemId","col","dealItems","SumDealsAmount","assignedTo","SumDealsCount","selectedContent","getSelectedContent","sumContent","SumDealsTotalAmount","dealPipelines","sumDeals","totalDeals","GetDealsList","pipelineIdFromQuery","openDealUsingQueryParamDealId","setItemSelection","openDealEditDrawer","dealIdFromQuery","dealObj","pId","selectedDealsId","GetDeals","dealsBoardUpdated","faArrowCircleRight","marginInline","faUserPlus","faDollarSign","faCancel","faRotateLeft","onDragEnd","destination","droppableId","sourceColumn","destColumn","sourceItems","destItems","removed","k","currentDealPositionChangeDate","prevDealPositionChangeDate","positionChangeDate","nextDealPositionChangeDate","pipelinestageId","positionType","nextStageDealIds","copiedItems","dateA","dateB","provided","snapshot","droppableProps","innerRef","isDraggingOver","isDragDisabled","draggableId","showActions","setShowActions","draggableProps","dragHandleProps","isDragging","productDetails","dealTypeId","styleClass","setIsFetching","remotePayments","setRemotePayments","MessengerDrawerCustomerId","SetMessengerDrawerCustomerId","SetBackDrop","TODAY","activeButton","setActiveButton","setDateRange","openMessenger","numericCustomerId","getCrmCustomerId","openCustomerDetail","handleFetchRemotePayments","Page","newResponse","gravityResult","moreInfo","inlineSize","YESTERDAY","sub","THIS_WEEK","startOfWeek","endOfWeek","LAST_WEEK","weeks","THIS_MONTH","startOfMonth","endOfMonth","LAST_MONTH","months","YTD","startOfYear","totalAmountProcessed","totalApprovedTransactions","totalDeclinedTransactions","APPROVED","CANCELED","VOIDED","customerID","organization","transactionReference","paymentPageUrl","requestDate","transactionDate","maskedAccount","gap","PENDING","paymentType","showLoaderOnConfirm","preConfirm","allowOutsideClick","ActionsComponent","dataAutomation","SetDataAutomation","dataLogs","SetDataLogs","dataLogsEmail","SetDataLogsEmail","dataEmailsReadyToSend","SetDataEmailsReadyToSend","dataSMSReadyToSend","SetDataSMSReadyToSend","SetDealerName","selectedRowCopy","SetSelectedRowCopy","editDealer","SetEditDealer","counter","SetCounter","dataWOStatus","SetDataWOStatus","disableLocStatus","setDisabledLocStatus","hideDeletebutton","SetHideDeletebutton","textareaSubject","DmsDealerId","TriggerStatusCode","GetAllDepartments","locIds","fulfilledPromises","copyRow","assign","TextMessage","columnName","isStatusPresentInLocation","MessageType","GetOpenOrderStatuses","EditSetting","MessageTypeDescription","EmailSubject","MessageDescription","MessageSignature","GetEmailLogs","GetEmailsReadyToSend","GetSmsLogs","GetSMSReadyToSend","From","JobId","OrderStatus","InvoiceID","JobStatus","PhoneNumberDepartment","PhoneNumberCustomer","DelayMessage","insertInMessageSubject","SaveChanges","publicRoutes","LoginPage","videoCallRoutes","ShareRoutes","Routes","allowedRoutesPath","publicRoutesPath","videoCallRoutesPath","listen","shareRoutesPath","PublicLayout","publicRoute","DashboardLayout","privateRoute","light","A400","blueGrey","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","overline","CustomTheme","notificationDrawer","overrides","MuiSwitch","colorSecondary","colorPrimary","switchBase","appHistory","createBrowserHistory","persistedState","preloadedState","system","configureStore","reducer","dealerEmailReducer","authenticationReducer","dealerPhoneReducer","customerReducer","drawerReducer","snackbarReducer","notificationReducer","customerValidationReducer","publishedSurveyReducer","taskReducer","devTools","subscribe","SlideTransition","Slide","queryClient","QueryClient","App","FallbackComponent","onReset","QueryClientProvider","client","maxSnack","useDispatch","useSelector","ReactDOM","getGlobal","global","tinymce"],"mappings":"oHAAA,SAASA,EAAoBC,GAC5B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBF,EAAM,KAEjD,MADAC,EAAEE,KAAO,mBACHF,EAEPF,EAAoBK,KAAO,WAAa,MAAO,IAC/CL,EAAoBM,QAAUN,EAC9BO,EAAOC,QAAUR,EACjBA,EAAoBS,GAAK,M,iKCDnBC,EAA8B,CAClCC,UAAMC,EACNC,QAAS,IAELC,EAAgBC,YAAY,CAChCC,KAAM,WACNN,eACAO,SAAU,CACRC,aAAc,SAACC,EAAOC,GAAR,MAAoB,CAChCT,KAAMS,EAAOC,QAAQV,KACrBE,QAASO,EAAOC,QAAQR,UAE1BS,aAAc,SAACH,GAAD,OAAWT,MAItB,EAAuCI,EAAcS,QAA7CL,EAAR,EAAQA,aAAcI,EAAtB,EAAsBA,aAEdR,IAAf,Q,OClBA,SAASU,EAAMC,GACb,OAAO,cAAC,IAAD,aAAUC,UAAW,EAAGC,QAAQ,UAAaF,IAG/C,IAuBQG,EAvBa,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aACA,aACA,aACA,YACA,aACA,eACA,YACA,iBACA,gBACA,mBACA,gBACA,YACA,aACA,gBACA,4BACA,mCACA,qBACA,yBACA,iBACA,gBACA,gBACA,yBACA,yBACA,gBACA,gBACA,iCACA,iCACA,+BACA,2BACA,gBACA,oBACA,yBACA,oBACA,oBACA,qBACA,uBACA,qCACA,qCACA,gBACA,wBACA,iCACA,qBACA,iBACA,uBACA,YACA,YACA,aAEoBzc,QAAQyc,IAAa,EAyWvCorE,CAAQprE,GACH4qE,GAAUS,MAvWrB,SAAiBrrE,GAwFf,MAvFuB,CACrB,iCACA,aACA,cACA,gBACA,YACA,cACA,cACA,aACA,WACA,iBACA,gBACA,aACA,gBACA,aACA,aACA,kBACA,kBACA,aACA,kBACA,iBACA,aACA,oBACA,aACA,iBACA,YACA,aACA,aACA,aACA,YACA,gBACA,YACA,sBACA,WACA,YACA,kBACA,gBACA,kBACA,kBACA,YACA,yBACA,oBACA,YACA,aACA,iBACA,kBACA,eACA,YACA,YACA,iBACA,oBACA,wBACA,qBACA,oBACA,oBACA,uBACA,yBACA,6BACA,0BACA,qBACA,gBACA,sBACA,uCACA,uCACA,uCACA,uCACA,6BACA,+BACA,2BACA,4BACA,oBACA,mCACA,yCACA,wBACA,4BACA,wBACA,+BACA,kCACA,yBACA,yBACA,uBACA,qCACA,qBACA,uBACA,iBACA,aAEoBzc,QAAQyc,IAAa,EAiRvCsrE,CAAQtrE,GACH4qE,GAAUW,MA/QrB,SAAiBvrE,GAgKf,MA/JuB,CACrB,iCACA,iBACA,aACA,cACA,YACA,YACA,YACA,eACA,gBACA,aACA,YACA,gCACA,gBACA,eACA,cACA,aACA,aACA,kBACA,WACA,cACA,YACA,qBACA,qBACA,qBACA,qBACA,WACA,aACA,aACA,iBACA,aACA,iBACA,cACA,cACA,cACA,eACA,eACA,eACA,gBACA,gBACA,eACA,gBACA,gBACA,YACA,gBACA,gBACA,eACA,eACA,aACA,cACA,aACA,aACA,gBACA,gBACA,gBACA,gBACA,aACA,aACA,cACA,cACA,cACA,YACA,gBACA,kBACA,aACA,mBACA,WACA,YACA,YACA,YACA,YACA,aACA,gBACA,iBACA,iBACA,aACA,mBACA,YACA,YACA,kBACA,mBACA,aACA,sBACA,YACA,aACA,kBACA,aACA,gBACA,aACA,gBACA,gBACA,kBACA,YACA,yBACA,oBACA,iBACA,YACA,aACA,YACA,aACA,gBACA,aACA,gBACA,cACA,cACA,YACA,wBACA,oBACA,uBACA,aACA,eACA,gBACA,eACA,aACA,aACA,eACA,sBACA,gBACA,qBACA,iBACA,sBACA,+BACA,qBACA,qBACA,uBACA,0BACA,sBACA,0BACA,0BACA,sBACA,sBACA,sBACA,uBACA,uBACA,0BACA,gBACA,gBACA,mBACA,oBACA,qBACA,uBACA,sBACA,yBACA,mCACA,6BACA,uBACA,4BACA,4BACA,4BACA,sBACA,gCACA,kBACA,8BACA,gBACA,sCACA,qBACA,eACA,uBAEoBzc,QAAQyc,IAAa,EAiHvCwrE,CAAQxrE,GACH4qE,GAAUa,MA/GrB,SAAgBzrE,GAwFd,MAvFsB,CACpB,gCACA,sBACA,gBACA,WACA,sBACA,sBACA,WACA,WACA,kBACA,iBACA,WACA,kBACA,gBACA,eACA,gBACA,eACA,cACA,YACA,wBACA,YACA,kBACA,eACA,gBACA,aACA,UACA,kBACA,iBACA,2BACA,2BACA,qBACA,sBACA,iBACA,WACA,sBACA,WACA,wBACA,mBACA,WACA,YACA,cACA,YACA,eACA,YACA,4BACA,aACA,cACA,cACA,gBACA,aACA,aACA,eACA,qBACA,gBACA,4BACA,0BACA,wBACA,qCACA,sBACA,eACA,wBACA,eACA,oBACA,gBACA,eACA,qBACA,qBACA,uBACA,qBACA,mBACA,2BACA,2BACA,wCACA,qCACA,2BACA,2BACA,mCACA,gBACA,8BACA,kBACA,kBACA,mBACA,yBACA,WACA,WACA,mCAEmBzc,QAAQyc,IAAa,EAyBtC0rE,CAAO1rE,GACF4qE,GAAUD,KAhdrB,SAAe3qE,GAYb,MAXqB,CACnB,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jB14H,MAAQ24H,IAEVC,SAAgC,eAAtBhhL,GAAOsB,IAAI,OACrB4+K,oBAIFjgL,GAAMghL,WAAU,WACd,IAAQ9gL,EAASF,GAAMC,WAAfC,KAIRuG,GAHc,CACZy5K,OAAQhgL,O,uCC1BZ,SAAS+gL,GAAgBhjL,GACvB,OAAO,cAACijL,EAAA,EAAD,2BAAWjjL,GAAX,IAAkBuR,UAAU,UAGrC,IAAM2xK,GAAc,IAAIC,IAqCTC,GAlCO,WACpB,IAAM1jL,EAAQqC,GAAMC,WAAWC,KAC/B,OACE,cAAC,iBAAD,CACEohL,kBAAmBp5D,GACnBvtD,QAAS,SAACn6D,EAAOwW,GACf9V,QAAQ4B,IAAI,gBAAiBtC,GAC7BkV,GAAUqB,SAASvW,EAAOwW,EAAeA,eAAgBrZ,IAE3D4jL,QAAS,aANX,SASE,cAACC,EAAA,EAAD,CAAqBC,OAAQN,GAA7B,SACE,cAAC,IAAD,CAAUnhL,MAAOA,GAAjB,SACE,eAACgiK,EAAA,EAAD,CAAe/3J,MAAOs1K,GAAtB,UACE,cAAC,EAAYngL,iBAAb,CACEsiL,SAAU,EACVlpH,oBAAqByoH,GACrBniL,aAAc,CACZC,SAAU,SACVC,WAAY,SALhB,SAOE,cAAC,IAAD,CAAQ6P,QAASixK,GAAjB,SACE,cAAC,GAAD,QAGJ,cAAC,EAAD,cCpDNxhL,GAAiB,kBAAMqjL,eACvBpjL,GAAkDqjL,I,iBCAxDC,EAASh8J,OAAO,cAAC,GAAD,IAASle,SAASu0D,eAAe,U,kCCJjD,gBAAM4lH,EAAY,iBAA8B,qBAAX/9K,OAAyBA,OAASg+K,GAQxDzoJ,IANI,WACjB,IAAMyoJ,EAASD,IAEf,OAAOC,GAAUA,EAAOC,QAAUD,EAAOC,QAAU,Q","file":"static/js/main.4464a146.chunk.js","sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nmodule.exports = webpackEmptyContext;\nwebpackEmptyContext.id = 1193;","import { createSlice } from '@reduxjs/toolkit';\r\n\r\nexport interface SnackbarState {\r\n type: 'success' | 'info' | 'warning' | 'error' | undefined;\r\n message: string;\r\n}\r\n\r\nconst initialState: SnackbarState = {\r\n type: undefined,\r\n message: '',\r\n};\r\nconst snackbarSlice = createSlice({\r\n name: 'snackbar',\r\n initialState,\r\n reducers: {\r\n showSnackbar: (state, action) => ({\r\n type: action.payload.type,\r\n message: action.payload.message,\r\n }),\r\n hidesnackbar: (state) => initialState,\r\n },\r\n});\r\n\r\nexport const { showSnackbar, hidesnackbar } = snackbarSlice.actions;\r\n\r\nexport default snackbarSlice.reducer;\r\n","import { makeStyles, Snackbar, Theme } from '@material-ui/core';\r\nimport MuiAlert, { AlertProps } from '@material-ui/lab/Alert';\r\nimport React, { ReactElement } from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\n\r\nimport { hidesnackbar } from './snackbar-slice';\r\n\r\nfunction Alert(props: AlertProps): ReactElement {\r\n return ;\r\n}\r\n\r\nexport const RootSnackbar = (): ReactElement => {\r\n const dispatch = useAppDispatch();\r\n const { message, type } = useAppSelector((state) => state.snackbar);\r\n\r\n let open = true;\r\n const handleOnClose = (): void => {\r\n dispatch(hidesnackbar());\r\n };\r\n\r\n if (type === undefined) open = false;\r\n\r\n return (\r\n \r\n \r\n {message}\r\n \r\n \r\n );\r\n};\r\nexport default RootSnackbar;\r\n","import { SnackbarProvider } from 'notistack';\r\nimport React from 'react';\r\nimport { useAppDispatch } from 'app';\r\n\r\nimport { showSnackbar } from 'components/root-snackbar';\r\n\r\ninterface SnackbarProps {\r\n type: 'success' | 'error' | 'info'|'warning';\r\n message: string;\r\n}\r\nfunction useSnackBar(): [(props: SnackbarProps) => void] {\r\n const dispatch = useAppDispatch();\r\n const show = React.useCallback(\r\n (props: SnackbarProps): void => {\r\n dispatch(showSnackbar(props));\r\n },\r\n [dispatch],\r\n );\r\n return [show];\r\n}\r\n\r\nconst AppSnackbar = {\r\n SnackbarProvider,\r\n useSnackBar,\r\n};\r\n\r\nexport default AppSnackbar;\r\n","enum Status {\r\n idle = 'idle',\r\n loading = 'loading',\r\n failed = 'failed',\r\n succeeded = 'succeeded',\r\n}\r\n\r\nexport default Status;\r\n","import axios from 'axios';\r\nimport { store } from 'app';\r\nimport config2 from 'config';\r\nimport { refreshTokenUser } from 'components/authentication/components/authentication-slice';\r\nimport { showSnackbar } from 'components/root-snackbar';\r\nconst apiClient = axios.create({});\r\nlet refreshTokenCalled = false;\r\n\r\napiClient.interceptors.request.use((config) => {\r\n const state = store.getState().user;\r\n if (state.authToken !== undefined && state.authToken !== '' && state.authToken !== null) {\r\n \r\n config.headers = {\r\n ...config.headers,\r\n Authorization: 'Bearer ' + state.authToken,\r\n };\r\n }\r\n return config;\r\n});\r\n\r\napiClient.interceptors.response.use(undefined, async (error) => {\r\n if (error.response) {\r\n try {\r\n const state = store.getState().user;\r\n const { status } = error.response;\r\n\r\n if (status === 401 && !refreshTokenCalled) {\r\n refreshTokenCalled = true;\r\n\r\n if (state && state.refreshToken) {\r\n await store.dispatch(refreshTokenUser({ refreshToken: state.refreshToken })).then((resp) => {\r\n if (resp && resp.payload) {\r\n //TODO: Need to call the un-authenticated API again\r\n // error.config.headers['jwtToken'] = 'Bearer ' + state.authToken;\r\n // return apiClient.request(error.config);\r\n location.reload();\r\n }\r\n });\r\n }\r\n }\r\n if (status == 400) {\r\n if (error.response.data && error.response.data == 'Invalid Refresh Token') {\r\n location.href = '/login';\r\n }\r\n }\r\n if (status === 404) {\r\n // store.dispatch(showSnackbar({ type: 'error', message: 'Something went wrong.' }));\r\n }\r\n if (status === 500) {\r\n // store.dispatch(showSnackbar({ type: 'error', message: 'Something went wrong.' }));\r\n }\r\n } catch (ex) {\r\n console.error(ex);\r\n }\r\n return Promise.reject(error.response.data);\r\n }\r\n if (error.message === 'Network Error') {\r\n }\r\n return Promise.reject(error);\r\n});\r\n\r\nconst { get, post, put, patch, delete: destroy } = apiClient;\r\nexport { get, post, put, patch, destroy };\r\n","import convict from 'convict';\r\nimport convict_format_with_validator from 'convict-format-with-validator';\r\n\r\nconvict.addFormats(convict_format_with_validator);\r\n\r\nconst config = convict({\r\n env: {\r\n doc: 'The application environment',\r\n format: ['local', 'dev', 'qa', 'staging', 'production', 'prodbeta'],\r\n default: 'local',\r\n env: 'REACT_APP_ENV',\r\n },\r\n port: {\r\n doc: 'The port to bind',\r\n format: 'port',\r\n default: 3000,\r\n env: 'PORT',\r\n arg: 'port',\r\n },\r\n app: {\r\n url: {\r\n doc: 'The URL of web app',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_WEB_APP_URL',\r\n },\r\n },\r\n api: {\r\n customer: {\r\n doc: 'The customer service path',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_CUSTOMER_API',\r\n },\r\n messaging: {\r\n doc: 'The messaging service path',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_MESSAGING_API',\r\n },\r\n messaging2: {\r\n doc: 'The messaging2 service path',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_MESSAGING2_API',\r\n },\r\n messagingExternal: {\r\n doc: 'The messaging service path',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_MESSAGING_EXTERNAL_API',\r\n },\r\n dealer: {\r\n doc: 'The dealer service path',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_DEALER_API',\r\n },\r\n dealerExternal: {\r\n doc: 'The dealer service path',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_DEALER_EXTERNAL_API',\r\n },\r\n log: {\r\n doc: 'The log service path',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_LOG_API',\r\n },\r\n authentication: {\r\n doc: 'The dealer service path',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_AUTHENTICATION_API',\r\n },\r\n notification: {\r\n doc: 'The notification service path',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_NOTIFICATION_API',\r\n },\r\n lead: {\r\n doc: 'The lead service path',\r\n format: 'url',\r\n nullable: true,\r\n default: null,\r\n env: 'REACT_APP_LEAD_API',\r\n },\r\n everest: {\r\n doc: 'The Everest API path',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_EVEREST_URL',\r\n },\r\n remotePayment: {\r\n doc: 'The remote payment service path',\r\n format: 'url',\r\n nullable: true,\r\n default: null,\r\n env: 'React_APP_REMOTEPAYMENT_URL',\r\n },\r\n googlePlaces: {\r\n doc: 'Google Places API Key',\r\n format:String,\r\n nullable: true,\r\n default: null,\r\n env: 'REACT_APP_GOOGLE_PLACES_API_KEY',\r\n },\r\n textEditor: {\r\n doc: 'textEditor API Key',\r\n format:String,\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_TEXT_EDITOR_API_KEY',\r\n },\r\n paymentSettings: {\r\n doc: 'Gravity Payment Settings',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_GRAVITY_PAYMENT_SETTINGS',\r\n },\r\n invetoryByParts: {\r\n doc: 'Invetory By Parts',\r\n format: 'url',\r\n nullable: false,\r\n default: null,\r\n env: 'REACT_APP_INVENTORY_BY_PARTS',\r\n },\r\n facebookAppId: {\r\n doc: 'Facebook App Id',\r\n format:String,\r\n nullable: false,\r\n default: \"\",\r\n env: 'REACT_APP_FACEBOOK_APP_ID',\r\n },\r\n snapengageApiKeyIdeal: {\r\n doc: 'SnapEngage API Key Ideal',\r\n format:String,\r\n nullable: false,\r\n default: \"\",\r\n env: 'REACT_APP_SNAPENGAGE_API_KEY_IDEAL',\r\n },\r\n snapengageApiKeyInfinity: {\r\n doc: 'SnapEngage API Key Infinity',\r\n format:String,\r\n nullable: false,\r\n default: \"\",\r\n env: 'REACT_APP_SNAPENGAGE_API_KEY_INFINITY',\r\n },\r\n snapengageApiKeyAspen: {\r\n doc: 'SnapEngage API Key Aspen',\r\n format:String,\r\n nullable: false,\r\n default: \"\",\r\n env: 'REACT_APP_SNAPENGAGE_API_KEY_ASPEN',\r\n },\r\n },\r\n});\r\n\r\ntry {\r\n config.validate({ allowed: 'strict' });\r\n} catch (error) {\r\n if (window.location.href.indexOf('internalServerError') === -1) {\r\n window.location.replace('/internalServerError');\r\n }\r\n}\r\n\r\nexport default config;\r\n","import { get, post } from 'api';\r\nimport config from 'config';\r\n\r\n\r\nconst dealerUrl = config.get('api.dealer');\r\n\r\nconst authenticateUser = async (dealerId: string, userName: string, password: string, token: string ): Promise => {\r\n const { data } = await post(`${config.get('api.authentication')}/v2/authentication`, {\r\n dealerId,\r\n userName,\r\n password,\r\n token\r\n });\r\n return data;\r\n};\r\n\r\nconst refreshTokenUser = async (refreshToken: string): Promise => {\r\n const { data } = await post(`${config.get('api.authentication')}/refreshToken`, { refreshToken });\r\n return data;\r\n};\r\n\r\nconst validateTokenUser = async (): Promise => {\r\n const { data } = await get(`${dealerUrl}/validateToken`);\r\n return data;\r\n};\r\n\r\nexport default { authenticateUser, refreshTokenUser, validateTokenUser };\r\n","const localStorageName = 'PROJECT_X_STATE';\r\n\r\nconst get = (): any => {\r\n try {\r\n const serializedState = localStorage.getItem(localStorageName);\r\n if (serializedState === null) {\r\n return undefined;\r\n }\r\n const systemState = JSON.parse(serializedState);\r\n return systemState;\r\n } catch (error) {\r\n console.error(error);\r\n return undefined;\r\n }\r\n};\r\n\r\nconst save = (state: any): void => {\r\n try {\r\n const serializedState = JSON.stringify(state);\r\n localStorage.setItem(localStorageName, serializedState);\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n};\r\n\r\nconst remove = (): void => {\r\n try {\r\n localStorage.removeItem(localStorageName);\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n};\r\n\r\nexport default { get, save, remove };\r\n","import { createSlice, PayloadAction, createAsyncThunk } from '@reduxjs/toolkit';\r\nimport Status from 'common/models/status';\r\nimport AuthenticationAPI from 'components/authentication/api/authentication-api';\r\nimport appLocalStorage from 'app/local-storage';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nexport interface UserPermission {\r\n permissionId: string;\r\n productFeatureId: string;\r\n featureName: string;\r\n featureDescription: string;\r\n permission: boolean;\r\n}\r\n\r\ninterface PersistedUserState {\r\n loggedIn: boolean;\r\n session: string;\r\n status: Status;\r\n crmUserId: string;\r\n dealerId: number;\r\n dmsDealerId: number;\r\n dealerName: string;\r\n userFullName: string;\r\n authToken: string;\r\n refreshToken: string;\r\n messageCount: number;\r\n phoneValidationCount: number;\r\n Id: string;\r\n dmsTypeId: number;\r\n dmsType: string;\r\n isHosted: boolean;\r\n roleId: string;\r\n roleName: string;\r\n isUserAdmin: boolean;\r\n userPermissions: Array;\r\n textToPayPaymentGateway: number;\r\n}\r\n\r\nconst initialState: PersistedUserState = {\r\n loggedIn: false,\r\n status: Status.idle,\r\n session: '',\r\n dealerId: 0,\r\n dmsDealerId: 0,\r\n dealerName: '',\r\n userFullName: '',\r\n authToken: '',\r\n refreshToken: '',\r\n crmUserId: \"0\",\r\n messageCount: 0,\r\n dmsType: \"\",\r\n dmsTypeId: 0,\r\n phoneValidationCount: 0,\r\n Id: '',\r\n isHosted: false,\r\n roleId: '',\r\n roleName: '',\r\n isUserAdmin: false,\r\n userPermissions: new Array(),\r\n textToPayPaymentGateway: 0\r\n};\r\n\r\nconst loginUser = createAsyncThunk(\r\n 'user/login',\r\n async ({ dealerId, username, password, token }: { dealerId: string; username: string; password: string, token: string }) => {\r\n if (token != null && token != '') {\r\n try {\r\n //alert('Token');\r\n let response = await AuthenticationAPI.authenticateUser(dealerId, username, password, token);\r\n return await response;\r\n }\r\n catch (error) {\r\n //alert('Invalid Token');\r\n appLocalStorage.remove();\r\n // dispatch(logoutUser());\r\n \r\n let href = window.location.href.replaceAll(window.location.search, '');\r\n if (!href.endsWith('/')) href += '/';\r\n href += 'login';\r\n localStorage.clear();\r\n window.location.href = href;\r\n return await \"\";\r\n }\r\n\r\n }\r\n let response = await AuthenticationAPI.authenticateUser(dealerId, username, password, token);\r\n // if(token!=null && token!='') alert(response);\r\n //return await AuthenticationAPI.authenticateUser(dealerId, username, password, token);\r\n return await response;\r\n },\r\n);\r\n\r\nconst refreshTokenUser = createAsyncThunk('user/refreshToken', async ({ refreshToken }: { refreshToken: string }) => {\r\n if (refreshToken != null && refreshToken != '') {\r\n let response = await AuthenticationAPI.refreshTokenUser(refreshToken);\r\n return response;\r\n }\r\n});\r\n\r\nconst persistedUserSlice = createSlice({\r\n name: 'user',\r\n initialState,\r\n reducers: {\r\n logoutUser() {\r\n return initialState;\r\n },\r\n updateUserCredits(state, action: PayloadAction) {\r\n state.messageCount = action.payload;\r\n },\r\n updateStatus(state, action: PayloadAction) {\r\n state.status = action.payload;\r\n },\r\n setTextToPayPaymentGateway(state,action:PayloadAction){\r\n state.textToPayPaymentGateway= action.payload;\r\n }\r\n },\r\n extraReducers: {\r\n [loginUser.pending.type]: (state) => {\r\n state.status = Status.loading;\r\n },\r\n [loginUser.fulfilled.type]: (state, action) => {\r\n if (action.payload) {\r\n state.status = Status.succeeded;\r\n state.loggedIn = true;\r\n state.dealerId = action.payload.dealerId;\r\n state.dmsDealerId = action.payload.dmsDealerId;\r\n state.crmUserId = action.payload.crmUserId;\r\n state.dealerName = action.payload.dealerName;\r\n state.userFullName = action.payload.userFullName;\r\n state.authToken = action.payload.authToken;\r\n state.refreshToken = action.payload.refreshToken;\r\n state.messageCount = action.payload.messageCount;\r\n state.phoneValidationCount = action.payload.phoneValidationCount;\r\n state.Id = action.payload.userId;\r\n state.isHosted = action.payload.isHosted;\r\n state.roleId = action.payload.roleId;\r\n state.roleName = action.payload.roleName;\r\n state.isUserAdmin = action.payload.isUserAdmin;\r\n state.dmsType = action.payload.dmsType;\r\n state.dmsTypeId = action.payload.dmsTypeId;\r\n state.userPermissions = action.payload.userPermissions;\r\n state.textToPayPaymentGateway = action.payload.textToPayPaymentGateway;\r\n } else {\r\n state.status = Status.failed;\r\n }\r\n },\r\n [loginUser.rejected.type]: (state) => {\r\n state.status = Status.failed;\r\n },\r\n [refreshTokenUser.fulfilled.type]: (state, action) => {\r\n if (action.payload) {\r\n state.authToken = action.payload.authToken;\r\n state.refreshToken = action.payload.refreshToken;\r\n } else {\r\n document.title = 'Target CRM';\r\n localStorage.removeItem('PROJECT_X_STATE');\r\n return initialState;\r\n }\r\n },\r\n [refreshTokenUser.rejected.type]: (state) => {\r\n document.title = 'Target CRM';\r\n localStorage.removeItem('PROJECT_X_STATE');\r\n return initialState;\r\n },\r\n },\r\n});\r\n\r\nexport const { logoutUser, updateUserCredits, updateStatus, setTextToPayPaymentGateway } = persistedUserSlice.actions;\r\nexport { loginUser, refreshTokenUser };\r\nexport default persistedUserSlice.reducer;\r\n","import Button from '@material-ui/core/Button';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport { green } from '@material-ui/core/colors';\r\nimport { createStyles, makeStyles } from '@material-ui/core/styles';\r\nimport clsx from 'clsx';\r\nimport React, { ReactElement } from 'react';\r\n\r\nconst useStyles = makeStyles(() =>\r\n createStyles({\r\n root: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n },\r\n wrapper: {\r\n position: 'relative',\r\n },\r\n buttonSuccess: {\r\n backgroundColor: green[500],\r\n '&:hover': {\r\n backgroundColor: green[700],\r\n },\r\n },\r\n fabProgress: {\r\n color: green[500],\r\n position: 'absolute',\r\n top: -6,\r\n left: -6,\r\n zIndex: 1,\r\n },\r\n buttonProgress: {\r\n color: green[500],\r\n position: 'absolute',\r\n top: '50%',\r\n left: '50%',\r\n marginTop: -12,\r\n marginLeft: -12,\r\n },\r\n }),\r\n);\r\n\r\nexport const LoadingButton = ({ onClick, disabled, children, ...other }: any): ReactElement => {\r\n const classes: any = useStyles();\r\n\r\n const success = false;\r\n const timer = React.useRef();\r\n\r\n const buttonClassName = clsx({\r\n [classes.buttonSuccess]: success,\r\n });\r\n\r\n React.useEffect(\r\n () => () => {\r\n clearTimeout(timer.current);\r\n },\r\n [],\r\n );\r\n\r\n const handleButtonClick = () => {\r\n if (!disabled) {\r\n onClick();\r\n }\r\n };\r\n\r\n return (\r\n
\r\n \r\n {disabled && }\r\n
\r\n );\r\n};\r\n\r\nexport default LoadingButton;\r\n","import makeStyles from '@material-ui/core/styles/makeStyles';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n form: {\r\n width: '100%',\r\n marginTop: theme.spacing(1),\r\n },\r\n submit: {\r\n margin: theme.spacing(3, 0, 2),\r\n },\r\n}));\r\n\r\nexport default useStyles;\r\n","import { Box, Card, CardActions, CardContent, IconButton, InputAdornment, TextField, Checkbox, FormControlLabel } from '@material-ui/core';\r\nimport Visibility from '@material-ui/icons/Visibility';\r\nimport VisibilityOff from '@material-ui/icons/VisibilityOff';\r\nimport { LoadingButton } from 'common/components/buttons/LoadingButton';\r\nimport { useFormik } from 'formik';\r\nimport React, { useState, useEffect } from 'react';\r\nimport * as Yup from 'yup';\r\nimport useStyles from './login-form-style';\r\n\r\nexport interface LoginFormValues {\r\n dealerId: string;\r\n username: string;\r\n password: string;\r\n token: string;\r\n}\r\n\r\nconst Schema = Yup.object().shape({\r\n //dealerId: Yup.number().max(9999999999, 'dealer Number can only be upto 10 characters'),\r\n username: Yup.string().max(50, 'Username can only be upto 50 characters').required('Username is required'),\r\n password: Yup.string().max(100, 'Password can only be upto 100 characters').required('Password is required'),\r\n});\r\n\r\ntype Props = {\r\n onSubmit: (values: LoginFormValues) => void;\r\n disabled: boolean;\r\n};\r\n\r\nconst LoginForm: React.FC = ({ onSubmit, disabled }) => {\r\n const formik = useFormik({\r\n initialValues: {\r\n dealerId: '' ,\r\n username: '',\r\n password: '',\r\n token: '',\r\n },\r\n onSubmit,\r\n validationSchema: Schema,\r\n });\r\n\r\n const classes: any = useStyles();\r\n const [showPassword, setShowPassword] = useState(false);\r\n const handleShowPasswordChange = () => setShowPassword(!showPassword);\r\n const [rememberMe, setRememberMe]= useState(false);\r\n\r\n \r\n const handleCheckboxChange = (isCheck: boolean) => {\r\n if(isCheck === true){\r\n if(formik.values.dealerId.length > 0){\r\n window.localStorage.setItem('X_Login_RememberMe_info_X', JSON.stringify({isCheck:isCheck, dealerNumber:formik.values.dealerId}));\r\n setRememberMe(true);\r\n }else{\r\n window.localStorage.removeItem('X_Login_RememberMe_info_X');\r\n setRememberMe(false);\r\n }\r\n }\r\n else if(!isCheck){\r\n window.localStorage.removeItem('X_Login_RememberMe_info_X');\r\n setRememberMe(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n const loginInfo = window.localStorage.getItem('X_Login_RememberMe_info_X');\r\n if (loginInfo != null) {\r\n const values = JSON.parse(loginInfo);\r\n if(values.isCheck){\r\n setRememberMe(values.isCheck);\r\n formik.setFieldValue('dealerId',values.dealerNumber);\r\n }\r\n }\r\n }, []);\r\n\r\n useEffect(()=>{\r\n if(rememberMe){\r\n handleCheckboxChange(true);\r\n }\r\n },[formik.values.dealerId])\r\n\r\n // const handleKeyDown = (\r\n // event: React.KeyboardEvent,\r\n // ) => {\r\n // if (/^[0-9\\b]*$/.test(event.key) || event.keyCode === 8 || event.keyCode === 13 )\r\n // {\r\n // }\r\n // else\r\n // {\r\n // event.preventDefault();\r\n // }\r\n // };\r\n\r\n return (\r\n
\r\n \r\n \r\n { // Restrict non-numeric characters manually\r\n const keyCode = event.keyCode || event.which;\r\n const keyValue = String.fromCharCode(keyCode);\r\n if (!/^\\d+$/.test(keyValue)) {\r\n event.preventDefault();\r\n }\r\n },\r\n }}\r\n //onKeyDown={(e) => handleKeyDown(e)}\r\n \r\n/>\r\n\r\n\r\n \r\n \r\n \r\n {showPassword ? : }\r\n \r\n \r\n ),\r\n }}\r\n />\r\n {handleCheckboxChange(e.target.checked)}} />}\r\n />\r\n \r\n \r\n Login\r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nexport default LoginForm;\r\n","import makeStyles from '@material-ui/core/styles/makeStyles';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n container: {\r\n height: '100%',\r\n },\r\n grid: {\r\n height: '100%',\r\n textAlign: 'center',\r\n },\r\n avatar: {\r\n margin: 'auto',\r\n backgroundColor: theme.palette.primary.main,\r\n },\r\n}));\r\n\r\nexport default useStyles;\r\n","import { Avatar, Box, Container, Grid, Typography } from '@material-ui/core';\r\nimport LockOutlinedIcon from '@material-ui/icons/LockOutlined';\r\n\r\nimport Status from 'common/models/status';\r\nimport { showSnackbar } from 'components/root-snackbar';\r\nimport React from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { Redirect, useHistory, useLocation } from 'react-router-dom';\r\nimport { loginUser } from '../authentication-slice';\r\nimport LoginForm, { LoginFormValues } from '../login-form';\r\nimport useStyles from './login-style';\r\n\r\ninterface LocationState {\r\n from: {\r\n pathname: string;\r\n };\r\n}\r\n\r\nexport const Login: React.FC = () => {\r\n localStorage.removeItem('PROJECT_X_STATE');\r\n const classes: any = useStyles();\r\n const dispatch = useAppDispatch();\r\n const loggedIn = useAppSelector((state) => state.user.loggedIn);\r\n const status = useAppSelector((state) => state.user.status);\r\n const [redirectTo, setRedirectTo] = React.useState(null);\r\n\r\n const history = useHistory();\r\n const handleLoginFormSubmit = async ({ dealerId, username, password, token }: LoginFormValues): Promise => {\r\n dispatch(loginUser({ dealerId, username, password, token })).then(x => {\r\n console.log(\"history line\");\r\n console.log(redirectTo);\r\n history.push(redirectTo??\"/\");\r\n });\r\n };\r\n\r\n React.useEffect(() => {\r\n if (status === Status.failed) {\r\n dispatch(showSnackbar({ type: 'info', message: 'Invalid Credentials' }));\r\n }\r\n let redirectUrl = new URLSearchParams(window.location.search).get('redirectUrl');\r\n if (window.location.search.indexOf(\"?redirectUrl=\") > -1) {\r\n redirectUrl = window.location.search.replace(\"?redirectUrl=/\", \"\");\r\n }\r\n console.log(window.location);\r\n console.log(redirectUrl);\r\n setRedirectTo(redirectUrl ?? '/');\r\n }, [dispatch, status, redirectTo]);\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Log In\r\n \r\n \r\n \r\n \r\n \r\n {loggedIn && }\r\n \r\n );\r\n};\r\n\r\nexport default Login;\r\n","import queryString from 'query-string';\r\nimport { useMemo } from 'react';\r\nimport { useHistory, useLocation, useParams, useRouteMatch } from 'react-router-dom';\r\n\r\nexport function useRouter(): any {\r\n const params = useParams();\r\n const location = useLocation();\r\n const history = useHistory();\r\n const match = useRouteMatch();\r\n\r\n // Return our custom router object\r\n // Memoize so that a new object is only returned if something changes\r\n return useMemo(\r\n () => ({\r\n // For convenience add push(), replace(), pathname at top level\r\n push: history.push,\r\n replace: history.replace,\r\n pathname: location.pathname,\r\n // Merge params and parsed query string into single \"query\" object\r\n // so that they can be used interchangeably.\r\n // Example: /:topic?sort=popular -> { topic: \"react\", sort: \"popular\" }\r\n query: {\r\n ...queryString.parse(location.search), // Convert string to object\r\n ...params,\r\n },\r\n // Include match, location, history objects so we have\r\n // access to extra React Router functionality if needed.\r\n match,\r\n location,\r\n history,\r\n }),\r\n [params, match, location, history]\r\n );\r\n}\r\n\r\nexport default useRouter;\r\n","import { useCallback, useEffect, useRef } from 'react';\r\n\r\nexport default function useDebouncedCallback any>(\r\n callback: T,\r\n delay: number,\r\n options: { maxWait?: number; leading?: boolean; trailing?: boolean } = {}\r\n): [T, () => void, () => void] {\r\n const { maxWait } = options;\r\n const maxWaitHandler = useRef(null);\r\n const maxWaitArgs: { current: any[] } = useRef([]);\r\n\r\n const { leading } = options;\r\n const trailing = options.trailing === undefined ? true : options.trailing;\r\n const leadingCall = useRef(false);\r\n\r\n const functionTimeoutHandler = useRef(null);\r\n const isComponentUnmounted: { current: boolean } = useRef(false);\r\n\r\n const debouncedFunction = useRef(callback);\r\n debouncedFunction.current = callback;\r\n\r\n const cancelDebouncedCallback: () => void = useCallback(() => {\r\n clearTimeout(functionTimeoutHandler.current);\r\n clearTimeout(maxWaitHandler.current);\r\n maxWaitHandler.current = null;\r\n maxWaitArgs.current = [];\r\n functionTimeoutHandler.current = null;\r\n leadingCall.current = false;\r\n }, []);\r\n\r\n useEffect(\r\n () => () => {\r\n // we use flag, as we allow to call callPending outside the hook\r\n isComponentUnmounted.current = true;\r\n },\r\n []\r\n );\r\n\r\n const debouncedCallback = useCallback(\r\n (...args) => {\r\n maxWaitArgs.current = args;\r\n clearTimeout(functionTimeoutHandler.current);\r\n if (leadingCall.current) {\r\n leadingCall.current = false;\r\n }\r\n if (!functionTimeoutHandler.current && leading && !leadingCall.current) {\r\n debouncedFunction.current(...args);\r\n leadingCall.current = true;\r\n }\r\n\r\n functionTimeoutHandler.current = setTimeout(() => {\r\n let shouldCallFunction = true;\r\n if (leading && leadingCall.current) {\r\n shouldCallFunction = false;\r\n }\r\n cancelDebouncedCallback();\r\n\r\n if (!isComponentUnmounted.current && trailing && shouldCallFunction) {\r\n debouncedFunction.current(...args);\r\n }\r\n }, delay);\r\n\r\n if (maxWait && !maxWaitHandler.current && trailing) {\r\n maxWaitHandler.current = setTimeout(() => {\r\n const args = maxWaitArgs.current;\r\n cancelDebouncedCallback();\r\n\r\n if (!isComponentUnmounted.current) {\r\n debouncedFunction.current.apply(null, args);\r\n }\r\n }, maxWait);\r\n }\r\n },\r\n [maxWait, delay, cancelDebouncedCallback, leading, trailing]\r\n );\r\n\r\n const callPending = () => {\r\n // Call pending callback only if we have anything in our queue\r\n if (!functionTimeoutHandler.current) {\r\n return;\r\n }\r\n\r\n debouncedFunction.current.apply(null, maxWaitArgs.current);\r\n cancelDebouncedCallback();\r\n };\r\n\r\n // At the moment, we use 3 args array so that we save backward compatibility\r\n return [debouncedCallback as T, cancelDebouncedCallback, callPending];\r\n}\r\n","import { useState } from 'react';\r\n\r\nimport useDebouncedCallback from 'common/hooks/useDebouncedCallback';\r\n\r\nexport const useDelayedTextUpdate = (defaultValue: string, debounceUpdate: any): [string, (value: string) => void] => {\r\n const [value, setValue] = useState(defaultValue);\r\n const [debouncedcallback] = useDebouncedCallback((value) => {\r\n debounceUpdate(value);\r\n }, 1000);\r\n function setDelayedValue(newValue: string): void {\r\n setValue(newValue);\r\n debouncedcallback(newValue);\r\n }\r\n return [value, setDelayedValue];\r\n};\r\n","import { BroadcastResponse, RescheduleBroadcast, SendBroadcastTestMessageRequest, SendBroadcastTestMessageResponse } from './../models/broadcast';\r\nimport { destroy, get, post, put } from 'api';\r\nimport axios from 'axios';\r\nimport { BroadCast, BroadCastStatus, BroadCastType, BroadCastTypeFilter, EmailMessage } from 'components/broadcast/models/broadcast';\r\nimport config from 'config';\r\nimport { Analytics, SpecificAnalytics } from '../models/analytics';\r\nimport { MessageTemplate } from '../models/message-template';\r\nimport { MergeTag } from '../models/merge-tag';\r\nimport { DateRange } from '@mui/lab/DateRangePicker';\r\nimport { BaseResponse } from 'common/utils/shared/shared-models';\r\n\r\nconst messagingUrl = config.get('api.messaging');\r\nconst messaging2Url = config.get('api.messaging2');\r\n\r\n\r\nexport const BroadCastAPIV2 = {\r\n getBroadCasts: async (\r\n dmsDealerIdCrm: number,\r\n type: BroadCastTypeFilter,\r\n status: BroadCastStatus,\r\n dealerLocationId?: number,\r\n pageSize?: number,\r\n pageNumber?: number\r\n ): Promise => {\r\n const url = `${messagingUrl}/broadcast/getBroadcast`;\r\n const {data} = await post(url,{dmsDealerIdCrm,type,status,dealerLocationId,pageSize,pageNumber});\r\n return data;\r\n },\r\n createBroadcast: async (type: BroadCastType, title: string, dealerLocationId?: number): Promise => {\r\n switch (type) {\r\n case 'SMS': {\r\n const url = `${messagingUrl}/smsMessages`;\r\n const { data } = await post(url, { title, dealerLocationId });\r\n return data;\r\n }\r\n case 'MMS': {\r\n const url = `${messagingUrl}/mmsMessages`;\r\n const { data } = await post(url, { title, dealerLocationId });\r\n return data;\r\n }\r\n case 'EMAIL': {\r\n const url = `${messagingUrl}/emailMessages`;\r\n const { data } = await post(url, { title, dealerLocationId });\r\n return data;\r\n }\r\n default:\r\n throw new Error('Invalid Broadcast type');\r\n }\r\n },\r\n getBroadcast: async (id: number, type: BroadCastType): Promise => {\r\n switch (type) {\r\n case 'SMS': {\r\n const url = `${messagingUrl}/smsMessage/${id}`;\r\n const { data } = await get(url);\r\n return data;\r\n }\r\n case 'MMS': {\r\n const url = `${messagingUrl}/mmsMessage/${id}`;\r\n const { data } = await get(url);\r\n return data;\r\n }\r\n case 'EMAIL': {\r\n const url = `${messagingUrl}/emailMessage/${id}`;\r\n const { data } = await get(url);\r\n return data;\r\n }\r\n default:\r\n throw new Error('Invalid Broadcast type');\r\n }\r\n },\r\n updateBroadcast: async (broadcast: BroadCast, type: BroadCastType): Promise => {\r\n switch (type) {\r\n case 'SMS': {\r\n const url = `${messagingUrl}/smsMessages`;\r\n await put(url, broadcast);\r\n return broadcast;\r\n }\r\n case 'MMS': {\r\n const url = `${messagingUrl}/mmsMessages`;\r\n await put(url, broadcast);\r\n return broadcast;\r\n }\r\n case 'EMAIL': {\r\n const url = `${messagingUrl}/emailMessages`;\r\n await put(url, broadcast);\r\n return broadcast;\r\n }\r\n default:\r\n throw new Error('Invalid Broadcast type');\r\n }\r\n },\r\n duplicateBroadcast: async (id: number, type: BroadCastType): Promise<{ id: number }> => {\r\n switch (type) {\r\n case 'SMS': {\r\n const url = `${messagingUrl}/smsMessages/${id}/duplicate`;\r\n const { data } = await post(url);\r\n return data;\r\n }\r\n case 'MMS': {\r\n const url = `${messagingUrl}/mmsMessages/${id}/duplicate`;\r\n const { data } = await post(url);\r\n return data;\r\n }\r\n case 'EMAIL': {\r\n const url = `${messagingUrl}/emailMessages/${id}/duplicate`;\r\n const { data } = await post(url);\r\n return data;\r\n }\r\n default:\r\n throw new Error('Invalid Broadcast type');\r\n }\r\n },\r\n deleteBroadcast: async (id: number, type: BroadCastType): Promise => {\r\n switch (type) {\r\n case 'SMS': {\r\n const url = `${messagingUrl}/smsMessages/${id}/delete`;\r\n const { data } = await destroy(url);\r\n return data;\r\n }\r\n case 'MMS': {\r\n const url = `${messagingUrl}/mmsMessages/${id}/delete`;\r\n const { data } = await destroy(url);\r\n return data;\r\n }\r\n case 'EMAIL': {\r\n const url = `${messagingUrl}/emailMessages/${id}/delete`;\r\n const { data } = await destroy(url);\r\n return data;\r\n }\r\n default:\r\n throw new Error('Invalid Broadcast type');\r\n }\r\n },\r\n restoreBroadcast: async (id: number, type: BroadCastType): Promise => {\r\n switch (type) {\r\n case 'SMS': {\r\n const url = `${messagingUrl}/smsMessages/${id}/restore`;\r\n const { data } = await post(url);\r\n return data;\r\n }\r\n case 'MMS': {\r\n const url = `${messagingUrl}/mmsMessages/${id}/restore`;\r\n const { data } = await post(url);\r\n return data;\r\n }\r\n case 'EMAIL': {\r\n const url = `${messagingUrl}/emailMessages/${id}/restore`;\r\n const { data } = await post(url);\r\n return data;\r\n }\r\n default:\r\n throw new Error('Invalid Broadcast type');\r\n }\r\n },\r\n deleteScheduledBroadcast: async (id: number, type: BroadCastType): Promise =>{\r\n const url = `${messagingUrl}/broadcast/removeScheduledBroadcast`;\r\n const { data } = await post(url,{ broadCastId:id, broadcastType:type })\r\n return data;\r\n },\r\n sendBroadcast: async (\r\n broadcast: BroadCast,\r\n type: BroadCastType,\r\n segmentIds: number[],\r\n dealerLocationId?: number,\r\n dmsDealerId?: number,\r\n IsSchedule?: boolean\r\n ): Promise => {\r\n switch (type) {\r\n case 'SMS': {\r\n const url = `${messaging2Url}/SendMessageToSegment?dealerLocationId=${dealerLocationId || ''}&dmsDealerId=${\r\n dmsDealerId || ''}`;\r\n const { data } = await post(url, {\r\n Id: broadcast.id,\r\n message: broadcast.body,\r\n segmentIds,\r\n type : 'SMS',\r\n IsSchedule\r\n });\r\n return data;\r\n }\r\n case 'MMS': {\r\n const url = `${messaging2Url}/SendMessageToSegment?dealerLocationId=${dealerLocationId || ''}&dmsDealerId=${\r\n dmsDealerId || ''\r\n }`;\r\n const { data } = await post(url, {\r\n Id: broadcast.id,\r\n message: broadcast.body,\r\n mediaLinks: broadcast.mmsMedia?.map((x) => x.mediaUrl),\r\n segmentIds,\r\n type : 'MMS',\r\n IsSchedule\r\n });\r\n return data;\r\n }\r\n case 'EMAIL': {\r\n const url = `${messaging2Url}/emailMessages/sendEmailToSegments?dealerLocationId=${dealerLocationId || ''}&dmsDealerId=${dmsDealerId || ''}`;\r\n const emailRequest = {\r\n id: broadcast.id,\r\n segmentIds,\r\n dealerLocationid: dealerLocationId,\r\n dmsDealerId,\r\n IsSchedule\r\n };\r\n const { data } = await post(url, emailRequest);\r\n return data;\r\n }\r\n default:\r\n throw new Error('Invalid Broadcast type');\r\n }\r\n },\r\n sendScheduledBroadcast: async (\r\n broadcast: BroadCast,\r\n type: BroadCastType,\r\n segmentIds: number[],\r\n scheduledTime: Date,\r\n dealerLocationId?: number,\r\n dmsDealerId?: number,\r\n ): Promise => {\r\n switch (type) {\r\n case 'SMS': {\r\n const url = `${messagingUrl}/ScheduleMessagesToSegments`;\r\n const { data } = await post(url, {\r\n Id: broadcast.id,\r\n message: broadcast.body,\r\n segmentIds,\r\n type : 'SMS',\r\n // dealerId:dealerLocationId,\r\n // dmsDealerId,\r\n scheduledTime,\r\n dealerLocationId\r\n });\r\n return data;\r\n }\r\n case 'MMS': {\r\n const url = `${messagingUrl}/ScheduleMessagesToSegments`;\r\n const { data } = await post(url, {\r\n Id: broadcast.id,\r\n message: broadcast.body,\r\n mediaLinks: broadcast.mmsMedia?.map((x) => x.mediaUrl),\r\n segmentIds,\r\n type : 'MMS',\r\n // dealerId:dealerLocationId,\r\n // dmsDealerId,\r\n dealerLocationId,\r\n scheduledTime\r\n });\r\n return data;\r\n }\r\n // Need to be done against Email yet\r\n case 'EMAIL': {\r\n const url = `${messagingUrl}/ScheduleMessagesToSegments`;\r\n const emailRequest = {\r\n id: broadcast.id,\r\n segmentIds,\r\n // dealerId: dealerLocationId,\r\n dmsDealerId,\r\n type:'EMAIL',\r\n scheduledTime,\r\n dealerLocationId\r\n };\r\n const { data } = await post(url, emailRequest);\r\n return data;\r\n }\r\n default:\r\n throw new Error('Invalid Broadcast type');\r\n }\r\n },\r\n rescheduleBroadcast: async (request: RescheduleBroadcast): Promise =>{\r\n const url = `${messagingUrl}/RescheduleMessagesToSegments`;\r\n const { data } = await post(url,request);\r\n return data;\r\n }\r\n ,\r\n shortenUrl: async (currentUrl: string): Promise => {\r\n const url = `${messagingUrl}/shortenUrl`;\r\n const { data } = await post(url, { Url: currentUrl });\r\n return data;\r\n },\r\n getMergeTags: async (refScreen: string): Promise => {\r\n const url = `${messagingUrl}/GetMergeTagsAutomation/${refScreen}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n getMessageTemplates: async (): Promise => {\r\n const url = `${messagingUrl}/v2/message-snippets`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n updateMessageTemplates: async (messageTemplates: MessageTemplate[]): Promise => {\r\n const url = `${messagingUrl}/message-snippets-bulk-update`;\r\n const { data } = await put(url, messageTemplates);\r\n return data;\r\n },\r\n getMessageTemplate: async (id: number): Promise => {\r\n const url = `${messagingUrl}/message-snippets/${id}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n createMessageTemplate: async (req:any, departmentId: number): Promise => {\r\n const url = `${messagingUrl}/message-snippets`;\r\n const { data } = await post(url, { id: 0, body: req.body, departmentId, title: req.title });\r\n return data;\r\n },\r\n updateMessageTemplate: async (template: MessageTemplate): Promise => {\r\n const url = `${messagingUrl}/message-snippets`;\r\n const { data } = await put(url, template);\r\n return data;\r\n },\r\n deleteMessageTemplate: async (templateId: number): Promise => {\r\n const url = `${messagingUrl}/message-snippets/${templateId}`;\r\n const { data } = await destroy(url);\r\n return data;\r\n },\r\n unsubscribeEmail: async (token: string): Promise => {\r\n let url = `${messagingUrl}/emailMessages/unsubscribeEmail`;\r\n url = url.toString().replace(\"v2/\", \"\");\r\n const { data } = await post(url, { token: token });\r\n return data;\r\n },\r\n getBroadCastsAnalytics: async (\r\n dmsDealerIdCrm: number,\r\n type: string,\r\n dateRangeFilter: DateRange,\r\n dealerLocationId?: number,\r\n ): Promise => {\r\n //get data using post request empty url\r\n const url = `${messagingUrl}/analytics`;\r\n const { data } = await post(url, {\r\n dmsDealerIdCrm,\r\n type,\r\n DateFrom : dateRangeFilter[0],\r\n DateTo : dateRangeFilter[1],\r\n dealerLocationId,\r\n });\r\n console.log(data);\r\n return data;\r\n },\r\n getBroadcastSpecificAnalytics : async (broadcastId : number, messagetype : string, analyticsType : string, usageHistoryId: number ) : Promise => {\r\n const url = `${messagingUrl}/specific-analytics`;\r\n const { data } = await post(url, { messageId : broadcastId, messagetype, analyticsType, usageHistoryId });\r\n console.log(data);\r\n return data;\r\n }, \r\n sendBroadcastTestMessage: async (testMessageRequest:SendBroadcastTestMessageRequest): Promise> => {\r\n\r\n const url = `${messagingUrl}/broadcast/sendBroadcastTestMessage`;\r\n const { data } = await post>(url, testMessageRequest);\r\n return data;\r\n },\r\n\r\n};\r\n\r\nexport default BroadCastAPIV2;\r\n","import Dealer, { PersistentAppData } from 'common/models/dealer';\r\nimport { DealerEmailState } from 'store/dealerEmailSlice';\r\nimport Bracket from 'components/setting/models/bracket';\r\nimport { DealerSetting } from 'common/models/dealer-setting';\r\nimport config from 'config';\r\nimport { get, post, put } from 'api';\r\nimport DealerPhoneSetting from 'common/models/dealer-phone-setting';\r\n\r\nconst dealerUrl = config.get('api.dealer');\r\nconst logUrl = config.get('api.log');\r\n\r\n\r\nexport const DealerAPI = {\r\n getDealer: async (dealerId: number): Promise => {\r\n const { data } = await get(`${dealerUrl}/dealer/GetDealer/${dealerId}`);\r\n return data;\r\n },\r\n getBrackets: async (): Promise => {\r\n const { data } = await get(`${dealerUrl}/brackets`);\r\n return data;\r\n },\r\n updateCredits: async (messageCredits: number, dmsDealerIdCrm: number): Promise => {\r\n const { data } = await post(`${dealerUrl}/dealers/${dmsDealerIdCrm}/credits`, { messageCredits });\r\n return data;\r\n },\r\n getDealerLocationSettings: async (dmsDealerIdCrm: number, dealerId: number): Promise => {\r\n let url = `${dealerUrl}/dealers/${dmsDealerIdCrm}/locations/${dealerId}/settings`;\r\n url = url.replace('v2/', '');\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n getDealerSettings: async (dmsDealerId: number): Promise => {\r\n let url = `${dealerUrl}/dealers/${dmsDealerId}/settings`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n updateDealerSettings: async (dmsDealerId: number, dealerSetting: DealerSetting): Promise => {\r\n const { data } = await put(`${dealerUrl}/dealers/${dmsDealerId}/settings`, dealerSetting);\r\n return data;\r\n },\r\n getDealerPhoneSetting: async (dmsDealerId: number): Promise => {\r\n const { data } = await get(`${dealerUrl}/dealers/${dmsDealerId}/phone-settings`);\r\n return data;\r\n },\r\n getUsageHistory: async (dmsDealerIdCrm: number): Promise => {\r\n const { data } = await get(`${dealerUrl}/dealers/${dmsDealerIdCrm}/credit-usage-history`);\r\n return data;\r\n },\r\n updateDealerPhoneSetting: async (dmsDealerIdCrm: number, dealerPhone: DealerPhoneSetting): Promise => {\r\n const { data } = await put(`${dealerUrl}/dealers/${dmsDealerIdCrm}/phone-settings`, dealerPhone);\r\n return data;\r\n },\r\n getDealerEmail: async (dmsDealerIdCrm: number): Promise => {\r\n const { data } = await get(`${dealerUrl}/dealers/${dmsDealerIdCrm}/email/settings`);\r\n return data;\r\n },\r\n updateDealerEmail: async (dealerEmail: DealerEmailState, dmsDealerIdCrm: number): Promise => {\r\n const { data } = await put(`${dealerUrl}/dealers/${dmsDealerIdCrm}/email/settings`, dealerEmail);\r\n return data;\r\n },\r\n verifyDealerEmail: async (dmsDealerIdCrm: number): Promise => {\r\n const { data } = await post(`${dealerUrl}/dealers/${dmsDealerIdCrm}/email/verify`);\r\n return data;\r\n },\r\n resendVerificationEmail: async (dmsDealerIdCrm: number): Promise => {\r\n const { data } = await post(`${dealerUrl}/dealers/${dmsDealerIdCrm}/email/verify/re`);\r\n return data;\r\n },\r\n cancelVerificationEmail: async (dmsDealerIdCrm: number): Promise => {\r\n const { data } = await post(`${dealerUrl}/dealers/${dmsDealerIdCrm}/email/verify/cancel`);\r\n return data;\r\n },\r\n logUserActivity: async (crmUserId: string, dealerId: number, route: string, action: string) => {\r\n const { data } = await post(`${logUrl}/UsageLog`, {\r\n crmUserId,\r\n dealerId,\r\n route,\r\n action,\r\n 'Environment': 'Production',\r\n 'Application': 'Target',\r\n });\r\n return data;\r\n },\r\n logError: async (error: Error, componentStack: string, user: any) => {\r\n let errObj = {\r\n exception: error.message,\r\n componentStack,\r\n crmUserId: user.crmUserId ?? 0,\r\n dealerId: user.dealerId,\r\n methodName: \"ReactApp : \" + error.name,\r\n };\r\n const { data } = await post(`${logUrl}/ErrorLog`, errObj);\r\n return data;\r\n },\r\n decryptLoginKey: async (key: string): Promise<{ dmsDealerIdCrm: number; username: string; password: string }> => {\r\n const { data } = await get(`${dealerUrl}/decrypt-target-login-key/${key}`);\r\n return data;\r\n },\r\n ExecuteJsonSP: async (spName: string, json: string): Promise => {\r\n const { data } = await get(`${dealerUrl}/ExecuteJsonSP/${spName}/${escape(json)}`);\r\n return data; \r\n },\r\n ExecuteJsonSPPost: async (spName: string, json: string): Promise => {\r\n let errObj = {\r\n spName,\r\n json\r\n };\r\n const { data } = await post(`${dealerUrl}/ExecuteJsonSPPost`,errObj);\r\n return data;\r\n },\r\n getPersistentAppData: async (type: string): Promise => {\r\n const { data } = await get(`${dealerUrl}/dealers/getPersistentAppData/${type}`);\r\n return data;\r\n },\r\n addPersistentAppData: async (persistentData: PersistentAppData): Promise => {\r\n const { data } = await post(`${dealerUrl}/dealers/addPersistentAppData`, persistentData);\r\n return data;\r\n },\r\n updatePersistentAppData: async (persistentData: PersistentAppData): Promise => {\r\n const { data } = await post(`${dealerUrl}/dealers/updatePersistentAppData`, persistentData);\r\n return data;\r\n },\r\n updateDealersDefaultCategory: async (categoryId: string): Promise => {\r\n const { data } = await post(`${dealerUrl}/dealers/updateDealersDefaultCategory/${categoryId}`);\r\n return data;\r\n }\r\n};\r\n\r\nexport default DealerAPI;\r\n","/* eslint-disable no-param-reassign */\r\nimport { createSlice, PayloadAction } from '@reduxjs/toolkit';\r\nimport DealerAPI from 'components/authentication/api/dealer-api';\r\nimport { AppThunk } from 'app';\r\nimport { showSnackbar } from 'components/root-snackbar/snackbar-slice';\r\n\r\nexport interface DealerEmailState {\r\n sendGridId: number;\r\n loading: boolean;\r\n dealerId: number;\r\n replyToAddress: string;\r\n replyToName: string;\r\n emailFooter: string;\r\n fromAddress: string;\r\n fromName: string;\r\n sameFromAndReplyToAddress: boolean;\r\n fromAddressVerified: boolean;\r\n replyToAddressVerified: boolean;\r\n}\r\n\r\nconst initialState: DealerEmailState = {\r\n sendGridId: 0,\r\n loading: false,\r\n dealerId: 0,\r\n replyToAddress: '',\r\n replyToName: '',\r\n emailFooter: '',\r\n fromAddress: '',\r\n fromName: '',\r\n sameFromAndReplyToAddress: false,\r\n replyToAddressVerified: false,\r\n fromAddressVerified: false\r\n};\r\n\r\nconst dealerEmail = createSlice({\r\n name: 'dealerEmail',\r\n initialState,\r\n reducers: {\r\n setDealerReplyTo(state, action: PayloadAction): void {\r\n state.loading = false;\r\n state.replyToAddress = action.payload;\r\n },\r\n setDealerReplyToName(state, action: PayloadAction): void {\r\n state.loading = false;\r\n state.replyToName = action.payload;\r\n },\r\n setDealerFromName(state, action: PayloadAction): void {\r\n state.loading = false;\r\n state.fromName = action.payload;\r\n },\r\n setDealerFrom(state, action: PayloadAction): void {\r\n state.loading = false;\r\n state.fromAddress = action.payload;\r\n },\r\n setDealerEmail(state, action: PayloadAction): void {\r\n state.dealerId = action.payload.dealerId;\r\n state.sendGridId = action.payload.sendGridId;\r\n state.loading = false;\r\n\r\n state.replyToAddress = action.payload.replyToAddress;\r\n state.replyToName = action.payload.replyToName;\r\n state.replyToAddressVerified = action.payload.replyToAddressVerified;\r\n\r\n state.fromAddress = action.payload.fromAddress;\r\n state.fromName = action.payload.fromName;\r\n state.fromAddressVerified = action.payload.fromAddressVerified;\r\n state.sameFromAndReplyToAddress = action.payload.sameFromAndReplyToAddress;\r\n state.emailFooter = action.payload.emailFooter;\r\n },\r\n setDealerEmailLoading(state, action: PayloadAction): void {\r\n state.loading = action.payload;\r\n },\r\n setDealerFooter(state, action: PayloadAction): void {\r\n state.emailFooter = action.payload;\r\n },\r\n setSameFromAndReplyToAddressChange(state, action: PayloadAction) {\r\n state.sameFromAndReplyToAddress = action.payload;\r\n if (state.sameFromAndReplyToAddress) {\r\n state.replyToAddress = state.fromAddress;\r\n state.replyToName = state.fromName;\r\n }\r\n },\r\n },\r\n});\r\n\r\nexport const {\r\n setSameFromAndReplyToAddressChange,\r\n setDealerReplyTo,\r\n setDealerFromName,\r\n setDealerReplyToName,\r\n setDealerFrom,\r\n setDealerEmail,\r\n setDealerEmailLoading,\r\n setDealerFooter,\r\n} = dealerEmail.actions;\r\nexport default dealerEmail.reducer;\r\n\r\nexport const updateDealerEmail =\r\n (dealerEmail: DealerEmailState): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n const {\r\n user: { dmsDealerId },\r\n } = getState();\r\n dispatch(setDealerEmailLoading(true));\r\n let resp = await DealerAPI.updateDealerEmail(dealerEmail, dmsDealerId);\r\n if (resp) {\r\n dispatch(setDealerEmail(resp));\r\n dispatch(showSnackbar({ type: 'success', message: 'Email Settings updated Successfully' }));\r\n }\r\n dispatch(setDealerEmailLoading(false));\r\n } catch (error) {\r\n dispatch(setDealerEmailLoading(false));\r\n }\r\n };\r\n\r\nexport const verifyDealerEmail =\r\n (): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n const {\r\n user: { dmsDealerId },\r\n } = getState();\r\n dispatch(setDealerEmailLoading(true));\r\n let resp = await DealerAPI.verifyDealerEmail(dmsDealerId);\r\n if (resp) {\r\n dispatch(setDealerEmail(resp));\r\n dispatch(showSnackbar({ type: 'success', message: 'Email Verification completed successfully' }));\r\n }\r\n dispatch(setDealerEmailLoading(false));\r\n } catch (err) {}\r\n };\r\n\r\nexport const resendVerificationEmail =\r\n (): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n const {\r\n user: { dmsDealerId },\r\n } = getState();\r\n dispatch(setDealerEmailLoading(true));\r\n let resp = await DealerAPI.resendVerificationEmail(dmsDealerId);\r\n if (resp) {\r\n dispatch(showSnackbar({ type: 'success', message: 'Verification request re-sent' }));\r\n }\r\n dispatch(setDealerEmailLoading(false));\r\n } catch (err) {}\r\n };\r\n\r\nexport const cancelVerificationEmail =\r\n (): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n const {\r\n user: { dmsDealerId },\r\n } = getState();\r\n dispatch(setDealerEmailLoading(true));\r\n let resp = await DealerAPI.cancelVerificationEmail(dmsDealerId);\r\n dispatch(setDealerEmail(initialState));\r\n if (resp) {\r\n dispatch(showSnackbar({ type: 'success', message: 'Request Cancelled. Please add your new Email' }));\r\n }\r\n dispatch(setDealerEmailLoading(false));\r\n } catch (err) {}\r\n };\r\n\r\nexport const fetchDealerEmail =\r\n (): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n const { dmsDealerId } = getState().user;\r\n const dealerEmail = await DealerAPI.getDealerEmail(dmsDealerId);\r\n dispatch(setDealerEmail(dealerEmail));\r\n } catch (error) {}\r\n };\r\n","import React from 'react';\r\n\r\nexport const TabPanel: React.FC<{\r\n children?: React.ReactNode;\r\n index: any;\r\n value: any;\r\n}> = ({ children, value, index }) => {\r\n const isCurrentTabPanel = index === value;\r\n if (isCurrentTabPanel) {\r\n return <>{children};\r\n }\r\n return null;\r\n};\r\n\r\nexport default TabPanel;\r\n","import { Fab, withStyles } from '@material-ui/core';\r\nimport { green, grey } from '@material-ui/core/colors';\r\n\r\nconst ToggleFab = withStyles({\r\n primary: {\r\n backgroundColor: grey[500],\r\n '&:hover': {\r\n backgroundColor: grey[800],\r\n },\r\n },\r\n secondary: {\r\n backgroundColor: green[500],\r\n '&:hover': {\r\n backgroundColor: green[800],\r\n },\r\n },\r\n})(Fab);\r\n\r\nexport default ToggleFab;\r\n","import { Box, IconButton, Popover, Tooltip } from '@material-ui/core';\r\nimport InsertEmoticonIcon from '@material-ui/icons/InsertEmoticon';\r\nimport { Picker } from 'emoji-mart';\r\nimport React, { ReactElement } from 'react';\r\n\r\nexport function EmojiPickerButton({\r\n onSelect,\r\n disabled,\r\n}: {\r\n onSelect(value: string): void;\r\n disabled?: boolean;\r\n}): ReactElement {\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n const handleOnSelect = (emoji: any): void => {\r\n setAnchorEl(null);\r\n onSelect(emoji.native);\r\n };\r\n const handleOnClick = (event: React.MouseEvent): void => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n const handleClose = (): void => {\r\n setAnchorEl(null);\r\n };\r\n const open = Boolean(anchorEl);\r\n const id = open ? 'simple-popover' : undefined;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\nexport default EmojiPickerButton;\r\n","import React, { ReactElement } from 'react';\r\nimport { TextField, TextFieldProps } from '@material-ui/core';\r\n\r\nexport default function TextLimitField(props: TextFieldProps & { characters: number , helperTextAlignLeft?:boolean}): ReactElement {\r\n const { value, characters, helperTextAlignLeft, onChange } = props;\r\n function handleOnChange(event: any): void {\r\n if (onChange) {\r\n let val = event.target.value;\r\n if(val.length > characters){\r\n val = val.substring(0, characters);\r\n }\r\n event.target.value = val;\r\n onChange(event);\r\n }\r\n }\r\n const valueLength = (typeof value === 'string' && value.length) || 0;\r\n let helperText = `${valueLength}/${characters}`;\r\n // eslint-disable-next-line react/jsx-props-no-spreading\r\n return (\r\n \r\n );\r\n}\r\n","import { destroy, get, post } from 'api';\r\nimport config from 'config';\r\n\r\nimport { GalleryImage } from '../models/gallery-image';\r\n\r\nconst messagingUrl = config.get('api.messaging');\r\n\r\nexport const MediaGalleryAPI = {\r\n getMediaCount: async (): Promise => {\r\n const url = `${messagingUrl}/GetMediaCount`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n getImageGallery: async (page: number | null = null, rowsPerPage: number | null = null): Promise => {\r\n const url = `${messagingUrl}/GetMediaGallery?pageNumber=${page}&pageSize=${rowsPerPage}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n addImage: async (files: File[]): Promise => {\r\n const url = `${messagingUrl}/AddImages`;\r\n const requestForm = new FormData();\r\n files.forEach((file) => {\r\n requestForm.append('files', file);\r\n });\r\n const { data } = await post(url, requestForm);\r\n return data;\r\n },\r\n deleteMedia: async (imageId: number): Promise => {\r\n const url = `${messagingUrl}/deleteMedia/${imageId}`;\r\n const { data } = await destroy(url);\r\n return data;\r\n },\r\n};\r\n\r\nexport default MediaGalleryAPI;\r\n","import { CircularProgress } from '@material-ui/core';\r\nimport React from 'react';\r\n\r\nexport const SmallCircularProgress = () => ;\r\n\r\nexport default SmallCircularProgress;\r\n","import { Box } from '@material-ui/core';\r\nimport { Editor } from '@tinymce/tinymce-react';\r\nimport { SmallCircularProgress } from 'common/components/loaders';\r\nimport { GalleryImage } from 'components/broadcast/models/gallery-image';\r\nimport config from 'config';\r\nimport React, { ReactElement } from 'react';\r\n\r\nconst textEditorApiKey = config.get('api.textEditor');\r\n\r\nfunction EmailEditor({\r\n value,\r\n isEmpty,\r\n disabled = false,\r\n onChange,\r\n onImageUpload,\r\n}: {\r\n value: string;\r\n isEmpty?:boolean;\r\n disabled?: boolean;\r\n onChange(data: string): void;\r\n onImageUpload?: (file: File) => Promise;\r\n}): ReactElement {\r\n const [loading, setLoading] = React.useState(true);\r\n const maxImageSize = 26214400; //25MB\r\n const init = {\r\n paste_data_images: true,\r\n automatic_uploads: true,\r\n setup(ed: any): void {\r\n ed.on('init', () => setLoading(false));\r\n },\r\n height: 240,\r\n branding: false,\r\n image_advtab: true,\r\n convert_urls: true, \r\n relative_urls: false,\r\n remove_script_host: false,\r\n async images_upload_handler(blobInfo: any, success: any, failure: any, progress: any): Promise {\r\n if (onImageUpload) {\r\n try {\r\n progress(0);\r\n if (blobInfo.blob().size > maxImageSize) {\r\n progress(100);\r\n failure('Total Size Exceeds 25 MB');\r\n } else {\r\n const response = await onImageUpload(new File([blobInfo.blob()], blobInfo.filename()));\r\n progress(100);\r\n success(response[0].mediaUrl);\r\n }\r\n } catch (error) {\r\n progress(100);\r\n failure('Unable to upload image');\r\n }\r\n }\r\n },\r\n plugins: [\r\n 'advlist autolink lists link image charmap print preview anchor',\r\n 'searchreplace visualblocks code fullscreen',\r\n 'image code',\r\n 'image imagetools',\r\n 'insertdatetime media table paste code help wordcount',\r\n ],\r\n toolbar: `undo redo | image code | formatselect | bold italic backcolor |\r\n alignleft aligncenter alignright alignjustify |\r\n bullist numlist outdent indent | removeformat`,\r\n menu: {\r\n file: { title: 'File', items: ' preview | print ' },\r\n },\r\n menubar: 'file edit view insert format tools table',\r\n };\r\n return (\r\n <>\r\n \r\n \r\n {isEmpty &&   Email body is required}\r\n \r\n );\r\n}\r\n\r\nexport default EmailEditor;\r\n\r\n","import {\r\n Accordion,\r\n AccordionDetails,\r\n AccordionSummary,\r\n Grid,\r\n ImageList,\r\n ImageListItem,\r\n ImageListItemBar,\r\n IconButton,\r\n makeStyles,\r\n Typography,\r\n CircularProgress,\r\n} from '@material-ui/core';\r\nimport AddCircleIcon from '@material-ui/icons/AddCircle';\r\nimport ArrowBackIcon from '@material-ui/icons/ArrowBack';\r\nimport DeleteIcon from '@material-ui/icons/Delete';\r\nimport ExpandMoreIcon from '@material-ui/icons/ExpandMore';\r\nimport PhotoLibraryIcon from '@material-ui/icons/PhotoLibrary';\r\nimport React from 'react';\r\n\r\nimport { SmallCircularProgress } from 'common/components/loaders';\r\nimport MediaGalleryAPI from 'components/broadcast/api/mediaGallery-api';\r\nimport { GalleryImage } from 'components/broadcast/models/gallery-image';\r\nimport FolderIcon from '@mui/icons-material/Folder';\r\nimport FolderOpenIcon from '@mui/icons-material/FolderOpen';\r\nimport { Pagination } from '@mui/material';\r\nexport const useStyles = makeStyles(() => ({\r\n icon: {\r\n color: 'rgba(255, 255, 255, 0.54)',\r\n },\r\n actionIcon: {\r\n display: 'flex',\r\n alignItems: 'flex-end',\r\n justify: 'flex-end',\r\n },\r\n}));\r\n\r\nexport function ImageGallery({\r\n onAdd,\r\n disabled,\r\n refresh,\r\n}: {\r\n onAdd: (galleryImage: GalleryImage) => void;\r\n disabled: boolean;\r\n refresh: boolean;\r\n}): React.ReactElement {\r\n const classes: any = useStyles();\r\n const [expanded, setExpanded] = React.useState(false);\r\n const [confirmDeleteItemId, setConfirmDeleteItemId] = React.useState(0);\r\n const [isDeleting, setIsDeleting] = React.useState(false);\r\n const [galleryImages, setGalleryImages] = React.useState([]);\r\n const [page, setPage] = React.useState(1);\r\n const [rowsPerPage, setRowsPerPage] = React.useState(9);\r\n const [totalItems, setTotalItems] = React.useState(1);\r\n const [filesLoading, setFilesLoading] = React.useState(false)\r\n const [filesLoaded, setFilesLoaded] = React.useState(false)\r\n\r\n const handleFilesExpanded = () => {\r\n setFilesLoaded(true);\r\n }\r\n\r\n const handlePanelChange =\r\n (panel: string) =>\r\n (event: React.ChangeEvent<{}>, newExpanded: boolean): void => {\r\n setExpanded(newExpanded ? panel : false);\r\n };\r\n\r\n async function fetchGalleryImages(page: number, rowsPerPage: number): Promise {\r\n try {\r\n const galleryImageResponse = await MediaGalleryAPI.getImageGallery(page, rowsPerPage);\r\n setGalleryImages(galleryImageResponse);\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n\r\n const handleChangePage = async (event: unknown, newPage: number): Promise => {\r\n let currentPage = newPage\r\n fetchGalleryImages(currentPage, rowsPerPage)\r\n setPage(currentPage)\r\n };\r\n\r\n const fetchCount = async () => {\r\n try {\r\n let count = await MediaGalleryAPI.getMediaCount();\r\n setTotalItems(count);\r\n } catch (err) {\r\n console.log(err)\r\n } \r\n };\r\n\r\n const onPageLoad = async () => {\r\n setFilesLoading(true)\r\n await fetchCount();\r\n await fetchGalleryImages(page, rowsPerPage);\r\n setFilesLoading(false)\r\n }\r\n React.useEffect(() => {\r\n if (filesLoaded) {\r\n onPageLoad();\r\n }\r\n }, [refresh, filesLoaded]);\r\n\r\n async function deleteGalleryImage(galleryImage: GalleryImage): Promise {\r\n try {\r\n setIsDeleting(true);\r\n await MediaGalleryAPI.deleteMedia(galleryImage.id);\r\n fetchGalleryImages(page, rowsPerPage);\r\n setConfirmDeleteItemId(0);\r\n setIsDeleting(false);\r\n } catch (error) {\r\n setIsDeleting(false);\r\n }\r\n }\r\n\r\n return (\r\n \r\n } aria-controls=\"panel1d-content\" id=\"panel1d-header\" >\r\n \r\n \r\n \r\n {expanded ? : }\r\n   My Files\r\n \r\n {filesLoading && } \r\n \r\n \r\n \r\n \r\n \r\n \r\n {galleryImages.map((galleryImage: GalleryImage, index: number) => (\r\n \r\n {galleryImage.mimeType ===\"application/pdf\" ? \r\n {galleryImage.fileName} \r\n : \r\n {galleryImage.fileName} }\r\n \r\n {galleryImage.id !== confirmDeleteItemId && (\r\n <>\r\n setConfirmDeleteItemId(galleryImage.id)}\r\n aria-label={`Add ${galleryImage.fileName}`}\r\n className={classes.icon}>\r\n \r\n \r\n {!disabled && (\r\n onAdd(galleryImage)}\r\n aria-label={`Add ${galleryImage.fileName}`}\r\n className={classes.icon}>\r\n \r\n \r\n )}\r\n \r\n )}\r\n {galleryImage.id === confirmDeleteItemId && !isDeleting && (\r\n <>\r\n setConfirmDeleteItemId(0)}\r\n aria-label={`Add ${galleryImage.fileName}`}\r\n className={classes.icon}>\r\n \r\n \r\n => deleteGalleryImage(galleryImage)}\r\n aria-label={`Add ${galleryImage.fileName}`}\r\n className={classes.icon}>\r\n \r\n \r\n \r\n )}\r\n {galleryImage.id === confirmDeleteItemId && isDeleting && }\r\n \r\n }\r\n />\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default ImageGallery;\r\n","import {\r\n Box,\r\n Chip,\r\n Grid,\r\n IconButton,\r\n List,\r\n ListItem,\r\n ListItemText,\r\n makeStyles,\r\n Popover,\r\n TextField,\r\n Theme,\r\n Tooltip,\r\n Typography,\r\n} from '@material-ui/core';\r\nimport SmartButtonIcon from '@mui/icons-material/SmartButton';\r\nimport AlternateEmailIcon from '@mui/icons-material/AlternateEmail';\r\nimport AddCircleIcon from '@material-ui/icons/AddCircle';\r\nimport ArrowBackIcon from '@material-ui/icons/ArrowBack';\r\nimport ChatBubbleIcon from '@material-ui/icons/ChatBubble';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport DeleteIcon from '@material-ui/icons/Delete';\r\nimport EditIcon from '@material-ui/icons/Edit';\r\nimport SaveIcon from '@material-ui/icons/Save';\r\nimport React, { ReactElement, useContext } from 'react';\r\nimport { Container, Draggable, DropResult } from 'react-smooth-dnd';\r\n\r\nimport { SmallCircularProgress } from 'common/components/loaders';\r\nimport TextLimitField from 'common/components/input-fields/TextLimitField';\r\nimport BroadCastAPI from 'components/broadcast/api/broadcast-api-v2';\r\nimport { MergeTag } from 'components/broadcast/models/merge-tag';\r\nimport AppSnackBar from 'components/snackbar/snackbar';\r\nimport { useAppSelector } from 'app';\r\n\r\nimport 'emoji-mart/css/emoji-mart.css';\r\nimport _ from 'lodash';\r\n\r\ninterface MergeTagItemProps {\r\n searchText: string;\r\n template: MergeTag;\r\n anyEditable: boolean;\r\n setAnyEditable(template: MergeTag, editable: boolean): void;\r\n onUpdate(template: MergeTag): Promise;\r\n onAdd(template: MergeTag): void;\r\n onDelete(template: MergeTag): Promise;\r\n}\r\n\r\nexport const useMessageTemplateStyle = makeStyles((theme: Theme): any => ({\r\n markColor: {\r\n backgroundColor: '#0027ff',\r\n color: 'white',\r\n },\r\n}));\r\n\r\nfunction useMessageTemplate(): {\r\n loading: boolean;\r\n messageTemplates: MergeTag[];\r\n setMessageTemplates: (templates: MergeTag[]) => void;\r\n updateMessageTemplate(messageTemplate: MergeTag): Promise;\r\n deleteMessageTemplate(messageTemplate: MergeTag): Promise;\r\n reOrder(dragIndex: number, hoverIndex: number): Promise;\r\n} {\r\n const [showSnackBar] = AppSnackBar.useSnackBar();\r\n const [loading, setLoading] = React.useState(false);\r\n const [messageTemplates, setMessageTemplates] = React.useState([]);\r\n\r\n async function handleUpdateMessageTemplate(template: MergeTag): Promise {\r\n try {\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to update Merge Tag' });\r\n }\r\n }\r\n async function handleDeleteMessageTemplate(template: MergeTag): Promise {\r\n try {\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to update Merge Tag' });\r\n }\r\n }\r\n\r\n const reOrder = React.useCallback(\r\n async (dragItemIndex: number, hoverItemIndex: number): Promise => {\r\n\r\n },\r\n [messageTemplates],\r\n );\r\n\r\n return {\r\n loading,\r\n messageTemplates,\r\n setMessageTemplates: setMessageTemplates,\r\n reOrder,\r\n updateMessageTemplate: handleUpdateMessageTemplate,\r\n deleteMessageTemplate: handleDeleteMessageTemplate,\r\n };\r\n\r\n}\r\n\r\nexport function MergeTagWidget({\r\n refScreen,\r\n disabled,\r\n onClick,\r\n}: {\r\n refScreen: string;\r\n disabled: boolean;\r\n onClick: (body: string) => void;\r\n}): ReactElement {\r\n const [searchFilter, setSearchFilter] = React.useState('');\r\n const {\r\n loading: messageTemplatesLoading,\r\n messageTemplates,\r\n setMessageTemplates,\r\n updateMessageTemplate,\r\n deleteMessageTemplate,\r\n reOrder,\r\n } = useMessageTemplate();\r\n const [snippetAnchorEl, setSnippetAnchorEl] = React.useState(null);\r\n\r\n\r\n const [showSnackBar] = AppSnackBar.useSnackBar();\r\n const [loading, setLoading] = React.useState(false);\r\n const dmsTypeId = useAppSelector((state)=>state.user.dmsTypeId);\r\n //const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n\r\n const fetchMergeTags = React.useCallback(async (): Promise => {\r\n try {\r\n //alert(`refscreen: ${refScreen}`)\r\n //alert(dmsTypeId);\r\n setLoading(true);\r\n const response = await BroadCastAPI.getMergeTags(refScreen); \r\n setMessageTemplates(response);\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to fetch Merge Tags' });\r\n } finally {\r\n setLoading(false);\r\n }\r\n }, [showSnackBar, refScreen, disabled]);\r\n\r\n\r\n\r\n React.useEffect(() => {\r\n fetchMergeTags();\r\n }, [fetchMergeTags]);\r\n\r\n const openSnippet = Boolean(snippetAnchorEl);\r\n const idSnippet = openSnippet ? 'message-template-widget' : undefined;\r\n const classes: any = useMessageTemplateStyle({ backgroundColor: 'white' });\r\n function handleSnippetClose(): void {\r\n setSnippetAnchorEl(null);\r\n }\r\n\r\n function handleAddMessageTemplate(template: MergeTag): void {\r\n handleSnippetClose();\r\n onClick(template.body);\r\n }\r\n\r\n function handleSnippetClick(event: any): void {\r\n setSnippetAnchorEl(event.currentTarget);\r\n }\r\n\r\n function setEditable(template: MergeTag, editable: boolean): void { \r\n const updatedTemplateList = messageTemplates?.map((t) => {\r\n if (t.id !== template.id) return t;\r\n return { ...t, editable: editable };\r\n });\r\n setMessageTemplates(updatedTemplateList);\r\n }\r\n\r\n function filterMessageTemplates(messageTemplate: MergeTag): boolean {\r\n return messageTemplate.body.toLowerCase().indexOf(searchFilter.toLowerCase()) !== -1 || messageTemplate.title.toLowerCase().indexOf(searchFilter.toLowerCase()) !== -1;\r\n }\r\n\r\n async function handleDrop(data: DropResult): Promise {\r\n if (data.addedIndex !== null && data.removedIndex !== null) {\r\n //reOrder(data.addedIndex, data.removedIndex);\r\n }\r\n }\r\n\r\n const filteredMessageTemplates = messageTemplates.filter(filterMessageTemplates);\r\n const anyEditable = messageTemplates.some((t) => t.editable);\r\n const messageTemplateListItems = filteredMessageTemplates.map((template: MergeTag) => (\r\n <>\r\n (\r\n {\r\n setEditable(template, editable);\r\n }}\r\n />\r\n )}\r\n />\r\n\r\n \r\n ));\r\n const messageTemplatesNotFound = (\r\n \r\n No Merge Tags found\r\n \r\n );\r\n const loadingMessageTemplate = (\r\n \r\n \r\n \r\n );\r\n let messageTemplatesListContent: any = messageTemplatesLoading ? loadingMessageTemplate : null;\r\n messageTemplatesListContent = filteredMessageTemplates.length ? messageTemplateListItems : messageTemplatesNotFound;\r\n\r\n return (\r\n <>\r\n \r\n {\r\n handleSnippetClick(e);\r\n }}\r\n disabled={disabled}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n Personalize\r\n \r\n \r\n setSearchFilter(value)}\r\n />\r\n \r\n \r\n {/* \r\n Create\r\n \r\n */}\r\n \r\n All\r\n \r\n \r\n \r\n {messageTemplatesListContent}\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nconst useMessageTemplateItemStyle = makeStyles(() => ({\r\n smallIconBtn: {\r\n padding: '8px',\r\n },\r\n}));\r\n\r\nfunction MergeTagListItem({\r\n searchText,\r\n template,\r\n anyEditable,\r\n setAnyEditable,\r\n onUpdate,\r\n onAdd,\r\n onDelete,\r\n}: MergeTagItemProps): React.ReactElement {\r\n const classes: any = useMessageTemplateItemStyle();\r\n const [editableBody, setEditableBody] = React.useState(template.body);\r\n const [deleteToggle, setDeleteToggle] = React.useState(false);\r\n const [loading, setLoading] = React.useState(false);\r\n\r\n React.useEffect(() => {\r\n setEditableBody(template.body);\r\n }, [template.body, template.id]);\r\n\r\n const Highlighted = ({ text = '', highlight = '' }) => {\r\n if (!highlight.trim()) {\r\n return {text};\r\n }\r\n const regex = new RegExp(`(${_.escapeRegExp(highlight)})`, 'gi');\r\n const parts = text ? text.split(regex) : [];\r\n return (\r\n \r\n {parts\r\n .filter((part) => part)\r\n .map((part, i) =>\r\n regex.test(part) ? (\r\n \r\n {part}\r\n \r\n ) : (\r\n {part}\r\n ),\r\n )}\r\n \r\n );\r\n };\r\n\r\n async function handleDelete(): Promise {\r\n try {\r\n setLoading(true);\r\n await onDelete(template);\r\n setDeleteToggle(false);\r\n // setEditable(false);\r\n setLoading(false);\r\n } catch (error) {\r\n setLoading(false);\r\n }\r\n }\r\n\r\n async function handleUpdate(): Promise {\r\n try {\r\n setLoading(true);\r\n await onUpdate({ ...template, body: editableBody });\r\n // setEditable(false);\r\n setLoading(false);\r\n } catch (error) {\r\n setLoading(false);\r\n }\r\n }\r\n\r\n let content = null;\r\n if (template.editable) {\r\n content = (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n setAnyEditable(template, false)}\r\n className={classes.smallIconBtn}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n setEditableBody(e.target.value)}\r\n />\r\n \r\n \r\n {!deleteToggle && (\r\n \r\n {/*\r\n setDeleteToggle(true)}>\r\n \r\n \r\n\r\n \r\n \r\n \r\n */}\r\n \r\n )}\r\n {deleteToggle && (\r\n \r\n Are you sure you want to delete this?\r\n setDeleteToggle(false)}\r\n aria-label={`Add ${template.title}`}\r\n className={classes.smallIconBtn}>\r\n \r\n \r\n {/*\r\n \r\n \r\n \r\n */}\r\n \r\n )}\r\n \r\n \r\n );\r\n } else {\r\n content = (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n primaryTypographyProps={{\r\n style: {\r\n maxWidth: '400px',\r\n marginTop: '8px',\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n },\r\n }}\r\n />\r\n onAdd(template)}>\r\n \r\n \r\n {/*\r\n {\r\n setAnyEditable(template, true);\r\n }}>\r\n \r\n \r\n */}\r\n \r\n \r\n \r\n );\r\n }\r\n\r\n if (loading) {\r\n content = ;\r\n }\r\n let listItemContent = (\r\n \r\n {content}\r\n \r\n );\r\n\r\n if (!anyEditable) {\r\n listItemContent = {listItemContent};\r\n }\r\n\r\n if (template.editable) {\r\n return listItemContent;\r\n }\r\n return (\r\n {template.body}} placement=\"right\" arrow>\r\n {listItemContent}\r\n \r\n );\r\n}\r\n\r\nexport default MergeTagWidget;\r\n","import React from 'react';\r\n\r\nconst DepartmentFilterContext = React.createContext<{\r\n selectedDepartmentIds: number[];\r\n fetchUserDepartmentSettings(): void;\r\n}>({ selectedDepartmentIds: [], fetchUserDepartmentSettings: () => undefined });\r\n\r\nexport default DepartmentFilterContext;\r\n","import {\r\n Box,\r\n Chip,\r\n Grid,\r\n IconButton,\r\n List,\r\n ListItem,\r\n ListItemText,\r\n makeStyles,\r\n Popover,\r\n TextField,\r\n Theme,\r\n Tooltip,\r\n Typography,\r\n} from '@material-ui/core';\r\nimport AddCircleIcon from '@material-ui/icons/AddCircle';\r\nimport ArrowBackIcon from '@material-ui/icons/ArrowBack';\r\nimport ChatBubbleIcon from '@material-ui/icons/ChatBubble';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport DeleteIcon from '@material-ui/icons/Delete';\r\nimport EditIcon from '@material-ui/icons/Edit';\r\nimport SaveIcon from '@material-ui/icons/Save';\r\nimport React, { ReactElement, useContext } from 'react';\r\nimport { Container, Draggable, DropResult } from 'react-smooth-dnd';\r\n\r\nimport { SmallCircularProgress } from 'common/components/loaders';\r\nimport TextLimitField from 'common/components/input-fields/TextLimitField';\r\nimport BroadCastAPI from 'components/broadcast/api/broadcast-api-v2';\r\nimport { MessageTemplate } from 'components/broadcast/models/message-template';\r\nimport AppSnackBar from 'components/snackbar/snackbar';\r\n\r\nimport 'emoji-mart/css/emoji-mart.css';\r\nimport _ from 'lodash';\r\nimport DepartmentFilterContext from 'components/layouts/DashboardLayout/department-filter-context';\r\n\r\ninterface MessageTemplateItemProps {\r\n searchText: string;\r\n template: MessageTemplate;\r\n anyEditable: boolean;\r\n setAnyEditable(template: MessageTemplate, editable: boolean): void;\r\n onUpdate(template: MessageTemplate): Promise;\r\n onAdd(template: MessageTemplate): void;\r\n onDelete(template: MessageTemplate): Promise;\r\n}\r\n\r\nexport const useMessageTemplateStyle = makeStyles((theme: Theme): any => ({\r\n markColor: {\r\n backgroundColor: '#0027ff',\r\n color: 'white',\r\n },\r\n}));\r\n\r\nlet messageTemplatesList: MessageTemplate[] = [];\r\nfunction useMessageTemplate(): {\r\n loading: boolean;\r\n messageTemplates: MessageTemplate[];\r\n setMessageTemplates: (templates: MessageTemplate[]) => void;\r\n updateMessageTemplate(messageTemplate: MessageTemplate): Promise;\r\n deleteMessageTemplate(messageTemplate: MessageTemplate): Promise;\r\n reOrder(dragIndex: number, hoverIndex: number): Promise;\r\n} {\r\n const [showSnackBar] = AppSnackBar.useSnackBar();\r\n const [loading, setLoading] = React.useState(false);\r\n const [messageTemplates, setMessageTemplates] = React.useState([]);\r\n\r\n const { selectedDepartmentIds } = useContext(DepartmentFilterContext);\r\n async function handleUpdateMessageTemplate(template: MessageTemplate): Promise {\r\n try {\r\n await BroadCastAPI.updateMessageTemplate(template);\r\n const updatedTemplateList = messageTemplates?.map((t) => {\r\n if (t.id !== template.id) return t;\r\n return template;\r\n });\r\n setMessageTemplates(updatedTemplateList);\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to update message template' });\r\n }\r\n }\r\n\r\n async function handleDeleteMessageTemplate(template: MessageTemplate): Promise {\r\n try {\r\n await BroadCastAPI.deleteMessageTemplate(template.id);\r\n const updatedTemplateList = messageTemplates?.filter((t) => t.id !== template.id);\r\n setMessageTemplates(updatedTemplateList);\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to update message template' });\r\n }\r\n }\r\n\r\n async function updateMessageTemplates(templates: MessageTemplate[]): Promise {\r\n try {\r\n await BroadCastAPI.updateMessageTemplates(templates);\r\n } catch (error) {\r\n console.error(`Unable to update message template ${error}`);\r\n }\r\n }\r\n\r\n const fetchMessageTemplates = React.useCallback(async (): Promise => {\r\n try {\r\n setLoading(true);\r\n const response = await BroadCastAPI.getMessageTemplates();\r\n setMessageTemplates(response);\r\n messageTemplatesList= response;\r\n setLoading(false);\r\n } catch (error) {\r\n setLoading(false);\r\n showSnackBar({ type: 'error', message: 'Unable to fetch message templates' });\r\n }\r\n }, [showSnackBar]);\r\n\r\n const reOrder = React.useCallback(\r\n async (dragItemIndex: number, hoverItemIndex: number): Promise => {\r\n const reOrderedMessages = [...messageTemplates];\r\n const temp = reOrderedMessages[dragItemIndex];\r\n reOrderedMessages[dragItemIndex] = reOrderedMessages[hoverItemIndex];\r\n reOrderedMessages[hoverItemIndex] = temp;\r\n\r\n const tempOrderId = reOrderedMessages[dragItemIndex].orderId;\r\n reOrderedMessages[dragItemIndex].orderId = reOrderedMessages[hoverItemIndex].orderId;\r\n reOrderedMessages[hoverItemIndex].orderId = tempOrderId;\r\n setMessageTemplates(reOrderedMessages);\r\n try {\r\n await updateMessageTemplates([reOrderedMessages[dragItemIndex], reOrderedMessages[hoverItemIndex]]);\r\n } catch (error) {\r\n console.error(`Unable to update message template ${error}`);\r\n }\r\n },\r\n [messageTemplates],\r\n );\r\n\r\n React.useEffect(() => {\r\n if (messageTemplatesList?.length === 0) {\r\n fetchMessageTemplates();\r\n } else {\r\n setMessageTemplates(messageTemplatesList);\r\n }\r\n }, [fetchMessageTemplates, selectedDepartmentIds]);\r\n\r\n return {\r\n loading,\r\n messageTemplates,\r\n setMessageTemplates: setMessageTemplates,\r\n reOrder,\r\n updateMessageTemplate: handleUpdateMessageTemplate,\r\n deleteMessageTemplate: handleDeleteMessageTemplate,\r\n };\r\n}\r\n\r\nexport function MessageSnippetWidget({\r\n disabled,\r\n onClick,\r\n}: {\r\n disabled: boolean;\r\n onClick: (body: string) => void;\r\n}): ReactElement {\r\n const [searchFilter, setSearchFilter] = React.useState('');\r\n const {\r\n loading: messageTemplatesLoading,\r\n messageTemplates,\r\n setMessageTemplates,\r\n updateMessageTemplate,\r\n deleteMessageTemplate,\r\n reOrder,\r\n } = useMessageTemplate();\r\n const [snippetAnchorEl, setSnippetAnchorEl] = React.useState(null);\r\n\r\n\r\n const { selectedDepartmentIds } = useContext(DepartmentFilterContext);\r\n\r\n const openSnippet = Boolean(snippetAnchorEl);\r\n const idSnippet = openSnippet ? 'message-template-widget' : undefined;\r\n const classes: any = useMessageTemplateStyle({ backgroundColor: 'white' });\r\n function handleSnippetClose(): void {\r\n setSnippetAnchorEl(null);\r\n }\r\n\r\n function handleAddMessageTemplate(template: MessageTemplate): void {\r\n handleSnippetClose();\r\n onClick(template.body);\r\n }\r\n\r\n function handleSnippetClick(event: any): void {\r\n setSnippetAnchorEl(event.currentTarget);\r\n setSearchFilter('');\r\n }\r\n\r\n function setEditable(template: MessageTemplate, editable: boolean): void {\r\n const updatedTemplateList = messageTemplates?.map((t) => {\r\n if (t.id !== template.id) return t;\r\n return { ...t, editable: editable };\r\n });\r\n setMessageTemplates(updatedTemplateList);\r\n }\r\n\r\n function filterMessageTemplates(messageTemplate: MessageTemplate): boolean {\r\n return messageTemplate.body.toLowerCase().indexOf(searchFilter.toLowerCase()) !== -1 || messageTemplate.title.toLowerCase().indexOf(searchFilter.toLowerCase()) !== -1;\r\n }\r\n\r\n async function handleDrop(data: DropResult): Promise {\r\n if (data.addedIndex !== null && data.removedIndex !== null) {\r\n reOrder(data.addedIndex, data.removedIndex);\r\n }\r\n }\r\n\r\n const filteredMessageTemplates = messageTemplates.filter(filterMessageTemplates);\r\n const anyEditable = messageTemplates.some((t) => t.editable);\r\n const messageTemplateListItems = filteredMessageTemplates.map((template: MessageTemplate) => (\r\n <>\r\n (\r\n {\r\n setEditable(template, editable);\r\n }}\r\n />\r\n )}\r\n />\r\n \r\n ));\r\n const messageTemplatesNotFound = (\r\n \r\n No Quick messages found\r\n \r\n );\r\n const loadingMessageTemplate = (\r\n \r\n \r\n \r\n );\r\n let messageTemplatesListContent: any = messageTemplatesLoading ? loadingMessageTemplate : null;\r\n messageTemplatesListContent = filteredMessageTemplates.length ? messageTemplateListItems : messageTemplatesNotFound;\r\n\r\n return (\r\n <>\r\n \r\n {\r\n handleSnippetClick(e);\r\n }}\r\n disabled={disabled}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n Quick Messages\r\n \r\n \r\n setSearchFilter(value)}\r\n />\r\n \r\n \r\n {/* \r\n Create\r\n \r\n */}\r\n \r\n All\r\n \r\n \r\n \r\n {messageTemplatesListContent}\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nconst useMessageTemplateItemStyle = makeStyles(() => ({\r\n smallIconBtn: {\r\n padding: '8px',\r\n },\r\n}));\r\n\r\nfunction MessageTemplateListItem({\r\n searchText,\r\n template,\r\n anyEditable,\r\n setAnyEditable,\r\n onUpdate,\r\n onAdd,\r\n onDelete,\r\n}: MessageTemplateItemProps): React.ReactElement {\r\n const classes: any = useMessageTemplateItemStyle();\r\n const [editableBody, setEditableBody] = React.useState(template.body);\r\n const [deleteToggle, setDeleteToggle] = React.useState(false);\r\n const [loading, setLoading] = React.useState(false);\r\n\r\n React.useEffect(() => {\r\n setEditableBody(template.body);\r\n }, [template.body, template.id]);\r\n\r\n const Highlighted = ({ text = '', highlight = '' }) => {\r\n if (!highlight.trim()) {\r\n return {text};\r\n }\r\n const regex = new RegExp(`(${_.escapeRegExp(highlight)})`, 'gi');\r\n const parts = text ? text.split(regex) : [];\r\n return (\r\n \r\n {parts\r\n .filter((part) => part)\r\n .map((part, i) =>\r\n regex.test(part) ? (\r\n \r\n {part}\r\n \r\n ) : (\r\n {part}\r\n ),\r\n )}\r\n \r\n );\r\n };\r\n\r\n async function handleDelete(): Promise {\r\n try {\r\n setLoading(true);\r\n await onDelete(template);\r\n setDeleteToggle(false);\r\n // setEditable(false);\r\n setLoading(false);\r\n } catch (error) {\r\n setLoading(false);\r\n }\r\n }\r\n\r\n async function handleUpdate(): Promise {\r\n try {\r\n setLoading(true);\r\n await onUpdate({ ...template, body: editableBody });\r\n // setEditable(false);\r\n setLoading(false);\r\n } catch (error) {\r\n setLoading(false);\r\n }\r\n }\r\n\r\n let content = null;\r\n if (template.editable) {\r\n content = (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n setAnyEditable(template, false)}\r\n className={classes.smallIconBtn}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n setEditableBody(e.target.value)}\r\n />\r\n \r\n \r\n {!deleteToggle && (\r\n \r\n setDeleteToggle(true)}>\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n )}\r\n {deleteToggle && (\r\n \r\n Are you sure you want to delete this?\r\n setDeleteToggle(false)}\r\n aria-label={`Add ${template.title}`}\r\n className={classes.smallIconBtn}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n } else {\r\n content = (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n primaryTypographyProps={{\r\n style: {\r\n maxWidth: '400px',\r\n marginTop: '8px',\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n },\r\n }}\r\n />\r\n onAdd(template)}>\r\n \r\n \r\n {\r\n setAnyEditable(template, true);\r\n }}>\r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n\r\n if (loading) {\r\n content = ;\r\n }\r\n let listItemContent = (\r\n \r\n {content}\r\n \r\n );\r\n\r\n if (!anyEditable) {\r\n listItemContent = {listItemContent};\r\n }\r\n\r\n if (template.editable) {\r\n return listItemContent;\r\n }\r\n return (\r\n {template.body}} placement=\"right\" arrow>\r\n {listItemContent}\r\n \r\n );\r\n}\r\n\r\nexport default MessageSnippetWidget;\r\n","import React from 'react';\r\n\r\nimport { Location } from 'common/models/location';\r\nimport { getAllLocationOption, LocationOption } from 'common/models/location-option';\r\nimport DealerAPI from 'components/authentication/api/dealer-api';\r\n\r\n\r\n/**\r\n * useLocations hook returns location for the using dmsDealerIdCrm\r\n */\r\nconst CACHE: { [key: number]: Location[] } = {};\r\nfunction useLocations(dmsDealerIdCrm: number): {\r\n loading: boolean;\r\n locations?: Location[];\r\n locationOptions?: LocationOption[];\r\n defaultLocationOption?: LocationOption;\r\n getLocationName(dealerLocationId: number): string | undefined;\r\n} {\r\n const [locations, setLocations] = React.useState(undefined);\r\n const [defaultLocationOption, setDefaultLocationOption] = React.useState({\r\n dealerLocationId: -1,\r\n name: 'Select location',\r\n });\r\n const [locationOptions, setLocationOptions] = React.useState([\r\n { dealerLocationId: -1, name: 'Select location' },\r\n ]);\r\n const [loading, setLoading] = React.useState(false);\r\n\r\n React.useEffect(() => {\r\n async function fetchDealershipLocations(): Promise {\r\n try {\r\n setLoading(true);\r\n const response = await DealerAPI.getDealerSettings(dmsDealerIdCrm);\r\n setLocations(response.dealerLocationSettings);\r\n CACHE[dmsDealerIdCrm] = response.dealerLocationSettings;\r\n setLoading(false);\r\n } catch (error) {\r\n setLoading(false);\r\n }\r\n }\r\n if (CACHE[dmsDealerIdCrm]) {\r\n setLocations(CACHE[dmsDealerIdCrm]);\r\n } else {\r\n fetchDealershipLocations();\r\n }\r\n }, [dmsDealerIdCrm]);\r\n\r\n React.useEffect(() => {\r\n if (locations) {\r\n const isMultiStore = locations.length !== 1;\r\n let options = locations.map((location) => ({ name: location.locationName, dealerLocationId: location.dealerId }));\r\n let defaultOption = options[0];\r\n if (isMultiStore) {\r\n options = [getAllLocationOption(), ...options];\r\n defaultOption = getAllLocationOption();\r\n }\r\n setDefaultLocationOption(defaultOption);\r\n setLocationOptions(options);\r\n }\r\n }, [locations]);\r\n\r\n function getLocationName(dealerLocationId: number): string | undefined {\r\n return locationOptions?.find((option) => option.dealerLocationId === dealerLocationId)?.name;\r\n }\r\n\r\n React.useDebugValue({\r\n locations,\r\n });\r\n\r\n return { loading, locations, locationOptions, defaultLocationOption, getLocationName };\r\n}\r\n\r\nexport default useLocations;","export interface LocationOption {\r\n name: string;\r\n dealerLocationId: number;\r\n}\r\n\r\nexport function getAllLocationOption(): LocationOption {\r\n return {\r\n name: 'All Locations',\r\n dealerLocationId: 0,\r\n };\r\n}\r\n","import {\r\n Box,\r\n Grid,\r\n IconButton,\r\n List,\r\n ListItem,\r\n ListItemText,\r\n ListSubheader,\r\n makeStyles,\r\n MenuItem,\r\n Popover,\r\n Select,\r\n Tooltip,\r\n Typography,\r\n} from '@material-ui/core';\r\nimport AddCircleIcon from '@material-ui/icons/AddCircle';\r\nimport StarIcon from '@material-ui/icons/Star';\r\nimport React, { ReactElement, useState } from 'react';\r\nimport { useAppSelector } from 'app';\r\n\r\nimport BroadCastAPI from 'components/broadcast/api/broadcast-api-v2';\r\n\r\nimport useLocations from 'common/hooks/useLocations';\r\n\r\nconst useStyles = makeStyles(() => ({\r\n smallIconBtn: {\r\n padding: '8px',\r\n },\r\n}));\r\n\r\nexport function SocialLinkWidget({\r\n disabled,\r\n onClick,\r\n disableAllLocations\r\n}: {\r\n disabled: boolean;\r\n onClick: (shortenUrl: string) => void;\r\n disableAllLocations?: boolean;\r\n}): ReactElement {\r\n const classes: any = useStyles();\r\n const [socialAnchorEl, setSocialAnchorEl] = React.useState(null);\r\n const openSocial = Boolean(socialAnchorEl);\r\n const idSocial = openSocial ? 'social-popover' : undefined;\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n const { loading: loadingLocations, locations, locationOptions, defaultLocationOption } = useLocations(dmsDealerIdCrm);\r\n const [selectedLocationId, setSelectedLocationId] = useState(\r\n defaultLocationOption?.dealerLocationId,\r\n );\r\n const myLocationOptions = disableAllLocations\r\n ? locationOptions?.filter((x) => x.dealerLocationId != 0)\r\n : locationOptions;\r\n React.useEffect(() => {\r\n if (disableAllLocations) {\r\n setSelectedLocationId(myLocationOptions?.find((x)=>x.dealerLocationId === dealerId)?.dealerLocationId);\r\n } else {\r\n setSelectedLocationId(defaultLocationOption?.dealerLocationId);\r\n }\r\n }, [defaultLocationOption]);\r\n\r\n function handleSocialClose(): void {\r\n setSocialAnchorEl(null);\r\n }\r\n\r\n function handleSocialClick(event: any): void {\r\n setSocialAnchorEl(event.currentTarget);\r\n }\r\n\r\n async function handleShortenUrl(popOverUrl: string | undefined): Promise {\r\n if (popOverUrl) {\r\n const shortenedUrl = await BroadCastAPI.shortenUrl(popOverUrl);\r\n const url = shortenedUrl;\r\n onClick(url);\r\n handleSocialClose();\r\n }\r\n }\r\n\r\n function handleChange(event: any): void {\r\n setSelectedLocationId(event.target.value);\r\n }\r\n const selectedLocation = locations?.find((location) => location.dealerId === selectedLocationId);\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Review URLs\r\n \r\n \r\n \r\n handleChange(e)}\r\n value={selectedLocationId}>\r\n {myLocationOptions?.map((location) => (\r\n \r\n {location.name}\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n }>\r\n {selectedLocation ? (\r\n <>\r\n \r\n \r\n => handleShortenUrl(selectedLocation.googleLink)}\r\n className={classes.smallIconBtn}>\r\n \r\n \r\n \r\n \r\n \r\n => handleShortenUrl(selectedLocation.facebookLink)}\r\n className={classes.smallIconBtn}>\r\n \r\n \r\n \r\n \r\n ) : (\r\n \r\n No review URL\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default SocialLinkWidget;\r\n","import { Box, Button, Grid, IconButton, Popover, TextField, Tooltip, Typography } from '@material-ui/core';\r\nimport LinkIcon from '@material-ui/icons/Link';\r\nimport React, { ReactElement } from 'react';\r\n\r\nimport BroadCastAPI from 'components/broadcast/api/broadcast-api-v2';\r\n\r\nexport function UrlShortenerWidget({\r\n disabled,\r\n onClick,\r\n}: {\r\n disabled: boolean;\r\n onClick: (body: string) => void;\r\n}): ReactElement {\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n const open = Boolean(anchorEl);\r\n const id = open ? 'simple-popover' : undefined;\r\n const [PopoverUrl, setPopOverUrl] = React.useState('');\r\n\r\n const handleClick = (event: any): void => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n const handleClose = (): void => {\r\n setAnchorEl(null);\r\n };\r\n const handlePopOverChange = (event: any): void => {\r\n setPopOverUrl(event.target.value);\r\n };\r\n const handleShortenUrl = async (event: any): Promise => {\r\n if (PopoverUrl) {\r\n const shortenedUrl = await BroadCastAPI.shortenUrl(PopoverUrl);\r\n setPopOverUrl(shortenedUrl);\r\n setAnchorEl(null);\r\n const url = shortenedUrl;\r\n onClick(url);\r\n shortenedUrl.length > 0 && setPopOverUrl('');\r\n }\r\n };\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Enter URL \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default UrlShortenerWidget;\r\n","export function TriggerMessageCount(count){\r\n console.log('TriggerMessageCount: ' + count);\r\n window.chrome.webview.postMessage({Count: count});\r\n}\r\n\r\nexport function GetAttachments(size, allowedTypes='*') {\r\n window.chrome.webview.postMessage({EVENT_TYPE: 'ATTACHMENT', SIZE_LIMIT: size, ALLOWED_TYPES:allowedTypes});\r\n}\r\n\r\nexport function GetVideoStream(res) {\r\n window.chrome.webview.postMessage({EVENT_TYPE: 'CAMERA', url: res});\r\n}\r\n\r\nexport function GetLink(src){\r\n window.chrome.webview.postMessage({EVENT_TYPE: 'URL', url: src});\r\n}","export interface ITaskTimes{\r\n label: string,\r\n value: string\r\n}\r\nexport const taskHours : ITaskTimes[] = [\r\n // { label: '12 AM', value: '00:00' },\r\n // { label: '12:15 AM', value: '00:15' },\r\n // { label: '12:30 AM', value: '00:30' },\r\n // { label: '12:45 AM', value: '00:45' },\r\n // { label: '1 AM', value: '01:00' },\r\n // { label: '1:15 AM', value: '01:15' },\r\n // { label: '1:30 AM', value: '01:30' },\r\n // { label: '1:45 AM', value: '01:45' },\r\n // { label: '2 AM', value: '02:00' },\r\n // { label: '2:15 AM', value: '02:15' },\r\n // { label: '2:30 AM', value: '02:30' },\r\n // { label: '2:45 AM', value: '02:45' },\r\n // { label: '3 AM', value: '03:00' },\r\n // { label: '3:15 AM', value: '03:15' },\r\n // { label: '3:30 AM', value: '03:30' },\r\n // { label: '3:45 AM', value: '03:45' },\r\n // { label: '4 AM', value: '04:00' },\r\n // { label: '4:15 AM', value: '04:15' },\r\n // { label: '4:30 AM', value: '04:30' },\r\n // { label: '4:45 AM', value: '04:45' },\r\n // { label: '5 AM', value: '05:00' },\r\n // { label: '5:15 AM', value: '05:15' },\r\n // { label: '5:30 AM', value: '05:30' },\r\n // { label: '5:45 AM', value: '05:45' },\r\n { label: '6 AM', value: '06:00' },\r\n { label: '6:15 AM', value: '06:15' },\r\n { label: '6:30 AM', value: '06:30' },\r\n { label: '6:45 AM', value: '06:45' },\r\n { label: '7 AM', value: '07:00' },\r\n { label: '7:15 AM', value: '07:15' },\r\n { label: '7:30 AM', value: '07:30' },\r\n { label: '7:45 AM', value: '07:45' },\r\n { label: '8 AM', value: '08:00' },\r\n { label: '8:15 AM', value: '08:15' },\r\n { label: '8:30 AM', value: '08:30' },\r\n { label: '8:45 AM', value: '08:45' },\r\n { label: '9 AM', value: '09:00' },\r\n { label: '9:15 AM', value: '09:15' },\r\n { label: '9:30 AM', value: '09:30' },\r\n { label: '9:45 AM', value: '09:45' },\r\n { label: '10 AM', value: '10:00' },\r\n { label: '10:15 AM', value: '10:15' },\r\n { label: '10:30 AM', value: '10:30' },\r\n { label: '10:45 AM', value: '10:45' },\r\n { label: '11 AM', value: '11:00' },\r\n { label: '11:15 AM', value: '11:15' },\r\n { label: '11:30 AM', value: '11:30' },\r\n { label: '11:45 AM', value: '11:45' },\r\n { label: '12 PM', value: '12:00' },\r\n { label: '12:15 PM', value: '12:15' },\r\n { label: '12:30 PM', value: '12:30' },\r\n { label: '12:45 PM', value: '12:45' },\r\n { label: '1 PM', value: '13:00' },\r\n { label: '1:15 PM', value: '13:15' },\r\n { label: '1:30 PM', value: '13:30' },\r\n { label: '1:45 PM', value: '13:45' },\r\n { label: '2 PM', value: '14:00' },\r\n { label: '2:15 PM', value: '14:15' },\r\n { label: '2:30 PM', value: '14:30' },\r\n { label: '2:45 PM', value: '14:45' },\r\n { label: '3 PM', value: '15:00' },\r\n { label: '3:15 PM', value: '15:15' },\r\n { label: '3:30 PM', value: '15:30' },\r\n { label: '3:45 PM', value: '15:45' },\r\n { label: '4 PM', value: '16:00' },\r\n { label: '4:15 PM', value: '16:15' },\r\n { label: '4:30 PM', value: '16:30' },\r\n { label: '4:45 PM', value: '16:45' },\r\n { label: '5 PM', value: '17:00' },\r\n { label: '5:15 PM', value: '17:15' },\r\n { label: '5:30 PM', value: '17:30' },\r\n { label: '5:45 PM', value: '17:45' },\r\n { label: '6 PM', value: '18:00' },\r\n { label: '6:15 PM', value: '18:15' },\r\n { label: '6:30 PM', value: '18:30' },\r\n { label: '6:45 PM', value: '18:45' },\r\n { label: '7 PM', value: '19:00' },\r\n { label: '7:15 PM', value: '19:15' },\r\n { label: '7:30 PM', value: '19:30' },\r\n { label: '7:45 PM', value: '19:45' },\r\n { label: '8 PM', value: '20:00' },\r\n { label: '8:15 PM', value: '20:15' },\r\n { label: '8:30 PM', value: '20:30' },\r\n { label: '8:45 PM', value: '20:45' },\r\n { label: '9 PM', value: '21:00' },\r\n // { label: '9:15 PM', value: '21:15' },\r\n // { label: '9:30 PM', value: '21:30' },\r\n // { label: '9:45 PM', value: '21:45' },\r\n // { label: '10 PM', value: '22:00' },\r\n // { label: '10:15 PM', value: '22:15' },\r\n // { label: '10:30 PM', value: '22:30' },\r\n // { label: '10:45 PM', value: '22:45' },\r\n // { label: '11 PM', value: '23:00' },\r\n // { label: '11:15 PM', value: '23:15' },\r\n // { label: '11:30 PM', value: '23:30' },\r\n // { label: '11:45 PM', value: '23:45' },\r\n];\r\n","export const CompareObjects = (Objects1:any, Objects2:any) : boolean => {\r\n return JSON.stringify(Objects1) === JSON.stringify(Objects2) ? false : true;\r\n}","export const dateTimeFormats = {\r\n HourMinuteFormat: 'h:mm a',\r\n MonthDayFormat: 'M/D',\r\n MonthDayYearFormat: 'M/DD/YYYY',\r\n MonthDayYearHourMinuteFormat: 'M/d/yyyy h:mm a',\r\n\r\n } as const;\r\n\r\n export const MessageStatusType = {\r\n delivered: \"delivered\",\r\n failed: \"failed\",\r\n sent:\"sent\",\r\n sending:\"sending\",\r\n } as const;\r\n\r\n export const MessageTypeConst = {\r\n Text: \"Text\",\r\n Broadcast: \"Broadcast\",\r\n Survey: \"Survey\",\r\n VideoCall: \"VideoCall\",\r\n PaymentReceived: \"PaymentReceived\",\r\n PaymentSent: \"PaymentSent\",\r\n PaymentCanceled: \"PaymentCanceled\",\r\n PaymentVoided: \"PaymentVoided\",\r\n Facebook: \"Facebook\",\r\n MergedText: \"MergedText\"\r\n} as const;\r\n\r\n\r\n export const ConversationType = {\r\n All: {\r\n Display:\"All\",\r\n Value:\"all\"\r\n },\r\n UnRead: {\r\n Display:\"Unread\",\r\n Value:\"unread\"\r\n },\r\n Archive: {\r\n Display:\"Archived\",\r\n Value:\"archive\"\r\n }\r\n } as const;\r\n\r\n export const BroadcastType = {\r\n EMAIL:\"EMAIL\",\r\n MMS:\"MMS\",\r\n SMS:\"SMS\",\r\n } as const;\r\n\r\n \r\n export const SurveyConstants = {\r\n DefaultStartHour:\"08\",\r\n DefaultEndHour:\"18\",\r\n } as const;\r\n\r\n export const MemoMessageBodyLimit:number = 100;\r\n\r\n export const FeatureNames = {\r\n Dashboard: \"dashboard\",\r\n Broadcasts: \"broadcasts\",\r\n Messenger: \"messages\",\r\n Surveys: \"surveys\",\r\n Feedback: \"survey-response\",\r\n Customers: \"customers\",\r\n CustomerGroups: \"customer-groups\",\r\n Orders: \"invoice\",\r\n Settings: \"settings\",\r\n Tasks: \"tasks\",\r\n Inventory: \"inventory\",\r\n Deals: \"deals\",\r\n Payments: \"payments\",\r\n Automations: \"automations\"\r\n} as const;\r\n\r\nexport const MessagePaymentStatus = {\r\n Pending : \"Pending\",\r\n Canceled : \"Canceled\",\r\n Completed :\"Completed\",\r\n PartiallyCompleted :\"PartiallyCompleted\",\r\n Voided :\"Voided\",\r\n} as const;\r\n\r\nexport const ApplicationPropertyNames = {\r\n showTextToPayInvoices:\"ShowTextToPayInvoices\"\r\n} as const;\r\n\r\nexport const OrderType = {\r\n SaleOrder: \"SO\",\r\n WorkOrder: \"WO\",\r\n } as const;","import { TextMaskCustomProps } from \"components/customer/components/CustomerForm/TextMaskCustomProps\";\r\nimport MaskedInput from \"react-text-mask\";\r\n\r\nexport const PhoneNumberTextMaskCustom = (props: TextMaskCustomProps) => {\r\n const { inputRef, ...other } = props;\r\n return (\r\n {\r\n inputRef(ref ? ref.inputElement : null);\r\n }}\r\n guide\r\n keepCharPositions\r\n mask={['(', /[1-9]/, /\\d/, /\\d/, ')', ' ', /\\d/, /\\d/, /\\d/, '-', /\\d/, /\\d/, /\\d/, /\\d/]}\r\n placeholderChar={'\\u2000'}\r\n showMask\r\n />\r\n );\r\n };","import { parsePhoneNumberFromString } from 'libphonenumber-js';\r\n\r\nexport function formatPhoneNumber(phoneNumberString: string): string | null {\r\n if (typeof phoneNumberString === 'string') {\r\n const phoneNumber = parsePhoneNumberFromString(phoneNumberString, 'US');\r\n return phoneNumber ? phoneNumber.formatNational() : null;\r\n }\r\n return null;\r\n}\r\n\r\nexport function FormatPhoneNumberCustom(num: string){\r\n if(num.length <0 ) return;\r\n const formattedNumber = num.length > 0 ? `(${num.slice(0, 3)}${num.length > 3 ? ') '+num.slice(3, 6):''}${num.length > 6 ? '-'+num.slice(6):''}`:'';\r\n return formattedNumber;\r\n}\r\n\r\nexport default formatPhoneNumber;\r\n","import React, { useState } from 'react';\r\nimport {\r\n Box,\r\n Grid,\r\n Paper,\r\n TextField,\r\n Theme,\r\n makeStyles,\r\n Dialog,\r\n DialogTitle,\r\n DialogContent,\r\n DialogActions,\r\n Button,\r\n Chip,\r\n Typography,\r\n CircularProgress,\r\n} from '@material-ui/core';\r\nimport { BroadCast, BroadCastType, SendBroadcastTestMessageRequest } from 'components/broadcast/models/broadcast';\r\nimport { ToggleButton, ToggleButtonGroup } from '@material-ui/lab';\r\nimport { TabPanel } from 'common/components/tabs';\r\nimport { useRouter } from 'common/hooks';\r\nimport BroadCastAPI from 'components/broadcast/api/broadcast-api-v2';\r\nimport Swal from 'sweetalert2';\r\nimport { BroadcastType } from 'common/utils/shared/shared-constants';\r\nimport { PhoneNumberTextMaskCustom } from 'common/components/input-fields/PhoneNumberTextMaskCustom';\r\nimport { FormatPhoneNumberCustom } from 'common/utils/format-phoneNumber';\r\n\r\n// Regular expressions for validation\r\nconst phoneNumberRegex = /^(\\+?\\d{1,4}?[\\s-]?)?(\\(?\\d{1,3}?\\)?[\\s-]?)?[\\d\\s-]{10,}$/;\r\nconst emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\r\n\r\nconst useStyles = makeStyles((theme: Theme) => ({\r\n paper: {\r\n padding: theme.spacing(3),\r\n marginBottom: theme.spacing(3),\r\n },\r\n toggleButtonGroup: {\r\n marginBottom: theme.spacing(2),\r\n display: 'flex',\r\n flexDirection: 'row',\r\n alignItems: 'center',\r\n },\r\n toggleButton: {\r\n height: '40px',\r\n fontWeight: 'bold',\r\n '&.Mui-selected': {\r\n backgroundColor: '#3f51b5',\r\n color: '#fff',\r\n },\r\n '& .MuiToggleButton-label': {\r\n fontWeight: 'bold',\r\n },\r\n },\r\n chipContainer: {\r\n marginTop: theme.spacing(2),\r\n },\r\n chip: {\r\n marginRight: theme.spacing(1),\r\n marginBottom: theme.spacing(1),\r\n },\r\n textField: {\r\n marginTop: theme.spacing(2),\r\n fontSize: '1rem',\r\n },\r\n dialogTitle: {\r\n backgroundColor: '#3f51b5',\r\n color: '#fff',\r\n padding: theme.spacing(2),\r\n },\r\n dialogContent: {\r\n padding: theme.spacing(2),\r\n },\r\n dialogActions: {\r\n display: 'flex',\r\n justifyContent: 'space-between',\r\n padding: theme.spacing(2),\r\n },\r\n cancelButton: {\r\n color: '#fff',\r\n backgroundColor: theme.palette.error.main,\r\n '&:hover': {\r\n backgroundColor: theme.palette.error.dark,\r\n },\r\n },\r\n sendButton: {\r\n color: '#fff',\r\n backgroundColor: theme.palette.primary.main,\r\n '&:hover': {\r\n backgroundColor: theme.palette.primary.dark,\r\n },\r\n },\r\n infoText: {\r\n marginBottom: theme.spacing(1),\r\n },\r\n errorText: {\r\n color: theme.palette.error.main,\r\n marginTop: theme.spacing(1),\r\n fontSize: '0.9rem',\r\n },\r\n // Responsive adjustments\r\n '@media (max-width: 600px)': {\r\n dialogContent: {\r\n padding: theme.spacing(2),\r\n },\r\n toggleButton: {\r\n fontSize: '0.8rem',\r\n height: '36px',\r\n },\r\n textField: {\r\n fontSize: '0.9rem',\r\n marginTop: theme.spacing(2),\r\n },\r\n infoText: {\r\n fontSize: '1rem',\r\n },\r\n },\r\n loader: {\r\n display: 'flex',\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n marginTop: theme.spacing(2),\r\n },\r\n swalContainerError:{\r\n '& .swal2-popup': {\r\n borderRadius: theme.shape.borderRadius,\r\n padding: theme.spacing(3),\r\n boxShadow: theme.shadows[5],\r\n backgroundColor: theme.palette.background.paper,\r\n color: theme.palette.text.primary,\r\n },\r\n '& .swal2-title': {\r\n color: theme.palette.text.primary,\r\n fontFamily: theme.typography.fontFamily,\r\n },\r\n '& .swal2-content': {\r\n color: theme.palette.text.secondary,\r\n fontFamily: theme.typography.fontFamily,\r\n },\r\n '& .swal2-confirm': {\r\n backgroundColor: theme.palette.error.main,\r\n color: theme.palette.error.contrastText,\r\n borderRadius: \"4px\",\r\n '&:hover': {\r\n backgroundColor: theme.palette.error.dark,\r\n },\r\n },\r\n },\r\n swalContainer: {\r\n '& .swal2-popup': {\r\n borderRadius: theme.shape.borderRadius,\r\n padding: theme.spacing(3),\r\n boxShadow: theme.shadows[5],\r\n backgroundColor: theme.palette.background.paper,\r\n color: theme.palette.text.primary,\r\n },\r\n '& .swal2-title': {\r\n color: theme.palette.text.primary,\r\n fontFamily: theme.typography.fontFamily,\r\n },\r\n '& .swal2-content': {\r\n color: theme.palette.text.secondary,\r\n fontFamily: theme.typography.fontFamily,\r\n },\r\n '& .swal2-confirm': {\r\n backgroundColor: theme.palette.primary.main,\r\n color: theme.palette.primary.contrastText,\r\n borderRadius: \"4px\",\r\n '&:hover': {\r\n backgroundColor: theme.palette.primary.dark,\r\n },\r\n },\r\n },\r\n errorList: {\r\n fontSize: '15px',\r\n textAlign: 'left',\r\n color: theme.palette.error.main,\r\n margin: 0,\r\n padding: 0,\r\n listStyleType: 'none',\r\n },\r\n errorColor : {color:theme.palette.error.main},\r\n}));\r\n\r\nexport default function BroadcastTestMessage({\r\n broadcast,\r\n type,\r\n openTestMessageDialog,\r\n onClose,\r\n}: {\r\n broadcast: BroadCast;\r\n type: BroadCastType;\r\n openTestMessageDialog: boolean;\r\n onClose(): Promise;\r\n}): React.ReactElement {\r\n\r\n const router = useRouter();\r\n const { query }: any = router;\r\n const classes = useStyles();\r\n const [phoneNumbers, setPhoneNumbers] = useState([]);\r\n const [emailAddresses, setEmailAddresses] = useState([]);\r\n const [phoneNumberError, setPhoneNumberError] = useState(null);\r\n const [emailError, setEmailError] = useState(null);\r\n const [isTestMessageLoading, setIsTestMessageLoading] = React.useState(false);\r\n\r\n const validateAndSetItems = (\r\n input: string,\r\n setItems: React.Dispatch>,\r\n currentItems: string[],\r\n isPhone: boolean\r\n ) => {\r\n const items = input.split(/[\\s,]+/).map(item => item.trim()).filter(item => item.length > 0);\r\n\r\n // Check for duplicates within the input\r\n const hasDuplicates = new Set(items).size !== items.length;\r\n if (hasDuplicates) {\r\n return isPhone\r\n ? \"Duplicate phone number detected. Please remove duplicates and try again.\"\r\n : \"Duplicate email detected. Please remove duplicates and try again.\";\r\n }\r\n\r\n // Check for duplicates against current items\r\n const hasDuplicatesInCurrentItems = items.some(item => currentItems.includes(item));\r\n if (hasDuplicatesInCurrentItems) {\r\n return isPhone\r\n ? \"Duplicate phone number detected. Please remove the duplicate and try again.\"\r\n : \"Duplicate email detected. Please remove the duplicate and try again.\";\r\n }\r\n\r\n // Check for invalid phone numbers or emails\r\n for (const item of items) {\r\n if (isPhone && !phoneNumberRegex.test(item)) {\r\n return \"Invalid phone number format. Please check and try again.\";\r\n }\r\n if (!isPhone && !emailRegex.test(item)) {\r\n return \"Invalid email address. Please check and try again.\";\r\n }\r\n }\r\n\r\n // Check if the number of items exceeds the limit\r\n if (items.length + currentItems.length > 2) {\r\n return isPhone\r\n ? \"You can only enter up to 2 phone numbers.\"\r\n : \"You can only enter up to 2 email addresses.\";\r\n }\r\n\r\n // No errors, set items\r\n setItems([...currentItems, ...items]);\r\n return null;\r\n };\r\n\r\n const handleKeyDown = (\r\n event: React.KeyboardEvent,\r\n setItems: React.Dispatch>,\r\n currentItems: string[],\r\n isPhone: boolean\r\n ) => {\r\n if (event.key === 'Enter' || event.key === ',' || event.key === ' ') {\r\n event.preventDefault();\r\n const input = isPhone? (event.target as HTMLInputElement).value.trim().replace(/[^0-9]/g, '')\r\n : (event.target as HTMLInputElement).value.trim();\r\n \r\n if (input) {\r\n const error = validateAndSetItems(input, setItems, currentItems, isPhone);\r\n if (isPhone) {\r\n setPhoneNumberError(error);\r\n } else {\r\n setEmailError(error);\r\n }\r\n if (error === null) {\r\n (event.target as HTMLInputElement).value = '';\r\n }\r\n }\r\n }\r\n };\r\n\r\n const handleDelete = (\r\n itemToDelete: string,\r\n setItems: React.Dispatch>,\r\n isPhone: boolean\r\n ) => () => {\r\n setItems((prevItems) => prevItems.filter((item) => item !== itemToDelete));\r\n // Clear error message if there are no more errors\r\n if (isPhone && phoneNumbers.length === 1) {\r\n setPhoneNumberError(null);\r\n }\r\n if (!isPhone && emailAddresses.length === 1) {\r\n setEmailError(null);\r\n }\r\n };\r\n\r\n async function SendTestMessage() {\r\n if (phoneNumbers.length === 0 && emailAddresses.length === 0) {\r\n Swal.fire({\r\n title: 'Error',\r\n html: `
    \r\n
  • Please enter at least one ${BroadcastType.EMAIL == type?\"email address to send a test email\":\"phone number to send a test message\"}.
  • \r\n
`,\r\n icon: 'error',\r\n customClass: {\r\n container: classes.swalContainerError,\r\n },\r\n });\r\n return;\r\n }\r\n\r\n let testMsgRequest : SendBroadcastTestMessageRequest={\r\n MessageSetting : JSON.stringify(broadcast) ,\r\n PhoneNumbers:phoneNumbers.join(','),\r\n EmailAddress:emailAddresses.join(';'),\r\n BroadcastType: query.type,\r\n DealerId:0,\r\n CrmUserId:\"\",\r\n };\r\n \r\n setIsTestMessageLoading(true);\r\n try\r\n { \r\n const testMsgResponse = await BroadCastAPI.sendBroadcastTestMessage(testMsgRequest);\r\n console.log({testMsgResponse})\r\n\r\n if(testMsgResponse.isSuccess){\r\n \r\n if( ( testMsgResponse.data.failedEmailAddress.length > 0 \r\n && testMsgResponse.data.failedEmailAddress.length == testMsgResponse.data.totalCount\r\n ) ||\r\n ( testMsgResponse.data.failedPhoneNumbers.length > 0 \r\n && testMsgResponse.data.failedPhoneNumbers.length == testMsgResponse.data.totalCount)\r\n )\r\n {\r\n Swal.fire({\r\n title: 'Error',\r\n html: `An error occurred while sending the ${BroadcastType.EMAIL == type?\"test email\":\"test message\"}. Please try again.`,\r\n icon: 'error',\r\n customClass: {\r\n container: classes.swalContainerError,\r\n },\r\n });\r\n return;\r\n }\r\n\r\n let html=\"\", failedHtml = \"\", errorMsg=\"\";\r\n\r\n if(testMsgResponse.data.failedEmailAddress.length > 0)\r\n {\r\n errorMsg = \"However, some test broadcasts were unsuccessful against emails:\";\r\n failedHtml = testMsgResponse.data.failedEmailAddress\r\n .map((element) => `
  • ${element.item1}
  • `)\r\n .join('');\r\n }\r\n\r\n if(testMsgResponse.data.failedPhoneNumbers.length > 0)\r\n {\r\n errorMsg = \"However, some test broadcasts were unsuccessful against phone numbers:\";\r\n failedHtml = testMsgResponse.data.failedPhoneNumbers\r\n .map((element) => `
  • ${element.item1}
  • `)\r\n .join('');\r\n }\r\n\r\n if(failedHtml != \"\")\r\n {\r\n html = `\r\n
    \r\n

    Test ${type} sent successfully.

    \r\n

    ${errorMsg}

    \r\n
      \r\n ${failedHtml}\r\n
    \r\n
    \r\n `; \r\n\r\n Swal.fire({\r\n title: 'Test Message!',\r\n html: html,\r\n icon: 'success',\r\n customClass: {\r\n container: classes.swalContainer,\r\n },\r\n });\r\n }\r\n else\r\n {\r\n Swal.fire({\r\n title: 'Test Message!',\r\n html: `Test ${type} sent successfully.`,\r\n icon: 'success',\r\n customClass: {\r\n container: classes.swalContainer,\r\n },\r\n });\r\n\r\n onClose();\r\n }\r\n \r\n }\r\n else\r\n {\r\n let formatedMessage =testMsgResponse.error.includes(\"Daily limit reached\") ?testMsgResponse.error.replace(/\\n/g, '
    ')\r\n : 'There was an issue sending your message. Please see details:
    ' + testMsgResponse.error.replace(/\\n/g, '
    ');\r\n \r\n Swal.fire({\r\n title: 'Error!',\r\n html: formatedMessage,\r\n icon: 'error',\r\n customClass: {\r\n container: classes.swalContainerError,\r\n },\r\n });\r\n }\r\n }\r\n catch(error:any)\r\n {\r\n Swal.fire({\r\n title: 'Error',\r\n html: `An error occurred while sending the test message. Please try again.`,\r\n icon: 'error',\r\n customClass: {\r\n container: classes.swalContainerError,\r\n },\r\n });\r\n \r\n }\r\n finally {\r\n setIsTestMessageLoading(false);\r\n }\r\n }\r\n const handleClose = (event: React.SyntheticEvent, reason?: string) => {\r\n if (reason && reason === \"backdropClick\") \r\n return;\r\n onClose();\r\n}\r\n return (\r\n <>\r\n \r\n \r\n Send Test Message\r\n \r\n \r\n \r\n \r\n e.preventDefault()}>\r\n \r\n \r\n \r\n \r\n SMS\r\n \r\n \r\n MMS\r\n \r\n \r\n Email\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Who should receive the test {type == BroadcastType.SMS ? BroadcastType.SMS: BroadcastType.MMS}?\r\n \r\n \r\n Please enter one or more phone numbers and we will send a test message to those numbers.\r\n \r\n handleKeyDown(e, setPhoneNumbers, phoneNumbers, true)}\r\n onChange={(e) => {\r\n const input = e.target.value.replace(/[^0-9]/g, '');\r\n console.log({input})\r\n if (input.length == 10)\r\n {\r\n e.preventDefault();\r\n if (input) {\r\n const error = validateAndSetItems(input, setPhoneNumbers, phoneNumbers, true);\r\n \r\n setPhoneNumberError(error);\r\n \r\n if (error === null) {\r\n (e.target as HTMLInputElement).value = '';\r\n }\r\n }\r\n } \r\n }}\r\n fullWidth\r\n variant='outlined'\r\n margin=\"dense\"\r\n size='small'\r\n className={classes.textField}\r\n error={!!phoneNumberError}\r\n helperText={phoneNumberError}\r\n InputProps={{\r\n inputComponent: PhoneNumberTextMaskCustom as any,\r\n }} />\r\n \r\n \r\n {phoneNumbers.map((phoneNumber) => (\r\n \r\n ))}\r\n \r\n \r\n\r\n \r\n \r\n Who should receive the test {BroadcastType.EMAIL}?\r\n \r\n \r\n Please enter an email address, then press the space bar or comma to add more. We will send a test email to each address you enter. \r\n \r\n handleKeyDown(e, setEmailAddresses, emailAddresses, false)}\r\n fullWidth\r\n variant='outlined'\r\n size='small'\r\n className={classes.textField}\r\n error={!!emailError}\r\n helperText={emailError}\r\n />\r\n \r\n {emailAddresses.map((emailAddress) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {isTestMessageLoading && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","import {\r\n Box,\r\n Button,\r\n CircularProgress,\r\n Fab,\r\n Grid,\r\n IconButton,\r\n ImageList,\r\n ImageListItem,\r\n ImageListItemBar,\r\n LinearProgress,\r\n LinearProgressProps,\r\n MenuItem,\r\n Paper,\r\n Popover,\r\n Table,\r\n TableBody,\r\n TableCell,\r\n TableContainer,\r\n TableHead,\r\n TablePagination,\r\n TableRow,\r\n TextField,\r\n Typography,\r\n useTheme,\r\n} from '@material-ui/core';\r\n\r\nimport AttachFileIcon from '@material-ui/icons/AttachFile';\r\nimport FileCopyIcon from '@material-ui/icons/FileCopy';\r\nimport ForwardIcon from '@material-ui/icons/Forward';\r\nimport RemoveCircleIcon from '@material-ui/icons/RemoveCircle';\r\nimport SaveIcon from '@material-ui/icons/Save';\r\nimport VisibilityIcon from '@material-ui/icons/Visibility';\r\nimport MarkEmailReadIcon from '@mui/icons-material/MarkEmailRead';\r\nimport { ToggleButton, ToggleButtonGroup } from '@material-ui/lab';\r\nimport Alert from '@material-ui/lab/Alert';\r\nimport { useFormik } from 'formik';\r\nimport React, { useCallback, useEffect, useState } from 'react';\r\nimport { useDropzone } from 'react-dropzone';\r\nimport * as Yup from 'yup';\r\n\r\nimport { TabPanel } from 'common/components/tabs';\r\nimport { EmojiPickerButton } from 'common/components/buttons';\r\nimport TextLimitField from 'common/components/input-fields/TextLimitField';\r\nimport MediaGalleryAPI from 'components/broadcast/api/mediaGallery-api';\r\nimport { BroadCast, BroadCastType, MessageHistory, MmsMedia } from 'components/broadcast/models/broadcast';\r\nimport { GalleryImage } from 'components/broadcast/models/gallery-image';\r\nimport AppSnackBar from 'components/snackbar/snackbar';\r\n\r\nimport EmailEditor from './email-editor';\r\nimport { ImageGallery } from './image-gallery';\r\nimport MergeTagWidget from 'components/broadcast/components/broadcast-page/merge-tags';\r\nimport { MessageSnippetWidget } from './message-templates';\r\nimport { SocialLinkWidget } from './social-link-widget';\r\nimport getTinyMce from './tiny-global';\r\nimport { UrlShortenerWidget } from './url-shortener-widget';\r\nimport { makeStyles, Theme } from '@material-ui/core/styles';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { showSnackbar } from 'components/root-snackbar';\r\nimport Swal from 'sweetalert2';\r\nimport { useHistory, Prompt } from 'react-router-dom';\r\nimport { GetAttachments } from 'dmsAppsCallbacks';\r\nimport { AxiosResponse } from 'axios';\r\nimport config from 'config';\r\nimport { post } from 'api';\r\nimport { CalendarToday } from '@material-ui/icons';\r\nimport { ITaskTimes, taskHours } from 'components/lead/components/task-board/taskhours-step';\r\nimport { format ,isBefore } from 'date-fns';\r\nimport LocalizationProvider from '@mui/lab/LocalizationProvider';\r\nimport AdapterDateFns from '@mui/lab/AdapterDateFns';\r\nimport { StaticDatePicker } from '@mui/lab';\r\nimport { TextField as TextFieldSch} from '@mui/material';\r\nimport moment from 'moment';\r\nimport BroadCastAPIV2, {BroadCastAPIV2 as BroadCastAPI} from 'components/broadcast/api/broadcast-api-v2';\r\nimport { useRouter } from 'common/hooks';\r\nimport { CompareObjects } from 'common/utils/compare-objects';\r\nimport BroadcastTestMessage from './broadcast-test-message';\r\n\r\n\r\n\r\nconst useStyles = makeStyles((theme: Theme): any => ({\r\n textareaHover: {\r\n border: '2px solid rgb(63 81 181)',\r\n background: '#3f51b359',\r\n },\r\n fileUploadOverlay: {\r\n backgroundColor: 'rgba(255, 255, 255, 0.7)',\r\n top: '0px',\r\n left: '3%',\r\n width: '100%',\r\n height: '100%',\r\n position: 'absolute',\r\n },\r\n datePicker: {\r\n '& .css-dhopo2': {\r\n minHeight:'192px'\r\n },\r\n },\r\n fabStyle:{\r\n display:'flex',\r\n flexDirection:'column',\r\n alignItems:'center'\r\n },\r\n fabLabels:{\r\n fontSize:'7px',\r\n margin:'0px'\r\n },\r\n swalAlert:{\r\n '& .swal2-popup':{ borderRadius:'20px'}\r\n }\r\n}));\r\n\r\nexport function BroadcastForm({\r\n broadcast,\r\n type,\r\n onDuplicate,\r\n onSave,\r\n onPreview,\r\n onSend,\r\n}: {\r\n broadcast: BroadCast;\r\n type: BroadCastType;\r\n onDuplicate(broadcast: BroadCast): Promise;\r\n onSave(broadcast: BroadCast): Promise;\r\n onPreview(broadcast: BroadCast): Promise;\r\n onSend(broadcast: BroadCast): Promise;\r\n}): React.ReactElement {\r\n const dmsTypeId = useAppSelector((state)=>state.user.dmsTypeId); \r\n const isHostedDealer = useAppSelector((state) => state.user.isHosted);\r\n const broadcastObject = broadcast;\r\n const emailSchema = Yup.object().shape({\r\n title: Yup.string().required('Title is required').max(50, 'Title can only have max length of 50'),\r\n subject: Yup.string().nullable().required('Subject is required'),\r\n });\r\n\r\n const schema = Yup.object().shape({\r\n title: Yup.string().required('Title is required').max(50, 'Title can only have max length of 50'),\r\n body: Yup.string()\r\n .nullable()\r\n .matches(\r\n /^(?!.*(bit\\.ly|tinyurl\\.com)).*$/s,\r\n 'Please avoid shortened URLs (e.g., bit.ly); messages with them won’t be sent—Use our URL shortener instead.'\r\n )\r\n .required('Message Body is required')\r\n //.test('url-check', 'Invalid URL format or no URLs detected.', value => urlPattern.test(value||''))\r\n .max(type == 'MMS' ? 1500 : 160, 'message is too large, reduce the chatacers'),\r\n });\r\n const theme = useTheme();\r\n let routeHistory = useHistory();\r\n const classes: any = useStyles();\r\n const router = useRouter();\r\n const { query }: any = router;\r\n const dispatch = useAppDispatch();\r\n const [showSnackBar] = AppSnackBar.useSnackBar();\r\n const [galleryImageUploading, setGalleryImageUploading] = React.useState(false);\r\n const [refreshImageGallery, setRefreshImageGallery] = React.useState(false);\r\n const [isDataChanged, setDataChanged] = useState(false);\r\n const [rows, setRows] = useState(broadcast.creditUsageHistory?.messageHistories);\r\n const [emailRows, setEmailRows] = useState(broadcast.creditUsageHistory?.emailHistories);\r\n const [rowsPerPage, setRowsPerPage] = React.useState(10);\r\n const [totalMsg, setTotalMsg] = useState(\r\n type === 'EMAIL' ? (broadcast.creditUsageHistory?.emailHistories ? broadcast.creditUsageHistory?.emailHistories.length : 0) :\r\n (broadcast.creditUsageHistory?.messageHistories ? broadcast.creditUsageHistory?.messageHistories.length : 0),\r\n );\r\n const [page, setPage] = React.useState(0);\r\n const [uploadingProgress, setUploadingProgress] = useState(0);\r\n const [checkUpload , setcheckUpload] = useState(true);\r\n const [duplicateUpload , setduplicateupload] = useState(true);\r\n const [TotalSize , settotalSize] = useState(0);\r\n const [isEmailEmpty, setIsEmailEmpty] = useState(false);\r\n /********************************Edit Scheduled Broadcast**************************************/\r\n const [scheduleTime, setScheduleTime] = React.useState(taskHours);\r\n const [selectedDate, setSelectedDate] = React.useState(broadcast.scheduleDate ? new Date(broadcast.scheduleDate) : new Date());\r\n const [selectedTime, setSelectedTime] = React.useState(():any=>{\r\n if(broadcast.scheduleDate){\r\n const UTCdate = moment.utc(broadcast.scheduleDate).local().toDate();\r\n const date = new Date(UTCdate);\r\n const hours = date.getHours().toString().padStart(2,'0');\r\n const minutes = date.getMinutes().toString().padStart(2,'0');\r\n return `${hours}:${minutes}`;\r\n }else{\r\n return undefined;\r\n }\r\n });\r\n const [isScheduling, setIsScheduling] = React.useState(false);\r\n const [isSending, setIsSending] = React.useState(false);\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n const openSch = Boolean(anchorEl);\r\n const id = openSch ? 'simple-popover' : undefined;\r\n const handleClick = (event: React.MouseEvent) => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n const handleClose = () => {\r\n setAnchorEl(null);\r\n };\r\n const handleDateChange = (date:any): void => {\r\n setSelectedDate(date);\r\n };\r\n const handleTimeChange = (e:any) => {\r\n setSelectedTime(e.target.value);\r\n };\r\n\r\n // Regex to match URLs in the text and ensure it’s only https://trgt.io\r\n const urlRegex = /(https?:\\/\\/[^\\s]+)/g;\r\n const validUrl = /^(https?:\\/\\/(?:trgt\\.io|tinyurl\\.com|www\\.tinyurl\\.com|bit\\.ly|www\\.bit\\.ly)\\/?.*)$/;\r\n \r\n const [warning, setWarning] = useState('');\r\n\r\n const handleTextChange = (value: string) => {\r\n if(value==null || value == undefined || value=='') \r\n {\r\n setWarning('');\r\n return;\r\n }\r\n\r\n const foundUrls = value.match(urlRegex); // Find URLs in the text\r\n if (foundUrls && !foundUrls.every(url => validUrl.test(url))) {\r\n setWarning('Warning: Invalid URL format. Please use TargetCRM URL shortener. Tracking analytics will not be available if the shortener is not used.');\r\n } else {\r\n setWarning(''); // Clear the warning if URLs are valid or no URLs are found\r\n }\r\n };\r\n\r\n const combineDateTime = (date:any, time:any) => {\r\n if (!date || !time) return null;\r\n const dateObj = new Date(date);\r\n const [hours, minutes] = time.split(':');\r\n dateObj.setHours(parseInt(hours, 10));\r\n dateObj.setMinutes(parseInt(minutes, 10));\r\n dateObj.setSeconds(0,0);\r\n return dateObj;\r\n };\r\n const isSelectTimePassed = (yourTime:string) : boolean => {\r\n const [hours, minutes] = yourTime.split(':');\r\n const date = new Date();\r\n date.setHours(parseInt(hours,10));\r\n date.setMinutes(parseInt(minutes,10));\r\n date.setSeconds(0,0);\r\n if(date < new Date()){\r\n return true;\r\n }else{\r\n return false;\r\n }\r\n };\r\n async function handleRescheduleBroadcastForm(): Promise {\r\n const scheduledDateTime = combineDateTime(selectedDate, selectedTime);\r\n if (scheduledDateTime) {\r\n try {\r\n setIsScheduling(true)\r\n const response = await BroadCastAPI.rescheduleBroadcast({\r\n broadcastId: broadcast.id,\r\n broadcastType: type,\r\n ScheduleTime: scheduledDateTime,\r\n });\r\n if(!response){\r\n throw new Error('Null Response');\r\n }\r\n setIsScheduling(false);\r\n handleClose();\r\n showSnackBar({ type: 'success', message: `Rescheduled broadcast on ${scheduledDateTime.toLocaleString('en-US', {hour12:true})}` });\r\n // router.push(`/broadcasts`);\r\n } catch (error) {\r\n setIsScheduling(false);\r\n showSnackBar({ type: 'error', message: 'Unable to schedule broadcast' });\r\n }\r\n }\r\n }\r\n\r\n\r\n React.useEffect(() => {\r\n const intervalId = setInterval(() => {\r\n const filteredTimes = scheduleTime.filter((time) => {\r\n const timeValue = time.value;\r\n const timeDate = new Date();\r\n const [hours, minutes] = timeValue.split(':');\r\n timeDate.setHours(parseInt(hours, 10), parseInt(minutes, 10), 0);\r\n return !isBefore(timeDate, new Date());\r\n });\r\n if(selectedDate.getDate() === new Date().getDate()){\r\n setScheduleTime(filteredTimes);\r\n }else if(selectedDate.getDate() > new Date().getDate()){\r\n setScheduleTime(taskHours);\r\n }\r\n if(selectedTime && selectedDate.getDate() === new Date().getDate() && isSelectTimePassed(selectedTime)){\r\n setSelectedTime(undefined);\r\n }\r\n }, 500); // Update every second\r\n\r\n return () => clearInterval(intervalId); // Clean up the interval on unmount\r\n }, [scheduleTime, selectedDate, new Date()]);\r\n\r\n const formik = useFormik({\r\n enableReinitialize: true,\r\n initialValues: broadcast,\r\n validationSchema: type === 'EMAIL' ? emailSchema : schema,\r\n onSubmit: (e) => {\r\n onSave(e);\r\n },\r\n });\r\n\r\n React.useEffect(() => {\r\n handleTextChange(formik.values.body);\r\n },[]);\r\n const onDropRejected = (error: any): void => {\r\n if (error[0].errors[0].code === 'file-too-large') {\r\n const size: number = type == 'MMS' ? 4 : 25;\r\n dispatch(showSnackbar({ type: 'error', message: `File size must be less than ${size} MB` }));\r\n } else {\r\n showSnackBar({ type: 'error', message: 'File type must be .jpeg, .jpg, .png, .gif, .pdf' });\r\n }\r\n };\r\n function LinearProgressWithLabel(props: LinearProgressProps & { value: number }) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {`${Math.round(props.value)}%`}\r\n \r\n \r\n );\r\n }\r\n const addImage = React.useCallback(\r\n (galleryImage: GalleryImage): void => {\r\n if (type === 'MMS') {\r\n \r\n const prevMedia = formik.values.mmsMedia ? formik.values.mmsMedia : [];\r\n if (prevMedia.map((x) => x.mediaUrl).indexOf(galleryImage.mediaUrl) === -1) {\r\n setcheckUpload(false);\r\n setduplicateupload(true); \r\n const newResource = [{ id: 0, mmsMessageId: broadcast.id, mediaUrl: galleryImage.mediaUrl, mimeType: galleryImage.mimeType }];\r\n const newArray = prevMedia.concat(newResource)\r\n formik.setFieldValue('mmsMedia',newArray);\r\n }\r\n else{\r\n checkUpload ? setduplicateupload(false) : setduplicateupload(true)\r\n } \r\n } else if (type === 'EMAIL') {\r\n const editor: any = getTinyMce().editors.tinyEmail;\r\n let content = editor.getContent();\r\n if (galleryImage.mimeType == 'application/pdf') {\r\n content += `${galleryImage.mediaUrl}`;\r\n } else {\r\n content += `\"${galleryImage.mediaUrl}\"`;\r\n }\r\n editor.setContent(content);\r\n }\r\n },\r\n [broadcast.id, formik, type],\r\n );\r\n\r\n useEffect(() => {\r\n const listenStorageChange = () => {\r\n try {\r\n\r\n const fileName = dmsTypeId==0 ? localStorage.getItem('IdealFileUpload'):localStorage.getItem('InfinityFileUpload');\r\n if (fileName === 'CancelAttachment') {\r\n setGalleryImageUploading(false);\r\n } else if (fileName != null) {\r\n const response = localStorage.getItem(fileName);\r\n const addImageResponse: GalleryImage[] = JSON.parse(response!);\r\n addImageResponse.forEach((image) => addImage(image));\r\n setGalleryImageUploading(false);\r\n localStorage.removeItem(fileName);\r\n dmsTypeId==0 ? localStorage.removeItem('IdealFileUpload'):localStorage.removeItem('InfinityFileUpload');\r\n }\r\n } catch (error) {\r\n setGalleryImageUploading(false);\r\n showSnackBar({ type: 'error', message: 'Unable to upload image' });\r\n }\r\n };\r\n window.addEventListener('storage', listenStorageChange);\r\n return () => window.removeEventListener('storage', listenStorageChange);\r\n }, []);\r\n\r\n const onDropAccepted = useCallback(\r\n async (acceptedFiles: File[]) => {\r\n const messagingUrl = config.get('api.messaging');\r\n const url = `${messagingUrl}/AddImages`;\r\n\r\n setGalleryImageUploading(true);\r\n const requestForm = new FormData();\r\n acceptedFiles.forEach((file) => {\r\n requestForm.append('files', file);\r\n });\r\n\r\n await post(url, requestForm, {\r\n \r\n onUploadProgress: (progressEvent: any) => {\r\n setcheckUpload(false);\r\n const percentCompleted = Math.round((progressEvent.loaded * 100) / progressEvent.total);\r\n setUploadingProgress(percentCompleted);\r\n \r\n },\r\n })\r\n .then((res: AxiosResponse) => {\r\n setGalleryImageUploading(false);\r\n setRefreshImageGallery(!refreshImageGallery);\r\n if (type === 'MMS') {\r\n const newMediaObjects: MmsMedia[] = res.data.map((galleryImage) => ({\r\n id: 0,\r\n mmsMessageId: broadcast.id,\r\n mediaUrl: galleryImage.mediaUrl,\r\n }));\r\n formik.setFieldValue('mmsMedia', newMediaObjects);\r\n } else if (type === 'EMAIL') {\r\n res.data.forEach((image) => addImage(image));\r\n }\r\n })\r\n .catch((err) => {\r\n setGalleryImageUploading(false);\r\n showSnackBar({ type: 'error', message: 'Unable to upload image' });\r\n });\r\n\r\n },\r\n [addImage, refreshImageGallery, showSnackBar],\r\n );\r\n\r\n const { getRootProps, getInputProps, isDragActive, open } = useDropzone({\r\n onDropAccepted,\r\n onDropRejected,\r\n accept: '.jpeg,.jpg,.png,.gif,.pdf',\r\n maxSize: type == 'MMS' ? 4194304 : 26214400, //4MB Max Limit for MMS, but 25MB for Email broadcast\r\n });\r\n async function handleBroadCastDuplicate(): Promise {\r\n onDuplicate(formik.values);\r\n }\r\n async function handleBroadCastPreview(): Promise {\r\n await onPreview(formik.values);\r\n }\r\n async function handleImageUpload(file: File): Promise {\r\n const response = await MediaGalleryAPI.addImage([file]);\r\n setRefreshImageGallery(!refreshImageGallery);\r\n return response;\r\n }\r\n async function handleSendBroadcast(): Promise {\r\n let errors = (await formik.validateForm()) as any;\r\n if(query.type === 'EMAIL' && (formik.values.body === '' || formik.values.body === null)){\r\n errors = {...errors,body:'Body is required'};\r\n setIsEmailEmpty(true);\r\n }\r\n if (formik.isValid && Object.keys(errors).length === 0) {\r\n onSend(formik.values);\r\n setDataChanged(false);\r\n } else {\r\n let result = Object.keys(errors).map((key) => [errors[key]]);\r\n let html = '
      ';\r\n\r\n result.forEach((x) => {\r\n html += `
    • ${x.toString().replace('is required', '')}
    • `;\r\n });\r\n html += '
    ';\r\n Swal.fire({\r\n title: 'Required information is missing',\r\n html: html,\r\n icon: 'error',\r\n confirmButtonColor: '#3085d6',\r\n confirmButtonText: 'Ok',\r\n });\r\n }\r\n }\r\n\r\n async function handleSendScheduleBroadcast(): Promise {\r\n try {\r\n let errors = (await formik.validateForm()) as any;\r\n if(query.type === 'EMAIL' && (formik.values.body === '' || formik.values.body === null)){\r\n errors = {...errors,body:'Body is required'};\r\n setIsEmailEmpty(true);\r\n }\r\n if (formik.isValid && Object.keys(errors).length === 0) {\r\n setDataChanged(false);\r\n await BroadCastAPI.updateBroadcast(formik.values, query.type);\r\n showSnackBar({ type: 'success', message: 'Broadcast Updated' });\r\n setIsSending(true);\r\n await BroadCastAPI.sendBroadcast(\r\n formik.values,\r\n query.type,\r\n [],\r\n undefined,\r\n undefined,\r\n broadcast.isSchedule ?? false\r\n );\r\n setIsSending(false);\r\n router.push(`/broadcasts`); \r\n } else {\r\n let result = Object.keys(errors).map((key) => [errors[key]]);\r\n let html = '
      ';\r\n \r\n result.forEach((x) => {\r\n html += `
    • ${x.toString().replace('is required', '')}
    • `;\r\n });\r\n html += '
    ';\r\n Swal.fire({\r\n title: 'Required information is missing',\r\n html: html,\r\n icon: 'error',\r\n confirmButtonColor: '#3085d6',\r\n confirmButtonText: 'Ok',\r\n });\r\n }\r\n } catch (error) {\r\n setIsSending(false);\r\n showSnackBar({ type: 'error', message: 'Unable to queue broadcast' });\r\n }\r\n }\r\n\r\n async function handleSaveBroadcast(): Promise {\r\n let errors = (await formik.validateForm()) as any;\r\n const isBroadcastValuesChanged = CompareObjects(broadcastObject,formik.values);\r\n if(query.type === 'EMAIL' && (formik.values.body === '' || formik.values.body === null)){\r\n errors = {...errors,body:'Body is required'};\r\n setIsEmailEmpty(true);\r\n }\r\n if (formik.isValid && Object.keys(errors).length === 0) {\r\n if(formik.values.isSchedule && isBroadcastValuesChanged){\r\n Swal.fire({\r\n title: 'Are you sure?',\r\n text: \"Broadcast will be reverted to draft state!\",\r\n icon: 'warning',\r\n showCancelButton: true,\r\n confirmButtonColor: '#3085d6',\r\n cancelButtonColor: '#d33',\r\n confirmButtonText: 'Yes, proceed!',\r\n\r\n }).then(async (result)=>{\r\n if(result.isConfirmed){\r\n try {\r\n setIsSending(true);\r\n const resp = await BroadCastAPIV2.deleteScheduledBroadcast(formik.values.id, query.type);\r\n if (resp) {\r\n formik.setFieldValue('isSchedule', undefined);\r\n formik.setFieldValue('scheduleDate', undefined);\r\n formik.setFieldValue('scheduledTime', undefined);\r\n onSave(formik.values);\r\n setDataChanged(false);\r\n Swal.fire('State changed!', 'Broadcast state changed to draft from scheduled.', 'success');\r\n }\r\n setIsSending(false);\r\n } catch (error) {\r\n setIsSending(false);\r\n }\r\n }\r\n })\r\n }else{\r\n onSave(formik.values);\r\n setDataChanged(false);\r\n }\r\n } else {\r\n let result = Object.keys(errors).map((key) => [errors[key]]);\r\n let html = '
      ';\r\n result.forEach((x) => {\r\n html += `
    • ${x.toString().replace('is required', '')}
    • `;\r\n });\r\n html += '';\r\n Swal.fire({\r\n title: 'Required information is missing',\r\n html: html,\r\n icon: 'error',\r\n confirmButtonColor: '#3085d6',\r\n confirmButtonText: 'Ok',\r\n });\r\n }\r\n }\r\n\r\n function appendToBody(value: string): void {\r\n if (formik.values.body == null) formik.values.body = '';\r\n if (type === 'SMS' || type === 'MMS') {\r\n const curLength = type === 'SMS' ? 160 : 1500;\r\n const bodyLength = formik.values.body.length;\r\n const totalLength = curLength - bodyLength;\r\n if (value.length > totalLength) {\r\n value = value.substring(0, totalLength);\r\n }\r\n }\r\n formik.setFieldValue('body', formik.values.body + value);\r\n }\r\n\r\n function removeImage(index: number): void {\r\n if (type === 'MMS' && formik.values.mmsMedia) {\r\n let newMedia = formik.values.mmsMedia;\r\n const removedValue = newMedia[index];\r\n const remainingValues= formik.values.mmsMedia.filter(x=>x.mediaUrl != removedValue.mediaUrl);\r\n formik.setFieldValue('mmsMedia',remainingValues);\r\n }\r\n }\r\n // API for Image Size Calculation\r\n const [imageSize, setImageSize] = useState();\r\n const fileSizeMaxLimit = type == 'MMS' ? 4194304 : 26214400;\r\n async function GetImageSize(url: string) {\r\n let data = await fetch(url, {\r\n method: 'GET',\r\n headers: { 'X-HTTP-Method-Override': 'HEAD' },\r\n })\r\n .then((resp) => resp.blob())\r\n .then((data) => data.size);\r\n return data;\r\n }\r\n const handleChangePage = (event: any, newPage: any) => {\r\n setPage(newPage);\r\n };\r\n const handleChangeRowsPerPage = (value: any) => {\r\n setRowsPerPage(value);\r\n setPage(0);\r\n };\r\n function handleMsgHistory(value: any) {\r\n if (value && value.length > 0) {\r\n const filteredRows = broadcast.creditUsageHistory?.messageHistories?.filter((x) => {\r\n if (x.cellPhone != null) {\r\n return x.cellPhone.includes(value);\r\n }\r\n });\r\n setTotalMsg(filteredRows ? filteredRows?.length : 0);\r\n setRows(filteredRows);\r\n setPage(0);\r\n } else {\r\n setTotalMsg(\r\n broadcast.creditUsageHistory?.messageHistories ? broadcast.creditUsageHistory?.messageHistories.length : 0,\r\n );\r\n setRows(broadcast.creditUsageHistory?.messageHistories);\r\n setPage(0);\r\n }\r\n }\r\n\r\n function handleEmailHistory(value: any) {\r\n if (value && value.length > 0) {\r\n const filteredRows = broadcast.creditUsageHistory?.emailHistories?.filter((x) => {\r\n if (x.email != null) {\r\n return x.email.includes(value);\r\n }\r\n });\r\n setTotalMsg(filteredRows ? filteredRows?.length : 0);\r\n setEmailRows(filteredRows);\r\n setPage(0);\r\n } else {\r\n setTotalMsg(\r\n broadcast.creditUsageHistory?.emailHistories ? broadcast.creditUsageHistory?.emailHistories.length : 0,\r\n );\r\n setEmailRows(broadcast.creditUsageHistory?.emailHistories);\r\n setPage(0);\r\n }\r\n }\r\n \r\n useEffect(() => {\r\n let value = 0;\r\n let promises:any = [];\r\n\r\nif (formik.values.mmsMedia) {\r\n formik.values.mmsMedia?.forEach((x) => {\r\n promises.push(\r\n new Promise(async (resolve) => {\r\n const size = await GetImageSize(x.mediaUrl);\r\n if (size) {\r\n setImageSize((prevValue) => (prevValue ?? 0 )+ size);\r\n }\r\n resolve(size);\r\n })\r\n );\r\n });\r\n\r\n Promise.all(promises).then((sizes) => {\r\n const totalSize = sizes.reduce((acc, size) => (size ? (acc ??0) + size : acc), 0);\r\n settotalSize(totalSize?? 0);\r\n if ((totalSize ?? 0) > fileSizeMaxLimit) {\r\n setcheckUpload(false);\r\n } else {\r\n setcheckUpload(true);\r\n }\r\n });\r\n}\r\n }, [formik.values.mmsMedia]);\r\n\r\n const getFileExtension = (fileUrl: string) => {\r\n const parts = fileUrl.split('.');\r\n\r\n const lastPart = parts[parts.length - 1];\r\n if (lastPart.length > 0) {\r\n return lastPart.toLowerCase();\r\n }\r\n\r\n return null;\r\n };\r\n\r\n const [openTestMessageDialog, setOpenTestMessageDialog] = useState(false);\r\n\r\n const handleValidateBroadcastObject = async () =>\r\n {\r\n let errors = (await formik.validateForm()) as any;\r\n \r\n if(query.type === 'EMAIL' && (formik.values.body === '' || formik.values.body === null)){\r\n errors = {...errors,body:'Body is required'};\r\n setIsEmailEmpty(true);\r\n }\r\n\r\n if (formik.isValid && Object.keys(errors).length === 0) {\r\n return true;\r\n }\r\n \r\n let result = Object.keys(errors).map((key) => [errors[key]]);\r\n let html = '
        ';\r\n result.forEach((x) => {\r\n html += `
      • ${x.toString().replace('is required', '')}
      • `;\r\n });\r\n html += '';\r\n\r\n Swal.fire({\r\n title: 'Required information is missing',\r\n html: html,\r\n icon: 'error',\r\n confirmButtonColor: '#3085d6',\r\n confirmButtonText: 'Ok',\r\n });\r\n\r\n return false;\r\n }\r\n const handleOpenTestMessageDialog = async () => {\r\n \r\n if(await handleValidateBroadcastObject())\r\n setOpenTestMessageDialog(true);\r\n };\r\n\r\n const handleCloseTestMessageDialog = async () => {\r\n setOpenTestMessageDialog(false);\r\n };\r\n\r\n return (\r\n <>\r\n 'There are some unsaved changes. Do you want to go away?'}>\r\n \r\n \r\n \r\n e.preventDefault()}>\r\n \r\n \r\n \r\n \r\n SMS\r\n \r\n \r\n MMS\r\n \r\n \r\n Email\r\n \r\n \r\n \r\n \r\n\r\n {\r\n setDataChanged(true);\r\n }}\r\n error={!!formik.errors.title}\r\n helperText={formik.errors.title}\r\n disabled={formik.values.isSent === 1 || formik.values.isSent === -1}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}\r\n />\r\n\r\n \r\n Broadcast title is for future reference and isn't sent with the broadcast\r\n \r\n\r\n \r\n {\r\n formik.handleChange(e); // Update form value\r\n handleTextChange(e.target.value); // Check for URLs and show warnings\r\n }}\r\n \r\n onChangeCapture={() => {\r\n setDataChanged(true);\r\n }}\r\n error={!!formik.errors.body}\r\n onDrop={(ev: any) => {\r\n let files: any[] = [];\r\n if (ev.dataTransfer.items) {\r\n // Use DataTransferItemList interface to access the file(s)\r\n for (let i = 0; i < ev.dataTransfer.items.length; i++) {\r\n // If dropped items aren't files, reject them\r\n if (ev.dataTransfer.items[i].kind === 'file') {\r\n let file = ev.dataTransfer.items[i].getAsFile();\r\n files.push(file);\r\n }\r\n }\r\n } else {\r\n // Use DataTransfer interface to access the file(s)\r\n for (let i = 0; i < ev.dataTransfer.files.length; i++) {\r\n files.push(ev.dataTransfer.files[i]);\r\n }\r\n }\r\n \r\n onDropAccepted(files);\r\n }}\r\n helperText={formik.errors.body}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}\r\n />\r\n {warning && \r\n \r\n {warning}\r\n \r\n }\r\n \r\n {isDragActive &&
        }\r\n
        \r\n\r\n \r\n {\r\n setDataChanged(true);\r\n }}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}\r\n />\r\n {\r\n setDataChanged(true);\r\n }}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}\r\n />\r\n {\r\n formik.setFieldValue('body', value);\r\n setDataChanged(true);\r\n value.length > 0 ? setIsEmailEmpty(false):setIsEmailEmpty(true);\r\n }}\r\n onImageUpload={handleImageUpload}\r\n />\r\n \r\n \r\n
        \r\n
        \r\n
        \r\n \r\n \r\n \r\n appendToBody(value)}\r\n disabled={formik.values.isSent != 0}\r\n />\r\n \r\n \r\n \r\n appendToBody(value)}\r\n disabled={formik.values.isSent != 0}\r\n />\r\n \r\n \r\n appendToBody(value)}\r\n disabled={formik.values.isSent != 0}\r\n />\r\n \r\n \r\n appendToBody(value)}\r\n disabled={formik.values.isSent != 0}\r\n disableAllLocations={true}\r\n />\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {formik.values.isSent ? (\r\n \r\n
        \r\n \r\n

        Duplicate

        \r\n
        \r\n \r\n ) : (\r\n <>\r\n \r\n
        \r\n \r\n

        Save

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

        {formik.values.isSchedule ? 'Send Now': 'Recipients'}

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

        Preview

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

        Test Message

        \r\n
        \r\n \r\n {formik.values.isSchedule && (\r\n \r\n
        \r\n \r\n

        Reschedule

        \r\n
        \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n }\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n {format(selectedDate, 'MMMM d, yyyy')} at\r\n \r\n \r\n {scheduleTime.map((hour: ITaskTimes) => (\r\n \r\n {hour.label}\r\n \r\n ))}\r\n \r\n {/* */}\r\n \r\n \r\n \r\n \r\n \r\n Cancel\r\n \r\n \r\n {isScheduling ? (\r\n \r\n ) : (\r\n 'Reschedule & Close'\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n
        \r\n
        \r\n {galleryImageUploading ? (\r\n \r\n Uploading files\r\n \r\n \r\n ) : (\r\n \r\n \r\n {formik.values.mmsMedia?.map((media: any, index: number) => (\r\n \r\n {getFileExtension(media.mediaUrl) === 'pdf' ? (\r\n {media.fileName}\r\n ) : (\r\n {media.fileName}\r\n )}\r\n removeImage(index)}>\r\n \r\n \r\n )\r\n }\r\n />\r\n \r\n ))}\r\n \r\n {!checkUpload && (TotalSize > fileSizeMaxLimit) ? (\r\n Total Size Exceeds {type == 'MMS' ? 4 : 25} MB\r\n ) : (\r\n formik.values.mmsMedia &&\r\n formik.values.mmsMedia?.length > 0 && (\r\n !checkUpload ?\r\n
        \r\n \r\n Calculating\r\n
        :\r\n Total Size: {((TotalSize || 0) / 1048576).toFixed(2)} MB\r\n )\r\n )}\r\n
        \r\n )}\r\n
        \r\n \r\n {broadcast.isSent == 1 && (\r\n \r\n \r\n \r\n \r\n Customer Group(s) : {broadcast?.creditUsageHistory?.segmentName}\r\n \r\n {\r\n type === 'EMAIL' ? handleEmailHistory(e.target.value) : handleMsgHistory(e.target.value);\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n {/* Customer */}\r\n {(type === 'SMS' || type === 'MMS') && Cell Phone}\r\n {type === 'EMAIL' && Email}\r\n Status\r\n {/* Description */}\r\n \r\n \r\n \r\n {type === 'EMAIL' ? \r\n emailRows?.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage).map((row) => (\r\n \r\n {row.email ? row.email : 'N/A'}\r\n {row.hasError ? 'Failed' : 'Success'}\r\n \r\n ))\r\n : \r\n rows?.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage).map((row) => (\r\n \r\n {row.cellPhone ? row.cellPhone : 'N/A'}\r\n {row.hasError ? 'Failed' : 'Success'}\r\n \r\n ))\r\n }\r\n \r\n
        \r\n {\r\n handleChangeRowsPerPage(e.target.value);\r\n }}\r\n />\r\n
        \r\n
        \r\n )}\r\n {openTestMessageDialog &&\r\n \r\n }\r\n \r\n );\r\n}\r\n\r\nexport default BroadcastForm;\r\nfunction classNames(arg0: { 'text-strike': any }): string | undefined {\r\n throw new Error('Function not implemented.');\r\n}\r\n","import React, { useEffect } from 'react';\r\nimport { Container, Link, Grid, Paper, Typography, Avatar } from '@mui/material';\r\nimport { BroadCast, BroadCastType } from 'components/broadcast/models/broadcast';\r\nimport Box from '@mui/material/Box';\r\nimport Tabs from '@mui/material/Tabs';\r\nimport Tab from '@mui/material/Tab';\r\nimport { TabPanel } from 'common/components/tabs';\r\nimport { createStyles, makeStyles, Theme } from '@material-ui/core/styles';\r\nimport DOMPurify from 'dompurify';\r\nimport { Divider } from '@material-ui/core';\r\nimport TargetCRMIcon from 'common/components/icons/targetCRM';\r\n\r\nconst useStyles = makeStyles((theme: Theme): any =>\r\n createStyles({\r\n root: {\r\n backgroundColor: theme.palette.background.default,\r\n },\r\n appBar: {\r\n position: 'relative',\r\n background: theme.palette.grey[100],\r\n color: theme.palette.common.black,\r\n },\r\n header: {\r\n display: 'flex',\r\n justifyContent: 'flex-start',\r\n // alignItems: 'center',\r\n textAlign: 'justify'\r\n },\r\n fromEmail: {\r\n display: 'flex',\r\n justifyContent: 'flex-start',\r\n alignItems: 'center',\r\n textAlign: 'justify',\r\n },\r\n headerTitleMobile: {\r\n display: 'flex',\r\n textAlign: 'justify',\r\n },\r\n subjectPreheader: {\r\n display: 'block',\r\n },\r\n mobileView: {},\r\n webView: {\r\n minHeight: '600px',\r\n overflow: 'scroll',\r\n },\r\n scrollWebView: {\r\n width: '100%',\r\n overflow: 'auto',\r\n display:'flex',\r\n height: '65vh',\r\n flexDirection:'column'\r\n },\r\n footer: {\r\n marginTop: 'auto',\r\n padding: '2rem',\r\n alignItems:'flex-end'\r\n },\r\n }),\r\n);\r\n\r\nconst EmailBroadcastPreview = ({\r\n classes,\r\n dealerEmail,\r\n broadcast,\r\n getPreHeader,\r\n}: {\r\n classes: any;\r\n dealerEmail: any;\r\n broadcast: BroadCast | undefined;\r\n getPreHeader: any;\r\n}) => {\r\n const [value, setValue] = React.useState(0);\r\n const tabs = React.useMemo(\r\n () => [\r\n { index: 0, label: 'Desktop', component: DesktopView },\r\n { index: 1, label: 'Mobile', component: MobileView },\r\n { index: 2, label: 'Tablet', component: TabletView },\r\n ],\r\n [],\r\n );\r\n\r\n const handleTabChange = React.useCallback(\r\n (newValue: number): void => {\r\n setValue(newValue);\r\n },\r\n [tabs],\r\n );\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n handleTabChange(newValue)}>\r\n {tabs.map((tab: any) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n {tabs.map((tab: any) => {\r\n const Component = tab.component;\r\n return (\r\n \r\n \r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst DesktopView = ({\r\n dealerEmail,\r\n broadcast,\r\n getPreHeader,\r\n}: {\r\n dealerEmail: any;\r\n broadcast: BroadCast | undefined;\r\n getPreHeader: any;\r\n}) => {\r\n const classes: any = useStyles();\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n Constellation,{dealerEmail.fromName + ' '}\r\n \r\n \r\n Subject:\r\n \r\n \r\n \r\n \r\n Preheader:\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst MobileView = ({\r\n dealerEmail,\r\n broadcast,\r\n getPreHeader,\r\n}: {\r\n dealerEmail: any;\r\n broadcast: BroadCast | undefined;\r\n getPreHeader: any;\r\n}) => {\r\n const classes: any = useStyles();\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n Constellation,{dealerEmail.fromName + ' '}\r\n \r\n \r\n \r\n \r\n Subject:\r\n \r\n \r\n \r\n \r\n \r\n Preheader:{' '}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst TabletView = ({\r\n dealerEmail,\r\n broadcast,\r\n getPreHeader,\r\n}: {\r\n dealerEmail: any;\r\n broadcast: BroadCast | undefined;\r\n getPreHeader: any;\r\n}) => {\r\n const classes: any = useStyles();\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n Constellation,{dealerEmail.fromName + ' '}\r\n \r\n \r\n Subject:\r\n \r\n \r\n \r\n \r\n Preheader:\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default EmailBroadcastPreview;\r\n","import { Box, Container, Dialog, Grid, GridList, GridListTile, Paper, Typography } from '@material-ui/core';\r\nimport AppBar from '@material-ui/core/AppBar';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport { createStyles, makeStyles, Theme } from '@material-ui/core/styles';\r\nimport Toolbar from '@material-ui/core/Toolbar';\r\nimport KeyboardBackspaceIcon from '@material-ui/icons/KeyboardBackspace';\r\nimport React, { ReactElement, useEffect } from 'react';\r\nimport EmailBroadcastPreview from './email-broadcast-preview';\r\nimport { BroadCast, BroadCastType } from 'components/broadcast/models/broadcast';\r\n\r\n\r\nconst useStyles = makeStyles((theme: Theme): any =>\r\n createStyles({\r\n root: {\r\n backgroundColor: theme.palette.background.default,\r\n },\r\n appBar: {\r\n position: 'relative',\r\n background: theme.palette.grey[100],\r\n color: theme.palette.common.black,\r\n },\r\n title: {\r\n marginLeft: theme.spacing(2),\r\n flexGrow: 1,\r\n textAlign: 'center',\r\n },\r\n container: {\r\n height: '100%',\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'space-around',\r\n [theme.breakpoints.down('sm')]: {\r\n alignItems: 'start',\r\n padding: theme.spacing(2, 0),\r\n },\r\n },\r\n innerContainer: {\r\n height: '100%',\r\n paddingTop: theme.spacing(2),\r\n },\r\n paper: {\r\n height: '80%',\r\n width: '50vw',\r\n overflow: 'auto',\r\n [theme.breakpoints.down('sm')]: {\r\n width: '90%',\r\n height: `calc(100% - ${theme.spacing(2) * 2}px)`,\r\n },\r\n '@media (max-height: 500px)': {\r\n height: 'fit-content',\r\n padding: theme.spacing(5, 0),\r\n },\r\n },\r\n paper2: {\r\n height: '80%',\r\n width: '80vw',\r\n overflow: 'auto',\r\n [theme.breakpoints.down('sm')]: {\r\n width: '90%',\r\n height: `calc(100% - ${theme.spacing(2) * 2}px)`,\r\n },\r\n '@media (max-height: 500px)': {\r\n height: 'fit-content',\r\n padding: theme.spacing(5, 0),\r\n },\r\n },\r\n }),\r\n);\r\n\r\nexport const BroadcastPreview = ({\r\n broadcast,\r\n broadcastType,\r\n dealerEmail,\r\n open,\r\n onClose,\r\n}: {\r\n broadcast: BroadCast | undefined;\r\n broadcastType: BroadCastType;\r\n dealerEmail : any;\r\n open: boolean;\r\n onClose(): void;\r\n}): ReactElement | null => {\r\n const classes: any = useStyles();\r\n const regX = /(<([^>]+)>)/gi;\r\n\r\n if (broadcast === undefined) return null;\r\n\r\n\r\n\r\n const GetPreHeader = (): string => {\r\n if (broadcast) {\r\n if (broadcast.preHeader) {\r\n return broadcast.preHeader;\r\n }\r\n let body = '';\r\n if (broadcast.body) {\r\n body = broadcast.body.replace(regX, '');\r\n if (body.length > 10) {\r\n const preheader = body.split('10')[0];\r\n return preheader;\r\n }\r\n }\r\n return body;\r\n }\r\n return '';\r\n };\r\n\r\n const EmailPreview =\r\n broadcast !== undefined ? (\r\n \r\n ) : null;\r\n const SMSandMMSPreview =\r\n broadcast !== undefined ? (\r\n \r\n \r\n \r\n \r\n {broadcast.body}\r\n \r\n \r\n \r\n {broadcast.mmsMedia &&\r\n broadcast.mmsMedia.map((media) => (\r\n \r\n {media.mediaUrl}\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n ) : null;\r\n return (\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Broadcast Preview\r\n \r\n \r\n \r\n \r\n {broadcastType === 'EMAIL' ? EmailPreview : SMSandMMSPreview}\r\n \r\n );\r\n};\r\n\r\nexport default BroadcastPreview;\r\nfunction dispatch(arg0: any) {\r\n throw new Error('Function not implemented.');\r\n}\r\n\r\n","import {\r\n Box,\r\n Container,\r\n Divider,\r\n makeStyles,\r\n Theme,\r\n Toolbar,\r\n Typography,\r\n useMediaQuery,\r\n useTheme,\r\n} from '@material-ui/core';\r\nimport React, { ReactElement } from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\n\r\nimport { useRouter } from 'common/hooks';\r\nimport BroadCastAPI from 'components/broadcast/api/broadcast-api-v2';\r\nimport { BroadCast, BroadCastType } from 'components/broadcast/models/broadcast';\r\nimport AppSnackBar from 'components/snackbar/snackbar';\r\nimport { fetchDealerEmail } from 'store/dealerEmailSlice';\r\n\r\nimport { BroadcastForm } from './broadcast-form';\r\nimport BroadcastPreview from './broadcast-preview';\r\n\r\nimport 'emoji-mart/css/emoji-mart.css';\r\n\r\nconst useStyles = makeStyles((theme: Theme): any => ({\r\n container: {\r\n position: 'relative',\r\n marginTop: theme.spacing(4),\r\n [theme.breakpoints.down('md')]: {\r\n width: `80%`,\r\n marginRight: theme.spacing(4),\r\n marginLeft: theme.spacing(4),\r\n },\r\n },\r\n}));\r\n\r\nexport function BroadCastPage(): ReactElement | null {\r\n const dispatch = useAppDispatch();\r\n const containerMaxWidth: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | false = 'md';\r\n const classes: any = useStyles();\r\n const router = useRouter();\r\n const theme = useTheme();\r\n const mobile = useMediaQuery(theme.breakpoints.down('md'));\r\n const [showSnackBar] = AppSnackBar.useSnackBar();\r\n const { query, push: pushUrl }: any = router;\r\n const { id: idParam, type: typeParam } = query;\r\n const [type, setType] = React.useState('SMS');\r\n const [broadcast, setBroadcast] = React.useState(undefined);\r\n const [previewBroadcast, setPreviewBroadcast] = React.useState(undefined);\r\n\r\n dispatch(fetchDealerEmail);\r\n\r\n const dealerEmail = useAppSelector((state) => state.dealerEmail);\r\n\r\n\r\n React.useEffect(() => {\r\n setType(typeParam);\r\n }, [typeParam]);\r\n\r\n React.useEffect(() => {\r\n async function fetchBroadCast(): Promise {\r\n try {\r\n const idInt = parseInt(idParam, 10);\r\n const response = await BroadCastAPI.getBroadcast(idInt, typeParam);\r\n setBroadcast(response);\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to fetch broadcast against the dealer' });\r\n pushUrl('/404');\r\n }\r\n }\r\n fetchBroadCast();\r\n }, [idParam, showSnackBar, typeParam]);\r\n\r\n async function handleBroadcastSave(updatedBroadcast: BroadCast): Promise {\r\n try {\r\n await BroadCastAPI.updateBroadcast(updatedBroadcast, type);\r\n showSnackBar({ type: 'success', message: 'Broadcast updated' });\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to save broadcast' });\r\n }\r\n }\r\n async function handleBroadcastDuplicate(updatedBroadcast: BroadCast): Promise {\r\n try {\r\n const response = await BroadCastAPI.duplicateBroadcast(updatedBroadcast.id, type);\r\n showSnackBar({ type: 'success', message: 'Broadcast duplicated' });\r\n router.push(`/broadcasts/${response.id}?type=${type}`);\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to duplicate broadcast' });\r\n }\r\n }\r\n async function handleBroadcastPreview(updatedBroadcast: BroadCast): Promise {\r\n setPreviewBroadcast(updatedBroadcast);\r\n }\r\n function handleBroadcastPreviewClose(): void {\r\n setPreviewBroadcast(undefined);\r\n }\r\n async function handleBroadcastSaveAndSend(updatedBroadcast: BroadCast): Promise {\r\n try {\r\n await BroadCastAPI.updateBroadcast(updatedBroadcast, type);\r\n router.push(`/broadcasts/${type}/${broadcast?.id}/customers-group`);\r\n showSnackBar({ type: 'success', message: 'Broadcast updated' });\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'unable to update broadcast' });\r\n }\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n {broadcast?.title}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {broadcast !== undefined && (\r\n \r\n )}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default BroadCastPage;\r\n","import config from 'config';\r\nimport { get, post, destroy, put } from 'api';\r\nimport { CustomerCategory } from '../models/customer-category';\r\nimport CustomerGroup from '../models/customer-group';\r\nimport { Manufacturer } from '../models/manufacturer';\r\n\r\nconst customerUrl = config.get('api.customer');\r\n\r\nexport const CustomerSegmentAPI = {\r\n getCustomerSegments: async (dealerId: number | undefined): Promise => {\r\n let url = `${customerUrl}/segments`;\r\n if (dealerId) {\r\n url += `?dealerId=${dealerId}`;\r\n }\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n getSegmentCustomers: async (segmentId: number, pageNumber: number, pageSize: number, forAllLocation:number, searchSegment:string, dealerId: number, EmailOrSms: string, isDownload?: boolean): Promise => {\r\n let url = `${customerUrl}/segments/${segmentId}/customers?`;\r\n\r\n if (pageNumber !== undefined) {\r\n url += `pageNumber=${pageNumber}`;\r\n }\r\n if (pageSize !== undefined) {\r\n url += `&pageSize=${pageSize}`;\r\n }\r\n if (forAllLocation !== undefined) {\r\n url += `&forAllLocation=${forAllLocation}`;\r\n }\r\n if (searchSegment !== undefined) {\r\n let searchstr = searchSegment.replace('&', '%26');\r\n\r\n url += `&searchSegment=${searchstr}`;\r\n }\r\n if (dealerId !== undefined && dealerId>0) {\r\n url += `&dealerId=${dealerId}`;\r\n }\r\n if (EmailOrSms !== undefined && EmailOrSms!=\"\") {\r\n url += `&EmailOrSms=${EmailOrSms}`;\r\n }\r\n if (isDownload !== undefined && isDownload) {\r\n url += `&isDownload=1`;\r\n }\r\n\r\n\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n sendMessageToSegment: async (\r\n message: string,\r\n surveyUrl: string,\r\n segmentIds: number[],\r\n dealerId?: number,\r\n dmsDealerId?: number,\r\n ): Promise => {\r\n const url = `${customerUrl}/SendMessageToSegment?dealerLocationId=${dealerId || ''}&dmsDealerId=${\r\n dmsDealerId || ''\r\n }`;\r\n const { data } = await post(url, { message, surveyUrl, segmentIds });\r\n return data;\r\n },\r\n getSegmentCustomerCount: async (\r\n segmentId: number,\r\n dealerId: number | undefined,\r\n dmsDealerId?: number,\r\n surveyOrBroadcast? : string ,\r\n fetchOnlyEmails = false\r\n \r\n ): Promise => {\r\n try {\r\n const url = `${customerUrl}/segments/${segmentId}/customer/count?dealerId=${dealerId || ''}&dmsDealerId=${\r\n dmsDealerId || ''\r\n }&fetchOnlyEmails=${fetchOnlyEmails}&surveyOrBroadcast=${surveyOrBroadcast}`;\r\n const { data } = await get(url);\r\n return data.count;\r\n } catch (error) {}\r\n },\r\n createCustomerGroup: async (customerGroup: CustomerGroup): Promise => {\r\n const url = `${customerUrl}/segments`;\r\n const { data } = await post(url, customerGroup);\r\n return data;\r\n\r\n },\r\n getCustomerGroup: async (id: number): Promise => {\r\n const url = `${customerUrl}/segments/${id}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n updateCustomerGroup: async (customerGroup: CustomerGroup): Promise => {\r\n const url = `${customerUrl}/segments`;\r\n const { data } = await put(url, customerGroup);\r\n return data;\r\n },\r\n deleteCustomerGroup: async (id: number): Promise => {\r\n const url = `${customerUrl}/segments/${id}`;\r\n const { data } = await destroy(url);\r\n return data;\r\n },\r\n getCustomerCategories: async (): Promise => {\r\n const url = `${customerUrl}/customer-categories`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n getManufacturers: async (): Promise => {\r\n const url = `${customerUrl}/manufacturers`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n getZipCodes: async (): Promise => {\r\n const url = `${customerUrl}/zipCodes`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n GetCustomerInvoice: async (dealerId: number, InvoiceId: number): Promise => {\r\n const url = `${customerUrl}/GetCustomerInvoice/${dealerId}/${InvoiceId}`;\r\n const { data } = await get(url);\r\n return data.invoice[0];\r\n },\r\n GetCustomerInvoicesList: async (dealerId: number, crmCustomerId: number): Promise => {\r\n const url = `${customerUrl}/GetCustomerInvoicesList/${dealerId}/${crmCustomerId}`;\r\n const { data } = await get(url);\r\n return data.invoice;\r\n },\r\n GetInvoices: async (params:string): Promise => {\r\n const url = `${customerUrl}/GetInvoices`;\r\n const { data } = await post(url, params);\r\n return data.invoice;\r\n },\r\n CreateInvoiceExportFile: async (params:string): Promise => {\r\n const url = `${customerUrl}/CreateInvoiceExportFile`;\r\n //alert(url);\r\n const { data } = await post(url, params);\r\n return data;\r\n },\r\n GetDealerManufacturer: async (): Promise => {\r\n const url = `${customerUrl}/GetDealerManufacturer`;\r\n const { data } = await get(url);\r\n return data.Manufacturer;\r\n },\r\n GetDealerLocations: async (): Promise => {\r\n const url = `${customerUrl}/GetLocationsByDealerId`;\r\n // alert(url);\r\n const { data } = await get(url);\r\n return data.Locations;\r\n },\r\n \r\n\r\n\r\n\r\n\r\n};\r\n\r\nexport default CustomerSegmentAPI;\r\n","import {\r\n Box,\r\n Button,\r\n Card,\r\n CardActions,\r\n CardContent,\r\n CardHeader,\r\n CircularProgress,\r\n Container,\r\n Divider,\r\n Grid,\r\n IconButton,\r\n makeStyles,\r\n MenuItem,\r\n Popover,\r\n Theme,\r\n Toolbar,\r\n Typography,\r\n} from '@material-ui/core';\r\nimport {ButtonGroup, Button as MaterialButton} from '@mui/material';\r\nimport { teal } from '@material-ui/core/colors';\r\nimport KeyboardBackspaceIcon from '@material-ui/icons/KeyboardBackspace';\r\nimport clsx from 'clsx';\r\nimport moment from 'moment';\r\nimport React, { useRef } from 'react';\r\nimport { useAppSelector } from 'app';\r\n\r\nimport { SmallCircularProgress } from 'common/components/loaders';\r\nimport { useRouter } from 'common/hooks';\r\nimport DealerAPI from 'components/authentication/api/dealer-api';\r\nimport BroadCastAPI from 'components/broadcast/api/broadcast-api-v2';\r\nimport { BroadCast } from 'components/broadcast/models/broadcast';\r\nimport CustomerSegmentAPI from 'components/customer-groups/api/customer-group-api';\r\nimport AppSnackBar from 'components/snackbar/snackbar';\r\nimport CustomerGroup from 'components/customer-groups/models/customer-group';\r\n////////////////////////////////////////////////////////////////////////////////////////////\r\nimport DatePicker from '@mui/lab/DatePicker';\r\nimport TimePicker from '@mui/lab/TimePicker';\r\nimport LocalizationProvider from '@mui/lab/LocalizationProvider';\r\nimport AdapterDateFns from '@mui/lab/AdapterDateFns';\r\nimport { TextField } from '@mui/material';\r\nimport { StaticDatePicker } from '@mui/lab';\r\nimport { format, isBefore } from 'date-fns';\r\nimport { ITaskTimes, taskHours } from '../../../lead/components/task-board/taskhours-step';\r\n\r\nconst useStyles = makeStyles((theme: Theme): any => ({\r\n root: {\r\n backgroundColor: theme.palette.background.default,\r\n },\r\n appBar: {\r\n position: 'relative',\r\n background: theme.palette.grey[100],\r\n color: theme.palette.common.black,\r\n },\r\n title: {\r\n marginLeft: theme.spacing(2),\r\n flexGrow: 1,\r\n textAlign: 'center',\r\n },\r\n container: {\r\n height: '100%',\r\n marginTop: theme.spacing(2),\r\n marginBottom: theme.spacing(3),\r\n },\r\n contentTitle: {\r\n paddingBottom: theme.spacing(2),\r\n },\r\n cardList: {\r\n flexGrow: 1,\r\n },\r\n datePicker: {\r\n '& .css-dhopo2': {\r\n minHeight:'192px'\r\n },\r\n },\r\n}));\r\n\r\ninterface CustomerGroupStatus {\r\n [key: number]: { loading: boolean; selected: boolean; count: number };\r\n}\r\nfunction CustomerGroups(): React.ReactElement {\r\n //Temporary Code Schedule Broadcast Code\r\n // const dealerNumber = useAppSelector((state)=>state.user.dmsDealerId);\r\n // const dealerNumbersToCheck = [999002, 99204001, 777666001];\r\n // const isDealerNumber = dealerNumbersToCheck.includes(dealerNumber);\r\n // End Temporary Code Schedule Broadcast Code\r\n const classes: any = useStyles();\r\n const router = useRouter();\r\n const { query }: any = router;\r\n const [showSnackBar] = AppSnackBar.useSnackBar();\r\n const [loading, setLoading] = React.useState(false);\r\n const [buttonClicked, setButtonClicked] = React.useState(false);\r\n const [customerGroups, setCustomerGroups] = React.useState(undefined);\r\n const [customerGroupStatuses, setCustomerGroupStatuses] = React.useState(undefined);\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n const [broadcast, setBroadcast] = React.useState(undefined);\r\n ////////**************************Schedule Broadcast*******************////////////////////////\r\n const [scheduleTime, setScheduleTime] = React.useState(taskHours);\r\n const [selectedDate, setSelectedDate] = React.useState(new Date());\r\n const [selectedTime, setSelectedTime] = React.useState();\r\n const [isScheduling, setIsScheduling] = React.useState(false);\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n const open = Boolean(anchorEl);\r\n const id = open ? 'simple-popover' : undefined;\r\n const handleClick = (event: React.MouseEvent) => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n const handleClose = () => {\r\n setAnchorEl(null);\r\n };\r\n const handleDateChange = (date:any): void => {\r\n setSelectedDate(date);\r\n };\r\n const handleTimeChange = (e:any) => {\r\n setSelectedTime(e.target.value);\r\n };\r\n\r\n const combineDateTime = (date:any, time:any) => {\r\n if (!date || !time) return null;\r\n const dateObj = new Date(date);\r\n const [hours, minutes] = time.split(':');\r\n dateObj.setHours(parseInt(hours, 10));\r\n dateObj.setMinutes(parseInt(minutes, 10));\r\n dateObj.setSeconds(0,0);\r\n return dateObj;\r\n };\r\n const isSelectTimePassed = (yourTime:string) : boolean => {\r\n const [hours, minutes] = yourTime.split(':');\r\n const date = new Date();\r\n date.setHours(parseInt(hours,10));\r\n date.setMinutes(parseInt(minutes,10));\r\n date.setSeconds(0,0);\r\n if(date < new Date()){\r\n return true;\r\n }else{\r\n return false;\r\n }\r\n };\r\n\r\n React.useEffect(() => {\r\n const intervalId = setInterval(() => {\r\n const filteredTimes = scheduleTime.filter((time) => {\r\n const timeValue = time.value;\r\n const timeDate = new Date();\r\n const [hours, minutes] = timeValue.split(':');\r\n timeDate.setHours(parseInt(hours, 10), parseInt(minutes, 10), 0);\r\n return !isBefore(timeDate, new Date());\r\n });\r\n if(selectedDate.getDate() === new Date().getDate()){\r\n setScheduleTime(filteredTimes);\r\n }else if(selectedDate.getDate() != new Date().getDate()){\r\n setScheduleTime(taskHours);\r\n }\r\n if(selectedTime && selectedDate.getDate() === new Date().getDate() && isSelectTimePassed(selectedTime)){\r\n setSelectedTime(undefined);\r\n }\r\n }, 500); // Update every second\r\n\r\n return () => clearInterval(intervalId); // Clean up the interval on unmount\r\n }, [scheduleTime, selectedDate, new Date()]);\r\n\r\n React.useEffect(() => {\r\n async function fetchBroadcast(): Promise {\r\n try {\r\n const response = await BroadCastAPI.getBroadcast(parseInt(query.id, 10), query.type);\r\n setBroadcast(response);\r\n } catch (error) {\r\n router.history.goBack();\r\n }\r\n }\r\n fetchBroadcast();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [query.id]);\r\n\r\n function getSegmentIdsAndCustomerCount(): [number[], number] {\r\n let customerCount = 0;\r\n const segmentIds: number[] = [];\r\n if (customerGroupStatuses !== undefined) {\r\n Object.entries(customerGroupStatuses).forEach(([key, value]) => {\r\n if (value.selected) {\r\n if (value.count !== undefined) {\r\n customerCount += value.count;\r\n }\r\n segmentIds.push(parseInt(key, 10));\r\n }\r\n });\r\n }\r\n return [segmentIds, customerCount];\r\n }\r\n\r\n async function handleSendBroadcast(): Promise {\r\n setButtonClicked(true);\r\n const [segmentIds, customerCount] = getSegmentIdsAndCustomerCount();\r\n try {\r\n const dealerPhone = await DealerAPI.getDealerPhoneSetting(dmsDealerIdCrm);\r\n if (broadcast === undefined) {\r\n return;\r\n }\r\n if (dealerPhone.messageCount < customerCount) {\r\n showSnackBar({ type: 'error', message: 'Not enough message credits' });\r\n } else {\r\n await BroadCastAPI.sendBroadcast(\r\n broadcast,\r\n query.type,\r\n segmentIds,\r\n broadcast?.dealerLocationId === 0 ? undefined : broadcast?.dealerLocationId,\r\n broadcast?.dealerLocationId === 0 ? dmsDealerIdCrm : undefined,\r\n );\r\n router.push(`/broadcasts`);\r\n }\r\n setButtonClicked(false);\r\n } catch (error) {\r\n setButtonClicked(false);\r\n showSnackBar({ type: 'error', message: 'Unable to sent broadcast' });\r\n }\r\n }\r\n\r\n async function handleScheduleBroadcastForm(): Promise {\r\n const scheduledDateTime = combineDateTime(selectedDate, selectedTime);\r\n if (scheduledDateTime) {\r\n setButtonClicked(true);\r\n const [segmentIds, customerCount] = getSegmentIdsAndCustomerCount();\r\n try {\r\n const dealerPhone = await DealerAPI.getDealerPhoneSetting(dmsDealerIdCrm);\r\n if (broadcast === undefined) {\r\n return;\r\n }\r\n if (dealerPhone.messageCount < customerCount) {\r\n showSnackBar({ type: 'error', message: 'Not enough message credits' });\r\n } else {\r\n showSnackBar({ type: 'success', message: 'Scheduling broadcast to customer groups' });\r\n setIsScheduling(true)\r\n await BroadCastAPI.sendScheduledBroadcast(\r\n broadcast,\r\n query.type,\r\n segmentIds,\r\n scheduledDateTime,\r\n broadcast?.dealerLocationId === 0 ? undefined : broadcast?.dealerLocationId,\r\n broadcast?.dealerLocationId === 0 ? dmsDealerIdCrm : undefined,\r\n );\r\n setIsScheduling(false);\r\n handleClose();\r\n showSnackBar({ type: 'success', message: `Scheduled broadcast on ${scheduledDateTime.toLocaleString('en-US', {hour12:true})}` });\r\n router.push(`/broadcasts`);\r\n }\r\n setButtonClicked(false);\r\n } catch (error) {\r\n setIsScheduling(false);\r\n setButtonClicked(false);\r\n showSnackBar({ type: 'error', message: 'Unable to schedule broadcast' });\r\n }\r\n }\r\n }\r\n\r\n async function handleSegmentCardClick(segmentId: number): Promise {\r\n if (customerGroups !== undefined && customerGroupStatuses !== undefined) {\r\n if (customerGroupStatuses[segmentId].selected === false) {\r\n try {\r\n let newCustomerGroupStatuses: CustomerGroupStatus = { ...customerGroupStatuses };\r\n newCustomerGroupStatuses[segmentId].loading = true;\r\n setCustomerGroupStatuses(newCustomerGroupStatuses);\r\n const response = await CustomerSegmentAPI.getSegmentCustomerCount(\r\n segmentId,\r\n broadcast?.dealerLocationId === 0 ? undefined : broadcast?.dealerLocationId,\r\n broadcast?.dealerLocationId === 0 ? dmsDealerIdCrm : undefined,\r\n \"B\",\r\n query.type === 'EMAIL',\r\n \r\n );\r\n newCustomerGroupStatuses = { ...customerGroupStatuses };\r\n if (response > 0) {\r\n newCustomerGroupStatuses[segmentId].selected = true;\r\n }\r\n newCustomerGroupStatuses[segmentId].loading = false;\r\n newCustomerGroupStatuses[segmentId].count = response;\r\n setCustomerGroupStatuses(newCustomerGroupStatuses);\r\n } catch (error) {\r\n const newCustomerGroupStatuses: CustomerGroupStatus = { ...customerGroupStatuses };\r\n newCustomerGroupStatuses[segmentId].loading = false;\r\n setCustomerGroupStatuses(newCustomerGroupStatuses);\r\n showSnackBar({ type: 'error', message: 'Unable to get customer count' });\r\n }\r\n } else {\r\n const newCustomerGroupStatuses: CustomerGroupStatus = { ...customerGroupStatuses };\r\n newCustomerGroupStatuses[segmentId].selected = false;\r\n setCustomerGroupStatuses(newCustomerGroupStatuses);\r\n }\r\n }\r\n }\r\n\r\n function handleGoBack(): void {\r\n router.history.goBack();\r\n }\r\n React.useEffect(() => {\r\n async function fetchCustomerSegments(): Promise {\r\n if (broadcast) {\r\n try {\r\n setLoading(true);\r\n const response = await CustomerSegmentAPI.getCustomerSegments(broadcast?.dealerLocationId);\r\n setCustomerGroups(response);\r\n const ids = response.reduce(\r\n (reduce, customerGroup) => ({\r\n ...reduce,\r\n [customerGroup.segmentId]: { loading: false, selected: false, count: undefined },\r\n }),\r\n {},\r\n );\r\n setCustomerGroupStatuses(ids);\r\n setLoading(false);\r\n } catch (error) {\r\n setLoading(false);\r\n showSnackBar({ type: 'error', message: 'Unable to fetch customer groups' });\r\n }\r\n }\r\n }\r\n fetchCustomerSegments();\r\n }, [broadcast, showSnackBar]);\r\n\r\n\r\n\r\n\r\n if (broadcast === undefined) {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n const isSendable =\r\n customerGroupStatuses &&\r\n Object.entries(customerGroupStatuses).filter(([key, value]: any): boolean => value.selected === true).length !== 0;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {broadcast?.title}\r\n \r\n \r\n \r\n \r\n \r\n \r\n Select Customer Group(s)\r\n \r\n {loading ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n \r\n \r\n \r\n {!broadcast.isSchedule && (\r\n Schedule Broadcast\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n }\r\n />\r\n \r\n \r\n \r\n \r\n \r\n {format(selectedDate, 'MMMM d, yyyy')} at\r\n {scheduleTime.map((hour:ITaskTimes) => (\r\n \r\n {hour.label}\r\n \r\n ))}\r\n {/* */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Send Now {buttonClicked && }\r\n \r\n \r\n \r\n \r\n \r\n \r\n {customerGroups &&\r\n customerGroupStatuses &&\r\n customerGroups.map((customerGroup: CustomerGroup) => (\r\n \r\n \r\n \r\n ))}\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n}\r\n\r\nconst useCardStyles = makeStyles((theme: Theme): any => ({\r\n card: {\r\n height: '225px',\r\n cursor: 'pointer',\r\n },\r\n header: {\r\n height: '60px',\r\n alignItems: 'baseline',\r\n },\r\n headerTitle: {\r\n textOverflow: 'ellipsis',\r\n display: '-webkit-box',\r\n '-webkit-line-clamp': 3,\r\n overflow: 'hidden',\r\n '-webkit-box-orient': 'vertical',\r\n },\r\n content: {\r\n height: '65px',\r\n overflow: 'hidden',\r\n },\r\n actions: {\r\n height: '20px',\r\n },\r\n menuBtn: {\r\n padding: theme.spacing(1, 1, 1, 1),\r\n },\r\n cardPaperSelected: {\r\n border: `2px solid ${teal[500]}`,\r\n },\r\n}));\r\n\r\nfunction CustomerGroupCard({\r\n customerGroup,\r\n onClick,\r\n loading,\r\n count,\r\n selected,\r\n}: {\r\n customerGroup: CustomerGroup;\r\n onClick(segmentId: number): Promise;\r\n loading: boolean;\r\n count?: number;\r\n selected: boolean;\r\n}): React.ReactElement {\r\n const classes: any = useCardStyles();\r\n\r\n async function onCardClick(): Promise {\r\n onClick(customerGroup.segmentId);\r\n }\r\n\r\n const formatDate = (date: string): string => moment(date).format('M-DD-YYYY');\r\n let segmentDate = null;\r\n const forDate = `From: ${formatDate(customerGroup.calculatedFromDate || '')}`;\r\n const toDate = `To: ${formatDate(customerGroup.calculatedToDate || '')}`;\r\n segmentDate = (\r\n <>\r\n \r\n {forDate}\r\n \r\n \r\n {toDate}\r\n \r\n \r\n );\r\n const title = customerGroup.segmentName;\r\n const subHeader =\r\n customerGroup?.period && customerGroup?.periodValue\r\n ? `${customerGroup?.periodValue} ${customerGroup?.period === 1 ? 'Month' : 'Day'}${\r\n customerGroup.periodValue && customerGroup?.periodValue > 1 ? 's' : ''\r\n }`\r\n : null;\r\n const customerCountText = count && count == 1 ? `${count} Customer` : `${count} Customers`;\r\n let cardActionContent = null;\r\n if (count !== undefined) {\r\n cardActionContent = {customerCountText};\r\n }\r\n if (loading) {\r\n cardActionContent = (\r\n <>\r\n \r\n fetching number of customers\r\n \r\n );\r\n }\r\n return (\r\n \r\n \r\n \r\n {segmentDate}\r\n \r\n \r\n {cardActionContent}\r\n \r\n );\r\n}\r\n\r\nexport default CustomerGroups;\r\n","import React, { ReactElement } from 'react'\r\nimport { Button, Typography, TextField, Paper, MenuItem } from \"@mui/material\";\r\nimport { Link } from '@material-ui/core';\r\n\r\ninterface EmailLinkProps {\r\n email?:string | undefined;\r\n classStyle?: any;\r\n }\r\n\r\nfunction EmailLink({email,classStyle}: EmailLinkProps): ReactElement{\r\n const src=`mailto: ${email}?subject= &body= `;\r\n return (\r\n {email}\r\n )\r\n\r\n}\r\n\r\nexport default EmailLink","import {\r\n Box,\r\n Button,\r\n ButtonGroup,\r\n CircularProgress,\r\n Grid,\r\n IconButton,\r\n MenuItem,\r\n Paper,\r\n Popover,\r\n Table,\r\n TableBody,\r\n TableCell,\r\n TableContainer,\r\n TableHead,\r\n TableRow,\r\n TextField,\r\n Tooltip,\r\n Typography,\r\n} from '@material-ui/core';\r\nimport { useAppSelector } from 'app';\r\nimport { SmallCircularProgress } from 'common/components/loaders';\r\nimport useLocations from 'common/hooks/useLocations';\r\nimport { LocationOption } from 'common/models/location-option';\r\nimport { BroadCastType } from 'components/broadcast/models/broadcast';\r\nimport { Analytics, BroadCastSpecificAnalyticsParams, SpecificAnalytics } from 'components/broadcast/models/analytics';\r\nimport React from 'react';\r\nimport BroadCastAPI from 'components/broadcast/api/broadcast-api-v2';\r\nimport AppSnackBar from 'components/snackbar/snackbar';\r\nimport { DateRange } from '@mui/lab/DateRangePicker';\r\nimport {\r\n DateRangePickerDay,\r\n DateRangePickerDayProps,\r\n LocalizationProvider,\r\n pickersDayClasses,\r\n StaticDateRangePicker,\r\n} from '@mui/lab';\r\nimport AdapterDateFns from '@mui/lab/AdapterDateFns';\r\nimport moment from 'moment';\r\nimport * as FileSaver from 'file-saver';\r\nimport * as XLSX from 'xlsx';\r\nimport FileDownloadIcon from '@mui/icons-material/FileDownload';\r\nimport EmailLink from 'common/components/buttons/email-link';\r\n\r\nfunction AnalyticsHeader({\r\n type,\r\n dateRange,\r\n location,\r\n loadingLocations,\r\n typeOptions,\r\n locationOptions,\r\n onDateRangeChange,\r\n onTypeChange,\r\n onLocationChange,\r\n}: {\r\n type: string;\r\n dateRange: DateRange;\r\n loadingLocations: boolean;\r\n location?: number;\r\n typeOptions: any[];\r\n locationOptions?: LocationOption[];\r\n onDateRangeChange(value: DateRange): void;\r\n onTypeChange(value: string): void;\r\n onLocationChange(value: number): void;\r\n}): React.ReactElement {\r\n const dealerEmail = useAppSelector((state) => state.dealerEmail);\r\n\r\n return (\r\n \r\n {/* */}\r\n \r\n onLocationChange(event.target.value)}>\r\n {locationOptions &&\r\n locationOptions.map((loc) => (\r\n \r\n {loc.name}\r\n \r\n ))}\r\n \r\n \r\n \r\n onTypeChange(event.target.value)}>\r\n {typeOptions.map((typ) => (\r\n \r\n {typ.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nfunction DateRangeFilter({\r\n value,\r\n setValue,\r\n}: {\r\n value: DateRange;\r\n setValue(value: DateRange): void;\r\n}): React.ReactElement {\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n\r\n const open = Boolean(anchorEl);\r\n const id = open ? 'simple-popover' : undefined;\r\n\r\n const renderWeekPickerDay = (date: Date, dateRangePickerDayProps: DateRangePickerDayProps) => {\r\n return (\r\n \r\n );\r\n };\r\n\r\n const handleClick = (event: React.MouseEvent) => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n\r\n const handleClose = () => {\r\n setAnchorEl(null);\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n const date = new Date();\r\n const startDate = new Date(date.getFullYear(), date.getMonth() - 1, 1);\r\n const endDate = date;\r\n let dateRange: DateRange = [startDate, endDate];\r\n setValue(dateRange);\r\n // Call API\r\n }}>\r\n Past Month\r\n \r\n {\r\n const date = new Date();\r\n let startDate = new Date(date.getFullYear(), date.getMonth() - 6, 1);\r\n let endDate = date;\r\n let dateRange: DateRange = [startDate, endDate];\r\n setValue(dateRange);\r\n // Call API\r\n }}>\r\n Past Quarter\r\n \r\n {\r\n const lastyear = new Date(new Date().getFullYear() - 1, 0, 1);\r\n const startDate = new Date(lastyear.getFullYear(), 0, 1);\r\n const endDate = new Date(lastyear.getFullYear(), 11, 31);\r\n const dateRange: DateRange = [startDate, endDate];\r\n setValue(dateRange);\r\n // Call API\r\n }}>\r\n Past Year\r\n \r\n {\r\n const date = new Date();\r\n const startDate = new Date(date.getFullYear(), 0, 1);\r\n const endDate = date;\r\n const dateRange: DateRange = [startDate, endDate];\r\n setValue(dateRange);\r\n // Call API\r\n }}>\r\n YTD\r\n \r\n {\r\n const dateRange: DateRange = [null, null];\r\n setValue(dateRange);\r\n // Call API\r\n }}>\r\n Reset\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n newValue[1]?.setHours(23, 59, 59);\r\n setValue(newValue);\r\n // Call API { toDate: newValue[1], fromDate: newValue[0] }));\r\n }}\r\n renderDay={renderWeekPickerDay}\r\n renderInput={(startProps: any, endProps: any) => (\r\n <>\r\n \r\n to \r\n \r\n \r\n )}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nconst typeOptions = [\r\n { value: 'Text', label: 'Text' },\r\n { value: 'Email', label: 'Email' },\r\n];\r\n\r\nfunction returnYtdDateRange(): DateRange{\r\n const date = new Date();\r\n const startDate = new Date(date.getFullYear(), 0, 1);\r\n const endDate = date;\r\n const dateRange: DateRange = [startDate, endDate];\r\n return dateRange;\r\n}\r\n\r\nfunction AnalyticsTab(): React.ReactElement {\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n const [showSnackBar] = AppSnackBar.useSnackBar();\r\n\r\n const [analytics, setAnaltytics] = React.useState([]);\r\n const [specificAnalyticsParams, setSpecificAnalyticsParams] = React.useState();\r\n const [specificAnalytics, setSpecificAnalytics] = React.useState([]);\r\n const [typeFilter, setTypeFilter] = React.useState('Text');\r\n const [dateRangeFilter, setDateRangeFilter] = React.useState>(returnYtdDateRange());\r\n\r\n const [loading, setLoading] = React.useState(false);\r\n let defaultLocation = useAppSelector((state) => state.user.dealerId);\r\n const {\r\n loading: loadingLocations,\r\n locationOptions,\r\n defaultLocationOption,\r\n getLocationName,\r\n } = useLocations(dmsDealerIdCrm);\r\n \r\n const [locationFilter, setLocationFilter] = React.useState(defaultLocation);\r\n React.useEffect(() => {\r\n setLocationFilter(defaultLocation);\r\n }, [defaultLocationOption]);\r\n\r\n \r\n\r\n const fetchBroadCastsAnalytics = async (): Promise => {\r\n try {\r\n setLoading(true);\r\n const response = await BroadCastAPI.getBroadCastsAnalytics(\r\n dmsDealerIdCrm,\r\n typeFilter,\r\n dateRangeFilter,\r\n locationFilter,\r\n );\r\n \r\n response.sort((a:Analytics, b:Analytics) => {\r\n // Initalize and use first, second dates in case of null for dateSent or dateSent isn't in the object.\r\n let first:Date = new Date();\r\n let second:Date = new Date();\r\n //Set to a future date. So the item will be at the last.\r\n first.setFullYear(first.getFullYear() + 1);\r\n second.setFullYear(second.getFullYear() + 1)\r\n\r\n if(a.dateSent !== undefined)\r\n {\r\n first = new Date(a.dateSent)\r\n }\r\n if(b.dateSent !== undefined)\r\n {\r\n second = new Date(b.dateSent)\r\n }\r\n return second.getTime() - first.getTime();\r\n })\r\n\r\n setAnaltytics(response);\r\n setLoading(false);\r\n } catch (error) {\r\n setLoading(false);\r\n showSnackBar({ type: 'error', message: 'Unable to fetch broadcasts analytics' });\r\n }\r\n };\r\n\r\n React.useEffect(() => {\r\n fetchBroadCastsAnalytics();\r\n }, [dmsDealerIdCrm, locationFilter, showSnackBar, dateRangeFilter, typeFilter]);\r\n\r\n const [snippetAnchorEl, setSnippetAnchorEl] = React.useState(null);\r\n const [infoLoading, setInfoLoading] = React.useState(false);\r\n const openSnippet = Boolean(snippetAnchorEl);\r\n const idSnippet = openSnippet ? 'message-template-widget' : undefined;\r\n function handleSnippetClose(): void {\r\n setSnippetAnchorEl(null);\r\n }\r\n\r\n async function handleSnippetClick(event: any, messageId: number, type: string, status: string,usageHistoryId:number, title:string, dateSent:Date, customerGroup:string): Promise {\r\n console.log('clicked');\r\n setSpecificAnalyticsParams({title,dateSent,customerGroup})\r\n setSnippetAnchorEl(event.currentTarget);\r\n setInfoLoading(true);\r\n const specificAnalytics = await BroadCastAPI.getBroadcastSpecificAnalytics(messageId, type, status, usageHistoryId);\r\n setSpecificAnalytics(specificAnalytics);\r\n setInfoLoading(false);\r\n }\r\n const dmsTypeId = useAppSelector((state)=>state.user.dmsTypeId);\r\n const fileType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';\r\n const fileExtension = '.xlsx';\r\n const exportToCSV = (csvData: SpecificAnalytics[], fileName: string) => {\r\n const exportData = csvData.map((data) => ({\r\n 'Broadcast Title':specificAnalyticsParams && specificAnalyticsParams.title,\r\n 'Date Sent':specificAnalyticsParams && moment.utc(specificAnalyticsParams.dateSent).format('MM/DD/YYYY'),\r\n 'Customer Group':specificAnalyticsParams && specificAnalyticsParams.customerGroup,\r\n 'Organization': data.customerName,\r\n 'Name': dmsTypeId === 1 ? data.firstName : '',\r\n 'First Name': dmsTypeId !== 1 ? data.firstName:'',\r\n 'Last Name': dmsTypeId !== 1 ? data.lastName:'',\r\n Email: data.email,\r\n Cellphone: data.cellphone ?? (/^\\d+$/.test(data.to.slice(-10)) ? data.to.slice(-10) :''),\r\n To: data.to,\r\n 'Billing Address':\r\n (data.address1 ?? '') +\r\n ', ' +\r\n (data.address2 ?? '') +\r\n ', ' +\r\n (data.city ?? '') +\r\n ', ' +\r\n (data.stateProvince ?? '') +\r\n ', ' +\r\n (data.zipCode ?? ''),\r\n Notes: data.notes,\r\n Category: data.category,\r\n Error: data.error,\r\n Reply: data.reply,\r\n }));\r\n const ws = XLSX.utils.json_to_sheet(exportData);\r\n const wb = { Sheets: { data: ws }, SheetNames: ['data'] };\r\n const excelBuffer = XLSX.write(wb, { bookType: 'xlsx', type: 'array' });\r\n const data = new Blob([excelBuffer], { type: fileType });\r\n FileSaver.saveAs(data, fileName + fileExtension);\r\n };\r\n function handleErrorMessage(errorMessage: string): string {\r\n try {\r\n const parsedMessage = JSON.parse(errorMessage);\r\n const message =\r\n parsedMessage.Exception?.FailureDetails?.ErrorMessage &&\r\n parsedMessage.Exception.FailureDetails.ErrorMessage.trim() !== ''\r\n ? parsedMessage.Exception.FailureDetails.ErrorMessage\r\n : parsedMessage.ErrorMessage;\r\n return message\r\n } catch (error) {\r\n return errorMessage;\r\n }\r\n }\r\n return (\r\n \r\n setTypeFilter(type)}\r\n onDateRangeChange={(dateRange: DateRange): void => setDateRangeFilter(dateRange)}\r\n onLocationChange={(location: number): void => setLocationFilter(location)}\r\n />\r\n \r\n {loading ? (\r\n \r\n \r\n \r\n ) : (\r\n \r\n {typeFilter === 'Email' ? (\r\n \r\n \r\n \r\n Title\r\n Date Sent\r\n Customer Groups\r\n Bounces\r\n Success\r\n Opened\r\n Clicks\r\n Unsubscribes\r\n \r\n \r\n \r\n {analytics?.map((analytics: Analytics) => (\r\n \r\n {analytics.title}\r\n {moment.utc(analytics.dateSent).format('MM/DD/YYYY')}\r\n {analytics.segmentNames}\r\n \r\n {analytics.failed > 0 ? (\r\n \r\n handleSnippetClick(\r\n e,\r\n analytics.messageId,\r\n 'email',\r\n 'failed',\r\n analytics.usageHistoryId,\r\n analytics.title,\r\n analytics.dateSent,\r\n analytics.segmentNames,\r\n )\r\n }\r\n style={{ color: '#0000EE', cursor: 'pointer', textDecoration: 'underline' }}>\r\n {analytics.failed}\r\n

        \r\n ) : (\r\n

        0

        \r\n )}\r\n
        \r\n \r\n {analytics.success > 0 ? (\r\n \r\n handleSnippetClick(\r\n e,\r\n analytics.messageId,\r\n 'email',\r\n 'success',\r\n analytics.usageHistoryId,\r\n analytics.title,\r\n analytics.dateSent,\r\n analytics.segmentNames,\r\n )\r\n }\r\n style={{ color: '#0000EE', cursor: 'pointer', textDecoration: 'underline' }}>\r\n {analytics.success}\r\n

        \r\n ) : (\r\n

        0

        \r\n )}\r\n
        \r\n \r\n {analytics.opened > 0 ? (\r\n \r\n handleSnippetClick(\r\n e,\r\n analytics.messageId,\r\n 'email',\r\n 'opened',\r\n analytics.usageHistoryId,\r\n analytics.title,\r\n analytics.dateSent,\r\n analytics.segmentNames,\r\n )\r\n }\r\n style={{ color: '#0000EE', cursor: 'pointer', textDecoration: 'underline' }}>\r\n {analytics.opened}\r\n

        \r\n ) : (\r\n

        0

        \r\n )}\r\n
        \r\n \r\n {analytics.clicks > 0 ? (\r\n \r\n handleSnippetClick(\r\n e,\r\n analytics.messageId,\r\n 'email',\r\n 'clicks',\r\n analytics.usageHistoryId,\r\n analytics.title,\r\n analytics.dateSent,\r\n analytics.segmentNames,\r\n )\r\n }\r\n style={{ color: '#0000EE', cursor: 'pointer', textDecoration: 'underline' }}>\r\n {analytics.clicks}\r\n

        \r\n ) : (\r\n

        0

        \r\n )}\r\n
        \r\n \r\n {analytics.unsubscribes > 0 ? (\r\n \r\n handleSnippetClick(\r\n e,\r\n analytics.messageId,\r\n 'email',\r\n 'unsubscribes',\r\n analytics.usageHistoryId,\r\n analytics.title,\r\n analytics.dateSent,\r\n analytics.segmentNames,\r\n )\r\n }\r\n style={{ color: '#0000EE', cursor: 'pointer', textDecoration: 'underline' }}>\r\n {analytics.unsubscribes}\r\n

        \r\n ) : (\r\n

        0

        \r\n )}\r\n
        \r\n
        \r\n ))}\r\n
        \r\n
        \r\n ) : (\r\n \r\n \r\n \r\n Title\r\n Date Sent\r\n Customer Groups\r\n Fails\r\n Success\r\n Clicks\r\n Replies\r\n Unsubscribes\r\n \r\n \r\n \r\n {analytics?.map((analytics: Analytics) => (\r\n \r\n {analytics.title}\r\n {moment.utc(analytics.dateSent).format('MM/DD/YYYY')}\r\n {analytics.segmentNames}\r\n \r\n {analytics.failed > 0 ? (\r\n \r\n handleSnippetClick(\r\n e,\r\n analytics.messageId,\r\n 'text',\r\n 'failed',\r\n analytics.usageHistoryId,\r\n analytics.title,\r\n analytics.dateSent,\r\n analytics.segmentNames,\r\n )\r\n }\r\n style={{ color: '#0000EE', cursor: 'pointer', textDecoration: 'underline' }}>\r\n {analytics.failed}\r\n

        \r\n ) : (\r\n

        0

        \r\n )}\r\n
        \r\n \r\n {analytics.success > 0 ? (\r\n \r\n handleSnippetClick(\r\n e,\r\n analytics.messageId,\r\n 'text',\r\n 'success',\r\n analytics.usageHistoryId,\r\n analytics.title,\r\n analytics.dateSent,\r\n analytics.segmentNames,\r\n )\r\n }\r\n style={{ color: '#0000EE', cursor: 'pointer', textDecoration: 'underline' }}>\r\n {analytics.success}\r\n

        \r\n ) : (\r\n

        0

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

        {analytics.clicks}

        \r\n
        \r\n \r\n {analytics.replies > 0 ? (\r\n \r\n handleSnippetClick(\r\n e,\r\n analytics.messageId,\r\n 'text',\r\n 'replies',\r\n analytics.usageHistoryId,\r\n analytics.title,\r\n analytics.dateSent,\r\n analytics.segmentNames,\r\n )\r\n }\r\n style={{ color: '#0000EE', cursor: 'pointer', textDecoration: 'underline' }}>\r\n {analytics.replies}\r\n

        \r\n ) : (\r\n

        0

        \r\n )}\r\n
        \r\n \r\n {analytics.unsubscribes > 0 ? (\r\n \r\n handleSnippetClick(\r\n e,\r\n analytics.messageId,\r\n 'text',\r\n 'unsubscribes',\r\n analytics.usageHistoryId,\r\n analytics.title,\r\n analytics.dateSent,\r\n analytics.segmentNames,\r\n )\r\n }\r\n style={{ color: '#0000EE', cursor: 'pointer', textDecoration: 'underline' }}>\r\n {analytics.unsubscribes}\r\n

        \r\n ) : (\r\n

        0

        \r\n )}\r\n
        \r\n
        \r\n ))}\r\n
        \r\n
        \r\n )}\r\n \r\n \r\n \r\n \r\n Customer List\r\n \r\n \r\n {exportToCSV(specificAnalytics,specificAnalyticsParams ? specificAnalyticsParams.customerGroup:'test')}}>\r\n \r\n \r\n \r\n \r\n \r\n {infoLoading && }\r\n {!infoLoading && (\r\n \r\n \r\n \r\n \r\n Organization\r\n Name\r\n First Name\r\n Last Name\r\n Cell Phone\r\n Email\r\n Billing Address\r\n Notes\r\n {/* Category\r\n To */}\r\n Error\r\n Reply\r\n \r\n \r\n \r\n {specificAnalytics?.map((analytics: SpecificAnalytics) => (\r\n \r\n {analytics.customerName}\r\n {analytics.firstName}\r\n {dmsTypeId!==1 && analytics.firstName}\r\n {dmsTypeId !==1 && analytics.lastName}\r\n {analytics.cellphone ?? (/^\\d+$/.test(analytics.to.slice(-10)) && analytics.to.slice(-10))}\r\n {analytics.email?:<>}\r\n \r\n {(analytics.address1 ?? '') +\r\n ', ' +\r\n (analytics.address2 ?? '') +\r\n ', ' +\r\n (analytics.city ?? '') +\r\n ', ' +\r\n (analytics.stateProvince ?? '') +\r\n ', ' +\r\n (analytics.zipCode ?? '')}\r\n \r\n {analytics.notes}\r\n {/* {analytics.category}\r\n {analytics.to} */}\r\n {handleErrorMessage(analytics.error)}\r\n {analytics.reply}\r\n \r\n ))}\r\n \r\n
        \r\n
        \r\n )}\r\n
        \r\n
        \r\n \r\n
        \r\n )}\r\n
        \r\n
        \r\n );\r\n}\r\n\r\nexport default AnalyticsTab;\r\n","import { makeStyles } from '@material-ui/core';\r\nimport { CSSProperties } from '@material-ui/styles';\r\nimport React, { ReactElement } from 'react';\r\n\r\nconst useStyles = makeStyles(() => ({\r\n tag: (props: { color: string }): any => ({\r\n transform: 'rotate3d(1, 1, 10, 90deg) translate(-25px, 10px)',\r\n transformOrigin: 'left top',\r\n position: 'absolute',\r\n background: props.color,\r\n borderRadius: '3px 0 0 3px',\r\n color: 'white',\r\n display: 'inline-block',\r\n height: '20px',\r\n fontSize: '10px',\r\n lineHeight: '20px',\r\n padding: '0 15px 0 18px',\r\n textDecoration: 'none',\r\n marginRight: '2px',\r\n '&::before': {\r\n background: '#fff',\r\n borderRadius: '10px',\r\n boxShadow: 'inset 0 1px rgba(0, 0, 0, 0.25)',\r\n content: '\"\"',\r\n height: '6px',\r\n left: '7px',\r\n position: 'absolute',\r\n width: '5px',\r\n top: '7px',\r\n },\r\n '&::after': {\r\n background: 'white',\r\n borderBottom: '10px solid white',\r\n borderLeft: `10px solid ${props.color}`,\r\n borderTop: '10px solid white',\r\n content: '\"\"',\r\n position: 'absolute',\r\n right: -10,\r\n top: 0,\r\n },\r\n }),\r\n}));\r\n\r\nexport function Tag({ label, color, style }: { label: string; color: string; style?:CSSProperties }): ReactElement {\r\n const classes: any = useStyles({ color });\r\n return
        {label}
        ;\r\n}\r\n\r\nexport default Tag;\r\n","import { Tooltip } from '@material-ui/core';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport React, { ReactElement, ReactNode } from 'react';\r\n\r\nexport const HtmlTooltip = withStyles(() => ({\r\n tooltip: {\r\n maxWidth: 175,\r\n fontSize: '11px',\r\n border: '1px solid #dadde9',\r\n 'margin-left': '10px',\r\n },\r\n}))(Tooltip);\r\n\r\nexport default function CardToolTipWrapper({\r\n children,\r\n tooltip,\r\n toolTipVisible,\r\n}: {\r\n children?: ReactNode;\r\n tooltip: any;\r\n toolTipVisible: boolean;\r\n}): ReactElement {\r\n return (\r\n <>\r\n {toolTipVisible && (\r\n \r\n {tooltip}\r\n \r\n ) : (\r\n ''\r\n )\r\n }\r\n arrow>\r\n
        {children}
        \r\n \r\n )}\r\n {!toolTipVisible &&
        {children}
        }\r\n \r\n );\r\n}\r\n","import { Box, CardHeader, CircularProgress, IconButton, Menu, MenuItem, Theme } from '@material-ui/core';\r\nimport Card from '@material-ui/core/Card';\r\nimport CardContent from '@material-ui/core/CardContent';\r\nimport { amber, blue, green, orange, purple, red } from '@material-ui/core/colors';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport MoreVertIcon from '@material-ui/icons/MoreVert';\r\nimport DOMPurify from 'dompurify';\r\nimport React, { ReactElement, useState } from 'react';\r\n\r\nimport Tag from 'common/components/tag';\r\nimport { useRouter } from 'common/hooks';\r\nimport { BroadCast, BroadCastType } from 'components/broadcast/models/broadcast';\r\nimport SmsIcon from '@mui/icons-material/Sms';\r\nimport MmsIcon from '@mui/icons-material/Mms';\r\nimport EmailIcon from '@mui/icons-material/Email';\r\nimport CardToolTipWrapper from './card-tooltip-wrapper';\r\nimport CalendarTodayIcon from '@mui/icons-material/CalendarToday';\r\nimport moment from 'moment';\r\n\r\nconst useStyles = makeStyles((theme: Theme): any => ({\r\n card: {\r\n height: '193px',\r\n cursor: 'pointer',\r\n position: 'relative',\r\n overflow: 'visible',\r\n '&:hover': {\r\n boxShadow: theme.shadows[5],\r\n '& $action': {\r\n visibility: 'visible',\r\n },\r\n },\r\n },\r\n action: {\r\n visibility: 'hidden',\r\n position: 'absolute',\r\n right: '6px',\r\n top: '4px',\r\n background: theme.palette.background.paper,\r\n },\r\n header: {\r\n height: '60px',\r\n paddingLeft: '32px',\r\n overflow: 'hidden',\r\n alignItems: 'start',\r\n },\r\n headerContent: {\r\n width: '100%',\r\n wordBreak: 'break-all',\r\n },\r\n content: {\r\n overflow: 'hidden',\r\n alignItems: 'start',\r\n },\r\n title: {\r\n textOverflow: 'ellipsis',\r\n display: '-webkit-box',\r\n '-webkit-line-clamp': 2,\r\n overflow: 'hidden',\r\n '-webkit-box-orient': 'vertical',\r\n },\r\n body: {\r\n textOverflow: 'ellipsis',\r\n display: '-webkit-box',\r\n '-webkit-line-clamp': 2,\r\n overflow: 'hidden',\r\n '-webkit-box-orient': 'vertical',\r\n '& img': {\r\n display: 'none',\r\n },\r\n },\r\n Draft: {\r\n display: 'inline-block',\r\n 'font-weight': 'bold',\r\n hyphens: 'auto',\r\n },\r\n Sent: {\r\n display: 'inline-block',\r\n 'font-weight': 'bold',\r\n hyphens: 'auto',\r\n },\r\n Deleted: {\r\n display: 'inline-block',\r\n 'font-weight': 'bold',\r\n hyphens: 'auto',\r\n },\r\n}));\r\n\r\nexport default function BroadCastCard({\r\n getLocationName,\r\n broadCast,\r\n broadCastType,\r\n onDuplicate,\r\n onDelete,\r\n onRestore,\r\n onCancel\r\n}: {\r\n getLocationName(dealerLocationId: number): string | undefined;\r\n broadCast: BroadCast;\r\n broadCastType: BroadCastType | any;\r\n onDuplicate(id: number, type: BroadCastType): void;\r\n onDelete(id: number, type: BroadCastType): void;\r\n onRestore(id: number, type: BroadCastType): void;\r\n onCancel(id: number, type: BroadCastType): void;\r\n}): ReactElement {\r\n const classes: any = useStyles();\r\n const router = useRouter();\r\n const [anchorEl, setAnchorEl] = useState(null);\r\n\r\n const handleActionMenuClick = (event: React.MouseEvent): void => {\r\n event.stopPropagation();\r\n setAnchorEl(event.currentTarget);\r\n };\r\n\r\n const handleActionMenuClose = (): void => setAnchorEl(null);\r\n\r\n const handleCardClicked = (): void => {\r\n handleActionMenuClose();\r\n if (broadCastType === 'SMS') {\r\n router.push(`/broadcasts/${broadCast.id}?type=SMS`);\r\n } else if (broadCastType === 'MMS') {\r\n router.push(`/broadcasts/${broadCast.id}?type=MMS`);\r\n } else if (broadCastType === 'EMAIL') {\r\n router.push(`/broadcasts/${broadCast.id}?type=EMAIL`);\r\n }\r\n };\r\n\r\n const handleEdit = (): void => {\r\n handleActionMenuClose();\r\n if (broadCastType === 'SMS') {\r\n router.push(`/broadcasts/${broadCast.id}?type=SMS`);\r\n } else if (broadCastType === 'MMS') {\r\n router.push(`/broadcasts/${broadCast.id}?type=MMS`);\r\n } else if (broadCastType === 'EMAIL') {\r\n router.push(`/broadcasts/${broadCast.id}?type=EMAIL`);\r\n }\r\n };\r\n\r\n const handleDuplicate = (): void => {\r\n handleActionMenuClose();\r\n onDuplicate(broadCast.id, broadCastType);\r\n };\r\n\r\n const handleDelete = (): void => {\r\n handleActionMenuClose();\r\n onDelete(broadCast.id, broadCastType);\r\n };\r\n\r\n const handleRestore = (): void => {\r\n handleActionMenuClose();\r\n onRestore(broadCast.id, broadCastType);\r\n };\r\n const handleCancel = (): void => {\r\n handleActionMenuClose();\r\n onCancel(broadCast.id, broadCastType);\r\n };\r\n\r\n const borderStyleActive = `5px solid`;\r\n const borderColorDeactivated = red[500];\r\n const borderColorActive = green[500];\r\n const borderColorDraft = amber[500];\r\n const borderColorProgress = blue[500];\r\n const borderColorScheduled = purple[500];\r\n\r\n let npsColor;\r\n let surveyStatus = '';\r\n let currentBorderColor;\r\n if (broadCast.isSent === 1) {\r\n currentBorderColor = borderColorActive;\r\n surveyStatus = 'Sent';\r\n npsColor = green[500];\r\n } else if (broadCast.isSent == 0) {\r\n currentBorderColor = borderColorDraft;\r\n surveyStatus = 'Draft';\r\n npsColor = amber[500];\r\n } else {\r\n currentBorderColor = borderColorProgress;\r\n surveyStatus = 'Queued';\r\n npsColor = blue[500];\r\n }\r\n\r\n if (broadCast.isDeleted) {\r\n currentBorderColor = borderColorDeactivated;\r\n surveyStatus = 'Deleted';\r\n npsColor = red[500];\r\n }\r\n if (broadCast.isSent == 0 && broadCast.isSchedule) {\r\n currentBorderColor = borderColorScheduled;\r\n surveyStatus = 'Scheduled';\r\n npsColor = purple[500];\r\n }\r\n \r\n const extractContent = (s: string, space: boolean): string => {\r\n const span = document.createElement('span');\r\n span.innerHTML = s;\r\n if (space) {\r\n const children = span.querySelectorAll('*');\r\n for (let i = 0; i < children.length; i++) {\r\n if (children[i].textContent) children[i].textContent += ' ';\r\n else children[i].textContent += ' ';\r\n }\r\n }\r\n return [span.textContent || span.innerText].toString().replace(/ +/g, ' ');\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {broadCast.title}\r\n \r\n }\r\n action={\r\n \r\n \r\n \r\n }\r\n subheaderTypographyProps={{ variant: 'caption', style: { wordBreak: 'break-word' } }}\r\n subheader={\r\n <>\r\n \r\n {broadCast.type === 'SMS' ? : broadCast.type === 'MMS' ? : }\r\n {broadCast.type}\r\n \r\n {getLocationName(broadCast.dealerLocationId)}\r\n \r\n }\r\n // subheader={getLocationName(broadCast.dealerLocationId)}\r\n />\r\n\r\n \r\n {/* {( broadCastType != 'EMAIL' && broadCast.isSent === -1) && } */}\r\n {broadCast.isSchedule === false ? (\r\n \r\n ) : (\r\n \r\n \r\n Scheduled to send\r\n \r\n {broadCast.scheduleDate && moment.utc(broadCast.scheduleDate).local().format('M-D-YYYY, h:mm A')}\r\n \r\n \r\n )}\r\n \r\n e.stopPropagation()}\r\n onClose={handleActionMenuClose}>\r\n {!broadCast.isDeleted && (\r\n
        \r\n \r\n Edit\r\n \r\n \r\n Duplicate\r\n \r\n \r\n Delete\r\n \r\n {broadCast.isSchedule && (\r\n \r\n Cancel\r\n \r\n )}\r\n
        \r\n )}\r\n\r\n {broadCast.isDeleted && (\r\n \r\n Restore\r\n \r\n )}\r\n \r\n \r\n \r\n );\r\n}\r\n","import { Box, makeStyles, Theme, Typography } from '@material-ui/core';\r\nimport Card from '@material-ui/core/Card';\r\nimport CardContent from '@material-ui/core/CardContent';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport AddCircleOutlineIcon from '@material-ui/icons/AddCircleOutline';\r\nimport React, { ReactElement } from 'react';\r\n\r\nconst useStyles = makeStyles((theme: Theme): any => ({\r\n card: {\r\n height: '198px',\r\n background: theme.palette.primary.main,\r\n color: theme.palette.common.white,\r\n cursor: 'pointer',\r\n '&:hover': {\r\n boxShadow: theme.shadows[5],\r\n },\r\n },\r\n content: {\r\n display: 'flex',\r\n flexDirection: 'column',\r\n flexGrow: 1,\r\n height: '100%',\r\n alignItems: 'center',\r\n },\r\n innerContent: {\r\n textAlign: 'center',\r\n margin: 'auto',\r\n },\r\n addButton: {\r\n color: theme.palette.common.white,\r\n },\r\n}));\r\n\r\nexport default function NewBroadCastCard({ onClick }: { onClick(): void }): ReactElement {\r\n const classes: any = useStyles();\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n New Broadcast\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","import { Box, Button, Divider, IconButton, makeStyles, Toolbar, Typography } from '@material-ui/core';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport React, { ReactElement } from 'react';\r\n\r\nconst useStyles = makeStyles(() => ({\r\n title: {\r\n textTransform: 'capitalize',\r\n },\r\n}));\r\n\r\nfunction DrawerToolbar({\r\n title,\r\n onSave,\r\n onClose,\r\n}: {\r\n title: string;\r\n onSave?(): Promise | void;\r\n onClose?: (e: any) => void;\r\n}): ReactElement {\r\n const classes: any = useStyles();\r\n const [saving, setSaving] = React.useState(false);\r\n async function handleOnSave(): Promise {\r\n if (onSave) {\r\n setSaving(true);\r\n await onSave();\r\n setSaving(false);\r\n }\r\n }\r\n return (\r\n <>\r\n \r\n \r\n \r\n {title}\r\n \r\n \r\n {onSave ? (\r\n \r\n ) : (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default DrawerToolbar;\r\n","import { Box, Button, Container, Drawer, MenuItem, TextField } from '@material-ui/core';\r\nimport Alert from '@material-ui/lab/Alert';\r\nimport { useFormik } from 'formik';\r\nimport React, { ReactElement } from 'react';\r\nimport { useAppSelector } from 'app';\r\nimport * as Yup from 'yup';\r\n\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\nimport { LocationOption } from 'common/models/location-option';\r\nimport { BroadCastType } from 'components/broadcast/models/broadcast';\r\n\r\nimport { TypeOption } from './broadcasts-tab';\r\nimport TextLimitField from 'common/components/input-fields/TextLimitField';\r\n\r\nexport interface NewBroadCastFormValue {\r\n title: string;\r\n type: BroadCastType;\r\n dealerLocationId?: number;\r\n}\r\n\r\nfunction NewBroadCastDrawer({\r\n locationOptions,\r\n typeOptions,\r\n selectedType,\r\n open,\r\n selectedLocationId,\r\n onClose,\r\n onCreate,\r\n}: {\r\n locationOptions?: LocationOption[];\r\n typeOptions: TypeOption[];\r\n selectedType : BroadCastType;\r\n open: boolean;\r\n selectedLocationId?: number;\r\n onClose(): void;\r\n onCreate(value: any): Promise;\r\n}): ReactElement {\r\n const validationSchema = Yup.object().shape({\r\n title: Yup.string().required('Broadcast title is required'),\r\n type: Yup.string().required('BroadCast type is required'),\r\n dealerLocationId: Yup.number().required('Department location is required'),\r\n });\r\n\r\n const initialValues: NewBroadCastFormValue = {\r\n title: '',\r\n type: selectedType,\r\n dealerLocationId: selectedLocationId,\r\n };\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n validationSchema,\r\n onSubmit: handleSubmit,\r\n enableReinitialize: true,\r\n });\r\n\r\n async function handleSubmit(values: NewBroadCastFormValue): Promise {\r\n try {\r\n await onCreate(values);\r\n formik.resetForm();\r\n } catch (error) {\r\n formik.resetForm();\r\n }\r\n }\r\n\r\n const dealerEmail = useAppSelector((state) => state.dealerEmail);\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n
        \r\n \r\n \r\n {typeOptions.map((typeOption) => (\r\n \r\n {typeOption.label}  \r\n {typeOption.value === 'EMAIL' && !dealerEmail.replyToAddress && (\r\n \r\n Please add your email in settings to enable Emails.\r\n {/* \r\n Click here\r\n \r\n to set */}\r\n \r\n )}\r\n \r\n ))}\r\n \r\n \r\n {locationOptions &&\r\n locationOptions.map((locationOption) => (\r\n \r\n {locationOption.name}\r\n \r\n ))}\r\n \r\n \r\n \r\n Create\r\n \r\n \r\n \r\n
        \r\n
        \r\n );\r\n}\r\n\r\nexport default NewBroadCastDrawer;\r\n","import React from 'react';\r\n\r\nexport const SignalRContext = React.createContext(null);\r\nSignalRContext.displayName = 'SignalRContext';\r\n\r\nexport default SignalRContext;\r\n","import { Box, CircularProgress, Grid, IconButton, MenuItem, Paper, TablePagination, TextField } from '@material-ui/core';\r\nimport React, { useContext, useEffect } from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { useRouter } from 'common/hooks';\r\nimport useLocations from 'common/hooks/useLocations';\r\nimport { LocationOption } from 'common/models/location-option';\r\nimport BroadCastAPI from 'components/broadcast/api/broadcast-api-v2';\r\nimport { BroadCast, BroadCastStatus, BroadCastType, BroadCastTypeFilter } from 'components/broadcast/models/broadcast';\r\nimport AppSnackBar from 'components/snackbar/snackbar';\r\nimport { fetchDealerEmail } from 'store/dealerEmailSlice';\r\nimport { Notification } from 'common/models/notification';\r\nimport BroadCastCard from './broadcast-card';\r\nimport NewBroadCastCard from './new-broadcast-card';\r\nimport NewBroadCastDrawer, { NewBroadCastFormValue } from './new-broadcast-drawer';\r\nimport SignalRContext from 'components/layouts/DashboardLayout/signalr-context';\r\n\r\ntype StatusOption = {\r\n value: BroadCastStatus;\r\n label: string;\r\n};\r\nexport type TypeOption = {\r\n value: BroadCastType;\r\n label: string;\r\n};\r\nexport type TypeOptionFilter = {\r\n value: BroadCastTypeFilter;\r\n label: string;\r\n};\r\n\r\nfunction BroadCastHeader({\r\n type,\r\n status,\r\n location,\r\n loadingLocations,\r\n typeOptions,\r\n statusOptions,\r\n locationOptions,\r\n loading,\r\n onStatusChange,\r\n onTypeChange,\r\n onLocationChange,\r\n}: {\r\n status: BroadCastStatus;\r\n type: BroadCastType;\r\n loadingLocations: boolean;\r\n location?: number;\r\n typeOptions: TypeOptionFilter[];\r\n statusOptions: StatusOption[];\r\n locationOptions?: LocationOption[];\r\n loading?:boolean;\r\n onStatusChange(value: string): void;\r\n onTypeChange(value: string): void;\r\n onLocationChange(value: number): void;\r\n}): React.ReactElement {\r\n const dealerEmail = useAppSelector((state) => state.dealerEmail);\r\n\r\n return (\r\n \r\n {/* */}\r\n \r\n onLocationChange(event.target.value)}>\r\n {locationOptions &&\r\n locationOptions.map((loc) => (\r\n \r\n {loc.name}\r\n \r\n ))}\r\n \r\n \r\n \r\n onTypeChange(event.target.value)}>\r\n {typeOptions.map((typ) => (\r\n \r\n {typ.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n onStatusChange(event.target.value)}>\r\n {statusOptions.map((st) => (\r\n \r\n {st.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nfunction BroadCastsTab(): React.ReactElement {\r\n const [typeFilter, setTypeFilter] = React.useState('ALL');\r\n const [statusFilter, setStatusFilter] = React.useState('ALL');\r\n const [loading, setLoading] = React.useState(false);\r\n const [broadCasts, setBroadCasts] = React.useState([]);\r\n const [showNewBroadCastDrawer, setShowNewBroadCastDrawer] = React.useState(false);\r\n const [pageNumber, setPageNumber] = React.useState(0);\r\n const [totalRows, setTotalRows] = React.useState(-999);\r\n const [rowsPerPage, setRowsPerPage] = React.useState(17);\r\n\r\n const router = useRouter();\r\n const dispatch = useAppDispatch();\r\n const [showSnackBar] = AppSnackBar.useSnackBar();\r\n const signalRConnection = useContext(SignalRContext);\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n \r\n\r\n const {\r\n loading: loadingLocations,\r\n locationOptions,\r\n defaultLocationOption,\r\n getLocationName,\r\n } = useLocations(dmsDealerIdCrm);\r\n const [locationFilter, setLocationFilter] = React.useState(\r\n defaultLocationOption?.dealerLocationId === -1 ? 0 : defaultLocationOption?.dealerLocationId,\r\n );\r\n\r\n useEffect(() => {\r\n dispatch(fetchDealerEmail());\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n async function updateBroadcastStatus(notification: Notification) {\r\n let data: any = JSON.parse(notification.EventData);\r\n try {\r\n setLoading(true);\r\n await BroadCastAPI.getBroadCasts(dmsDealerIdCrm, typeFilter, statusFilter, locationFilter, rowsPerPage, pageNumber).then(response=>{\r\n setBroadCasts(response.broadcasts);\r\n setTotalRows(response.count);\r\n });\r\n setLoading(false);\r\n } catch (error) {\r\n setLoading(false);\r\n showSnackBar({ type: 'error', message: 'Unable to fetch broadcasts' });\r\n }\r\n }\r\n\r\n if (signalRConnection) {\r\n signalRConnection.on('ProgressFinished', updateBroadcastStatus);\r\n }\r\n return (): void => {\r\n if (signalRConnection) {\r\n signalRConnection.off('ProgressFinished', updateBroadcastStatus);\r\n }\r\n };\r\n }, [signalRConnection]);\r\n\r\n const statusOptions: StatusOption[] = [\r\n { value: 'ALL', label: 'ALL' },\r\n { value: 'DRAFTS', label: 'DRAFTS' },\r\n { value: 'SCHEDULED', label: 'SCHEDULED' },\r\n { value: 'SENT', label: 'SENT' },\r\n { value: 'DELETED', label: 'RECYCLE BIN' },\r\n ];\r\n const typeOptions: TypeOption[] = [\r\n { value: 'SMS', label: 'SMS' },\r\n { value: 'MMS', label: 'MMS' },\r\n { value: 'EMAIL', label: 'EMAIL' },\r\n ];\r\n const typeOptionsFilter: TypeOptionFilter[] = [\r\n { value: 'ALL', label: 'ALL' },\r\n { value: 'TEXT', label: 'TEXT' },\r\n { value: 'EMAIL', label: 'EMAIL' },\r\n ];\r\n\r\n\r\n const fetchBroadCasts = async (): Promise => {\r\n if (locationFilter !== undefined && locationFilter >= 0) {\r\n try {\r\n setLoading(true);\r\n await BroadCastAPI.getBroadCasts(dmsDealerIdCrm, typeFilter, statusFilter, locationFilter, rowsPerPage, pageNumber).then(response=>{\r\n setBroadCasts(response.broadcasts);\r\n setTotalRows(response.count);\r\n });\r\n setLoading(false);\r\n } catch (error) {\r\n setLoading(false);\r\n showSnackBar({ type: 'error', message: 'Unable to fetch broadcasts' });\r\n }\r\n }\r\n };\r\n\r\n async function handleCreate(newBroadcastForm: NewBroadCastFormValue): Promise {\r\n try {\r\n const response = await BroadCastAPI.createBroadcast(\r\n newBroadcastForm.type,\r\n newBroadcastForm.title,\r\n newBroadcastForm.dealerLocationId,\r\n );\r\n setShowNewBroadCastDrawer(false);\r\n router.push(`/broadcasts/${response.id}?type=${newBroadcastForm.type}`);\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to create broadcast' });\r\n }\r\n }\r\n async function handleDuplicate(id: number, type: BroadCastType): Promise {\r\n try {\r\n await BroadCastAPI.duplicateBroadcast(id, type);\r\n await fetchBroadCasts();\r\n showSnackBar({ type: 'success', message: 'Broadcast duplicated' });\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to duplicate broadcast' });\r\n }\r\n }\r\n async function handleDelete(id: number, type: BroadCastType): Promise {\r\n try {\r\n await BroadCastAPI.deleteBroadcast(id, type);\r\n await fetchBroadCasts();\r\n showSnackBar({ type: 'success', message: 'Broadcast deleted' });\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to delete broadcast' });\r\n }\r\n }\r\n async function handleRestore(id: number, type: BroadCastType): Promise {\r\n try {\r\n await BroadCastAPI.restoreBroadcast(id, type);\r\n await fetchBroadCasts();\r\n showSnackBar({ type: 'success', message: 'Broadcast restored' });\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to restore broadcast' });\r\n }\r\n }\r\n async function handleCancel(id: number, type: BroadCastType): Promise {\r\n try {\r\n await BroadCastAPI.deleteScheduledBroadcast(id, type);\r\n await fetchBroadCasts();\r\n showSnackBar({ type: 'success', message: 'Scheduled broadcast canceled' });\r\n } catch (error) {\r\n showSnackBar({ type: 'error', message: 'Unable to cancel broadcast' });\r\n }\r\n }\r\n\r\n // Events\r\n function handleNewBroadCastCardClicked(): void {\r\n setShowNewBroadCastDrawer(true);\r\n }\r\n\r\n function handleChangePage(_: unknown, newPage: number): void {\r\n setPageNumber(newPage);\r\n }\r\n React.useEffect(() => {\r\n setLocationFilter(defaultLocationOption?.dealerLocationId);\r\n }, [defaultLocationOption]);\r\n \r\n React.useEffect(() => {\r\n fetchBroadCasts();\r\n }, [dmsDealerIdCrm, locationFilter,showSnackBar, statusFilter, typeFilter, signalRConnection, pageNumber, rowsPerPage]);\r\n\r\n \r\n const content = (\r\n <>\r\n {statusFilter !== 'DELETED' && (\r\n \r\n \r\n \r\n )}\r\n {broadCasts &&\r\n broadCasts.map((broadCast) => (\r\n \r\n \r\n \r\n ))}\r\n \r\n );\r\n return (\r\n \r\n {\r\n setTypeFilter(type);\r\n setPageNumber(0);\r\n }}\r\n onStatusChange={(status: BroadCastStatus): void => {\r\n setStatusFilter(status);\r\n setPageNumber(0);\r\n }}\r\n onLocationChange={(location: number): void => {\r\n setLocationFilter(location);\r\n setPageNumber(0);\r\n }}\r\n />\r\n {loading ? (\r\n \r\n \r\n \r\n ) : (\r\n \r\n \r\n {content}\r\n \r\n \r\n )}\r\n x.value != 'EMAIL')\r\n : typeFilter === 'EMAIL'\r\n ? typeOptions.filter((x) => x.value === 'EMAIL')\r\n : typeOptions\r\n }\r\n onClose={(): void => setShowNewBroadCastDrawer(false)}\r\n />\r\n {typeof broadCasts != 'undefined' && (\r\n \r\n )}\r\n \r\n );\r\n}\r\n\r\nexport default BroadCastsTab;\r\n","import { Box, Container, makeStyles, Paper, Tab, Theme } from '@material-ui/core';\r\nimport { TabContext, TabPanel } from '@mui/lab';\r\nimport TabList from '@mui/lab/TabList';\r\nimport React from 'react';\r\nimport AnalyticsTab from './analytics-tab';\r\nimport BroadCastsTab from './broadcasts-tab';\r\n\r\nconst useStyles = makeStyles((theme: Theme): any => ({\r\n container: {\r\n marginTop: theme.spacing(2),\r\n marginBottom: theme.spacing(2),\r\n },\r\n}));\r\n\r\nfunction BroadCastPage(): React.ReactElement {\r\n const classes: any = useStyles();\r\n\r\n const [value, setValue] = React.useState('1');\r\n\r\n const handleChange = (event: React.SyntheticEvent, tabValue: string) => {\r\n setValue(tabValue);\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default BroadCastPage;\r\n","import { Box, Typography } from '@material-ui/core';\r\n\r\nimport React, { ReactElement } from 'react';\r\n\r\nexport default function PageHeader({ title }: { title: string }): ReactElement {\r\n return (\r\n \r\n \r\n {title}\r\n \r\n \r\n );\r\n}\r\n","import config from \"config\";\r\n\r\nconst CUSTOMER_BASE_URL = config.get('api.customer');\r\nconst MESSAGING_EXTERNAL_BASE_URL = config.get('api.messagingExternal');\r\nconst MESSAGING_BASE_URL = config.get('api.messaging');\r\n\r\nexport const RouteConstants = {\r\n GetCustomerPartAndModelNumber: `${CUSTOMER_BASE_URL}/GetCustomerPartAndModelNumber`,\r\n Messaging:{\r\n GetConversationDepartmentIds:`${MESSAGING_BASE_URL}/GetConversationDepartmentIds/{crmUserId}`\r\n }\r\n };","import { CustomerTags } from './../../../common/models/customer';\r\nimport { destroy, get, patch, post, put } from 'api';\r\nimport axios, { CancelTokenSource } from 'axios';\r\nimport Customer, { CustomerDto } from 'common/models/customer';\r\nimport { RouteConstants } from 'common/utils/shared/routes-constants';\r\nimport { CustomerContactNew } from 'components/customer/components/CustomerDrawer/CustomerContactDrawer';\r\nimport config from 'config';\r\nimport { v1 as uuidv1 } from 'uuid';\r\nimport { BaseResponse } from 'common/utils/shared/shared-models';\r\n\r\nconst BASE_URL = config.get('api.customer');\r\nconst GoogleApiKey = config.get('api.googlePlaces');\r\n\r\ninterface GetCustomersResponse {\r\n customers: CustomerDto[];\r\n count: number;\r\n pageSize: number;\r\n pageNumber: number;\r\n}\r\nexport interface CustomerCategory {\r\n customerCategoryId: string;\r\n dealerId: number;\r\n isActive: boolean;\r\n lastUpdated: Date;\r\n name: string;\r\n}\r\n\r\nexport interface CustomerPhoneType {\r\n dealerId: number;\r\n customerPhoneTypeId: number;\r\n name: string;\r\n lastUpdated: Date;\r\n}\r\nexport interface CustomerEmailType {\r\n dealerId: number;\r\n customerEmailTypeId: number;\r\n name: string;\r\n lastUpdated: Date;\r\n}\r\nexport interface GravityPaymentsInvoiceRequest {\r\n query?: \"GetOrders\";\r\n queryBody: QueryBody;\r\n}\r\nexport interface QueryBody {\r\n DealerId: number;\r\n PageNumber?: number;\r\n PageSize?: number;\r\n CustomerId: string;\r\n OrderStatus?: string;\r\n OrderType?: string;\r\n WithDetails?: number;\r\n}\r\nexport type GravityPaymentInvoicesResponse = GravityPaymentInvoicesData[];\r\nexport interface GravityPaymentInvoicesData {\r\n dealerId?: number\r\n orderStatus?: string\r\n orderTypeId?: number\r\n orderStatusId?: number\r\n invoiceId?: number\r\n orderId?: number\r\n invoiceNumber?: number\r\n invoiceDate?: string\r\n customerId?: number\r\n isInternal?: boolean\r\n hasPartsInvoice?: boolean\r\n hasWorkOrder?: boolean\r\n hasSalesDeal?: boolean\r\n hasRental?: boolean\r\n isWarranty?: boolean\r\n isQuote?: boolean\r\n isActive?: boolean\r\n tax?: number\r\n invoiceAmount?: number\r\n customer?: string\r\n dmsOrderStatus?: any\r\n payment?: number\r\n}\r\n\r\nexport interface TextToPayLinkRequest {\r\n dealerId: number;\r\n crmCustomerId: number;\r\n customerName: string;\r\n departmentName: string;\r\n memo: string;\r\n amount: string;\r\n invoiceId: string;\r\n orderId?: number; // Optional property\r\n}\r\n\r\nexport interface TextToPayLinkResponse {\r\n paymentPageId: string;\r\n paymentPageUrl: string;\r\n externalTransId: string;\r\n linkExpiryDate?: Date;\r\n urlShortener: string;\r\n}\r\n\r\nlet token: CancelTokenSource;\r\n\r\nconst getCustomers = async (dealerId: number, page: number, pageSize: number, searchString: string): Promise => {\r\n if (token) {\r\n token.cancel();\r\n }\r\n let searchstr = searchString.replace('&', '%26');\r\n token = axios.CancelToken.source();\r\n const axiosResponse = await get(\r\n `${BASE_URL}/v2/customers?dealerId=${dealerId}&pageNumber=${page}&pageSize=${pageSize}&searchString=${searchstr}`,\r\n { cancelToken: token.token },\r\n );\r\n return axiosResponse?.data;\r\n};\r\n\r\nconst searchCustomersAndContacts = async (dealerId: number, page: number, pageSize: number, searchString: string, crmCustomerId: number): Promise => {\r\n if (token) {\r\n token.cancel();\r\n }\r\n let searchstr = searchString.replace('&', '%26');\r\n token = axios.CancelToken.source();\r\n const cancelTokenOption = crmCustomerId === 0 ? { cancelToken: token.token } : {};\r\n const axiosResponse = await get(\r\n `${BASE_URL}/v2/searchCustomersAndContacts?dealerId=${dealerId}&pageNumber=${page}&pageSize=${pageSize}&crmCustomerId=${crmCustomerId}&searchString=${searchstr}`,\r\n cancelTokenOption\r\n );\r\n return axiosResponse?.data;\r\n};\r\n\r\nconst addCustomer = async (dealerId: number, customer: Customer): Promise => {\r\n customer.dealerId = dealerId;\r\n return await post(`${BASE_URL}/customer/details`, customer, { headers: { Guid: uuidv1() } });\r\n};\r\n\r\nconst getCustomer = async (crmCustomerId: number): Promise => {\r\n const { data } = await get(`${BASE_URL}/customer/detailsv2/${crmCustomerId}`);\r\n return data;\r\n};\r\n\r\nconst getCustomerCrmIdByCustomerId = async (customerId: number,dealerId:number=0): Promise => {\r\n const { data } = await get(`${BASE_URL}/customerCrmIdByCustomerId/${customerId}/${dealerId}`);\r\n return data;\r\n};\r\n\r\nconst editCustomer = async (dealerId: number, customer: Customer): Promise => {\r\n try {\r\n return await put(`${BASE_URL}/customer/detailsv2/${customer.crmCustomerId}`, customer);\r\n } catch (error) {\r\n console.error(error);\r\n return null;\r\n }\r\n};\r\n\r\nconst deleteCustomer = async (dealerId: number, customerId: number): Promise => {\r\n try {\r\n return await destroy(`${BASE_URL}/customers/${customerId}`);\r\n } catch (error) {\r\n return null;\r\n }\r\n};\r\n\r\n// const getPhoneType = (phoneTypeCode: number): string => {\r\n// switch (phoneTypeCode) {\r\n// case 0:\r\n// return 'Land line';\r\n// case 1:\r\n// return 'Cell phone';\r\n// case 2:\r\n// return 'Alternate phone number';\r\n// case 3:\r\n// return 'Fax';\r\n// default:\r\n// return 'UnKnown';\r\n// }\r\n// };\r\n\r\nconst getPhoneTypes = async (dealerId: number): Promise => {\r\n try {\r\n let resp = await get(`${BASE_URL}/customer/details/phone/types/`);\r\n return resp.data;\r\n } catch (err) {\r\n return [];\r\n }\r\n};\r\n\r\nconst getEmailTypes = async (dealerId: number): Promise => {\r\n try {\r\n let resp = await get(`${BASE_URL}/customer/details/email/types/`);\r\n return resp.data;\r\n } catch (err) {\r\n return [];\r\n }\r\n};\r\n\r\nconst getCategories = async (dealerId: number): Promise => {\r\n try {\r\n let resp = await get(`${BASE_URL}/customer/details/categories/`);\r\n return resp.data;\r\n } catch (err) {\r\n return [];\r\n }\r\n};\r\nconst getCustomerPhoneNumberCount = async (crmCustomerIds: number[] | null): Promise => {\r\n try {\r\n return await post(`${BASE_URL}/getCustomerPhoneNumbersCount/`, crmCustomerIds);\r\n } catch (err) {\r\n return null;\r\n }\r\n};\r\n\r\nconst toggleCustomerOptIn = async (crmCustomerId: number, optInStatus: number): Promise => {\r\n try {\r\n return await patch(`${BASE_URL}/customer/details/optin/`, { crmCustomerId, optIn: optInStatus });\r\n } catch (err) {\r\n return null;\r\n }\r\n};\r\nconst getPhoneNumbers = async (crmCustomerId: number): Promise => {\r\n try {\r\n let response = await get(`${BASE_URL}/customer/details/phonenumbers/${crmCustomerId}`);\r\n return response.data;\r\n } catch (err) {\r\n return null;\r\n }\r\n};\r\n\r\nconst updatePhoneNumberToPrimary = async (crmCustomerId: number, phoneNumberId: number): Promise => {\r\n try {\r\n return await patch(`${BASE_URL}/customer/details/phonenumbers/primary/${crmCustomerId}/${phoneNumberId}`, {\r\n phoneNumberId,\r\n });\r\n } catch (err) {\r\n return null;\r\n }\r\n};\r\n\r\nconst GetContacts = async (json: string): Promise => {\r\n try {\r\n let resp = await get(`${BASE_URL}/ExecuteJsonSP/Customers.spGetContacts/${json}`);\r\n return resp.data;\r\n } catch (err) {\r\n return null;\r\n }\r\n};\r\n\r\nconst GetJsonSp = async (sp: string, json: string): Promise => {\r\n try {\r\n let resp = await get(`${BASE_URL}/ExecuteJsonSP/${sp}/${json}`);\r\n return resp.data;\r\n } catch (err) {\r\n return '';\r\n }\r\n};\r\n\r\nconst addCustomerContact = async (dealerId: number, customerContact: CustomerContactNew): Promise => {\r\n return await post(`${BASE_URL}/customer/contact/${dealerId}`, customerContact);\r\n};\r\n\r\nconst checkCustomerNumberExists = async (req: any): Promise => {\r\n try {\r\n let resp = await get(`${BASE_URL}/customer/customerNumberExists/${req.crmCustomerId}/${req.customerNumber}`);\r\n return resp.data;\r\n } catch (err) {\r\n return [];\r\n }\r\n};\r\n\r\n\r\nconst fetchTextToPayLink = async (\r\n request: TextToPayLinkRequest\r\n): Promise> => {\r\n try {\r\n const url = `${BASE_URL}/TextToPayCustomer`;\r\n const resp = await post(url, request);\r\n\r\n if (resp?.data) {\r\n return {\r\n data: resp.data as TextToPayLinkResponse,\r\n isSuccess: true,\r\n message: 'Request successful',\r\n error: ''\r\n };\r\n } else {\r\n return {\r\n data: null as any,\r\n isSuccess: false,\r\n message: 'No data returned',\r\n error: 'No data in the response'\r\n };\r\n }\r\n } catch (error: unknown) {\r\n const errorMessage = error instanceof Error ? error.message : 'Unknown error';\r\n return {\r\n data: null as any,\r\n isSuccess: false,\r\n message: 'Request failed',\r\n error: errorMessage\r\n };\r\n }\r\n};\r\n\r\nconst GetCustomerTags = async (): Promise => {\r\n try {\r\n let url = `${BASE_URL}/customer/tags`;\r\n return await (await post(url)).data;\r\n } catch (err:any) {\r\n return err;\r\n }\r\n}\r\n\r\nconst GetZipcode = async (lat: number, lng: number) => {\r\n try {\r\n const url = `https://maps.googleapis.com/maps/api/geocode/json?latlng=${lat},${lng}&key=${GoogleApiKey}`;\r\n const response = await axios.get(url);\r\n return response.data;\r\n } catch (error) {\r\n console.error('Error:', error);\r\n throw error;\r\n }\r\n};\r\nconst GetCustomerInvoices = async (request: GravityPaymentsInvoiceRequest) : Promise => {\r\n try {\r\n let url = `${BASE_URL}/FetchCustomerInvoices`;\r\n let resp = await post(url, request);\r\n return resp.data;\r\n } catch (err) {\r\n console.error('Error:', err);\r\n throw err;\r\n }\r\n}\r\n\r\n// #region Part Number/Model Number Methods\r\n\r\nlet modelSuggestionToken: CancelTokenSource;\r\n\r\nconst cancelPartNumberToken = ()=>{\r\n if (modelSuggestionToken) {\r\n modelSuggestionToken.cancel();\r\n }\r\n}\r\nconst getModelNumbers = async ( searchKeyword: string,pageNumber: number, pageSize: number):Promise=>\r\n{\r\n cancelPartNumberToken();\r\n\r\n let url = `${RouteConstants.GetCustomerPartAndModelNumber}?`;\r\n if (pageNumber !== undefined) {\r\n url += `pageNumber=${pageNumber}`;\r\n }\r\n if (pageSize !== undefined) {\r\n url += `&pageSize=${pageSize}`;\r\n }\r\n if (searchKeyword !== undefined && searchKeyword!=\"\") {\r\n url += `&searchKeyword=${searchKeyword}`;\r\n }\r\n \r\n modelSuggestionToken = axios.CancelToken.source();\r\n const { data } = await get(url,{ cancelToken: modelSuggestionToken.token });\r\n\r\n return data;\r\n};\r\n\r\n// #endregion Part Number/Model Number\r\n\r\nexport default {\r\n cancelPartNumberToken,\r\n getModelNumbers,\r\n getCustomers,\r\n getCustomer,\r\n searchCustomersAndContacts,\r\n addCustomer,\r\n editCustomer,\r\n deleteCustomer,\r\n toggleCustomerOptIn,\r\n updatePhoneNumberToPrimary,\r\n getCustomerPhoneNumberCount,\r\n getPhoneTypes,\r\n getPhoneNumbers,\r\n getEmailTypes,\r\n getCategories,\r\n GetContacts,\r\n GetJsonSp,\r\n addCustomerContact,\r\n checkCustomerNumberExists,\r\n fetchTextToPayLink,\r\n GetCustomerTags,\r\n getCustomerCrmIdByCustomerId,\r\n GetZipcode,\r\n GetCustomerInvoices\r\n};\r\n","/* eslint-disable no-param-reassign */\r\nimport { createSlice, PayloadAction } from '@reduxjs/toolkit';\r\n\r\nimport Customer, { CustomerDto, CustomerEmail } from 'common/models/customer';\r\nimport { AppThunk } from 'app';\r\nimport { showSnackbar } from 'components/root-snackbar';\r\n\r\nimport CustomerAPI from '../../api/CustomerAPI';\r\nimport { setSelectedCustomer } from 'components/lead/components/task-board/taskboardSlice';\r\n\r\nexport type CustomerDialogType =\r\n | undefined\r\n | 'NEW'\r\n | 'SHOW'\r\n | 'EDIT'\r\n | 'DELETE'\r\n | 'INVOICE'\r\n | 'SHOW_PHONE_NUMBERS'\r\n | 'VALIDATE_ALL'\r\n | 'VALIDATE_EMAIL'\r\n | 'VALIDATE_PHONE';\r\n\r\nexport interface CustomersState {\r\n customers: CustomerDto[];\r\n currentPage: number;\r\n pageSize: number;\r\n searchString: string;\r\n totalCustomers: number;\r\n loading: boolean;\r\n editCustomerLoading : boolean;\r\n error: string | null;\r\n selectedCustomers: CustomerDto[];\r\n AllCustomersSelected: boolean;\r\n dialogType: CustomerDialogType;\r\n selectedCustomer: Customer | undefined;\r\n drawerType: string | null;\r\n drawerProps: any | {};\r\n addCustomerLoading: boolean;\r\n addCustomerError: string | null;\r\n createdCustomer: Customer | undefined;\r\n updatedCustomerName: string | null;\r\n customerDetaillsUpdated: boolean | null\t;\r\n}\r\nconst initialState: CustomersState = {\r\n customers: [],\r\n currentPage: 0,\r\n pageSize: 15,\r\n totalCustomers: 0,\r\n searchString: '',\r\n loading: false,\r\n error: null,\r\n editCustomerLoading : false,\r\n selectedCustomers: [],\r\n AllCustomersSelected: false,\r\n dialogType: undefined,\r\n selectedCustomer: undefined,\r\n drawerType: null,\r\n drawerProps: {},\r\n addCustomerLoading: false,\r\n addCustomerError: null,\r\n createdCustomer: undefined,\r\n updatedCustomerName: null,\r\n customerDetaillsUpdated: null,\r\n};\r\n\r\nconst customerSlice = createSlice({\r\n name: 'customer',\r\n initialState,\r\n reducers: {\r\n getCustomersStart(state): void {\r\n state.loading = true;\r\n state.error = null;\r\n },\r\n getCustomersSuccess(\r\n state,\r\n action: PayloadAction<{\r\n customers: CustomerDto[];\r\n pageSize: number;\r\n currentPage: number;\r\n totalCustomers: number;\r\n }>,\r\n ): void {\r\n const { customers, pageSize, totalCustomers, currentPage } = action.payload;\r\n state.customers = customers;\r\n state.currentPage = currentPage;\r\n state.pageSize = pageSize;\r\n state.totalCustomers = totalCustomers;\r\n state.loading = false;\r\n state.error = null;\r\n },\r\n getCustomersFailure(state, action: PayloadAction): void {\r\n state.loading = false;\r\n state.error = action.payload;\r\n },\r\n toggleCustomerStart(state, action: PayloadAction): void {\r\n state.loading = false;\r\n let indexOfCustomer = 0;\r\n const c: CustomerDto = state.customers.filter((x: CustomerDto, index: number): any | undefined => {\r\n if (x.id === action.payload.id) {\r\n indexOfCustomer = index;\r\n return x;\r\n }\r\n return undefined;\r\n })[0];\r\n\r\n if (c.optIn === 1) c.optIn = 0;\r\n else c.optIn = 1;\r\n\r\n state.customers[indexOfCustomer] = c;\r\n },\r\n UpdateSelectedCustomer(state, action: PayloadAction): void {\r\n state.selectedCustomer = action.payload;\r\n },\r\n UpdateDialogType(state, action: PayloadAction): void {\r\n state.dialogType = action.payload;\r\n },\r\n SetSelectedCustomers(state, action: PayloadAction): void {\r\n if (state.customers && state.customers.length > 0) {\r\n state.selectedCustomer = undefined;\r\n }\r\n\r\n if (action.payload.length === 0) {\r\n state.selectedCustomers = action.payload;\r\n } else if (action.payload.length > 1) {\r\n state.selectedCustomers = action.payload;\r\n } else {\r\n const customer = action.payload[0];\r\n const selected = state.selectedCustomers;\r\n const selectedIndex = selected.map((c) => c.id).indexOf(customer.id);\r\n let newSelected: CustomerDto[] = [];\r\n\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(selected, customer);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(selected.slice(1));\r\n } else if (selectedIndex === selected.length - 1) {\r\n newSelected = newSelected.concat(selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(selected.slice(0, selectedIndex), selected.slice(selectedIndex + 1));\r\n }\r\n\r\n state.selectedCustomers = newSelected;\r\n }\r\n },\r\n setEditCustomerLoading(state, action : PayloadAction): void{\r\n state.editCustomerLoading = action.payload;\r\n },\r\n SetAllSelectedCustomers(state, action: PayloadAction): void {\r\n state.AllCustomersSelected = action.payload;\r\n },\r\n showCustomerDrawer(state, action: PayloadAction<{ drawerType: string; drawerProps: any }>): void {\r\n state.drawerType = action.payload.drawerType;\r\n state.drawerProps = action.payload.drawerProps;\r\n },\r\n hideCustomerDrawer(state): void {\r\n state.drawerProps = {};\r\n state.drawerType = null;\r\n },\r\n saveCustomerStart(state): void {\r\n state.addCustomerLoading = true;\r\n state.addCustomerError = null;\r\n },\r\n saveCustomerSuccess(state): void {\r\n state.addCustomerLoading = false;\r\n state.addCustomerError = null;\r\n },\r\n saveCustomerFailure(state, action: PayloadAction): void {\r\n state.addCustomerLoading = false;\r\n state.addCustomerError = action.payload;\r\n },\r\n setCreatedCustomer(state, action: PayloadAction): void {\r\n state.createdCustomer = action.payload;\r\n },\r\n updateCustomerSearchString(state, action: PayloadAction): void {\r\n state.currentPage = 0;\r\n state.searchString = action.payload;\r\n },\r\n setUpdatedCustomerName(state, action: PayloadAction): void {\r\n state.updatedCustomerName = action.payload;\r\n },\r\n setCustomerDetaillsUpdated(state, action: PayloadAction): void {\r\n state.customerDetaillsUpdated = action.payload;\r\n },\r\n addEmailRow(state, action: PayloadAction): void {\r\n let em: CustomerEmail = {\r\n address: '',\r\n customerId: state.selectedCustomer !== undefined ? state.selectedCustomer.crmCustomerId : 0,\r\n dealerId: 0,\r\n contactId: -1,\r\n emailType: 0,\r\n lastUpdated: '',\r\n isPrimary: false,\r\n isDefault: false,\r\n };\r\n if (state.selectedCustomer && state.selectedCustomer.customerEmails == null) {\r\n state.selectedCustomer.customerEmails = [];\r\n }\r\n state.selectedCustomer?.customerEmails.push(em);\r\n },\r\n updateEmailRow(state, action: PayloadAction<{ index: number; email: string }>): void {\r\n if (state.selectedCustomer && state.selectedCustomer.customerEmails) {\r\n state.selectedCustomer.customerEmails[action.payload.index].address = action.payload.email;\r\n }\r\n },\r\n removeEmailRow(state, action: PayloadAction): void {\r\n if (state.selectedCustomer && state.selectedCustomer.customerEmails) {\r\n state.selectedCustomer.customerEmails.splice(action.payload, 1);\r\n }\r\n },\r\n },\r\n});\r\n\r\nexport const {\r\n getCustomersStart,\r\n getCustomersSuccess,\r\n getCustomersFailure,\r\n UpdateSelectedCustomer,\r\n UpdateDialogType,\r\n SetSelectedCustomers,\r\n SetAllSelectedCustomers,\r\n showCustomerDrawer,\r\n hideCustomerDrawer,\r\n saveCustomerStart,\r\n saveCustomerSuccess,\r\n saveCustomerFailure,\r\n setCreatedCustomer,\r\n setEditCustomerLoading,\r\n toggleCustomerStart,\r\n updateCustomerSearchString,\r\n setUpdatedCustomerName,\r\n setCustomerDetaillsUpdated,\r\n addEmailRow,\r\n updateEmailRow,\r\n removeEmailRow,\r\n} = customerSlice.actions;\r\n\r\nexport default customerSlice.reducer;\r\n\r\n\r\n\r\n\r\n\r\nexport const fetchSelectedCustomer = (crmCustomerId: number): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n let saveCustomer;\r\n let message;\r\n let errorMessage;\r\n\r\n try {\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n dispatch(setEditCustomerLoading(true));\r\n let customer = await CustomerAPI.getCustomer( crmCustomerId);\r\n dispatch(UpdateSelectedCustomer(customer));\r\n dispatch(setEditCustomerLoading(false));\r\n } catch (error : any) {\r\n dispatch(saveCustomerFailure(error.message));\r\n dispatch(showSnackbar({ type: 'error', message: errorMessage }));\r\n dispatch(setEditCustomerLoading(true));\r\n }\r\n };\r\n\r\n\r\n\r\nexport const saveCustomerToggle = (customer: CustomerDto): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n let saveCustomer;\r\n let message;\r\n let errorMessage;\r\n\r\n try {\r\n const { dealerId } = getState().user;\r\n dispatch(toggleCustomerStart(customer));\r\n const newCustomerObject = { ...customer };\r\n if (newCustomerObject.optIn === 1) newCustomerObject.optIn = 0;\r\n else newCustomerObject.optIn = 1;\r\n\r\n saveCustomer = CustomerAPI.toggleCustomerOptIn;\r\n message = 'Customer is being updated';\r\n dispatch(showSnackbar({ type: 'info', message }));\r\n\r\n await saveCustomer(customer.id, newCustomerObject.optIn);\r\n\r\n dispatch(saveCustomerSuccess());\r\n } catch (error : any) {\r\n dispatch(saveCustomerFailure(error.message));\r\n dispatch(showSnackbar({ type: 'error', message: errorMessage }));\r\n }\r\n };\r\n\r\n\r\n \r\n// export const saveCustomerToggle = (customer: CustomerDto): AppThunk =>\r\n// async (dispatch, getState): Promise => {\r\n// let errorMessage;\r\n\r\n// try {\r\n// const { dealerId } = getState().user;\r\n// dispatch(toggleCustomerOptIn(customer));\r\n// const saveCustomer = CustomerAPI.editCustomer;\r\n// let c = { ...customer };\r\n// if (c.optIn === 0) {\r\n// c.optIn = 1;\r\n// } else {\r\n// c.optIn = 0;\r\n// }\r\n// await saveCustomer(dealerId, c);\r\n// // dispatch(saveCustomerSuccess());\r\n// dispatch(UpdateSelectedCustomer(undefined));\r\n// } catch (error) {\r\n// console.error(error);\r\n// // dispatch(saveCustomerFailure(error.message));\r\n// dispatch(UpdateSelectedCustomer(undefined));\r\n// // dispatch(hideCustomerDrawer());\r\n// dispatch(showSnackbar({ type: 'error', message: errorMessage }));\r\n// }\r\n// };\r\n\r\nexport const fetchCustomers =\r\n (): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n const state = getState();\r\n\r\n dispatch(getCustomersStart());\r\n const { currentPage, pageSize, searchString } = state.customers;\r\n const { dealerId } = state.user;\r\n const customersResponse = await CustomerAPI.getCustomers(dealerId, currentPage, pageSize, searchString);\r\n if (customersResponse) {\r\n dispatch(\r\n getCustomersSuccess({\r\n \r\n customers: customersResponse.customers,\r\n pageSize: customersResponse.pageSize,\r\n totalCustomers: customersResponse.count,\r\n currentPage: customersResponse.pageNumber,\r\n }),\r\n );\r\n }\r\n } catch (error : any) {\r\n dispatch(getCustomersFailure(error.message));\r\n }\r\n };\r\n\r\nexport const fetchCustomersPage =\r\n (newPage: number): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n dispatch(getCustomersStart());\r\n const state = getState();\r\n const { pageSize, searchString } = state.customers;\r\n const { dealerId } = state.user;\r\n\r\n const customersResponse = await CustomerAPI.getCustomers(dealerId, newPage, pageSize, searchString);\r\n dispatch(\r\n getCustomersSuccess({\r\n customers: customersResponse.customers,\r\n pageSize: customersResponse.pageSize,\r\n totalCustomers: customersResponse.count,\r\n currentPage: customersResponse.pageNumber,\r\n }),\r\n );\r\n } catch (error : any) {\r\n dispatch(getCustomersFailure(error.message));\r\n }\r\n };\r\n\r\nexport const saveCustomer =\r\n (customer: Customer): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n let saveCustomer;\r\n let message;\r\n let errorMessage;\r\n\r\n try {\r\n const { isUserAdmin, dealerId } = getState().user;\r\n dispatch(hideCustomerDrawer());\r\n dispatch(saveCustomerStart());\r\n\r\n if (customer.crmCustomerId) {\r\n saveCustomer = CustomerAPI.editCustomer;\r\n message = 'Customer is being updated';\r\n dispatch(setCustomerDetaillsUpdated(true));\r\n } else {\r\n if (!isUserAdmin) customer.reviewFlag = true;\r\n\r\n saveCustomer = CustomerAPI.addCustomer;\r\n message = 'Customer is being created.';\r\n }\r\n dispatch(showSnackbar({ type: 'info', message }));\r\n\r\n const createdCustomer = (await saveCustomer(dealerId, customer)).data;\r\n\r\n if (!customer.crmCustomerId) {\r\n dispatch(setCreatedCustomer(createdCustomer));\r\n } else {\r\n let customerName = '';\r\n if (createdCustomer.isOrganization) {\r\n customerName = createdCustomer.organizationName;\r\n } else {\r\n customerName =\r\n createdCustomer?.firstName && createdCustomer?.firstName != ''\r\n ? createdCustomer?.lastName + ', ' + createdCustomer?.firstName\r\n : createdCustomer?.name;\r\n }\r\n dispatch(setUpdatedCustomerName(customerName));\r\n }\r\n dispatch(saveCustomerSuccess());\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n dispatch(hideCustomerDrawer());\r\n dispatch(fetchCustomers());\r\n if (createdCustomer.reviewFlag) {\r\n dispatch(showSnackbar({ type: 'success', message: 'Customer moved to the Review Hub successfully' }));\r\n }\r\n dispatch(setCustomerDetaillsUpdated(false));\r\n } catch (error : any) {\r\n dispatch(saveCustomerFailure(error.message));\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n dispatch(hideCustomerDrawer());\r\n dispatch(showSnackbar({ type: 'error', message: errorMessage }));\r\n }\r\n };\r\n\r\n\r\nexport const deleteSelectedCustomer =\r\n (): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n const state = getState();\r\n const { selectedCustomer } = state.customers;\r\n const { dealerId } = state.user;\r\n if (selectedCustomer === undefined) return;\r\n await CustomerAPI.deleteCustomer(dealerId, selectedCustomer.crmCustomerId);\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n dispatch(fetchCustomers());\r\n } catch (error) {\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n }\r\n };\r\n\r\nexport const searchCustomer =\r\n (value: string): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n dispatch(updateCustomerSearchString(value));\r\n dispatch(fetchCustomers());\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n };\r\n","import { get, post } from 'api';\r\nimport { CustomerContactPhoneNumberResponse } from 'components/messaging/models/conversation';\r\nimport config from 'config';\r\n\r\nconst messagingUrl = config.get('api.messaging');\r\nconst customerUrl = config.get('api.customer');\r\n\r\nconst validateAllPhoneNumbers = async (validatePhoneType: any) => {\r\n try {\r\n return await post(`${messagingUrl}/ValidatePhoneNumberByDealer`, validatePhoneType).then(\r\n (response) => response.data,\r\n );\r\n } catch (error) {\r\n return null;\r\n }\r\n};\r\n\r\nconst getCustomerPhoneSummary = async (dealerId: number) => {\r\n try {\r\n return await get(`${messagingUrl}/customerPhoneSummary/${dealerId}`).then((response) => response.data);\r\n } catch (error) {\r\n return null;\r\n }\r\n};\r\n\r\nconst getPhoneValidationCost = async (phoneCount: number) => {\r\n try {\r\n return await get(`${messagingUrl}/phoneValidationCost/${phoneCount}`).then((resp) => resp.data);\r\n } catch (ex) {\r\n return null;\r\n }\r\n};\r\n\r\nconst getAccountBalance = async () => {\r\n const { data } = await get(`${messagingUrl}/GetAccountBalance/`);\r\n return data;\r\n};\r\n\r\nconst valdiatePhoneNumberByCustomer = async (customerIds: number[], validatePhoneTypes: any) => {\r\n let phoneUrl = `${customerUrl}/customers/GetCustomerPhones`.replace(\"v2\", \"\");\r\n const { data } = await post(`${messagingUrl}/ValidatePhoneNumberByCustomer/`, {\r\n Url: phoneUrl,\r\n SelectedCustomers: customerIds,\r\n ValidatePhoneType: validatePhoneTypes,\r\n });\r\n return data;\r\n};\r\n\r\nconst getCustomerContactPhoneNumbers = async (crmCustomerId: number): Promise => {\r\n const { data } = await get(`${customerUrl}/customerPhone/customerAndContactPhoneNumbers/${crmCustomerId}`);\r\n return data;\r\n};\r\n\r\nexport default {\r\n validateAllPhoneNumbers,\r\n getCustomerPhoneSummary,\r\n getPhoneValidationCost,\r\n getAccountBalance,\r\n valdiatePhoneNumberByCustomer,\r\n getCustomerContactPhoneNumbers,\r\n};\r\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\r\n\r\nimport CustomerAPI from 'components/customer/api/CustomerAPI';\r\nimport { AppThunk } from 'app';\r\n\r\nimport CustomerPhoneAPI from '../../api/CustomerPhoneAPI';\r\n\r\nexport interface CustomerPhoneNumbers {\r\n cellPhone: number;\r\n landLine: number;\r\n alternatePhone: number;\r\n fax: number;\r\n}\r\n\r\nexport interface CustomerPhoneValidationRequest {\r\n PhoneType: CustomerPhoneTypeRequest;\r\n Count: number;\r\n}\r\n\r\nexport interface CustomerPhoneTypeRequest {\r\n Name: string;\r\n Id: number;\r\n}\r\n\r\nexport interface CustomerValidationState {\r\n loadingValidationCost: boolean;\r\n validationCost: number | null;\r\n customerPhoneNumbers: CustomerPhoneValidationRequest[];\r\n errorLoadingValidationCost: string | null;\r\n loadingCustomerPhoneCount: boolean;\r\n errorCustomerPhoneCount: string | null;\r\n}\r\n\r\nconst initialState: CustomerValidationState = {\r\n loadingValidationCost: false,\r\n validationCost: null,\r\n errorLoadingValidationCost: null,\r\n loadingCustomerPhoneCount: false,\r\n errorCustomerPhoneCount: null,\r\n customerPhoneNumbers : [],\r\n};\r\n\r\nconst customerValidation = createSlice({\r\n name: 'customerValidation',\r\n initialState,\r\n reducers: {\r\n getValidationCostStart(state) {\r\n state.loadingValidationCost = true;\r\n state.errorLoadingValidationCost = null;\r\n },\r\n getValidationCostSuccess(state, action: PayloadAction) {\r\n state.loadingValidationCost = false;\r\n state.validationCost = action.payload;\r\n state.errorLoadingValidationCost = null;\r\n },\r\n getValidationCostFailure(state, action: PayloadAction) {\r\n state.loadingValidationCost = false;\r\n state.errorLoadingValidationCost = action.payload;\r\n },\r\n getCustomerPhoneNumberCountStart(state) {\r\n state.loadingCustomerPhoneCount = true;\r\n state.errorCustomerPhoneCount = null;\r\n },\r\n getCustomerPhoneNumberCountSuccess(state, action: PayloadAction) {\r\n state.loadingCustomerPhoneCount = false;\r\n state.customerPhoneNumbers = action.payload;\r\n state.errorCustomerPhoneCount = null;\r\n },\r\n getCustomerPhoneNumberCountFailure(state) {\r\n state.loadingCustomerPhoneCount = false;\r\n state.errorCustomerPhoneCount = null;\r\n },\r\n },\r\n});\r\n\r\nexport const {\r\n getValidationCostStart,\r\n getValidationCostSuccess,\r\n getValidationCostFailure,\r\n getCustomerPhoneNumberCountStart,\r\n getCustomerPhoneNumberCountSuccess,\r\n getCustomerPhoneNumberCountFailure,\r\n} = customerValidation.actions;\r\n\r\nexport default customerValidation.reducer;\r\n\r\nexport const getCustomerPhoneValidationCost =\r\n (phoneNumberCount: number): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n dispatch(getValidationCostStart());\r\n const response = await CustomerPhoneAPI.getPhoneValidationCost(phoneNumberCount);\r\n dispatch(getValidationCostSuccess(response.validationCost));\r\n } catch (error) {\r\n dispatch(getValidationCostFailure(error));\r\n }\r\n };\r\n\r\nexport const getCustomerPhoneNumberCount = (crmCustomerIds: number[] | null): AppThunk => async (dispatch) => {\r\n try {\r\n dispatch(getCustomerPhoneNumberCountStart());\r\n const response = await CustomerAPI.getCustomerPhoneNumberCount(crmCustomerIds);\r\n if (response !== null && response.data !== null)\r\n dispatch(getCustomerPhoneNumberCountSuccess(response.data as CustomerPhoneValidationRequest[]));\r\n else {\r\n }\r\n } catch (ex) {\r\n dispatch(getCustomerPhoneNumberCountFailure());\r\n }\r\n};\r\n","/* eslint-disable no-param-reassign */\r\nimport { createSlice, PayloadAction } from '@reduxjs/toolkit';\r\nimport { AppThunk } from 'app';\r\nimport DealerAPI from 'components/authentication/api/dealer-api';\r\n\r\ninterface DealerPhoneState {\r\n dealerId: number;\r\n autoRecharge: boolean;\r\n rechargeBalanceTo: number;\r\n messageCount: number;\r\n rechargeWhenBalanceLessThan: number;\r\n loading: boolean;\r\n}\r\n\r\nconst initialState: DealerPhoneState = {\r\n dealerId: 0,\r\n messageCount: 0,\r\n autoRecharge: false,\r\n rechargeBalanceTo: 250,\r\n rechargeWhenBalanceLessThan: 250,\r\n loading: false,\r\n};\r\n\r\nconst dealerPhone = createSlice({\r\n name: 'dealerPhone',\r\n initialState,\r\n reducers: {\r\n getDealerPhone(state, action: PayloadAction): void {\r\n if (action.payload) {\r\n state.autoRecharge = action.payload.autoRecharge;\r\n state.messageCount = action.payload.messageCount;\r\n state.dealerId = action.payload.dealerId;\r\n state.rechargeBalanceTo = action.payload.rechargeBalanceTo;\r\n state.rechargeWhenBalanceLessThan = action.payload.rechargeWhenBalanceLessThan;\r\n }\r\n },\r\n setDealerPhoneLoading(state, action: PayloadAction): void {\r\n state.loading = action.payload;\r\n },\r\n setDealerCredits(state, action: PayloadAction): void {\r\n state.messageCount = action.payload;\r\n },\r\n },\r\n});\r\n\r\nexport const { getDealerPhone, setDealerCredits, setDealerPhoneLoading } = dealerPhone.actions;\r\nexport default dealerPhone.reducer;\r\n\r\nexport const fetchDealerPhone =\r\n (): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n const { dmsDealerId } = getState().user;\r\n const dealerPhone = await DealerAPI.getDealerPhoneSetting(dmsDealerId);\r\n dispatch(getDealerPhone({ ...dealerPhone, loading: false }));\r\n } catch (error) {}\r\n };\r\n","import { Box, Button, Grid, Typography } from '@material-ui/core';\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\r\nimport { useSnackbar } from 'notistack';\r\nimport React, { useEffect, useState, ReactElement } from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\n\r\nimport { Alert } from '@material-ui/lab';\r\nimport CustomerPhoneAPI from '../../api/CustomerPhoneAPI';\r\nimport { getCustomerPhoneNumberCount, getCustomerPhoneValidationCost } from './customerValidationSlice';\r\nimport { fetchDealerPhone } from 'store/dealerPhoneSlice';\r\n\r\ninterface ValidateType {\r\n CellPhone: boolean;\r\n AlternatePhone: boolean;\r\n Fax: boolean;\r\n LandLine: boolean;\r\n}\r\n\r\nfunction CustomerValidatePhone({ onClose }: { onClose(): void }): ReactElement {\r\n const { enqueueSnackbar } = useSnackbar();\r\n const dispatch = useAppDispatch();\r\n const [validatePhoneType, setValidatePhoneType] = useState({ CellPhone: true, AlternatePhone: true, Fax: true, LandLine: true });\r\n const selectedCustomers = useAppSelector((state) => state.customers.selectedCustomers);\r\n\r\n const { error, customerPhoneNumbers } = useAppSelector((state) => ({\r\n loading: state.customerValidation.loadingValidationCost,\r\n error: state.customerValidation.errorLoadingValidationCost,\r\n perPhonePrice: state.customerValidation.validationCost ? state.customerValidation.validationCost : 0,\r\n customerPhoneNumbers: state.customerValidation.customerPhoneNumbers,\r\n }));\r\n\r\n const arr: any = [];\r\n let result = selectedCustomers.map(\r\n ({\r\n cellPhone,\r\n alternatePhone,\r\n fax,\r\n landline,\r\n cellPhoneVerificationStatus,\r\n alternatePhoneVerificationStatus,\r\n faxVerificationStatus,\r\n landLineVerificationStatus,\r\n }: any) => {\r\n if (cellPhone !== '' && cellPhone !== undefined && cellPhone !== null && !cellPhoneVerificationStatus) {\r\n arr.push({ phoneType: 'cellPhone', address: cellPhone, checked: true });\r\n }\r\n if (\r\n alternatePhone !== '' &&\r\n alternatePhone !== undefined &&\r\n alternatePhone !== null &&\r\n !alternatePhoneVerificationStatus\r\n ) {\r\n arr.push({ phoneType: 'alternatePhone', address: alternatePhone, checked: true });\r\n }\r\n if (fax !== '' && fax !== undefined && fax !== null && !faxVerificationStatus) {\r\n arr.push({ phoneType: 'fax', address: fax, checked: true });\r\n }\r\n if (landline !== '' && landline !== 'undefined' && landline !== null && !landLineVerificationStatus) {\r\n arr.push({ phoneType: 'landline', address: landline, checked: true });\r\n }\r\n return arr;\r\n },\r\n );\r\n result = arr;\r\n\r\n const allCustomers = useAppSelector((state) => state.customers.AllCustomersSelected);\r\n\r\n useEffect(() => {\r\n dispatch(fetchDealerPhone());\r\n if(allCustomers){\r\n dispatch(getCustomerPhoneNumberCount(null));\r\n }else{\r\n dispatch(getCustomerPhoneNumberCount(selectedCustomers.map(x=>x.id)));\r\n }\r\n \r\n // dispatch(getCustomerPhoneValidationCost(1));\r\n }, [dispatch, allCustomers]);\r\n\r\n const ValidateSelectedPhones = () => {\r\n const customerIds = selectedCustomers.map((x: any) => x.id);\r\n if (allCustomers) {\r\n CustomerPhoneAPI.validateAllPhoneNumbers(validatePhoneType)\r\n .then((resp) => {})\r\n .catch((error) => {});\r\n } else {\r\n CustomerPhoneAPI.valdiatePhoneNumberByCustomer(customerIds, validatePhoneType)\r\n .then((resp) => {})\r\n .catch((error) => {});\r\n }\r\n onClose();\r\n };\r\n\r\n let length = 0;\r\n if (allCustomers) {\r\n // if (validatePhoneType.LandLine) {\r\n // length += customerPhoneNumbers.landLine;\r\n // }\r\n\r\n // if (validatePhoneType.CellPhone) {\r\n // length += customerPhoneNumbers.cellPhone;\r\n // }\r\n\r\n // if (validatePhoneType.Fax) {\r\n // length += customerPhoneNumbers.fax;\r\n // }\r\n\r\n // if (validatePhoneType.AlternatePhone) {\r\n // length += customerPhoneNumbers.alternatePhone;\r\n // }\r\n } else {\r\n if (!validatePhoneType.LandLine) {\r\n result = result.filter((x: any) => x.phoneType !== 'landline');\r\n }\r\n\r\n if (!validatePhoneType.CellPhone) {\r\n result = result.filter((x: any) => x.phoneType !== 'cellPhone');\r\n }\r\n\r\n if (!validatePhoneType.Fax) {\r\n result = result.filter((x: any) => x.phoneType !== 'fax');\r\n }\r\n\r\n if (!validatePhoneType.AlternatePhone) {\r\n result = result.filter((x: any) => x.phoneType !== 'alternatePhone');\r\n }\r\n length = result.length;\r\n }\r\n\r\n if (error) {\r\n enqueueSnackbar('Unable to get validation cost', { variant: 'error' });\r\n }\r\n\r\n const dealerPhone = useAppSelector((state) => state.dealerPhone);\r\n let subTitle = '';\r\n if (length === 0) {\r\n subTitle = 'Please select the phone numbers that are not validated.';\r\n } else {\r\n subTitle = `You are about to validate ${length} phone numbers. Per number validation cost is 2 Credits. Your cost for all the selected phone numbers is ${\r\n length * 2\r\n } credits.`;\r\n }\r\n const message = `${dealerPhone.messageCount} Credits Left.`;\r\n const disableValidate = dealerPhone.messageCount / 2 < length;\r\n\r\n return (\r\n <>\r\n \r\n {message}\r\n {subTitle}\r\n \r\n \r\n \r\n Phone Numbers :\r\n \r\n \r\n {length === 1 && (\r\n \r\n \r\n \r\n \r\n {result.map((item: any, key: any) => {\r\n if (item.address === '' || item.address === 'undefined' || item.address === null) {\r\n return null;\r\n }\r\n return (\r\n \r\n }\r\n label={`${item.address} (${item.phoneType})`}\r\n />\r\n );\r\n })}\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n {allCustomers && (\r\n \r\n \r\n \r\n \r\n \r\n setValidatePhoneType({\r\n ...validatePhoneType,\r\n LandLine: !validatePhoneType.LandLine,\r\n })\r\n }\r\n checked={validatePhoneType.LandLine}\r\n value=\"secondary\"\r\n color=\"primary\"\r\n inputProps={{ 'aria-label': 'secondary checkbox' }}\r\n />\r\n }\r\n label={'LandLine (' + customerPhoneNumbers[0] + ')'}\r\n />\r\n \r\n \r\n \r\n setValidatePhoneType({\r\n ...validatePhoneType,\r\n CellPhone: !validatePhoneType.CellPhone,\r\n })\r\n }\r\n checked={validatePhoneType.CellPhone}\r\n value=\"secondary\"\r\n color=\"primary\"\r\n inputProps={{ 'aria-label': 'secondary checkbox' }}\r\n />\r\n }\r\n label={'CellPhone (' + customerPhoneNumbers[0] + ')'}\r\n />\r\n \r\n \r\n \r\n setValidatePhoneType({\r\n ...validatePhoneType,\r\n Fax: !validatePhoneType.Fax,\r\n })\r\n }\r\n checked={validatePhoneType.Fax}\r\n value=\"secondary\"\r\n color=\"primary\"\r\n inputProps={{ 'aria-label': 'secondary checkbox' }}\r\n />\r\n }\r\n label={'Fax (' + customerPhoneNumbers[0] + ')'}\r\n />\r\n \r\n \r\n \r\n setValidatePhoneType({\r\n ...validatePhoneType,\r\n AlternatePhone: !validatePhoneType.AlternatePhone,\r\n })\r\n }\r\n checked={validatePhoneType.AlternatePhone}\r\n value=\"secondary\"\r\n color=\"primary\"\r\n inputProps={{ 'aria-label': 'secondary checkbox' }}\r\n />\r\n }\r\n label={'Alternate Phone (' + customerPhoneNumbers[0] + ')'}\r\n />\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {length > 0 && (\r\n \r\n \r\n Proceed\r\n \r\n \r\n )}\r\n \r\n {disableValidate && dealerPhone.dealerId !== 0 && (\r\n \r\n \r\n \r\n {dealerPhone.messageCount === 0\r\n ? \"You don't have enough credits.\"\r\n : `you cannot validate more then ${dealerPhone.messageCount} Numbers`}\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default CustomerValidatePhone;\r\n","import { Container } from '@material-ui/core';\r\nimport React from 'react';\r\nimport { useAppDispatch } from 'app';\r\n\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\n\r\nimport { hideCustomerDrawer } from '../Customers/customersSlice';\r\nimport CustomerValidatePhone from './CustomerValidatePhone';\r\n\r\nfunction CustomerValidatePhoneDrawer(): React.ReactElement {\r\n const dispatch = useAppDispatch();\r\n\r\n const handleOnClose = (): void => {\r\n dispatch(hideCustomerDrawer());\r\n };\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default CustomerValidatePhoneDrawer;\r\n","import { store } from 'app';\r\nimport Dialog from '@mui/material/Dialog';\r\nimport DialogActions from '@mui/material/DialogActions';\r\nimport DialogContent from '@mui/material/DialogContent';\r\nimport DialogContentText from '@mui/material/DialogContentText';\r\nimport DialogTitle from '@mui/material/DialogTitle';\r\nimport Slide from '@mui/material/Slide';\r\nimport IconSearchRounded from '@material-ui/icons/SearchRounded';\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\nimport axios from 'axios';\r\nimport React from 'react';\r\nimport { Box, Button, Container, Drawer, Grid, MenuItem, TextField, Paper, Typography } from '@material-ui/core';\r\nimport Table from '@material-ui/core/Table';\r\nimport TableBody from '@material-ui/core/TableBody';\r\nimport TableCell from '@material-ui/core/TableCell';\r\nimport TableContainer from '@material-ui/core/TableContainer';\r\nimport TableHead from '@material-ui/core/TableHead';\r\nimport TablePagination from '@material-ui/core/TablePagination';\r\nimport TableRow from '@material-ui/core/TableRow';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport { size } from 'lodash';\r\nimport CustomerGroupAPI from 'components/customer-groups/api/customer-group-api';\r\nimport ConversationListPanel from 'components/messaging/components/conversation-list-panel';\r\nimport EmailLink from 'common/components/buttons/email-link';\r\n\r\n\r\ninterface Props {\r\n children: never[];\r\n}\r\n\r\n// const Transition = React.forwardRef(function Transition(props, ref) {\r\n// return ;\r\n// });\r\n\r\nconst useStyles = makeStyles({\r\n root: {\r\n width: '100%',\r\n martin: '20px',\r\n backgroundColor: 'red',\r\n\r\n },\r\n defaultFont: {\r\n fontFamily: \"Quicksand, sans-serif\",\r\n fontSize: \"small\"\r\n },\r\n tableType: {\r\n color: 'black',\r\n backgroundColor: '#EAEDED',\r\n padding: \"4px 10px\",\r\n fontFamily: \"Quicksand, sans-serif\",\r\n\r\n // fontWeight: 'bold',\r\n },\r\n table01: {\r\n border: \"1px solid silver\",\r\n // marginBottom: \"10px\",\r\n borderCollapse: \"collapse\",\r\n margin: \"10px\",\r\n marginLeft: \"0px\",\r\n fontSize: \"0.9em\",\r\n fontFamily: \"sans-serif\",\r\n boxShadow: \"0 0 20px rgba(0, 0, 0, 0.15)\",\r\n\r\n // border-collapse: collapse;\r\n // margin: 25px 0;\r\n // font-size: 0.9em;\r\n // font-family: sans-serif;\r\n // min-width: 400px;\r\n // box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);\r\n },\r\n table02: {\r\n // cursor: \"url(hand.cur), pointer\"\r\n },\r\n\r\n buttonValidatePhone: {\r\n margin: \"2px\",\r\n padding: \"2px 5px\",\r\n fontSize: '8px',\r\n backgroundColor: '#EAFAF1',\r\n color: 'gray',\r\n border: '1px solid silver',\r\n\r\n },\r\n selectedRow: {\r\n backgroundColor: '#F9EBEA',\r\n },\r\n myTable: {\r\n backgroundColor: '#F7FAF8',\r\n border: \"0px solid red\",\r\n '& thead tr th': {\r\n // backgroundColor: 'green',\r\n\r\n // fontWeight: \"bold\",\r\n // fontSize: \"15px\",\r\n padding: \"2px 5px\",\r\n // background:'linear-gradient(rgba(250,0,0,0.5),transparent)'\r\n },\r\n '& tbody tr:hover': {\r\n backgroundColor: '#DDEEF8',\r\n },\r\n\r\n '& tbody tr td': {\r\n // backgroundColor: 'green',\r\n padding: \"3px 6px\",\r\n borderBottom: \"1px solid #DDE2DF\",\r\n cursor: \"url(hand.cur), pointer\",\r\n },\r\n\r\n },\r\n\r\n\r\n\r\n});\r\n\r\nexport default function CustomerInvoiceDrawer(\r\n { children, open, onClose, invoiceId, dealerId = 0, invoiceRow, crmCustomerId = 0, }:\r\n { children: never[]; open: boolean; onClose(): void; invoiceId: number; dealerId?: number; invoiceRow: any; crmCustomerId?: number }): React.ReactElement {\r\n const [invoiceData, SetInvoiceData] = React.useState();\r\n const [customerData, SetCustomerData] = React.useState();\r\n const [dealerData, SetDealerData] = React.useState();\r\n const [invoiceListData, SetInvoiceListData] = React.useState();\r\n const [customer, SetCustomer] = React.useState('');\r\n const [isLoading, setIsLoading] = React.useState(true);\r\n const [showAllInvoices, SetShowAllInvoices] = React.useState(false);\r\n const [test, setTest] = React.useState('test');\r\n const classes: any = useStyles();\r\n const [currentInvoiceId, SetCurrentInvoiceId] = React.useState(invoiceId);\r\n const [searchInvoice, SetSearchInvoice] = React.useState('');\r\n const [openNoInvoiceAlert, SetOpenNoInvoiceAlert] = React.useState(false);\r\n const [dealerLocations, SetDealerLocations] = React.useState([]);\r\n\r\n React.useEffect(() => {\r\n if (crmCustomerId > 0) {\r\n if (open == false) return;\r\n //alert('useEffect-k3');\r\n DisplayAllInvoices();\r\n return;\r\n }\r\n if (invoiceId > 0) GetCustomerInvoice(dealerId, invoiceId);\r\n }, [invoiceId, open]);\r\n\r\n React.useEffect(() => {\r\n GetDealerLocations();\r\n }, []);\r\n\r\n function CloseDrawer() {\r\n SetShowAllInvoices(false);\r\n onClose();\r\n }\r\n\r\n function GetInvoiceNumber(row:any){\r\n let InvoiceId=row.InvoiceId;\r\n //if(store.getState().user.dmsTypeId!=1) return row.InvoiceNumber;\r\n if(store.getState().user.dmsTypeId!=1) InvoiceId = row.InvoiceNumber;\r\n if(row.OrderId>0){\r\n InvoiceId=row.InvoiceNumber;\r\n if(InvoiceId==0)InvoiceId=row.OrderId + '***';\r\n }\r\n //return row.InvoiceId;\r\n return InvoiceId;\r\n }\r\n\r\n async function GetDealerLocations() {\r\n //alert('GetDealerLocations');\r\n const data: any = await CustomerGroupAPI.GetDealerLocations();\r\n if (typeof (data) == 'undefined') { return ''; }\r\n // alert(data.length);\r\n SetDealerLocations(data);\r\n }\r\n\r\n function GetDealerNickName(row: any) {\r\n let item = dealerLocations.filter(function (item: any) { return item.DealerId === row.DealerId; });\r\n if (item != null && item.length > 0) {\r\n console.log(\"GetDealerNickName\");\r\n console.log(item);\r\n console.log(item[0]);\r\n return item[0].DealerLocationNickName;\r\n }\r\n return row.DealerName;\r\n }\r\n\r\n\r\n\r\n async function GetCustomerInvoice(dealerId: number, InvoiceId: number) {\r\n const data: any = await CustomerGroupAPI.GetCustomerInvoice(dealerId, InvoiceId);\r\n SetInvoiceData(data);\r\n SetCustomerData(data.Customer[0]);\r\n SetDealerData(data.Dealer[0]);\r\n setIsLoading(false);\r\n }\r\n\r\n function FormatNumber(value: any) {\r\n return value.toFixed(2).toLocaleString();\r\n }\r\n\r\n function GetOrderHistoryData() {\r\n return invoiceListData.filter(filterInvoiceListData);\r\n }\r\n\r\n\r\n function filterInvoiceListData(element: any, index: any, array: any) {\r\n if (invoiceListData.length > 0) {\r\n let obj1 = invoiceListData[0];\r\n let keys = Object.keys(obj1);\r\n let i = 0;\r\n for (i = 0; i < keys.length; i++) {\r\n let cellValue = String(element[keys[i]]);\r\n if (cellValue.toLowerCase().includes(searchInvoice.toLowerCase())) { return true; }\r\n }\r\n }\r\n return false;\r\n\r\n }\r\n\r\n function GetPhoneNumber() {\r\n let cellNumber = '';\r\n let landLineNumber = '';\r\n if (typeof (invoiceData.CustomerPhone) == 'undefined') { return '' }\r\n for (let i = 0; i < invoiceData.CustomerPhone.length; i++) {\r\n if (invoiceData.CustomerPhone[i].PhoneNumber != '' && invoiceData.CustomerPhone[i].PhoneType == 1) { cellNumber = invoiceData.CustomerPhone[i].PhoneNumber }\r\n if (invoiceData.CustomerPhone[i].PhoneNumber != '' && invoiceData.CustomerPhone[i].PhoneType == 0) { landLineNumber = invoiceData.CustomerPhone[i].PhoneNumber }\r\n }\r\n if (cellNumber != '') { return 'Cell: ' + FormatPhoneNumber(cellNumber) }\r\n if (landLineNumber != '') { return 'Landline: ' + FormatPhoneNumber(landLineNumber) }\r\n }\r\n\r\n function GetEmail() {\r\n let cellNumber = '';\r\n let landLineNumber = '';\r\n if (typeof (invoiceData.CustomerEmail) == 'undefined') { return '' }\r\n for (let i = 0; i < invoiceData.CustomerEmail.length; i++) {\r\n if (invoiceData.CustomerEmail[i].Address != '') {\r\n return invoiceData.CustomerEmail[i].Address;\r\n }\r\n }\r\n }\r\n async function DisplayAllInvoices() {\r\n SetShowAllInvoices(showAllInvoices ? false : true);\r\n if (!showAllInvoices) {\r\n if (crmCustomerId > 0) {\r\n const data = await CustomerGroupAPI.GetCustomerInvoicesList(dealerId, crmCustomerId);\r\n //alert(data);\r\n SetInvoiceListData(data);\r\n //console.log(data[0].InvoiceId);\r\n //if (typeof (invoiceData.CustomerPhone) == 'undefined') { return '' }\r\n if (data == undefined || data.length == 0) {\r\n SetOpenNoInvoiceAlert(true);\r\n CloseDrawer();\r\n return;\r\n\r\n }\r\n //if(currentInvoiceId==0 && data !==undefined && data.length>0) {\r\n if (currentInvoiceId == 0 && data !== undefined && data.length > 0) {\r\n SetCurrentInvoiceId(data[0].InvoiceId);\r\n //if (invoiceId > 0) GetCustomerInvoice(dealerId, data[0].InvoiceId);\r\n GetCustomerInvoice(data[0].DealerId, data[0].InvoiceId);\r\n\r\n }\r\n // else{\r\n // SetOpenNoInvoiceAlert(true)\r\n // }\r\n\r\n\r\n }\r\n else {\r\n const data = await CustomerGroupAPI.GetCustomerInvoicesList(dealerId, customerData.CrmCustomerId);\r\n SetInvoiceListData(data);\r\n\r\n }\r\n\r\n //const data = await CustomerGroupAPI.GetCustomerInvoicesList(dealerId, customerData.CrmCustomerId);\r\n\r\n }\r\n }\r\n\r\n\r\n function FormatPhoneNumber(phone: String) {\r\n let res = phone;\r\n if (res.length == 10) {\r\n res = '(' + phone.substring(0, 3) + ') ' + phone.substring(3, 6) + '-' + phone.substring(6, 10);\r\n }\r\n return res;\r\n }\r\n\r\n function onRowClick(row: any) {\r\n SetCurrentInvoiceId(row.InvoiceId);\r\n GetCustomerInvoice(row.DealerId, row.InvoiceId);\r\n }\r\n\r\n function GetCustomerAddress() {\r\n //alert(invoiceData.Customer.length);\r\n let data_filter: any = invoiceData.Customer.filter((x: any) => x.AddressType === 2);\r\n if (data_filter.length == 1) return data_filter;\r\n if (invoiceData.Customer.length > 0) {\r\n //alert('k1');\r\n let dataAddress: any = [];\r\n dataAddress.push(invoiceData.Customer[0]);\r\n return dataAddress;\r\n }\r\n return [];\r\n }\r\n\r\n function GetInvoiceType(){\r\n let invoiceType= invoiceData.HasWorkOrder ? dealerData.DmsType == 1 ? 'Repair Order' : 'Work Order' : 'Sales Order';\r\n if(dealerData.DmsType == 9 && invoiceData.part===undefined && invoiceData.wg===undefined && invoiceData.misc===undefined && invoiceData.labor===undefined) invoiceType='Payment';\r\n return invoiceType;\r\n }\r\n\r\n\r\n return (\r\n \r\n {!isLoading && (\r\n \r\n \r\n {/*
        */}\r\n
        \r\n \r\n\r\n
        \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n
        \r\n {dealerData != null && (\r\n\r\n\r\n
        \r\n
        {dealerData.DealerLocationNickName} ({dealerData.ZipPostal})
        \r\n
        \r\n \r\n \r\n \r\n {/*
        \r\n {`${dealerData.Name}`}

        \r\n {`${dealerData.Address}`}

        \r\n {`${dealerData.City}`} {`${dealerData.StateOrProvince}`} {`${dealerData.ZipPostal}`}\r\n
        */}\r\n\r\n {/* */}\r\n \r\n
        \r\n {GetCustomerAddress().map((row: any) => (\r\n //
        \r\n // {row.Name}\r\n //
        \r\n
        \r\n
        {row.Name} ({row.CustomerId})\r\n
        \r\n {row.Address}

        \r\n {row.City} {row.StateProvince} {row.zipPostal}\r\n
        {GetPhoneNumber()}
        \r\n
        Email:
        \r\n\r\n {/* {Phone: {FormatPhoneNumber(invoiceRow.phoneNumber)} */}\r\n {/* {invoiceRow.email != null && invoiceRow.email != '' && (\r\n
        \r\n Email: {invoiceRow.email}

        \r\n
        \r\n )} */}\r\n
        \r\n\r\n ))}\r\n\r\n\r\n
        \r\n
        \r\n {/* {invoiceData.HasWorkOrder ? dealerData.DmsType == 1 ? 'Repair Order' : 'Work Order' : 'Sales Order'}# {`${invoiceData.InvoiceId}`}

        */}\r\n {/* {GetInvoiceType()}# {`${invoiceData.InvoiceId}`}

        */}\r\n {GetInvoiceType()}# {`${GetInvoiceNumber(invoiceData)}`}

        \r\n Date {new Date(invoiceData.InvoiceDate).toLocaleDateString()}

        \r\n {/* Tax: ${invoiceData.InvoiceTaxes}

        */}\r\n
        \r\n
        \r\n\r\n
        \r\n
        \r\n\r\n {typeof (invoiceData.part) !== 'undefined' && invoiceData.part != null && (\r\n \r\n \r\n \r\n \r\n \r\n
        Parts
        \r\n \r\n \r\n \r\n \r\n Line\r\n Part#\r\n Description\r\n Price\r\n Quantity\r\n \r\n \r\n \r\n {invoiceData.part.map((row: any) => (\r\n \r\n {row.name} ({row.code})\r\n {row.partNumber}\r\n {row.description}\r\n ${FormatNumber(row.price)}\r\n {row.quantitySold}\r\n )\r\n )}\r\n \r\n
        \r\n
        \r\n
        \r\n )}\r\n\r\n\r\n {typeof (invoiceData.misc) !== 'undefined' && invoiceData.misc != null && (\r\n \r\n \r\n \r\n \r\n \r\n
        {dealerData.DmsType == 1 ? 'Miscellaneous' : 'Non-Inventory'}
        \r\n \r\n \r\n \r\n \r\n Description\r\n Price\r\n {/* Retail Price */}\r\n\r\n \r\n \r\n \r\n {invoiceData.misc.map((row: any) => (\r\n \r\n {row.Description}\r\n ${FormatNumber(row.Price)}\r\n {/* {row.RetailPrice} */}\r\n \r\n ))}\r\n \r\n
        \r\n
        \r\n
        \r\n )}\r\n\r\n {typeof (invoiceData.wg) !== 'undefined' && invoiceData.wg != null && (\r\n \r\n \r\n \r\n \r\n \r\n
        Wholegoods
        \r\n \r\n \r\n \r\n \r\n Line\r\n Model\r\n Description\r\n Serial#\r\n Price\r\n \r\n \r\n \r\n {invoiceData.wg.map((row: any) => (\r\n \r\n {row.name} ({row.code})\r\n {row.Model}\r\n {row.description}\r\n {row.serialNumber}\r\n ${FormatNumber(row.price)}\r\n \r\n ))}\r\n \r\n
        \r\n
        \r\n
        \r\n\r\n )}\r\n\r\n {typeof (invoiceData.labor) !== 'undefined' && invoiceData.labor != null && (\r\n \r\n \r\n \r\n \r\n \r\n
        Labor
        \r\n \r\n \r\n \r\n \r\n Description\r\n Time\r\n Rate\r\n {/* RetailPrice */}\r\n Total\r\n \r\n \r\n \r\n {invoiceData.labor.map((row: any) => {\r\n //const isItemSelected = isSelected(row.dmsDealerIdCrm);\r\n //let laborTotal=row.total.toFixed(2).toLocaleString(2)\r\n return (\r\n \r\n {row.description}\r\n {row.billedHours}\r\n ${row.rate}\r\n {/* {row.retailTotal} */}\r\n ${FormatNumber(row.total)}\r\n \r\n );\r\n })}\r\n\r\n\r\n {/* {invoiceData.labor.map((row: any) => (\r\n \r\n {row.description}\r\n {row.billedHours}\r\n ${row.rate}\r\n ${row.total}\r\n \r\n ))} */}\r\n \r\n
        \r\n
        \r\n
        \r\n\r\n )}\r\n
        \r\n )}\r\n
        \r\n
        \r\n {typeof (invoiceListData) !== 'undefined' && invoiceListData != null && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n
        \r\n Customer Invoices ({invoiceListData.length})\r\n {/*
        Customer Invoices ({invoiceListData.length})
        */}\r\n\r\n
        \r\n\r\n\r\n SetSearchInvoice(e.target.value)}>\r\n
        \r\n \r\n \r\n \r\n \r\n Invoice#\r\n Status\r\n Date\r\n Type\r\n {dealerLocations.length>1 && (Location)}\r\n\r\n \r\n \r\n \r\n {GetOrderHistoryData().map((row: any) => {\r\n let dealernickName = GetDealerNickName(row);\r\n let InvoiceId=row.InvoiceId;\r\n if(store.getState().user.dmsTypeId!=1)InvoiceId=row.InvoiceNumber;\r\n if(row.OrderId>0){\r\n InvoiceId=row.InvoiceNumber;\r\n if(InvoiceId==0)InvoiceId=row.OrderId + '';\r\n }\r\n \r\n \r\n return (\r\n onRowClick(row)} >\r\n {/* {row.InvoiceId} */}\r\n {InvoiceId}\r\n {row.InvoiceStatus}\r\n {new Date(row.InvoiceDate).toLocaleDateString()}\r\n {row.InvoiceType}\r\n {dealerLocations.length>1 && ({dealernickName})}\r\n \r\n )\r\n })}\r\n \r\n
        \r\n
        \r\n
        \r\n )}\r\n
        \r\n
        \r\n\r\n
        \r\n\r\n )}\r\n { SetOpenNoInvoiceAlert(false) }}\r\n aria-describedby=\"alert-dialog-slide-description\"\r\n >\r\n {\"Order History\"}\r\n \r\n \r\n No order history found for this customer.\r\n \r\n \r\n {/* \r\n \r\n \r\n */}\r\n \r\n
        \r\n );\r\n\r\n}\r\n","import { destroy, get, post, put } from 'api';\r\nimport axios, { CancelTokenSource } from 'axios';\r\nimport {\r\n GetTaskListResponse,\r\n TaskListRescheduleRequest,\r\n TaskType,\r\n TaskOutcome,\r\n TaskListDoneRequest,\r\n} from 'components/lead/models/task';\r\nimport config from 'config';\r\nimport { addTaskRequest, RescheduleTaskRequest } from './taskboardSlice';\r\n\r\nconst BASE_URL = config.get('api.lead');\r\n\r\nlet token: CancelTokenSource;\r\nconst getTasks = async (\r\n dealerId: number,\r\n createdByUserId: string | null,\r\n assignedUserIds: string[] | null,\r\n taskStatusId: number | null,\r\n taskTypeId: number | null,\r\n fromDate: Date | null,\r\n toDate: Date | null,\r\n page: number,\r\n pageSize: number,\r\n searchString: string,\r\n isArchived: boolean,\r\n): Promise => {\r\n if (token) {\r\n token.cancel();\r\n }\r\n let searchStr = searchString.replace('&', '%26');\r\n token = axios.CancelToken.source();\r\n\r\n const axiosResponse = await post(`${BASE_URL}/lead/tasks`, {\r\n searchString: searchStr,\r\n dealerId,\r\n createdByUserId,\r\n assignedUserIds,\r\n taskStatusId,\r\n taskTypeId,\r\n isArchived,\r\n fromDate,\r\n toDate,\r\n pageNumber: page,\r\n pageSize,\r\n });\r\n return axiosResponse?.data;\r\n};\r\n\r\nconst getTask = async (dealerId: number, taskId: number): Promise => {\r\n const { data } = await get(`${BASE_URL}/lead/task/${taskId}?dealerId=${dealerId}`);\r\n return data;\r\n};\r\n\r\nconst getTaskTypes = async (): Promise => {\r\n const { data } = await get(`${BASE_URL}/lead/taskType`);\r\n return data;\r\n};\r\n\r\nconst getTaskCategories = async (): Promise => {\r\n const { data } = await get(`${BASE_URL}/lead/taskCategory`);\r\n return data;\r\n};\r\n\r\nconst getTaskOutcomes = async (): Promise => {\r\n const { data } = await get(`${BASE_URL}/lead/taskOutcome`);\r\n return data;\r\n};\r\n\r\nconst addTask = async (task: addTaskRequest): Promise => {\r\n return await post(`${BASE_URL}/lead/task`, task);\r\n};\r\n\r\nconst updateTask = async (task: RescheduleTaskRequest): Promise => {\r\n return await put(`${BASE_URL}/lead/task/${task.taskId}`, task);\r\n};\r\n\r\nconst updateTasks = async (task: TaskListRescheduleRequest): Promise => {\r\n return await put(`${BASE_URL}/lead/tasks`, task);\r\n};\r\n\r\nconst updateTasksForDone = async (task: TaskListDoneRequest): Promise => {\r\n return await put(`${BASE_URL}/lead/tasks`, task);\r\n};\r\n\r\nconst createTaskType = async (taskType: TaskType): Promise => {\r\n const url = `${BASE_URL}/lead/taskType`;\r\n let req = {\r\n departmentIds: taskType.departments.map((x) => x.departmentId),\r\n id: taskType.id,\r\n value: taskType.value,\r\n categoryId: taskType.taskCategoryId,\r\n };\r\n const { data } = await post(url, req);\r\n return data;\r\n};\r\nconst updateTaskType = async (taskType: TaskType): Promise => {\r\n const url = `${BASE_URL}/lead/taskType/${taskType.id}`;\r\n taskType.departments;\r\n let req = {\r\n departmentIds: taskType.departments.map((x) => x.departmentId),\r\n id: taskType.id,\r\n value: taskType.value,\r\n categoryId: taskType.taskCategoryId,\r\n };\r\n const { data } = await put(url, req);\r\n return data;\r\n};\r\nconst deleteTaskType = async (taskType: number): Promise => {\r\n const url = `${BASE_URL}/lead/taskType/${taskType}`;\r\n const { data } = await destroy(url);\r\n return data;\r\n};\r\n\r\nconst createTaskOutcome = async (taskOutcome: TaskOutcome): Promise => {\r\n const url = `${BASE_URL}/lead/taskOutcome`;\r\n let req = {\r\n departmentIds: taskOutcome.departments.map((x) => x.departmentId),\r\n id: taskOutcome.id,\r\n value: taskOutcome.value,\r\n categoryId: 2,\r\n };\r\n const { data } = await post(url, req);\r\n return data;\r\n};\r\nconst updateTaskOutcome = async (taskOutcome: TaskOutcome): Promise => {\r\n const url = `${BASE_URL}/lead/taskOutcome/${taskOutcome.id}`;\r\n taskOutcome.departments;\r\n let req = {\r\n departmentIds: taskOutcome.departments.map((x) => x.departmentId),\r\n id: taskOutcome.id,\r\n value: taskOutcome.value,\r\n categoryId: 2,\r\n };\r\n const { data } = await put(url, req);\r\n return data;\r\n};\r\nconst deleteTaskOutcome = async (taskOutcome: number): Promise => {\r\n const url = `${BASE_URL}/lead/taskOutcome/${taskOutcome}`;\r\n const { data } = await destroy(url);\r\n return data;\r\n};\r\n\r\nconst deleteCustomer = async (dealerId: number, customerId: number): Promise => {\r\n try {\r\n return await destroy(`${BASE_URL}/customers/${customerId}`);\r\n } catch (error) {\r\n return null;\r\n }\r\n};\r\n\r\nconst getCustomerPhoneNumberCount = async (): Promise => {\r\n try {\r\n return await post(`${BASE_URL}/getCustomerPhoneNumbersCount/`);\r\n } catch (err) {\r\n return null;\r\n }\r\n};\r\nconst getTodoOrOverdueTaskCount = async (): Promise<{ taskCount: number }> => {\r\n const url = `${BASE_URL}/getTodoOrOverdueTaskCount/`;\r\n const { data } = await get(url);\r\n return data;\r\n};\r\n\r\nexport default {\r\n getTasks,\r\n getTask,\r\n getTaskTypes,\r\n getTaskOutcomes,\r\n addTask,\r\n updateTask,\r\n updateTasks,\r\n updateTasksForDone,\r\n createTaskType,\r\n updateTaskType,\r\n deleteTaskType,\r\n createTaskOutcome,\r\n updateTaskOutcome,\r\n deleteTaskOutcome,\r\n deleteCustomer,\r\n getCustomerPhoneNumberCount,\r\n getTaskCategories,\r\n getTodoOrOverdueTaskCount,\r\n};\r\n","export interface Task {\r\n id: number;\r\n dealerId: number;\r\n isFollowed: boolean;\r\n followUpTaskId: number;\r\n createdByUser: string;\r\n assignedUser: string;\r\n subject: string;\r\n taskType: string;\r\n customer: string;\r\n customerId: number | null;\r\n dueDate: Date;\r\n notes: string;\r\n taskStatus: string;\r\n location: string;\r\n}\r\n\r\nexport interface GetTaskListResponse {\r\n tasks: TaskListObject[];\r\n count: number;\r\n pageSize: number;\r\n pageNumber: number;\r\n}\r\n\r\nexport interface TaskListObject {\r\n taskId: number;\r\n dealerLocationName: string;\r\n dealerId: number;\r\n taskSubject: string;\r\n assignedUserId: string;\r\n assignedUsername: string;\r\n taskTypeId: number | null;\r\n taskType: string;\r\n taskStatus: string;\r\n taskStatusId: number;\r\n customerName: string;\r\n customerId: number;\r\n notes: string;\r\n dueDate: string;\r\n dueTime: string;\r\n isFollowed: boolean;\r\n followUpTaskId: number;\r\n createdByUserId: string;\r\n createdByUserName: string;\r\n dateCreated: string;\r\n dateUpdated: string | null;\r\n taskOutcomeId: number | null;\r\n taskOutcome: string | null;\r\n taskArchiveReason?: string;\r\n isArchived?: boolean;\r\n dealId: number | null;\r\n dealTitle: string | null;\r\n}\r\n\r\nexport interface TaskListRescheduleRequest {\r\n assignedUserId?: string | null | undefined;\r\n dueDate?: Date | null;\r\n taskIds: number[];\r\n taskArchiveReason?: string;\r\n isArchived?: boolean;\r\n}\r\n\r\nexport interface TaskType {\r\n id: number;\r\n value: string;\r\n taskCategoryId: number;\r\n taskCategory: TaskTypeCategory;\r\n departments: TaskTypeDepartment[];\r\n}\r\n\r\nexport interface TaskOutcome {\r\n id: number;\r\n value: string;\r\n departments: TaskTypeDepartment[];\r\n}\r\nexport interface TaskTypeDepartment {\r\n departmentId: number;\r\n departmentName: string;\r\n}\r\nexport interface TaskTypeCategory {\r\n id: number;\r\n value: string;\r\n}\r\n\r\nexport enum UserTaskStatus {\r\n New = 1,\r\n Overdue = 2,\r\n Completed = 3,\r\n}\r\n\r\nexport interface TaskListDoneRequest {\r\n taskIds: number[];\r\n outcomeId: number;\r\n notes: string;\r\n statusId: number;\r\n}\r\n","import Customer from 'common/models/customer';\r\nimport React, { forwardRef, ReactElement, Ref, useImperativeHandle, useRef } from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\n\r\nimport CustomerForm from '../CustomerForm/CustomerForm';\r\nimport { CustomerFormRef } from \"../CustomerForm/CustomerFormRef\";\r\nimport { saveCustomer, UpdateSelectedCustomer } from '../Customers/customersSlice';\r\nimport { CustomerAddDrawerProps } from './CustomerAddDrawer';\r\n\r\nconst CustomerEditDrawer = forwardRef(({}, ref: Ref): ReactElement => {\r\n\r\n const dispatch = useAppDispatch();\r\n const childRef = useRef(null);\r\n\r\n const btnDisabled = useAppSelector((state) => state.customers.addCustomerLoading);\r\n const customer = useAppSelector((state) => state.customers.selectedCustomer);\r\n\r\n useImperativeHandle(ref, () => ({\r\n CompareChanges: function (callback: any) {\r\n if (childRef && childRef.current) {\r\n childRef.current.CompareChanges((r: boolean) => {\r\n callback(r);\r\n });\r\n } else {\r\n callback(false);\r\n }\r\n },\r\n SubmitForm : function(){\r\n if (childRef && childRef.current) {\r\n childRef.current.SubmitForm();\r\n }\r\n }\r\n }));\r\n const handleCustomerFormSubmit = (customerFormValues: Customer): void => {\r\n dispatch(saveCustomer(customerFormValues));\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n };\r\n\r\n const handleOnClose = () => {\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n };\r\n\r\n return (\r\n \r\n );\r\n});\r\n\r\nexport default CustomerEditDrawer;\r\n","/* eslint-disable no-param-reassign */\r\nimport { createSlice, PayloadAction } from '@reduxjs/toolkit';\r\n\r\nimport { AppThunk } from 'app';\r\nimport { showSnackbar } from 'components/root-snackbar';\r\n\r\nimport TaskboardAPI from './taskboard-api';\r\nimport {\r\n Task,\r\n TaskListDoneRequest,\r\n TaskListObject,\r\n TaskListRescheduleRequest,\r\n UserTaskStatus,\r\n} from 'components/lead/models/task';\r\nimport DealerAPI from 'components/authentication/api/dealer-api';\r\nimport { PersistentAppData } from 'common/models';\r\nexport type CustomerDialogType =\r\n | undefined\r\n | 'NEW'\r\n | 'SHOW'\r\n | 'EDIT'\r\n | 'DELETE'\r\n | 'INVOICE'\r\n | 'SHOW_PHONE_NUMBERS'\r\n | 'VALIDATE_ALL'\r\n | 'VALIDATE_EMAIL'\r\n | 'VALIDATE_PHONE';\r\n\r\nexport interface addTaskRequest {\r\n dealerId: number;\r\n isFollowed: boolean;\r\n followUpTaskId: number;\r\n createdByUserId: string;\r\n assignedUserId: string;\r\n taskSubject: string;\r\n taskTypeId: number;\r\n customerId: number;\r\n dueDate: string;\r\n notes: string;\r\n statusId: number;\r\n taskOutcomeId: number | null;\r\n followUpTask: addTaskRequest | null;\r\n dealId: number | null;\r\n}\r\n\r\nexport interface RescheduleTaskRequest {\r\n taskId: number;\r\n assignedUserId: string;\r\n taskTypeId: number;\r\n dueDate: Date;\r\n notes: string;\r\n statusId: number | null;\r\n taskOutcomeId: number | null;\r\n taskSubject: string;\r\n dealerId: number;\r\n}\r\n\r\nexport interface TasksState {\r\n tasks: TaskListObject[];\r\n currentPage: number;\r\n pageSize: number;\r\n searchString: string;\r\n createdByUserId: string | null;\r\n assignedUserIds: string[] | null;\r\n taskStatusId: number | null;\r\n fromDate: Date | null;\r\n toDate: Date | null;\r\n totalTasks: number;\r\n taskTypeId: number | null;\r\n dealerId: number | null;\r\n loading: boolean;\r\n error: string | null;\r\n selectedTasks: TaskListObject[];\r\n AllTasksSelected: boolean;\r\n dialogType: CustomerDialogType;\r\n selectedTask: TaskListObject | undefined;\r\n drawerType: string | null;\r\n drawerProps: any | {};\r\n addTaskLoading: boolean;\r\n addTaskError: string | null;\r\n selectedCustomer: number | undefined;\r\n isArchived: boolean;\r\n}\r\nexport interface TaskFilterPersistent {\r\n assignedUserIds:string[] | null;\r\n taskStatusId:number | null;\r\n taskTypeId:number | null;\r\n isArchived: boolean;\r\n location:number;\r\n}\r\n\r\nlet initialState: TasksState = {\r\n tasks: [],\r\n currentPage: 0,\r\n pageSize: 15,\r\n createdByUserId: null,\r\n assignedUserIds: null,\r\n taskStatusId: UserTaskStatus.New,\r\n fromDate: null,\r\n toDate: null,\r\n totalTasks: 0,\r\n taskTypeId: null,\r\n dealerId: null,\r\n searchString: '',\r\n loading: false,\r\n error: null,\r\n selectedTasks: [],\r\n AllTasksSelected: false,\r\n dialogType: undefined,\r\n selectedTask: undefined,\r\n drawerType: null,\r\n drawerProps: {},\r\n addTaskLoading: false,\r\n addTaskError: null,\r\n selectedCustomer: 0,\r\n isArchived: false,\r\n};\r\n\r\nconst taskboardSlice = createSlice({\r\n name: 'task',\r\n initialState,\r\n reducers: {\r\n getTasksStart(state): void {\r\n state.loading = true;\r\n state.error = null;\r\n },\r\n getTasksSuccess(\r\n state,\r\n action: PayloadAction<{ tasks: TaskListObject[]; pageSize: number; currentPage: number; count: number }>,\r\n ): void {\r\n const { tasks, pageSize, count, currentPage } = action.payload;\r\n state.tasks = tasks;\r\n state.currentPage = currentPage;\r\n state.pageSize = pageSize;\r\n state.totalTasks = count;\r\n state.loading = false;\r\n state.error = null;\r\n },\r\n getTasksFailure(state, action: PayloadAction): void {\r\n state.loading = false;\r\n state.error = action.payload;\r\n },\r\n toggleTaskStart(state, action: PayloadAction): void {\r\n state.loading = false;\r\n let indexOfCustomer = 0;\r\n const c: TaskListObject = state.tasks.filter((x: TaskListObject, index: number): any | undefined => {\r\n if (x.taskId === action.payload.taskId) {\r\n indexOfCustomer = index;\r\n return x;\r\n }\r\n return undefined;\r\n })[0];\r\n\r\n // if (c.optIn === 1) c.optIn = 0;\r\n // else c.optIn = 1;\r\n\r\n // state.customers[indexOfCustomer] = c;\r\n },\r\n setTaskStatusId(state, action: PayloadAction) {\r\n state.currentPage = 0;\r\n state.taskStatusId = action.payload;\r\n },\r\n\r\n setTaskIsArchived(state, action: PayloadAction) {\r\n state.currentPage = 0;\r\n state.isArchived = action.payload;\r\n },\r\n\r\n setTaskTypeId(state, action: PayloadAction) {\r\n state.currentPage = 0;\r\n state.taskTypeId = action.payload;\r\n },\r\n setDealerLocationId(state, action: PayloadAction) {\r\n state.currentPage = 0;\r\n state.dealerId = action.payload;\r\n },\r\n setFilterDates(state, action: PayloadAction<{ fromDate: Date | null; toDate: Date | null }>) {\r\n state.fromDate = action.payload.fromDate;\r\n state.toDate = action.payload.toDate;\r\n },\r\n setSelectedCustomer(state, action: PayloadAction): void {\r\n state.selectedCustomer = action.payload;\r\n },\r\n setAssignedUsers(state, action: PayloadAction): void {\r\n state.currentPage = 0;\r\n state.assignedUserIds = action.payload;\r\n },\r\n UpdateSelectedTask(state, action: PayloadAction): void {\r\n state.selectedTask = action.payload;\r\n },\r\n UpdateDialogType(state, action: PayloadAction): void {\r\n state.dialogType = action.payload;\r\n },\r\n SetSelectedTasks(state, action: PayloadAction): void {\r\n if (state.tasks && state.tasks.length > 0) {\r\n state.selectedTask = undefined;\r\n }\r\n\r\n if (action.payload.length === 0) {\r\n state.selectedTasks = action.payload;\r\n } else if (action.payload.length > 1) {\r\n state.selectedTasks = action.payload;\r\n } else {\r\n const task = action.payload[0];\r\n const selected = state.selectedTasks;\r\n const selectedIndex = selected.map((c: TaskListObject) => c.taskId).indexOf(task.taskId);\r\n let newSelected: TaskListObject[] = [];\r\n if (selectedIndex === -1) {\r\n newSelected = newSelected.concat(selected, task);\r\n } else if (selectedIndex === 0) {\r\n newSelected = newSelected.concat(selected.slice(1));\r\n } else if (selectedIndex === selected.length - 1) {\r\n newSelected = newSelected.concat(selected.slice(0, -1));\r\n } else if (selectedIndex > 0) {\r\n newSelected = newSelected.concat(selected.slice(0, selectedIndex), selected.slice(selectedIndex + 1));\r\n }\r\n state.selectedTasks = newSelected;\r\n }\r\n },\r\n\r\n SetAllSelectedTasks(state, action: PayloadAction): void {\r\n state.AllTasksSelected = action.payload;\r\n },\r\n showTaskDrawer(state, action: PayloadAction<{ drawerType: string; drawerProps: any }>): void {\r\n state.drawerType = action.payload.drawerType;\r\n state.drawerProps = action.payload.drawerProps;\r\n },\r\n hideTaskDrawer(state): void {\r\n state.drawerProps = {};\r\n state.drawerType = null;\r\n },\r\n saveTaskStart(state): void {\r\n state.addTaskLoading = true;\r\n state.addTaskError = null;\r\n },\r\n saveTaskSuccess(state): void {\r\n state.addTaskLoading = false;\r\n state.addTaskError = null;\r\n },\r\n saveTaskFailure(state, action: PayloadAction): void {\r\n state.addTaskLoading = false;\r\n state.addTaskError = action.payload;\r\n },\r\n resetFilter(state) {\r\n state.currentPage = 0;\r\n state.createdByUserId = null;\r\n state.assignedUserIds = [];\r\n state.taskStatusId = UserTaskStatus.New;\r\n state.fromDate = null;\r\n state.toDate = null;\r\n state.totalTasks = 0;\r\n state.taskTypeId = null;\r\n // state.dealerId = null;\r\n state.searchString = '';\r\n state.isArchived = false;\r\n },\r\n updateTaskSearchString(state, action: PayloadAction): void {\r\n state.currentPage = 0;\r\n state.searchString = action.payload;\r\n },\r\n setPersistantFilterState(state, action: PayloadAction<{assignUser:any, statusId:any, typeId:any, archieve:boolean, location: any}>){\r\n state.assignedUserIds = action.payload.assignUser;\r\n state.taskStatusId = action.payload.statusId;\r\n state.taskTypeId = action.payload.typeId;\r\n state.isArchived = action.payload.archieve;\r\n state.dealerId = action.payload.location;\r\n }\r\n // addEmailRow(state, action: PayloadAction): void {\r\n // let em: CustomerEmail = {\r\n // address: '',\r\n // customerId: state.selectedCustomer !== undefined ? state.selectedCustomer.id : 0,\r\n // dealerId: 0,\r\n // emailType: 0,\r\n // lastUpdated: '',\r\n // };\r\n // if (state.selectedCustomer && state.selectedCustomer.emails == null) {\r\n // state.selectedCustomer.emails = [];\r\n // }\r\n // state.selectedCustomer?.emails.push(em);\r\n // },\r\n // updateEmailRow(state, action: PayloadAction<{ index: number; email: string }>): void {\r\n // if (state.selectedCustomer && state.selectedCustomer.emails) {\r\n // state.selectedCustomer.emails[action.payload.index].address = action.payload.email;\r\n // }\r\n // },\r\n // removeEmailRow(state, action: PayloadAction): void {\r\n // if (state.selectedCustomer && state.selectedCustomer.emails) {\r\n // state.selectedCustomer.emails.splice(action.payload, 1);\r\n // }\r\n // },\r\n },\r\n});\r\n\r\nexport const {\r\n getTasksStart,\r\n getTasksSuccess,\r\n getTasksFailure,\r\n UpdateSelectedTask,\r\n setAssignedUsers,\r\n setTaskStatusId,\r\n setFilterDates,\r\n setDealerLocationId,\r\n setTaskTypeId,\r\n UpdateDialogType,\r\n SetSelectedTasks,\r\n SetAllSelectedTasks,\r\n showTaskDrawer,\r\n resetFilter,\r\n hideTaskDrawer,\r\n saveTaskStart,\r\n saveTaskSuccess,\r\n saveTaskFailure,\r\n toggleTaskStart,\r\n updateTaskSearchString,\r\n setSelectedCustomer,\r\n setTaskIsArchived,\r\n setPersistantFilterState\r\n // addEmailRow,\r\n // updateEmailRow,\r\n // removeEmailRow,\r\n} = taskboardSlice.actions;\r\n\r\nexport default taskboardSlice.reducer;\r\n\r\nexport const fetchTasks =\r\n (): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n const state = getState();\r\n dispatch(getTasksStart());\r\n const taskFilterLocalData= localStorage.getItem(`TaskFilter_${state.user.dmsDealerId}_${state.user.crmUserId}`);\r\n let taskFilterData:TaskFilterPersistent =taskFilterLocalData ? JSON.parse(taskFilterLocalData):null; \r\n if(taskFilterLocalData === null){\r\n const resp=await DealerAPI.getPersistentAppData(`TaskFilter_${state.user.dmsDealerId}_${state.user.crmUserId}`);\r\n if(resp === null || resp === ''){\r\n const taskfilerApiData:PersistentAppData = {\r\n crmUserId: state.user.crmUserId,\r\n dmsDealerId: state.user.dmsDealerId,\r\n type: `TaskFilter_${state.user.dmsDealerId}_${state.user.crmUserId}`,\r\n data: JSON.stringify({\r\n assignedUserIds:state.tasks.assignedUserIds,\r\n taskStatusId:state.tasks.taskStatusId,\r\n taskTypeId:state.tasks.taskTypeId,\r\n isArchived:state.tasks.isArchived,\r\n location:state.tasks.dealerId ?? state.user.dealerId\r\n })\r\n }\r\n localStorage.setItem(`${taskfilerApiData.type}`,taskfilerApiData.data);\r\n await DealerAPI.addPersistentAppData(taskfilerApiData);\r\n }else{\r\n localStorage.setItem(`${resp.type}`,resp.data);\r\n taskFilterData = JSON.parse(resp.data)\r\n }\r\n }\r\n const {\r\n currentPage,\r\n pageSize,\r\n searchString,\r\n createdByUserId,\r\n assignedUserIds,\r\n taskStatusId,\r\n taskTypeId,\r\n isArchived,\r\n fromDate,\r\n toDate,\r\n } = state.tasks;\r\n let dealerId = state.tasks.dealerId;\r\n if (!dealerId) {\r\n dealerId = state.user.dealerId;\r\n }\r\n const userTaskResponse = await TaskboardAPI.getTasks(\r\n taskFilterData ? taskFilterData.location :dealerId,\r\n state.user.crmUserId,\r\n taskFilterData ? taskFilterData.assignedUserIds : assignedUserIds,\r\n taskFilterData ? taskFilterData.taskStatusId : taskStatusId,\r\n taskFilterData ? taskFilterData.taskTypeId : taskTypeId,\r\n fromDate,\r\n toDate,\r\n currentPage,\r\n pageSize,\r\n searchString,\r\n taskFilterData ? taskFilterData.isArchived : isArchived,\r\n );\r\n if (userTaskResponse) {\r\n dispatch(\r\n getTasksSuccess({\r\n tasks: userTaskResponse.userTasks,\r\n pageSize: userTaskResponse.pageSize,\r\n count: userTaskResponse.itemCount,\r\n currentPage: userTaskResponse.pageNumber,\r\n }),\r\n );\r\n }\r\n } catch (error: any) {\r\n dispatch(getTasksFailure(error.message));\r\n }\r\n };\r\n\r\nexport const fetchTasksPage =\r\n (newPage: number): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n dispatch(getTasksStart());\r\n const state = getState();\r\n const {\r\n currentPage,\r\n pageSize,\r\n searchString,\r\n createdByUserId,\r\n assignedUserIds,\r\n taskStatusId,\r\n isArchived,\r\n taskTypeId,\r\n fromDate,\r\n toDate,\r\n } = state.tasks;\r\n let dealerId = state.tasks.dealerId;\r\n if (!dealerId) {\r\n dealerId = state.tasks.dealerId ?? 0;\r\n }\r\n const userTaskResponse = await TaskboardAPI.getTasks(\r\n dealerId,\r\n state.user.crmUserId,\r\n assignedUserIds,\r\n taskStatusId,\r\n taskTypeId,\r\n fromDate,\r\n toDate,\r\n newPage,\r\n pageSize,\r\n searchString,\r\n isArchived,\r\n );\r\n if (userTaskResponse) {\r\n dispatch(\r\n getTasksSuccess({\r\n tasks: userTaskResponse.userTasks,\r\n pageSize: userTaskResponse.pageSize,\r\n count: userTaskResponse.itemCount,\r\n currentPage: userTaskResponse.pageNumber,\r\n }),\r\n );\r\n }\r\n } catch (error: any) {\r\n dispatch(getTasksFailure(error.message));\r\n }\r\n };\r\n\r\nexport const saveTask =\r\n (task: TaskListObject, followUpTask: TaskListObject | null = null): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n let message;\r\n let errorMessage;\r\n\r\n try {\r\n const user = getState().user;\r\n const _task = getState().tasks;\r\n dispatch(hideTaskDrawer());\r\n dispatch(saveTaskStart());\r\n task.createdByUserId = user.crmUserId;\r\n\r\n let taskRequest: addTaskRequest = {\r\n assignedUserId: task.assignedUserId,\r\n createdByUserId: task.createdByUserId,\r\n customerId: task.customerId,\r\n dealerId: task.dealerId,\r\n dueDate: task.dueDate,\r\n followUpTaskId: task.followUpTaskId,\r\n isFollowed: task.isFollowed,\r\n notes: task.notes,\r\n statusId: task.taskStatusId,\r\n taskSubject: task.taskSubject,\r\n taskTypeId: task.taskTypeId || 0,\r\n taskOutcomeId: task.taskOutcomeId,\r\n followUpTask: null,\r\n dealId: null,\r\n };\r\n\r\n if (followUpTask != null) {\r\n taskRequest.followUpTask = {\r\n assignedUserId: followUpTask.assignedUserId,\r\n createdByUserId: task.createdByUserId,\r\n customerId: followUpTask.customerId,\r\n dealerId: followUpTask.dealerId,\r\n dueDate: followUpTask.dueDate,\r\n followUpTaskId: followUpTask.followUpTaskId,\r\n isFollowed: followUpTask.isFollowed,\r\n notes: followUpTask.notes,\r\n statusId: followUpTask.taskStatusId,\r\n taskSubject: followUpTask.taskSubject,\r\n taskTypeId: followUpTask.taskTypeId || 0,\r\n taskOutcomeId: followUpTask.taskOutcomeId,\r\n followUpTask: null,\r\n dealId: null,\r\n };\r\n }\r\n\r\n await TaskboardAPI.addTask(taskRequest);\r\n dispatch(showSnackbar({ type: 'success', message: 'Task created' }));\r\n dispatch(saveTaskSuccess());\r\n dispatch(UpdateSelectedTask(undefined));\r\n dispatch(hideTaskDrawer());\r\n dispatch(fetchTasks());\r\n } catch (error: any) {\r\n dispatch(saveTaskFailure(error.message));\r\n dispatch(UpdateSelectedTask(undefined));\r\n dispatch(hideTaskDrawer());\r\n dispatch(showSnackbar({ type: 'error', message: errorMessage }));\r\n }\r\n };\r\n\r\nexport const rescheduleTask =\r\n (task: TaskListObject): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n let message;\r\n let errorMessage;\r\n\r\n try {\r\n const user = getState().user;\r\n const _task = getState().tasks;\r\n dispatch(hideTaskDrawer());\r\n dispatch(saveTaskStart());\r\n task.createdByUserId = user.crmUserId;\r\n\r\n let taskRequest: RescheduleTaskRequest = {\r\n assignedUserId: task.assignedUserId,\r\n dueDate: new Date(task.dueDate),\r\n notes: task.notes,\r\n taskTypeId: task.taskTypeId || 0,\r\n statusId: null,\r\n taskOutcomeId: null,\r\n taskId: task.taskId,\r\n taskSubject: task.taskSubject,\r\n dealerId: task.dealerId,\r\n };\r\n await TaskboardAPI.updateTask(taskRequest);\r\n\r\n dispatch(showSnackbar({ type: 'success', message: 'Task Updated' }));\r\n dispatch(saveTaskSuccess());\r\n dispatch(UpdateSelectedTask(undefined));\r\n dispatch(hideTaskDrawer());\r\n dispatch(fetchTasks());\r\n } catch (error: any) {\r\n dispatch(saveTaskFailure(error.message));\r\n dispatch(UpdateSelectedTask(undefined));\r\n dispatch(hideTaskDrawer());\r\n dispatch(showSnackbar({ type: 'error', message: errorMessage }));\r\n }\r\n };\r\n\r\nexport const rescheduleTaskList =\r\n (tasks: TaskListRescheduleRequest): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n let message;\r\n let errorMessage;\r\n\r\n try {\r\n const user = getState().user;\r\n dispatch(hideTaskDrawer());\r\n dispatch(saveTaskStart());\r\n await TaskboardAPI.updateTasks(tasks);\r\n if (tasks.isArchived) {\r\n dispatch(\r\n showSnackbar({\r\n type: 'success',\r\n message: tasks.taskIds.length > 1 ? 'Selected tasks archived' : 'Selected task archived',\r\n }),\r\n );\r\n } else {\r\n dispatch(\r\n showSnackbar({\r\n type: 'success',\r\n message: tasks.taskIds.length > 1 ? 'Selected tasks updated' : 'Selected task updated',\r\n }),\r\n );\r\n }\r\n dispatch(saveTaskSuccess());\r\n dispatch(UpdateSelectedTask(undefined));\r\n dispatch(hideTaskDrawer());\r\n dispatch(SetSelectedTasks([]));\r\n dispatch(SetAllSelectedTasks(false));\r\n dispatch(fetchTasks());\r\n } catch (error: any) {\r\n dispatch(saveTaskFailure(error.message));\r\n dispatch(UpdateSelectedTask(undefined));\r\n dispatch(hideTaskDrawer());\r\n dispatch(SetSelectedTasks([]));\r\n dispatch(SetAllSelectedTasks(false));\r\n dispatch(showSnackbar({ type: 'error', message: errorMessage }));\r\n }\r\n };\r\n\r\nexport const markTaskAsDone =\r\n (newTask: TaskListObject | null, currentTask: TaskListObject, outcomeId: number, notes: string): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n let message;\r\n let errorMessage;\r\n\r\n try {\r\n const user = getState().user;\r\n const _task = getState().tasks;\r\n\r\n dispatch(hideTaskDrawer());\r\n dispatch(saveTaskStart());\r\n let taskUpdateRequest: RescheduleTaskRequest = {\r\n assignedUserId: currentTask.assignedUserId,\r\n dueDate: new Date(currentTask.dueDate),\r\n notes: notes,\r\n taskTypeId: currentTask.taskTypeId || 0,\r\n statusId: UserTaskStatus.Completed,\r\n taskOutcomeId: outcomeId,\r\n taskId: currentTask.taskId,\r\n taskSubject: currentTask.taskSubject,\r\n dealerId: currentTask.dealerId,\r\n };\r\n await TaskboardAPI.updateTask(taskUpdateRequest);\r\n message = 'Task Marked as Done';\r\n\r\n dispatch(showSnackbar({ type: 'success', message }));\r\n if (newTask) {\r\n newTask.createdByUserId = user.crmUserId;\r\n let taskRequest: addTaskRequest = {\r\n assignedUserId: newTask.assignedUserId,\r\n createdByUserId: newTask.createdByUserId,\r\n customerId: newTask.customerId,\r\n dealerId: newTask.dealerId,\r\n dueDate: newTask.dueDate,\r\n isFollowed: newTask.isFollowed,\r\n notes: newTask.notes,\r\n statusId: newTask.taskStatusId,\r\n taskSubject: newTask.taskSubject,\r\n taskTypeId: newTask.taskTypeId || 0,\r\n followUpTaskId: currentTask.taskId,\r\n dealId: currentTask.dealId,\r\n taskOutcomeId: null,\r\n followUpTask: null,\r\n };\r\n await TaskboardAPI.addTask(taskRequest);\r\n }\r\n\r\n dispatch(saveTaskSuccess());\r\n dispatch(UpdateSelectedTask(undefined));\r\n\r\n dispatch(hideTaskDrawer());\r\n dispatch(fetchTasks());\r\n } catch (error: any) {\r\n dispatch(saveTaskFailure(error.message));\r\n dispatch(UpdateSelectedTask(undefined));\r\n dispatch(hideTaskDrawer());\r\n dispatch(showSnackbar({ type: 'error', message: errorMessage }));\r\n }\r\n };\r\n\r\nexport const markTasksAsDone =\r\n (currentTasks: TaskListObject[], outcomeId: number, notes: string): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n let message;\r\n let errorMessage;\r\n\r\n try {\r\n const user = getState().user;\r\n dispatch(hideTaskDrawer());\r\n dispatch(saveTaskStart());\r\n let taskUpdateRequest: TaskListDoneRequest = {\r\n taskIds: currentTasks.map((x) => x.taskId),\r\n outcomeId: outcomeId,\r\n notes: notes,\r\n statusId: UserTaskStatus.Completed,\r\n };\r\n await TaskboardAPI.updateTasksForDone(taskUpdateRequest);\r\n message = 'Task Marked as Done';\r\n\r\n dispatch(showSnackbar({ type: 'success', message }));\r\n\r\n dispatch(saveTaskSuccess());\r\n dispatch(SetSelectedTasks([]));\r\n dispatch(hideTaskDrawer());\r\n dispatch(fetchTasks());\r\n } catch (error: any) {\r\n dispatch(saveTaskFailure(error.message));\r\n dispatch(SetSelectedTasks([]));\r\n dispatch(hideTaskDrawer());\r\n dispatch(showSnackbar({ type: 'error', message: errorMessage }));\r\n }\r\n };\r\n\r\nexport const saveTaskToggle =\r\n (task: Task): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n let errorMessage;\r\n\r\n try {\r\n // const { dealerId } = getState().user;\r\n // dispatch(toggleCustomerOptIn(customer));\r\n // const saveCustomer = CustomerAPI.editCustomer;\r\n // let c = { ...customer };\r\n // if (c.optIn === 0) {\r\n // c.optIn = 1;\r\n // } else {\r\n // c.optIn = 0;\r\n // }\r\n // await saveCustomer(dealerId, c);\r\n // // dispatch(saveCustomerSuccess());\r\n // dispatch(UpdateSelectedCustomer(undefined));\r\n } catch (error) {\r\n console.error(error);\r\n // dispatch(saveCustomerFailure(error.message));\r\n dispatch(UpdateSelectedTask(undefined));\r\n // dispatch(hideCustomerDrawer());\r\n dispatch(showSnackbar({ type: 'error', message: errorMessage }));\r\n }\r\n };\r\n\r\nexport const deleteSelectedCustomer =\r\n (): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n // const state = getState();\r\n // const { selectedCustomer } = state.customers;\r\n // const { dealerId } = state.user;\r\n // if (selectedCustomer === undefined) return;\r\n // await CustomerAPI.deleteCustomer(dealerId, selectedCustomer.id);\r\n // dispatch(UpdateSelectedCustomer(undefined));\r\n // dispatch(fetchCustomers());\r\n } catch (error) {\r\n dispatch(UpdateSelectedTask(undefined));\r\n }\r\n };\r\n\r\nexport const searchCustomer =\r\n (value: string): AppThunk =>\r\n async (dispatch, getState): Promise => {\r\n try {\r\n dispatch(updateTaskSearchString(value));\r\n dispatch(fetchTasks());\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n };\r\n","import { get, post, put, destroy } from 'api';\r\nimport { store } from 'app';\r\nimport axios, { AxiosError, AxiosResponse } from 'axios';\r\nimport config from 'config';\r\nimport Roles from '../components/role/roles';\r\n\r\nimport User, { Permission, Role } from '../models/user';\r\n\r\nconst dealerUrl = config.get('api.dealer');\r\n\r\nconst UserAPI = {\r\n async getUsers(dmsDealerIdCrm: number, dealerId: number): Promise {\r\n const url = `${dealerUrl}/users/1/500`;\r\n let { data } = await get(url);\r\n return data;\r\n },\r\n async getUsersByDepartment(departmentId : number): Promise {\r\n const url = `${dealerUrl}/dealers/departments/${departmentId}/users`;\r\n let { data } = await get(url);\r\n return data;\r\n },\r\n async getRoles(dmsDealerIdCrm: number): Promise {\r\n const url = `${dealerUrl}/roles/100`;\r\n const { data } = await get(url);\r\n return data.data.map((x: any)=> ({roleId : x.id, roleName : x.name}));\r\n },\r\n async createRole(dmsDealerIdCrm : number, roleName : string, permissionIds : string[]): Promise{\r\n const url = `${dealerUrl}/role`;\r\n const response = await post(url, { dmsDealerId: dmsDealerIdCrm, Name : roleName, permissionIds });\r\n return {status : response.status, data : response.data};\r\n },\r\n async updateRole(dmsDealerIdCrm : number, roleId: string, roleName : string, permissions : Permission[]): Promise{\r\n const url = `${dealerUrl}/role/${roleId}`;\r\n const response = await put(url, { roleId, dmsDealerId: dmsDealerIdCrm, Name : roleName, permissions });\r\n return {status : response.status, data : response.data};\r\n },\r\n async deleteRole(dmsDealerIdCrm : number, roleId : string): Promise{\r\n const url = `${dealerUrl}/role/${roleId}`;\r\n let result = await destroy(url).then((response: AxiosResponse) => {\r\n return response;\r\n })\r\n .catch((reason: any) => { \r\n if (reason.statusCode === 424) {\r\n let k : any = {\r\n status: reason.statusCode, \r\n usersCount: reason.usersCount, \r\n usersInRole : reason.usersInRole\r\n }\r\n return k;\r\n } else { \r\n return {status : 500};\r\n }\r\n });\r\n return result;\r\n },\r\n async updateUserRole(dmsDealerIdCrm : number, newRoleId : string, currentRoleId : string, userIds : string[]): Promise{\r\n const url = `${dealerUrl}/user/role`;\r\n const updateUserRequest = { newRoleId : newRoleId, RoleId: currentRoleId, userId : userIds };\r\n const response = await put(url, updateUserRequest);\r\n return response;\r\n },\r\n async getPermissions(dmsDealerIdCrm : number) : Promise {\r\n const url = `${dealerUrl}/product/features/100`;\r\n const { data } = await get(url);\r\n return data.data.map((x: any)=> ({permissionId : x.id, permissionName : x.description}));\r\n },\r\n \r\n async getRoleById(dmsDealerIdCrm : number, roleId : string) : Promise{\r\n const url = `${dealerUrl}/role/${roleId}`;\r\n const { data } = await get(url);\r\n let roles : Role[] = data.data.map((x: any)=> (\r\n {\r\n roleId : x.id, \r\n roleName : x.name, \r\n permissions : x.rolePermissions.filter((z : any)=>z.permission).map((y : any)=> ({permissionId : y.permissionId, permissionName : y.featureDescription})) \r\n }\r\n ));\r\n return roles[0];\r\n },\r\n\r\n async updateUserDepartment(dmsDealerIdCrm: number, user: User, departmentIds: number[]): Promise {\r\n const url = `${dealerUrl}/v2/dealers/${dmsDealerIdCrm}/users/${user.crmUserId}/departments/batchUpdate`;\r\n const updateUserRequest = {\r\n departmentIds,\r\n crmUserId: user.crmUserId,\r\n };\r\n const { data } = await put(url, updateUserRequest);\r\n return data;\r\n },\r\n\r\n async updateUserRoles(dmsDealerIdCrm: number, user: User, roleIds: string[]): Promise {\r\n console.log(\"updateUserRoles called\");\r\n const url = `${dealerUrl}/user/role`;\r\n const permissions = (await this.getRoleById(111111,roleIds[0])).permissions;\r\n const updateUserRequest = { roleId : roleIds[0], userId: [user.crmUserId],permissions };\r\n const { data } = await post(url, updateUserRequest);\r\n return data;\r\n },\r\n\r\n};\r\n\r\nexport default UserAPI;\r\n","import { useAppSelector } from 'app';\r\nimport UserAPI from 'components/setting/api/user-api';\r\nimport User from 'components/setting/models/user';\r\nimport React from 'react';\r\n\r\nfunction useUsersList(dealerId: number, setUsersLoading?: any): User[] | undefined {\r\n const [users, setUsers] = React.useState(undefined);\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n React.useEffect(() => {\r\n async function fetchUsers(): Promise {\r\n setUsersLoading && setUsersLoading(true)\r\n const response = await UserAPI.getUsers(dmsDealerIdCrm, dealerId);\r\n setUsers(response);\r\n setUsersLoading && setUsersLoading(false)\r\n }\r\n fetchUsers();\r\n }, [dealerId, dmsDealerIdCrm]);\r\n return users;\r\n}\r\n\r\nexport default useUsersList;\r\n","import moment from 'moment';\r\nimport { dateTimeFormats } from './shared/shared-constants';\r\nimport { format } from 'date-fns';\r\n\r\n\r\n/**\r\n * Format date in m-dd-yyyy format\r\n * @param date\r\n * return Invalid date when invalid date is provided\r\n */\r\nexport default function formatDateTime(dateTime: Date): string {\r\n if (dateTime) {\r\n return `${\r\n dateTime.getMonth() + 1\r\n }-${dateTime.getDate()}-${dateTime.getFullYear()} ${dateTime.getHours()}:${dateTime.getMinutes()}:${dateTime.getSeconds()}`;\r\n }\r\n return '';\r\n}\r\n\r\nexport function getConversationFormattedDate(latestDateTime: string): string {\r\n if (latestDateTime === '') return '';\r\n const currentDateTime = moment().local();\r\n let timeStamp = '';\r\n const diffHours = moment.duration(currentDateTime.diff(latestDateTime)).asHours();\r\n if (diffHours <= 24) {\r\n timeStamp = moment(latestDateTime).local().format(dateTimeFormats.HourMinuteFormat);\r\n } else {\r\n timeStamp = moment(latestDateTime).local().format(dateTimeFormats.MonthDayFormat);\r\n }\r\n return timeStamp;\r\n}\r\n\r\nexport function getConversationFormattedDateNew(latestDateTime: string): string {\r\n if (latestDateTime === '') return '';\r\n let timeStamp = '';\r\n let dateTime = moment.utc(latestDateTime).local();\r\n \r\n if (dateTime == null)\r\n return timeStamp\r\n\r\n if (moment().local().isSame(dateTime, 'day')) {\r\n timeStamp = dateTime.format(dateTimeFormats.HourMinuteFormat);\r\n } else {\r\n timeStamp = dateTime.format(dateTimeFormats.MonthDayFormat);\r\n }\r\n\r\n if (timeStamp.toLowerCase() === 'invalid date') {\r\n timeStamp = '';\r\n }\r\n return timeStamp;\r\n }\r\n\r\nexport const formatDatePicker = (date: string): string => {\r\n if (date) return moment(date).format(dateTimeFormats.MonthDayYearFormat);\r\n else {\r\n return '';\r\n }\r\n};\r\n\r\n\r\nexport function formatDateTimeDateFns (dateTime:Date,dateformat:string ):string\r\n{\r\n let newDate = dateTime.toString().replace('T', ' ') + ' UTC';\r\n let dt = new Date(newDate);\r\n return format(dt, dateformat );\r\n}\r\n\r\n\r\n\r\n","export function isNotNullOrUndefined(object: any): boolean {\r\n return object !== undefined && object !== null;\r\n}\r\n","import { isNotNullOrUndefined } from './object-check';\r\n\r\nconst parseErrorMessage = (error: any) => {\r\n if (isNotNullOrUndefined(error)) {\r\n if (error.message === 'Network Error') {\r\n return 'Network error';\r\n }\r\n }\r\n return 'Something went wrong';\r\n};\r\n\r\nconst ErrorMessages = {\r\n standard: 'Something went wrong',\r\n networkError: 'Network Error',\r\n};\r\nexport { parseErrorMessage, ErrorMessages };\r\n","import {\r\n Box,\r\n Button,\r\n Checkbox,\r\n CircularProgress,\r\n FormControl,\r\n FormControlLabel,\r\n FormHelperText,\r\n Grid,\r\n InputLabel,\r\n MenuItem,\r\n Select,\r\n Switch,\r\n TextField,\r\n Theme,\r\n} from '@material-ui/core';\r\nimport { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';\r\nimport { Autocomplete } from '@material-ui/lab';\r\nimport { createStyles, makeStyles } from '@material-ui/styles';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { LoadingButton } from 'common/components/buttons/LoadingButton';\r\nimport { CustomerDto } from 'common/models/customer';\r\nimport { TaskListObject, UserTaskStatus } from 'components/lead/models/task';\r\nimport useUsersList from 'components/setting/components/department/userUsersList';\r\nimport User from 'components/setting/models/user';\r\nimport { useFormik } from 'formik';\r\nimport React, { forwardRef, useCallback, useImperativeHandle, useState, Ref, useEffect } from 'react';\r\nimport * as Yup from 'yup';\r\nimport CustomerAPI from '../../../../customer/api/CustomerAPI';\r\nimport CheckBoxIcon from '@material-ui/icons/CheckBox';\r\nimport CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank';\r\nconst icon = ;\r\nconst checkedIcon = ;\r\nimport TaskboardAPI from '../taskboard-api';\r\nimport moment from 'moment';\r\nimport { ITaskTimes, taskHours } from '../taskhours-step';\r\nimport { DatePicker, LocalizationProvider } from '@mui/lab';\r\nimport { formatDatePicker } from 'common/utils';\r\nimport useLocations from 'common/hooks/useLocations';\r\nimport { setDealerLocationId } from '../taskboardSlice';\r\n\r\ninterface TextMaskCustomProps {\r\n inputRef: (ref: HTMLInputElement | null) => void;\r\n}\r\n\r\nconst schema = Yup.object().shape({\r\n taskSubject: Yup.string().required('Required').max(50, 'Max length 50'),\r\n taskTypeId: Yup.number().nullable().required('Required').min(1, 'this field is required'),\r\n dealerId: Yup.number().nullable().required('Required').min(1, 'this field is required'),\r\n dueDate: Yup.string(),\r\n dueTime: Yup.string().when('dueDate', {\r\n is: (dueDate: any | undefined) => !!dueDate,\r\n then: Yup.string().required('Required') as any,\r\n otherwise: Yup.string() as any, // Make it optional when dueDate is not selected\r\n })\r\n});\r\n\r\nconst useStyles = makeStyles((theme: Theme): any =>\r\n createStyles({\r\n root: {\r\n marginTop: 10,\r\n width: '80%',\r\n textAlign: 'center',\r\n backgroundColor: theme.palette.background.paper,\r\n },\r\n avatar: {\r\n backgroundColor: '#3f51b5',\r\n },\r\n successIcon: {\r\n color: theme.palette.success.main,\r\n fontSize: 12,\r\n paddingRight: 5,\r\n position: 'absolute',\r\n marginTop: 10,\r\n marginLeft: -15,\r\n },\r\n errorIcon: {\r\n color: theme.palette.error.main,\r\n fontSize: 12,\r\n paddingRight: 5,\r\n position: 'absolute',\r\n marginTop: 10,\r\n marginLeft: -15,\r\n },\r\n removeEmailButton: {\r\n marginTop: '10px',\r\n marginLeft: '10px',\r\n },\r\n }),\r\n);\r\n\r\nexport interface TaskFormRef {\r\n getValues: () => null | TaskListObject;\r\n}\r\n\r\nconst TaskForm = forwardRef(\r\n (\r\n {\r\n task,\r\n onFormSubmit,\r\n onClose,\r\n onMarkAlreadyCompleted,\r\n disabled,\r\n btnDisabled,\r\n validate,\r\n reschedule,\r\n done,\r\n edit,\r\n hideButtons = true,\r\n previousCustomer,\r\n disableCustomerSelect\r\n }: {\r\n task?: TaskListObject;\r\n disabled: boolean;\r\n btnDisabled: boolean;\r\n validate: boolean;\r\n onFormSubmit(task: TaskListObject): void;\r\n done: boolean | null;\r\n onMarkAlreadyCompleted(status: boolean): void;\r\n onClose: () => void;\r\n reschedule: boolean;\r\n edit: boolean;\r\n hideButtons: boolean;\r\n previousCustomer: any;\r\n disableCustomerSelect?: boolean;\r\n },\r\n ref: Ref,\r\n ) => {\r\n // The component instance will be extended\r\n // with whatever you return from the callback passed\r\n // as the second argument\r\n\r\n const fontColor: any = {\r\n style: { color: 'rgb(50, 50, 50)' },\r\n };\r\n\r\n const classes: any = useStyles();\r\n const date = moment(task?.dueDate).format('dd/mm/yyyy') || '';\r\n const [openCalender, setOpenCalender] = useState(false);\r\n const time = task?.dueDate ? task?.dueDate.split('T')[1] : '';\r\n\r\n let initialValues: TaskListObject = {\r\n taskId: 0,\r\n dealerId: previousCustomer ? previousCustomer?.locationDealerId ?? 0 : 0,\r\n assignedUserId: '',\r\n assignedUsername: '',\r\n createdByUserId: '',\r\n createdByUserName: '',\r\n customerName: '',\r\n dateCreated: '',\r\n dateUpdated: '',\r\n dealerLocationName: '',\r\n dueDate: '',\r\n dueTime: '',\r\n followUpTaskId: 0,\r\n isFollowed: false,\r\n notes: '',\r\n customerId: previousCustomer ? previousCustomer?.customerId : '',\r\n taskStatus: '',\r\n taskSubject: '',\r\n taskType: '',\r\n taskStatusId: 1,\r\n taskTypeId: null,\r\n taskOutcomeId: null,\r\n taskOutcome: null,\r\n taskArchiveReason: '',\r\n isArchived: false,\r\n dealId: 0,\r\n dealTitle: '',\r\n };\r\n\r\n if (task !== undefined) {\r\n initialValues = {\r\n ...task,\r\n dueDate: task.dueDate ? moment.utc(task.dueDate).local().format().split('T')[0] : '',\r\n dueTime: task.dueDate ? moment.utc(task.dueDate).local().format().split('T')[1].slice(0, 5) : '',\r\n };\r\n }\r\n\r\n useImperativeHandle(ref, () => ({\r\n getValues() {\r\n const sanitizedValues = { ...formik.values };\r\n\r\n if (alreadyCompleted) {\r\n if (!formik.values.taskOutcomeId) {\r\n formik.setFieldError('taskOutcomeId', 'Required');\r\n }\r\n }\r\n sanitizedValues.assignedUserId = selectedUser ? selectedUser.crmUserId : '';\r\n sanitizedValues.customerId = selectedCustomer ? selectedCustomer.id : 0;\r\n sanitizedValues.customerName = selectedCustomer ? selectedCustomer.name : '',\r\n sanitizedValues.taskStatusId = alreadyCompleted ? UserTaskStatus.Completed : UserTaskStatus.New;\r\n if (formik.isValid) {\r\n let k: TaskListObject = { ...sanitizedValues };\r\n return k;\r\n }\r\n return null;\r\n },\r\n }));\r\n const selectedTasks = useAppSelector((state) => state.tasks.selectedTasks);\r\n\r\n const [alreadyCompleted, setAlreadyCompleted] = useState(false);\r\n const [followTask, setFollowTask] = useState(false);\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n const users = useUsersList(dealerId);\r\n const defaultUserValue: User = {\r\n crmUserId: '',\r\n dealerId: 0,\r\n departments: [],\r\n fullName: '',\r\n id: '',\r\n isActive: false,\r\n isAdmin: false,\r\n userId: 0,\r\n userRoles: [],\r\n username: '',\r\n };\r\n const defaultCustomerValue: CustomerDto = {\r\n id: 0,\r\n dealerId: 0,\r\n cellPhone: '',\r\n city: '',\r\n name: previousCustomer?.Name,\r\n verificationStatus: false,\r\n stateProvince: '',\r\n zipPostal: '',\r\n optIn: 0,\r\n };\r\n\r\n const currentUserId = useAppSelector((state) => state.user.crmUserId);\r\n const [openCustomerDropdown, setOpenCustomerDropdown] = React.useState(false);\r\n const [customerOptions, setCustomerOptions] = React.useState([]);\r\n const [customerloading, setCustomerLoading] = React.useState(false);\r\n const [taskTypes, setTaskTypes] = React.useState([]);\r\n const [selectedOutcome, setSelectedOutcome] = useState(0);\r\n const [outcomes, setOutcomes] = useState([]);\r\n const [taskTime, setTaskTime] = useState(taskHours);\r\n const dmsTypeId = useAppSelector((state) => state.user.dmsTypeId);\r\n\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n const { loading: locationLoading, locationOptions, defaultLocationOption } = useLocations(dmsDealerIdCrm);\r\n const dealerLocationId = useAppSelector((state: any) => state.tasks.dealerId);\r\n\r\n const dispatch = useAppDispatch();\r\n // let userPermissions = useAppSelector((state) => state.user?.userPermissions);\r\n // let isCustomerPermission = 0;\r\n // if (!userPermissions) {\r\n // userPermissions = [];\r\n // isCustomerPermission = 2;\r\n // } \r\n // if (isCustomerPermission == 0) {\r\n // if (userPermissions.find((x) => x.featureName.toLowerCase() === 'customers')) {\r\n // isCustomerPermission = 1;\r\n // } \r\n // }\r\n\r\n if (initialValues.dealerId === 0 && locationOptions?.length == 1) { // This condition sets the location to the first value of dealer location if only one dealer location is available \r\n initialValues.dealerId = locationOptions[0].dealerLocationId;\r\n } \r\n\r\n const onCustomerDropdownChange = async (value: string) => {\r\n setCustomerLoading(true);\r\n let data = await CustomerAPI.getCustomers(dealerId, 0, 10, value);\r\n if (data) {\r\n let customers = data?.customers.map((x: any) => ({\r\n name:\r\n x.name +\r\n `${dmsTypeId != 1 && (x.organizationName && x.organizationName != '') ? ' - ' + x.organizationName : ''}`,\r\n id: x.id,\r\n }));\r\n setCustomerOptions(customers);\r\n } else {\r\n setCustomerOptions([]);\r\n }\r\n setCustomerLoading(false);\r\n };\r\n const getOutcomeList = useCallback(async (): Promise => {\r\n let data = await TaskboardAPI.getTaskOutcomes();\r\n setOutcomes(data);\r\n }, [1]);\r\n\r\n React.useEffect(() => {\r\n getOutcomeList();\r\n }, [getOutcomeList]);\r\n\r\n const getTaskTypeList = useCallback(async (): Promise => {\r\n let data = await TaskboardAPI.getTaskTypes();\r\n setTaskTypes(data);\r\n }, [1]);\r\n\r\n React.useEffect(() => {\r\n getTaskTypeList();\r\n }, [getTaskTypeList]);\r\n\r\n const handleUserChange = (val: User) => {\r\n // if(val && val.crmUserId){\r\n // formik.setFieldValue('assignedUserId', val.crmUserId);\r\n // }else{\r\n // formik.setFieldValue('assignedUserId', '');\r\n // }\r\n\r\n if (val && val.crmUserId !== currentUserId) {\r\n setFollowTask(true);\r\n } else {\r\n setFollowTask(false);\r\n }\r\n setSelectedUser(val);\r\n };\r\n\r\n // id: number;\r\n // dealerId: number;\r\n // name : string;\r\n // cellPhone : string;\r\n // verificationStatus: boolean;\r\n // optIn: number;\r\n // city : string;\r\n // stateProvince : string;\r\n // zipPostal : string;\r\n\r\n let customer: CustomerDto | null = null;\r\n if (task) {\r\n customer = {\r\n id: task.customerId,\r\n dealerId: 0,\r\n cellPhone: '',\r\n city: '',\r\n name: task.customerName,\r\n verificationStatus: false,\r\n stateProvince: '',\r\n zipPostal: '',\r\n optIn: 0,\r\n };\r\n } else if (previousCustomer) {\r\n customer = {\r\n id: previousCustomer?.customerId,\r\n dealerId: 0,\r\n cellPhone: '',\r\n city: '',\r\n name: previousCustomer?.customerName,\r\n verificationStatus: false,\r\n stateProvince: '',\r\n zipPostal: '',\r\n optIn: 0,\r\n };\r\n }\r\n\r\n const [selectedUser, setSelectedUser] = useState(null);\r\n const [selectedCustomer, setSelectedCustomer] = useState(customer);\r\n React.useEffect(() => {\r\n if (selectedCustomer) {\r\n let k: any = customer;\r\n if (k) {\r\n setCustomerOptions([k]);\r\n }\r\n } else {\r\n setCustomerOptions([]);\r\n }\r\n if (!open) {\r\n onCustomerDropdownChange('');\r\n }\r\n }, [open, selectedCustomer]);\r\n\r\n React.useEffect(() => {\r\n let selectedCrmUserId = '';\r\n if (task) {\r\n selectedCrmUserId = task.assignedUserId;\r\n } else {\r\n selectedCrmUserId = currentUserId;\r\n }\r\n const currentUser = users?.filter((x) => x.crmUserId.toUpperCase() === selectedCrmUserId.toUpperCase())[0];\r\n if (currentUser) {\r\n setSelectedUser(currentUser);\r\n }\r\n }, [users]);\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n validationSchema: schema,\r\n enableReinitialize: true,\r\n onSubmit: (values: TaskListObject) => {\r\n const sanitizedValues = { ...values };\r\n if (!alreadyCompleted) {\r\n if (!values.dueDate || !values.dueTime) {\r\n formik.setFieldValue('dueDate', '');\r\n } else {\r\n const dueDateWithTime = moment\r\n .utc(new Date(sanitizedValues.dueDate.split('T')[0] + 'T' + sanitizedValues.dueTime))\r\n .format();\r\n formik.setFieldValue('dueDate', dueDateWithTime);\r\n }\r\n }\r\n\r\n if (alreadyCompleted) {\r\n if (!formik.values.taskOutcomeId) {\r\n formik.setFieldError('taskOutcomeId', 'Required');\r\n }\r\n }\r\n sanitizedValues.assignedUserId = selectedUser ? selectedUser.crmUserId : '';\r\n sanitizedValues.customerId = selectedCustomer ? selectedCustomer.id : 0;\r\n sanitizedValues.taskStatusId = alreadyCompleted ? UserTaskStatus.Completed : UserTaskStatus.New;\r\n onFormSubmit(sanitizedValues);\r\n },\r\n });\r\n\r\n const handleSave = () => {\r\n formik.setTouched({\r\n taskSubject: true,\r\n taskTypeId: true,\r\n dealerId: true,\r\n dueDate: true,\r\n //dueTime: true\r\n });\r\n formik.validateForm().then((errors) => {\r\n if (Object.keys(errors).length === 0) {\r\n formik.submitForm();\r\n } else {\r\n // Optionally\r\n formik.setTouched({ ...formik.touched, taskSubject: true, taskTypeId: true, dealerId: true, dueDate: true, dueTime: true }, false);\r\n }\r\n });\r\n };\r\n useEffect(() => {\r\n const newDate = moment.utc().toDate().toISOString().split('T')[0];\r\n if (formik.values.dueDate.length > 0 && formik.values.dueDate < newDate) {\r\n formik.setFieldValue('dueDate', newDate);\r\n }\r\n }, []);\r\n\r\n function taskDateTimeFilter() {\r\n const currentTime = new Date();\r\n const hours = currentTime.getHours().toString().padStart(2, '0');\r\n const minutes = currentTime.getMinutes().toString().padStart(2, '0');\r\n const formattedTime = `${hours}:${minutes}`;\r\n const currentDate = `${currentTime.getFullYear()}-${(currentTime.getMonth() + 1)\r\n .toString()\r\n .padStart(2, '0')}-${currentTime.getDate().toString().padStart(2, '0')}`;\r\n if (formik.values.dueDate === currentDate) {\r\n const time: ITaskTimes[] = taskTime.filter((x: ITaskTimes) => x.value > formattedTime);\r\n const formikTime = formik.values.dueTime.length > 0 && time.find((x: ITaskTimes) => x.value === formik.values.dueTime);\r\n if ((formikTime ?? '') === '') {\r\n formik.setFieldValue('dueTime', '');\r\n }\r\n setTaskTime(time);\r\n } else {\r\n setTaskTime(taskHours);\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n const interval = setInterval(() => {\r\n taskDateTimeFilter();\r\n }, 500);\r\n return () => clearInterval(interval);\r\n }, [formik.values.dueDate, formik.values.dueTime]);\r\n\r\n return (\r\n
        \r\n {edit && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n {(done === true || done === null) && (\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {!reschedule && !done && (\r\n \r\n \r\n {\r\n setAlreadyCompleted(e.target.checked);\r\n onMarkAlreadyCompleted(e.target.checked);\r\n }}\r\n name=\"alreadyCompleted\"\r\n color=\"primary\"\r\n />\r\n }\r\n label=\"Already Completed\"\r\n labelPlacement=\"start\"\r\n />\r\n \r\n \r\n )}\r\n \r\n \r\n\r\n \r\n \r\n {\r\n setSelectedCustomer(values);\r\n }}\r\n open={openCustomerDropdown}\r\n onOpen={() => {\r\n setOpenCustomerDropdown(true);\r\n }}\r\n onClose={() => {\r\n setOpenCustomerDropdown(false);\r\n }}\r\n getOptionSelected={(option: any, value: any) => option.id === value.id}\r\n getOptionLabel={(option: any) => option.name || ''}\r\n options={customerOptions}\r\n filterOptions={(customerOptions) => customerOptions}\r\n loading={customerloading}\r\n renderInput={(params) => (\r\n {\r\n if (ev.target.value !== '' || ev.target.value !== null) {\r\n onCustomerDropdownChange(ev.target.value);\r\n }\r\n }}\r\n InputProps={{\r\n ...params.InputProps,\r\n endAdornment: (\r\n <>\r\n {customerloading ? : null}\r\n {params.InputProps.endAdornment}\r\n \r\n ),\r\n }}\r\n style={{ color: 'rgb(50, 50, 50) !important' }}\r\n />\r\n )}\r\n />\r\n \r\n\r\n \r\n \r\n handleUserChange(values)}\r\n getOptionLabel={(option: any) => option.username}\r\n disableCloseOnSelect\r\n placeholder={selectedUser?.username}\r\n getOptionSelected={(option: User, value: User): boolean => {\r\n return option.crmUserId === value.crmUserId;\r\n }}\r\n renderOption={(option, { selected }) => (\r\n <>\r\n \r\n {option.username}\r\n \r\n )}\r\n renderInput={(params) => (\r\n \r\n )}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n Location *\r\n \r\n {\r\n formik.handleChange(e);\r\n formik.setFieldValue('dealerId', opt.props.value);\r\n }}>\r\n {locationOptions &&\r\n locationOptions.map((loc) => (\r\n \r\n {loc.name === 'All Locations' ? 'Select Location' : loc.name}\r\n \r\n ))}\r\n \r\n {!!formik.errors.dealerId && (\r\n {formik.errors.dealerId}\r\n )}\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n {alreadyCompleted && (\r\n \r\n \r\n \r\n Outcome\r\n \r\n {\r\n formik.handleChange(e);\r\n formik.setFieldValue('taskOutcomeId', opt.props.value);\r\n }}>\r\n {outcomes?.map((x: any) => (\r\n {x.value}\r\n ))}\r\n \r\n {!!formik.errors.taskOutcomeId && (\r\n {formik.errors.taskOutcomeId}\r\n )}\r\n \r\n \r\n )}\r\n {!alreadyCompleted && (\r\n <>\r\n \r\n \r\n \r\n setOpenCalender(false)}\r\n minDate={new Date()}\r\n maxDate={new Date('2099-12-31')}\r\n value={formatDatePicker(formik.values.dueDate)}\r\n onChange={(e: any) => {\r\n if (e) {\r\n formik.setFieldValue(\r\n 'dueDate',\r\n moment.utc(formatDatePicker(e)).toDate().toISOString().split('T')[0],\r\n true,\r\n );\r\n setOpenCalender(false);\r\n }\r\n }}\r\n renderInput={(params: any) => {\r\n params.error = !!formik.errors.dueDate;\r\n return (\r\n {\r\n e.preventDefault();\r\n }}\r\n onClick={() => {\r\n setOpenCalender(!openCalender);\r\n }}\r\n variant=\"outlined\"\r\n />\r\n );\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n {taskTime.map((hour: ITaskTimes) => (\r\n \r\n {hour.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n Task Type *\r\n \r\n {\r\n formik.handleChange(e);\r\n formik.setFieldValue('taskTypeId', opt.props.value);\r\n }}>\r\n {taskTypes?.map((x: any) => (\r\n {x.value}\r\n ))}\r\n \r\n {!!formik.errors.taskTypeId && (\r\n {formik.errors.taskTypeId}\r\n )}\r\n \r\n \r\n \r\n \r\n\r\n {/* {\r\n currentUserId !== selectedUser?.crmUserId && !reschedule &&\r\n \r\n \r\n \r\n { setFollowTask(e.target.checked) }}\r\n name=\"followTask\"\r\n color=\"primary\"\r\n />\r\n }\r\n label=\"Follow Task\"\r\n labelPlacement=\"start\"\r\n />\r\n \r\n \r\n\r\n } */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n {(done == true || done == null) && edit === false && !hideButtons && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n formik.handleSubmit(e);\r\n }}>\r\n Save\r\n \r\n \r\n \r\n \r\n )}\r\n
        \r\n );\r\n },\r\n);\r\nexport default TaskForm;\r\n","import { Box, Container, FormControlLabel, makeStyles, Switch, Typography } from '@material-ui/core';\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\nimport React, { ReactElement, useRef, useState, Ref } from 'react';\r\nimport { useAppDispatch } from 'app';\r\nimport { hideTaskDrawer, saveTask } from '../taskboardSlice';\r\nimport TaskForm, { TaskFormRef } from './TaskForm';\r\nimport { Task, TaskListObject } from 'components/lead/models/task';\r\nimport moment from 'moment';\r\n\r\nconst useStyles = makeStyles(() => ({\r\n title: {\r\n textTransform: 'capitalize',\r\n },\r\n}));\r\n\r\nlet alreadySelectedCustomer = {\r\n customerId: 0,\r\n customerName: '',\r\n locationDealerId:0,\r\n};\r\n\r\nfunction TaskAddDrawer(props: any): ReactElement {\r\n const dispatch = useAppDispatch();\r\n\r\n const classes: any = useStyles();\r\n const [followTask, setFollowTask] = useState(false);\r\n const [alreadyCompleted, setAlreadyCompleted] = useState(false);\r\n\r\n const taskFormRef = useRef(null);\r\n const followUpTaskFormRef = useRef(null);\r\n \r\n let preSelectedCustomer: any = new Object();\r\n\r\n if (props.customer) {\r\n preSelectedCustomer.customerId = props.customer.crmCustomerId\r\n preSelectedCustomer.customerName = \r\n props.customer.name && props.customer.name.trim() && props.customer.name !== \", \"\r\n ? props.customer.name\r\n : props.customer.lastName && props.customer.firstName \r\n ? `${props.customer.lastName.trim()}, ${props.customer.firstName.trim()}`\r\n : props.customer.lastName && props.customer.lastName.trim()\r\n || props.customer.firstName && props.customer.firstName.trim()\r\n || props.customer.middleName && props.customer.middleName.trim()\r\n || props.customer.organizationName \r\n || '' }\r\n const handleTaskFormSubmit = (task: TaskListObject): void => {\r\n if (taskFormRef && taskFormRef.current) {\r\n let task1 = taskFormRef.current.getValues();\r\n let task2 = null;\r\n if (task1) {\r\n if (followTask) {\r\n if (followUpTaskFormRef && followUpTaskFormRef.current) {\r\n task2 = followUpTaskFormRef.current.getValues();\r\n }\r\n }\r\n }\r\n if (task1 && task2) {\r\n // if (task2.dueDate.length < 12) {\r\n // task2.dueDate = moment.utc(new Date(task2.dueDate + 'T' + task2.dueTime)).format();\r\n // }\r\n dispatch(saveTask(task1, task2));\r\n } else if (task1) {\r\n // if (task1.dueDate.length < 12) {\r\n // task1.dueDate = moment.utc(new Date(task1.dueDate + 'T' + task1.dueTime)).format();\r\n // }\r\n dispatch(saveTask(task1));\r\n }\r\n }\r\n };\r\n const handleOnClose = (): void => {\r\n dispatch(hideTaskDrawer());\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n {\r\n setAlreadyCompleted(e);\r\n }}\r\n validate\r\n reschedule={false}\r\n done={null}\r\n edit={false}\r\n hideButtons={alreadyCompleted && followTask}\r\n previousCustomer={props.customer? preSelectedCustomer: null}\r\n disableCustomerSelect={props.customer? true : false}\r\n />\r\n\r\n {alreadyCompleted && (\r\n <>\r\n
        \r\n \r\n \r\n Follow-Up task (Optional)\r\n {\r\n setFollowTask(e.target.checked);\r\n alreadySelectedCustomer = {\r\n customerId: taskFormRef?.current?.getValues()?.customerId ?? 0,\r\n customerName: taskFormRef?.current?.getValues()?.customerName ?? '',\r\n locationDealerId: taskFormRef?.current?.getValues()?.dealerId ?? 0,\r\n };\r\n //Re-render component again\r\n setAlreadyCompleted(false);\r\n setTimeout(() => {\r\n setAlreadyCompleted(true);\r\n }, 0);\r\n }}\r\n name=\"followTask\"\r\n color=\"primary\"\r\n />\r\n }\r\n label=\"\"\r\n labelPlacement=\"start\"\r\n />\r\n \r\n \r\n\r\n {}}\r\n done={followTask}\r\n validate\r\n reschedule={false}\r\n edit={false}\r\n hideButtons={!alreadyCompleted}\r\n previousCustomer={alreadySelectedCustomer}\r\n disableCustomerSelect={props.customer? true : false}\r\n />\r\n \r\n )}\r\n
        \r\n \r\n );\r\n}\r\n\r\nexport default TaskAddDrawer;\r\n","import React from 'react';\r\n\r\nexport const TaskContext = React.createContext<{\r\n taskTodoOrOverdueCount: number;\r\n fetchTodoOrOverdueCount(): void;\r\n}>({ taskTodoOrOverdueCount: 0, fetchTodoOrOverdueCount: () => undefined });\r\nTaskContext.displayName = 'TaskContext';\r\n\r\nexport default TaskContext;\r\n","import {\r\n Box,\r\n Button,\r\n CircularProgress,\r\n Container,\r\n Divider,\r\n Drawer,\r\n Grid,\r\n IconButton,\r\n makeStyles,\r\n TextField,\r\n Theme,\r\n Toolbar,\r\n Typography,\r\n} from '@material-ui/core';\r\nimport { Editor } from '@tinymce/tinymce-react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport React, { ReactElement, useEffect, useState } from 'react';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport { useFormik } from 'formik';\r\nimport { TaskListObject, TaskListRescheduleRequest } from 'components/lead/models/task';\r\nimport { forEach, initial } from 'lodash';\r\nimport { rescheduleTaskList, SetAllSelectedTasks, SetSelectedTasks } from '../taskboardSlice';\r\nconst init = {\r\n height: 200,\r\n convert_urls: true,\r\n plugins: 'lists',\r\n toolbar: `bullist numlist | bold italic underline | alignleft aligncenter alignright alignjustify`,\r\n menubar: false,\r\n branding: false,\r\n};\r\nconst fontColor: any = {\r\n style: { color: 'rgb(50, 50, 50)' },\r\n};\r\nconst useStyles = makeStyles((theme: Theme) => ({\r\n textFieldPadding: {\r\n marginTop: '5%',\r\n },\r\n\r\n archive: {\r\n background: theme.palette.info.main,\r\n color: theme.palette.common.white,\r\n },\r\n}));\r\nexport function TaskArchiveDrawer({\r\n open,\r\n onClose,\r\n selectedTasks,\r\n}: {\r\n open: boolean;\r\n onClose(val: boolean): void;\r\n selectedTasks: TaskListObject[];\r\n}): ReactElement {\r\n const classes = useStyles();\r\n const dispatch = useAppDispatch();\r\n const [editorLoader, setEditorLoader] = useState(true);\r\n const formik = useFormik({\r\n initialValues: {\r\n taskArchiveReason: '',\r\n },\r\n onSubmit: (values) => {\r\n let taskArchiveList: TaskListRescheduleRequest = {\r\n taskIds: selectedTasks.map((x) => x.taskId),\r\n isArchived: true,\r\n taskArchiveReason: values.taskArchiveReason,\r\n };\r\n dispatch(rescheduleTaskList(taskArchiveList));\r\n dispatch(SetSelectedTasks([]));\r\n dispatch(SetAllSelectedTasks(false));\r\n formik.resetForm();\r\n onClose(false);\r\n },\r\n });\r\n return (\r\n onClose(false)}>\r\n \r\n \r\n \r\n Archive {selectedTasks.length} {selectedTasks.length > 1 ? 'Tasks' : 'Task'}\r\n \r\n onClose(false)}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n x.dealStateId == DealsState.Lost).length > 0}\r\n variant=\"contained\"\r\n size=\"small\"\r\n color=\"primary\"\r\n onClick={() => formik.handleSubmit()}>\r\n Save\r\n \r\n \r\n \r\n {/* \r\n \r\n \r\n {editorLoader && (\r\n
        \r\n \r\n
        \r\n )}\r\n x.dealStateId == DealsState.Lost).length > 0}\r\n onEditorChange={(e) => {\r\n formik.handleChange({\r\n target: {\r\n name: `taskLostReason`,\r\n value: e,\r\n },\r\n });\r\n }}\r\n onInit={() => {\r\n setEditorLoader(false);\r\n }}\r\n apiKey={textEditorApiKey ||''}\r\n init={init}>\r\n
        \r\n
        \r\n
        */}\r\n \r\n \r\n \r\n formik.handleChange(e)}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}\r\n inputProps={fontColor}\r\n />\r\n \r\n \r\n \r\n
        \r\n
        \r\n
        \r\n
        \r\n );\r\n}\r\n","export enum DealStatusEnum {\r\n Open = 1,\r\n Won = 2,\r\n Lost = 3,\r\n Archive = 4,\r\n}\r\n","import { Theme } from '@material-ui/core';\r\nimport makeStyles from '@material-ui/core/styles/makeStyles';\r\n\r\nconst useStyles = makeStyles((theme: Theme) => ({\r\n headerLostBtn: {\r\n background: '#e53935 !important',\r\n color: theme.palette.common.white,\r\n float: 'right',\r\n marginLeft: '5px',\r\n },\r\n headerWonBtn: {\r\n background: '#28a62e !important',\r\n color: theme.palette.common.white,\r\n float: 'right',\r\n marginLeft: '5px',\r\n },\r\n headerSaveBtn: {\r\n float: 'right',\r\n },\r\n footerArchiveBtn: {\r\n background: '#2196f3 !important',\r\n color: theme.palette.common.white,\r\n },\r\n editIcon: {\r\n cursor: 'pointer',\r\n marginTop: '-5px',\r\n marginLeft: '5px',\r\n },\r\n editInput1: {\r\n height: '5px',\r\n width: '338px',\r\n },\r\n editInput2: {\r\n height: '0px',\r\n },\r\n editSelect: {\r\n height: '0px',\r\n width: '140px',\r\n },\r\n clearIcon: {\r\n cursor: 'pointer',\r\n fontSize: '1.5rem !important',\r\n },\r\n drawerIcon: {\r\n marginTop: '-2px',\r\n marginRight: '5px',\r\n },\r\n iconButton: {\r\n background: '#1976D2',\r\n color: 'white',\r\n marginLeft: '5px',\r\n height: '20px',\r\n width: '20px',\r\n fontSize: '1rem',\r\n '&:hover': {\r\n backgroundColor: '#1976D2 !important',\r\n color: 'white !important',\r\n },\r\n },\r\n stageChip: {\r\n minWidth: '60px',\r\n minHeight: '30px',\r\n borderRadius: '5px',\r\n },\r\n drawerRightWindow: {\r\n boxShadow: '0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%)',\r\n backgroundColor: '#858585',\r\n //maxHeight: '550px',\r\n overflow: 'auto',\r\n },\r\n timelineContentChip: {\r\n marginTop: '5px !important',\r\n padding: '0 !important',\r\n },\r\n timelineDealCreated: {\r\n marginTop: '10px',\r\n color: '#ffffff',\r\n },\r\n clearSubIcon: {\r\n cursor: 'pointer',\r\n fontSize: '1.1rem !important',\r\n marginTop: '-1px',\r\n },\r\n errorMsg: {\r\n color: '#e53935',\r\n fontSize: '12px',\r\n fontWeight: 400,\r\n letterSpacing: '-0.06px',\r\n padding: '5px',\r\n },\r\n //Class for the tabs\r\n dealHistoryBox: {\r\n width: '100%',\r\n },\r\n dealTimeline: {\r\n padding: '0 !important',\r\n marginLeft: '-15px',\r\n },\r\n dealHistoryTitle: {\r\n borderRadius: '5px',\r\n marginTop: '10px',\r\n },\r\n dealHistoryChatBox: {\r\n border: 'solid 1px',\r\n padding: '8px',\r\n borderRadius: '15px',\r\n marginBottom: '10px',\r\n overflowWrap: 'anywhere',\r\n backgroundColor: '#ffffff !important',\r\n },\r\n dealHistoryNote: {\r\n fontSize: 'small',\r\n height: '36px',\r\n overflowY: 'auto',\r\n },\r\n taskScheduledChip: {\r\n fontSize: 'x-small',\r\n float: 'right',\r\n },\r\n taskCompletedChip: {\r\n background: '#28a62e !important',\r\n color: theme.palette.common.white,\r\n fontSize: 'x-small',\r\n float: 'right',\r\n },\r\n fieldPadding: {\r\n paddingBottom: '3%',\r\n },\r\n floatRight: {\r\n float: 'right',\r\n },\r\n paddingRight2Percentage: {\r\n paddingRight: '2%',\r\n },\r\n chipStyles: {\r\n color: 'white',\r\n fontWeight: 'bold',\r\n borderRadius: '5px',\r\n height: '20px',\r\n },\r\n muiPopoverPaper: {\r\n '@media screen and (max-width: 1280px)': {\r\n width: '50%',\r\n maxHeight: '200px !important',\r\n top: '40% !important',\r\n left: '0 !important',\r\n right: '0',\r\n margin: '0 auto',\r\n },\r\n },\r\n disableGray: {\r\n color: '#bdbdbd',\r\n cursor: 'not-allowed',\r\n },\r\n fileUploaderBox: {\r\n width: \"400px\", \r\n height: \"150px\", \r\n display: \"flex\",\r\n flexDirection: \"column\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n border: \"4px dashed #555\", \r\n borderRadius: \"20px\",\r\n backgroundColor: \"#f0f0f0\"\r\n },\r\n fileUploadStatusBox: {\r\n display: 'flex',\r\n flexDirection: 'column',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n height: '70px',\r\n },\r\n fileUploadTextBox: {\r\n display: \"flex\",\r\n flexDirection: \"column\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n border: \"3px solid #555\", \r\n backgroundColor: \"white\",\r\n padding: \"0 5px\",\r\n borderRadius: \"4px\",\r\n },\r\n pdfIcon: {\r\n marginRight: '4px'\r\n },\r\n pdfName: {\r\n position: 'absolute',\r\n top: '-5px',\r\n left: '50%',\r\n transform: 'translateX(-50%)',\r\n padding: '8px',\r\n color: 'white',\r\n whiteSpace: 'nowrap',\r\n },\r\n arrowBackButton: {\r\n color: 'white',\r\n backgroundColor: 'rgb(51, 51, 51)',\r\n fontWeight: 'bold',\r\n padding: '1px 5px',\r\n borderRadius: '1px',\r\n top: '5px',\r\n left: '10px',\r\n width: 'auto',\r\n height: '18px',\r\n minWidth: '0px'\r\n },\r\n newTabButton: {\r\n position: 'absolute',\r\n top: '5px',\r\n bottom: '10px',\r\n right: '10px',\r\n color: 'white',\r\n backgroundColor: 'rgb(51, 51, 51)',\r\n fontWeight: 'bold',\r\n padding: '1px 5px',\r\n borderRadius: '2px',\r\n height: '18px',\r\n display: 'flex',\r\n alignItems: 'center',\r\n textTransform: 'none',\r\n }\r\n}));\r\n\r\nexport default useStyles;\r\n","import { Modal, Box, Button, Typography } from '@material-ui/core';\r\nimport ArrowBackIcon from '@material-ui/icons/ArrowBack';\r\nimport useStyles from '../styles/deal-edit-drawer-styles';\r\n\r\nconst PdfPreviewModal = ({ openModal, openPdf, fileName, selectedPdf } : {openModal: boolean, openPdf: any, fileName: string, selectedPdf: string}) => {\r\nconst classes: any = useStyles();\r\n return (\r\n openPdf(false, null, null)}\r\n style={{\r\n display: 'flex',\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n overflow: 'hidden',\r\n }}\r\n >\r\n \r\n \r\n \r\n {fileName}\r\n \r\n openPdf(false, null, null)}\r\n onMouseOver={(e) => e.currentTarget.style.backgroundColor = 'rgb(61, 61, 61)'}\r\n onMouseOut={(e) => e.currentTarget.style.backgroundColor = 'rgb(51, 51, 51)'}\r\n >\r\n \r\n \r\n window.open(selectedPdf, '_blank')}\r\n onMouseOver={(e) => e.currentTarget.style.backgroundColor = 'rgb(61, 61, 61)'}\r\n onMouseOut={(e) => e.currentTarget.style.backgroundColor = 'rgb(51, 51, 51)'}\r\n >\r\n \r\n Open in new tab\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default PdfPreviewModal;\r\n","import { Dialog, DialogActions, DialogContent, IconButton } from '@material-ui/core';\r\nimport { TransitionProps } from '@material-ui/core/transitions';\r\nimport Zoom from '@material-ui/core/Zoom';\r\nimport ClearIcon from '@material-ui/icons/Clear';\r\nimport React from 'react';\r\n\r\nconst Transition = React.forwardRef(function Transition(\r\n props: TransitionProps & { children?: React.ReactElement },\r\n ref: React.Ref\r\n) {\r\n return ;\r\n});\r\n\r\nexport default function ImageModal({\r\n open,\r\n onClose,\r\n imageSrc,\r\n}: {\r\n open: boolean;\r\n imageSrc?: string;\r\n onClose(event: any): void;\r\n}): React.ReactElement {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {imageSrc}\r\n \r\n \r\n );\r\n}\r\n","export function getFileExtension(fileUrl: any) {\r\n const parts = fileUrl.split('.');\r\n\r\n const lastPart = parts[parts.length - 1];\r\n if (lastPart.length > 0) {\r\n return lastPart.toLowerCase();\r\n }\r\n return null;\r\n }","import * as React from 'react';\r\nimport Box from '@mui/material/Box';\r\nimport Tab from '@mui/material/Tab';\r\nimport TabContext from '@mui/lab/TabContext';\r\nimport TabList from '@mui/lab/TabList';\r\nimport TabPanel from '@mui/lab/TabPanel';\r\nimport { Editor } from '@tinymce/tinymce-react';\r\nimport Timeline from '@mui/lab/Timeline';\r\nimport TimelineItem from '@mui/lab/TimelineItem';\r\nimport TimelineSeparator from '@mui/lab/TimelineSeparator';\r\nimport TimelineConnector from '@mui/lab/TimelineConnector';\r\nimport TimelineContent from '@mui/lab/TimelineContent';\r\nimport TimelineDot from '@mui/lab/TimelineDot';\r\nimport { Button, Chip, CircularProgress, Grid, IconButton, MenuItem, Switch, TextField, Typography } from '@material-ui/core';\r\nimport { TimelineOppositeContent } from '@material-ui/lab';\r\nimport useStyles from '../styles/deal-edit-drawer-styles';\r\nimport TextLimitField from 'common/components/input-fields/TextLimitField';\r\nimport { DealAttachment, DealNote, DealTask, DealTimeline } from '../model/deal-edit-drawer';\r\nimport moment from 'moment';\r\nimport * as Yup from 'yup';\r\nimport { useFormik } from 'formik';\r\nimport NoteIcon from '@mui/icons-material/Note';\r\nimport AssignmentIcon from '@mui/icons-material/Assignment';\r\nimport FilterListIcon from '@mui/icons-material/FilterList';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';\r\nimport { DatePicker, LocalizationProvider } from '@mui/lab';\r\nimport { ITaskTimes, taskHours } from 'components/lead/components/task-board/taskhours-step';\r\nimport { formatDatePicker } from 'common/utils/format-date';\r\nimport { DealStatusEnum } from '../model/DealStatusEnum';\r\nimport Accordion from '@mui/material/Accordion';\r\nimport AccordionSummary from '@mui/material/AccordionSummary';\r\nimport AccordionDetails from '@mui/material/AccordionDetails';\r\nimport ExpandMoreIcon from '@mui/icons-material/ExpandMore';\r\nimport { DropEvent, FileRejection, useDropzone } from 'react-dropzone';\r\nimport AttachFileIcon from '@material-ui/icons/AttachFile';\r\nimport ImageLibraryButton from 'components/image-library/components/image-library-modal';\r\nimport { post } from 'api';\r\nimport { AxiosResponse } from 'axios';\r\nimport { showSnackbar } from 'components/root-snackbar';\r\nimport CloudUploadIcon from '@mui/icons-material/CloudUpload';\r\nimport config from 'config';\r\nimport { GetAttachments } from 'dmsAppsCallbacks';\r\nimport PdfPreviewModal from './PdfPreviewModal';\r\nimport ImageModal from 'components/messaging/components/conversation-panel/image-modal';\r\nimport AttachmentIcon from '@mui/icons-material/Attachment';\r\nimport { getFileExtension } from 'common/utils/shared/getFileExtension';\r\n\r\nconst textEditorApiKey = config.get('api.textEditor');\r\n\r\nconst editorInit = {\r\n height: 150,\r\n convert_urls: true,\r\n plugins: 'lists',\r\n toolbar: `bullist numlist | bold italic underline | alignleft aligncenter alignright alignjustify`,\r\n menubar: false,\r\n branding: false,\r\n force_br_newlines: true,\r\n force_p_newlines: false,\r\n forced_root_block: '', // Needed for 3.x\r\n};\r\n\r\nexport interface DmsAttachmentAttribute{\r\n name: string,\r\n size: number,\r\n\r\n}\r\n\r\nconst sortDealTimeline = (list: DealTimeline[]): DealTimeline[] => {\r\n //Take scheduled tasks always on the top and then sort by date\r\n let scheduledList = list.filter((x) => !x.isAlreadyCompleted);\r\n scheduledList = scheduledList.sort((x: DealTimeline, y: DealTimeline) => {\r\n return new Date(x.date).getTime() - new Date(y.date).getTime();\r\n });\r\n let othersList = list.filter((x) => x.isAlreadyCompleted);\r\n othersList = othersList.sort((x: DealTimeline, y: DealTimeline) => {\r\n return new Date(y.date).getTime() - new Date(x.date).getTime();\r\n });\r\n const finalList = scheduledList.concat(othersList);\r\n return finalList;\r\n};\r\n\r\nlet formikNote: any = undefined;\r\nlet timelines: DealTimeline[] = [];\r\nfunction DealEditDrawerTabs({\r\n formik,\r\n taskTypes,\r\n taskOutcomes,\r\n dealerUsers,\r\n filesToUpload,\r\n removedDealAttachments\r\n}: {\r\n formik: any;\r\n taskTypes: any[];\r\n taskOutcomes: any[];\r\n dealerUsers: any[] | undefined;\r\n filesToUpload: DealAttachment[];\r\n removedDealAttachments: DealAttachment[];\r\n}) {\r\n const classes: any = useStyles();\r\n const [value, setValue] = React.useState('1');\r\n const [disableTaskForm, setDisableTaskForm] = React.useState(false);\r\n timelines = [...formik.values.dealTimelines];\r\n\r\n let initialValues: DealNote = {\r\n noteId: 0,\r\n note: '',\r\n isUpdated: false,\r\n dateCreated: '',\r\n };\r\n\r\n const validation = Yup.object({\r\n note: Yup.string().required('Required'),\r\n });\r\n\r\n formikNote = useFormik({\r\n initialValues,\r\n validationSchema: validation,\r\n onSubmit: (task: DealNote) => {\r\n handleNoteFormSubmission(task);\r\n },\r\n });\r\n\r\n function handleNoteFormSubmission(note: DealNote) {\r\n\r\n if (note.noteId == 0 && !note.isUpdated) {\r\n let noteTimeline: DealTimeline = {\r\n timelineId: 0,\r\n timelineType: 'Note',\r\n subject: '',\r\n taskTypeId: 0,\r\n taskTypeName: '',\r\n assignedUserId: '',\r\n note: note.note,\r\n taskOutcomeId: undefined,\r\n isAlreadyCompleted: true,\r\n IsArchived: false,\r\n isUpdated: false,\r\n assignedUserIdPrev: '',\r\n date: '',\r\n };\r\n timelines.unshift(noteTimeline);\r\n } else {\r\n timelines[timelineIndex].note = note.note;\r\n timelines[timelineIndex].isUpdated = true;\r\n timelines[timelineIndex].isAlreadyCompleted = true;\r\n }\r\n\r\n timelineIndex = -1;\r\n timelines = sortDealTimeline(timelines);\r\n formik.setFieldValue('dealTimelines', timelines);\r\n formikNote.resetForm();\r\n }\r\n const handleChange = (event: React.SyntheticEvent, tabValue: string) => {\r\n setValue(tabValue);\r\n\r\n if (tabValue === '1') {\r\n formikNote.resetForm();\r\n } else if (tabValue === '2') {\r\n setDisableTaskForm(false);\r\n }\r\n };\r\n\r\n React.useEffect(() => {\r\n //Set tabs window height based on main page height\r\n const mediaQuery1 = window.matchMedia('(max-width: 1280px)');\r\n const mediaQuery2 = window.matchMedia('(max-width: 1080px)');\r\n\r\n let drawerRightWindow = document.getElementById('tabsWindow') as HTMLElement;\r\n let desiredHeight;\r\n if (mediaQuery1.matches || mediaQuery2.matches) {\r\n desiredHeight = drawerRightWindow.scrollHeight;\r\n } else {\r\n desiredHeight = document.documentElement.scrollHeight - 220;\r\n }\r\n drawerRightWindow.style.height = desiredHeight.toString() + 'px';\r\n }, []);\r\n\r\n const isDuplicate = (file: any) => {\r\n console.log(\"removed attachments: \", removedDealAttachments)\r\n return (formik.values.dealAttachments?.some(\r\n (attachment: DealAttachment) => attachment.fileName === file.name\r\n ) && !removedDealAttachments?.some((attachment: DealAttachment) => attachment.fileName === file.name)) ||\r\n filesToUpload?.some(\r\n (attachment: DealAttachment) => attachment.fileName === file.name\r\n )\r\n };\r\n\r\n const [isUploading, setIsUploading] = React.useState(false);\r\n const dmsTypeId = useAppSelector((state) => state.user.dmsTypeId);\r\n\r\n // const [uploadingProgress, setUploadingProgress] = React.useState(0);\r\n const fileNameLimitMsg = 'File(s) name must not exceed 50 characters.'\r\n const fileSizeLimitMsg = 'File(s) over 10MB, Please resize.'\r\n const duplicateFileMsg = 'File(s) with the same name already exists. Please choose a different file name.'\r\n const fileSizeLimit = 10485760;\r\n\r\n const dispatch = useAppDispatch();\r\n let userPermissions = useAppSelector((state) => state.user?.userPermissions);\r\n let isTaskPermission = 0;\r\n\r\n if (!userPermissions) {\r\n userPermissions = [];\r\n isTaskPermission = 2;\r\n }\r\n if (isTaskPermission == 0) {\r\n if (userPermissions.find((x) => x.featureName.toLowerCase() === 'tasks')) {\r\n isTaskPermission = 1;\r\n }\r\n }\r\n\r\n const appendError = ((file: any, errorsList: string[]) => {\r\n const fileNameWithoutExtension = String(file.name).replace(/\\.[^.]+$/, '');\r\n if (fileNameWithoutExtension.length > 50 && !errorsList.includes(fileNameLimitMsg)) {\r\n errorsList.push(fileNameLimitMsg)\r\n } \r\n if (file.size > fileSizeLimit && !errorsList.includes(fileSizeLimitMsg)) { \r\n errorsList.push(fileSizeLimitMsg)\r\n } \r\n // if (isDuplicated && !errorsList.includes(duplicateFileMsg)) {\r\n // errorsList.push(duplicateFileMsg);\r\n // }\r\n return errorsList;\r\n });\r\n\r\n const errorsListSnackbar = ((errorsList: string[]) => {\r\n if (errorsList.length > 0) {\r\n const formattedErrorMsgs = errorsList.map((msg, index) => (\r\n \r\n {msg}\r\n {index < errorsList.length - 1 &&
        }\r\n
        \r\n ));\r\n dispatch(showSnackbar({ type: 'error', message: formattedErrorMsgs }));\r\n }\r\n });\r\n\r\n const appendFilesToUpload = ((acceptedFiles: any[]) => {\r\n let errorsList: string[] = [];\r\n\r\n acceptedFiles.forEach((file) => {\r\n const dmsAttachmentAttribute: DmsAttachmentAttribute = {\r\n name: file.fileName,\r\n size: file.FileSize\r\n }\r\n const dealAttachment: DealAttachment = {\r\n attachmentId: file.id,\r\n fileName: file.fileName,\r\n fileURL: file.mediaUrl\r\n }\r\n\r\n // let isDuplicated = isDuplicate(dmsAttachmentAttribute);\r\n const fileNameWithoutExtension = String(dmsAttachmentAttribute.name).replace(/\\.[^.]+$/, '');\r\n\r\n if (fileNameWithoutExtension.length > 50 || dmsAttachmentAttribute.size > fileSizeLimit) {\r\n errorsList = appendError(dmsAttachmentAttribute, errorsList);\r\n }\r\n else {\r\n filesToUpload.push(dealAttachment)\r\n formik.setFieldValue('dealAttachmentsToUpload', filesToUpload);\r\n }\r\n });\r\n\r\n if (errorsList.length == 0) {\r\n dispatch(showSnackbar({ type: 'success', message: 'Upload successful' }));\r\n } else {\r\n errorsListSnackbar(errorsList);\r\n }\r\n });\r\n\r\n const uploadFiles = ((acceptedFiles: File[]) => {\r\n let dispatchRequest = false;\r\n let errorsList: string[] = [];\r\n const baseUrl = config.get('api.lead');\r\n const url = `${baseUrl}/lead/deal/uploadAttachmentToBlob/${formik.values.dealId}`;\r\n const requestForm = new FormData();\r\n acceptedFiles.forEach((file) => {\r\n // let isDuplicated = isDuplicate(file);\r\n const fileNameWithoutExtension = String(file.name).replace(/\\.[^.]+$/, '');\r\n if (fileNameWithoutExtension.length > 50 || file.size > fileSizeLimit) {\r\n errorsList = appendError(file, errorsList);\r\n }\r\n else {\r\n requestForm.append('files', file);\r\n dispatchRequest = true;\r\n }\r\n });\r\n errorsListSnackbar(errorsList);\r\n\r\n if (dispatchRequest) {\r\n setIsUploading(true);\r\n post(url, requestForm, {\r\n onUploadProgress: (progressEvent: any) => {\r\n // const percentCompleted = Math.round((progressEvent.loaded * 100) / progressEvent.total);\r\n // setUploadingProgress(percentCompleted);\r\n },\r\n })\r\n .then((res: AxiosResponse) => {\r\n res.data.forEach((file) => {\r\n filesToUpload.push(file)\r\n });\r\n addTimelineNodes(res.data);\r\n // const updatedList = [...formik.values.dealAttachmentsToUpload, ...res.data];\r\n formik.setFieldValue('dealAttachmentsToUpload', filesToUpload);\r\n setIsUploading(false);\r\n if (errorsList.length == 0) {\r\n dispatch(showSnackbar({ type: 'success', message: 'Upload successful' }));\r\n }\r\n })\r\n .catch((err) => {\r\n setIsUploading(false);\r\n dispatch(showSnackbar({ type: 'error', message: err + ': Unable to upload file' }));\r\n });\r\n }\r\n });\r\n\r\n const addTimelineNodes = (attachments: DealAttachment[]) => {\r\n removedDealAttachments.forEach((attachment) => {\r\n timelines = timelines.filter((i: any) => i.fileName !== attachment.fileName)\r\n })\r\n\r\n attachments.forEach((attachment) => {\r\n let note: DealTimeline = {\r\n timelineId: attachment.attachmentId,\r\n timelineType: 'Attachment',\r\n subject: '',\r\n taskTypeId: 0,\r\n taskTypeName: '',\r\n assignedUserId: '',\r\n note: attachment.fileName,\r\n taskOutcomeId: undefined,\r\n isAlreadyCompleted: true,\r\n IsArchived: false,\r\n isUpdated: false,\r\n assignedUserIdPrev: '',\r\n date: '',\r\n fileName: attachment.fileName,\r\n fileURL: attachment.fileURL\r\n };\r\n timelines.unshift(note); \r\n });\r\n\r\n timelines = sortDealTimeline(timelines);\r\n formik.setFieldValue('dealTimelines', timelines);\r\n }\r\n const onDropAccepted = React.useCallback(\r\n async (acceptedFiles: File[]) => {\r\n uploadFiles(acceptedFiles);\r\n },\r\n [dispatch],\r\n );\r\n\r\n React.useEffect(() => {\r\n removedDealAttachments.forEach((attachment) => {\r\n const filteredList = formik.values.dealTimelines.filter((i: any) => i.fileName !== attachment.fileName);\r\n formik.setFieldValue(\r\n 'dealTimelines', filteredList) \r\n })\r\n }, [removedDealAttachments]);\r\n\r\n const onDropRejected = (error: FileRejection[], event: DropEvent): void => {\r\n dispatch(showSnackbar({ type: 'error', message: 'File type must be .jpeg, .jpg, .png, .gif, .pdf, .xls, .xlsx' })); \r\n };\r\n\r\n const { getRootProps, getInputProps, isDragActive, open } = useDropzone({\r\n onDrop: (acceptedFiles, rejectedFiles) => {\r\n if (!isUploading) {\r\n // Call onDropAccepted only if isUploading is false\r\n onDropAccepted(acceptedFiles);\r\n } else {\r\n dispatch(showSnackbar({ type: 'error', message: 'File upload is already in progress.' })); \r\n }\r\n },\r\n onDropRejected,\r\n accept: '.jpeg,.jpg,.png,.gif,.pdf,.xls,.xlsx'\r\n });\r\n \r\n React.useEffect(() => {\r\n const listenStorageChange = () => {\r\n const fileName = dmsTypeId==0 ? localStorage.getItem('IdealFileUpload'):localStorage.getItem('InfinityFileUpload');\r\n if (fileName === 'CancelAttachment') {\r\n setIsUploading(false);\r\n } else if (fileName != null) {\r\n const response = localStorage.getItem(fileName);\r\n const addFileResponse: any[] = JSON.parse(response!);\r\n appendFilesToUpload(addFileResponse);\r\n localStorage.removeItem(fileName);\r\n dmsTypeId==0 ? localStorage.removeItem('IdealFileUpload'):localStorage.removeItem('InfinityFileUpload');\r\n }\r\n };\r\n window.addEventListener('storage', listenStorageChange);\r\n return () => window.removeEventListener('storage', listenStorageChange);\r\n }, []);\r\n\r\n return (\r\n \r\n {formik.values.dealStateId != DealStatusEnum.Open?\r\n <>\r\n \r\n }\r\n aria-controls=\"panel1a-content\"\r\n id=\"panel1a-header\"\r\n style={{backgroundColor:'#f8f9fa'}}\r\n >\r\n Additional Information\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {isTaskPermission == 1 ? \r\n : \r\n }\r\n \r\n \r\n\r\n \r\n \r\n \r\n {\r\n formikNote.setFieldValue('note', content);\r\n }}\r\n init={editorInit}>\r\n \r\n \r\n \r\n {\r\n formikNote.handleSubmit();\r\n }}>\r\n {formikNote.values.isUpdated ? 'Update' : 'Add'} Note\r\n \r\n \r\n \r\n {\r\n formikNote.resetForm();\r\n }}>\r\n Clear\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n :\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n {isTaskPermission == 1 ? \r\n : \r\n }\r\n \r\n \r\n \r\n \r\n \r\n Files\r\n \r\n \r\n }\r\n value=\"3\"\r\n /> \r\n \r\n \r\n\r\n \r\n \r\n \r\n {\r\n formikNote.setFieldValue('note', content);\r\n }}\r\n init={editorInit}>\r\n \r\n \r\n \r\n {\r\n formikNote.handleSubmit();\r\n }}>\r\n {formikNote.values.isUpdated ? 'Update' : 'Add'} Note\r\n \r\n \r\n \r\n {\r\n formikNote.resetForm();\r\n }}>\r\n Clear\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {\r\n if (!isUploading) {\r\n if (localStorage.getItem('Login_Source')?.toString() === 'DMS_IDEAL' || localStorage.getItem('Login_Source')?.toString() === 'DMS_INFINITY') {\r\n GetAttachments(fileSizeLimit,'jpeg,jpg,png,gif,pdf,xls,xlsx');\r\n } else {\r\n open()\r\n }\r\n }\r\n }}\r\n >\r\n \r\n { isUploading ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n Choose files to upload \r\n \r\n or drag and drop here\r\n
        \r\n \r\n
        \r\n \r\n \r\n \r\n \r\n }\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nlet formikTask: any = undefined;\r\nfunction TaskTab({\r\n formik,\r\n disableTaskForm,\r\n taskTypes,\r\n taskOutcomes,\r\n dealerUsers,\r\n setDisableTaskForm,\r\n}: {\r\n formik: any;\r\n disableTaskForm: boolean;\r\n taskTypes: any[];\r\n taskOutcomes: any[];\r\n dealerUsers: any[] | undefined;\r\n setDisableTaskForm(value: boolean): void;\r\n}) {\r\n const classes: any = useStyles();\r\n const currentUserId = useAppSelector((state) => state.user.crmUserId);\r\n const [openCalender, setOpenCalender] = React.useState(false);\r\n const [taskTime, setTaskTime] = React.useState(taskHours);\r\n\r\n let initialValues: DealTask = {\r\n taskId: 0,\r\n taskTypeId: '',\r\n taskTypeName: '',\r\n assignedUserId: currentUserId ?? undefined,\r\n subject: '',\r\n date: '',\r\n time: '',\r\n note: '',\r\n taskOutcomeId: undefined,\r\n isAlreadyCompleted: false,\r\n IsArchived: false,\r\n isUpdated: false,\r\n assignedUserIdPrev: '',\r\n };\r\n\r\n const schema = Yup.object({\r\n subject: Yup.string().required('Required'),\r\n taskTypeId: Yup.string().required('Required'),\r\n assignedUserId: Yup.string().required('Required'),\r\n taskOutcomeId: formikTask?.values?.isAlreadyCompleted ? Yup.string().nullable().required('Required') : undefined,\r\n });\r\n\r\n formikTask = useFormik({\r\n initialValues,\r\n validationSchema: schema,\r\n onSubmit: (task: DealTask) => {\r\n handleTaskFormSubmission(task);\r\n },\r\n });\r\n\r\n function handleTaskFormSubmission(task: DealTask) {\r\n task.taskTypeName = taskTypes.find((x) => x.id == task.taskTypeId)?.value;\r\n\r\n if (task.isAlreadyCompleted) {\r\n task.date = moment.utc().local().format();\r\n task.time=\"\";\r\n }\r\n \r\n let taskTimeline: DealTimeline = {\r\n timelineId: task.taskId,\r\n timelineType: 'Task',\r\n subject: task.subject,\r\n taskTypeId: Number(task.taskTypeId),\r\n taskTypeName: task.taskTypeName,\r\n assignedUserId: task.assignedUserId,\r\n note: task.note,\r\n taskOutcomeId: task.taskOutcomeId,\r\n isAlreadyCompleted: task.isAlreadyCompleted,\r\n IsArchived: task.IsArchived,\r\n isUpdated: task.isUpdated,\r\n assignedUserIdPrev: task.assignedUserIdPrev,\r\n date: task?.date && task?.time ? moment.utc(new Date(task.date.split('T')[0] + 'T' + task.time)).format()\r\n : task.isAlreadyCompleted ? task?.date : '',\r\n time: task.time\r\n };\r\n\r\n if (taskTimeline.timelineId == 0 && !taskTimeline.isUpdated) {\r\n timelines.unshift(taskTimeline);\r\n } else {\r\n timelines[timelineIndex] = taskTimeline;\r\n }\r\n\r\n timelineIndex = -1;\r\n timelines = sortDealTimeline(timelines);\r\n formik.setFieldValue('dealTimelines', timelines);\r\n formikTask.resetForm();\r\n }\r\n React.useEffect(() => {\r\n const newDate = moment.utc().toDate().toISOString().split('T')[0];\r\n if (formikTask.values.date.length > 0 && formikTask.values.date < newDate) {\r\n formikTask.setFieldValue('date', newDate);\r\n }\r\n }, [formikTask.values.date]);\r\n\r\n\r\n const isDueDate = formikTask.values.date === '' ? true : false;\r\n React.useEffect(() => {\r\n const interval = setInterval(() => {\r\n const currentTime = new Date();\r\n const hours = currentTime.getHours().toString().padStart(2, '0');\r\n const minutes = currentTime.getMinutes().toString().padStart(2, '0');\r\n const formattedTime = `${hours}:${minutes}`;\r\n const currentDate = `${currentTime.getFullYear()}-${(currentTime.getMonth() + 1)\r\n .toString()\r\n .padStart(2, '0')}-${currentTime.getDate().toString().padStart(2, '0')}`;\r\n if (formikTask.values.date.split('T')[0] === currentDate) {\r\n const time:ITaskTimes[] = taskTime.filter((x:ITaskTimes) => x.value > formattedTime);\r\n const formikTime = formikTask.values.time.length > 0 && time.find((x:ITaskTimes) => x.value === formikTask.values.time);\r\n if ((formikTime ?? '') === '') {\r\n formikTask.setFieldValue('time', '');\r\n }\r\n setTaskTime(time);\r\n } else {\r\n setTaskTime(taskHours);\r\n }\r\n }, 500);\r\n return () => clearInterval(interval);\r\n }, [formikTask.values.date, formikTask.values.time]);\r\n\r\n return (\r\n
        \r\n \r\n \r\n \r\n {!disableTaskForm && (\r\n \r\n {formikTask.values.isUpdated ? 'Done' : 'Already Completed'}\r\n \r\n \r\n )}\r\n \r\n \r\n {(!formikTask.values.isUpdated ||\r\n (formikTask.values.isUpdated && !formikTask.values.isAlreadyCompleted) ||\r\n disableTaskForm) && (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n {taskTypes?.map((options) => {\r\n return (\r\n \r\n {options.value}\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n \r\n {\r\n formikTask.setFieldValue('assignedUserIdPrev', formikTask.values.assignedUserId);\r\n formikTask.setFieldValue('assignedUserId', event.target.value);\r\n }}\r\n error={!!formikTask.errors.assignedUserId}\r\n helperText={formikTask.errors.assignedUserId}>\r\n {dealerUsers?.map((options) => {\r\n return (\r\n \r\n {options.username}\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n {!formikTask.values.isAlreadyCompleted ? (\r\n \r\n \r\n \r\n setOpenCalender(false)}\r\n minDate={new Date()}\r\n maxDate={new Date('2099-12-31')}\r\n disabled={formik.values.dealStateId != DealStatusEnum.Open}\r\n value={formatDatePicker(formikTask.values.date)}\r\n onError={() => {\r\n console.log('error');\r\n }}\r\n onChange={(e: any) => {\r\n formikTask.setFieldValue(\r\n 'date',\r\n moment.utc(formatDatePicker(e)).toDate().toISOString().split('T')[0],\r\n true,\r\n );\r\n setOpenCalender(false);\r\n }}\r\n renderInput={(params: any) => {\r\n params.error = !!formik.errors.dueDate;\r\n return (\r\n {\r\n e.preventDefault();\r\n }}\r\n onClick={() => setOpenCalender(!openCalender)}\r\n variant=\"outlined\"\r\n />\r\n );\r\n }}\r\n />\r\n \r\n \r\n \r\n formikTask.setFieldValue('time', e.target.value)}\r\n >\r\n {taskTime.map((hour:ITaskTimes) => (\r\n \r\n {hour.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n \r\n {taskOutcomes?.map((x: any) => {\r\n return (\r\n \r\n {x.value}\r\n \r\n );\r\n })}\r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {!disableTaskForm && (\r\n {\r\n formikTask.handleSubmit();\r\n }}>\r\n {formikTask.values.isUpdated ? 'Update' : 'Add'} Task\r\n \r\n )}\r\n \r\n \r\n {\r\n formikTask.resetForm();\r\n setDisableTaskForm(false);\r\n }}>\r\n {!disableTaskForm ? 'Clear' : 'Cancel'}\r\n \r\n \r\n \r\n \r\n
        \r\n );\r\n}\r\n\r\nlet timelineIndex = -1;\r\n\r\nfunction BasicTimeline({\r\n formik,\r\n setTabValue,\r\n setDisableTaskForm,\r\n}: {\r\n formik: any;\r\n setTabValue: any;\r\n setDisableTaskForm(value: boolean): void;\r\n}) {\r\n const classes: any = useStyles();\r\n const [openModal, setOpenModal] = React.useState(false);\r\n const [fileName, setFileName] = React.useState('');\r\n const [selectedPdf, setSelectedPdf] = React.useState(null);\r\n const [imageSrc, setImageSrc] = React.useState(undefined);\r\n\r\n let userPermissions = useAppSelector((state) => state.user?.userPermissions);\r\n let isTaskPermission = 0;\r\n \r\n if (!userPermissions) {\r\n userPermissions = [];\r\n isTaskPermission = 2;\r\n }\r\n \r\n if (isTaskPermission == 0) {\r\n if (userPermissions.find((x) => x.featureName.toLowerCase() === 'tasks')) {\r\n isTaskPermission = 1;\r\n }\r\n }\r\n\r\n const openPdf = (isOpen: boolean, url: any, fileName: any) => {\r\n setOpenModal(isOpen);\r\n setSelectedPdf(url);\r\n setFileName(fileName);\r\n}\r\n\r\n function setEditTaskForm(index: number, disableTaskForm: boolean) {\r\n setTabValue('2');\r\n setDisableTaskForm(disableTaskForm);\r\n\r\n setTimeout(() => {\r\n timelineIndex = index;\r\n const dealTasks = [...formik.values.dealTimelines] as DealTimeline[];\r\n let dueDatee, time;\r\n if(dealTasks[timelineIndex].date){\r\n dueDatee = moment.utc(dealTasks[timelineIndex].date).local().format().substring(0, 19);\r\n time=(dueDatee.split('T')[1]).slice(0,5)\r\n }else{\r\n dueDatee=\"\";\r\n time=\"\";\r\n }\r\n \r\n formikTask.setValues({\r\n taskId: dealTasks[timelineIndex].timelineId,\r\n taskTypeId: dealTasks[timelineIndex].taskTypeId,\r\n taskTypeName: dealTasks[timelineIndex].taskTypeName,\r\n assignedUserId: dealTasks[timelineIndex].assignedUserId,\r\n subject: dealTasks[timelineIndex].subject,\r\n date: dueDatee,\r\n time: time,\r\n note: dealTasks[timelineIndex].note,\r\n taskOutcomeId: dealTasks[timelineIndex].taskOutcomeId,\r\n isAlreadyCompleted: true,\r\n IsArchived: dealTasks[timelineIndex].IsArchived,\r\n isUpdated: true,\r\n });\r\n\r\n formikTask.setFieldValue('isAlreadyCompleted', dealTasks[timelineIndex].isAlreadyCompleted);\r\n }, 0);\r\n\r\n //Move the scroll to top\r\n let drawerRightWindow = document.getElementById('tabsWindow') as HTMLElement;\r\n drawerRightWindow.scrollTop = 0;\r\n }\r\n\r\n function setEditNoteForm(index: number) {\r\n setTabValue('1');\r\n\r\n setTimeout(() => {\r\n timelineIndex = index;\r\n const notes = [...formik.values.dealTimelines] as DealTimeline[];\r\n \r\n formikNote.setValues({\r\n noteId: notes[timelineIndex].timelineId,\r\n note: notes[timelineIndex].note,\r\n dateCreated: notes[timelineIndex]?.date ,\r\n isUpdated: true,\r\n });\r\n }, 0);\r\n\r\n //Move the scroll to top\r\n let drawerRightWindow = document.getElementById('tabsWindow') as HTMLElement;\r\n drawerRightWindow.scrollTop = 0;\r\n }\r\n return (\r\n \r\n setImageSrc(undefined)} />\r\n \r\n {formik.values.dealTimelines.map((timeline: DealTimeline, index: number) => (\r\n \r\n \r\n \r\n \r\n {timeline.timelineType == 'Task' ? : timeline.timelineType == 'Note'? : }\r\n \r\n \r\n \r\n \r\n
        {\r\n if (isTaskPermission == 1 && timeline.timelineType == 'Task') {\r\n setEditTaskForm(index, timeline.isAlreadyCompleted);\r\n } else if (timeline.timelineType == 'Note') {\r\n setEditNoteForm(index);\r\n } else if (timeline.timelineType == 'Attachment') {\r\n const extension = getFileExtension(timeline.fileURL? timeline.fileURL : null)\r\n if(extension == 'xlsx' || extension == 'xls'){\r\n const link = document.createElement('a');\r\n link.href = timeline.fileURL!;\r\n link.download = timeline.fileName!;\r\n document.body.appendChild(link);\r\n link.click();\r\n document.body.removeChild(link);\r\n }\r\n else if (extension != 'pdf') {\r\n console.log('image opened: ', timeline.fileURL)\r\n setImageSrc(timeline.fileURL)\r\n }\r\n else {\r\n openPdf(true, timeline.fileURL, timeline.fileName)\r\n }\r\n }\r\n }\r\n } style={{ cursor: isTaskPermission == 0 && timeline.timelineType == 'Task' ? \"default\" : \"pointer\" }}>\r\n {timeline.timelineType == 'Task' ? (\r\n \r\n \r\n {timeline.subject}{' '}\r\n \r\n \r\n \r\n {timeline.taskTypeName} {timeline.note ? '- ' + timeline.note : ''}\r\n \r\n \r\n {!timeline.isAlreadyCompleted ? 'Due Date: ' : 'Completed: '}\r\n { timeline.isAlreadyCompleted\r\n ? moment.utc(timeline.date ? timeline.date : Date()).local().format('MMMM Do YYYY, h:mm a')\r\n : timeline?.date\r\n ? moment.utc(timeline.date).local().format('MMMM Do YYYY, h:mm a')\r\n : 'N/A'}\r\n \r\n \r\n ) : timeline.timelineType == 'Note'? (\r\n \r\n \r\n \r\n Created Date:{' '}\r\n {moment\r\n .utc(timeline.date ? timeline.date : Date())\r\n .local(timeline.timelineId == 0 ? true : false)\r\n .format('MMMM Do YYYY, h:mm a')}\r\n \r\n \r\n ) : (\r\n \r\n \r\n {'File Uploaded - '}\r\n \r\n {timeline.fileName}\r\n \r\n \r\n {/* \r\n {timeline.taskTypeName} {timeline.note ? '- ' + timeline.note : ''}\r\n */}\r\n \r\n {moment\r\n .utc(timeline.date ? timeline.date : Date())\r\n .local(timeline.timelineId == 0 ? true : false)\r\n .format('MMMM Do YYYY, h:mm a')}\r\n \r\n \r\n )\r\n }\r\n
        \r\n\r\n
        \r\n
        \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deal created\r\n \r\n {moment.utc(formik.values.createdDate).local().format('MMMM Do YYYY, h:mm a')} -{' '}\r\n {formik.values.dealType}\r\n \r\n \r\n \r\n \r\n
        \r\n {selectedPdf && (\r\n \r\n )}\r\n \r\n
        \r\n );\r\n}\r\n\r\nexport default DealEditDrawerTabs;\r\n","import { DealAttachment } from './../model/deal-edit-drawer';\r\nimport { get, put, post } from 'api';\r\nimport config from 'config';\r\n\r\nimport { DealDetails, PipelineStageList, ProductCondition } from '../model/deal-edit-drawer';\r\n\r\nconst dealDetailUrl = config.get('api.lead');\r\n\r\nconst DealDetailsAPI = {\r\n async getProductConditions(): Promise {\r\n return [\r\n { id: 0, name: 'None' },\r\n { id: 1, name: 'New' },\r\n { id: 2, name: 'Used' },\r\n ];\r\n },\r\n async getPipelinesStagesDD(pipelineId: number): Promise {\r\n const url = `${dealDetailUrl}/lead/deal/pipelineStagesDD/${pipelineId}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n async getDealDetails(dealId: number): Promise {\r\n const { data } = await get(`${dealDetailUrl}/lead/deal/${dealId}`);\r\n return data;\r\n },\r\n async updateDeal(dealerId: number, dealId: number, requestModel: DealDetails, removedDealAttachments: DealAttachment[]): Promise {\r\n const { data } = await put(`${dealDetailUrl}/lead/deal/${dealId}/updateDeal/${dealerId}`, requestModel);\r\n if (removedDealAttachments?.length > 0) {\r\n await post(`${dealDetailUrl}/lead/deal/deleteDealAttachments/${dealId}`,\r\n removedDealAttachments\r\n ).then((res: any) => {\r\n }).catch((err) => {\r\n console.log(err)\r\n });\r\n }\r\n if (requestModel.dealAttachmentsToUpload?.length > 0) {\r\n await post(`${dealDetailUrl}/lead/deal/uploadAttachmentToDeal/${dealId}`, \r\n requestModel.dealAttachmentsToUpload\r\n ).then((res: any) => {\r\n }).catch((err) => {\r\n console.log(err)\r\n });\r\n }\r\n return data;\r\n },\r\n};\r\n\r\nexport default DealDetailsAPI;\r\n","import User from 'components/setting/models/user';\r\nimport { createContext } from 'react';\r\nimport { FilterDeals, PipelineListResponse } from '../model/dealsInterfaces';\r\n\r\ninterface DealState {\r\n user?: User[] | undefined;\r\n pipeline?: PipelineListResponse[] | undefined;\r\n defaultPipelineId?: number;\r\n filterRequest?:FilterDeals;\r\n}\r\nexport const DealContext = createContext({});\r\n\r\nexport default DealContext;\r\n","import { get, post, put } from 'api';\r\nimport config from 'config';\r\n\r\nimport { LostReason } from '../models/deal-pipelines';\r\n\r\nconst dealPipelineUrl = config.get('api.lead');\r\n\r\nconst LostDealAPI = {\r\n async getLostReasons(dmsDealerIdCrm: number): Promise {\r\n const url = `${dealPipelineUrl}/lead/deal/lostReason/${dmsDealerIdCrm}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n async AddLostReason(dmsDealerIdCrm: number, lostReason: LostReason): Promise {\r\n const url = `${dealPipelineUrl}/lead/deal/lostReason/${dmsDealerIdCrm}`;\r\n const { data } = await post(url, lostReason);\r\n return data;\r\n },\r\n async UpdateLostReason(dmsDealerIdCrm: number, lostReason: LostReason): Promise {\r\n const url = `${dealPipelineUrl}/lead/deal/lostReason/${dmsDealerIdCrm}`;\r\n const { data } = await put(url, lostReason);\r\n return data;\r\n },\r\n};\r\n\r\nexport default LostDealAPI;\r\n","import { PipelineStageList } from './../model/deal-edit-drawer';\r\nimport { DealAge, DealStatus, PipelineListResponse, PipelineUsersRequest } from './../model/dealsInterfaces';\r\nimport {\r\n DealType,\r\n DealLocation,\r\n DealItem,\r\n UpdateDealPosition,\r\n NewDealApi,\r\n FilterDeals,\r\n} from '../model/dealsInterfaces';\r\nimport { DealsResponse } from '../model/dealsInterfaces';\r\nimport config from 'config';\r\nimport { get, put, post } from 'api';\r\nimport User from 'components/setting/models/user';\r\n\r\nconst dealPipelineUrl = config.get('api.lead');\r\nconst dealerUrl = config.get('api.dealer');\r\n\r\nconst PipelineDeals = {\r\n async getDeals(dmsDealerIdCrm: number, pipelineId: number, searchModel: FilterDeals): Promise {\r\n const url = `${dealPipelineUrl}/lead/deal/pipelineDeals/${dmsDealerIdCrm}/${pipelineId}`;\r\n const { data } = await post(url, searchModel);\r\n return data;\r\n },\r\n async updateDealPosition(requestModel: UpdateDealPosition) {\r\n const url = `${dealPipelineUrl}/lead/deal/updateDealPositionV2`;\r\n\r\n await put(url, requestModel);\r\n },\r\n async AssignDealToUser(assignDealRequest: DealItem[]) {\r\n const url = `${dealPipelineUrl}/lead/deal/updateDealAssignUser`;\r\n const { data } = await put(url, assignDealRequest);\r\n return data;\r\n },\r\n async addNewDeal(dmsDealerIdCrm: number, requestModel: NewDealApi) {\r\n const url = `${dealPipelineUrl}/lead/deal/addNewDeal/${dmsDealerIdCrm}`;\r\n await post(url, requestModel);\r\n },\r\n async UpdateDealsLostStatus(lostDealsRequest: DealItem[]) {\r\n const url = `${dealPipelineUrl}/lead/deal/updateDealsLostStatus`;\r\n let { data } = await put(url, lostDealsRequest);\r\n return data;\r\n },\r\n async updateDealWon(updateDealWon: DealItem[]) {\r\n const url = `${dealPipelineUrl}/lead/deal/updateDealWon`;\r\n const { data } = await put(url, updateDealWon);\r\n return data;\r\n },\r\n async updateDealArchive(updateDealArchive: DealItem[]) {\r\n const url = `${dealPipelineUrl}/lead/deal/updateDealArchive`;\r\n const { data } = await put(url, updateDealArchive);\r\n return data;\r\n },\r\n async updateDealIsFavorite(dealId: number, isFavorite: boolean){\r\n const url = `${dealPipelineUrl}/lead/deal/updateDealIsFavorite/${dealId}/${isFavorite}`;\r\n const { data } = await put(url);\r\n return data;\r\n },\r\n async reopenDeal(dealIds: number[]): Promise {\r\n const url = `${dealPipelineUrl}/lead/deal/reopenDeal`;\r\n const { data } = await put(url, dealIds);\r\n return data;\r\n },\r\n async updateDealsPipeline(req: any) {\r\n const url = `${dealPipelineUrl}/lead/deal/updateDealsPipeline`;\r\n const { data } = await put(url, req);\r\n return data;\r\n },\r\n async getDealsPipelinesDD(dmsDealerIdCrm: number): Promise {\r\n const url = `${dealPipelineUrl}/lead/deal/pipelinesDD/${dmsDealerIdCrm}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n async getPipelineUsers(model: PipelineUsersRequest): Promise {\r\n const url = `${dealerUrl}/pipelineUsers`;\r\n const { data } = await post(url, model);\r\n return data;\r\n },\r\n async getPipelineStagesList(pipelineId: number): Promise {\r\n const url = `${dealPipelineUrl}/lead/deal/pipelineStagesDD/${pipelineId}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n};\r\n\r\nconst filterLocationData = async (): Promise => {\r\n return [{ location: 'LHR' }, { location: 'ISL' }, { location: 'KHI' }];\r\n};\r\nconst filterAgeData = async (): Promise => {\r\n return [{ age: 'Past 30 days', ageValue: 30 }, { age: 'Past 90 days', ageValue: 90 }, { age: 'Past 6 months', ageValue: 180 }, { age: 'Past year', ageValue: 365 }, { age: 'All time', ageValue: 0 }];\r\n};\r\nconst filterStatusData = async (): Promise => {\r\n return [{ status: 'Open deals', statusId: 1 }, { status: 'Won deals', statusId: 2 }, { status: 'Lost deals', statusId: 3 }, { status: 'Archived deals', statusId: 4 }];\r\n};\r\nconst getDealsType = async (): Promise => {\r\n return [{ value: 'In-Store', typeId: 1 }, { value: 'Phone', typeId: 2 }, { value: 'Web', typeId: 3 }, { value: 'Text', typeId: 4 }, { value: 'Event', typeId: 5 }, { value: 'OEM', typeId: 6 }];\r\n};\r\n\r\nexport default {\r\n PipelineDeals,\r\n getDealsType,\r\n filterLocationData,\r\n filterAgeData,\r\n filterStatusData,\r\n};\r\n","import { Theme } from '@material-ui/core';\r\nimport makeStyles from '@material-ui/core/styles/makeStyles';\r\n\r\nconst useStyles = makeStyles((theme: Theme) => ({\r\n root: {\r\n display: 'flex',\r\n maxHeight: 'inherit',\r\n minHeight: '80vh',\r\n marginBottom: '120px',\r\n },\r\n hover: {\r\n '&:hover': {\r\n background: 'none',\r\n },\r\n },\r\n boxStyle: {\r\n display: 'flex',\r\n width: '100%',\r\n },\r\n container: {\r\n marginTop: theme.spacing(2),\r\n marginBottom: theme.spacing(2),\r\n },\r\n\r\n searchCard: {\r\n marginBottom: theme.spacing(-1),\r\n marginTop: '1em',\r\n backgroundColor: 'Inherit',\r\n border: 'none',\r\n borderColor: 'inherit',\r\n width: '100%',\r\n },\r\n primaryAddBtn: {\r\n background: theme.palette.primary.main,\r\n color: theme.palette.common.white,\r\n '&:hover': {\r\n background: theme.palette.primary.dark,\r\n },\r\n },\r\n primaryIconBtn: {\r\n background: theme.palette.primary.main,\r\n color: theme.palette.common.white,\r\n paddingLeft: '1%',\r\n marginLeft: '1%',\r\n minWidth: '90px',\r\n '&:hover': {\r\n background: theme.palette.primary.dark,\r\n },\r\n },\r\n successIconBtn: {\r\n background: theme.palette.success.main,\r\n color: theme.palette.common.white,\r\n paddingLeft: '1%',\r\n marginLeft: '1%',\r\n minWidth: '90px',\r\n '&:hover': {\r\n background: theme.palette.success.dark,\r\n },\r\n },\r\n errorIconBtn: {\r\n background: theme.palette.error.main,\r\n color: theme.palette.common.white,\r\n paddingLeft: '1%',\r\n marginLeft: '1%',\r\n minWidth: '90px',\r\n '&:hover': {\r\n background: theme.palette.error.dark,\r\n },\r\n },\r\n defaultIconBtn: {\r\n background: theme.palette.info.main,\r\n color: theme.palette.common.white,\r\n paddingLeft: '1%',\r\n marginLeft: '1%',\r\n minWidth: '90px',\r\n '&:hover': {\r\n background: theme.palette.info.dark,\r\n },\r\n },\r\n textFieldPadding: {\r\n paddingBottom: '2%',\r\n },\r\n primary: {\r\n background: theme.palette.primary.main,\r\n color: theme.palette.common.white,\r\n },\r\n success: {\r\n background: theme.palette.success.main,\r\n color: theme.palette.common.white,\r\n },\r\n danger: {\r\n background: theme.palette.error.main,\r\n color: theme.palette.common.white,\r\n },\r\n archive: {\r\n background: theme.palette.info.main,\r\n color: theme.palette.common.white,\r\n },\r\n filterIconBtn: {\r\n background: 'black',\r\n color: 'white',\r\n },\r\n chipStyles: {\r\n color: 'white',\r\n width: '70%',\r\n marginTop: 2,\r\n fontWeight: 'bold',\r\n borderRadius: '5px',\r\n height: '20px',\r\n },\r\n cardAmount: {\r\n color: 'green',\r\n marginTop: 2,\r\n fontWeight: 'bold',\r\n },\r\n cardDay: {\r\n color: 'red',\r\n fontWeight: 'bold',\r\n float: 'right',\r\n },\r\n muiPopoverPaper: {\r\n '@media screen and (max-width: 1280px)': {\r\n width: '50%',\r\n maxHeight: '200px !important',\r\n top: '40% !important',\r\n left: '0 !important',\r\n right: '0',\r\n margin: '0 auto',\r\n },\r\n },\r\n}));\r\n\r\nexport default useStyles;\r\n","import {\r\n Drawer,\r\n Box,\r\n Toolbar,\r\n Typography,\r\n IconButton,\r\n Divider,\r\n Grid,\r\n Button,\r\n TextField,\r\n Container,\r\n MenuItem,\r\n Switch,\r\n CircularProgress,\r\n} from '@material-ui/core';\r\nimport React, { ReactElement, useEffect, useState } from 'react';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport { DealItem } from '../model/dealsInterfaces';\r\nimport { useAppSelector } from 'app';\r\nimport { useFormik } from 'formik';\r\nimport { LostReason } from '../../setting/models/deal-pipelines';\r\nimport AppSnackbar from 'components/snackbar/snackbar';\r\nimport LostDealAPI from 'components/setting/api/lost-deal-api';\r\nimport PipelineDeals from 'components/deals/apis/deals-api';\r\nimport useStyles from '../styles/deals-styles';\r\nimport { Editor } from '@tinymce/tinymce-react';\r\nimport { DealStatusEnum } from '../model/DealStatusEnum';\r\nimport config from 'config';\r\n\t\t\r\nconst textEditorApiKey = config.get('api.textEditor');\r\n\r\nconst init = {\r\n height: 200,\r\n convert_urls: true,\r\n plugins: 'lists',\r\n toolbar: `bullist numlist | bold italic underline | alignleft aligncenter alignright alignjustify`,\r\n menubar: false,\r\n branding: false,\r\n force_br_newlines: true,\r\n force_p_newlines: false,\r\n forced_root_block: '', // Needed for 3.x\r\n};\r\nexport function LostDealDrawer({\r\n open,\r\n editCount,\r\n selectedDeals,\r\n renderDeals,\r\n onClose,\r\n}: {\r\n open: boolean;\r\n selectedDeals: DealItem[];\r\n editCount: number;\r\n renderDeals: () => void;\r\n onClose(val: boolean): void;\r\n}): ReactElement {\r\n const classes = useStyles();\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n const [lostReasons, SetLostReasons] = React.useState([]);\r\n const [showSnackBar] = AppSnackbar.useSnackBar();\r\n const [editorLoader, setEditorLoader] = useState(true);\r\n\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n useEffect(() => {\r\n GetLostReasons();\r\n }, []);\r\n\r\n async function GetLostReasons() {\r\n const response = await LostDealAPI.getLostReasons(dmsDealerIdCrm);\r\n SetLostReasons(response);\r\n }\r\n\r\n const formik = useFormik({\r\n initialValues: {\r\n deals: selectedDeals,\r\n },\r\n enableReinitialize: true,\r\n onSubmit: async (values) => {\r\n const lostDeals = [...selectedDeals];\r\n if (values.deals.length > 0) {\r\n lostDeals.map((data, _index) => {\r\n values.deals.map((val, index) => {\r\n if (_index === index) {\r\n data.lostNote = val.lostNote;\r\n data.isArchiveTask = val.isArchiveTask === null ? false : val.isArchiveTask;\r\n data.lostReasonId = val.lostReasonId;\r\n }\r\n });\r\n });\r\n }\r\n if (lostDeals && lostDeals.length > 0) {\r\n const unselectedLostReason = lostDeals.find((x) => !x.lostReasonId);\r\n if (unselectedLostReason) {\r\n showSnackBar({\r\n type: 'error',\r\n message: `Select lost reason for seleted ${lostDeals.length == 1 ? 'deal' : 'deals'}`,\r\n });\r\n return;\r\n }\r\n\r\n await PipelineDeals.PipelineDeals.UpdateDealsLostStatus(lostDeals).then((response) => {\r\n if (response === 'Success') {\r\n onClose(false);\r\n renderDeals();\r\n showSnackBar({ type: 'success', message: `${editCount > 1 ? 'Deals' : 'Deal'} Updated Successfully` });\r\n } else {\r\n onClose(false);\r\n showSnackBar({ type: 'error', message: 'Something Went Wrong' });\r\n }\r\n });\r\n }\r\n },\r\n });\r\n\r\n return (\r\n onClose(false)}>\r\n \r\n \r\n \r\n Edit {editCount + (editCount > 1 ? ' Deals' : ' Deal')}: Mark All Lost\r\n \r\n onClose(false)}>\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n x.dealStateId == DealStatusEnum.Lost).length > 0}\r\n variant=\"contained\"\r\n size=\"small\"\r\n color=\"primary\"\r\n onClick={() => formik.handleSubmit()}>\r\n Save\r\n \r\n \r\n \r\n\r\n \r\n \r\n {selectedDeals.map((deal, index) => {\r\n return (\r\n <>\r\n
        \r\n \r\n {deal.title}\r\n {deal.customer}\r\n\r\n x.dealStateId == DealStatusEnum.Lost).length > 0}\r\n value={formik.values.deals[index] && formik.values.deals[index].lostReasonId}\r\n required>\r\n {lostReasons.map((row) => {\r\n return (\r\n \r\n {row.reason}\r\n \r\n );\r\n })}\r\n \r\n \r\n {editorLoader && (\r\n \r\n \r\n \r\n )}\r\n x.dealStateId == DealStatusEnum.Lost).length > 0}\r\n onEditorChange={(e) => {\r\n formik.handleChange({\r\n target: {\r\n name: `deals[${index}].lostNote`,\r\n value: e,\r\n },\r\n });\r\n }}\r\n onInit={() => {\r\n setEditorLoader(false);\r\n }}\r\n apiKey={textEditorApiKey ||''}\r\n init={init}>\r\n \r\n \r\n Archive scheduled tasks{' '}\r\n x.dealStateId == DealStatusEnum.Lost).length > 0}\r\n checked={formik.values.deals[index] && formik.values.deals[index].isArchiveTask}\r\n onChange={formik.handleChange}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n );\r\n })}\r\n
        \r\n
        \r\n
        \r\n
        \r\n
        \r\n
        \r\n );\r\n}\r\n","import { ReactElement, useEffect, useState } from 'react';\r\nimport { DealItem } from '../model/dealsInterfaces';\r\nimport {\r\n Drawer,\r\n Box,\r\n Toolbar,\r\n Typography,\r\n IconButton,\r\n Divider,\r\n Grid,\r\n Button,\r\n Container,\r\n Switch,\r\n} from '@material-ui/core';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport { useAppSelector } from 'app';\r\nimport { useFormik } from 'formik';\r\nimport AppSnackbar from 'components/snackbar/snackbar';\r\nimport PipelineDeals from 'components/deals/apis/deals-api';\r\nimport useStyles from '../styles/deals-styles';\r\nimport { DealStatusEnum } from '../model/DealStatusEnum';\r\n\r\nexport function WonDealDrawer({\r\n open,\r\n editCount,\r\n selectedColumn,\r\n renderDeals,\r\n onClose,\r\n}: {\r\n open: boolean;\r\n selectedColumn: DealItem[];\r\n editCount: number;\r\n renderDeals: () => void;\r\n onClose(val: boolean): void;\r\n}): ReactElement {\r\n const classes = useStyles();\r\n const [showSnackBar] = AppSnackbar.useSnackBar();\r\n\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n const formik = useFormik({\r\n initialValues: {\r\n deals: selectedColumn,\r\n },\r\n enableReinitialize: true,\r\n onSubmit: async (values) => {\r\n const wonDealValues = [...selectedColumn];\r\n if (values.deals.length > 0) {\r\n wonDealValues.map((data, _index) => {\r\n values.deals.map((val, index) => {\r\n if (_index === index) {\r\n data.isArchiveTask = val.isArchiveTask;\r\n }\r\n });\r\n });\r\n }\r\n if (wonDealValues && wonDealValues.length > 0) {\r\n await PipelineDeals.PipelineDeals.updateDealWon(wonDealValues).then((response) => {\r\n if (response === 'Ok') {\r\n onClose(false);\r\n renderDeals();\r\n showSnackBar({ type: 'success', message: `${editCount > 1 ? 'Deals' : 'Deal'} Updated Successfully` });\r\n } else {\r\n onClose(false);\r\n showSnackBar({ type: 'error', message: 'Something Went Wrong' });\r\n }\r\n });\r\n }\r\n },\r\n });\r\n useEffect(() => {\r\n if (!open) {\r\n formik.values.deals = [];\r\n }\r\n }, [selectedColumn, formik.values]);\r\n\r\n return (\r\n onClose(false)}>\r\n \r\n \r\n \r\n Edit {editCount + (editCount > 1 ? ' Deals' : ' Deal')}: Mark All Won\r\n \r\n onClose(false)}>\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n x.dealStateId == DealStatusEnum.Won).length > 0}\r\n variant=\"contained\"\r\n size=\"small\"\r\n color=\"primary\"\r\n onClick={() => formik.handleSubmit()}>\r\n Save\r\n \r\n \r\n \r\n\r\n \r\n \r\n {selectedColumn.map((deal, index) => {\r\n return (\r\n <>\r\n
        \r\n \r\n {deal.title}\r\n {deal.customer}\r\n \r\n Archive scheduled tasks{' '}\r\n x.dealStateId == DealStatusEnum.Won).length > 0}\r\n id={`deals[${index}].id`}\r\n name={`deals[${index}].isArchiveTask`}\r\n checked={formik.values.deals[index] && formik.values.deals[index].isArchiveTask}\r\n onChange={formik.handleChange}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n );\r\n })}\r\n
        \r\n
        \r\n
        \r\n
        \r\n
        \r\n
        \r\n );\r\n}\r\n","import {\r\n Drawer,\r\n Box,\r\n Toolbar,\r\n Typography,\r\n IconButton,\r\n Divider,\r\n Grid,\r\n Button,\r\n Container,\r\n Switch,\r\n} from '@material-ui/core';\r\nimport { ReactElement, useEffect, useState } from 'react';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport { DealItem } from '../model/dealsInterfaces';\r\nimport { useAppSelector } from 'app';\r\nimport { useFormik } from 'formik';\r\nimport PipelineDeals from 'components/deals/apis/deals-api';\r\nimport AppSnackbar from 'components/snackbar/snackbar';\r\nimport useStyles from '../styles/deals-styles';\r\nimport { DealStatusEnum } from '../model/DealStatusEnum';\r\n\r\nexport function ArchiveDealDrawer({\r\n open,\r\n editCount,\r\n selectedColumn,\r\n renderDeals,\r\n onClose,\r\n}: {\r\n open: boolean;\r\n selectedColumn: DealItem[];\r\n editCount: number;\r\n renderDeals: () => void;\r\n onClose(val: boolean): void;\r\n}): ReactElement {\r\n const classes = useStyles();\r\n const [showSnackBar] = AppSnackbar.useSnackBar();\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n\r\n const formik = useFormik({\r\n initialValues: {\r\n deals: selectedColumn,\r\n },\r\n enableReinitialize: true,\r\n onSubmit: async () => {\r\n const archiveDealValues = [...selectedColumn];\r\n if (formik.touched.deals && formik.touched.deals.length > 0) {\r\n archiveDealValues.map((data, _index) => {\r\n formik.touched.deals?.map((val, index) => {\r\n if (_index === index) {\r\n data.isArchiveTask = val.isArchiveTask!;\r\n }\r\n });\r\n });\r\n }\r\n if (archiveDealValues && archiveDealValues.length > 0) {\r\n await PipelineDeals.PipelineDeals.updateDealArchive(archiveDealValues).then((response) => {\r\n if (response === 'Ok') {\r\n onClose(false);\r\n renderDeals();\r\n showSnackBar({ type: 'success', message: `${editCount > 1 ? 'Deals' : 'Deal'} Updated Successfully` });\r\n } else {\r\n showSnackBar({ type: 'error', message: 'Something Went Wrong' });\r\n }\r\n });\r\n }\r\n },\r\n });\r\n useEffect(() => {\r\n if (!open) {\r\n formik.values.deals = [];\r\n }\r\n }, [selectedColumn, formik.values]);\r\n\r\n return (\r\n onClose(false)}>\r\n \r\n \r\n \r\n Edit {editCount + (editCount > 1 ? ' Deals' : ' Deal')}: Archive\r\n \r\n onClose(false)}>\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n x.dealStateId == DealStatusEnum.Archive).length > 0}\r\n variant=\"contained\"\r\n size=\"small\"\r\n color=\"primary\"\r\n onClick={() => {\r\n formik.handleSubmit(), onClose(false);\r\n }}>\r\n Save\r\n \r\n \r\n \r\n\r\n \r\n \r\n {selectedColumn.map((deal, index) => {\r\n return (\r\n <>\r\n
        \r\n \r\n {deal.title}\r\n {deal.customer}\r\n\r\n \r\n Archive scheduled tasks{' '}\r\n x.dealStateId == DealStatusEnum.Archive).length > 0}\r\n checked={formik.values.deals[index] && formik.values.deals[index].isArchiveTask}\r\n onChange={formik.handleChange}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n );\r\n })}\r\n
        \r\n
        \r\n
        \r\n
        \r\n
        \r\n
        \r\n );\r\n}\r\n","export enum DmsTypeEnum {\r\n Ideal= 0,\r\n Infinity= 1,\r\n Aspen= 9,\r\n};\r\n\r\nexport namespace DmsTypeEnum {\r\n export function getName(value: number): string {\r\n return Object.keys(DmsTypeEnum)\r\n .find((key) => DmsTypeEnum[key as keyof typeof DmsTypeEnum] === value) || \"\";\r\n }\r\n}","import {\r\n Box,\r\n Button,\r\n Checkbox,\r\n CircularProgress,\r\n Container,\r\n Divider,\r\n Drawer,\r\n FormControlLabel,\r\n FormGroup,\r\n Grid,\r\n IconButton,\r\n makeStyles,\r\n MenuItem,\r\n Popover,\r\n Switch,\r\n TextField,\r\n Theme,\r\n Toolbar,\r\n Typography,\r\n} from '@material-ui/core';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport { useStyles } from '@material-ui/pickers/views/Calendar/SlideTransition';\r\nimport AddIcon from '@mui/icons-material/Add';\r\nimport ClearIcon from '@mui/icons-material/Clear';\r\nimport EditIcon from '@mui/icons-material/Edit';\r\nimport EmailIcon from '@mui/icons-material/Email';\r\nimport LocalPhoneIcon from '@mui/icons-material/LocalPhone';\r\nimport Chip from '@mui/material/Chip';\r\nimport { useAppSelector } from 'app';\r\nimport { CustomerDto } from 'common/models';\r\nimport { formatPhoneNumber } from 'common/utils';\r\nimport CustomerAPI, { CustomerEmailType, CustomerPhoneType } from 'components/customer/api/CustomerAPI';\r\nimport { CustomerContacResponse } from 'components/deals/model/dealsInterfaces';\r\nimport AppSnackbar from 'components/snackbar/snackbar';\r\nimport { useFormik } from 'formik';\r\nimport { ReactElement, useEffect, useState } from 'react';\r\nimport MaskedInput from 'react-text-mask';\r\nimport * as Yup from 'yup';\r\nimport { DatePicker, LocalizationProvider } from '@mui/lab';\r\nimport AdapterDateFns from '@mui/lab/AdapterDateFns';\r\nimport moment from 'moment';\r\nimport { DmsTypeEnum } from 'common/enums/DmsTypeEnum';\r\n\r\nimport EmailLink from 'common/components/buttons/email-link';\r\n\r\ninterface TextMaskCustomProps {\r\n inputRef: (ref: HTMLInputElement | null) => void;\r\n}\r\n\r\nconst TextMaskCustom = (props: TextMaskCustomProps) => {\r\n const { inputRef, ...other } = props;\r\n return (\r\n {\r\n inputRef(ref ? ref.inputElement : null);\r\n }}\r\n guide\r\n keepCharPositions\r\n mask={['(', /[1-9]/, /\\d/, /\\d/, ')', ' ', /\\d/, /\\d/, /\\d/, '-', /\\d/, /\\d/, /\\d/, /\\d/]}\r\n placeholderChar={'\\u2000'}\r\n showMask\r\n />\r\n );\r\n};\r\nconst formatDate = (date: string): string => {\r\n if (date) return moment(date).format('M/DD/YYYY');\r\n else {\r\n return '';\r\n }\r\n};\r\nexport interface CustomerContactNew {\r\n dmsId: number;\r\n crmCustomerId: string;\r\n firstName: string;\r\n lastName: string;\r\n name: string;\r\n jobTitle: string;\r\n dateOfBirth: '';\r\n contactId?: string;\r\n isPrimary: boolean;\r\n phones?: ContactPhone[];\r\n emails?: ContactEmail[];\r\n}\r\n\r\nexport interface ContactPhone {\r\n Id?: number;\r\n phoneNumber: string;\r\n phoneType: number;\r\n extension: string;\r\n isDefault: boolean;\r\n}\r\nexport interface ContactEmail {\r\n Id?: number;\r\n address: string;\r\n emailType: number;\r\n isDefault: boolean;\r\n}\r\nexport function CustomerContactDrawer({\r\n open,\r\n selectedCustomers,\r\n editContact,\r\n addCustomer,\r\n setNewCustomerContact,\r\n onClose,\r\n IsCustomerOrganization,\r\n defaultPhoneType,\r\n convPhoneIds,\r\n}: {\r\n open: boolean;\r\n selectedCustomers: CustomerDto[] | undefined;\r\n editContact?: any;\r\n addCustomer?: any;\r\n setNewCustomerContact(val: CustomerContacResponse | null): void;\r\n onClose(val: boolean): void;\r\n IsCustomerOrganization?: any;\r\n defaultPhoneType?: number;\r\n convPhoneIds: number[] | undefined;\r\n}): ReactElement {\r\n const useStyles = makeStyles((theme: Theme) => ({\r\n textFieldPadding: {\r\n paddingBottom: '5%',\r\n },\r\n errorMsg: {\r\n color: '#e53935',\r\n fontSize: '12px',\r\n fontWeight: 400,\r\n letterSpacing: '-0.06px',\r\n marginLeft: '10px',\r\n marginTop: '-15px',\r\n },\r\n muiPopoverPaper: {\r\n '@media screen and (max-width: 1280px)': {\r\n width: '50%',\r\n maxHeight: '200px !important',\r\n top: '40% !important',\r\n left: '0 !important',\r\n right: '0',\r\n margin: '0 auto',\r\n },\r\n },\r\n }));\r\n const classes = useStyles();\r\n const [showSnackBar] = AppSnackbar.useSnackBar();\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n const [phoneTypes, setPhoneTypes] = useState([]);\r\n const [emailTypes, setEmailTypes] = useState([]);\r\n const dmsTypeId = useAppSelector((state) => state.user.dmsTypeId);\r\n const [loading, setLoading] = useState(false);\r\n\r\n useEffect(() => {\r\n async function fetchLookups() {\r\n let phoneTypes = await CustomerAPI.getPhoneTypes(dealerId);\r\n let emailTypes = await CustomerAPI.getEmailTypes(dealerId);\r\n\r\n //Inifinity has only Cell Phone number\r\n if (dmsTypeId == 1) {\r\n phoneTypes = phoneTypes.filter((x) => x.customerPhoneTypeId == 1);\r\n }\r\n setPhoneTypes(phoneTypes);\r\n setEmailTypes(emailTypes);\r\n }\r\n fetchLookups();\r\n }, [1]);\r\n let initialValues: CustomerContactNew = {\r\n dmsId: dmsTypeId,\r\n crmCustomerId: editContact ? editContact.CrmCustomerId : addCustomer || '',\r\n contactId: editContact ? editContact.ContactId : '',\r\n firstName: editContact ? editContact.FirstName : '',\r\n lastName: editContact ? editContact.LastName : '',\r\n name: editContact ? editContact.Name : '',\r\n jobTitle: editContact ? editContact.JobTitle : '',\r\n dateOfBirth: editContact ? editContact.DateOfBirth : '',\r\n phones: editContact ? (editContact.Phones != null ? editContact.Phones : []) : [],\r\n emails: editContact && editContact.Emails != null ? editContact.Emails : [],\r\n isPrimary: editContact && editContact.Primary != null ? editContact?.Primary : false,\r\n };\r\n\r\n const validationSchema = Yup.object({\r\n crmCustomerId: Yup.string().required('Customer Required'),\r\n firstName: dmsTypeId == 0 || dmsTypeId == 9 ? Yup.string().required('First Name Required') : undefined,\r\n lastName: dmsTypeId == 0 || dmsTypeId == 9 ? Yup.string().required('Last Name Required') : undefined,\r\n name: dmsTypeId == 1 ? Yup.string().required('Name Required') : undefined,\r\n jobTitle: Yup.string().max(50,'Job Title cannot exceed 50 characters.')\r\n });\r\n const formik = useFormik({\r\n initialValues: initialValues,\r\n validationSchema: validationSchema,\r\n enableReinitialize: true,\r\n onSubmit: async (customerContact: any) => {\r\n if (editContact && editContact.ContactId != 0) {\r\n customerContact.contactId = editContact.ContactId;\r\n } else {\r\n customerContact.contactId = '0';\r\n }\r\n if(dmsTypeId == DmsTypeEnum.Aspen){\r\n if (customerContact.phones != null && customerContact.phones.length > 0 && !customerContact.phones?.find((phone: { IsDefault: boolean; }) => phone.IsDefault == true)) {\r\n showSnackBar({ type: 'error', message: 'At least one phone should be Default.' });\r\n return;\r\n }\r\n if (customerContact.emails != null && customerContact.emails.length > 0 && !customerContact.emails?.find((email: { IsDefault: boolean; }) => email.IsDefault == true)) {\r\n showSnackBar({ type: 'error', message: 'At least one email should be Default.' });\r\n return;\r\n }\r\n }\r\n handleSubmitCustomerContact(customerContact);\r\n },\r\n });\r\n\r\n async function handleSubmitCustomerContact(customerContact: CustomerContactNew): Promise {\r\n try {\r\n if (dmsTypeId == DmsTypeEnum.Ideal) {\r\n customerContact.name = [customerContact.lastName, customerContact.firstName].join(', ');\r\n }\r\n if (dmsTypeId == DmsTypeEnum.Aspen) {\r\n customerContact.name = [customerContact.firstName, customerContact.lastName].join(', ');\r\n }\r\n\r\n let phoneNumbers: any[] = [];\r\n //Need to unformat phone numbers for DB insertion\r\n if (customerContact.phones) {\r\n customerContact.phones.forEach((x:any) => {\r\n if (x.PhoneNumber) {\r\n let p = {\r\n ...x,\r\n PhoneNumber: x.PhoneNumber.replace(/[^0-9]/g,''),\r\n };\r\n phoneNumbers.push(p);\r\n }\r\n });\r\n }\r\n customerContact.phones = phoneNumbers;\r\n \r\n setLoading(true);\r\n const response = (await CustomerAPI.addCustomerContact(dealerId, customerContact)).data as CustomerContacResponse;\r\n\r\n if (response) {\r\n setNewCustomerContact(response);\r\n showSnackBar({ type: 'success', message: `Contact ${editContact ? 'updated' : 'added'} successfully.` });\r\n onCloseHandler();\r\n } else {\r\n showSnackBar({ type: 'error', message: `Unable to ${editContact ? 'update' : 'add'} contact.` });\r\n throw new Error('Unable to add contact.');\r\n }\r\n setLoading(false);\r\n } catch (error: any) {\r\n setLoading(false);\r\n const message = typeof error === \"string\" ? error:'Unable to add contact.';\r\n showSnackBar({ type: 'error', message:message });\r\n }\r\n }\r\n\r\n function onCloseHandler() {\r\n onClose(false);\r\n formik.resetForm();\r\n }\r\n\r\n return (\r\n
        \r\n {\r\n onCloseHandler();\r\n // editContact && setEnableEdit(true);\r\n }}>\r\n {!loading ? (\r\n \r\n \r\n \r\n {editContact ? 'Edit' : 'Add'} Customer Contact\r\n \r\n onCloseHandler()}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n formik.handleSubmit()}>\r\n {editContact ? 'Update' : 'Save'}\r\n \r\n \r\n {selectedCustomers && selectedCustomers?.length > 0 && (\r\n \r\n \r\n {selectedCustomers?.map((options) => {\r\n return {options.name};\r\n })}\r\n \r\n \r\n )}\r\n {(dmsTypeId == 0 || dmsTypeId == 9) && (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n {dmsTypeId == 1 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n {\r\n if (!e) {\r\n e = '';\r\n }\r\n formik.setFieldValue('dateOfBirth', formatDate(e));\r\n }}\r\n renderInput={(params: any) => {\r\n return (\r\n \r\n );\r\n }}\r\n />\r\n \r\n \r\n {(dmsTypeId == 9 ||\r\n (dmsTypeId == 0 && IsCustomerOrganization) ||\r\n (dmsTypeId == 0 && formik.values.isPrimary)) && (\r\n \r\n \r\n \r\n }\r\n label=\"Primary\"\r\n />\r\n \r\n \r\n )}\r\n \r\n
        \r\n \r\n
        \r\n
        \r\n \r\n \r\n
        \r\n
        \r\n
        \r\n
        \r\n
        \r\n
        \r\n ) : (\r\n \r\n \r\n \r\n // \r\n // \r\n // \r\n \r\n )}\r\n \r\n \r\n );\r\n}\r\n\r\nfunction ContactPhoneList({\r\n formik,\r\n phoneTypes,\r\n dmsTypeId,\r\n defaultPhoneType,\r\n convPhoneIds,\r\n}: {\r\n formik: any;\r\n phoneTypes: CustomerPhoneType[];\r\n dmsTypeId: number;\r\n defaultPhoneType?: number;\r\n convPhoneIds: number[] | undefined;\r\n}): ReactElement {\r\n const [popoverState, setPopoverState] = useState({ openedPopoverId: null, anchorEl: null });\r\n const [showSnackBar] = AppSnackbar.useSnackBar();\r\n const classes: any = useStyles();\r\n\r\n const handlePopoverOpen = (event: any, popoverId: any) => {\r\n setPopoverState({\r\n openedPopoverId: popoverId,\r\n anchorEl: event.target,\r\n });\r\n };\r\n const handlePopoverClose = () => {\r\n setPopoverState({\r\n openedPopoverId: null,\r\n anchorEl: null,\r\n });\r\n\r\n const data = formik.values.phones.length - 1;\r\n if (formik.values.phones[data].PhoneNumber === '') {\r\n let contactPhones = [...formik.values.phones];\r\n contactPhones.splice(data, 1);\r\n formik.setFieldValue('phones', contactPhones);\r\n }\r\n };\r\n const addPhoneRow = (event: any) => {\r\n //Infinity has only one cell phone\r\n if (dmsTypeId == 1 && formik.values.phones.length == 1) {\r\n showSnackBar({ type: 'info', message: 'Only one phone number is allowed.' });\r\n return;\r\n }\r\n //Ideal has only four phone numbers\r\n if (dmsTypeId == 0 && formik.values.phones.length == 4) {\r\n showSnackBar({ type: 'info', message: 'Only four phone numbers are allowed.' });\r\n return;\r\n }\r\n\r\n let contactPhones: any = [];\r\n if (formik.values.phones && formik) {\r\n contactPhones = [...formik.values.phones];\r\n }\r\n\r\n let allPhoneTypes: number[] = phoneTypes.map((x: CustomerPhoneType) => x.customerPhoneTypeId);\r\n let phoneType: number[] = [];\r\n phoneType = contactPhones.map((x: any) => x.PhoneType);\r\n\r\n let notAddedPhoneTypes = allPhoneTypes.filter((x: number) => phoneType.indexOf(x) == -1);\r\n if (notAddedPhoneTypes.length > 0) {\r\n const contactPhone: any = {\r\n Id: 0,\r\n ContactId: 0,\r\n PhoneType: notAddedPhoneTypes[0],\r\n PhoneNumber: '',\r\n PhoneTypeName: '',\r\n IsCellPhone: false,\r\n Extension: '',\r\n IsDefault: dmsTypeId == 9 && formik.values.phones.length == 0 ? true : false,\r\n };\r\n contactPhones.push(contactPhone);\r\n formik.setFieldValue('phones', contactPhones);\r\n const _index = contactPhones.indexOf(contactPhone);\r\n handlePopoverOpen(event, _index);\r\n }\r\n };\r\n const removePhoneRow = (index: number) => {\r\n let contactPhones = [...formik.values.phones];\r\n contactPhones.splice(index, 1);\r\n formik.setFieldValue('phones', contactPhones);\r\n };\r\n const removePhoneRowHandler = (index: number, phoneId: number) => {\r\n if (!convPhoneIds?.includes(phoneId)) {\r\n removePhoneRow(index);\r\n } else {\r\n showSnackBar({\r\n type: 'error',\r\n message: 'Cannot delete a phone number that is associated with a conversation',\r\n });\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Phone\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n addPhoneRow(e);\r\n }}\r\n style={{ cursor: 'pointer' }}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {formik &&\r\n formik.values.phones.map((row: any, index: number) => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {formik.values.phones[index].PhoneNumber ? (\r\n formatPhoneNumber(formik.values.phones[index].PhoneNumber) +\r\n ' ' +\r\n (formik.values.phones[index].Extension != null &&\r\n formik.values.phones[index].Extension != '' &&\r\n (dmsTypeId === 9 || dmsTypeId === 0)\r\n ? '(' + formik.values.phones[index].Extension + ')'\r\n : '')\r\n ) : (\r\n (000) 000-0000\r\n )}\r\n  \r\n formik.values.phones[index].PhoneType == x.customerPhoneTypeId,\r\n )[0]?.name\r\n }\r\n color=\"primary\"\r\n variant=\"filled\"\r\n />\r\n {row.IsDefault && dmsTypeId === 9 && <> }\r\n {row.IsDefault && dmsTypeId === 9 && (\r\n \r\n )}\r\n \r\n \r\n \r\n handlePopoverOpen(e, index)}\r\n className={classes.iconButton}>\r\n \r\n \r\n {\r\n const phoneId = Number(formik.values.phones[index]?.Id);\r\n removePhoneRowHandler(index, phoneId);\r\n }}\r\n style={{ cursor: 'pointer' }}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n formik.setFieldValue(`phones[${index}].PhoneNumber`, e.target.value);\r\n }}\r\n InputProps={{\r\n inputComponent: TextMaskCustom as any,\r\n }}\r\n />\r\n \r\n \r\n {(dmsTypeId === 9 || dmsTypeId === 0) && (\r\n {\r\n formik.setFieldValue(`phones[${index}].Extension`, e.target.value);\r\n }}\r\n onKeyPress={(event) => {\r\n if (\r\n event?.key === '-' ||\r\n event?.key === '+' ||\r\n formik.values.phones[index].Extension.length > 4\r\n ) {\r\n event.preventDefault();\r\n }\r\n }}\r\n InputProps={{\r\n type: 'number',\r\n }}\r\n />\r\n )}\r\n \r\n \r\n {dmsTypeId === 9 && (\r\n \r\n {\r\n formik.values.phones.forEach((e: any, i: number) => {\r\n if (i !== index) {\r\n formik.setFieldValue(`phones[${i}].IsDefault`, false);\r\n }\r\n });\r\n formik.setFieldValue(`phones[${index}].IsDefault`, e.target.checked);\r\n }}\r\n checked={row.IsDefault}\r\n inputProps={{ 'aria-label': 'controlled' }}\r\n />\r\n }\r\n label=\"Default\"\r\n />\r\n \r\n )}\r\n \r\n \r\n {\r\n formik.setFieldValue(`phones[${index}].PhoneType`, e.target.value);\r\n }}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}>\r\n {phoneTypes.map((option: CustomerPhoneType) => {\r\n return (\r\n {\r\n if (formik.values.phones) {\r\n return x.PhoneType === option.customerPhoneTypeId;\r\n }\r\n })?.length > 0 && dmsTypeId == 0\r\n }\r\n key={option.customerPhoneTypeId}\r\n value={option.customerPhoneTypeId}>\r\n {option.name}\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n \r\n {\r\n handlePopoverClose();\r\n }}>\r\n Close\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nfunction ContactEmailList({\r\n formik,\r\n emailTypes,\r\n dmsTypeId,\r\n}: {\r\n formik: any;\r\n emailTypes: CustomerEmailType[];\r\n dmsTypeId: number;\r\n}): ReactElement {\r\n const [emailError, setEmailError] = useState<{ notEmail: boolean; helperText: string }>({\r\n notEmail: false,\r\n helperText: '',\r\n });\r\n const [popoverState, setPopoverState] = useState({ openedPopoverId: null, anchorEl: null });\r\n const [showSnackBar] = AppSnackbar.useSnackBar();\r\n\r\n const handlePopoverOpen = (event: any, popoverId: any) => {\r\n setPopoverState({\r\n openedPopoverId: popoverId,\r\n anchorEl: event.target,\r\n });\r\n };\r\n const handlePopoverClose = () => {\r\n !emailError.notEmail &&\r\n setPopoverState({\r\n openedPopoverId: null,\r\n anchorEl: null,\r\n });\r\n\r\n const data = formik.values.emails.length - 1;\r\n if (formik.values.emails[data].Address === '') {\r\n let contactEmails = [...formik.values.emails];\r\n contactEmails.splice(data, 1);\r\n formik.setFieldValue('emails', contactEmails);\r\n }\r\n };\r\n\r\n const addEmailRow = (event: any) => {\r\n if ((dmsTypeId == 1 || dmsTypeId == 0) && formik.values.emails.length == 1) {\r\n showSnackBar({ type: 'info', message: 'Only one email is allowed.' });\r\n return;\r\n }\r\n let emails = [...formik.values.emails];\r\n\r\n if (dmsTypeId != 9) {\r\n let allEmailTypes: number[] = emailTypes.map((x: CustomerEmailType) => x.customerEmailTypeId);\r\n let emailType: number[] = emails.map((x: ContactEmail) => x.emailType);\r\n let notAddedEmailTypes = allEmailTypes.filter((x: number) => emailType.indexOf(x) == -1);\r\n if (notAddedEmailTypes.length > 0) {\r\n const contactEmail: any = {\r\n Id: 0,\r\n Address: '',\r\n EmailType: emailTypes[0] ? emailTypes[0].customerEmailTypeId : 0,\r\n IsDefault: dmsTypeId == 9 && formik.values.emails.length == 0 ? true : false,\r\n };\r\n emails.push(contactEmail);\r\n formik.setFieldValue('emails', emails);\r\n const _index = emails.indexOf(contactEmail);\r\n handlePopoverOpen(event, _index);\r\n }\r\n } else {\r\n const contactEmail: any = {\r\n Id: 0,\r\n Address: '',\r\n EmailType: emailTypes[0] ? emailTypes[0].customerEmailTypeId : 0,\r\n IsDefault: dmsTypeId == 9 && formik.values.emails.length == 0 ? true : false,\r\n };\r\n emails.push(contactEmail);\r\n formik.setFieldValue('emails', emails);\r\n const _index = emails.indexOf(contactEmail);\r\n handlePopoverOpen(event, _index);\r\n }\r\n };\r\n const removeEmailRow = (index: number) => {\r\n let contactEmails = [...formik.values.emails];\r\n contactEmails.splice(index, 1);\r\n formik.setFieldValue('emails', contactEmails);\r\n };\r\n function ValidateEmail(email: any, index: number) {\r\n if (email.length > 0 && !email.match(/^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$/)) {\r\n formik.setFieldError(`emails[${index}].address`, 'Invalid Email', false);\r\n setEmailError({ notEmail: true, helperText: 'Invalid Email' });\r\n } else {\r\n setEmailError({ notEmail: false, helperText: '' });\r\n }\r\n }\r\n const classes: any = useStyles();\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Email\r\n \r\n \r\n \r\n {/* {dmsTypeId == 9 || (formik.values.emails.length == 0) && ( */}\r\n \r\n \r\n \r\n \r\n {\r\n addEmailRow(e);\r\n }}\r\n style={{ cursor: 'pointer' }}\r\n />\r\n \r\n \r\n \r\n \r\n {/* )} */}\r\n \r\n \r\n \r\n {formik.values.emails &&\r\n formik.values.emails.map((row: any, index: number) => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {formik.values.emails[index].Address ? (\r\n \r\n ) : (\r\n address@example.com\r\n )}\r\n    \r\n formik.values.emails[index].EmailType === x.customerEmailTypeId,\r\n )[0]?.name\r\n }\r\n color=\"primary\"\r\n variant=\"filled\"\r\n />\r\n {row.IsDefault && dmsTypeId === 9 && <> }\r\n {row.IsDefault && dmsTypeId === 9 && (\r\n \r\n )}\r\n \r\n \r\n \r\n handlePopoverOpen(e, index)}\r\n className={classes.iconButton}>\r\n \r\n \r\n {\r\n removeEmailRow(index);\r\n }}\r\n style={{ cursor: 'pointer' }}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n formik.setFieldValue(`emails[${index}].Address`, e.target.value);\r\n }}\r\n onChangeCapture={(e: any) => {\r\n ValidateEmail(e.target.value, index);\r\n }}\r\n error={emailError.notEmail}\r\n helperText={emailError.helperText}\r\n />\r\n \r\n \r\n {\r\n formik.setFieldValue(`emails[${index}].EmailType`, e.target.value);\r\n }}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}>\r\n {emailTypes.map((option: CustomerEmailType) => {\r\n return (\r\n \r\n {option.name}\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n \r\n {dmsTypeId === 9 && (\r\n {\r\n formik.setFieldValue(`emails[${index}].IsDefault`, e.target.checked);\r\n formik.values.emails.forEach((e: any, i: number) => {\r\n if (i !== index) {\r\n formik.setFieldValue(`emails[${i}].IsDefault`, false);\r\n }\r\n });\r\n }}\r\n checked={row.IsDefault}\r\n inputProps={{ 'aria-label': 'controlled' }}\r\n />\r\n }\r\n label=\"Default\"\r\n />\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n {\r\n handlePopoverClose();\r\n }}>\r\n Close\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n );\r\n}\r\n","import {\r\n Box,\r\n Typography,\r\n Grid,\r\n TextField,\r\n CircularProgress,\r\n ListItem,\r\n ListItemIcon,\r\n ListItemText,\r\n Checkbox,\r\n makeStyles,\r\n Theme,\r\n Link,\r\n Chip,\r\n} from '@material-ui/core';\r\nimport React, { useEffect, useState } from 'react';\r\nimport AddIcon from '@mui/icons-material/Add';\r\nimport { CustomerContact, CustomerTreeNodeType, CustomerTreeOption } from '../model/dealsInterfaces';\r\nimport { Autocomplete, TreeItem, TreeView } from '@material-ui/lab';\r\nimport { CustomerDto } from 'common/models';\r\nimport CustomerApi from 'components/customer/api/CustomerAPI';\r\nimport { groupBy } from 'lodash';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport CustomerAPI from 'components/customer/api/CustomerAPI';\r\nimport { DealCustomerContacts } from '../model/deal-edit-drawer';\r\nimport {\r\n fetchSelectedCustomer,\r\n setCreatedCustomer,\r\n showCustomerDrawer,\r\n} from 'components/customer/components/Customers/customersSlice';\r\n\r\nfunction CustomerContactTreeView({\r\n preSelected,\r\n dealCustomerContacts,\r\n selectedContacts,\r\n selectedCustomers,\r\n customerTreeOptions,\r\n enableCustomerValidation,\r\n nodeIdCount,\r\n disabledTreeView,\r\n setSelectedContacts,\r\n setSelectedCustomers,\r\n setCustomerTreeOptions,\r\n setCustomerContactDrawerState,\r\n setNodeIdCount,\r\n}: {\r\n preSelected?: boolean;\r\n dealCustomerContacts: DealCustomerContacts[];\r\n selectedContacts: number[];\r\n selectedCustomers: CustomerDto[] | undefined;\r\n customerTreeOptions: CustomerTreeOption[];\r\n enableCustomerValidation: boolean;\r\n nodeIdCount: number;\r\n disabledTreeView: boolean;\r\n setSelectedContacts(contacts: number[]): void;\r\n setSelectedCustomers(customers: CustomerDto[] | undefined): void;\r\n setCustomerTreeOptions(options: CustomerTreeOption[]): void;\r\n setCustomerContactDrawerState(value: boolean): void;\r\n setNodeIdCount(value: number): void;\r\n}) {\r\n const useStyles = makeStyles((theme: Theme) => ({\r\n textFieldPadding: {\r\n paddingBottom: '2%',\r\n },\r\n drawerFieldContainer: {\r\n paddingRight: '2%',\r\n paddingLeft: '2%',\r\n },\r\n errorMsg: {\r\n color: '#e53935',\r\n fontSize: '12px',\r\n fontWeight: 400,\r\n letterSpacing: '-0.06px',\r\n marginLeft: '10px',\r\n },\r\n contactsBox: {\r\n marginBottom: '15px',\r\n marginTop: '5px',\r\n maxHeight: '200px',\r\n boxShadow:\r\n '0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%)',\r\n },\r\n addIcon: {\r\n cursor: 'pointer',\r\n float: 'right',\r\n padding: '7px',\r\n },\r\n hyperLink: {\r\n fontSize: 'small',\r\n marginTop: '12px',\r\n paddingLeft: '20px',\r\n },\r\n disableTreeView: {\r\n pointerEvents: 'none',\r\n opacity: 0.4,\r\n },\r\n }));\r\n\r\n const classes = useStyles();\r\n const dispatch = useAppDispatch();\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n const dmsDealerId = useAppSelector((state) => state.user.dmsDealerId);\r\n const createdCustomer = useAppSelector((state) => state.customers.createdCustomer);\r\n const dmsTypeId = useAppSelector((state) => state.user.dmsTypeId);\r\n\r\n const [contactsLoading, setContactsLoading] = useState(false);\r\n const [openCustomerDropdown, setOpenCustomerDropdown] = useState(false);\r\n const [customerOptions, setCustomerOptions] = useState([]);\r\n const [customerloading, setCustomerLoading] = useState(false);\r\n\r\n const expandedIds = Array.from({ length: nodeIdCount }).map((x: any, i: number): string => i.toString());\r\n const onAddCustomerBtn = () => dispatch(showCustomerDrawer({ drawerType: 'CUSTOMER_ADD', drawerProps: {} }));\r\n const onEditCustomerBtn = (crmCustomerId: number) => dispatch(fetchSelectedCustomer(crmCustomerId));\r\n\r\n\r\n useEffect(() => {\r\n setExistingCustomersAndContacts();\r\n }, [dealCustomerContacts]);\r\n\r\n useEffect(() => {\r\n if (selectedCustomers && selectedCustomers.length > 0 && customerTreeOptions.length == 0 && preSelected) {\r\n const latestCustomer = selectedCustomers[selectedCustomers.length - 1];\r\n getCustomerContacts(latestCustomer);\r\n }\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (createdCustomer) {\r\n let custName = '';\r\n if (dmsTypeId === 1) {\r\n custName = createdCustomer.name;\r\n } else if (createdCustomer.organizationName && !createdCustomer.firstName && !createdCustomer.lastName) {\r\n custName = `${createdCustomer.organizationName}`;\r\n } else if (dmsTypeId === 0 && createdCustomer.organizationName) {\r\n custName = `${createdCustomer.lastName}, ${createdCustomer.firstName} - ${createdCustomer.organizationName}`;\r\n } else if (dmsTypeId === 9 && createdCustomer.organizationName) {\r\n custName = `${createdCustomer.firstName} ${createdCustomer.lastName} - ${createdCustomer.organizationName}`;\r\n } else if (dmsTypeId === 0) {\r\n custName = `${createdCustomer.lastName}, ${createdCustomer.firstName}`;\r\n } else if (dmsTypeId === 9) {\r\n custName = `${createdCustomer.firstName} ${createdCustomer.lastName}`;\r\n }\r\n const newlyCreatedCust: CustomerDto = {\r\n id: createdCustomer.crmCustomerId,\r\n name: custName,\r\n dealerId: createdCustomer.dealerId,\r\n cellPhone: '',\r\n verificationStatus: false,\r\n optIn: 0,\r\n city: '',\r\n stateProvince: '',\r\n zipPostal: '',\r\n };\r\n\r\n if (selectedCustomers) {\r\n setSelectedCustomers([...selectedCustomers, newlyCreatedCust]);\r\n dispatch(setCreatedCustomer(undefined));\r\n }\r\n }\r\n }, [createdCustomer]);\r\n\r\n function setExistingCustomersAndContacts() {\r\n //Set existing customers\r\n if (dealCustomerContacts.length > 0) {\r\n let existingCustomers = dealCustomerContacts.map((x) => ({\r\n id: x.customerId,\r\n name: x.customerName,\r\n })) as CustomerDto[];\r\n //Get unique customers\r\n let uniqueExistingCustomers: CustomerDto[] = [];\r\n existingCustomers.filter((item) => {\r\n const i = uniqueExistingCustomers.findIndex((x) => x.id == item.id);\r\n if (i <= -1) {\r\n uniqueExistingCustomers.push(item);\r\n }\r\n return null;\r\n });\r\n setSelectedCustomers(uniqueExistingCustomers);\r\n }\r\n\r\n //Set existing contacts\r\n if (dealCustomerContacts.filter((x) => x.contactId).length > 0) {\r\n const customerContacts = dealCustomerContacts.filter((x) => x.contactId);\r\n const contactsPerCustomer = groupBy(customerContacts, 'customerId');\r\n let index = nodeIdCount;\r\n\r\n const contactsTree = Object.entries(contactsPerCustomer).map(([key, value]): CustomerTreeOption => {\r\n return {\r\n type: 'customer',\r\n title: value[0].customerName,\r\n value: parseInt(key, 10),\r\n nodeId: index++,\r\n nodes: value.map(\r\n (contact: DealCustomerContacts): CustomerTreeOption => ({\r\n type: 'contact',\r\n title: contact.contactName,\r\n value: contact.contactId,\r\n nodeId: index++,\r\n customerId: contact.customerId,\r\n }),\r\n ),\r\n };\r\n });\r\n\r\n setCustomerTreeOptions(contactsTree);\r\n setNodeIdCount(index);\r\n\r\n const selectedContacts = dealCustomerContacts.filter((x) => x.selected).map((x) => x.contactId);\r\n setSelectedContacts(selectedContacts);\r\n }\r\n }\r\n\r\n const onCustomerDropdownChange = async (value: string) => {\r\n setCustomerLoading(true);\r\n let data = await CustomerAPI.getCustomers(dealerId, 0, 10, value);\r\n if (data) {\r\n let customers = data?.customers.map((x: any) => ({\r\n name: `${x.name} ${\r\n dmsTypeId != 1 && x.organizationName && x.organizationName != '' ? ' - ' + x.organizationName : ''\r\n }`,\r\n id: x.id,\r\n }));\r\n setCustomerOptions(customers);\r\n } else {\r\n setCustomerOptions([]);\r\n }\r\n setCustomerLoading(false);\r\n };\r\n\r\n function setCustomersAndGetContacts(selectedCustomers: CustomerDto[], isDeleted: boolean) {\r\n setSelectedCustomers(selectedCustomers);\r\n\r\n if (isDeleted) {\r\n const selectedCustomerIds = selectedCustomers.map((y) => y.id);\r\n const existingcustomerTreeOptions = [...customerTreeOptions].filter((x) => selectedCustomerIds.includes(x.value));\r\n setCustomerTreeOptions(existingcustomerTreeOptions);\r\n\r\n const existingSelectedContacts = existingcustomerTreeOptions\r\n .filter((x) => x.nodes?.filter((x) => selectedContacts.includes(x.value)))\r\n .map((x) => x.value);\r\n setSelectedContacts(existingSelectedContacts);\r\n return;\r\n }\r\n\r\n if (selectedCustomers.length > 0) {\r\n const latestCustomer = selectedCustomers[selectedCustomers.length - 1];\r\n getCustomerContacts(latestCustomer);\r\n }\r\n }\r\n\r\n async function getCustomerContacts(customer: CustomerDto) {\r\n let obj: any = new Object();\r\n obj.DealerId = dealerId;\r\n obj.crmCustomerId = customer.id;\r\n const jsonString = JSON.stringify(obj);\r\n setContactsLoading(true);\r\n const customerContacts = (await CustomerApi.GetContacts(jsonString)) as CustomerContact[];\r\n\r\n if (customerContacts) {\r\n const contactsPerCustomer = groupBy(customerContacts, 'CrmCustomerId');\r\n let index = nodeIdCount;\r\n\r\n let contactsTree: CustomerTreeOption[] = [];\r\n if (customerContacts.length > 0) {\r\n contactsTree = Object.entries(contactsPerCustomer).map(([key, value]): CustomerTreeOption => {\r\n return {\r\n type: 'customer',\r\n title: customer.name,\r\n value: parseInt(key, 10),\r\n nodeId: index++,\r\n nodes: value.map(\r\n (contact: CustomerContact): CustomerTreeOption => ({\r\n type: 'contact',\r\n title: contact.Name,\r\n value: contact.Id,\r\n nodeId: index++,\r\n customerId: contact.CrmCustomerId,\r\n }),\r\n ),\r\n };\r\n });\r\n }\r\n\r\n setCustomerTreeOptions([...customerTreeOptions, ...contactsTree]);\r\n setNodeIdCount(index);\r\n setContactsLoading(false);\r\n }\r\n }\r\n\r\n function RenderLabel({\r\n title,\r\n type,\r\n checked,\r\n onClick,\r\n }: {\r\n title: string;\r\n type: 'customer' | 'contact';\r\n checked: boolean;\r\n onClick(): void;\r\n }): React.ReactElement {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {title}\r\n \r\n \r\n \r\n );\r\n }\r\n\r\n function CutomerTreeContactsItem({\r\n nodeId,\r\n title,\r\n nodes,\r\n customerId,\r\n selectedContactsIds,\r\n onSelect,\r\n }: {\r\n nodeId: string;\r\n title: string;\r\n customerId: number;\r\n nodes: CustomerTreeOption[];\r\n selectedContactsIds: number[];\r\n onSelect(type: CustomerTreeNodeType, id: number, select: boolean): void;\r\n }): React.ReactElement | null {\r\n if (nodes.length === 0) {\r\n return null;\r\n }\r\n const isCustomerSelected = selectedContactsIds.length\r\n ? nodes.map((dep) => dep.value).every((x) => selectedContactsIds.includes(x))\r\n : false;\r\n return (\r\n \r\n \r\n onSelect('customer', customerId, isCustomerSelected)}\r\n />\r\n \r\n \r\n {\r\n onEditCustomerBtn(customerId);\r\n }}>\r\n See Details\r\n \r\n \r\n \r\n }>\r\n {nodes.map((custOp) => (\r\n \r\n onSelect('contact', custOp.value, selectedContactsIds.indexOf(custOp.value) !== -1)\r\n }\r\n />\r\n }\r\n />\r\n ))}\r\n \r\n );\r\n }\r\n\r\n function CustomerTreeItem({\r\n customerTreeOption,\r\n onSelect,\r\n selectedCutomerIds,\r\n }: {\r\n customerTreeOption: CustomerTreeOption;\r\n onSelect(type: CustomerTreeNodeType, id: number, select: boolean): void;\r\n selectedCutomerIds: number[];\r\n }): React.ReactElement | null {\r\n if (customerTreeOption.type === 'customer' && customerTreeOption.nodes) {\r\n return (\r\n \r\n );\r\n }\r\n return null;\r\n }\r\n\r\n const treeItems = customerTreeOptions.map((opt) => (\r\n \r\n ));\r\n\r\n function handleSelect(type: CustomerTreeNodeType, id: number, selected: boolean): void {\r\n if (selected === true) {\r\n if (type === 'customer') {\r\n const contactsId = customerTreeOptions.find((x) => x.value == id)?.nodes?.map((x) => x.value) as number[];\r\n setSelectedContacts([...selectedContacts.filter((x) => !contactsId.includes(x))]);\r\n } else if (type === 'contact') {\r\n setSelectedContacts([...selectedContacts.filter((x) => x !== id)]);\r\n }\r\n } else if (selected === false) {\r\n if (type === 'customer') {\r\n const contactsId = customerTreeOptions.find((x) => x.value == id)?.nodes?.map((x) => x.value) as number[];\r\n setSelectedContacts([...selectedContacts, ...contactsId]);\r\n } else if (type === 'contact') {\r\n setSelectedContacts([...selectedContacts, id]);\r\n }\r\n }\r\n }\r\n\r\n const CustomerChip = (props: any) => {\r\n return (\r\n {\r\n onEditCustomerBtn(props.customerId);\r\n }}\r\n />\r\n );\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n {!preSelected? \r\n {\r\n const isDeleted = event.currentTarget.tagName === 'svg';\r\n setCustomersAndGetContacts(values, isDeleted);\r\n }}\r\n open={openCustomerDropdown}\r\n onOpen={() => {\r\n setOpenCustomerDropdown(true);\r\n }}\r\n onClose={() => {\r\n setOpenCustomerDropdown(false);\r\n }}\r\n getOptionLabel={(option: any) => option.name || ''}\r\n options={customerOptions}\r\n filterOptions={(customerOptions) => customerOptions}\r\n disabled={disabledTreeView}\r\n value={selectedCustomers}\r\n getOptionSelected={(option: CustomerDto, value: CustomerDto): boolean => option.id === value.id}\r\n loading={customerloading}\r\n noOptionsText=\"Please type a customer name\"\r\n renderInput={(params) => (\r\n {\r\n if (ev.target.value !== '' || ev.target.value !== null) {\r\n onCustomerDropdownChange(ev.target.value);\r\n }\r\n }}\r\n InputProps={{\r\n ...params.InputProps,\r\n endAdornment: (\r\n <>\r\n {customerloading ? : null}\r\n {params.InputProps.endAdornment}\r\n \r\n ),\r\n }}\r\n style={{ color: 'rgb(50, 50, 50) !important' }}\r\n />\r\n )}\r\n renderTags={(tagValue, getTagProps) => {\r\n return tagValue.map((option, index) => (\r\n \r\n ));\r\n }}\r\n /> : ,\r\n }}\r\n />}\r\n \r\n \r\n {!disabledTreeView && !preSelected && (\r\n \r\n )}\r\n \r\n \r\n {selectedCustomers && selectedCustomers.length > 0 && (\r\n \r\n \r\n {contactsLoading ? (\r\n \r\n \r\n \r\n ) : (\r\n \r\n {customerTreeOptions?.length && treeItems.filter((x) => x !== null).length ? (\r\n \r\n {treeItems}\r\n \r\n ) : (\r\n \r\n No Customer Contacts Available\r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n {!disabledTreeView && (\r\n setCustomerContactDrawerState(true)} className={classes.addIcon} />\r\n )}\r\n \r\n \r\n )}\r\n \r\n );\r\n}\r\n\r\nexport default CustomerContactTreeView;\r\n","export default __webpack_public_path__ + \"static/media/pdf.20a57c59.svg\";","import { makeStyles } from '@material-ui/core';\r\nimport React, { ReactElement } from 'react';\r\nimport PdfSVG from 'assets/images/pdf.svg';\r\n\r\nconst useStyles = makeStyles(() => ({\r\n logo: {\r\n width: '24px',\r\n height: '24px',\r\n objectFit: 'cover',\r\n },\r\n}));\r\n\r\nfunction PDF(): ReactElement {\r\n const classes: any = useStyles();\r\n return \"PDF;\r\n}\r\n\r\nexport default PDF;\r\n","import { Drawer, FormControl, Paper, Stack, styled } from '@mui/material';\r\nimport React, { ReactElement, useState } from 'react';\r\nimport Grid from '@mui/material/Grid';\r\nimport AppSnackbar from 'components/snackbar/snackbar';\r\nimport {\r\n Box,\r\n Button,\r\n Chip,\r\n CircularProgress,\r\n IconButton,\r\n MenuItem,\r\n Popover,\r\n Select,\r\n TextField,\r\n Typography,\r\n Divider,\r\n FormControlLabel,\r\n Switch,\r\n Tooltip\r\n} from '@material-ui/core';\r\nimport { Tab, Tabs } from '@mui/material';\r\nimport AddIcon from '@mui/icons-material/Add';\r\nimport PersonIcon from '@mui/icons-material/Person';\r\nimport ShoppingCartIcon from '@mui/icons-material/ShoppingCart';\r\nimport EditIcon from '@mui/icons-material/Edit';\r\nimport EmojiEventsIcon from '@mui/icons-material/EmojiEvents';\r\nimport WorkIcon from '@mui/icons-material/Work';\r\nimport ClearIcon from '@mui/icons-material/Clear';\r\nimport useStyles from '../styles/deal-edit-drawer-styles';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { faArchive } from '@fortawesome/free-solid-svg-icons';\r\nimport DealEditDrawerTabs from './deal-edit-drawer-tabs';\r\nimport {\r\n DealAttachment,\r\n DealCustomerContacts,\r\n DealDetails,\r\n DealProduct,\r\n PipelineStageList,\r\n ProductCondition,\r\n} from '../model/deal-edit-drawer';\r\nimport * as Yup from 'yup';\r\nimport { useFormik } from 'formik';\r\nimport DealDetailsAPI from '../apis/deals-details-api';\r\nimport DealContext from '../contexts/deal-context';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { Editor } from '@tinymce/tinymce-react';\r\nimport {\r\n CustomerContacResponse,\r\n CustomerTreeOption,\r\n DealItem,\r\n PipelineListResponse,\r\n PipelineUsersRequest,\r\n} from '../model/dealsInterfaces';\r\nimport { LostDealDrawer } from './lostDealDrawer';\r\nimport { WonDealDrawer } from './wonDealDrawer';\r\nimport { ArchiveDealDrawer } from './archiveDealDrawer';\r\nimport { CustomerContactDrawer } from '../../customer/components/CustomerDrawer/CustomerContactDrawer';\r\nimport CustomerContactTreeView from './customer-contact-treeview';\r\nimport { CustomerDto } from 'common/models';\r\nimport CustomerRootPageDrawer from 'components/customer/components/CustomerDrawer/CustomerRootPageDrawer';\r\nimport CustomerRootDrawer from 'components/customer/components/CustomerDrawer/CustomerRootDrawer';\r\nimport Swal from 'sweetalert2';\r\nimport FilterListIcon from '@mui/icons-material/FilterList';\r\nimport TaskboardAPI from '../../lead/components/task-board/taskboard-api';\r\nimport User from 'components/setting/models/user';\r\nimport dealsApi from '../apis/deals-api';\r\nimport { fetchTasks } from 'components/lead/components/task-board/taskboardSlice';\r\nimport { DealStatusEnum } from '../model/DealStatusEnum';\r\nimport useUsersList from 'components/setting/components/department/userUsersList';\r\nimport DescriptionIcon from '@mui/icons-material/Description';\r\nimport ImageModal from 'components/messaging/components/conversation-panel/image-modal';\r\nimport PDFIcon from 'common/components/icons/pdf';\r\nimport ImageIcon from '@mui/icons-material/Image';\r\nimport PdfPreviewModal from './PdfPreviewModal';\r\nimport { getFileExtension } from 'common/utils/shared/getFileExtension';\r\nimport DaysOpenIcon from '@mui/icons-material/AvTimer';\r\nimport DealsCalendarIcon from '@mui/icons-material/CalendarMonth';\r\nimport { format } from 'date-fns';\r\nimport GroupsIcon from '@mui/icons-material/Groups';\r\nimport TextSnippetIcon from '@mui/icons-material/TextSnippet';\r\nimport config from 'config';\r\n\t\t\r\nconst textEditorApiKey = config.get('api.textEditor');\r\n\r\nconst StageDays = styled(Paper)(({ theme }) => ({\r\n color: '#fff !important',\r\n backgroundColor: '#28a62e !important',\r\n fontSize: '0.8rem',\r\n textAlign: 'center',\r\n height: '15px',\r\n width: '56px',\r\n padding: '4px',\r\n border: '1px solid black',\r\n transform: 'skewX(334deg)',\r\n}));\r\n\r\nfunction DealEditDrawer({\r\n open,\r\n dealItem,\r\n openedFromTasksBoard,\r\n renderDeals,\r\n onClose,\r\n}: {\r\n open: boolean;\r\n dealItem: DealItem;\r\n openedFromTasksBoard: boolean;\r\n renderDeals: () => void;\r\n onClose: any;\r\n}) {\r\n const [showSnackBar] = AppSnackbar.useSnackBar();\r\n const classes: any = useStyles();\r\n\r\n let initialValues: DealDetails = {\r\n dealId: 0,\r\n title: '',\r\n amount: 0,\r\n description: '',\r\n assignedUserId: '',\r\n assignedUserName: '',\r\n pipelineId: 0,\r\n pipelineName: '',\r\n pipelineStageId: 0,\r\n pipelineStageName: '',\r\n pipelineStagePosition: 0,\r\n dealStateId: 0,\r\n dealAttachments: [],\r\n dealAttachmentsToUpload: [],\r\n dealTimelines: [],\r\n dealType: '',\r\n createdDate: null,\r\n dealCloseDate: null,\r\n dealArchiveDate: null,\r\n dealStageDays: [],\r\n dealStageDaysObject: [],\r\n dealCustomerContacts: [],\r\n dealProducts: [],\r\n isTaxExempted: false,\r\n };\r\n const schema = Yup.object({\r\n title: Yup.string().required('Deal Title Required').max(50, 'Max 50 characters allowed.'),\r\n amount: Yup.string().required('Amount Required'),\r\n });\r\n const dealContext = React.useContext(DealContext);\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n const dispatch = useAppDispatch();\r\n const dealerUsers = useUsersList(dealerId);\r\n\r\n const [loading, setLoading] = React.useState(false);\r\n const [openDrawer, SetOpenDrawer] = React.useState(open);\r\n const [enableEditDealTitle, setEnableEditDealTitle] = React.useState(false);\r\n const [enableEditDealAmount, setEnableEditDealAmount] = React.useState(false);\r\n const [enableEditDealAssignment, setEnableEditDealAssignment] = React.useState(false);\r\n const [enableEditDealPipeline, setEnableEditDealPipeline] = React.useState(false);\r\n const [enableEditDealStage, setEnableEditDealStage] = React.useState(false);\r\n const [lostDealDrawerState, setLostDealDrawerState] = React.useState(false);\r\n const [wonDealDrawerState, setWonDealDrawerState] = useState(false);\r\n const [archiveDealDrawerState, setArchiveDealDrawerState] = useState(false);\r\n const [hoverTitleAmount, setHoverTitleAmount] = useState(false);\r\n const [hoverAssignment, setHoverAssignment] = useState(false);\r\n const [hoverPipeline, setHoverPipeline] = useState(false);\r\n const [hoverStage, setHoverStage] = useState(false);\r\n const [dealOldValues, SetDealOldValues] = useState(null);\r\n const [taskTypes, setTaskTypes] = React.useState([]);\r\n const [taskOutcomes, setTaskOutcomes] = React.useState([]);\r\n const [pipelineUsers, setPipelineUsers] = React.useState();\r\n const [pipelines, setPipelines] = React.useState();\r\n const [pipelineStages, setPipelineStages] = React.useState();\r\n //States for cutomer contacts\r\n const [customerContactDrawerState, setCustomerContactDrawerState] = useState(false);\r\n const [selectedContacts, setSelectedContacts] = React.useState([]);\r\n const [selectedCustomers, setSelectedCustomers] = useState([]);\r\n const [customerTreeOptions, setCustomerTreeOptions] = React.useState([]);\r\n const [newCustomerContact, setNewCustomerContact] = useState(null);\r\n const [enableCustomerValidation, setEnableCustomerValidation] = useState(false);\r\n const [filesToUpload, setFilesToUpload] = useState([]);\r\n const [removedDealAttachments, setRemovedDealAttachments] = useState([]);\r\n //States for cutomer contacts\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n validationSchema: schema,\r\n onSubmit: (dealDetails: DealDetails) => {\r\n handleUpdateDeal(dealDetails);\r\n },\r\n });\r\n\r\n const fetchPipelineUsers = async (departmentIds: any[]) => {\r\n const request: PipelineUsersRequest = {\r\n pipelineDepartments: departmentIds,\r\n };\r\n const response = await dealsApi.PipelineDeals.getPipelineUsers(request);\r\n setPipelineUsers(response);\r\n };\r\n\r\n const fetchPipelinesAndUsers = async () => {\r\n if (dealContext.pipeline && dealContext.user) {\r\n setPipelines(dealContext.pipeline);\r\n setPipelineUsers(dealContext.user);\r\n } else {\r\n try {\r\n await dealsApi.PipelineDeals.getDealsPipelinesDD(dmsDealerIdCrm).then(async (data) => {\r\n if (data && data.length > 0) {\r\n setPipelines(data);\r\n const departmentIds = data[0].departmentIds;\r\n if (departmentIds && departmentIds.length > 0) {\r\n fetchPipelineUsers(departmentIds);\r\n }\r\n }\r\n });\r\n } catch (error: any) {\r\n showSnackBar({ type: 'error', message: 'Something went wrong' });\r\n }\r\n }\r\n };\r\n\r\n const getPipelinesStagesDD = React.useCallback(async (pipelineid: number): Promise => {\r\n const data = await DealDetailsAPI.getPipelinesStagesDD(pipelineid);\r\n setPipelineStages(data);\r\n },[1]);\r\n\r\n const fetchDealDetails = React.useCallback(async (): Promise => {\r\n try {\r\n if (dealItem.id) {\r\n setLoading(true);\r\n const response = await DealDetailsAPI.getDealDetails(dealItem.id);\r\n SetDealOldValues(response);\r\n formik.setValues(response, true);\r\n if(response.dealProducts.length>0 && response.amount==0)\r\n formik.setFieldValue('amount',Number(response.dealProducts.reduce((sum, item) => sum + item.price, 0)));\r\n await getPipelinesStagesDD(response.pipelineId);\r\n setLoading(false);\r\n }\r\n } catch (error: any) {\r\n formik.setValues(initialValues, true);\r\n setLoading(false);\r\n showSnackBar({ type: 'error', message: 'Something went wrong' });\r\n }\r\n }, [dealItem, formik]);\r\n\r\n function resetEditDealDrawer() {\r\n //Empty customer contacts tree view\r\n setSelectedCustomers([]);\r\n setCustomerTreeOptions([]);\r\n setSelectedContacts([]);\r\n setNewCustomerContact(null);\r\n setEnableCustomerValidation(false);\r\n\r\n //Reset values state\r\n setEnableEditDealTitle(false);\r\n setEnableEditDealAmount(false);\r\n setEnableEditDealAssignment(false);\r\n setEnableEditDealPipeline(false);\r\n setEnableEditDealStage(false);\r\n setHoverTitleAmount(false);\r\n setHoverAssignment(false);\r\n setHoverPipeline(false);\r\n setHoverStage(false);\r\n setFilesToUpload([]);\r\n setRemovedDealAttachments([]);\r\n }\r\n\r\n React.useEffect(() => {\r\n if (open === true) {\r\n SetOpenDrawer(open);\r\n fetchPipelinesAndUsers();\r\n fetchDealDetails();\r\n }\r\n }, [open]);\r\n\r\n const getTaskTypeList = React.useCallback(async (): Promise => {\r\n const data = await TaskboardAPI.getTaskTypes();\r\n setTaskTypes(data);\r\n }, [1]);\r\n\r\n const getOutComeList = React.useCallback(async (): Promise => {\r\n const data = await TaskboardAPI.getTaskOutcomes();\r\n setTaskOutcomes(data); \r\n }, [1]);\r\n\r\n React.useEffect(() => {\r\n getTaskTypeList();\r\n getOutComeList();\r\n }, []);\r\n\r\n async function handleUpdateDeal(dealDetails: DealDetails): Promise {\r\n let prevcustomerContacts = dealDetails.dealCustomerContacts;\r\n try {\r\n //Setting the customers contacts value\r\n let customerContacts: DealCustomerContacts[] = [];\r\n if (selectedContacts?.length > 0) {\r\n customerTreeOptions.forEach((cusOpt: CustomerTreeOption) => {\r\n const contacts = cusOpt.nodes?.filter((x) => selectedContacts.includes(x.value));\r\n const contactsReq = contacts?.map((x) => ({\r\n customerId: x.customerId,\r\n contactId: x.value,\r\n })) as DealCustomerContacts[];\r\n customerContacts = customerContacts.concat(contactsReq);\r\n });\r\n }\r\n if (selectedCustomers && selectedCustomers?.length > 0) {\r\n const customersAlreadyInTreeView = customerContacts.map((x) => x.customerId);\r\n selectedCustomers\r\n .filter((x) => !customersAlreadyInTreeView.includes(x.id))\r\n .forEach((cus: CustomerDto) => {\r\n const contactsReq = {\r\n customerId: cus.id,\r\n contactId: 0,\r\n } as DealCustomerContacts;\r\n customerContacts.push(contactsReq);\r\n });\r\n } else {\r\n setEnableCustomerValidation(true);\r\n return;\r\n }\r\n formik.setFieldValue('dealCustomerContacts', customerContacts);\r\n dealDetails.dealCustomerContacts = customerContacts;\r\n\r\n setLoading(true);\r\n const response = await DealDetailsAPI.updateDeal(dealerId, dealItem.id, dealDetails, removedDealAttachments);\r\n \r\n if (response == 'Success') {\r\n onClose(0);\r\n resetEditDealDrawer();\r\n renderDeals();\r\n if (openedFromTasksBoard) {\r\n dispatch(fetchTasks());\r\n }\r\n showSnackBar({ type: 'success', message: 'Deal updated successfully.' });\r\n } else {\r\n formik.setFieldValue('dealCustomerContacts', prevcustomerContacts);\r\n showSnackBar({ type: 'error', message: 'Unable to update deal.' });\r\n throw new Error('Unable to update deal.');\r\n }\r\n setLoading(false);\r\n } catch (error: any) {\r\n setLoading(false);\r\n formik.setFieldValue('dealCustomerContacts', prevcustomerContacts);\r\n showSnackBar({ type: 'error', message: 'Unable to update deal.' });\r\n throw new Error('Unable to update deal.');\r\n }\r\n }\r\n\r\n async function handleReopenDeal(): Promise {\r\n try {\r\n setLoading(true);\r\n await dealsApi.PipelineDeals.reopenDeal([formik.values.dealId]);\r\n\r\n onClose(0);\r\n renderDeals();\r\n setLoading(false);\r\n showSnackBar({ type: 'success', message: 'Deal reopened successfully.' });\r\n } catch (error: any) {\r\n setLoading(false);\r\n showSnackBar({ type: 'error', message: 'Unable to reopen deal.' });\r\n throw new Error('Unable to reopen deal.');\r\n }\r\n }\r\n\r\n function handlerOnCloseDrawer() {\r\n if (JSON.stringify(dealOldValues) != JSON.stringify(formik.values)) {\r\n Swal.fire({\r\n showClass: {\r\n popup: 'animate__animated animate__fadeIn animate__faster',\r\n },\r\n hideClass: {\r\n popup: 'animate__animated animate__fadeOut animate__faster',\r\n },\r\n width: '37em',\r\n showCancelButton: true,\r\n showDenyButton: true,\r\n confirmButtonColor: '#3F51B5',\r\n cancelButtonColor: 'grey',\r\n denyButtonColor: '#FF1744',\r\n showCloseButton: true,\r\n reverseButtons: true,\r\n cancelButtonText: 'Cancel',\r\n confirmButtonText: 'Save & Close',\r\n denyButtonText: `Cancel & Close`,\r\n html: 'There are unsaved changes. Are you sure you want to close?',\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n formik.handleSubmit();\r\n } else if (result.isDenied) {\r\n onClose(0);\r\n resetEditDealDrawer();\r\n }\r\n });\r\n } else {\r\n onClose(0);\r\n resetEditDealDrawer();\r\n }\r\n }\r\n\r\n function handlerOnClickDrawer() {\r\n if (enableEditDealStage || enableEditDealPipeline || enableEditDealAssignment) {\r\n setEnableEditDealStage(false);\r\n setEnableEditDealPipeline(false);\r\n setEnableEditDealAssignment(false);\r\n }\r\n }\r\n\r\n function checkAmount(value: any) {\r\n //float number and replace other with empty\r\n const newvalue = value.replace(/[^\\.0-9]/g, '');\r\n if (isNaN(newvalue)) return;\r\n // Split by the decimal point to validate the integer and fractional parts\r\n const [integerPart, decimalPart] = newvalue.split('.');\r\n // Allow a maximum of 12 characters total (integer + fractional parts)\r\n if (integerPart.length > 12 || (decimalPart && decimalPart.length > 2)) {\r\n return; // Prevents further input if limits are exceeded\r\n }\r\n formik.setFieldValue(`amount`, newvalue);\r\n }\r\n\r\n const handleDeleteAttachmentsToUpload = (index: number) => {\r\n const fileName = formik.values.dealAttachmentsToUpload[index].fileName;\r\n formik.setFieldValue(\r\n 'dealTimelines', formik.values.dealTimelines.filter((i) => i.fileName !== fileName )\r\n )\r\n formik.setFieldValue(\r\n 'dealAttachmentsToUpload',\r\n formik.values.dealAttachmentsToUpload.filter((_, i) => i !== index)\r\n );\r\n filesToUpload.splice(index, 1);\r\n };\r\n\r\n const handleDeleteAttachments = async (index: number, attachment: DealAttachment) => {\r\n const fileName = formik.values.dealAttachments[index].fileName;\r\n formik.setFieldValue(\r\n 'dealTimelines', formik.values.dealTimelines.filter((i) => i.fileName !== fileName)\r\n )\r\n removedDealAttachments.push(attachment);\r\n formik.setFieldValue(\r\n 'dealAttachments',\r\n formik.values.dealAttachments.filter((_, i) => i !== index)\r\n );\r\n };\r\n\r\n function renderDealStatusColor(value: number){\r\n switch(value){\r\n case DealStatusEnum.Open:\r\n return '#3f51b5ff'\r\n case DealStatusEnum.Won:\r\n return 'Green';\r\n case DealStatusEnum.Lost:\r\n return 'Red';\r\n case DealStatusEnum.Archive:\r\n return 'Grey';\r\n default:\r\n return '#3f51b5ff';\r\n }\r\n }\r\n const editorInit = {\r\n height: 200,\r\n min_height: 120,\r\n ClassNames: 'editor',\r\n convert_urls: true,\r\n plugins: 'lists',\r\n toolbar: `bullist numlist | bold italic underline | alignleft aligncenter alignright alignjustify`,\r\n menubar: false,\r\n branding: false,\r\n force_br_newlines: true,\r\n force_p_newlines: false,\r\n forced_root_block: '', // Needed for 3.x\r\n content_style :formik.values.dealStateId != DealStatusEnum.Open ? 'body {color: #bdbdbd; cursor: not-allowed;}' : ''\r\n };\r\n\r\n function getDays(): string | undefined {\r\n if(dealOldValues?.dealCloseDate == null && dealOldValues?.createdDate != null){\r\n const createdDate = new Date(dealOldValues?.createdDate);\r\n const now = new Date();\r\n const diffInTime = now.getTime() - createdDate.getTime();\r\n const diffInDays = Math.ceil(diffInTime / (1000 * 60 * 60 * 24));\r\n return diffInDays.toString();\r\n }\r\n else if(dealOldValues?.dealCloseDate != null && dealOldValues?.createdDate != null){\r\n const createdDate = new Date(dealOldValues?.createdDate);\r\n const closeDate = new Date(dealOldValues?.dealCloseDate);\r\n const diffInTime = closeDate.getTime() - createdDate.getTime();\r\n const diffInDays = Math.ceil(diffInTime / (1000 * 60 * 60 * 24));\r\n return diffInDays.toString();\r\n }\r\n }\r\n \r\n return (\r\n {\r\n handlerOnCloseDrawer();\r\n }}>\r\n
        \r\n {!loading && (\r\n \r\n \r\n \r\n \r\n setHoverTitleAmount(true)}\r\n onMouseLeave={() => setHoverTitleAmount(false)}>\r\n {!enableEditDealTitle ? (\r\n formik.values.title\r\n ) : (\r\n <>\r\n {\r\n setEnableEditDealTitle(false);\r\n }}\r\n />\r\n {\r\n setEnableEditDealTitle(false);\r\n }}\r\n />\r\n \r\n )}\r\n {formik.values.dealStateId === DealStatusEnum.Open && !enableEditDealTitle && (\r\n <>\r\n {hoverTitleAmount && (\r\n {\r\n setEnableEditDealTitle(true);\r\n }}\r\n className={classes.iconButton}>\r\n \r\n \r\n )}\r\n\r\n {!!formik.errors.title ? formik.errors.title : ''}\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n setHoverTitleAmount(true)}\r\n onMouseLeave={() => setHoverTitleAmount(false)}>\r\n {!enableEditDealAmount ? (\r\n 'Value: $' +\r\n Number(formik.values.amount)?.toLocaleString('en-US', {\r\n minimumFractionDigits: 2,\r\n })\r\n ) : (\r\n <>\r\n {\r\n const value = e.target.value;\r\n checkAmount(value);\r\n }}\r\n error={!!formik.errors.amount}\r\n helperText={formik.errors.amount}\r\n onBlur={() => {\r\n setEnableEditDealAmount(false);\r\n }}\r\n />\r\n {\r\n setEnableEditDealAmount(false);\r\n }}\r\n />\r\n \r\n )}\r\n {formik.values.dealStateId === DealStatusEnum.Open && !enableEditDealAmount && (\r\n <>\r\n {hoverTitleAmount && (\r\n {\r\n setEnableEditDealAmount(true);\r\n formik.setFieldValue('amount', Number(formik.values.amount).toFixed(2));\r\n }}\r\n className={classes.iconButton}>\r\n \r\n \r\n )}\r\n\r\n \r\n {!!formik.errors.amount ? formik.errors.amount : ''}\r\n \r\n \r\n )}\r\n \r\n \r\n \r\n setHoverStage(true)}\r\n onMouseLeave={() => setHoverStage(false)}>\r\n \r\n \r\n {!enableEditDealStage ? (\r\n 15\r\n ? formik.values.pipelineStageName.slice(0, 15).concat('...')\r\n : formik.values.pipelineStageName\r\n : DealStatusEnum[formik.values.dealStateId]\r\n }\r\n />\r\n ) : (\r\n <>\r\n \r\n {\r\n formik.setFieldValue('pipelineStageId', e.target.value);\r\n const stage = pipelineStages?.find((x) => x.stageId === e.target.value);\r\n formik.setFieldValue('pipelineStageName', stage?.stageName);\r\n formik.setFieldValue('pipelineStagePosition', stage?.stagePosition);\r\n setEnableEditDealStage(false);\r\n }}\r\n onBlur={() => {\r\n setEnableEditDealStage(false);\r\n }}>\r\n {pipelineStages?.map((options) => {\r\n return (\r\n \r\n {options.stageName}\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n )}\r\n {formik.values.dealStateId === DealStatusEnum.Open && !enableEditDealStage && (\r\n <>\r\n {hoverStage && (\r\n {\r\n if (!formik.values.assignedUserName) {\r\n showSnackBar({\r\n type: 'error',\r\n message: 'An unassigned deal requires an assignment to move to a new stage.',\r\n });\r\n return;\r\n }\r\n setTimeout(() => {\r\n setEnableEditDealStage(true);\r\n }, 0);\r\n }}\r\n className={classes.iconButton}>\r\n \r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n {formik.values.dealStateId != DealStatusEnum.Open ? (\r\n \r\n \r\n Reopen\r\n \r\n \r\n ) : (\r\n <>\r\n \r\n setWonDealDrawerState(true)}>\r\n Won\r\n \r\n \r\n \r\n setLostDealDrawerState(true)}>\r\n Lost\r\n \r\n \r\n \r\n \r\n Save\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n setHoverAssignment(true)}\r\n onMouseLeave={() => setHoverAssignment(false)}\r\n style={{paddingBottom:'14px'}}\r\n className={formik.values.dealStateId != DealStatusEnum.Open ? classes.disableGray : ''}>\r\n \r\n \r\n \r\n \r\n {!enableEditDealAssignment ? (\r\n {formik.values.assignedUserName ? formik.values.assignedUserName : 'UNASSIGNED'} ??\r\n 'UNASSIGNED'\r\n ) : (\r\n \r\n \r\n {\r\n formik.setFieldValue('assignedUserId', e.target.value);\r\n formik.setFieldValue(\r\n 'assignedUserName',\r\n pipelineUsers?.find((x) => x.crmUserId == e.target.value)?.username,\r\n );\r\n setEnableEditDealAssignment(false);\r\n }}\r\n onBlur={() => {\r\n setEnableEditDealAssignment(false);\r\n }}>\r\n {pipelineUsers?.map((options) => {\r\n return (\r\n \r\n {options.username}\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n )}\r\n {formik.values.dealStateId === DealStatusEnum.Open && !enableEditDealAssignment && (\r\n <>\r\n {hoverAssignment && (\r\n {\r\n setTimeout(() => {\r\n setEnableEditDealAssignment(true);\r\n }, 0);\r\n }}\r\n className={classes.iconButton}>\r\n \r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n setHoverPipeline(true)}\r\n onMouseLeave={() => setHoverPipeline(false)}\r\n style={{paddingLeft: '26px', paddingBottom:'14px' }}>\r\n \r\n \r\n \r\n {!enableEditDealPipeline ? (\r\n {formik.values.pipelineName}\r\n ) : (\r\n \r\n \r\n {\r\n formik.setFieldValue('pipelineId', e.target.value);\r\n const pipelineName = pipelines?.find((x) => x.pipelineId == e.target.value)?.pipelineName;\r\n formik.setFieldValue('pipelineName', pipelineName);\r\n setEnableEditDealPipeline(false);\r\n }}\r\n onBlur={() => {\r\n setEnableEditDealPipeline(false);\r\n }}>\r\n {pipelines?.map((options) => {\r\n return (\r\n \r\n {options.pipelineName}\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n )}\r\n {formik.values.dealStateId === DealStatusEnum.Open && !enableEditDealPipeline && (\r\n <>\r\n {hoverPipeline && (\r\n {\r\n setTimeout(() => {\r\n setEnableEditDealPipeline(true);\r\n }, 0);\r\n }}\r\n className={classes.iconButton}>\r\n \r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n \r\n {formik.values.dealStageDays &&\r\n formik.values.dealStageDaysObject.map((day) => (\r\n \r\n \r\n {day.numberOfDays + (day.numberOfDays === 0 || day.numberOfDays > 1 ? ' days' : ' day')}\r\n \r\n \r\n \r\n {day.dealStageName.length > 9\r\n ? day.dealStageName.toUpperCase().substring(0, 8) + '...'\r\n : day.dealStageName.toUpperCase()}\r\n \r\n \r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n \r\n Days Open:{' '}\r\n \r\n \r\n Date Originated:{' '}\r\n \r\n \r\n \r\n {dealOldValues?.dealStateId && dealOldValues?.dealStateId !== DealStatusEnum.Archive\r\n ? 'Date Closed: '\r\n : 'Date Archived: '}\r\n \r\n \r\n \r\n \r\n {' '}\r\n {getDays()}\r\n \r\n \r\n {' '}\r\n {dealOldValues?.createdDate ? format(new Date(dealOldValues?.createdDate), 'M/dd/yy') : ''}\r\n \r\n {dealOldValues?.dealStateId && dealOldValues?.dealStateId !== DealStatusEnum.Archive ? (\r\n \r\n {' '}\r\n {dealOldValues?.dealCloseDate ? format(new Date(dealOldValues?.dealCloseDate), 'M/dd/yy') : 'N/A'}\r\n \r\n ) : (\r\n \r\n {' '}\r\n {dealOldValues?.dealArchiveDate\r\n ? format(new Date(dealOldValues?.dealArchiveDate), 'M/dd/yy')\r\n : 'N/A'}\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n {\r\n formik.setFieldValue('isTaxExempted', event.target.checked);\r\n }}\r\n name=\"isTaxExempted\"\r\n color=\"primary\"\r\n />\r\n }\r\n label={Tax Exempt}\r\n labelPlacement=\"start\"\r\n />\r\n \r\n \r\n \r\n \r\n {dealOldValues?.dealType}\r\n \r\n \r\n \r\n \r\n \r\n Description\r\n {\r\n formik.setFieldValue('description', content);\r\n }}\r\n init={editorInit}>\r\n \r\n
        \r\n \r\n
        \r\n \r\n
        \r\n \r\n\r\n
        \r\n {formik.values.dealStateId === DealStatusEnum.Open && (\r\n \r\n \r\n setArchiveDealDrawerState(true)}>\r\n \r\n Archive\r\n \r\n \r\n \r\n )}\r\n
        \r\n \r\n \r\n \r\n
        \r\n\r\n {\r\n setLostDealDrawerState(false);\r\n onClose(0);\r\n }}\r\n />\r\n\r\n {\r\n setWonDealDrawerState(false);\r\n onClose(0);\r\n }}\r\n />\r\n\r\n {\r\n setArchiveDealDrawerState(false);\r\n onClose(0);\r\n }}\r\n />\r\n\r\n setCustomerContactDrawerState(false)}\r\n convPhoneIds={undefined}\r\n />\r\n\r\n {}\r\n {}\r\n \r\n )}\r\n {loading && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n}\r\n\r\nlet selectedIndex = -1;\r\nfunction DealProductsList({ formik }: { formik: any}): ReactElement {\r\n const classes: any = useStyles();\r\n let initialValues: DealProduct = {\r\n id: 0,\r\n conditionId: 1,\r\n year: '',\r\n make: '',\r\n model: '',\r\n vinSerialNo: '',\r\n stockNo: '',\r\n description: '',\r\n price: 0,\r\n class: '',\r\n category: '',\r\n trim:'',\r\n color:'',\r\n accessories:'',\r\n miscellaneousDescription: '',\r\n miscellaneousPrice: 0,\r\n isUpdated: false,\r\n isDeleted: false,\r\n };\r\n\r\n const [popoverState, setPopoverState] = useState({ openedPopover: false, anchorEl: null });\r\n const [productCondtions, setProductCondtions] = useState([]);\r\n const [hoverProducts, setHoverProducts] = useState(false);\r\n const [prodFormType, setProdFormType] = React.useState(\"Simple\");\r\n const [totalProdPrice, setTotalProdPrice] = React.useState(0);\r\n const schema = Yup.object({\r\n price: Yup.number().required('Price Required'),\r\n miscellaneousPrice: Yup.number().required('Price Required'),\r\n });\r\n\r\n const formikProduct = useFormik({\r\n initialValues,\r\n validationSchema: schema,\r\n onSubmit: (product: DealProduct) => {\r\n updateProductList();\r\n },\r\n });\r\n\r\n React.useEffect(() => {\r\n getProductConditionsList();\r\n calculateProductPrice();\r\n }, []);\r\n\r\n const calculateProductPrice=()=>{\r\n const dealProducts = [...formik.values.dealProducts];\r\n let sumOfProdPrice:Number = Number(Number(dealProducts.filter(item => !item.isDeleted).reduce((sum, item) => sum + item.price + item.miscellaneousPrice, 0)).toFixed(2)); \r\n setTotalProdPrice(sumOfProdPrice);\r\n return sumOfProdPrice;\r\n }\r\n const getProductConditionsList = React.useCallback(async (): Promise => {\r\n const data = await DealDetailsAPI.getProductConditions();\r\n setProductCondtions(data);\r\n }, [1]);\r\n\r\n const handlePopoverOpen = (event: any) => {\r\n setPopoverState({\r\n openedPopover: true,\r\n anchorEl: event.target,\r\n });\r\n };\r\n\r\n const handlePopoverClose = () => {\r\n formikProduct.resetForm();\r\n // setProdFormType('Simple')\r\n selectedIndex = -1;\r\n setPopoverState({\r\n openedPopover: false,\r\n anchorEl: null,\r\n });\r\n };\r\n\r\n const showEditProductPopOver = (event: any, index: number) => {\r\n selectedIndex = index;\r\n const dealProducts = [...formik.values.dealProducts];\r\n dealProducts[selectedIndex].price = Number(Number(dealProducts[selectedIndex].price).toFixed(2));\r\n formikProduct.setValues(dealProducts[selectedIndex]);\r\n handlePopoverOpen(event);\r\n };\r\n\r\n const updateProductList = () => {\r\n let dealProducts = [...formik.values.dealProducts];\r\n formikProduct.values.price=Number(formikProduct.values.price);\r\n formikProduct.values.miscellaneousPrice=Number(formikProduct.values.miscellaneousPrice);\r\n if(!formikProduct.values?.miscellaneousDescription && formikProduct.values?.miscellaneousDescription?.length==0 && Number(formikProduct.values.miscellaneousPrice)==0 && formikProduct.values.description?.length==0){\r\n formikProduct.setErrors({description:'Description Required'})\r\n return\r\n }\r\n if(Number(formikProduct.values?.price)!=0 && formikProduct.values?.description?.length==0){\r\n formikProduct.setErrors({description:'Description Required'})\r\n return\r\n }\r\n if(formikProduct.values?.miscellaneousDescription && formikProduct.values?.miscellaneousDescription?.length!=0 && Number(formikProduct.values.miscellaneousPrice)==0){\r\n formikProduct.setErrors({miscellaneousPrice:'Price is Required'})\r\n return\r\n }else if(Number(formikProduct.values.miscellaneousPrice)!=0 && formikProduct.values?.miscellaneousDescription?.length==0){\r\n formikProduct.setErrors({miscellaneousDescription:'Description is Required'})\r\n return\r\n }\r\n if(formikProduct.values?.description=='' || !formikProduct.values?.description)\r\n formikProduct.values.conditionId=0;\r\n\r\n const indexOfMicellaneous = dealProducts.findIndex(item => item.conditionId === 0);\r\n if (selectedIndex == -1) {\r\n if(indexOfMicellaneous!==-1 && formikProduct.values.conditionId!=0 ){\r\n dealProducts.splice(indexOfMicellaneous,0,formikProduct.values);\r\n }else{\r\n dealProducts.push(formikProduct.values);\r\n }\r\n } else {\r\n dealProducts[selectedIndex] = formikProduct.values;\r\n dealProducts[selectedIndex].isUpdated = true;\r\n setPopoverState({\r\n openedPopover: false,\r\n anchorEl: null,\r\n });\r\n selectedIndex = -1;\r\n }\r\n \r\n formik.setFieldValue('dealProducts', dealProducts);\r\n let sumOfProdPrice:Number = Number(Number(dealProducts.filter(item => !item.isDeleted).reduce((sum, item) => sum + item.price + item.miscellaneousPrice, 0)).toFixed(2)); \r\n setTotalProdPrice(sumOfProdPrice);\r\n formik.setFieldValue('amount',sumOfProdPrice);\r\n handlePopoverClose();\r\n };\r\n\r\n const removeFromProductList = (index: number) => {\r\n const dealProducts = [...formik.values.dealProducts];\r\n dealProducts[index].isDeleted = true;\r\n formik.setFieldValue('dealProducts', dealProducts);\r\n let sumOfProdPrice:Number = Number(Number(dealProducts.filter(item => !item.isDeleted).reduce((sum, item) => sum + Number(item.price) + Number(item.miscellaneousPrice), 0)).toFixed(2)); \r\n formik.setFieldValue('amount',sumOfProdPrice);\r\n setTotalProdPrice(sumOfProdPrice);\r\n };\r\n\r\n function setProductPrice(value: any) {\r\n if (isNaN(value)) return;\r\n if (value.toString().indexOf('.') > -1 && value.toString().split('.')[1].length > 2) return;\r\n formikProduct.setFieldValue(`price`, value);\r\n }\r\n\r\n const handleProductFormChange = (event:any, newValue:any) => {\r\n setProdFormType(newValue);\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Products\r\n \r\n \r\n \r\n \r\n {formik.values.dealStateId === DealStatusEnum.Open && (\r\n \r\n handlePopoverOpen(e)} style={{ cursor: 'pointer' }} />\r\n \r\n )}\r\n \r\n setHoverProducts(true)}\r\n onMouseLeave={() => setHoverProducts(false)}\r\n style={{ marginTop: 2, marginLeft: 1 }}\r\n className={formik.values.dealStateId != DealStatusEnum.Open ? classes.disableGray : ''}>\r\n {formik.values.dealProducts &&\r\n formik.values.dealProducts.map(\r\n (product: any, index: number) =>\r\n !product.isDeleted && (\r\n <>\r\n \r\n \r\n {product?.description != '' && (\r\n \r\n \r\n {productCondtions.find((x) => x.id == product.conditionId)?.name +\r\n ' ' +\r\n (product?.year ?? '') +\r\n ' ' +\r\n (product?.make ?? '') +\r\n ' ' +\r\n (product?.model ?? '') +\r\n ' ' +\r\n (product?.vinSerialNo ?? '') +\r\n ' ' +\r\n (product?.stockNo ?? '') +\r\n ' ' +\r\n (product?.class ?? '') +\r\n ' ' +\r\n (product?.category ?? '') +\r\n ' ' +\r\n (product?.trim ?? '') +\r\n ' ' +\r\n (product?.color ?? '') +\r\n ' ' +\r\n (product?.accessories && product?.accessories?.length <= 15\r\n ? product?.accessories\r\n : product?.accessories\r\n ? product?.accessories?.substring(0, 15) + '...'\r\n : '') +\r\n ' ' +\r\n (product?.description === 'N/A' \r\n ? '' // Don't show anything\r\n : (product?.description?.length <= 15 \r\n ? product?.description\r\n : product?.description?.substring(0, 15) + '...'))\r\n }\r\n {/* Editing and Delete Button */}\r\n {Number(product?.miscellaneousPrice) == 0 &&\r\n formik.values.dealStateId === DealStatusEnum.Open &&\r\n (popoverState.openedPopover || hoverProducts) && (\r\n <>\r\n showEditProductPopOver(e, index)}\r\n className={classes.iconButton}>\r\n \r\n \r\n {\r\n removeFromProductList(index);\r\n }}\r\n />\r\n \r\n )}\r\n \r\n \r\n )}\r\n {Number(product?.price) != 0 && (\r\n \r\n \r\n {'$' + Number(product?.price).toLocaleString('en-US', { minimumFractionDigits: 2 })}\r\n \r\n \r\n )}\r\n {Number(product?.miscellaneousPrice) != 0 && (\r\n \r\n \r\n \r\n {product?.miscellaneousDescription?.length <= 15\r\n ? product?.miscellaneousDescription\r\n : product?.miscellaneousDescription?.substring(0, 15) + '...'}\r\n {formik.values.dealStateId === DealStatusEnum.Open &&\r\n (popoverState.openedPopover || hoverProducts) && (\r\n <>\r\n showEditProductPopOver(e, index)}\r\n className={classes.iconButton}>\r\n \r\n \r\n {\r\n removeFromProductList(index);\r\n }}\r\n />\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n {'$' +\r\n Number(product.miscellaneousPrice).toLocaleString('en-US', {\r\n minimumFractionDigits: 2,\r\n })}\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n ),\r\n )}\r\n {formik.values.dealProducts.filter((x: any) => !x.isDeleted).length > 0 && (\r\n <>\r\n \r\n \r\n \r\n Total Price {'$' + Number(totalProdPrice).toLocaleString('en-US', { minimumFractionDigits: 2 })}\r\n \r\n \r\n \r\n )}\r\n \r\n
        \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Save\r\n \r\n {\r\n await updateProductList();\r\n await handlePopoverOpen(e);\r\n }}\r\n style={{ cursor: 'pointer' }}>\r\n Save + Add More\r\n \r\n \r\n \r\n {\r\n handlePopoverClose();\r\n }}>\r\n Cancel\r\n \r\n \r\n \r\n \r\n
        \r\n \r\n
        \r\n \r\n );\r\n}\r\nfunction ProductForm({\r\n setProductPrice,\r\n formikProduct,\r\n productCondtions,\r\n prodFormType,\r\n}: {\r\n setProductPrice: any;\r\n formikProduct: any;\r\n productCondtions: any;\r\n prodFormType: string;\r\n}) {\r\n\r\n const isWGDisabled = Number(formikProduct.values.miscellaneousPrice) !== 0 || formikProduct.values?.miscellaneousDescription?.length !== 0;\r\n const isMiscellaneousFeildDisabled =\r\n Number(formikProduct.values?.price) != 0 ||\r\n formikProduct.values?.description?.length != 0 ||\r\n formikProduct.values?.year?.length != 0 ||\r\n formikProduct.values?.make?.length != 0 ||\r\n formikProduct.values?.model?.length != 0 ||\r\n formikProduct.values?.vinSerialNo?.length != 0 ||\r\n formikProduct.values?.stockNo?.length != 0 ||\r\n formikProduct.values?.class?.length != 0 ||\r\n formikProduct.values?.category?.length != 0 ||\r\n formikProduct.values?.trim?.length != 0 ||\r\n formikProduct.values?.color?.length != 0 ||\r\n formikProduct.values?.accessories?.length != 0;\r\n \r\n return (\r\n \r\n \r\n \r\n \r\n {productCondtions?.map((x: any) => (\r\n \r\n {x.name}\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {prodFormType != 'Simple' && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n setProductPrice(e.target.value);\r\n }}\r\n error={!!formikProduct.errors.price}\r\n helperText={formikProduct.errors.price}\r\n />\r\n \r\n \r\n \r\n Miscellaneous\r\n \r\n \r\n \r\n \r\n \r\n {\r\n let value = e.target.value;\r\n if (isNaN(value)) return;\r\n if (value.toString().indexOf('.') > -1 && value.toString().split('.')[1].length > 2) return;\r\n formikProduct.setFieldValue(`miscellaneousPrice`, value);\r\n }}\r\n error={!!formikProduct.errors.miscellaneousPrice}\r\n helperText={formikProduct.errors.miscellaneousPrice}\r\n />\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nfunction DealAttachmentsChips({\r\n formik,\r\n handleDeleteAttachments,\r\n handleDeleteAttachmentsToUpload\r\n}: {\r\n formik: any;\r\n handleDeleteAttachments: any;\r\n handleDeleteAttachmentsToUpload: any;\r\n}): ReactElement {\r\n const classes: any = useStyles();\r\n const [imageSrc, setImageSrc] = React.useState(undefined);\r\n const [selectedPdf, setSelectedPdf] = useState(null);\r\n const [openModal, setOpenModal] = useState(false);\r\n const [fileName, setFileName] = useState('');\r\n\r\n const getIconByExtension = (extension: string) => {\r\n if (extension === 'pdf') {\r\n return ;\r\n }else if (['xlsx', 'xls'].includes(extension)) {\r\n return ;\r\n }else if (['png', 'jpg', 'jpeg', 'gif'].includes(extension)) {\r\n return ;\r\n }\r\n return null;\r\n };\r\n\r\n const openPdf = (isOpen: boolean, url: any, fileName: any) => {\r\n setOpenModal(isOpen);\r\n setSelectedPdf(url);\r\n setFileName(fileName);\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Files\r\n \r\n \r\n \r\n setImageSrc(undefined)} />\r\n\r\n {formik.values.dealAttachments.map((dealAttachment: DealAttachment, index: any) => (\r\n \r\n {getIconByExtension(getFileExtension(dealAttachment.fileURL))}\r\n {dealAttachment.fileName}\r\n \r\n }\r\n variant=\"default\"\r\n style={{\r\n margin: '0 8px 8px 0',\r\n height: '36px',\r\n }}\r\n color=\"primary\"\r\n onClick={() => {\r\n const extension = getFileExtension(dealAttachment.fileURL)\r\n if(extension == 'xlsx' || extension == 'xls'){\r\n const link = document.createElement('a');\r\n link.href = dealAttachment.fileURL;\r\n link.download = dealAttachment.fileName;\r\n document.body.appendChild(link);\r\n link.click();\r\n document.body.removeChild(link); \r\n }\r\n else if (extension != 'pdf') {\r\n setImageSrc(dealAttachment.fileURL)\r\n }\r\n else {\r\n openPdf(true, dealAttachment.fileURL, dealAttachment.fileName)\r\n }\r\n }}\r\n onDelete={formik.values.dealStateId === 1 ? () => handleDeleteAttachments(index, dealAttachment) : undefined}\r\n />\r\n ))}\r\n\r\n {formik.values.dealAttachmentsToUpload.map((dealAttachment: any, index: any) => (\r\n \r\n {getIconByExtension(getFileExtension(dealAttachment.fileURL))}\r\n {dealAttachment.fileName}\r\n \r\n } \r\n variant=\"default\"\r\n style={{\r\n margin: '0 8px 8px 0',\r\n height: '36px'\r\n }}\r\n color=\"primary\"\r\n onClick={() => {\r\n const extension = getFileExtension(dealAttachment.fileURL)\r\n if(extension == 'xlsx' || extension == 'xls'){\r\n const link = document.createElement('a');\r\n link.href = dealAttachment.fileURL;\r\n link.download = dealAttachment.fileName;\r\n document.body.appendChild(link);\r\n link.click();\r\n document.body.removeChild(link);\r\n }\r\n else if (extension != 'pdf') {\r\n setImageSrc(dealAttachment.fileURL)\r\n }\r\n else {\r\n openPdf(true, dealAttachment.fileURL, dealAttachment.fileName)\r\n }\r\n }}\r\n onDelete={() => {\r\n handleDeleteAttachmentsToUpload(index);\r\n }}\r\n />\r\n ))}\r\n\r\n{selectedPdf && (\r\n \r\n )}\r\n \r\n );\r\n}\r\nfunction CustomerContactsList({\r\n formik,\r\n selectedContacts,\r\n selectedCustomers,\r\n customerTreeOptions,\r\n newCustomerContact,\r\n enableCustomerValidation,\r\n setSelectedContacts,\r\n setSelectedCustomers,\r\n setCustomerTreeOptions,\r\n setCustomerContactDrawerState,\r\n setEnableCustomerValidation,\r\n}: {\r\n formik: any;\r\n selectedContacts: number[];\r\n selectedCustomers: CustomerDto[] | undefined;\r\n customerTreeOptions: CustomerTreeOption[];\r\n newCustomerContact: CustomerContacResponse | null;\r\n enableCustomerValidation: boolean;\r\n setSelectedContacts(contacts: number[]): void;\r\n setSelectedCustomers(customers: CustomerDto[] | undefined): void;\r\n setCustomerTreeOptions(options: CustomerTreeOption[]): void;\r\n setCustomerContactDrawerState(value: boolean): void;\r\n setEnableCustomerValidation(value: boolean): void;\r\n}): ReactElement {\r\n const classes: any = useStyles();\r\n const [nodeIdCount, setNodeIdCount] = useState(0);\r\n// let userPermissions = useAppSelector((state) => state.user?.userPermissions);\r\n// let isCustomerPermission = 0;\r\n// if (!userPermissions) {\r\n// userPermissions = [];\r\n// isCustomerPermission = 2;\r\n// }\r\n// if (isCustomerPermission == 0) {\r\n// if (userPermissions.find((x) => x.featureName.toLowerCase() === 'customers')) {\r\n// isCustomerPermission = 1;\r\n// } \r\n// }\r\n\r\n React.useEffect(() => {\r\n if (newCustomerContact != null) {\r\n setNewContactForAlreadySelectedCustomer(newCustomerContact);\r\n }\r\n }, [newCustomerContact]);\r\n\r\n function setNewContactForAlreadySelectedCustomer(newCustomerContact: CustomerContacResponse) {\r\n let customerDD = selectedCustomers?.find((x) => x.id == newCustomerContact.crmCustomerId);\r\n\r\n if (customerDD) {\r\n let updatedCustomerTreeOptions = [...customerTreeOptions];\r\n\r\n let customerExists = customerTreeOptions.find((x) => x.value == newCustomerContact.crmCustomerId);\r\n const lastCustomerContacts =\r\n customerTreeOptions.length > 0 ? customerTreeOptions[customerTreeOptions.length - 1].nodes : undefined;\r\n let nodeId = lastCustomerContacts ? lastCustomerContacts[lastCustomerContacts.length - 1].nodeId : 0;\r\n\r\n if (customerExists) {\r\n customerExists.nodes?.push({\r\n type: 'contact',\r\n title: newCustomerContact.name,\r\n value: newCustomerContact.id,\r\n nodeId: ++nodeId,\r\n customerId: newCustomerContact.crmCustomerId,\r\n });\r\n\r\n const customerOptionIndex = customerTreeOptions.findIndex((x) => x.value == newCustomerContact.crmCustomerId);\r\n updatedCustomerTreeOptions[customerOptionIndex] = customerExists;\r\n setCustomerTreeOptions(updatedCustomerTreeOptions);\r\n setNodeIdCount(nodeId);\r\n } else {\r\n updatedCustomerTreeOptions.push({\r\n type: 'customer',\r\n title: customerDD.name,\r\n value: newCustomerContact.crmCustomerId,\r\n nodeId: ++nodeId,\r\n nodes: [\r\n {\r\n type: 'contact',\r\n title: newCustomerContact.name,\r\n value: newCustomerContact.id,\r\n nodeId: ++nodeId,\r\n customerId: newCustomerContact.crmCustomerId,\r\n },\r\n ],\r\n });\r\n setCustomerTreeOptions(updatedCustomerTreeOptions);\r\n setNodeIdCount(nodeId);\r\n }\r\n }\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Customer Contacts\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default DealEditDrawer;\r\n","import {\r\n Box,\r\n Button,\r\n ButtonGroup,\r\n Chip,\r\n FormControl,\r\n Grid,\r\n InputLabel,\r\n MenuItem,\r\n Popover,\r\n Select,\r\n TextField,\r\n} from '@material-ui/core';\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\nimport { teal } from '@material-ui/core/colors';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport { createStyles, lighten, makeStyles, Theme } from '@material-ui/core/styles';\r\nimport Table from '@material-ui/core/Table';\r\nimport TableBody from '@material-ui/core/TableBody';\r\nimport TableCell from '@material-ui/core/TableCell';\r\nimport TableContainer from '@material-ui/core/TableContainer';\r\nimport TableHead from '@material-ui/core/TableHead';\r\nimport TableRow from '@material-ui/core/TableRow';\r\nimport TableSortLabel from '@material-ui/core/TableSortLabel';\r\nimport Toolbar from '@material-ui/core/Toolbar';\r\nimport Tooltip from '@material-ui/core/Tooltip';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport AddIcon from '@material-ui/icons/Add';\r\nimport { Pagination } from '@material-ui/lab';\r\nimport clsx from 'clsx';\r\nimport React, { ReactElement, useContext, useEffect, useState } from 'react';\r\nimport { shallowEqual } from 'react-redux';\r\nimport { useAppDispatch, useAppSelector } from '../../../../app';\r\nimport { SmallCircularProgress } from '../../../../common/components/loaders';\r\nimport { showSnackbar } from '../../../../components/root-snackbar';\r\nimport PhoneIphoneIcon from '@mui/icons-material/PhoneIphone';\r\nimport SubjectIcon from '@mui/icons-material/Subject';\r\nimport AssignmentIcon from '@mui/icons-material/Assignment';\r\nimport PersonIcon from '@mui/icons-material/Person';\r\nimport ScheduleIcon from '@mui/icons-material/Schedule';\r\nimport PinDropIcon from '@mui/icons-material/PinDrop';\r\nimport moment from 'moment';\r\nimport DoneIcon from '@mui/icons-material/Done';\r\nimport ArchiveIcon from '@mui/icons-material/Archive';\r\nimport {\r\n fetchTasks,\r\n fetchTasksPage,\r\n SetSelectedTasks,\r\n SetAllSelectedTasks,\r\n showTaskDrawer,\r\n UpdateSelectedTask,\r\n setFilterDates,\r\n setAssignedUsers,\r\n rescheduleTaskList,\r\n} from './taskboardSlice';\r\nimport { TaskListObject, TaskListRescheduleRequest, UserTaskStatus } from 'components/lead/models/task';\r\nimport CalendarTodayIcon from '@mui/icons-material/CalendarToday';\r\nimport ShortcutIcon from '@mui/icons-material/Shortcut';\r\nimport { styled } from '@material-ui/core/styles';\r\nimport { spacing } from '@material-ui/system';\r\nimport MuiButton from '@material-ui/core/Button';\r\nimport useLocations from 'common/hooks/useLocations';\r\nimport AdapterDateFns from '@mui/lab/AdapterDateFns';\r\nimport LocalizationProvider from '@mui/lab/LocalizationProvider';\r\nimport { DateRange } from '@mui/lab/DateRangePicker';\r\nimport StaticDateRangePicker from '@mui/lab/StaticDateRangePicker';\r\nimport { DateRangePickerDayProps } from '@mui/lab/DateRangePickerDay';\r\nimport DateRangePickerDay from '@mui/lab/DateRangePickerDay';\r\nimport { pickersDayClasses } from '@mui/lab/PickersDay';\r\nimport CustomerRootPageDrawer from 'components/customer/components/CustomerDrawer/CustomerRootPageDrawer';\r\nimport { fetchSelectedCustomer } from 'components/customer/components/Customers/customersSlice';\r\nimport TaskContext from './tasks-context';\r\nimport { TaskArchiveDrawer } from './TaskDrawer/TaskArchiveDrawer';\r\nimport FilterListIcon from '@mui/icons-material/FilterList';\r\nimport DealEditDrawer from 'components/deals/drawer/deal-edit-drawer';\r\nimport { DealItem } from 'components/deals/model/dealsInterfaces';\r\nimport TaskRootDrawer from './TaskDrawer/TaskRootDrawer';\r\n\r\nfunction descendingComparator(a: T, b: T, orderBy: keyof T): 1 | -1 | 0 {\r\n if (b[orderBy] < a[orderBy]) {\r\n return -1;\r\n }\r\n if (b[orderBy] > a[orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\ntype Order = 'asc' | 'desc';\r\n\r\nexport const SButton = styled(MuiButton)(spacing);\r\n\r\nfunction getComparator(\r\n order: Order,\r\n orderBy: Key,\r\n): (a: { [key in Key]: number | string | null }, b: { [key in Key]: number | string | null }) => number {\r\n return order === 'desc'\r\n ? (a, b) => descendingComparator(a, b, orderBy)\r\n : (a, b) => -descendingComparator(a, b, orderBy);\r\n}\r\n\r\nfunction stableSort(array: T[], comparator: (a: T, b: T) => number): T[] {\r\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\r\n stabilizedThis.sort((a, b) => {\r\n const order = comparator(a[0], b[0]);\r\n if (order !== 0) return order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\ninterface HeadCell {\r\n disablePadding: boolean;\r\n id: keyof TaskListObject;\r\n label: string;\r\n numeric: boolean;\r\n icon: any;\r\n}\r\n\r\ninterface EnhancedTableProps {\r\n classes: any;\r\n numSelected: number;\r\n onRequestSort: (event: React.MouseEvent, property: keyof TaskListObject) => void;\r\n onSelectAllClick: (event: React.ChangeEvent, checked: boolean) => void;\r\n onSelectVisibleClick: (event: React.ChangeEvent, checked: boolean) => void;\r\n order: Order;\r\n orderBy: string;\r\n rowCount: number;\r\n}\r\n\r\nfunction EnhancedTableHead(props: EnhancedTableProps): ReactElement {\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n const { locations } = useLocations(dmsDealerIdCrm);\r\n\r\n let headCells: HeadCell[] = [\r\n {\r\n id: 'taskSubject',\r\n numeric: false,\r\n disablePadding: true,\r\n label: 'Subject',\r\n icon: SubjectIcon,\r\n },\r\n {\r\n id: 'taskType',\r\n numeric: false,\r\n disablePadding: false,\r\n label: 'Type',\r\n icon: PhoneIphoneIcon,\r\n },\r\n {\r\n id: 'customerName',\r\n numeric: false,\r\n disablePadding: false,\r\n label: 'Customer',\r\n icon: PersonIcon,\r\n },\r\n {\r\n id: 'dealTitle',\r\n numeric: false,\r\n disablePadding: false,\r\n label: 'Deal',\r\n icon: FilterListIcon,\r\n },\r\n {\r\n id: 'dueDate',\r\n numeric: true,\r\n disablePadding: false,\r\n label: 'Due',\r\n icon: ScheduleIcon,\r\n },\r\n {\r\n id: 'assignedUserId',\r\n numeric: false,\r\n disablePadding: false,\r\n label: 'Assignment',\r\n icon: AssignmentIcon,\r\n },\r\n ];\r\n\r\n if (locations && locations.length > 1) {\r\n headCells.push({\r\n id: 'dealerLocationName',\r\n numeric: true,\r\n disablePadding: false,\r\n label: 'Location',\r\n icon: PinDropIcon,\r\n });\r\n }\r\n\r\n const { classes, onSelectAllClick, onSelectVisibleClick, order, orderBy, numSelected, rowCount, onRequestSort } =\r\n props;\r\n const createSortHandler =\r\n (property: keyof TaskListObject) =>\r\n (event: React.MouseEvent): void => {\r\n onRequestSort(event, property);\r\n };\r\n\r\n const AllTasksSelected = useAppSelector((state: any) => state.tasks.AllTasksSelected);\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {headCells.map((headCell: HeadCell) => {\r\n const Icon = headCell.icon;\r\n return (\r\n \r\n <>\r\n \r\n \r\n \r\n {headCell.icon && }\r\n {headCell.label}\r\n {orderBy === headCell.id ? (\r\n \r\n {order === 'desc' ? 'sorted descending' : 'sorted ascending'}\r\n \r\n ) : null}\r\n \r\n \r\n \r\n \r\n \r\n );\r\n })}\r\n\r\n \r\n <>\r\n \r\n \r\n {/* \r\n Actions\r\n */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nconst useToolbarStyles = makeStyles((theme: Theme): any =>\r\n createStyles({\r\n root: {\r\n paddingLeft: theme.spacing(2),\r\n paddingRight: theme.spacing(1),\r\n },\r\n highlight:\r\n theme.palette.type === 'light'\r\n ? {\r\n color: theme.palette.common.black,\r\n backgroundColor: lighten(theme.palette.primary.main, 0.85),\r\n }\r\n : {\r\n color: theme.palette.text.primary,\r\n backgroundColor: teal[500],\r\n },\r\n title: {\r\n flex: '1 1 100%',\r\n fontWeight: 'bold',\r\n },\r\n 'Mui-disabled': {\r\n cursor: 'default',\r\n 'pointer-events': 'none',\r\n color: 'grey',\r\n },\r\n }),\r\n);\r\n\r\ninterface TaskTableToolbarProps {\r\n numSelected: number;\r\n validPhoneNumbers: number;\r\n}\r\n\r\nfunction getNextWeekDay(startDate: any, dayOfWeek: any) {\r\n let dayOffset = dayOfWeek > startDate.getDay() ? dayOfWeek - startDate.getDay() : dayOfWeek - startDate.getDay() + 7;\r\n\r\n startDate.setDate(startDate.getDate() + dayOffset);\r\n\r\n return startDate;\r\n}\r\n\r\nconst TaskTableToolbar = (props: TaskTableToolbarProps): ReactElement => {\r\n const classes: any = useToolbarStyles();\r\n const { numSelected, validPhoneNumbers } = props;\r\n const dispatch = useAppDispatch();\r\n let selected = useAppSelector((state: any) => state.tasks.selectedTasks);\r\n const AllTasksSelected = useAppSelector((state: any) => state.tasks.AllTasksSelected);\r\n const taskIsArchived = useAppSelector((state: any) => state.tasks.isArchived);\r\n\r\n const { count } = useAppSelector(\r\n (state: any) => ({\r\n count: state.tasks.totalTasks,\r\n }),\r\n shallowEqual,\r\n );\r\n\r\n let totalSelected = numSelected;\r\n let phoneCount = validPhoneNumbers;\r\n if (AllTasksSelected) {\r\n totalSelected = count;\r\n phoneCount = 1;\r\n }\r\n\r\n const fromDate = useAppSelector((state: any) => state.tasks.fromDate);\r\n const toDate = useAppSelector((state: any) => state.tasks.toDate);\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n const handleClick = (event: React.MouseEvent) => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n\r\n const handleClose = () => {\r\n setAnchorEl(null);\r\n };\r\n\r\n const open = Boolean(anchorEl);\r\n const id = open ? 'simple-popover' : undefined;\r\n const [value, setValue] = React.useState>([null, null]);\r\n const renderWeekPickerDay = (date: Date, dateRangePickerDayProps: DateRangePickerDayProps) => {\r\n return (\r\n \r\n );\r\n };\r\n const selectionRange: any = {\r\n startDate: new Date(),\r\n endDate: new Date(),\r\n key: 'selection',\r\n };\r\n // const handleValidatePhoneNumbers = () => {\r\n // dispatch(\r\n // showCustomerDrawer({\r\n // drawerType: 'CUSTOMER_PHONE_VALIDATE',\r\n // drawerProps: {},\r\n // }),\r\n // );\r\n // };\r\n\r\n const [archiveDrawer, setArchiveDrawer] = useState(false);\r\n const handleAssignTasks = () => {\r\n dispatch(UpdateSelectedTask(undefined));\r\n };\r\n const handleRescheduleTasks = () => {\r\n dispatch(UpdateSelectedTask(undefined));\r\n dispatch(showTaskDrawer({ drawerType: 'TASKLIST_RESCHEDULE', drawerProps: {} }));\r\n };\r\n\r\n const handleDoneTasks = () => {\r\n dispatch(UpdateSelectedTask(undefined));\r\n dispatch(showTaskDrawer({ drawerType: 'TASKLIST_DONE', drawerProps: {} }));\r\n };\r\n const handleUnarchiveTasks = () => {\r\n let taskArchiveList: TaskListRescheduleRequest = {\r\n taskIds: selected.map((x: any) => x.taskId),\r\n isArchived: false,\r\n taskArchiveReason: '',\r\n };\r\n dispatch(rescheduleTaskList(taskArchiveList));\r\n dispatch(showSnackbar({ type: 'success', message: 'Selected tasks unarchived' }));\r\n dispatch(SetSelectedTasks([]));\r\n dispatch(SetAllSelectedTasks(false));\r\n };\r\n // const onAddTaskBtn = () => dispatch(showTaskDrawer({ drawerType: 'TASK_ADD', drawerProps: {} }));\r\n return (\r\n 0,\r\n })}>\r\n {totalSelected > 0 && (\r\n \r\n Selected {totalSelected} {totalSelected > 1 ? 'Tasks' : 'Task'}\r\n \r\n )\r\n // : (\r\n // \r\n // \r\n // \r\n // \r\n // \r\n // )\r\n }\r\n {totalSelected > 0 ? (\r\n <>\r\n {!taskIsArchived && (\r\n <>\r\n }>\r\n \r\n Mark Done\r\n \r\n \r\n \r\n }>\r\n \r\n Edit Tasks\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n {\r\n taskIsArchived ? handleUnarchiveTasks() : setArchiveDrawer(true);\r\n }}\r\n size=\"small\"\r\n startIcon={}>\r\n \r\n {taskIsArchived ? 'Unarchive' : 'Archive'}\r\n \r\n \r\n \r\n \r\n ) : (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n let endDate = new Date();\r\n endDate.setHours(23, 59, 59, 999);\r\n let dateRange: DateRange = [null, endDate];\r\n setValue(dateRange);\r\n dispatch(setFilterDates({ toDate: endDate, fromDate: null }));\r\n }}>\r\n Today\r\n \r\n {\r\n let curr = new Date(); // get current date\r\n let prev = new Date(); // get current date\r\n let month = prev.getMonth();\r\n let prevMonthDays = new Date(prev.getFullYear(), month - 1, 0).getDate();\r\n let first = curr.getDate() - curr.getDay(); // First day is the day of the month - the day of the week\r\n let last = first + 6; // last day is the first day + 6\r\n let time = prev.getHours() + ':' + prev.getMinutes() + ':' + prev.getSeconds();\r\n let prevMonthDate = new Date(\r\n `${prev.getFullYear()}` +\r\n '-' +\r\n `${prev.getMonth()}` +\r\n '-' +\r\n `${prevMonthDays + last - 6}` +\r\n ' ' +\r\n `${time}`,\r\n );\r\n let firstday = first <= 0 ? prevMonthDate : new Date(curr.setDate(first)); //.toUTCString();\r\n let lastday = new Date(curr.setDate(last)); //.toUTCString();\r\n let dateRange: DateRange = [firstday, lastday];\r\n setValue(dateRange);\r\n dispatch(setFilterDates({ toDate: lastday, fromDate: firstday }));\r\n }}>\r\n This Week\r\n \r\n {\r\n let nextSunday = getNextWeekDay(new Date(), 0);\r\n let nextSaturday = getNextWeekDay(new Date(), 6);\r\n nextSaturday.setDate(nextSunday.getDate() + 6);\r\n let dateRange: DateRange = [nextSunday, nextSaturday];\r\n setValue(dateRange);\r\n dispatch(setFilterDates({ toDate: nextSaturday, fromDate: nextSunday }));\r\n }}>\r\n Next Week\r\n \r\n {\r\n let dateRange: DateRange = [null, null];\r\n setValue(dateRange);\r\n dispatch(setFilterDates({ toDate: null, fromDate: null }));\r\n }}>\r\n Reset\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n newValue[1]?.setHours(23, 59, 59);\r\n setValue(newValue);\r\n dispatch(setFilterDates({ toDate: newValue[1], fromDate: newValue[0] }));\r\n }}\r\n renderDay={renderWeekPickerDay}\r\n renderInput={(startProps: any, endProps: any) => (\r\n <>\r\n \r\n to \r\n \r\n \r\n )}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n setArchiveDrawer(false)} />\r\n \r\n );\r\n};\r\n\r\nconst useStyles = makeStyles((theme: Theme): any =>\r\n createStyles({\r\n root: {\r\n width: '100%',\r\n },\r\n paper: {\r\n width: '100%',\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: 'rect(0 0 0 0)',\r\n height: 1,\r\n margin: -1,\r\n overflow: 'hidden',\r\n padding: 0,\r\n position: 'absolute',\r\n top: 20,\r\n width: 1,\r\n },\r\n tableRow: {},\r\n pagination: {\r\n width: 'fit-content',\r\n marginLeft: 'auto',\r\n },\r\n successIcon: {\r\n color: theme.palette.success.main,\r\n fontSize: 12,\r\n paddingRight: 5,\r\n },\r\n errorIcon: {\r\n color: theme.palette.error.main,\r\n fontSize: 12,\r\n paddingRight: 5,\r\n },\r\n nameCell: {\r\n cursor: 'pointer',\r\n '&:hover': {\r\n textDecoration: 'underline',\r\n },\r\n },\r\n completedSubject: {\r\n cursor: 'pointer',\r\n '&:hover': {\r\n textDecoration: 'underline',\r\n },\r\n textDecoration: 'line-through',\r\n },\r\n completedButton: {\r\n '&:hover': {\r\n backgroundColor: '#4caf50 !important',\r\n },\r\n },\r\n overDueChip: {\r\n backgroundColor: 'red',\r\n color: 'white',\r\n width:'110px'\r\n },\r\n toDoChip: {\r\n backgroundColor: '#4caf50',\r\n color: 'white',\r\n width:'110px'\r\n },\r\n }),\r\n);\r\n\r\nexport default function TaskboardTable(): ReactElement {\r\n const classes: any = useStyles();\r\n const { fetchTodoOrOverdueCount } = useContext(TaskContext);\r\n\r\n const [order, setOrder] = React.useState('asc');\r\n const [orderBy, setOrderBy] = React.useState('taskId');\r\n const selected = useAppSelector((state: any) => state.tasks.selectedTasks);\r\n const crmUserId = useAppSelector((state: any) => state.user.crmUserId);\r\n const dispatch = useAppDispatch();\r\n const { loading, error } = useAppSelector((state: any) => ({\r\n loading: state.tasks.loading,\r\n error: state.tasks.error,\r\n }));\r\n\r\n const page = useAppSelector((state: any) => state.tasks.currentPage);\r\n const rowsPerPage = useAppSelector((state: any) => state.tasks.pageSize);\r\n const rows = useAppSelector((state: any) => state.tasks.tasks);\r\n const count = useAppSelector((state: any) => state.tasks.totalTasks);\r\n\r\n const searchString = useAppSelector((state: any) => state.tasks.searchString);\r\n const createdByUserId = useAppSelector((state: any) => state.tasks.createdByUserId);\r\n const assignedUserIds = useAppSelector((state: any) => state.tasks.assignedUserIds);\r\n const taskStatusId = useAppSelector((state: any) => state.tasks.taskStatusId);\r\n const taskTypeId = useAppSelector((state: any) => state.tasks.taskTypeId);\r\n const dealerLocationId = useAppSelector((state: any) => state.tasks.dealerId);\r\n const taskIsArchived = useAppSelector((state: any) => state.tasks.isArchived);\r\n const selectedCustomer = useAppSelector((state: any) => state.tasks.selectedCustomer);\r\n\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n const { locations } = useLocations(dmsDealerIdCrm);\r\n\r\n const [dealEditDrawerState, setDealEditDrawerState] = useState(false);\r\n const [selectedEditDeal, setSelectedEditDeal] = useState({});\r\n\r\n const fromDate = useAppSelector((state: any) => state.tasks.fromDate);\r\n const toDate = useAppSelector((state: any) => state.tasks.toDate);\r\n const handleRequestSort = (event: React.MouseEvent, property: keyof TaskListObject): void => {\r\n const isAsc = orderBy === property && order === 'asc';\r\n setOrder(isAsc ? 'desc' : 'asc');\r\n setOrderBy(property);\r\n };\r\n\r\n let userPermissions = useAppSelector((state) => state.user?.userPermissions);\r\n let isCustomerPermission = 0;\r\n let isDealPermission = 0;\r\n if (!userPermissions) {\r\n userPermissions = [];\r\n isCustomerPermission = 2;\r\n isDealPermission = 2;\r\n }\r\n if (isCustomerPermission == 0) {\r\n if (userPermissions.find((x) => x.featureName.toLowerCase() === 'customers')) {\r\n isCustomerPermission = 1;\r\n }\r\n }\r\n if (isDealPermission == 0) {\r\n if (userPermissions.find((x) => x.featureName.toLowerCase() === 'deals')) {\r\n isDealPermission = 1;\r\n }\r\n }\r\n\r\n const handleSelectAllClick = (event: React.ChangeEvent): void => {\r\n if (event.target.checked) {\r\n dispatch(SetSelectedTasks(rows));\r\n dispatch(SetAllSelectedTasks(true));\r\n } else {\r\n dispatch(SetSelectedTasks([]));\r\n dispatch(SetAllSelectedTasks(false));\r\n }\r\n };\r\n\r\n const handleSelectVisibleClick = (event: React.ChangeEvent): void => {\r\n if (event.target.checked) {\r\n dispatch(SetSelectedTasks(rows));\r\n return;\r\n }\r\n dispatch(SetSelectedTasks([]));\r\n };\r\n\r\n const handleClick = (event: React.MouseEvent, task: TaskListObject): void => {\r\n dispatch(SetSelectedTasks([task]));\r\n };\r\n useEffect(() => {\r\n dispatch(setAssignedUsers([crmUserId]));\r\n }, [1]);\r\n\r\n useEffect(() => {\r\n dispatch(fetchTasks());\r\n }, [\r\n dispatch,\r\n searchString,\r\n createdByUserId,\r\n assignedUserIds,\r\n fromDate,\r\n toDate,\r\n taskStatusId,\r\n taskTypeId,\r\n dealerLocationId,\r\n taskIsArchived,\r\n ]);\r\n\r\n const handleChangePage = (event: unknown, newPage: number): void => {\r\n dispatch(fetchTasksPage(newPage));\r\n };\r\n\r\n const handleSelectTask = (task: TaskListObject): void => {\r\n dispatch(UpdateSelectedTask(task));\r\n };\r\n\r\n const selectedTaskId = useAppSelector((state: any) => {\r\n if (state.tasks.selectedTask) {\r\n return state.tasks.selectedTask.id;\r\n }\r\n return -1;\r\n }, shallowEqual);\r\n const isSelected = (id: number): boolean => !!selected.find((x: TaskListObject) => x.taskId === id);\r\n\r\n const emptyRows = rowsPerPage - rows.length;\r\n\r\n const toggleOptIn = (customer: TaskListObject): void => {\r\n //dispatch(saveCustomerToggle(customer));\r\n };\r\n\r\n const onReScheduleTaskBtn = (row: TaskListObject) => {\r\n dispatch(UpdateSelectedTask(row));\r\n dispatch(showTaskDrawer({ drawerType: 'TASK_RESCHEDULE', drawerProps: {} }));\r\n };\r\n const onEditTask = (row: TaskListObject) => {\r\n dispatch(UpdateSelectedTask(row));\r\n dispatch(showTaskDrawer({ drawerType: 'TASK_EDIT', drawerProps: {} }));\r\n };\r\n const onDoneTaskBtn = (row: TaskListObject) => {\r\n dispatch(UpdateSelectedTask(row));\r\n dispatch(showTaskDrawer({ drawerType: 'TASK_DONE', drawerProps: {} }));\r\n };\r\n\r\n const openDealEditDrawer = (dealId: number, dealTitle: string) => {\r\n if (isDealPermission == 1) {\r\n const dealItem: DealItem = {\r\n id: dealId,\r\n title: dealTitle,\r\n selected: false,\r\n isArchiveTask: false,\r\n lostReasonId: '',\r\n tasksScheduled: 0,\r\n lostNote: '',\r\n dealStateId: 0,\r\n };\r\n setSelectedEditDeal(dealItem);\r\n setDealEditDrawerState(true); \r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (error) {\r\n dispatch(showSnackbar({ type: 'error', message: 'Failed to fetch tasks' }));\r\n }\r\n }, [error, dispatch]);\r\n\r\n let selectedInvalidPhoneNumbers = 0;\r\n useEffect(() => {\r\n fetchTodoOrOverdueCount();\r\n }, [rows]);\r\n let currentDate = moment.utc(new Date()).local();\r\n const checkForDefaultOrder = (rows: any, order:any, orderby:any )=>{\r\n if(orderby!=='taskId'){\r\n return stableSort(rows, getComparator(order, orderby))\r\n }\r\n else\r\n return rows;\r\n }\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {!loading && (rows.length > 0 ? (\r\n \r\n {\r\n checkForDefaultOrder(rows, order, orderBy).map((row: any, index: any) => {\r\n const isItemSelected = isSelected(row.taskId);\r\n const isRowSelected = selectedTaskId === row.taskId;\r\n const labelId = `enhanced-table-checkbox-${index}`;\r\n\r\n return (\r\n \r\n \r\n handleClick(event, row)}\r\n checked={isItemSelected}\r\n inputProps={{ 'aria-labelledby': labelId, id: 'customerCheckbox_' + index }}\r\n />\r\n \r\n {\r\n onEditTask(row);\r\n }}\r\n className={\r\n row.taskStatusId === UserTaskStatus.Completed ? classes.completedSubject : classes.nameCell\r\n }\r\n component=\"th\"\r\n id={labelId}\r\n scope=\"row\"\r\n padding=\"none\">\r\n {row.taskSubject}\r\n \r\n {row.taskType} \r\n {\r\n if (row.customerId && isCustomerPermission == 1) dispatch(fetchSelectedCustomer(row.customerId));\r\n }}>\r\n {row.customerName}\r\n \r\n {\r\n if (row.dealId) {\r\n openDealEditDrawer(row.dealId, row.dealTitle);\r\n }\r\n }}>\r\n {row.dealTitle}\r\n \r\n \r\n {row.dueDate && row.taskStatusId != UserTaskStatus.Completed && (\r\n \r\n \r\n \r\n )}\r\n \r\n {row.assignedUsername}\r\n {locations && locations.length > 1 && {row.dealerLocationName}}\r\n \r\n \r\n \r\n {row.taskStatusId === UserTaskStatus.Completed && (\r\n }>\r\n Completed\r\n \r\n )}\r\n {!(row.taskStatusId === UserTaskStatus.Completed) && !taskIsArchived && (\r\n <>\r\n {\r\n onReScheduleTaskBtn(row);\r\n }}\r\n color=\"secondary\">\r\n Edit\r\n \r\n
        \r\n {\r\n onDoneTaskBtn(row);\r\n }}\r\n color=\"primary\">\r\n Done\r\n {' '}\r\n \r\n )}\r\n
        \r\n
        \r\n
        \r\n \r\n );\r\n })}\r\n
        ) :(\r\n \r\n \r\n \r\n No task found\r\n \r\n \r\n \r\n )\r\n )}\r\n {loading && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n
        \r\n
        \r\n \r\n \r\n \r\n {}\r\n {}}\r\n onClose={() => setDealEditDrawerState(false)}\r\n />\r\n {!dealEditDrawerState &&\r\n \r\n }\r\n\r\n \r\n );\r\n}\r\n","import { ReactElement } from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { hideTaskDrawer, rescheduleTask, showTaskDrawer, UpdateSelectedTask } from '../taskboardSlice';\r\nimport { TaskListObject, UserTaskStatus } from 'components/lead/models/task';\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\nimport { Box, Button, ButtonGroup, Container, createStyles, Grid, makeStyles, TextField } from '@material-ui/core';\r\nimport moment from 'moment';\r\nimport { SButton } from '../TaskBoardTable';\r\nimport DoneIcon from '@mui/icons-material/Done';\r\n\r\nconst useStyles = makeStyles(() =>\r\n createStyles({\r\n completedButton: {\r\n '&:hover': {\r\n backgroundColor: '#4caf50 !important',\r\n },\r\n },\r\n }),\r\n);\r\nfunction TaskEditDrawer(): ReactElement {\r\n const classes: any = useStyles();\r\n const dispatch = useAppDispatch();\r\n\r\n const btnDisabled = useAppSelector((state) => state.tasks.addTaskLoading);\r\n const task = useAppSelector((state) => state.tasks.selectedTask);\r\n const taskIsArchived = useAppSelector((state: any) => state.tasks.isArchived);\r\n\r\n const selectedTask = useAppSelector((state) => state.tasks.selectedTask);\r\n const handleTaskFormSubmit = (task: TaskListObject): void => {\r\n dispatch(rescheduleTask(task));\r\n };\r\n\r\n const onReScheduleTaskBtn = (row: TaskListObject) => {\r\n dispatch(UpdateSelectedTask(row));\r\n dispatch(showTaskDrawer({ drawerType: 'TASK_RESCHEDULE', drawerProps: {} }));\r\n };\r\n const onEditTask = (row: TaskListObject) => {\r\n dispatch(UpdateSelectedTask(row));\r\n dispatch(showTaskDrawer({ drawerType: 'TASK_EDIT', drawerProps: {} }));\r\n };\r\n const onDoneTaskBtn = async (row: TaskListObject) => {\r\n dispatch(UpdateSelectedTask(row));\r\n dispatch(showTaskDrawer({ drawerType: 'TASK_DONE', drawerProps: {} }));\r\n };\r\n\r\n const handleOnClose = (): void => {\r\n dispatch(hideTaskDrawer());\r\n };\r\n const fontColor: any = {\r\n style: { color: 'rgb(50, 50, 50)' },\r\n };\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {selectedTask?.taskStatusId === UserTaskStatus.Completed && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {taskIsArchived && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n {selectedTask && selectedTask.taskStatusId === UserTaskStatus.Completed && (\r\n }>\r\n Completed\r\n \r\n )}\r\n {!(selectedTask && selectedTask.taskStatusId === UserTaskStatus.Completed) && !taskIsArchived && (\r\n <>\r\n {\r\n onReScheduleTaskBtn(selectedTask!);\r\n }}\r\n color=\"secondary\">\r\n Edit\r\n \r\n
        \r\n {\r\n onDoneTaskBtn(selectedTask!);\r\n }}\r\n color=\"primary\">\r\n Done\r\n \r\n \r\n )}\r\n
        \r\n
        \r\n
        \r\n
        \r\n
        \r\n
        \r\n \r\n );\r\n}\r\n\r\nexport default TaskEditDrawer;\r\n","import { Box, Container, FormControl, Grid, InputLabel, MenuItem, Select, TextField, Typography, makeStyles, FormControlLabel, Switch, Button, FormHelperText } from '@material-ui/core';\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\nimport React, { ReactElement, useCallback, useState } from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { hideTaskDrawer, markTaskAsDone, SetAllSelectedTasks, SetSelectedTasks } from '../taskboardSlice';\r\nimport TaskForm from './TaskForm';\r\nimport { TaskListObject } from 'components/lead/models/task';\r\nimport TaskboardAPI from '../taskboard-api';\r\nimport { LoadingButton } from 'common/components/buttons';\r\nimport { useFormik } from 'formik';\r\nimport * as Yup from 'yup';\r\nimport moment from 'moment';\r\n\r\nconst useStyles = makeStyles(() => ({\r\n title: {\r\n textTransform: 'capitalize',\r\n },\r\n}));\r\n\r\nfunction TaskDoneDrawer(): ReactElement {\r\n const dispatch = useAppDispatch();\r\n const handleTaskFormSubmit = (task: TaskListObject | null): void => {\r\n if (formik.isValid) {\r\n if (selectedTask) {\r\n if (task && task.dueDate) {\r\n task.dueDate = moment.utc(new Date(task?.dueDate.split('T')[0] + 'T' + task?.dueTime)).format();\r\n }\r\n dispatch(markTaskAsDone(task, selectedTask, formik.values.taskOutcomeId, formik.values.notes));\r\n }\r\n }\r\n };\r\n const handleOnClose = (): void => {\r\n dispatch(hideTaskDrawer());\r\n };\r\n\r\n const classes: any = useStyles();\r\n const selectedTask = useAppSelector((state) => state.tasks.selectedTask);\r\n const [outcomes, setOutcomes] = useState([]);\r\n const [followTask, setFollowTask] = useState(false);\r\n\r\n const getOutcomeList = useCallback(async (): Promise => {\r\n let data = await TaskboardAPI.getTaskOutcomes();\r\n setOutcomes(data);\r\n let taskOutcomeId = outcomes[0]?.id;\r\n formik.setFieldValue('taskOutcomeId', taskOutcomeId);\r\n }, [1]);\r\n\r\n React.useEffect(() => {\r\n getOutcomeList();\r\n }, [getOutcomeList]);\r\n\r\n let initialValues: any = {\r\n notes: selectedTask?.notes,\r\n taskOutcomeId: 0\r\n };\r\n\r\n const schema = Yup.object().shape({\r\n // notes: Yup.string().required('Required').max(1500, 'Max length 1500'),\r\n taskOutcomeId: Yup.number().nullable().required('Required').min(1, 'this field is required')\r\n });\r\n\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n validationSchema: schema,\r\n enableReinitialize: true,\r\n onSubmit: (values: any) => {\r\n if (!formik.isValid) {\r\n return;\r\n }\r\n const sanitizedValues = { ...values };\r\n handleTaskFormSubmit(null);\r\n dispatch(SetSelectedTasks([]));\r\n dispatch(SetAllSelectedTasks(false));\r\n }\r\n });\r\n\r\n let selectedCustomer = { customerId: selectedTask?.customerId ? selectedTask.customerId : 0, customerName: selectedTask?.customerName ? selectedTask.customerName : '', locationDealerId: selectedTask?.dealerId ?? 0, };\r\n return (\r\n <>\r\n \r\n \r\n \r\n
        \r\n \r\n \r\n \r\n Outcome\r\n {\r\n formik.handleChange(e);\r\n formik.setFieldValue('taskOutcomeId', opt.props.value);\r\n }}\r\n >\r\n {outcomes?.map((x: any) => (\r\n {x.value}\r\n ))}\r\n \r\n {!!formik.errors.taskOutcomeId && {formik.errors.taskOutcomeId}}\r\n \r\n \r\n \r\n { formik.handleChange(e) }}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}\r\n />\r\n \r\n \r\n
        \r\n
        \r\n
        \r\n \r\n \r\n Follow-Up task (Optional)\r\n { setFollowTask(e.target.checked) }}\r\n name=\"followTask\"\r\n color=\"primary\"\r\n />\r\n }\r\n label=\"\"\r\n labelPlacement=\"start\"\r\n />\r\n \r\n \r\n\r\n { }}\r\n done={followTask}\r\n validate={true}\r\n reschedule={false}\r\n edit={false}\r\n hideButtons={false}\r\n previousCustomer={selectedCustomer}\r\n />\r\n {followTask === false &&\r\n \r\n \r\n \r\n \r\n \r\n \r\n { formik.submitForm(); }}>\r\n Save\r\n \r\n \r\n \r\n \r\n }\r\n
        \r\n \r\n );\r\n}\r\n\r\nexport default TaskDoneDrawer;\r\n","import { Box, Container, Grid, TextField } from '@material-ui/core';\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\nimport React, { ReactElement, useEffect, useState } from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { hideTaskDrawer, rescheduleTask } from '../taskboardSlice';\r\nimport TaskForm from './TaskForm';\r\nimport { Task, TaskListObject } from 'components/lead/models/task';\r\nimport TaskboardAPI from '../taskboard-api';\r\nimport moment from 'moment';\r\n\r\nfunction TaskRescheduleDrawer(): ReactElement {\r\n const dispatch = useAppDispatch();\r\n const handleTaskFormSubmit = (task: TaskListObject): void => {\r\n const date = moment.utc(task.dueDate).format().split('T')[0];\r\n task.dueDate = moment.utc(new Date(date + 'T' + task.dueTime)).format();\r\n dispatch(rescheduleTask(task));\r\n };\r\n const handleOnClose = (): void => {\r\n dispatch(hideTaskDrawer());\r\n };\r\n\r\n //const [selectedTask, setSelectedTask] = useState(undefined);\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n const selectedTask = useAppSelector((state) => state.tasks.selectedTask);\r\n\r\n // const getTask = async () => {\r\n // if (selectedTaskId) {\r\n // let task = await TaskboardAPI.getTask(dealerId, selectedTaskId);\r\n // setSelectedTask(task);\r\n // }\r\n // }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {}}\r\n validate={true}\r\n reschedule={true}\r\n done={null}\r\n edit={false}\r\n hideButtons={false}\r\n previousCustomer={null}\r\n />\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default TaskRescheduleDrawer;\r\n","import { hideTaskDrawer, rescheduleTask, rescheduleTaskList, UpdateSelectedTask } from '../taskboardSlice';\r\nimport TaskForm from './TaskForm';\r\nimport TaskboardAPI from '../taskboard-api';\r\nimport { Box, Button, Checkbox, CircularProgress, Container, FormControl, FormControlLabel, Grid, InputLabel, MenuItem, Select, Switch, TextField, Theme } from '@material-ui/core';\r\nimport CancelIcon from '@material-ui/icons/Cancel';\r\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\r\nimport { Autocomplete } from '@material-ui/lab';\r\nimport { createStyles, makeStyles } from '@material-ui/styles';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { useFormik } from 'formik';\r\nimport React, { ReactElement, useCallback, useState } from 'react';\r\nimport MaskedInput from 'react-text-mask';\r\nimport * as Yup from 'yup';\r\nimport CustomerAPI from '../../../../customer/api/CustomerAPI';\r\nimport CheckBoxIcon from '@material-ui/icons/CheckBox';\r\nimport CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank';\r\nimport AdapterDateFns from '@mui/lab/AdapterDateFns';\r\nimport { TaskListObject, TaskListRescheduleRequest } from 'components/lead/models/task';\r\nimport LocalizationProvider from '@mui/lab/LocalizationProvider';\r\nconst icon = ;\r\nconst checkedIcon = ;\r\nimport DateTimePicker from '@mui/lab/DateTimePicker';\r\nimport useUsersList from 'components/setting/components/department/userUsersList';\r\nimport User from 'components/setting/models/user';\r\nimport { LoadingButton } from 'common/components/buttons';\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\nimport { showSnackbar } from 'components/root-snackbar';\r\n\r\n\r\nfunction TaskRescheduleDrawer(): ReactElement {\r\n const dispatch = useAppDispatch();\r\n const handleTaskFormSubmit = (): void => {\r\n if (!selectedUser && !dueDate) {\r\n dispatch(showSnackbar({ type: 'error', message: \"Please select one to update\" }));\r\n return;\r\n }\r\n let taskRescheduleRequest: TaskListRescheduleRequest = {\r\n assignedUserId: selectedUser?.crmUserId,\r\n dueDate: dueDate,\r\n taskIds: selectedTasks.map(x => x.taskId)\r\n }\r\n dispatch(rescheduleTaskList(taskRescheduleRequest));\r\n };\r\n const handleOnClose = (): void => {\r\n dispatch(hideTaskDrawer());\r\n };\r\n\r\n\r\n\r\n const selectedTasks = useAppSelector((state) => state.tasks.selectedTasks);\r\n\r\n const currentUserId = useAppSelector((state) => state.user.crmUserId);\r\n\r\n const [dueDate, setDueDate] = useState(null);\r\n const [followTask, setFollowTask] = useState(false);\r\n const [selectedUser, setSelectedUser] = useState(null);\r\n\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n const users = useUsersList(dealerId);\r\n const defaultUserValue: User = {\r\n crmUserId: '',\r\n dealerId: 0,\r\n departments: [],\r\n fullName: '',\r\n id: '',\r\n isActive: false,\r\n isAdmin: false,\r\n userId: 0,\r\n userRoles: [],\r\n username: ''\r\n }\r\n\r\n\r\n const handleUserChange = (val: User) => {\r\n if (val && val.crmUserId !== currentUserId) {\r\n setFollowTask(true);\r\n } else {\r\n setFollowTask(false);\r\n }\r\n console.log(val);\r\n setSelectedUser(val);\r\n }\r\n\r\n React.useEffect(() => {\r\n let selectedCrmUserId = currentUserId;\r\n const currentUser = users?.filter(x => x.crmUserId === selectedCrmUserId)[0];\r\n if (currentUser) {\r\n setSelectedUser(currentUser);\r\n }\r\n }, [users]);\r\n\r\n return (\r\n <>\r\n 1 ? \" Tasks\" : \" Task\")} onClose={handleOnClose} />\r\n \r\n \r\n \r\n
        \r\n \r\n \r\n \r\n handleUserChange(values)}\r\n getOptionLabel={(option: any) => option.username}\r\n disableCloseOnSelect\r\n placeholder={selectedUser?.username}\r\n getOptionSelected={(option: User, value: User): boolean => {\r\n return option.crmUserId === value.crmUserId;\r\n }}\r\n renderOption={(option, { selected }) => (\r\n <>\r\n \r\n {option.username}\r\n \r\n )}\r\n renderInput={(params) => (\r\n \r\n )}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n { console.log(e); setDueDate(e); }}\r\n renderInput={(params: any) => }\r\n />\r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n { handleTaskFormSubmit(); }}>\r\n Save\r\n \r\n \r\n \r\n \r\n
        \r\n
        \r\n
        \r\n\r\n
        \r\n \r\n );\r\n}\r\n\r\nexport default TaskRescheduleDrawer;\r\n","import {\r\n hideTaskDrawer,\r\n setDealerLocationId,\r\n setTaskTypeId,\r\n resetFilter,\r\n setTaskStatusId,\r\n setAssignedUsers,\r\n fetchTasks,\r\n setTaskIsArchived,\r\n} from '../taskboardSlice';\r\nimport TaskboardAPI from '../taskboard-api';\r\nimport {\r\n Box,\r\n Button,\r\n Checkbox,\r\n Container,\r\n FormControl,\r\n Grid,\r\n InputLabel,\r\n MenuItem,\r\n Select,\r\n TextField,\r\n} from '@material-ui/core';\r\nimport { Autocomplete } from '@material-ui/lab';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport React, { ReactElement, useCallback, useState } from 'react';\r\nimport CheckBoxIcon from '@material-ui/icons/CheckBox';\r\nimport CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank';\r\nimport { UserTaskStatus } from 'components/lead/models/task';\r\nconst icon = ;\r\nconst checkedIcon = ;\r\nimport useUsersList from 'components/setting/components/department/userUsersList';\r\nimport User from 'components/setting/models/user';\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\nimport useLocations from 'common/hooks/useLocations';\r\nimport DealerAPI from 'components/authentication/api/dealer-api';\r\nimport { PersistentAppData } from 'common/models';\r\n\r\nfunction TaskFilterDrawer(): ReactElement {\r\n const [dueDate, setDueDate] = useState(null);\r\n const [taskTypes, setTaskTypes] = React.useState([]);\r\n const assignedUserIds = useAppSelector((state: any) => state.tasks.assignedUserIds || state.user.crmUserId);\r\n const taskTypeId = useAppSelector((state: any) => state.tasks.taskTypeId);\r\n const taskIsArchived = useAppSelector((state: any) => state.tasks.isArchived);\r\n const taskStatusId = useAppSelector((state: any) => state.tasks.taskStatusId);\r\n const dealerLocationId = useAppSelector((state: any) => state.tasks.dealerId);\r\n const dmsDealerIdCrm = useAppSelector((state) => state.user.dmsDealerId);\r\n const { loading: locationLoading, locationOptions } = useLocations(dmsDealerIdCrm);\r\n const dispatch = useAppDispatch();\r\n\r\n const handleOnClose = (): void => {\r\n dispatch(hideTaskDrawer());\r\n };\r\n\r\n const getTaskTypeList = useCallback(async (): Promise => {\r\n let data = await TaskboardAPI.getTaskTypes();\r\n setTaskTypes(data);\r\n }, [1]);\r\n\r\n React.useEffect(() => {\r\n getTaskTypeList();\r\n }, [getTaskTypeList]);\r\n\r\n const dealerId = useAppSelector((state) => state.user.dealerId);\r\n const crmUserId = useAppSelector((state) => state.user.crmUserId);\r\n const dmsDealerId = useAppSelector((state) => state.user.dmsDealerId);\r\n const users = useUsersList(dealerId);\r\n\r\n async function SetFilterLocally(assignedUser:any,statusId:any,typeId:any,archieve:boolean, location:any){\r\n const taskfilerApiData: PersistentAppData = {\r\n crmUserId: crmUserId,\r\n dmsDealerId:dmsDealerId,\r\n type: `TaskFilter_${dmsDealerId}_${crmUserId}`,\r\n data: JSON.stringify(\r\n {\r\n assignedUserIds:assignedUser ?? assignedUserIds,\r\n taskStatusId:statusId ?? taskStatusId,\r\n taskTypeId:typeId ?? taskTypeId,\r\n isArchived:archieve ?? taskIsArchived,\r\n location: location ?? dealerLocationId\r\n })\r\n }\r\n localStorage.setItem(`TaskFilter_${dmsDealerId}_${crmUserId}`,taskfilerApiData.data);\r\n await DealerAPI.updatePersistentAppData(taskfilerApiData);\r\n }\r\n\r\n const handleUserChange = (val: User[]) => {\r\n let selectedUsers = val.map((x) => x.crmUserId);\r\n SetFilterLocally(selectedUsers,taskStatusId,taskTypeId,taskIsArchived,dealerLocationId);\r\n dispatch(setAssignedUsers(selectedUsers));\r\n dispatch(fetchTasks());\r\n };\r\n\r\n const handleResetFilter = async () => {\r\n const taskFilterRemove:PersistentAppData = {\r\n crmUserId:crmUserId,\r\n dmsDealerId:dmsDealerIdCrm,\r\n type:`TaskFilter_${dmsDealerId}_${crmUserId}`,\r\n data:JSON.stringify(\r\n {\r\n assignedUserIds:[],\r\n taskStatusId:UserTaskStatus.New,\r\n taskTypeId:null,\r\n isArchived:false,\r\n location: dealerId\r\n })\r\n }\r\n await DealerAPI.updatePersistentAppData(taskFilterRemove);\r\n localStorage.removeItem(`TaskFilter_${dmsDealerId}_${crmUserId}`);\r\n dispatch(setDealerLocationId(dealerId));\r\n dispatch(resetFilter());\r\n dispatch(fetchTasks());\r\n };\r\n\r\n const assignedUser: User[] | undefined = users?.filter(\r\n (x: User) => assignedUserIds && assignedUserIds.indexOf(x.crmUserId) > -1,\r\n );\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n
        \r\n \r\n \r\n \r\n {\r\n SetFilterLocally(assignedUserIds,taskStatusId,taskTypeId,taskIsArchived,parseInt(e.target.value));\r\n dispatch(setDealerLocationId(parseInt(e.target.value)));\r\n }}>\r\n {locationOptions &&\r\n locationOptions.map((loc) => (\r\n \r\n {loc.name === 'All Locations' ? 'Select Location' : loc.name}\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n handleUserChange(values)}\r\n getOptionLabel={(option: any) => option.username}\r\n loading={true}\r\n disableCloseOnSelect\r\n placeholder={assignedUser && assignedUser.length > 0 ? assignedUser[0].username : ''}\r\n getOptionSelected={(option: User, value: User): boolean => {\r\n return option.crmUserId === value.crmUserId;\r\n }}\r\n renderOption={(option, { selected }) => (\r\n <>\r\n \r\n {option.username}\r\n \r\n )}\r\n renderInput={(params) => (\r\n \r\n )}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n Task Type\r\n \r\n {\r\n SetFilterLocally(assignedUserIds,taskStatusId,opt.props.value,taskIsArchived,dealerLocationId);\r\n dispatch(setTaskTypeId(opt.props.value));\r\n }}>\r\n {taskTypes?.map((x: any) => (\r\n {x.value}\r\n ))}\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n Task Status\r\n \r\n {\r\n if (!e.target.value) {\r\n dispatch(setTaskStatusId(null));\r\n } else {\r\n SetFilterLocally(assignedUserIds,parseInt(opt.props.value),taskTypeId,taskIsArchived,dealerLocationId);\r\n dispatch(setTaskStatusId(parseInt(opt.props.value)));\r\n }\r\n }}>\r\n \r\n TODO\r\n \r\n \r\n OVERDUE\r\n \r\n \r\n COMPLETED\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n SetFilterLocally(assignedUserIds,taskStatusId,taskTypeId,opt,dealerLocationId);\r\n dispatch(setTaskIsArchived(opt));\r\n\r\n }}\r\n />{' '}\r\n Archived Tasks\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {\r\n handleResetFilter();\r\n }}>\r\n Reset Filter\r\n \r\n \r\n \r\n \r\n \r\n \r\n
        \r\n
        \r\n
        \r\n
        \r\n \r\n );\r\n}\r\n\r\nexport default TaskFilterDrawer;\r\n","import { Box, Container, FormControl, Grid, InputLabel, MenuItem, Select, TextField, makeStyles, Button, FormHelperText } from '@material-ui/core';\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\nimport React, { ReactElement, useCallback, useState } from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\nimport { hideTaskDrawer, markTasksAsDone } from '../taskboardSlice';\r\nimport { TaskListObject } from 'components/lead/models/task';\r\nimport TaskboardAPI from '../taskboard-api';\r\nimport { LoadingButton } from 'common/components/buttons';\r\nimport { useFormik } from 'formik';\r\nimport * as Yup from 'yup';\r\n\r\n\r\nfunction TaskListDoneDrawer(): ReactElement {\r\n const dispatch = useAppDispatch();\r\n const handleTaskFormSubmit = (task: TaskListObject | null): void => {\r\n if (formik.isValid) {\r\n if (selectedTasks) {\r\n dispatch(markTasksAsDone(selectedTasks, formik.values.taskOutcomeId, formik.values.notes));\r\n }\r\n }\r\n };\r\n\r\n const handleOnClose = (): void => {\r\n dispatch(hideTaskDrawer());\r\n };\r\n\r\n const selectedTasks = useAppSelector((state) => state.tasks.selectedTasks);\r\n const [outcomes, setOutcomes] = useState([]);\r\n\r\n const getOutcomeList = useCallback(async (): Promise => {\r\n let data = await TaskboardAPI.getTaskOutcomes();\r\n setOutcomes(data);\r\n }, [1]);\r\n\r\n React.useEffect(() => {\r\n getOutcomeList();\r\n }, [getOutcomeList]);\r\n\r\n let initialValues: any = {\r\n notes: '',\r\n taskOutcomeId: 0\r\n };\r\n\r\n const schema = Yup.object().shape({\r\n // notes: Yup.string().required('Required').max(1500, 'Max length 1500'),\r\n taskOutcomeId: Yup.number().nullable().required('Required').min(1, 'this field is required')\r\n });\r\n\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n validationSchema: schema,\r\n enableReinitialize: true,\r\n onSubmit: (values: any) => {\r\n if (!formik.isValid) {\r\n return;\r\n }\r\n const sanitizedValues = { ...values };\r\n handleTaskFormSubmit(null);\r\n }\r\n });\r\n\r\n\r\n\r\n\r\n\r\n return (\r\n <>\r\n \r\n \r\n
        \r\n \r\n \r\n \r\n \r\n Outcome\r\n {\r\n formik.handleChange(e);\r\n formik.setFieldValue('taskOutcomeId', opt.props.value);\r\n }}\r\n >\r\n {outcomes?.map((x: any) => (\r\n {x.value}\r\n ))}\r\n \r\n {!!formik.errors.taskOutcomeId && {formik.errors.taskOutcomeId}}\r\n \r\n \r\n \r\n { formik.handleChange(e) }}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}\r\n />\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n { formik.handleSubmit(); }}>\r\n Save\r\n \r\n \r\n \r\n \r\n
        \r\n
        \r\n \r\n );\r\n}\r\n\r\nexport default TaskListDoneDrawer;\r\n","import { Drawer } from '@material-ui/core';\r\nimport React, { ReactElement } from 'react';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\n\r\nimport { hideTaskDrawer } from '../taskboardSlice';\r\nimport AddTaskDrawer from './TaskAddDrawer';\r\nimport TaskEditDrawer from './TaskEditDrawer';\r\nimport TaskDoneDrawer from './TaskDoneDrawer';\r\nimport TaskRescheduleDrawer from './TaskRescheduleDrawer';\r\nimport TaskListRescheduleDrawer from './TaskListRescheduleDrawer';\r\nimport TaskFilterDrawer from './TaskFilterDrawer';\r\nimport TaskListDoneDrawer from './TaskListDoneDrawer';\r\n\r\nconst DRAWER_COMPONENTS: { [id: string]: React.FC } = {\r\n TASK_ADD: AddTaskDrawer,\r\n TASK_EDIT: TaskEditDrawer,\r\n TASK_RESCHEDULE: TaskRescheduleDrawer,\r\n TASKLIST_RESCHEDULE: TaskListRescheduleDrawer,\r\n TASK_DONE: TaskDoneDrawer,\r\n TASKLIST_DONE: TaskListDoneDrawer,\r\n TASK_FILTER: TaskFilterDrawer,\r\n};\r\n\r\nexport function TaskRootDrawer(): ReactElement {\r\n const dispatch = useAppDispatch();\r\n const { drawerType, drawerProps } = useAppSelector((state) => ({\r\n drawerType: state.tasks.drawerType,\r\n drawerProps: state.tasks.drawerProps,\r\n }));\r\n let open = true;\r\n const handleClose = () => dispatch(hideTaskDrawer());\r\n\r\n if (!drawerType) open = false;\r\n const SpecificDrawer: React.FC = DRAWER_COMPONENTS[drawerType || 'null'];\r\n return (\r\n \r\n {open && }\r\n \r\n );\r\n}\r\nexport default TaskRootDrawer;\r\n","import { Container, Drawer, makeStyles, Theme } from '@material-ui/core';\r\nimport React, { ReactElement, useRef, useState } from 'react';\r\nimport { shallowEqual } from 'react-redux';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\n\r\nimport DrawerToolbar from 'common/components/drawer/drawer-toolbar';\r\n\r\nimport { hideCustomerDrawer, UpdateSelectedCustomer } from '../Customers/customersSlice';\r\nimport CustomerEditDrawer from './CustomerEditDrawer';\r\nimport { hideTaskDrawer } from 'components/lead/components/task-board/taskboardSlice';\r\nimport Swal from 'sweetalert2';\r\nimport { CustomerAddDrawerProps } from './CustomerAddDrawer';\r\nimport TaskRootDrawer from 'components/lead/components/task-board/TaskDrawer/TaskRootDrawer';\r\n\r\nconst drawerWidth = 700;\r\n\r\nconst useStyles = makeStyles((theme: Theme): any => ({\r\n drawer: {\r\n //marginTop: theme.navBar.height,\r\n width: `${drawerWidth}px`,\r\n zIndex: 1070,\r\n //height: `calc(100% - ${theme.navBar.height})`,\r\n },\r\n}));\r\n\r\nexport function CustomerRootPageDrawer(): ReactElement {\r\n const dispatch = useAppDispatch();\r\n // const [icon, setIcon] = useState(false);\r\n const classes: any = useStyles();\r\n const open = useAppSelector((state) => !!state.customers.selectedCustomer, shallowEqual);\r\n const childRef = useRef(null);\r\n const handleClose = (): void => {\r\n if (childRef && childRef.current) {\r\n childRef.current.CompareChanges((r: boolean) => {\r\n if (!r) {\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n dispatch(hideCustomerDrawer());\r\n } else {\r\n Swal.fire({\r\n // icon: 'warning',\r\n // icon\r\n // title: 'Unsaved Changes in Customer',\r\n showClass: {\r\n popup: 'animate__animated animate__fadeIn animate__faster'\r\n },\r\n hideClass: {\r\n popup: 'animate__animated animate__fadeOut animate__faster'\r\n },\r\n showCancelButton: true,\r\n width:560,\r\n showDenyButton: true,\r\n confirmButtonColor: '#3F51B5',\r\n cancelButtonColor: '#FF1744',\r\n denyButtonColor : \"grey\",\r\n showCloseButton: true,\r\n reverseButtons: true,\r\n cancelButtonText: \"Cancel\",\r\n confirmButtonText: 'Save changes',\r\n denyButtonText: `Close but don't save`,\r\n html: '

        There are unsaved changes, do you want to save your changes?

        ',\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n if (childRef && childRef.current) {\r\n childRef.current.SubmitForm();\r\n }\r\n } else if (result.isDenied) {\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n dispatch(hideCustomerDrawer());\r\n }\r\n });\r\n\r\n }\r\n });\r\n }\r\n else {\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n dispatch(hideCustomerDrawer());\r\n }\r\n };\r\n\r\n return (\r\n handleClose()}\r\n onClose={async () => {\r\n // setIcon(true),\r\n handleClose();\r\n }}\r\n SlideProps={{ timeout: { enter: 400, exit: 500 } }}>\r\n {\r\n // if (window.onauxclick) {\r\n // // setIcon(true);\r\n // handleClose();\r\n // } else {\r\n // // setIcon(false);\r\n dispatch(UpdateSelectedCustomer(undefined));\r\n dispatch(hideCustomerDrawer());\r\n // }\r\n }}\r\n />\r\n {open && }\r\n \r\n \r\n );\r\n}\r\n\r\nexport default CustomerRootPageDrawer;\r\n","import React from 'react';\r\n\r\nexport const MessengerContext = React.createContext<{\r\n unreadConversationsCount: number;\r\n fetchUnreadConversationsCount(): void;\r\n}>({ unreadConversationsCount: 0, fetchUnreadConversationsCount: () => undefined });\r\nMessengerContext.displayName = 'MessengerContext';\r\n\r\nexport default MessengerContext;\r\n","import { get, put, post, patch } from 'api';\r\nimport axios, { Canceler } from 'axios';\r\nimport config from 'config';\r\nimport { Conversation } from '../models/conversation';\r\nimport { Message } from '../models/message';\r\nimport { ArchiveRequest } from '../models/request/archiveRequest';\r\nimport { RouteConstants } from 'common/utils/shared/routes-constants';\r\nimport { BaseResponse } from 'common/utils/shared/shared-models';\r\n\r\nconst messagingUrl = config.get('api.messaging');\r\nconst messagingUrlExternal = config.get('api.messagingExternal');\r\nconst messaging2Url = config.get('api.messaging2');\r\n\r\n\r\nlet messagingApiCancel: Canceler | undefined;\r\n\r\ninterface GetConversationResponse {\r\n isMessageRemaining: boolean;\r\n pageNumber: number;\r\n pageSize: number;\r\n pageCount: number;\r\n continuationToken: string | null;\r\n messages: Message[];\r\n}\r\n\r\ninterface SendMessageRequest {\r\n conversationId: number;\r\n messageBody: string;\r\n messageType: string;\r\n media?: string[];\r\n messageBodyRef?: string;\r\n refid?: string;\r\n version?: string; \r\n}\r\n\r\ninterface VideoCallResponse\r\n{\r\n token : string;\r\n name : string;\r\n type : string;\r\n crmUserId : string;\r\n crmCustomerId : number;\r\n\r\n}\r\n\r\ninterface GetConversationsResponse {\r\n pageNumber: number;\r\n pageSize: number;\r\n isRemaining: boolean;\r\n conversations: Conversation[];\r\n}\r\n\r\ninterface ConversationMessageRequest {\r\n continuationToken: string | null;\r\n pageSize: number;\r\n pageNumber: number;\r\n}\r\n\r\ninterface SearchConversationMessageRequest {\r\n messageSid: string;\r\n pageSize: number;\r\n pageNumber: number;\r\n conversationId: string;\r\n}\r\nexport interface GravityPaymentMessageBody{\r\n memo:string;\r\n Id:string;\r\n amount:string;\r\n urlShortner:string;\r\n paymentPageId:string;\r\n paymentStatus:string;\r\n linkExpiryDate?: Date;\r\n invoiceId:string;\r\n dealerId?:number;\r\n}\r\nexport interface GravityPaymentDetails{\r\n id: string;\r\n conversationId:number;\r\n status:string;\r\n dateCreated:string;\r\n messageSid:string;\r\n messageBody:GravityPaymentMessageBody;\r\n}\r\n\r\nexport interface GravityPaymentCancelOrVoid{\r\n paymentPageId: string,\r\n conversationMessageId?:string,\r\n conversationId?:number,\r\n transactionReferenceId:string,\r\n messageSid?:string,\r\n uniqueTransId?:string,\r\n dealerId?: number,\r\n paymentType?:'canceled'|'voided'\r\n}\r\n\r\nexport interface GetApplicationProperty{\r\n propertyValue:string;\r\n}\r\n\r\nconst MessagingAPI = {\r\n assignConversation: async (\r\n conversationIds: number[],\r\n departmentId: number,\r\n userId: string | null\r\n ): Promise => {\r\n const url = `${messagingUrl}/messaging/assign`;\r\n const { data } = await patch(url, { conversationIds, departmentId, crmUserId: userId });\r\n return data;\r\n },\r\n unAssignConversation: async (\r\n conversationIds: number[],\r\n departmentId: number,\r\n userId: string | null\r\n ): Promise => {\r\n const url = `${messagingUrl}/messaging/unAssign`;\r\n const { data } = await patch(url, { conversationIds, departmentId, crmUserId: userId });\r\n return data;\r\n },\r\n getConversations: async (searchText: string, pageNumber: number, pageSize: number, conversationTypes: string, conversationFilters: string[], sortingOrder:string): Promise => {\r\n const url = `${messagingUrl}/v2/messaging/searchV2?IsCallFromMobile=false`;\r\n let reqObj = { SearchString: searchText, pageNumber: pageNumber, pageSize: pageSize, ConvType: conversationTypes, Filters: conversationFilters, SortingOrder: sortingOrder };\r\n const { data } = await post(url, reqObj);\r\n return data;\r\n },\r\n getConversationsForMerge: async (searchText: string, pageNumber: number, pageSize: number,\r\n conversationTypes: string,sortingOrder:string,phoneNumberId: number,departmentIds:string): Promise => {\r\n const url = `${messagingUrl}/GetConversationsForMerge?IsCallFromMobile=false`;\r\n let reqObj = { \r\n SearchString: searchText,\r\n pageNumber: pageNumber,\r\n pageSize: pageSize,\r\n ConvType:conversationTypes,\r\n SortingOrder: sortingOrder,\r\n PhoneNumberId:phoneNumberId,\r\n DepartmentIds:departmentIds };\r\n const { data } = await post(url, reqObj);\r\n return data;\r\n },\r\n mergeConversations: async (\r\n newConversationId:number,\r\n fromNumber:string,\r\n toNumber:string,\r\n conversationIdsToMerge: number[]\r\n ): Promise> => {\r\n const url = `${messagingUrl}/MergeConversation?IsCallFromMobile=false`;\r\n let reqObj = { \r\n NewConversationId:newConversationId,\r\n FromNumber:fromNumber,\r\n ToNumber:toNumber,\r\n ConversationIdsToMerge: conversationIdsToMerge\r\n };\r\n const { data } = await post>(url, reqObj);\r\n return data;\r\n },\r\n getArchiveConversation: async (conversationId: number): Promise> => {\r\n const url = `${messagingUrl}/GetArchiveConversation/${conversationId}?IsCallFromMobile=false`;\r\n const { data } = await get(url);\r\n return data;\r\n},\r\n getConversation: async (conversationId: number): Promise => {\r\n const url = `${messagingUrl}/GetConversation/${conversationId}?IsCallFromMobile=false`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n getConversationsByPhoneNumberId: async (phoneNumberId: number): Promise => {\r\n const url = `${messagingUrl}/conversationByPhoneNumberId/${phoneNumberId}?IsCallFromMobile=false`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n createConversation: async (\r\n phoneNumber: string,\r\n departmentId: number,\r\n customerName: string,\r\n phoneNumberId: number\r\n ): Promise => {\r\n const url = `${messagingUrl}/createConversationV2`;\r\n const { data } = await post(url, {\r\n phoneNumber,\r\n departmentId,\r\n customerName,\r\n phoneNumberId,\r\n });\r\n return data;\r\n }, \r\n sendMessage: async (\r\n conversationId: number,\r\n messageBody: string,\r\n messageType: string,\r\n media?: string[],\r\n messageBodyRef?: string,\r\n refid?: string\r\n ): Promise<{ message: Message; conversation: Conversation }> => {\r\n const url = `${messagingUrl}/SendMessage?IsCallFromMobile=false`;\r\n const requestBody: SendMessageRequest = {\r\n conversationId,\r\n messageBody,\r\n messageType,\r\n media,\r\n messageBodyRef,\r\n refid,\r\n version: 'v2',\r\n };\r\n const data = post(url, requestBody).then(x => {\r\n console.log(\"err\", x);\r\n if (x && x.data && x.data.toString().toLowerCase().indexOf(\"customer cell phone not found\") > -1) {\r\n console.log(\"throwing error\", x);\r\n throw new Error(x.data.toString());\r\n }\r\n return x;\r\n })\r\n .catch(error => {\r\n console.log(\"throwing error\", error);\r\n if (error.message == 'Attempt to send to unsubscribed recipient') \r\n error.message = \"Unable to send to unsubscribed customer.\"\r\n\r\n throw new Error(error ? error.message : \"Unable to send message\");\r\n });\r\n return (await data).data\r\n },\r\n markConversationRead: async (conversationId: number): Promise => {\r\n const url = `${messagingUrl}/MarkConversationReadV2?IsCallFromMobile=false`;\r\n const requestBody = {\r\n conversationId,\r\n };\r\n const { data } = await put(url, requestBody);\r\n return data;\r\n },\r\n markConversationUnRead: async (conversationIds: number[]): Promise => {\r\n const url = `${messagingUrl}/MarkConversationUnRead`;\r\n const requestBody = {\r\n conversationIds,\r\n };\r\n const { data } = await put(url, requestBody);\r\n return data;\r\n },\r\n markConversationArchive: async (archiveRequest:ArchiveRequest): Promise> => {\r\n const url = `${messagingUrl}/MarkConversationArchive`;\r\n const requestBody = {\r\n ...archiveRequest\r\n };\r\n const { data } = await put>(url, requestBody);\r\n return data;\r\n },\r\n getUnreadConversationCount: async (dmsTypeId: number): Promise<{ count: number }> => {\r\n let apiRoute = 'unreadConversationsCountInfinity';\r\n if (dmsTypeId === 0) apiRoute = 'unreadConversationsCountIdeal';\r\n else if (dmsTypeId === 9) apiRoute = 'unreadConversationsCountAspen';\r\n\r\n const url = `${messaging2Url}/${apiRoute}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n getSearchConversationMessages: async (\r\n conversationId: string,\r\n messageSid: string | undefined,\r\n pageNumber: number,\r\n pageSize: number\r\n ): Promise => {\r\n const url = `${messagingUrl}/GetSearchConversationMessage?IsCallFromMobile=false`;\r\n let msid: string = (messageSid === undefined ? '' : messageSid);\r\n const requestBody: SearchConversationMessageRequest = {\r\n messageSid: msid,\r\n conversationId: conversationId,\r\n pageNumber: pageNumber,\r\n pageSize: pageSize\r\n };\r\n const { data } = await post(url, requestBody);\r\n return data;\r\n },\r\n cancelRequest: (): void => {\r\n if (messagingApiCancel) {\r\n messagingApiCancel();\r\n }\r\n },\r\n getVideoCallToken: async (s: string): Promise => {\r\n let body = { s: s };\r\n const url = `${messagingUrlExternal}/VideoCall`;\r\n const { data } = await post(url, body);\r\n return data;\r\n },\r\n getVideoCallUrl: async (conversationId: number, crmUserId: string, type = \"dealer\"): Promise => {\r\n const url = `${messagingUrl}/GetVideoCallUrl?IsCallFromMobile=false`;\r\n let body = { conversationId: conversationId, type: type, crmUserId: crmUserId };\r\n const { data } = await post(url, body);\r\n return data;\r\n },\r\n cancelGravityPayment: async (request:GravityPaymentCancelOrVoid): Promise => {\r\n const url = `${messagingUrl}/TextToPayCancelPayment`;\r\n const { data } = await post(url,request);\r\n return data;\r\n },\r\n voidGravityPayment: async (request:GravityPaymentCancelOrVoid): Promise => {\r\n const url = `${messagingUrl}/GravityPaymentVoidPayment`;\r\n const { data } = await post(url,request);\r\n return data;\r\n },\r\n getApplicationProperty: async (propertyName:string): Promise => {\r\n const url = `${messagingUrl}/GetApplicationProperty/${propertyName}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n getDepartmentIds: async (crmUserId:string): Promise> => {\r\n const { data } = await get>(RouteConstants.Messaging.GetConversationDepartmentIds.replace(\"{crmUserId}\",crmUserId));\r\n return data;\r\n }\r\n \r\n};\r\n\r\nexport default MessagingAPI;\r\n","export enum NewConversationType {\r\n NewCustomerConversation,\r\n CustomerConversation,\r\n}\r\nexport default NewConversationType;\r\n","import { get, post, put, destroy } from 'api';\r\nimport config from 'config';\r\n\r\nimport Department from '../models/department';\r\nimport DepartmentRequest from '../models/department-request';\r\nimport { UserDepartmentSettings } from '../models/user-department-settings';\r\n\r\nconst dealerUrl = config.get('api.dealer');\r\n\r\nconst DepartmentAPI = {\r\n async getDepartments(selectedDealerLocationId: number, dmsDealerIdCrm: number): Promise {\r\n const url = `${dealerUrl}/dealers/${dmsDealerIdCrm}/departments?dealerId=${selectedDealerLocationId}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n async getDepartment(dmsDealerIdCrm: number, id: number): Promise {\r\n const url = `${dealerUrl}/dealers/${dmsDealerIdCrm}/departments/${id}`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n async createDepartment(\r\n dmsDealerIdCrm: number,\r\n departmentName: string,\r\n dealerLocationId: number,\r\n crmUserIds: number[],\r\n ): Promise {\r\n const url = `${dealerUrl}/dealers/${dmsDealerIdCrm}/departments`;\r\n const requestBody: DepartmentRequest = {\r\n departmentName,\r\n dealerId: dealerLocationId,\r\n crmUserIds,\r\n };\r\n const { data } = await post(url, requestBody);\r\n return data;\r\n },\r\n async updateDepartment(\r\n dmsDealerIdCrm: number,\r\n departmentId: number,\r\n departmentName: string,\r\n crmUserIds: number[],\r\n dealerLocationId: number,\r\n ): Promise {\r\n const url = `${dealerUrl}/dealers/${dmsDealerIdCrm}/departments/${departmentId}`;\r\n const updateDepartmentRequest = {\r\n crmUserIds,\r\n departmentId,\r\n departmentName,\r\n dealerId: dealerLocationId,\r\n };\r\n const { data } = await put(url, updateDepartmentRequest);\r\n return data;\r\n },\r\n async deleteDepartment(dmsDealerIdCrm: number, id: number): Promise {\r\n const url = `${dealerUrl}/dealers/${dmsDealerIdCrm}/departments/${id}`;\r\n const { data } = await destroy(url);\r\n return data;\r\n },\r\n async getUserDepartmentSetting(dmsDealerIdCrm: number, crmUserId: string): Promise {\r\n const url = `${dealerUrl}/v2/dealers/${dmsDealerIdCrm}/users/${crmUserId}/departments`;\r\n const { data } = await get(url);\r\n return data;\r\n },\r\n async updateUserDepartmentSettings(\r\n dmsDealerIdCrm: number,\r\n crmUserId: string,\r\n departmentIds: number[],\r\n ): Promise {\r\n const url = `${dealerUrl}/v2/dealers/${dmsDealerIdCrm}/users/${crmUserId}/departments`;\r\n const { data } = await post(url, { crmUserId, UserSelectedDepartments: departmentIds });\r\n return data;\r\n },\r\n async updateDealerFacebookTokens(facebookSettingsRequest:any): Promise {\r\n const url = `${dealerUrl}/dealers/UpdateDealerFacebookTokens`; \r\n const { data } = await post(url, facebookSettingsRequest );\r\n return data;\r\n },\r\n};\r\n\r\nexport default DepartmentAPI;\r\n","export default __webpack_public_path__ + \"static/media/create.70f11400.svg\";","import { makeStyles } from '@material-ui/core';\r\nimport CreateSvg from 'assets/images/create.svg';\r\nimport React, { ReactElement } from 'react';\r\n\r\nconst useStyles = makeStyles(() => ({\r\n logo: {\r\n width: '20px',\r\n height: '20px',\r\n objectFit: 'cover',\r\n },\r\n}));\r\n\r\nfunction Create(): ReactElement {\r\n const classes: any = useStyles();\r\n return \"Create;\r\n}\r\n\r\nexport default Create;\r\n","import React from 'react';\r\nimport Avatar, { ReactAvatarProps } from 'react-avatar';\r\n\r\nfunction InitialsAvatar(props: ReactAvatarProps): React.ReactElement {\r\n const { name } = props;\r\n let initialValue = name;\r\n if (name) {\r\n if (/^(?=.*[a-zA-Z])[a-zA-Z\\d\\s_\\W]+$/g.test(name)) {\r\n if (name.includes('(') || name.includes(')') || name.includes('&') || name.includes('-') || name.includes('\"') ){\r\n initialValue = name.replaceAll('(','').replaceAll(')','').replaceAll('&','').replaceAll('-','').replaceAll('\"','');\r\n }\r\n\r\n } else if(/^[\\d+()><#!*_.:;'\"?`~*,\\[\\]{}|\\\\& -]*\\d[\\d+()><#!*_.:;'\"?`~*,\\[\\]{}|\\\\& -]*$/.test(name)) {\r\n initialValue = '#';\r\n }\r\n }\r\n return ;\r\n}\r\n\r\nexport default InitialsAvatar;\r\n","export default function formatAvatarString(name: string): string {\r\n let avatarString = name.replaceAll(',', '').replaceAll('.', '').trim();\r\n if (avatarString.includes(':')) {\r\n avatarString = avatarString.split(':')[1] != '' ? avatarString.split(':')[1] : avatarString.split(':')[0];\r\n }\r\n return avatarString;\r\n}\r\n","import { Box, Checkbox, Chip, Grid, makeStyles, Theme, Tooltip, Typography } from '@material-ui/core';\r\nimport DomainIcon from '@material-ui/icons/Domain';\r\nimport LocationOnIcon from '@material-ui/icons/LocationOn';\r\nimport PhoneIcon from '@material-ui/icons/Phone';\r\nimport BusinessIcon from '@mui/icons-material/Business';\r\nimport ArchiveIcon from '@mui/icons-material/Archive';\r\nimport FacebookIcon from '@mui/icons-material/Facebook';\r\nimport InitialsAvatar from 'components/messaging/components/initials-avatar';\r\nimport moment from 'moment';\r\nimport { ReactElement } from 'react';\r\nimport PersonIcon from '@mui/icons-material/Person';\r\nimport _ from 'lodash';\r\nimport SendIcon from '@mui/icons-material/Send';\r\nimport formatAvatarString from 'common/utils/format-string';\r\nimport { useAppSelector } from 'app';\r\nimport { getConversationFormattedDateNew } from 'common/utils/format-date';\r\nimport GroupIcon from '@material-ui/icons/Group';\r\n\r\nexport const useConversationLabelStyle = makeStyles((theme: Theme): any => ({\r\n notificationCounter: {\r\n width: '25px',\r\n lineHeight: '25px',\r\n borderRadius: '50%',\r\n textAlign: 'center',\r\n fontSize: '10px',\r\n border: '2px solid red',\r\n height: '25px',\r\n },\r\n name: {\r\n textOverflow: 'ellipsis',\r\n display: '-webkit-box',\r\n '-webkit-line-clamp': 2,\r\n overflow: 'hidden',\r\n '-webkit-box-orient': 'vertical',\r\n marginLeft: '-4px',\r\n },\r\n latestMessageText: {\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n },\r\n conversationLabel: (props: { backgroundColor: string }): any => ({\r\n display: 'flex',\r\n flexDirection: 'column',\r\n padding: theme.spacing(2, 2),\r\n cursor: 'pointer',\r\n backgroundColor: props.backgroundColor,\r\n transition: 'transform 0.15s ease-in-out',\r\n '&:hover': {\r\n transform: 'scale3d(1.02, 1.02, 1)',\r\n backgroundColor: '#f5f5f5',\r\n },\r\n }),\r\n departmentChip: {\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n flexBasis: '50%',\r\n marginRight: '5px',\r\n fontSize: '0.7rem',\r\n },\r\n locationChip: {\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n flexBasis: '50%',\r\n marginRight: '5px',\r\n fontSize: '0.7rem',\r\n },\r\n phoneChip: {\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n marginRight: '5px',\r\n flexBasis: '50%',\r\n fontSize: '0.7rem',\r\n },\r\n assignedDepartmentChip: {\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n marginRight: '5px',\r\n flexBasis: '50%',\r\n fontSize: '0.7rem',\r\n },\r\n assigneduserChip: {\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n marginRight: '5px',\r\n flexBasis: '50%',\r\n fontSize: '0.7rem',\r\n },\r\n unAssignedChip: {\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n marginRight: '5px',\r\n flexBasis: '50%',\r\n fontSize: '0.7rem',\r\n },\r\n markColor: {\r\n backgroundColor: '#3f51b5c4',\r\n color: 'white',\r\n },\r\n markedChipColor: {\r\n backgroundColor: '#0027ff',\r\n color: 'white',\r\n },\r\n convLabelText: {\r\n fontSize: '13px',\r\n }\r\n}));\r\n\r\ninterface ConversationLabelProps {\r\n name: string;\r\n unreadCount: number;\r\n latestMessage: string;\r\n latestDateTime: string | null;\r\n selected: boolean;\r\n departmentName: string;\r\n customerCellPhone: string;\r\n locationName: string;\r\n searchText: string;\r\n onClick(event: any): void;\r\n checked: boolean;\r\n onChangeCheckBox(conversationId: number, status: boolean): void;\r\n conversationId: number;\r\n assignedDepartmentName: string;\r\n assignedUsername: string;\r\n organizationName: string;\r\n isOrganization: boolean;\r\n isAspenPrimaryContact: boolean;\r\n isArchive: boolean;\r\n IsFacebookConversation: boolean;\r\n FacebookCustomerId:string;\r\n FacebookPageId:string;\r\n archiveTitle: string;\r\n IsMergeList?: boolean;\r\n}\r\nexport function ConversationLabel({\r\n name,\r\n unreadCount,\r\n latestMessage,\r\n latestDateTime,\r\n departmentName,\r\n locationName,\r\n customerCellPhone,\r\n searchText,\r\n onClick,\r\n selected,\r\n checked,\r\n onChangeCheckBox,\r\n conversationId,\r\n assignedDepartmentName,\r\n assignedUsername,\r\n organizationName,\r\n isOrganization,\r\n isAspenPrimaryContact,\r\n IsFacebookConversation,\r\n isArchive,\r\n archiveTitle,\r\n IsMergeList =false\r\n}: ConversationLabelProps): ReactElement {\r\n const classes: any = useConversationLabelStyle({ backgroundColor: selected ? '#f5f5f5' : 'white' });\r\n const dmsTypeId = useAppSelector((state) => state.user.dmsTypeId);\r\n const UnreadCountChip = unreadCount > 0 && (\r\n \r\n \r\n \r\n );\r\n const groupName = name?.includes(':') ? name.split(':')[0] : '';\r\n const personName = name?.includes(':') ? name?.split(':')[1] : name;\r\n\r\n let timeStamp = getConversationFormattedDateNew(latestDateTime||'');\r\n \r\n const Highlighted = ({ text = '', highlight = '' }) => {\r\n if (!highlight.trim()) {\r\n return {text};\r\n }\r\n const regex = new RegExp(`(${_.escapeRegExp(highlight)})`, 'gi');\r\n const parts = text ? text.split(regex) : [];\r\n return (\r\n \r\n {parts\r\n .filter((part) => part)\r\n .map((part, i) =>\r\n regex.test(part) ? (\r\n \r\n {part}\r\n \r\n ) : (\r\n {part}\r\n ),\r\n )}\r\n \r\n );\r\n };\r\n\r\n const HighlightedChip = ({ text = '', highlight = '' }) => {\r\n if (!highlight.trim()) {\r\n return (\r\n <>\r\n // }\r\n // size=\"small\"\r\n // className={classes.phoneChip}\r\n // label={customerCellPhone}\r\n // />\r\n );\r\n }\r\n const regex = new RegExp(`(${_.escapeRegExp(highlight)})`, 'gi');\r\n const parts = text.split(regex);\r\n return (\r\n }\r\n size=\"small\"\r\n className={classes.phoneChip}\r\n label={parts\r\n .filter((part) => part)\r\n .map((part, i) =>\r\n regex.test(part) ? (\r\n \r\n {part}\r\n \r\n ) : (\r\n {part}\r\n ),\r\n )}\r\n />\r\n );\r\n };\r\n const handleCheckboxChange = (conversationId: number, status: boolean) => {\r\n onChangeCheckBox(conversationId, status);\r\n };\r\n let filteredName = name ? name.replace(',', ' ').replace(\"'\", ' ') : '';\r\n\r\n function isJSON(str: string) {\r\n try {\r\n if (str?.length > 0 && str?.charAt(0) == '{') {\r\n JSON.parse(str);\r\n return true;\r\n }\r\n return false;\r\n } catch (e) {\r\n return false;\r\n }\r\n }\r\n \r\n const decideLatestMsg = (latestMessage: string) => {\r\n if (isJSON(latestMessage)) {\r\n const parsedJsonObject = JSON.parse(latestMessage);\r\n return parsedJsonObject.memo? 'Payment: $' + parseInt(parsedJsonObject.amount,10).toFixed(2).toString() : latestMessage; \r\n } else {\r\n return latestMessage; \r\n }\r\n };\r\n\r\nconst isCheckBoxDisabled = IsMergeList?false:isArchive;\r\n return (\r\n \r\n {IsFacebookConversation?():null} \r\n {isArchive?(\r\n \r\n {archiveTitle?(\r\n \r\n ) : (\r\n \r\n {archiveTitle}\r\n \r\n )} \r\n />):(\r\n \r\n {archiveTitle}\r\n \r\n )\r\n }\r\n \r\n \r\n } label=\"Archived\" />\r\n \r\n \r\n \r\n ):null} \r\n \r\n \r\n \r\n \r\n {\r\n handleCheckboxChange(conversationId, e.target.checked); \r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {isOrganization &&\r\n ((dmsTypeId === 0 && !name?.includes(':')) || (dmsTypeId === 9 && isAspenPrimaryContact)) ? (\r\n <>\r\n ) : (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n {searchText && 15 ? personName?.slice(0, 15).concat('...') : personName?.trim() || 'N/A'} highlight={searchText} />}\r\n {!searchText && (personName?.length > 15 ? personName?.slice(0, 15).concat('...') : personName?.trim() || 'N/A')}\r\n \r\n \r\n \r\n )}\r\n {/* Below show Organization Name */}\r\n {(dmsTypeId === 0 || dmsTypeId === 9) && isOrganization && organizationName && (\r\n <>\r\n {(dmsTypeId === 0 && !name?.includes(':')) || (dmsTypeId === 9 && isAspenPrimaryContact) ? (\r\n <> \r\n ) : (\r\n   |  \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n  \r\n {searchText && 15 ? organizationName.slice(0, 15).concat('...') : organizationName} highlight={searchText} />}\r\n {!searchText && (organizationName.length > 15 ? organizationName.slice(0, 15).concat('...') : organizationName)}\r\n \r\n \r\n \r\n )}\r\n {/* Below show Group Name */}\r\n {(dmsTypeId === 1 || ((dmsTypeId === 0 || dmsTypeId === 9) && !isOrganization)) && !isAspenPrimaryContact && groupName && (\r\n <>\r\n   |  \r\n \r\n \r\n \r\n \r\n \r\n  \r\n {searchText && 15 ? groupName.slice(0, 15).concat('...') : groupName} highlight={searchText} />}\r\n {!searchText && (groupName.length > 15 ? groupName.slice(0, 15).concat('...') : groupName)}\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n {timeStamp}\r\n \r\n \r\n \r\n \r\n {searchText && }\r\n {!searchText && {decideLatestMsg(latestMessage)}}\r\n \r\n {UnreadCountChip}\r\n \r\n \r\n \r\n \r\n {assignedDepartmentName && (\r\n \r\n }\r\n size=\"small\"\r\n className={classes.assignedDepartmentChip}\r\n label={assignedDepartmentName}\r\n />\r\n \r\n )}\r\n {!assignedDepartmentName && (\r\n \r\n }\r\n size=\"small\"\r\n className={classes.departmentChip}\r\n label={departmentName}\r\n />\r\n \r\n )}\r\n\r\n \r\n }\r\n size=\"small\"\r\n className={classes.locationChip}\r\n label={locationName}\r\n />\r\n \r\n \r\n \r\n \r\n {!assignedUsername && (\r\n \r\n }\r\n size=\"small\"\r\n className={classes.unAssignedChip}\r\n label=\"Unassigned\"\r\n />\r\n \r\n )}\r\n {assignedUsername && (\r\n \r\n }\r\n size=\"small\"\r\n className={classes.assigneduserChip}\r\n label={assignedUsername}\r\n />\r\n \r\n )}\r\n \r\n \r\n );\r\n}\r\n\r\nexport default ConversationLabel;\r\n","import {\r\n Box,\r\n Button,\r\n Checkbox,\r\n Divider,\r\n FormControl,\r\n FormControlLabel,\r\n Grid,\r\n IconButton,\r\n Input,\r\n InputLabel,\r\n List,\r\n ListItemText,\r\n makeStyles,\r\n MenuItem,\r\n OutlinedInput,\r\n Paper,\r\n Radio,\r\n RadioGroup,\r\n Select,\r\n TextField,\r\n Theme,\r\n Tooltip,\r\n Typography,\r\n Zoom,\r\n} from '@material-ui/core';\r\nimport ArrowDropDownIcon from '@material-ui/icons/ArrowDropDown';\r\nimport ArrowDropUpIcon from '@material-ui/icons/ArrowDropUp';\r\nimport { SmallCircularProgress } from 'common/components/loaders';\r\nimport CreateIcon from 'common/components/icons/create';\r\nimport { debounce, indexOf } from 'lodash';\r\nimport moment from 'moment';\r\nimport React, { MutableRefObject, ReactElement, useEffect, useMemo, useRef, useState } from 'react';\r\nimport ScrollBar from 'react-perfect-scrollbar';\r\nimport { Conversation } from '../models/conversation';\r\nimport { ConversationLabel } from './ConversationLabel';\r\nimport SearchIcon from '@material-ui/icons/Search';\r\nimport ClearIcon from '@material-ui/icons/Clear';\r\nimport { SelectChangeEvent } from '@mui/material';\r\nimport { ConversationType } from 'common/utils/shared/shared-constants';\r\n\r\nconst useConversationListPanelStyles = makeStyles((theme: Theme): any => ({\r\n panel: {\r\n display: 'flex',\r\n flexDirection: 'column',\r\n overflow: 'hidden',\r\n flex: 1,\r\n height: '-webkit-fill-available',\r\n },\r\n loader: {\r\n position: 'absolute',\r\n top: '14%',\r\n left: '43%',\r\n background: theme.palette.background.paper,\r\n boxShadow: theme.shadows[1],\r\n zIndex: 1,\r\n borderRadius: '50%',\r\n padding: '2px 4px',\r\n },\r\n toolbar: {\r\n padding: theme.spacing(0, 1),\r\n display: 'flex',\r\n flexDirection: 'column',\r\n },\r\n toolbarSearch: {\r\n flexBasis: '100%',\r\n display: 'flex',\r\n flexDirection: 'row',\r\n },\r\n startConversationButton: {},\r\n conversationSearchField: {},\r\n toolbarSort: {\r\n flexBasis: '100%',\r\n },\r\n content: {\r\n overflowY: 'auto',\r\n },\r\n\r\n root: {\r\n height: 180,\r\n },\r\n container: {\r\n display: 'flex',\r\n },\r\n paper: {\r\n margin: theme.spacing(1),\r\n },\r\n svg: {\r\n width: 100,\r\n height: 100,\r\n },\r\n polygon: {\r\n fill: theme.palette.common.white,\r\n stroke: theme.palette.divider,\r\n strokeWidth: 1,\r\n },\r\n}));\r\n\r\nexport default function ConversationListPanel({\r\n loading,\r\n conversations,\r\n messageSid,\r\n selectedConversation,\r\n onSearch,\r\n isSearchChecked,\r\n onStartConversation,\r\n onConversationSelect,\r\n fetchNextPage,\r\n fetchSortedConversation,\r\n handleConversationCheckbox,\r\n handleConvTypeChange,\r\n handleConvFiltersChange,\r\n selectedConversationIds,\r\n defaultSearch = '',\r\n IsMergeList = false,\r\n}: {\r\n loading: boolean;\r\n selectedConversation?: Conversation;\r\n messageSid: string;\r\n conversations: Conversation[];\r\n onConversationSelect(conversation: Conversation): void;\r\n onSearch(value: string): void;\r\n isSearchChecked(value: boolean): void;\r\n onStartConversation(): void;\r\n fetchNextPage(): void;\r\n fetchSortedConversation(sortOrder: string): void;\r\n handleConversationCheckbox(conversationId: number, status: boolean): void;\r\n handleConvTypeChange(type: string): void;\r\n handleConvFiltersChange(filters: string[]): void;\r\n selectedConversationIds: number[];\r\n defaultSearch?: string;\r\n IsMergeList?:boolean;\r\n}): ReactElement {\r\n const classes: any = useConversationListPanelStyles();\r\n const [sortOrder, setSortOrder] = useState<'asc' | 'desc'>('asc');\r\n const searchRef = useRef() as MutableRefObject;\r\n\r\n const handleStartConversation = (): void => {\r\n onStartConversation();\r\n };\r\n\r\n function toggleSort(): void {\r\n if (sortOrder === 'asc') setSortOrder('desc');\r\n else if (sortOrder === 'desc') setSortOrder('asc');\r\n fetchSortedConversation(sortOrder);\r\n }\r\n\r\n const [searchText, setSearchText] = React.useState('');\r\n\r\n const debouncedSearch = useRef(debounce((value: string) => onSearch(value), 1000)).current;\r\n\r\n const addSearchText = (value: any): void => {\r\n setSearchText(value);\r\n debouncedSearch(value);\r\n // onSearch(value);\r\n };\r\n\r\n function showSearchBar(value: any): void {\r\n throw new Error('Function not implemented.');\r\n }\r\n const noConversationMessage = (\r\n \r\n No Conversations\r\n \r\n );\r\n\r\n const filteredConversations = useMemo(() => {\r\n if (conversations.length) {\r\n const filterConversations = conversations.sort((conversationA, conversationB) => {\r\n const data1 = new Date(conversationA.latestDateTime!);\r\n const data2 = new Date(conversationB.latestDateTime!);\r\n if (conversationA.latestDateTime && conversationB.latestDateTime) {\r\n const dateA = data1;\r\n const dateB = data2;\r\n if (dateA < dateB) {\r\n return sortOrder === 'asc' ? 1 : -1;\r\n }\r\n if (dateB < dateA) {\r\n return sortOrder === 'asc' ? -1 : 1;\r\n }\r\n if (dateA == dateB) {\r\n return 0;\r\n }\r\n }\r\n if (conversationA.latestDateTime === null && conversationB.latestDateTime === null) {\r\n const dateA = data1; \r\n const dateB = data2; \r\n if (dateA < dateB) {\r\n return sortOrder === 'asc' ? 1 : -1;\r\n }\r\n if (dateB < dateA) {\r\n return sortOrder === 'asc' ? -1 : 1;\r\n }\r\n if (dateA == dateB) {\r\n return 0;\r\n }\r\n }\r\n if (conversationB.latestDateTime === null) {\r\n return -1;\r\n }\r\n if (conversationA.latestDateTime === null) {\r\n return 1;\r\n }\r\n return 0;\r\n });\r\n return filterConversations;\r\n }\r\n return [];\r\n }, [conversations,sortOrder]);\r\n\r\n function fetchMoreConversations(): void {\r\n fetchNextPage();\r\n }\r\n\r\n const [searchChecked, setSearchChecked] = React.useState(false);\r\n\r\n const handleSearchIconClicked = () => {\r\n if (searchChecked && searchText != '') {\r\n addSearchText('');\r\n }\r\n setSearchChecked((prev) => !prev);\r\n isSearchChecked(searchChecked);\r\n setTimeout(() => {\r\n searchRef.current.focus();\r\n }, 0); \r\n };\r\n\r\n const changeCheckboxStatus = (conversationId: number, status: boolean) => {\r\n handleConversationCheckbox(conversationId, status);\r\n };\r\n\r\n const handleRadioChange = (event: any) => {\r\n handleConvTypeChange(event.target.value);\r\n };\r\n const conversationFilters = ['My Conversations', 'Unassigned'];\r\n const [personName, setPersonName] = React.useState([]);\r\n useEffect(() => {\r\n if (window.localStorage.getItem('Messenger_Filter') != null) {\r\n setPersonName(JSON.parse(window.localStorage.getItem('Messenger_Filter')!));\r\n handleConvFiltersChange(JSON.parse(window.localStorage.getItem('Messenger_Filter')!));\r\n }\r\n }, []);\r\n\r\n const handleCheckboxChange = (event: any) => {\r\n const {\r\n target: { value },\r\n } = event;\r\n setPersonName(typeof value === 'string' ? value.split(',') : value);\r\n window.localStorage.setItem('Messenger_Filter', JSON.stringify(value));\r\n handleConvFiltersChange(value);\r\n };\r\n return (\r\n \r\n {defaultSearch != '' && }\r\n {defaultSearch == '' && (\r\n \r\n \r\n \r\n \r\n \r\n {!searchChecked && }\r\n {searchChecked && }\r\n \r\n \r\n\r\n \r\n addSearchText(e.target.value)}\r\n />\r\n \r\n \r\n\r\n \r\n \r\n\r\n {/* \r\n Filter Conversations\r\n }\r\n renderValue={(selected: any) => selected.join(', ')}\r\n >\r\n {conversationFilters.map((name) => (\r\n \r\n -1} />\r\n \r\n \r\n ))}\r\n \r\n */}\r\n \r\n\r\n \r\n : }>\r\n {sortOrder === 'asc' ? 'Newest to oldest' : 'Oldest to newest'}\r\n \r\n \r\n \r\n )}\r\n \r\n {loading && (\r\n \r\n \r\n \r\n )}\r\n {filteredConversations.length ? (\r\n {\r\n changeCheckboxStatus(conversationId, status);\r\n }}\r\n selectedConversationIds={selectedConversationIds}\r\n IsMergeList = {IsMergeList}\r\n />\r\n ) : (\r\n !loading && noConversationMessage\r\n )}\r\n \r\n );\r\n}\r\n\r\nfunction ConversationLabelList({\r\n conversations,\r\n searchText,\r\n onConversationSelect,\r\n selectedConversation,\r\n messageSid,\r\n onListEnd,\r\n handleCheckbox,\r\n selectedConversationIds,\r\n IsMergeList = false\r\n}: {\r\n conversations: Conversation[];\r\n searchText: string;\r\n selectedConversation: Conversation | undefined;\r\n onConversationSelect(conversation: Conversation): void;\r\n messageSid: string;\r\n onListEnd(): void;\r\n handleCheckbox(conversationId: number, status: boolean): void;\r\n selectedConversationIds: number[];\r\n IsMergeList?:boolean;\r\n}): ReactElement {\r\n const scrollBarRef = useRef(null);\r\n const scrollBarContainerRef = useRef(null);\r\n\r\n function handleOnYReachEnd(): void {\r\n if (scrollBarContainerRef.current && scrollBarRef.current && scrollBarContainerRef.current.scrollTop) {\r\n onListEnd();\r\n }\r\n }\r\n function onCheckboxChange(conversationId: number, status: boolean): void {\r\n handleCheckbox(conversationId, status);\r\n }\r\n return (\r\n {\r\n scrollBarContainerRef.current = ref;\r\n }}\r\n onYReachEnd={debounce(handleOnYReachEnd, 1000)}>\r\n \r\n \r\n {conversations.map((conversation: Conversation, index: number) => {\r\n let selected = false;\r\n if (searchText && searchText !== '' && messageSid && messageSid != '') {\r\n selected = selectedConversation?.latestMessageSid == conversation.latestMessageSid;\r\n } else {\r\n selected = selectedConversation?.id === conversation.id;\r\n }\r\n // (selectedConversation && (selectedConversation.id === conversation.id || selectedConversation.latestMessageSid == messageSid)) ?? false\r\n return (\r\n onConversationSelect(conversation)}\r\n name={conversation.customer.name}\r\n locationName={conversation.locationName}\r\n customerCellPhone={conversation.customer.cellPhone}\r\n departmentName={conversation.departmentName}\r\n unreadCount={conversation.unreadMessageCount}\r\n latestDateTime={conversation.latestDateTime}\r\n latestMessage={conversation.latestMessage || ''}\r\n checked={selectedConversationIds.indexOf(conversation.id) != -1}\r\n onChangeCheckBox={(conversationId, status) => {\r\n onCheckboxChange(conversationId, status);\r\n }}\r\n conversationId={conversation.id}\r\n assignedDepartmentName={conversation.assignedDepartmentName}\r\n assignedUsername={conversation.assignedUsername}\r\n organizationName={conversation.organizationName}\r\n isOrganization={conversation.isOrganization}\r\n isAspenPrimaryContact={conversation.isAspenPrimaryContact}\r\n isArchive={conversation.isArchive}\r\n IsFacebookConversation={conversation.IsFacebookConversation}\r\n FacebookCustomerId={conversation.FacebookCustomerId}\r\n FacebookPageId={conversation.FacebookPageId} \r\n archiveTitle={conversation.archiveTitle}\r\n IsMergeList={IsMergeList}\r\n />\r\n );\r\n })}\r\n \r\n \r\n \r\n );\r\n}\r\n","import { Box, IconButton, makeStyles, Menu, Theme, Tooltip, Typography } from '@material-ui/core';\r\nimport AddCircleIcon from '@material-ui/icons/AddCircle';\r\nimport CheckIcon from '@material-ui/icons/Check';\r\nimport ClearIcon from '@material-ui/icons/Clear';\r\nimport InsertPhotoIcon from '@material-ui/icons/InsertPhoto';\r\nimport MediaGalleryAPI from 'components/broadcast/api/mediaGallery-api';\r\nimport { GalleryImage } from 'components/broadcast/models/gallery-image';\r\nimport React, { ReactElement, useEffect, useState } from 'react';\r\nimport { GetAttachments } from 'dmsAppsCallbacks';\r\nimport { showSnackbar } from 'components/root-snackbar';\r\nimport { useAppDispatch, useAppSelector } from 'app';\r\n\r\n\r\nconst useImageLibraryModalStyle = makeStyles((theme: Theme): any => ({\r\n imageLibrary: {\r\n width: '350px',\r\n height: '350px',\r\n padding: theme.spacing(1, 2),\r\n background: theme.palette.background.paper,\r\n display: 'flex',\r\n flexDirection: 'row',\r\n flexWrap: 'wrap',\r\n justifyContent: 'space-between',\r\n overflow: 'scroll',\r\n },\r\n thumb: {\r\n display: 'inline-flex',\r\n position: 'relative',\r\n marginBottom: 8,\r\n width: 100,\r\n height: 100,\r\n boxSizing: 'border-box',\r\n '&:hover': {\r\n '& $addOverlay': {\r\n opacity: 1,\r\n },\r\n },\r\n },\r\n thumbInner: {\r\n display: 'flex',\r\n minWidth: 0,\r\n overflow: 'hidden',\r\n },\r\n img: {\r\n display: 'block',\r\n borderRadius: 2,\r\n width: '100%',\r\n height: '100%',\r\n },\r\n addOverlay: {\r\n position: 'absolute',\r\n top: 0,\r\n bottom: 0,\r\n left: 0,\r\n right: 0,\r\n opacity: 0,\r\n height: '100%',\r\n width: '100%',\r\n transition: '.3s ease',\r\n background: 'rgba(0,0,0,0.8)',\r\n },\r\n deleteOverlay: {\r\n position: 'absolute',\r\n top: 0,\r\n bottom: 0,\r\n left: 0,\r\n right: 0,\r\n opacity: 0,\r\n height: '100%',\r\n width: '100%',\r\n transition: '.3s ease',\r\n background: 'rgba(0,0,0,0.8)',\r\n },\r\n crossBtn: {\r\n position: 'absolute',\r\n top: '-10px',\r\n right: '-10px',\r\n backgroundColor: 'white',\r\n borderRadius: '100%',\r\n width: '20px',\r\n height: '20px',\r\n },\r\n icon: {\r\n color: 'white',\r\n position: 'absolute',\r\n zIndex: 1000,\r\n top: '50%',\r\n left: '50%',\r\n transform: 'translate(-50%, -50%)',\r\n '-ms-transform': 'translate(-50%, -50%)',\r\n textAlign: 'center',\r\n },\r\n}));\r\n\r\nexport default function ImageLibraryButton({\r\n onSelect,\r\n}: {\r\n onSelect: (galleryImage: GalleryImage) => void;\r\n}): ReactElement {\r\n const classes: any = useImageLibraryModalStyle();\r\n const dispatch = useAppDispatch();\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n const [galleryImages, setGalleryImages] = useState([]);\r\n const handleClick = (event: React.MouseEvent): void => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n\r\n const handleClose = (): void => {\r\n setAnchorEl(null);\r\n };\r\n\r\n function handleOnImageSelect(galleryImage: GalleryImage): void {\r\n const file = new File([galleryImage.mediaUrl], galleryImage.fileName, { type: galleryImage.mimeType });\r\n if(!handleFileUpload(file)) return;\r\n onSelect(galleryImage);\r\n handleClose();\r\n }\r\n\r\n const handleFileUpload = (file: File): boolean => {\r\n const allowedFormats = ['image/jpeg', 'image/jpg', 'image/png', 'image/gif', 'application/pdf'];\r\n if (!allowedFormats.includes(file.type)) {\r\n dispatch(showSnackbar({ type: 'error', message: 'File Type must be .jpeg, .jpg, .png, .gif, .pdf' }));\r\n return false;\r\n }\r\n // Proceed with the file upload\r\n return true;\r\n };\r\n\r\n useEffect(() => {\r\n async function fetchGalleryImages(): Promise {\r\n if (anchorEl) {\r\n try {\r\n const galleryImageResponse = await MediaGalleryAPI.getImageGallery();\r\n setGalleryImages(galleryImageResponse);\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n }\r\n fetchGalleryImages();\r\n }, [anchorEl]);\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Recent Files\r\n \r\n \r\n {galleryImages.map((galleryImage) => (\r\n
        \r\n
        \r\n {galleryImage.mimeType ===\"application/pdf\" ? \r\n {galleryImage.fileName} \r\n : \r\n {galleryImage.fileName} }\r\n \r\n {galleryImage.mimeType ===\"application/pdf\" && {galleryImage.fileName}}\r\n handleOnImageSelect(galleryImage)}>\r\n \r\n \r\n \r\n
        \r\n Confirm delete ?\r\n
        \r\n \r\n \r\n
        \r\n
        \r\n
        \r\n
        \r\n ))}\r\n
        \r\n \r\n \r\n );\r\n}\r\n","import React from 'react';\r\n\r\nconst ImageModalContext = React.createContext<{ openImageModal(imageSrc: string): void }>({\r\n openImageModal: (imageSrc: string) => undefined,\r\n});\r\n\r\nexport default ImageModalContext;\r\n","import { makeStyles, Typography } from '@material-ui/core';\r\nimport { Theme } from '@material-ui/core/styles/createTheme';\r\nimport moment from 'moment';\r\nimport React from 'react';\r\n\r\nconst useStyles = makeStyles((theme: Theme): any => ({\r\n root: {\r\n textAlign: 'left',\r\n color: theme.palette.grey[900],\r\n fontSize: '9px',\r\n '&&.left': {\r\n paddingLeft: theme.spacing(2),\r\n },\r\n '&&.right': {\r\n paddingLeft: theme.spacing(1),\r\n marginRight: theme.spacing(2),\r\n },\r\n },\r\n}));\r\n\r\nfunction Footer({\r\n status,\r\n dateTime,\r\n userName,\r\n direction,\r\n}: {\r\n status: string;\r\n dateTime: string;\r\n userName: string;\r\n direction: string;\r\n}): React.ReactElement {\r\n const classes: any = useStyles();\r\n const formattedDateTime = moment.utc(dateTime).local().format('M-D h:mm a');\r\n return (\r\n \r\n {status} - {formattedDateTime} {userName &&  {userName}}\r\n \r\n );\r\n}\r\n\r\nexport default Footer;\r\n","export default __webpack_public_path__ + \"static/media/text.f0b8f64a.svg\";","import { makeStyles } from '@material-ui/core';\r\nimport React, { ReactElement } from 'react';\r\nimport TextSVG from 'assets/images/text.svg';\r\n\r\nconst useStyles = makeStyles(() => ({\r\n logo: {\r\n width: '24px',\r\n height: '24px',\r\n objectFit: 'cover',\r\n },\r\n}));\r\n\r\nfunction Text(): ReactElement {\r\n const classes: any = useStyles();\r\n return \"Text;\r\n}\r\n\r\nexport default Text;\r\n","const mimeTypes: any = {\r\n '.323': 'text/h323',\r\n '.3g2': 'video/3gpp2',\r\n '.3gp': 'video/3gpp',\r\n '.3gp2': 'video/3gpp2',\r\n '.3gpp': 'video/3gpp',\r\n '.7z': 'application/x-7z-compressed',\r\n '.aa': 'audio/audible',\r\n '.AAC': 'audio/aac',\r\n '.aaf': 'application/octet-stream',\r\n '.aax': 'audio/vnd.audible.aax',\r\n '.ac3': 'audio/ac3',\r\n '.aca': 'application/octet-stream',\r\n '.accda': 'application/msaccess.addin',\r\n '.accdb': 'application/msaccess',\r\n '.accdc': 'application/msaccess.cab',\r\n '.accde': 'application/msaccess',\r\n '.accdr': 'application/msaccess.runtime',\r\n '.accdt': 'application/msaccess',\r\n '.accdw': 'application/msaccess.webapplication',\r\n '.accft': 'application/msaccess.ftemplate',\r\n '.acx': 'application/internet-property-stream',\r\n '.AddIn': 'text/xml',\r\n '.ade': 'application/msaccess',\r\n '.adobebridge': 'application/x-bridge-url',\r\n '.adp': 'application/msaccess',\r\n '.ADT': 'audio/vnd.dlna.adts',\r\n '.ADTS': 'audio/aac',\r\n '.afm': 'application/octet-stream',\r\n '.ai': 'application/postscript',\r\n '.aif': 'audio/aiff',\r\n '.aifc': 'audio/aiff',\r\n '.aiff': 'audio/aiff',\r\n '.air': 'application/vnd.adobe.air-application-installer-package+zip',\r\n '.amc': 'application/mpeg',\r\n '.anx': 'application/annodex',\r\n '.apk': 'application/vnd.android.package-archive',\r\n '.apng': 'image/apng',\r\n '.application': 'application/x-ms-application',\r\n '.art': 'image/x-jg',\r\n '.asa': 'application/xml',\r\n '.asax': 'application/xml',\r\n '.ascx': 'application/xml',\r\n '.asd': 'application/octet-stream',\r\n '.asf': 'video/x-ms-asf',\r\n '.ashx': 'application/xml',\r\n '.asi': 'application/octet-stream',\r\n '.asm': 'text/plain',\r\n '.asmx': 'application/xml',\r\n '.aspx': 'application/xml',\r\n '.asr': 'video/x-ms-asf',\r\n '.asx': 'video/x-ms-asf',\r\n '.atom': 'application/atom+xml',\r\n '.au': 'audio/basic',\r\n '.avci': 'image/avci',\r\n '.avcs': 'image/avcs',\r\n '.avi': 'video/x-msvideo',\r\n '.avif': 'image/avif',\r\n '.avifs': 'image/avif-sequence',\r\n '.axa': 'audio/annodex',\r\n '.axs': 'application/olescript',\r\n '.axv': 'video/annodex',\r\n '.bas': 'text/plain',\r\n '.bcpio': 'application/x-bcpio',\r\n '.bin': 'application/octet-stream',\r\n '.bmp': 'image/bmp',\r\n '.c': 'text/plain',\r\n '.cab': 'application/octet-stream',\r\n '.caf': 'audio/x-caf',\r\n '.calx': 'application/vnd.ms-office.calx',\r\n '.cat': 'application/vnd.ms-pki.seccat',\r\n '.cc': 'text/plain',\r\n '.cd': 'text/plain',\r\n '.cdda': 'audio/aiff',\r\n '.cdf': 'application/x-cdf',\r\n '.cer': 'application/x-x509-ca-cert',\r\n '.cfg': 'text/plain',\r\n '.chm': 'application/octet-stream',\r\n '.class': 'application/x-java-applet',\r\n '.clp': 'application/x-msclip',\r\n '.cmd': 'text/plain',\r\n '.cmx': 'image/x-cmx',\r\n '.cnf': 'text/plain',\r\n '.cod': 'image/cis-cod',\r\n '.config': 'application/xml',\r\n '.contact': 'text/x-ms-contact',\r\n '.coverage': 'application/xml',\r\n '.cpio': 'application/x-cpio',\r\n '.cpp': 'text/plain',\r\n '.crd': 'application/x-mscardfile',\r\n '.crl': 'application/pkix-crl',\r\n '.crt': 'application/x-x509-ca-cert',\r\n '.cs': 'text/plain',\r\n '.csdproj': 'text/plain',\r\n '.csh': 'application/x-csh',\r\n '.csproj': 'text/plain',\r\n '.css': 'text/css',\r\n '.csv': 'text/csv',\r\n '.cur': 'application/octet-stream',\r\n '.czx': 'application/x-czx',\r\n '.cxx': 'text/plain',\r\n '.dat': 'application/octet-stream',\r\n '.datasource': 'application/xml',\r\n '.dbproj': 'text/plain',\r\n '.dcr': 'application/x-director',\r\n '.def': 'text/plain',\r\n '.deploy': 'application/octet-stream',\r\n '.der': 'application/x-x509-ca-cert',\r\n '.dgml': 'application/xml',\r\n '.dib': 'image/bmp',\r\n '.dif': 'video/x-dv',\r\n '.dir': 'application/x-director',\r\n '.disco': 'text/xml',\r\n '.divx': 'video/divx',\r\n '.dll': 'application/x-msdownload',\r\n '.dll.config': 'text/xml',\r\n '.dlm': 'text/dlm',\r\n '.doc': 'application/msword',\r\n '.docm': 'application/vnd.ms-word.document.macroEnabled.12',\r\n '.docx': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\r\n '.dot': 'application/msword',\r\n '.dotm': 'application/vnd.ms-word.template.macroEnabled.12',\r\n '.dotx': 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',\r\n '.dsp': 'application/octet-stream',\r\n '.dsw': 'text/plain',\r\n '.dtd': 'text/xml',\r\n '.dtsConfig': 'text/xml',\r\n '.dv': 'video/x-dv',\r\n '.dvi': 'application/x-dvi',\r\n '.dwf': 'drawing/x-dwf',\r\n '.dwg': 'application/acad',\r\n '.dwp': 'application/octet-stream',\r\n '.dxf': 'application/x-dxf',\r\n '.dxr': 'application/x-director',\r\n '.eml': 'message/rfc822',\r\n '.emf': 'image/emf',\r\n '.emz': 'application/octet-stream',\r\n '.eot': 'application/vnd.ms-fontobject',\r\n '.eps': 'application/postscript',\r\n '.es': 'application/ecmascript',\r\n '.etl': 'application/etl',\r\n '.etx': 'text/x-setext',\r\n '.evy': 'application/envoy',\r\n '.exe': 'application/vnd.microsoft.portable-executable',\r\n '.exe.config': 'text/xml',\r\n '.f4v': 'video/mp4',\r\n '.fdf': 'application/vnd.fdf',\r\n '.fif': 'application/fractals',\r\n '.filters': 'application/xml',\r\n '.fla': 'application/octet-stream',\r\n '.flac': 'audio/flac',\r\n '.flr': 'x-world/x-vrml',\r\n '.flv': 'video/x-flv',\r\n '.fsscript': 'application/fsharp-script',\r\n '.fsx': 'application/fsharp-script',\r\n '.generictest': 'application/xml',\r\n '.gif': 'image/gif',\r\n '.gpx': 'application/gpx+xml',\r\n '.group': 'text/x-ms-group',\r\n '.gsm': 'audio/x-gsm',\r\n '.gtar': 'application/x-gtar',\r\n '.gz': 'application/x-gzip',\r\n '.h': 'text/plain',\r\n '.hdf': 'application/x-hdf',\r\n '.hdml': 'text/x-hdml',\r\n '.heic': 'image/heic',\r\n '.heics': 'image/heic-sequence',\r\n '.heif': 'image/heif',\r\n '.heifs': 'image/heif-sequence',\r\n '.hhc': 'application/x-oleobject',\r\n '.hhk': 'application/octet-stream',\r\n '.hhp': 'application/octet-stream',\r\n '.hlp': 'application/winhlp',\r\n '.hpp': 'text/plain',\r\n '.hqx': 'application/mac-binhex40',\r\n '.hta': 'application/hta',\r\n '.htc': 'text/x-component',\r\n '.htm': 'text/html',\r\n '.html': 'text/html',\r\n '.htt': 'text/webviewhtml',\r\n '.hxa': 'application/xml',\r\n '.hxc': 'application/xml',\r\n '.hxd': 'application/octet-stream',\r\n '.hxe': 'application/xml',\r\n '.hxf': 'application/xml',\r\n '.hxh': 'application/octet-stream',\r\n '.hxi': 'application/octet-stream',\r\n '.hxk': 'application/xml',\r\n '.hxq': 'application/octet-stream',\r\n '.hxr': 'application/octet-stream',\r\n '.hxs': 'application/octet-stream',\r\n '.hxt': 'text/html',\r\n '.hxv': 'application/xml',\r\n '.hxw': 'application/octet-stream',\r\n '.hxx': 'text/plain',\r\n '.i': 'text/plain',\r\n '.ical': 'text/calendar',\r\n '.icalendar': 'text/calendar',\r\n '.ico': 'image/x-icon',\r\n '.ics': 'text/calendar',\r\n '.idl': 'text/plain',\r\n '.ief': 'image/ief',\r\n '.ifb': 'text/calendar',\r\n '.iii': 'application/x-iphone',\r\n '.inc': 'text/plain',\r\n '.inf': 'application/octet-stream',\r\n '.ini': 'text/plain',\r\n '.inl': 'text/plain',\r\n '.ins': 'application/x-internet-signup',\r\n '.ipa': 'application/x-itunes-ipa',\r\n '.ipg': 'application/x-itunes-ipg',\r\n '.ipproj': 'text/plain',\r\n '.ipsw': 'application/x-itunes-ipsw',\r\n '.iqy': 'text/x-ms-iqy',\r\n '.isp': 'application/x-internet-signup',\r\n '.isma': 'application/octet-stream',\r\n '.ismv': 'application/octet-stream',\r\n '.ite': 'application/x-itunes-ite',\r\n '.itlp': 'application/x-itunes-itlp',\r\n '.itms': 'application/x-itunes-itms',\r\n '.itpc': 'application/x-itunes-itpc',\r\n '.IVF': 'video/x-ivf',\r\n '.jar': 'application/java-archive',\r\n '.java': 'application/octet-stream',\r\n '.jck': 'application/liquidmotion',\r\n '.jcz': 'application/liquidmotion',\r\n '.jfif': 'image/pjpeg',\r\n '.jnlp': 'application/x-java-jnlp-file',\r\n '.jpb': 'application/octet-stream',\r\n '.jpe': 'image/jpeg',\r\n '.jpeg': 'image/jpeg',\r\n '.jpg': 'image/jpeg',\r\n '.js': 'application/javascript',\r\n '.json': 'application/json',\r\n '.jsx': 'text/jscript',\r\n '.jsxbin': 'text/plain',\r\n '.latex': 'application/x-latex',\r\n '.library-ms': 'application/windows-library+xml',\r\n '.lit': 'application/x-ms-reader',\r\n '.loadtest': 'application/xml',\r\n '.lpk': 'application/octet-stream',\r\n '.lsf': 'video/x-la-asf',\r\n '.lst': 'text/plain',\r\n '.lsx': 'video/x-la-asf',\r\n '.lzh': 'application/octet-stream',\r\n '.m13': 'application/x-msmediaview',\r\n '.m14': 'application/x-msmediaview',\r\n '.m1v': 'video/mpeg',\r\n '.m2t': 'video/vnd.dlna.mpeg-tts',\r\n '.m2ts': 'video/vnd.dlna.mpeg-tts',\r\n '.m2v': 'video/mpeg',\r\n '.m3u': 'audio/x-mpegurl',\r\n '.m3u8': 'audio/x-mpegurl',\r\n '.m4a': 'audio/m4a',\r\n '.m4b': 'audio/m4b',\r\n '.m4p': 'audio/m4p',\r\n '.m4r': 'audio/x-m4r',\r\n '.m4v': 'video/x-m4v',\r\n '.mac': 'image/x-macpaint',\r\n '.mak': 'text/plain',\r\n '.man': 'application/x-troff-man',\r\n '.manifest': 'application/x-ms-manifest',\r\n '.map': 'text/plain',\r\n '.master': 'application/xml',\r\n '.mbox': 'application/mbox',\r\n '.mda': 'application/msaccess',\r\n '.mdb': 'application/x-msaccess',\r\n '.mde': 'application/msaccess',\r\n '.mdp': 'application/octet-stream',\r\n '.me': 'application/x-troff-me',\r\n '.mfp': 'application/x-shockwave-flash',\r\n '.mht': 'message/rfc822',\r\n '.mhtml': 'message/rfc822',\r\n '.mid': 'audio/mid',\r\n '.midi': 'audio/mid',\r\n '.mix': 'application/octet-stream',\r\n '.mk': 'text/plain',\r\n '.mk3d': 'video/x-matroska-3d',\r\n '.mka': 'audio/x-matroska',\r\n '.mkv': 'video/x-matroska',\r\n '.mmf': 'application/x-smaf',\r\n '.mno': 'text/xml',\r\n '.mny': 'application/x-msmoney',\r\n '.mod': 'video/mpeg',\r\n '.mov': 'video/quicktime',\r\n '.movie': 'video/x-sgi-movie',\r\n '.mp2': 'video/mpeg',\r\n '.mp2v': 'video/mpeg',\r\n '.mp3': 'audio/mpeg',\r\n '.mp4': 'video/mp4',\r\n '.mp4v': 'video/mp4',\r\n '.mpa': 'video/mpeg',\r\n '.mpe': 'video/mpeg',\r\n '.mpeg': 'video/mpeg',\r\n '.mpf': 'application/vnd.ms-mediapackage',\r\n '.mpg': 'video/mpeg',\r\n '.mpp': 'application/vnd.ms-project',\r\n '.mpv2': 'video/mpeg',\r\n '.mqv': 'video/quicktime',\r\n '.ms': 'application/x-troff-ms',\r\n '.msg': 'application/vnd.ms-outlook',\r\n '.msi': 'application/octet-stream',\r\n '.mso': 'application/octet-stream',\r\n '.mts': 'video/vnd.dlna.mpeg-tts',\r\n '.mtx': 'application/xml',\r\n '.mvb': 'application/x-msmediaview',\r\n '.mvc': 'application/x-miva-compiled',\r\n '.mxf': 'application/mxf',\r\n '.mxp': 'application/x-mmxp',\r\n '.nc': 'application/x-netcdf',\r\n '.nsc': 'video/x-ms-asf',\r\n '.nws': 'message/rfc822',\r\n '.ocx': 'application/octet-stream',\r\n '.oda': 'application/oda',\r\n '.odb': 'application/vnd.oasis.opendocument.database',\r\n '.odc': 'application/vnd.oasis.opendocument.chart',\r\n '.odf': 'application/vnd.oasis.opendocument.formula',\r\n '.odg': 'application/vnd.oasis.opendocument.graphics',\r\n '.odh': 'text/plain',\r\n '.odi': 'application/vnd.oasis.opendocument.image',\r\n '.odl': 'text/plain',\r\n '.odm': 'application/vnd.oasis.opendocument.text-master',\r\n '.odp': 'application/vnd.oasis.opendocument.presentation',\r\n '.ods': 'application/vnd.oasis.opendocument.spreadsheet',\r\n '.odt': 'application/vnd.oasis.opendocument.text',\r\n '.oga': 'audio/ogg',\r\n '.ogg': 'audio/ogg',\r\n '.ogv': 'video/ogg',\r\n '.ogx': 'application/ogg',\r\n '.one': 'application/onenote',\r\n '.onea': 'application/onenote',\r\n '.onepkg': 'application/onenote',\r\n '.onetmp': 'application/onenote',\r\n '.onetoc': 'application/onenote',\r\n '.onetoc2': 'application/onenote',\r\n '.opus': 'audio/ogg',\r\n '.orderedtest': 'application/xml',\r\n '.osdx': 'application/opensearchdescription+xml',\r\n '.otf': 'application/font-sfnt',\r\n '.otg': 'application/vnd.oasis.opendocument.graphics-template',\r\n '.oth': 'application/vnd.oasis.opendocument.text-web',\r\n '.otp': 'application/vnd.oasis.opendocument.presentation-template',\r\n '.ots': 'application/vnd.oasis.opendocument.spreadsheet-template',\r\n '.ott': 'application/vnd.oasis.opendocument.text-template',\r\n '.oxps': 'application/oxps',\r\n '.oxt': 'application/vnd.openofficeorg.extension',\r\n '.p10': 'application/pkcs10',\r\n '.p12': 'application/x-pkcs12',\r\n '.p7b': 'application/x-pkcs7-certificates',\r\n '.p7c': 'application/pkcs7-mime',\r\n '.p7m': 'application/pkcs7-mime',\r\n '.p7r': 'application/x-pkcs7-certreqresp',\r\n '.p7s': 'application/pkcs7-signature',\r\n '.pbm': 'image/x-portable-bitmap',\r\n '.pcast': 'application/x-podcast',\r\n '.pct': 'image/pict',\r\n '.pcx': 'application/octet-stream',\r\n '.pcz': 'application/octet-stream',\r\n '.pdf': 'application/pdf',\r\n '.pfb': 'application/octet-stream',\r\n '.pfm': 'application/octet-stream',\r\n '.pfx': 'application/x-pkcs12',\r\n '.pgm': 'image/x-portable-graymap',\r\n '.pic': 'image/pict',\r\n '.pict': 'image/pict',\r\n '.pkgdef': 'text/plain',\r\n '.pkgundef': 'text/plain',\r\n '.pko': 'application/vnd.ms-pki.pko',\r\n '.pls': 'audio/scpls',\r\n '.pma': 'application/x-perfmon',\r\n '.pmc': 'application/x-perfmon',\r\n '.pml': 'application/x-perfmon',\r\n '.pmr': 'application/x-perfmon',\r\n '.pmw': 'application/x-perfmon',\r\n '.png': 'image/png',\r\n '.pnm': 'image/x-portable-anymap',\r\n '.pnt': 'image/x-macpaint',\r\n '.pntg': 'image/x-macpaint',\r\n '.pnz': 'image/png',\r\n '.pot': 'application/vnd.ms-powerpoint',\r\n '.potm': 'application/vnd.ms-powerpoint.template.macroEnabled.12',\r\n '.potx': 'application/vnd.openxmlformats-officedocument.presentationml.template',\r\n '.ppa': 'application/vnd.ms-powerpoint',\r\n '.ppam': 'application/vnd.ms-powerpoint.addin.macroEnabled.12',\r\n '.ppm': 'image/x-portable-pixmap',\r\n '.pps': 'application/vnd.ms-powerpoint',\r\n '.ppsm': 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',\r\n '.ppsx': 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',\r\n '.ppt': 'application/vnd.ms-powerpoint',\r\n '.pptm': 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',\r\n '.pptx': 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\r\n '.prf': 'application/pics-rules',\r\n '.prm': 'application/octet-stream',\r\n '.prx': 'application/octet-stream',\r\n '.ps': 'application/postscript',\r\n '.psc1': 'application/PowerShell',\r\n '.psd': 'application/octet-stream',\r\n '.psess': 'application/xml',\r\n '.psm': 'application/octet-stream',\r\n '.psp': 'application/octet-stream',\r\n '.pst': 'application/vnd.ms-outlook',\r\n '.pub': 'application/x-mspublisher',\r\n '.pwz': 'application/vnd.ms-powerpoint',\r\n '.qht': 'text/x-html-insertion',\r\n '.qhtm': 'text/x-html-insertion',\r\n '.qt': 'video/quicktime',\r\n '.qti': 'image/x-quicktime',\r\n '.qtif': 'image/x-quicktime',\r\n '.qtl': 'application/x-quicktimeplayer',\r\n '.qxd': 'application/octet-stream',\r\n '.ra': 'audio/x-pn-realaudio',\r\n '.ram': 'audio/x-pn-realaudio',\r\n '.rar': 'application/x-rar-compressed',\r\n '.ras': 'image/x-cmu-raster',\r\n '.rat': 'application/rat-file',\r\n '.rc': 'text/plain',\r\n '.rc2': 'text/plain',\r\n '.rct': 'text/plain',\r\n '.rdlc': 'application/xml',\r\n '.reg': 'text/plain',\r\n '.resx': 'application/xml',\r\n '.rf': 'image/vnd.rn-realflash',\r\n '.rgb': 'image/x-rgb',\r\n '.rgs': 'text/plain',\r\n '.rm': 'application/vnd.rn-realmedia',\r\n '.rmi': 'audio/mid',\r\n '.rmp': 'application/vnd.rn-rn_music_package',\r\n '.rmvb': 'application/vnd.rn-realmedia-vbr',\r\n '.roff': 'application/x-troff',\r\n '.rpm': 'audio/x-pn-realaudio-plugin',\r\n '.rqy': 'text/x-ms-rqy',\r\n '.rtf': 'application/rtf',\r\n '.rtx': 'text/richtext',\r\n '.rvt': 'application/octet-stream',\r\n '.ruleset': 'application/xml',\r\n '.s': 'text/plain',\r\n '.safariextz': 'application/x-safari-safariextz',\r\n '.scd': 'application/x-msschedule',\r\n '.scr': 'text/plain',\r\n '.sct': 'text/scriptlet',\r\n '.sd2': 'audio/x-sd2',\r\n '.sdp': 'application/sdp',\r\n '.sea': 'application/octet-stream',\r\n '.searchConnector-ms': 'application/windows-search-connector+xml',\r\n '.setpay': 'application/set-payment-initiation',\r\n '.setreg': 'application/set-registration-initiation',\r\n '.settings': 'application/xml',\r\n '.sgimb': 'application/x-sgimb',\r\n '.sgml': 'text/sgml',\r\n '.sh': 'application/x-sh',\r\n '.shar': 'application/x-shar',\r\n '.shtml': 'text/html',\r\n '.sit': 'application/x-stuffit',\r\n '.sitemap': 'application/xml',\r\n '.skin': 'application/xml',\r\n '.skp': 'application/x-koan',\r\n '.sldm': 'application/vnd.ms-powerpoint.slide.macroEnabled.12',\r\n '.sldx': 'application/vnd.openxmlformats-officedocument.presentationml.slide',\r\n '.slk': 'application/vnd.ms-excel',\r\n '.sln': 'text/plain',\r\n '.slupkg-ms': 'application/x-ms-license',\r\n '.smd': 'audio/x-smd',\r\n '.smi': 'application/octet-stream',\r\n '.smx': 'audio/x-smd',\r\n '.smz': 'audio/x-smd',\r\n '.snd': 'audio/basic',\r\n '.snippet': 'application/xml',\r\n '.snp': 'application/octet-stream',\r\n '.sql': 'application/sql',\r\n '.sol': 'text/plain',\r\n '.sor': 'text/plain',\r\n '.spc': 'application/x-pkcs7-certificates',\r\n '.spl': 'application/futuresplash',\r\n '.spx': 'audio/ogg',\r\n '.src': 'application/x-wais-source',\r\n '.srf': 'text/plain',\r\n '.SSISDeploymentManifest': 'text/xml',\r\n '.ssm': 'application/streamingmedia',\r\n '.sst': 'application/vnd.ms-pki.certstore',\r\n '.stl': 'application/vnd.ms-pki.stl',\r\n '.sv4cpio': 'application/x-sv4cpio',\r\n '.sv4crc': 'application/x-sv4crc',\r\n '.svc': 'application/xml',\r\n '.svg': 'image/svg+xml',\r\n '.swf': 'application/x-shockwave-flash',\r\n '.step': 'application/step',\r\n '.stp': 'application/step',\r\n '.t': 'application/x-troff',\r\n '.tar': 'application/x-tar',\r\n '.tcl': 'application/x-tcl',\r\n '.testrunconfig': 'application/xml',\r\n '.testsettings': 'application/xml',\r\n '.tex': 'application/x-tex',\r\n '.texi': 'application/x-texinfo',\r\n '.texinfo': 'application/x-texinfo',\r\n '.tgz': 'application/x-compressed',\r\n '.thmx': 'application/vnd.ms-officetheme',\r\n '.thn': 'application/octet-stream',\r\n '.tif': 'image/tiff',\r\n '.tiff': 'image/tiff',\r\n '.tlh': 'text/plain',\r\n '.tli': 'text/plain',\r\n '.toc': 'application/octet-stream',\r\n '.tr': 'application/x-troff',\r\n '.trm': 'application/x-msterminal',\r\n '.trx': 'application/xml',\r\n '.ts': 'video/vnd.dlna.mpeg-tts',\r\n '.tsv': 'text/tab-separated-values',\r\n '.ttf': 'application/font-sfnt',\r\n '.tts': 'video/vnd.dlna.mpeg-tts',\r\n '.txt': 'text/plain',\r\n '.u32': 'application/octet-stream',\r\n '.uls': 'text/iuls',\r\n '.user': 'text/plain',\r\n '.ustar': 'application/x-ustar',\r\n '.vb': 'text/plain',\r\n '.vbdproj': 'text/plain',\r\n '.vbk': 'video/mpeg',\r\n '.vbproj': 'text/plain',\r\n '.vbs': 'text/vbscript',\r\n '.vcf': 'text/x-vcard',\r\n '.vcproj': 'application/xml',\r\n '.vcs': 'text/plain',\r\n '.vcxproj': 'application/xml',\r\n '.vddproj': 'text/plain',\r\n '.vdp': 'text/plain',\r\n '.vdproj': 'text/plain',\r\n '.vdx': 'application/vnd.ms-visio.viewer',\r\n '.vml': 'text/xml',\r\n '.vscontent': 'application/xml',\r\n '.vsct': 'text/xml',\r\n '.vsd': 'application/vnd.visio',\r\n '.vsi': 'application/ms-vsi',\r\n '.vsix': 'application/vsix',\r\n '.vsixlangpack': 'text/xml',\r\n '.vsixmanifest': 'text/xml',\r\n '.vsmdi': 'application/xml',\r\n '.vspscc': 'text/plain',\r\n '.vss': 'application/vnd.visio',\r\n '.vsscc': 'text/plain',\r\n '.vssettings': 'text/xml',\r\n '.vssscc': 'text/plain',\r\n '.vst': 'application/vnd.visio',\r\n '.vstemplate': 'text/xml',\r\n '.vsto': 'application/x-ms-vsto',\r\n '.vsw': 'application/vnd.visio',\r\n '.vsx': 'application/vnd.visio',\r\n '.vtt': 'text/vtt',\r\n '.vtx': 'application/vnd.visio',\r\n '.wasm': 'application/wasm',\r\n '.wav': 'audio/wav',\r\n '.wave': 'audio/wav',\r\n '.wax': 'audio/x-ms-wax',\r\n '.wbk': 'application/msword',\r\n '.wbmp': 'image/vnd.wap.wbmp',\r\n '.wcm': 'application/vnd.ms-works',\r\n '.wdb': 'application/vnd.ms-works',\r\n '.wdp': 'image/vnd.ms-photo',\r\n '.webarchive': 'application/x-safari-webarchive',\r\n '.webm': 'video/webm',\r\n '.webp': 'image/webp',\r\n '.webtest': 'application/xml',\r\n '.wiq': 'application/xml',\r\n '.wiz': 'application/msword',\r\n '.wks': 'application/vnd.ms-works',\r\n '.WLMP': 'application/wlmoviemaker',\r\n '.wlpginstall': 'application/x-wlpg-detect',\r\n '.wlpginstall3': 'application/x-wlpg3-detect',\r\n '.wm': 'video/x-ms-wm',\r\n '.wma': 'audio/x-ms-wma',\r\n '.wmd': 'application/x-ms-wmd',\r\n '.wmf': 'application/x-msmetafile',\r\n '.wml': 'text/vnd.wap.wml',\r\n '.wmlc': 'application/vnd.wap.wmlc',\r\n '.wmls': 'text/vnd.wap.wmlscript',\r\n '.wmlsc': 'application/vnd.wap.wmlscriptc',\r\n '.wmp': 'video/x-ms-wmp',\r\n '.wmv': 'video/x-ms-wmv',\r\n '.wmx': 'video/x-ms-wmx',\r\n '.wmz': 'application/x-ms-wmz',\r\n '.woff': 'application/font-woff',\r\n '.woff2': 'application/font-woff2',\r\n '.wpl': 'application/vnd.ms-wpl',\r\n '.wps': 'application/vnd.ms-works',\r\n '.wri': 'application/x-mswrite',\r\n '.wrl': 'x-world/x-vrml',\r\n '.wrz': 'x-world/x-vrml',\r\n '.wsc': 'text/scriptlet',\r\n '.wsdl': 'text/xml',\r\n '.wvx': 'video/x-ms-wvx',\r\n '.x': 'application/directx',\r\n '.xaf': 'x-world/x-vrml',\r\n '.xaml': 'application/xaml+xml',\r\n '.xap': 'application/x-silverlight-app',\r\n '.xbap': 'application/x-ms-xbap',\r\n '.xbm': 'image/x-xbitmap',\r\n '.xdr': 'text/plain',\r\n '.xht': 'application/xhtml+xml',\r\n '.xhtml': 'application/xhtml+xml',\r\n '.xla': 'application/vnd.ms-excel',\r\n '.xlam': 'application/vnd.ms-excel.addin.macroEnabled.12',\r\n '.xlc': 'application/vnd.ms-excel',\r\n '.xld': 'application/vnd.ms-excel',\r\n '.xlk': 'application/vnd.ms-excel',\r\n '.xll': 'application/vnd.ms-excel',\r\n '.xlm': 'application/vnd.ms-excel',\r\n '.xls': 'application/vnd.ms-excel',\r\n '.xlsb': 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',\r\n '.xlsm': 'application/vnd.ms-excel.sheet.macroEnabled.12',\r\n '.xlsx': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\r\n '.xlt': 'application/vnd.ms-excel',\r\n '.xltm': 'application/vnd.ms-excel.template.macroEnabled.12',\r\n '.xltx': 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',\r\n '.xlw': 'application/vnd.ms-excel',\r\n '.xml': 'text/xml',\r\n '.xmp': 'application/octet-stream',\r\n '.xmta': 'application/xml',\r\n '.xof': 'x-world/x-vrml',\r\n '.XOML': 'text/plain',\r\n '.xpm': 'image/x-xpixmap',\r\n '.xps': 'application/vnd.ms-xpsdocument',\r\n '.xrm-ms': 'text/xml',\r\n '.xsc': 'application/xml',\r\n '.xsd': 'text/xml',\r\n '.xsf': 'text/xml',\r\n '.xsl': 'text/xml',\r\n '.xslt': 'text/xml',\r\n '.xsn': 'application/octet-stream',\r\n '.xss': 'application/xml',\r\n '.xspf': 'application/xspf+xml',\r\n '.xtp': 'application/octet-stream',\r\n '.xwd': 'image/x-xwindowdump',\r\n '.z': 'application/x-compress',\r\n '.zip': 'application/zip',\r\n\r\n 'application/fsharp-script': '.fsx',\r\n 'application/msaccess': '.adp',\r\n 'application/msword': '.doc',\r\n 'application/octet-stream': '.bin',\r\n 'application/onenote': '.one',\r\n 'application/postscript': '.eps',\r\n 'application/step': '.step',\r\n 'application/vnd.ms-excel': '.xls',\r\n 'application/vnd.ms-powerpoint': '.ppt',\r\n 'application/vnd.ms-works': '.wks',\r\n 'application/vnd.visio': '.vsd',\r\n 'application/x-director': '.dir',\r\n 'application/x-msdos-program': '.exe',\r\n 'application/x-shockwave-flash': '.swf',\r\n 'application/x-x509-ca-cert': '.cer',\r\n 'application/x-zip-compressed': '.zip',\r\n 'application/xhtml+xml': '.xhtml',\r\n 'application/xml': '.xml', // anomaly, .xml -> text/xml, but application/xml -> many things, but all are xml, so safest is .xml\r\n 'audio/aac': '.AAC',\r\n 'audio/aiff': '.aiff',\r\n 'audio/basic': '.snd',\r\n 'audio/mid': '.midi',\r\n 'audio/mp4': '.m4a', // one way mapping only, mime -> ext\r\n 'audio/wav': '.wav',\r\n 'audio/x-m4a': '.m4a',\r\n 'audio/x-mpegurl': '.m3u',\r\n 'audio/x-pn-realaudio': '.ra',\r\n 'audio/x-smd': '.smd',\r\n 'image/bmp': '.bmp',\r\n 'image/jpeg': '.jpg',\r\n 'image/pict': '.pic',\r\n 'image/png': '.png', // Defined in [RFC-2045], [RFC-2048]\r\n 'image/x-png': '.png', // See https://www.w3.org/TR/PNG/#A-Media-type :\"It is recommended that implementations also recognize the media type \"image/x-png\".\"\r\n 'image/tiff': '.tiff',\r\n 'image/x-macpaint': '.mac',\r\n 'image/x-quicktime': '.qti',\r\n 'message/rfc822': '.eml',\r\n 'text/calendar': '.ics',\r\n 'text/html': '.html',\r\n 'text/plain': '.txt',\r\n 'text/scriptlet': '.wsc',\r\n 'text/xml': '.xml',\r\n 'video/3gpp': '.3gp',\r\n 'video/3gpp2': '.3gp2',\r\n 'video/mp4': '.mp4',\r\n 'video/mpeg': '.mpg',\r\n 'video/quicktime': '.mov',\r\n 'video/vnd.dlna.mpeg-tts': '.m2t',\r\n 'video/x-dv': '.dv',\r\n 'video/x-la-asf': '.lsf',\r\n 'video/x-ms-asf': '.asf',\r\n 'x-world/x-vrml': '.xof',\r\n};\r\n\r\nenum MediaType {\r\n Image = 'Image',\r\n Audio = 'Audio',\r\n Video = 'Video',\r\n Text = 'Text',\r\n PDF = 'PDF',\r\n Other = 'Other',\r\n}\r\n\r\nfunction isPdf(mimeType: string): boolean {\r\n const pdfMimeTypes = [\r\n 'application/pdf',\r\n 'application/x-pdf',\r\n 'application/acrobat',\r\n 'applications/vnd.pdf',\r\n 'application/x-download',\r\n 'application/download',\r\n 'text/pdf',\r\n 'text/x-pdf',\r\n ];\r\n\r\n return pdfMimeTypes.indexOf(mimeType) > -1;\r\n}\r\n\r\nfunction isImage(mimeType: string): boolean {\r\n const imageMimeTypes = [\r\n 'image/jpeg',\r\n 'image/aces',\r\n 'image/avci',\r\n 'image/avcs',\r\n 'image/avif',\r\n 'image/bmp',\r\n 'image/cgm',\r\n 'image/dicom-rle',\r\n 'image/emf',\r\n 'image/example',\r\n 'image/fits',\r\n 'image/g3fax',\r\n 'image/heic',\r\n 'image/heic-sequence',\r\n 'image/heif',\r\n 'image/heif-sequence',\r\n 'image/hej2k',\r\n 'image/hsj2',\r\n 'image/jls',\r\n 'image/jp2',\r\n 'image/jph',\r\n 'image/jphc',\r\n 'image/jpm',\r\n 'image/jpx',\r\n 'image/jxr',\r\n 'image/jxrA',\r\n 'image/jxrS',\r\n 'image/jxs',\r\n 'image/jxsc',\r\n 'image/jxsi',\r\n 'image/jxss',\r\n 'image/ktx',\r\n 'image/ktx2',\r\n 'image/naplps',\r\n 'image/png',\r\n 'image/prs.btif',\r\n 'image/prs.pti',\r\n 'image/pwg-raster',\r\n 'image/svg+xml',\r\n 'image/t38',\r\n 'image/tiff',\r\n 'image/tiff-fx',\r\n 'image/vnd.adobe.photoshop',\r\n 'image/vnd.airzip.accelerator.azv',\r\n 'image/vnd.cns.inf2',\r\n 'image/vnd.dece.graphic',\r\n 'image/vnd.djvu',\r\n 'image/vnd.dwg',\r\n 'image/vnd.dxf',\r\n 'image/vnd.dvb.subtitle',\r\n 'image/vnd.fastbidsheet',\r\n 'image/vnd.fpx',\r\n 'image/vnd.fst',\r\n 'image/vnd.fujixerox.edmics-mmr',\r\n 'image/vnd.fujixerox.edmics-rlc',\r\n 'image/vnd.globalgraphics.pgb',\r\n 'image/vnd.microsoft.icon',\r\n 'image/vnd.mix',\r\n 'image/vnd.ms-modi',\r\n 'image/vnd.mozilla.apng',\r\n 'image/vnd.net-fpx',\r\n 'image/vnd.pco.b16',\r\n 'image/vnd.radiance',\r\n 'image/vnd.sealed.png',\r\n 'image/vnd.sealedmedia.softseal.gif',\r\n 'image/vnd.sealedmedia.softseal.jpg',\r\n 'image/vnd.svf',\r\n 'image/vnd.tencent.tap',\r\n 'image/vnd.valve.source.texture',\r\n 'image/vnd.wap.wbmp',\r\n 'image/vnd.xiff',\r\n 'image/vnd.zbrush.pcx',\r\n 'image/wmf',\r\n 'image/emf',\r\n 'image/wmf',\r\n ];\r\n return imageMimeTypes.indexOf(mimeType) > -1;\r\n}\r\n\r\nfunction isVideo(mimeType: string): boolean {\r\n const videoMimeTypes = [\r\n 'video/1d-interleaved-parityfec',\r\n 'video/3gpp',\r\n 'video/3gpp2',\r\n 'video/3gpp-tt',\r\n 'video/AV1',\r\n 'video/BMPEG',\r\n 'video/BT656',\r\n 'video/CelB',\r\n 'video/DV',\r\n 'video/encaprtp',\r\n 'video/example',\r\n 'video/FFV1',\r\n 'video/flexfec',\r\n 'video/H261',\r\n 'video/H263',\r\n 'video/H263-1998',\r\n 'video/H263-2000',\r\n 'video/H264',\r\n 'video/H264-RCDO',\r\n 'video/H264-SVC',\r\n 'video/H265',\r\n 'video/iso.segment',\r\n 'video/JPEG',\r\n 'video/jpeg2000',\r\n 'video/mj2',\r\n 'video/MP1S',\r\n 'video/MP2P',\r\n 'video/MP2T',\r\n 'video/mp4',\r\n 'video/MP4V-ES',\r\n 'video/MPV',\r\n 'video/mpeg4-generic',\r\n 'video/nv',\r\n 'video/ogg',\r\n 'video/parityfec',\r\n 'video/pointer',\r\n 'video/quicktime',\r\n 'video/raptorfec',\r\n 'video/raw',\r\n 'video/rtp-enc-aescm128',\r\n 'video/rtploopback',\r\n 'video/rtx',\r\n 'video/scip',\r\n 'video/smpte291',\r\n 'video/SMPTE292M',\r\n 'video/ulpfec',\r\n 'video/vc1',\r\n 'video/vc2',\r\n 'video/vnd.CCTV',\r\n 'video/vnd.dece.hd',\r\n 'video/vnd.dece.mobile',\r\n 'video/vnd.dece.mp4',\r\n 'video/vnd.dece.pd',\r\n 'video/vnd.dece.sd',\r\n 'video/vnd.dece.video',\r\n 'video/vnd.directv.mpeg',\r\n 'video/vnd.directv.mpeg-tts',\r\n 'video/vnd.dlna.mpeg-tts',\r\n 'video/vnd.dvb.file',\r\n 'video/vnd.fvt',\r\n 'video/vnd.hns.video',\r\n 'video/vnd.iptvforum.1dparityfec-1010',\r\n 'video/vnd.iptvforum.1dparityfec-2005',\r\n 'video/vnd.iptvforum.2dparityfec-1010',\r\n 'video/vnd.iptvforum.2dparityfec-2005',\r\n 'video/vnd.iptvforum.ttsavc',\r\n 'video/vnd.iptvforum.ttsmpeg2',\r\n 'video/vnd.motorola.video',\r\n 'video/vnd.motorola.videop',\r\n 'video/vnd.mpegurl',\r\n 'video/vnd.ms-playready.media.pyv',\r\n 'video/vnd.nokia.interleaved-multimedia',\r\n 'video/vnd.nokia.mp4vr',\r\n 'video/vnd.nokia.videovoip',\r\n 'video/vnd.objectvideo',\r\n 'video/vnd.radgamettools.bink',\r\n 'video/vnd.radgamettools.smacker',\r\n 'video/vnd.sealed.mpeg1',\r\n 'video/vnd.sealed.mpeg4',\r\n 'video/vnd.sealed.swf',\r\n 'video/vnd.sealedmedia.softseal.mov',\r\n 'video/vnd.uvvu.mp4',\r\n 'video/vnd.youtube.yt',\r\n 'video/vnd.vivo',\r\n 'video/VP8',\r\n ];\r\n return videoMimeTypes.indexOf(mimeType) > -1;\r\n}\r\n\r\nfunction isAudio(mimeType: string): boolean {\r\n const audioMimeTypes = [\r\n 'audio/1d-interleaved-parityfec',\r\n 'audio/32kadpcm',\r\n 'audio/3gpp',\r\n 'audio/3gpp2',\r\n 'audio/aac',\r\n 'audio/ac3',\r\n 'audio/AMR',\r\n 'audio/AMR-WB',\r\n 'audio/amr-wb+',\r\n 'audio/aptx',\r\n 'audio/asc',\r\n 'audio/ATRAC-ADVANCED-LOSSLESS',\r\n 'audio/ATRAC-X',\r\n 'audio/ATRAC3',\r\n 'audio/basic',\r\n 'audio/BV16',\r\n 'audio/BV32',\r\n 'audio/clearmode',\r\n 'audio/CN',\r\n 'audio/DAT12',\r\n 'audio/dls',\r\n 'audio/dsr-es201108',\r\n 'audio/dsr-es202050',\r\n 'audio/dsr-es202211',\r\n 'audio/dsr-es202212',\r\n 'audio/DV',\r\n 'audio/DVI4',\r\n 'audio/eac3',\r\n 'audio/encaprtp',\r\n 'audio/EVRC',\r\n 'audio/EVRC-QCP',\r\n 'audio/EVRC0',\r\n 'audio/EVRC1',\r\n 'audio/EVRCB',\r\n 'audio/EVRCB0',\r\n 'audio/EVRCB1',\r\n 'audio/EVRCNW',\r\n 'audio/EVRCNW0',\r\n 'audio/EVRCNW1',\r\n 'audio/EVRCWB',\r\n 'audio/EVRCWB0',\r\n 'audio/EVRCWB1',\r\n 'audio/EVS',\r\n 'audio/example',\r\n 'audio/flexfec',\r\n 'audio/fwdred',\r\n 'audio/G711-0',\r\n 'audio/G719',\r\n 'audio/G7221',\r\n 'audio/G722',\r\n 'audio/G723',\r\n 'audio/G726-16',\r\n 'audio/G726-24',\r\n 'audio/G726-32',\r\n 'audio/G726-40',\r\n 'audio/G728',\r\n 'audio/G729',\r\n 'audio/G7291',\r\n 'audio/G729D',\r\n 'audio/G729E',\r\n 'audio/GSM',\r\n 'audio/GSM-EFR',\r\n 'audio/GSM-HR-08',\r\n 'audio/iLBC',\r\n 'audio/ip-mr_v2.5',\r\n 'audio/L8',\r\n 'audio/L16',\r\n 'audio/L20',\r\n 'audio/L24',\r\n 'audio/LPC',\r\n 'audio/MELP',\r\n 'audio/MELP600',\r\n 'audio/MELP1200',\r\n 'audio/MELP2400',\r\n 'audio/mhas',\r\n 'audio/mobile-xmf',\r\n 'audio/MPA',\r\n 'audio/mp4',\r\n 'audio/MP4A-LATM',\r\n 'audio/mpa-robust',\r\n 'audio/mpeg',\r\n 'audio/mpeg4-generic',\r\n 'audio/ogg',\r\n 'audio/opus',\r\n 'audio/parityfec',\r\n 'audio/PCMA',\r\n 'audio/PCMA-WB',\r\n 'audio/PCMU',\r\n 'audio/PCMU-WB',\r\n 'audio/prs.sid',\r\n 'audio/raptorfec',\r\n 'audio/RED',\r\n 'audio/rtp-enc-aescm128',\r\n 'audio/rtploopback',\r\n 'audio/rtp-midi',\r\n 'audio/rtx',\r\n 'audio/scip',\r\n 'audio/SMV',\r\n 'audio/SMV0',\r\n 'audio/SMV-QCP',\r\n 'audio/sofa',\r\n 'audio/sp-midi',\r\n 'audio/speex',\r\n 'audio/t140c',\r\n 'audio/t38',\r\n 'audio/telephone-event',\r\n 'audio/TETRA_ACELP',\r\n 'audio/TETRA_ACELP_BB',\r\n 'audio/tone',\r\n 'audio/TSVCIS',\r\n 'audio/UEMCLIP',\r\n 'audio/ulpfec',\r\n 'audio/usac',\r\n 'audio/VDVI',\r\n 'audio/VMR-WB',\r\n 'audio/vnd.3gpp.iufp',\r\n 'audio/vnd.4SB',\r\n 'audio/vnd.audiokoz',\r\n 'audio/vnd.CELP',\r\n 'audio/vnd.cisco.nse',\r\n 'audio/vnd.cmles.radio-events',\r\n 'audio/vnd.cns.anp1',\r\n 'audio/vnd.cns.inf1',\r\n 'audio/vnd.dece.audio',\r\n 'audio/vnd.digital-winds',\r\n 'audio/vnd.dlna.adts',\r\n 'audio/vnd.dolby.heaac.1',\r\n 'audio/vnd.dolby.heaac.2',\r\n 'audio/vnd.dolby.mlp',\r\n 'audio/vnd.dolby.mps',\r\n 'audio/vnd.dolby.pl2',\r\n 'audio/vnd.dolby.pl2x',\r\n 'audio/vnd.dolby.pl2z',\r\n 'audio/vnd.dolby.pulse.1',\r\n 'audio/vnd.dra',\r\n 'audio/vnd.dts',\r\n 'audio/vnd.dts.hd',\r\n 'audio/vnd.dts.uhd',\r\n 'audio/vnd.dvb.file',\r\n 'audio/vnd.everad.plj',\r\n 'audio/vnd.hns.audio',\r\n 'audio/vnd.lucent.voice',\r\n 'audio/vnd.ms-playready.media.pya',\r\n 'audio/vnd.nokia.mobile-xmf',\r\n 'audio/vnd.nortel.vbk',\r\n 'audio/vnd.nuera.ecelp4800',\r\n 'audio/vnd.nuera.ecelp7470',\r\n 'audio/vnd.nuera.ecelp9600',\r\n 'audio/vnd.octel.sbc',\r\n 'audio/vnd.presonus.multitrack',\r\n 'audio/vnd.qcelp',\r\n 'audio/vnd.rhetorex.32kadpcm',\r\n 'audio/vnd.rip',\r\n 'audio/vnd.sealedmedia.softseal.mpeg',\r\n 'audio/vnd.vmx.cvsd',\r\n 'audio/vorbis',\r\n 'audio/vorbis-config',\r\n ];\r\n return audioMimeTypes.indexOf(mimeType) > -1;\r\n}\r\n\r\nfunction isText(mimeType: string): boolean {\r\n const textMimeTypes = [\r\n 'text/1d-interleaved-parityfec',\r\n 'text/cache-manifest',\r\n 'text/calendar',\r\n 'text/cql',\r\n 'text/cql-expression',\r\n 'text/cql-identifier',\r\n 'text/css',\r\n 'text/csv',\r\n 'text/csv-schema',\r\n 'text/directory',\r\n 'text/dns',\r\n 'text/ecmascript',\r\n 'text/encaprtp',\r\n 'text/example',\r\n 'text/fhirpath',\r\n 'text/flexfec',\r\n 'text/fwdred',\r\n 'text/gff3',\r\n 'text/grammar-ref-list',\r\n 'text/html',\r\n 'text/javascript',\r\n 'text/jcr-cnd',\r\n 'text/markdown',\r\n 'text/mizar',\r\n 'text/n3',\r\n 'text/parameters',\r\n 'text/parityfec',\r\n 'text/provenance-notation',\r\n 'text/prs.fallenstein.rst',\r\n 'text/prs.lines.tag',\r\n 'text/prs.prop.logic',\r\n 'text/raptorfec',\r\n 'text/RED',\r\n 'text/rfc822-headers',\r\n 'text/rtf',\r\n 'text/rtp-enc-aescm128',\r\n 'text/rtploopback',\r\n 'text/rtx',\r\n 'text/SGML',\r\n 'text/shaclc',\r\n 'text/spdx',\r\n 'text/strings',\r\n 'text/t140',\r\n 'text/tab-separated-values',\r\n 'text/troff',\r\n 'text/turtle',\r\n 'text/ulpfec',\r\n 'text/uri-list',\r\n 'text/vcard',\r\n 'text/vnd.a',\r\n 'text/vnd.abc',\r\n 'text/vnd.ascii-art',\r\n 'text/vnd.curl',\r\n 'text/vnd.debian.copyright',\r\n 'text/vnd.DMClientScript',\r\n 'text/vnd.dvb.subtitle',\r\n 'text/vnd.esmertec.theme-descriptor',\r\n 'text/vnd.ficlab.flt',\r\n 'text/vnd.fly',\r\n 'text/vnd.fmi.flexstor',\r\n 'text/vnd.gml',\r\n 'text/vnd.graphviz',\r\n 'text/vnd.hans',\r\n 'text/vnd.hgl',\r\n 'text/vnd.in3d.3dml',\r\n 'text/vnd.in3d.spot',\r\n 'text/vnd.IPTC.NewsML',\r\n 'text/vnd.IPTC.NITF',\r\n 'text/vnd.latex-z',\r\n 'text/vnd.motorola.reflex',\r\n 'text/vnd.ms-mediapackage',\r\n 'text/vnd.net2phone.commcenter.command',\r\n 'text/vnd.radisys.msml-basic-layout',\r\n 'text/vnd.senx.warpscript',\r\n 'text/vnd.si.uricatalogue',\r\n 'text/vnd.sun.j2me.app-descriptor',\r\n 'text/vnd.sosi',\r\n 'text/vnd.trolltech.linguist',\r\n 'text/vnd.wap.si',\r\n 'text/vnd.wap.sl',\r\n 'text/vnd.wap.wml',\r\n 'text/vnd.wap.wmlscript',\r\n 'text/vtt',\r\n 'text/xml',\r\n 'text/xml-external-parsed-entity',\r\n ];\r\n return textMimeTypes.indexOf(mimeType) > -1;\r\n}\r\n\r\nfunction getMimeType(mediaSrc: string): string {\r\n \r\n if(typeof(mediaSrc) == \"string\"){\r\n const mediaSrcParsed = mediaSrc.split('.');\r\n const extension = `.${mediaSrcParsed.pop()}`; \r\n return mimeTypes[extension];\r\n }else {\r\n return \"\";\r\n }\r\n}\r\n\r\nfunction getMediaType(mediaSrc: string): MediaType {\r\n const mimeType = getMimeType(mediaSrc);\r\n if (isImage(mimeType)) {\r\n return MediaType.Image;\r\n }\r\n if (isVideo(mimeType)) {\r\n return MediaType.Video;\r\n }\r\n if (isAudio(mimeType)) {\r\n return MediaType.Audio;\r\n }\r\n if (isText(mimeType)) {\r\n return MediaType.Text;\r\n }\r\n if (isPdf(mimeType)) {\r\n return MediaType.PDF;\r\n }\r\n return MediaType.Other;\r\n}\r\n\r\nfunction isHtmlSupportedVideo(src: string): boolean {\r\n const mimeType = getMimeType(src);\r\n const htmlSupportMimeType = ['video/mp4', 'video/webm', 'video/ogg'];\r\n return htmlSupportMimeType.indexOf(mimeType) > -1;\r\n}\r\n\r\nfunction isHtmlSupportedAudio(src: string): boolean {\r\n const mimeType = getMimeType(src);\r\n const htmlSupportAudioType = ['audio/mpeg', 'audio/ogg', 'audio/wav'];\r\n return htmlSupportAudioType.indexOf(mimeType) > -1;\r\n}\r\nexport { MediaType, getMediaType, isHtmlSupportedVideo, isHtmlSupportedAudio };\r\n","export default __webpack_public_path__ + \"static/media/audio.1f707379.svg\";","import { makeStyles } from '@material-ui/core';\r\nimport AudioSvg from 'assets/images/audio.svg';\r\nimport React, { ReactElement } from 'react';\r\n\r\nconst useStyles = makeStyles(() => ({\r\n logo: {\r\n width: '24px',\r\n height: '24px',\r\n objectFit: 'cover',\r\n },\r\n}));\r\n\r\nfunction Audio(): ReactElement {\r\n const classes: any = useStyles();\r\n return \"Audio;\r\n}\r\n\r\nexport default Audio;\r\n","export default __webpack_public_path__ + \"static/media/video.f984b7db.svg\";","import { makeStyles } from '@material-ui/core';\r\nimport VideoSVG from 'assets/images/video.svg';\r\nimport React, { ReactElement } from 'react';\r\n\r\nconst useStyles = makeStyles(() => ({\r\n logo: {\r\n width: '24px',\r\n height: '24px',\r\n objectFit: 'cover',\r\n },\r\n}));\r\n\r\nfunction Video(): ReactElement {\r\n const classes: any = useStyles();\r\n return \"Video;\r\n}\r\n\r\nexport default Video;\r\n","import { Box, Button, makeStyles } from '@material-ui/core';\r\nimport AttachmentIcon from '@material-ui/icons/Attachment';\r\nimport React, { ReactElement, useEffect } from 'react';\r\n\r\nimport PDFIcon from 'common/components/icons/pdf';\r\nimport TextIcon from 'common/components/icons/text';\r\nimport DownloadForOfflineIcon from '@mui/icons-material/DownloadForOffline';\r\nimport { getMediaType, isHtmlSupportedAudio, isHtmlSupportedVideo, MediaType } from 'common/utils/media-type';\r\n\r\nimport ImageModalContext from '../image-modal-context';\r\nimport AudioIcon from 'common/components/icons/audio';\r\nimport Video from 'common/components/icons/video';\r\nimport { Media } from 'common/models/media';\r\nimport BroadCastAPI from 'components/broadcast/api/broadcast-api-v2';\r\n\r\nconst useMessageMediaStyle = makeStyles(() => ({\r\n media: {\r\n marginBottom: 2,\r\n marginRight: 8,\r\n },\r\n thumb: {\r\n cursor: 'pointer',\r\n display: 'inline-flex',\r\n borderRadius: 2,\r\n border: '1px solid #eaeaea',\r\n width: 'auto',\r\n height: 100,\r\n padding: 4,\r\n boxSizing: 'border-box',\r\n },\r\n thumbInner: {\r\n display: 'flex',\r\n minWidth: 0,\r\n overflow: 'hidden',\r\n },\r\n img: {\r\n display: 'block',\r\n width: '100%',\r\n height: '100%',\r\n },\r\n}));\r\n\r\nfunction VideoMedia({ src }: { src: string }): React.ReactElement {\r\n if (isHtmlSupportedVideo(src)) {\r\n return (\r\n \r\n );\r\n }\r\n return } />;\r\n}\r\n\r\nfunction AudioMedia({ src }: { src: string }): React.ReactElement {\r\n if (isHtmlSupportedAudio(src)) {\r\n return (\r\n \r\n );\r\n }\r\n return } />;\r\n}\r\n\r\nfunction ImageMedia({ src }: { src: string }): React.ReactElement {\r\n const classes: any = useMessageMediaStyle();\r\n const { openImageModal } = React.useContext(ImageModalContext);\r\n function handleOnClick(event: any): void {\r\n openImageModal(src);\r\n }\r\n return (\r\n \r\n
        \r\n {src}\r\n
        \r\n
        \r\n );\r\n}\r\n\r\nfunction PDFMedia({ src }: { src: string }): React.ReactElement {\r\n return (\r\n }\r\n />\r\n );\r\n}\r\n\r\nfunction TextMedia({ src }: { src: string }): React.ReactElement {\r\n return } />;\r\n}\r\n\r\nfunction DownloadMedia({\r\n src,\r\n type = '',\r\n icon = ,\r\n}: {\r\n src: string;\r\n type: string;\r\n icon: React.ReactElement;\r\n}): React.ReactElement {\r\n // const [shortenedUrl, setShortenedUrl] = React.useState('');\r\n function handleOnClick(): void {\r\n window.open(src);\r\n }\r\n\r\n // useEffect(() => {\r\n // const convertUrl = async () => {\r\n // try {\r\n // // Perform async operations here\r\n // const url = await BroadCastAPI.shortenUrl(src);\r\n // setShortenedUrl(url);\r\n // } catch (error) {\r\n // setShortenedUrl(`Download ${type.toLocaleLowerCase()} attachment`);\r\n // console.error('Error:', error);\r\n // }\r\n // };\r\n // convertUrl(); // Call the async function immediately inside useEffect\r\n // }, []);\r\n\r\n function extractFileName(url:string):string {\r\n const urlParts = url.split('/');\r\n let fileName = urlParts[urlParts.length - 1];\r\n fileName = decodeURIComponent(fileName.replace(/\\+/g, ' '));\r\n return fileName;\r\n }\r\n\r\n return (\r\n \r\n );\r\n }\r\n\r\nexport function MessageMedia({ mediaSrc }: { mediaSrc: string | Media }): ReactElement {\r\n let mediaType = '';\r\n let url = '';\r\n if (typeof mediaSrc == 'string') {\r\n mediaType = getMediaType(mediaSrc);\r\n url = mediaSrc;\r\n } else {\r\n mediaType = getMediaType(mediaSrc.url);\r\n url = mediaSrc.url;\r\n }\r\n const mediaComponent: any = {\r\n [MediaType.Image]: ImageMedia,\r\n [MediaType.Video]: VideoMedia,\r\n [MediaType.Audio]: AudioMedia,\r\n [MediaType.Text]: TextMedia,\r\n [MediaType.PDF]: PDFMedia,\r\n [MediaType.Other]: DownloadMedia,\r\n };\r\n\r\n const MediaComponent = mediaComponent[mediaType];\r\n return {MediaComponent && };\r\n}\r\n\r\nexport default MessageMedia;\r\n\r\n\r\n","import { Box, makeStyles } from '@material-ui/core';\r\nimport { Theme } from '@material-ui/core/styles/createTheme';\r\nimport { Alert } from '@mui/material';\r\nimport moment from 'moment';\r\nimport React from 'react';\r\n\r\nconst useStyles = makeStyles((theme: Theme): any => ({\r\n mergeMessageAlert: {\r\n \"& .MuiAlert-icon\": {\r\n fontSize:'16px'\r\n }\r\n },\r\n}));\r\n\r\nfunction MergeTag({\r\n body,\r\n mergedUserName,\r\n dateMerged,\r\n}: {\r\n body: string;\r\n dateMerged: string;\r\n mergedUserName: string;\r\n}): React.ReactElement {\r\n const classes: any = useStyles();\r\n const formattedDateTime = moment.utc(dateMerged).local().format('M-D h:mm a');\r\n return (\r\n \r\n \r\n {body} by {mergedUserName} on {formattedDateTime}\r\n \r\n \r\n );\r\n}\r\n\r\nexport default MergeTag;\r\n","import React, { ReactElement, ReactNode, useEffect, useRef, useState, forwardRef, useImperativeHandle, Ref } from 'react';\r\nimport ScrollBar from 'react-perfect-scrollbar';\r\nimport 'react-perfect-scrollbar/dist/css/styles.css';\r\nimport { Media, Message } from '../../models/message';\r\nimport ImageModal from './image-modal';\r\nimport ImageModalContext from './image-modal-context';\r\nimport { Box, Button, capitalize, CircularProgress, Divider, Drawer, FormControl, Grid, IconButton, Link, makeStyles, Modal, Theme, Toolbar, Tooltip, Typography } from '@material-ui/core';\r\nimport Footer from './message-bubble/footer';\r\nimport MessageMedia from './message-bubble/media';\r\nimport VideocamIcon from '@mui/icons-material/Videocam';\r\nimport Linkify from 'react-linkify';\r\nimport { blue } from '@material-ui/core/colors';\r\nimport MessagingAPI, { GravityPaymentCancelOrVoid, GravityPaymentDetails, GravityPaymentMessageBody } from 'components/messaging/api/messaging-api';\r\nimport config from 'config';\r\nimport { useAppSelector } from 'app';\r\nimport { GetLink, GetVideoStream } from 'dmsAppsCallbacks';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\nimport Swal from 'sweetalert2';\r\nimport MergeTag from './message-bubble/merge-tag';\r\n\r\n\r\n\r\nconst useMessageBodyStyles = makeStyles((theme: Theme): any => ({\r\n \r\n root: {\r\n overflowWrap: 'break-word',\r\n textAlign: 'left',\r\n padding: theme.spacing(1),\r\n borderRadius: '14px',\r\n marginBottom: '1px',\r\n whiteSpace: 'break-spaces',\r\n '&&.left': {\r\n backgroundColor: '#EEE',\r\n marginLeft: theme.spacing(1),\r\n },\r\n '&&.right': {\r\n color: 'white',\r\n backgroundColor: blue[500],\r\n marginRight: theme.spacing(2),\r\n padding: theme.spacing(1),\r\n },\r\n '&&.survey': {\r\n backgroundColor: theme.messenger.surveyMessageBg,\r\n },\r\n '&&.broadcast': {\r\n backgroundColor: theme.messenger.broadcastMessageBg,\r\n },\r\n '&&.websitelead': {\r\n backgroundColor: theme.messenger.leadTextingMessageBg,\r\n },\r\n '&&.highlightedMessage': {\r\n backgroundColor: theme.messenger.highlightedMessageBg,\r\n }\r\n },\r\n\r\n header: {\r\n color: 'white',\r\n fontVariant: 'small-caps',\r\n marginBottom: '5px',\r\n fontWeight: 'bold',\r\n },\r\n link: {\r\n textDecoration: 'underline',\r\n '&&:hover': {\r\n color:'whitesmoke'\r\n },\r\n color:'powderblue',\r\n '&&.left': {\r\n color: 'blue',\r\n },\r\n '&&.right': {\r\n color: 'white',\r\n },\r\n },\r\n linkLeft: {\r\n textDecoration: 'underline',\r\n '&&:hover': {\r\n color:'darkblue'\r\n },\r\n color:'blue',\r\n '&&.left': {\r\n color: 'blue',\r\n },\r\n '&&.right': {\r\n color: 'white',\r\n },\r\n },\r\n broadcastLink: {\r\n color: 'white',\r\n textDecoration: 'underline'\r\n },\r\n mySwalPopup: {\r\n borderRadius: '10px !important',\r\n }\r\n}));\r\n\r\ntype MessageListType = {\r\n\r\n messageSid: string;\r\n pageNumber: number;\r\n totalPages: number;\r\n messagesList: Message[];\r\n scrollIndex: number;\r\n onScrollTop: () => void;\r\n onScrollBottom: () => void;\r\n\r\n}\r\n\r\nlet dollarUSLocale = Intl.NumberFormat(\"en-US\", {\r\n style: \"currency\",\r\n currency: \"USD\",\r\n useGrouping: true,\r\n minimumFractionDigits: 2,\r\n maximumFractionDigits: 2,\r\n}); // $148,000\r\n\r\nexport interface messageListRef {\r\n scrollToSelectedMessage(): void;\r\n}\r\n\r\nconst MessagesList = forwardRef((props: MessageListType, ref: Ref): ReactElement | null => {\r\n\r\n useImperativeHandle(ref, () => ({\r\n scrollToSelectedMessage() {\r\n }\r\n }));\r\n\r\n\r\n const appUrl = config.get('app.url');\r\n let { messageSid, messagesList, pageNumber, scrollIndex, onScrollTop, onScrollBottom, totalPages } = props;\r\n const [imageSrc, setImageSrc] = React.useState(undefined);\r\n const scrollBarRef = useRef(null);\r\n const scrollBarContainerRef = useRef(null);\r\n const [oldScrollTop, setOldScrollTop] = useState(0);\r\n const [oldScrollHeight, setOldScrollHeight] = useState(0);\r\n const isFetching = useRef(true);\r\n const [highlightClass, setHighlightCLass] = useState(true);\r\n const classes: any = useMessageBodyStyles();\r\n const [firstPage, setFirstPage] = useState(true);\r\n const myRef = useRef();\r\n const [textToPaySearch, setTextToPaySearch] = useState('');\r\n const [paymentDetails, setPaymentDetials] = useState(null);\r\n const [cancelPaymentLoader, setCancelPaymentLoader] = useState(false);\r\n const DmsCheck = (localStorage.getItem('Login_Source')?.toString() !== 'DMS_IDEAL' && localStorage.getItem('Login_Source')?.toString() !== 'DMS_INFINITY')\r\n \r\n const user = useAppSelector((state: any) => state.user);\r\n const executeScroll = () => {\r\n if (scrollBarContainerRef && scrollBarContainerRef.current) {\r\n scrollBarContainerRef.current.scrollTop = myRef.current.offsetTop - 50; //.scrollHeight; //.getBoundingClientRect().top + window.scrollY ;//scrollBarContainerRef.current.scrollHeight;\r\n scrollBarRef.current.updateScroll();\r\n isFetching.current = false;\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (scrollBarContainerRef && scrollBarContainerRef.current && scrollIndex === messagesList.length - 1) {\r\n scrollBarContainerRef.current.scrollTop = scrollBarContainerRef.current.scrollHeight;\r\n scrollBarRef.current.updateScroll();\r\n isFetching.current = false;\r\n }\r\n\r\n }, [messagesList.length, scrollBarContainerRef, scrollIndex]); //, // \r\n\r\n useEffect(() => {\r\n if (scrollIndex !== messagesList.length - 1 && scrollBarContainerRef.current.scrollHeight !== oldScrollHeight) {\r\n scrollBarContainerRef.current.scrollTop = oldScrollTop + (scrollBarContainerRef.current.scrollHeight - oldScrollHeight);\r\n scrollBarRef.current.updateScroll();\r\n scrollBarRef.current.scroll\r\n isFetching.current = false;\r\n }\r\n }, [messagesList.length, oldScrollHeight, oldScrollTop, scrollIndex]); //, //\r\n\r\n useEffect(() => {\r\n if (myRef && myRef.current) {\r\n setHighlightCLass(true);\r\n setTimeout(() => {\r\n setHighlightCLass(false);\r\n }, 2000);\r\n executeScroll();\r\n }\r\n }, [messageSid]);\r\n\r\n\r\n const onListEnd = (): void => {\r\n if (scrollBarContainerRef && scrollBarContainerRef.current) {\r\n const element = scrollBarContainerRef.current;\r\n const diff = element.scrollHeight - element.scrollTop;\r\n const { clientHeight } = element;\r\n const isAtBottom = diff >= clientHeight - 2 && diff <= clientHeight + 2;\r\n if (isAtBottom) {\r\n setFirstPage(false);\r\n onScrollBottom();\r\n }\r\n }\r\n };\r\n\r\n const onListTop = (): void => {\r\n if (scrollBarContainerRef && scrollBarContainerRef.current) {\r\n isFetching.current = true;\r\n const { current } = scrollBarContainerRef;\r\n setOldScrollTop(current.scrollTop);\r\n setOldScrollHeight(current.scrollHeight);\r\n setFirstPage(false);\r\n onScrollTop();\r\n }\r\n };\r\n \r\n const handleLinkClick = (decoratedHref: string ):any =>{\r\n if(localStorage.getItem('Login_Source')?.toString() === 'DMS_IDEAL' || localStorage.getItem('Login_Source')?.toString() === 'DMS_INFINITY') {\r\n GetLink(decoratedHref);\r\n }else{\r\n window.open(decoratedHref);\r\n }\r\n }\r\n\r\n function linkDecorator(decoratedHref: string, decoratedText: string, key: number,): ReactNode {\r\n return (\r\n handleLinkClick(decoratedHref)}\r\n className={`${classes.link}`} //${direction}\r\n key={key}>\r\n {decoratedText}\r\n \r\n );\r\n }\r\n function linkDecoratorReciever(decoratedHref: string, decoratedText: string, key: number,): ReactNode {\r\n return (\r\n handleLinkClick(decoratedHref)}\r\n className={`${classes.linkLeft}`} //${direction}\r\n key={key}>\r\n {decoratedText}\r\n \r\n );\r\n }\r\n\r\n function linkDecoratorWhite(decoratedHref: string, decoratedText: string, key: number): ReactNode {\r\n return (\r\n handleLinkClick(decoratedHref)}\r\n className={`${classes.broadcastLink} `} //${direction}\r\n key={key}>\r\n {decoratedText}\r\n \r\n );\r\n }\r\n\r\n function getVideoCallLink(conversationId: number,) {\r\n MessagingAPI.getVideoCallUrl(conversationId, user.crmUserId).then(res => {\r\n if (localStorage.getItem('Login_Source')?.toString() === 'DMS_IDEAL' || localStorage.getItem('Login_Source')?.toString() === 'DMS_INFINITY' ) {\r\n GetVideoStream(res);\r\n }\r\n else{\r\n window.open(res, '_blank');\r\n }\r\n });;\r\n }\r\n\r\n function ParsePayment(body: string, returnKey: string) {\r\n try {\r\n const obj = JSON.parse(body);\r\n let r = obj[returnKey];\r\n if (returnKey == 'Status') {\r\n if (r == undefined) r = \"\";\r\n }\r\n return r;\r\n }\r\n catch (err) {\r\n return body;\r\n }\r\n }\r\n\r\n function ParseUrlShortner(body: string, key: string) {\r\n const obj = JSON.parse(body);\r\n let val: string = obj[\"urlShortner\"];\r\n val = val.replace(\"https://trgt.io/\", \"\")\r\n setTextToPaySearch(val);\r\n }\r\n\r\n function GetPaymentBody(message: Message){\r\n if(!message) alert(`Invalid Data!\\n${JSON.stringify(message)}`);\r\n const PaymentData:GravityPaymentDetails ={\r\n conversationId:message.conversationId,\r\n dateCreated:(message.dateCreated ?? message.dateTime?.split('T')[0]) ,\r\n id:message.id,\r\n messageSid:(message.messageSid ?? ''),\r\n status:message.status,\r\n messageBody:JSON.parse(message.body)\r\n }\r\n setPaymentDetials(PaymentData);\r\n }\r\n \r\n function HandlePaymentCancel(payment: GravityPaymentDetails){\r\n const data:GravityPaymentCancelOrVoid = {\r\n conversationId:payment.conversationId,\r\n conversationMessageId:payment.id,\r\n paymentPageId:payment.messageBody.paymentPageId,\r\n transactionReferenceId:payment.messageBody.Id,\r\n messageSid:payment.messageSid,\r\n dealerId:payment.messageBody.dealerId\r\n }\r\n Swal.fire({\r\n title: 'Are you sure?',\r\n text: \"You want to cancel this payment!\",\r\n icon: 'warning',\r\n showCancelButton: true,\r\n confirmButtonColor: '#3085d6',\r\n cancelButtonColor: '#d33',\r\n confirmButtonText: 'Yes',\r\n cancelButtonText:'Close',\r\n width: '21em',\r\n customClass: { popup: `${classes.mySwalPopup}` },\r\n }).then(async (result) => {\r\n if (result.isConfirmed) {\r\n setCancelPaymentLoader(true);\r\n const response = await MessagingAPI.cancelGravityPayment(data);\r\n if(response){\r\n const messageIndex = messagesList.findIndex(x=>x.id === data.conversationMessageId && x.body.includes(data.paymentPageId));\r\n const message:Message = messagesList[messageIndex];\r\n if (message && message.body) {\r\n let messageBody:GravityPaymentMessageBody = (JSON.parse(message.body) as GravityPaymentMessageBody);\r\n if(message.messageType != 'PaymentCanceled' && messageBody.paymentStatus.toLowerCase() !== 'canceled'){\r\n messageBody.paymentStatus='Canceled'\r\n messagesList[messageIndex] = {...messagesList[messageIndex],messageType:'PaymentCanceled',body:JSON.stringify(messageBody)}\r\n }\r\n }\r\n Swal.fire({\r\n title: 'Canceled!',\r\n text: 'Your payment has been canceled.',\r\n icon: 'success',\r\n customClass: { popup: `${classes.mySwalPopup}` },\r\n })\r\n setPaymentDetials(null);\r\n setCancelPaymentLoader(false);\r\n }else{\r\n Swal.fire({\r\n title: 'Error!',\r\n text: 'Error occured while canceling.',\r\n icon: 'error',\r\n customClass: { popup: `${classes.mySwalPopup}` },\r\n }); \r\n setCancelPaymentLoader(false);\r\n }\r\n } \r\n })\r\n } \r\n\r\n return (\r\n setImageSrc(imgSrc) }}>\r\n {\r\n scrollBarContainerRef.current = ref;\r\n }}\r\n onYReachStart={onListTop}\r\n onYReachEnd={onListEnd}>\r\n {messagesList.map((message, index) => {\r\n\r\n const direction = message.direction === 'outbound-api' ? 'right' : 'left';\r\n let flexDirection = direction === 'right' ? 'flex-end' : 'flex-start';\r\n let hideBody = message.body === '' && message.mediaUrls && message.mediaUrls.length > 0 ? false : true;\r\n const isSurveyOrBroadcastMessage = ['Survey', 'Broadcast'].indexOf(message.messageType) > -1;\r\n const isLeadWidget = message.originType === 'Widget';\r\n const hasHeader = isSurveyOrBroadcastMessage || isLeadWidget;\r\n const title = isSurveyOrBroadcastMessage ? message.messageType : 'Website Lead';\r\n const additionalBgColor = hasHeader ? title.toLowerCase().replace(' ', '') : '';\r\n const isMergeMessage = 'MergedText' == message.messageType?true:false;\r\n // Archive Conversation is merged to chat by Tomi on 12/22/20220\r\n return (\r\n <>\r\n {isMergeMessage &&\r\n \r\n }\r\n {!isMergeMessage &&\r\n \r\n \r\n {hideBody && (\r\n <>\r\n {\r\n (message.messageType != \"VideoCall\" && message.messageType != 'PaymentSent' && message.messageType != 'PaymentReceived' && message.messageType != 'PaymentCanceled' && message.messageType != 'PaymentVoided') &&\r\n \r\n {hasHeader ? (\r\n \r\n {title}\r\n \r\n ) : null}\r\n \r\n {(message.messageSid === messageSid) &&\r\n
        \r\n {\r\n message.messageType == \"Broadcast\" ?\r\n {message.body}\r\n :\r\n {message.body}\r\n }\r\n
        \r\n }\r\n {\r\n !(message.messageSid === messageSid) &&\r\n <>\r\n {\r\n message.messageType === \"Broadcast\" ?\r\n {message.body}\r\n : direction !== 'right' ?\r\n {message.body}\r\n :\r\n {message.body}\r\n }\r\n \r\n }\r\n
        \r\n
        \r\n }\r\n {\r\n message.messageType == \"VideoCall\" &&\r\n \r\n \r\n \r\n \r\n Video Call\r\n \r\n \r\n \r\n \r\n Video call has started\r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n {message.messageType == 'PaymentSent' && (\r\n GetPaymentBody(message)}\r\n >\r\n \r\n Payment\r\n \r\n \r\n Amount: {dollarUSLocale.format(ParsePayment(message.body, 'amount'))}

        \r\n Memo: {ParsePayment(message.body, 'memo')}

        \r\n Status: {ParsePayment(message.body, 'paymentStatus') ?? 'N/A'}

        \r\n
        \r\n
        \r\n )}\r\n {message.messageType == 'PaymentReceived' && (\r\n GetPaymentBody(message)}\r\n >\r\n \r\n Payment {ParsePayment(message.body, 'status')}\r\n \r\n \r\n Amount: {dollarUSLocale.format(ParsePayment(message.body, 'amount'))}

        \r\n Amount Received: {dollarUSLocale.format(ParsePayment(message.body, 'amountReceived'))}

        \r\n Memo: {ParsePayment(message.body, 'memo')}

        \r\n Status: {(ParsePayment(message.body, 'paymentStatus')).replace('C', ' C') ?? 'N/A'}

        \r\n
        \r\n
        \r\n )}\r\n {message.messageType == 'PaymentVoided' && (\r\n \r\n \r\n Payment {ParsePayment(message.body, 'status')}\r\n \r\n \r\n Amount: {dollarUSLocale.format(ParsePayment(message.body, 'amount'))}

        \r\n Amount Received: {dollarUSLocale.format(ParsePayment(message.body, 'amountReceived'))}

        \r\n Memo: {ParsePayment(message.body, 'memo')}

        \r\n Status: {(ParsePayment(message.body, 'paymentStatus')).replace('C', ' C') ?? 'N/A'}

        \r\n
        \r\n \r\n )}\r\n {message.messageType == 'PaymentCanceled' && (\r\n \r\n \r\n Payment {ParsePayment(message.body, 'status')}\r\n \r\n \r\n Amount: {dollarUSLocale.format(ParsePayment(message.body, 'amount'))}

        \r\n Memo: {ParsePayment(message.body, 'memo')}

        \r\n Status: {ParsePayment(message.body, 'paymentStatus') ?? 'N/A'}

        \r\n
        \r\n \r\n )}\r\n \r\n )}\r\n \r\n {message.mediaUrls &&\r\n message.mediaUrls.map((mediaUrl: Media, i: number) => )}\r\n \r\n