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,OAAO,EAAMC,YAAY,EAAOz+B,YAAYP,EAAAA,EAAAA,IAAau1E,GAA0B/0E,UAC1FH,EAAAA,EAAAA,MAAAoN,EAAAA,SAAA,CAAAjN,SAAA,EACIc,EAAAA,EAAAA,KAAA,OAAKC,UAAU,sBAAqBf,UAChCc,EAAAA,EAAAA,KAACI,EAAAA,GAAc,CAACsL,SAAUwvC,EAAY76C,QAAQ,oBAAmBnB,UAC7Dc,EAAAA,EAAAA,KAAA,UACIC,UAAU,WACVyL,SAAUwvC,EACV17C,QAAS,WAAF,OAAQ20E,GAA8B,EAAK,EAACj1E,UAEnDc,EAAAA,EAAAA,KAACoF,EAAAA,EAAO,CAACC,KAAK,cAAcC,MAAO,GAAIC,OAAQ,YAI3DvF,EAAAA,EAAAA,KAAA,OAAKC,UAAU,sBAAqBf,UAChCc,EAAAA,EAAAA,KAACI,EAAAA,GAAc,CAACsL,SAAUwvC,EAAY76C,QAAQ,sBAAqBnB,UAC/Dc,EAAAA,EAAAA,KAAA,UACIC,UAAU,sBACVyL,SAAUwvC,EACV17C,QAAS,WAAF,OAAQ60E,GAAwB,EAAK,EAACn1E,UAE7Cc,EAAAA,EAAAA,KAACoF,EAAAA,EAAO,CAACC,KAAK,QAAQC,MAAO,GAAIC,OAAQ,oBAS7E,C","sources":["components/management/buildVersion/BuildVersion.tsx","components/management/news/NewsNavItem.tsx","components/management/news/NewsSelectionPanel.tsx","components/management/news/ViewForm.tsx","components/management/news/EditNewsValidationSchema.ts","components/management/news/FileList.tsx","components/management/news/EditForm.tsx","components/management/news/EditNews.tsx","components/inventory/bd/filter/bdInventoryFilters.ts","components/inventory/bd/BdInventoryEdit.tsx","components/inventory/AdminInventoryEdit.tsx","components/inventory/SecurityInventoryLink.tsx","components/inventory/inventory-position-status-title.ts","components/help-resources/constants.ts","components/help-resources/market-trends-webinar/MarketTrendsMonthFilter.tsx","components/help-resources/market-trends-webinar/MarketTrendsSection.tsx","components/help-resources/market-trends-webinar/MarketTrendsYearFilter.tsx","components/help-resources/market-trends-webinar/MarketTrendsWebinarsContent.tsx","components/help-resources/ResourceSectionContent.tsx","components/help-resources/ResourcesContent.tsx","components/help-resources/Resources.tsx","components/help-resources/effects/useGetCategorySections.ts","components/help-resources/effects/useGetCategoryArticles.ts","components/help-resources/HelpResourcesView.tsx","components/management/companies/clearing-bank/ViewSettlementAgentComissionPopup.tsx","components/management/editParsedBWIC/process/BwicDate.jsx","components/management/editParsedBWIC/process/DaysToSettle.jsx","components/management/editParsedBWIC/process/TimeZone.jsx","components/management/editParsedBWIC/process/Time.jsx","components/management/editParsedBWIC/process/BwicEmailReceivedDate.jsx","components/management/editParsedBWIC/process/EditParsedBwicRules.tsx","components/management/editParsedBWIC/EditBWIC.jsx","components/management/editParsedBWIC/CommandBar.jsx","components/management/editParsedBWIC/EditBWICLeaveGuard.jsx","components/inventory/filter/inventoryFilters.ts","components/management/companies/MembersFilter.tsx","components/management/companies/useRegByUsers.ts","components/management/companies/CompaniesFilter.tsx","components/management/companies/useCompanyRegByUsers.ts","components/management/companies/CompaniesUsersSearch.tsx","components/management/companies/ManageCompanies.jsx","components/management/companies/ConfirmationPopup.jsx","components/management/companies/CompanyStatus.jsx","components/management/companies/clearing-bank/SetClearingBankPopup.tsx","components/management/companies/change-subscription/ChangeSubscriptionPopup.tsx","components/management/companies/CompanyList.jsx","components/management/companies/LastLoginHistoryPopup.tsx","components/management/companies/MembersListPendingUserRequestOptionsButtons.tsx","components/management/companies/MemberList.jsx","components/management/companies/EditCompany.tsx","components/management/storage/ManageCleanRedisCache.tsx","components/management/storage/useClearRedisCache.ts","components/management/storage/useRedisCacheKeys.ts","components/management/companies/clearing-bank/CommissionByRatingTable.tsx","components/management/companies/EditMemberSection.tsx","components/management/companies/AdminEditUser.tsx","components/layouts/Copyright.jsx","components/layouts/Footer.jsx","components/layouts/AnonymousLayout.jsx","components/layouts/NavBarItem.tsx","components/layouts/NavBarSubItem.tsx","components/layouts/PendingUserRequestCountBadge.tsx","components/layouts/ManageMenuItem.tsx","components/layouts/TradeCounterBadge.tsx","components/layouts/ClientsMenuItem.tsx","components/layouts/KTXTradingNotificationBadge.tsx","components/layouts/NavBarSubDropDownItem.tsx","components/layouts/KTXTradingMenuItem.tsx","components/layouts/Layout.jsx","components/layouts/SignPagesLayout.jsx","components/inventory/bd/InventoryDocuments.tsx","components/management/importSecurities/ImportSecurities.jsx","components/inventory/InventoryNewBwicButton.tsx","components/inventory/InventoryStatusLabel.tsx","components/inventory/TradedConfirmPopup.tsx","components/inventory/TradedButton.tsx","components/inventory/ViewBwicColumn.tsx","components/inventory/bd/filter/bdIInventoryListFilter.tsx","components/inventory/bd/AddBloombergEmail.tsx","components/inventory/bd/SendEmailPopup.tsx","components/inventory/bd/useBdInventoryCounters.ts","components/inventory/BaseInventorySummaryRow.tsx","components/inventory/bd/BdInventorySummuryRow.tsx","components/inventory/bd/BdInventoryList.tsx","components/inventory/dynamicFiltersFillers/useBrokerDealersFilterData.ts","components/inventory/filter/InventoryListFilter.tsx","components/inventory/InventorySummaryRow.tsx","components/inventory/InventoryList.tsx","components/inventory/InventoryView.tsx","components/inventory/edit/InventoryEditLeavingGuard.tsx","components/inventory/edit/InventoryEditActionButtons.tsx","components/inventory/edit/InventoryEditGridActionButtons.tsx","components/inventory/edit/InventoryEdit.tsx","components/management/parsedBWICs/ManageBWICs.jsx","components/management/parsedBWICs/Filter.tsx","components/management/parsedBWICs/BWICList.jsx","components/management/parsedBWICs/BWIC.jsx","components/management/news/constants.tsx","components/management/manage-emails/ManageEmailFilter.tsx","components/management/manage-emails/ManageEmails.tsx","components/management/manage-emails/useEmailTypeOptions.ts","components/management/manage-emails/useEmails.ts","components/management/manageTokens/TokenSearch.tsx","components/management/manageTokens/AddEditTokenPopup.tsx","components/management/manageTokens/TokensFilter.tsx","components/management/manageTokens/useTokenFilter.tsx","components/management/manageTokens/ManageTokens.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { buildService } from '../../../services/build.service';\r\nimport { Preloader } from '../../common';\r\n\r\ninterface Version {\r\n assemblyVersion: string;\r\n buildNumber: string;\r\n}\r\n\r\nexport function BuildVersion() {\r\n const [version, setVersion] = useState({ assemblyVersion: '', buildNumber: '' });\r\n const [isRequesting, setIsRequesting] = useState(false);\r\n\r\n useEffect(() => {\r\n setIsRequesting(true);\r\n buildService\r\n .version()\r\n .then((version: Version) => {\r\n setVersion(version);\r\n setIsRequesting(false)\r\n });\r\n }, []);\r\n\r\n return (\r\n \r\n
Current BWIC version: {version.assemblyVersion ? version.assemblyVersion : '-'}
\r\n
Build number: {version.buildNumber ? version.buildNumber : '-'}
\r\n
\r\n )\r\n}\r\n","import classNames from \"classnames\";\r\nimport Highlighter from \"../../amrPipeline/common/Highlighter\";\r\nimport { News } from \"../../../types/news/News\";\r\nimport { NewsCategory, newsCategoryTitles } from \"../../../types/news/enums/NewsCategory\";\r\nimport { NewsLabel, newsLabelTitles } from \"../../../types/news/enums/NewsLabel\";\r\nimport moment from \"moment\";\r\nimport { constants } from \"../../../constants\";\r\nimport { OnHoverTooltip } from \"../../common\";\r\nimport { NewsProvider, newsProviderLogos, newsProviderTitles } from \"../../../types/news/enums/NewsProvider\";\r\n\r\ninterface Props {\r\n selected: boolean;\r\n data: News;\r\n searchTerm: string;\r\n onClick: (referenceName: string) => void;\r\n}\r\n\r\nexport const NewsNavItem = ({ selected, data, searchTerm, onClick }: Props) => {\r\n const {\r\n referenceName,\r\n title,\r\n category,\r\n label,\r\n provider,\r\n newsDateTime,\r\n published\r\n } = data;\r\n\r\n return (\r\n onClick(referenceName as string)}\r\n >\r\n
\r\n
\r\n \r\n \r\n \r\n {!published &&
Draft
}\r\n
\r\n
\r\n
\r\n {!!category && category !== NewsCategory.None && (\r\n
\r\n {newsCategoryTitles[category]}\r\n
\r\n )}\r\n {label !== NewsLabel.None && (\r\n
\r\n {newsLabelTitles[label]}\r\n
\r\n )}\r\n {!!provider && provider !== NewsProvider.None && (\r\n
\r\n \r\n
\r\n {newsProviderTitles[provider]}\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n
\r\n {moment(newsDateTime).utc().format(constants.dateFormat)}\r\n
\r\n
\r\n
\r\n \r\n );\r\n};\r\n","import { SelectionPanelSearch } from \"../../amrPipeline/common/SelectionPanelSearch\";\r\nimport { News } from \"../../../types/news/News\";\r\nimport { NewsNavItem } from \"./NewsNavItem\";\r\nimport { routes } from \"../../../constants\";\r\nimport { useHistory } from \"react-router\";\r\nimport { EditNewsTabType } from \"../../../types/news/enums/EditNewsTabType\";\r\nimport InfiniteScroll from \"react-infinite-scroller\";\r\nimport {\r\n EmptyPlaceholder,\r\n InfiniteScrollLoader,\r\n Preloader,\r\n} from \"../../common\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { editNewsActions } from \"../../../actions/edit-news.actions\";\r\nimport { constants } from \"./constants\";\r\nimport { useDebounce } from \"../../../effects/useDebounce\";\r\nimport { useEffect } from \"react\";\r\nimport IconSVG from \"../../../styles/svg-icons\";\r\nimport classnames from \"classnames\";\r\n\r\ninterface Props {\r\n initialNews?: News;\r\n newsList: News[];\r\n selectedReferenceName?: string;\r\n searchTerm: string;\r\n isLoading: boolean;\r\n hasMore: boolean;\r\n isSearching: boolean;\r\n collapsed: boolean;\r\n setCollapsed: (isCollapsed: boolean) => void;\r\n}\r\n\r\nexport const NewsSelectionPanel = ({\r\n initialNews,\r\n newsList,\r\n selectedReferenceName,\r\n searchTerm,\r\n isLoading,\r\n hasMore,\r\n isSearching,\r\n collapsed,\r\n setCollapsed,\r\n}: Props) => {\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n const debouncedSearch = useDebounce(searchTerm, 500);\r\n const noNewsYet = !newsList.length && !searchTerm && !isSearching;\r\n\r\n const onSearchNews = (value: string) =>\r\n dispatch(editNewsActions.searchNewsList(value));\r\n\r\n const createNews = () => history.push(routes.manageCreateNews);\r\n\r\n useEffect(() => {\r\n if (debouncedSearch.length > constants.maxSearchLengthToIgnore) {\r\n onSearchNews(debouncedSearch);\r\n }\r\n // eslint-disable-next-line\r\n }, [debouncedSearch]);\r\n\r\n const handleSearch = (val: string) => {\r\n if (\r\n val.length <= constants.maxSearchLengthToIgnore &&\r\n searchTerm.length > constants.maxSearchLengthToIgnore\r\n ) {\r\n onSearchNews(\"\");\r\n }\r\n dispatch(editNewsActions.setSearchTerm(val));\r\n };\r\n\r\n const handleSelectNews = (referenceName: string) => {\r\n if (referenceName === selectedReferenceName) {\r\n return;\r\n }\r\n dispatch(editNewsActions.resetNewsDetails());\r\n history.replace(\r\n routes.manageNewsUrl(referenceName, EditNewsTabType.view)\r\n );\r\n };\r\n\r\n const onNextPageRequest = () =>\r\n isLoading\r\n ? null\r\n : dispatch(editNewsActions.loadMoreNewsList(searchTerm));\r\n\r\n const renderNavItem = (newsItem: News) => (\r\n \r\n );\r\n\r\n const renderNavItemsList = (newsItem: News) =>\r\n newsItem.referenceName === initialNews?.referenceName\r\n ? undefined\r\n : renderNavItem(newsItem);\r\n\r\n const renderNewsList = () => {\r\n if (noNewsYet) {\r\n return null;\r\n }\r\n\r\n if (isSearching) {\r\n return ;\r\n }\r\n\r\n if (!newsList.length) {\r\n return ;\r\n }\r\n\r\n return (\r\n \r\n }\r\n useWindow={false}\r\n >\r\n {initialNews && renderNavItem(initialNews)}\r\n {newsList.map(renderNavItemsList)}\r\n \r\n );\r\n };\r\n\r\n return (\r\n \r\n );\r\n};\r\n","import moment from \"moment\";\r\nimport { News } from \"../../../types/news/News\";\r\nimport { newsCategoryTitles } from \"../../../types/news/enums/NewsCategory\";\r\nimport { newsLabelTitles } from \"../../../types/news/enums/NewsLabel\";\r\nimport { FormField } from \"../../amrPipeline/common/FormField\";\r\nimport { constants, routes } from \"../../../constants\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { Link, useHistory } from \"react-router-dom\";\r\nimport IconSVG from \"../../../styles/svg-icons\";\r\nimport { Company } from \"../../../types/amr-pipeline/models/Company\";\r\nimport { editNewsActions } from \"../../../actions/edit-news.actions\";\r\nimport { EditNewsTabType } from \"../../../types/news/enums/EditNewsTabType\";\r\nimport { useState } from \"react\";\r\nimport { Confirm } from \"../../alerts\";\r\nimport { newsProviderTitles } from \"../../../types/news/enums/NewsProvider\";\r\nimport { OnHoverTooltip } from \"../../common\";\r\nimport DownloadDocument from '../../amrPipeline/common/documents/DownloadDocument';\r\nimport { FileIcon } from '../../controls';\r\nimport { newsActions } from '../../../actions/news.actions';\r\n\r\ninterface Props {\r\n data: News;\r\n managers: Company[];\r\n arrangers: Company[];\r\n}\r\n\r\nexport const ViewForm = ({ data, managers, arrangers }: Props) => {\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n const [visibleDeleteConfirmationPopup, setVisibleDeleteConfirmationPopup] =\r\n useState(false);\r\n const {\r\n referenceName,\r\n title,\r\n category,\r\n label,\r\n provider,\r\n description,\r\n newsDateTime,\r\n externalSourceLink,\r\n transactionLink,\r\n cloManagerReferenceName,\r\n arrangerReferenceName,\r\n newsDocuments,\r\n } = data;\r\n\r\n const managerLegalName = managers.find(\r\n (m) => m.referenceName === cloManagerReferenceName\r\n )?.legalName;\r\n const arrangerLegalName = arrangers.find(\r\n (m) => m.referenceName === arrangerReferenceName\r\n )?.legalName;\r\n\r\n const switchToEditMode = () =>\r\n history.replace(\r\n routes.manageNewsUrl(referenceName, EditNewsTabType.edit)\r\n );\r\n\r\n const handleOnDelete = () =>\r\n dispatch(editNewsActions.deleteNews(referenceName as string));\r\n\r\n const renderHeader = () => (\r\n
\r\n
\r\n

{title}

\r\n \r\n \r\n View Article\r\n \r\n
\r\n \r\n \r\n Edit\r\n \r\n
\r\n
\r\n
\r\n );\r\n\r\n const renderFiles = () => {\r\n if (!newsDocuments?.length) {\r\n return constants.emptyPlaceholder;\r\n }\r\n\r\n return newsDocuments.map((file) => (\r\n
\r\n dispatch(newsActions.downloadDocument(referenceName, file.referenceName, file.name))}\r\n document={file}\r\n secondary\r\n >\r\n \r\n {file.name}\r\n \r\n
\r\n ));\r\n };\r\n\r\n return (\r\n
\r\n {renderHeader()}\r\n
\r\n
\r\n {title}\r\n \r\n {newsCategoryTitles[category]}\r\n \r\n {newsLabelTitles[label]}\r\n \r\n {moment(newsDateTime).utc().format(constants.dateTimeFormat)}\r\n \r\n {newsProviderTitles[provider]}\r\n \r\n {externalSourceLink ? (\r\n \r\n \r\n {externalSourceLink}\r\n \r\n \r\n\r\n ) : (\r\n constants.emptyPlaceholder\r\n )}\r\n \r\n \r\n {transactionLink ? (\r\n \r\n \r\n {transactionLink}\r\n \r\n \r\n ) : (\r\n constants.emptyPlaceholder\r\n )}\r\n \r\n \r\n {cloManagerReferenceName ? (\r\n \r\n \r\n {managerLegalName}\r\n \r\n \r\n ) : (\r\n constants.emptyPlaceholder\r\n )}\r\n \r\n \r\n {arrangerReferenceName && arrangerLegalName ? (\r\n \r\n \r\n {arrangerLegalName}\r\n \r\n \r\n ) : (\r\n constants.emptyPlaceholder\r\n )}\r\n \r\n \r\n
\r\n \r\n \r\n {renderFiles()}\r\n \r\n
\r\n
\r\n {visibleDeleteConfirmationPopup && (\r\n setVisibleDeleteConfirmationPopup(false)}\r\n onConfirm={handleOnDelete}\r\n text={\r\n \r\n Are you sure you want to remove {title} news?\r\n \r\n }\r\n />\r\n )}\r\n
\r\n );\r\n};\r\n","import * as Yup from \"yup\";\r\nimport sanitizeHtml from 'sanitize-html';\r\n\r\nconst RequiredMessage = \"Required field\";\r\n\r\nexport const EditNewsValidationSchema = Yup.object().shape({\r\n referenceName: Yup.string().notRequired().nullable(),\r\n title: Yup.string().trim().typeError(RequiredMessage).required(RequiredMessage),\r\n category: Yup.string().typeError(RequiredMessage).required(RequiredMessage),\r\n\r\n label: Yup.string().notRequired(),\r\n\r\n provider: Yup.string().notRequired(),\r\n\r\n description: Yup\r\n .string()\r\n .test('description', RequiredMessage, val => !!(val && sanitizeHtml(val, { allowedTags: [], allowedAttributes: {} }).trim()))\r\n .typeError(RequiredMessage),\r\n newsDateTime: Yup.date()\r\n .typeError(RequiredMessage)\r\n .required(RequiredMessage),\r\n\r\n externalSourceLink: Yup.string().notRequired().nullable(),\r\n transactionLink: Yup.string().notRequired().nullable(),\r\n published: Yup.boolean().notRequired(),\r\n cloManagerReferenceName: Yup.string().notRequired().nullable(),\r\n arrangerReferenceName: Yup.string().notRequired().nullable(),\r\n});\r\n","import { Table } from \"../../bidding/common/table\";\r\nimport { ColumnBuilder } from \"../../bidding/common/table/columns/column-builder/ColumnBuilder\";\r\nimport { IColumnDefinition } from \"../../bidding/common/table/types/ColumnDefinition\";\r\nimport { SORT } from \"../../../constants\";\r\nimport { ProgressCircle } from \"../../controls\";\r\nimport FileIcon from \"../../controls/FileIcon\";\r\nimport IconSVG from \"../../../styles/svg-icons\";\r\nimport { OnHoverTooltip } from \"../../common\";\r\nimport { AmrFile } from \"../../../types/amr-pipeline/models/AmrFile\";\r\nimport { FilesUploaderChildProps } from \"../../amrPipeline/common/documents/FileUploader\";\r\nimport { newsActions } from \"../../../actions/news.actions\";\r\nimport { useAppDispatch } from \"../../../effects/useAppDispatch\";\r\n\r\nexport function FileList({\r\n referenceName,\r\n documents,\r\n progress,\r\n handleDeleteFile,\r\n}: FilesUploaderChildProps) {\r\n const dispatch = useAppDispatch();\r\n const downloadDocument =\r\n (documentToDownload: AmrFile) =>\r\n (e: React.MouseEvent) => {\r\n e.preventDefault();\r\n\r\n if (referenceName) {\r\n dispatch(\r\n newsActions.downloadDocument(\r\n referenceName,\r\n documentToDownload.referenceName,\r\n documentToDownload.name\r\n )\r\n );\r\n }\r\n };\r\n\r\n const getTableColumns = () => {\r\n const columns: IColumnDefinition[] = [\r\n {\r\n columnKey: \"name\",\r\n renderColumnContent: (document) => (\r\n \r\n \r\n \r\n {document.name}\r\n \r\n \r\n ),\r\n renderColumnHeaderContent: () => \"Name\",\r\n headerClassName: \"data-list-cell-xl-flexible\",\r\n bodyClassName: \"data-list-cell-xl-flexible\",\r\n },\r\n {\r\n columnKey: \"progress\",\r\n renderColumnContent: (document) =>\r\n document.referenceName ? null : (\r\n \r\n ),\r\n renderColumnHeaderContent: () => \"\",\r\n headerClassName: \"data-list-cell-sm\",\r\n bodyClassName: \"data-list-cell-sm\",\r\n },\r\n {\r\n columnKey: \"delete-action\",\r\n renderColumnContent: (document) => (\r\n \r\n \r\n \r\n ),\r\n renderColumnHeaderContent: () => \"\",\r\n headerClassName: \"data-list-cell-xxs\",\r\n bodyClassName: \"data-list-cell-xxs\",\r\n },\r\n ];\r\n\r\n return columns.map((c) => new ColumnBuilder(c));\r\n };\r\n\r\n return (\r\n
\r\n \r\n
\r\n );\r\n}\r\n\r\n","import { useState } from 'react';\r\nimport { Form, Formik, FormikProps } from 'formik';\r\nimport { News, NewsSaveForm } from '../../../types/news/News';\r\nimport { FormField } from '../../amrPipeline/common/FormField';\r\nimport { InputField } from '../../forms';\r\nimport { SelectField } from '../../common/form-fields/SelectField';\r\nimport { DateField } from '../../common/form-fields/DateField';\r\nimport { EditorField } from '../../common/form-fields/EditorField';\r\nimport { Company } from '../../../types/amr-pipeline/models/Company';\r\nimport { useDispatch } from 'react-redux';\r\nimport { SelectSearchField } from '../../forms/SelectSearchField';\r\nimport { editNewsActions } from '../../../actions/edit-news.actions';\r\nimport { EditNewsValidationSchema } from './EditNewsValidationSchema';\r\nimport { useHistory } from 'react-router';\r\nimport { constants, routes } from '../../../constants';\r\nimport { EditNewsTabType } from '../../../types/news/enums/EditNewsTabType';\r\nimport { newsCategoryValues, newsLabelValues, newsProviderValues } from './constants';\r\nimport { FileUploader } from '../../amrPipeline/common/documents/FileUploader';\r\nimport { RouteLeavingGuard } from '../../routing';\r\nimport { FileList } from './FileList';\r\n\r\ninterface Props {\r\n data: NewsSaveForm;\r\n managers: Company[];\r\n arrangers: Company[];\r\n initialReferenceName?: string;\r\n}\r\n\r\nexport const EditForm = ({ data, managers, arrangers, initialReferenceName }: Props) => {\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n\r\n const [isUploading, setIsUploading] = useState(false);\r\n\r\n const isNew = !data.referenceName && !data.title;\r\n\r\n const switchToViewMode = () => {\r\n const redirectReferenceName = data.referenceName || initialReferenceName;\r\n\r\n history.replace(\r\n redirectReferenceName\r\n ? routes.manageNewsUrl(redirectReferenceName, EditNewsTabType.view)\r\n : routes.manageNewsPage,\r\n );\r\n };\r\n\r\n const renderHeader = ({ values, dirty, setFieldValue, submitForm }: FormikProps) => {\r\n const isSaveDisabled = () => {\r\n if (isUploading) {\r\n return true;\r\n }\r\n\r\n return !values.published && !dirty;\r\n };\r\n\r\n const isPublishDisabled = () => {\r\n if (isUploading) {\r\n return true;\r\n }\r\n\r\n if (data.referenceName && !data.published) {\r\n return false;\r\n }\r\n\r\n return !dirty;\r\n };\r\n\r\n return (\r\n
\r\n
\r\n

{isNew && !values.title ? 'Add News' : values.title}

\r\n
\r\n \r\n {\r\n setFieldValue('published', false);\r\n submitForm();\r\n }}\r\n >\r\n {isNew ? 'Save Draft' : values.published ? 'Unpublish' : 'Save'}\r\n \r\n
\r\n setFieldValue('published', true)}\r\n >\r\n {values.published ? 'Save' : 'Publish'}\r\n \r\n
\r\n
\r\n
\r\n );\r\n };\r\n\r\n const handleSubmit = (newsForm: NewsSaveForm) => {\r\n dispatch(editNewsActions.createOrUpdateNews(newsForm as News));\r\n };\r\n\r\n return (\r\n \r\n {props => (\r\n <>\r\n history.push(pathname)}\r\n shouldBlockNavigation={() => !!props.dirty}\r\n />\r\n
\r\n {renderHeader(props)}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ({\r\n value: m.referenceName,\r\n text: m.legalName,\r\n selected: m.referenceName === props.values.cloManagerReferenceName,\r\n }))\r\n }\r\n />\r\n \r\n \r\n ({\r\n value: a.referenceName,\r\n text: a.legalName,\r\n selected: a.referenceName === props.values.arrangerReferenceName,\r\n }))\r\n }\r\n />\r\n \r\n \r\n \r\n props.setFieldValue('newsDocuments', files)}\r\n onUploading={setIsUploading}\r\n >\r\n {props => }\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n )}\r\n \r\n );\r\n};\r\n","import { Redirect, Route, Switch, useHistory, useParams } from \"react-router\";\r\nimport { EmptyPlaceholder, Preloader } from \"../../common\";\r\nimport { NewsSelectionPanel } from \"./NewsSelectionPanel\";\r\nimport { routes } from \"../../../constants\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { AppState } from \"../../../types/state/AppState\";\r\nimport { EditNewsState } from \"../../../types/state/EditNewsState\";\r\nimport { useEffect, useState } from \"react\";\r\nimport { editNewsActions } from \"../../../actions/edit-news.actions\";\r\nimport { EditNewsTabType } from \"../../../types/news/enums/EditNewsTabType\";\r\nimport { ViewForm } from \"./ViewForm\";\r\nimport { EditForm } from \"./EditForm\";\r\nimport { defaultNews } from \"./constants\";\r\nimport IconSVG from \"../../../styles/svg-icons\";\r\n\r\ninterface EditNewsRouteParams {\r\n referenceName: string;\r\n}\r\n\r\nexport const EditNews = () => {\r\n const { referenceName } = useParams();\r\n const history = useHistory();\r\n const dispatch = useDispatch();\r\n const [isMenuPanelCollapsed, setIsMenuPanelCollapsed] = useState(false);\r\n\r\n const isCreate = history.location.pathname === routes.manageCreateNews;\r\n\r\n const {\r\n newsList,\r\n isLoading,\r\n isDetailsLoading,\r\n isMoreLoading,\r\n isSearching,\r\n newsDetails,\r\n initialNews,\r\n managers,\r\n arrangers,\r\n totalCount,\r\n searchTerm,\r\n } = useSelector(\r\n (state: AppState) => state.editNews\r\n );\r\n\r\n const noNews = !totalCount && !searchTerm && !isSearching;\r\n const createNews = () => history.replace(routes.manageCreateNews);\r\n\r\n useEffect(() => {\r\n dispatch(editNewsActions.init(referenceName));\r\n\r\n return () => {\r\n dispatch(editNewsActions.reset());\r\n };\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n if (referenceName) {\r\n dispatch(editNewsActions.getNewsDetails(referenceName));\r\n }\r\n }, [referenceName, dispatch]);\r\n\r\n\r\n if (isLoading) {\r\n return ;\r\n }\r\n\r\n if (!isCreate && noNews) {\r\n return (\r\n
\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 )}\r\n />\r\n newsDetails &&\r\n \r\n }\r\n />\r\n newsDetails &&\r\n \r\n }\r\n />\r\n {initialNews?.referenceName && }\r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n};\r\n","import moment from 'moment/moment';\r\nimport { Currencies, Currency } from \"../../../../types/enums/Currency\";\r\nimport { FilterBooleanGroup, FilterDateGroup, FilterSelectGroup, FilterType } from \"../../../../types/filters/FilterGroup\";\r\nimport { Rating, Ratings } from '../../../../types/enums/Rating';\r\nimport { InventoryPositionStatus } from \"../../../../types/inventory/InventoryPositionStatus\";\r\nimport { inventoryPositionStatusTitle } from \"../../inventory-position-status-title\";\r\nimport { collateralTypes } from \"../../../../constants/collateral-types\";\r\nimport { CollateralType } from \"../../../../types/amr-pipeline/enums/CollateralType\";\r\nimport { dateRangeFilterOptions } from \"../../../../constants/date-range.filter\";\r\nimport { SubscriptionFeature } from '../../../../types/billing/SubscriptionFeature';\r\nimport { user } from '../../../../user/user';\r\n\r\nexport const bdInventoryFilters = {\r\n visibleFilters: ['date', 'statuses', 'collateralType', 'currency', 'managers', 'ratings'],\r\n additionalFilters: ['nonCallEnd', 'reinvestmentEnd', 'esg', 'euCompliance', 'staticDeal', 'maturity', 'vintage', 'trustees', 'amr', 'closing', 'outOfNC', 'outOfRI'],\r\n defaultFilter: {\r\n date: {\r\n key: 'date',\r\n type: FilterType.Date,\r\n visible: true,\r\n text: 'Date',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: user.hasFeatures(SubscriptionFeature.InventoryHistoricalData) ? {\r\n selectedOption: { ...dateRangeFilterOptions.All, default: true },\r\n options: {\r\n customDateRange: { from: null, to: null },\r\n },\r\n } : {\r\n selectedOption: { ...dateRangeFilterOptions.CurrentInventory, default: true },\r\n options: { customDateRange: { from: null, to: null } },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.inventoryOptions(),\r\n requiredFeature: SubscriptionFeature.InventoryHistoricalData\r\n } as FilterDateGroup,\r\n statuses: {\r\n key: 'statuses',\r\n type: FilterType.Select,\r\n visible: true,\r\n text: 'Status',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: [\r\n {\r\n value: InventoryPositionStatus.added,\r\n text: inventoryPositionStatusTitle[InventoryPositionStatus.added],\r\n selected: false,\r\n visible: true,\r\n disabled: false\r\n },\r\n {\r\n value: InventoryPositionStatus.updated,\r\n text: inventoryPositionStatusTitle[InventoryPositionStatus.updated],\r\n selected: false,\r\n visible: true,\r\n disabled: false\r\n },\r\n {\r\n value: InventoryPositionStatus.traded,\r\n text: inventoryPositionStatusTitle[InventoryPositionStatus.traded],\r\n selected: false,\r\n visible: true,\r\n disabled: false\r\n },\r\n ],\r\n } as FilterSelectGroup,\r\n collateralType: {\r\n key: 'collateralType',\r\n type: FilterType.Select,\r\n visible: true,\r\n text: 'Collat',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: [\r\n {\r\n value: CollateralType.broadlySyndicated,\r\n text: collateralTypes.BroadlySyndicated,\r\n selected: false,\r\n disabled: false,\r\n visible: true,\r\n },\r\n {\r\n value: CollateralType.middleMarket,\r\n text: collateralTypes.MiddleMarket,\r\n selected: false,\r\n disabled: false,\r\n visible: true,\r\n },\r\n ],\r\n } as FilterSelectGroup,\r\n currency: {\r\n key: 'currency',\r\n type: FilterType.Select,\r\n visible: true,\r\n text: 'Ccy',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: Currencies.map(v => ({\r\n value: v,\r\n text: v,\r\n selected: false,\r\n disabled: false,\r\n visible: true,\r\n })),\r\n } as FilterSelectGroup,\r\n ratings: {\r\n key: 'ratings',\r\n type: FilterType.Select,\r\n visible: true,\r\n isApplied: false,\r\n disabled: false,\r\n selected: false,\r\n text: 'Rtg',\r\n filter: Ratings.map(v => ({\r\n value: v,\r\n text: v,\r\n selected: false,\r\n disabled: false,\r\n visible: true,\r\n })),\r\n } as FilterSelectGroup,\r\n managers: {\r\n key: 'managers',\r\n withSearch: true,\r\n type: FilterType.Select,\r\n visible: true,\r\n text: 'Manager',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: [],\r\n } as FilterSelectGroup,\r\n maturity: {\r\n key: 'maturity',\r\n type: FilterType.Date,\r\n visible: false,\r\n text: 'Maturity',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: undefined,\r\n options: {\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.maturity(),\r\n disabledDays: { before: moment().add(1, 'day').toDate() },\r\n },\r\n vintage: {\r\n key: 'vintage',\r\n type: FilterType.YearsDate,\r\n visible: false,\r\n text: 'Vintage',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: undefined,\r\n options: {\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.vintage(),\r\n },\r\n closing: {\r\n key: 'closing',\r\n type: FilterType.Date,\r\n visible: false,\r\n text: 'Closing',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: undefined,\r\n options: {\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.closing(),\r\n disabledDays: { after: moment().subtract(1, 'day').toDate() },\r\n },\r\n trustees: {\r\n withSearch: true,\r\n type: FilterType.Select,\r\n visible: false,\r\n text: 'Trustee',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: [],\r\n key: 'trustees',\r\n },\r\n amr: {\r\n key: 'amr',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'Deal with AMR',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n },\r\n nonCallEnd: {\r\n key: 'nonCallEnd',\r\n type: FilterType.DateWithYearsRange,\r\n visible: false,\r\n text: 'NC End',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: undefined,\r\n options: {\r\n customYearsRange: { from: '', to: '' },\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.nonCallEnd(),\r\n } as FilterDateGroup,\r\n reinvestmentEnd: {\r\n key: 'reinvestmentEnd',\r\n type: FilterType.DateWithYearsRange,\r\n visible: false,\r\n text: 'RI End',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: undefined,\r\n options: {\r\n customYearsRange: { from: '', to: '' },\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.reinvestmentEnd(),\r\n } as FilterDateGroup,\r\n esg: {\r\n key: 'esg',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'ESG',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n euCompliance: {\r\n key: 'euCompliance',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'EU Compliance',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n staticDeal: {\r\n key: 'staticDeal',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'Static Deal',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n outOfNC: {\r\n key: 'outOfNC',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'Out of NC',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n outOfRI: {\r\n key: 'outOfRI',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'Out of Rl',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n },\r\n};\r\n","import * as React from 'react';\r\nimport { useState } from 'react';\r\nimport { useDispatch, useSelector } from 'react-redux';\r\nimport { inventoryEditActions } from '../../../actions';\r\nimport { bdInventoryActions } from '../../../actions/bd-inventory.actions';\r\nimport { AppState } from '../../../types/state/AppState';\r\nimport { isRequesting, isRequestNone, isRequestSuccess } from '../../../utils';\r\nimport { InventoryEdit } from '../edit/InventoryEdit';\r\nimport { useCurrentUserCompany } from '../../../effects/useCurrentUserCompany';\r\nimport { useHistory } from 'react-router';\r\nimport { routes } from '../../../constants';\r\n\r\nexport function BdInventoryEdit() {\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n\r\n const [, userCompany] = useCurrentUserCompany();\r\n const { requestState, items, lockModifiedDate } = useSelector((s: AppState) => s.entities.inventory);\r\n const savingRequestState = useSelector((s: AppState) => s.inventoryEdit.savingRequestState);\r\n\r\n const [currentLockModifiedDate, setCurrentLockModifiedDate] = React.useState();\r\n const [mounted, setMounted] = useState(false);\r\n\r\n const handleRefresh = React.useCallback(() => {\r\n dispatch(bdInventoryActions.resetEntities());\r\n dispatch(bdInventoryActions.loadBdInventory());\r\n }, [dispatch]);\r\n\r\n React.useEffect(() => {\r\n handleRefresh();\r\n setMounted(true);\r\n }, [dispatch, handleRefresh]);\r\n\r\n React.useEffect(() => {\r\n if (!currentLockModifiedDate && isRequestSuccess(requestState) && lockModifiedDate) {\r\n setCurrentLockModifiedDate(lockModifiedDate);\r\n }\r\n }, [requestState, currentLockModifiedDate, lockModifiedDate]);\r\n\r\n React.useEffect(() => {\r\n if(isRequestSuccess(savingRequestState)) {\r\n history.replace(routes.inventory)\r\n }\r\n // eslint-disable-next-line\r\n }, [savingRequestState])\r\n\r\n if (!mounted || isRequestNone(requestState)) {\r\n return null;\r\n }\r\n\r\n return (\r\n dispatch(inventoryEditActions.save(currentLockModifiedDate))}\r\n />\r\n );\r\n}\r\n","import * as React from 'react';\r\nimport { useDispatch, useSelector } from 'react-redux';\r\nimport { useHistory, useParams } from 'react-router';\r\nimport { inventoryEditActions } from '../../actions';\r\nimport { adminInventoryEditActions } from '../../actions/admin-inventory-edit.actions';\r\nimport { AppState } from '../../types/state/AppState';\r\nimport { isRequesting, isRequestNone, isRequestSuccess } from '../../utils';\r\nimport { InventoryEdit } from './edit/InventoryEdit';\r\nimport { routes } from '../../constants';\r\n\r\nexport function AdminInventoryEdit() {\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n const { requestState, items, lockModifiedDate, bdCompany } = useSelector((s: AppState) => s.entities.adminInventoryEdit);\r\n const savingRequestState = useSelector((s: AppState) => s.inventoryEdit.savingRequestState);\r\n const requestParams = useParams<{ companyId?: string }>();\r\n const companyId = Number(requestParams.companyId);\r\n\r\n React.useEffect(() => {\r\n dispatch(adminInventoryEditActions.loadInventory(companyId));\r\n return () => {\r\n dispatch(adminInventoryEditActions.reset());\r\n }\r\n }, [companyId, dispatch]);\r\n\r\n React.useEffect(() => {\r\n if(isRequestSuccess(savingRequestState)) {\r\n history.replace(routes.inventory)\r\n }\r\n // eslint-disable-next-line\r\n }, [savingRequestState])\r\n\r\n const handleRefresh = () => {\r\n dispatch(adminInventoryEditActions.reset());\r\n dispatch(adminInventoryEditActions.loadInventory(companyId));\r\n };\r\n\r\n return (\r\n dispatch(inventoryEditActions.save(lockModifiedDate, companyId))}\r\n />\r\n );\r\n}\r\n","import React from 'react';\r\nimport { routes } from '../../constants';\r\nimport { SubscriptionFeature } from '../../types/billing/SubscriptionFeature';\r\nimport { FeatureLink } from '../access/FeatureLink';\r\nimport { ActionBlocker } from '../access/ActionBlocker';\r\n\r\ninterface Props {\r\n count?: number;\r\n ticker: string;\r\n}\r\n\r\nexport const SecurityInventoryLink: React.FC = ({ ticker, count }) => {\r\n return (\r\n \r\n \r\n View{!!count && ` (${count})`}\r\n \r\n \r\n )\r\n}\r\n","import { InventoryPositionStatus } from '../../types/inventory/InventoryPositionStatus';\r\n\r\nexport const inventoryPositionStatusTitle = {\r\n [InventoryPositionStatus.added]: 'New',\r\n [InventoryPositionStatus.updated]: 'Updated',\r\n [InventoryPositionStatus.traded]: 'Sold',\r\n};\r\n\r\nexport const inventoryPositionStatusTitleList: string[] = [\r\n inventoryPositionStatusTitle[InventoryPositionStatus.added],\r\n inventoryPositionStatusTitle[InventoryPositionStatus.updated],\r\n inventoryPositionStatusTitle[InventoryPositionStatus.traded],\r\n];\r\n\r\nexport const getInventoryPositionStatusByTitle = (title: string): InventoryPositionStatus | undefined => {\r\n if (title) {\r\n const keyValue = Object\r\n .entries(inventoryPositionStatusTitle)\r\n .find(([key, value]) => title.localeCompare(value, undefined, { sensitivity: 'accent' }) === 0);\r\n if (keyValue) {\r\n const [key] = keyValue;\r\n return Number(key);\r\n }\r\n }\r\n return undefined;\r\n};\r\n","export const marketTrendsCategoryId = 14188685758100;\r\n\r\nexport const sectionsId = {\r\n gettingStarted: \"getting-started\",\r\n webinars: \"webinars\",\r\n marketMonitoring: \"market-monitoring\",\r\n primaryIssuance: \"primary-issuance\",\r\n secondaryMarket: \"secondary-market\",\r\n};\r\n\r\nexport const marketMonitoringLinks = {\r\n dashboard: [\r\n {\r\n text: \"Dashboard Brochure\",\r\n href: \"https://mcusercontent.com/2cf228ffa59560c76cc481980/files/0f8f81d2-acda-c9e1-ceb5-3aed302a1cd9/CLO_Market_Dashboard.02.pdf\",\r\n },\r\n ],\r\n portfolio: [\r\n {\r\n text: \"Portfolio Brochure\",\r\n href: \"https://mcusercontent.com/2cf228ffa59560c76cc481980/files/e9511179-874b-90c1-56f4-109988fd5c85/KopenTech_Portfolio.pdf\",\r\n },\r\n ],\r\n newsAndWebinar: [\r\n {\r\n text: \"News & Webinar Brochure\",\r\n href: \"https://mcusercontent.com/2cf228ffa59560c76cc481980/files/7eb0a8f9-0b77-6d18-93ec-ca96dec39b2f/News_amp_Webinars.04.pdf\",\r\n },\r\n ],\r\n};\r\n\r\nexport const primaryIssuanceLinks = {\r\n issuanceMonitor: [\r\n {\r\n text: \"Issuance Monitor Brochure\",\r\n href: \"https://mcusercontent.com/2cf228ffa59560c76cc481980/files/6956f695-5e3a-0b21-bf43-ef2c6b6b0ce9/Issuance_Monitor_Overview.04.pdf\",\r\n },\r\n ],\r\n arrangerAndManagerProfile: [\r\n {\r\n text: \"Arranger Profile Brochure\",\r\n href: \"https://mcusercontent.com/2cf228ffa59560c76cc481980/files/d2aed136-3680-516d-e35f-efb344ed4566/Arranger_Bank_Profile.02.pdf\",\r\n },\r\n {\r\n text: \"Manager Profiles Profile Brochure\",\r\n href: \"https://mcusercontent.com/2cf228ffa59560c76cc481980/files/835b275c-f5db-af0e-2abf-c290e4f21b9e/CLO_Manager_Profile.05.pdf\",\r\n },\r\n ],\r\n};\r\n\r\nexport const secondaryMarketLinks = {\r\n ktxElectronicTrading: [\r\n {\r\n text: \"KTX™ Electronic Trading Brochure\",\r\n href: \"https://mcusercontent.com/2cf228ffa59560c76cc481980/files/7351ac50-d774-a2d6-cb64-a1914d1bf70f/Electronic_trading.02.pdf\",\r\n },\r\n ],\r\n bwicAndDealerInventory: [\r\n {\r\n text: \"BWIC Monitor Brochure\",\r\n href: \"https://mcusercontent.com/2cf228ffa59560c76cc481980/files/1a2a8135-9c32-abbd-555c-649e6c58239e/BWIC_Monitor.04.pdf\",\r\n },\r\n {\r\n text: \"Dealer Inventory Brochure\",\r\n href: \"https://mcusercontent.com/2cf228ffa59560c76cc481980/files/a1d1edc7-24d0-2145-a968-f88a95863b3b/Multi_Dealer_CLO_Inventory.03.pdf\",\r\n },\r\n ],\r\n amrRefinancing: [\r\n {\r\n text: \"AMR Refinancing Brochure\",\r\n href: \"https://mcusercontent.com/2cf228ffa59560c76cc481980/files/fb1e560f-3950-c358-2db6-0045d2ee9f33/Applicable_Margin_Reset_.pdf\",\r\n },\r\n ],\r\n};\r\n\r\n","import cn from 'classnames';\r\n\r\ninterface Props {\r\n months: {month: string}[]\r\n selectedMonth: string;\r\n}\r\n\r\nexport function MarketTrendsMonthFilter({ months = [], selectedMonth }: Props) {\r\n return (\r\n
\r\n
\r\n {\r\n months.map(month => (\r\n \r\n {month.month}\r\n \r\n ))\r\n }\r\n
\r\n
\r\n );\r\n}\r\n","import * as React from 'react';\r\nimport { useRef } from 'react';\r\nimport sanitizeHtml from 'sanitize-html';\r\nimport { HelpResourceArticle } from '../../../types/help-resources/HelpResourceArticle';\r\nimport { HelpResourceSection } from '../../../types/help-resources/HelpResourceCategory';\r\nimport { Player } from '../../common/Player';\r\nimport { stringUtils } from '../../../utils';\r\nimport { ActionBlocker } from '../../access/ActionBlocker';\r\nimport { SubscriptionFeature } from '../../../types/billing/SubscriptionFeature';\r\nimport { RequiredFeature } from '../../access/RequiredFeature';\r\nimport { SubscribeLink } from '../../access/BlockedFeatureText';\r\nimport { BlockedFeatureContext } from '../../access/BlockedFeatureContext';\r\nimport classNames from 'classnames';\r\n\r\ninterface MarketTrendsSectionProps {\r\n section: HelpResourceSection;\r\n articles: HelpResourceArticle[];\r\n}\r\n\r\nconst allowedDescriptionTags = ['h2', 'br', 'p', 'a'];\r\n// Article index\r\nconst reportArticleIndex = 0;\r\nconst newsletterArticleIndex = 1;\r\nconst videoArticleIndex = 2;\r\n\r\nexport function MarketTrendsSection({ section, articles }: MarketTrendsSectionProps) {\r\n const sectionRef = useRef(null);\r\n const sectionMonth = section.name.split(' ')[0];\r\n\r\n const getSectionDescription = (description = '') =>\r\n description\r\n .replace('*', '

')\r\n .replace('*', '

');\r\n\r\n return (\r\n
\r\n
\r\n
{section.name}
\r\n {section.description && (\r\n
\r\n )}\r\n
\r\n {articles?.[reportArticleIndex] && (\r\n \r\n \r\n \r\n )}\r\n {articles?.[reportArticleIndex] && articles?.[newsletterArticleIndex] && (\r\n \r\n )}\r\n {articles?.[newsletterArticleIndex] && }\r\n
\r\n
\r\n\r\n
\r\n {stringUtils.isValidUrl(articles?.[videoArticleIndex]?.title) && (\r\n to unlock access to historical Webinars.}\r\n >\r\n \r\n \r\n )}\r\n
\r\n
\r\n );\r\n}\r\n\r\nfunction MarkedTrendsLink({ href, text }: { href: string, text: string }) {\r\n const disabled = React.useContext(BlockedFeatureContext);\r\n return (\r\n \r\n {text}\r\n \r\n )\r\n}\r\n","import { useParams } from 'react-router-dom';\r\nimport { TabItem, TabList } from '../../bidding/common/tab-list';\r\n\r\ninterface Props {\r\n years: number[];\r\n onSelectedYearChange: (year: number) => void;\r\n}\r\n\r\nexport function MarketTrendsYearFilter({ years, onSelectedYearChange }: Props) {\r\n const params = useParams<{ year: string }>();\r\n\r\n return (\r\n
\r\n \r\n {\r\n years.map(year => (\r\n onSelectedYearChange(year)}\r\n />\r\n ))\r\n }\r\n \r\n
\r\n );\r\n}\r\n","import { useEffect, useMemo, useRef } from 'react';\r\nimport { keys } from 'lodash';\r\nimport moment from 'moment/moment';\r\nimport { useHistory, useLocation, useParams } from 'react-router';\r\nimport { routes } from '../../../constants';\r\nimport { HelpResourceArticle } from '../../../types/help-resources/HelpResourceArticle';\r\nimport { HelpResourceSection } from '../../../types/help-resources/HelpResourceCategory';\r\nimport { MarketTrendsMonthFilter } from './MarketTrendsMonthFilter';\r\nimport { MarketTrendsSection } from './MarketTrendsSection';\r\nimport { MarketTrendsYearFilter } from './MarketTrendsYearFilter';\r\n\r\nconst monthsList = moment.months();\r\n\r\nconst groupMarkedTrendsSections = (sections: HelpResourceSection[]): MarketTrendsStructure => {\r\n const structure: MarketTrendsStructure = {};\r\n sections.forEach(section => {\r\n const [month, yearString] = section.name.split(' ');\r\n const year = Number(yearString);\r\n\r\n if (!structure[year]) {\r\n structure[year] = [];\r\n }\r\n\r\n if (monthsList.indexOf(month) !== -1 && structure[year].findIndex(i => i.month === month) === -1) {\r\n structure[year].push({ month });\r\n structure[year].sort((a, b) => monthsList.indexOf(b.month) - monthsList.indexOf(a.month));\r\n }\r\n })\r\n return structure;\r\n};\r\n\r\ntype MarketTrendsStructure = { [year: number]: { month: string }[] };\r\n\r\ninterface MarketTrendsWebinarsContentProps {\r\n sections: HelpResourceSection[];\r\n articles: HelpResourceArticle[];\r\n monthInScroll: string | null;\r\n scrollToStart: () => void;\r\n}\r\n\r\nexport function MarketTrendsWebinarsContent({ sections, articles, monthInScroll, scrollToStart }: MarketTrendsWebinarsContentProps) {\r\n const initialized = useRef(false);\r\n const history = useHistory();\r\n const { year } = useParams<{ year: string }>();\r\n const { hash } = useLocation();\r\n const selectedYear = Number(year);\r\n\r\n const structure = useMemo(() => groupMarkedTrendsSections(sections), [sections]);\r\n const yearList = useMemo(() => keys(structure).map(year => Number(year)).sort().reverse(), [structure]);\r\n\r\n const yearStructure = structure[selectedYear];\r\n\r\n const selectedMonth = monthInScroll || (yearStructure ? yearStructure[0].month : '');\r\n\r\n useEffect(() => {\r\n if (yearList[0] && structure && !initialized.current) {\r\n history.replace(`${routes.resourcesWebinarUrl(selectedYear || yearList[0])}${hash || ''}`);\r\n initialized.current = true;\r\n }\r\n }, [selectedYear, yearList, history, structure, hash])\r\n\r\n const handleYearChanged = (year: number) => {\r\n history.push(routes.resourcesWebinarUrl(year));\r\n scrollToStart();\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n
\r\n {\r\n sections.filter(s => s.name.indexOf(String(selectedYear)) > -1).map(s =>\r\n a.section_id === s.id)}\r\n />\r\n )\r\n }\r\n
\r\n \r\n )\r\n}\r\n","import { Fragment } from \"react/jsx-runtime\";\r\nimport { Player } from \"../common/Player\";\r\n\r\ninterface LinkData {\r\n text: string;\r\n href: string;\r\n}\r\n\r\ninterface Props {\r\n title: string;\r\n text: string;\r\n videoUrl?: string;\r\n links?: LinkData[];\r\n}\r\n\r\nexport function ResourceSectionContent({\r\n title,\r\n text,\r\n videoUrl,\r\n links,\r\n}: Props) {\r\n return (\r\n
\r\n
\r\n

{title}

\r\n\r\n
{text}
\r\n\r\n {!!links?.length && (\r\n
\r\n {links.map(({ text, href }, index) => (\r\n \r\n {!!index && (\r\n \r\n )}\r\n \r\n {text}\r\n \r\n \r\n ))}\r\n
\r\n )}\r\n
\r\n\r\n {!!videoUrl && (\r\n
\r\n \r\n
\r\n )}\r\n
\r\n );\r\n}\r\n\r\n","import React, { useRef, useState } from \"react\";\r\nimport { LazyLoad } from \"../common/LazyLoad\";\r\nimport { MarketTrendsWebinarsContent } from \"./market-trends-webinar/MarketTrendsWebinarsContent\";\r\nimport { SectionContent } from \"../amrPipeline/common/section/SectionContent\";\r\nimport { ResourceSectionContent } from \"./ResourceSectionContent\";\r\nimport {\r\n marketMonitoringLinks,\r\n primaryIssuanceLinks,\r\n secondaryMarketLinks,\r\n sectionsId,\r\n} from \"./constants\";\r\n\r\nimport { Webinar } from \"../../types/marketing/Webinar\";\r\nimport {\r\n HelpResourceCategory,\r\n HelpResourceSection,\r\n} from \"../../types/help-resources/HelpResourceCategory\";\r\nimport { HelpResourceArticle } from \"../../types/help-resources/HelpResourceArticle\";\r\nimport classNames from \"classnames\";\r\nimport IconSVG from \"../../styles/svg-icons\";\r\n\r\nconst isElementFullyVisible = (rect: DOMRect, topMargin: number = 0) => {\r\n const { top, bottom } = rect;\r\n return top >= topMargin && bottom <= window.innerHeight;\r\n};\r\n\r\nconst isElementVisible = (rect: DOMRect, topMargin: number = 0) => {\r\n const { top, bottom } = rect;\r\n return (\r\n isElementFullyVisible(rect, topMargin) || // The top and the bottom are visible\r\n (top < topMargin && bottom > window.innerHeight) || // The top and the bottom are outside the screen, but the middle content is visible\r\n (top >= topMargin && top < window.innerHeight && bottom > window.innerHeight) || // The top is visible and the bottom is outside\r\n (top < topMargin && bottom < window.innerHeight && bottom > topMargin) // The top is outside and the bottom is visible\r\n );\r\n};\r\n\r\nconst getElementHeight = (rect: DOMRect) => {\r\n const { top, bottom } = rect;\r\n\r\n return Math.min(bottom, window.innerHeight) - Math.max(0, top);\r\n};\r\n\r\ninterface Props {\r\n category?: HelpResourceCategory;\r\n webinar?: Webinar;\r\n webinarSections: HelpResourceSection[];\r\n webinarArticles: HelpResourceArticle[];\r\n}\r\n\r\nexport const ResourceContent = ({\r\n category,\r\n webinar,\r\n webinarSections,\r\n webinarArticles,\r\n}: Props) => {\r\n const sectionsWrapperRef = useRef(null);\r\n const sectionsRef = useRef<(HTMLElement | null)[]>([]);\r\n const fullyVisibleSecIdRef = useRef([]);\r\n const [visibleSectionId, setVisibleSectionId] = useState(\r\n sectionsId.gettingStarted\r\n );\r\n const [visibleWebinarMonth, setVisibleWebinarMonth] = useState<\r\n string | null\r\n >(null);\r\n\r\n const sectionsList = [\r\n {\r\n title: \"Getting Started\",\r\n id: sectionsId.gettingStarted,\r\n renderSection: () => (\r\n \r\n \r\n \r\n \r\n ),\r\n },\r\n {\r\n title: \"Webinars & Monthly Reports\",\r\n id: sectionsId.webinars,\r\n renderSection: () => (\r\n \r\n \r\n \r\n ),\r\n },\r\n {\r\n title: \"Market Monitoring\",\r\n id: sectionsId.marketMonitoring,\r\n renderSection: () => (\r\n \r\n \r\n \r\n \r\n \r\n ),\r\n },\r\n {\r\n title: \"Primary Issuance\",\r\n id: sectionsId.primaryIssuance,\r\n renderSection: () => (\r\n \r\n \r\n \r\n \r\n ),\r\n },\r\n {\r\n title: \"Secondary Market\",\r\n id: sectionsId.secondaryMarket,\r\n renderSection: () => (\r\n \r\n \r\n \r\n \r\n \r\n ),\r\n },\r\n ];\r\n\r\n const handleScroll = (e: React.UIEvent) => {\r\n let maxHeight = 0;\r\n let elementId = visibleSectionId;\r\n const fullyVisibleElements = [];\r\n const hash = window.location.hash.substring(\r\n 1,\r\n window.location.hash.length\r\n );\r\n const topMargin =\r\n sectionsWrapperRef.current?.getBoundingClientRect().top;\r\n\r\n for (let i = 0; i < sectionsRef.current.length; i++) {\r\n const section = sectionsRef.current[i];\r\n const sectionId = section?.getAttribute(\"id\");\r\n\r\n if (!section || !sectionId) {\r\n return;\r\n }\r\n const rect = section.getBoundingClientRect();\r\n\r\n if (isElementFullyVisible(rect, topMargin)) {\r\n fullyVisibleElements.push(sectionId);\r\n }\r\n\r\n if (isElementVisible(rect, topMargin)) {\r\n const elementHeight = getElementHeight(rect);\r\n if (elementHeight > maxHeight) {\r\n maxHeight = elementHeight;\r\n elementId = sectionId;\r\n }\r\n\r\n if (sectionId === sectionsId.webinars) {\r\n const webinarSections = section.querySelectorAll(\r\n \".webinars-list .resources-item\"\r\n );\r\n const monthNavigation = section.querySelector(\r\n \".webinar-navigation-months\"\r\n );\r\n const webinarMarginTop =\r\n monthNavigation?.getBoundingClientRect().bottom;\r\n\r\n for (let j = 0; j < webinarSections.length; j++) {\r\n const webinarElement = webinarSections[j];\r\n if (\r\n isElementVisible(\r\n webinarElement.getBoundingClientRect(),\r\n webinarMarginTop\r\n )\r\n ) {\r\n setVisibleWebinarMonth(\r\n webinarElement.getAttribute(\"id\")\r\n );\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (!fullyVisibleElements.length) {\r\n fullyVisibleSecIdRef.current = [];\r\n return setVisibleSectionId(elementId);\r\n }\r\n\r\n const hashedElementId = fullyVisibleElements.find((id) => id === hash);\r\n\r\n fullyVisibleSecIdRef.current = fullyVisibleElements;\r\n setVisibleSectionId(hashedElementId || fullyVisibleElements[0]);\r\n };\r\n\r\n const scrollToWebinar = () => {\r\n const sectionToScroll = sectionsRef.current.find(\r\n (s) => s?.id === sectionsId.webinars\r\n );\r\n if (!sectionToScroll || !sectionsWrapperRef.current) {\r\n return null;\r\n }\r\n\r\n sectionsWrapperRef.current.style.scrollBehavior = 'auto'; // Preventing smooth scroll for the years filters\r\n sectionToScroll.scrollIntoView({ block: \"start\" });\r\n setVisibleWebinarMonth(null);\r\n sectionsWrapperRef.current.style.scrollBehavior = 'smooth';\r\n };\r\n\r\n const handleNavClick = (id: string) =>\r\n fullyVisibleSecIdRef.current.includes(id)\r\n ? setVisibleSectionId(id)\r\n : undefined;\r\n\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n Resources\r\n
\r\n Monthly Webinars, Products, Brochures and Getting Started Videos\r\n
\r\n {!!webinar && (\r\n
\r\n \r\n \r\n Register for the webinar\r\n \r\n
\r\n {webinar.title}\r\n
\r\n {webinar.description}\r\n
\r\n )}\r\n
\r\n
\r\n
\r\n \r\n \r\n {sectionsList.map(({ id, renderSection }, index) => (\r\n (sectionsRef.current[index] = ref)}\r\n >\r\n {renderSection()}\r\n \r\n ))}\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\n","import { useGetWebinar } from \"../../effects/useGetWebinar\";\r\nimport { isRequesting } from \"../../utils\";\r\nimport { Preloader } from \"../common\";\r\nimport { useGetCategoryArticles } from \"./effects/useGetCategoryArticles\";\r\nimport { useGetCategorySections } from \"./effects/useGetCategorySections\";\r\nimport { marketTrendsCategoryId } from \"./constants\";\r\nimport { ResourceContent } from \"./ResourcesContent\";\r\nimport { useAnchorScroll } from \"../../effects/useAnchorScroll\";\r\n\r\nexport const Resources = () => {\r\n const { requestStateGetWebinar, webinar } = useGetWebinar();\r\n const { requestStateGetCategorySections, sections } =\r\n useGetCategorySections(marketTrendsCategoryId);\r\n const { requestStateGetCategoryArticles, articles } =\r\n useGetCategoryArticles(marketTrendsCategoryId);\r\n // K2-1473 Resources:: Comment out the code for updating banner description via Zendesk\r\n // const { categories, categoriesRequestState } = useHelpResourcesCategories();\r\n // const category = useMemo(\r\n // () => categories.find((c) => c.id === marketTrendsCategoryId),\r\n // [categories]\r\n // );\r\n\r\n const isLoading =\r\n isRequesting(requestStateGetCategorySections) ||\r\n isRequesting(requestStateGetWebinar) ||\r\n isRequesting(requestStateGetCategoryArticles);\r\n\r\n useAnchorScroll(!isLoading);\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\n","import { useCallback, useEffect, useState } from 'react';\r\nimport { useDispatch } from 'react-redux';\r\nimport { errorActions } from '../../../actions';\r\nimport { RequestState } from '../../../constants/request-state';\r\nimport { helpResourcesService } from '../../../services/help-resources.service';\r\nimport { HelpResourceSection } from '../../../types/help-resources/HelpResourceCategory';\r\n\r\nexport const useGetCategorySections = (categoryId?: number) => {\r\n const dispatch = useDispatch();\r\n\r\n const [sections, setSections] = useState([]);\r\n const [requestStateGetCategorySections, setRequestStateGetCategorySections] = useState(RequestState.none);\r\n\r\n const getData = useCallback(async (categoryId: number) => {\r\n try {\r\n setRequestStateGetCategorySections(RequestState.request);\r\n const data = await helpResourcesService.fetchCategorySections(categoryId);\r\n setSections(data);\r\n setRequestStateGetCategorySections(RequestState.success);\r\n } catch (e) {\r\n dispatch(errorActions.unexpectedError(e));\r\n setRequestStateGetCategorySections(RequestState.failure);\r\n }\r\n }, [dispatch])\r\n\r\n useEffect(() => {\r\n if(categoryId) {\r\n getData(categoryId)\r\n }\r\n }, [getData, categoryId])\r\n\r\n return { requestStateGetCategorySections, sections }\r\n}\r\n","import { useCallback, useEffect, useState } from 'react';\r\nimport { useDispatch } from 'react-redux';\r\nimport { errorActions } from '../../../actions';\r\nimport { RequestState } from '../../../constants/request-state';\r\nimport { helpResourcesService } from '../../../services/help-resources.service';\r\nimport { HelpResourceArticle } from '../../../types/help-resources/HelpResourceArticle';\r\n\r\nexport const useGetCategoryArticles = (categoryId?: number) => {\r\n const dispatch = useDispatch();\r\n\r\n const [articles, setArticles] = useState([]);\r\n const [requestStateGetCategoryArticles, setRequestStateGetCategoryArticles] = useState(RequestState.none);\r\n\r\n const getData = useCallback(async (categoryId: number) => {\r\n try {\r\n setRequestStateGetCategoryArticles(RequestState.request);\r\n const data = await helpResourcesService.fetchCategoryArticles(categoryId);\r\n setArticles(data);\r\n setRequestStateGetCategoryArticles(RequestState.success);\r\n } catch (e) {\r\n dispatch(errorActions.unexpectedError(e));\r\n setRequestStateGetCategoryArticles(RequestState.failure);\r\n }\r\n }, [dispatch])\r\n\r\n useEffect(() => {\r\n if(categoryId) {\r\n getData(categoryId)\r\n }\r\n }, [getData, categoryId])\r\n\r\n return { requestStateGetCategoryArticles, articles }\r\n}\r\n","import React from \"react\";\r\nimport { Switch, Route, Redirect } from \"react-router\";\r\nimport { routes } from \"../../constants\";\r\nimport { Resources } from \"./Resources\";\r\n\r\nexport const ResourcesView: React.FC = () => {\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n );\r\n};\r\n\r\n","import * as React from 'react';\r\nimport { SettlementAgentCommissionByRating } from '../../../../types/bid-as-dealer/SettlementAgentCommissionByRating';\r\nimport { CommissionByRatingTable } from '../clearing-bank/CommissionByRatingTable';\r\nimport { Popup, PopupBody, PopupFooter } from '../../../controls';\r\nimport { OnHoverTooltip } from \"../../../common/OnHoverTooltip\";\r\nimport { Preloader } from '../../../common';\r\n\r\ninterface Props {\r\n isRequesting?: boolean;\r\n companyName: string;\r\n commission: SettlementAgentCommissionByRating;\r\n onClose: () => void;\r\n}\r\n\r\nexport function ViewSettlementAgentCommissionPopup({ companyName, commission, isRequesting = false, onClose }: Props) {\r\n const handleClose = (e: MouseEvent | React.MouseEvent) => {\r\n e.stopPropagation();\r\n onClose();\r\n }\r\n\r\n return (\r\n \r\n Commission by Rating\r\n \r\n {companyName}\r\n \r\n \r\n }\r\n onClose={handleClose}\r\n >\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, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { editParsedBwicActions as actions } from '../../../../actions';\r\nimport { classnames } from '../../../../styles/classnames';\r\nimport { DayPickerInput } from '../../../controls/DayPickerInput';\r\n\r\nclass BwicDate extends Component {\r\n render = () => {\r\n const { date, error } = this.props;\r\n const css = classnames({\r\n 'form-control': true,\r\n 'is-invalid': !!error\r\n });\r\n\r\n return (\r\n
\r\n \r\n \r\n {!!error &&
{error}
}\r\n
\r\n );\r\n }\r\n\r\n handleDayChange = day => this.props.dispatch(actions.changeDate(day));\r\n}\r\n\r\nconst mapStateToProps = ({ editParsedBwic }) => ({\r\n date: editParsedBwic.date,\r\n error: editParsedBwic.errors.date\r\n});\r\n\r\n\r\nconst connectedBwicDate = connect(mapStateToProps)(BwicDate);\r\nexport { connectedBwicDate as BwicDate };\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { editParsedBwicActions as actions } from '../../../../actions';\r\nimport { Counter } from '../../../controls';\r\n\r\n\r\nclass DaysToSettle extends Component {\r\n render = () => {\r\n const { daysToSettle } = this.props;\r\n\r\n return (\r\n
\r\n \r\n \r\n
\r\n );\r\n }\r\n\r\n handleDaysChanged = days => this.props.dispatch(actions.changeDaysToSettle(days));\r\n}\r\n\r\nconst mapStateToProps = ({ editParsedBwic }) => ({\r\n daysToSettle: editParsedBwic.daysToSettle,\r\n});\r\n\r\n\r\nconst connectedDaysToSettle = connect(mapStateToProps)(DaysToSettle);\r\nexport { connectedDaysToSettle as DaysToSettle };\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { editParsedBwicActions as actions } from '../../../../actions';\r\n\r\n\r\nclass TimeZone extends Component {\r\n render = () => {\r\n const { selectedTimeZone, timeZones } = this.props;\r\n const options = timeZones && timeZones.map(tz => )\r\n\r\n return (\r\n
\r\n \r\n \r\n
\r\n );\r\n }\r\n\r\n handleTimeZoneChanged = e => this.props.dispatch(actions.changeTimeZone(e.target.value));\r\n}\r\n\r\nconst mapStateToProps = ({ editParsedBwic }) => ({\r\n selectedTimeZone: editParsedBwic.timeZone,\r\n timeZones: editParsedBwic.timeZones\r\n});\r\n\r\n\r\nconst connectedTimeZone = connect(mapStateToProps)(TimeZone);\r\nexport { connectedTimeZone as TimeZone };\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport cn from 'classnames';\r\nimport { editParsedBwicActions as actions } from '../../../../actions';\r\nimport { TimePickerControl } from '../../../controls';\r\n\r\n\r\nclass Time extends Component {\r\n render = () => {\r\n const { bidsDue, goodUntil, error } = this.props;\r\n\r\n const classes = cn('rc-time-picker-normal rc-time-picker-normal-150', { 'is-invalid': !!error });\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 { !!error &&
{error}
}\r\n
\r\n
\r\n );\r\n }\r\n\r\n handleBidsDueChange = time => this.props.dispatch(actions.changeBidsDueTime(time));\r\n handleGoodUntilChange = time => this.props.dispatch(actions.changeGoodUntilTime(time));\r\n}\r\n\r\nconst mapStateToProps = ({ editParsedBwic }) => ({\r\n bidsDue: editParsedBwic.bidsDue,\r\n goodUntil: editParsedBwic.goodUntil,\r\n error: editParsedBwic.errors.time\r\n});\r\n\r\n\r\nconst connectedTime = connect(mapStateToProps)(Time);\r\nexport { connectedTime as Time };\r\n","import React from 'react';\r\nimport moment from 'moment';\r\nimport classNames from 'classnames';\r\nimport { useSelector, useDispatch } from 'react-redux';\r\nimport { FormError } from '../../../controls';\r\nimport { editParsedBwicActions } from '../../../../actions';\r\nimport { DayPickerInput } from '../../../controls/DayPickerInput';\r\n\r\nexport function BwicEmailReceivedDate() {\r\n const dispatch = useDispatch();\r\n const { emailReceivedDate, errors } = useSelector(s => s.editParsedBwic);\r\n const error = errors && errors.emailReceivedDate;\r\n const css = classNames({\r\n 'form-control': true,\r\n 'is-invalid': !!error\r\n });\r\n\r\n return (\r\n
\r\n \r\n dispatch(editParsedBwicActions.changeEmailReceivedDate(date))}\r\n selectedDate={emailReceivedDate}\r\n allowWeekends={true}\r\n minimumDate={moment().subtract(1, 'year').toDate()}\r\n maximumDate={moment().add(1, 'year').toDate()}\r\n className={css}\r\n />\r\n \r\n
\r\n )\r\n}\r\n","import { useRef } from 'react';\r\nimport { v4 as uuid } from 'uuid';\r\nimport cn from 'classnames';\r\nimport { Nullable } from \"../../../../types/primitives/Nullable\";\r\nimport { FormError } from '../../../controls/FormError';\r\nimport TimePickerControl from '../../../controls/TimePickerControl';\r\nimport { RadioButtonGroup } from '../../../controls/RadioButtonGroup';\r\nimport { editParsedBwicActions } from '../../../../actions/edit.parsed.bwic.actions';\r\nimport { useDispatch } from 'react-redux';\r\nimport { useAppSelector } from '../../../../effects/useAppSelector';\r\nimport { BwicProcessType } from '../../../../types/models/Process';\r\nimport { useAppDispatch } from '../../../../effects/useAppDispatch';\r\nimport { HardCutOff, Stage2Participants } from '../../../../types/models/ParsedBwicProcess';\r\nimport MaskedInput from 'react-text-mask';\r\nimport { createNumberMask } from 'text-mask-addons';\r\nimport { numericUtils } from '../../../../utils/numeric.utils';\r\n\r\nexport function EditParsedBwicRules() {\r\n const dispatch = useAppDispatch();\r\n const { reserveLevelsApply, canTradeEarly, canBidEarly, partialBidsAccepted, bwicProcessType, hardCutOff,\r\n stage1EndDateUtc, stage2EndDateUtc, errors } = useAppSelector(s => s.editParsedBwic);\r\n\r\n const advancedRulesVisible =\r\n bwicProcessType === BwicProcessType.JumpBall ||\r\n bwicProcessType === BwicProcessType.TopX ||\r\n bwicProcessType === BwicProcessType.BestFootForward ||\r\n bwicProcessType === BwicProcessType.Unknown;\r\n\r\n const isTwoStage =\r\n bwicProcessType === BwicProcessType.JumpBall ||\r\n bwicProcessType === BwicProcessType.TopX ||\r\n bwicProcessType === BwicProcessType.Unknown;\r\n\r\n return (\r\n <>\r\n
\r\n dispatch(editParsedBwicActions.changeReserveLevelsApply(value))}\r\n />\r\n dispatch(editParsedBwicActions.changeCanTradeEarly(value))}\r\n />\r\n dispatch(editParsedBwicActions.changeCanBidEarly(value))}\r\n />\r\n dispatch(editParsedBwicActions.changePartialBidsAccepted(value))}\r\n />\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n {advancedRulesVisible && isTwoStage && }\r\n {\r\n advancedRulesVisible &&\r\n (bwicProcessType === BwicProcessType.BestFootForward || hardCutOff === 1) &&\r\n <>\r\n dispatch(editParsedBwicActions.changeStage1EndTime(time))}\r\n />\r\n {bwicProcessType !== BwicProcessType.BestFootForward && }\r\n \r\n }\r\n
\r\n {\r\n advancedRulesVisible && hardCutOff === 2 &&\r\n
\r\n dispatch(editParsedBwicActions.changeStage1EndTime(time))}\r\n />\r\n dispatch(editParsedBwicActions.changeStage2EndTime(time))}\r\n />\r\n \r\n
\r\n }\r\n \r\n );\r\n}\r\n\r\ninterface BooleanFlagProps {\r\n title: string;\r\n value?: Nullable;\r\n onChange: (value: Nullable) => void;\r\n}\r\n\r\nfunction BooleanFlag({ title, value, onChange }: BooleanFlagProps) {\r\n const name = useRef(uuid());\r\n\r\n return (\r\n
\r\n \r\n onChange(value === 0 ? null : value)}\r\n />\r\n
\r\n );\r\n}\r\n\r\nfunction RulesText() {\r\n const dispatch = useDispatch();\r\n const rulesText = useAppSelector(s => s.editParsedBwic.rulesText);\r\n\r\n return (\r\n
\r\n \r\n dispatch(editParsedBwicActions.changeCustomRules(e.target.value))}\r\n />\r\n
\r\n );\r\n}\r\n\r\ninterface BwicProcessTypeSelectProps {\r\n processType?: BwicProcessType;\r\n}\r\nfunction BwicProcessTypeSelect({ processType }: BwicProcessTypeSelectProps) {\r\n const dispatch = useAppDispatch();\r\n\r\n return (\r\n
\r\n \r\n dispatch(editParsedBwicActions.changeBwicProcessType(+e.target.value))}\r\n >\r\n \r\n {[\r\n { value: BwicProcessType.Standard, text: \"Standard\" },\r\n { value: BwicProcessType.JumpBall, text: \"Jump Ball\" },\r\n { value: BwicProcessType.TopX, text: \"Top X\" },\r\n { value: BwicProcessType.BestFootForward, text: \"Best Foot Forward\" },\r\n { value: BwicProcessType.Unknown, text: \"Other\" }\r\n ].map(x => )}\r\n \r\n
\r\n )\r\n}\r\n\r\ninterface HardCutOffNumberProps {\r\n hardCutOff?: HardCutOff;\r\n}\r\nfunction HardCutOffNumber({ hardCutOff }: HardCutOffNumberProps) {\r\n const dispatch = useAppDispatch();\r\n\r\n return (\r\n
\r\n \r\n dispatch(editParsedBwicActions.changeHardCutOffNumber(value))}\r\n />\r\n
\r\n );\r\n}\r\n\r\nfunction ImproverNumberSelect() {\r\n const dispatch = useDispatch()\r\n const improverCount = useAppSelector(s => s.editParsedBwic.improverCount)\r\n\r\n return (\r\n
\r\n \r\n dispatch(editParsedBwicActions.changeStage2Participants(+e.target.value || null))}\r\n >\r\n \r\n {[\r\n { value: Stage2Participants.Top2, text: \"Top 2\" },\r\n { value: Stage2Participants.Top3, text: \"Top 3\" },\r\n { value: Stage2Participants.Top4, text: \"Top 4\" },\r\n { value: Stage2Participants.Top5, text: \"Top 5\" }\r\n ].map(x => )}\r\n \r\n
\r\n )\r\n}\r\n\r\ninterface HardCutOffTimeProps {\r\n title: string;\r\n className?: string;\r\n date?: Date;\r\n error?: string;\r\n onChange: (date: Date) => void;\r\n}\r\n\r\nfunction HardCutOffTime({ title, date, className, error, onChange }: HardCutOffTimeProps) {\r\n return (\r\n
\r\n \r\n \r\n \r\n
\r\n );\r\n}\r\n\r\nfunction BidsGoodFor() {\r\n const dispatch = useAppDispatch();\r\n const bidsGoodForHours = useAppSelector(s => s.editParsedBwic.bidsGoodForHours) ?? \"\";\r\n const bidsGoodForMinutes = useAppSelector(s => s.editParsedBwic.bidsGoodForMinutes) ?? \"\";\r\n const error = useAppSelector(s => s.editParsedBwic.errors?.bidsGoodFor);\r\n\r\n const limitHours = 12;\r\n const limitMinutes = 59;\r\n\r\n\r\n const handleMinutesChange = (e: React.ChangeEvent) => {\r\n if(numericUtils.isNumber(e.target.value) && +e.target.value > limitMinutes){\r\n return dispatch(editParsedBwicActions.changeBidsGoodForMinutes(bidsGoodForMinutes));\r\n }\r\n\r\n dispatch(editParsedBwicActions.changeBidsGoodForMinutes(e.target.value))\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n
\r\n dispatch(editParsedBwicActions.changeBidsGoodForHours(e.target.value))}\r\n />\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n )\r\n}\r\n","import { useEffect } from 'react';\r\nimport { useDispatch, useSelector } from 'react-redux';\r\nimport { useParams } from 'react-router-dom';\r\nimport { useHistory } from 'react-router';\r\nimport { editParsedBwicActions as actions, securitiesActions } from '../../../actions';\r\nimport { BwicDate, DaysToSettle, Time, TimeZone, BwicEmailReceivedDate } from './process';\r\nimport { Grid } from '../../grid';\r\nimport { CommandBar, EditBWICLeaveGuard } from '.';\r\nimport { Confirm } from '../../alerts';\r\nimport { routes } from '../../../constants';\r\nimport { Preloader } from '../../common/Preloader';\r\nimport { CollapsablePanel } from '../../common/CollapsablePanel';\r\nimport { EditParsedBwicRules } from './process/EditParsedBwicRules';\r\n\r\nexport const EditBWIC = () => {\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n const { referenceName } = useParams();\r\n\r\n const bwic = useSelector(s => s.editParsedBwic.bwic);\r\n const cancelDialog = useSelector(s => s.editParsedBwic.cancelDialog);\r\n const isInitCompleted = useSelector(s => s.editParsedBwic.isInitCompleted);\r\n const saved = useSelector(s => s.editParsedBwic.saved);\r\n\r\n useEffect(() => {\r\n dispatch(actions.init(referenceName));\r\n\r\n return () => {\r\n dispatch(actions.reset());\r\n } // eslint-disable-next-line\r\n }, [dispatch])\r\n\r\n useEffect(() => {\r\n if (saved) {\r\n history.replace(routes.manageParsedBwics);\r\n } // eslint-disable-next-line\r\n }, [saved])\r\n\r\n return (\r\n \r\n {isInitCompleted && bwic != 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
\r\n

Securities

\r\n dispatch(securitiesActions.uploadSecurities(file))}\r\n onDataItemsPaste={clipboardText => dispatch(securitiesActions.handleClipboardData(clipboardText))}\r\n onFileSelected={(file) => dispatch(securitiesActions.uploadSecurities(file))}\r\n helpPopoverTitle=\"You can add your securities in the following ways\"\r\n />\r\n
\r\n
\r\n
\r\n )}\r\n {!saved && }\r\n {\r\n cancelDialog.visible &&\r\n dispatch(actions.cancelDialog(false))}\r\n onConfirm={() => dispatch(actions.cancelBwic(bwic.referenceName))}\r\n />\r\n }\r\n
\r\n );\r\n}\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport moment from 'moment';\r\nimport { Breadcrumbs } from '../../controls/breadcrumbs/Breadcrumbs';\r\nimport { BreadcrumbsItem } from '../../controls/breadcrumbs/BreadcrumbsItem';\r\nimport { editParsedBwicActions as actions } from '../../../actions';\r\nimport { constants, bwicStatuses, uploadStatus, routes } from '../../../constants';\r\nimport { DownloadTemplateButton } from \"../../common/download-template/DownloadTemplateButton\";\r\nimport { DeleteRowsWithErrorButton } from \"../../grid/DeleteRowsWithErrorButton\";\r\n\r\nclass CommandBar extends Component {\r\n render = () => {\r\n const {\r\n bwic,\r\n bwicDate,\r\n bidsDue,\r\n totalPositionRowCount,\r\n timeZone,\r\n timeZones,\r\n dispatch,\r\n emailReceivedDate,\r\n isSaving,\r\n isGridUploading,\r\n hasGridErrors,\r\n isValid,\r\n hasPositions\r\n } = this.props;\r\n\r\n if (totalPositionRowCount === 0) {\r\n return null;\r\n }\r\n\r\n const canSave = !isSaving && hasPositions && !!bwicDate && !hasGridErrors && isValid && !!emailReceivedDate;\r\n // new bwic or edit unpublished\r\n const saveAndPublishVisible = !bwic.referenceName || (bwic.referenceName && bwic.onReview);\r\n const canCancel = !!bwic.referenceName && bwic.status !== bwicStatuses.cancelled.key;\r\n\r\n let dateTime = '';\r\n if (bwicDate && bidsDue) {\r\n const date = moment(bwicDate).format(constants.dateShortFormat);\r\n const time = moment.utc(bidsDue).format(constants.timeFormat);\r\n const timeZoneOffset = timeZones.find(t => t.id === timeZone).utcOffsetMinutes;\r\n\r\n //combine date time\r\n dateTime = moment\r\n .utc(`${date} ${time}`, `${constants.dateShortFormat} ${constants.timeFormat}`)\r\n .utcOffset(timeZoneOffset, true)\r\n .local()\r\n .format(`${constants.dateShortFormat} ${constants.timeFormat}`);\r\n }\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n

{dateTime}

\r\n
\r\n \r\n \r\n {canCancel &&\r\n \r\n }\r\n \r\n \r\n {saveAndPublishVisible &&\r\n \r\n }\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({ editParsedBwic, grid }) => {\r\n const hasPositions = grid.dataItems.some(i => !i.draft)\r\n return {\r\n bwic: editParsedBwic.bwic,\r\n bwicDate: editParsedBwic.date,\r\n bidsDue: editParsedBwic.bidsDue,\r\n timeZone: editParsedBwic.timeZone,\r\n timeZones: editParsedBwic.timeZones,\r\n hasPositions,\r\n hasGridErrors: hasPositions && grid.dataItems.some(i => !i.draft && i.errors?.length),\r\n totalPositionRowCount: grid.dataItems.length,\r\n emailReceivedDate: editParsedBwic.emailReceivedDate,\r\n isSaving: editParsedBwic.isSaving,\r\n isValid: editParsedBwic.isValid ?? true,\r\n isGridUploading: grid.upload.status === uploadStatus.uploading\r\n }\r\n};\r\n\r\nconst connectedCommandBar = connect(mapStateToProps)(CommandBar);\r\nexport { connectedCommandBar as CommandBar };\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport moment from 'moment';\r\nimport { RouteLeavingGuard } from '../../routing';\r\nimport { history } from '../../../history';\r\nimport { dateTimeUtils, numericUtils, securitiesComparer } from '../../../utils';\r\nimport { getProcessSpecificSettings, setBwicDate } from '../../../actions';\r\n\r\nclass EditBWICLeaveGuard extends Component {\r\n\r\n render = () => {\r\n return (\r\n history.replace(pathname)}\r\n shouldBlockNavigation={this.handleBlockNavigation}\r\n />\r\n );\r\n }\r\n\r\n handleBlockNavigation = () => {\r\n if (this.props.saved) {\r\n return false;\r\n }\r\n\r\n const {\r\n bwic,\r\n saved,\r\n positions,\r\n bwicDate,\r\n bidsDue,\r\n goodUntil,\r\n timeZone,\r\n daysToSettle,\r\n rulesText,\r\n reserveLevelsApply,\r\n canTradeEarly,\r\n canBidEarly,\r\n partialBidsAccepted,\r\n bwicProcessType,\r\n hardCutOff,\r\n improverCount,\r\n bidsGoodForHours,\r\n bidsGoodForMinutes,\r\n stage1EndDateUtc,\r\n stage2EndDateUtc\r\n } = this.props;\r\n\r\n const positionsChanged = !securitiesComparer.compareMultiple(bwic.securities, positions);\r\n\r\n if (!bwic.referenceName) {\r\n return positionsChanged;\r\n }\r\n\r\n const dateChanged = !moment.utc(bwic.date).startOf('day').isSame(moment.utc(bwicDate).startOf('day'));\r\n const bidsDueChanged = dateTimeUtils.timestampFromUtcString(bwic.bidsDue) !== dateTimeUtils.timestampFromUtcString(bidsDue);\r\n const goodUntilChanged = dateTimeUtils.timestampFromUtcString(bwic.goodUntil) !== dateTimeUtils.timestampFromUtcString(goodUntil);\r\n const timeZoneChanged = timeZone !== bwic.timeZone.id;\r\n const daysToSettleChanged = +bwic.daysToSettle !== +daysToSettle;\r\n const originalRulesText = (bwic.process && bwic.process.rulesText) || '';\r\n const rulesTextChanged = originalRulesText !== rulesText;\r\n const reserveLevelsApplyChanged = (reserveLevelsApply ?? null) !== (bwic.parsedProcess?.reserveLevelsApply ?? null);\r\n const canTradeEarlyChanged = (canTradeEarly ?? null) !== (bwic.parsedProcess?.canTradeEarly ?? null);\r\n const canBidEarlyChanged = (canBidEarly ?? null) !== (bwic.parsedProcess?.canBidEarly ?? null);\r\n const partialBidsAcceptedChanged = (partialBidsAccepted ?? null) !== (bwic.parsedProcess?.partialBidsAccepted ?? null);\r\n const bwicProcessTypeChanged = bwicProcessType !== bwic?.parsedProcess?.processType;\r\n const bidsGoodForTimeSpan = dateTimeUtils.parseTimeSpan(bwic.parsedProcess?.bidsGoodFor);\r\n const bidsGoodForHoursChanged = numericUtils.numberOrDefault(bidsGoodForHours) !== bidsGoodForTimeSpan?.hours ?? 0;\r\n const bidsGoodForMinutesChanged = numericUtils.numberOrDefault(bidsGoodForMinutes) !== bidsGoodForTimeSpan?.minutes ?? 0;\r\n const processSettings = getProcessSpecificSettings(bwic.parsedProcess);\r\n const hardCutOffChanged = hardCutOff !== processSettings?.hardCutOff;\r\n const improverCountChanged = improverCount !== processSettings?.improverCount;\r\n\r\n const isSameDate = (original, edit) => {\r\n const originalExist = Boolean(original);\r\n const editExist = Boolean(edit)\r\n\r\n if (originalExist !== editExist) return false\r\n if (!originalExist && !editExist) return true\r\n\r\n return setBwicDate(bwic.date, original).isSame(setBwicDate(bwic.date, edit));\r\n }\r\n const stage1EndDateUtcChanged = !isSameDate(stage1EndDateUtc, processSettings?.stage1EndDateUtc);\r\n const stage2EndDateUtcChanged = !isSameDate(stage2EndDateUtc, processSettings?.stage2EndDateUtc);\r\n\r\n return !saved && (\r\n dateChanged ||\r\n bidsDueChanged ||\r\n goodUntilChanged ||\r\n timeZoneChanged ||\r\n daysToSettleChanged ||\r\n rulesTextChanged ||\r\n reserveLevelsApplyChanged ||\r\n canBidEarlyChanged ||\r\n canTradeEarlyChanged ||\r\n partialBidsAcceptedChanged ||\r\n bwicProcessTypeChanged ||\r\n hardCutOffChanged ||\r\n improverCountChanged ||\r\n stage1EndDateUtcChanged ||\r\n stage2EndDateUtcChanged ||\r\n bidsGoodForHoursChanged ||\r\n bidsGoodForMinutesChanged ||\r\n positionsChanged\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({ editParsedBwic, grid }) => ({\r\n bwic: editParsedBwic.bwic,\r\n bwicDate: editParsedBwic.date,\r\n bidsDue: editParsedBwic.bidsDue,\r\n goodUntil: editParsedBwic.goodUntil,\r\n timeZone: editParsedBwic.timeZone,\r\n daysToSettle: editParsedBwic.daysToSettle,\r\n rulesText: editParsedBwic.rulesText,\r\n reserveLevelsApply: editParsedBwic.reserveLevelsApply,\r\n canTradeEarly: editParsedBwic.canTradeEarly,\r\n canBidEarly: editParsedBwic.canBidEarly,\r\n partialBidsAccepted: editParsedBwic.partialBidsAccepted,\r\n bwicProcessType: editParsedBwic.bwicProcessType,\r\n hardCutOff: editParsedBwic.hardCutOff,\r\n improverCount: editParsedBwic.improverCount,\r\n bidsGoodForHours: editParsedBwic.bidsGoodForHours,\r\n bidsGoodForMinutes: editParsedBwic.bidsGoodForMinutes,\r\n stage1EndDateUtc: editParsedBwic.stage1EndDateUtc,\r\n stage2EndDateUtc: editParsedBwic.stage2EndDateUtc,\r\n saved: editParsedBwic.saved,\r\n positions: grid.dataItems.filter(i => !i.draft),\r\n});\r\n\r\nconst connectedEditBWICLeaveGuard = connect(mapStateToProps)(EditBWICLeaveGuard);\r\nexport { connectedEditBWICLeaveGuard as EditBWICLeaveGuard };\r\n\r\n","import moment from 'moment/moment';\r\nimport { Currencies, Currency } from \"../../../types/enums/Currency\";\r\nimport { FilterBooleanGroup, FilterDateGroup, FilterSelectGroup, FilterType } from \"../../../types/filters/FilterGroup\";\r\nimport { Rating, Ratings } from '../../../types/enums/Rating';\r\nimport { InventoryPositionStatus } from \"../../../types/inventory/InventoryPositionStatus\";\r\nimport { inventoryPositionStatusTitle } from \"../inventory-position-status-title\";\r\nimport { collateralTypes } from \"../../../constants/collateral-types\";\r\nimport { CollateralType } from \"../../../types/amr-pipeline/enums/CollateralType\";\r\nimport { dateRangeFilterOptions } from \"../../../constants/date-range.filter\";\r\n\r\nexport const inventoryFilters = {\r\n visibleFilters: ['date', 'statuses', 'collateralType', 'currency', 'managers', 'dealerIds', 'ratings'],\r\n additionalFilters: ['nonCallEnd', 'reinvestmentEnd', 'esg', 'euCompliance', 'staticDeal', 'maturity', 'vintage', 'trustees', 'amr', 'closing', 'outOfNC', 'outOfRI'],\r\n defaultFilter: {\r\n date: {\r\n key: 'date',\r\n type: FilterType.Date,\r\n visible: true,\r\n text: 'Date',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: { ...dateRangeFilterOptions.All, default: true },\r\n options: {\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.inventoryOptions(),\r\n } as FilterDateGroup,\r\n statuses: {\r\n key: 'statuses',\r\n type: FilterType.Select,\r\n visible: true,\r\n text: 'Status',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: [\r\n {\r\n value: InventoryPositionStatus.added,\r\n text: inventoryPositionStatusTitle[InventoryPositionStatus.added],\r\n selected: false,\r\n visible: true,\r\n disabled: false\r\n },\r\n {\r\n value: InventoryPositionStatus.updated,\r\n text: inventoryPositionStatusTitle[InventoryPositionStatus.updated],\r\n selected: false,\r\n visible: true,\r\n disabled: false\r\n },\r\n {\r\n value: InventoryPositionStatus.traded,\r\n text: inventoryPositionStatusTitle[InventoryPositionStatus.traded],\r\n selected: false,\r\n visible: true,\r\n disabled: false\r\n },\r\n ],\r\n } as FilterSelectGroup,\r\n collateralType: {\r\n key: 'collateralType',\r\n type: FilterType.Select,\r\n visible: true,\r\n text: 'Collat',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: [\r\n {\r\n value: CollateralType.broadlySyndicated,\r\n text: collateralTypes.BroadlySyndicated,\r\n selected: false,\r\n disabled: false,\r\n visible: true,\r\n },\r\n {\r\n value: CollateralType.middleMarket,\r\n text: collateralTypes.MiddleMarket,\r\n selected: false,\r\n disabled: false,\r\n visible: true,\r\n },\r\n ],\r\n } as FilterSelectGroup,\r\n currency: {\r\n key: 'currency',\r\n type: FilterType.Select,\r\n visible: true,\r\n text: 'Ccy',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: Currencies.map(v => ({\r\n value: v,\r\n text: v,\r\n selected: false,\r\n disabled: false,\r\n visible: true,\r\n })),\r\n } as FilterSelectGroup,\r\n ratings: {\r\n key: 'ratings',\r\n type: FilterType.Select,\r\n visible: true,\r\n isApplied: false,\r\n disabled: false,\r\n selected: false,\r\n text: 'Rtg',\r\n filter: Ratings.map(v => ({\r\n value: v,\r\n text: v,\r\n selected: false,\r\n disabled: false,\r\n visible: true,\r\n })),\r\n } as FilterSelectGroup,\r\n managers: {\r\n key: 'managers',\r\n withSearch: true,\r\n type: FilterType.Select,\r\n visible: true,\r\n text: 'Manager',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: [],\r\n } as FilterSelectGroup,\r\n dealerIds: {\r\n key: 'dealerIds',\r\n type: FilterType.Select,\r\n visible: true,\r\n isApplied: false,\r\n disabled: false,\r\n selected: false,\r\n text: 'Dealers',\r\n withSearch: true,\r\n filter: []\r\n } as FilterSelectGroup,\r\n nonCallEnd: {\r\n key: 'nonCallEnd',\r\n type: FilterType.DateWithYearsRange,\r\n visible: false,\r\n text: 'NC End',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: undefined,\r\n options: {\r\n customYearsRange: { from: '', to: '' },\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.nonCallEnd(),\r\n } as FilterDateGroup,\r\n reinvestmentEnd: {\r\n key: 'reinvestmentEnd',\r\n type: FilterType.DateWithYearsRange,\r\n visible: false,\r\n text: 'RI End',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: undefined,\r\n options: {\r\n customYearsRange: { from: '', to: '' },\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.reinvestmentEnd(),\r\n } as FilterDateGroup,\r\n esg: {\r\n key: 'esg',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'ESG',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n euCompliance: {\r\n key: 'euCompliance',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'EU Compliance',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n staticDeal: {\r\n key: 'staticDeal',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'Static Deal',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n maturity: {\r\n key: 'maturity',\r\n type: FilterType.Date,\r\n visible: false,\r\n text: 'Maturity',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: undefined,\r\n options: {\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.maturity(),\r\n disabledDays: { before: moment().add(1, 'day').toDate() },\r\n } as FilterDateGroup,\r\n vintage: {\r\n key: 'vintage',\r\n type: FilterType.YearsDate,\r\n visible: false,\r\n text: 'Vintage',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: undefined,\r\n options: {\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.vintage(),\r\n } as FilterDateGroup,\r\n closing: {\r\n key: 'closing',\r\n type: FilterType.Date,\r\n visible: false,\r\n text: 'Closing',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: undefined,\r\n options: {\r\n customDateRange: { from: null, to: null },\r\n },\r\n },\r\n acceptableOptions: dateRangeFilterOptions.closing(),\r\n disabledDays: { after: moment().subtract(1, 'day').toDate() },\r\n } as FilterDateGroup,\r\n trustees: {\r\n withSearch: true,\r\n type: FilterType.Select,\r\n visible: false,\r\n text: 'Trustee',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: [],\r\n key: 'trustees',\r\n } as FilterSelectGroup,\r\n amr: {\r\n key: 'amr',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'Deal with AMR',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n outOfNC: {\r\n key: 'outOfNC',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'Out of NC',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n outOfRI: {\r\n key: 'outOfRI',\r\n type: FilterType.BooleanRadio,\r\n visible: false,\r\n text: 'Out of Rl',\r\n disabled: false,\r\n selected: false,\r\n isApplied: true,\r\n filter: {\r\n selectedOption: null,\r\n },\r\n } as FilterBooleanGroup,\r\n },\r\n};\r\n","import { useDispatch, useSelector } from 'react-redux';\r\nimport { FilterButton, FilterClear, FilterPanel, FilterSection } from '../../filters';\r\nimport { FilterSelect } from '../../common/filters/FilterSelect';\r\nimport { bwicDateFilterOptions, roles } from '../../../constants';\r\nimport { AppState } from '../../../types/state/AppState';\r\nimport { DateRangeSelector } from '../../common';\r\nimport { DateFilterOption } from '../../../types/filters/DateFilterOption';\r\nimport { DateRange } from '../../../types/filters/DateRange';\r\nimport { manageMembersFiltersActions } from '../../../actions/manage-members-filter.actions';\r\nimport { isEqual, keys } from 'lodash';\r\nimport { UserStatus } from '../../../types/account/UserStatus';\r\nimport { companiesActions } from '../../../actions/companies.actions';\r\nimport { memberFilterInitialState } from '../../../reducers/companies.reducer';\r\nimport { userStatuses } from '../../../constants/user.statuses';\r\nimport { useRegByUsers } from './useRegByUsers';\r\n\r\nexport const systemUserName = 'KTX System';\r\n\r\ninterface FiltersProps {\r\n enabled: boolean;\r\n}\r\n\r\nexport const MembersFilter = ({ enabled }: FiltersProps) => {\r\n const dispatch = useDispatch();\r\n const companiesList = useSelector((s: AppState) => s.companies.companies);\r\n const filter = useSelector((s: AppState) => s.companies.memberFilter);\r\n const lastAppliedMemberFilter = useSelector((s: AppState) => s.companies.lastAppliedMemberFilter);\r\n const filtersChanged = !isEqual({ ...filter, searchTerm: '' }, { ...lastAppliedMemberFilter, searchTerm: '' });\r\n const isClearFilterShown = enabled\r\n && !isEqual({ ...memberFilterInitialState, searchTerm: '' }, { ...filter, searchTerm: '' });\r\n const resetFilters = () => dispatch(companiesActions.resetMemberFilters());\r\n const regByUsers = useRegByUsers();\r\n\r\n return (\r\n
\r\n \r\n \r\n ({\r\n text: (userStatuses.getByStatusCode(x) && userStatuses.getByStatusCode(x)?.title) ?? 'Pending Approval',\r\n value: x,\r\n selected: (\r\n (filter.active && x === UserStatus.Active) ||\r\n (filter.blocked && x === UserStatus.Blocked) ||\r\n (filter.invited && x === UserStatus.Invited) ||\r\n (filter.notInvited && x === UserStatus.NotInvited) ||\r\n (filter.pendingApproval && x === 'pending-approval')\r\n ),\r\n visible: true,\r\n disabled: false\r\n }))\r\n }\r\n onChangeItemSelection={(item => {\r\n (item.value === UserStatus.Active && dispatch(manageMembersFiltersActions.toogleFilterStatusActive()));\r\n (item.value === UserStatus.Blocked && dispatch(manageMembersFiltersActions.toogleFilterStatusBlocked()));\r\n (item.value === UserStatus.Invited && dispatch(manageMembersFiltersActions.toogleFilterStatusInvited()));\r\n (item.value === UserStatus.NotInvited && dispatch(manageMembersFiltersActions.toogleFilterStatusNotInvited()));\r\n (item.value === 'pending-approval' && dispatch(manageMembersFiltersActions.toogleFilterStatusPendingApproval()));\r\n })}\r\n onClearAll={() => {\r\n filter.active && dispatch(manageMembersFiltersActions.toogleFilterStatusActive());\r\n filter.blocked && dispatch(manageMembersFiltersActions.toogleFilterStatusBlocked());\r\n filter.invited && dispatch(manageMembersFiltersActions.toogleFilterStatusInvited());\r\n filter.notInvited && dispatch(manageMembersFiltersActions.toogleFilterStatusNotInvited());\r\n filter.pendingApproval && dispatch(manageMembersFiltersActions.toogleFilterStatusPendingApproval());\r\n }}\r\n onSelectAll={() => {\r\n !filter.active && dispatch(manageMembersFiltersActions.toogleFilterStatusActive());\r\n !filter.blocked && dispatch(manageMembersFiltersActions.toogleFilterStatusBlocked());\r\n !filter.invited && dispatch(manageMembersFiltersActions.toogleFilterStatusInvited());\r\n !filter.notInvited && dispatch(manageMembersFiltersActions.toogleFilterStatusNotInvited());\r\n !filter.pendingApproval && dispatch(manageMembersFiltersActions.toogleFilterStatusPendingApproval());\r\n }}\r\n />\r\n ({\r\n text: roles.getTitle(x),\r\n value: x,\r\n selected: (\r\n (filter.administrator && x === roles.Administrator) ||\r\n (filter.arrangersClient && x === roles.ArrangersClient) ||\r\n (filter.brokerDealerTrader && x === roles.BrokerDealerTrader) ||\r\n (filter.brokerDealerViewer && x === roles.BrokerDealerViewer) ||\r\n (filter.dataEntry && x === roles.DataEntry) ||\r\n (filter.sellerAdmin && x === roles.SellerAdministrator) ||\r\n (filter.sellerTrader && x === roles.SellerTrader) ||\r\n (filter.sellerViewer && x === roles.SellerViewer) ||\r\n (filter.subscriptionManager && x === roles.SubscriptionManager) ||\r\n (filter.viewer && x === roles.Viewer) ||\r\n (filter.collateralManager && x === roles.CollateralManager) ||\r\n (filter.media && x === roles.Media)\r\n ),\r\n visible: true,\r\n disabled: false\r\n }))\r\n }\r\n onChangeItemSelection={item => {\r\n (item.value === roles.Administrator && dispatch(manageMembersFiltersActions.toogleFilterRoleAdministrator()));\r\n (item.value === roles.ArrangersClient && dispatch(manageMembersFiltersActions.toggleFilterRoleArrangersClient()));\r\n (item.value === roles.BrokerDealerTrader && dispatch(manageMembersFiltersActions.toogleFilterRoleBrokerDealerTrader()));\r\n (item.value === roles.BrokerDealerViewer && dispatch(manageMembersFiltersActions.toogleFilterRoleBrokerDealerViewer()));\r\n (item.value === roles.DataEntry && dispatch(manageMembersFiltersActions.toogleFilterRolesDataEntry()));\r\n (item.value === roles.SellerAdministrator && dispatch(manageMembersFiltersActions.toogleFilterRoleSellerAdministrator()));\r\n (item.value === roles.SellerTrader && dispatch(manageMembersFiltersActions.toogleFilterRoleSellerTrader()));\r\n (item.value === roles.SellerViewer && dispatch(manageMembersFiltersActions.toogleFilterRoleSellerViewer()));\r\n (item.value === roles.SubscriptionManager && dispatch(manageMembersFiltersActions.toogleFilterRolesSubscriptionManager()));\r\n (item.value === roles.Viewer && dispatch(manageMembersFiltersActions.toogleFilterRoleViewer()));\r\n (item.value === roles.CollateralManager && dispatch(manageMembersFiltersActions.toogleFilterCollateralManager()));\r\n (item.value === roles.Media && dispatch(manageMembersFiltersActions.toogleFilterRoleMedia()));\r\n }}\r\n onClearAll={() => {\r\n filter.administrator && dispatch(manageMembersFiltersActions.toogleFilterRoleAdministrator());\r\n filter.arrangersClient && dispatch(manageMembersFiltersActions.toggleFilterRoleArrangersClient());\r\n filter.brokerDealerTrader && dispatch(manageMembersFiltersActions.toogleFilterRoleBrokerDealerTrader());\r\n filter.brokerDealerViewer && dispatch(manageMembersFiltersActions.toogleFilterRoleBrokerDealerViewer());\r\n filter.dataEntry && dispatch(manageMembersFiltersActions.toogleFilterRolesDataEntry());\r\n filter.sellerAdmin && dispatch(manageMembersFiltersActions.toogleFilterRoleSellerAdministrator());\r\n filter.sellerTrader && dispatch(manageMembersFiltersActions.toogleFilterRoleSellerTrader());\r\n filter.sellerViewer && dispatch(manageMembersFiltersActions.toogleFilterRoleSellerViewer());\r\n filter.subscriptionManager && dispatch(manageMembersFiltersActions.toogleFilterRolesSubscriptionManager());\r\n filter.viewer && dispatch(manageMembersFiltersActions.toogleFilterRoleViewer());\r\n filter.collateralManager && dispatch(manageMembersFiltersActions.toogleFilterCollateralManager());\r\n filter.media && dispatch(manageMembersFiltersActions.toogleFilterRoleMedia());\r\n }}\r\n onSelectAll={() => {\r\n !filter.administrator && dispatch(manageMembersFiltersActions.toogleFilterRoleAdministrator());\r\n !filter.arrangersClient && dispatch(manageMembersFiltersActions.toggleFilterRoleArrangersClient());\r\n !filter.brokerDealerTrader && dispatch(manageMembersFiltersActions.toogleFilterRoleBrokerDealerTrader());\r\n !filter.brokerDealerViewer && dispatch(manageMembersFiltersActions.toogleFilterRoleBrokerDealerViewer());\r\n !filter.dataEntry && dispatch(manageMembersFiltersActions.toogleFilterRolesDataEntry());\r\n !filter.sellerAdmin && dispatch(manageMembersFiltersActions.toogleFilterRoleSellerAdministrator());\r\n !filter.sellerTrader && dispatch(manageMembersFiltersActions.toogleFilterRoleSellerTrader());\r\n !filter.sellerViewer && dispatch(manageMembersFiltersActions.toogleFilterRoleSellerViewer());\r\n !filter.subscriptionManager && dispatch(manageMembersFiltersActions.toogleFilterRolesSubscriptionManager());\r\n !filter.viewer && dispatch(manageMembersFiltersActions.toogleFilterRoleViewer());\r\n !filter.collateralManager && dispatch(manageMembersFiltersActions.toogleFilterCollateralManager());\r\n !filter.media && dispatch(manageMembersFiltersActions.toogleFilterRoleMedia());\r\n }}\r\n />\r\n ({\r\n text: x.name,\r\n value: x.id,\r\n selected: filter.companies.some(el => el === x.id),\r\n visible: true,\r\n disabled: false\r\n }))}\r\n onChangeItemSelection={item => {\r\n dispatch(manageMembersFiltersActions.toogleFilterCompanies([item.value]));\r\n }}\r\n onClearAll={() => {\r\n dispatch(manageMembersFiltersActions.setFilterCompanies([]));\r\n }}\r\n onSelectAll={() => {\r\n dispatch(manageMembersFiltersActions.setFilterCompanies(companiesList.map(el => el.id)));\r\n }}\r\n />\r\n dispatch(manageMembersFiltersActions.setDateFilterChange(bwicDateFilterOptions.unspecified))}\r\n disabled={!enabled}\r\n selectedDateOption={filter.selectedDateOption}\r\n customDateRange={filter.customDateRange}\r\n onSelectedDateChange={(dateOption: DateFilterOption) => dispatch(manageMembersFiltersActions.setDateFilterChange(dateOption))}\r\n onCustomDateChange={(dateRange: DateRange) => dispatch(manageMembersFiltersActions.setDateFilterRangeChange(dateRange))}\r\n acceptedOptions={[\r\n bwicDateFilterOptions.unspecified,\r\n bwicDateFilterOptions.thisWeek,\r\n bwicDateFilterOptions.lastWeek,\r\n bwicDateFilterOptions.lastMonth,\r\n bwicDateFilterOptions.lastYear,\r\n bwicDateFilterOptions.custom\r\n ]}\r\n disabledDays={{ after: new Date() }}\r\n />\r\n (regByUsers[Number(a)] ?? systemUserName).localeCompare(regByUsers[Number(b)] ?? systemUserName))\r\n .map(regBy => ({\r\n text: regByUsers[Number(regBy)] ?? systemUserName,\r\n value: Number(regBy),\r\n selected: filter.regBy.some(el => el === Number(regBy)),\r\n visible: true,\r\n disabled: false\r\n }))}\r\n onChangeItemSelection={item => {\r\n dispatch(manageMembersFiltersActions.toogleFilterRegBy([item.value]));\r\n }}\r\n onClearAll={() => {\r\n dispatch(manageMembersFiltersActions.setFilterRegBy([]));\r\n }}\r\n onSelectAll={() => {\r\n dispatch(manageMembersFiltersActions.setFilterRegBy(keys(regByUsers).map(k => Number(k))));\r\n }}\r\n />\r\n dispatch(companiesActions.applyMemberFilters())}\r\n />\r\n \r\n \r\n \r\n
\r\n );\r\n}\r\n","import { useSelector } from 'react-redux';\r\nimport { AppState } from '../../../types/state/AppState';\r\nimport { useMemo } from 'react';\r\nimport { apiUtils } from '../../../utils';\r\n\r\nexport const useRegByUsers = () => {\r\n const users = useSelector((state: AppState) => state.companies.users);\r\n return useMemo(() => apiUtils.normalize(users, (c) => c.createdById, (c) => c.createdBy),[users]);\r\n}\r\n","import { useDispatch, useSelector } from 'react-redux';\r\nimport { FilterOption } from '../../../types/filters/FilterOption';\r\nimport { FilterButton, FilterClear, FilterPanel, FilterSection } from '../../filters';\r\nimport { FilterSelect } from '../../common/filters/FilterSelect';\r\nimport { CompanyStatus } from '../../../types/company/CompanyStatus';\r\nimport { bwicDateFilterOptions, companyRoles } from '../../../constants';\r\nimport { companyStatuses } from '../../../constants/company.statuses';\r\nimport { AppState } from '../../../types/state/AppState';\r\nimport { DateRangeSelector } from '../../common';\r\nimport { DateFilterOption } from \"../../../types/filters/DateFilterOption\";\r\nimport { DateRange } from '../../../types/filters/DateRange';\r\nimport { manageCompaniesFiltersActions } from '../../../actions/manage-companies-filter.actions';\r\nimport { isEqual, keys } from 'lodash';\r\nimport { companiesActions } from '../../../actions/companies.actions';\r\nimport { companyFilterInitialState } from '../../../reducers/companies.reducer';\r\nimport { useCompanyRegByUsers } from './useCompanyRegByUsers';\r\nimport { systemUserName } from './MembersFilter';\r\n\r\ninterface FiltersProps {\r\n enabled: boolean;\r\n}\r\n\r\nexport const CompaniesFilter = ({ enabled }: FiltersProps) => {\r\n const dispatch = useDispatch();\r\n const filter = useSelector((s: AppState) => s.companies.companyFilter);\r\n const lastAppliedCompanyFilter = useSelector((s: AppState) => s.companies.lastAppliedCompanyFilter);\r\n const filtersChanged = !isEqual({ ...filter, searchTerm: '' }, { ...lastAppliedCompanyFilter, searchTerm: '' });\r\n const isClearFilterShown = enabled\r\n && !isEqual({ ...companyFilterInitialState, searchTerm: '' }, { ...filter, searchTerm: '' });\r\n const resetFilters = () => dispatch(companiesActions.resetCompanyFilters());\r\n const salesRepresentatives = useSelector((s: AppState) => s.companies.salesRepresentatives);\r\n const regByUsers = useCompanyRegByUsers()\r\n\r\n return (\r\n
\r\n \r\n \r\n ({\r\n text: companyStatuses.getByStatusCode(x).title,\r\n value: x,\r\n selected: (\r\n (filter.active && x === CompanyStatus.active) ||\r\n (filter.blocked && x === CompanyStatus.blocked) ||\r\n (filter.offPlatform && x === CompanyStatus.offPlatform)\r\n ),\r\n visible: true,\r\n disabled: false\r\n }))\r\n }\r\n onChangeItemSelection={item => {\r\n (item.value === CompanyStatus.active && dispatch(manageCompaniesFiltersActions.toogleFilterStatusActive()));\r\n (item.value === CompanyStatus.blocked && dispatch(manageCompaniesFiltersActions.toogleFilterStatusBlocked()));\r\n (item.value === CompanyStatus.offPlatform && dispatch(manageCompaniesFiltersActions.toogleFilterStatusOffPlatform()));\r\n }}\r\n onClearAll={() => {\r\n filter.active && dispatch(manageCompaniesFiltersActions.toogleFilterStatusActive());\r\n filter.blocked && dispatch(manageCompaniesFiltersActions.toogleFilterStatusBlocked());\r\n filter.offPlatform && dispatch(manageCompaniesFiltersActions.toogleFilterStatusOffPlatform());\r\n }}\r\n onSelectAll={() => {\r\n !filter.active && dispatch(manageCompaniesFiltersActions.toogleFilterStatusActive());\r\n !filter.blocked && dispatch(manageCompaniesFiltersActions.toogleFilterStatusBlocked());\r\n !filter.offPlatform && dispatch(manageCompaniesFiltersActions.toogleFilterStatusOffPlatform());\r\n }}\r\n />\r\n ({\r\n text: companyRoles.getTitle(x),\r\n value: x,\r\n selected: (\r\n (filter.administrator && x === companyRoles.Administrator) ||\r\n (filter.brokerDealer && x === companyRoles.BrokerDealer) ||\r\n (filter.seller && x === companyRoles.Seller) ||\r\n (filter.viewer && x === companyRoles.Viewer) ||\r\n (filter.media && x === companyRoles.Media)\r\n ),\r\n visible: true,\r\n disabled: false\r\n }))\r\n }\r\n onChangeItemSelection={item => {\r\n (item.value === companyRoles.Administrator && dispatch(manageCompaniesFiltersActions.toogleFilterRoleAdministrator()));\r\n (item.value === companyRoles.BrokerDealer && dispatch(manageCompaniesFiltersActions.toogleFilterRoleBrokerDealer()));\r\n (item.value === companyRoles.Seller && dispatch(manageCompaniesFiltersActions.toogleFilterRoleSeller()));\r\n (item.value === companyRoles.Viewer && dispatch(manageCompaniesFiltersActions.toogleFilterRoleViewer()));\r\n (item.value === companyRoles.Media && dispatch(manageCompaniesFiltersActions.toogleFilterRoleMedia()));\r\n }}\r\n onClearAll={() => {\r\n filter.administrator && dispatch(manageCompaniesFiltersActions.toogleFilterRoleAdministrator());\r\n filter.brokerDealer && dispatch(manageCompaniesFiltersActions.toogleFilterRoleBrokerDealer());\r\n filter.seller && dispatch(manageCompaniesFiltersActions.toogleFilterRoleSeller());\r\n filter.viewer && dispatch(manageCompaniesFiltersActions.toogleFilterRoleViewer());\r\n filter.media && dispatch(manageCompaniesFiltersActions.toogleFilterRoleMedia());\r\n }}\r\n onSelectAll={() => {\r\n !filter.administrator && dispatch(manageCompaniesFiltersActions.toogleFilterRoleAdministrator());\r\n !filter.brokerDealer && dispatch(manageCompaniesFiltersActions.toogleFilterRoleBrokerDealer());\r\n !filter.seller && dispatch(manageCompaniesFiltersActions.toogleFilterRoleSeller());\r\n !filter.viewer && dispatch(manageCompaniesFiltersActions.toogleFilterRoleViewer());\r\n !filter.media && dispatch(manageCompaniesFiltersActions.toogleFilterRoleMedia());\r\n }}\r\n />\r\n ({\r\n text: `${x.firstName} ${x.lastName}`,\r\n value: x.id,\r\n selected: filter.salesRepresentatives.some(el => el === x.id),\r\n visible: true,\r\n disabled: false\r\n }))\r\n }\r\n onChangeItemSelection={item => {\r\n dispatch(manageCompaniesFiltersActions.toogleFilterSalesRepresentative([item.value]));\r\n }}\r\n onClearAll={() => {\r\n dispatch(manageCompaniesFiltersActions.setFilterSalesRepresentative([]));\r\n }}\r\n onSelectAll={() => {\r\n dispatch(manageCompaniesFiltersActions.setFilterSalesRepresentative(salesRepresentatives.map(el => el.id)));\r\n }}\r\n />\r\n dispatch(manageCompaniesFiltersActions.setDateFilterChange(bwicDateFilterOptions.unspecified))}\r\n disabled={!enabled}\r\n selectedDateOption={filter.selectedDateOption}\r\n customDateRange={filter.customDateRange}\r\n onSelectedDateChange={(dateOption: DateFilterOption) => dispatch(manageCompaniesFiltersActions.setDateFilterChange(dateOption))}\r\n onCustomDateChange={(dateRange: DateRange) => dispatch(manageCompaniesFiltersActions.setDateFilterRangeChange(dateRange))}\r\n acceptedOptions={[\r\n bwicDateFilterOptions.unspecified,\r\n bwicDateFilterOptions.thisWeek,\r\n bwicDateFilterOptions.lastWeek,\r\n bwicDateFilterOptions.lastMonth,\r\n bwicDateFilterOptions.lastYear,\r\n bwicDateFilterOptions.custom\r\n ]}\r\n disabledDays={{ after: new Date() }}\r\n />\r\n ({\r\n // Replace Reg. by value by default text for system admins\r\n text: regByUsers[Number(x)] ?? systemUserName,\r\n value: Number(x),\r\n selected: filter.regBy.some(el => el === Number(x)),\r\n visible: true,\r\n disabled: false\r\n })) as FilterOption[]}\r\n onChangeItemSelection={item => {\r\n dispatch(manageCompaniesFiltersActions.toogleFilterRegBy([item.value]));\r\n }}\r\n onClearAll={() => {\r\n dispatch(manageCompaniesFiltersActions.setFilterRegBy([]));\r\n }}\r\n onSelectAll={() => {\r\n dispatch(manageCompaniesFiltersActions.setFilterRegBy(keys(regByUsers).map(k => Number(k))));\r\n }}\r\n />\r\n dispatch(companiesActions.applyCompanyFilters())}\r\n />\r\n \r\n \r\n \r\n
\r\n );\r\n}\r\n","import { useSelector } from 'react-redux';\r\nimport { AppState } from '../../../types/state/AppState';\r\nimport { useMemo } from 'react';\r\nimport { apiUtils } from '../../../utils';\r\n\r\nexport const useCompanyRegByUsers = () => {\r\n const users = useSelector((state: AppState) => state.companies.companies);\r\n return useMemo(() => apiUtils.normalize(users, (c) => c.createdById, (c) => c.createdBy),[users]);\r\n}\r\n","import { ChangeEvent, useRef, useState } from 'react';\r\nimport classNames from 'classnames';\r\nimport IconSVG from '../../../styles/svg-icons';\r\n\r\ninterface CompaniesUsersSearchProps {\r\n enabled: boolean,\r\n searchTerm: string,\r\n handleSearchTermChange: (searchTerm: string) => void\r\n}\r\n\r\nexport const CompaniesUsersSearch = ({ enabled, searchTerm, handleSearchTermChange }: CompaniesUsersSearchProps) => {\r\n const refInput = useRef(null);\r\n const [inputFocus, setInputFocus] = useState(false);\r\n\r\n const handleClearSearchTerm = () => {\r\n handleSearchTermChange('');\r\n if (refInput.current) {\r\n refInput.current.focus();\r\n }\r\n };\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n ) => handleSearchTermChange(e.target.value)}\r\n onFocus={() => setInputFocus(true)}\r\n onBlur={() => setInputFocus(false)}\r\n />\r\n {\r\n !!searchTerm &&\r\n \r\n }\r\n
\r\n )\r\n}\r\n","import React, { useEffect } from 'react';\r\nimport { useDispatch, useSelector } from 'react-redux';\r\nimport { Link, useHistory, useLocation } from 'react-router-dom';\r\nimport { Route, Switch } from 'react-router';\r\nimport { CompanyList, MemberList } from './';\r\nimport { CompaniesFilter } from './CompaniesFilter';\r\nimport { MembersFilter } from './MembersFilter';\r\nimport { companiesActions as actions } from '../../../actions';\r\nimport { ButtonSwitch } from '../../controls';\r\nimport { routes } from '../../../constants';\r\nimport IconSVG from '../../../styles/svg-icons';\r\nimport { getMembers, getCompanies } from \"../../../selectors\";\r\nimport { Preloader } from '../../common';\r\nimport { isRequesting } from '../../../utils';\r\nimport { CompaniesUsersSearch } from './CompaniesUsersSearch';\r\nimport queryString from 'query-string';\r\n\r\nexport const ManageCompanies = () => {\r\n const dispatch = useDispatch();\r\n const location = useLocation();\r\n const history = useHistory();\r\n const { search } = queryString.parse(location.search);\r\n const isCompaniesView = location.pathname === routes.manageCompanies;\r\n const isInitCompleted = useSelector((s) => s.companies.isInitCompleted);\r\n const companyFilter = useSelector((s) => s.companies.companyFilter);\r\n const memberFilter = useSelector((s) => s.companies.memberFilter);\r\n const exportUsersRequestState = useSelector((s) => s.companies.exportUsersRequestState);\r\n const iRequestingExportCompanies = useSelector((s) => s.companies.iRequestingExportCompanies);\r\n const hasFilteredMembers = useSelector((s) => getMembers(s.companies).length);\r\n const hasFilteredCompanies = useSelector((s) => getCompanies(s.companies).length);\r\n const pendingUserRequestCount = useSelector((s) => s.companies.pendingUserRequestCount);\r\n\r\n useEffect(() => {\r\n dispatch(actions.init());\r\n }, [dispatch]);\r\n\r\n const handleCompanyFilterChanged = filter => dispatch(actions.filterCompanies(filter));\r\n\r\n const handleMemberFilterChanged = filter => dispatch(actions.filterMembers(filter));\r\n\r\n const handleChangeView = (isCompanyView) => {\r\n const path = isCompanyView ? routes.manageCompanies : routes.manageCompanyMembers;\r\n history.replace(path);\r\n };\r\n\r\n const filter = isCompaniesView ? companyFilter : memberFilter;\r\n const onFilterChanged = isCompaniesView ? handleCompanyFilterChanged : handleMemberFilterChanged;\r\n const handleSearchTermChange = searchTerm => onFilterChanged({ ...filter, searchTerm });\r\n\r\n useEffect(() => {\r\n if(search) {\r\n handleSearchTermChange(search);\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [search])\r\n\r\n return (\r\n
\r\n
\r\n
\r\n

Manage Companies & Users

\r\n \r\n
\r\n {!!pendingUserRequestCount && (\r\n \r\n Unapproved Users: {pendingUserRequestCount}\r\n \r\n )}\r\n \r\n
\r\n
\r\n
\r\n {isCompaniesView ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
\r\n {isCompaniesView ? (\r\n \r\n dispatch(actions.exportCompanies())}\r\n className=\"btn-link\"\r\n disabled={!isInitCompleted || !hasFilteredCompanies}\r\n >\r\n \r\n Export\r\n \r\n \r\n ) : (\r\n \r\n dispatch(actions.exportUsers())}\r\n className=\"btn-link\"\r\n disabled={!hasFilteredMembers || memberFilter.pendingApproval}\r\n >\r\n \r\n Export\r\n \r\n \r\n )}\r\n \r\n \r\n New User\r\n \r\n {isCompaniesView && (\r\n \r\n \r\n New Company\r\n \r\n )}\r\n
\r\n
\r\n
\r\n \r\n }\r\n path={routes.manageCompanyMembers}\r\n />\r\n }\r\n path={routes.manageCompanies}\r\n />\r\n \r\n
\r\n );\r\n};\r\n","import React, { useState } from 'react';\r\nimport { useDispatch } from 'react-redux';\r\nimport classNames from 'classnames';\r\nimport { Popup } from '../../controls';\r\nimport { companiesActions as actions } from '../../../actions';\r\nimport { companyStatuses, errorMessages } from '../../../constants';\r\n\r\nexport function ConfirmationPopup({ statusChangeConfirmation }) {\r\n const dispatch = useDispatch();\r\n const [message, setMessage] = useState('');\r\n const [messageError, setMessageError] = useState('');\r\n const messageMaxLength = 255;\r\n const { company } = statusChangeConfirmation;\r\n const isBlockStatus = (\r\n company.status === companyStatuses.active.statusCode ||\r\n company.status === companyStatuses.offPlatform.statusCode\r\n );\r\n\r\n const handleChange = (e) => {\r\n const { value } = e.target;\r\n if (value.length > messageMaxLength) {\r\n setMessageError(errorMessages.maxLength(messageMaxLength))\r\n } else {\r\n setMessageError('')\r\n }\r\n setMessage(value);\r\n };\r\n\r\n const renderFooter = () => {\r\n const disabledBlockButton = !message.length || messageError;\r\n return (\r\n
\r\n dispatch(actions.companyStatusChangeConfirmation(false))}\r\n >\r\n Cancel\r\n \r\n {\r\n isBlockStatus ?\r\n dispatch(actions.changeCompanyStatus(company, message))}\r\n >\r\n Block\r\n :\r\n dispatch(actions.changeCompanyStatus(company))}\r\n >\r\n Yes\r\n \r\n }\r\n
\r\n )\r\n };\r\n\r\n const renderContent = () => {\r\n return (\r\n
\r\n {isBlockStatus ?\r\n
\r\n \r\n
\r\n \r\n {messageError &&
{messageError}
}\r\n
\r\n
:\r\n

\r\n \r\n {`Do you really want to unblock ${company.name}?`}\r\n

\r\n }\r\n
\r\n )\r\n };\r\n\r\n return (\r\n dispatch(actions.companyStatusChangeConfirmation(false))}\r\n >\r\n {renderContent()}\r\n {renderFooter()}\r\n \r\n )\r\n}\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport { companyStatuses } from '../../../constants';\r\nimport { Popover } from '../../controls';\r\n\r\nexport function CompanyStatus({ company }) {\r\n const hasBlockedReason = company.status === companyStatuses.blocked.statusCode && company.statusUpdateReason;\r\n\r\n const statusClasses = classNames({\r\n 'first-letter status': true,\r\n [`${companyStatuses.getByStatusCode(company.status).className}`]: true,\r\n 'has-blocked-reason': company.statusUpdateReason\r\n });\r\n\r\n if (hasBlockedReason) {\r\n return (\r\n \r\n {companyStatuses.getByStatusCode(company.status).title}\r\n
\r\n )}\r\n >\r\n
\r\n \r\n {company.statusUpdateReason}\r\n
\r\n \r\n )\r\n }\r\n return (\r\n
\r\n {companyStatuses.getByStatusCode(company.status).title}\r\n
\r\n )\r\n}\r\n","import * as React from 'react';\r\nimport { keys, values as _values } from 'lodash';\r\nimport { Popup, PopupBody, PopupFooter } from '../../../controls';\r\nimport { Company } from '../../../../types/management/Company';\r\nimport { OnHoverTooltip, Preloader } from \"../../../common\";\r\nimport { Checkbox } from '../../../controls/Checkbox';\r\nimport {\r\n useSettlementAgentDefaultCommission\r\n} from '../../../../effects/data-accessors/useSettlementAgentDefaultCommission';\r\nimport { Rating, Ratings } from '../../../../types/enums/Rating';\r\nimport { CommissionByRatingTable, EditErrors } from './CommissionByRatingTable';\r\nimport { isRequesting, isRequestNone, isRequestSuccess, numericUtils } from '../../../../utils';\r\nimport { useDispatch } from 'react-redux';\r\nimport { clearingBankActions } from '../../../../actions';\r\nimport { SettlementAgentCommissionByRating } from '../../../../types/bid-as-dealer/SettlementAgentCommissionByRating';\r\nimport { SettlementAgentEditingCommissionByRating } from './SettlementAgentEditingCommissionByRating';\r\nimport { constants } from '../../../../constants/constants';\r\nimport IconSVG from \"../../../../styles/svg-icons\";\r\n\r\ninterface Props {\r\n company: Company\r\n onCancel: () => void\r\n onSave?: () => void;\r\n}\r\n\r\nexport function SetClearingBankPopup({ company, onSave, onCancel }: Props) {\r\n const dispatch = useDispatch();\r\n\r\n const [isClearingBank, setIsClearingBank] = React.useState(Boolean(company.isClearingBank));\r\n const [editErrors, setEditErrors] = React.useState({} as EditErrors);\r\n const { requestState, values } = useSettlementAgentDefaultCommission(company.id);\r\n const [editingCommission, setEditingCommission] =\r\n React.useState({} as SettlementAgentEditingCommissionByRating);\r\n const hasEditingErrors = keys(editErrors).some(key => editErrors[Rating[key as keyof typeof Rating]]);\r\n const isLoading = isRequesting(requestState) || isRequestNone(requestState);\r\n\r\n React.useEffect(() => {\r\n if (isRequestSuccess(requestState) && keys(values).length && !keys(editingCommission).length) {\r\n setEditingCommission({ ...values });\r\n }\r\n }, [requestState, values, editingCommission]);\r\n\r\n React.useEffect(() => {\r\n if (!isClearingBank) {\r\n setEditingCommission(values);\r\n } // eslint-disable-next-line\r\n }, [isClearingBank]);\r\n\r\n const isCommissionByRatingChanged = isClearingBank && keys(editingCommission).some(key => {\r\n const rating = Rating[key as keyof typeof Rating];\r\n return values[rating] !== numericUtils.numberOrDefault(editingCommission[rating]);\r\n });\r\n\r\n const hasChanges = company.isClearingBank !== isClearingBank || isCommissionByRatingChanged;\r\n\r\n const hasEmptyValues = isClearingBank && keys(editingCommission).some(key =>\r\n numericUtils.numberOrDefault(editingCommission[Rating[key as keyof typeof Rating]]) === 0\r\n );\r\n\r\n\r\n const handleCommissionChange = (rating: Rating, commission: string, error: string) => {\r\n setEditErrors({ ...editErrors, [rating]: error });\r\n setEditingCommission({ ...editingCommission, [rating]: commission });\r\n };\r\n\r\n const handleSave = () => {\r\n const convertToNumbers = () => {\r\n const converted = {} as SettlementAgentCommissionByRating;\r\n Ratings.forEach(r => {\r\n converted[r] = numericUtils.numberOrDefault(\r\n editingCommission[r],\r\n constants.settlementAgentDefaultCommission\r\n );\r\n });\r\n\r\n return converted;\r\n }\r\n\r\n dispatch(clearingBankActions.saveClearingBankSettings(\r\n company.id,\r\n isClearingBank,\r\n convertToNumbers())\r\n );\r\n onSave?.();\r\n }\r\n\r\n const handleReset = () => {\r\n setEditingCommission((values) => {\r\n keys(values).forEach((key) => {\r\n values[key as Rating] = constants.commissionRange.min;\r\n })\r\n return values;\r\n });\r\n setEditErrors({} as EditErrors);\r\n }\r\n\r\n const isResetToDefaultDisabled = () => {\r\n if (!isRequestSuccess(requestState) || !isClearingBank) {\r\n return true;\r\n }\r\n return !_values(editingCommission).some(v => Number(v) !== constants.commissionRange.min)\r\n }\r\n\r\n return (\r\n \r\n Set Settlement Agent to\r\n \r\n {company.name}\r\n \r\n \r\n }\r\n onClose={onCancel}\r\n >\r\n \r\n
\r\n setIsClearingBank(!isClearingBank)}\r\n label=\"Settlement Agent\"\r\n />\r\n \r\n \r\n Reset to default\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 \r\n );\r\n}\r\n","import moment from 'moment';\r\nimport { Formik } from 'formik';\r\nimport classNames from 'classnames';\r\nimport { useDispatch, useSelector } from 'react-redux';\r\nimport { AppState } from '../../../../types/state/AppState';\r\nimport { FormError, Popup, PopupBody, PopupFooter } from '../../../controls';\r\nimport { FormFieldLabel } from '../../../forms';\r\nimport { constants, errorMessages } from '../../../../constants';\r\nimport { yup } from '../../../../validation/yup';\r\nimport { changeSubscriptionActions } from '../../../../actions/change-subscription.actions';\r\nimport { OnHoverTooltip, Preloader } from \"../../../common\";\r\nimport { UserSlim } from '../../../../types/account/UserSlim';\r\nimport { useSubscriptions } from '../../../profile/tabs/subscriptions/hooks/useSubscriptions';\r\nimport { isRequestSuccess } from '../../../../utils';\r\nimport { isSubscriptionObsolete, SubscriptionType } from '../../../../types/billing/SubscriptionType';\r\nimport { isTrialExpired } from '../../../../utils/subscription.utils';\r\nimport { DayPickerInput } from '../../../controls/DayPickerInput';\r\n\r\nconst trialDefaultDays = 14;\r\nconst proDefaultYears = 1;\r\n\r\ntype subscriptionForm = {\r\n subscriptionType: string;\r\n subscriptionPeriodEnd?: Date;\r\n subscriptionPeriodEndRaw?: string;\r\n};\r\n\r\ninterface Props {\r\n activeUsers: UserSlim[]\r\n}\r\n\r\nconst minDate = moment()\r\n .startOf('day')\r\n //.add(1, 'd') Temporary changed due testing purposes - KTX-10417\r\n .toDate();\r\n\r\nconst validationSchema = yup.object().shape({\r\n subscriptionType: yup.string().required(),\r\n subscriptionPeriodEndRaw: yup.date().when('subscriptionType', {\r\n is: (type: string) => type === 'Basic',\r\n then: () => yup.date().nullable(),\r\n otherwise: () => yup\r\n .date()\r\n .test('isValidDateFormat', errorMessages.invalidValue, (value) => moment(value, 'MM/DD/YYYY', true).isValid())\r\n .typeError(errorMessages.invalidValue)\r\n .min(minDate, errorMessages.dateShouldNotBeInPast)\r\n .required()\r\n })\r\n});\r\n\r\nexport function ChangeSubscriptionPopup({ activeUsers }: Props) {\r\n const dispatch = useDispatch();\r\n const { requestState, subscriptions } = useSubscriptions();\r\n\r\n const { popupVisible, company, isSubscriptionSavingFlag } = useSelector(\r\n (state: AppState) => state.changeSubscription,\r\n );\r\n\r\n if (!popupVisible || !company) {\r\n return null;\r\n }\r\n\r\n const initialValues: subscriptionForm = {\r\n subscriptionType: company.trialPeriodEnd && !isTrialExpired(company.trialPeriodEnd) ? SubscriptionType.trial : company.subscription,\r\n subscriptionPeriodEnd: company?.subscriptionExpiration,\r\n subscriptionPeriodEndRaw: company?.subscriptionExpiration?.toString() ?? ''\r\n };\r\n\r\n const companyActiveMemberCount = activeUsers.filter((user: UserSlim) => user.companyId === company.id).length;\r\n\r\n const handleClose = () => {\r\n if (!isSubscriptionSavingFlag) {\r\n dispatch(changeSubscriptionActions.hide());\r\n }\r\n };\r\n\r\n const handleSubmit = (values: subscriptionForm) => {\r\n const { subscriptionType, subscriptionPeriodEnd } = values;\r\n \r\n dispatch(\r\n changeSubscriptionActions.saveSubscription(company.id, subscriptionType, subscriptionPeriodEnd)\r\n );\r\n };\r\n\r\n const getDefaultPeriodEnd = (subscription: string) => {\r\n switch (subscription) {\r\n case SubscriptionType.basic:\r\n return undefined;\r\n case SubscriptionType.trial:\r\n return moment().startOf('day').add(trialDefaultDays, 'd').toDate();\r\n default:\r\n return moment().startOf('day').add(proDefaultYears, 'y').toDate();\r\n }\r\n }\r\n\r\n return (\r\n \r\n Change Subscription\r\n \r\n {company.name}\r\n \r\n \r\n }\r\n modalClass=\"modal-change-subscription\"\r\n onClose={handleClose}\r\n >\r\n \r\n \r\n {({ values, setValues, dirty, errors, isValid }) => {\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n
Company Role
\r\n
{company.rolesText}
\r\n
\r\n
\r\n
\r\n
\r\n
Users
\r\n
{companyActiveMemberCount}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {\r\n const subscriptionPeriodEnd = getDefaultPeriodEnd(e.target.value)\r\n setValues(() => ({\r\n subscriptionType: e.target.value,\r\n subscriptionPeriodEnd,\r\n subscriptionPeriodEndRaw: subscriptionPeriodEnd ? subscriptionPeriodEnd.toString() : ''\r\n }));\r\n }}\r\n >\r\n {[...subscriptions, { title: SubscriptionType.trial }].map(s =>\r\n \r\n )}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n { \r\n setValues(prev => ({\r\n ...prev,\r\n subscriptionPeriodEnd: subscriptionPeriodEnd instanceof Date ? subscriptionPeriodEnd : undefined,\r\n subscriptionPeriodEndRaw\r\n }))\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 handleSubmit(values)}\r\n >\r\n Save\r\n \r\n \r\n \r\n );\r\n }}\r\n \r\n
\r\n \r\n );\r\n}\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport moment from 'moment';\r\nimport { companiesActions as actions } from '../../../actions';\r\nimport { companyStatuses, companyColumns as columns, routes, companyRoles, constants } from '../../../constants';\r\nimport { getActiveMembers, getCompanies } from '../../../selectors';\r\nimport { Checkbox, ContextMenu, Popup } from '../../controls';\r\nimport { history } from '../../../history';\r\nimport { EmptyPlaceholder, OnHoverTooltip, Relative, Preloader } from '../../common';\r\nimport { RequestState } from '../../../constants/request-state';\r\nimport { ConfirmationPopup } from './ConfirmationPopup';\r\nimport { CompanyStatus } from './CompanyStatus';\r\nimport classNames from 'classnames';\r\nimport { UserProfilePhotoViewer } from '../../user-profile-photo/UserProfilePhotoViewer';\r\nimport { nameUtils } from '../../../utils';\r\nimport { SetClearingBankPopup } from './clearing-bank/SetClearingBankPopup';\r\nimport { ListBuilder } from '../../../utils/ListBuilder';\r\nimport IconSVG from \"../../../styles/svg-icons\";\r\nimport { ViewSettlementAgentCommission } from '../../clients/companies/ViewSettlementAgentCommission';\r\nimport { Link } from 'react-router-dom';\r\nimport { changeSubscriptionActions } from '../../../actions/change-subscription.actions';\r\nimport { ChangeSubscriptionPopup } from './change-subscription/ChangeSubscriptionPopup';\r\n\r\nclass CompanyList extends Component {\r\n state = {\r\n clearingBankCompany: null\r\n };\r\n\r\n handleClearingBankSave = () => {\r\n this.setState({ clearingBankCompany: null });\r\n };\r\n\r\n renderOfacField = company => {\r\n const { dispatch, companiesOfacRequestStatus } = this.props;\r\n return (\r\n \r\n dispatch(actions.setCompanyOfacStatus(company.id, e.target.checked))}\r\n />\r\n \r\n )\r\n };\r\n\r\n renderSalesRepresentative = representative => {\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 handleResetFilterAndSearch = () => {\r\n const { dispatch, handleSearchTermChange } = this.props;\r\n handleSearchTermChange('');\r\n dispatch(actions.resetCompanyFilters());\r\n }\r\n\r\n render = () => {\r\n const {\r\n isInitCompleted, companies, dispatch, statusChangeConfirmation,\r\n approvalConfirmation, rejectionConfirmation\r\n } = this.props;\r\n\r\n if (isInitCompleted && !companies.length) {\r\n return ;\r\n }\r\n\r\n const companyRows = companies.map(c =>\r\n \r\n \r\n {c.rolesText}\r\n \r\n \r\n {c.name}\r\n \r\n \r\n \r\n \r\n {this.getPrimaryContactName(c.primaryContact) || '–'}\r\n \r\n \r\n \r\n {c.members ? dispatch(actions.showCompanyMembers(c))}>\r\n {c.members}\r\n : add}\r\n \r\n \r\n
\r\n {\r\n c.salesRepresentatives &&\r\n !!c.salesRepresentatives.length &&\r\n c.salesRepresentatives\r\n .filter(s => s.active)\r\n .map(s => this.renderSalesRepresentative(s))\r\n }\r\n
\r\n \r\n {c.subscriptionText ?? constants.emptyPlaceholder}\r\n {c.subscriptionDate ? moment(c.subscriptionDate).format(constants.dateFormat4) :constants.emptyPlaceholder}\r\n {moment(c.dateRegistered).format('MM/DD/YY')}\r\n \r\n \r\n {this.getCreatedBy(c.createdBy)}\r\n \r\n \r\n {this.renderOfacField(c)}\r\n {this.renderClearingBankColumn(c)}\r\n \r\n {\r\n !this.isRequestingApproval(c.id) ?\r\n : 'Requesting...'\r\n }\r\n \r\n \r\n );\r\n\r\n return (\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n dispatch(actions.orderCompaniesBy(columns.subscription))}\r\n >\r\n Subs. Plan\r\n \r\n \r\n dispatch(actions.orderCompaniesBy(columns.subscriptionEnd))}\r\n >\r\n Subs. End\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
dispatch(actions.orderCompaniesBy(columns.status))}>\r\n Status\r\n \r\n dispatch(actions.orderCompaniesBy(columns.role))}>\r\n Role\r\n \r\n dispatch(actions.orderCompaniesBy(columns.legalName))}>\r\n Company Legal Name\r\n \r\n dispatch(actions.orderCompaniesBy(columns.primaryContact))}>\r\n Primary Contact\r\n \r\n dispatch(actions.orderCompaniesBy(columns.members))}>\r\n Users\r\n \r\n Sales Reps dispatch(actions.orderCompaniesBy(columns.dateRegistered))}>\r\n Reg. Date\r\n \r\n dispatch(actions.orderCompaniesBy(columns.createdBy))}>\r\n Reg. by\r\n \r\n \r\n OFAC\r\n dispatch(actions.orderCompaniesBy(columns.isClearingBank))}>\r\n \r\n SA\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\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {companyRows}\r\n \r\n
\r\n
\r\n {\r\n statusChangeConfirmation &&\r\n statusChangeConfirmation.company &&\r\n \r\n }\r\n {\r\n approvalConfirmation &&\r\n dispatch(actions.companyApprovalConfirmationHide())}\r\n >\r\n
\r\n

\r\n Please confirm you approve {approvalConfirmation.name} to join the KTX ATS Platform\r\n

\r\n
\r\n
\r\n dispatch(actions.companyApprovalConfirmationHide())}\r\n disabled={this.isRequestingApproval(approvalConfirmation.id)}\r\n >\r\n Cancel\r\n \r\n dispatch(actions.approveCompany(approvalConfirmation.id))}\r\n disabled={this.isRequestingApproval(approvalConfirmation.id)}\r\n >\r\n {this.isRequestingApproval(approvalConfirmation.id) ? 'Approving' : 'Yes'}\r\n \r\n
\r\n \r\n }\r\n {\r\n rejectionConfirmation &&\r\n dispatch(actions.companyRejectionConfirmationHide())}\r\n >\r\n
\r\n

\r\n Please enter the reason of rejection and confirm\r\n

\r\n
\r\n \r\n dispatch(actions.companyRejectReasonSet(e.target.value))}\r\n />\r\n
\r\n
\r\n
\r\n dispatch(actions.companyRejectionConfirmationHide())}\r\n disabled={this.isRequestingApproval(rejectionConfirmation.id)}\r\n >\r\n Cancel\r\n \r\n dispatch(actions.rejectCompany(rejectionConfirmation.id))}\r\n disabled={this.isRequestingApproval(rejectionConfirmation.id) || !this.props.rejectionReason.trim()}\r\n >\r\n {this.isRequestingApproval(rejectionConfirmation.id) ? 'Rejecting' : 'Reject'}\r\n \r\n
\r\n \r\n }\r\n {\r\n this.state.clearingBankCompany &&\r\n this.setState({ clearingBankCompany: null })}\r\n />\r\n }\r\n {\r\n this.props.isChangeSubscriptionPopupVisible &&\r\n \r\n }\r\n
\r\n
\r\n
\r\n );\r\n }\r\n\r\n getOrderByCssClasses = column =>\r\n this.props.orderBy.column === column\r\n ? this.props.orderBy.direction\r\n : '';\r\n\r\n getStatusChangeConfirmationMessage = company => {\r\n const status =\r\n company.status === companyStatuses.active.statusCode ||\r\n company.status === companyStatuses.offPlatform.statusCode\r\n ? 'block' : 'unblock';\r\n return `Do you really want to ${status} ${company.name}?`;\r\n }\r\n\r\n getPrimaryContactName = contact => contact ? `${contact.firstName} ${contact.lastName}` : '';\r\n getCreatedBy = createdBy => createdBy ? `${createdBy}` : '–';\r\n\r\n getMenuItems = company => {\r\n switch (company.status) {\r\n case companyStatuses.offPlatform.statusCode:\r\n case companyStatuses.active.statusCode:\r\n return this.getMenuActive(company);\r\n case companyStatuses.blocked.statusCode:\r\n return this.getMenuBlocked(company);\r\n case companyStatuses.registrationPending.statusCode:\r\n return this.getMenuPending(company);\r\n case companyStatuses.registrationSubmitted.statusCode:\r\n return this.getMenuSubmitted(company);\r\n case companyStatuses.registrationRejected.statusCode:\r\n return this.getMenuRejected();\r\n default:\r\n return [];\r\n }\r\n }\r\n\r\n getMenuActive = company => {\r\n const edit = {\r\n text: 'Edit',\r\n action: () => history.push(routes.editCompanyUrl(company.referenceName))\r\n };\r\n const clearingBank = {\r\n text: company.isClearingBank ? 'Unset Settl. Agent and Commission' : 'Set Settl. Agent and Commission',\r\n action: () => this.setState({ clearingBankCompany: company })\r\n };\r\n const block = {\r\n classNames: 'warning',\r\n text: 'Block',\r\n action: () => this.props.dispatch(actions.companyStatusChangeConfirmation(true, company))\r\n };\r\n const subscription = {\r\n text: 'Change Subscription',\r\n action: () => this.props.dispatch(changeSubscriptionActions.show(company))\r\n }\r\n\r\n return new ListBuilder()\r\n .add(edit)\r\n .addWhen(() =>\r\n (company.status === companyStatuses.active.statusCode || this.props.activeUsers.some(u => u.companyId === company.id)) &&\r\n company.role !== companyRoles.Administrator,\r\n subscription)\r\n .addWhen(() => company.role === companyRoles.BrokerDealer, clearingBank)\r\n .add(block)\r\n .result();\r\n };\r\n\r\n getMenuBlocked = company => [\r\n {\r\n text: 'Edit',\r\n action: () => history.push(routes.editCompanyUrl(company.referenceName))\r\n },\r\n {\r\n text: 'Unblock',\r\n action: () => this.props.dispatch(actions.companyStatusChangeConfirmation(true, company))\r\n }\r\n ]\r\n\r\n getMenuPending = company => [\r\n {\r\n text: 'Edit',\r\n action: () => history.push(routes.editCompanyUrl(company.referenceName))\r\n }\r\n ]\r\n\r\n getMenuSubmitted = company => [\r\n {\r\n text: 'Edit',\r\n action: () => history.push(routes.editCompanyUrl(company.referenceName))\r\n },\r\n {\r\n text: 'Approve',\r\n action: () => this.props.dispatch(actions.companyApprovalConfirmationShow(company))\r\n },\r\n {\r\n text: 'Reject',\r\n action: () => this.props.dispatch(actions.companyRejectionConfirmationShow(company))\r\n }\r\n ]\r\n\r\n getMenuRejected = () => []\r\n\r\n isRequestingApproval = companyId => {\r\n const { rsStatusChange } = this.props;\r\n return rsStatusChange[companyId] && rsStatusChange[companyId] === RequestState.request;\r\n }\r\n\r\n renderClearingBankColumn = company => {\r\n if (company.role === companyRoles.BrokerDealer) {\r\n return company.isClearingBank\r\n ? \r\n : 'No';\r\n } else {\r\n return constants.emptyPlaceholder;\r\n }\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({ companies, changeSubscription }) => ({\r\n isInitCompleted: companies.isInitCompleted,\r\n companies: getCompanies(companies),\r\n activeUsers: getActiveMembers(companies),\r\n approvalConfirmation: companies.approvalConfirmation,\r\n rejectionConfirmation: companies.rejectionConfirmation,\r\n statusChangeConfirmation: companies.companyStatusChangeConfirmation,\r\n rsStatusChange: companies.rsStatusChange,\r\n rejectionReason: companies.rejectionReason,\r\n filter: companies.companyFilter,\r\n orderBy: companies.companyOrderBy,\r\n companiesOfacRequestStatus: companies.companiesOfacRequestStatus,\r\n isChangeSubscriptionPopupVisible: changeSubscription.popupVisible,\r\n});\r\n\r\nconst connectedCompanyList = connect(mapStateToProps)(CompanyList);\r\nexport { connectedCompanyList as CompanyList };\r\n","import {Popup, PopupBody, PopupFooter} from '../../controls';\r\nimport { UserLastLoginHistory } from '../../../types/management/UserLastLoginHistory';\r\nimport { Table } from '../../bidding/common/table';\r\nimport { ColumnBuilder } from '../../bidding/common/table/columns/column-builder/ColumnBuilder';\r\nimport { IColumnDefinition } from '../../bidding/common/table/types/ColumnDefinition';\r\nimport { companiesActions } from '../../../actions';\r\nimport dateTimeUtils from '../../../utils/dateTime.utils';\r\nimport { constants } from '../../../constants';\r\nimport { useAppDispatch } from '../../../effects/useAppDispatch';\r\n\r\ninterface User {\r\n fullName: () => string\r\n}\r\n\r\ninterface LastLoginHistoryPopupProps {\r\n userLastLoginHistory: {\r\n history: UserLastLoginHistory[],\r\n user: User\r\n }\r\n}\r\n\r\nexport function LastLoginHistoryPopup({ userLastLoginHistory }: LastLoginHistoryPopupProps) {\r\n const dispatch = useAppDispatch();\r\n\r\n if (!userLastLoginHistory.user) {\r\n return null;\r\n }\r\n\r\n const getTableColumns = () => {\r\n const columnDefinitions: IColumnDefinition[] = [\r\n {\r\n columnKey: 'date',\r\n renderColumnHeaderContent: () => 'Date&Time(Local Time)',\r\n renderColumnContent: entity => dateTimeUtils.utcToLocalString(entity.date, constants.dateTimeFormat),\r\n headerClassName: 'data-list-action-date',\r\n bodyClassName: 'data-list-action-date',\r\n }, {\r\n columnKey: 'action',\r\n renderColumnHeaderContent: () => 'Action',\r\n renderColumnContent: entity => entity.action,\r\n headerClassName: 'data-list-action-name',\r\n bodyClassName: 'data-list-action-name',\r\n }\r\n ];\r\n\r\n return columnDefinitions.map(c => new ColumnBuilder(c))\r\n };\r\n\r\n const dataItems = [...userLastLoginHistory.history];\r\n dataItems.sort((a, b) => (new Date(b.date).getTime() - new Date(a.date).getTime()));\r\n\r\n return (\r\n dispatch(companiesActions.resetUserLoginHistory())}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n","import { useState } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\"\r\nimport { RequestState } from \"../../../constants/request-state\";\r\nimport IconSVG from \"../../../styles/svg-icons\";\r\nimport { AppState } from \"../../../types/state/AppState\";\r\nimport { isRequesting } from \"../../../utils\"\r\nimport { OnHoverTooltip, Preloader } from \"../../common\"\r\nimport { RejectReasonPopup } from \"../../common/RejectReasonPopup\";\r\nimport { userRequestAdminActions } from '../../../actions/user-request-admin.actions';\r\n\r\ninterface Props {\r\n userRequestId: number;\r\n concurrencyStamp: Date;\r\n}\r\n\r\nexport const MembersListPendingUserRequestOptionsButtons = ({ userRequestId, concurrencyStamp }: Props) => {\r\n const dispatch = useDispatch();\r\n const updateState = useSelector((s: AppState) => userRequestId\r\n ? s.companies.userRequestOperationState[userRequestId]\r\n : RequestState.none) ?? RequestState.none;\r\n const [blockReasonVisible, setBlockReasonVisible] = useState(false);\r\n\r\n const handleBlockConfirmed = (message: string) => {\r\n if (userRequestId) {\r\n setBlockReasonVisible(false);\r\n dispatch(userRequestAdminActions.block(userRequestId, concurrencyStamp, message));\r\n }\r\n }\r\n\r\n return (\r\n \r\n
\r\n \r\n dispatch(userRequestAdminActions.approve(userRequestId, concurrencyStamp))}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {\r\n blockReasonVisible &&\r\n setBlockReasonVisible(false)}\r\n onReject={handleBlockConfirmed}\r\n comfirmButtonText=\"Block\"\r\n />\r\n }\r\n
\r\n )\r\n}\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withRouter } from 'react-router';\r\nimport classNames from 'classnames';\r\nimport { user } from '../../../user';\r\nimport { Checkbox, ContextMenu, Popover } from '../../controls';\r\nimport { Confirm } from '../../alerts';\r\nimport { companiesActions as actions } from '../../../actions';\r\nimport { companyStatuses, constants, memberColumns, roles, routes, userStatuses } from '../../../constants';\r\nimport { getMembers } from '../../../selectors';\r\nimport { EmptyPlaceholder, OnHoverTooltip, Preloader } from '../../common';\r\nimport { LastLoginHistoryPopup } from './LastLoginHistoryPopup';\r\nimport dateTimeUtils from '../../../utils/dateTime.utils';\r\nimport { RejectReasonPopup } from '../../common/RejectReasonPopup';\r\nimport { UserRequestStatus } from '../../../types/management/UserRequestStatus';\r\nimport { userRequestAdminActions } from '../../../actions/user-request-admin.actions';\r\nimport { ListBuilder } from '../../../utils/ListBuilder';\r\nimport IconSVG from \"../../../styles/svg-icons\";\r\nimport { MembersListPendingUserRequestOptionsButtons } from './MembersListPendingUserRequestOptionsButtons';\r\nimport { RequestUserStatusDetails } from '../../profile/tabs/manage/users/RequestUserStatusDetails';\r\n\r\nclass MemberList extends Component {\r\n state = {\r\n memberForRejectReasonPopup: null,\r\n memberForSendTemporaryPassword: null,\r\n };\r\n\r\n getOrderByCssClasses = column => this.props.orderBy.column === column ? this.props.orderBy.direction : '';\r\n\r\n getStatusChangeConfirmationMessage = member => {\r\n const status = member.status === userStatuses.blocked.statusCode ? 'unblock' : 'block';\r\n return `Do you really want to ${status} ${member.fullName()}?`;\r\n };\r\n\r\n getMenuItems = member => {\r\n const { /*companies,*/ dispatch, history, requestStatusGetUserList } = this.props;\r\n // const company = companies.find(c => c.id === member.companyId);\r\n\r\n const edit = { text: 'Edit', action: () => history.push(routes.manageCompaniesEditUserUrl(member.id)) };\r\n const unblock = {\r\n text: 'Unblock', action: () => dispatch(actions.memberStatusChangeConfirmation(true, member))\r\n };\r\n const block = { text: 'Block', action: () => this.setState({ memberForRejectReasonPopup: member }) };\r\n const reSendInvite = {\r\n sectionBlock: true,\r\n text: 'Re-Send Invite', action: () => dispatch(actions.resendInviteConfirmation(true, member))\r\n };\r\n const resetPassword = {\r\n sectionBlock: true,\r\n text: 'Reset Password', action: () => dispatch(actions.resetPasswordConfirmation(true, member))\r\n };\r\n const TFA = {\r\n sectionBlock: true,\r\n text: member.tfaEnabled ? 'Disable TFA' : 'Enable TFA',\r\n action: () => dispatch(actions.chnageTfaEnabledStatusConfirmation(true, member))\r\n };\r\n const deleteMember = {\r\n text: 'Delete',\r\n disabled: requestStatusGetUserList,\r\n action: () => dispatch(actions.deleteUser(member.id))\r\n };\r\n const sendTemporaryPassword = {\r\n text: 'Set temp pass',\r\n action: () => this.setState({ memberForSendTemporaryPassword: member })\r\n };\r\n\r\n return new ListBuilder()\r\n .add(edit)\r\n .addWhen(() => member.id !== user.current().id && member.status !== userStatuses.blocked.statusCode, block)\r\n .addWhen(\r\n () =>\r\n member.id !== user.current().id &&\r\n member.status === userStatuses.blocked.statusCode &&\r\n member.canUnblock,\r\n unblock\r\n )\r\n .addWhen(\r\n () => member.status === userStatuses.blocked.statusCode,\r\n deleteMember\r\n )\r\n .addWhen(() =>\r\n member.status === userStatuses.invited.statusCode || member.status === userStatuses.notInivited.statusCode,\r\n reSendInvite\r\n )\r\n .addWhen(() => member.status === userStatuses.active.statusCode, resetPassword)\r\n .addWhen(() =>\r\n member.status === userStatuses.active.statusCode || member.status === userStatuses.invited.statusCode,\r\n sendTemporaryPassword\r\n )\r\n .add(TFA)\r\n .result();\r\n };\r\n\r\n getBlockedUserRequestMenuItems = userRequest => {\r\n return [{\r\n text: 'Unblock',\r\n action: () => this.props.dispatch(userRequestAdminActions.unblock(userRequest.id, userRequest.concurrencyStamp))\r\n }, {\r\n text: 'Delete',\r\n action: () => this.props.dispatch(userRequestAdminActions.deleteUserRequest(userRequest.id))\r\n }];\r\n };\r\n\r\n getOfacField = (member) => {\r\n const { dispatch, membersOfacRequestStatus } = this.props;\r\n return (\r\n \r\n dispatch(actions.setMemberOfacStatus(member.id, e.target.checked))}\r\n />\r\n \r\n )\r\n };\r\n\r\n handleBlockUser = message => {\r\n const { dispatch } = this.props;\r\n dispatch(actions.changeMemberBlockedStatus(this.state.memberForRejectReasonPopup, message));\r\n this.setState({ memberForRejectReasonPopup: null })\r\n };\r\n\r\n handleConfirmSendTemporaryPassword = () => {\r\n this.props.dispatch(actions.setTempPassword(this.state.memberForSendTemporaryPassword.id));\r\n this.setState({ memberForSendTemporaryPassword: null });\r\n };\r\n\r\n getRowClassNames = member => {\r\n const memberId = member.id;\r\n const { statusChangeConfirmation, editMember, resendInviteConfirmation, tfaStatusChangeConfirmation, resetPasswordConfirmation } = this.props;\r\n const highlighted = !!(\r\n (tfaStatusChangeConfirmation && tfaStatusChangeConfirmation.member && tfaStatusChangeConfirmation.member.id === memberId) ||\r\n (statusChangeConfirmation && statusChangeConfirmation.member && statusChangeConfirmation.member.id === memberId) ||\r\n (resendInviteConfirmation && resendInviteConfirmation.member && resendInviteConfirmation.member.id === memberId) ||\r\n (resetPasswordConfirmation && resetPasswordConfirmation.member && resetPasswordConfirmation.member.id === memberId) ||\r\n (editMember && editMember.user && editMember.user.id === memberId) ||\r\n (this.state.memberForRejectReasonPopup && this.state.memberForRejectReasonPopup.id === memberId)\r\n );\r\n return classNames({\r\n highlighted,\r\n 'user-request': member.isUserRequest && member.status === UserRequestStatus.Pending\r\n });\r\n };\r\n\r\n handleResetFilterAndSearch = () => {\r\n const { dispatch, handleSearchTermChange } = this.props;\r\n handleSearchTermChange('');\r\n dispatch(actions.resetMemberFilters());\r\n }\r\n\r\n render = () => {\r\n const {\r\n isInitCompleted,\r\n members,\r\n dispatch,\r\n userLastLoginHistory,\r\n statusChangeConfirmation,\r\n resetPasswordConfirmation,\r\n resendInviteConfirmation,\r\n tfaStatusChangeConfirmation\r\n } = this.props;\r\n\r\n if (isInitCompleted && !members.length) {\r\n return ;\r\n }\r\n\r\n const getRolesByString = (roleList) => roleList && roleList.length\r\n ? [...roleList].sort((a, b) => a.localeCompare(b)).map(r => roles.getTitle(r)).join(', ')\r\n : '–'\r\n\r\n const memberRows = members.map(m =>\r\n \r\n \r\n dispatch(actions.showMemberCompany(m))}\r\n title={m.companyName}\r\n >\r\n {m.companyName}\r\n \r\n \r\n \r\n \r\n {companyStatuses.getByStatusCode(m.companyStatus).title}\r\n \r\n \r\n \r\n \r\n {getRolesByString(m.roles)}\r\n \r\n \r\n \r\n {m.fullName()}}\r\n >\r\n
    \r\n
  • \r\n {m.email}\r\n {m.phone || '–'}\r\n
  • \r\n
\r\n
\r\n

Billing Information

\r\n
\r\n
\r\n
Subscription Plan
\r\n
{m.subscription || '–'}
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n m.dateLastLoginUtc ?\r\n dispatch(actions.getUserLoginHistory(m))}\r\n >\r\n {dateTimeUtils.utcToLocalString(m.dateLastLoginUtc, constants.dateFormat4)}\r\n : constants.emptyPlaceholder\r\n }\r\n \r\n {dateTimeUtils.utcToLocalString(m.dateRegisteredUtc, constants.dateFormat4)}\r\n \r\n \r\n {m.createdBy || '–'}\r\n \r\n \r\n {!m.isUserRequest && this.getOfacField(m)}\r\n \r\n {\r\n !m.isUserRequest && \r\n }\r\n \r\n \r\n {!m.isUserRequest && user.current().id !== m.id && }\r\n {m.isUserRequest && m.status === UserRequestStatus.Blocked &&\r\n }\r\n {m.isUserRequest && m.status === UserRequestStatus.Pending &&\r\n }\r\n \r\n \r\n );\r\n\r\n return (\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n dispatch(actions.orderMembersBy(memberColumns.companyName))}\r\n >\r\n Company\r\n \r\n \r\n dispatch(actions.orderMembersBy(memberColumns.companyStatus))}\r\n >\r\n Comp. Status\r\n \r\n \r\n \r\n dispatch(actions.orderMembersBy(memberColumns.fullName))}\r\n >\r\n User\r\n \r\n \r\n dispatch(actions.orderMembersBy(memberColumns.status))}\r\n >\r\n Status\r\n \r\n \r\n {/*\r\n dispatch(actions.orderMembersBy(memberColumns.email))}\r\n >\r\n Email\r\n \r\n \r\n dispatch(actions.orderMembersBy(memberColumns.phone))}\r\n >\r\n Phone\r\n \r\n \r\n */}\r\n\r\n dispatch(actions.orderMembersBy(memberColumns.dateLastLogin))}\r\n >\r\n Last Login\r\n \r\n \r\n dispatch(actions.orderMembersBy(memberColumns.dateRegistered))}\r\n >\r\n Reg. Date\r\n \r\n \r\n dispatch(actions.orderMembersBy(memberColumns.createdBy))}\r\n >\r\n Reg. by\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n User Role\r\n \r\n OFAC\r\n \r\n TFA\r\n Actions
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {memberRows}\r\n \r\n
\r\n
\r\n\r\n {\r\n statusChangeConfirmation &&\r\n statusChangeConfirmation.member &&\r\n dispatch(actions.memberStatusChangeConfirmation(false))}\r\n onConfirm={() => dispatch(actions.changeMemberBlockedStatus(statusChangeConfirmation.member))}\r\n />\r\n }\r\n {\r\n resetPasswordConfirmation &&\r\n resetPasswordConfirmation.member &&\r\n dispatch(actions.resetPasswordConfirmation(false))}\r\n onConfirm={() => dispatch(actions.resetPassword(resetPasswordConfirmation.member))}\r\n />\r\n }\r\n {\r\n resendInviteConfirmation &&\r\n resendInviteConfirmation.member &&\r\n dispatch(actions.resendInviteConfirmation(false))}\r\n onConfirm={() => dispatch(actions.resendInvite(resendInviteConfirmation.member))}\r\n />\r\n }\r\n {\r\n tfaStatusChangeConfirmation &&\r\n tfaStatusChangeConfirmation.member &&\r\n dispatch(actions.chnageTfaEnabledStatusConfirmation(false))}\r\n onConfirm={() => dispatch(actions.chnageTfaEnabledStatus(tfaStatusChangeConfirmation.member))}\r\n />\r\n }\r\n {\r\n this.state.memberForRejectReasonPopup &&\r\n this.setState({ memberForRejectReasonPopup: null })}\r\n onReject={this.handleBlockUser}\r\n comfirmButtonText=\"Block\"\r\n />\r\n }\r\n \r\n {!!this.state.memberForSendTemporaryPassword && (\r\n this.setState({ memberForSendTemporaryPassword: null })}\r\n onConfirm={this.handleConfirmSendTemporaryPassword}\r\n confirmButtonText={'Confirm'}\r\n />\r\n )}\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({ companies, changeSubscription }) => ({\r\n isInitCompleted: companies.isInitCompleted,\r\n members: getMembers(companies),\r\n filter: companies.memberFilter,\r\n orderBy: companies.memberOrderBy,\r\n userLastLoginHistory: companies.userLastLoginHistory,\r\n statusChangeConfirmation: companies.memberStatusChangeConfirmation,\r\n resetPasswordConfirmation: companies.memberResetPasswordConfirmation,\r\n resendInviteConfirmation: companies.memberResendInviteConfirmation,\r\n membersOfacRequestStatus: companies.membersOfacRequestStatus,\r\n tfaStatusChangeConfirmation: companies.tfaStatusChangeConfirmation,\r\n requestStatusGetUserList: companies.requestStatusGetUserList,\r\n editMember: companies.editMember,\r\n companies: companies.companies\r\n});\r\n\r\nconst connectedMemberList = withRouter(connect(mapStateToProps)(MemberList));\r\nexport { connectedMemberList as MemberList };\r\n","import React, { useEffect } from 'react';\r\nimport { useSelector } from 'react-redux';\r\nimport cn from 'classnames';\r\nimport { isEqual } from 'lodash';\r\nimport { Form, Formik } from 'formik';\r\nimport { editCompanyActions } from '../../../actions/edit.company.actions';\r\nimport { companyRoles, constants, errorMessages, routes } from '../../../constants';\r\nimport { numericUtils, stringUtils } from '../../../utils';\r\nimport { AutoCompleteInput, FormError } from '../../controls';\r\nimport { InputField } from '../../forms';\r\nimport { RouteLeavingGuard } from '../../routing';\r\nimport { yup } from '../../../validation/yup';\r\nimport { useHistory, useParams } from 'react-router';\r\nimport { SalesRepresentative } from '../../../types/sales-representative/SalesRepresentative';\r\nimport { AppState } from '../../../types/state/AppState';\r\nimport { MultiSelect, MultiSelectDataItem } from '../../controls/MultiSelect';\r\nimport { Breadcrumbs } from '../../controls/breadcrumbs/Breadcrumbs';\r\nimport { BreadcrumbsItem } from '../../controls/breadcrumbs/BreadcrumbsItem';\r\nimport { Preloader } from '../../common/Preloader';\r\nimport { useAppDispatch } from '../../../effects/useAppDispatch';\r\n\r\nconst RenderShortCodeInput: React.FC<{ labelText: string }> = ({ labelText }) => {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nconst SalesRepresentatives: React.FC<{\r\n salesRepresentatives: SalesRepresentative[];\r\n selectedSalesRepresentatives: number[];\r\n companyRole?: string;\r\n errorMessage: string;\r\n onSelected: (item: MultiSelectDataItem, selected: boolean) => void;\r\n}> = ({ salesRepresentatives, selectedSalesRepresentatives, errorMessage, companyRole, onSelected }) => {\r\n const selectedList = salesRepresentatives.filter(s => selectedSalesRepresentatives.some(v => v === s.id));\r\n return (\r\n <>\r\n

Sales Representatives

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n};\r\n\r\nconst RenderHeadOfTrading: React.FC<{ headOfTradingFirstName: string; headOfTradingLastName: string; }> = (\r\n { headOfTradingFirstName, headOfTradingLastName }) => {\r\n const isHeadOfTradingNameEmpty =\r\n stringUtils.isNullOrWhiteSpace(headOfTradingFirstName) &&\r\n stringUtils.isNullOrWhiteSpace(headOfTradingLastName);\r\n return (\r\n <>\r\n

Head of Trading

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\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 const EditCompany = () => {\r\n const history = useHistory();\r\n const dispatch = useAppDispatch();\r\n const { referenceName } = useParams<{ referenceName: string }>();\r\n const isEdit = !!referenceName;\r\n const { loading, company, countries, states, cities, saving, saved, salesRepresentatives } = useSelector((state: AppState) => state.editCompany);\r\n\r\n useEffect(() => {\r\n dispatch(editCompanyActions.init(referenceName));\r\n return () => {\r\n dispatch(editCompanyActions.reset())\r\n }\r\n }, [dispatch, referenceName]);\r\n\r\n useEffect(() => {\r\n if (saved) {\r\n history.replace(routes.manageCompanies)\r\n }\r\n }, [saved, history])\r\n\r\n const getRoles = () => {\r\n const roles = [\r\n { value: companyRoles.BrokerDealer, text: companyRoles.getTitle(companyRoles.BrokerDealer), selected: false, disabled: false },\r\n { value: companyRoles.Media, text: companyRoles.getTitle(companyRoles.Media), selected: false, disabled: false },\r\n { value: companyRoles.Seller, text: companyRoles.getTitle(companyRoles.Seller), selected: false, disabled: false },\r\n { value: companyRoles.Viewer, text: companyRoles.getTitle(companyRoles.Viewer), selected: false, disabled: false }\r\n ];\r\n if (company?.role === companyRoles.Administrator) {\r\n roles.push({ value: companyRoles.Administrator, text: companyRoles.getTitle(companyRoles.Administrator), disabled: true, selected: false });\r\n }\r\n return roles\r\n };\r\n\r\n const initialValues = {\r\n id: company?.id || undefined,\r\n name: company?.name || '',\r\n phone: company?.phone || '',\r\n website: company?.website || '',\r\n countryCode: company?.countryCode || '',\r\n state: company?.state || '',\r\n stateId: company?.stateId || undefined,\r\n city: company?.city || '',\r\n cityId: company?.cityId || undefined,\r\n zipCode: company?.zipCode || '',\r\n address: company?.address || '',\r\n role: company?.role || '',\r\n distributionList: company?.distributionList || '',\r\n code: company?.code || '',\r\n mpid: company?.mpid || '',\r\n headOfTradingFirstName: company?.headOfTrading?.firstName || '',\r\n headOfTradingLastName: company?.headOfTrading?.lastName || '',\r\n headOfTradingEmail: company?.headOfTrading?.email || '',\r\n headOfTradingOffice : company?.headOfTrading?.office || '',\r\n headOfTradingMobile : company?.headOfTrading?.mobile || '',\r\n salesRepresentatives: company?.salesRepresentatives\r\n ? company.salesRepresentatives\r\n .filter(s => s.active)\r\n .map(s => s.id)\r\n : [],\r\n };\r\n\r\n const handleCountryChange = (setValues: (values: React.SetStateAction) => void, values: typeof initialValues) => {\r\n return (e: React.ChangeEvent) => {\r\n const countryCode = e.target.value;\r\n setValues({ ...values, countryCode, stateId: undefined, state: '' });\r\n if (values.countryCode === constants.USCountryCode) {\r\n dispatch(editCompanyActions.loadCities());\r\n }\r\n };\r\n };\r\n\r\n const handleStateChange = (setFieldValue: (key: string, value: string) => void) => {\r\n return (e: React.ChangeEvent) => {\r\n const stateId = e.target.value;\r\n if (stateId) {\r\n dispatch(editCompanyActions.loadCities(stateId))\r\n }\r\n setFieldValue('stateId', stateId);\r\n }\r\n };\r\n\r\n const handleCityChange = (setValues: (values: React.SetStateAction) => void, values: typeof initialValues) => {\r\n return (city: string) => {\r\n const selectedCity = cities.find(c => c.name.localeCompare(city, undefined, { sensitivity: 'accent' }) === 0);\r\n const cityId = selectedCity && selectedCity.id;\r\n setValues({ ...values, cityId, city });\r\n }\r\n };\r\n\r\n const handleChangeAddress = (setFieldValue: (key: string, value: string) => void) =>\r\n (e: React.ChangeEvent) => setFieldValue('address', e.target.value);\r\n\r\n const handleChangeRole = (setValues: (values: React.SetStateAction) => void, values: typeof initialValues) => {\r\n return (role: MultiSelectDataItem) => {\r\n const updatedValues = { ...values, role: String(role.value) };\r\n if (role.value === companyRoles.BrokerDealer) {\r\n updatedValues.distributionList = '';\r\n updatedValues.code = '';\r\n } else if(role.value === companyRoles.Media) {\r\n updatedValues.salesRepresentatives = [];\r\n }\r\n setValues(updatedValues);\r\n }\r\n };\r\n\r\n const handleChangeSalesRepresentatives = (setFieldValue: (key: string, value: number[]) => void, selectedSalesRepresentatives: number[]) => {\r\n return (item: MultiSelectDataItem, selected: boolean) => {\r\n let updatedList: number[] = [...selectedSalesRepresentatives];\r\n if (selected) {\r\n updatedList.push(Number(item.value))\r\n } else {\r\n updatedList = updatedList.filter(i => i !== item.value)\r\n }\r\n setFieldValue('salesRepresentatives', updatedList);\r\n }\r\n };\r\n\r\n const validationSchema = yup.object().shape({\r\n name: yup.string().trim().matches(constants.nonWhitespace).required().max(80),\r\n phone: yup.string().trim().matches(constants.nonWhitespace).max(constants.phoneMaxLength),\r\n website: yup.string().trim().matches(constants.website),\r\n countryCode: yup.string().required(),\r\n state: yup.string().trim()\r\n .when(['stateId', 'countryCode'], {\r\n is: (stateId: string, countryCode: string) => !numericUtils.isNumber(stateId) && countryCode !== constants.USCountryCode,\r\n then: () => yup.string().trim().matches(constants.nonWhitespace).required(),\r\n }),\r\n stateId: yup.number()\r\n .when('countryCode', {\r\n is: (countryCode: string) => !countryCode || countryCode === constants.USCountryCode,\r\n then: () => yup.number().required(),\r\n }),\r\n city: yup.string().trim().required(),\r\n zipCode: yup.string().trim().test('zipCode', errorMessages.invalidValue, function (zipCode) {\r\n if (!zipCode) {\r\n return true\r\n }\r\n if (this.parent.countryCode === constants.USCountryCode) {\r\n return constants.USZipCode.test(zipCode)\r\n }\r\n return constants.zipCode.test(zipCode)\r\n }),\r\n address: yup.string().trim().required(),\r\n role: yup.string().required(),\r\n distributionList: yup.string(),\r\n code: yup.string()\r\n .when('role', {\r\n is: (role: string) => role === companyRoles.BrokerDealer || role === companyRoles.Seller,\r\n then: () => yup.string().matches(constants.companyShortcode).required()\r\n }),\r\n mpid: yup.string().trim()\r\n .when('role', {\r\n is: (role: string) => role === companyRoles.BrokerDealer,\r\n then: () => yup.string().matches(constants.mpid).required()\r\n }),\r\n headOfTradingFirstName: yup.string()\r\n .when('role', {\r\n is: (role: string) => role === companyRoles.BrokerDealer,\r\n then: () => yup.string().matches(constants.name)\r\n }),\r\n headOfTradingLastName: yup.string()\r\n .when('role', {\r\n is: (role: string) => role === companyRoles.BrokerDealer,\r\n then: () => yup.string().matches(constants.name)\r\n }),\r\n headOfTradingEmail: yup.string().matches(constants.email)\r\n .when(['headOfTradingFirstName', 'headOfTradingLastName'], {\r\n is: (headOfTradingFirstName: string, headOfTradingLastName: string) => headOfTradingFirstName || headOfTradingLastName,\r\n then: () => yup.string().required()\r\n }),\r\n headOfTradingOffice: yup.string().trim().matches(constants.nonWhitespace).max(constants.phoneMaxLength),\r\n headOfTradingMobile: yup.string().trim().matches(constants.nonWhitespace).max(constants.phoneMaxLength),\r\n salesRepresentatives: yup.array().when('role', {\r\n is: (role: string) => role !== companyRoles.Media,\r\n then: () => yup.array().required().min(1, errorMessages.chooseSalesRepresentative)\r\n })\r\n });\r\n\r\n return (\r\n \r\n {\r\n dispatch(editCompanyActions.save(values))\r\n }}\r\n enableReinitialize={true}\r\n >\r\n {({ values, setFieldValue, setValues, errors, submitCount }) => {\r\n const isUSACountryCode = !values.countryCode || values.countryCode === constants.USCountryCode;\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n

{isEdit ? 'Edit Company' : 'Create New Company'}

\r\n
\r\n history.replace(routes.manageCompanies)}\r\n >\r\n CANCEL\r\n \r\n \r\n SAVE\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Information

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

Address

\r\n <>\r\n
\r\n \r\n
\r\n \r\n {(!isEdit || !values.countryCode) &&\r\n \r\n }\r\n {countries.map(c =>\r\n \r\n )}\r\n \r\n \r\n
\r\n
\r\n
\r\n {isUSACountryCode ? (\r\n
\r\n \r\n \r\n \r\n {!!values.countryCode && states.map(s =>\r\n )\r\n }\r\n \r\n \r\n
\r\n ) : (\r\n \r\n )}\r\n
\r\n
\r\n
\r\n \r\n c.name)}\r\n maxLength=\"256\"\r\n pattern={constants.name.source}\r\n required\r\n placeholder=\"Select City\"\r\n emptyMessage=\"\"\r\n isInvalid={!!submitCount && errors.city}\r\n onChange={handleCityChange(setValues, values)}\r\n />\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n

Role Options

\r\n
\r\n \r\n
\r\n r.value === values.role\r\n ? { ...r, selected: true }\r\n : r\r\n )}\r\n placeholder=\"Choose Role\"\r\n disabled={isEdit}\r\n onItemSelect={handleChangeRole(setValues, values)}\r\n showAddButton={false}\r\n />\r\n \r\n
\r\n
\r\n {values.role === companyRoles.BrokerDealer && (\r\n <>\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {isEdit && (\r\n
\r\n

\r\n Settlement Agent:\r\n {company?.isClearingBank ? 'Yes' : 'No'}\r\n

\r\n
\r\n )}\r\n \r\n )}\r\n {values.role === companyRoles.Seller && (\r\n
\r\n
\r\n \r\n
\r\n
\r\n )}\r\n {values.role === companyRoles.BrokerDealer && (\r\n \r\n )}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n history.push(pathname)}\r\n shouldBlockNavigation={() => !saved && !isEqual(initialValues, values)}\r\n />\r\n
\r\n )\r\n }}\r\n \r\n
\r\n );\r\n};\r\n","import React from 'react';\r\nimport { useClearRedisCache } from './useClearRedisCache';\r\nimport { useRedisCacheKeys } from './useRedisCacheKeys';\r\nimport { Table } from '../../bidding/common/table';\r\nimport { IColumnDefinition } from '../../bidding/common/table/types/ColumnDefinition';\r\nimport { ColumnBuilder } from '../../bidding/common/table/columns/column-builder/ColumnBuilder';\r\nimport { ManageRedisKeyDetails } from '../../../types/management/ManageRedisKeyDetails';\r\nimport { Preloader, OnHoverTooltip, CopyToClipboard, EmptyPlaceholder } from '../../common';\r\n\r\nimport { isRequestSuccess, isRequestFailed, isRequesting, isRequestNone } from '../../../utils';\r\nimport { StatusMessageSection } from '../../status-message/StatusMessageSection';\r\nimport { StatusMessageSectionType } from '../../../types/state/NotificationState';\r\n\r\n\r\nexport const ManageCleanRedisCache: React.FC = () => {\r\n const { requestState, clearCache } = useClearRedisCache();\r\n const { keys, requestStatus } = useRedisCacheKeys();\r\n\r\n const renderResponseStatus = () => {\r\n if(isRequestSuccess(requestState)) {\r\n return (\r\n \r\n Cache is cleared successfully\r\n \r\n )\r\n }\r\n if(isRequestFailed(requestState)) {\r\n return (\r\n \r\n Failed to clear the cache\r\n \r\n )\r\n }\r\n return ''\r\n }\r\n\r\n const getTableColumns = () => {\r\n const columns: IColumnDefinition[] = [\r\n {\r\n columnKey: 'key',\r\n renderColumnHeaderContent: () => 'Key',\r\n renderColumnContent: entity => (\r\n \r\n {entity.key}\r\n \r\n ),\r\n className: 'data-list-cell-xxxl-flexible'\r\n }, {\r\n columnKey: 'copyTo',\r\n renderColumnHeaderContent: () => '',\r\n renderColumnContent: entity => (\r\n \r\n ),\r\n className: 'data-list-cell-icon'\r\n },\r\n ]\r\n return columns.map(c => new ColumnBuilder(c))\r\n }\r\n\r\n return (\r\n
\r\n
\r\n
\r\n

Storage

\r\n \r\n {renderResponseStatus()}\r\n
\r\n
\r\n \r\n {keys.length ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n
\r\n )\r\n}\r\n","import { useState } from 'react';\r\nimport { RequestState } from '../../../constants/request-state';\r\nimport { manageStorageService } from '../../../services/manage-storage.service';\r\n\r\nexport const useClearRedisCache = () => {\r\n const [requestState, setRequestState] = useState(RequestState.none);\r\n\r\n const clearCache = async () => {\r\n setRequestState(RequestState.request);\r\n try {\r\n await manageStorageService.clearRedisCache();\r\n setRequestState(RequestState.success);\r\n } catch (e) {\r\n setRequestState(RequestState.failure);\r\n }\r\n }\r\n\r\n return {requestState, clearCache}\r\n}\r\n","import { useEffect, useState } from 'react';\r\nimport { RequestState } from '../../../constants/request-state';\r\nimport { manageStorageService } from '../../../services/manage-storage.service';\r\nimport { useDispatch } from 'react-redux';\r\nimport { errorActions } from '../../../actions';\r\nimport { ManageRedisKeyDetails } from '../../../types/management/ManageRedisKeyDetails';\r\n\r\nexport const useRedisCacheKeys = () => {\r\n const dispatch = useDispatch();\r\n const [keys, setRedisCacheKeys] = useState([]);\r\n const [requestStatus, setRequestStatus] = useState(RequestState.none);\r\n\r\n useEffect(() => {\r\n const getRedisCacheKeys = async () => {\r\n try {\r\n setRequestStatus(RequestState.request);\r\n const response = await manageStorageService.getRedisCacheKeys();\r\n setRedisCacheKeys(response);\r\n setRequestStatus(RequestState.success);\r\n } catch (e) {\r\n setRequestStatus(RequestState.failure);\r\n dispatch(errorActions.unexpectedError(e));\r\n }\r\n }\r\n\r\n getRedisCacheKeys();\r\n }, [dispatch])\r\n\r\n return {\r\n keys,\r\n requestStatus\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport cn from 'classnames';\r\nimport MaskedInput from 'react-text-mask';\r\nimport createNumberMask from 'text-mask-addons/dist/createNumberMask';\r\nimport { constants, errorMessages } from '../../../../constants';\r\nimport { SettlementAgentCommissionByRating } from '../../../../types/bid-as-dealer/SettlementAgentCommissionByRating';\r\nimport { Rating, Ratings } from '../../../../types/enums/Rating';\r\nimport { formatUtils, numericUtils } from '../../../../utils';\r\nimport { Table } from '../../../bidding/common/table';\r\nimport { ColumnBuilder } from '../../../bidding/common/table/columns/column-builder/ColumnBuilder';\r\nimport { IColumnDefinition } from '../../../bidding/common/table/types/ColumnDefinition';\r\nimport { FormError } from '../../../controls';\r\nimport { SettlementAgentEditingCommissionByRating } from './SettlementAgentEditingCommissionByRating';\r\nimport { RevertBidButton } from \"../../../common/RevertBidButton\";\r\n\r\nexport type EditErrors = { [rating in Rating]: string; };\r\n\r\ninterface Props {\r\n originalCommission?: SettlementAgentCommissionByRating;\r\n commission: SettlementAgentCommissionByRating | SettlementAgentEditingCommissionByRating;\r\n readonly?: boolean;\r\n disabled?: boolean;\r\n editErrors?: EditErrors;\r\n onChange?: (rating: Rating, commission: string, error: string) => void;\r\n}\r\n\r\nexport function CommissionByRatingTable({\r\n originalCommission,\r\n commission,\r\n readonly = false,\r\n disabled = false,\r\n editErrors = {} as EditErrors,\r\n onChange }: Props) {\r\n\r\n const validate = (value: string) => {\r\n if (!value || !value.trim()) {\r\n return errorMessages.empty;\r\n } else if (!numericUtils.isNumber(value)) {\r\n return errorMessages.invalidValue;\r\n }\r\n\r\n const commission = Number(value);\r\n\r\n if (commission < constants.commissionRange.min || commission > constants.commissionRange.max) {\r\n return errorMessages.shouldBeBetween(\r\n constants.commissionRange.min.toFixed(constants.commissionDecimalPlaces),\r\n constants.commissionRange.max.toFixed(constants.commissionDecimalPlaces)\r\n );\r\n }\r\n\r\n return '';\r\n }\r\n\r\n const renderEditInput = (rating: Rating) => {\r\n const isChanged =\r\n !numericUtils.isNumber(commission[rating]) ||\r\n (originalCommission?.[rating] ?? 0) !== Number(commission[rating]);\r\n\r\n const handleChange = (e: React.ChangeEvent) => {\r\n const error = editErrors[rating] ? validate(e.target.value) : '';\r\n onChange?.(rating, e.target.value, error);\r\n };\r\n\r\n const handleBlur = () => {\r\n const current = String(\r\n commission[rating] === ''\r\n ? originalCommission?.[rating] // Rollback to previous value if empty\r\n : numericUtils.numberOrDefault(commission[rating], originalCommission?.[rating]) // Try parse editing value\r\n );\r\n onChange?.(rating, current, validate(current));\r\n };\r\n\r\n const handleRevert = () => onChange?.(rating, String(originalCommission?.[rating] ?? 0), '');\r\n\r\n return (\r\n <>\r\n
\r\n e.target.select()}\r\n />\r\n \r\n
\r\n { isChanged && }\r\n \r\n );\r\n }\r\n\r\n const definitions: IColumnDefinition[] = [\r\n {\r\n columnKey: \"rating-name\",\r\n renderColumnHeaderContent: () => \"Rating\",\r\n renderColumnContent: (r: Rating) => r,\r\n },\r\n {\r\n columnKey: \"commission\",\r\n renderColumnHeaderContent: () => <>Commission, %{!readonly &&  *},\r\n renderColumnContent: (rating: Rating) => readonly\r\n ? commission[rating]\r\n ? formatUtils.formatDecimal(Number(commission[rating]), constants.commissionDecimalPlaces)\r\n : formatUtils.formatDecimal(constants.settlementAgentDefaultCommission, constants.commissionDecimalPlaces)\r\n : renderEditInput(rating),\r\n className: 'data-list-commission overflow-visible text-right',\r\n }\r\n ];\r\n const columns = definitions.map(d => new ColumnBuilder(d));\r\n\r\n return (\r\n \r\n );\r\n}\r\n","import * as React from 'react';\r\n\r\ninterface Props {\r\n title: string,\r\n children: React.ReactNode\r\n}\r\n\r\nexport function EditMemberSection({ title, children }: Props) {\r\n return (\r\n
\r\n

{title}

\r\n {children}\r\n
\r\n );\r\n}\r\n","import React, { useCallback, useEffect, useMemo } from 'react';\r\nimport { useHistory, useLocation, useParams } from 'react-router';\r\nimport { isEmpty, isEqual, isNaN } from 'lodash';\r\nimport cn from 'classnames';\r\nimport { Form, Formik } from 'formik';\r\nimport moment, { Moment } from 'moment';\r\nimport { Preloader, Relative } from '../../common';\r\nimport { companyRoles, constants, roles, routes, userStatuses } from '../../../constants';\r\nimport { InputField } from '../../forms';\r\nimport { numericUtils } from '../../../utils';\r\nimport { EditMemberSection } from './EditMemberSection';\r\nimport { companiesActions as actions, companiesActions } from '../../../actions';\r\nimport { MultiSelect, MultiSelectDataItem } from '../../controls/MultiSelect';\r\nimport { Breadcrumbs } from '../../controls/breadcrumbs/Breadcrumbs';\r\nimport { BreadcrumbsItem } from '../../controls/breadcrumbs/BreadcrumbsItem';\r\nimport { useSelector } from 'react-redux';\r\nimport { AppState } from '../../../types/state/AppState';\r\nimport { Company } from '../../../types/management/Company';\r\nimport { User } from '../../../types/management/User';\r\nimport { yup } from '../../../validation/yup';\r\nimport { FormError } from '../../controls';\r\nimport { Checkbox } from '../../controls/Checkbox';\r\nimport { useAppDispatch } from '../../../effects/useAppDispatch';\r\nimport { UserDesk, UserDeskLabels } from '../../../types/management/UserDesk';\r\n\r\nconst deskTypes = [\r\n { label: \"-\", value: undefined },\r\n { label: UserDeskLabels[UserDesk.Primary], value: UserDesk.Primary },\r\n { label: UserDeskLabels[UserDesk.Secondary], value: UserDesk.Secondary },\r\n];\r\n\r\ninterface FormValues {\r\n id: number | undefined;\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n jobTitle: string;\r\n phone: string;\r\n companyId: number;\r\n roles: string[];\r\n primaryContact: boolean;\r\n linkedIn?: string;\r\n location?: string;\r\n desk?: UserDesk;\r\n}\r\n\r\nexport const AdminEditUser: React.FC = () => {\r\n const history = useHistory();\r\n const dispatch = useAppDispatch();\r\n const requestParams = useParams<{ userId?: string }>();\r\n const location = useLocation<{ companyId: number }>();\r\n const preselectedCompanyId: number = location?.state?.companyId || 0;\r\n const userId = numericUtils.numberOrDefault(requestParams.userId);\r\n\r\n const companies: Company[] = useSelector((state: AppState) => state.companies.companies);\r\n const initialUser: User = useSelector((state: AppState) => state.companies.editMember.initialUser);\r\n const isSavingUserRequest = useSelector((state: AppState) => state.companies.editMember.savingUserFlag);\r\n const initEditUserPageComplete = useSelector((state: AppState) => state.companies.initEditUserPageComplete);\r\n\r\n useEffect(() => {\r\n dispatch(companiesActions.initCreateEditUser(userId, preselectedCompanyId));\r\n }, [dispatch, userId, preselectedCompanyId]);\r\n\r\n useEffect(() => {\r\n return () => {\r\n dispatch(actions.resetEditMember())\r\n }\r\n }, [dispatch])\r\n\r\n const companiesToSelect = useMemo(() => {\r\n const orderedCompanies = [...companies].sort((a, b) => a.name.localeCompare(b.name));\r\n\r\n if (initialUser?.roles?.some(r => r === roles.CollateralManager)) {\r\n return orderedCompanies.filter(c => c.role === companyRoles.Seller);\r\n }\r\n if (initialUser?.roles?.some(r => r === companyRoles.Media)) {\r\n return orderedCompanies.filter(c => c.role === companyRoles.Media);\r\n }\r\n if (initialUser?.roles?.some(r => r === roles.Viewer)) {\r\n return orderedCompanies;\r\n }\r\n\r\n if (initialUser?.roles?.length) {\r\n return orderedCompanies.filter(c =>\r\n roles.getByCompanyRole(c.role).some(r =>\r\n initialUser.roles.some(userRole => r === userRole))\r\n );\r\n }\r\n\r\n return orderedCompanies;\r\n }, [companies, initialUser]);\r\n\r\n const renderSubscriptionTitle = (planName: string, expires: Moment) => (\r\n

{planName}

\r\n );\r\n\r\n const getMostExpensiveText = () => (\r\n

\r\n The most expensive subscription plan and trial period of 30 days are set by default to the user. You can\r\n change them from the user options dropdown.\r\n

\r\n );\r\n\r\n const renderSubscription = (selectedRoles: string[]) => {\r\n const isSubscriptionExist = userId && initialUser?.subscription && initialUser?.trialPeriodEnd;\r\n const initialRoles = initialUser?.roles ?? [];\r\n const subscriptionDependentSelectedRoles = selectedRoles.filter(r => r !== roles.ArrangersClient);\r\n const isUserRoleChanged = subscriptionDependentSelectedRoles.length !== initialRoles.length || subscriptionDependentSelectedRoles.some(r => !initialRoles.includes(r));\r\n const isBasePlanVisible = subscriptionDependentSelectedRoles.length === 1 && subscriptionDependentSelectedRoles[0] === roles.SellerAdministrator;\r\n const isStandardPlanVisible = selectedRoles.some(role =>\r\n role === roles.BrokerDealerViewer ||\r\n role === roles.SellerViewer ||\r\n role === roles.Viewer ||\r\n role === roles.CollateralManager\r\n ) && !isBasePlanVisible;\r\n const isProPlanVisible = !isStandardPlanVisible && !isBasePlanVisible;\r\n return (\r\n
\r\n {\r\n isSubscriptionExist && !isUserRoleChanged\r\n ? renderSubscriptionTitle(initialUser.subscription, moment(initialUser.trialPeriodEnd))\r\n : (\r\n <>\r\n {isBasePlanVisible && renderSubscriptionTitle('Basic', moment().add(constants.trialPeriodDays, 'd'))}\r\n {isStandardPlanVisible && renderSubscriptionTitle('Standard', moment().add(constants.trialPeriodDays, 'd'))}\r\n {isProPlanVisible && renderSubscriptionTitle('Pro', moment().add(constants.trialPeriodDays, 'd'))}\r\n \r\n )\r\n\r\n }\r\n {getMostExpensiveText()}\r\n
\r\n );\r\n };\r\n\r\n const getSellerOptionDisabledState = (role: string, selectedRoles: string[]) => {\r\n const checkSelectedRoles = (...roles: string[]) => roles.some(r => selectedRoles.includes(r));\r\n const checkSingleRoleSelected = (role: string) => selectedRoles.length === 1 && role === selectedRoles[0];\r\n\r\n switch (role) {\r\n case roles.ArrangersClient:\r\n return (\r\n checkSelectedRoles(\r\n roles.CollateralManager,\r\n roles.SellerTrader,\r\n roles.SellerAdministrator,\r\n roles.SellerViewer\r\n )\r\n )\r\n case roles.CollateralManager:\r\n return (\r\n checkSelectedRoles(roles.ArrangersClient) ||\r\n checkSingleRoleSelected(roles.SellerAdministrator)\r\n\r\n )\r\n case roles.SellerTrader:\r\n return checkSelectedRoles(roles.SellerViewer, roles.ArrangersClient)\r\n case roles.SellerViewer:\r\n return (\r\n checkSelectedRoles(roles.SellerTrader, roles.ArrangersClient)\r\n )\r\n case roles.SellerAdministrator:\r\n return (\r\n checkSelectedRoles(roles.ArrangersClient) ||\r\n checkSingleRoleSelected(roles.CollateralManager)\r\n )\r\n default:\r\n return false;\r\n }\r\n }\r\n\r\n const renderRoleSelect = useCallback((setFieldValue: any, values: any, errorMessage: any) => {\r\n const selectedCompanyId: number = Number(values.companyId);\r\n const selectedRoles: string[] = [...values.roles];\r\n const selectedCompany = companies && companies.find(c => c.id === selectedCompanyId);\r\n if (\r\n selectedCompany?.role === companyRoles.Seller ||\r\n selectedCompany?.role === companyRoles.Administrator ||\r\n selectedCompany?.role === companyRoles.Media) {\r\n let roleItems: MultiSelectDataItem[] = [];\r\n if (selectedCompany.role === companyRoles.Seller) {\r\n roleItems = // Seller roles\r\n roles.getByCompanyRole(companyRoles.Seller)\r\n .filter(r => initialUser.id || r !== roles.ArrangersClient) // Hide ArrangersClient for new user\r\n .map(role => {\r\n\r\n const text = roles.getTitle(role);\r\n const value = role;\r\n const selected = selectedRoles.some(r => r === role);\r\n const disabled = !selected && getSellerOptionDisabledState(role, selectedRoles);\r\n\r\n return {\r\n text,\r\n value,\r\n selected,\r\n disabled\r\n };\r\n })\r\n } else if (selectedCompany?.role === companyRoles.Administrator) {\r\n roleItems = [// Admin roles\r\n {\r\n text: roles.getTitle(roles.Administrator),\r\n value: roles.Administrator,\r\n selected: selectedRoles.some(r => r === roles.Administrator),\r\n disabled: selectedRoles.some(r => r === roles.DataEntry)\r\n }, {\r\n text: roles.getTitle(roles.DataEntry),\r\n value: roles.DataEntry,\r\n selected: selectedRoles.some(r => r === roles.DataEntry),\r\n disabled: selectedRoles.some(r => r === roles.Administrator)\r\n }, {\r\n text: roles.getTitle(roles.SubscriptionManager),\r\n value: roles.SubscriptionManager,\r\n selected: selectedRoles.some(r => r === roles.SubscriptionManager),\r\n }\r\n ];\r\n } else if (selectedCompany?.role === companyRoles.Media) {\r\n roleItems = [{\r\n text: roles.getTitle(roles.Media),\r\n value: roles.Media,\r\n selected: true,\r\n disabled: true\r\n }, {\r\n text: roles.getTitle(roles.Viewer),\r\n value: roles.Viewer,\r\n selected: true,\r\n disabled: true\r\n }]\r\n }\r\n\r\n const sortedRoleItems = roleItems.sort((a, b) => a.text.localeCompare(b.text));\r\n return (\r\n {\r\n let newRoles = [...selectedRoles];\r\n const isOnlyCollatteralManager = newRoles.length === 0 && item.value === roles.CollateralManager;\r\n\r\n if (selected) {\r\n newRoles = isOnlyCollatteralManager ?\r\n [roles.CollateralManager, roles.SellerViewer] :\r\n [...newRoles, String(item.value)]\r\n } else {\r\n newRoles = selectedRoles.filter(r => r !== item.value);\r\n }\r\n\r\n setFieldValue('roles', newRoles)\r\n }}\r\n showAddButton={false}\r\n className={cn({ 'is-invalid': !!errorMessage })}\r\n />\r\n )\r\n }\r\n\r\n return (\r\n setFieldValue('roles', [e.target.value])}\r\n >\r\n {!selectedCompany && }\r\n {selectedCompany && (!selectedRoles.length) && }\r\n {\r\n selectedCompany && roles.getByCompanyRole(selectedCompany.role)\r\n .map(r => )\r\n }\r\n \r\n )\r\n }, [companies, initialUser.id]);\r\n\r\n const renderTitle = (): React.ReactNode => {\r\n if (userId) {\r\n return (\r\n <>\r\n Edit User\r\n \r\n {userStatuses.getByStatusCode(initialUser?.status)?.title}\r\n \r\n \r\n )\r\n }\r\n return <>Create New User\r\n };\r\n\r\n const renderDeskSelect = (\r\n values: FormValues,\r\n setFieldValue: (field: string, value?: UserDesk) => void\r\n ) => {\r\n const isBdSelected = values.roles.some(role => roles.bd().includes(role));\r\n\r\n if(!isBdSelected) {\r\n return null;\r\n }\r\n\r\n return (\r\n
\r\n \r\n {\r\n const { value, name } = e.target;\r\n const formattedValue = +value;\r\n setFieldValue(name, isNaN(formattedValue) ? undefined : formattedValue);\r\n }}\r\n >\r\n {deskTypes.map(d =>\r\n )\r\n }\r\n \r\n
\r\n );\r\n }\r\n\r\n const handleSubmit = (values: FormValues) => {\r\n dispatch(actions.saveMember(values))\r\n };\r\n\r\n const validationSchema = yup.object().shape({\r\n firstName: yup.string().trim().required().matches(constants.name).max(64),\r\n lastName: yup.string().trim().required().matches(constants.name).max(64),\r\n email: yup.string().trim().required().email().max(256),\r\n phone: yup.string().trim().matches(constants.nonWhitespace).max(constants.phoneMaxLength),\r\n jobTitle: yup.string().required().max(256),\r\n companyId: yup.number().transform(value => (value ? value : undefined)).required(),\r\n linkedIn: yup.string().trim().matches(constants.linkedIn).max(2083),\r\n location: yup.string().max(64),\r\n roles: yup.array()\r\n .test(\r\n 'is-not-only-subscription-manager',\r\n 'User role cannot be only Subscription Manager.',\r\n value => !(value && value.length === 1 && value[0] === roles.SubscriptionManager)\r\n )\r\n .test(\r\n 'is-not-only-collateral-manager',\r\n 'User role cannot be only Collateral Manager.',\r\n value => !(value && value.length === 1 && value[0] === roles.CollateralManager)\r\n )\r\n .test(\r\n 'is-not-only-collateral-manager',\r\n 'User role cannot be only Collateral Manager and Seller Admin roles at once.',\r\n value => !(value && value.length === 2 && value.includes(roles.CollateralManager) && value.includes(roles.SellerAdministrator))\r\n )\r\n .of(yup.string()).transform(value => (value.length ? value : undefined)).required(),\r\n });\r\n\r\n const initialFormValues: FormValues = {\r\n id: initialUser.id,\r\n firstName: initialUser.firstName,\r\n lastName: initialUser.lastName,\r\n email: initialUser.email,\r\n jobTitle: initialUser.jobTitle || '',\r\n phone: initialUser.phone || '',\r\n companyId: initialUser.companyId,\r\n roles: initialUser.roles?.length ? initialUser.roles : [],\r\n primaryContact: Boolean(initialUser.primaryContact),\r\n linkedIn: initialUser.linkedIn || '',\r\n location: initialUser.location || '',\r\n desk: initialUser.desk,\r\n };\r\n\r\n if (isEmpty(initialUser)) return \r\n\r\n return (\r\n \r\n {({ errors, touched, setFieldValue, setFieldTouched, values, submitCount, isValid }) => (\r\n \r\n {initEditUserPageComplete && !isSavingUserRequest && (\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n

{renderTitle()}

\r\n
\r\n history.replace(routes.manageCompanyMembers)}\r\n >\r\n Cancel\r\n \r\n \r\n Save\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n {\r\n const { value, name } = e.target;\r\n setFieldValue(name, value);\r\n\r\n const company = companies.find(c => c.id === +value);\r\n const isMedia = company?.role === companyRoles.Media\r\n setFieldValue('roles', isMedia ? [roles.Media, roles.Viewer] : []);\r\n setFieldTouched('roles', isMedia, isMedia);\r\n }}\r\n >\r\n {!userId && }\r\n {companiesToSelect.map(c =>\r\n )\r\n }\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {renderRoleSelect(setFieldValue, values, !!submitCount && touched.roles && errors.roles)}\r\n \r\n \r\n
\r\n
\r\n
\r\n {renderDeskSelect(values, setFieldValue)}\r\n
\r\n setFieldValue('primaryContact', e.target.checked)}\r\n checked={values.primaryContact}\r\n label=\"Primary Company Contact\"\r\n />\r\n
\r\n
\r\n
\r\n
\r\n {\r\n roles.subscriptionChange().some(r => r === values.roles.find(userRole => userRole === r)) &&\r\n \r\n {renderSubscription(values.roles)}\r\n \r\n }\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\nimport moment from 'moment';\r\n\r\nexport const FooterCopyright = () => {\r\n const year = moment().year();\r\n return (\r\n ©{year} The KTX ATS Platform. All Rights Reserved\r\n )\r\n};\r\n","import cn from 'classnames';\r\nimport { Link } from 'react-router-dom';\r\nimport { routes } from '../../constants/routes';\r\nimport { FooterCopyright } from \"./Copyright\";\r\n\r\nexport const Footer = props => {\r\n const footerClasses = cn('footer', {\r\n 'default-footer': props.defaultFooter\r\n });\r\n \r\n return (\r\n
\r\n \r\n \r\n
\r\n )\r\n};\r\n","import React, { Fragment } from 'react';\r\nimport { Link, Switch, Route } from 'react-router-dom';\r\nimport { Support } from '../common';\r\nimport { routes } from '../../constants';\r\nimport { Footer } from \"./Footer\";\r\n\r\nexport const AnonymousLayout = props => {\r\n return (\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n {props.children}\r\n
\r\n\r\n