{"version":3,"sources":["configVariables.ts","i18n.ts","apis/axiosJWTDecorator.ts","apis/messageListApi.ts","components/config.tsx","actions/index.ts","components/OverFlow/sentMessageOverflow.tsx","components/Messages/messages.tsx","components/OverFlow/draftMessageOverflow.tsx","components/DraftMessages/draftMessages.tsx","components/OverFlow/scheduledMessageOverflow.tsx","components/ScheduledMessages/ScheduledMessages.tsx","components/TabContainer/tabContainer.tsx","components/AdaptiveCard/adaptiveCard.ts","utility/imageutility.tsx","components/NewMessage/newMessage.tsx","components/ManageGroups/ManageGroups.tsx","components/StatusTaskModule/statusTaskModule.tsx","components/SendConfirmationTaskModule/sendConfirmationTaskModule.tsx","components/ErrorPage/errorPage.tsx","components/SignInPage/signInPage.tsx","components/SignInPage/signInSimpleStart.tsx","components/SignInPage/signInSimpleEnd.tsx","App.tsx","serviceWorker.ts","reducers/index.ts","index.tsx"],"names":["getBaseUrl","window","location","origin","i18n","use","Backend","initReactI18next","init","fallbackLng","interpolation","escapeValue","formatDate","date","moment","format","formatDuration","startDate","endDate","result","search","locale","URLSearchParams","get","difference","diff","totalDuration","duration","hh","Math","floor","asHours","slice","formatNumber","parseInt","utc","asMilliseconds","number","Number","toLocaleString","AxiosJWTDecorator","url","handleError","needAuthorizationHeader","config","this","setupAuthorizationHeader","axios","delete","data","post","put","error","hasOwnProperty","errorStatus","response","status","href","language","microsoftTeams","Promise","resolve","reject","authTokenRequest","successCallback","token","defaults","headers","failureCallback","console","resources","getAuthToken","axiosJWTDecoratorInstance","baseAxiosUrl","getSentNotifications","a","getChannelSentNotifications","channelId","getScheduledNotifications","getChannelScheduledNotifications","getDraftNotifications","getChannelDraftNotifications","verifyGroupAccess","getGroups","id","searchGroups","query","exportNotification","payload","getSentNotification","getDraftNotification","deleteDraftNotification","duplicateDraftNotification","sendDraftNotification","updateDraftNotification","createDraftNotification","createGroupAssociation","deleteGroupAssociation","key","getGroupAssociations","getChannelConfig","updateChannelConfig","getTeams","getAppSettings","getConsentSummaries","sendPreview","getAuthenticationConsentMetadata","windowLocationOriginDomain","login_hint","undefined","Configuration","props","localize","targetingEnabled","masterAdminUpns","isMasterAdmin","userUpn","ret","masterAdmins","toLowerCase","split","indexOf","renderTargetingMessage","isMaster","state","userPrincipalName","setValidityState","Label","circular","content","teamName","channelName","t","loading","setState","bind","registerOnSaveHandler","saveEvent","setSettings","entityId","contentUrl","suggestedDisplayName","notifySuccess","context","then","className","Loader","label","React","Component","configurationWithTranslation","withTranslation","getTargetingEnabled","getTeamsChannelId","selectMessage","message","type","getMessagesList","dispatch","teamsChannelId","notificationList","forEach","notification","sendingStartedDate","sentDate","getDraftMessagesList","getScheduledMessagesList","scheduledDate","Overflow","onOpenTaskModule","event","title","taskInfo","height","width","fallbackUrl","startTask","err","duplicateDraftMessage","menuOpen","items","icon","MoreIcon","outline","active","indicator","menu","onClick","stopPropagation","onMenuOpenChange","e","Menu","iconOnly","styles","overflowWithTranslation","connect","messagesList","Messages","interval","isOpenTaskModuleAllowed","processLabels","Flex","vAlign","fill","gap","Item","size","variables","grow","Text","truncated","weight","shrink","margin","renderSendingText","text","sentCount","succeeded","failed","unknown","totalMessageCount","messageContent","TooltipHost","calloutProps","gapSpace","AcceptIcon","xSpacing","CloseIcon","ExclamationCircleIcon","escFunction","keyCode","submitTask","loader","document","addEventListener","setInterval","removeEventListener","clearInterval","nextProps","keyCount","outList","map","allMessages","length","List","selectable","messagesWithTranslation","deleteDraftMessage","teamsTeamId","teamId","draftNotificationId","catch","messages","draftMessagesList","selectedMessage","DraftMessages","initializeIcons","itemsAccount","align","allDraftMessages","draftMessagesWithTranslation","scheduledMessagesList","ScheduledMessages","push","allScheduledMessages","ScheduledMessagesWithTranslation","TabContainer","onNewMessage","ManageGroups","strUrl","panels","column","hAlign","Button","primary","Accordion","defaultActiveIndex","tabContainerWithTranslation","AdaptiveCards","onProcessMarkdown","md","MarkdownIt","disable","outputHtml","render","didProcess","getInitAdaptiveCard","setCardTitle","card","body","setCardTarget","visibility","isVisible","setCardTargetTitle","setCardTargetImage","image","setCardImageLink","imageLink","setCardSummary","summary","setCardAuthor","author","setCardBtns","values","actions","ImageUtil","makeInitialImage","name","canvas","createElement","style","display","appendChild","getContext","colorNum","ColorHash","hex","fillStyle","fillRect","font","len","first","initials","fillText","toUpperCase","toDataURL","removeChild","hours","minutes","maxCardSize","NewMessage","fileInput","CSVfileInput","imageUploadBlobStorage","imageSize","GetChannelInfo","channelid","draftChannel","channelImage","channelTitle","handleUploadClick","errorImageUrlMessage","current","click","handleCSVUploadClick","csvLoaded","csvError","csvusers","makeDropdownItems","resultedTeams","element","header","mail","team","makeDropdownItemList","fromItems","dropdownItemList","find","x","setDefaultCard","titleAsString","summaryAsString","authorAsString","imgUrl","getTeamList","teams","setGroupAccess","groupAccess","getGroupData","groups","getItem","draftMessageDetail","csvMsg","selectedRadioButton","rosters","csvUsers","allUsers","teamsOptionSelected","selectedTeamsNum","rostersOptionSelected","selectedRostersNum","groupsOptionSelected","selectedGroupsNum","selectedRadioBtn","selectedTeams","selectedRosters","selectedGroups","selectedSchedule","isScheduled","selectedImportant","isImportant","csvOptionSelected","buttonTitle","buttonLink","buttons","JSON","parse","btnLink","btnTitle","allUsersOptionSelected","updateCard","getRoundedDate","d","Date","ms","roundedDate","ceil","getTime","getDateObject","datestring","TempDate","setTime","getDateHour","getHours","toString","padStart","getDateMins","getMinutes","handleDateChange","v","value","setMinutes","DMYMins","setHours","DMYHour","toUTCString","DMY","handleHourChange","handleMinsChange","onScheduleSelected","onImportantSelected","onGroupSelected","isSaveBtnDisabled","teamsSelectionIsValid","rostersSelectionIsValid","groupsSelectionIsValid","csvSelectionIsValid","nothingSelected","isNextBtnDisabled","errorButtonUrlMessage","getItems","remainingUserTeams","filter","findIndex","y","onTeamsChange","itemsData","MAX_SELECTED_TEAMS_NUM","onRostersChange","onGroupsChange","onGroupSearch","itemList","searchQuery","item","onGroupSearchQueryChange","noResultMessage","encodeURIComponent","onSchedule","Today","onSave","futuredate","selctedRosters","selectedCSV","draftMessage","messageId","ScheduledDate","Buttons","stringify","exists","editDraftMessage","postDraftMessage","onNext","page","onBack","onTitleChanged","showDefaultCard","target","onImageLinkChanged","startsWith","onSummaryChanged","onAuthorChanged","adaptiveCard","renderedCard","container","getElementsByClassName","firstChild","replaceWith","link","onExecuteAction","action","open","unstablePinned","handleImageSelection","handleCSVSelection","params","match","file","files","cardsize","that","reader","FileReader","readAsDataURL","onloadend","base64String","Resizer","imageFileResizer","uri","errormsg","Papa","complete","errors","csvfilesize","errorMessage","resultListItems","groupEmail","groupId","groupName","Input","placeholder","onChange","autoComplete","fluid","accept","ref","FilesUploadIcon","TextArea","autoFocus","disabled","AddIcon","addClick","createUI","RadioGroup","checkedValue","onCheckedValueChange","vertical","children","Dropdown","hidden","multiple","noResultsMessage","unstable_pinned","setAuthorizedGroupItems","getGroupItems","loadingMessage","onSearchQueryChange","debug","Checkbox","labelPosition","checked","toggle","Datepicker","defaultSelectedDate","minDate","inputOnly","onDateChange","defaultValue","secondary","el","i","handleChangeName","handleChangeLink","TrashCanIcon","removeClick","splice","newMessageWithTranslation","renderPage","background","minHeight","Layout","maxWidth","maxHeight","renderMainArea","Image","src","onChannelTitleChange","ArrowRightIcon","iconPosition","onAddGroups","groupAlreadyIncluded","allGroups","onClose","ChannelImage","ChannelId","ChannelTitle","UpdateChannelConfig","draftGroup","GroupId","GroupName","GroupEmail","some","saveGroup","getAllGroupsAssociated","deleteGroup","inputGroups","endMedia","onDeleteGroup","media","avatar","allGroupsNum","manageGroupsWithTranslation","StatusTaskModule","initMessage","sendingDuration","reads","onExport","classList","remove","getItemList","renderImportant","renderAudienceSelection","teamNames","rosterNames","groupNames","renderErrorMessage","renderWarningMessage","warningMessage","canDownload","sendingCompleted","DownloadIcon","StatusTaskModuleWithTranslation","SendConfirmationTaskModule","onSendMessage","renderCSV","sort","sendConfirmationTaskModuleWithTranslation","ErrorPage","useTranslation","parseErrorMessage","SignInPage","authenticate","log","reason","SignInSimpleStart","useEffect","replace","upn","assign","SignInSimpleEnd","hashParams","hash","substr","s","k","decodeURIComponent","getHashParameters","notifyFailure","App","setThemeComponent","rtl","dir","theme","Provider","teamsDarkTheme","getAppDom","teamsHighContrastTheme","teamsTheme","updateTheme","themeStyle","ThemeStyle","Dark","HighContrast","Light","baseFontSize","fallback","exact","path","component","forceUpdate","changeLanguage","updateLocale","Boolean","hostname","combineReducers","draftMessages","scheduledMessages","store","createStore","reducers","applyMiddleware","thunk","ReactDOM","getElementById","navigator","serviceWorker","ready","registration","unregister"],"mappings":"khBAGaA,EAAa,WACtB,OAAOC,OAAOC,SAASC,Q,qECS3BC,IAGGC,IAAIC,KAEJD,IAAIE,KAGFC,KAAK,CACNC,YAZO,QAaPC,cAAe,CACbC,aAAa,KAIZ,IAQMC,EAAa,SAACC,GACvB,OAAKA,EACEC,IAAOD,GAAME,OAAO,QADTF,GAITG,EAAiB,SAACC,EAAmBC,GAC9C,IAAIC,EAAS,GACPC,EAASnB,OAAOC,SAASkB,OAEzBC,EADS,IAAIC,gBAAgBF,GACbG,IAAI,WAnCnB,QAoCP,GAAIN,GAAaC,EAAS,CACtB,IAAMM,EAAaV,IAAOI,GAASO,KAAKX,IAAOG,IACzCS,EAAgBZ,IAAOa,SAASH,GAEhCI,GAAM,IAAMC,KAAKC,MAAMJ,EAAcK,YAAYC,OAAO,GAC9Db,EAASc,EAAaC,SAASN,IAAOd,IAAOqB,IAAIT,EAAcU,kBAAkBf,OAAOA,GAAQN,OAAO,UAE3G,OAAOI,GAGEc,EAAe,SAACI,GACzB,IAAMjB,EAASnB,OAAOC,SAASkB,OAEzBC,EADS,IAAIC,gBAAgBF,GACbG,IAAI,WAjDnB,QAkDP,OAAOe,OAAOD,GAAQE,eAAelB,IAG1BjB,IAAf,ECxDaoC,EAAb,0HACI,WACIC,GADJ,0FAEIC,IAFJ,iCAGIC,IAHJ,iCAIIC,EAJJ,iCAOYD,EAPZ,gCAQ2BE,KAAKC,yBAAyBF,GARzD,OAQYA,EARZ,+BAUqBG,IAAMxB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6U,EAAOjZ,QAEXsK,K,UCILsa,GAAQC,aAAYC,GAAUC,aAAgBC,OAEpDC,IAAS7Y,OACL,eAAC,KAAD,CAAUwY,MAAOA,GAAjB,SACI,eAAC,GAAD,MAEJ3b,SAASic,eAAe,SFyHtB,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAM7hB,MAAK,SAAA8hB,GACjCA,EAAaC,kB","file":"static/js/main.2002b050.chunk.js","sourcesContent":["// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nexport const getBaseUrl = (): string => {\r\n return window.location.origin;\r\n}\r\n","// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport i18n from 'i18next';\r\nimport { initReactI18next } from 'react-i18next';\r\nimport Backend from 'i18next-http-backend';\r\nimport moment from 'moment';\r\nimport 'moment/min/locales.min';\r\n\r\nexport const defaultLocale = () => {\r\n return 'en-US';\r\n} \r\n\r\ni18n\r\n // load translation using http -> see /public/locales (i.e. https://github.com/i18next/react-i18next/tree/master/example/react/public/locales)\r\n // learn more: https://github.com/i18next/i18next-http-backend\r\n .use(Backend)\r\n // pass the i18n instance to react-i18next.\r\n .use(initReactI18next)\r\n // init i18next\r\n // for all options read: https://www.i18next.com/overview/configuration-options\r\n .init({\r\n fallbackLng: defaultLocale(),\r\n interpolation: {\r\n escapeValue: false, // not needed for react as it escapes by default\r\n }\r\n });\r\n\r\nexport const updateLocale = () => {\r\n const search = window.location.search;\r\n const params = new URLSearchParams(search);\r\n const locale = params.get(\"locale\") || defaultLocale();\r\n i18n.changeLanguage(locale);\r\n moment.locale(locale);\r\n};\r\n\r\nexport const formatDate = (date: string) => {\r\n if (!date) return date;\r\n return moment(date).format('l LT');\r\n}\r\n\r\nexport const formatDuration = (startDate: string, endDate: string) => {\r\n let result = \"\";\r\n const search = window.location.search;\r\n const params = new URLSearchParams(search);\r\n const locale = params.get(\"locale\") || defaultLocale();\r\n if (startDate && endDate) {\r\n const difference = moment(endDate).diff(moment(startDate));\r\n const totalDuration = moment.duration(difference);\r\n // Handling the scenario of duration being more than 24 hrs as it is not done by moment.js.\r\n const hh = (\"0\" + Math.floor(totalDuration.asHours())).slice(-2);\r\n result = formatNumber(parseInt(hh)) + moment.utc(totalDuration.asMilliseconds()).locale(locale).format(\":mm:ss\")\r\n }\r\n return result;\r\n}\r\n\r\nexport const formatNumber = (number: any) => {\r\n const search = window.location.search;\r\n const params = new URLSearchParams(search);\r\n const locale = params.get(\"locale\") || defaultLocale();\r\n return Number(number).toLocaleString(locale);\r\n}\r\n\r\nexport default i18n;","// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport axios, { AxiosResponse, AxiosRequestConfig } from \"axios\";\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\nimport i18n from '../i18n';\r\n\r\nexport class AxiosJWTDecorator {\r\n public async get>(\r\n url: string,\r\n handleError: boolean = true,\r\n needAuthorizationHeader: boolean = true,\r\n config?: AxiosRequestConfig,\r\n ): Promise {\r\n try {\r\n if (needAuthorizationHeader) {\r\n config = await this.setupAuthorizationHeader(config);\r\n }\r\n return await axios.get(url, config);\r\n } catch (error) {\r\n if (handleError) {\r\n this.handleError(error);\r\n throw error;\r\n }\r\n else {\r\n throw error;\r\n }\r\n }\r\n }\r\n\r\n public async delete>(\r\n url: string,\r\n handleError: boolean = true,\r\n config?: AxiosRequestConfig\r\n ): Promise {\r\n try {\r\n config = await this.setupAuthorizationHeader(config);\r\n return await axios.delete(url, config);\r\n } catch (error) {\r\n if (handleError) {\r\n this.handleError(error);\r\n throw error;\r\n }\r\n else {\r\n throw error;\r\n }\r\n }\r\n }\r\n\r\n public async post>(\r\n url: string,\r\n data?: any,\r\n handleError: boolean = true,\r\n config?: AxiosRequestConfig\r\n ): Promise {\r\n try {\r\n config = await this.setupAuthorizationHeader(config);\r\n return await axios.post(url, data, config);\r\n } catch (error) {\r\n if (handleError) {\r\n this.handleError(error);\r\n throw error;\r\n }\r\n else {\r\n throw error;\r\n }\r\n }\r\n }\r\n\r\n public async put>(\r\n url: string,\r\n data?: any,\r\n handleError: boolean = true,\r\n config?: AxiosRequestConfig\r\n ): Promise {\r\n try {\r\n config = await this.setupAuthorizationHeader(config);\r\n return await axios.put(url, data, config);\r\n } catch (error) {\r\n if (handleError) {\r\n this.handleError(error);\r\n throw error;\r\n }\r\n else {\r\n throw error;\r\n }\r\n }\r\n }\r\n\r\n private handleError(error: any): void {\r\n if (error.hasOwnProperty(\"response\")) {\r\n const errorStatus = error.response.status;\r\n if (errorStatus === 403) {\r\n window.location.href = `/errorpage/403?locale=${i18n.language}`;\r\n } else if (errorStatus === 401) {\r\n window.location.href = `/errorpage/401?locale=${i18n.language}`;\r\n } else {\r\n window.location.href = `/errorpage?locale=${i18n.language}`;\r\n }\r\n } else {\r\n window.location.href = `/errorpage?locale=${i18n.language}`;\r\n }\r\n }\r\n\r\n private async setupAuthorizationHeader(\r\n config?: AxiosRequestConfig\r\n ): Promise {\r\n microsoftTeams.initialize();\r\n\r\n return new Promise((resolve, reject) => {\r\n const authTokenRequest = {\r\n successCallback: (token: string) => {\r\n if (!config) {\r\n config = axios.defaults;\r\n }\r\n config.headers[\"Authorization\"] = `Bearer ${token}`;\r\n config.headers[\"Accept-Language\"] = i18n.language;\r\n resolve(config);\r\n },\r\n failureCallback: (error: string) => {\r\n // When the getAuthToken function returns a \"resourceRequiresConsent\" error, \r\n // it means Azure AD needs the user's consent before issuing a token to the app. \r\n // The following code redirects the user to the \"Sign in\" page where the user can grant the consent. \r\n // Right now, the app redirects to the consent page for any error.\r\n console.error(\"Error from getAuthToken: \", error);\r\n window.location.href = `/signin?locale=${i18n.language}`;\r\n },\r\n resources: []\r\n };\r\n microsoftTeams.authentication.getAuthToken(authTokenRequest);\r\n });\r\n }\r\n}\r\n\r\nconst axiosJWTDecoratorInstance = new AxiosJWTDecorator();\r\nexport default axiosJWTDecoratorInstance;","// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport axios from './axiosJWTDecorator';\r\nimport { getBaseUrl } from '../configVariables';\r\n\r\nlet baseAxiosUrl = getBaseUrl() + '/api';\r\n\r\nexport const getSentNotifications = async (): Promise => {\r\n let url = baseAxiosUrl + \"/sentnotifications\";\r\n return await axios.get(url);\r\n}\r\n\r\nexport const getChannelSentNotifications = async (channelId: string): Promise => {\r\n let url = baseAxiosUrl + \"/sentnotifications/channel/\" + channelId;\r\n return await axios.get(url);\r\n}\r\n\r\nexport const getScheduledNotifications = async (): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications/scheduled\";\r\n return await axios.get(url);\r\n}\r\n\r\nexport const getChannelScheduledNotifications = async (channelId: string): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications/scheduled/channel/\" + channelId;\r\n return await axios.get(url);\r\n}\r\n\r\nexport const getDraftNotifications = async (): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications\";\r\n return await axios.get(url);\r\n}\r\n\r\nexport const getChannelDraftNotifications = async (channelId: string): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications/channel/\" + channelId;\r\n return await axios.get(url);\r\n}\r\n\r\nexport const verifyGroupAccess = async (): Promise => {\r\n let url = baseAxiosUrl + \"/groupdata/verifyaccess\";\r\n return await axios.get(url, false);\r\n}\r\n\r\nexport const getGroups = async (id: number): Promise => {\r\n let url = baseAxiosUrl + \"/groupdata/\" + id;\r\n return await axios.get(url);\r\n}\r\n\r\nexport const searchGroups = async (query: string): Promise => {\r\n let url = baseAxiosUrl + \"/groupdata/search/\" + query;\r\n return await axios.get(url);\r\n}\r\n\r\nexport const exportNotification = async(payload: {}): Promise => {\r\n let url = baseAxiosUrl + \"/exportnotification/export\";\r\n return await axios.put(url, payload);\r\n}\r\n\r\nexport const getSentNotification = async (id: number): Promise => {\r\n let url = baseAxiosUrl + \"/sentnotifications/\" + id;\r\n return await axios.get(url);\r\n}\r\n\r\nexport const getDraftNotification = async (id: number): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications/\" + id;\r\n return await axios.get(url);\r\n}\r\n\r\nexport const deleteDraftNotification = async (id: number): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications/\" + id;\r\n return await axios.delete(url);\r\n}\r\n\r\nexport const duplicateDraftNotification = async (id: number): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications/duplicates/\" + id;\r\n return await axios.post(url);\r\n}\r\n\r\nexport const sendDraftNotification = async (payload: {}): Promise => {\r\n let url = baseAxiosUrl + \"/sentnotifications\";\r\n return await axios.post(url, payload);\r\n}\r\n\r\nexport const updateDraftNotification = async (payload: {}): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications\";\r\n return await axios.put(url, payload);\r\n}\r\n\r\nexport const createDraftNotification = async (payload: {}): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications\";\r\n return await axios.post(url, payload);\r\n}\r\n\r\n//creates an association between a group and a channel (for targeting)\r\nexport const createGroupAssociation = async (payload: {}): Promise => {\r\n let url = baseAxiosUrl + \"/groupassociations\";\r\n return await axios.post(url, payload);\r\n}\r\n\r\n//deletes an association between a group and a channel (for targeting)\r\nexport const deleteGroupAssociation = async (key: string): Promise => {\r\n let url = baseAxiosUrl + \"/groupassociations/\" + key;\r\n return await axios.delete(url);\r\n}\r\n\r\n//gets all groups associated to a specific channel (for targeting)\r\nexport const getGroupAssociations = async (channelId: string): Promise => {\r\n let url = baseAxiosUrl + \"/groupassociations/\" + channelId;\r\n return await axios.get(url);\r\n}\r\n\r\nexport const getChannelConfig = async (channelId: string): Promise => {\r\n let url = baseAxiosUrl + \"/channels/\" + channelId;\r\n return await axios.get(url);\r\n}\r\n\r\nexport const updateChannelConfig = async (payload: {}): Promise => {\r\n let url = baseAxiosUrl + \"/channels\";\r\n return await axios.put(url, payload);\r\n}\r\n\r\nexport const getTeams = async (): Promise => {\r\n let url = baseAxiosUrl + \"/teamdata\";\r\n return await axios.get(url);\r\n}\r\n\r\nexport const getAppSettings = async (): Promise => {\r\n let url = baseAxiosUrl + \"/settings\";\r\n return await axios.get(url);\r\n}\r\n\r\nexport const getConsentSummaries = async (id: number): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications/consentSummaries/\" + id;\r\n return await axios.get(url);\r\n}\r\n\r\nexport const sendPreview = async (payload: {}): Promise => {\r\n let url = baseAxiosUrl + \"/draftnotifications/previews\";\r\n return await axios.post(url, payload);\r\n}\r\n\r\nexport const getAuthenticationConsentMetadata = async (windowLocationOriginDomain: string, login_hint: string): Promise => {\r\n let url = `${baseAxiosUrl}/authenticationMetadata/consentUrl?windowLocationOriginDomain=${windowLocationOriginDomain}&loginhint=${login_hint}`;\r\n return await axios.get(url, undefined, false);\r\n}\r\n","// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport React from 'react';\r\nimport { RouteComponentProps } from 'react-router-dom';\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\nimport { getBaseUrl } from '../configVariables';\r\nimport { getAppSettings } from \"../apis/messageListApi\";\r\nimport { Loader, Label } from '@fluentui/react-northstar';\r\nimport { withTranslation, WithTranslation } from \"react-i18next\";\r\nimport { TFunction } from \"i18next\";\r\n\r\nexport interface IConfigState {\r\n url: string;\r\n loading: boolean;\r\n channelId?: string;\r\n channelName?: string;\r\n teamName?: string;\r\n userPrincipalName?: string;\r\n}\r\n\r\nexport interface ConfigProps extends RouteComponentProps, WithTranslation {\r\n}\r\n\r\nclass Configuration extends React.Component {\r\n readonly localize: TFunction;\r\n targetingEnabled: boolean; // property to store value indicating if the targeting mode is enabled or not\r\n masterAdminUpns: string; // property to store value with the master admins\r\n constructor(props: ConfigProps) {\r\n super(props);\r\n this.localize = this.props.t;\r\n this.targetingEnabled = false; // by default targeting is disabled\r\n this.masterAdminUpns = \"\";\r\n this.state = {\r\n url: getBaseUrl() + \"/messages?locale={locale}\",\r\n loading: true,\r\n channelId: \"\",\r\n channelName: \"\",\r\n teamName: \"\",\r\n userPrincipalName: \"\"\r\n }\r\n }\r\n\r\n public componentDidMount() {\r\n const setState = this.setState.bind(this);\r\n microsoftTeams.initialize();\r\n\r\n microsoftTeams.settings.registerOnSaveHandler((saveEvent) => {\r\n microsoftTeams.settings.setSettings({\r\n entityId: \"Company_Communicator_App\",\r\n contentUrl: this.state.url,\r\n suggestedDisplayName: \"Company Communicator\",\r\n });\r\n saveEvent.notifySuccess();\r\n });\r\n\r\n // get teams context variables and store in the state\r\n microsoftTeams.getContext(context => {\r\n setState({\r\n channelId: context.channelId,\r\n channelName: context.channelName,\r\n teamName: context.teamName,\r\n userPrincipalName: context.userPrincipalName\r\n });\r\n });\r\n\r\n // get the app settings and based on the targeting configuration and user id \r\n // decides if the save is enabled or not\r\n this.getAppSettings().then(() => {\r\n setState({ loading: false });\r\n });\r\n }\r\n\r\n public render(): JSX.Element {\r\n return (\r\n
\r\n {(this.state.loading) &&\r\n }\r\n {(!this.state.loading) && this.renderTargetingMessage()}\r\n
\r\n );\r\n }\r\n\r\n //returns true if the userUpn is listed on masterAdminUpns\r\n private isMasterAdmin = (masterAdminUpns: string, userUpn?: string) => {\r\n var ret = false; // default return value\r\n var masterAdmins = masterAdminUpns.toLowerCase().split(/;|,/); //splits the string and convert to lowercase\r\n\r\n //if we get a userUpn as parameter\r\n if (userUpn) {\r\n //gets the index of the user on the master admin array\r\n if (masterAdmins.indexOf(userUpn.toLowerCase()) >= 0) { ret = true; }\r\n }\r\n\r\n return ret;\r\n }\r\n\r\n\r\n // get the app configuration values and set targeting mode from app settings\r\n private getAppSettings = async () => {\r\n let response = await getAppSettings();\r\n if (response.data) {\r\n this.targetingEnabled = (response.data.targetingEnabled === 'true'); //get the targetingenabled value\r\n this.masterAdminUpns = response.data.masterAdminUpns; //get the array of master admins\r\n }\r\n }\r\n\r\n // renders the message based on targeting configuration\r\n private renderTargetingMessage = () => {\r\n var isMaster = this.isMasterAdmin(this.masterAdminUpns, this.state.userPrincipalName);\r\n // check if targeting is enabled\r\n if (this.targetingEnabled) {\r\n if (isMaster) {\r\n //enables the teams save button if the user is master admin\r\n microsoftTeams.settings.setValidityState(true);\r\n return (\r\n
\r\n

{this.localize(\"TargetingConfig\")}

\r\n

{this.localize(\"TargetingTeamChannel\")}

\r\n
\r\n )\r\n }\r\n else { //user is not a master admin\r\n return (\r\n
\r\n

{this.localize(\"TargetingNotAuthorized\")}

\r\n
\r\n )\r\n }\r\n\r\n } else {\r\n //enables the teams save button when targeting is not enabled\r\n microsoftTeams.settings.setValidityState(true);\r\n return (\r\n
\r\n

{this.localize(\"ConfigSave\")}

\r\n
\r\n )\r\n }\r\n }\r\n\r\n}\r\n\r\nconst configurationWithTranslation = withTranslation()(Configuration);\r\nexport default configurationWithTranslation;","// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport { formatDate } from '../i18n';\r\nimport {\r\n getAppSettings, getSentNotifications, getChannelSentNotifications, getDraftNotifications,\r\n getChannelDraftNotifications, getChannelScheduledNotifications, getScheduledNotifications\r\n} from '../apis/messageListApi';\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\n\r\ntype Notification = {\r\n createdDateTime: string,\r\n failed: number,\r\n id: string,\r\n isCompleted: boolean,\r\n sentDate: string,\r\n sendingStartedDate: string,\r\n sendingDuration: string,\r\n succeeded: number,\r\n throttled: number,\r\n title: string,\r\n totalMessageCount: number,\r\n scheduledDate: string,\r\n}\r\n\r\n//async function to get configuration values from Azure\r\nasync function getTargetingEnabled() {\r\n var response = await getAppSettings();\r\n var targetingEnabled = false;\r\n\r\n if (response.data) {\r\n targetingEnabled = (response.data.targetingEnabled === 'true'); //get the targetingenabled value\r\n }\r\n\r\n return targetingEnabled;\r\n}\r\n\r\n//function to return the Teams Channel ID\r\nfunction getTeamsChannelId(): any {\r\n return new Promise((resolve) => {\r\n microsoftTeams.getContext(context => {\r\n resolve(context.channelId);\r\n });\r\n });\r\n}\r\n\r\n//select a message\r\nexport const selectMessage = (message: any) => {\r\n return {\r\n type: 'MESSAGE_SELECTED',\r\n payload: message\r\n };\r\n};\r\n\r\n//get the list of sent messages\r\nexport const getMessagesList = () => async (dispatch: any) => {\r\n var response; //response\r\n //get control values to decide about targeting behavior\r\n var targetingEnabled = await getTargetingEnabled();\r\n var teamsChannelId = await getTeamsChannelId();\r\n\r\n //in case of targeting is enabled, returns list filtered by channel id\r\n if (targetingEnabled) {\r\n response = await getChannelSentNotifications(teamsChannelId); //need to change\r\n }\r\n else {\r\n response = await getSentNotifications();\r\n }\r\n\r\n //coverts the response into a list\r\n const notificationList: Notification[] = response.data;\r\n\r\n //format dates in the list\r\n notificationList.forEach(notification => {\r\n notification.sendingStartedDate = formatDate(notification.sendingStartedDate);\r\n notification.sentDate = formatDate(notification.sentDate);\r\n });\r\n\r\n //dispatch the payload\r\n dispatch({ type: 'FETCH_MESSAGES', payload: notificationList });\r\n};\r\n\r\n//get the list of draft messages based on targeting. if disabled, all drafts are returned. if enabled list is filtered by channel id.\r\nexport const getDraftMessagesList = () => async (dispatch: any) => {\r\n var response; //response\r\n\r\n //get control values to decide about targeting behavior\r\n var targetingEnabled = await getTargetingEnabled();\r\n var teamsChannelId = await getTeamsChannelId();\r\n\r\n //in case of targeting is enabled, returns list filtered by channel id\r\n if (targetingEnabled) {\r\n response = await getChannelDraftNotifications(teamsChannelId);\r\n }\r\n else { //targeting disabled, all draft messages are returned\r\n response = await getDraftNotifications();\r\n }\r\n\r\n //dispatch the payload\r\n dispatch({ type: 'FETCH_DRAFTMESSAGES', payload: response.data });\r\n};\r\n\r\n//gets the list of scheduled messages based on targeting. if disabled, all scheduled drafts are returned. if enabled, list is filtered by channel id.\r\nexport const getScheduledMessagesList = () => async (dispatch: any) => {\r\n var response; //response\r\n\r\n //get control values to decide about targeting behavior\r\n var targetingEnabled = await getTargetingEnabled();\r\n var teamsChannelId = await getTeamsChannelId();\r\n\r\n //in case of targeting is enabled, returns list filtered by channel id\r\n if (targetingEnabled) {\r\n response = await getChannelScheduledNotifications(teamsChannelId);\r\n }\r\n else {\r\n response = await getScheduledNotifications();\r\n }\r\n\r\n //coverts the response into a list\r\n const notificationList: Notification[] = response.data;\r\n\r\n //format dates in the list\r\n notificationList.forEach(notification => {\r\n notification.scheduledDate = formatDate(notification.scheduledDate);\r\n });\r\n\r\n //dispatch the list\r\n dispatch({ type: 'FETCH_SCHEDULEDMESSAGES', payload: notificationList });\r\n};","// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withTranslation, WithTranslation } from \"react-i18next\";\r\nimport { Menu, MoreIcon } from '@fluentui/react-northstar';\r\nimport { getBaseUrl } from '../../configVariables';\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\nimport { duplicateDraftNotification } from '../../apis/messageListApi';\r\nimport { selectMessage, getMessagesList, getDraftMessagesList } from '../../actions';\r\nimport { TFunction } from \"i18next\";\r\n\r\nexport interface OverflowProps extends WithTranslation {\r\n message?: any;\r\n styles?: object;\r\n title?: string;\r\n selectMessage?: any;\r\n getMessagesList?: any;\r\n getDraftMessagesList?: any;\r\n}\r\n\r\nexport interface OverflowState {\r\n menuOpen: boolean;\r\n}\r\n\r\nexport interface ITaskInfo {\r\n title?: string;\r\n height?: number;\r\n width?: number;\r\n url?: string;\r\n card?: string;\r\n fallbackUrl?: string;\r\n completionBotId?: string;\r\n}\r\n\r\nclass Overflow extends React.Component {\r\n readonly localize: TFunction;\r\n constructor(props: OverflowProps) {\r\n super(props);\r\n this.localize = this.props.t;\r\n this.state = {\r\n menuOpen: false,\r\n };\r\n }\r\n\r\n public componentDidMount() {\r\n microsoftTeams.initialize();\r\n }\r\n\r\n public render(): JSX.Element {\r\n const items = [\r\n {\r\n key: 'more',\r\n icon: ,\r\n menuOpen: this.state.menuOpen,\r\n active: this.state.menuOpen,\r\n indicator: false,\r\n menu: {\r\n items: [\r\n {\r\n key: 'status',\r\n content: this.localize(\"ViewStatus\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n let url = getBaseUrl() + \"/viewstatus/\" + this.props.message.id + \"?locale={locale}\";\r\n this.onOpenTaskModule(null, url, this.localize(\"ViewStatus\"));\r\n }\r\n },\r\n {\r\n key: 'duplicate',\r\n content: this.localize(\"Duplicate\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n this.duplicateDraftMessage(this.props.message.id).then(() => {\r\n this.props.getDraftMessagesList();\r\n });\r\n }\r\n },\r\n ],\r\n },\r\n onMenuOpenChange: (e: any, { menuOpen }: any) => {\r\n this.setState({\r\n menuOpen: menuOpen\r\n });\r\n },\r\n },\r\n ];\r\n\r\n return ;\r\n }\r\n\r\n private onOpenTaskModule = (event: any, url: string, title: string) => {\r\n let taskInfo: ITaskInfo = {\r\n url: url,\r\n title: title,\r\n height: 530,\r\n width: 1000,\r\n fallbackUrl: url,\r\n };\r\n let submitHandler = (err: any, result: any) => {\r\n };\r\n microsoftTeams.tasks.startTask(taskInfo, submitHandler);\r\n }\r\n\r\n private duplicateDraftMessage = async (id: number) => {\r\n try {\r\n await duplicateDraftNotification(id);\r\n } catch (error) {\r\n return error;\r\n }\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return { messagesList: state.messagesList };\r\n}\r\n\r\nconst overflowWithTranslation = withTranslation()(Overflow);\r\nexport default connect(mapStateToProps, { selectMessage, getMessagesList, getDraftMessagesList })(overflowWithTranslation);\r\n","// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withTranslation, WithTranslation } from \"react-i18next\";\r\nimport { TooltipHost } from 'office-ui-fabric-react';\r\nimport { Loader, List, Flex, Text, AcceptIcon, CloseIcon, ExclamationCircleIcon } from '@fluentui/react-northstar';\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\n\r\nimport { selectMessage, getMessagesList, getDraftMessagesList } from '../../actions';\r\nimport { getBaseUrl } from '../../configVariables';\r\nimport Overflow from '../OverFlow/sentMessageOverflow';\r\nimport './messages.scss';\r\nimport { TFunction } from \"i18next\";\r\nimport { formatNumber } from '../../i18n';\r\n\r\nexport interface ITaskInfo {\r\n title?: string;\r\n height?: number;\r\n width?: number;\r\n url?: string;\r\n card?: string;\r\n fallbackUrl?: string;\r\n completionBotId?: string;\r\n}\r\n\r\nexport interface IMessage {\r\n title: string;\r\n sentDate: string;\r\n recipients: string;\r\n acknowledgements?: string;\r\n reactions?: string;\r\n responses?: string;\r\n}\r\n\r\nexport interface IMessageProps extends WithTranslation {\r\n messagesList: IMessage[];\r\n selectMessage?: any;\r\n getMessagesList?: any;\r\n getDraftMessagesList?: any;\r\n}\r\n\r\nexport interface IMessageState {\r\n message: IMessage[];\r\n loader: boolean;\r\n}\r\n\r\nclass Messages extends React.Component {\r\n readonly localize: TFunction;\r\n private interval: any;\r\n private isOpenTaskModuleAllowed: boolean;\r\n constructor(props: IMessageProps) {\r\n super(props);\r\n this.localize = this.props.t;\r\n this.isOpenTaskModuleAllowed = true;\r\n this.state = {\r\n message: this.props.messagesList,\r\n loader: true,\r\n };\r\n this.escFunction = this.escFunction.bind(this);\r\n }\r\n\r\n public componentDidMount() {\r\n microsoftTeams.initialize();\r\n this.props.getMessagesList();\r\n document.addEventListener(\"keydown\", this.escFunction, false);\r\n this.interval = setInterval(() => {\r\n this.props.getMessagesList();\r\n }, 60000);\r\n }\r\n\r\n public componentWillUnmount() {\r\n document.removeEventListener(\"keydown\", this.escFunction, false);\r\n clearInterval(this.interval);\r\n }\r\n\r\n public componentWillReceiveProps(nextProps: any) {\r\n if (this.props !== nextProps) {\r\n this.setState({\r\n message: nextProps.messagesList,\r\n loader: false\r\n });\r\n }\r\n }\r\n\r\n public render(): JSX.Element {\r\n let keyCount = 0;\r\n const processItem = (message: any) => {\r\n keyCount++;\r\n const out = {\r\n key: keyCount,\r\n content: this.messageContent(message),\r\n onClick: (): void => {\r\n let url = getBaseUrl() + \"/viewstatus/\" + message.id + \"?locale={locale}\";\r\n this.onOpenTaskModule(null, url, this.localize(\"ViewStatus\"));\r\n },\r\n styles: { margin: '0.2rem 0.2rem 0 0' },\r\n };\r\n return out;\r\n };\r\n\r\n const label = this.processLabels();\r\n const outList = this.state.message.map(processItem);\r\n const allMessages = [...label, ...outList];\r\n\r\n if (this.state.loader) {\r\n return (\r\n \r\n );\r\n } else if (this.state.message.length === 0) {\r\n return (
{this.localize(\"EmptySentMessages\")}
);\r\n }\r\n else {\r\n return (\r\n \r\n );\r\n }\r\n }\r\n\r\n private processLabels = () => {\r\n const out = [{\r\n key: \"labels\",\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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ),\r\n styles: { margin: '0.2rem 0.2rem 0 0' },\r\n }];\r\n return out;\r\n }\r\n\r\n private renderSendingText = (message: any) => {\r\n var text = \"\";\r\n switch (message.status) {\r\n case \"Queued\":\r\n text = this.localize(\"Queued\");\r\n break;\r\n case \"SyncingRecipients\":\r\n text = this.localize(\"SyncingRecipients\");\r\n break;\r\n case \"InstallingApp\":\r\n text = this.localize(\"InstallingApp\");\r\n break;\r\n case \"Sending\":\r\n let sentCount =\r\n (message.succeeded ? message.succeeded : 0) +\r\n (message.failed ? message.failed : 0) +\r\n (message.unknown ? message.unknown : 0);\r\n\r\n text = this.localize(\"SendingMessages\", { \"SentCount\": formatNumber(sentCount), \"TotalCount\": formatNumber(message.totalMessageCount) });\r\n break;\r\n case \"Sent\":\r\n case \"Failed\":\r\n text = \"\";\r\n }\r\n\r\n return ();\r\n }\r\n\r\n private messageContent = (message: any) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.renderSendingText(message)}\r\n \r\n \r\n
\r\n \r\n \r\n {formatNumber(message.succeeded)}\r\n \r\n \r\n \r\n {formatNumber(message.failed)}\r\n \r\n {\r\n message.unknown &&\r\n \r\n \r\n {formatNumber(message.unknown)}\r\n \r\n }\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n\r\n private escFunction = (event: any) => {\r\n if (event.keyCode === 27 || (event.key === \"Escape\")) {\r\n microsoftTeams.tasks.submitTask();\r\n }\r\n }\r\n\r\n public onOpenTaskModule = (event: any, url: string, title: string) => {\r\n if (this.isOpenTaskModuleAllowed) {\r\n this.isOpenTaskModuleAllowed = false;\r\n let taskInfo: ITaskInfo = {\r\n url: url,\r\n title: title,\r\n height: 530,\r\n width: 1000,\r\n fallbackUrl: url,\r\n }\r\n\r\n let submitHandler = (err: any, result: any) => {\r\n this.isOpenTaskModuleAllowed = true;\r\n };\r\n\r\n microsoftTeams.tasks.startTask(taskInfo, submitHandler);\r\n }\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return { messagesList: state.messagesList };\r\n}\r\n\r\nconst messagesWithTranslation = withTranslation()(Messages);\r\nexport default connect(mapStateToProps, { selectMessage, getMessagesList, getDraftMessagesList })(messagesWithTranslation);","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withTranslation, WithTranslation } from \"react-i18next\";\r\nimport { Menu, MoreIcon } from '@fluentui/react-northstar';\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\n\r\nimport { getBaseUrl } from '../../configVariables';\r\nimport { selectMessage, getMessagesList, getDraftMessagesList } from '../../actions';\r\nimport { deleteDraftNotification, duplicateDraftNotification, sendPreview } from '../../apis/messageListApi';\r\nimport { TFunction } from \"i18next\";\r\n\r\nexport interface OverflowProps extends WithTranslation {\r\n message: any;\r\n styles?: object;\r\n title?: string;\r\n selectMessage?: any;\r\n getMessagesList?: any;\r\n getDraftMessagesList?: any;\r\n}\r\n\r\nexport interface OverflowState {\r\n teamsTeamId?: string;\r\n teamsChannelId?: string;\r\n menuOpen: boolean;\r\n}\r\n\r\nexport interface ITaskInfo {\r\n title?: string;\r\n height?: number;\r\n width?: number;\r\n url?: string;\r\n card?: string;\r\n fallbackUrl?: string;\r\n completionBotId?: string;\r\n}\r\n\r\nclass Overflow extends React.Component {\r\n readonly localize: TFunction;\r\n constructor(props: OverflowProps) {\r\n super(props);\r\n this.localize = this.props.t;\r\n this.state = {\r\n teamsChannelId: '',\r\n teamsTeamId: '',\r\n menuOpen: false,\r\n };\r\n }\r\n\r\n public componentDidMount() {\r\n microsoftTeams.initialize();\r\n microsoftTeams.getContext((context) => {\r\n this.setState({\r\n teamsTeamId: context.teamId,\r\n teamsChannelId: context.channelId,\r\n });\r\n });\r\n }\r\n\r\n public render(): JSX.Element {\r\n const items = [\r\n {\r\n key: 'more',\r\n icon: ,\r\n menuOpen: this.state.menuOpen,\r\n active: this.state.menuOpen,\r\n indicator: false,\r\n menu: {\r\n items: [\r\n {\r\n key: 'send',\r\n content: this.localize(\"Send\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n let url = getBaseUrl() + \"/sendconfirmation/\" + this.props.message.id + \"?locale={locale}\";\r\n this.onOpenTaskModule(null, url, this.localize(\"SendConfirmation\"));\r\n }\r\n },\r\n {\r\n key: 'preview',\r\n content: this.localize(\"PreviewInThisChannel\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n let payload = {\r\n draftNotificationId: this.props.message.id,\r\n teamsTeamId: this.state.teamsTeamId,\r\n teamsChannelId: this.state.teamsChannelId,\r\n }\r\n sendPreview(payload).then((response) => {\r\n return response.status;\r\n }).catch((error) => {\r\n return error;\r\n });\r\n }\r\n },\r\n {\r\n key: 'edit',\r\n content: this.localize(\"Edit\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n let url = getBaseUrl() + \"/newmessage/\" + this.props.message.id + \"?locale={locale}\";\r\n this.onOpenTaskModule(null, url, this.localize(\"EditMessage\"));\r\n }\r\n },\r\n {\r\n key: 'duplicate',\r\n content: this.localize(\"Duplicate\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n this.duplicateDraftMessage(this.props.message.id).then(() => {\r\n this.props.getDraftMessagesList();\r\n });\r\n }\r\n },\r\n {\r\n key: 'delete',\r\n content: this.localize(\"Delete\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n this.deleteDraftMessage(this.props.message.id).then(() => {\r\n this.props.getDraftMessagesList();\r\n });\r\n }\r\n },\r\n ],\r\n },\r\n onMenuOpenChange: (e: any, { menuOpen }: any) => {\r\n this.setState({\r\n menuOpen: menuOpen\r\n });\r\n },\r\n },\r\n ];\r\n\r\n return ;\r\n }\r\n\r\n private onOpenTaskModule = (event: any, url: string, title: string) => {\r\n let taskInfo: ITaskInfo = {\r\n url: url,\r\n title: title,\r\n height: 530,\r\n width: 1000,\r\n fallbackUrl: url,\r\n };\r\n\r\n let submitHandler = (err: any, result: any) => {\r\n this.props.getDraftMessagesList().then(() => {\r\n this.props.getMessagesList();\r\n });\r\n };\r\n\r\n microsoftTeams.tasks.startTask(taskInfo, submitHandler);\r\n }\r\n\r\n private duplicateDraftMessage = async (id: number) => {\r\n try {\r\n await duplicateDraftNotification(id);\r\n } catch (error) {\r\n return error;\r\n }\r\n }\r\n\r\n private deleteDraftMessage = async (id: number) => {\r\n try {\r\n await deleteDraftNotification(id);\r\n } catch (error) {\r\n return error;\r\n }\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return { messages: state.draftMessagesList, selectedMessage: state.selectedMessage };\r\n}\r\n\r\nconst overflowWithTranslation = withTranslation()(Overflow);\r\nexport default connect(mapStateToProps, { selectMessage, getDraftMessagesList, getMessagesList })(overflowWithTranslation);","// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withTranslation, WithTranslation } from \"react-i18next\";\r\nimport { initializeIcons } from 'office-ui-fabric-react/lib/Icons';\r\nimport { Loader, List, Flex, Text } from '@fluentui/react-northstar';\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\nimport './draftMessages.scss';\r\nimport { selectMessage, getDraftMessagesList, getScheduledMessagesList, getMessagesList } from '../../actions';\r\nimport { getBaseUrl } from '../../configVariables';\r\nimport Overflow from '../OverFlow/draftMessageOverflow';\r\nimport { TFunction } from \"i18next\";\r\n\r\nexport interface ITaskInfo {\r\n title?: string;\r\n height?: number;\r\n width?: number;\r\n url?: string;\r\n card?: string;\r\n fallbackUrl?: string;\r\n completionBotId?: string;\r\n}\r\n\r\nexport interface IMessage {\r\n id: string;\r\n title: string;\r\n date: string;\r\n recipients: string;\r\n acknowledgements?: string;\r\n reactions?: string;\r\n responses?: string;\r\n}\r\n\r\nexport interface IMessageProps extends WithTranslation {\r\n messages: IMessage[];\r\n selectedMessage: any;\r\n selectMessage?: any;\r\n getDraftMessagesList?: any;\r\n getScheduledMessagesList?: any;\r\n getMessagesList?: any;\r\n}\r\n\r\nexport interface IMessageState {\r\n message: IMessage[];\r\n itemsAccount: number;\r\n loader: boolean;\r\n teamsTeamId?: string;\r\n teamsChannelId?: string;\r\n}\r\n\r\nclass DraftMessages extends React.Component {\r\n readonly localize: TFunction;\r\n private interval: any;\r\n private isOpenTaskModuleAllowed: boolean;\r\n targetingEnabled: boolean; // property to store value indicating if the targeting mode is enabled or not\r\n masterAdminUpns: string; // property to store value with the master admins\r\n\r\n constructor(props: IMessageProps) {\r\n super(props);\r\n initializeIcons();\r\n this.localize = this.props.t;\r\n this.isOpenTaskModuleAllowed = true;\r\n this.targetingEnabled = false; // by default targeting is disabled\r\n this.masterAdminUpns = \"\";\r\n this.state = {\r\n message: props.messages,\r\n itemsAccount: this.props.messages.length,\r\n loader: true,\r\n teamsTeamId: \"\",\r\n teamsChannelId: \"\",\r\n };\r\n }\r\n\r\n public componentDidMount() {\r\n microsoftTeams.initialize();\r\n microsoftTeams.getContext((context) => {\r\n this.setState({\r\n teamsTeamId: context.teamId,\r\n teamsChannelId: context.channelId,\r\n });\r\n });\r\n this.props.getDraftMessagesList();\r\n this.interval = setInterval(() => {\r\n this.props.getDraftMessagesList();\r\n }, 60000);\r\n }\r\n\r\n public componentWillReceiveProps(nextProps: any) {\r\n this.setState({\r\n message: nextProps.messages,\r\n loader: false\r\n })\r\n }\r\n\r\n public componentWillUnmount() {\r\n clearInterval(this.interval);\r\n }\r\n\r\n public render(): JSX.Element {\r\n let keyCount = 0;\r\n const processItem = (message: any) => {\r\n keyCount++;\r\n const out = {\r\n key: keyCount,\r\n content: (\r\n \r\n \r\n {message.title}\r\n \r\n \r\n \r\n \r\n \r\n ),\r\n styles: { margin: '0.2rem 0.2rem 0 0' },\r\n onClick: (): void => {\r\n let url = getBaseUrl() + \"/newmessage/\" + message.id + \"?locale={locale}\";\r\n this.onOpenTaskModule(null, url, this.localize(\"EditMessage\"));\r\n },\r\n };\r\n return out;\r\n };\r\n\r\n const label = this.processLabels();\r\n const outList = this.state.message.map(processItem);\r\n const allDraftMessages = [...label, ...outList];\r\n\r\n if (this.state.loader) {\r\n return (\r\n \r\n );\r\n } else if (this.state.message.length === 0) {\r\n return (
{this.localize(\"EmptyDraftMessages\")}
);\r\n }\r\n else {\r\n return (\r\n \r\n );\r\n }\r\n }\r\n\r\n private processLabels = () => {\r\n const out = [{\r\n key: \"labels\",\r\n content: (\r\n \r\n \r\n \r\n \r\n \r\n \r\n ),\r\n styles: { margin: '0.2rem 0.2rem 0 0' },\r\n }];\r\n return out;\r\n }\r\n\r\n private onOpenTaskModule = (event: any, url: string, title: string) => {\r\n if (this.isOpenTaskModuleAllowed) {\r\n this.isOpenTaskModuleAllowed = false;\r\n let taskInfo: ITaskInfo = {\r\n url: url,\r\n title: title,\r\n height: 530,\r\n width: 1000,\r\n fallbackUrl: url,\r\n }\r\n\r\n let submitHandler = (err: any, result: any) => {\r\n this.props.getDraftMessagesList().then(() => {\r\n this.props.getScheduledMessagesList();\r\n this.props.getMessagesList();\r\n this.isOpenTaskModuleAllowed = true;\r\n });\r\n };\r\n\r\n microsoftTeams.tasks.startTask(taskInfo, submitHandler);\r\n }\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return { messages: state.draftMessagesList, selectedMessage: state.selectedMessage };\r\n}\r\n\r\nconst draftMessagesWithTranslation = withTranslation()(DraftMessages);\r\nexport default connect(mapStateToProps, { selectMessage, getDraftMessagesList, getScheduledMessagesList, getMessagesList })(draftMessagesWithTranslation);","// \r\n// Copyright (c) Microsoft.\r\n// Licensed under the MIT License.\r\n// \r\n\r\nimport React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withTranslation, WithTranslation } from \"react-i18next\";\r\nimport { Menu, MoreIcon } from '@fluentui/react-northstar';\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\n\r\nimport { getBaseUrl } from '../../configVariables';\r\nimport { selectMessage, getMessagesList, getScheduledMessagesList, getDraftMessagesList } from '../../actions';\r\nimport { deleteDraftNotification, duplicateDraftNotification, sendPreview } from '../../apis/messageListApi';\r\nimport { TFunction } from \"i18next\";\r\n\r\nexport interface OverflowProps extends WithTranslation {\r\n message: any;\r\n styles?: object;\r\n title?: string;\r\n selectMessage?: any;\r\n getMessagesList?: any;\r\n getScheduledMessagesList?: any;\r\n getDraftMessagesList?: any;\r\n}\r\n\r\nexport interface OverflowState {\r\n teamsTeamId?: string;\r\n teamsChannelId?: string;\r\n menuOpen: boolean;\r\n}\r\n\r\nexport interface ITaskInfo {\r\n title?: string;\r\n height?: number;\r\n width?: number;\r\n url?: string;\r\n card?: string;\r\n fallbackUrl?: string;\r\n completionBotId?: string;\r\n}\r\n\r\nclass Overflow extends React.Component {\r\n readonly localize: TFunction;\r\n constructor(props: OverflowProps) {\r\n super(props);\r\n this.localize = this.props.t;\r\n this.state = {\r\n teamsChannelId: '',\r\n teamsTeamId: '',\r\n menuOpen: false,\r\n };\r\n }\r\n\r\n public componentDidMount() {\r\n microsoftTeams.initialize();\r\n microsoftTeams.getContext((context) => {\r\n this.setState({\r\n teamsTeamId: context.teamId,\r\n teamsChannelId: context.channelId,\r\n });\r\n });\r\n }\r\n\r\n public render(): JSX.Element {\r\n const items = [\r\n {\r\n key: 'more',\r\n icon: ,\r\n menuOpen: this.state.menuOpen,\r\n active: this.state.menuOpen,\r\n indicator: false,\r\n menu: {\r\n items: [\r\n {\r\n key: 'send',\r\n content: this.localize(\"SendNow\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n let url = getBaseUrl() + \"/sendconfirmation/\" + this.props.message.id + \"?locale={locale}\";\r\n this.onOpenTaskModule(null, url, this.localize(\"SendConfirmation\"));\r\n }\r\n },\r\n {\r\n key: 'preview',\r\n content: this.localize(\"PreviewInThisChannel\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n let payload = {\r\n draftNotificationId: this.props.message.id,\r\n teamsTeamId: this.state.teamsTeamId,\r\n teamsChannelId: this.state.teamsChannelId,\r\n }\r\n sendPreview(payload).then((response) => {\r\n return response.status;\r\n }).catch((error) => {\r\n return error;\r\n });\r\n }\r\n },\r\n {\r\n key: 'edit',\r\n content: this.localize(\"Edit\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n let url = getBaseUrl() + \"/newmessage/\" + this.props.message.id + \"?locale={locale}\";\r\n this.onOpenTaskModule(null, url, this.localize(\"EditMessage\"));\r\n }\r\n },\r\n {\r\n key: 'duplicate',\r\n content: this.localize(\"Duplicate\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n this.duplicateDraftMessage(this.props.message.id).then(() => {\r\n this.props.getDraftMessagesList();\r\n });\r\n }\r\n },\r\n {\r\n key: 'delete',\r\n content: this.localize(\"Delete\"),\r\n onClick: (event: any) => {\r\n event.stopPropagation();\r\n this.setState({\r\n menuOpen: false,\r\n });\r\n this.deleteDraftMessage(this.props.message.id).then(() => {\r\n this.props.getScheduledMessagesList(); \r\n });\r\n }\r\n },\r\n ],\r\n },\r\n onMenuOpenChange: (e: any, { menuOpen }: any) => {\r\n this.setState({\r\n menuOpen: !this.state.menuOpen\r\n });\r\n },\r\n },\r\n ];\r\n\r\n return ;\r\n }\r\n\r\n private onOpenTaskModule = (event: any, url: string, title: string) => {\r\n let taskInfo: ITaskInfo = {\r\n url: url,\r\n title: title,\r\n height: 530,\r\n width: 1000,\r\n fallbackUrl: url,\r\n };\r\n\r\n let submitHandler = (err: any, result: any) => {\r\n this.props.getScheduledMessagesList().then(() => {\r\n this.props.getMessagesList();\r\n });\r\n };\r\n\r\n microsoftTeams.tasks.startTask(taskInfo, submitHandler);\r\n }\r\n\r\n private duplicateDraftMessage = async (id: number) => {\r\n try {\r\n await duplicateDraftNotification(id);\r\n } catch (error) {\r\n return error;\r\n }\r\n }\r\n\r\n private deleteDraftMessage = async (id: number) => {\r\n try {\r\n await deleteDraftNotification(id);\r\n } catch (error) {\r\n return error;\r\n }\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return { messages: state.scheduledMessagesList, selectedMessage: state.selectedMessage };\r\n}\r\n\r\nconst overflowWithTranslation = withTranslation()(Overflow);\r\nexport default connect(mapStateToProps, { selectMessage, getScheduledMessagesList, getDraftMessagesList, getMessagesList })(overflowWithTranslation);\r\n","// \r\n// Copyright (c) Microsoft.\r\n// Licensed under the MIT License.\r\n// \r\n\r\nimport * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withTranslation, WithTranslation } from \"react-i18next\";\r\nimport { initializeIcons } from 'office-ui-fabric-react';\r\nimport { Loader, List, Flex, Text } from '@fluentui/react-northstar';\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\nimport { getAppSettings } from \"../../apis/messageListApi\";\r\nimport { selectMessage, getScheduledMessagesList, getDraftMessagesList, getMessagesList } from '../../actions';\r\nimport { getBaseUrl } from '../../configVariables';\r\nimport Overflow from '../OverFlow/scheduledMessageOverflow';\r\nimport { TFunction } from \"i18next\";\r\n\r\nexport interface ITaskInfo {\r\n title?: string;\r\n height?: number;\r\n width?: number;\r\n url?: string;\r\n card?: string;\r\n fallbackUrl?: string;\r\n completionBotId?: string;\r\n}\r\n\r\nexport interface IMessage {\r\n id: string;\r\n title: string;\r\n scheduledDate: string;\r\n recipients: string;\r\n acknowledgements?: string;\r\n reactions?: string;\r\n responses?: string;\r\n}\r\n\r\nexport interface IMessageProps extends WithTranslation {\r\n messages: IMessage[];\r\n selectedMessage: any;\r\n selectMessage?: any;\r\n getDraftMessagesList?: any;\r\n getScheduledMessagesList?: any;\r\n getMessagesList?: any;\r\n}\r\n\r\nexport interface IMessageState {\r\n message: IMessage[];\r\n itemsAccount: number;\r\n loader: boolean;\r\n teamsTeamId?: string;\r\n teamsChannelId?: string;\r\n}\r\n\r\nclass ScheduledMessages extends React.Component {\r\n readonly localize: TFunction;\r\n private interval: any;\r\n private isOpenTaskModuleAllowed: boolean;\r\n targetingEnabled: boolean; // property to store value indicating if the targeting mode is enabled or not\r\n masterAdminUpns: string; // property to store value with the master admins\r\n\r\n constructor(props: IMessageProps) {\r\n super(props);\r\n initializeIcons();\r\n this.localize = this.props.t;\r\n this.isOpenTaskModuleAllowed = true;\r\n this.targetingEnabled = false; // by default targeting is disabled\r\n this.masterAdminUpns = \"\";\r\n this.state = {\r\n message: props.messages,\r\n itemsAccount: this.props.messages.length,\r\n loader: true,\r\n teamsTeamId: \"\",\r\n teamsChannelId: \"\",\r\n };\r\n }\r\n\r\n public componentDidMount() {\r\n microsoftTeams.initialize();\r\n microsoftTeams.getContext((context) => {\r\n this.setState({\r\n teamsTeamId: context.teamId,\r\n teamsChannelId: context.channelId,\r\n });\r\n });\r\n \r\n this.props.getScheduledMessagesList();\r\n this.interval = setInterval(() => {\r\n this.props.getScheduledMessagesList();\r\n }, 60000);\r\n }\r\n\r\n public componentWillReceiveProps(nextProps: any) {\r\n if (this.props !== nextProps) {\r\n this.setState({\r\n message: nextProps.messages,\r\n loader: false\r\n });\r\n }\r\n }\r\n\r\n public componentWillUnmount() {\r\n clearInterval(this.interval);\r\n }\r\n\r\n public render(): JSX.Element {\r\n let keyCount = 0;\r\n const processItem = (message: any) => {\r\n keyCount++;\r\n const out = {\r\n key: keyCount,\r\n content: (\r\n \r\n \r\n {message.title}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ),\r\n styles: { margin: '0.2rem 0.2rem 0 0' },\r\n onClick: (): void => {\r\n let url = getBaseUrl() + \"/newmessage/\" + message.id + \"?locale={locale}\";\r\n this.onOpenTaskModule(null, url, this.localize(\"EditMessage\"));\r\n },\r\n };\r\n return out;\r\n };\r\n\r\n const label = this.processLabels();\r\n const outList = this.state.message.map(processItem);\r\n const allScheduledMessages = [...label, ...outList];\r\n\r\n if (this.state.loader) {\r\n return (\r\n \r\n );\r\n } else if (this.state.message.length === 0) {\r\n return (
{this.localize(\"EmptyScheduledMessages\")}
);\r\n }\r\n else {\r\n return (\r\n \r\n );\r\n }\r\n }\r\n\r\n private processLabels = () => {\r\n const out = [{\r\n key: \"labels\",\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 \r\n \r\n ),\r\n styles: { margin: '0.2rem 0.2rem 0 0' },\r\n }];\r\n return out;\r\n }\r\n\r\n // get the app configuration values and set targeting mode from app settings\r\n private getAppSettings = async () => {\r\n let response = await getAppSettings();\r\n if (response.data) {\r\n this.targetingEnabled = (response.data.targetingEnabled === 'true'); //get the targetingenabled value\r\n this.masterAdminUpns = response.data.masterAdminUpns; //get the array of master admins\r\n }\r\n }\r\n\r\n private onOpenTaskModule = (event: any, url: string, title: string) => {\r\n if (this.isOpenTaskModuleAllowed) {\r\n this.isOpenTaskModuleAllowed = false;\r\n let taskInfo: ITaskInfo = {\r\n url: url,\r\n title: title,\r\n height: 530,\r\n width: 1000,\r\n fallbackUrl: url,\r\n }\r\n\r\n let submitHandler = (err: any, result: any) => {\r\n this.props.getScheduledMessagesList().then(() => {\r\n this.props.getDraftMessagesList();\r\n this.props.getMessagesList();\r\n this.isOpenTaskModuleAllowed = true;\r\n });\r\n };\r\n\r\n microsoftTeams.tasks.startTask(taskInfo, submitHandler);\r\n }\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return { messages: state.scheduledMessagesList, selectedMessage: state.selectedMessage };\r\n}\r\n\r\nconst ScheduledMessagesWithTranslation = withTranslation()(ScheduledMessages);\r\nexport default connect(mapStateToProps, { selectMessage, getScheduledMessagesList, getDraftMessagesList, getMessagesList })(ScheduledMessagesWithTranslation);","// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport * as React from 'react';\r\nimport { withTranslation, WithTranslation } from \"react-i18next\";\r\nimport Messages from '../Messages/messages';\r\nimport DraftMessages from '../DraftMessages/draftMessages';\r\nimport ScheduledMessages from '../ScheduledMessages/ScheduledMessages';\r\nimport './tabContainer.scss';\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\nimport { getBaseUrl } from '../../configVariables';\r\nimport { Accordion, Button, Flex, Label } from '@fluentui/react-northstar';\r\nimport { getDraftMessagesList, getScheduledMessagesList } from '../../actions';\r\nimport { getAppSettings } from \"../../apis/messageListApi\";\r\nimport { connect } from 'react-redux';\r\nimport { TFunction } from \"i18next\";\r\n\r\n\r\ninterface ITaskInfo {\r\n title?: string;\r\n height?: number;\r\n width?: number;\r\n url?: string;\r\n card?: string;\r\n fallbackUrl?: string;\r\n completionBotId?: string;\r\n}\r\n\r\nexport interface ITaskInfoProps extends WithTranslation {\r\n getDraftMessagesList?: any;\r\n getScheduledMessagesList?: any;\r\n}\r\n\r\nexport interface ITabContainerState {\r\n url: string;\r\n channelId?: string;\r\n channelName?: string;\r\n teamName?: string;\r\n userPrincipalName?: string;\r\n loading: boolean;\r\n}\r\n\r\nclass TabContainer extends React.Component {\r\n readonly localize: TFunction;\r\n targetingEnabled: boolean; // property to store value indicating if the targeting mode is enabled or not\r\n masterAdminUpns: string; // property to store value with the master admins\r\n\r\n constructor(props: ITaskInfoProps) {\r\n super(props);\r\n this.localize = this.props.t;\r\n this.targetingEnabled = false; // by default targeting is disabled\r\n this.masterAdminUpns = \"\";\r\n this.state = {\r\n loading: true,\r\n url: getBaseUrl() + \"/newmessage?locale={locale}\",\r\n channelId: \"\",\r\n channelName: \"\",\r\n teamName: \"\",\r\n userPrincipalName: \"\"\r\n }\r\n this.escFunction = this.escFunction.bind(this);\r\n }\r\n\r\n public componentDidMount() {\r\n const setState = this.setState.bind(this);\r\n\r\n microsoftTeams.initialize();\r\n //- Handle the Esc key\r\n document.addEventListener(\"keydown\", this.escFunction, false);\r\n\r\n // get the app settings and based on the targeting configuration and user id \r\n // decides if the save is enabled or not\r\n this.getAppSettings().then(() => {\r\n setState({ loading: false });\r\n });\r\n\r\n // get teams context variables and store in the state\r\n microsoftTeams.getContext(context => {\r\n setState({\r\n channelId: context.channelId,\r\n channelName: context.channelName,\r\n teamName: context.teamName,\r\n userPrincipalName: context.userPrincipalName\r\n });\r\n });\r\n }\r\n\r\n public componentWillUnmount() {\r\n document.removeEventListener(\"keydown\", this.escFunction, false);\r\n }\r\n\r\n public escFunction(event: any) {\r\n if (event.keyCode === 27 || (event.key === \"Escape\")) {\r\n microsoftTeams.tasks.submitTask();\r\n }\r\n }\r\n\r\n public render(): JSX.Element {\r\n var isMaster = this.isMasterAdmin(this.masterAdminUpns, this.state.userPrincipalName);\r\n const panels = [\r\n {\r\n title: this.localize('DraftMessagesSectionTitle'),\r\n content: {\r\n key: 'sent',\r\n content: (\r\n \r\n ),\r\n },\r\n },\r\n {\r\n title: this.localize('ScheduledMessagesSectionTitle'),\r\n content: {\r\n key: 'scheduled',\r\n content: (\r\n
\r\n \r\n
\r\n ),\r\n },\r\n },\r\n {\r\n title: this.localize('SentMessagesSectionTitle'),\r\n content: {\r\n key: 'draft',\r\n content: (\r\n \r\n ),\r\n },\r\n }\r\n ]\r\n return (\r\n \r\n \r\n {(this.targetingEnabled) &&\r\n
}\r\n \r\n