All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.b6fe2bb5-1138.ba476354698f001bb3db.js.map Maven / Gradle / Ivy

{"version":3,"file":"b6fe2bb5-1138.ba476354698f001bb3db.js","mappings":"k5DA0BA,IAwDMA,EAAAA,SAAAA,I,mdAmBc,SAACC,EAAKC,GACtB,MAA6B,EAAKC,MAA1BC,EAAR,EAAQA,OAAQC,EAAhB,EAAgBA,SACVC,EAAaC,IAAAA,UAAiBH,GAEpCE,EAAWL,GAAOC,EAClBG,EAASC,M,uBAGI,SAACE,GACd,IAAQC,EAASD,EAAME,OAAfD,KAER,EAAKE,gBAAgBF,GAAMG,EAAAA,EAAAA,IAAkBJ,EAAME,Y,+BAG9B,SAACG,GACtB,EAAKF,gBAAgB,YAAaE,M,mCAGT,SAACA,GAC1B,EAAKF,gBAAgB,gBAAiBE,M,uCAGT,SAACA,GAC9B,EAAKF,gBAAgB,qBAAsBE,M,iCAGpB,SAACZ,GACxB,OAAO,SAACY,GAAD,OAAe,EAAKF,gBAAgBV,EAAmB,KAAdY,EAAmB,GAAKA,EAAUC,MAAM,U,sBAG5E,SAACC,GACb,OAAOA,EAAMC,KAAI,SAACC,GAAD,MAAW,CAAEC,MAAO,GAAF,OAAKD,EAAKE,SAAV,aAAuBF,EAAKG,SAA5B,KAAyClB,MAAOe,EAAKE,gB,qCAG1F,WACE,MAAsCE,KAAKlB,MAAnCC,EAAR,EAAQA,OAAQW,EAAhB,EAAgBA,MAAOO,EAAvB,EAAuBA,WAEvB,OACE,gCACE,gBAAC,KAAD,CAAOC,GAAG,uBACHd,KAAK,UACLS,MAAM,UACNM,KAAK,OACLC,QAASH,EAAWI,OAAOC,QAAU,QAAU,KAC/CC,KAAMrB,IAAAA,IAAWe,EAAY,oBAAqB,+DAClDpB,MAAOE,EAAOuB,SAAW,GACzBtB,SAAUgB,KAAKQ,aACfC,UAAQ,IACf,gBAACC,EAAA,EAAD,KACE,gBAAC,KAAD,CAAOR,GAAG,sBACHd,K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C,wBAA2B,wBAE5B","sources":["webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/EmailNotificationForm.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/EmailNotificationFormContainer.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/CommonNotificationSummary.css?1a22","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/CommonNotificationSummary.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/EmailNotificationSummary.css?3748","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/EmailNotificationSummary.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/HttpNotificationForm.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/HttpNotificationSummary.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/LegacyNotificationCommonStyles.css?e6aa","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/LegacyNotificationForm.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/LegacyNotificationFormContainer.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/LegacyNotificationSummary.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/LegacyNotificationSummaryContainer.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-details/EmailNotificationDetails.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-details/HttpNotificationDetails.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-details/LegacyNotificationDetails.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/index.js","webpack://graylog-web-interface/./src/stores/event-notifications/EventNotificationsStore.js","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/CommonNotificationSummary.css","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/EmailNotificationSummary.css","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/LegacyNotificationCommonStyles.css"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport { MultiSelect, SourceCodeEditor, TimezoneSelect } from 'components/common';\nimport { ControlLabel, FormGroup, HelpBlock, Input } from 'components/bootstrap';\nimport { getValueFromInput } from 'util/FormsUtils';\nimport HideOnCloud from 'util/conditional/HideOnCloud';\n\n// TODO: Default body template should come from the server\nconst DEFAULT_BODY_TEMPLATE = `--- [Event Definition] ---------------------------\nTitle:       \\${event_definition_title}\nDescription: \\${event_definition_description}\nType:        \\${event_definition_type}\n--- [Event] --------------------------------------\nTimestamp:            \\${event.timestamp}\nMessage:              \\${event.message}\nSource:               \\${event.source}\nKey:                  \\${event.key}\nPriority:             \\${event.priority}\nAlert:                \\${event.alert}\nTimestamp Processing: \\${event.timestamp}\nTimerange Start:      \\${event.timerange_start}\nTimerange End:        \\${event.timerange_end}\nFields:\n\\${foreach event.fields field}  \\${field.key}: \\${field.value}\n\\${end}\n\\${if backlog}\n--- [Backlog] ------------------------------------\nLast messages accounting for this alert:\n\\${foreach backlog message}\n\\${message}\n\\${end}\n\\${end}\n`;\n\nconst DEFAULT_HTML_BODY_TEMPLATE = `\n\n\n\n\n
Event Definition
Title\\${event_definition_title}
Description\\${event_definition_description}
Type\\${event_definition_type}
\n
\n\n\n\n\n\n\n\n\n\n\n\n\n
Event
Timestamp\\${event.timestamp}
Message\\${event.message}
Source\\${event.source}
Key\\${event.key}
Priority\\${event.priority}
Alert\\${event.alert}
Timestamp Processing\\${event.timestamp}
Timerange Start\\${event.timerange_start}
Timerange End\\${event.timerange_end}
Source Streams\\${event.source_streams}
Fields
    \\${foreach event.fields field}
  • \\${field.key}:\\${field.value}
  • \\${end}
    \n\\${if backlog}\n
    \n\n\\${foreach backlog message}\n\n\\${end}\n
    Backlog (Last messages accounting for this alert)
    \\${message}
    \n\\${end}\n`;\n\nclass EmailNotificationForm extends React.Component {\n static propTypes = {\n config: PropTypes.object.isRequired,\n validation: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n users: PropTypes.array.isRequired,\n };\n\n static defaultConfig = {\n sender: '', // TODO: Default sender should come from the server. The default should be empty or the address configured in the email server settings\n // eslint-disable-next-line no-template-curly-in-string\n subject: 'Graylog event notification: ${event_definition_title}', // TODO: Default subject should come from the server\n body_template: DEFAULT_BODY_TEMPLATE, // TODO: Default body template should come from the server\n html_body_template: DEFAULT_HTML_BODY_TEMPLATE,\n user_recipients: [],\n email_recipients: [],\n time_zone: 'UTC',\n };\n\n propagateChange = (key, value) => {\n const { config, onChange } = this.props;\n const nextConfig = lodash.cloneDeep(config);\n\n nextConfig[key] = value;\n onChange(nextConfig);\n };\n\n handleChange = (event) => {\n const { name } = event.target;\n\n this.propagateChange(name, getValueFromInput(event.target));\n };\n\n handleTimeZoneChange = (nextValue) => {\n this.propagateChange('time_zone', nextValue);\n };\n\n handleBodyTemplateChange = (nextValue) => {\n this.propagateChange('body_template', nextValue);\n };\n\n handleHtmlBodyTemplateChange = (nextValue) => {\n this.propagateChange('html_body_template', nextValue);\n };\n\n handleRecipientsChange = (key) => {\n return (nextValue) => this.propagateChange(key, nextValue === '' ? [] : nextValue.split(','));\n };\n\n formatUsers = (users) => {\n return users.map((user) => ({ label: `${user.username} (${user.fullName})`, value: user.username }));\n };\n\n render() {\n const { config, users, validation } = this.props;\n\n return (\n <>\n \n \n Sender (Optional)}\n type=\"text\"\n bsStyle={validation.errors.sender ? 'error' : null}\n help={lodash.get(validation, 'errors.sender[0]', 'The email address that should be used as the notification sender. Leave it empty to use the default sender address.')}\n value={config.sender || ''}\n onChange={this.handleChange} />\n \n \n User recipient(s) (Optional)\n \n \n {lodash.get(validation, 'errors.recipients[0]', 'Select Graylog users that will receive this Notification.')}\n \n \n\n \n Email recipient(s) (Optional)\n \n \n {lodash.get(validation, 'errors.recipients[0]', 'Add email addresses that will receive this Notification.')}\n \n \n Time zone for date/time values (Optional)}>\n \n \n \n Body Template\n \n \n {lodash.get(validation, 'errors.body[0]', 'The template that will be used to generate the email body.')}\n \n \n \n HTML Body Template\n \n \n {lodash.get(validation, 'errors.body[0]', 'The template that will be used to generate the email HTML body.')}\n \n \n \n );\n }\n}\n\nexport default EmailNotificationForm;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport Immutable from 'immutable';\nimport PropTypes from 'prop-types';\n\nimport UsersDomain from 'domainActions/users/UsersDomain';\nimport { Spinner } from 'components/common';\nimport { isPermitted } from 'util/PermissionsMixin';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\nimport connect from 'stores/connect';\n\nimport EmailNotificationForm from './EmailNotificationForm';\n\nclass EmailNotificationFormContainer extends React.Component {\n static propTypes = {\n currentUser: PropTypes.object.isRequired,\n config: PropTypes.object.isRequired,\n validation: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n users: undefined,\n };\n }\n\n componentDidMount() {\n this.loadUsers();\n }\n\n loadUsers = () => {\n const { currentUser } = this.props;\n\n if (isPermitted(currentUser.permissions, 'users:list')) {\n UsersDomain.loadUsers().then((users) => this.setState({ users }));\n } else {\n this.setState({ users: Immutable.List() });\n }\n };\n\n render() {\n const { users } = this.state;\n\n if (!users) {\n return

    ;\n }\n\n return ;\n }\n}\n\nexport default connect(EmailNotificationFormContainer,\n { currentUser: CurrentUserStore },\n ({ currentUser }) => ({ currentUser: currentUser ? currentUser.currentUser : currentUser }));\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./CommonNotificationSummary.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./CommonNotificationSummary.css\";\n export default content && content.locals ? content.locals : undefined;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Table, Button } from 'components/bootstrap';\nimport { Icon } from 'components/common';\n\nimport styles from './CommonNotificationSummary.css';\n\nclass CommonNotificationSummary extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n notification: PropTypes.object.isRequired,\n definitionNotification: PropTypes.object.isRequired,\n children: PropTypes.element.isRequired,\n };\n\n state = {\n displayDetails: false,\n };\n\n toggleDisplayDetails = () => {\n const { displayDetails } = this.state;\n\n this.setState({ displayDetails: !displayDetails });\n };\n\n render() {\n const { type, notification, definitionNotification, children } = this.props;\n const { displayDetails } = this.state;\n\n return (\n <>\n

    {notification.title || definitionNotification.notification_id}

    \n
    \n
    {type}
    \n
    \n \n {displayDetails && (\n \n \n \n \n \n \n {children}\n \n
    Description{notification.description || 'No description given'}
    \n )}\n
    \n
    \n \n );\n }\n}\n\nexport default CommonNotificationSummary;\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./EmailNotificationSummary.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./EmailNotificationSummary.css\";\n export default content && content.locals ? content.locals : undefined;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Well } from 'components/bootstrap';\n\nimport CommonNotificationSummary from './CommonNotificationSummary';\nimport styles from './EmailNotificationSummary.css';\n\nclass EmailNotificationSummary extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n notification: PropTypes.object,\n definitionNotification: PropTypes.object.isRequired,\n };\n\n static defaultProps = {\n notification: {},\n };\n\n render() {\n const { notification } = this.props;\n\n return (\n \n <>\n \n Sender\n {notification.config.sender}\n \n \n Subject\n {notification.config.subject}\n \n \n User recipients\n {notification.config.user_recipients.join(', ') || 'No users will receive this notification.'}\n \n \n Email recipients\n \n {notification.config.email_recipients.join(', ') || 'No email addresses are configured to receive this notification.'}\n \n \n \n Email Body\n \n \n {notification.config.body_template || Empty body}\n \n \n \n \n Email HTML Body\n \n \n {notification.config.html_body_template || Empty HTML body}\n \n \n \n \n \n );\n }\n}\n\nexport default EmailNotificationSummary;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport { URLWhiteListInput } from 'components/common';\nimport * as FormsUtils from 'util/FormsUtils';\n\nclass HttpNotificationForm extends React.Component {\n static propTypes = {\n config: PropTypes.object.isRequired,\n validation: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n setIsSubmitEnabled: PropTypes.func,\n };\n\n static defaultConfig = {\n url: '',\n };\n\n propagateChange = (key, value) => {\n const { config, onChange } = this.props;\n const nextConfig = lodash.cloneDeep(config);\n\n nextConfig[key] = value;\n onChange(nextConfig);\n };\n\n handleChange = (event) => {\n const { name } = event.target;\n\n this.propagateChange(name, FormsUtils.getValueFromInput(event.target));\n };\n\n onValidationChange = (validationState) => {\n const { setIsSubmitEnabled } = this.props;\n\n setIsSubmitEnabled(validationState !== 'error');\n };\n\n render() {\n const { config, validation } = this.props;\n\n return (\n \n );\n }\n}\n\nHttpNotificationForm.defaultProps = {\n setIsSubmitEnabled: () => {},\n};\n\nexport default HttpNotificationForm;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport CommonNotificationSummary from './CommonNotificationSummary';\n\nclass HttpNotificationSummary extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n notification: PropTypes.object,\n definitionNotification: PropTypes.object.isRequired,\n };\n\n static defaultProps = {\n notification: {},\n };\n\n render() {\n const { notification } = this.props;\n\n return (\n \n <>\n \n URL\n {notification.config.url}\n \n \n \n );\n }\n}\n\nexport default HttpNotificationSummary;\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./LegacyNotificationCommonStyles.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./LegacyNotificationCommonStyles.css\";\n export default content && content.locals ? content.locals : undefined;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport { Alert, ControlLabel, FormGroup, HelpBlock } from 'components/bootstrap';\nimport { Select } from 'components/common';\nimport { ConfigurationFormField } from 'components/configurationforms';\n\nimport commonStyles from './LegacyNotificationCommonStyles.css';\n\nclass LegacyNotificationForm extends React.Component {\n static propTypes = {\n config: PropTypes.object.isRequired,\n validation: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n legacyTypes: PropTypes.object.isRequired,\n };\n\n static defaultConfig = {\n callback_type: '',\n configuration: {},\n };\n\n propagateMultiChange = (newValues) => {\n const { config, onChange } = this.props;\n const nextConfig = { ...config, ...newValues };\n\n onChange(nextConfig);\n };\n\n propagateChange = (key, value) => {\n const { config } = this.props;\n const nextConfiguration = { ...config.configuration, [key]: value };\n\n this.propagateMultiChange({ configuration: nextConfiguration });\n };\n\n formatLegacyTypes = (legacyTypes) => {\n return Object.keys(legacyTypes)\n .map((typeName) => ({ label: `Legacy ${legacyTypes[typeName].name}`, value: typeName }));\n };\n\n getDefaultConfiguration = (legacyNotificationType) => {\n const { legacyTypes } = this.props;\n const { configuration } = legacyTypes[legacyNotificationType];\n const defaultConfiguration = {};\n\n Object.keys(configuration).forEach((configKey) => {\n defaultConfiguration[configKey] = configuration[configKey].default_value;\n });\n\n return defaultConfiguration;\n };\n\n handleSelectNotificationChange = (nextLegacyNotificationType) => {\n this.propagateMultiChange({\n callback_type: nextLegacyNotificationType,\n configuration: this.getDefaultConfiguration(nextLegacyNotificationType),\n });\n };\n\n handleFormFieldChange = (key, value) => {\n this.propagateChange(key, value);\n };\n\n renderNotificationForm(config, legacyType) {\n const { configuration } = legacyType;\n\n const configFields = Object.keys(configuration).map((configKey) => {\n const configField = configuration[configKey];\n const configValue = config.configuration[configKey];\n\n return (\n \n );\n });\n\n return (\n
    \n {configFields}\n
    \n );\n }\n\n render() {\n const { config, legacyTypes, validation } = this.props;\n const callbackType = config.callback_type;\n const typeData = legacyTypes[callbackType];\n\n let content;\n\n if (typeData) {\n content = this.renderNotificationForm(config, typeData);\n } else if (callbackType) {\n content = (\n \n Unknown legacy alarm callback type: {callbackType} Please make sure the plugin is installed.\n \n );\n }\n\n return (\n <>\n
    \n \n Choose Legacy Notification\n