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

web-interface.assets.bb8c8232-6580.a3571135bc30cbf98b5f.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"file":"bb8c8232-6580.a3571135bc30cbf98b5f.js","mappings":"6NAGIA,EAA0B,IAA4B,GAAqC,EAE/FA,EAAwB,KAAK,CAACC,GAAO,GAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAgBrC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,+CAA+C,EAAE,MAAQ,CAAC,EAAE,SAAW,6GAA6G,eAAiB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAqT,EAAE,WAAa,EAAE,CAAC,CAAC,EAE7iBD,EAAwB,OAAS,CAChC,gBAAmB,sBACpB,EACA,QAAeA,C,6FCvBXA,EAA0B,IAA4B,GAAqC,EAE/FA,EAAwB,KAAK,CAACC,GAAO,GAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAsBrC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,6DAA6D,EAAE,MAAQ,CAAC,EAAE,SAAW,wIAAwI,eAAiB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAA+U,EAAE,WAAa,EAAE,CAAC,CAAC,EAEhnBD,EAAwB,OAAS,CAChC,aAAgB,uBAChB,kBAAqB,uBACrB,yBAA4B,uBAC5B,UAAa,uBACb,gBAAmB,uBACnB,uBAA0B,sBAC3B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CAAO,CAChD,EACA,oBAAoB8L,EAAY,CAC9B,MAAMjB,KAAM,MAAW,IAAU,gBAAgB,cAAc,EAAE,GAAG,EAC9D7K,KAAU,MAAM,MAAO6K,EAAKiB,CAAU,EAE5C9L,EAAQ,KACL8K,GAAa,CACZ,KAAK,cAAgBA,EACrB,KAAK,QAAQ,CAAE,MAAO,KAAK,MAAO,oBAAqB,KAAK,oBAAqB,cAAe,KAAK,aAAc,CAAC,EACpH,IAAiB,QAAQ,0CAA0C,CACrE,EACCzR,GAAU,CACT,IAAiB,MAAM,wCAAwCA,EAAM,OAAO,GAAI,qCAAqC,CACvH,CACF,EAEAkS,EAAa,oBAAoB,QAAQvL,CAAO,CAClD,CACF,CAAC,CACH,C","sources":["webpack://graylog-web-interface/./src/components/rules/RuleForm.css","webpack://graylog-web-interface/./src/components/rules/rule-helper/RuleHelper.css","webpack://graylog-web-interface/./src/components/common/OverlayDropdownButton.tsx","webpack://graylog-web-interface/./src/components/common/PageNavigation.tsx","webpack://graylog-web-interface/./src/components/pipelines/PipelinesPageNavigation.tsx","webpack://graylog-web-interface/./src/components/search/MessageFieldExtractorActions.jsx","webpack://graylog-web-interface/./src/components/search/MessageFieldDescription.jsx","webpack://graylog-web-interface/./src/components/search/MessageField.jsx","webpack://graylog-web-interface/./src/components/search/MessageFields.jsx","webpack://graylog-web-interface/./src/components/search/MessageDetail.jsx","webpack://graylog-web-interface/./src/components/search/MessageShow.jsx","webpack://graylog-web-interface/./src/hooks/useRuleBuilder.ts","webpack://graylog-web-interface/./src/components/rules/rule-builder/RuleBuilderContext.tsx","webpack://graylog-web-interface/./src/components/rules/rule-builder/RuleBuilderProvider.tsx","webpack://graylog-web-interface/./src/components/rules/rule-builder/types.ts","webpack://graylog-web-interface/./src/components/rules/rule-builder/RuleBlockDisplay.tsx","webpack://graylog-web-interface/./src/components/rules/rule-builder/RuleBlockFormField.tsx","webpack://graylog-web-interface/./src/components/rules/rule-builder/Errors.tsx","webpack://graylog-web-interface/./src/components/rules/rule-helper/RuleHelper.css?dd02","webpack://graylog-web-interface/./src/components/rules/rule-helper/helpers.ts","webpack://graylog-web-interface/./src/components/rules/rule-helper/RulerHelperTable.tsx","webpack://graylog-web-interface/./src/components/rules/rule-builder/RuleBlockForm.tsx","webpack://graylog-web-interface/./src/components/rules/rule-builder/helpers.ts","webpack://graylog-web-interface/./src/components/rules/rule-builder/RuleBuilderBlock.tsx","webpack://graylog-web-interface/./src/components/rules/RuleContext.tsx","webpack://graylog-web-interface/./src/components/rules/RuleForm.css?ba25","webpack://graylog-web-interface/./src/components/rules/PipelinesUsingRule.jsx","webpack://graylog-web-interface/./src/components/rules/rule-builder/RuleBuilderForm.tsx","webpack://graylog-web-interface/./src/components/rules/rule-builder/ConvertToSourceCodeModal.tsx","webpack://graylog-web-interface/./src/components/rules/RuleSimulation.tsx","webpack://graylog-web-interface/./src/components/rules/rule-builder/RuleBuilder.tsx","webpack://graylog-web-interface/./src/components/rules/RuleForm.tsx","webpack://graylog-web-interface/./src/components/rules/rule-helper/RuleHelper.tsx","webpack://graylog-web-interface/./src/components/rules/Rule.tsx","webpack://graylog-web-interface/./src/pages/RuleDetailsPage.tsx","webpack://graylog-web-interface/./src/stores/pipelines/PipelinesStore.ts","webpack://graylog-web-interface/./src/stores/rules/RulesStore.ts"],"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, `.hxxn_4IgOk3oqslCoAdQ {\n    margin: 0;\n    padding: 0;\n}\n\n.hxxn_4IgOk3oqslCoAdQ li:not(:last-child) {\n    float: left;\n}\n\n.hxxn_4IgOk3oqslCoAdQ li:not(:last-child):after {\n    content: ',';\n    margin-right: 5px;\n}\n\n.hxxn_4IgOk3oqslCoAdQ li:last-child:after {\n    content: '.';\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/rules/RuleForm.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,SAAS;IACT,UAAU;AACd;;AAEA;IACI,WAAW;AACf;;AAEA;IACI,YAAY;IACZ,iBAAiB;AACrB;;AAEA;IACI,YAAY;AAChB\",\"sourcesContent\":[\":local(.usedInPipelines) {\\n    margin: 0;\\n    padding: 0;\\n}\\n\\n:local(.usedInPipelines li:not(:last-child)) {\\n    float: left;\\n}\\n\\n:local(.usedInPipelines li:not(:last-child):after) {\\n    content: ',';\\n    margin-right: 5px;\\n}\\n\\n:local(.usedInPipelines li:last-child:after) {\\n    content: '.';\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"usedInPipelines\": `hxxn_4IgOk3oqslCoAdQ`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// 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, `.GK5Fq9huwx0guzXrFmik {\n    cursor: pointer;\n}\n\n.TzEAPhf4Re6KmSyAYQ1d {\n    width: 300px;\n}\n\n.g4E3NZFXSWkM7c1h9LO9 {\n    margin-top: 5px;\n}\n\n.pJ8c7V4hX4P_StB2BSDe {\n    margin-top: 10px;\n}\n\n.A0hFOwg_AvLq3l3F0WWj {\n    white-space: pre-wrap;\n}\n\n.kuhUyffF6SE7SPLOqMeP {\n    width: 1%;\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/rules/rule-helper/RuleHelper.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,eAAe;AACnB;;AAEA;IACI,YAAY;AAChB;;AAEA;IACI,eAAe;AACnB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,qBAAqB;AACzB;;AAEA;IACI,SAAS;AACb\",\"sourcesContent\":[\":local(.clickableRow) {\\n    cursor: pointer;\\n}\\n\\n:local(.functionTableCell) {\\n    width: 300px;\\n}\\n\\n:local(.marginQuickReferenceText) {\\n    margin-top: 5px;\\n}\\n\\n:local(.marginTab) {\\n    margin-top: 10px;\\n}\\n\\n:local(.exampleFunction) {\\n    white-space: pre-wrap;\\n}\\n\\n:local(.adjustedTableCellWidth) {\\n    width: 1%;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"clickableRow\": `GK5Fq9huwx0guzXrFmik`,\n\t\"functionTableCell\": `TzEAPhf4Re6KmSyAYQ1d`,\n\t\"marginQuickReferenceText\": `g4E3NZFXSWkM7c1h9LO9`,\n\t\"marginTab\": `pJ8c7V4hX4P_StB2BSDe`,\n\t\"exampleFunction\": `A0hFOwg_AvLq3l3F0WWj`,\n\t\"adjustedTableCellWidth\": `kuhUyffF6SE7SPLOqMeP`\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 { useState } from 'react';\n\nimport Button from 'components/bootstrap/Button';\nimport OverlayDropdown from 'components/common/OverlayDropdown';\nimport type { BsSize } from 'components/bootstrap/types';\nimport { Icon } from 'components/common/index';\n\ntype Props = {\n  alwaysShowCaret?: boolean,\n  bsSize?: BsSize,\n  buttonTitle?: string,\n  children: React.ReactNode | ((payload: { toggleDropdown: () => void }) => React.ReactNode),\n  closeOnSelect?: boolean,\n  disabled?: boolean\n  dropdownZIndex?: number,\n  onToggle?: (isOpen: boolean) => void,\n  title: React.ReactNode,\n};\n\n/**\n * This component is an alternative to the `DropdownButton` component and displays the dropdown in a portal.\n */\nconst OverlayDropdownButton = ({\n  alwaysShowCaret,\n  bsSize,\n  buttonTitle,\n  children,\n  closeOnSelect,\n  disabled,\n  dropdownZIndex,\n  onToggle: onToggleProp,\n  title,\n}: Props) => {\n  const [show, setShowDropdown] = useState(false);\n\n  const _onToggle = () => {\n    if (typeof onToggleProp === 'function') {\n      onToggleProp(!show);\n    }\n\n    setShowDropdown((cur) => !cur);\n  };\n\n  return (\n    \n                         \n                       
\n )}\n placement=\"bottom\"\n onToggle={_onToggle}>\n {typeof children === 'function' ? children({ toggleDropdown: _onToggle }) : children}\n \n );\n};\n\nOverlayDropdownButton.defaultProps = {\n alwaysShowCaret: false,\n bsSize: undefined,\n buttonTitle: undefined,\n closeOnSelect: true,\n disabled: false,\n dropdownZIndex: undefined,\n onToggle: undefined,\n};\n\nexport default OverlayDropdownButton;\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 * 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: 'Manage pipelines', path: Routes.SYSTEM.PIPELINES.OVERVIEW, exactPathMatch: true },\n { title: 'Manage rules', path: Routes.SYSTEM.PIPELINES.RULES },\n { title: 'Simulator', path: Routes.SYSTEM.PIPELINES.SIMULATOR },\n];\n\nconst EventsPageNavigation = () => (\n \n \n \n);\n\nexport default EventsPageNavigation;\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';\n\nimport { LinkContainer } from 'components/common/router';\nimport { DropdownButton, MenuItem } from 'components/bootstrap';\nimport ExtractorUtils from 'util/ExtractorUtils';\n\nclass MessageFieldExtractorActions extends React.Component {\n static propTypes = {\n fieldName: PropTypes.string.isRequired,\n message: PropTypes.object.isRequired,\n };\n\n UNSAFE_componentWillMount() {\n this._refreshExtractorRoutes(this.props);\n }\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n this._refreshExtractorRoutes(nextProps);\n }\n\n _refreshExtractorRoutes = (props) => {\n this.newExtractorRoutes = ExtractorUtils.getNewExtractorRoutes(props.message.source_node_id,\n props.message.source_input_id,\n props.fieldName,\n props.message.index,\n props.message.id);\n };\n\n _formatExtractorMenuItem = (extractorType) => (\n \n \n {ExtractorUtils.getReadableExtractorTypeName(extractorType)}\n \n \n );\n\n render() {\n const { fieldName, message } = this.props;\n const messageField = message.fields[fieldName];\n\n if (typeof messageField === 'string') {\n return (\n
\n \n {ExtractorUtils.EXTRACTOR_TYPES.map((extractorType) => this._formatExtractorMenuItem(extractorType))}\n \n
\n );\n }\n\n return (\n
\n \n \n Extractors can only be used with string fields.\n \n \n
\n );\n }\n}\n\nexport default MessageFieldExtractorActions;\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 Immutable from 'immutable';\nimport styled, { css } from 'styled-components';\n\nimport { Alert } from 'components/bootstrap';\nimport { FULL_MESSAGE_FIELD, MESSAGE_FIELD } from 'views/Constants';\n\nconst MessageTerms = styled.span(({ theme }) => css`\n margin-right: 8px;\n font-family: ${theme.fonts.family.monospace};\n`);\n\nclass MessageFieldDescription extends React.Component {\n static propTypes = {\n message: PropTypes.object.isRequired,\n fieldName: PropTypes.string.isRequired,\n renderForDisplay: PropTypes.func.isRequired,\n customFieldActions: PropTypes.node,\n };\n\n static defaultProps = {\n customFieldActions: undefined,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n messageTerms: Immutable.List(),\n };\n }\n\n _shouldShowTerms = () => {\n const { messageTerms } = this.state;\n\n return messageTerms.size !== 0;\n };\n\n _getFormattedTerms = () => {\n const { messageTerms } = this.state;\n\n return messageTerms.map((term) => {term});\n };\n\n _getFormattedFieldActions = () => {\n const { customFieldActions, fieldName, message } = this.props;\n\n return customFieldActions ? React.cloneElement(customFieldActions, { fieldName, message }) : null;\n };\n\n render() {\n const { fieldName, renderForDisplay } = this.props;\n const className = fieldName === MESSAGE_FIELD || fieldName === FULL_MESSAGE_FIELD ? 'message-field' : '';\n\n return (\n
\n {this._getFormattedFieldActions()}\n
{renderForDisplay(fieldName)}
\n {this._shouldShowTerms()\n && (\n this.setState({ messageTerms: Immutable.Map() })}>\n Field terms:  {this._getFormattedTerms()}\n \n )}\n
\n );\n }\n}\n\nexport default MessageFieldDescription;\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';\n\nimport { MessageFieldDescription } from 'components/search';\nimport { FULL_MESSAGE_FIELD } from 'views/Constants';\n\nconst SPECIAL_FIELDS = [FULL_MESSAGE_FIELD, 'level'];\n\nconst MessageField = ({ message, value, fieldName, customFieldActions, renderForDisplay }) => {\n const innerValue = SPECIAL_FIELDS.indexOf(fieldName) !== -1 ? message.fields[fieldName] : value;\n\n return (\n \n
{fieldName}
\n \n
\n );\n};\n\nMessageField.propTypes = {\n customFieldActions: PropTypes.node,\n fieldName: PropTypes.string.isRequired,\n message: PropTypes.object.isRequired,\n renderForDisplay: PropTypes.func.isRequired,\n value: PropTypes.any.isRequired,\n};\n\nMessageField.defaultProps = {\n customFieldActions: undefined,\n};\n\nexport default MessageField;\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';\n\nimport { MessageField } from 'components/search';\nimport { MessageDetailsDefinitionList } from 'components/common';\n\nclass MessageFields extends React.Component {\n static propTypes = {\n customFieldActions: PropTypes.node,\n message: PropTypes.object.isRequired,\n renderForDisplay: PropTypes.func.isRequired,\n };\n\n static defaultProps = {\n customFieldActions: undefined,\n };\n\n _formatFields = (fields) => Object.keys(fields)\n .sort()\n .map((key) => (\n \n ));\n\n render() {\n const { message } = this.props;\n // eslint-disable-next-line no-unused-vars\n const { _id, ...formatted_fields } = message.fields;\n const formattedFields = message.formatted_fields || formatted_fields;\n const fields = this._formatFields(formattedFields);\n\n return (\n \n {fields}\n \n );\n }\n}\n\nexport default MessageFields;\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 Immutable from 'immutable';\n\nimport { Link } from 'components/common/router';\nimport { MessageDetailsDefinitionList, ClipboardButton, Icon, Timestamp } from 'components/common';\nimport { Button, ButtonGroup, Col, Label, Row } from 'components/bootstrap';\nimport StreamLink from 'components/streams/StreamLink';\nimport MessageFields from 'components/search/MessageFields';\nimport MessageDetailsTitle from 'components/search/MessageDetailsTitle';\nimport Routes from 'routing/Routes';\nimport AppConfig from 'util/AppConfig';\n\nclass MessageDetail extends React.Component {\n static propTypes = {\n renderForDisplay: PropTypes.func.isRequired,\n inputs: PropTypes.object,\n nodes: PropTypes.object,\n message: PropTypes.object.isRequired,\n streams: PropTypes.object,\n customFieldActions: PropTypes.node,\n };\n\n static defaultProps = {\n inputs: undefined,\n nodes: undefined,\n streams: undefined,\n customFieldActions: undefined,\n };\n\n _inputName = (inputId) => {\n const { inputs } = this.props;\n const input = inputs.get(inputId);\n\n return input ? {input.title} : 'deleted input';\n };\n\n _nodeName = (nodeId) => {\n const { nodes } = this.props;\n const node = nodes.get(nodeId);\n let nodeInformation;\n\n if (node) {\n const nodeURL = Routes.node(nodeId);\n\n const nodeContent = (\n <>\n \n  \n {node.short_node_id} / \n {node.hostname}\n \n );\n\n nodeInformation = AppConfig.isCloud()\n ? nodeContent\n : {nodeContent};\n } else {\n nodeInformation = stopped node;\n }\n\n return nodeInformation;\n };\n\n _formatMessageActions = () => {\n const { message, customFieldActions } = this.props;\n\n if (!customFieldActions) {\n return ;\n }\n\n const messageUrl = message.index ? Routes.message_show(message.index, message.id) : '#';\n\n return (\n \n \n\n \n \n );\n };\n\n _getStreamLinks = (streamIds) => {\n const { streams, message } = this.props;\n\n if (message.streams) {\n return message.streams.map((stream) => (
  • ));\n }\n\n const _streams = streamIds.map((id) => {\n const stream = streams.get(id);\n\n if (stream !== undefined) {\n return
  • ;\n }\n\n return null;\n });\n\n return _streams;\n };\n\n render() {\n const { renderForDisplay, nodes, message, customFieldActions } = this.props;\n const streamIds = Immutable.Set(message.stream_ids);\n const streamLinks = this._getStreamLinks(streamIds);\n\n // Legacy\n const viaRadio = message.source_radio_id\n ? (\n \n via {this._inputName(message.source_radio_input_id)} on\n radio {this._nodeName(message.source_radio_id)}\n \n )\n : null;\n\n const rawTimestamp = message.fields.timestamp;\n const timestamp = [\n
    Timestamp
    ,\n
    ,\n ];\n\n const receivedBy = message.source_input_id && message.source_node_id && nodes\n ? (\n
    \n
    Received by
    \n
    \n {this._inputName(message.source_input_id)}{' '}\n on {this._nodeName(message.source_node_id)}\n {viaRadio &&
    }\n {viaRadio}\n
    \n
    \n )\n : null;\n\n const messageTitle = message.index\n ? (\n \n {message.id}\n \n )\n : {message.id} ;\n\n return (\n
    \n \n \n {this._formatMessageActions()}\n \n \n  \n {messageTitle}\n \n \n \n \n \n \n {timestamp}\n {receivedBy}\n\n
    Stored in index
    \n
    {message.index ? message.index : 'Message is not stored'}
    \n\n {streamIds.size > 0 &&
    Routed into streams
    }\n {streamIds.size > 0\n && (\n
    \n
      \n {streamLinks}\n
    \n
    \n )}\n
    \n \n \n
    \n \n
    \n \n
    \n
    \n );\n }\n}\n\nexport default MessageDetail;\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 Immutable from 'immutable';\n\nimport { Col, Row } from 'components/bootstrap';\nimport StringUtils from 'util/StringUtils';\n\nimport MessageDetail from './MessageDetail';\n\nclass MessageShow extends React.Component {\n static propTypes = {\n message: PropTypes.object.isRequired,\n inputs: PropTypes.object,\n streams: PropTypes.object,\n nodes: PropTypes.object,\n };\n\n static defaultProps = {\n inputs: undefined,\n nodes: undefined,\n streams: undefined,\n };\n\n constructor(props) {\n super(props);\n\n this.state = this._getImmutableProps(props);\n }\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState(this._getImmutableProps(nextProps));\n }\n\n // eslint-disable-next-line class-methods-use-this\n _getImmutableProps = (props) => ({\n streams: props.streams ? Immutable.Map(props.streams) : props.streams,\n nodes: props.nodes ? Immutable.Map(props.nodes) : props.nodes,\n });\n\n renderForDisplay = (fieldName) => {\n // No highlighting for the message details view.\n const { message } = this.props;\n\n return StringUtils.stringify(message.fields[fieldName]);\n };\n\n render() {\n const { inputs, message } = this.props;\n const { streams, nodes } = this.state;\n\n return (\n \n \n \n \n \n );\n }\n}\n\nexport default MessageShow;\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 { useQuery } from '@tanstack/react-query';\n\nimport UserNotification from 'util/UserNotification';\nimport { qualifyUrl } from 'util/URLUtils';\nimport fetch from 'logic/rest/FetchProvider';\nimport ApiRoutes from 'routing/ApiRoutes';\nimport type { BlockDict, RuleBuilderRule } from 'components/rules/rule-builder/types';\nimport useParams from 'routing/useParams';\n\nexport const saveRuleSourceCode = (sourceCode: string) => {\n sessionStorage.setItem('rule_source_code', sourceCode);\n};\n\nexport const getSavedRuleSourceCode = () => sessionStorage.getItem('rule_source_code');\n\nexport const removeSavedRuleSourceCode = () => {\n sessionStorage.removeItem('rule_source_code');\n};\n\nconst createRule = async (rule: RuleBuilderRule) => {\n try {\n const result = await fetch(\n 'POST',\n qualifyUrl(ApiRoutes.RuleBuilderController.create().url),\n rule,\n );\n\n UserNotification.success(`Rule \"${rule.title}\" created successfully`);\n\n return result;\n } catch (errorThrown) {\n UserNotification.error(`Creating the Rule Builder Rule failed with status: ${errorThrown}`, 'Could not Create the Rule Builder Rule.');\n\n return null;\n }\n};\n\nconst updateRule = async (rule: RuleBuilderRule) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { source, errors, ...ruleToUpdate }: any = rule;\n\n try {\n await fetch(\n 'PUT',\n qualifyUrl(ApiRoutes.RuleBuilderController.update(rule.id).url),\n ruleToUpdate,\n );\n\n UserNotification.success(`Rule \"${rule.title}\" updated successfully`);\n } catch (errorThrown) {\n UserNotification.error(`Updating the Rule Builder Rule failed with status: ${errorThrown}`, 'Could not Update the Rule Builder Rule.');\n }\n};\n\nconst fetchValidateRule = async (rule: RuleBuilderRule): Promise => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { source, ...ruleToValidate }: any = rule;\n\n return fetch(\n 'POST',\n qualifyUrl(ApiRoutes.RuleBuilderController.validate().url),\n ruleToValidate,\n );\n};\n\nconst fetchRule = async (ruleId: string = '') => fetch('GET', qualifyUrl(ApiRoutes.RulesController.get(ruleId).url));\nconst fetchConditionsDict = async () => fetch('GET', qualifyUrl(ApiRoutes.RuleBuilderController.listConditionsDict().url));\nconst fetchActionsDict = async () => fetch('GET', qualifyUrl(ApiRoutes.RuleBuilderController.listActionsDict().url));\n\nconst useRuleBuilder = () => {\n const { ruleId } = useParams();\n const enabled = !(ruleId === 'new');\n\n const { data: rule, refetch: refetchRule, isFetching: isLoadingRule } = useQuery(\n ['rule'],\n () => fetchRule(ruleId),\n {\n enabled,\n onError: (errorThrown) => {\n UserNotification.error(`Loading Rule Builder Rule failed with status: ${errorThrown}`,\n 'Could not load Rule Builder Rule.');\n },\n },\n );\n const { data: conditionsDict, refetch: refetchConditionsDict, isFetching: isLoadingConditionsDict } = useQuery>(\n ['conditions'],\n fetchConditionsDict,\n {\n onError: (errorThrown) => {\n UserNotification.error(`Loading Rule Builder Conditions list failed with status: ${errorThrown}`,\n 'Could not load Rule Builder Conditions list.');\n },\n keepPreviousData: true,\n },\n );\n const { data: actionsDict, refetch: refetchActionsDict, isFetching: isLoadingActionsDict } = useQuery>(\n ['actions'],\n fetchActionsDict,\n {\n onError: (errorThrown) => {\n UserNotification.error(`Loading Rule Builder Actions list failed with status: ${errorThrown}`,\n 'Could not load Rule Builder Actions list.');\n },\n keepPreviousData: true,\n },\n );\n\n return {\n isLoadingRule,\n isLoadingConditionsDict,\n isLoadingActionsDict,\n conditionsDict,\n actionsDict,\n rule: enabled ? rule : null,\n refetchRule,\n refetchConditionsDict,\n refetchActionsDict,\n createRule,\n updateRule,\n fetchValidateRule,\n };\n};\n\nexport default useRuleBuilder;\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 } from 'react';\n\nexport type RuleBuilderContextType = {\n useHighlightedOutput: [\n string,\n React.Dispatch>\n ]\n}\n\nconst RuleBuilderContext = React.createContext(null);\n\nconst useRuleBuilder = (): RuleBuilderContextType => {\n try {\n const context = useContext(RuleBuilderContext);\n\n if (!context) {\n throw new Error('useRuleBuilder must be used within a RuleBuilderProvider');\n }\n\n return context;\n } catch {\n return { useHighlightedOutput: ['', () => {}] };\n }\n};\n\nexport { useRuleBuilder };\nexport default RuleBuilderContext;\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 { useMemo, useState } from 'react';\n\nimport RuleBuilderContext from './RuleBuilderContext';\nimport type { RuleBuilderContextType } from './RuleBuilderContext';\n\ntype Props = {\n children: React.ReactNode,\n};\n\nconst RuleBuilderProvider = ({ children }: Props) => {\n const [highlightedOutput, setHighlightedOutput] = useState(undefined);\n\n const value: RuleBuilderContextType = useMemo(() => ({ useHighlightedOutput: [highlightedOutput, setHighlightedOutput] }), [highlightedOutput]);\n\n return (\n \n {children}\n \n );\n};\n\nexport default RuleBuilderProvider;\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';\n\nexport type BlockType = 'condition' | 'action'\n\nexport interface ObjectWithErrors {\n errors?: Array,\n}\n\nexport type RuleBuilderRule = {\n rule_builder: RuleBuilderType,\n description?: string,\n created_at?: string,\n id?: string,\n source?: string,\n title: string,\n modified_at?: string,\n simulator_message?: string,\n}\n\nexport type RuleBlockField = {\n [key:string]: string | number | boolean\n}\n\nexport interface RuleBlock extends ObjectWithErrors {\n function: string,\n id: string,\n params: RuleBlockField,\n outputvariable?: string,\n negate?: boolean,\n step_title?: string,\n errors?: Array\n}\n\nexport interface RuleBuilderType extends ObjectWithErrors {\n errors?: Array,\n operator?: 'AND'|'OR',\n conditions: Array,\n actions: Array\n}\n\nexport enum RuleBuilderTypes {\n Boolean = 'java.lang.Boolean',\n Message = 'org.graylog2.plugin.Message',\n Number = 'java.lang.Long',\n Object = 'java.lang.Object',\n String = 'java.lang.String',\n Void = 'java.lang.Void',\n DateTime = 'org.joda.time.DateTime',\n DateTimeZone = 'org.joda.time.DateTimeZone',\n DateTimeFormatter = 'org.joda.time.format.DateTimeFormatter'\n}\n\nexport const RULE_BUILDER_TYPES_WITH_OUTPUT = [\n RuleBuilderTypes.Boolean,\n RuleBuilderTypes.Number,\n RuleBuilderTypes.String,\n RuleBuilderTypes.Object,\n RuleBuilderTypes.Message,\n RuleBuilderTypes.DateTime,\n] as const;\n\nexport type BlockFieldDict = {\n type: RuleBuilderTypes,\n transformed_type: RuleBuilderTypes,\n name: string,\n optional: boolean,\n rule_builder_variable: boolean,\n allow_negatives: boolean,\n description: string | null,\n default_value?: unknown,\n}\n\nexport type BlockDict = {\n name: string,\n pure: boolean,\n return_type: RuleBuilderTypes,\n params: Array,\n description: string | null,\n rule_builder_enabled: boolean,\n rule_builder_function_group: string,\n rule_builder_name: string,\n rule_builder_title: string | null\n}\n\nexport type OutputVariables = Array<{\n variableName: string,\n variableType?: RuleBuilderTypes,\n stepOrder: number,\n blockId: string\n}>\n\nexport const outputVariablesPropType = PropTypes.arrayOf(\n PropTypes.shape({\n variableName: PropTypes.string.isRequired,\n variableType: PropTypes.string,\n stepOrder: PropTypes.number.isRequired,\n blockId: PropTypes.string,\n }),\n);\n\nexport const ruleBlockPropType = PropTypes.shape({\n function: PropTypes.string.isRequired,\n params: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool])).isRequired,\n output: PropTypes.string,\n errors: PropTypes.arrayOf(PropTypes.string),\n});\n\nexport const blockDictPropType = PropTypes.shape({\n name: PropTypes.string.isRequired,\n pure: PropTypes.bool.isRequired,\n return_type: PropTypes.string.isRequired,\n params: PropTypes.arrayOf(PropTypes.shape({\n type: PropTypes.string.isRequired,\n transformed_type: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n optional: PropTypes.bool.isRequired,\n rule_builder_variable: PropTypes.bool.isRequired,\n description: PropTypes.string,\n })).isRequired,\n description: PropTypes.string,\n rule_builder_enabled: PropTypes.bool.isRequired,\n rule_builder_title: PropTypes.string,\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, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\n\nimport { Button, Col, Label, Row, MenuItem } from 'components/bootstrap';\nimport { IconButton } from 'components/common';\nimport { MORE_ACTIONS_TITLE, MORE_ACTIONS_HOVER_TITLE } from 'components/common/EntityDataTable/Constants';\nimport OverlayDropdownButton from 'components/common/OverlayDropdownButton';\n\nimport type { BlockType, RuleBlock } from './types';\nimport { ruleBlockPropType, RuleBuilderTypes } from './types';\nimport { useRuleBuilder } from './RuleBuilderContext';\n\ntype Props = {\n block: RuleBlock,\n negatable?: boolean,\n onDelete: () => void,\n onEdit: () => void,\n onNegate: () => void,\n onDuplicate: () => void,\n onInsertAbove: () => void,\n onInsertBelow: () => void,\n returnType?: RuleBuilderTypes,\n type: BlockType,\n}\n\nconst Highlighted = styled.span(({ theme }) => css`\n color: ${theme.colors.variant.info};\n font-weight: bold;\n`);\n\nconst TypeLabel = styled(Label)(({ theme }) => css`\n margin-left: ${theme.spacings.xs};\n`);\n\nconst StyledRow = styled(Row)<{ $hovered: boolean }>(({ theme, $hovered }) => css`\n cursor: pointer;\n display: flex;\n align-items: center;\n margin: 0;\n height: ${theme.spacings.xl};\n background-color: ${$hovered ? theme.colors.table.row.backgroundHover : 'transparent'};\n border-left: solid 1px ${theme.colors.gray[80]};\n`);\n\ntype NegationButtonProps = React.ComponentProps & { $negate: boolean };\nconst NegationButton: React.ComponentType = styled(Button)<{ $negate: boolean }>(({ theme, $negate }) => css`\n opacity: ${$negate ? '1' : '0.3'};\n margin-right: ${theme.spacings.sm};\n`);\n\nconst BlockTitle = styled.h5`\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n`;\n\nconst ErrorMessage = styled.p(({ theme }) => css`\n color: ${theme.colors.variant.danger};\n font-size: 0.75rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n margin: 0;\n`);\n\nconst ActionsContainer = styled.div`\n display: flex;\n align-items: center;\n justify-content: end;\n`;\n\nconst EditIconButton = styled(IconButton)(({ theme }) => css`\n margin-right: ${theme.spacings.xs};\n`);\n\nconst RuleBlockDisplay = ({ block, negatable, onEdit, onDelete, onNegate, onDuplicate, onInsertAbove, onInsertBelow, returnType, type } : Props) => {\n const [showActions, setShowActions] = useState(false);\n const [isDropdownOpen, setIsDropdownOpen] = useState(false);\n const [highlightedOutput, setHighlightedOutput] = useRuleBuilder().useHighlightedOutput;\n\n const handleDropdownToggle = () => {\n setIsDropdownOpen((prev) => !prev);\n setShowActions(!isDropdownOpen);\n };\n\n const readableReturnType = (_type: RuleBuilderTypes): string | undefined => {\n switch (_type) {\n case RuleBuilderTypes.Number:\n return 'Number';\n default:\n return _type?.slice((_type?.lastIndexOf('.') || 0) + 1);\n }\n };\n\n const returnTypeLabel = readableReturnType(returnType);\n\n const highlightedRuleTitle = (termToHighlight: string, title: string = '') => {\n const parts = title.split(/('\\$.*?')/);\n\n const partsWithHighlight = parts.map((part) => {\n if (part === `'$${termToHighlight}'`) {\n return {part};\n }\n\n return part;\n });\n\n return (\n partsWithHighlight.map((item, index) => (\n // eslint-disable-next-line react/no-array-index-key\n \n {item}\n \n )));\n };\n\n const errorMessage = block?.errors?.join(', ');\n\n return (\n setShowActions(true)}\n onMouseLeave={!isDropdownOpen ? () => setShowActions(false) : undefined}\n $hovered={showActions}>\n \n \n \n \n {negatable\n && { e.target.blur(); onNegate(); }}>Not}\n {highlightedOutput ? (\n highlightedRuleTitle(highlightedOutput, block?.step_title)\n ) : block?.step_title}\n {block?.errors?.length > 0 && (\n {errorMessage}\n )}\n \n \n {block?.outputvariable && (\n \n \n {returnTypeLabel && (\n \n {returnTypeLabel}\n \n )}\n \n )}\n \n \n \n {showActions && type === 'condition' && (\n \n \n \n \n )}\n {showActions && type === 'action' && (\n \n \n \n Edit\n {\n onDuplicate();\n handleDropdownToggle();\n }}>\n Duplicate\n \n \n Insert above\n Insert below\n \n Delete\n \n \n )}\n \n \n );\n};\n\nRuleBlockDisplay.propTypes = {\n block: ruleBlockPropType,\n onDelete: PropTypes.func.isRequired,\n onEdit: PropTypes.func.isRequired,\n negatable: PropTypes.bool,\n onNegate: PropTypes.func.isRequired,\n};\n\nRuleBlockDisplay.defaultProps = {\n block: undefined,\n negatable: false,\n returnType: undefined,\n};\n\nexport default RuleBlockDisplay;\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, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { useField } from 'formik';\n\nimport { FormikFormGroup, InputOptionalInfo } from 'components/common';\nimport { Button, ControlLabel } from 'components/bootstrap';\n\nimport { RuleBuilderTypes, outputVariablesPropType } from './types';\nimport type { OutputVariables, BlockFieldDict, BlockType } from './types';\n\ntype Props = {\n param: BlockFieldDict,\n functionName: string,\n blockId: string,\n order: number,\n outputVariableList?: OutputVariables,\n blockType: BlockType,\n resetField: (fieldName: string) => void;\n}\n\nconst SupportedFieldTypes = [RuleBuilderTypes.String, RuleBuilderTypes.Object, RuleBuilderTypes.Number, RuleBuilderTypes.Boolean];\n\nconst RuleBlockFormField = ({ param, functionName, blockId, order, outputVariableList, blockType, resetField }: Props) => {\n const [primaryInputToggle, setPrimaryInputToggle] = useState<'custom' | 'select' | undefined>(undefined);\n const [field, fieldMeta] = useField(param.name);\n\n useEffect(() => {\n setPrimaryInputToggle(undefined);\n }, [functionName]);\n\n const paramValueExists = (paramValue: string | number | boolean | undefined) : boolean => (\n typeof paramValue !== 'undefined' && paramValue !== null);\n\n const paramValueIsVariable = (paramValue: string | number | boolean | undefined) : boolean => (\n typeof paramValue === 'string' && paramValue.startsWith('$'));\n\n const shouldHandlePrimaryParam = () => {\n if (!param.rule_builder_variable) return false;\n if ((order === 0)) return false;\n\n return true;\n };\n\n const validateTextField = (value: string) : string | undefined => {\n if (paramValueExists(value) && paramValueIsVariable(value)) {\n return 'Fields starting with \\'$\\' are not allowed.';\n }\n\n return null;\n };\n\n const onPrimaryInputToggle = (type: 'custom' | 'select') => {\n setPrimaryInputToggle(type);\n resetField(param.name);\n };\n\n const filteredOutputVariableList = () => (\n outputVariableList.filter((outputVariable) => {\n if (outputVariable.blockId === blockId) return false;\n\n if (outputVariable.stepOrder >= order) return false;\n\n if (param.type === RuleBuilderTypes.Object) return true;\n\n return (outputVariable.variableType === param.type);\n }));\n\n const primaryInputButtonAfter = () => {\n if (!shouldHandlePrimaryParam() || filteredOutputVariableList().length <= 0) return null;\n\n return ();\n };\n\n const showOutputVariableSelect = () => {\n if (!shouldHandlePrimaryParam()) return false;\n\n if (filteredOutputVariableList().length <= 0) return false;\n\n if (!SupportedFieldTypes.includes(param.type)) return false;\n\n if (primaryInputToggle === 'select') return true;\n\n if (typeof primaryInputToggle !== 'undefined') return false;\n\n return !fieldMeta.initialValue || fieldMeta.initialValue === '' || paramValueIsVariable(fieldMeta.initialValue);\n };\n\n const labelText = (labelParam: BlockFieldDict): React.ReactElement | string => {\n if (labelParam.optional) {\n return <>{labelParam.name} ;\n }\n\n return labelParam.name;\n };\n\n if (showOutputVariableSelect()) {\n return (\n onPrimaryInputToggle('custom')}>{`Set custom ${param.name}`}}\n help={param.description}\n {...field}>\n \n {filteredOutputVariableList().map(({ variableName, stepOrder }) => (\n ),\n )}\n \n );\n }\n\n const typeNotFoundErrorMessage = `No previous action returns type ${param.type.slice(param.type.lastIndexOf('.') + 1)}`;\n\n switch (param.type) {\n case RuleBuilderTypes.String:\n case RuleBuilderTypes.Object:\n return (\n \n );\n case RuleBuilderTypes.Number:\n return (\n \n\n );\n case RuleBuilderTypes.Boolean:\n return (\n <>\n {labelText(param)}\n \n \n );\n default:\n if (blockType === 'action') {\n return (\n \n \n {filteredOutputVariableList().map(({ variableName, stepOrder }) => (\n ),\n )}\n \n );\n }\n\n return null;\n }\n};\n\nRuleBlockFormField.propTypes = {\n param: PropTypes.shape({\n type: PropTypes.string.isRequired,\n transformed_type: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n optional: PropTypes.bool.isRequired,\n rule_builder_variable: PropTypes.bool.isRequired,\n description: PropTypes.string,\n }).isRequired,\n blockId: PropTypes.string,\n functionName: PropTypes.string.isRequired,\n order: PropTypes.number.isRequired,\n outputVariableList: outputVariablesPropType,\n resetField: PropTypes.func.isRequired,\n};\n\nRuleBlockFormField.defaultProps = {\n blockId: undefined,\n outputVariableList: [],\n};\n\nexport default RuleBlockFormField;\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 styled, { css } from 'styled-components';\nimport PropTypes from 'prop-types';\n\nimport { Col, Row } from 'components/bootstrap';\n\nimport type { ObjectWithErrors } from './types';\n\ntype Props = {\n objectWithErrors: ObjectWithErrors,\n}\n\nconst ErrorsContainer = styled(Row)(({ theme }) => css`\n margin-top: ${theme.spacings.xs};\n`);\n\nconst Error = styled.p(({ theme }) => css`\n color: ${theme.colors.variant.danger};\n margin-top: ${theme.spacings.xs};\n margin-bottom: ${theme.spacings.xs};\n`);\n\nconst Errors = ({ objectWithErrors } : Props) => {\n if (!objectWithErrors) { return null; }\n if (!objectWithErrors.errors) { return null; }\n if (!(objectWithErrors.errors.length > 0)) { return null; }\n\n return (\n \n \n {objectWithErrors?.errors?.map((error) => (\n \n \n {error}\n \n \n ))}\n \n \n );\n};\n\nErrors.propTypes = {\n objectWithErrors: PropTypes.shape({\n errors: PropTypes.arrayOf(PropTypes.string),\n }),\n};\n\nErrors.defaultProps = {\n objectWithErrors: undefined,\n};\n\nexport default Errors;\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]!./RuleHelper.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]!./RuleHelper.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 */\nconst niceType = (typeName) => typeName.replace(/^.*\\.(.*?)$/, '$1');\n\nconst functionSignature = (descriptor) => {\n const args = descriptor.params.map((p) => (p.optional ? `[${p.name}]` : p.name));\n\n return `${descriptor.name}(${args.join(', ')}) : ${niceType(descriptor.return_type)}`;\n};\n\nexport { functionSignature, niceType };\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 { Table } from 'components/bootstrap';\nimport { Icon } from 'components/common';\n\nimport RuleHelperStyle from './RuleHelper.css';\nimport { functionSignature, niceType } from './helpers';\n\nimport { blockDictPropType } from '../rule-builder/types';\nimport type { BlockDict } from '../rule-builder/types';\n\ntype Props = {\n entries: Array,\n expanded?: {[key: string] : boolean},\n onFunctionClick?: (functionName: string) => void\n}\n\nconst RuleHelperTable = ({ entries, expanded, onFunctionClick } : Props) => {\n const parameters = (descriptor: BlockDict) => descriptor.params.map((p) => (\n \n {p.name}\n {niceType(p.type)}\n {p.optional ? null : }\n {p.description}\n \n ));\n\n const renderFunctions = (descriptors: Array) => {\n if (!descriptors) {\n return [];\n }\n\n return descriptors.map((d: BlockDict) => {\n let details = null;\n\n if (expanded[d.name]) {\n details = (\n \n \n \n \n \n \n \n \n \n \n \n \n {parameters(d)}\n \n
    ParameterTypeRequiredDescription
    \n \n \n );\n }\n\n return (\n \n {onFunctionClick ? (\n onFunctionClick(d.name)} className={RuleHelperStyle.clickableRow}>\n {functionSignature(d)}\n {d.description}\n \n ) : (\n \n {functionSignature(d)}\n {d.description}\n \n )}\n {details}\n \n );\n });\n };\n\n return (\n \n \n \n \n \n \n \n {renderFunctions(entries)}\n
    FunctionDescription
    \n );\n};\n\nRuleHelperTable.propTypes = {\n entries: PropTypes.arrayOf(blockDictPropType).isRequired,\n expanded: PropTypes.objectOf(PropTypes.bool),\n onFunctionClick: PropTypes.func,\n};\n\nRuleHelperTable.defaultProps = {\n expanded: {},\n onFunctionClick: undefined,\n};\n\nexport default RuleHelperTable;\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, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Formik } from 'formik';\nimport styled, { css } from 'styled-components';\n\nimport { FormSubmit, Icon, OverlayTrigger, Select, NestedForm } from 'components/common';\nimport { Button, Col, Row } from 'components/bootstrap';\nimport RuleBlockFormField from 'components/rules/rule-builder/RuleBlockFormField';\nimport { getPathnameWithoutId } from 'util/URLUtils';\nimport useLocation from 'routing/useLocation';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\n\nimport Errors from './Errors';\nimport { ruleBlockPropType, blockDictPropType, outputVariablesPropType, RuleBuilderTypes } from './types';\nimport type { BlockType, RuleBlock, BlockDict, BlockFieldDict, OutputVariables } from './types';\n\nimport RuleHelperTable from '../rule-helper/RulerHelperTable';\n\ntype Option = { label: string, value: any, description?: string | null };\n\ntype Props = {\n existingBlock?: RuleBlock,\n onAdd: (values: { [key: string]: any }) => void,\n onCancel: () => void,\n onSelect: (option: string) => void,\n onUpdate: (values: { [key: string]: any }, functionName: string) => void,\n options: Array




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy