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-750.8bfa69d9db8415d57eea.js","mappings":"+lBAWIA,EAAU,GAEdA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,WAAiB,gBAAiBM,ECSnE,IAAMC,EAAgBC,GAAAA,CAAiB,CACrCC,YAAa,gBAEbC,UAAW,CACTC,OAAQC,IAAAA,OAAAA,YAGVC,OAAQ,CAACC,IAAAA,QAAeC,EAAAA,GAAcD,IAAAA,QAAeE,EAAAA,IAErDC,gBATqC,WAUnC,MAAO,CACLC,YAAQZ,IAIZa,kBAfqC,WAgBnCC,KAAKC,aAGPC,mBAnBqC,SAmBlBC,EAAWC,GACxBA,EAAUC,QAAUL,KAAKM,MAAMD,OACjCL,KAAKO,kBAAkBP,KAAKM,MAAMD,QAItCJ,UAzBqC,WA0BnCO,EAAAA,EAAAA,YACAC,EAAAA,EAAAA,IAAkBT,KAAKU,MAAMnB,OAAOoB,UAGtCJ,kBA9BqC,SA8BnBF,GAAO,WACvBO,EAAAA,GAAAA,IAAiBP,EAAMQ,WAAW,SAACf,GACjC,EAAKgB,SAAS,CAAEhB,OAAQA,OAG1BU,EAAAA,EAAAA,IAA2BH,EAAMQ,UAAWR,EAAMU,cAAc,SAACC,GAC3DA,EAAMC,YAA0C,MAA5BD,EAAMC,WAAWC,OACvC,EAAKJ,SAAS,CAAEK,eAAgB,KAEhCC,EAAAA,EAAAA,MAAA,mCAAmDf,EAAMU,aAAzD,gCAA6FC,GAC3F,iDAKRK,WA7CqC,WA8CnC,QAAQrB,KAAKM,MAAMD,OAAUL,KAAKM,MAAMa,gBAAmBnB,KAAKM,MAAMgB,qBAAwBtB,KAAKM,MAAMR,SAG3GyB,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6C,GAAIjB,EAAUiB,IAAKO,UAAWxB,EAAUiB,IAC5F,gBAAC,KAAD,CAAQR,QAAQ,QAAhB,0BAOV,gBAAC,KAAD,CAAc9B,MAAOA,EAAOqB,UAAWC,GAAmBD,EAAWK,cAAeA,EAAejC,OAAQA,SAOrH,SAAeqD,EAAAA,EAAAA,GAAWhE,I,mFC1KtBiE,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOX,GAAI,kDAAmD,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,2CAA2C,MAAQ,GAAG,SAAW,uBAAuB,eAAiB,CAAC,uDAAuD,WAAa,MAErSS,EAAwBG,OAAS,CAChC,iBAAoB,wBAErB","sources":["webpack://graylog-web-interface/./src/pages/ShowAlertPage.css?2388","webpack://graylog-web-interface/./src/pages/ShowAlertPage.jsx","webpack://graylog-web-interface/./src/pages/ShowAlertPage.css"],"sourcesContent":["\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]!./ShowAlertPage.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]!./ShowAlertPage.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 PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\n\nimport { LinkContainer } from 'components/common/router';\nimport { ButtonToolbar, Label, Tooltip, Button } from 'components/bootstrap';\nimport { DocumentTitle, OverlayElement, PageHeader, Spinner, Timestamp } from 'components/common';\nimport { AlertDetails } from 'components/alerts';\nimport DateTime from 'logic/datetimes/DateTime';\nimport UserNotification from 'util/UserNotification';\nimport Routes from 'routing/Routes';\nimport withParams from 'routing/withParams';\nimport { AlertsStore, AlertsActions } from 'stores/alerts/AlertsStore';\nimport { AlertConditionsStore, AlertConditionsActions } from 'stores/alertconditions/AlertConditionsStore';\nimport { StreamsStore } from 'stores/streams/StreamsStore';\n\nimport style from './ShowAlertPage.css';\n\nconst ShowAlertPage = createReactClass({\n displayName: 'ShowAlertPage',\n\n propTypes: {\n params: PropTypes.object.isRequired,\n },\n\n mixins: [Reflux.connect(AlertsStore), Reflux.connect(AlertConditionsStore)],\n\n getInitialState() {\n return {\n stream: undefined,\n };\n },\n\n componentDidMount() {\n this._loadData();\n },\n\n componentDidUpdate(prevProps, prevState) {\n if (prevState.alert !== this.state.alert) {\n this._loadAlertDetails(this.state.alert);\n }\n },\n\n _loadData() {\n AlertConditionsActions.available();\n AlertsActions.get(this.props.params.alertId);\n },\n\n _loadAlertDetails(alert) {\n StreamsStore.get(alert.stream_id, (stream) => {\n this.setState({ stream: stream });\n });\n\n AlertConditionsActions.get(alert.stream_id, alert.condition_id, (error) => {\n if (error.additional && error.additional.status === 404) {\n this.setState({ alertCondition: {} });\n } else {\n UserNotification.error(`Fetching alert condition ${alert.condition_id} failed with status: ${error}`,\n 'Could not get alert condition information');\n }\n });\n },\n\n _isLoading() {\n return !this.state.alert || !this.state.alertCondition || !this.state.availableConditions || !this.state.stream;\n },\n\n render() {\n if (this._isLoading()) {\n return ;\n }\n\n const { alert } = this.state;\n const condition = this.state.alertCondition;\n const conditionExists = Object.keys(condition).length > 0;\n const conditionType = this.state.availableConditions[condition.type] || {};\n const { stream } = this.state;\n\n let statusLabel;\n let resolvedState;\n\n if (!alert.is_interval || alert.resolved_at) {\n statusLabel = ;\n const resolvedAtTime = alert.resolved_at || alert.triggered_at;\n\n if (resolvedAtTime) {\n resolvedState = (\n \n This alert was resolved at .\n \n );\n }\n } else {\n statusLabel = ;\n\n resolvedState = (\n \n This alert was triggered at{' '}\n {' '}\n and is still unresolved.\n \n );\n }\n\n const title = (\n {conditionExists ? condition.title || 'Untitled alert' : 'Unknown alert'} \n \n on stream {stream.title} \n {statusLabel}\n \n \n );\n\n const conditionDetailsTooltip = (\n \n The condition was most likely deleted since the alert was triggered, no details available.\n \n );\n\n return (\n \n
\n \n \n Check the timeline of this alert, including the notifications sent, and messages received during the\n alert.\n \n\n \n {resolvedState}\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n