Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
{"version":3,"file":"325e2d4b-8350.e7419f171b8e755fef3d.js","mappings":"kfA+BA,MAAMA,UAAkCC,EAAAA,UAKtCC,YAAYC,GACVC,MAAMD,GADW,sCAQYE,IAC7B,MAAM,qBAAEC,GAAyBC,KAAKC,MAElCH,EAAgBI,QAAUH,GAC5BC,KAAKG,SAAS,CAAEJ,qBAAsBD,EAAgBI,OACvD,IAVDF,KAAKC,MAAQ,CACXF,0BAAsBK,EAEzB,CAUDC,SACE,MAAM,qBAAEN,GAAyBC,KAAKC,MAChCK,EAAYP,EAAwB,yBAAwBA,KAA0B,wBAEtF,YAAEQ,GAAgBP,KAAKJ,MAM7B,OAJKY,EAAAA,EAAAA,IAAYD,EAAYE,YAAa,4BACxCC,EAAAA,EAAAA,KAAaC,EAAAA,GAAAA,UAIb,gBAAC,KAAD,CAAeT,MAAOI,GACpB,gBAAC,IAAD,MAEA,gBAAC,KAAD,CAAYJ,MAAOI,EACPM,kBAAmB,CACjBV,MAAO,uBACPW,KAAMC,EAAAA,EAAAA,MAAAA,SAElB,0HAKF,gBAAC,KAAD,CAAKC,UAAU,WACb,gBAAC,KAAD,CAAKC,GAAI,IACP,gBAAC,IAAD,CAA8BC,OAAO,SACPC,wBAAyBlB,KAAKmB,gCAMrE,E,EAtDG1B,EAAAA,YACe,CACjBc,YAAaa,IAAAA,OAAAA,aAuDjB,SAAeC,EAAAA,EAAAA,GAAQ5B,EAA2B,CAChDc,YAAae,EAAAA,IACZ,QAAC,YAAEf,GAAH,QAAsB,CAAEA,YAAaA,EAAYA,YAAjD,G","sources":["webpack://graylog-web-interface/./src/pages/CreateEventDefinitionPage.jsx"],"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';\n\nimport { Col, Row } from 'components/bootstrap';\nimport { DocumentTitle, PageHeader } from 'components/common';\nimport EventDefinitionFormContainer\n from 'components/event-definitions/event-definition-form/EventDefinitionFormContainer';\nimport Routes from 'routing/Routes';\nimport DocsHelper from 'util/DocsHelper';\nimport connect from 'stores/connect';\nimport { isPermitted } from 'util/PermissionsMixin';\nimport history from 'util/History';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\nimport EventsPageNavigation from 'components/events/EventsPageNavigation';\n\nclass CreateEventDefinitionPage extends React.Component {\n static propTypes = {\n currentUser: PropTypes.object.isRequired,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n eventDefinitionTitle: undefined,\n };\n }\n\n handleEventDefinitionChange = (eventDefinition) => {\n const { eventDefinitionTitle } = this.state;\n\n if (eventDefinition.title !== eventDefinitionTitle) {\n this.setState({ eventDefinitionTitle: eventDefinition.title });\n }\n };\n\n render() {\n const { eventDefinitionTitle } = this.state;\n const pageTitle = eventDefinitionTitle ? `New Event Definition \"${eventDefinitionTitle}\"` : 'New Event Definition';\n\n const { currentUser } = this.props;\n\n if (!isPermitted(currentUser.permissions, 'eventdefinitions:create')) {\n history.push(Routes.NOTFOUND);\n }\n\n return (\n \n \n\n \n \n Event Definitions allow you to create Alerts from different Conditions and alert on them.\n \n \n\n \n