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,MAAO,CAAEktB,cAJa,SAACvkB,GAAgC,OACrD,EAAA9D,EAAAsF,KAACsnB,EAAA,QATwF,SAAA5yB,GAAA,QAAAC,EAAA,EAAAA,EAAA6B,UAAAC,OAAA9B,IAAA,KAAAC,EAAA,MAAA4B,UAAA7B,GAAA6B,UAAA7B,GAAA,GAAAA,EAAA,EAAAiG,EAAAtF,OAAAV,IAAA,GAAAyG,SAAA,SAAA1G,GAAAF,EAAAC,EAAAC,EAAAC,EAAAD,GAAA,IAAAW,OAAAgG,0BAAAhG,OAAAiG,iBAAA7G,EAAAY,OAAAgG,0BAAA1G,IAAAgG,EAAAtF,OAAAV,IAAAyG,SAAA,SAAA1G,GAAAW,OAAAC,eAAAb,EAAAC,EAAAW,OAAA2F,yBAAArG,EAAAD,GAAA,WAAAD,CAAA,CASlE0G,CAAA,GAAKoD,GAAS,EAIzC,C,4CCdA,WAAgB,OAAS,uB,4CCAzB,WAAiB,C","sources":["webpack://mobicheckin-server/./js/actions/EventActionCreators.js","webpack://mobicheckin-server/./js/components/ColorPicker.react.js","webpack://mobicheckin-server/./js/components/CustomSketchPicker.react.tsx","webpack://mobicheckin-server/./js/components/Filter.react.js","webpack://mobicheckin-server/./js/components/FilterDropdown.react.js","webpack://mobicheckin-server/./js/components/rich_text_editor/DropField.react.js","webpack://mobicheckin-server/./js/components/rich_text_editor/EntityControls.react.js","webpack://mobicheckin-server/./js/components/rich_text_editor/FontSizeSelect.react.js","webpack://mobicheckin-server/./js/components/rich_text_editor/Link.js","webpack://mobicheckin-server/./js/components/rich_text_editor/StyleButton.react.js","webpack://mobicheckin-server/./js/components/rich_text_editor/WhiteText.react.tsx","webpack://mobicheckin-server/./js/components/shared/RichTextEditor.react.js","webpack://mobicheckin-server/./js/utils/rich_text_editor/draftjs-utils/block.js","webpack://mobicheckin-server/./js/utils/rich_text_editor/draftjs-utils/common.js","webpack://mobicheckin-server/./js/utils/rich_text_editor/draftjs-utils/inline.js","webpack://mobicheckin-server/./js/utils/rich_text_editor/findEntities.js","webpack://mobicheckin-server/./js/utils/rich_text_editor/justify/buttonPlugin/AlignTextCenterButton.tsx","webpack://mobicheckin-server/./js/utils/rich_text_editor/justify/buttonPlugin/AlignTextLeftButton.tsx","webpack://mobicheckin-server/./js/utils/rich_text_editor/justify/buttonPlugin/AlignTextRightButton.tsx","webpack://mobicheckin-server/./js/utils/rich_text_editor/justify/buttonPlugin/JustifyTextButton.tsx","webpack://mobicheckin-server/./js/utils/rich_text_editor/justify/buttonPlugin/createTextAlignmentButton.tsx","webpack://mobicheckin-server/./js/utils/rich_text_editor/justify/buttonPlugin/index.ts","webpack://mobicheckin-server/./js/utils/rich_text_editor/justify/textAlignmentPlugin/TextAlignmentComponent.tsx","webpack://mobicheckin-server/./js/utils/rich_text_editor/justify/textAlignmentPlugin/index.tsx","webpack://mobicheckin-server/./js/components/rich_text_editor/buttonsStyles.module.css?521c","webpack://mobicheckin-server/./js/components/rich_text_editor/toolbarStyles.module.css"],"sourcesContent":["import { CALL_API, ActionTypes } from \"../constants/Constants\";\nimport { stringify } from \"querystring\";\n\nmodule.exports = {\n receiveEvent(event) {\n return {\n type: ActionTypes.RECEIVE_EVENT,\n event\n };\n },\n\n fetchEventRequest(event) {\n return {\n type: ActionTypes.FETCH_EVENT_REQUEST,\n event\n };\n },\n\n fetchEvent(eventId, options = {}) {\n const { FETCH_EVENT_REQUEST, FETCH_EVENT_SUCCESS, FETCH_EVENT_FAILURE } = ActionTypes;\n return {\n [CALL_API]: {\n types: [FETCH_EVENT_REQUEST, FETCH_EVENT_SUCCESS, FETCH_EVENT_FAILURE],\n method: \"GET\",\n endpoint: `/api/v1/events/${eventId}.json?${stringify(options)}`\n }\n };\n },\n\n createEvent(eventParams, redirectTo = null, options = {}) {\n const { CREATE_EVENT_REQUEST, CREATE_EVENT_SUCCESS, CREATE_EVENT_FAILURE } = ActionTypes;\n return {\n [CALL_API]: {\n types: [CREATE_EVENT_REQUEST, CREATE_EVENT_SUCCESS, CREATE_EVENT_FAILURE],\n method: \"POST\",\n body: { event: eventParams },\n endpoint: `/api/v1/events.json?${stringify(options)}`,\n redirectTo\n }\n };\n },\n\n updateEvent(eventId, eventParams, redirectTo = null, notificationsOptions = {}, options = {}) {\n const { UPDATE_EVENT_REQUEST, UPDATE_EVENT_SUCCESS, UPDATE_EVENT_FAILURE } = ActionTypes;\n return {\n [CALL_API]: {\n types: [UPDATE_EVENT_REQUEST, UPDATE_EVENT_SUCCESS, UPDATE_EVENT_FAILURE],\n method: \"PUT\",\n body: { event: eventParams },\n endpoint: `/api/v1/events/${eventId}.json?${stringify(options)}`,\n redirectTo,\n notificationsOptions\n }\n };\n },\n\n createFromEvent(accountId, body, redirectTo = null) {\n const { CREATE_FROM_EVENT_REQUEST, CREATE_FROM_EVENT_SUCCESS, CREATE_FROM_EVENT_FAILURE } = ActionTypes;\n\n return {\n [CALL_API]: {\n types: [CREATE_FROM_EVENT_REQUEST, CREATE_FROM_EVENT_SUCCESS, CREATE_FROM_EVENT_FAILURE],\n method: \"POST\",\n body,\n endpoint: `/api/v1/accounts/${accountId}/events/create_from.json`,\n redirectTo\n }\n };\n },\n\n fetchEvents(options = {}) {\n const { FETCH_EVENTS_REQUEST, FETCH_EVENTS_SUCCESS, DEV_NULL } = ActionTypes;\n const { page, perPage, published, accountId, search } = options;\n const params = {};\n if (page && perPage) {\n params[\"page\"] = page;\n params[\"per_page\"] = perPage;\n }\n if (published) params[\"published\"] = published;\n if (accountId) params[\"account_id\"] = accountId;\n if (search) params[\"search\"] = search;\n\n return {\n [CALL_API]: {\n types: [FETCH_EVENTS_REQUEST, FETCH_EVENTS_SUCCESS, DEV_NULL],\n method: \"GET\",\n endpoint: `/api/v1/events.json?${stringify(params)}`\n }\n };\n },\n\n fetchEventsFromUrl(url) {\n const { FETCH_EVENTS_REQUEST, FETCH_EVENTS_SUCCESS, DEV_NULL } = ActionTypes;\n\n return {\n [CALL_API]: {\n types: [FETCH_EVENTS_REQUEST, FETCH_EVENTS_SUCCESS, DEV_NULL],\n method: \"GET\",\n endpoint: url\n },\n concatEvents: true\n };\n },\n\n synchronizeContactsIntoEvent(eventId, params = {}, redirectTo, notificationsOptions = {}) {\n const { DEV_NULL } = ActionTypes;\n return {\n [CALL_API]: {\n types: [DEV_NULL, DEV_NULL, DEV_NULL],\n method: \"POST\",\n body: params,\n endpoint: `/api/v1/events/${eventId}/synchronize_contacts_into_event.json`,\n notificationsOptions,\n redirectTo\n }\n };\n },\n\n fetchLeadsExportCustomEmail(eventId) {\n const { DEV_NULL, FETCH_LEADS_EXPORT_EMAIL_SUCCESS } = ActionTypes;\n return {\n [CALL_API]: {\n types: [DEV_NULL, FETCH_LEADS_EXPORT_EMAIL_SUCCESS, DEV_NULL],\n method: \"GET\",\n endpoint: `/api/v1/events/${eventId}/leads_export_custom_email.json`\n }\n };\n },\n\n fetchVisitRouteDigestEmail(eventId) {\n const { DEV_NULL, FETCH_VISIT_ROUTE_DIGEST_EMAIL_SUCCESS } = ActionTypes;\n return {\n [CALL_API]: {\n types: [DEV_NULL, FETCH_VISIT_ROUTE_DIGEST_EMAIL_SUCCESS, DEV_NULL],\n method: \"GET\",\n endpoint: `/api/v1/events/${eventId}/visit_route_digest_custom_email.json`\n }\n };\n },\n\n fetchVisitRouteExportEmail(eventId) {\n const { DEV_NULL, FETCH_VISIT_ROUTE_EXPORT_EMAIL_SUCCESS } = ActionTypes;\n return {\n [CALL_API]: {\n types: [DEV_NULL, FETCH_VISIT_ROUTE_EXPORT_EMAIL_SUCCESS, DEV_NULL],\n method: \"GET\",\n endpoint: `/api/v1/events/${eventId}/visit_route_export_custom_email.json`\n }\n };\n },\n\n updateVisitRoute(eventId, body, notificationsOptions = {}) {\n const { DEV_NULL, UPDATE_VISIT_ROUTE_SUCCESS } = ActionTypes;\n return {\n [CALL_API]: {\n types: [DEV_NULL, UPDATE_VISIT_ROUTE_SUCCESS, DEV_NULL],\n method: \"PUT\",\n endpoint: `/api/v1/events/${eventId}.json`,\n body,\n notificationsOptions\n }\n };\n },\n\n updateEventLastUsedColors(eventId, newColor) {\n const { DEV_NULL, UPDATE_EVENT_LAST_USED_COLORS_SUCCESS } = ActionTypes;\n return {\n [CALL_API]: {\n types: [DEV_NULL, UPDATE_EVENT_LAST_USED_COLORS_SUCCESS, DEV_NULL],\n method: \"PUT\",\n body: { event: { new_used_color: newColor } },\n endpoint: `/api/v1/events/${eventId}.json`\n }\n };\n },\n\n addOfflineErrors(errors) {\n return {\n type: ActionTypes.EVENT_ADD_OFFLINE_ERRORS,\n errors: errors\n };\n },\n\n clearCustomEmailExport() {\n return {\n type: ActionTypes.CLEAR_LEADS_EXPORT_EMAIL\n };\n }\n};\n","import { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport uniq from \"lodash/uniq\";\nimport { OverlayTrigger, Popover } from \"react-bootstrap\";\nimport { COLORS } from \"../constants/Constants\";\n\nimport { connect } from \"react-redux\";\nimport { updateEventLastUsedColors } from \"../actions/EventActionCreators\";\nimport CustomSketchPicker from \"./CustomSketchPicker.react\";\n\n\nconst colorSquareProperties = {\n height: \"100%\",\n width: \"100%\",\n cursor: \"pointer\",\n position: \"relative\",\n outline: \"none\",\n borderRadius: \"3px\"\n};\n\nclass ColorPicker extends Component {\n constructor(props) {\n super(props);\n [\n \"onColorChange\",\n \"saveLastUsedColor\",\n ].forEach(item => {\n this[item] = this[item].bind(this);\n });\n\n this.state = {\n selectedColor: this.props.selectedColor || this.props.colors[0]\n };\n }\n\n componentDidUpdate(prevProps) {\n const { selectedColor } = this.props;\n if (prevProps.selectedColor !== selectedColor && selectedColor !== this.state.selectedColor) {\n this.setState({ selectedColor });\n }\n }\n\n onColorChange({ hex }) {\n this.setState({\n selectedColor: hex\n });\n this.props.setColor(hex);\n }\n\n saveLastUsedColor() {\n const {\n displayEventLastUsedColors,\n eventId,\n lastUsedColors,\n updateEventLastUsedColors\n } = this.props;\n\n const { selectedColor } = this.state;\n\n if (displayEventLastUsedColors &&\n eventId &&\n lastUsedColors[0] !== selectedColor) {\n updateEventLastUsedColors(eventId, selectedColor);\n }\n }\n\n overlayPlacement() {\n const { placement } = this.props;\n return placement || \"bottom\";\n }\n\n colors() {\n const { colors, event } = this.props;\n const { selectedColor } = this.state;\n let selectableColors = colors;\n\n if (event && event.primary_color && event.secondary_color) {\n selectableColors = [event.primary_color, event.secondary_color, ...selectableColors];\n }\n\n if (selectedColor && !selectableColors.includes(selectedColor))\n selectableColors = [selectedColor, ...selectableColors];\n\n return uniq(selectableColors);\n }\n\n renderPopover() {\n const { selectedColor } = this.state;\n const { lastUsedColors, displayEventLastUsedColors } = this.props;\n\n return (\n \n \n \n );\n }\n\n colorSquare() {\n const { selectedColor } = this.state;\n const { colorSquareClass } = this.props;\n\n return
\n
\n
;\n }\n\n render() {\n const { selectedColor } = this.state;\n const { width, height, children, displayValue, svgClasses, additionalClasses, displayColorSquare, disabled } = this.props;\n\n const style = children ? (\n {}\n ) : (\n { backgroundColor: selectedColor, width, height }\n );\n\n return (\n \n \n \n );\n }\n}\n\nColorPicker.defaultProps = {\n width: \"20px\",\n height: \"20px\",\n colors: COLORS,\n displayValue: false,\n lastUsedColors: [],\n displayEventLastUsedColors: false,\n eventId: null\n};\n\nColorPicker.propTypes = {\n setColor: PropTypes.func,\n width: PropTypes.string,\n height: PropTypes.string,\n colors: PropTypes.arrayOf(PropTypes.string),\n displayValue: PropTypes.bool,\n event: PropTypes.object, // if event is given, primary and secondary color will be directly available in the picker\n lastUsedColors: PropTypes.arrayOf(PropTypes.string),\n eventId: PropTypes.string,\n displayEventLastUsedColors: PropTypes.bool,\n disabled: PropTypes.bool\n};\n\nconst mapStateToProps = (state) => ({\n eventId: state.event._id,\n lastUsedColors: state.event.last_used_colors\n});\n\nconst mapDispatchToProps = {\n updateEventLastUsedColors\n};\n\nconst ConnectedColorPicker = connect(\n mapStateToProps,\n mapDispatchToProps\n)(ColorPicker);\n\nexport default (props) => {\n if (!props.displayEventLastUsedColors) {\n return ;\n }\n return ;\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport reactCSS from \"reactcss\";\nimport merge from \"lodash/merge\";\n\nimport { ColorWrap, Saturation, Hue, Alpha, Checkboard } from \"react-color/lib/components/common\";\nimport SketchFields from \"react-color/lib/components/sketch/SketchFields\";\nimport SketchPresetColors from \"react-color/lib/components/sketch/SketchPresetColors\";\n\nimport { SketchPickerProps } from \"react-color\";\nimport { getLumaFromColor } from \"../utils/rich_text_editor/draftjs-utils/common\";\n\nconst DEFAULT_PRESET_COLORS = [\n \"#D0021B\",\n \"#F5A623\",\n \"#F8E71C\",\n \"#8B572A\",\n \"#7ED321\",\n \"#417505\",\n \"#BD10E0\",\n \"#9013FE\",\n \"#4A90E2\",\n \"#50E3C2\",\n \"#B8E986\",\n \"#000000\",\n \"#4A4A4A\",\n \"#9B9B9B\",\n \"#FFFFFF\"\n];\n\nconst CustomSketchPicker: React.FC = ({ width, rgb, hex, hsv, hsl, onChange, onSwatchHover,\n disableAlpha, presetColors, renderers, styles: passedStyles = {}, className = \"\", lastUsedColors, displayEventLastUsedColors }) => {\n\n const sortedLastUsedColors = [...lastUsedColors].sort((a, b) => {\n return getLumaFromColor(b) - getLumaFromColor(a);\n });\n\n const styles = reactCSS(merge({\n \"default\": {\n picker: {\n width,\n padding: \"10px 10px 0\",\n boxSizing: \"initial\",\n background: \"#fff\",\n borderRadius: \"4px\",\n boxShadow: \"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)\",\n },\n saturation: {\n width: \"100%\",\n paddingBottom: \"75%\",\n position: \"relative\",\n overflow: \"hidden\",\n },\n Saturation: {\n radius: \"3px\",\n shadow: \"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\",\n },\n controls: {\n display: \"flex\",\n },\n sliders: {\n padding: \"4px 0\",\n flex: \"1\",\n },\n color: {\n width: \"24px\",\n height: \"24px\",\n position: \"relative\",\n marginTop: \"4px\",\n marginLeft: \"4px\",\n borderRadius: \"3px\",\n },\n activeColor: {\n absolute: \"0px 0px 0px 0px\",\n borderRadius: \"2px\",\n background: `rgba(${ rgb.r },${ rgb.g },${ rgb.b },${ rgb.a })`,\n boxShadow: \"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\",\n },\n hue: {\n position: \"relative\",\n height: \"10px\",\n overflow: \"hidden\",\n },\n Hue: {\n radius: \"2px\",\n shadow: \"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\",\n },\n\n alpha: {\n position: \"relative\",\n height: \"10px\",\n marginTop: \"4px\",\n overflow: \"hidden\",\n },\n Alpha: {\n radius: \"2px\",\n shadow: \"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\",\n },\n ...passedStyles,\n },\n \"disableAlpha\": {\n color: {\n height: \"10px\",\n },\n hue: {\n height: \"10px\",\n },\n alpha: {\n display: \"none\",\n },\n },\n }, passedStyles), { disableAlpha });\n\n return (\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n\n \n {I18n.t(\"react.color_picker.palette\")}\n \n {displayEventLastUsedColors && (\n <>\n {I18n.t(\"react.color_picker.recent_colors\")}\n \n \n )}\n
\n );\n};\n\nCustomSketchPicker.propTypes = {\n disableAlpha: PropTypes.bool,\n width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n styles: PropTypes.object,\n lastUsedColors: PropTypes.arrayOf(PropTypes.string),\n displayEventLastUsedColors: PropTypes.bool\n};\n\nCustomSketchPicker.defaultProps = {\n disableAlpha: false,\n width: 200,\n styles: {},\n presetColors: DEFAULT_PRESET_COLORS,\n lastUsedColors: [],\n displayEventLastUsedColors: false\n};\n\nexport default ColorWrap(CustomSketchPicker);\n","\"use strict\";\nimport { Component, Fragment } from \"react\";\nimport PropTypes from \"prop-types\";\nimport compact from \"lodash/compact\";\nimport includes from \"lodash/includes\";\nimport map from \"lodash/map\";\nimport pull from \"lodash/pull\";\nimport orderBy from \"lodash/orderBy\";\nimport { UI_COLORS } from \"../constants/Constants\";\n\nconst DEFAULT_ITEM_COLOR = \"#666\";\n\nclass Filter extends Component {\n constructor(props) {\n super(props);\n [\n \"triggerItemSelection\",\n \"selectAll\",\n \"clear\",\n \"onInputChange\",\n \"toggleFolder\",\n ].forEach(item => {\n this[item] = this[item].bind(this);\n });\n\n this.state = {\n openedFolders: {}\n };\n }\n\n componentDidMount() {\n const { folders, openFirstItemFolder } = this.props;\n if (!folders || folders.length === 0) return;\n if (openFirstItemFolder) return this.openFirstFolderAndSelectFirstItem();\n\n this.openSelectedItemFolder();\n }\n\n openSelectedItemFolder() {\n const { items, selectedItemIds } = this.props;\n const selectedItems = items.filter(item => selectedItemIds.includes(item._id));\n const openedFolders = {};\n selectedItems.forEach(item => {\n openedFolders[item.folder_id] = true;\n });\n this.setState({ openedFolders });\n }\n\n openFirstFolderAndSelectFirstItem() {\n const { items, folders, onChange, itemNameKey } = this.props;\n const firstFolder = folders[0];\n const itemsInFirstFolder = items.filter(item => item.folder_id === firstFolder._id);\n\n if (!itemsInFirstFolder || itemsInFirstFolder.length === 0) return;\n\n const sortedItemsInFirstFolder = orderBy(itemsInFirstFolder, [item => item[itemNameKey].toLowerCase()], [\"asc\"]);\n const firstItemInFirstFolder = sortedItemsInFirstFolder[0];\n\n this.setState(prevState => ({\n openedFolders: {\n ...prevState.openedFolders,\n [firstFolder._id]: true\n }\n }));\n\n onChange({ selectedItemIds: [firstItemInFirstFolder._id] });\n }\n\n triggerItemSelection(itemId) {\n const { multipleSelect, allowUnselect, selectedItemIds, intermediateItemIds, closeParent, onChange } = this.props;\n let newSelectedItemIds = selectedItemIds.slice();\n let newInterdiamediateIds = intermediateItemIds.slice();\n const addOrRemove = (array, id) => {\n if (array.includes(id)) {\n pull(array, id);\n } else {\n array.push(id);\n }\n };\n\n if (multipleSelect) {\n addOrRemove(newSelectedItemIds, itemId);\n } else if (allowUnselect && newSelectedItemIds.includes(itemId)) {\n newSelectedItemIds = [];\n } else {\n newSelectedItemIds = [itemId];\n }\n if (newInterdiamediateIds.includes(itemId)) {\n pull(newInterdiamediateIds, itemId);\n pull(newSelectedItemIds, itemId);\n }\n onChange({ selectedItemIds: newSelectedItemIds, intermediateItemIds: newInterdiamediateIds });\n if (!multipleSelect && closeParent) {\n closeParent();\n }\n }\n\n selectAll() {\n const { itemIdKey, onChange, items } = this.props;\n const selectedItemIds = map(items, itemIdKey);\n onChange({ selectedItemIds });\n }\n\n onInputChange(e) {\n const { items, folders, onChange } = this.props;\n const searchValue = e.target.value.toLowerCase();\n\n onChange({ searchValue });\n\n if (!folders || folders.length === 0) return;\n\n const matchingItems = items.filter(item =>\n item.name.toLowerCase().includes(searchValue)\n );\n\n const matchingFolderIds = matchingItems.map(item => item.folder_id).filter(Boolean);\n\n const updatedOpenedFolders = folders.reduce((acc, folder) => {\n acc[folder._id] = matchingFolderIds.includes(folder._id);\n return acc;\n }, {});\n this.setState({ openedFolders: updatedOpenedFolders });\n }\n\n clear() {\n this.props.onChange({ selectedItemIds: [], intermediateItemIds: [] });\n }\n\n renderSearchBar() {\n const { hasSearch, translationKey } = this.props;\n const placeholder = translationKey ? I18n.t(`react.reports.${translationKey}.filter_placeholder`) : I18n.t(\"react.reports.filter\");\n return hasSearch ? (\n
\n \n
\n ) : \"\";\n }\n\n renderCreateBar() {\n const { hasCreate, onCreate, searchValue } = this.props;\n if (!hasCreate || !onCreate || !searchValue || searchValue.length === 0) return null;\n\n return ;\n }\n\n renderClearOrSelectButton() {\n const { hasSelectAll, searchValue, selectedItemIds } = this.props;\n if (searchValue && searchValue.length > 0) {\n return null;\n }\n return hasSelectAll ? (\n (selectedItemIds.length == 0) ? (\n
\n
\n
\n
\n {I18n.t(\"react.reports.select_all\")}\n
\n
\n
\n ) : (\n
\n
\n
\n
\n {I18n.t(\"react.reports.clear\")}\n
\n
\n
\n )\n ) : \"\";\n }\n\n renderOptions() {\n const { items, folders, itemNameKey } = this.props;\n\n if (!items) return;\n\n const foldersWithItems = {};\n (folders || []).forEach(folder => {\n foldersWithItems[folder._id] = { ...folder, items: [] };\n });\n\n const sortedItems = orderBy(items, [item => item[itemNameKey].toLowerCase()], [\"asc\"]);\n sortedItems.forEach(item => {\n if (item.folder_id && foldersWithItems[item.folder_id]) {\n foldersWithItems[item.folder_id].items.push(item);\n }\n });\n\n const itemsWithNoFolder = sortedItems.filter(item => !item.folder_id);\n\n return (\n <>\n {Object.values(foldersWithItems).map(folder => (\n \n {this.renderFolder(folder)}\n {this.renderFolderContent(folder)}\n \n ))}\n\n {itemsWithNoFolder.length > 0 && this.listItems(itemsWithNoFolder, false)}\n \n );\n }\n\n renderFolder(folder) {\n const { searchValue, itemNameKey } = this.props;\n const { openedFolders } = this.state;\n const isOpen = openedFolders[folder._id];\n if (searchValue && searchValue.length > 0 && !this.hasMatchingItem(folder.items, itemNameKey, searchValue)) {\n return null;\n }\n\n return (\n
this.toggleFolder(folder._id)}>\n
\n \n \n \n {folder.name}\n \n
\n
\n );\n }\n\n hasMatchingItem(items, itemNameKey, searchValue) {\n return items.some(item => includes(item[itemNameKey].toLowerCase(), searchValue.toLowerCase()));\n }\n\n renderFolderContent(folder) {\n const { openedFolders } = this.state;\n if (!openedFolders[folder._id]) return null;\n\n const { sortItems } = this.props;\n if (folder.items.length > 0) {\n const sortedItems = sortItems ? orderBy(folder.items, [item => item.name.toLowerCase()], [\"asc\"]) : [...folder.items];\n return this.listItems(sortedItems, true);\n } else {\n return
{I18n.t(\"react.filter.no_item\")}
;\n }\n }\n\n toggleFolder(folderId) {\n this.setState(prevState => ({\n openedFolders: {\n ...prevState.openedFolders,\n [folderId]: !prevState.openedFolders[folderId]\n }\n }));\n }\n\n listItems(sortedItems, isUnderFolder = false) {\n const { multipleSelect, itemIdKey, itemNameKey, itemColorKey, itemIconKey, searchValue,\n selectedItemIds, intermediateItemIds, baseKey, actionButtons, additionalInfo, roundUpTheTopOfFirstOption } = this.props;\n const colorKey = itemColorKey;\n const folderContentIndentation = isUnderFolder ? { paddingLeft: \"50px\" } : {};\n\n return compact(sortedItems.map((item, index) => {\n let beforeName = \"\";\n let afterName = \"\";\n let selected = false;\n let buttonsAction = null;\n if (searchValue && searchValue.length > 0 && !includes(item[itemNameKey].toLowerCase(), searchValue.toLowerCase())) {\n return null;\n }\n let fontColor = \"\";\n const labelColor = item[colorKey] || DEFAULT_ITEM_COLOR;\n let backgroundColorStyle = {};\n if (includes(selectedItemIds, item[itemIdKey])) {\n beforeName = ;\n selected = true;\n buttonsAction = actionButtons && actionButtons(item);\n } else if (includes(intermediateItemIds, item[itemIdKey])) {\n beforeName = (\n \n );\n selected = true;\n }\n if (selected) {\n afterName = multipleSelect ? : \"\";\n fontColor = UI_COLORS.brand700;\n backgroundColorStyle = { backgroundColor: UI_COLORS.brand50 };\n }\n\n let color = \"\";\n if (labelColor != DEFAULT_ITEM_COLOR) {\n color = ;\n }\n\n let icon = \"\";\n if (item[itemIconKey]) {\n icon = ;\n }\n if (index === 0 && roundUpTheTopOfFirstOption) {\n backgroundColorStyle = { ...backgroundColorStyle, borderTopLeftRadius: \"5px\", borderTopRightRadius: \"5px\", borderTopWidth: \"0px\" };\n }\n\n return (\n
\n
\n
\n {beforeName} \n
\n
\n \n {color} {icon} {item[itemNameKey]} {additionalInfo && additionalInfo(item)}\n \n
\n\n {multipleSelect && {afterName}}\n\n {buttonsAction}\n
\n
\n );\n }));\n }\n\n render() {\n const { maxHeight, translationKey } = this.props;\n const styles = maxHeight ? { maxHeight, overflow: \"auto\" } : {};\n return (\n
\n {this.renderSearchBar()}\n {this.renderCreateBar()}\n
\n { this.renderClearOrSelectButton() }\n { this.renderOptions() }\n
\n
\n );\n }\n}\n\nexport default Filter;\nexport { Filter }; // pure component. Used in tests\n\nFilter.propTypes = {\n multipleSelect: PropTypes.bool.isRequired,\n selectedItemIds: PropTypes.arrayOf(PropTypes.string).isRequired,\n intermediateItemIds: PropTypes.arrayOf(PropTypes.string),\n itemIdKey: PropTypes.string,\n itemColorKey: PropTypes.string,\n itemIconKey: PropTypes.string,\n searchValue: PropTypes.string,\n items: PropTypes.arrayOf(PropTypes.object),\n sortItems: PropTypes.bool,\n onChange: PropTypes.func.isRequired,\n closeParent: PropTypes.func,\n baseKey: PropTypes.string,\n roundUpTheTopOfFirstOption: PropTypes.bool,\n};\n\nFilter.defaultProps = {\n multipleSelect: true,\n selectedItemIds: [],\n intermediateItemIds: [],\n searchValue: \"\",\n itemIdKey: \"id\",\n itemNameKey: \"name\",\n itemColorKey: \"color\",\n itemIconKey: \"icon\",\n items: [],\n sortItems: true,\n onChange: null,\n closeParent: null,\n allowUnselect: false,\n hasSearch: false,\n hasCreate: false,\n onCreate: null,\n hasSelectAll: false,\n baseKey: \"\",\n maxHeight: null,\n roundUpTheTopOfFirstOption: false,\n};\n","\"use strict\";\nimport { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { OverlayTrigger, Popover } from \"react-bootstrap\";\nimport includes from \"lodash/includes\";\nimport pull from \"lodash/pull\";\nimport isEqual from \"lodash/isEqual\";\nimport isEmpty from \"lodash/isEmpty\";\nimport truncate from \"truncate\";\nimport Filter from \"../components/Filter.react\";\n\nconst DEFAULT_ITEM_COLOR = \"#777\";\nconst FILTER_WINDOW_BORDER_MARGIN = 20;\n\nclass FilterDropdown extends Component {\n constructor(props) {\n super(props);\n [\n \"_deleteItem\",\n \"_onInputChange\",\n \"_sortItems\",\n \"_onEnter\",\n \"_onExited\",\n \"_close\",\n \"_onPageSubmit\",\n \"onUpdateState\",\n \"onToggle\",\n ].forEach(item => {\n this[item] = this[item].bind(this);\n });\n const { selectedItemIds, intermediateItemIds, filterMaxHeight } = props;\n this.state = {\n selectedItemIds,\n intermediateItemIds,\n searchValue: null,\n placement: \"bottom\",\n filterMaxHeight: filterMaxHeight,\n displayList: false,\n };\n }\n\n componentDidUpdate(prevProps) {\n const { selectedItemIds } = this.props;\n const { displayList } = this.state;\n\n if (selectedItemIds && prevProps.selectedItemIds && !isEqual(selectedItemIds, prevProps.selectedItemIds)) {\n this.setState({ selectedItemIds: selectedItemIds });\n }\n if (!prevProps.submitLaunched && this.props.submitLaunched) {\n this._onPageSubmit();\n }\n\n if (displayList) {\n this.handleFilterPlacement();\n this.handleFilterHeight();\n }\n }\n\n handleFilterPlacement() {\n const { translationKey, filterMinHeight } = this.props;\n const { placement } = this.state;\n\n const filterBtnOffsetTop = document.getElementById(translationKey).getBoundingClientRect().top || 0;\n\n if (filterBtnOffsetTop + filterMinHeight < window.innerHeight * 0.7) {\n if (placement != \"bottom\") this.setState({ placement: \"bottom\" });\n } else {\n if (placement != \"top\") this.setState({ placement: \"top\" });\n }\n }\n\n handleFilterHeight() {\n const { translationKey, filterMinHeight } = this.props;\n const { filterMaxHeight } = this.state;\n\n const popover = document.getElementById(`${translationKey}-popover`);\n const filterBtnOffsetTop = document.getElementById(translationKey).getBoundingClientRect().top || 0;\n const filterPanelHeight = this.calcNewHeightForFilterPanel(filterBtnOffsetTop, popover);\n const filterPanelNewHeight = filterPanelHeight < 400 ? filterPanelHeight : 400;\n\n if (filterPanelNewHeight > filterMinHeight && filterPanelNewHeight != parseFloat(filterMaxHeight)) {\n this.setState({ filterMaxHeight: `${filterPanelNewHeight}px` });\n }\n }\n\n calcNewHeightForFilterPanel(filterBtnOffsetTop, popover) {\n const { translationKey, filterMinHeight } = this.props;\n\n const popoverBtnHeight = document.getElementById(translationKey).clientHeight;\n const filterCardHeight = document.getElementById(`${translationKey}-filter-card`).clientHeight;\n const popoverHeaderHeight = popover.clientHeight - filterCardHeight;\n\n // if popover placement on top\n let newPopoverHeight = filterBtnOffsetTop - popoverHeaderHeight;\n\n // if popover placement on bottom\n if (filterBtnOffsetTop + filterMinHeight < window.innerHeight * 0.7) {\n newPopoverHeight = window.innerHeight - popoverBtnHeight - filterBtnOffsetTop - popoverHeaderHeight;\n }\n\n return newPopoverHeight - FILTER_WINDOW_BORDER_MARGIN;\n }\n\n _onPageSubmit() {\n this._onExited();\n }\n\n _deleteItem(e) {\n const { selectedItemIds } = this.state;\n const { value } = e.target.attributes.value;\n pull(selectedItemIds, value);\n this.setState({ selectedItemIds });\n this.props.onChange(selectedItemIds);\n }\n\n _close() {\n this.setState({ displayList: false });\n }\n\n _onEnter() {\n this._sortItems();\n this.setState({ searchValue: null });\n const { onFocus } = this.props;\n onFocus();\n }\n\n _onExited() {\n const { selectedItemIds } = this.state;\n const { onBlur, onChange } = this.props;\n onChange(selectedItemIds);\n this.setState({ searchValue: null });\n onBlur();\n }\n\n _itemCell(id) {\n const { items, itemIdKey, itemNameKey, itemColorKey } = this.props;\n const idKey = itemIdKey || \"id\";\n const colorKey = itemColorKey || \"color\";\n\n const item = items.find(item => {\n return item[idKey] == id;\n });\n if (!item) {\n return;\n }\n let cellStyle = {\n backgroundColor: item[colorKey] || DEFAULT_ITEM_COLOR\n };\n return (\n
  • \n \n {truncate(item[itemNameKey], 24)}\n
    \n \n
    \n
    \n
  • \n );\n }\n\n _itemCellsGroup(itemIds) {\n if (itemIds.length === 0) return null;\n\n const itemCells = itemIds.map(id => {\n return this._itemCell(id);\n });\n return (\n
      \n {itemCells}\n
    \n );\n }\n\n _onInputChange(e) {\n this.setState({ searchValue: e.target.value });\n }\n\n _sortItems() {\n const { selectedItemIds } = this.state;\n const { items, sortItems, selectedFirst, itemIdKey, itemNameKey } = this.props;\n const idKey = itemIdKey || \"id\";\n\n if (sortItems || selectedFirst) {\n items.sort((a, b) => {\n if (selectedFirst) {\n if (includes(selectedItemIds, a[idKey]) && !includes(selectedItemIds, b[idKey])) {\n return -1;\n } else if (!includes(selectedItemIds, a[idKey]) && includes(selectedItemIds, b[idKey])) {\n return 1;\n }\n }\n if (sortItems) {\n return (a[itemNameKey].toLowerCase() < b[itemNameKey].toLowerCase() ? -1 : 1);\n }\n return 0;\n });\n }\n }\n\n onUpdateState(stateValue) {\n const { onChange, liveChange } = this.props;\n if (liveChange && onChange) onChange(stateValue.selectedItemIds);\n this.setState(stateValue);\n }\n\n _renderOptions() {\n const { searchValue, selectedItemIds, intermediateItemIds, filterMaxHeight } = this.state;\n const { translationKey } = this.props;\n\n return (\n \n
    \n
    \n
    \n { I18n.t(`react.reports.${translationKey}.filter_popover_title`) }\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n );\n }\n\n onToggle(value) {\n this.setState({ displayList: value });\n }\n\n render() {\n const { translationKey, showCells, children, title, additionalClasses, wrapperClasses, popoverAdditionalClasses, showBadgeNbItems, disabled, onClick, id, fromBadgeBuilder } = this.props;\n const { selectedItemIds, placement, displayList } = this.state;\n const cellsGroup = showCells == false ? \"\" : this._itemCellsGroup(selectedItemIds);\n const badgeNbItems = showBadgeNbItems && selectedItemIds.length > 0 ? (\n { selectedItemIds.length }\n ) : null;\n\n const popoverToggle = isEmpty(children) ? (\n
    \n
    \n {title || I18n.t(`react.reports.${translationKey}.filter_title`)} { badgeNbItems } \n
    \n
    \n ) : children;\n\n if (disabled) return {popoverToggle} ;\n\n return (\n
    \n \n {popoverToggle}\n \n {cellsGroup}\n
    \n );\n }\n}\n\nexport default FilterDropdown;\n\nFilterDropdown.propTypes = {\n showBadgeNbItems: PropTypes.bool,\n disabled: PropTypes.bool,\n sortItems: PropTypes.bool.isRequired,\n selectedFirst: PropTypes.bool.isRequired,\n multipleSelect: PropTypes.bool.isRequired,\n hasSearch: PropTypes.bool.isRequired,\n hasSelectAll: PropTypes.bool.isRequired,\n showCells: PropTypes.bool.isRequired,\n nbItemsDisplay: PropTypes.bool.isRequired,\n selectedItemIds: PropTypes.arrayOf(PropTypes.string).isRequired,\n intermediateItemIds: PropTypes.arrayOf(PropTypes.string),\n items: PropTypes.arrayOf(PropTypes.object).isRequired,\n onClick: PropTypes.func,\n onChange: PropTypes.func.isRequired,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n liveChange: PropTypes.bool,\n itemIdKey: PropTypes.string,\n itemNameKey: PropTypes.string\n};\n\nFilterDropdown.defaultProps = {\n showBadgeNbItems: false,\n disabled: false,\n sortItems: true,\n showCells: true,\n nbItemsDisplay: false,\n selectedFirst: true,\n multipleSelect: true,\n hasSearch: true,\n hasSelectAll: true,\n selectedItemIds: [],\n intermediateItemIds: [],\n items: [],\n itemNameKey: \"name\",\n onClick: null,\n onChange: () => {},\n title: undefined,\n allowUnselect: false,\n onFocus: () => {},\n onBlur: () => {},\n liveChange: false,\n filterMinHeight: 120, // minimum decent height for filter panel\n filterMaxHeight: null // maximum height for filter panel depending on overflow with browser window\n};\n","import { Component } from \"react\";\n\nclass DropField extends Component {\n render() {\n const { children, className } = this.props;\n\n return (\n \n {children}\n \n );\n }\n}\n\nexport default DropField;","import { Component } from \"react\";\nimport classNames from \"classnames\";\nimport { ButtonGroup } from \"react-bootstrap\";\nimport StyleButton from \"./StyleButton.react\";\n\nclass EntityControls extends Component {\n render() {\n const { entityControls, editorState, additionalClasses, svgClasses } = this.props;\n const currentStyle = editorState.getCurrentInlineStyle();\n const btnGroupClasses = classNames({\n \"RichEditor-controls\": true,\n [additionalClasses]: true\n });\n\n return (\n \n {entityControls.map(type =>\n \n )}\n \n );\n }\n}\n\nexport default EntityControls;","import { Component } from \"react\";\nimport { Dropdown } from \"react-bootstrap\";\n\nclass FontSizeSelect extends Component {\n constructor() {\n super();\n [\"onSelectHandler\"].forEach (item => {\n this[item] = this[item].bind(this);\n });\n }\n\n onSelectHandler(value) {\n return () => {\n this.props.onSelect(value);\n };\n }\n\n renderOptions() {\n const { selectedValue } = this.props;\n return this.props.values.map(value => {\n return {value};\n });\n }\n\n render() {\n const { additionalClasses, svgClasses, selectedValue } = this.props;\n\n return (\n \n \n {selectedValue}\n \n \n \n { this.renderOptions() }\n \n \n );\n }\n}\n\nexport default FontSizeSelect;\n","import { Component } from \"react\";\nimport { Entity } from \"draft-js\";\n\nclass Link extends Component {\n render() {\n const { href } = Entity.get(this.props.entityKey).getData();\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nexport default Link;","import { Component } from \"react\";\nimport { Button } from \"react-bootstrap\";\n\nclass StyleButton extends Component {\n constructor() {\n super();\n this.onToggle = (e) => {\n e.preventDefault();\n this.props.onToggle(this.props.style);\n };\n }\n\n render() {\n const { icon, label, active, svgClasses } = this.props;\n const iconNode = icon ? () : label;\n\n return (\n \n );\n }\n}\n\nexport default StyleButton;\n","import { UI_COLORS } from \"../../constants/Constants.js\";\n\ninterface Props {\n children: JSX.Element;\n}\n\nconst WhiteText: React.FC = (props) => {\n\n return (\n {props.children}\n );\n};\n\nexport default WhiteText;\n","import { Component } from \"react\";\nimport {\n ContentState,\n convertFromRaw,\n convertToRaw,\n EditorState,\n Entity,\n Modifier,\n RichUtils\n} from \"draft-js\";\nimport DraftPasteProcessor from \"draft-js/lib/DraftPasteProcessor\";\nimport findEntities from \"../../utils/rich_text_editor/findEntities\";\nimport DropField from \"../rich_text_editor/DropField.react\";\nimport Link from \"../rich_text_editor/Link\";\nimport FontSizeSelect from \"../rich_text_editor/FontSizeSelect.react\";\nimport EntityControls from \"../rich_text_editor/EntityControls.react\";\nimport ColorPicker from \"../../components/ColorPicker.react\";\nimport FilterDropdown from \"../FilterDropdown.react\";\nimport { Button, ButtonGroup } from \"react-bootstrap\";\n\nimport { stateToHTML } from \"draft-js-export-html\"; //https://github.com/sstur/draft-js-utils/tree/master/packages/draft-js-export-html\nimport Editor from \"@draft-js-plugins/editor\"; //https://www.draft-js-plugins.com/\nimport createStaticToolbarPlugin from \"@draft-js-plugins/static-toolbar\";\nimport buttonStyles from \"../../components/rich_text_editor/buttonsStyles.module.css\";\nimport toolbarStyles from \"../../components/rich_text_editor/toolbarStyles.module.css\";\nimport createTextAlignmentPlugin from \"../../utils/rich_text_editor/justify/textAlignmentPlugin/index\";\nimport {\n ItalicButton,\n BoldButton,\n UnderlineButton,\n CodeButton,\n HeadlineOneButton,\n HeadlineTwoButton,\n HeadlineThreeButton,\n UnorderedListButton,\n OrderedListButton,\n BlockquoteButton,\n} from \"@draft-js-plugins/buttons\";\nimport StyleButton from \"../rich_text_editor/StyleButton.react\";\nimport { getSelectionCustomInlineStyle, getStyleAtOffset } from \"../../utils/rich_text_editor/draftjs-utils/inline\";\nimport { getLumaFromColor } from \"../../utils/rich_text_editor/draftjs-utils/common\";\nimport WhiteText from \"../../components/rich_text_editor/WhiteText.react\";\nimport { UI_COLORS } from \"../../constants/Constants\";\nimport { getColorAtOffsetOrDefault } from \"../../utils/rich_text_editor/draftjs-utils/inline\";\nimport TextGeneratorButton from \"../../text_generator/TextGeneratorButton.react\";\nimport reduce from \"lodash/reduce\";\n\n// Custom styles displayed\nconst styleMap = {\n CODE: {\n backgroundColor: \"rgba(0, 0, 0, 0.05)\",\n fontFamily: \"'Inconsolata', 'Menlo', 'Consolas', 'monospace'\",\n padding: 2\n }\n};\n\nconst fontColorDynamicStyle = {\n prefix: \"fontColor\",\n cssTag: \"color\",\n jsxCssTag: \"color\"\n};\n\nconst fontSizeDynamicStyle = {\n prefix: \"fontSize\",\n cssTag: \"font-size\",\n jsxCssTag: \"fontSize\"\n};\n\nconst RTE_FONT_SIZES = [8, 9, 10, 11, 12, 14, 16, 18, 24, 30, 36, 48, 60, 72, 96];\n\nconst dynamicStyles = [fontColorDynamicStyle, fontSizeDynamicStyle];\n\nconst DROP_FIELD_REGEX = /<<([\\w. _]+)>>/g;\nexport const DEFAULT_FONT_COLOR = UI_COLORS.grey700;\n\n\nconst customDecorators = [\n {\n strategy: guestFieldTagStrategy,\n component: DropField\n },\n {\n strategy: findEntities.bind(null, \"LINK\"),\n component: Link\n },\n {\n strategy: whiteCharacterStrategy,\n component: WhiteText\n }\n];\n\nfunction findWithRegex(regex, contentBlock, callback) {\n const text = contentBlock.getText();\n let matchArr, start;\n while ((matchArr = regex.exec(text)) !== null) {\n start = matchArr.index;\n callback(start, start + matchArr[0].length);\n }\n}\n\nfunction guestFieldTagStrategy(contentBlock, callback) {\n findWithRegex(DROP_FIELD_REGEX, contentBlock, callback);\n}\n\nfunction whiteCharacterStrategy(contentBlock, callback) {\n const characterList = contentBlock.getCharacterList();\n characterList.forEach((char, offset) => {\n const colorStyleAtOffset = getStyleAtOffset(contentBlock, \"fontColor\", offset);\n if (colorStyleAtOffset === undefined) { return; }\n\n const colorAtOffset = colorStyleAtOffset.replace(\"fontColor\", \"\");\n const luma = getLumaFromColor(colorAtOffset);\n if (luma > 150) { callback(offset, offset + 1); }\n });\n}\n\nclass RichTextEditor extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n editorState: null,\n styleMap,\n dynamicStyleMap: {}\n };\n\n this.toggleInlineStyle = (style) => this._toggleInlineStyle(style);\n this.dynamicInlineTagMap = {};\n this.getBlockStyle = (block) => this._getBlockStyle(block);\n this.onChange = this.onChange.bind(this);\n this.addLink = this._addLink.bind(this);\n this.removeLink = this._removeLink.bind(this);\n this.sendHtmlToParent = this.sendHtmlToParent.bind(this);\n this.setFonSizeStyle = this.setFonSizeStyle.bind(this);\n this.setColorStyle = this.setColorStyle.bind(this);\n this.injectDynamicExclusiveInlineStyle = this.injectDynamicExclusiveInlineStyle.bind(this);\n this.registerDynamicStyle = this.registerDynamicStyle.bind(this);\n this.addDropField = this._addDropField.bind(this);\n this.updateWithProps = this.updateWithProps.bind(this);\n this.clearInlineStyles = this.clearInlineStyles.bind(this);\n this.setDomEditorRef = ref => this.domEditor = ref;\n this.handleKeyCommand = (command) => this._handleKeyCommand(command);\n this.onTextInjection = this.onTextInjection.bind(this);\n this.renderAiAssistantButton = this.renderAiAssistantButton.bind(this);\n this.ENTITY_CONTROLS = [\n { label: \"Add Link\", action: this.addLink, icon: \"fa-regular fa-link\" },\n { label: \"Remove Link\", action: this.removeLink, icon: \"fa-regular fa-chain-broken\" }\n ];\n\n const textAlignmentPlugin = createTextAlignmentPlugin();\n const staticToolbarPlugin = createStaticToolbarPlugin({\n theme: { buttonStyles, toolbarStyles }, //toolbarStyles.module.css is empty but needed for theme initialization.\n });\n this.PluginComponents = {\n Toolbar: staticToolbarPlugin.Toolbar,\n textAlignmentPlugin: textAlignmentPlugin\n\n };\n this.plugins = [staticToolbarPlugin, textAlignmentPlugin];\n }\n\n _toggleInlineStyle(inlineStyle) {\n this.onChange(\n RichUtils.toggleInlineStyle(\n this.state.editorState,\n inlineStyle\n )\n );\n }\n\n updateWithProps(props) {\n if (this.state.editorState) return;\n const { processHTML } = DraftPasteProcessor;\n const { content, draftjsContent } = props;\n let editorState = EditorState.createEmpty();\n let contentState = null;\n if (draftjsContent && Object.keys(draftjsContent).length > 0) {\n contentState = convertFromRaw(draftjsContent);\n } else {\n let htmlToProcess = content || \"\";\n htmlToProcess = htmlToProcess.replace(DROP_FIELD_REGEX, \"<<$1>>\");\n // Upgrading DraftJs from 0.10.1 to 0.11.7 doesn't allow to do contentState.hasText() in the below render() function.\n //if contentState is created from empty BlockArray\n // ContentState has to be creating from empty text now\n const processedHtml = processHTML(htmlToProcess);\n contentState = processedHtml.contentBlocks.length === 0 ? ContentState.createFromText(\"\") : ContentState.createFromBlockArray(processedHtml);\n }\n if (contentState) {\n editorState = EditorState.push(editorState, contentState);\n this.setState({ editorState });\n //build dynamic inline style map according to what's found\n\n const dynamicStylesToRegister = [];\n this.allInlineStyleUsed(editorState).forEach(style => {\n const dynamicStyle = dynamicStyles.find(ds => style.startsWith(ds.prefix));\n if (dynamicStyle) {\n dynamicStylesToRegister.push({\n dynamicStyle,\n value: style.split(dynamicStyle.prefix)[1]\n });\n }\n });\n this.registerDynamicStyle(...dynamicStylesToRegister);\n }\n }\n\n componentDidMount() {\n this.updateWithProps(this.props);\n }\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n this.updateWithProps(nextProps);\n }\n\n allInlineStyleUsed(editorState) {\n let existingStyles = [];\n convertToRaw(editorState.getCurrentContent()).blocks.forEach(block => {\n existingStyles = existingStyles.concat(block.inlineStyleRanges.map(styleRange => styleRange.style));\n });\n return existingStyles;\n }\n\n _addDropField(text) {\n if (text instanceof Array && text.length == 0) return;\n const { editorState } = this.state;\n const currentContent = editorState.getCurrentContent();\n const entityKey = Entity.create(\"DROP_FIELD\", \"IMMUTABLE\", { text });\n const currentSelectionState = editorState.getSelection();\n const startKey = currentSelectionState.getStartKey();\n const startOffset = currentSelectionState.getStartOffset();\n const block = currentContent.getBlockForKey(startKey);\n const inlineStyles = block.getInlineStyleAt(startOffset);\n\n let dropFieldReplacedContent = Modifier.insertText(\n currentContent,\n currentSelectionState,\n `<<${text}>>`,\n inlineStyles,\n entityKey\n );\n\n // A space is appended right after for a smooth writing experience.\n dropFieldReplacedContent = Modifier.insertText(\n dropFieldReplacedContent,\n dropFieldReplacedContent.getSelectionAfter(),\n \" \",\n inlineStyles\n );\n\n let newEditorState = EditorState.push(\n editorState,\n dropFieldReplacedContent,\n \"insert-drop-field\"\n );\n newEditorState = EditorState.forceSelection(newEditorState, dropFieldReplacedContent.getSelectionAfter());\n this.onChange(newEditorState);\n }\n\n setFonSizeStyle(size) {\n this.injectDynamicExclusiveInlineStyle(fontSizeDynamicStyle, `${size}px`);\n }\n\n setColorStyle(color) {\n this.injectDynamicExclusiveInlineStyle(fontColorDynamicStyle, color);\n }\n\n injectDynamicExclusiveInlineStyle(dynamicStyle, value) {\n const { editorState } = this.state;\n const { prefix } = dynamicStyle;\n const inlineStyle = `${prefix}${value}`;\n\n // inject new style in the dynamic style map\n this.registerDynamicStyle({\n dynamicStyle,\n value\n });\n\n const selection = editorState.getSelection();\n\n let nextContentState = editorState.getCurrentContent();\n\n const stylesToRemove = this.allInlineStyleUsed(editorState).filter(style => style.startsWith(prefix));\n\n // remove all previously set fontSize style on the current selection\n stylesToRemove.forEach(style => {\n nextContentState = Modifier.removeInlineStyle(nextContentState, selection, style);\n });\n\n let nextEditorState = EditorState.push(\n editorState,\n nextContentState,\n \"change-inline-style\"\n );\n\n // push the new style\n nextEditorState = RichUtils.toggleInlineStyle(\n nextEditorState,\n inlineStyle\n );\n\n this.onChange(nextEditorState);\n }\n\n // expecting opts to be { dynamicStyle, value }\n registerDynamicStyle(...opts) {\n let nextDynamicStyleMap = Object.assign({}, this.state.dynamicStyleMap);\n opts.forEach(opt => {\n const { dynamicStyle, value } = opt;\n const inlineStyle = `${dynamicStyle.prefix}${value}`;\n nextDynamicStyleMap = Object.assign({}, nextDynamicStyleMap, { [inlineStyle]: { [dynamicStyle.jsxCssTag]: value } });\n this.dynamicInlineTagMap = Object.assign({}, this.dynamicInlineTagMap, { [inlineStyle]: [``, \"\"] });\n });\n\n this.setState({\n dynamicStyleMap: nextDynamicStyleMap\n });\n }\n\n blockStyleObject(block) {\n const textAlign = this.getBlockAlignment(block);\n const type = block.getType();\n\n const colorAtOffset = getColorAtOffsetOrDefault(block, 0);\n if (type === \"ordered-list-item\" || type === \"unordered-list-item\") {\n return {\n style: { textAlign: textAlign, color: colorAtOffset },\n };\n }\n if (typeof textAlign === \"string\" && textAlign.length === 0) return;\n if (textAlign) {\n return {\n element: \"span\",\n style: { textAlign: textAlign },\n };\n }\n }\n\n inlineStyleObject(styles) {\n let colorKey = \"fontColor\";\n let sizeKey = \"fontSize\";\n let color = styles.filter((value) => value.startsWith(colorKey)).first();\n let size = styles.filter((value) => value.startsWith(sizeKey)).first();\n let styleElements = {\n element: \"span\",\n style: {}\n };\n if (color) { styleElements.style.color = color.replace(colorKey, \"\"); }\n if (size) { styleElements.style.fontSize = size.replace(sizeKey, \"\"); }\n return styleElements;\n }\n\n entityStyleObject(entity) {\n const entityType = entity.get(\"type\").toLowerCase();\n if (entityType === \"link\") {\n const data = entity.getData();\n return {\n element: \"a\",\n attributes: {\n href: data.url,\n target: \"_blank\",\n rel: \"noopener noreferrer\"\n }\n };\n }\n }\n\n sendHtmlToParent() {\n const { editorState } = this.state;\n const { onBlur } = this.props;\n const raw = convertToRaw(editorState.getCurrentContent());\n\n let options = {\n blockStyleFn: (block) => { return this.blockStyleObject(block); },\n inlineStyleFn: (styles) => { return this.inlineStyleObject(styles); },\n entityStyleFn: (entity) => { return this.entityStyleObject(entity); },\n defaultBlockTag: \"div\"\n };\n\n let html = this.cleanStateToHTML(editorState.getCurrentContent(), options);\n onBlur(html, raw);\n }\n\n cleanStateToHTML(content, options) {\n //stateToHTML keep \"\\n\" in html string after line break character : https://github.com/sstur/draft-js-utils/blob/85b9d7e4181202adb99a22ea410922694c3347f8/packages/draft-js-export-html/src/stateToHTML.js#L499\n //this \"\\n\" will be replace by \"\\r\\n\" if html is used in a FormData here js/components/shared/AccesspointForm.react.js:152\n //this will double
    when converting into HTML, we need to remove it.\n return stateToHTML(content, options).replaceAll(\"\\n\", \"\");\n }\n\n onChange(editorState) {\n this.setState({ editorState }, () => {\n clearTimeout(this.timeoutID);\n this.timeoutID = setTimeout(() => {\n this.sendHtmlToParent();\n }, 800);\n });\n }\n\n _addLink() {\n const { editorState } = this.state;\n const selection = editorState.getSelection();\n if (selection.isCollapsed()) return;\n const url = window.prompt(I18n.t(\"react.rich_text_editor.enter_url\"));\n if (url === null) return;\n const entityKey = Entity.create(\"LINK\", \"MUTABLE\", { url });\n this.onChange(RichUtils.toggleLink(editorState, selection, entityKey));\n }\n\n _removeLink() {\n const { editorState } = this.state;\n const selection = editorState.getSelection();\n if (selection.isCollapsed()) return;\n this.onChange(RichUtils.toggleLink(editorState, selection, null));\n }\n\n _getBlockStyle(block) {\n if (block.getType() == \"blockquote\") return \"RichEditor-blockquote\";\n let alignment = this.getBlockAlignment(block);\n if (block.getType() === \"ordered-list-item\" || block.getType() === \"unordered-list-item\") {\n this.appendCssClassToDomHead(block);\n return `color-for-${block.getKey()}`;\n }\n if (!block.getText()) {\n const previousBlock = this.state.editorState.getCurrentContent().getBlockBefore(block.getKey());\n if (previousBlock) alignment = this.getBlockAlignment(previousBlock);\n }\n return `alignment--${alignment.toLowerCase()}`;\n }\n\n getBlockAlignment(block) {\n let style = \"left\";\n block.findStyleRanges(function(e) {\n // Website created with old editor send \"CENTER\" alignment property, so we need to check for both \"center\" and \"CENTER\" property in html. Same thing for left and right ...\n if (e.hasStyle(\"center\") || e.hasStyle(\"CENTER\")) style = \"center\";\n if (e.hasStyle(\"right\") || e.hasStyle(\"RIGHT\")) style = \"right\";\n if (e.hasStyle(\"justify\") || e.hasStyle(\"JUSTIFY\")) style = \"justify\";\n });\n return style;\n }\n\n appendCssClassToDomHead(block) {\n const colorAtOffset = getColorAtOffsetOrDefault(block, 0);\n const cssClass = `.color-for-${block.getKey()} { color: ${colorAtOffset}; }`;\n const head = document.head || document.getElementsByTagName(\"head\")[0];\n const style = document.createElement(\"style\");\n\n head.appendChild(style);\n style.appendChild(document.createTextNode(cssClass));\n }\n\n dropFieldsDropDown() {\n const { dropFields, baseKey } = this.props;\n if (!dropFields || dropFields.length == 0) { return; }\n return \n
    \n \n
    \n
    ;\n }\n\n toolbarSizeClass() {\n return `btn-group-${this.toolbarSize()}`;\n }\n\n toolbarSize() {\n const { toolbarSize } = this.props;\n switch (toolbarSize) {\n case \"large\": {\n return \"lg\";\n }\n case \"small\": {\n return \"sm\";\n }\n case \"extra-small\": {\n return \"xs\";\n }\n default:\n return \"\";\n }\n }\n\n buttonStyles(externalProps) {\n return {\n buttonWrapper: `${this.toolbarSizeClass()} btn-group`,\n button: `RichEditor-styleButton btn btn-secondary rte-${this.toolbarSize()}-svg custom-rte-btn`,\n active: externalProps.theme.active\n };\n }\n\n clearInlineStyles() {\n const { editorState } = this.state;\n const selection = editorState.getSelection();\n const contentWithoutStyles = reduce(this.allInlineStyleUsed(editorState), (newContentState, style) => (\n // Remove all color/font/bold/italic/... styles (inline styles)\n Modifier.removeInlineStyle(\n newContentState,\n selection,\n style\n )\n ), editorState.getCurrentContent());\n\n let newEditorState = EditorState.push(\n editorState,\n contentWithoutStyles,\n \"remove-style\"\n );\n\n newEditorState = RichUtils.toggleBlockType(newEditorState, \"unstyled\"); // Replace all ul/h1/... by p (block styles)\n newEditorState = RichUtils.toggleLink(newEditorState, selection, null); // Remove links\n this.onChange(newEditorState);\n }\n\n _handleKeyCommand(command) {\n const { editorState } = this.state;\n const newState = RichUtils.handleKeyCommand(editorState, command);\n if (newState) {\n this.onChange(newState);\n return true;\n }\n return false;\n }\n\n rubber() {\n return \n \n ;\n }\n\n isAutoTranslatedButton() {\n const { isAutoTranslated } = this.props;\n if (!isAutoTranslated) return null;\n\n return \n \n ;\n }\n\n renderAiAssistantButton() {\n const { aiModalSize, context, textGeneratorPrePromptKey } = this.props;\n if (context === \"website\") return null;\n\n return (\n \n );\n }\n\n currentSelectedFontSize() {\n const { editorState } = this.state;\n const selectionCustomInlineStyle = getSelectionCustomInlineStyle(editorState, [\"fontSize\"]);\n\n if (selectionCustomInlineStyle.fontSize) return selectionCustomInlineStyle.fontSize.match(/\\d+/)[0];\n return \"16\";\n }\n\n currentSelectedFontColor() {\n const { editorState } = this.state;\n const selectionCustomInlineStyle = getSelectionCustomInlineStyle(editorState, [\"fontColor\"]);\n\n if (selectionCustomInlineStyle[\"fontColor\"]) {\n return selectionCustomInlineStyle.fontColor.replace(\"fontColor\", \"\");\n }\n return DEFAULT_FONT_COLOR;\n }\n\n onTextInjection(generatedText) {\n const { editorState } = this.state;\n const currentContent = editorState.getCurrentContent();\n const selection = editorState.getSelection();\n const entityKey = Entity.create(\"MENTION\", \"IMMUTABLE\", {});\n const textWithEntity = Modifier.insertText(currentContent, selection, generatedText, null, entityKey);\n const newEditorState = EditorState.push(editorState, textWithEntity, \"insert-characters\");\n this.onChange(newEditorState);\n }\n\n render() {\n const { editorState, styleMap, dynamicStyleMap } = this.state;\n const { Toolbar, textAlignmentPlugin } = this.PluginComponents;\n const { isDisabled } = this.props;\n\n if (!editorState) return
    ;\n\n // If the user changes block type before entering any text, we can\n // either style the placeholder or hide it. Let's just hide it now.\n let className = \"RichEditor-editor\";\n var contentState = editorState.getCurrentContent();\n if (!contentState.hasText()) {\n if (contentState.getBlockMap().first().getType() !== \"unstyled\") {\n className += \" RichEditor-hidePlaceholder\";\n }\n }\n if (isDisabled) {\n className += \" RichEditor-disabled\";\n }\n\n // For some reasons (react mechanisms), the Toolbar must be rendered after the Editor\n // So we just use css to inverse the display order and have the toolbar above\n // https://github.com/draft-js-plugins/draft-js-plugins/issues/1369#issuecomment-746169201\n return (\n
    \n
    \n \n
    \n {!isDisabled && (\n \n {\n (externalProps) => (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n { this.dropFieldsDropDown() }\n { this.rubber() }\n { this.isAutoTranslatedButton() }\n \n { this.renderAiAssistantButton() }\n \n
    \n )\n }\n
    \n )}\n
    \n );\n }\n}\n\nexport default RichTextEditor;\n","/**\n * Function returns collection of currently selected blocks.\n */\nexport function getSelectedBlocksMap(editorState) {\n const selectionState = editorState.getSelection();\n const contentState = editorState.getCurrentContent();\n const startKey = selectionState.getStartKey();\n const endKey = selectionState.getEndKey();\n const blockMap = contentState.getBlockMap();\n return blockMap\n .toSeq()\n .skipUntil((_, k) => k === startKey)\n .takeUntil((_, k) => k === endKey)\n .concat([[endKey, blockMap.get(endKey)]]);\n}\n\n/**\n * Function returns collection of currently selected blocks.\n */\nexport function getSelectedBlocksList(editorState) {\n return getSelectedBlocksMap(editorState).toList();\n}\n","export function getLumaFromColor(color) {\n const c = color.substring(1);\n const rgb = parseInt(c, 16);\n const r = (rgb >> 16) & 0xff;\n const g = (rgb >> 8) & 0xff;\n const b = (rgb >> 0) & 0xff;\n\n return 0.2126 * r + 0.7152 * g + 0.0722 * b;\n}\n","import { getSelectedBlocksList } from \"./block\";\n\n/**\n * Function returns style at a offset.\n */\nexport function getStyleAtOffset(block, stylePrefix, offset) {\n const styles = block.getInlineStyleAt(offset).toList();\n const style = styles.filter(s => s.startsWith(stylePrefix));\n if (style && style.size > 0) {\n return style.get(0);\n }\n return undefined;\n}\n\n/**\n * Function returns color at a offset or default RTE color if no style defined at offset\n */\nexport function getColorAtOffsetOrDefault(block, offset) {\n const colorStyleAtOffset = getStyleAtOffset(block, \"fontColor\", offset);\n return colorStyleAtOffset === undefined ? \"\" : colorStyleAtOffset.replace(\"fontColor\", \"\");\n}\n\n/**\n * Function returns size at a offset.\n */\nfunction getCurrentInlineStyle(editorState, stylePrefix) {\n const styles = editorState.getCurrentInlineStyle().toList();\n const style = styles.filter(s => s.startsWith(stylePrefix));\n if (style && style.size > 0) {\n return style.get(0);\n }\n return undefined;\n}\n\n/**\n * Function returns an object of custom inline styles currently applicable.\n */\nexport function getSelectionCustomInlineStyle(editorState, styles) {\n if (editorState && styles && styles.length > 0) {\n const currentSelection = editorState.getSelection();\n const inlineStyles = {};\n if (currentSelection.isCollapsed()) {\n styles.forEach(s => {\n inlineStyles[s] = getCurrentInlineStyle(editorState, s);\n });\n return inlineStyles;\n }\n const start = currentSelection.getStartOffset();\n const end = currentSelection.getEndOffset();\n const selectedBlocks = getSelectedBlocksList(editorState);\n if (selectedBlocks.size > 0) {\n for (let i = 0; i < selectedBlocks.size; i += 1) {\n let blockStart = i === 0 ? start : 0;\n let blockEnd = i === selectedBlocks.size - 1 ? end : selectedBlocks.get(i).getText().length;\n if (blockStart === blockEnd && blockStart === 0) {\n blockStart = 1;\n blockEnd = 2;\n } else if (blockStart === blockEnd) {\n blockStart -= 1;\n }\n for (let j = blockStart; j < blockEnd; j += 1) {\n if (j === blockStart) {\n styles.forEach(s => {\n inlineStyles[s] = getStyleAtOffset(selectedBlocks.get(i), s, j);\n });\n } else {\n styles.forEach(s => {\n if (inlineStyles[s] && inlineStyles[s] !== getStyleAtOffset(selectedBlocks.get(i), s, j)) {\n inlineStyles[s] = undefined;\n }\n });\n }\n }\n }\n return inlineStyles;\n }\n }\n return {};\n}\n","import { Entity } from \"draft-js\";\n\nexport default function findEntities(entityType, contentBlock, callback) {\n return contentBlock.findEntityRanges(\n (character) => {\n const entityKey = character.getEntity();\n return (\n entityKey !== null &&\n Entity.get(entityKey).getType() === entityType\n );\n },\n callback\n );\n}\n","import createTextAlignmentButton from \"./createTextAlignmentButton\";\n\nexport default createTextAlignmentButton({\n alignment: \"center\",\n children: (\n \n \n \n \n ),\n});\n","import createTextAlignmentButton from \"./createTextAlignmentButton\";\n\nexport default createTextAlignmentButton({\n alignment: \"left\",\n children: (\n \n \n \n \n ),\n});\n","import createTextAlignmentButton from \"./createTextAlignmentButton\";\n\nexport default createTextAlignmentButton({\n alignment: \"right\",\n children: (\n \n \n \n \n ),\n});\n","import createTextAlignmentButton from \"./createTextAlignmentButton\";\n\nexport default createTextAlignmentButton({\n alignment: \"justify\",\n children: (\n \n \n \n \n ),\n});\n","/* eslint-disable react/no-children-prop */\nimport clsx from \"clsx\";\nimport { EditorState, Modifier } from \"draft-js\";\nimport { MouseEvent, ReactNode } from \"react\";\nimport { DraftJsStyleButtonType } from \"./index\";\n\ninterface CreateTextAlignmentButtonProp {\n alignment: string;\n children: ReactNode;\n}\n\nexport default function createTextAlignmentButton({\n alignment,\n children,\n}: CreateTextAlignmentButtonProp): any {\n return function InlineStyleButton(props) {\n const toggleStyle = (event: MouseEvent): DraftJsStyleButtonType => {\n if (!props.getEditorState) return;\n event.preventDefault();\n const alignmentStyles = [\"left\", \"center\", \"right\", \"justify\"];\n const removeStyles = alignmentStyles.filter(\n (style) => style !== alignment\n );\n const currentEditorState = props.getEditorState();\n const currentContent = props.getEditorState().getCurrentContent();\n const selection = props.getEditorState().getSelection();\n const focusBlock = currentContent.getBlockForKey(selection.getFocusKey());\n const anchorBlock = currentContent.getBlockForKey(\n selection.getAnchorKey()\n );\n const selectionIsBackward = selection.getIsBackward();\n\n let changes = {\n anchorOffset: 0,\n focusOffset: focusBlock.getLength(),\n };\n\n if (selectionIsBackward) {\n changes = {\n focusOffset: 0,\n anchorOffset: anchorBlock.getLength(),\n };\n }\n const selectWholeBlocks = selection.merge(changes);\n const modifiedContent = Modifier.applyInlineStyle(\n currentContent,\n selectWholeBlocks,\n alignment\n );\n const finalContent = removeStyles.reduce(\n (content, style) =>\n Modifier.removeInlineStyle(content, selectWholeBlocks, style),\n modifiedContent\n );\n const nextEditorState = EditorState.push(\n currentEditorState,\n finalContent,\n \"change-inline-style\"\n );\n props.setEditorState(nextEditorState);\n };\n\n const preventBubblingUp = (event: MouseEvent): void => {\n event.preventDefault();\n };\n\n const styleIsActive = (): boolean =>\n props.getEditorState &&\n props.getEditorState().getCurrentInlineStyle().has(alignment);\n\n const { theme, buttonProps = {} } = props;\n const className = styleIsActive()\n ? clsx(theme.button, theme.active)\n : theme.button;\n\n return (\n
    \n \n
    \n );\n };\n}\n","import { EditorState } from \"draft-js\";\nimport { ButtonHTMLAttributes, ComponentType } from \"react\";\nimport AlignTextRightButton from \"./AlignTextRightButton\";\nimport AlignTextCenterButton from \"./AlignTextCenterButton\";\nimport AlignTextLeftButton from \"./AlignTextLeftButton\";\nimport JustifyTextButton from \"./JustifyTextButton\";\nimport createTextAlignmentButton from \"./createTextAlignmentButton\";\n\nexport interface DraftJsButtonTheme {\n // CSS classes to apply\n active?: string;\n button?: string;\n buttonWrapper?: string;\n}\n\nexport interface DraftJsButtonProps {\n theme: DraftJsButtonTheme;\n buttonProps?: ButtonHTMLAttributes;\n}\n\nexport interface DraftJsBlockAlignmentButtonProps extends DraftJsButtonProps {\n alignment: string | null;\n setAlignment(val: { alignment: string }): void;\n}\nexport interface DraftJsStyleButtonProps extends DraftJsButtonProps {\n setEditorState(editorState: EditorState): void;\n getEditorState(): EditorState;\n}\n\nexport type DraftJsBlockAlignmentButtonType =\n ComponentType;\nexport type DraftJsStyleButtonType = ComponentType;\n\nexport {\n createTextAlignmentButton,\n AlignTextRightButton,\n AlignTextCenterButton,\n AlignTextLeftButton,\n JustifyTextButton,\n};\n","/* eslint-disable react/no-array-index-key */\nimport {\n AlignTextLeftButton,\n AlignTextCenterButton,\n AlignTextRightButton,\n JustifyTextButton,\n DraftJsButtonTheme,\n} from \"../buttonPlugin/index\";\nimport { EditorState } from \"draft-js\";\nimport { ReactElement } from \"react\";\n\nexport interface AlignmentPluginsPubParams {\n theme: DraftJsButtonTheme;\n getEditorState: () => EditorState;\n setEditorState: (editorState: EditorState) => void;\n}\n\nexport default function Alignment(\n props: AlignmentPluginsPubParams\n): ReactElement {\n return (\n <>\n \n \n \n \n \n );\n}\n","import { EditorPlugin } from \"@draft-js-plugins/editor\";\nimport { ComponentType, ReactElement } from \"react\";\nimport TextAlignmentComponent, { AlignmentPluginsPubParams } from \"./TextAlignmentComponent\";\n\nexport type TextAlignmentPlugin = EditorPlugin & {\n TextAlignment: ComponentType;\n};\n\nexport default (): TextAlignmentPlugin => {\n\n const TextAlignment = (props: AlignmentPluginsPubParams): ReactElement => (\n \n );\n\n return { TextAlignment };\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"active\":\"ftYw5UXQ1tlwTRJn1p_w\"};","// extracted by mini-css-extract-plugin\nexport default {};"],"names":["_Constants","require","_querystring","_defineProperty","e","r","t","i","Symbol","toPrimitive","call","TypeError","String","Number","_toPrimitive","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","module","exports","receiveEvent","event","type","ActionTypes","RECEIVE_EVENT","fetchEventRequest","FETCH_EVENT_REQUEST","fetchEvent","eventId","options","arguments","length","undefined","FETCH_EVENT_SUCCESS","FETCH_EVENT_FAILURE","CALL_API","types","method","endpoint","concat","stringify","createEvent","eventParams","redirectTo","CREATE_EVENT_REQUEST","CREATE_EVENT_SUCCESS","CREATE_EVENT_FAILURE","body","updateEvent","notificationsOptions","UPDATE_EVENT_REQUEST","UPDATE_EVENT_SUCCESS","UPDATE_EVENT_FAILURE","createFromEvent","accountId","CREATE_FROM_EVENT_REQUEST","CREATE_FROM_EVENT_SUCCESS","CREATE_FROM_EVENT_FAILURE","fetchEvents","FETCH_EVENTS_REQUEST","FETCH_EVENTS_SUCCESS","DEV_NULL","page","perPage","published","search","params","fetchEventsFromUrl","url","_ref6","synchronizeContactsIntoEvent","fetchLeadsExportCustomEmail","FETCH_LEADS_EXPORT_EMAIL_SUCCESS","fetchVisitRouteDigestEmail","FETCH_VISIT_ROUTE_DIGEST_EMAIL_SUCCESS","fetchVisitRouteExportEmail","FETCH_VISIT_ROUTE_EXPORT_EMAIL_SUCCESS","updateVisitRoute","UPDATE_VISIT_ROUTE_SUCCESS","updateEventLastUsedColors","newColor","UPDATE_EVENT_LAST_USED_COLORS_SUCCESS","new_used_color","addOfflineErrors","errors","EVENT_ADD_OFFLINE_ERRORS","clearCustomEmailExport","CLEAR_LEADS_EXPORT_EMAIL","_react","_propTypes","_interopRequireDefault","_uniq","_reactBootstrap","_reactRedux","_EventActionCreators","_CustomSketchPicker","_jsxRuntime","__esModule","ownKeys","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","push","apply","_objectSpread","forEach","getOwnPropertyDescriptors","defineProperties","_toConsumableArray","Array","isArray","_arrayLikeToArray","_arrayWithoutHoles","iterator","from","_iterableToArray","a","toString","slice","constructor","name","test","_unsupportedIterableToArray","_nonIterableSpread","n","_defineProperties","key","_setPrototypeOf","setPrototypeOf","bind","__proto__","_createSuper","_isNativeReflectConstruct","_getPrototypeOf","s","Reflect","construct","_assertThisInitialized","_possibleConstructorReturn","ReferenceError","Boolean","prototype","valueOf","getPrototypeOf","colorSquareProperties","height","width","cursor","position","outline","borderRadius","ColorPicker","_Component","create","_inherits","_super","props","_this","_classCallCheck","item","state","selectedColor","colors","prevProps","this","setState","_ref","hex","setColor","_this$props","displayEventLastUsedColors","lastUsedColors","placement","_this$props2","selectableColors","primary_color","secondary_color","includes","uniq","_this$props3","jsx","Popover","id","children","disableAlpha","color","presetColors","onChangeComplete","onColorChange","colorSquareClass","className","style","background","_this$props4","displayValue","svgClasses","additionalClasses","displayColorSquare","disabled","backgroundColor","OverlayTrigger","trigger","rootClose","overlayPlacement","overlay","renderPopover","onExit","saveLastUsedColor","jsxs","colorSquare","Component","defaultProps","COLORS","propTypes","PropTypes","func","string","arrayOf","bool","object","mapDispatchToProps","ConnectedColorPicker","connect","_id","last_used_colors","_reactcss","_merge","_common","_SketchFields","_SketchPresetColors","_common2","CustomSketchPicker","rgb","hsv","hsl","onChange","onSwatchHover","renderers","_ref$styles","styles","passedStyles","_ref$className","sortedLastUsedColors","sort","b","getLumaFromColor","reactCSS","merge","picker","padding","boxSizing","boxShadow","saturation","paddingBottom","overflow","Saturation","radius","shadow","controls","display","sliders","flex","marginTop","marginLeft","activeColor","absolute","g","hue","Hue","alpha","Alpha","Checkboard","I18n","onClick","Fragment","oneOfType","number","_default","ColorWrap","_compact","_includes","_map","_pull","_orderBy","DEFAULT_ITEM_COLOR","Filter","openedFolders","folders","openFirstItemFolder","openFirstFolderAndSelectFirstItem","openSelectedItemFolder","items","selectedItemIds","selectedItems","folder_id","itemNameKey","firstFolder","itemsInFirstFolder","firstItemInFirstFolder","orderBy","toLowerCase","prevState","itemId","array","multipleSelect","allowUnselect","intermediateItemIds","closeParent","newSelectedItemIds","newInterdiamediateIds","pull","_this$props5","itemIdKey","map","_this$props6","searchValue","target","matchingFolderIds","updatedOpenedFolders","reduce","acc","folder","_this$props7","hasSearch","translationKey","placeholder","onInputChange","_this$props8","hasCreate","onCreate","paddingLeft","textAlign","_this$props9","hasSelectAll","selectAll","clear","_this2","_this$props10","foldersWithItems","sortedItems","itemsWithNoFolder","values","renderFolder","renderFolderContent","listItems","_this3","_this$props11","isOpen","hasMatchingItem","toggleFolder","some","sortItems","folderId","_this4","isUnderFolder","_this$props12","itemColorKey","itemIconKey","baseKey","actionButtons","additionalInfo","roundUpTheTopOfFirstOption","colorKey","folderContentIndentation","compact","index","beforeName","afterName","selected","buttonsAction","fontColor","labelColor","backgroundColorStyle","xmlns","x1","x2","y1","y2","stroke","fill","strokeWidth","UI_COLORS","brand700","brand50","marginRight","icon","borderTopLeftRadius","borderTopRightRadius","borderTopWidth","triggerItemSelection","_this$props13","maxHeight","renderSearchBar","renderCreateBar","renderClearOrSelectButton","renderOptions","isRequired","_isEqual","_isEmpty","_truncate","_Filter","FilterDropdown","filterMaxHeight","displayList","isEqual","submitLaunched","_onPageSubmit","handleFilterPlacement","handleFilterHeight","filterMinHeight","document","getElementById","getBoundingClientRect","top","window","innerHeight","popover","filterBtnOffsetTop","filterPanelHeight","calcNewHeightForFilterPanel","filterPanelNewHeight","parseFloat","popoverBtnHeight","clientHeight","filterCardHeight","popoverHeaderHeight","newPopoverHeight","_onExited","attributes","_sortItems","onFocus","onBlur","idKey","find","cellStyle","truncate","_deleteItem","itemIds","itemCells","_itemCell","selectedFirst","stateValue","liveChange","_this$state","ref","_close","onUpdateState","showCells","title","wrapperClasses","popoverAdditionalClasses","showBadgeNbItems","fromBadgeBuilder","_this$state2","cellsGroup","_itemCellsGroup","badgeNbItems","popoverToggle","isEmpty","maxWidth","_renderOptions","show","onToggle","onEnter","_onEnter","onExited","nbItemsDisplay","DropField","spellCheck","_classnames","_StyleButton","EntityControls","entityControls","editorState","currentStyle","getCurrentInlineStyle","btnGroupClasses","classNames","ButtonGroup","active","has","label","action","FontSizeSelect","onSelect","selectedValue","Dropdown","Item","onSelectHandler","Math","random","Toggle","variant","Menu","_draftJs","Link","href","Entity","get","entityKey","getData","StyleButton","preventDefault","iconNode","Button","onMouseDown","grey700","_DraftPasteProcessor","_findEntities","_DropField","_Link","_FontSizeSelect","_EntityControls","_ColorPicker","_FilterDropdown","_draftJsExportHtml","_editor","_staticToolbar","_buttonsStylesModule","_toolbarStylesModule","_index","_buttons","_inline","_WhiteText","_TextGeneratorButton","_reduce","styleMap","CODE","fontFamily","fontColorDynamicStyle","prefix","cssTag","jsxCssTag","fontSizeDynamicStyle","RTE_FONT_SIZES","dynamicStyles","DROP_FIELD_REGEX","DEFAULT_FONT_COLOR","customDecorators","strategy","contentBlock","callback","regex","matchArr","start","text","getText","exec","findWithRegex","component","findEntities","getCharacterList","char","offset","colorStyleAtOffset","getStyleAtOffset","colorAtOffset","replace","WhiteText","RichTextEditor","dynamicStyleMap","toggleInlineStyle","_toggleInlineStyle","dynamicInlineTagMap","getBlockStyle","block","_getBlockStyle","addLink","_addLink","removeLink","_removeLink","sendHtmlToParent","setFonSizeStyle","setColorStyle","injectDynamicExclusiveInlineStyle","registerDynamicStyle","addDropField","_addDropField","updateWithProps","clearInlineStyles","setDomEditorRef","domEditor","handleKeyCommand","command","_handleKeyCommand","onTextInjection","renderAiAssistantButton","ENTITY_CONTROLS","textAlignmentPlugin","createTextAlignmentPlugin","staticToolbarPlugin","createStaticToolbarPlugin","theme","buttonStyles","toolbarStyles","PluginComponents","Toolbar","plugins","inlineStyle","RichUtils","processHTML","DraftPasteProcessor","content","draftjsContent","EditorState","createEmpty","contentState","convertFromRaw","htmlToProcess","processedHtml","contentBlocks","ContentState","createFromText","createFromBlockArray","dynamicStylesToRegister","allInlineStyleUsed","dynamicStyle","ds","startsWith","split","nextProps","existingStyles","convertToRaw","getCurrentContent","blocks","inlineStyleRanges","styleRange","currentContent","currentSelectionState","getSelection","startKey","getStartKey","startOffset","getStartOffset","inlineStyles","getBlockForKey","getInlineStyleAt","dropFieldReplacedContent","Modifier","insertText","getSelectionAfter","newEditorState","forceSelection","size","selection","nextContentState","removeInlineStyle","nextEditorState","nextDynamicStyleMap","assign","_len","opts","_key","opt","getBlockAlignment","getType","getColorAtOffsetOrDefault","element","sizeKey","first","styleElements","fontSize","entity","rel","raw","blockStyleFn","blockStyleObject","inlineStyleFn","inlineStyleObject","entityStyleFn","entityStyleObject","defaultBlockTag","cleanStateToHTML","stateToHTML","replaceAll","clearTimeout","timeoutID","setTimeout","isCollapsed","prompt","toggleLink","alignment","appendCssClassToDomHead","getKey","previousBlock","getBlockBefore","findStyleRanges","hasStyle","cssClass","head","getElementsByTagName","createElement","appendChild","createTextNode","dropFields","toolbarSizeClass","toolbarSize","externalProps","buttonWrapper","button","contentWithoutStyles","newContentState","toggleBlockType","newState","isAutoTranslated","aiModalSize","context","textGeneratorPrePromptKey","onSubmitGeneratedText","forceToUseBasePrompt","buttonLabel","modalTitle","buttonClassesOverride","modalSize","prePromptKey","selectionCustomInlineStyle","getSelectionCustomInlineStyle","match","generatedText","textWithEntity","_this5","_this$PluginComponent","isDisabled","hasText","getBlockMap","flexDirection","customStyleMap","decorators","readOnly","HeadlineOneButton","HeadlineTwoButton","HeadlineThreeButton","BlockquoteButton","UnorderedListButton","OrderedListButton","BoldButton","ItalicButton","UnderlineButton","CodeButton","TextAlignment","currentSelectedFontSize","currentSelectedFontColor","dropFieldsDropDown","rubber","isAutoTranslatedButton","getSelectedBlocksMap","selectionState","endKey","getEndKey","blockMap","toSeq","skipUntil","_","k","takeUntil","toList","c","substring","parseInt","currentSelection","stylePrefix","end","getEndOffset","selectedBlocks","getSelectedBlocksList","_loop","blockStart","blockEnd","_loop2","j","_block","entityType","findEntityRanges","character","getEntity","_createTextAlignmentButton","createTextAlignmentButton","viewBox","d","_props$buttonProps","buttonProps","getEditorState","clsx","removeStyles","currentEditorState","focusBlock","getFocusKey","anchorBlock","getAnchorKey","selectionIsBackward","getIsBackward","changes","anchorOffset","focusOffset","getLength","selectWholeBlocks","modifiedContent","applyInlineStyle","finalContent","setEditorState","role","_clsx","_AlignTextRightButton","_AlignTextCenterButton","_AlignTextLeftButton","_JustifyTextButton","AlignTextLeftButton","AlignTextCenterButton","AlignTextRightButton","JustifyTextButton","_TextAlignmentComponent"],"sourceRoot":""}