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

web-interface.assets.bb8c8232-6119.23231fc83bcf991086a5.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"file":"bb8c8232-6119.23231fc83bcf991086a5.js","mappings":"0NAGIA,EAA0B,IAA4B,GAAqC,EAE/FA,EAAwB,KAAK,CAACC,EAAO,GAAI;AAAA;AAAA;AAAA;AAAA,EAItC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,+FAA+F,EAAE,MAAQ,CAAC,EAAE,SAAW,sCAAsC,eAAiB,CAAC;AAAA;AAAA;AAAA;AAAA,CAAsF,EAAE,WAAa,EAAE,CAAC,CAAC,EAEtTD,EAAwB,OAAS,CAChC,aAAgB,sBACjB,EACA,QAAeA,C,oICWf,MAAME,EAAW,UAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAclBC,EAAU,UAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBASD,CAAC,CAAE,MAAAC,CAAM,IAAMA,EAAM,OAAO,OAAO,iBAAiB;AAAA,sBACpD,CAAC,CAAE,MAAAA,CAAM,IAAMA,EAAM,OAAO,MAAM,MAAM;AAAA;AAAA,EAIxDC,KAAY,WAAO,IAAI;AAAA;AAAA;AAAA,WAGlB,CAAC,CAAE,MAAAD,CAAM,IAAMA,EAAM,OAAO,MAAM,WAAW;AAAA;AAAA;AAAA,aAG3C,CAAC,CAAE,MAAAA,CAAM,IAAMA,EAAM,OAAO,OAAO,WAAW;AAAA;AAAA,EAIrDE,EAAM,UAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkBnB,SAASC,EAAa,CAAE,MAAAC,EAAO,KAAAC,EAAM,QAAAC,CAAQ,EAAU,CACrD,KAAM,CAACC,EAAQC,CAAS,EAAI,WAAuB,CAAC,EAEpD,YAAgB,IAAM,CApFxB,M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AAY,MACd,EAEA,QAAe,C,0GCrQf,MAAM0C,EAAY,CAChB,CAAE,MAAO,kBAAmB,KAAM,KAAO,OAAO,KAAM,eAAgB,EAAK,EAC3E,CAAE,MAAO,oBAAqB,KAAM,KAAO,OAAO,YAAY,IAAK,EACnE,CAAE,MAAO,gBAAiB,KAAM,KAAO,OAAO,cAAc,IAAK,CACnE,EAQA,EAN6B,IAC3B,gBAAC,MAAG,KACF,gBAAC,IAAc,CAAC,MAAOA,CAAA,CAAW,CACpC,C","sources":["webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/EventDefinitionSummary.css","webpack://graylog-web-interface/./src/components/common/MarkdownEditor/PreviewModal.tsx","webpack://graylog-web-interface/./src/components/common/MarkdownEditor/Preview.tsx","webpack://graylog-web-interface/./src/components/common/MarkdownEditor/EditorModal.tsx","webpack://graylog-web-interface/./src/components/common/MarkdownEditor/Editor.tsx","webpack://graylog-web-interface/./src/components/common/PageNavigation.tsx","webpack://graylog-web-interface/./src/components/event-definitions/constants.ts","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/EventDefinitionValidationSummary.tsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/EventDefinitionSummary.css?9f94","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/EventDefinitionSummary.tsx","webpack://graylog-web-interface/./src/components/events/EventsPageNavigation.tsx"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.xZzz7avfOImN5wyTQXue dl dl {\n    padding-left: 10px;\n    margin-bottom: 5px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/event-definitions/event-definition-form/EventDefinitionSummary.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,kBAAkB;IAClB,kBAAkB;AACtB\",\"sourcesContent\":[\":local(.eventSummary) dl dl {\\n    padding-left: 10px;\\n    margin-bottom: 5px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"eventSummary\": `xZzz7avfOImN5wyTQXue`\n};\nexport default ___CSS_LOADER_EXPORT___;\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 ReactDom from 'react-dom';\nimport styled from 'styled-components';\n\nimport { Button } from 'components/bootstrap';\nimport { Icon } from 'components/common';\n\nimport Preview from './Preview';\n\nconst Backdrop = styled.div`\n  position: fixed;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  z-index: 1051;\n\n  background-color: rgba(0, 0, 0, 0.5);\n`;\n\nconst Content = styled.div`\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  width: 600px;\n  height: 65vh;\n  top: 10vh;\n  padding: 16px;\n\n  background-color: ${({ theme }) => theme.colors.global.contentBackground};\n  border: 1px solid ${({ theme }) => theme.colors.input.border};\n  border-radius: 8px;\n`;\n\nconst CloseIcon = styled(Icon)`\n  margin-left: auto;\n  cursor: pointer;\n  color: ${({ theme }) => theme.colors.input.placeholder};\n\n  &:hover {\n    color: ${({ theme }) => theme.colors.global.textDefault};\n  }\n`;\n\nconst Row = styled.div`\n  display: flex;\n  flex-direction: row;\n  align-items: stretch;\n  justify-content: stretch;\n  gap: 1rem;\n\n  &#editor-body {\n    flex-grow: 1;\n  }\n`;\n\ntype Props = {\n  value: string;\n  show: boolean;\n  onClose: () => void;\n}\n\nfunction PreviewModal({ value, show, onClose }: Props) {\n  const [height, setHeight] = React.useState(0);\n\n  React.useEffect(() => {\n    const contentHeight = document.getElementById('preview-body')?.scrollHeight;\n    setHeight(contentHeight);\n  }, [show]);\n\n  const Component = React.useMemo(() => (show ? (\n     onClose()}>\n       e.stopPropagation()}>\n        \n          

Markdown Preview

\n onClose()} />\n
\n \n \n \n \n
\n
\n ) : null), [show, value, height, onClose]);\n\n return <>{ReactDom.createPortal(Component, document.body)};\n}\n\nexport default PreviewModal;\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 styled, { css } from 'styled-components';\n\nimport { Markdown, Icon } from 'components/common';\n\nimport PreviewModal from './PreviewModal';\n\nconst Container = styled.div<{ $height?: number, $noBackground?: boolean, $noBorder?: boolean }>`\n position: relative;\n padding: 8px 0;\n background-color: ${({ theme, $noBackground }) => ($noBackground ? 'transparent' : theme.colors.global.contentBackground)};\n ${({ $noBorder }) => (!$noBorder && css`border: 1px solid ${({ theme }) => theme.colors.input.border};`)}\n border-radius: 4px;\n flex-grow: 1;\n overflow: hidden;\n\n height: ${({ $height }) => ($height ? `${$height}px` : 'auto')};\n min-height: 100px;\n`;\n\nconst ExpandIcon = styled(Icon)`\n position: absolute;\n bottom: 0;\n right: 0;\n padding: 8px 16px;\n cursor: pointer;\n color: ${({ theme }) => theme.colors.input.placeholder};\n z-index: 10;\n\n &:hover {\n color: ${({ theme }) => theme.colors.global.textDefault};\n }\n`;\n\nconst MarkdownStyles = styled.div`\n overflow-y: auto;\n overflow-x: hidden;\n height: 100%;\n padding: 0 8px;\n\n container-type: inline-size;\n\n & > div {\n & > h1, & > h2, & > h3, & > h4, & > h5, & > h6 {\n margin-bottom: 8px;\n }\n\n & ul, & ol {\n padding-left: 1.5rem;\n margin: 8px 0;\n\n & > li {\n padding: 4px 0;\n }\n }\n\n & ul {\n list-style-type: disc;\n }\n\n & p {\n white-space: pre-wrap;\n margin: 8px 0;\n }\n\n & table {\n border-collapse: collapse;\n border-spacing: 0;\n margin: 8px 0;\n\n & th, & td {\n border: 1px solid ${({ theme }) => theme.colors.input.border};\n padding: 4px 8px;\n }\n }\n }\n`;\n\ntype Props = {\n value: string;\n height?: number;\n show: boolean;\n withFullView?: boolean;\n noBackground?: boolean;\n noBorder?: boolean;\n};\n\nfunction Preview({ value, height, show, withFullView, noBackground, noBorder }: Props) {\n const [fullView, setFullView] = React.useState(false);\n\n return show && (\n \n \n \n \n {withFullView && setFullView(true)} />}\n setFullView(false)} />\n \n );\n}\n\nPreview.defaultProps = {\n withFullView: false,\n noBackground: false,\n noBorder: false,\n height: undefined,\n};\n\nexport default Preview;\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 ReactDom from 'react-dom';\nimport styled from 'styled-components';\n\nimport { Button } from 'components/bootstrap';\nimport { Icon, SourceCodeEditor } from 'components/common';\n\nimport Preview from './Preview';\n\nconst Backdrop = styled.div`\n position: fixed;\n display: flex;\n flex-direction: column;\n align-items: center;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1051;\n\n background-color: rgba(0, 0, 0, 0.5);\n`;\n\nconst Content = styled.div`\n position: relative;\n display: flex;\n flex-direction: column;\n width: 75vw;\n max-width: 1000px;\n height: 65vh;\n top: 10vh;\n padding: 16px;\n\n background-color: ${({ theme }) => theme.colors.global.contentBackground};\n border: 1px solid ${({ theme }) => theme.colors.input.border};\n border-radius: 8px;\n`;\n\nconst CloseIcon = styled(Icon)`\n margin-left: auto;\n cursor: pointer;\n color: ${({ theme }) => theme.colors.input.placeholder};\n\n &:hover {\n color: ${({ theme }) => theme.colors.global.textDefault};\n }\n`;\n\nconst Row = styled.div`\n display: flex;\n flex-direction: row;\n align-items: stretch;\n justify-content: stretch;\n gap: 1rem;\n\n &#editor-body {\n flex-grow: 1;\n }\n`;\n\nconst EditorWrapper = styled.div`\n .ace_editor {\n border: 1px solid ${({ theme }) => theme.colors.input.border} !important;\n }\n`;\n\ntype Props = {\n value: string;\n readOnly?: boolean;\n show: boolean;\n onChange: (newValue: string) => void;\n onClose: () => void;\n onDone?: (newValue?: string) => void;\n}\n\nfunction EditorModal({ value, readOnly, onChange, show, onClose, onDone }: Props) {\n const [height, setHeight] = React.useState(0);\n const [localValue, setLocalValue] = React.useState(value);\n\n React.useEffect(() => {\n const contentHeight = document.getElementById('editor-body')?.scrollHeight;\n setHeight(contentHeight);\n }, []);\n\n React.useEffect(() => setLocalValue(value), [value]);\n\n const handleOnChange = React.useCallback((newValue: string) => {\n setLocalValue(newValue);\n onChange(newValue);\n }, [onChange]);\n\n const handleOnDone = React.useCallback(() => {\n if (onDone) onDone(localValue);\n onClose();\n }, [localValue, onClose, onDone]);\n\n const Component = React.useMemo(() => (\n show ? (\n onClose()}>\n e.stopPropagation()}>\n \n

Markdown Editor

\n onClose()} />\n
\n \n {height > 0 && (\n <>\n \n {/* @ts-ignore */}\n \n \n
\n \n
\n \n )}\n
\n \n \n \n \n
\n
\n ) : null\n ), [show, height, localValue, readOnly, onClose, handleOnDone, handleOnChange]);\n\n return <>{ReactDom.createPortal(Component, document.body)};\n}\n\nEditorModal.defaultProps = {\n readOnly: false,\n onDone: undefined,\n};\n\nexport default EditorModal;\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 styled, { css } from 'styled-components';\n\nimport { SourceCodeEditor, Icon } from 'components/common';\n\nimport Preview from './Preview';\nimport EditorModal from './EditorModal';\n\nconst TabsRow = styled.div`\n position: relative;\n bottom: -1px;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n gap: 5px;\n padding: 0 8px;\n z-index: 1;\n`;\n\nconst Tab = styled.div<{ $active?: boolean }>`\n padding: 4px 8px;\n border: none;\n border-bottom: 1px solid ${({ theme }) => theme.colors.input.border};\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n background-color: ${({ theme }) => theme.colors.global.contentBackground};\n color: ${({ theme, $active }) => ($active ? theme.colors.global.textDefault : theme.colors.input.placeholder)};\n cursor: pointer;\n\n ${({ $active }) => $active && css`\n border: 1px solid ${({ theme }) => theme.colors.input.border};\n border-bottom-color: ${({ theme }) => theme.colors.global.contentBackground};\n `}\n`;\n\nconst EditorStyles = styled.div`\n & .ace_editor {\n border-color: ${({ theme }) => theme.colors.input.border} !important;\n }\n\n & .ace_cursor {\n border-color: ${({ theme }) => theme.colors.global.textDefault};\n }\n`;\n\nconst ExpandIcon = styled(Icon)`\n position: absolute;\n bottom: 0;\n right: 0;\n padding: 8px;\n cursor: pointer;\n color: ${({ theme }) => theme.colors.input.placeholder};\n z-index: 10;\n\n &:hover {\n color: ${({ theme }) => theme.colors.global.textDefault};\n }\n`;\n\ntype Props = {\n id?: string;\n value: string;\n height: number;\n readOnly?: boolean;\n onChange: (note: string) => void;\n onFullMode?: (fullMode: boolean) => void;\n}\n\nfunction Editor({ id, value, height, readOnly, onChange, onFullMode }: Props) {\n const [localValue, setLocalValue] = React.useState(value);\n const [showPreview, setShowPreview] = React.useState(false);\n const [fullView, setFullView] = React.useState(false);\n\n React.useEffect(() => setLocalValue(value), [value]);\n\n const handleOnFullMode = (fullMode: boolean) => {\n setFullView(fullMode);\n if (onFullMode) onFullMode(fullMode);\n };\n\n const handleOnChange = (newValue: string) => {\n setLocalValue(newValue);\n onChange(newValue);\n };\n\n return (\n <>\n
\n \n setShowPreview(false)}>Edit\n setShowPreview(true)}>Preview\n \n {!showPreview && (\n \n \n \n )}\n \n handleOnFullMode(true)} />\n
\n {fullView && (\n handleOnFullMode(false)} />\n )}\n \n );\n}\n\nEditor.defaultProps = {\n id: undefined,\n readOnly: false,\n onFullMode: undefined,\n};\n\nexport default Editor;\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 styled, { css } from 'styled-components';\n\nimport { Button, ButtonToolbar } from 'components/bootstrap';\nimport { LinkContainer } from 'components/common/router';\nimport { IfPermitted } from 'components/common';\nimport NavItemStateIndicator, {\n hoverIndicatorStyles,\n activeIndicatorStyles,\n} from 'components/common/NavItemStateIndicator';\n\nconst Container = styled(ButtonToolbar)`\n margin-bottom: 10px;\n`;\n\nconst StyledButton = styled(Button)(({ theme }) => css`\n font-family: ${theme.fonts.family.navigation};\n font-size: ${theme.fonts.size.navigation};\n color: ${theme.colors.variant.darker.default};\n \n &:hover,\n &:focus {\n background: inherit;\n text-decoration: none;\n }\n\n &:hover {\n color: inherit;\n ${hoverIndicatorStyles(theme)}\n }\n\n &.active {\n color: ${theme.colors.global.textDefault};\n\n ${activeIndicatorStyles(theme)}\n\n &:hover,\n &:focus {\n ${activeIndicatorStyles(theme)}\n }\n`);\n\nStyledButton.displayName = 'Button';\n\ntype Props = {\n /**\n * List of nav items. Define permissions, if the item should only be displayed for users with specific permissions.\n * By default, an item is active if the current URL starts with the item URL.\n * If you only want to display an item as active only when its path matches exactly, set `exactPathMatch` to true.\n */\n items: Array<{\n title: string,\n path: string,\n permissions?: string | Array\n exactPathMatch?: boolean,\n }>\n}\n\n/**\n * Simple tab navigation to allow navigating to subareas of a page.\n */\nconst PageNavigation = ({ items }: Props) => (\n \n {items.map(({ path, title, permissions, exactPathMatch }) => {\n if (!path) {\n return null;\n }\n\n return (\n \n \n \n \n {title}\n \n \n \n \n );\n })}\n \n);\n\nexport default PageNavigation;\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 type { Sort } from 'stores/PaginationTypes';\n\nexport const SYSTEM_EVENT_DEFINITION_TYPE = 'system-notifications-v1';\n\nexport const ENTITY_TABLE_ID = 'event_definitions';\nexport const DEFAULT_LAYOUT = {\n pageSize: 20,\n sort: { attributeId: 'title', direction: 'asc' } as Sort,\n displayedColumns: ['title', 'description', 'priority', 'scheduling', 'status', 'matched_at'],\n columnsOrder: ['title', 'description', 'priority', 'matched_at', 'status', 'scheduling'],\n};\n\nexport const ADDITIONAL_ATTRIBUTES = [\n { id: 'scheduling', title: 'Scheduling', sortable: false },\n { id: 'matched_at', title: 'Last Matched', sortable: true },\n];\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 { Alert, Col, Row } from 'components/bootstrap';\n\nimport commonStyles from '../common/commonStyles.css';\n\ntype Props = {\n validation: {\n errors: {\n [name: string]: any\n }\n },\n}\n\nconst EventDefinitionValidationSummary = ({ validation }: Props) => {\n const fieldsWithErrors = Object.keys(validation.errors);\n\n if (fieldsWithErrors.length === 0) {\n return null;\n }\n\n return (\n \n \n \n

Please correct the following errors before saving this Event Definition:

\n
    \n {fieldsWithErrors.map((field) => validation.errors[field].map((error) => {\n const effectiveError = (field === 'config' ? error.replace('config', 'condition') : error);\n\n return
  • {effectiveError}
  • ;\n }))}\n
\n
\n \n
\n );\n};\n\nEventDefinitionValidationSummary.propTypes = {\n validation: PropTypes.object,\n};\n\nEventDefinitionValidationSummary.defaultProps = {\n validation: {\n errors: [],\n },\n};\n\nexport default EventDefinitionValidationSummary;\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[4].use[1]!./EventDefinitionSummary.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[4].use[1]!./EventDefinitionSummary.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 * as React from 'react';\nimport { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport upperFirst from 'lodash/upperFirst';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\nimport moment from 'moment';\n\nimport 'moment-duration-format';\nimport { defaultCompare as naturalSort } from 'logic/DefaultCompare';\nimport { MarkdownPreview } from 'components/common/MarkdownEditor';\nimport { Alert, Col, Row } from 'components/bootstrap';\nimport { isPermitted } from 'util/PermissionsMixin';\nimport EventDefinitionPriorityEnum from 'logic/alerts/EventDefinitionPriorityEnum';\nimport type User from 'logic/users/User';\n\nimport EventDefinitionValidationSummary from './EventDefinitionValidationSummary';\nimport styles from './EventDefinitionSummary.css';\n\nimport type { EventDefinition } from '../event-definitions-types';\nimport commonStyles from '../common/commonStyles.css';\nimport { SYSTEM_EVENT_DEFINITION_TYPE } from '../constants';\n\ntype Props = {\n eventDefinition: Omit,\n notifications: Array,\n validation: {\n errors: {\n title?: string,\n }\n },\n currentUser: User,\n}\n\nconst EventDefinitionSummary = ({ eventDefinition, notifications, validation, currentUser }: Props) => {\n const [showValidation, setShowValidation] = useState(false);\n\n useEffect(() => {\n const flipShowValidation = () => {\n if (!showValidation) {\n setShowValidation(true);\n }\n };\n\n flipShowValidation();\n }, [showValidation, setShowValidation]);\n\n const renderDetails = () => (\n <>\n

Details

\n
\n
Title
\n
{eventDefinition.title || 'No title given'}
\n
Description
\n
{eventDefinition.description || 'No description given'}
\n
Priority
\n
{upperFirst(EventDefinitionPriorityEnum.properties[eventDefinition.priority].name)}
\n
Remediation Steps
\n
\n \n
\n
\n \n );\n\n const getPlugin = (name, type) => {\n if (type === undefined) {\n return {};\n }\n\n return PluginStore.exports(name).find((edt) => edt.type === type) || {};\n };\n\n const renderCondition = (config) => {\n const conditionPlugin = getPlugin('eventDefinitionTypes', config.type);\n const component = (conditionPlugin.summaryComponent\n ? React.createElement(conditionPlugin.summaryComponent, {\n config,\n currentUser,\n })\n :

Condition plugin {config.type} does not provide a summary.

\n );\n\n return (\n <>\n

{conditionPlugin.displayName || config.type}

\n {component}\n \n );\n };\n\n const renderField = (fieldName, config, keys) => {\n if (!config.providers || config.providers.length === 0) {\n return No field value provider configured.;\n }\n\n const provider = config.providers[0] || {};\n const fieldProviderPlugin = getPlugin('fieldValueProviders', provider.type);\n\n return (fieldProviderPlugin.summaryComponent\n ? React.createElement(fieldProviderPlugin.summaryComponent, {\n fieldName,\n config,\n keys: keys,\n key: fieldName,\n currentUser,\n })\n :

Provider plugin {provider.type} does not provide a summary.

\n );\n };\n\n const renderFieldList = (fieldNames, fields, keys) => (\n <>\n
\n
Keys
\n
{keys.length > 0 ? keys.join(', ') : 'No Keys configured for Events based on this Definition.'}
\n
\n {fieldNames.sort(naturalSort).map((fieldName) => renderField(fieldName, fields[fieldName], keys))}\n \n );\n\n const renderFields = (fields, keys) => {\n const fieldNames = Object.keys(fields);\n\n return (\n <>\n

Fields

\n {fieldNames.length === 0\n ?

No Fields configured for Events based on this Definition.

\n : renderFieldList(fieldNames, fields, keys)}\n \n );\n };\n\n const renderNotification = (definitionNotification) => {\n const notification = notifications.find((n) => n.id === definitionNotification.notification_id);\n\n let content;\n\n if (notification) {\n const notificationPlugin = getPlugin('eventNotificationTypes', notification.config.type);\n\n content = (notificationPlugin.summaryComponent\n ? React.createElement(notificationPlugin.summaryComponent, {\n type: notificationPlugin.displayName,\n notification: notification,\n definitionNotification: definitionNotification,\n })\n :

Notification plugin {notification.config.type} does not provide a summary.

\n );\n } else {\n content = (\n

\n Could not find information for Notification {definitionNotification.notification_id}.\n

\n );\n }\n\n return (\n \n {content}\n \n );\n };\n\n const renderNotificationSettings = (notificationSettings) => {\n const formattedDuration = moment.duration(notificationSettings.grace_period_ms)\n .format('d [days] h [hours] m [minutes] s [seconds]', { trim: 'all' });\n\n const formattedGracePeriod = (notificationSettings.grace_period_ms\n ? `Grace Period is set to ${formattedDuration}`\n : 'Grace Period is disabled');\n\n const formattedBacklogSize = (notificationSettings.backlog_size\n ? `Notifications will include ${notificationSettings.backlog_size} messages`\n : 'Notifications will not include any messages.');\n\n return (\n <>\n

Settings

\n
\n
{formattedGracePeriod}
\n
{formattedBacklogSize}
\n
\n \n );\n };\n\n const renderNotifications = (definitionNotifications, notificationSettings) => {\n const effectiveDefinitionNotifications = definitionNotifications\n .filter((n) => isPermitted(currentUser.permissions, `eventnotifications:read:${n.notification_id}`));\n const notificationsWithMissingPermissions = definitionNotifications\n .filter((n) => !effectiveDefinitionNotifications.map((nObj) => nObj.notification_id).includes(n.notification_id));\n const warning = notificationsWithMissingPermissions.length > 0\n ? (\n \n Missing Notifications Permissions for:
\n {notificationsWithMissingPermissions.map((n) => n.notification_id).join(', ')}\n
\n )\n : null;\n\n return (\n <>\n

Notifications

\n

\n {warning}\n

\n {effectiveDefinitionNotifications.length === 0 && notificationsWithMissingPermissions.length <= 0\n ?

This Event is not configured to trigger any Notifications.

\n : (\n <>\n {renderNotificationSettings(notificationSettings)}\n {definitionNotifications.map(renderNotification)}\n \n )}\n \n );\n };\n\n const isSystemEventDefinition = eventDefinition.config.type === SYSTEM_EVENT_DEFINITION_TYPE;\n\n return (\n \n \n

Event Summary

\n {showValidation && }\n \n \n {renderDetails()}\n \n\n {!isSystemEventDefinition && (\n \n {renderCondition(eventDefinition.config)}\n \n )}\n \n \n {!isSystemEventDefinition && (\n \n {renderFields(eventDefinition.field_spec, eventDefinition.key_spec)}\n \n )}\n \n {renderNotifications(eventDefinition.notifications, eventDefinition.notification_settings)}\n \n \n \n
\n );\n};\n\nEventDefinitionSummary.propTypes = {\n eventDefinition: PropTypes.object.isRequired,\n notifications: PropTypes.array.isRequired,\n validation: PropTypes.object,\n currentUser: PropTypes.object.isRequired,\n};\n\nEventDefinitionSummary.defaultProps = {\n validation: undefined,\n};\n\nexport default EventDefinitionSummary;\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';\n\nimport PageNavigation from 'components/common/PageNavigation';\nimport Routes from 'routing/Routes';\nimport { Row } from 'components/bootstrap';\n\nconst NAV_ITEMS = [\n { title: 'Alerts & Events', path: Routes.ALERTS.LIST, exactPathMatch: true },\n { title: 'Event Definitions', path: Routes.ALERTS.DEFINITIONS.LIST },\n { title: 'Notifications', path: Routes.ALERTS.NOTIFICATIONS.LIST },\n];\n\nconst EventsPageNavigation = () => (\n \n \n \n);\n\nexport default EventsPageNavigation;\n"],"names":["___CSS_LOADER_EXPORT___","module","Backdrop","Content","theme","CloseIcon","Row","PreviewModal","value","show","onClose","height","setHeight","contentHeight","Component","e","Container","$noBackground","$noBorder","$height","ExpandIcon","MarkdownStyles","Preview","withFullView","noBackground","noBorder","fullView","setFullView","EditorWrapper","EditorModal","readOnly","onChange","onDone","localValue","setLocalValue","handleOnChange","newValue","handleOnDone","TabsRow","Tab","$active","EditorStyles","Editor","id","onFullMode","showPreview","setShowPreview","handleOnFullMode","fullMode","StyledButton","items","path","title","permissions","exactPathMatch","SYSTEM_EVENT_DEFINITION_TYPE","ENTITY_TABLE_ID","DEFAULT_LAYOUT","ADDITIONAL_ATTRIBUTES","EventDefinitionValidationSummary","validation","fieldsWithErrors","commonStyles","field","error","effectiveError","options","update","eventDefinition","notifications","currentUser","showValidation","setShowValidation","renderDetails","EventDefinitionPriorityEnum","getPlugin","name","type","edt","renderCondition","config","conditionPlugin","component","renderField","fieldName","keys","provider","fieldProviderPlugin","renderFieldList","fieldNames","fields","renderFields","renderNotification","definitionNotification","notification","n","content","notificationPlugin","renderNotificationSettings","notificationSettings","formattedDuration","formattedGracePeriod","formattedBacklogSize","renderNotifications","definitionNotifications","effectiveDefinitionNotifications","notificationsWithMissingPermissions","nObj","warning","isSystemEventDefinition","NAV_ITEMS"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy