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

web-interface.assets.1255d548-4126.ae16095afd6da8fc577d.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"file":"1255d548-4126.ae16095afd6da8fc577d.js","mappings":"0NAGIA,EAA0B,IAA4B,GAAqC,EAE/FA,EAAwB,KAAK,CAACC,EAAO,GAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAOrC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,kEAAkE,EAAE,MAAQ,CAAC,EAAE,SAAW,yCAAyC,eAAiB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAyX,EAAE,WAAa,EAAE,CAAC,CAAC,EAEhkBD,EAAwB,OAAS,CAAC,EAClC,QAAeA,C,4FCZXA,EAA0B,IAA4B,GAAqC,EAE/FA,EAAwB,KAAK,CAACC,EAAO,GAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMtC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,+CAA+C,EAAE,MAAQ,CAAC,EAAE,SAAW,gEAAgE,eAAiB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAyH,EAAE,WAAa,EAAE,CAAC,CAAC,EAEnUD,EAAwB,OAAS,CAChC,QAAW,sBACZ,EACA,QAAeA,C,mKCiBf,MAAME,EAA6B,CAAC,CAAE,cAAAC,EAAe,SAAAC,EAAU,KAAAC,EAAM,OAAAC,CAAO,IAAa,CACvF,KAAM,CAACC,EAAmBC,CAAoB,KAAI,YAASH,CAAI,EAEzDI,EAAiB,OAAM,MAAW,IAAU,uBAAuB,YAAYN,EAAeC,CAAQ,EAAE,GAAG,EAE3GM,EAAa,IAAM,CACvBF,EAAqB,EAAK,EAC1BF,EAAO,CACT,EAEMK,EAAW,qGACXC,EAAa,wBAEnB,OACE,gBAAC,KAAsB,UAAWL,EACX,OAAQG,EACR,OAAO,SAC5B,gBAAC,QAAM,OAAN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AC,MAAG,KACF,gBAAC,UAAG,UAAQ,EACZ,gBAAC,IAAoB,qBAAAhB,EACA,UAAW,KAAK,oBAChB,SAAU,KAAK,kBACf,aAAc,KAAK,sBAAuB,CACjE,CACF,EACA,gBAAC,MAAG,CAAC,UAAW,EAAqB,SACnC,gBAAC,MAAG,KACF,gBAAC,UAAG,eAAa,EACjB,gBAAC,IAAyB,cAAe,KAAK,MAAM,cAC1B,YAAa,KAAK,2BAA4B,CAC1E,CACF,CACF,CACF,EACA,gBAAC,MAAG,CAAC,GAAI,EAAG,UAAU,WACpB,gBAAC+C,EAAA,GAAmB,YAAa/C,EAAqB,YAAYM,CAAe,EAC7D,YAAawC,EAAYxC,CAAe,EACxC,gBAAe,GACf,QAAO,GAAC,CAC9B,CACF,CACF,EACA,gBAAC,yBAAsB,UAAW,KAAK,MAAM,UACtB,MAAM,qDACN,UAAW,KAAK,yBAChB,SAAU,KAAK,iBACpC,gBAAC,EAA4B,CAAC,UAAS,GAAC,SAAU,KAAK,MAAM,kBAAmB,CAClF,CACF,CAEJ,CACF,CAAC,EAED,MAAe0C,GAAA,MAAYC,GAAA,GAAW,EAAmB,CAAC,C,0ECxL1D,QANkDC,GAAiGpE,GAAU,CAC3J,MAAM4D,KAAU,KAAW,EAE3B,OAAO,gBAACQ,EAAA,CAAW,GAAGpE,EAAgB,QAAA4D,CAAA,CAAkB,CAC1D,C,0ECEA,QANiDQ,GAAgGpE,GAAU,CACzJ,MAAMqE,KAAS,aAAU,EAEzB,OAAO,gBAACD,EAAA,CAAW,GAAGpE,EAAgB,OAAAqE,CAAA,CAAgB,CACxD,C","sources":["webpack://graylog-web-interface/./src/components/content-packs/ContentPackVersions.css","webpack://graylog-web-interface/./src/pages/ShowContentPackPage.css","webpack://graylog-web-interface/./src/components/content-packs/ContentPackDownloadControl.tsx","webpack://graylog-web-interface/./src/components/content-packs/ContentPackInstall.jsx","webpack://graylog-web-interface/./src/components/content-packs/components/ContentPackVersionItem.tsx","webpack://graylog-web-interface/./src/components/content-packs/ContentPackVersions.css?df23","webpack://graylog-web-interface/./src/components/content-packs/ContentPackVersions.tsx","webpack://graylog-web-interface/./src/components/content-packs/ContentPackInstallEntityList.jsx","webpack://graylog-web-interface/./src/components/content-packs/ContentPackInstallView.jsx","webpack://graylog-web-interface/./src/components/content-packs/ContentPackInstallations.jsx","webpack://graylog-web-interface/./src/pages/ShowContentPackPage.css?2058","webpack://graylog-web-interface/./src/pages/ShowContentPackPage.jsx","webpack://graylog-web-interface/./src/routing/withHistory.tsx","webpack://graylog-web-interface/./src/routing/withParams.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, `/* The context menu from the last drop down button in the list\n   was hidden behind the table since the overflow was set to auto\n   and the context menu could not overflow outside. For this\n   table we show the overflow event though it might make problems\n   with responsiveness (but no problems could be found). */\n#content-packs-versions {\n    overflow-x: visible;\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/content-packs/ContentPackVersions.css\"],\"names\":[],\"mappings\":\"AAAA;;;;0DAI0D;AAC1D;IACI,mBAAmB;AACvB\",\"sourcesContent\":[\"/* The context menu from the last drop down button in the list\\n   was hidden behind the table since the overflow was set to auto\\n   and the context menu could not overflow outside. For this\\n   table we show the overflow event though it might make problems\\n   with responsiveness (but no problems could be found). */\\n#content-packs-versions {\\n    overflow-x: visible;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {};\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, `.ssxRSo3IWHMBKchTQ8jK {\n    margin-left: 8px;\n    margin-right: 8px;\n    padding-left: 8px;\n    padding-right: 8px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/pages/ShowContentPackPage.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;AACtB\",\"sourcesContent\":[\":local(.leftRow) {\\n    margin-left: 8px;\\n    margin-right: 8px;\\n    padding-left: 8px;\\n    padding-right: 8px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"leftRow\": `ssxRSo3IWHMBKchTQ8jK`\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';\nimport PropTypes from 'prop-types';\n\nimport { qualifyUrl } from 'util/URLUtils';\nimport ApiRoutes from 'routing/ApiRoutes';\nimport { Modal, Button } from 'components/bootstrap';\nimport { Icon } from 'components/common';\nimport BootstrapModalWrapper from 'components/bootstrap/BootstrapModalWrapper';\n\ntype Props = {\n  contentPackId: string,\n  revision: number,\n  show: boolean,\n  onHide: () => void,\n}\n\nconst ContentPackDownloadControl = ({ contentPackId, revision, show, onHide }: Props) => {\n  const [showDownloadModal, setShowDownloadModal] = useState(show);\n\n  const getDownloadUrl = () => qualifyUrl(ApiRoutes.ContentPacksController.downloadRev(contentPackId, revision).url);\n\n  const closeModal = () => {\n    setShowDownloadModal(false);\n    onHide();\n  };\n\n  const infoText = 'Please right click the download link below and choose \"Save Link As...\" to download the JSON file.';\n  const modalTitle = 'Download Content Pack';\n\n  return (\n    \n      \n        {modalTitle}\n      \n      \n        

{infoText}

\n

\n \n {' '}Download\n \n

\n
\n \n \n \n
\n );\n};\n\nContentPackDownloadControl.propTypes = {\n contentPackId: PropTypes.string.isRequired,\n revision: PropTypes.number.isRequired,\n show: PropTypes.bool,\n onHide: PropTypes.func,\n};\n\nContentPackDownloadControl.defaultProps = {\n show: false,\n onHide: () => {\n },\n};\n\nexport default ContentPackDownloadControl;\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 ContentPack from 'logic/content-packs/ContentPack';\nimport { Row, Col, Input } from 'components/bootstrap';\nimport ValueRefHelper from 'util/ValueRefHelper';\n\nimport ContentPackUtils from './ContentPackUtils';\nimport ContentPackEntitiesList from './ContentPackEntitiesList';\n\nclass ContentPackInstall extends React.Component {\n static propTypes = {\n contentPack: PropTypes.object.isRequired,\n onInstall: PropTypes.func,\n };\n\n static defaultProps = {\n onInstall: () => {},\n };\n\n constructor(props) {\n super(props);\n\n const parameterInput = props.contentPack.parameters.reduce((result, parameter) => {\n if (parameter.default_value) {\n const newResult = result;\n\n newResult[parameter.name] = ContentPackUtils.convertToString(parameter);\n\n return newResult;\n }\n\n return result;\n }, {});\n\n this.state = {\n parameterInput: parameterInput,\n comment: '',\n errorMessages: {},\n };\n }\n\n onInstall = () => {\n if (this._validateInput()) {\n const contentPackId = this.props.contentPack.id;\n const contentPackRev = this.props.contentPack.rev;\n const parameters = this._convertedParameters();\n\n this.props.onInstall(contentPackId, contentPackRev, { parameters: parameters, comment: this.state.comment });\n }\n };\n\n _convertedParameters = () => Object.keys(this.state.parameterInput).reduce((result, paramName) => {\n const newResult = result;\n const paramType = this.props.contentPack.parameters.find((parameter) => parameter.name === paramName).type;\n const value = ContentPackUtils.convertValue(paramType, this.state.parameterInput[paramName]);\n\n newResult[paramName] = ValueRefHelper.createValueRef(paramType, value);\n\n return newResult;\n }, {});\n\n _getValue = (name, value) => {\n const newParameterInput = this.state.parameterInput;\n\n newParameterInput[name] = value;\n this.setState({ parameterInput: newParameterInput });\n };\n\n _getComment = (e) => {\n this.setState({ comment: e.target.value });\n };\n\n _validateInput = () => {\n const { parameterInput } = this.state;\n const errors = this.props.contentPack.parameters.reduce((result, parameter) => {\n if (parameterInput[parameter.name] && parameterInput[parameter.name].length > 0) {\n return result;\n }\n\n const newResult = result;\n\n newResult[parameter.name] = 'Needs to be filled.';\n\n return newResult;\n }, {});\n\n this.setState({ errorMessages: errors });\n\n return Object.keys(errors).length <= 0;\n };\n\n renderParameter(parameter) {\n const error = this.state.errorMessages[parameter.name];\n\n return (\n { this._getValue(parameter.name, e.target.value); }}\n labelClassName=\"col-sm-3\"\n wrapperClassName=\"col-sm-7\"\n label={parameter.title}\n help={error || parameter.description}\n bsStyle={error ? 'error' : undefined}\n required />\n );\n }\n\n render() {\n const parameterInput = this.props.contentPack.parameters.map((parameter) => this.renderParameter(parameter));\n const contentPack = ContentPack.fromJSON(this.props.contentPack);\n\n return (\n
\n \n \n

Install comment

\n
\n
\n \n \n
\n {parameterInput.length > 0\n && (\n \n \n

Configure Parameter

\n
\n
\n {parameterInput}\n \n
\n )}\n \n \n \n \n \n
\n );\n }\n}\n\nexport default ContentPackInstall;\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 */\n\nimport * as React from 'react';\nimport { useState, useRef } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { LinkContainer } from 'components/common/router';\nimport Routes from 'routing/Routes';\nimport { ModalSubmit } from 'components/common';\nimport ContentPackDownloadControl from 'components/content-packs/ContentPackDownloadControl';\nimport ContentPackInstall from 'components/content-packs/ContentPackInstall';\nimport {\n BootstrapModalWrapper,\n Button,\n DropdownButton,\n ButtonToolbar,\n MenuItem,\n Modal,\n} from 'components/bootstrap';\nimport type { ContentPackVersionsType, ContentPackInstallation } from 'components/content-packs/Types';\n\ntype Props = {\n pack: ContentPackInstallation\n contentPackRevisions: ContentPackVersionsType,\n onDeletePack: (id: string, rev: number) => void,\n onChange: (id: string) => void,\n onInstall: (id: string, contentPackRev: string, parameters: unknown) => void,\n};\n\nconst ContentPackVersionItem = ({\n pack,\n contentPackRevisions,\n onChange: onChangeProp,\n onDeletePack,\n onInstall: onInstallProp,\n}: Props) => {\n const [showInstallModal, setShowInstallModal] = useState(false);\n const [showDownloadModal, setShowDownloadModal] = useState(false);\n const [selectedVersion, setSelectedVersion] = useState(contentPackRevisions.latestRevision);\n const installRef = useRef(null);\n\n const handleInstall = () => setShowInstallModal(true);\n\n const handleDownload = () => setShowDownloadModal(true);\n\n const onCloseInstallModal = () => setShowInstallModal(false);\n\n const onChange = (event) => {\n const version = event.target.value;\n\n setSelectedVersion(version);\n onChangeProp(version);\n };\n\n const onInstall = () => {\n if (installRef.current !== null) {\n installRef.current?.onInstall();\n }\n\n setShowInstallModal(false);\n };\n\n return (\n \n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n \n \n \n {pack.rev}\n \n \n \n \n handleInstall()}>Install\n \n Create New From Revision\n \n \n {\n onDeletePack(pack.id, pack.rev);\n }}>Delete\n \n \n \n \n {showInstallModal && (\n \n \n Install Content Pack\n \n \n \n \n \n \n \n \n )}\n {showDownloadModal && (\n setShowDownloadModal(false)}\n contentPackId={pack.id}\n revision={pack.rev} />\n )}\n\n \n );\n};\n\nContentPackVersionItem.propTypes = {\n pack: PropTypes.object.isRequired,\n contentPackRevisions: PropTypes.object.isRequired,\n onChange: PropTypes.func,\n onDeletePack: PropTypes.func,\n onInstall: PropTypes.func,\n};\n\nContentPackVersionItem.defaultProps = {\n onChange: () => {},\n onDeletePack: () => {},\n onInstall: () => {},\n};\n\nexport default ContentPackVersionItem;\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]!./ContentPackVersions.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]!./ContentPackVersions.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';\n\nimport { DataTable } from 'components/common';\nimport ContentPackVersionItem from 'components/content-packs/components/ContentPackVersionItem';\nimport type { ContentPackVersionsType, ContentPackInstallation } from 'components/content-packs/Types';\n\nimport './ContentPackVersions.css';\n\ntype Props = {\n contentPackRevisions: ContentPackVersionsType,\n onDeletePack: (id: string) => void,\n onChange: (id: string) => void,\n onInstall: (id: string, contentPackRev: string, parameters: unknown) => void,\n};\n\nconst headerFormatter = (header) => {\n if (header === 'Action') {\n return ({header});\n }\n\n return ({header});\n};\n\nconst ContentPackVersions = ({ onDeletePack, contentPackRevisions, onInstall, onChange }: Props) => {\n const { contentPacks } = contentPackRevisions;\n const headers = ['Select', 'Revision', 'Action'];\n const rowFormatter = (item: ContentPackInstallation) => (\n \n );\n\n return (\n c.rev.toString()}\n dataRowFormatter={rowFormatter}\n rows={contentPacks}\n filterKeys={[]} />\n );\n};\n\nContentPackVersions.propTypes = {\n contentPackRevisions: PropTypes.object.isRequired,\n onChange: PropTypes.func,\n onDeletePack: PropTypes.func,\n onInstall: PropTypes.func,\n};\n\nContentPackVersions.defaultProps = {\n onChange: () => {},\n onDeletePack: () => {},\n onInstall: () => {},\n};\n\nexport default ContentPackVersions;\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 Spinner from 'components/common/Spinner';\nimport { DataTable } from 'components/common';\n\nimport 'components/content-packs/ContentPackDetails.css';\n\nconst ContentPackInstallEntityList = (props) => {\n const rowFormatter = (entity) => ({entity.title}{entity.type.name});\n const headers = ['Title', 'Type'];\n const headerTitle = props.uninstall ? 'Entites to be uninstalled' : 'Installed Entities';\n\n if (!props.entities) {\n return ;\n }\n\n return (\n
\n

{headerTitle}

\n \n
\n );\n};\n\nContentPackInstallEntityList.propTypes = {\n entities: PropTypes.array,\n uninstall: PropTypes.bool,\n};\n\nContentPackInstallEntityList.defaultProps = {\n entities: undefined,\n uninstall: false,\n};\n\nexport default ContentPackInstallEntityList;\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 { Timestamp } from 'components/common';\nimport { Row, Col } from 'components/bootstrap';\n\nimport 'components/content-packs/ContentPackDetails.css';\nimport ContentPackInstallEntityList from './ContentPackInstallEntityList';\n\nconst ContentPackInstallView = (props) => {\n const { comment } = props.install;\n const createdAt = props.install.created_at;\n const createdBy = props.install.created_by;\n\n return (\n
\n \n \n

General information

\n
\n
Comment:
\n
{comment}
\n
Installed by:
\n
{createdBy} 
\n
Installed at:
\n
\n
\n \n
\n \n \n \n \n \n
\n );\n};\n\nContentPackInstallView.propTypes = {\n install: PropTypes.object.isRequired,\n};\n\nexport default ContentPackInstallView;\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 { DataTable } from 'components/common';\nimport { BootstrapModalWrapper, Button, ButtonToolbar, Modal } from 'components/bootstrap';\nimport Spinner from 'components/common/Spinner';\nimport ContentPackInstallationView from 'components/content-packs/ContentPackInstallView';\n\nclass ContentPackInstallations extends React.Component {\n static propTypes = {\n installations: PropTypes.arrayOf(PropTypes.object),\n onUninstall: PropTypes.func,\n };\n\n static defaultProps = {\n installations: [],\n onUninstall: () => {\n },\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n showInstallModal: false,\n };\n }\n\n rowFormatter = (item) => {\n const { onUninstall } = this.props;\n\n const closeShowModal = () => {\n this.setState({ showInstallModal: false });\n };\n\n const openShowModal = () => {\n this.setState({ showInstallModal: true });\n };\n\n const installModal = (\n \n \n View Installation\n \n \n \n \n \n \n \n \n );\n\n return (\n \n \n {item.comment}\n \n {item.content_pack_revision}\n \n
\n \n \n \n {installModal}\n \n
\n \n \n );\n };\n\n // eslint-disable-next-line class-methods-use-this\n headerFormater = (header) => {\n if (header === 'Action') {\n return ({header});\n }\n\n return ({header});\n };\n\n render() {\n const { installations } = this.props;\n\n if (!installations) {\n return ();\n }\n\n const headers = ['Comment', 'Version', 'Action'];\n\n return (\n c.content_pack_revision.toString()}\n dataRowFormatter={this.rowFormatter}\n rows={installations}\n filterKeys={[]} />\n );\n }\n}\n\nexport default ContentPackInstallations;\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]!./ShowContentPackPage.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]!./ShowContentPackPage.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 React from 'react';\nimport Reflux from 'reflux';\n// eslint-disable-next-line no-restricted-imports\nimport createReactClass from 'create-react-class';\nimport PropTypes from 'prop-types';\n\nimport { LinkContainer } from 'components/common/router';\nimport { Row, Col, Button, ButtonToolbar, BootstrapModalConfirm } from 'components/bootstrap';\nimport Spinner from 'components/common/Spinner';\nimport Routes from 'routing/Routes';\nimport UserNotification from 'util/UserNotification';\nimport { DocumentTitle, PageHeader } from 'components/common';\nimport ContentPackDetails from 'components/content-packs/ContentPackDetails';\nimport ContentPackVersions from 'components/content-packs/ContentPackVersions';\nimport ContentPackInstallations from 'components/content-packs/ContentPackInstallations';\nimport ContentPackInstallEntityList from 'components/content-packs/ContentPackInstallEntityList';\nimport withParams from 'routing/withParams';\nimport { ContentPacksActions, ContentPacksStore } from 'stores/content-packs/ContentPacksStore';\nimport withHistory from 'routing/withHistory';\n\nimport ShowContentPackStyle from './ShowContentPackPage.css';\n\nconst ShowContentPackPage = createReactClass({\n // eslint-disable-next-line react/no-unused-class-component-methods\n displayName: 'ShowContentPackPage',\n\n // eslint-disable-next-line react/no-unused-class-component-methods\n propTypes: {\n history: PropTypes.object.isRequired,\n params: PropTypes.object.isRequired,\n },\n\n mixins: [Reflux.connect(ContentPacksStore)],\n\n getInitialState() {\n return {\n showModal: false,\n selectedVersion: undefined,\n uninstallEntities: undefined,\n uninstallContentPackId: undefined,\n uninstallInstallId: undefined,\n };\n },\n\n componentDidMount() {\n ContentPacksActions.get(this.props.params.contentPackId).catch((error) => {\n if (error.status === 404) {\n UserNotification.error(\n `Cannot find Content Pack with the id ${this.props.params.contentPackId} and may have been deleted.`,\n );\n } else {\n UserNotification.error('An internal server error occurred. Please check your logfiles for more information');\n }\n\n const { history } = this.props;\n history.push(Routes.SYSTEM.CONTENTPACKS.LIST);\n });\n\n ContentPacksActions.installList(this.props.params.contentPackId);\n },\n\n _onVersionChanged(newVersion) {\n this.setState({ selectedVersion: newVersion });\n },\n\n _deleteContentPackRev(contentPackId, revision) {\n /* eslint-disable-next-line no-alert */\n if (window.confirm('You are about to delete this content pack revision, are you sure?')) {\n ContentPacksActions.deleteRev(contentPackId, revision).then(() => {\n UserNotification.success('Content pack revision deleted successfully.', 'Success');\n\n ContentPacksActions.get(contentPackId).catch((error) => {\n if (error.status !== 404) {\n UserNotification.error('An internal server error occurred. Please check your logfiles for more information');\n }\n\n const { history } = this.props;\n history.push(Routes.SYSTEM.CONTENTPACKS.LIST);\n });\n }, (error) => {\n let errMessage = error.message;\n\n if (error.responseMessage) {\n errMessage = error.responseMessage;\n }\n\n UserNotification.error(`Deleting content pack failed: ${errMessage}`, 'Error');\n });\n }\n },\n\n _onUninstallContentPackRev(contentPackId, installId) {\n ContentPacksActions.uninstallDetails(contentPackId, installId).then((result) => {\n this.setState({ uninstallEntities: result.entities });\n });\n\n this.setState({\n showModal: true,\n uninstallContentPackId: contentPackId,\n uninstallInstallId: installId,\n });\n },\n\n _clearUninstall() {\n this.setState({\n showModal: false,\n uninstallContentPackId: undefined,\n uninstallInstallId: undefined,\n uninstallEntities: undefined,\n });\n },\n\n _uninstallContentPackRev() {\n const contentPackId = this.state.uninstallContentPackId;\n\n ContentPacksActions.uninstall(this.state.uninstallContentPackId, this.state.uninstallInstallId).then(() => {\n UserNotification.success('Content Pack uninstalled successfully.', 'Success');\n ContentPacksActions.installList(contentPackId);\n this._clearUninstall();\n }, () => {\n UserNotification.error('Uninstall content pack failed, please check your logs for more information.', 'Error');\n });\n },\n\n _installContentPack(contentPackId, contentPackRev, parameters) {\n ContentPacksActions.install(contentPackId, contentPackRev, parameters).then(() => {\n UserNotification.success('Content Pack installed successfully.', 'Success');\n ContentPacksActions.installList(contentPackId);\n }, (error) => {\n UserNotification.error(`Installing content pack failed with status: ${error}.\n Could not install content pack with ID: ${contentPackId}`);\n });\n },\n\n render() {\n if (!this.state.contentPackRevisions) {\n return ();\n }\n\n const { contentPackRevisions, selectedVersion, constraints } = this.state;\n\n return (\n \n \n \n \n \n \n \n )}>\n \n Content packs accelerate the set up process for a specific data source. A content pack can include inputs/extractors, streams, and dashboards.\n
\n Find more content packs in {' '}\n the Graylog Marketplace.\n
\n
\n\n \n \n
\n \n \n

Versions

\n \n \n
\n \n \n

Installations

\n \n \n
\n
\n \n \n \n \n
\n
\n \n \n \n
\n );\n },\n});\n\nexport default withHistory(withParams(ShowContentPackPage));\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 type { Subtract } from 'utility-types';\n\nimport type { HistoryFunction } from './useHistory';\nimport useHistory from './useHistory';\n\ntype HistoryContext = {\n history: HistoryFunction;\n};\n\nconst withParams = (Component: React.ComponentType): React.ComponentType> => (props) => {\n const history = useHistory();\n\n return ;\n};\n\nexport default withParams;\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 { useParams } from 'react-router-dom';\nimport type { Subtract } from 'utility-types';\n\ntype ParamsContext = {\n params: {\n [key: string]: string | null | undefined;\n };\n};\n\nconst withParams = (Component: React.ComponentType): React.ComponentType> => (props) => {\n const params = useParams();\n\n return ;\n};\n\nexport default withParams;\n"],"names":["___CSS_LOADER_EXPORT___","module","ContentPackDownloadControl","contentPackId","revision","show","onHide","showDownloadModal","setShowDownloadModal","getDownloadUrl","closeModal","infoText","modalTitle","ContentPackInstall","props","contentPackRev","parameters","result","paramName","newResult","paramType","parameter","value","name","newParameterInput","e","parameterInput","errors","error","contentPack","ContentPackVersionItem","pack","contentPackRevisions","onChangeProp","onDeletePack","onInstallProp","showInstallModal","setShowInstallModal","selectedVersion","setSelectedVersion","installRef","handleInstall","handleDownload","onCloseInstallModal","onChange","event","version","onInstall","Routes","options","update","headerFormatter","header","contentPacks","headers","rowFormatter","item","c","ContentPackInstallEntityList","entity","headerTitle","Spinner","ContentPackInstallView","comment","createdAt","createdBy","ContentPackInstallations","onUninstall","closeShowModal","openShowModal","installModal","installations","ContentPacksStore","UserNotification","history","newVersion","errMessage","installId","constraints","ContentPackDetails","withHistory","withParams","Component","params"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy