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":"e508fb3d-8665.4760626898a329a795d8.js","mappings":"4OA8BMA,EAASC,EAAAA,QAAAA,IAAAA,WAAH,mEAAGA,CAAH,8GAUCC,EAAWD,EAAAA,QAAAA,GAAAA,WAAH,qEAAGA,CAAH,wCAKfE,GAAiBF,EAAAA,EAAAA,SAAOG,EAAAA,GAAV,sFAAGH,EAAgB,gBAAGI,EAAH,EAAGA,MAAH,OAAeC,EAAAA,EAAAA,KAAd,CAAD,mCAExBD,EAAME,MAAMC,KAAKC,OAG1BC,EAAmB,SAAC,GAAD,IAAGC,EAAH,EAAGA,SAAUC,EAAb,EAAaA,MAAb,IAAoBC,YAAAA,OAApB,SAAyCC,EAAzC,EAAyCA,cAAeC,EAAxD,EAAwDA,UAAxD,OACvB,gBAAC,KAAD,CAAKA,UAAS,kBAAaA,IACzB,gBAAC,KAAD,CAAKC,GAAI,IACP,gBAAChB,EAAD,KACE,gBAACE,EAAD,KACGU,EACAC,GAAe,gBAACV,EAAD,CAAgBc,KAAK,GAAGC,MAAO,KAEhDJ,GAEFH,KAKPD,EAAiBS,aAAe,CAC9BJ,UAAW,GACXF,aAAa,EACbC,mBAAeM,GAGjB,W,iJC/CMC,EAA+B,SAAC,GAAD,IAAGC,EAAH,EAAGA,eAAH,OACnC,gBAAC,KAAD,KACE,gBAAC,KAAD,CAAaC,YAAW,kCAA6BD,IACnD,gBAAC,IAAD,CAAeE,GAAIC,EAAAA,GAAAA,OAAAA,cAAAA,KAAiCH,IAClD,gBAAC,KAAD,CAAQI,QAAQ,WAAhB,kBAGJ,gBAAC,KAAD,CAAaH,YAAW,kCAA6BD,IACnD,gBAAC,IAAD,CAAeE,GAAIC,EAAAA,GAAAA,OAAAA,cAAAA,KAAiCH,IAClD,gBAAC,KAAD,CAAQI,QAAQ,WAAhB,yBAMRL,EAA6BM,UAAY,CACvCL,eAAgBM,IAAA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kBAA+C8C,WAAY3B,GAAgB,gBAACV,EAAA,EAAD,CAA8BC,eAAgBS,EAAa4B,MACrJ,6LAKA,+HACwG,IACtG,gBAACC,EAAA,EAAD,CAAmBC,KAAMC,EAAAA,EAAAA,MAAAA,OACN7C,KAAK,mBAG1B,gBAAC,KAAD,KACE,gBAAC,IAAD,CAAeO,GAAIC,EAAAA,GAAAA,OAAAA,MACjB,gBAAC,KAAD,CAAQC,QAAQ,QAAhB,oBAEF,gBAAC,KAAD,CAAaH,YAAY,yBACvB,gBAAC,IAAD,CAAeC,GAAIC,EAAAA,GAAAA,OAAAA,YAAAA,MACjB,gBAAC,KAAD,CAAQC,QAAQ,QAAhB,uBAGJ,gBAAC,KAAD,CAAaH,YAAY,2BACvB,gBAAC,IAAD,CAAeC,GAAIC,EAAAA,GAAAA,OAAAA,cAAAA,MACjB,gBAAC,KAAD,CAAQC,QAAQ,QAAhB,qBAMR,gBAAC,EAAD,CAA0BK,aAAcA,MA1C1C,gBAAC,KAAD,CAAenB,MAAM,wBACnB,4BACE,gBAAC,KAAD,CAAYA,MAAM,wBAChB,gBAAC,KAAD,CAASK,KAAK,4CA8C1ByB,EAAwBf,UAAY,CAClCgB,OAAQf,IAAAA,OAAAA,YAGV,SAAemC,EAAAA,EAAAA,GAAWrB","sources":["webpack://graylog-web-interface/./src/components/common/Section/SectionComponent.tsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-details/EventNotificationActionLinks.jsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-details/EventNotificationDetails.jsx","webpack://graylog-web-interface/./src/pages/ShowEventNotificationPage.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 * as React from 'react';\nimport styled, { css } from 'styled-components';\n\nimport Spinner from 'components/common/Spinner';\nimport { Row, Col } from 'components/bootstrap';\n\ntype Props = {\n children: React.ReactNode,\n title: string,\n showLoading?: boolean,\n headerActions?: React.ReactElement,\n className?: string,\n};\n\nconst Header = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n\n *:not(:first-child) {\n margin-left: 10px;\n }\n`;\n\nexport const Headline = styled.h2`\n margin-bottom: 15px;\n display: inline;\n`;\n\nconst LoadingSpinner = styled(Spinner)(({ theme }) => css`\n margin-left: 10px;\n font-size: ${theme.fonts.size.h3};\n`);\n\nconst SectionComponent = ({ children, title, showLoading = false, headerActions, className }: Props) => (\n \n
\n \n \n {title}\n {showLoading && }\n \n {headerActions}\n \n {children}\n \n \n);\n\nSectionComponent.defaultProps = {\n className: '',\n showLoading: false,\n headerActions: undefined,\n};\n\nexport default SectionComponent;\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 PropTypes from 'prop-types';\n\nimport { LinkContainer } from 'components/common/router';\nimport { Button, ButtonToolbar } from 'components/bootstrap';\nimport { IfPermitted } from 'components/common';\nimport Routes from 'routing/Routes';\n\nconst EventNotificationActionLinks = ({ notificationId }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nEventNotificationActionLinks.propTypes = {\n notificationId: PropTypes.string.isRequired,\n};\n\nexport default EventNotificationActionLinks;\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 { PluginStore } from 'graylog-web-plugin/plugin';\nimport PropTypes from 'prop-types';\n\nimport { ReadOnlyFormGroup } from 'components/common';\nimport { Alert } from 'components/bootstrap';\nimport SectionComponent from 'components/common/Section/SectionComponent';\n\nconst _getNotificationPlugin = (type) => {\n if (type === undefined) {\n return {};\n }\n\n return PluginStore.exports('eventNotificationTypes').find((n) => n.type === type) || {};\n};\n\nconst EventNotificationDetails = ({ notification }) => {\n const notificationPlugin = _getNotificationPlugin(notification.config.type);\n const DetailsComponent = notificationPlugin?.detailsComponent;\n\n return (\n \n \n \n \n {DetailsComponent ? : Notification type not supported}\n \n );\n};\n\nEventNotificationDetails.propTypes = {\n notification: PropTypes.object.isRequired,\n};\n\nexport default EventNotificationDetails;\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 { useContext, useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nimport ErrorsActions from 'actions/errors/ErrorsActions';\nimport CurrentUserContext from 'contexts/CurrentUserContext';\nimport { LinkContainer } from 'components/common/router';\nimport { ButtonToolbar, Button } from 'components/bootstrap';\nimport { createFromFetchError } from 'logic/errors/ReportedErrors';\nimport { DocumentTitle, IfPermitted, PageHeader, Spinner } from 'components/common';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport Routes from 'routing/Routes';\nimport DocsHelper from 'util/DocsHelper';\nimport { isPermitted } from 'util/PermissionsMixin';\nimport history from 'util/History';\nimport withParams from 'routing/withParams';\nimport EventNotificationDetails from 'components/event-notifications/event-notification-details/EventNotificationDetails';\nimport EventNotificationActionLinks from 'components/event-notifications/event-notification-details/EventNotificationActionLinks';\nimport { EventNotificationsActions } from 'stores/event-notifications/EventNotificationsStore';\n\nimport {} from 'components/event-notifications/event-notification-types';\n\nconst ShowEventDefinitionPage = ({ params: { notificationId } }) => {\n const currentUser = useContext(CurrentUserContext) || {};\n const [notification, setNotification] = useState();\n\n useEffect(() => {\n EventNotificationsActions.get(notificationId).then(\n setNotification,\n (error) => {\n if (error.status === 404) {\n ErrorsActions.report(createFromFetchError(error));\n }\n },\n );\n }, [notificationId]);\n\n if (!isPermitted(currentUser.permissions, `eventnotifications:read:${notificationId}`)) {\n history.push(Routes.NOTFOUND);\n }\n\n if (!notification) {\n return (\n \n \n \n \n \n \n \n );\n }\n\n return (\n \n \n }>\n \n Notifications alert you of any configured Event when they occur. Graylog can send Notifications directly\n to you or to other systems you use for that purpose.\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\n \n \n );\n};\n\nShowEventDefinitionPage.propTypes = {\n params: PropTypes.object.isRequired,\n};\n\nexport default withParams(ShowEventDefinitionPage);\n"],"names":["Header","styled","Headline","LoadingSpinner","Spinner","theme","css","fonts","size","h3","SectionComponent","children","title","showLoading","headerActions","className","xs","text","delay","defaultProps","undefined","EventNotificationActionLinks","notificationId","permissions","to","Routes","bsStyle","propTypes","PropTypes","EventNotificationDetails","type","notification","notificationPlugin","config","PluginStore","find","n","DetailsComponent","detailsComponent","label","value","description","ShowEventDefinitionPage","params","currentUser","useContext","CurrentUserContext","useState","setNotification","useEffect","EventNotificationsActions","then","error","status","ErrorsActions","createFromFetchError","isPermitted","history","subactions","id","DocumentationLink","page","DocsHelper","withParams"],"sourceRoot":""}