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":"b6fe2bb5-8350.672e2420be6e3de79354.js","mappings":"o0DAgCMA,EAAAA,SAAAA,I,4SAKJ,WAAYC,GAAO,a,4FAAA,aACjB,cAAMA,IADW,+BAQW,SAACC,GAC7B,IAAQC,EAAyB,EAAKC,MAA9BD,qBAEJD,EAAgBG,QAAUF,GAC5B,EAAKG,SAAS,CAAEH,qBAAsBD,EAAgBG,WATxD,EAAKD,MAAQ,CACXD,0BAAsBI,GAJP,E,mCAgBnB,WACE,IAAQJ,EAAyBK,KAAKJ,MAA9BD,qBACFM,EAAYN,EAAuB,yBAAH,OAA4BA,EAA5B,KAAsD,uBAEpFO,EAAgBF,KAAKP,MAArBS,YAMR,OAJKC,EAAAA,GAAAA,YAA6BD,EAAYE,YAAa,4BACzDC,EAAAA,EAAAA,KAAaC,EAAAA,GAAAA,UAIb,gBAAC,KAAD,CAAeT,MAAOI,GACpB,4BACE,gBAAC,KAAD,CAAYJ,MAAOI,GACjB,yHAIA,+HACwG,IACtG,gBAAC,IAAD,CAAmBM,KAAMC,EAAAA,EAAAA,MAAAA,OACNC,KAAK,mBAG1B,gBAAC,KAAD,KACE,gBAAC,IAAD,CAAeC,GAAIJ,EAAAA,GAAAA,OAAAA,MACjB,gBAAC,KAAD,CAAQK,QAAQ,QAAhB,oBAEF,gBAAC,KAAD,CAAaP,YAAY,yBACvB,gBAAC,IAAD,CAAeM,GAAIJ,EAAAA,GAAAA,OAAAA,YAAAA,MACjB,gBAAC,KAAD,CAAQK,QAAQ,QAAhB,uBAGJ,gBAAC,KAAD,CAAaP,YAAY,2BACvB,gBAAC,IAAD,CAAeM,GAAIJ,EAAAA,GAAAA,OAAAA,cAAAA,MACjB,gBAAC,KAAD,CAAQK,QAAQ,QAAhB,qBAMR,gBAAC,KAAD,CAAKC,UAAU,WACb,gBAAC,KAAD,CAAKC,GAAI,IACP,gBAAC,IAAD,CAA8BC,OAAO,SACPC,wBAAyBf,KAAKgB,uC,gFAjEpExB,CAAkCyB,EAAAA,W,EAAlCzB,EAAAA,YACe,CACjBU,YAAagB,IAAAA,OAAAA,aAwEjB,SAAeC,EAAAA,EAAAA,GAAQ3B,EAA2B,CAChDU,YAAakB,EAAAA,IACZ,kBAAsB,CAAElB,YAAxB,EAAGA,YAA8CA","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 { LinkContainer } from 'components/common/router';\nimport { ButtonToolbar, Col, Row, Button } from 'components/bootstrap';\nimport { DocumentTitle, IfPermitted, PageHeader } from 'components/common';\nimport EventDefinitionFormContainer\n from 'components/event-definitions/event-definition-form/EventDefinitionFormContainer';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport Routes from 'routing/Routes';\nimport DocsHelper from 'util/DocsHelper';\nimport connect from 'stores/connect';\nimport PermissionsMixin from 'util/PermissionsMixin';\nimport history from 'util/History';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\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 (!PermissionsMixin.isPermitted(currentUser.permissions, 'eventdefinitions:create')) {\n history.push(Routes.NOTFOUND);\n }\n\n return (\n \n \n \n \n Event Definitions allow you to create Alerts from different Conditions and alert on them.\n \n\n \n Graylog's new Alerting system let you define more flexible and powerful rules. Learn more in the{' '}\n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n