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

web-interface.assets.app.a0efe310c8d25ed40c76.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"file":"app.a0efe310c8d25ed40c76.js","mappings":"6HAGIA,EAA0B,IAA4B,GAAqC,EAE/FA,EAAwB,KAAK,CAACC,EAAO,GAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqDtC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,+CAA+C,EAAE,MAAQ,CAAC,EAAE,SAAW,gaAAga,eAAiB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAkpC,EAAE,WAAa,EAAE,CAAC,CAAC,EAE5rD,QAAeD,C,2GCzDXA,EAA0B,IAA4B,GAAqC,EAE/FA,EAAwB,KAAK,CAACC,EAAO,GAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQtC,GAAG,CAAC,QAAU,EAAE,QAAU,CA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aY,EAAgBZ,CAAO,IAAM,EAGrE,IAAIgB,EAAuB,CAACC,EAA4BnzL,IAAS,CAChE,GAAI,CAACsxL,EAAU8B,EAAaC,CAAO,EAAIrzL,EAGnCkxL,EAAUgB,EAASrzL,EAAI,EAC3B,GAAGyyL,EAAS,KAAMl7L,GAAQ08L,EAAgB18L,CAAE,IAAM,CAAE,EAAG,CACtD,IAAI86L,KAAYkC,EACZpC,GAAoB,EAAEoC,EAAalC,CAAQ,IAC7CF,GAAoB,EAAEE,CAAQ,EAAIkC,EAAYlC,CAAQ,GAGxD,GAAGmC,EAAS,IAAI9qK,EAAS8qK,EAAQrC,EAAmB,CACrD,CAEA,IADGmC,GAA4BA,EAA2BnzL,CAAI,EACzDnB,EAAIyyL,EAAS,OAAQzyL,IACzBqzL,EAAUZ,EAASzyL,CAAC,EACjBmyL,GAAoB,EAAE8B,EAAiBZ,CAAO,GAAKY,EAAgBZ,CAAO,GAC5EY,EAAgBZ,CAAO,EAAE,CAAC,EAAE,EAE7BY,EAAgBZ,CAAO,EAAI,EAE5B,OAAOlB,GAAoB,EAAEzoK,CAAM,CACpC,EAEI+qK,EAAqB,KAAK,kCAAuC,KAAK,mCAAwC,CAAC,EACnHA,EAAmB,QAAQJ,EAAqB,KAAK,KAAM,CAAC,CAAC,EAC7DI,EAAmB,KAAOJ,EAAqB,KAAK,KAAMI,EAAmB,KAAK,KAAKA,CAAkB,CAAC,C,KCrF1GtC,GAAoB,GAAK,OCGzB,IAAIuC,GAAsBvC,GAAoB,EAAE,OAAW,CAAC,eAAe,EAAG,IAAOA,GAAoB,UAAU,CAAE,EACrHuC,GAAsBvC,GAAoB,EAAEuC,EAAmB,C","sources":["webpack://graylog-web-interface/./public/stylesheets/typeahead.less","webpack://graylog-web-interface/./src/components/common/ExpandableList.css","webpack://graylog-web-interface/./src/components/common/SelectPopover.css","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/CommonNotificationSummary.css","webpack://graylog-web-interface/./src/util/UserNotification.css","webpack://graylog-web-interface/./src/views/components/common/EditableTitle.css","webpack://graylog-web-interface/./src/views/components/datatable/DataTable.css","webpack://graylog-web-interface/./src/views/components/messagelist/decorators/decoratorStyles.css","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/SavedSearchForm.css","webpack://graylog-web-interface/./src/views/components/sidebar/fields/FieldTypeIcon.css","webpack://graylog-web-interface/./src/views/components/visualizations/worldmap/MapVisualization.css","webpack://graylog-web-interface/./src/views/components/widgets/MessageWidgets.css","webpack://graylog-web-interface/./src/views/pages/StyleFixups.css","webpack://graylog-web-interface/./src/views/components/visualizations/GenericPlot.lazy.css","webpack://graylog-web-interface/./src/actions/errors/ErrorsActions.js","webpack://graylog-web-interface/./src/store.ts","webpack://graylog-web-interface/./src/components/PluggableStoreProvider.tsx","webpack://graylog-web-interface/./src/components/bootstrap/Alert.tsx","webpack://graylog-web-interface/./src/components/bootstrap/Badge.jsx","webpack://graylog-web-interface/./src/components/bootstrap/BootstrapModalConfirm.tsx","webpack://graylog-web-interface/./src/components/bootstrap/BootstrapModalForm.tsx","webpack://graylog-web-interface/./src/components/bootstrap/BootstrapModalWrapper.tsx","webpack://graylog-web-interface/./src/components/bootstrap/Button.jsx","webpack://graylog-web-interface/./src/components/bootstrap/ButtonToolbar.tsx","webpack://graylog-web-interface/./src/components/bootstrap/ControlLabel.jsx","webpack://graylog-web-interface/./src/components/bootstrap/FormControl.jsx","webpack://graylog-web-interface/./src/components/bootstrap/FormGroup.jsx","webpack://graylog-web-interface/./src/components/bootstrap/Input.jsx","webpack://graylog-web-interface/./src/components/bootstrap/InputGroup.jsx","webpack://graylog-web-interface/./src/components/bootstrap/InputWrapper.jsx","webpack://graylog-web-interface/./src/components/bootstrap/MenuItem.tsx","webpack://graylog-web-interface/./src/components/bootstrap/Modal.jsx","webpack://graylog-web-interface/./src/components/bootstrap/NavDropdown.jsx","webpack://graylog-web-interface/./src/components/bootstrap/Panel.jsx","webpack://graylog-web-interface/./src/components/bootstrap/Row.tsx","webpack://graylog-web-interface/./src/components/bootstrap/Table.jsx","webpack://graylog-web-interface/./src/components/bootstrap/Well.jsx","webpack://graylog-web-interface/./src/components/bootstrap/DropdownButton.jsx","webpack://graylog-web-interface/./src/components/bootstrap/HelpBlock.jsx","webpack://graylog-web-interface/./src/components/bootstrap/Jumbotron.jsx","webpack://graylog-web-interface/./src/components/bootstrap/KeyboardKey.tsx","webpack://graylog-web-interface/./src/components/bootstrap/Label.jsx","webpack://graylog-web-interface/./src/components/bootstrap/ListGroup.jsx","webpack://graylog-web-interface/./src/components/bootstrap/ListGroupItem.jsx","webpack://graylog-web-interface/./src/components/bootstrap/styles/nav-tabs.js","webpack://graylog-web-interface/./src/components/bootstrap/Nav.jsx","webpack://graylog-web-interface/./src/components/bootstrap/NavItem.tsx","webpack://graylog-web-interface/./src/components/bootstrap/Navbar.jsx","webpack://graylog-web-interface/./src/components/bootstrap/Popover.jsx","webpack://graylog-web-interface/./src/components/bootstrap/SplitButton.jsx","webpack://graylog-web-interface/./src/components/bootstrap/Tab.jsx","webpack://graylog-web-interface/./src/components/bootstrap/Tabs.jsx","webpack://graylog-web-interface/./src/components/bootstrap/Tooltip.jsx","webpack://graylog-web-interface/./src/components/bootstrap/styles/menuItem.js","webpack://graylog-web-interface/./src/components/common/ClipboardButton.jsx","webpack://graylog-web-interface/./src/components/common/ColorPicker.tsx","webpack://graylog-web-interface/./src/components/common/ConfirmLeaveDialog.tsx","webpack://graylog-web-interface/./src/components/common/ContentHeadRow.tsx","webpack://graylog-web-interface/./src/components/common/ControlledTableListHeader.tsx","webpack://graylog-web-interface/./src/components/common/ControlledTableList.tsx","webpack://graylog-web-interface/./src/components/common/ControlledTableListItem.tsx","webpack://graylog-web-interface/./src/components/common/DataTable/Filter.jsx","webpack://graylog-web-interface/./src/components/common/DataTable/DataTableElement.jsx","webpack://graylog-web-interface/./src/components/common/DataTable/DataTable.jsx","webpack://graylog-web-interface/./src/components/common/DataTable/index.js","webpack://graylog-web-interface/./src/components/common/Delayed.tsx","webpack://graylog-web-interface/./src/components/common/DocumentTitle.tsx","webpack://graylog-web-interface/./src/components/common/ElementDimensions.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/BulkActionsDropdown.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/Constants.ts","webpack://graylog-web-interface/./src/components/common/EntityDataTable/contexts/ExpandedSectionsContext.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/hooks/useTableLayout.ts","webpack://graylog-web-interface/./src/components/common/EntityDataTable/hooks/useUpdateUserLayoutPreferences.ts","webpack://graylog-web-interface/./src/components/common/EntityDataTable/hooks/useUserLayoutPreferences.ts","webpack://graylog-web-interface/./src/components/common/EntityDataTable/ColumnsVisibilitySelect.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/DefaultColumnRenderers.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/hooks/useColumnsWidths.ts","webpack://graylog-web-interface/./src/components/common/EntityDataTable/ExpandedSections.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/hooks/useSelectedEntities.ts","webpack://graylog-web-interface/./src/components/common/EntityDataTable/BulkActionsRow.tsx","webpack://graylog-web-interface/./src/components/streams/StreamsOverview/SortIcon.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/RowCheckbox.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/BulkSelectHead.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/TableHead.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/TableCell.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/TableRow.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/contexts/ExpandedSectionsProvider.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/EntityDataTable.tsx","webpack://graylog-web-interface/./src/components/common/EntityDataTable/index.tsx","webpack://graylog-web-interface/./src/components/common/EntityList.tsx","webpack://graylog-web-interface/./src/components/common/EntityListItem.tsx","webpack://graylog-web-interface/./src/components/common/FormikInput.tsx","webpack://graylog-web-interface/./src/components/common/HoverForHelp.tsx","webpack://graylog-web-interface/./src/components/common/icon-fallback.js","webpack://graylog-web-interface/./src/components/common/Icon.tsx","webpack://graylog-web-interface/./src/components/common/IconButton.tsx","webpack://graylog-web-interface/./src/components/common/IfPermitted.tsx","webpack://graylog-web-interface/./src/components/common/InputDescription.tsx","webpack://graylog-web-interface/./src/components/common/InteractableModal.jsx","webpack://graylog-web-interface/./src/components/common/LoadingIndicator.tsx","webpack://graylog-web-interface/./src/components/common/Markdown.tsx","webpack://graylog-web-interface/./src/components/common/ModalSubmit.tsx","webpack://graylog-web-interface/./src/components/common/MultiSelect.tsx","webpack://graylog-web-interface/./src/components/common/NavItemStateIndicator.tsx","webpack://graylog-web-interface/./src/components/common/NoEntitiesExist.tsx","webpack://graylog-web-interface/./src/components/common/OverlayDropdown.tsx","webpack://graylog-web-interface/./src/components/common/OverlayDropdownButton.tsx","webpack://graylog-web-interface/./src/components/common/OverlayTrigger.tsx","webpack://graylog-web-interface/./src/components/common/PageHeader.tsx","webpack://graylog-web-interface/./src/components/common/PageSizeSelect.tsx","webpack://graylog-web-interface/./src/components/common/PaginatedItemOverview/PaginatedItem.tsx","webpack://graylog-web-interface/./src/components/common/PaginatedItemOverview/PaginatedItemOverview.tsx","webpack://graylog-web-interface/./src/components/common/PaginatedList.tsx","webpack://graylog-web-interface/./src/components/common/Pagination.tsx","webpack://graylog-web-interface/./src/components/common/ProgressBar.tsx","webpack://graylog-web-interface/./src/components/common/PublicNotifications.tsx","webpack://graylog-web-interface/./src/components/common/QueryHelper.tsx","webpack://graylog-web-interface/./src/components/common/ReactGridContainer.tsx","webpack://graylog-web-interface/./src/components/common/RelativeTime.tsx","webpack://graylog-web-interface/./src/components/common/SearchForm.tsx","webpack://graylog-web-interface/./src/components/common/Section/SectionComponent.tsx","webpack://graylog-web-interface/./src/components/common/Section/SectionGrid.tsx","webpack://graylog-web-interface/./src/components/common/Select/CustomMenuList.tsx","webpack://graylog-web-interface/./src/components/common/Select/AsyncCustomMenuList.tsx","webpack://graylog-web-interface/./src/components/common/Select/Select.tsx","webpack://graylog-web-interface/./src/components/common/Select/index.tsx","webpack://graylog-web-interface/./src/components/common/SortIcon.tsx","webpack://graylog-web-interface/./src/components/common/SortableList/ListItem.tsx","webpack://graylog-web-interface/./src/components/common/SortableList/SortableListItem.tsx","webpack://graylog-web-interface/./src/components/common/SortableList/List.tsx","webpack://graylog-web-interface/./src/components/common/SortableList/SortableList.tsx","webpack://graylog-web-interface/./src/components/common/SortableList/index.ts","webpack://graylog-web-interface/./src/components/common/Spinner.tsx","webpack://graylog-web-interface/./src/components/common/TextOverflowEllipsis.tsx","webpack://graylog-web-interface/./src/components/common/TimeUnitInput.jsx","webpack://graylog-web-interface/./src/components/common/Timestamp.tsx","webpack://graylog-web-interface/./src/components/common/TypeAheadDataFilter.jsx","webpack://graylog-web-interface/./src/components/common/TypeAheadInput.jsx","webpack://graylog-web-interface/./src/components/common/Wizard.tsx","webpack://graylog-web-interface/./src/components/common/carousel/CarouselSlide.tsx","webpack://graylog-web-interface/./src/components/common/carousel/Carousel.tsx","webpack://graylog-web-interface/./src/components/common/Accordion.tsx","webpack://graylog-web-interface/./src/components/common/AccordionItem.tsx","webpack://graylog-web-interface/./src/components/common/Autocomplete/Autocomplete.tsx","webpack://graylog-web-interface/./src/components/common/BrowserTime.tsx","webpack://graylog-web-interface/./src/components/common/Center.tsx","webpack://graylog-web-interface/./src/components/common/ColorPickerPopover.tsx","webpack://graylog-web-interface/./src/components/common/ConfirmDialog.tsx","webpack://graylog-web-interface/./src/components/common/CopyToClipboardCapture.tsx","webpack://graylog-web-interface/./src/components/common/CountBadge.tsx","webpack://graylog-web-interface/./src/components/common/DatePicker.tsx","webpack://graylog-web-interface/./src/components/common/DropdownMenu.tsx","webpack://graylog-web-interface/./src/components/common/DropdownSubmenu.tsx","webpack://graylog-web-interface/./src/components/common/EmptyEntity.tsx","webpack://graylog-web-interface/./src/components/common/NoSearchResult.tsx","webpack://graylog-web-interface/./src/components/common/EnterprisePluginNotFound.tsx","webpack://graylog-web-interface/./src/components/common/ErrorAlert.tsx","webpack://graylog-web-interface/./src/components/common/ExpandableList.css?7420","webpack://graylog-web-interface/./src/components/common/ExpandableList.tsx","webpack://graylog-web-interface/./src/components/common/ExpandableListItem.tsx","webpack://graylog-web-interface/./src/components/common/ExternalLink.tsx","webpack://graylog-web-interface/./src/components/common/ExternalLinkButton.jsx","webpack://graylog-web-interface/./src/components/common/FlatContentRow.tsx","webpack://graylog-web-interface/./src/components/common/FormikFormGroup.tsx","webpack://graylog-web-interface/./src/components/common/FormSubmit.tsx","webpack://graylog-web-interface/./src/components/common/HasOwnership.tsx","webpack://graylog-web-interface/./src/components/common/ISODurationInput.tsx","webpack://graylog-web-interface/./src/components/common/InputOptionalInfo.tsx","webpack://graylog-web-interface/./src/components/common/InputList/useInputListStyles.tsx","webpack://graylog-web-interface/./src/components/common/InputList/InputList.types.ts","webpack://graylog-web-interface/./src/components/common/InputList/InputList.tsx","webpack://graylog-web-interface/./src/components/common/InputList/index.tsx","webpack://graylog-web-interface/./src/components/common/JSONValueInput.jsx","webpack://graylog-web-interface/./src/components/common/KeyCapture.tsx","webpack://graylog-web-interface/./src/components/common/KeyValueTable.jsx","webpack://graylog-web-interface/./src/components/common/LinkButton.tsx","webpack://graylog-web-interface/./src/components/common/LinkToNode.jsx","webpack://graylog-web-interface/./src/components/common/ListingWithCount.tsx","webpack://graylog-web-interface/./src/components/common/LocaleSelect.tsx","webpack://graylog-web-interface/./src/components/common/MessageDetailsDefinitionList.jsx","webpack://graylog-web-interface/./src/components/common/OverlayElement.jsx","webpack://graylog-web-interface/./src/components/common/PageErrorOverview.jsx","webpack://graylog-web-interface/./src/components/common/PaginatedDataTable/Filter.tsx","webpack://graylog-web-interface/./src/components/common/PaginatedDataTable/PaginatedDataTable.tsx","webpack://graylog-web-interface/./src/components/common/PaginatedDataTable/index.tsx","webpack://graylog-web-interface/./src/components/common/Pluralize.jsx","webpack://graylog-web-interface/./src/components/common/Portal.tsx","webpack://graylog-web-interface/./src/components/common/ReadOnlyFormGroup.tsx","webpack://graylog-web-interface/./src/components/common/ScrollButton.jsx","webpack://graylog-web-interface/./src/components/common/SelectPopover.css?86b8","webpack://graylog-web-interface/./src/components/common/SelectPopover.jsx","webpack://graylog-web-interface/./src/components/common/SelectableList.jsx","webpack://graylog-web-interface/./src/components/permissions/SharingDisabledPopover.tsx","webpack://graylog-web-interface/./src/components/common/ShareButton.tsx","webpack://graylog-web-interface/./src/components/common/TimeUnit.jsx","webpack://graylog-web-interface/./src/components/common/TimezoneSelect.jsx","webpack://graylog-web-interface/./src/components/common/TypeAheadFieldInput.jsx","webpack://graylog-web-interface/./src/components/common/URLWhiteListFormModal.tsx","webpack://graylog-web-interface/./src/components/common/URLWhiteListInput.tsx","webpack://graylog-web-interface/./src/components/common/Toggle.tsx","webpack://graylog-web-interface/./src/components/common/index.tsx","webpack://graylog-web-interface/./src/components/common/router.tsx","webpack://graylog-web-interface/./src/components/configurationforms/BooleanField.tsx","webpack://graylog-web-interface/./src/components/configurationforms/types.ts","webpack://graylog-web-interface/./src/components/configurationforms/ConfigurationForm.tsx","webpack://graylog-web-interface/./src/components/configurationforms/ConfigurationFormField.tsx","webpack://graylog-web-interface/./src/components/configurationforms/ConfigurationWell.jsx","webpack://graylog-web-interface/./src/components/configurationforms/FieldHelpers.tsx","webpack://graylog-web-interface/./src/components/configurationforms/DropdownField.tsx","webpack://graylog-web-interface/./src/components/configurationforms/EncryptedInlineBinaryField.tsx","webpack://graylog-web-interface/./src/components/configurationforms/ListField.tsx","webpack://graylog-web-interface/./src/components/configurationforms/NumberField.tsx","webpack://graylog-web-interface/./src/components/configurationforms/TextField.tsx","webpack://graylog-web-interface/./src/components/configurationforms/TitleField.tsx","webpack://graylog-web-interface/./src/components/configurations/ConfigurationTypes.ts","webpack://graylog-web-interface/./src/components/configurations/UrlWhiteListForm.tsx","webpack://graylog-web-interface/./src/components/errors/ErrorJumbotron.jsx","webpack://graylog-web-interface/./src/components/errors/ErrorPage.tsx","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/CommonNotificationSummary.css?ad4e","webpack://graylog-web-interface/./src/components/event-notifications/event-notification-types/CommonNotificationSummary.jsx","webpack://graylog-web-interface/./src/components/layout/StandardFooter.tsx","webpack://graylog-web-interface/./src/components/layout/Footer.tsx","webpack://graylog-web-interface/./src/components/layout/PageContentLayout.tsx","webpack://graylog-web-interface/./src/components/login/LoginBox.tsx","webpack://graylog-web-interface/./src/components/login/LoginChrome.tsx","webpack://graylog-web-interface/./src/components/notifications/GlobalAppNotifications.tsx","webpack://graylog-web-interface/./src/components/notifications/WithGlobalAppNotifications.tsx","webpack://graylog-web-interface/./src/components/common/SelectGroup.tsx","webpack://graylog-web-interface/./src/components/permissions/GranteeIcon.tsx","webpack://graylog-web-interface/./src/components/permissions/CapabilitySelect.tsx","webpack://graylog-web-interface/./src/components/permissions/GranteesSelector.tsx","webpack://graylog-web-interface/./src/components/permissions/GranteesListItem.tsx","webpack://graylog-web-interface/./src/components/permissions/GranteesList.tsx","webpack://graylog-web-interface/./src/components/permissions/DependenciesWarning.tsx","webpack://graylog-web-interface/./src/components/permissions/ValidationError.tsx","webpack://graylog-web-interface/./src/components/permissions/ShareableEntityURL.tsx","webpack://graylog-web-interface/./src/components/permissions/EntityShareSettings.tsx","webpack://graylog-web-interface/./src/components/permissions/EntityShareModal.tsx","webpack://graylog-web-interface/./src/components/search/MessageDetailsTitle.jsx","webpack://graylog-web-interface/./src/components/search/SurroundingSearchButton.tsx","webpack://graylog-web-interface/./src/components/sidecars/common/ColorLabel.tsx","webpack://graylog-web-interface/./src/components/streams/StreamLink.tsx","webpack://graylog-web-interface/./src/components/streams/hooks/useStream.ts","webpack://graylog-web-interface/./src/components/support/DocumentationLink.tsx","webpack://graylog-web-interface/./src/components/support/SupportLink.tsx","webpack://graylog-web-interface/./src/components/support/SupportSources.jsx","webpack://graylog-web-interface/./src/components/support/ContactUs.jsx","webpack://graylog-web-interface/./src/contexts/CurrentUserContext.tsx","webpack://graylog-web-interface/./src/contexts/HotkeysContext.tsx","webpack://graylog-web-interface/./src/contexts/InputsContext.tsx","webpack://graylog-web-interface/./src/contexts/NodesContext.tsx","webpack://graylog-web-interface/./src/contexts/StreamsContext.tsx","webpack://graylog-web-interface/./src/contexts/UserDateTimeContext.ts","webpack://graylog-web-interface/./src/contexts/UserPreferencesContext.ts","webpack://graylog-web-interface/./src/contexts/WindowDimensionsContext.tsx","webpack://graylog-web-interface/./src/contexts/WindowDimensionsContextProvider.tsx","webpack://graylog-web-interface/./src/domainActions/notifyingAction.ts","webpack://graylog-web-interface/./src/domainActions/permissions/EntityShareDomain.ts","webpack://graylog-web-interface/./src/hooks/useAlertAndEventDefinitionData.tsx","webpack://graylog-web-interface/./src/hooks/useCurrentUser.ts","webpack://graylog-web-interface/./src/hooks/useElementDimensions.ts","webpack://graylog-web-interface/./src/hooks/useFeature.ts","webpack://graylog-web-interface/./src/hooks/useHotkey.tsx","webpack://graylog-web-interface/./src/hooks/useHotkeysContext.tsx","webpack://graylog-web-interface/./src/hooks/useInputs.ts","webpack://graylog-web-interface/./src/hooks/useNodeSummaries.ts","webpack://graylog-web-interface/./src/hooks/usePaginationQueryParameter.ts","webpack://graylog-web-interface/./src/hooks/usePluginEntities.ts","webpack://graylog-web-interface/./src/hooks/useSearchConfiguration.ts","webpack://graylog-web-interface/./src/hooks/useUserDateTime.ts","webpack://graylog-web-interface/./src/webpack-entry.js","webpack://graylog-web-interface/./src/pages/ServerUnavailablePage.tsx","webpack://graylog-web-interface/./src/routing/AppFacade.tsx","webpack://graylog-web-interface/./src/actions/customizations/CustomizationActions.ts","webpack://graylog-web-interface/./src/stores/customizations/CustomizationsStore.ts","webpack://graylog-web-interface/./src/contexts/CustomizationContext.ts","webpack://graylog-web-interface/./src/contexts/CustomizationProvider.tsx","webpack://graylog-web-interface/./src/views/logic/searchtypes/messages/MessageListHandler.ts","webpack://graylog-web-interface/./src/views/components/widgets/Histogram.tsx","webpack://graylog-web-interface/./src/views/components/widgets/FieldSortIcon.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessageTableProviders.tsx","webpack://graylog-web-interface/./src/views/components/widgets/MessageTable.tsx","webpack://graylog-web-interface/./src/views/components/widgets/useCurrentSearchTypesResults.ts","webpack://graylog-web-interface/./src/views/components/widgets/reexecuteSearchTypes.ts","webpack://graylog-web-interface/./src/views/components/widgets/MessageList.tsx","webpack://graylog-web-interface/./src/views/logic/fieldactions/AddToTableActionHandler.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/AddToAllTablesActionHandler.ts","webpack://graylog-web-interface/./src/views/logic/ExpandRows.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/DataTableVisualizationConfig.ts","webpack://graylog-web-interface/./src/views/logic/fieldtypes/FieldTypeFor.ts","webpack://graylog-web-interface/./src/views/components/datatable/DataTableEntry.tsx","webpack://graylog-web-interface/./src/views/components/datatable/MessagesTable.tsx","webpack://graylog-web-interface/./src/views/components/datatable/DeduplicateValues.ts","webpack://graylog-web-interface/./src/views/components/datatable/FieldSortIcon.tsx","webpack://graylog-web-interface/./src/views/components/datatable/DataTable.css?362e","webpack://graylog-web-interface/./src/views/components/datatable/Headers.tsx","webpack://graylog-web-interface/./src/views/components/aggregationbuilder/EmptyAggregationContent.tsx","webpack://graylog-web-interface/./src/views/components/aggregationbuilder/FullSizeContainer.tsx","webpack://graylog-web-interface/./src/views/components/aggregationbuilder/AggregationBuilder.tsx","webpack://graylog-web-interface/./src/views/components/datatable/DataTable.tsx","webpack://graylog-web-interface/./src/views/logic/fieldactions/DuplicateCommonWidgetSettings.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/AggregateActionHandler.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChartActionHandler.ts","webpack://graylog-web-interface/./src/views/components/aggregationbuilder/AggregationBuilderPropTypes.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/XYVisualization.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/BarVisualizationConfig.ts","webpack://graylog-web-interface/./src/views/components/visualizations/TransformKeys.ts","webpack://graylog-web-interface/./src/views/components/visualizations/ChartData.ts","webpack://graylog-web-interface/./src/views/components/visualizations/useMapKeys.ts","webpack://graylog-web-interface/./src/views/components/visualizations/useChartData.ts","webpack://graylog-web-interface/./src/views/components/visualizations/useEvents.ts","webpack://graylog-web-interface/./src/views/components/visualizations/PlotLegend.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/OnZoom.ts","webpack://graylog-web-interface/./src/views/components/visualizations/XYPlot.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/bar/BarVisualization.tsx","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/LineVisualizationConfig.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/Interpolation.ts","webpack://graylog-web-interface/./src/views/components/visualizations/line/LineVisualization.tsx","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/NumberVisualizationConfig.ts","webpack://graylog-web-interface/./src/views/components/visualizations/number/Trend.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/number/AutoFontSizer.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/number/NumberVisualization.tsx","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/Viewport.ts","webpack://graylog-web-interface/./src/views/components/visualizations/worldmap/MapVisualization.css?5ac2","webpack://graylog-web-interface/./src/views/components/visualizations/worldmap/MapVisualization.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/worldmap/WorldMapVisualization.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/heatmap/HeatmapVisualization.tsx","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/AreaVisualizationConfig.ts","webpack://graylog-web-interface/./src/views/components/MigrateFieldCharts.tsx","webpack://graylog-web-interface/./src/views/logic/searchtypes/aggregation/PivotConfigGenerator.ts","webpack://graylog-web-interface/./src/views/logic/searchtypes/pivot/PivotHandler.ts","webpack://graylog-web-interface/./src/views/logic/searchresulttransformers/PivotTransformer.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/FieldStatisticsHandler.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/ExcludeFromQueryHandler.ts","webpack://graylog-web-interface/./src/views/components/widgets/FieldSortSelect.tsx","webpack://graylog-web-interface/./src/views/components/widgets/SortDirectionSelect.tsx","webpack://graylog-web-interface/./src/views/components/aggregationbuilder/DescriptionBox.jsx","webpack://graylog-web-interface/./src/views/components/messagelist/decorators/DecoratorSidebar.tsx","webpack://graylog-web-interface/./src/views/components/widgets/EditMessageList.tsx","webpack://graylog-web-interface/./src/views/pages/index.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/AddMessageCountActionHandler.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/AddMessageTableActionHandler.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/RemoveFromTableActionHandler.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/RemoveFromAllTablesActionHandler.ts","webpack://graylog-web-interface/./src/views/logic/creatoractions/AddCustomAggregation.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/SelectExtractorType.tsx","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/WorldMapVisualizationConfig.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/ShowDocumentsHandler.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/HighlightValueHandler.ts","webpack://graylog-web-interface/./src/views/components/searchbar/completions/token-helper.ts","webpack://graylog-web-interface/./src/views/components/searchbar/completions/FieldNameCompletion.ts","webpack://graylog-web-interface/./src/views/components/searchbar/completions/FieldValueCompletion.ts","webpack://graylog-web-interface/./src/views/components/searchbar/completions/OperatorCompletion.ts","webpack://graylog-web-interface/./src/views/pages/StyleFixups.css?f17e","webpack://graylog-web-interface/./src/views/components/views/MissingRequirements.tsx","webpack://graylog-web-interface/./src/views/hooks/RequirementsProvided.tsx","webpack://graylog-web-interface/./src/views/components/dashboard/BigDisplayModeHeader.tsx","webpack://graylog-web-interface/./src/views/components/dashboard/bigdisplay/CycleQueryTab.tsx","webpack://graylog-web-interface/./src/views/pages/ShowDashboardInBigDisplayMode.tsx","webpack://graylog-web-interface/./src/views/components/datatable/bindings.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/area/AreaVisualization.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/validations.ts","webpack://graylog-web-interface/./src/views/components/visualizations/area/bindings.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/bar/bindings.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/heatmap/bindings.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/line/bindings.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/number/bindings.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/pie/PieVisualization.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/pie/bindings.tsx","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/ScatterVisualizationConfig.ts","webpack://graylog-web-interface/./src/views/components/visualizations/scatter/ScatterVisualization.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/scatter/bindings.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/worldmap/bindings.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/bindings.tsx","webpack://graylog-web-interface/./src/util/conditional/filterValueActions.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/CopyValueToClipboard.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/CopyFieldToClipboard.ts","webpack://graylog-web-interface/./src/views/components/views/ViewHeader.tsx","webpack://graylog-web-interface/./src/views/viewsReducers.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/createEventDefinition/CheckBoxGroup.tsx","webpack://graylog-web-interface/./src/views/logic/valueactions/createEventDefinition/Constants.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/createEventDefinition/RadioSection.tsx","webpack://graylog-web-interface/./src/views/logic/valueactions/createEventDefinition/hooks/useLocalStorageConfigData.tsx","webpack://graylog-web-interface/./src/views/logic/valueactions/createEventDefinition/hooks/useModalReducer.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/createEventDefinition/CreateEventDefinitionModal.tsx","webpack://graylog-web-interface/./src/views/logic/valueactions/createEventDefinition/hooks/hookHelpers.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/createEventDefinition/hooks/useMappedData.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/createEventDefinition/hooks/useModalData.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/createEventDefinition/CreateEventDefinition.tsx","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChangeFieldType/hooks/useFieldTypes.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChangeFieldType/Constants.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChangeFieldType/hooks/useFieldTypeUsages.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChangeFieldType/hooks/useColumnRenderers.tsx","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChangeFieldType/hooks/useCurrentStream.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChangeFieldType/IndexSetsTable.tsx","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChangeFieldType/hooks/useFieldTypeMutation.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChangeFieldType/hooks/useInitialSelection.tsx","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChangeFieldType/ChangeFieldTypeModal.tsx","webpack://graylog-web-interface/./src/views/logic/IsReservedField.ts","webpack://graylog-web-interface/./src/views/logic/fieldactions/ChangeFieldType/ChangeFieldType.tsx","webpack://graylog-web-interface/./src/views/logic/parameters/ValueParameter.ts","webpack://graylog-web-interface/./src/views/logic/searchtypes/messages/MessageSortConfig.ts","webpack://graylog-web-interface/./src/views/logic/searchtypes/messages/MessageConfigGenerator.ts","webpack://graylog-web-interface/./src/views/components/widgets/UnknownWidget.tsx","webpack://graylog-web-interface/./src/views/pages/NewSearchRedirectPage.tsx","webpack://graylog-web-interface/./src/views/bindings.tsx","webpack://graylog-web-interface/./src/threatintel/components/ThreatIntelPluginConfig.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/spamhaus-edrop/SpamhausEDROPAdapterDocumentation.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/spamhaus-edrop/SpamhausEDROPAdapterFieldSet.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/spamhaus-edrop/SpamhausEDROPAdapterSummary.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/torexitnode/TorExitNodeAdapterDocumentation.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/torexitnode/TorExitNodeAdapterFieldSet.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/torexitnode/TorExitNodeAdapterSummary.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/whois/WhoisAdapterDocumentation.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/whois/WhoisAdapterFieldSet.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/whois/WhoisAdapterSummary.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/abusech/AbuseChRansomAdapterDocumentation.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/abusech/AbuseChRansomAdapterFieldSet.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/abusech/AbuseChRansomAdapterSummary.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/otx/OTXAdapterDocumentation.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/otx/OTXAdapterFieldSet.jsx","webpack://graylog-web-interface/./src/threatintel/components/adapters/otx/OTXAdapterSummary.jsx","webpack://graylog-web-interface/./src/threatintel/bindings.jsx","webpack://graylog-web-interface/./src/aws/Constants.js","webpack://graylog-web-interface/./src/aws/components/AWSPluginConfiguration.tsx","webpack://graylog-web-interface/./src/aws/bindings.jsx","webpack://graylog-web-interface/./src/integrations/aws/common/Routes.js","webpack://graylog-web-interface/./src/integrations/aws/AWSInputConfiguration.jsx","webpack://graylog-web-interface/./src/integrations/aws/context/Sidebar.jsx","webpack://graylog-web-interface/./src/integrations/aws/context/FormData.jsx","webpack://graylog-web-interface/./src/integrations/aws/context/Steps.jsx","webpack://graylog-web-interface/./src/integrations/aws/context/Api.jsx","webpack://graylog-web-interface/./src/integrations/aws/context/AdvancedOptions.jsx","webpack://graylog-web-interface/./src/integrations/aws/common/constants.js","webpack://graylog-web-interface/./src/integrations/aws/common/formDataAdapter.js","webpack://graylog-web-interface/./src/integrations/aws/utils/formValidation.js","webpack://graylog-web-interface/./src/integrations/aws/common/ValidatedInput.jsx","webpack://graylog-web-interface/./src/integrations/aws/common/FormWrap.jsx","webpack://graylog-web-interface/./src/integrations/aws/common/Options.jsx","webpack://graylog-web-interface/./src/integrations/aws/common/hooks/useFetch.js","webpack://graylog-web-interface/./src/integrations/aws/common/MaskedInput.jsx","webpack://graylog-web-interface/./src/integrations/aws/authentication/KeySecret.jsx","webpack://graylog-web-interface/./src/integrations/aws/common/sharedStyles.js","webpack://graylog-web-interface/./src/integrations/aws/authentication/Automatic.jsx","webpack://graylog-web-interface/./src/integrations/aws/authentication/ARN.jsx","webpack://graylog-web-interface/./src/integrations/aws/authentication/AWSAuthenticationTypes.jsx","webpack://graylog-web-interface/./src/integrations/aws/common/AdditionalFields.jsx","webpack://graylog-web-interface/./src/integrations/aws/authentication/AWSCustomEndpoints.jsx","webpack://graylog-web-interface/./src/integrations/aws/StepAuthorize.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/FormAdvancedOptions.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/kinesis/ExistingStreams.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/kinesis/setup-steps/Agree.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/kinesis/setup-steps/KinesisSetupStep.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/kinesis/setup-steps/KinesisSetupSteps.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/kinesis/setup-steps/SetupModal.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/kinesis/SetupNewStream.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/StepKinesis.jsx","webpack://graylog-web-interface/./src/integrations/aws/common/SkipHealthCheck.jsx","webpack://graylog-web-interface/./src/integrations/aws/common/Countdown.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/StepHealthCheck.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/StepReview.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/SidebarPermissions.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/CloudWatch.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/_initialFormData.js","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/EmbeddedCloudWatchApp.jsx","webpack://graylog-web-interface/./src/integrations/aws/cloudwatch/CloudWatchApp.jsx","webpack://graylog-web-interface/./src/integrations/pager-duty/PagerDutyNotificationDetails.jsx","webpack://graylog-web-interface/./src/integrations/pager-duty/PagerDutyNotificationForm.jsx","webpack://graylog-web-interface/./src/integrations/pager-duty/PagerDutyNotificationSummary.jsx","webpack://graylog-web-interface/./src/integrations/event-notifications/event-notification-details/SlackNotificationDetails.tsx","webpack://graylog-web-interface/./src/integrations/event-notifications/event-notification-types/SlackNotificationForm.tsx","webpack://graylog-web-interface/./src/integrations/event-notifications/event-notification-types/SlackNotificationSummary.tsx","webpack://graylog-web-interface/./src/integrations/event-notifications/event-notification-details/TeamsNotificationDetails.tsx","webpack://graylog-web-interface/./src/integrations/event-notifications/event-notification-types/TeamsNotificationForm.tsx","webpack://graylog-web-interface/./src/integrations/event-notifications/event-notification-types/TeamsNotificationSummary.tsx","webpack://graylog-web-interface/./src/integrations/dataadapters/GreyNoiseAdapterFieldSet.jsx","webpack://graylog-web-interface/./src/integrations/dataadapters/GreyNoiseAdapterSummary.jsx","webpack://graylog-web-interface/./src/integrations/dataadapters/GreyNoiseAdapterDocumentation.jsx","webpack://graylog-web-interface/./src/integrations/dataadapters/GreyNoiseCommunityIpLookupAdapterDocumentation.jsx","webpack://graylog-web-interface/./src/integrations/event-notifications/event-notification-types/TeamsNotificationV2Form.tsx","webpack://graylog-web-interface/./src/integrations/event-notifications/event-notification-types/TeamsNotificationV2Summary.tsx","webpack://graylog-web-interface/./src/integrations/event-notifications/event-notification-details/TeamsNotificationV2Details.tsx","webpack://graylog-web-interface/./src/integrations/bindings.jsx","webpack://graylog-web-interface/./src/logic/telemetry/TelemetryInit.tsx","webpack://graylog-web-interface/./src/contexts/LoginQueryClientProvider.tsx","webpack://graylog-web-interface/./src/index.tsx","webpack://graylog-web-interface/./src/logic/DefaultCompare.ts","webpack://graylog-web-interface/./src/logic/assertUnreachable.ts","webpack://graylog-web-interface/./src/logic/errors/ReportedErrors.ts","webpack://graylog-web-interface/./src/logic/generateId.ts","webpack://graylog-web-interface/./src/logic/local-storage/Store.js","webpack://graylog-web-interface/./src/logic/message/MessageFieldsFilter.ts","webpack://graylog-web-interface/./src/logic/permissions/GRN.ts","webpack://graylog-web-interface/./src/logic/permissions/Grantee.ts","webpack://graylog-web-interface/./src/logic/permissions/SharedEntity.ts","webpack://graylog-web-interface/./src/logic/rest/CancellablePromise.ts","webpack://graylog-web-interface/./src/logic/errors/FetchError.ts","webpack://graylog-web-interface/./src/logic/rest/FetchProvider.ts","webpack://graylog-web-interface/./src/logic/search/UniversalSearch.js","webpack://graylog-web-interface/./src/logic/singleton.ts","webpack://graylog-web-interface/./src/logic/telemetry/Constants.ts","webpack://graylog-web-interface/./src/logic/telemetry/TelemetryContext.tsx","webpack://graylog-web-interface/./src/routing/useRoutePattern.ts","webpack://graylog-web-interface/./src/logic/telemetry/useSendTelemetry.tsx","webpack://graylog-web-interface/./src/logic/telemetry/withTelemetry.tsx","webpack://graylog-web-interface/./src/pages/NotFoundPage.tsx","webpack://graylog-web-interface/./src/pages/RuntimeErrorPage.tsx","webpack://graylog-web-interface/./src/pages/StreamPermissionErrorPage.tsx","webpack://graylog-web-interface/./src/pages/UnauthorizedErrorPage.tsx","webpack://graylog-web-interface/./src/routing/ApiRoutes.ts","webpack://graylog-web-interface/./src/contexts/ScratchpadProvider.tsx","webpack://graylog-web-interface/./src/components/scratchpad/ScratchpadModal.tsx","webpack://graylog-web-interface/./src/components/scratchpad/Scratchpad.tsx","webpack://graylog-web-interface/./src/stores/metrics/GlobalThroughputStore.js","webpack://graylog-web-interface/./src/components/throughput/GlobalThroughput.jsx","webpack://graylog-web-interface/./src/components/navigation/ThemeModeToggle.tsx","webpack://graylog-web-interface/./src/components/navigation/UserMenu.tsx","webpack://graylog-web-interface/./src/components/navigation/HelpMenu.tsx","webpack://graylog-web-interface/./src/components/navigation/NavigationBrand.tsx","webpack://graylog-web-interface/./src/components/navigation/InactiveNavItem.tsx","webpack://graylog-web-interface/./src/components/navigation/NotificationBadge.tsx","webpack://graylog-web-interface/./src/components/navigation/NavigationLink.tsx","webpack://graylog-web-interface/./src/components/navigation/DevelopmentHeaderBadge.tsx","webpack://graylog-web-interface/./src/components/navigation/SystemMenu.tsx","webpack://graylog-web-interface/./src/components/navigation/ScratchpadToggle.tsx","webpack://graylog-web-interface/./src/components/navigation/Navigation.styles.tsx","webpack://graylog-web-interface/./src/components/navigation/Navigation.tsx","webpack://graylog-web-interface/./src/components/errors/ReportedErrorBoundary.tsx","webpack://graylog-web-interface/./src/components/errors/RuntimeErrorBoundary.tsx","webpack://graylog-web-interface/./public/stylesheets/typeahead.less?e600","webpack://graylog-web-interface/./src/logic/telemetry/NavigationTelemetry.tsx","webpack://graylog-web-interface/./src/contexts/HotkeysProvider.tsx","webpack://graylog-web-interface/./src/util/OSUtils.ts","webpack://graylog-web-interface/./src/components/hotkeys/HotkeysModal.tsx","webpack://graylog-web-interface/./src/components/hotkeys/HotkeysModalContainer.tsx","webpack://graylog-web-interface/./src/routing/App.tsx","webpack://graylog-web-interface/./src/routing/Routes.ts","webpack://graylog-web-interface/./src/routing/hooks/useShowRouteForEntity.ts","webpack://graylog-web-interface/./src/routing/hooks/useShowRouteFromGRN.ts","webpack://graylog-web-interface/./src/routing/loadAsync.tsx","webpack://graylog-web-interface/./src/routing/useHistory.ts","webpack://graylog-web-interface/./src/routing/useLocation.ts","webpack://graylog-web-interface/./src/routing/useParams.ts","webpack://graylog-web-interface/./src/routing/useQuery.ts","webpack://graylog-web-interface/./src/routing/withLocation.tsx","webpack://graylog-web-interface/./src/stores/configurations/ConfigurationsStore.ts","webpack://graylog-web-interface/./src/stores/connect.tsx","webpack://graylog-web-interface/./src/stores/decorators/DecoratorsStore.js","webpack://graylog-web-interface/./src/stores/inputs/InputStaticFieldsStore.js","webpack://graylog-web-interface/./src/stores/inputs/InputsStore.ts","webpack://graylog-web-interface/./src/stores/isDeepEqual.ts","webpack://graylog-web-interface/./src/stores/metrics/MetricsStore.ts","webpack://graylog-web-interface/./src/stores/nodes/NodesStore.ts","webpack://graylog-web-interface/./src/stores/notifications/NotificationsStore.ts","webpack://graylog-web-interface/./src/logic/permissions/Capability.ts","webpack://graylog-web-interface/./src/logic/permissions/ActiveShare.ts","webpack://graylog-web-interface/./src/logic/permissions/SelectedGrantee.ts","webpack://graylog-web-interface/./src/logic/permissions/ValidationResult.ts","webpack://graylog-web-interface/./src/logic/permissions/EntityShareState.ts","webpack://graylog-web-interface/./src/actions/permissions/EntityShareActions.ts","webpack://graylog-web-interface/./src/stores/permissions/EntityShareStore.ts","webpack://graylog-web-interface/./src/stores/sessions/ServerAvailabilityStore.ts","webpack://graylog-web-interface/./src/stores/sessions/SessionStore.ts","webpack://graylog-web-interface/./src/actions/streams/StreamsActions.js","webpack://graylog-web-interface/./src/stores/streams/StreamsStore.ts","webpack://graylog-web-interface/./src/stores/system/SystemStore.ts","webpack://graylog-web-interface/./src/stores/telemetry/TelemetrySettingsStore.ts","webpack://graylog-web-interface/./src/stores/tools/ToolsStore.ts","webpack://graylog-web-interface/./src/stores/useAppDispatch.ts","webpack://graylog-web-interface/./src/stores/useAppSelector.ts","webpack://graylog-web-interface/./src/stores/users/CurrentUserStore.ts","webpack://graylog-web-interface/./src/stores/users/PreferencesStore.ts","webpack://graylog-web-interface/./src/stores/users/StartpageStore.js","webpack://graylog-web-interface/./src/theme/ColorSchemeContext.tsx","webpack://graylog-web-interface/./src/theme/GlobalThemeStyles.ts","webpack://graylog-web-interface/./src/theme/hooks/useBrowserColorSchemePreference.ts","webpack://graylog-web-interface/./src/theme/hooks/usePreferredColorScheme.ts","webpack://graylog-web-interface/./src/theme/GraylogThemeProvider.tsx","webpack://graylog-web-interface/./src/theme/constants.ts","webpack://graylog-web-interface/./src/util/AppConfig.ts","webpack://graylog-web-interface/./src/util/DateTime.ts","webpack://graylog-web-interface/./src/util/DocsHelper.ts","webpack://graylog-web-interface/./src/util/ExtractorUtils.js","webpack://graylog-web-interface/./src/util/CreateEvent.ts","webpack://graylog-web-interface/./src/util/FormsUtils.js","webpack://graylog-web-interface/./src/util/ISODurationUtils.ts","webpack://graylog-web-interface/./src/util/NumberUtils.js","webpack://graylog-web-interface/./src/util/ObjectUtils.ts","webpack://graylog-web-interface/./src/util/PaginationURL.ts","webpack://graylog-web-interface/./src/util/PermissionsMixin.js","webpack://graylog-web-interface/./src/util/StringUtils.ts","webpack://graylog-web-interface/./src/util/TimeHelper.js","webpack://graylog-web-interface/./src/util/URLUtils.ts","webpack://graylog-web-interface/./src/util/UserNotification.css?3345","webpack://graylog-web-interface/./src/util/UserNotification.js","webpack://graylog-web-interface/./src/util/Version.ts","webpack://graylog-web-interface/./src/util/conditional/HideOnCloud.tsx","webpack://graylog-web-interface/./src/util/copyToClipboard.ts","webpack://graylog-web-interface/./src/util/deprecationNotice.js","webpack://graylog-web-interface/./src/views/Constants.ts","webpack://graylog-web-interface/./src/views/actions/QueryValidationActions.ts","webpack://graylog-web-interface/./src/views/components/CustomPropTypes.ts","webpack://graylog-web-interface/./src/views/components/ExternalValueActionsContext.tsx","webpack://graylog-web-interface/./src/hooks/useFavoriteItemMutation.tsx","webpack://graylog-web-interface/./src/views/components/FavoriteIcon.tsx","webpack://graylog-web-interface/./src/views/components/actions/FieldActions.tsx","webpack://graylog-web-interface/./src/views/components/Field.tsx","webpack://graylog-web-interface/./src/views/components/TimeRangeValidation.ts","webpack://graylog-web-interface/./src/views/components/TimerangeForForm.ts","webpack://graylog-web-interface/./src/views/components/fieldtypes/InputField.tsx","webpack://graylog-web-interface/./src/views/components/fieldtypes/NodeField.tsx","webpack://graylog-web-interface/./src/views/components/fieldtypes/StreamsField.tsx","webpack://graylog-web-interface/./src/views/components/fieldtypes/PercentageField.tsx","webpack://graylog-web-interface/./src/views/components/EmptyValue.tsx","webpack://graylog-web-interface/./src/views/components/DecoratorValue.tsx","webpack://graylog-web-interface/./src/views/components/TypeSpecificValue.tsx","webpack://graylog-web-interface/./src/views/components/actions/ValueActions.tsx","webpack://graylog-web-interface/./src/views/components/Value.tsx","webpack://graylog-web-interface/./src/views/components/ViewTypeLabel.ts","webpack://graylog-web-interface/./src/views/components/actions/ActionHandler.tsx","webpack://graylog-web-interface/./src/views/components/actions/ActionMenuItem.tsx","webpack://graylog-web-interface/./src/views/hooks/useExternalValueActions.tsx","webpack://graylog-web-interface/./src/views/components/actions/ActionDropdown.tsx","webpack://graylog-web-interface/./src/views/components/actions/Action.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/ElementConfigurationContainer.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/AggregationElementSelect.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/ElementsConfigurationActions.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/FieldSelect.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/OnVisualizationConfigChangeContext.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/grouping/parseNumber.ts","webpack://graylog-web-interface/./src/components/common/FormErrors.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/grouping/configuration/Direction.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/grouping/configuration/FieldComponent.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/grouping/configuration/Time.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/grouping/GroupingConfiguration.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/grouping/GroupingsConfiguration.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/grouping/GroupingElement.ts","webpack://graylog-web-interface/./src/views/components/aggregationwizard/grouping/index.ts","webpack://graylog-web-interface/./src/views/components/aggregationwizard/metric/index.ts","webpack://graylog-web-interface/./src/views/components/aggregationwizard/sort/SortConfiguration.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/sort/SortsConfiguration.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/sort/SortElement.ts","webpack://graylog-web-interface/./src/views/components/aggregationwizard/sort/index.ts","webpack://graylog-web-interface/./src/views/components/aggregationwizard/visualization/configurationFields/BooleanField.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/visualization/configurationFields/NumericField.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/visualization/configurationFields/SelectField.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/visualization/configurationFields/MultiSelectField.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/visualization/VisualizationConfigurationOptions.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/visualization/VisualizationConfiguration.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/visualization/VisualizationElement.ts","webpack://graylog-web-interface/./src/views/components/aggregationwizard/aggregationElementDefinitions.ts","webpack://graylog-web-interface/./src/views/components/aggregationwizard/visualization/index.ts","webpack://graylog-web-interface/./src/views/components/aggregationwizard/PropagateDisableSubmissionState.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/WidgetConfigForm.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/ElementConfigurationSection.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/ElementsConfiguration.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/VisualizationContainer.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/AggregationWizard.tsx","webpack://graylog-web-interface/./src/views/hooks/useAggregationFunctions.ts","webpack://graylog-web-interface/./src/views/components/aggregationwizard/metric/MetricConfiguration.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/metric/MetricsConfiguration.tsx","webpack://graylog-web-interface/./src/views/components/aggregationwizard/metric/MetricElement.ts","webpack://graylog-web-interface/./src/views/components/common/EditableTitle.css?9d33","webpack://graylog-web-interface/./src/views/components/common/EditableTitle.tsx","webpack://graylog-web-interface/./src/views/components/contexts/DisableSubmissionStateContext.tsx","webpack://graylog-web-interface/./src/views/components/contexts/DrilldownContext.tsx","webpack://graylog-web-interface/./src/views/components/contexts/FieldTypesContext.tsx","webpack://graylog-web-interface/./src/views/components/contexts/HighlightMessageContext.tsx","webpack://graylog-web-interface/./src/views/components/contexts/HighlightingRulesContext.tsx","webpack://graylog-web-interface/./src/views/components/contexts/InteractiveContext.ts","webpack://graylog-web-interface/./src/views/components/contexts/TimeRangeInputSettingsContext.ts","webpack://graylog-web-interface/./src/views/components/contexts/WidgetContext.tsx","webpack://graylog-web-interface/./src/views/components/contexts/WidgetEditApplyAllChangesContext.tsx","webpack://graylog-web-interface/./src/views/components/contexts/WidgetFocusContext.tsx","webpack://graylog-web-interface/./src/views/components/dashboard/DashboardPropertiesModal.tsx","webpack://graylog-web-interface/./src/views/components/dashboard/IfInteractive.tsx","webpack://graylog-web-interface/./src/views/components/dashboard/hooks/useDashboards.ts","webpack://graylog-web-interface/./src/views/components/defaultTitle.ts","webpack://graylog-web-interface/./src/views/components/highlighting/Highlight.tsx","webpack://graylog-web-interface/./src/views/components/highlighting/CustomHighlighting.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/NodeName.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/FormatReceivedBy.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/FormatAssetList.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessageDetailProviders.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessageActions.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessageAugmentations.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessageMetadata.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessageDetail.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/FormatNumber.ts","webpack://graylog-web-interface/./src/views/components/messagelist/IsNumeric.ts","webpack://graylog-web-interface/./src/views/components/highlighting/PossiblyHighlight.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/SearchQueryHighlights.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/decoration/DecoratorContext.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/decoration/DecoratedValue.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/decorators/PopoverHelp.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/decorators/AddDecoratorButton.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/decorators/DecoratorList.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/decorators/DecoratorSummary.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/decorators/InlineForm.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessageField.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessageFields.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessageFieldRow.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessagePreview.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/MessageTableEntry.tsx","webpack://graylog-web-interface/./src/views/components/search/IfSearch.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/SearchBarLayout.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/TimeRangeDisplay.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/migrateTimeRangeToNewType.ts","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/AbsoluteDatePicker.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/AbsoluteTimeInput.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/AbsoluteCalendar.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/AbsoluteTimestamp.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/TabAbsoluteTimeRange.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/TabKeywordTimeRange.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/RelativeRangeValueInput.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/RelativeRangeSelect.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/TabRelativeTimeRange.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/TabDisabledTimeRange.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/TimeRangePickerTabs.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/TimeRangePresetDropdown.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/SaveTimeRangeAsPresetButton.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/TimeRangePresetRow.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/TimeRangePicker.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/index.ts","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/TimeRangeFilterButtons.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/TimeRangeFilter.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/index.ts","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/AbsoluteDateInput.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/RelativeTimeRangeClassifiedHelper.ts","webpack://graylog-web-interface/./src/views/components/searchbar/time-range-filter/time-range-picker/TimeRangePickerButton.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/fields/FieldTypeIcon.css?9427","webpack://graylog-web-interface/./src/views/components/sidebar/fields/FieldTypeIcon.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/highlighting/Scale.ts","webpack://graylog-web-interface/./src/views/components/visualizations/ChartColorContext.ts","webpack://graylog-web-interface/./src/views/components/visualizations/ColorMapper.ts","webpack://graylog-web-interface/./src/views/components/visualizations/Colors.ts","webpack://graylog-web-interface/./src/views/components/visualizations/GenericPlot.lazy.css?612e","webpack://graylog-web-interface/./src/views/components/visualizations/GenericPlot.tsx","webpack://graylog-web-interface/./src/views/components/visualizations/plotly/AsyncPlot.ts","webpack://graylog-web-interface/./src/views/components/widgets/MessageWidgets.css?2be6","webpack://graylog-web-interface/./src/views/components/widgets/ErrorWidget.tsx","webpack://graylog-web-interface/./src/views/components/widgets/SelectedFieldsList.tsx","webpack://graylog-web-interface/./src/views/components/widgets/FieldsConfiguration.tsx","webpack://graylog-web-interface/./src/views/components/widgets/RenderCompletionCallback.tsx","webpack://graylog-web-interface/./src/views/components/widgets/ReplaySearchButton.tsx","webpack://graylog-web-interface/./src/views/components/widgets/SaveOrCancelButtons.tsx","webpack://graylog-web-interface/./src/views/components/widgets/StickyBottomActions.tsx","webpack://graylog-web-interface/./src/views/components/widgets/WidgetHeader.tsx","webpack://graylog-web-interface/./src/views/components/widgets/WidgetPropTypes.tsx","webpack://graylog-web-interface/./src/views/hooks/BindSearchParamsFromQuery.ts","webpack://graylog-web-interface/./src/views/hooks/IterateConfirmationHooks.ts","webpack://graylog-web-interface/./src/views/logic/queries/useCurrentQueryId.ts","webpack://graylog-web-interface/./src/views/hooks/useActiveQueryId.ts","webpack://graylog-web-interface/./src/views/hooks/useIsLocalNode.ts","webpack://graylog-web-interface/./src/views/hooks/useIsNew.ts","webpack://graylog-web-interface/./src/views/hooks/useOnSearchExecution.ts","webpack://graylog-web-interface/./src/views/hooks/useSaveViewFormControls.ts","webpack://graylog-web-interface/./src/views/hooks/useSavedSearches.ts","webpack://graylog-web-interface/./src/views/hooks/useView.ts","webpack://graylog-web-interface/./src/views/logic/views/ViewTitle.ts","webpack://graylog-web-interface/./src/views/hooks/useViewTitle.ts","webpack://graylog-web-interface/./src/views/hooks/useViewType.ts","webpack://graylog-web-interface/./src/views/logic/ActionContext.tsx","webpack://graylog-web-interface/./src/views/logic/IsFilteredField.ts","webpack://graylog-web-interface/./src/views/logic/NormalizeSearchURLQueryParams.ts","webpack://graylog-web-interface/./src/views/logic/SearchError.ts","webpack://graylog-web-interface/./src/views/logic/QueryResult.ts","webpack://graylog-web-interface/./src/views/logic/ResultWindowLimitError.ts","webpack://graylog-web-interface/./src/views/logic/SearchResult.ts","webpack://graylog-web-interface/./src/views/logic/SearchType.ts","webpack://graylog-web-interface/./src/views/logic/TimeRange.ts","webpack://graylog-web-interface/./src/views/logic/Widgets.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/AggregationWidget.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/AggregationWidgetConfig.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/Direction.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/Pivot.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/Series.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/SeriesConfig.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/SortConfig.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/WidgetFormattingSettings.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/HeatmapVisualizationConfig.ts","webpack://graylog-web-interface/./src/views/logic/aggregationbuilder/visualizations/VisualizationConfig.ts","webpack://graylog-web-interface/./src/views/logic/debounceWithPromise.ts","webpack://graylog-web-interface/./src/views/logic/fieldtypes/FieldType.ts","webpack://graylog-web-interface/./src/views/logic/fieldtypes/FieldTypeMapping.ts","webpack://graylog-web-interface/./src/views/logic/fieldtypes/InferTypeForSeries.ts","webpack://graylog-web-interface/./src/views/logic/fieldtypes/useFieldTypes.ts","webpack://graylog-web-interface/./src/views/logic/parameters/LookupTableParameter.ts","webpack://graylog-web-interface/./src/views/logic/parameters/Parameter.ts","webpack://graylog-web-interface/./src/views/logic/parameters/ParameterBinding.ts","webpack://graylog-web-interface/./src/views/logic/queries/IsAllMessagesRange.ts","webpack://graylog-web-interface/./src/views/logic/queries/NormalizeTimeRange.ts","webpack://graylog-web-interface/./src/views/logic/queries/Query.ts","webpack://graylog-web-interface/./src/views/logic/queries/QueryGenerator.ts","webpack://graylog-web-interface/./src/views/logic/queries/QueryHelper.ts","webpack://graylog-web-interface/./src/views/logic/queries/QueryTitle.ts","webpack://graylog-web-interface/./src/views/logic/queries/TimeRangeToString.ts","webpack://graylog-web-interface/./src/views/logic/queries/useCurrentQuery.ts","webpack://graylog-web-interface/./src/views/logic/search/GlobalOverride.ts","webpack://graylog-web-interface/./src/views/logic/search/Search.ts","webpack://graylog-web-interface/./src/views/logic/search/SearchExecutionState.ts","webpack://graylog-web-interface/./src/views/logic/search/SearchLink.ts","webpack://graylog-web-interface/./src/views/logic/searchtypes/aggregation/PivotGenerator.ts","webpack://graylog-web-interface/./src/views/logic/searchtypes/events/EventHandler.ts","webpack://graylog-web-interface/./src/views/logic/slices/createSearch.ts","webpack://graylog-web-interface/./src/views/logic/slices/highlightActions.ts","webpack://graylog-web-interface/./src/views/logic/slices/highlightSelectors.ts","webpack://graylog-web-interface/./src/views/logic/search/QueryMetadata.ts","webpack://graylog-web-interface/./src/views/logic/search/SearchMetadata.ts","webpack://graylog-web-interface/./src/views/logic/slices/parseSearch.ts","webpack://graylog-web-interface/./src/views/logic/slices/searchExecutionSelectors.ts","webpack://graylog-web-interface/./src/views/stores/SearchJobs.ts","webpack://graylog-web-interface/./src/views/logic/slices/executeSearch.ts","webpack://graylog-web-interface/./src/views/logic/slices/searchExecutionSlice.ts","webpack://graylog-web-interface/./src/views/logic/slices/searchMetadataSlice.ts","webpack://graylog-web-interface/./src/views/logic/slices/titlesSelectors.ts","webpack://graylog-web-interface/./src/views/logic/slices/titlesActions.ts","webpack://graylog-web-interface/./src/views/logic/slices/undoRedoSelectors.ts","webpack://graylog-web-interface/./src/views/logic/slices/undoRedoSlice.ts","webpack://graylog-web-interface/./src/views/logic/slices/viewSelectors.ts","webpack://graylog-web-interface/./src/views/logic/NewQueryActionHandler.ts","webpack://graylog-web-interface/./src/views/logic/slices/viewSlice.ts","webpack://graylog-web-interface/./src/views/logic/slices/widgetSelectors.ts","webpack://graylog-web-interface/./src/views/logic/slices/widgetActions.ts","webpack://graylog-web-interface/./src/views/logic/valueactions/AddToQueryHandler.ts","webpack://graylog-web-interface/./src/views/logic/views/Actions.ts","webpack://graylog-web-interface/./src/views/logic/views/FindNewActiveQuery.ts","webpack://graylog-web-interface/./src/views/logic/views/GetPositionForNewWidget.ts","webpack://graylog-web-interface/./src/views/logic/views/GenerateNextPosition.ts","webpack://graylog-web-interface/./src/views/logic/views/OnSaveViewAction.ts","webpack://graylog-web-interface/./src/views/logic/searchtypes/SearchTypesGenerator.ts","webpack://graylog-web-interface/./src/views/logic/views/UpdateSearchForWidgets.ts","webpack://graylog-web-interface/./src/views/logic/views/View.ts","webpack://graylog-web-interface/./src/views/logic/views/ViewState.ts","webpack://graylog-web-interface/./src/views/logic/views/ViewStateGenerator.ts","webpack://graylog-web-interface/./src/views/logic/views/fetchSearch.ts","webpack://graylog-web-interface/./src/views/logic/views/formatting/FormattingSettings.ts","webpack://graylog-web-interface/./src/views/logic/views/formatting/highlighting/HighlightingColor.ts","webpack://graylog-web-interface/./src/views/logic/views/formatting/highlighting/highlightConditionFunctions.ts","webpack://graylog-web-interface/./src/views/logic/views/formatting/highlighting/HighlightingRule.ts","webpack://graylog-web-interface/./src/views/logic/views/normalizeViewState.ts","webpack://graylog-web-interface/./src/views/logic/widgets/MessagesWidget.ts","webpack://graylog-web-interface/./src/views/logic/widgets/MessagesWidgetConfig.ts","webpack://graylog-web-interface/./src/views/logic/widgets/Widget.ts","webpack://graylog-web-interface/./src/views/logic/widgets/WidgetConfig.ts","webpack://graylog-web-interface/./src/views/logic/widgets/WidgetPosition.ts","webpack://graylog-web-interface/./src/views/logic/widgets/normalizeWidgetPositions.ts","webpack://graylog-web-interface/./src/views/logic/ViewLoaderContext.tsx","webpack://graylog-web-interface/./src/views/logic/NewViewLoaderContext.tsx","webpack://graylog-web-interface/./src/views/components/contexts/SearchPagePreferencesContext.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/NavItem.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/SidebarNavigation.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/ContentColumn.tsx","webpack://graylog-web-interface/./src/views/hooks/useViewMetadata.ts","webpack://graylog-web-interface/./src/views/hooks/useGlobalOverride.ts","webpack://graylog-web-interface/./src/views/components/sidebar/description/SearchResultOverview.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/SectionInfo.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/SectionSubheadline.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/description/ViewDescription.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/create/AddWidgetButton.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/highlighting/ColorPreview.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/highlighting/HighlightingColorForm.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/highlighting/HighlightForm.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/highlighting/HighlightingRule.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/highlighting/HighlightingRules.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/sidebarSections.tsx","webpack://graylog-web-interface/./src/views/logic/slices/undoRedoActions.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/undo/UndoNavItem.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/redo/RedoNavItem.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/sidebarActions.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/Sidebar.tsx","webpack://graylog-web-interface/./src/views/components/dashboard/IfDashboard.tsx","webpack://graylog-web-interface/./src/views/components/GridGaps.ts","webpack://graylog-web-interface/./src/views/components/NewWidgetPlaceholder.tsx","webpack://graylog-web-interface/./src/views/components/CreateNewWidgetModal.tsx","webpack://graylog-web-interface/./src/views/components/WidgetContainer.tsx","webpack://graylog-web-interface/./src/views/components/ExportSettingsContext.tsx","webpack://graylog-web-interface/./src/views/components/ExportSettingsContextProvider.tsx","webpack://graylog-web-interface/./src/views/hooks/useWidget.ts","webpack://graylog-web-interface/./src/views/hooks/useActiveViewState.ts","webpack://graylog-web-interface/./src/views/hooks/useSearchResult.ts","webpack://graylog-web-interface/./src/views/components/widgets/TimerangeInfo.tsx","webpack://graylog-web-interface/./src/views/components/useWidgetResults.ts","webpack://graylog-web-interface/./src/views/components/widgets/WidgetFrame.tsx","webpack://graylog-web-interface/./src/views/components/contexts/QueryEditModeContext.tsx","webpack://graylog-web-interface/./src/views/components/contexts/WidgetEditApplyAllChangesProvider.tsx","webpack://graylog-web-interface/./src/contexts/FormWarningsContext.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/queryvalidation/QueryValidation.tsx","webpack://graylog-web-interface/./src/hooks/useIsMountedRef.ts","webpack://graylog-web-interface/./src/contexts/FormWarningsProvider.tsx","webpack://graylog-web-interface/./src/views/hooks/useParameters.ts","webpack://graylog-web-interface/./src/views/components/searchbar/queryvalidation/validateQuery.ts","webpack://graylog-web-interface/./src/views/components/searchbar/ValidateOnParameterChange.tsx","webpack://graylog-web-interface/./src/views/logic/searchbar/pluggableSearchBarControlsHandler.ts","webpack://graylog-web-interface/./src/views/components/searchbar/queryinput/usePluggableCommands.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/queryinput/PluggableCommands.tsx","webpack://graylog-web-interface/./src/views/components/useHandlerContext.ts","webpack://graylog-web-interface/./src/views/components/searchbar/WidgetTimeRangeOverride.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/StreamsFilter.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/SearchButton.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/queryinput/AsyncQueryInput.ts","webpack://graylog-web-interface/./src/views/components/searchbar/validate.ts","webpack://graylog-web-interface/./src/views/components/searchbar/SearchBarForm.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/queryinput/AsyncBasicQueryInput.ts","webpack://graylog-web-interface/./src/views/components/WidgetQueryOverride.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/SearchFilterBanner.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/PluggableSearchBarControls.tsx","webpack://graylog-web-interface/./src/views/components/WidgetQueryControls.tsx","webpack://graylog-web-interface/./src/views/components/WidgetOverrideElements.tsx","webpack://graylog-web-interface/./src/views/components/contexts/DisableSubmissionStateProvider.tsx","webpack://graylog-web-interface/./src/views/components/widgets/EditWidgetFrame.tsx","webpack://graylog-web-interface/./src/views/components/widgets/LoadingWidget.tsx","webpack://graylog-web-interface/./src/views/hooks/useWidgets.ts","webpack://graylog-web-interface/./src/views/components/widgets/useColorRules.ts","webpack://graylog-web-interface/./src/views/components/widgets/WidgetColorContext.tsx","webpack://graylog-web-interface/./src/views/components/widgets/WidgetErrorBoundary.tsx","webpack://graylog-web-interface/./src/views/components/export/ExportWidgetSelection.tsx","webpack://graylog-web-interface/./src/views/hooks/useSearchExecutionState.ts","webpack://graylog-web-interface/./src/views/components/export/ExportFormatSelection.tsx","webpack://graylog-web-interface/./src/views/components/export/CustomExportSettings.tsx","webpack://graylog-web-interface/./src/views/components/export/ExportSettings.tsx","webpack://graylog-web-interface/./src/util/MessagesExportUtils.ts","webpack://graylog-web-interface/./src/views/components/export/ExportStrategy.ts","webpack://graylog-web-interface/./src/views/components/export/startDownload.ts","webpack://graylog-web-interface/./src/views/components/export/ExportModal.tsx","webpack://graylog-web-interface/./src/views/logic/views/FindWidgetAndQueryIdInView.ts","webpack://graylog-web-interface/./src/views/logic/views/MoveWidgetToTab.ts","webpack://graylog-web-interface/./src/views/logic/views/CopyWidgetToDashboard.ts","webpack://graylog-web-interface/./src/views/components/widgets/useWidgetActions.ts","webpack://graylog-web-interface/./src/views/components/widgets/ExtraWidgetActions.tsx","webpack://graylog-web-interface/./src/views/components/widgets/CopyToDashboardForm.tsx","webpack://graylog-web-interface/./src/views/hooks/useQueryIds.ts","webpack://graylog-web-interface/./src/views/components/widgets/MoveWidgetToTabModal.tsx","webpack://graylog-web-interface/./src/views/components/common/StopPropagation.tsx","webpack://graylog-web-interface/./src/views/components/common/ActionDropdown.tsx","webpack://graylog-web-interface/./src/views/components/widgets/WidgetActionDropdown.tsx","webpack://graylog-web-interface/./src/views/components/widgets/WidgetHorizontalStretch.tsx","webpack://graylog-web-interface/./src/views/components/widgets/WidgetActionsMenu.tsx","webpack://graylog-web-interface/./src/views/components/widgets/Widget.tsx","webpack://graylog-web-interface/./src/views/components/contexts/DrilldownContextProvider.tsx","webpack://graylog-web-interface/./src/views/components/contexts/WidgetFieldTypesContextProvider.tsx","webpack://graylog-web-interface/./src/views/components/WidgetComponent.tsx","webpack://graylog-web-interface/./src/views/components/WidgetGrid.tsx","webpack://graylog-web-interface/./src/views/components/Query.tsx","webpack://graylog-web-interface/./src/views/hooks/useIsLoading.ts","webpack://graylog-web-interface/./src/views/components/SearchResult.tsx","webpack://graylog-web-interface/./src/views/components/HeaderElements.tsx","webpack://graylog-web-interface/./src/views/components/QueryBarElements.tsx","webpack://graylog-web-interface/./src/views/hooks/useIsDirty.ts","webpack://graylog-web-interface/./src/views/components/common/WindowLeaveMessage.tsx","webpack://graylog-web-interface/./src/views/components/contexts/DashboardPageContext.tsx","webpack://graylog-web-interface/./src/views/logic/views/ConfirmDeletingDashboardPage.ts","webpack://graylog-web-interface/./src/views/hooks/useQueryTitles.ts","webpack://graylog-web-interface/./src/views/components/useWidgetIds.ts","webpack://graylog-web-interface/./src/views/components/queries/QueryTitleEditModal.tsx","webpack://graylog-web-interface/./src/views/components/queries/QueryActionDropdown.tsx","webpack://graylog-web-interface/./src/views/components/queries/QueryTitle.tsx","webpack://graylog-web-interface/./src/views/components/AdaptableQueryTabsConfiguration.tsx","webpack://graylog-web-interface/./src/views/logic/views/CopyPageToDashboard.ts","webpack://graylog-web-interface/./src/views/components/AdaptableQueryTabs.tsx","webpack://graylog-web-interface/./src/views/components/QueryTabs.tsx","webpack://graylog-web-interface/./src/views/components/QueryBar.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/fields/ListItem.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/fields/List.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/fields/FieldGroup.tsx","webpack://graylog-web-interface/./src/views/components/sidebar/fields/FieldsOverview.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/useRefreshConfig.ts","webpack://graylog-web-interface/./src/views/components/searchbar/RefreshControls.tsx","webpack://graylog-web-interface/./src/util/UIUtils.js","webpack://graylog-web-interface/./src/views/components/common/ScrollToHint.tsx","webpack://graylog-web-interface/./src/views/components/DebugOverlay.tsx","webpack://graylog-web-interface/./src/views/logic/views/OnSaveNewDashboard.ts","webpack://graylog-web-interface/./src/views/Permissions.ts","webpack://graylog-web-interface/./src/views/components/contexts/SearchPageLayoutContext.tsx","webpack://graylog-web-interface/./src/hooks/useSearchPageLayout.ts","webpack://graylog-web-interface/./src/views/logic/views/pluggableSaveViewFormHandler.ts","webpack://graylog-web-interface/./src/views/components/searchbar/SaveViewButton.tsx","webpack://graylog-web-interface/./src/views/logic/slices/searchMetadataSelectors.ts","webpack://graylog-web-interface/./src/views/logic/parameters/useHasUndeclaredParameters.ts","webpack://graylog-web-interface/./src/views/components/searchbar/SaveDashboardButton.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/SaveAsDashboardButton.tsx","webpack://graylog-web-interface/./src/views/components/dashboard/BigDisplayModeConfiguration.tsx","webpack://graylog-web-interface/./src/views/components/DashboardActionsMenu.tsx","webpack://graylog-web-interface/./src/views/components/DashboardSearchBarForm.tsx","webpack://graylog-web-interface/./src/views/components/DashboardSearchBar.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/useColumnRenderes.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/SavedSearchesModal/SearchActions.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/BulkActions.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/Constants.ts","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/SavedSearchesModal/SavedSearchesOverview.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/SavedSearchesModal/SavedSearchesModal.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/SavedSearchesModal/index.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/SavedSearchForm.css?aaa5","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/SavedSearchForm.tsx","webpack://graylog-web-interface/./src/views/components/searchbar/saved-search/SearchActionsMenu.tsx","webpack://graylog-web-interface/./src/views/logic/queries/useQueryFilters.ts","webpack://graylog-web-interface/./src/views/components/SearchBar.tsx","webpack://graylog-web-interface/./src/views/components/messagelist/HighlightMessageInQuery.tsx","webpack://graylog-web-interface/./src/views/components/contexts/DefaultFieldTypesProvider.tsx","webpack://graylog-web-interface/./src/views/components/contexts/HighlightingRulesProvider.tsx","webpack://graylog-web-interface/./src/views/components/contexts/SearchPagePreferencesState.tsx","webpack://graylog-web-interface/./src/views/components/contexts/SearchPagePreferencesProvider.tsx","webpack://graylog-web-interface/./src/views/components/contexts/WidgetFocusProvider.tsx","webpack://graylog-web-interface/./src/views/hooks/SyncWithQueryParameters.ts","webpack://graylog-web-interface/./src/views/components/SynchronizeUrl.tsx","webpack://graylog-web-interface/./src/views/components/ExternalValueActionsProvider.tsx","webpack://graylog-web-interface/./src/views/components/Search.tsx","webpack://graylog-web-interface/./src/pages/UserHasNoStreamAccess.tsx","webpack://graylog-web-interface/./src/views/components/IfUserHasAccessToAnyStream.tsx","webpack://graylog-web-interface/./src/views/components/contexts/DashboardPageContextProvider.tsx","webpack://graylog-web-interface/./src/views/logic/views/processHooks.ts","webpack://graylog-web-interface/./src/views/logic/views/UseProcessHooksForView.tsx","webpack://graylog-web-interface/./src/views/pages/SearchPage.tsx","webpack://graylog-web-interface/./src/views/logic/views/ViewDeserializer.ts","webpack://graylog-web-interface/./src/views/hooks/useFetchView.ts","webpack://graylog-web-interface/./src/views/pages/ShowViewPage.tsx","webpack://graylog-web-interface/./src/views/stores/RefreshStore.ts","webpack://graylog-web-interface/./src/views/stores/SearchConfigStore.ts","webpack://graylog-web-interface/./src/views/stores/StreamsStore.ts","webpack://graylog-web-interface/./src/views/stores/TitleTypes.ts","webpack://graylog-web-interface/./src/views/stores/ViewManagementStore.ts","webpack://graylog-web-interface/./src/views/stores/isEqualForSearch.ts","webpack://graylog-web-interface/./src/views/typeGuards/timeRange.ts","webpack://graylog-web-interface/./src/routing/request.ts","webpack://graylog-web-interface/./target/api/AWS.ts","webpack://graylog-web-interface/./target/api/AWS/Config.ts","webpack://graylog-web-interface/./target/api/AWSKinesisAuto.ts","webpack://graylog-web-interface/./target/api/Authorization/GrantsOverview.ts","webpack://graylog-web-interface/./target/api/Authorization/Roles.ts","webpack://graylog-web-interface/./target/api/Authorization/Shares.ts","webpack://graylog-web-interface/./target/api/Cluster.ts","webpack://graylog-web-interface/./target/api/Cluster/Debug/SupportBundle.ts","webpack://graylog-web-interface/./target/api/Cluster/Deflector.ts","webpack://graylog-web-interface/./target/api/Cluster/InputState.ts","webpack://graylog-web-interface/./target/api/Cluster/Jobs.ts","webpack://graylog-web-interface/./target/api/Cluster/Journal.ts","webpack://graylog-web-interface/./target/api/Cluster/LoadBalancers.ts","webpack://graylog-web-interface/./target/api/Cluster/LookupTable.ts","webpack://graylog-web-interface/./target/api/Cluster/Metrics.ts","webpack://graylog-web-interface/./target/api/Cluster/Node/Metrics.ts","webpack://graylog-web-interface/./target/api/Cluster/Plugins.ts","webpack://graylog-web-interface/./target/api/Cluster/Processing.ts","webpack://graylog-web-interface/./target/api/Cluster/Processing/Status.ts","webpack://graylog-web-interface/./target/api/Cluster/System/Loggers.ts","webpack://graylog-web-interface/./target/api/ContentStream.ts","webpack://graylog-web-interface/./target/api/Dashboards.ts","webpack://graylog-web-interface/./target/api/DataNodes/API.ts","webpack://graylog-web-interface/./target/api/Documentation.ts","webpack://graylog-web-interface/./target/api/Enterprise.ts","webpack://graylog-web-interface/./target/api/EntityLists.ts","webpack://graylog-web-interface/./target/api/EntityScope.ts","webpack://graylog-web-interface/./target/api/EntitySuggestions.ts","webpack://graylog-web-interface/./target/api/Events.ts","webpack://graylog-web-interface/./target/api/Events/Definitions.ts","webpack://graylog-web-interface/./target/api/Events/EntityTypes.ts","webpack://graylog-web-interface/./target/api/Events/Notifications.ts","webpack://graylog-web-interface/./target/api/Extractors.ts","webpack://graylog-web-interface/./target/api/Favorites.ts","webpack://graylog-web-interface/./target/api/FieldTypes.ts","webpack://graylog-web-interface/./target/api/HelloWorld.ts","webpack://graylog-web-interface/./target/api/Indexer/Cluster.ts","webpack://graylog-web-interface/./target/api/Indexer/Failures.ts","webpack://graylog-web-interface/./target/api/Indexer/Indices.ts","webpack://graylog-web-interface/./target/api/Indexer/Indices/Templates.ts","webpack://graylog-web-interface/./target/api/Indexer/Overview.ts","webpack://graylog-web-interface/./target/api/Legacy/Search/Absolute.ts","webpack://graylog-web-interface/./target/api/Legacy/Search/Keyword.ts","webpack://graylog-web-interface/./target/api/Legacy/Search/Relative.ts","webpack://graylog-web-interface/./target/api/Messages.ts","webpack://graylog-web-interface/./target/api/Pipelines/Connections.ts","webpack://graylog-web-interface/./target/api/Pipelines/Pipelines.ts","webpack://graylog-web-interface/./target/api/Pipelines/Rulebuilder.ts","webpack://graylog-web-interface/./target/api/Pipelines/Rules.ts","webpack://graylog-web-interface/./target/api/Pipelines/Simulator.ts","webpack://graylog-web-interface/./target/api/Roles.ts","webpack://graylog-web-interface/./target/api/Search.ts","webpack://graylog-web-interface/./target/api/Search/Decorators.ts","webpack://graylog-web-interface/./target/api/Search/Export.ts","webpack://graylog-web-interface/./target/api/Search/Messages.ts","webpack://graylog-web-interface/./target/api/Search/Metadata.ts","webpack://graylog-web-interface/./target/api/Search/Saved.ts","webpack://graylog-web-interface/./target/api/Search/Simple.ts","webpack://graylog-web-interface/./target/api/Search/Suggestions.ts","webpack://graylog-web-interface/./target/api/Search/Validation.ts","webpack://graylog-web-interface/./target/api/Sidecar.ts","webpack://graylog-web-interface/./target/api/Sidecar/Administration.ts","webpack://graylog-web-interface/./target/api/Sidecar/Collector/Actions.ts","webpack://graylog-web-interface/./target/api/Sidecar/Collectors.ts","webpack://graylog-web-interface/./target/api/Sidecar/ConfigurationVariables.ts","webpack://graylog-web-interface/./target/api/Sidecar/Configurations.ts","webpack://graylog-web-interface/./target/api/StartPage.ts","webpack://graylog-web-interface/./target/api/StaticFields.ts","webpack://graylog-web-interface/./target/api/StreamOutputs.ts","webpack://graylog-web-interface/./target/api/StreamRules.ts","webpack://graylog-web-interface/./target/api/StreamRulesInputs.ts","webpack://graylog-web-interface/./target/api/Streams.ts","webpack://graylog-web-interface/./target/api/System.ts","webpack://graylog-web-interface/./target/api/System/Authentication/HTTPHeaderAuthConfig.ts","webpack://graylog-web-interface/./target/api/System/Authentication/Services.ts","webpack://graylog-web-interface/./target/api/System/Authentication/Services/Backends.ts","webpack://graylog-web-interface/./target/api/System/Authentication/Services/Configuration.ts","webpack://graylog-web-interface/./target/api/System/Authentication/Services/Test.ts","webpack://graylog-web-interface/./target/api/System/Catalog.ts","webpack://graylog-web-interface/./target/api/System/Cluster.ts","webpack://graylog-web-interface/./target/api/System/ClusterConfig.ts","webpack://graylog-web-interface/./target/api/System/ClusterStats.ts","webpack://graylog-web-interface/./target/api/System/ClusterTraffic.ts","webpack://graylog-web-interface/./target/api/System/Codecs/Types.ts","webpack://graylog-web-interface/./target/api/System/Configuration.ts","webpack://graylog-web-interface/./target/api/System/ContentPacks.ts","webpack://graylog-web-interface/./target/api/System/Debug/Events.ts","webpack://graylog-web-interface/./target/api/System/Debug/Streams.ts","webpack://graylog-web-interface/./target/api/System/Debug/SupportBundle.ts","webpack://graylog-web-interface/./target/api/System/Deflector.ts","webpack://graylog-web-interface/./target/api/System/FieldTypes.ts","webpack://graylog-web-interface/./target/api/System/Fields.ts","webpack://graylog-web-interface/./target/api/System/GettingStartedGuides.ts","webpack://graylog-web-interface/./target/api/System/Grok.ts","webpack://graylog-web-interface/./target/api/System/IndexRanges.ts","webpack://graylog-web-interface/./target/api/System/IndexSetDefaults.ts","webpack://graylog-web-interface/./target/api/System/IndexSets.ts","webpack://graylog-web-interface/./target/api/System/IndexSets/Types.ts","webpack://graylog-web-interface/./target/api/System/Indices/Retention.ts","webpack://graylog-web-interface/./target/api/System/Indices/Rotation.ts","webpack://graylog-web-interface/./target/api/System/InputStates.ts","webpack://graylog-web-interface/./target/api/System/Inputs.ts","webpack://graylog-web-interface/./target/api/System/Inputs/Types.ts","webpack://graylog-web-interface/./target/api/System/Jobs.ts","webpack://graylog-web-interface/./target/api/System/Journal.ts","webpack://graylog-web-interface/./target/api/System/LoadBalancers.ts","webpack://graylog-web-interface/./target/api/System/Loggers.ts","webpack://graylog-web-interface/./target/api/System/Lookup.ts","webpack://graylog-web-interface/./target/api/System/MessageProcessors.ts","webpack://graylog-web-interface/./target/api/System/Messages.ts","webpack://graylog-web-interface/./target/api/System/Metrics.ts","webpack://graylog-web-interface/./target/api/System/Notification/Message.ts","webpack://graylog-web-interface/./target/api/System/Notifications.ts","webpack://graylog-web-interface/./target/api/System/Outputs.ts","webpack://graylog-web-interface/./target/api/System/Permissions.ts","webpack://graylog-web-interface/./target/api/System/Plugins.ts","webpack://graylog-web-interface/./target/api/System/Processing.ts","webpack://graylog-web-interface/./target/api/System/Processing/Status.ts","webpack://graylog-web-interface/./target/api/System/SearchVersion.ts","webpack://graylog-web-interface/./target/api/System/ServiceManager.ts","webpack://graylog-web-interface/./target/api/System/Sessions.ts","webpack://graylog-web-interface/./target/api/System/Stats.ts","webpack://graylog-web-interface/./target/api/System/Throughput.ts","webpack://graylog-web-interface/./target/api/System/UrlWhitelist.ts","webpack://graylog-web-interface/./target/api/Telemetry.ts","webpack://graylog-web-interface/./target/api/Users.ts","webpack://graylog-web-interface/./target/api/Views.ts","webpack://graylog-web-interface/./target/api/Views/QualifyingViews.ts","webpack://graylog-web-interface/./src/views/components/messagelist/decorators/decoratorStyles.css?5fbd","webpack://graylog-web-interface/delegated 1893 from dll-reference __vendor","webpack://graylog-web-interface/delegated 22558 from dll-reference __vendor","webpack://graylog-web-interface/delegated 2555 from dll-reference __vendor","webpack://graylog-web-interface/delegated 2598 from dll-reference __vendor","webpack://graylog-web-interface/delegated 3001 from dll-reference __vendor","webpack://graylog-web-interface/delegated 3109 from dll-reference __vendor","webpack://graylog-web-interface/delegated 3156 from dll-reference __vendor","webpack://graylog-web-interface/delegated 335 from dll-reference __vendor","webpack://graylog-web-interface/delegated 381 from dll-reference __vendor","webpack://graylog-web-interface/delegated 3935 from dll-reference __vendor","webpack://graylog-web-interface/delegated 4890 from dll-reference __vendor","webpack://graylog-web-interface/delegated 5243 from dll-reference __vendor","webpack://graylog-web-interface/delegated 533 from dll-reference __vendor","webpack://graylog-web-interface/delegated 7294 from dll-reference __vendor","webpack://graylog-web-interface/delegated 7588 from dll-reference __vendor","webpack://graylog-web-interface/delegated 8 from dll-reference __vendor","webpack://graylog-web-interface/delegated 917 from dll-reference __vendor","webpack://graylog-web-interface/delegated 947 from dll-reference __vendor","webpack://graylog-web-interface/delegated 9755 from dll-reference __vendor","webpack://graylog-web-interface/external var \"__vendor\"","webpack://graylog-web-interface/webpack/bootstrap","webpack://graylog-web-interface/webpack/runtime/amd define","webpack://graylog-web-interface/webpack/runtime/chunk loaded","webpack://graylog-web-interface/webpack/runtime/compat get default export","webpack://graylog-web-interface/webpack/runtime/create fake namespace object","webpack://graylog-web-interface/webpack/runtime/define property getters","webpack://graylog-web-interface/webpack/runtime/ensure chunk","webpack://graylog-web-interface/webpack/runtime/get javascript chunk filename","webpack://graylog-web-interface/webpack/runtime/global","webpack://graylog-web-interface/webpack/runtime/hasOwnProperty shorthand","webpack://graylog-web-interface/webpack/runtime/load script","webpack://graylog-web-interface/webpack/runtime/make namespace object","webpack://graylog-web-interface/webpack/runtime/node module decorator","webpack://graylog-web-interface/webpack/runtime/publicPath","webpack://graylog-web-interface/webpack/runtime/jsonp chunk loading","webpack://graylog-web-interface/webpack/runtime/nonce","webpack://graylog-web-interface/webpack/startup"],"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, `form:not(.form-inline) .twitter-typeahead {\n  width: 100%;\n}\n.typeahead,\n.tt-query,\n.tt-hint {\n  border: 2px solid #ccc;\n  border-radius: 4px;\n  outline: none;\n}\n.typeahead {\n  background-color: #fff;\n}\n.typeahead:focus {\n  border: 2px solid #0097cf;\n}\n.tt-query {\n  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\ninput[type=\"text\"].tt-hint {\n  color: #999;\n}\n.tt-menu {\n  min-width: 160px;\n  background-color: #fff;\n  border: 1px solid rgba(0, 0, 0, 0.2);\n  border-radius: 4px;\n  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n  width: 100%;\n}\n.tt-dataset {\n  margin-top: 10px;\n}\n.tt-suggestion {\n  font-size: 1rem;\n  /* theme.fonts.size.body */\n  line-height: 20px;\n  padding: 3px 20px;\n  cursor: pointer;\n}\n.tt-suggestion:hover,\n.tt-suggestion.tt-cursor {\n  color: #ffffff;\n  text-decoration: none;\n  background-color: #0081c2;\n  background-image: linear-gradient(to bottom, #0088cc, #0077b3);\n  background-repeat: repeat-x;\n  outline: 0;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);\n}\n.tt-suggestion p {\n  margin: 0;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./public/stylesheets/typeahead.less\"],\"names\":[],\"mappings\":\"AAAA;EACE,WAAA;AACF;AAEA;;;EAGE,sBAAA;EACA,kBAAA;EACA,aAAA;AAAF;AAGA;EACE,sBAAA;AADF;AAIA;EACE,yBAAA;AAFF;AAKA;EACE,gDAAA;AAHF;AAMA;EACE,WAAA;AAJF;AAOA;EACE,gBAAA;EACA,sBAAA;EACA,oCAAA;EACA,kBAAA;EACA,yCAAA;EACA,WAAA;AALF;AAQA;EACE,gBAAA;AANF;AASA;EACE,eAAA;EAPA,0BAA0B;EAQ1B,iBAAA;EACA,iBAAA;EACA,eAAA;AANF;AASA;;EAEE,cAAA;EACA,qBAAA;EACA,yBAAA;EACA,8DAAA;EACA,2BAAA;EACA,UAAA;EACA,sHAAA;AAPF;AAUA;EACE,SAAA;AARF\",\"sourcesContent\":[\"form:not(.form-inline) .twitter-typeahead {\\n  width: 100%;\\n}\\n\\n.typeahead,\\n.tt-query,\\n.tt-hint {\\n  border: 2px solid #ccc;\\n  border-radius: 4px;\\n  outline: none;\\n}\\n\\n.typeahead {\\n  background-color: #fff;\\n}\\n\\n.typeahead:focus {\\n  border: 2px solid #0097cf;\\n}\\n\\n.tt-query {\\n  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\\n}\\n\\ninput[type=\\\"text\\\"].tt-hint {\\n  color: #999\\n}\\n\\n.tt-menu {\\n  min-width: 160px;\\n  background-color: #fff;\\n  border: 1px solid rgba(0, 0, 0, 0.2);\\n  border-radius: 4px;\\n  box-shadow: 0 5px 10px rgba(0,0,0,.2);\\n  width: 100%;\\n}\\n\\n.tt-dataset {\\n  margin-top: 10px;\\n}\\n\\n.tt-suggestion {\\n  font-size: 1rem; /* theme.fonts.size.body */\\n  line-height: 20px;\\n  padding: 3px 20px;\\n  cursor: pointer;\\n}\\n\\n.tt-suggestion:hover,\\n.tt-suggestion.tt-cursor {\\n  color: #ffffff;\\n  text-decoration: none;\\n  background-color: #0081c2;\\n  background-image: linear-gradient(to bottom, #0088cc, #0077b3);\\n  background-repeat: repeat-x;\\n  outline: 0;\\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);\\n}\\n\\n.tt-suggestion p {\\n  margin: 0;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\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, `.QCm7R4MwlLoTDwu8SNZB {\n    padding-left: 0;\n    margin-bottom: 20px;\n}\n\n.QCm7R4MwlLoTDwu8SNZB .QCm7R4MwlLoTDwu8SNZB {\n    margin-bottom: 0;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/common/ExpandableList.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,eAAe;IACf,mBAAmB;AACvB;;AAEA;IACI,gBAAgB;AACpB\",\"sourcesContent\":[\":local(.list) {\\n    padding-left: 0;\\n    margin-bottom: 20px;\\n}\\n\\n:local(.list) :local(.list) {\\n    margin-bottom: 0;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"list\": `QCm7R4MwlLoTDwu8SNZB`\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, `.bLH1iAETwjYKFim2_xa9 {\n    padding-left: 0;\n    padding-right: 0;\n}\n\n.bLH1iAETwjYKFim2_xa9 .popover-content {\n    min-width: 200px;\n    padding: 0;\n}\n\n.bLH1iAETwjYKFim2_xa9 .list-group {\n    margin-bottom: 0;\n}\n\n.bLH1iAETwjYKFim2_xa9 .list-group-item {\n    border-right: 0;\n    border-left: 0;\n    padding: 6px 15px;\n}\n\n.bLH1iAETwjYKFim2_xa9 .list-group-item:first-child {\n    border-top-right-radius: 0;\n    border-top-left-radius: 0;\n}\n\n.bLH1iAETwjYKFim2_xa9 .list-group-item:last-child {\n    border-bottom: 0;\n}\n\n.SOQRgrHWKOcqvbc6z1g7 {\n    max-height: 340px; /* 10 items */\n    overflow: auto;\n}\n\n.tfZVJT0QPa8mTaekvKgt {\n    margin-bottom: 0 !important;\n    padding: 5px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/common/SelectPopover.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,eAAe;IACf,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;IAChB,UAAU;AACd;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,eAAe;IACf,cAAc;IACd,iBAAiB;AACrB;;AAEA;IACI,0BAA0B;IAC1B,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,iBAAiB,EAAE,aAAa;IAChC,cAAc;AAClB;;AAEA;IACI,2BAA2B;IAC3B,YAAY;AAChB\",\"sourcesContent\":[\":local(.customPopover) {\\n    padding-left: 0;\\n    padding-right: 0;\\n}\\n\\n:local(.customPopover) .popover-content {\\n    min-width: 200px;\\n    padding: 0;\\n}\\n\\n:local(.customPopover) .list-group {\\n    margin-bottom: 0;\\n}\\n\\n:local(.customPopover) .list-group-item {\\n    border-right: 0;\\n    border-left: 0;\\n    padding: 6px 15px;\\n}\\n\\n:local(.customPopover) .list-group-item:first-child {\\n    border-top-right-radius: 0;\\n    border-top-left-radius: 0;\\n}\\n\\n:local(.customPopover) .list-group-item:last-child {\\n    border-bottom: 0;\\n}\\n\\n:local(.scrollableList) {\\n    max-height: 340px; /* 10 items */\\n    overflow: auto;\\n}\\n\\n:local(.dataFilterInput) {\\n    margin-bottom: 0 !important;\\n    padding: 5px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"customPopover\": `bLH1iAETwjYKFim2_xa9`,\n\t\"scrollableList\": `SOQRgrHWKOcqvbc6z1g7`,\n\t\"dataFilterInput\": `tfZVJT0QPa8mTaekvKgt`\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, `.QOxROnWrKzReuEpPEJMw {\n    table-layout: fixed;\n    overflow-wrap: break-word;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/event-notifications/event-notification-types/CommonNotificationSummary.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,mBAAmB;IACnB,yBAAyB;AAC7B\",\"sourcesContent\":[\":local(.fixedTable) {\\n    table-layout: fixed;\\n    overflow-wrap: break-word;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"fixedTable\": `QOxROnWrKzReuEpPEJMw`\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, `#toast-container .toast {\n  display: grid;\n  grid-template-columns: 8fr 0.5fr;\n  grid-template-rows: repeat(2, 1fr);\n  grid-column-gap: 0;\n  grid-row-gap: 0;\n}\n\n#toast-container .toast-title {\n  grid-area: 1 / 1 / 2 / 1;\n}\n\n#toast-container .toast-message {\n  grid-area: 2 / 2 / 2 / 1;\n}\n\n#toast-container button.toast-close-button {\n  font-size: 0.889rem; /* theme.fonts.size.small */\n  grid-area: 1 / 2 / 3 / 3;\n  height: 100%;\n  top: 0;\n  right: 0;\n  font-weight: normal;\n}\n\n#toast-container button.toast-close-button:focus,\n#toast-container button.toast-close-button:hover {\n  color: #fff;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/util/UserNotification.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,aAAa;EACb,gCAAgC;EAChC,kCAAkC;EAClC,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,mBAAmB,EAAE,2BAA2B;EAChD,wBAAwB;EACxB,YAAY;EACZ,MAAM;EACN,QAAQ;EACR,mBAAmB;AACrB;;AAEA;;EAEE,WAAW;AACb\",\"sourcesContent\":[\"#toast-container .toast {\\n  display: grid;\\n  grid-template-columns: 8fr 0.5fr;\\n  grid-template-rows: repeat(2, 1fr);\\n  grid-column-gap: 0;\\n  grid-row-gap: 0;\\n}\\n\\n#toast-container .toast-title {\\n  grid-area: 1 / 1 / 2 / 1;\\n}\\n\\n#toast-container .toast-message {\\n  grid-area: 2 / 2 / 2 / 1;\\n}\\n\\n#toast-container button.toast-close-button {\\n  font-size: 0.889rem; /* theme.fonts.size.small */\\n  grid-area: 1 / 2 / 3 / 3;\\n  height: 100%;\\n  top: 0;\\n  right: 0;\\n  font-weight: normal;\\n}\\n\\n#toast-container button.toast-close-button:focus,\\n#toast-container button.toast-close-button:hover {\\n  color: #fff;\\n}\\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, `.jcr2Blo1owtKhor0NDK4 {\n    display: inline;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/views/components/common/EditableTitle.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,eAAe;AACnB\",\"sourcesContent\":[\":local(.inlineForm) {\\n    display: inline;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"inlineForm\": `jcr2Blo1owtKhor0NDK4`\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, `.Xs05u6g6T94RXQPWqmgX {\n    height: 100%;\n    /* The grid prop is a workaround to fix\n     * horizontal scrolling for safari */\n    display: grid;\n    display: -ms-grid;\n    grid-template-rows: 1fr;\n    -ms-grid-rows: 1fr;\n    grid-template-columns: 1fr;\n    -ms-grid-columns: 1fr;\n}\n\n.tezUr3fyRnWnYXoSKy4b {\n    overflow: auto;\n    grid-row: 1;\n    -ms-grid-row: 1;\n    grid-column: 1;\n    -ms-grid-column: 1;\n}\n\n.cUxYxJT0iMrajuP7YHXA {\n    left: 0px;\n}\n\n@media print {\n    table.messages {\n        font-size: 1rem !important; /* theme.fonts.size.body */\n        min-width: 50%;\n        padding-left: 0;\n    }\n\n    table.messages th {\n        font-weight: bold !important;\n        font-size: inherit !important;\n    }\n\n    table.messages th,\n    table.messages td {\n        border: 1px #ccc solid !important;\n        left: 0;\n        padding: 5px;\n        position: static;\n    }\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/views/components/datatable/DataTable.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,YAAY;IACZ;wCACoC;IACpC,aAAa;IACb,iBAAiB;IACjB,uBAAuB;IACvB,kBAAkB;IAClB,0BAA0B;IAC1B,qBAAqB;AACzB;;AAEA;IACI,cAAc;IACd,WAAW;IACX,eAAe;IACf,cAAc;IACd,kBAAkB;AACtB;;AAEA;IACI,SAAS;AACb;;AAEA;IACI;QACI,0BAA0B,EAAE,0BAA0B;QACtD,cAAc;QACd,eAAe;IACnB;;IAEA;QACI,4BAA4B;QAC5B,6BAA6B;IACjC;;IAEA;;QAEI,iCAAiC;QACjC,OAAO;QACP,YAAY;QACZ,gBAAgB;IACpB;AACJ\",\"sourcesContent\":[\":local(.container) {\\n    height: 100%;\\n    /* The grid prop is a workaround to fix\\n     * horizontal scrolling for safari */\\n    display: grid;\\n    display: -ms-grid;\\n    grid-template-rows: 1fr;\\n    -ms-grid-rows: 1fr;\\n    grid-template-columns: 1fr;\\n    -ms-grid-columns: 1fr;\\n}\\n\\n:local(.scrollContainer) {\\n    overflow: auto;\\n    grid-row: 1;\\n    -ms-grid-row: 1;\\n    grid-column: 1;\\n    -ms-grid-column: 1;\\n}\\n\\n:local(.leftAligned) {\\n    left: 0px;\\n}\\n\\n@media print {\\n    table.messages {\\n        font-size: 1rem !important; /* theme.fonts.size.body */\\n        min-width: 50%;\\n        padding-left: 0;\\n    }\\n\\n    table.messages th {\\n        font-weight: bold !important;\\n        font-size: inherit !important;\\n    }\\n\\n    table.messages th,\\n    table.messages td {\\n        border: 1px #ccc solid !important;\\n        left: 0;\\n        padding: 5px;\\n        position: static;\\n    }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"container\": `Xs05u6g6T94RXQPWqmgX`,\n\t\"scrollContainer\": `tezUr3fyRnWnYXoSKy4b`,\n\t\"leftAligned\": `cUxYxJT0iMrajuP7YHXA`\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, `.QSHpvNKPLbhcL9XmEhhU {\n    display: flex;\n    justify-content: space-between;\n}\n\n.j9AR9KIYOoQokjhQgKvg {\n    margin-top: 5px;\n    margin-bottom: 5px;\n}\n\n.OEtwRH8_D2wSh4zSe35P {\n    margin-right: 5px;\n    width: 100%;\n}\n\n.Ptn3S3n2DhOJZlpLxQ8U {\n    font-size: 1rem; /* theme.fonts.size.body */\n    padding-top: 0px;\n    padding-right: 0px;\n    float: right;\n}\n\n.mWIeXfwAHVUqyO9KpNv8 {\n    font-size: 1rem; /* theme.fonts.size.body */\n}\n\n.i93VpIsNwxNSYHhnrhdm {\n    display: inline-block;\n    overflow: visible;\n    width: 100%;\n}\n\n.Mt_DKChL9e_UySBfolGR {\n    margin-top: 2em;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/views/components/messagelist/decorators/decoratorStyles.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,aAAa;IACb,8BAA8B;AAClC;;AAEA;IACI,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,iBAAiB;IACjB,WAAW;AACf;;AAEA;IACI,eAAe,EAAE,0BAA0B;IAC3C,gBAAgB;IAChB,kBAAkB;IAClB,YAAY;AAChB;;AAEA;IACI,eAAe,EAAE,0BAA0B;AAC/C;;AAEA;IACI,qBAAqB;IACrB,iBAAiB;IACjB,WAAW;AACf;;AAEA;IACI,eAAe;AACnB\",\"sourcesContent\":[\":local(.decoratorBox) {\\n    display: flex;\\n    justify-content: space-between;\\n}\\n\\n:local(.addDecoratorButtonContainer) {\\n    margin-top: 5px;\\n    margin-bottom: 5px;\\n}\\n\\n:local(.addDecoratorSelect) {\\n    margin-right: 5px;\\n    width: 100%;\\n}\\n\\n:local(.helpLink) {\\n    font-size: 1rem; /* theme.fonts.size.body */\\n    padding-top: 0px;\\n    padding-right: 0px;\\n    float: right;\\n}\\n\\n:local(.helpPopover) {\\n    font-size: 1rem; /* theme.fonts.size.body */\\n}\\n\\n:local(.decoratorListContainer) {\\n    display: inline-block;\\n    overflow: visible;\\n    width: 100%;\\n}\\n\\n:local(.noDecoratorsAlert) {\\n    margin-top: 2em;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"decoratorBox\": `QSHpvNKPLbhcL9XmEhhU`,\n\t\"addDecoratorButtonContainer\": `j9AR9KIYOoQokjhQgKvg`,\n\t\"addDecoratorSelect\": `OEtwRH8_D2wSh4zSe35P`,\n\t\"helpLink\": `Ptn3S3n2DhOJZlpLxQ8U`,\n\t\"helpPopover\": `mWIeXfwAHVUqyO9KpNv8`,\n\t\"decoratorListContainer\": `i93VpIsNwxNSYHhnrhdm`,\n\t\"noDecoratorsAlert\": `Mt_DKChL9e_UySBfolGR`\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, `.FExXmIJ_52cj0vrHyaEp {\n    margin: 5px;\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/views/components/searchbar/saved-search/SavedSearchForm.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,WAAW;AACf\",\"sourcesContent\":[\":local(.button) {\\n    margin: 5px;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"button\": `FExXmIJ_52cj0vrHyaEp`\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, `.FNITmrI44QcfwOlSnZnW {\n    padding: 0;\n    overflow-y: auto;\n}\n\n.uWCkwTOVkwo9YrCjUynr {\n    font-size: 12px;\n    display: table-row;\n    white-space: nowrap;\n}\n\n.Zy3GorsX2QMvX8NgdDwv {\n    display: flex;\n}\n\n.NIPxqjCGQchbRQbyrPIR {\n    flex-grow: 1;\n    margin-right: 5px;\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/views/components/sidebar/fields/FieldTypeIcon.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,UAAU;IACV,gBAAgB;AACpB;;AAEA;IACI,eAAe;IACf,kBAAkB;IAClB,mBAAmB;AACvB;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,YAAY;IACZ,iBAAiB;AACrB\",\"sourcesContent\":[\":local(.fieldList) {\\n    padding: 0;\\n    overflow-y: auto;\\n}\\n\\n:local(.fieldListItem) {\\n    font-size: 12px;\\n    display: table-row;\\n    white-space: nowrap;\\n}\\n\\n:local(.filterContainer) {\\n    display: flex;\\n}\\n\\n:local(.filterInputContainer) {\\n    flex-grow: 1;\\n    margin-right: 5px;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"fieldList\": `FNITmrI44QcfwOlSnZnW`,\n\t\"fieldListItem\": `uWCkwTOVkwo9YrCjUynr`,\n\t\"filterContainer\": `Zy3GorsX2QMvX8NgdDwv`,\n\t\"filterInputContainer\": `NIPxqjCGQchbRQbyrPIR`\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, `.qWBqb_23sgqkD946642Z {\n    position: absolute;\n    z-index: 999; /* So it displays below bootstrap dropdowns */\n}\n\n.VEeyO9k8vNGGhxOuqVkQ .leaflet-control-container {\n    display: none;\n}\n\n.leaflet-top, .leaflet-bottom {\n    z-index: 999; /* So it displays below bootstrap dropdowns */\n}\n\n@media print {\n    .KoTenzOWhTf1f7jkioVR {\n        margin: 0 auto;\n        page-break-inside: avoid;\n    }\n\n    /* Hide zoom controls */\n    .leaflet-control-container {\n        display: none;\n    }\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/views/components/visualizations/worldmap/MapVisualization.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,kBAAkB;IAClB,YAAY,EAAE,6CAA6C;AAC/D;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,YAAY,EAAE,6CAA6C;AAC/D;;AAEA;IACI;QACI,cAAc;QACd,wBAAwB;IAC5B;;IAEA,uBAAuB;IACvB;QACI,aAAa;IACjB;AACJ\",\"sourcesContent\":[\":local(.overlay) {\\n    position: absolute;\\n    z-index: 999; /* So it displays below bootstrap dropdowns */\\n}\\n\\n:local(.mapLocked) .leaflet-control-container {\\n    display: none;\\n}\\n\\n.leaflet-top, .leaflet-bottom {\\n    z-index: 999; /* So it displays below bootstrap dropdowns */\\n}\\n\\n@media print {\\n    :local(.map) {\\n        margin: 0 auto;\\n        page-break-inside: avoid;\\n    }\\n\\n    /* Hide zoom controls */\\n    .leaflet-control-container {\\n        display: none;\\n    }\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"overlay\": `qWBqb_23sgqkD946642Z`,\n\t\"mapLocked\": `VEeyO9k8vNGGhxOuqVkQ`,\n\t\"map\": `KoTenzOWhTf1f7jkioVR`\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, `.AGNNVtf0vXX5QH3GraEY {\n    margin-right: 15px;\n    margin: 3px 15px 0 0;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/views/components/widgets/MessageWidgets.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,kBAAkB;IAClB,oBAAoB;AACxB\",\"sourcesContent\":[\":local(.iconMargin) {\\n    margin-right: 15px;\\n    margin: 3px 15px 0 0;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"iconMargin\": `AGNNVtf0vXX5QH3GraEY`\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, `/* Restore bootstrap heading margins because our stylesheet is :shit: */\n.Qgqa5YAOjl_LIS9aGdk3 h1, .Qgqa5YAOjl_LIS9aGdk3 h2, .Qgqa5YAOjl_LIS9aGdk3 h3 {\n    margin-top: 20px;\n    margin-bottom: 10px;\n}\n\n.Qgqa5YAOjl_LIS9aGdk3 h4, .Qgqa5YAOjl_LIS9aGdk3 h5, .Qgqa5YAOjl_LIS9aGdk3 h6 {\n    margin-top: 10px;\n    margin-bottom: 10px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/views/pages/StyleFixups.css\"],\"names\":[],\"mappings\":\"AAAA,uEAAuE;AACvE;IACI,gBAAgB;IAChB,mBAAmB;AACvB;;AAEA;IACI,gBAAgB;IAChB,mBAAmB;AACvB\",\"sourcesContent\":[\"/* Restore bootstrap heading margins because our stylesheet is :shit: */\\n:local(.bootstrapHeading) h1, :local(.bootstrapHeading) h2, :local(.bootstrapHeading) h3 {\\n    margin-top: 20px;\\n    margin-bottom: 10px;\\n}\\n\\n:local(.bootstrapHeading) h4, :local(.bootstrapHeading) h5, :local(.bootstrapHeading) h6 {\\n    margin-top: 10px;\\n    margin-bottom: 10px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"bootstrapHeading\": `Qgqa5YAOjl_LIS9aGdk3`\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, `div.plotly-notifier {\n    visibility: hidden;\n}\n\n.xK5gTnz6x6uLtuCzdS2T .popover-content {\n    padding: 0;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/views/components/visualizations/GenericPlot.lazy.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,kBAAkB;AACtB;;AAEA;IACI,UAAU;AACd\",\"sourcesContent\":[\"div.plotly-notifier {\\n    visibility: hidden;\\n}\\n\\n:local(.customPopover) .popover-content {\\n    padding: 0;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"customPopover\": `xK5gTnz6x6uLtuCzdS2T`\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 Reflux from 'reflux';\n\nimport { singletonActions } from 'logic/singleton';\n\nconst ErrorsActions = singletonActions(\n  'Errors',\n  () => Reflux.createActions(['report']),\n);\n\nexport default ErrorsActions;\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 { configureStore } from '@reduxjs/toolkit';\nimport type { PluggableReducer } from 'graylog-web-plugin';\n\nimport type { RootState } from 'views/types';\n\nconst createStore = (reducers: PluggableReducer[], initialState: Partial) => {\n  const reducer = Object.fromEntries(reducers.map((r) => [r.key, r.reducer]));\n\n  return configureStore({\n    reducer,\n    preloadedState: initialState,\n    middleware: (getDefaultMiddleware) => getDefaultMiddleware({\n      serializableCheck: false,\n      immutableCheck: false,\n    }),\n  });\n};\n\nexport default createStore;\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 } from 'react';\nimport { Provider } from 'react-redux';\nimport * as Immutable from 'immutable';\n\nimport usePluginEntities from 'hooks/usePluginEntities';\nimport createStore from 'store';\nimport type View from 'views/logic/views/View';\nimport type { QueryId } from 'views/logic/queries/Query';\nimport type { QuerySet } from 'views/logic/search/Search';\nimport type SearchExecutionState from 'views/logic/search/SearchExecutionState';\nimport type { UndoRedoState } from 'views/logic/slices/undoRedoSlice';\n\ntype Props = {\n  initialQuery: QueryId,\n  isNew: boolean,\n  view: View,\n  executionState: SearchExecutionState,\n  undoRedoState?: UndoRedoState,\n}\n\nconst PluggableStoreProvider = ({ initialQuery, children, isNew, view, executionState, undoRedoState }: React.PropsWithChildren) => {\n  const reducers = usePluginEntities('views.reducers');\n  const activeQuery = useMemo(() => {\n    const queries: QuerySet = view?.search?.queries ?? Immutable.Set();\n\n    if (initialQuery && queries.find((q) => q.id === initialQuery) !== undefined) {\n      return initialQuery;\n    }\n\n    return queries.first()?.id;\n  }, [initialQuery, view?.search?.queries]);\n  const initialState = useMemo(() => {\n    const undoRedo = undoRedoState ? {\n      undoRedo: undoRedoState,\n    } : {};\n\n    return ({\n      view: {\n        view,\n        isDirty:\n            false,\n        isNew,\n        activeQuery,\n      },\n      searchExecution: {\n        widgetsToSearch: undefined,\n        executionState,\n        isLoading:\n            false,\n        result:\n          undefined,\n      },\n      ...undoRedo,\n    });\n  },\n  // eslint-disable-next-line react-hooks/exhaustive-deps\n  [executionState, isNew, view]);\n  const store = useMemo(() => createStore(reducers, initialState), [initialState, reducers]);\n\n  return (\n    \n      {children}\n    \n  );\n};\n\nPluggableStoreProvider.defaultProps = {\n  undoRedoState: undefined,\n};\n\nexport default PluggableStoreProvider;\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';\nimport type { CSSProperties } from 'react';\nimport type { ColorVariant } from '@graylog/sawmill';\nimport { Alert as MantineAlert, useMantineTheme } from '@mantine/core';\n\nimport Icon from 'components/common/Icon';\n\ntype Props = {\n  bsStyle?: ColorVariant,\n  children: React.ReactNode,\n  className?: string,\n  onDismiss?: () => void,\n  style?: CSSProperties,\n  title?: React.ReactNode,\n}\n\nconst StyledAlert = styled(MantineAlert)(({ theme }) => css`\n  margin: ${theme.mantine.spacing.md} 0;\n`);\n\nconst iconNameForType = (bsStyle: ColorVariant) => {\n  switch (bsStyle) {\n    case 'warning':\n    case 'danger':\n      return 'exclamation-triangle';\n    case 'success':\n      return 'circle-check';\n    default:\n      return 'info-circle';\n  }\n};\n\nconst Alert = ({ children, bsStyle, title, style, className, onDismiss }: Props) => {\n  const theme = useMantineTheme();\n  const displayCloseButton = typeof onDismiss === 'function';\n  const iconName = iconNameForType(bsStyle);\n\n  const alertStyles = () => ({\n    root: {\n      border: `1px solid ${theme.other.shades.lighter(bsStyle)}`,\n    },\n    message: {\n      fontSize: theme.fontSizes.md,\n    },\n    title: {\n      fontSize: theme.fontSizes.md,\n      color: theme.other.colors.global.textDefault,\n    },\n    closeButton: {\n      color: theme.other.colors.global.textDefault,\n    },\n  });\n\n  return (\n    }\n                 closeButtonLabel={displayCloseButton && 'Close alert'}\n                 withCloseButton={displayCloseButton}>\n      {children}\n    \n  );\n};\n\nAlert.defaultProps = {\n  className: undefined,\n  onDismiss: undefined,\n  style: undefined,\n  title: undefined,\n  bsStyle: 'default',\n};\n\nexport default Alert;\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, { forwardRef } from 'react';\nimport styled, { css } from 'styled-components';\n// eslint-disable-next-line no-restricted-imports\nimport { Badge as BootstrapBadge } from 'react-bootstrap';\n\nconst StyledBadge = styled(BootstrapBadge)(({ bsStyle, theme }) => {\n  if (!bsStyle) {\n    return undefined;\n  }\n\n  const backgroundColor = theme.colors.variant[bsStyle];\n  const textColor = theme.utils.readableColor(backgroundColor);\n\n  return css`\n    background-color: ${backgroundColor};\n    color: ${textColor};\n`;\n});\n\nconst Badge = forwardRef(({ ...props }, ref) => (\n  \n));\n\nexport default Badge;\nexport { StyledBadge };\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 ModalSubmit from 'components/common/ModalSubmit';\n\nimport Modal from './Modal';\nimport BootstrapModalWrapper from './BootstrapModalWrapper';\n\ntype Props = {\n  showModal: boolean,\n  title: string | React.ReactNode,\n  confirmButtonText: string,\n  cancelButtonDisabled: boolean,\n  confirmButtonDisabled: boolean,\n  onConfirm: () => void,\n  onCancel: () => void,\n  children: React.ReactNode,\n};\n\n/**\n * Component that displays a confirmation dialog box that the user can\n * cancel or confirm.\n */\nconst BootstrapModalConfirm = ({\n  showModal,\n  title,\n  children,\n  cancelButtonDisabled,\n  confirmButtonDisabled,\n  confirmButtonText,\n  onCancel,\n  onConfirm,\n  ...restProps\n}: Props) => (\n  \n    \n      {title}\n    \n\n    \n      {children}\n    \n\n    \n      \n    \n  \n);\n\nBootstrapModalConfirm.propTypes = {\n  /** Control whether the modal is shown or not. Prop updates should trigger opening (if show changes from false to true), respectively closing the modal (if show changes from false to true). */\n  showModal: PropTypes.bool.isRequired,\n  /** Title to use in the modal. */\n  title: PropTypes.oneOfType([\n    PropTypes.string,\n    PropTypes.element,\n  ]).isRequired,\n  /** Text to use in the confirmation button. */\n  confirmButtonText: PropTypes.string,\n  /** Indicates whether the cancel button should be disabled or not. */\n  cancelButtonDisabled: PropTypes.bool,\n  /** Indicates whether the confirm button should be disabled or not. */\n  confirmButtonDisabled: PropTypes.bool,\n  /** Function to call when the modal is opened. The function does not receive any arguments. */\n  onCancel: PropTypes.func.isRequired,\n  /**\n   * Function to call when the action is confirmed. The function receives a callback function to close the modal\n   * dialog box as first argument.\n   */\n  onConfirm: PropTypes.func.isRequired,\n  /**\n   * React elements to display in the modal body. This should be the information the user has\n   * to confirm in order to proceed with the operation.\n   */\n  children: PropTypes.oneOfType([\n    PropTypes.string,\n    PropTypes.element,\n  ]).isRequired,\n};\n\nBootstrapModalConfirm.defaultProps = {\n  confirmButtonText: 'Confirm',\n  cancelButtonDisabled: false,\n  confirmButtonDisabled: false,\n};\n\nexport default BootstrapModalConfirm;\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, { useMemo, useRef } from 'react';\nimport $ from 'jquery';\nimport isString from 'lodash/isString';\n\nimport ModalSubmit from 'components/common/ModalSubmit';\n\nimport Modal from './Modal';\nimport BootstrapModalWrapper from './BootstrapModalWrapper';\n\ntype Props = {\n  backdrop: boolean | 'static' | undefined,\n  submitButtonDisabled: boolean,\n  formProps: object,\n  bsSize: 'lg' | 'large' | 'sm' | 'small',\n  show: boolean,\n  submitButtonText: string,\n  onSubmitForm: (event) => void,\n  onCancel: () => void,\n  title: string | React.ReactNode,\n  children: React.ReactNode,\n  modalTitle?: string | undefined,\n};\n\n/**\n * Encapsulates a form element inside a bootstrap modal, hiding some custom logic that this kind of component\n * has, and providing form validation using HTML5 and our custom validation.\n */\nconst BootstrapModalForm = ({\n  backdrop,\n  submitButtonDisabled,\n  formProps,\n  bsSize,\n  show,\n  submitButtonText,\n  onSubmitForm,\n  onCancel,\n  title,\n  children,\n  modalTitle,\n  ...restProps\n}: Props) => {\n  const form = useRef(null);\n\n  const submit = (event) => {\n    const formDOMNode = form.current;\n    const $formDOMNode = $(formDOMNode) as any;\n\n    if ((typeof formDOMNode.checkValidity === 'function' && !formDOMNode.checkValidity())\n      || (typeof $formDOMNode.checkValidity === 'function' && !$formDOMNode.checkValidity())) {\n      event.preventDefault();\n\n      return;\n    }\n\n    if (typeof onSubmitForm === 'function') {\n      event.preventDefault();\n      onSubmitForm(event);\n    }\n  };\n\n  const body = (\n    
\n {children}\n
\n );\n\n const _title = useMemo(() => (isString(title) ? title : modalTitle), [modalTitle, title]);\n\n return (\n \n \n {title}\n \n
\n \n {body}\n \n \n \n \n
\n
\n );\n};\n\nBootstrapModalForm.propTypes = {\n backdrop: PropTypes.oneOf([true, false, 'static']),\n bsSize: PropTypes.oneOf(['lg', 'large', 'sm', 'small']),\n /* Modal title */\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\n /* Form contents, included in the modal body */\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.element),\n PropTypes.element,\n ]).isRequired,\n onSubmitForm: PropTypes.func,\n onCancel: PropTypes.func.isRequired,\n /* Object with additional props to pass to the form */\n formProps: PropTypes.object,\n /* Text to use in the submit button. \"Submit\" is the default */\n submitButtonText: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n submitButtonDisabled: PropTypes.bool,\n show: PropTypes.bool.isRequired,\n};\n\nBootstrapModalForm.defaultProps = {\n backdrop: undefined,\n formProps: {},\n submitButtonText: 'Submit',\n submitButtonDisabled: false,\n onSubmitForm: undefined,\n bsSize: undefined,\n modalTitle: undefined,\n};\n\nexport default BootstrapModalForm;\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 Modal from './Modal';\n\ntype Props = {\n title?: string | undefined,\n backdrop: boolean|'static'|undefined,\n bsSize: 'lg'|'large'|'sm'|'small',\n showModal: boolean,\n role: string,\n onHide: () => void,\n children: React.ReactNode,\n};\n\nconst BootstrapModalWrapper = ({\n showModal,\n children,\n onHide,\n bsSize,\n backdrop,\n role,\n ...restProps\n}: Props) => (\n \n {children}\n \n);\n\nBootstrapModalWrapper.propTypes = {\n showModal: PropTypes.bool.isRequired,\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.element),\n PropTypes.element,\n ]).isRequired,\n onHide: PropTypes.func.isRequired,\n bsSize: PropTypes.oneOf([\n 'large', 'lg', 'small', 'sm',\n ]),\n backdrop: PropTypes.oneOf(['static', true, false]),\n role: PropTypes.string,\n};\n\nBootstrapModalWrapper.defaultProps = {\n bsSize: undefined,\n backdrop: 'static',\n role: 'dialog',\n title: undefined,\n};\n\nexport default BootstrapModalWrapper;\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 styled, { css } from 'styled-components';\n// eslint-disable-next-line no-restricted-imports\nimport { Button as BootstrapButton } from 'react-bootstrap';\n\nconst Button = styled(BootstrapButton)(({ theme }) => css`\n ${theme.components.button}\n`);\n\nexport default Button;\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// eslint-disable-next-line no-restricted-imports\nimport { ButtonToolbar as BootstrapButtonToolbar } from 'react-bootstrap';\n\nconst ButtonToolbar = BootstrapButtonToolbar;\n\n/** @component */\nexport default ButtonToolbar;\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 styled, { css } from 'styled-components';\n// eslint-disable-next-line no-restricted-imports\nimport { ControlLabel as BootstrapControlLabel } from 'react-bootstrap';\n\nconst ControlLabel = styled(BootstrapControlLabel)(({ theme }) => css`\n color: ${theme.colors.global.textDefault};\n font-weight: bold;\n margin-bottom: 5px;\n display: inline-block;\n`);\n\n/** @component */\nexport default ControlLabel;\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// eslint-disable-next-line no-restricted-imports\nimport { FormControl as BootstrapFormControl } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nimport { INPUT_BORDER_RADIUS } from 'theme/constants';\n\nconst FormControl = styled(BootstrapFormControl)(({ theme }) => css`\n &.form-control {\n border-radius: ${INPUT_BORDER_RADIUS};\n }\n\n &.form-control:not([type='range']) {\n color: ${theme.colors.input.color};\n background-color: ${theme.colors.input.background};\n border-color: ${theme.colors.input.border};\n\n &::placeholder {\n color: ${theme.colors.input.placeholder};\n }\n\n &:focus {\n border-color: ${theme.colors.input.borderFocus};\n box-shadow: ${theme.colors.input.boxShadow};\n }\n\n &[disabled],\n &[readonly],\n fieldset[disabled] & {\n background-color: ${theme.colors.input.backgroundDisabled};\n color: ${theme.colors.input.colorDisabled};\n }\n\n ~ .form-control-feedback.glyphicon {\n display: none;\n }\n }\n`);\n\nFormControl.Static = BootstrapFormControl.Static;\nFormControl.Feedback = BootstrapFormControl.Feedback;\n\n/** @component */\nexport default FormControl;\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, { memo } from 'react';\nimport PropTypes from 'prop-types';\n// eslint-disable-next-line no-restricted-imports\nimport { FormGroup as BootstrapFormGroup } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\nimport chroma from 'chroma-js';\n\nimport { CONTROL_CLASS as COMMON_SELECT_CONTROL_CLASS } from 'components/common/Select/index';\n\nimport FormControl from './FormControl';\nimport { StyledAddon } from './InputGroup';\n\nconst StyledFormGroup = styled(BootstrapFormGroup)(({ theme, validationState }) => {\n const variant = validationState === 'error' ? 'danger' : validationState;\n\n if (!variant) {\n return undefined;\n }\n\n const text = theme.colors.variant.dark[variant];\n const border = theme.colors.variant.light[variant];\n const background = theme.colors.variant.lightest[variant];\n\n return css`\n &.has-${validationState} {\n .help-block,\n .control-label,\n .radio,\n .checkbox,\n .radio-inline,\n .checkbox-inline,\n &.radio label,\n &.checkbox label,\n &.radio-inline label,\n &.checkbox-inline label {\n color: ${text};\n }\n\n ${FormControl}, .${COMMON_SELECT_CONTROL_CLASS} {\n border-color: ${border};\n\n &:focus {\n border-color: ${chroma(border).darken(0.1)};\n box-shadow: inset 0 1px 1px rgb(0 0 0 / 7.5%), 0 0 6px ${chroma(border).brighten(0.2)};\n }\n }\n\n ${StyledAddon} {\n color: ${text};\n background-color: ${background};\n border-color: ${border};\n }\n\n .form-control-feedback {\n color: ${text};\n }\n }\n`;\n});\n\nconst FormGroup = memo(({ children, validationState, ...props }) => (\n \n {children}\n \n));\n\nFormGroup.propTypes = {\n children: PropTypes.node.isRequired,\n validationState: PropTypes.oneOf([null, 'error', 'success', 'warning']),\n};\n\nFormGroup.defaultProps = {\n validationState: null,\n};\n\nexport default FormGroup;\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 InputDescription from 'components/common/InputDescription';\n\nimport { Checkbox, Radio } from './imports';\nimport ControlLabel from './ControlLabel';\nimport FormControl from './FormControl';\nimport FormGroup from './FormGroup';\nimport InputGroup from './InputGroup';\nimport InputWrapper from './InputWrapper';\n\n/*\n * Input adapter for react bootstrap.\n *\n * The form API in react-bootstrap 0.30 changed quite a lot. This component will serve as an adapter until our\n * code is adapted to the new API.\n *\n */\nclass Input extends React.Component {\n static propTypes = {\n id: PropTypes.string.isRequired,\n type: PropTypes.string,\n name: PropTypes.string,\n label: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]),\n labelClassName: PropTypes.string,\n bsStyle: PropTypes.oneOf(['success', 'warning', 'error']),\n formGroupClassName: PropTypes.string,\n inputDescClassName: PropTypes.string,\n value: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.number,\n ]),\n placeholder: PropTypes.string,\n error: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]),\n help: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]),\n wrapperClassName: PropTypes.string,\n addonAfter: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]),\n buttonAfter: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]),\n children: PropTypes.oneOfType([\n PropTypes.array,\n PropTypes.element,\n ]),\n };\n\n static defaultProps = {\n type: undefined,\n label: '',\n labelClassName: undefined,\n name: undefined,\n formGroupClassName: undefined,\n inputDescClassName: undefined,\n bsStyle: null,\n value: undefined,\n placeholder: '',\n error: undefined,\n help: undefined,\n wrapperClassName: undefined,\n addonAfter: null,\n buttonAfter: null,\n children: null,\n };\n\n getInputDOMNode = () => this.input;\n\n // eslint-disable-next-line react/no-unused-class-component-methods\n getValue = () => {\n const { type } = this.props;\n\n if (!type) {\n throw new Error('Cannot use getValue without specifying input type.');\n }\n\n switch (type) {\n case 'checkbox':\n case 'radio':\n return this.getInputDOMNode().checked;\n default:\n return this.getInputDOMNode().value;\n }\n };\n\n // eslint-disable-next-line react/no-unused-class-component-methods\n getChecked = () => this.getInputDOMNode().checked;\n\n _renderFormControl = (componentClass, controlProps, children) => (\n { this.input = ref; }} componentClass={componentClass} {...controlProps}>\n {children}\n \n );\n\n _renderFormGroup = (children) => {\n const {\n id,\n bsStyle,\n formGroupClassName,\n wrapperClassName,\n inputDescClassName,\n label,\n labelClassName,\n error,\n help,\n buttonAfter,\n addonAfter,\n } = this.props;\n\n let input;\n\n if (addonAfter || buttonAfter) {\n input = (\n \n {children}\n {buttonAfter && {buttonAfter}}\n {addonAfter && {addonAfter}}\n \n );\n } else {\n input = children;\n }\n\n return (\n \n {label && {label}}\n \n {input}\n \n \n \n );\n };\n\n _renderCheckboxGroup = (controlProps) => {\n const { id, buttonAfter, bsStyle, formGroupClassName, inputDescClassName, wrapperClassName, label, error, help } = this.props;\n\n return (\n \n \n {buttonAfter ? (\n \n { this.input = ref; }} {...controlProps}>{label}\n {buttonAfter && {buttonAfter}}\n \n ) : (\n { this.input = ref; }} {...controlProps}>{label}\n )}\n \n\n \n \n );\n };\n\n _renderRadioGroup = (controlProps) => {\n const { id, bsStyle, formGroupClassName, inputDescClassName, wrapperClassName, label, error, help } = this.props;\n\n return (\n \n \n { this.input = ref; }} {...controlProps}>{label}\n \n \n \n );\n };\n\n render() {\n const {\n id,\n type,\n children,\n label,\n name,\n // The following props need to be extracted even if they are not used\n // so they are not passed as controll props to the input\n bsStyle, formGroupClassName, wrapperClassName, labelClassName, inputDescClassName, // eslint-disable-line no-unused-vars\n error, help, addonAfter, buttonAfter, // eslint-disable-line no-unused-vars\n ...controlProps\n } = this.props;\n\n controlProps.type = type;\n controlProps.label = label;\n controlProps.name = name || id;\n\n if (!type) {\n return this._renderFormGroup(children);\n }\n\n switch (type) {\n case 'text':\n case 'password':\n case 'email':\n case 'number':\n case 'file':\n case 'tel':\n return this._renderFormGroup(this._renderFormControl('input', controlProps));\n case 'textarea':\n return this._renderFormGroup(this._renderFormControl('textarea', controlProps));\n case 'select':\n return this._renderFormGroup(this._renderFormControl('select', controlProps, children));\n case 'checkbox':\n return this._renderCheckboxGroup(controlProps);\n case 'radio':\n return this._renderRadioGroup(controlProps);\n default:\n // eslint-disable-next-line no-console\n console.warn(`Unsupported input type ${type}`);\n }\n\n return null;\n }\n}\n\nexport default Input;\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// eslint-disable-next-line no-restricted-imports\nimport { InputGroup as BootstrapInputGroup } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\nimport classNames from 'classnames';\n\nconst StyledBootstrapInputAddon = ({ className, ...rest }) => ;\n\nexport const StyledAddon = styled(StyledBootstrapInputAddon)(({ theme }) => css`\n color: ${theme.colors.input.color};\n background-color: ${theme.colors.input.background};\n border-color: ${theme.colors.input.border};\n`);\n\nconst Addon = ({ bsClass, className, ...addonProps }) => ;\n\nconst Button = ({ bsClass, className, ...addonProps }) => ;\n\nconst InputGroup = ({ bsClass, className, ...restProps }) => ;\n\nInputGroup.Addon = Addon;\nInputGroup.Button = Button;\n\nStyledBootstrapInputAddon.propTypes = {\n className: PropTypes.string,\n};\n\nStyledBootstrapInputAddon.defaultProps = {\n className: undefined,\n};\n\nInputGroup.propTypes = {\n bsClass: PropTypes.string,\n className: PropTypes.string,\n children: PropTypes.node.isRequired,\n};\n\nInputGroup.defaultProps = {\n bsClass: 'input-group',\n className: undefined,\n};\n\nAddon.propTypes = {\n bsClass: PropTypes.string,\n className: PropTypes.string,\n children: PropTypes.node.isRequired,\n};\n\nAddon.defaultProps = {\n bsClass: 'input-group-addon',\n className: undefined,\n};\n\nButton.propTypes = {\n bsClass: PropTypes.string,\n className: PropTypes.string,\n children: PropTypes.node.isRequired,\n};\n\nButton.defaultProps = {\n bsClass: 'input-group-btn',\n className: undefined,\n};\n\n/** @component */\nexport default InputGroup;\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\nconst InputWrapper = ({ children, className }) => (className\n ?
{children}
\n : {children});\n\nInputWrapper.propTypes = {\n className: PropTypes.string,\n children: PropTypes.node.isRequired,\n};\n\nInputWrapper.defaultProps = {\n className: undefined,\n};\n\nexport default InputWrapper;\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// eslint-disable-next-line no-restricted-imports\nimport { MenuItem as BootstrapMenuItem } from 'react-bootstrap';\nimport styled from 'styled-components';\n\nimport Icon from 'components/common/Icon';\n\nconst IconWrapper = styled.div`\n display: inline-flex;\n min-width: 20px;\n margin-right: 5px;\n justify-content: center;\n align-items: center;\n`;\n\ntype Props = React.ComponentProps & {\n icon?: React.ComponentProps['name'],\n}\n\nconst CustomMenuItem = ({ className, children, icon, ...props } : Props) => (\n \n {children && (\n <>\n {icon && }\n {children}\n \n )}\n \n);\n\nCustomMenuItem.propTypes = {\n className: PropTypes.string,\n icon: PropTypes.string,\n};\n\nCustomMenuItem.defaultProps = {\n className: undefined,\n icon: undefined,\n};\n\n/** @component */\nexport default CustomMenuItem;\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// eslint-disable-next-line no-restricted-imports\nimport { Modal as BootstrapModal } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nconst Dialog = css`\n margin-top: 55px;\n\n .modal-content {\n background-color: ${({ theme }) => theme.colors.global.contentBackground};\n border-color: ${({ theme }) => theme.colors.variant.light.default};\n height: 100%;\n }\n`;\n\nconst Header = css`\n border-bottom-color: ${({ theme }) => theme.colors.variant.light.default};\n\n button.close {\n color: currentColor;\n }\n`;\n\nconst Title = css`\n font-size: ${({ theme }) => theme.fonts.size.h3};\n`;\n\nconst Footer = css`\n border-top-color: ${({ theme }) => theme.colors.variant.light.default};\n`;\n\nconst Body = css`\n .form-group {\n margin-bottom: 5px;\n }\n`;\n\nconst Modal = styled(BootstrapModal)`\n .modal-backdrop {\n height: 100000%; /* yes, really. this fixes the backdrop being cut off when the page is scrolled. */\n z-index: 1030;\n }\n\n form {\n margin-bottom: 0;\n }\n\n .modal-dialog {\n ${Dialog}\n }\n\n .modal-header {\n ${Header}\n }\n\n .modal-footer {\n ${Footer}\n }\n\n .modal-title {\n ${Title}\n }\n\n .modal-body {\n ${Body}\n }\n`;\n\nModal.Dialog = styled(BootstrapModal.Dialog)`\n ${Dialog}\n`;\n\nModal.Header = styled(BootstrapModal.Header)`\n ${Header}\n`;\n\nModal.Title = styled(BootstrapModal.Title)`\n ${Title}\n`;\n\nModal.Body = styled(BootstrapModal.Body)`\n ${Body}\n`;\n\nModal.Footer = styled(BootstrapModal.Footer)`\n ${Footer}\n`;\n\n/** @component */\nexport default Modal;\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';\n// eslint-disable-next-line no-restricted-imports\nimport { NavDropdown as BootstrapNavDropdown } from 'react-bootstrap';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\nimport NavItemStateIndicator from 'components/common/NavItemStateIndicator';\n\nimport menuItemStyles from './styles/menuItem';\n\nclass ModifiedBootstrapNavDropdown extends BootstrapNavDropdown {\n // eslint-disable-next-line class-methods-use-this\n isActive({ props }, activeKey, activeHref) {\n // NOTE: had to override library as it doesn't respect setting `active={false}`\n if (props.active === false) {\n return false;\n }\n\n if (\n props.active\n || (activeKey != null && props.eventKey === activeKey)\n || (activeHref && props.href === activeHref)\n ) {\n return true;\n }\n\n return props.active;\n }\n}\n\nconst StyledNavDropdown = styled(BootstrapNavDropdown)`\n ${menuItemStyles}\n`;\n\nconst NavDropdown = ({ title, inactiveTitle, badge: Badge, ...props }) => {\n const isActive = inactiveTitle ? inactiveTitle !== title : undefined;\n\n return (\n {Badge ? : title}}\n active={isActive} />\n );\n};\n\nNavDropdown.propTypes = {\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired,\n inactiveTitle: PropTypes.string,\n badge: PropTypes.func,\n};\n\nNavDropdown.defaultProps = {\n inactiveTitle: undefined,\n badge: undefined,\n};\n\nconst ModifiedNavDropdown = styled(ModifiedBootstrapNavDropdown)`\n ${menuItemStyles}\n`;\n\n/** @component */\nexport default NavDropdown;\nexport { ModifiedNavDropdown };\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, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\n// eslint-disable-next-line no-restricted-imports\nimport { Panel as BootstrapPanel } from 'react-bootstrap';\n\nimport deprecationNotice from 'util/deprecationNotice';\n\nconst PanelHeading = styled(BootstrapPanel.Heading)`\n .panel-title {\n > a {\n display: block;\n }\n }\n`;\n\nconst PanelFooter = styled(BootstrapPanel.Footer)(({ theme }) => css`\n background-color: ${theme.colors.gray[90]};\n border-top-color: ${theme.colors.gray[80]};\n`);\n\nconst panelVariantStyles = css(({ bsStyle = 'default', theme }) => {\n const backgroundColor = theme.colors.variant.lighter[bsStyle];\n const borderColor = theme.colors.variant.dark[bsStyle];\n\n return css`\n border-color: ${borderColor};\n\n > ${PanelHeading} {\n color: ${theme.utils.readableColor(backgroundColor)};\n background-color: ${backgroundColor};\n border-color: ${borderColor};\n\n + .panel-collapse > .panel-body {\n border-top-color: ${borderColor};\n }\n\n .badge {\n color: ${backgroundColor};\n background-color: ${theme.colors.variant[bsStyle]};\n }\n }\n\n > ${PanelFooter} {\n + .panel-collapse > .panel-body {\n border-bottom-color: ${borderColor};\n }\n }\n`;\n});\n\nconst StyledPanel = styled(BootstrapPanel)(({ theme }) => css`\n background-color: ${theme.utils.colorLevel(theme.colors.global.background, -4)};\n\n > ${PanelHeading} {\n .panel-title,\n .panel-title h3 {\n font-size: ${theme.fonts.size.large};\n }\n }\n\n .panel-group {\n > ${PanelHeading} {\n + .panel-collapse > .panel-body,\n + .panel-collapse > .list-group {\n border-top-color: ${theme.colors.gray[90]};\n }\n }\n\n > ${PanelFooter} {\n + .panel-collapse .panel-body {\n border-bottom-color: ${theme.colors.gray[90]};\n }\n }\n }\n\n ${panelVariantStyles}\n`);\n\nconst deprecatedVariantStyles = css(({ bsStyle = 'default', theme }) => {\n const backgroundColor = theme.colors.variant.lightest[bsStyle];\n const borderColor = theme.colors.variant.light[bsStyle];\n\n return css`\n /** NOTE: Deprecated & should be removed in 4.0 */\n border-color: ${borderColor};\n background: ${theme.colors.table.background};\n\n & > .panel-heading {\n color: ${theme.utils.contrastingColor(backgroundColor)};\n background-color: ${backgroundColor};\n border-color: ${borderColor};\n\n > .panel-title,\n > .panel-title > * {\n font-size: ${theme.fonts.size.large};\n }\n\n + .panel-collapse > .panel-body {\n border-top-color: ${borderColor};\n }\n\n .badge {\n color: ${backgroundColor};\n background-color: ${theme.colors.variant[bsStyle]};\n }\n }\n\n & > .panel-footer {\n + .panel-collapse > .panel-body {\n border-bottom-color: ${borderColor};\n }\n }\n`;\n});\n\nconst DeprecatedStyledPanel = styled(BootstrapPanel)(({ theme }) => css`\n /** NOTE: Deprecated & should be removed in 4.0 */\n background-color: ${theme.utils.colorLevel(theme.colors.global.background, -4)};\n\n .panel-footer {\n background-color: ${theme.colors.gray[90]};\n border-top-color: ${theme.colors.gray[80]};\n }\n\n .panel-group {\n .panel-heading {\n + .panel-collapse > .panel-body,\n + .panel-collapse > .list-group {\n border-top-color: ${theme.colors.gray[90]};\n }\n }\n\n .panel-footer {\n + .panel-collapse .panel-body {\n border-bottom-color: ${theme.colors.gray[90]};\n }\n }\n }\n\n ${deprecatedVariantStyles}\n`);\n\nconst Panel = ({\n title,\n children,\n collapsible,\n defaultExpanded,\n expanded,\n footer,\n header,\n onToggle,\n ...props\n}) => {\n const [isExpanded, setIsExpanded] = useState(null);\n const didRender = useRef(false);\n\n useEffect(() => {\n setIsExpanded((prevIsExpanded) => ((defaultExpanded && expanded)\n || (!defaultExpanded && expanded)\n || (defaultExpanded && prevIsExpanded === expanded)));\n }, [expanded, defaultExpanded]);\n\n useEffect(() => {\n didRender.current = true;\n }, []);\n\n const handleToggle = (nextIsExpanded) => {\n setIsExpanded(nextIsExpanded);\n onToggle(nextIsExpanded);\n };\n\n const hasDeprecatedChildren = typeof children === 'string' || (Array.isArray(children) && typeof children[0] === 'string');\n\n if (header || footer || title || collapsible || hasDeprecatedChildren) {\n /** NOTE: Deprecated & should be removed in 4.0 */\n if (!didRender.current) {\n deprecationNotice('You have used a deprecated `Panel` prop, please check the documentation to use the latest `Panel`.');\n }\n\n return (\n /* NOTE: this exists as a deprecated render for older Panel instances */\n (\n \n {(header || title) && (\n \n {header}\n {title && {title}}\n \n )}\n \n {children}\n \n {footer && (\n {footer}\n )}\n \n )\n );\n }\n\n return (\n \n {children}\n \n );\n};\n\nPanel.propTypes = {\n children: PropTypes.any.isRequired,\n /** @deprecated No longer used, replace with `` & `expanded`. */\n collapsible: PropTypes.bool,\n /**\n * Default of `expanded` prop\n *\n * @controllable onToggle\n */\n defaultExpanded: PropTypes.bool,\n /**\n * Controls the collapsed/expanded state of the Panel. Requires\n * a `Panel.Collapse` or `` child component\n * in order to actually animate out or in.\n *\n * @controllable onToggle\n */\n expanded: PropTypes.bool,\n /**\n * A callback fired when the collapse state changes.\n *\n * @controllable expanded\n */\n onToggle: PropTypes.func,\n /** @deprecated No longer used, replace with ``. */\n footer: PropTypes.string,\n /** @deprecated No longer used, replace with ``. */\n header: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n /** @deprecated No longer used, replace with ``. */\n title: PropTypes.string,\n};\n\nPanel.defaultProps = {\n collapsible: false,\n defaultExpanded: null,\n expanded: null,\n footer: undefined,\n header: undefined,\n onToggle: () => {},\n title: undefined,\n};\n\nPanel.Body = BootstrapPanel.Body;\nPanel.Collapse = BootstrapPanel.Collapse;\nPanel.Footer = PanelFooter;\nPanel.Heading = PanelHeading;\nPanel.Title = BootstrapPanel.Title;\nPanel.Toggle = BootstrapPanel.Toggle;\n\n/** @component */\nexport default Panel;\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// eslint-disable-next-line no-restricted-imports\nimport { Row as BootstrapRow } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nexport const RowContentStyles = css(({ theme }) => css`\n background-color: ${theme.colors.global.contentBackground};\n border: 1px solid ${theme.colors.variant.lighter.default};\n margin-bottom: ${theme.spacings.xs};\n border-radius: 4px;\n`);\n\nconst Row = styled(BootstrapRow)`\n &.content {\n ${RowContentStyles}\n }\n`;\n\n/** @component */\nexport default Row;\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// eslint-disable-next-line no-restricted-imports\nimport { Table as BootstrapTable } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nconst variantRowStyles = css(({ theme }) => {\n const { table } = theme.colors;\n let styles = '';\n\n const variants = {\n active: {\n background: table.variant.active,\n hover: table.variantHover.active,\n },\n success: {\n background: table.variant.success,\n hover: table.variantHover.success,\n },\n info: {\n background: table.variant.info,\n hover: table.variantHover.info,\n },\n warning: {\n background: table.variant.warning,\n hover: table.variantHover.warning,\n },\n danger: {\n background: table.variant.danger,\n hover: table.variantHover.danger,\n },\n };\n\n Object.keys(variants).forEach((variant) => {\n const { background, hover } = variants[variant];\n\n styles += `\n &.table > thead > tr,\n &.table > tfoot > tr,\n &.table > tbody > tr {\n > td.${variant},\n > th.${variant},\n &.${variant} > td,\n &.${variant} > th {\n background-color: ${background};\n }\n }\n\n &.table-hover > tbody > tr {\n > td.${variant}:hover,\n > th.${variant}:hover,\n &.${variant}:hover > td,\n &:hover > .${variant},\n &.${variant}:hover > th {\n background-color: ${hover};\n }\n }\n `;\n });\n\n return css`\n ${styles}\n`;\n});\n\nconst tableCss = css(({ theme }) => css`\n &.table {\n > thead > tr,\n > tbody > tr,\n > tfoot > tr {\n > th,\n > td {\n border-top-color: ${theme.colors.gray[80]};\n }\n }\n\n > thead > tr > th {\n white-space: nowrap;\n border-bottom-color: ${theme.colors.table.backgroundAlt};\n }\n\n > tbody > tr {\n background-color: ${theme.colors.table.background};\n transition: background-color 150ms ease-in-out;\n }\n\n > tbody + tbody {\n border-top-color: ${theme.colors.gray[80]};\n }\n\n .table {\n background-color: ${theme.colors.table.background};\n }\n }\n\n &.table-bordered {\n border-color: ${theme.colors.gray[80]};\n\n > thead > tr,\n > tfoot > tr,\n > tbody > tr {\n > td,\n > th {\n border-color: ${theme.colors.gray[80]};\n }\n }\n }\n\n &.table-striped > tbody > tr:nth-of-type(odd) {\n background-color: ${theme.colors.table.backgroundAlt};\n }\n\n &.table-hover > tbody > tr:hover {\n background-color: ${theme.colors.table.backgroundHover};\n }\n\n ${variantRowStyles}\n \n @media print {\n &.table > thead > tr > th {\n white-space: break-spaces;\n word-break: break-all;\n }\n }\n`);\n\nconst Table = styled(BootstrapTable)`\n ${tableCss}\n`;\n\n/** @component */\nexport default Table;\n\nexport { tableCss };\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// eslint-disable-next-line no-restricted-imports\nimport { Well as BootstrapWell } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nconst Well = styled(BootstrapWell)(({ theme }) => css`\n background-color: ${theme.colors.variant.lightest.default};\n border-color: ${theme.colors.variant.light.default};\n color: ${theme.colors.variant.darker.default};\n`);\n\n/** @component */\nexport default Well;\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// eslint-disable-next-line no-restricted-imports\nimport { DropdownButton as BootstrapDropdownButton } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nimport menuItemStyles from './styles/menuItem';\n\n/**\n * This is the default dropdown button component. If you need to display the dropdown in a portal, please use the `OverlayDropdownButton`.\n */\nconst DropdownButton = styled(BootstrapDropdownButton)(({ theme }) => css`\n ${theme.components.button}\n & ~ {\n ${menuItemStyles}\n }\n`);\n\n/** @component */\nexport default DropdownButton;\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// eslint-disable-next-line no-restricted-imports\nimport { HelpBlock as BootstrapHelpBlock } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nconst HelpBlock = styled(BootstrapHelpBlock)(({ theme }) => css`\n display: block;\n margin-top: 5px;\n margin-bottom: 10px;\n color: ${theme.colors.gray[50]};\n`);\n\n/** @component */\nexport default HelpBlock;\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, { forwardRef } from 'react';\nimport styled, { css } from 'styled-components';\n// eslint-disable-next-line no-restricted-imports\nimport { Jumbotron as BootstrapJumbotron } from 'react-bootstrap';\n\nexport const StyledJumbotron = styled(BootstrapJumbotron)(({ theme }) => css`\n color: ${theme.colors.global.textDefault};\n background-color: ${theme.colors.global.contentBackground};\n \n h2 {\n font-weight: bold;\n }\n\n p {\n margin-bottom: 9px;\n font-size: 20px;\n font-weight: normal;\n }\n`);\n\nconst Jumbotron = forwardRef((props, ref) => (\n \n));\n\nexport default Jumbotron;\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 { Kbd } from '@mantine/core';\n\nconst KeyboardKey = ({ children }: React.PropsWithChildren) => {children};\n\nexport default KeyboardKey;\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, { forwardRef } from 'react';\nimport styled, { css } from 'styled-components';\n// eslint-disable-next-line no-restricted-imports\nimport { Label as BootstrapLabel } from 'react-bootstrap';\n\nconst getColorStyles = (theme, bsStyle) => {\n if (!bsStyle) {\n return '';\n }\n\n const backgroundColor = theme.colors.variant[bsStyle];\n const textColor = theme.utils.contrastingColor(backgroundColor);\n\n return css`\n background-color: ${backgroundColor};\n color: ${textColor};\n`;\n};\n\nconst StyledLabel = styled(BootstrapLabel)(({ bsStyle, theme }) => css`\n ${getColorStyles(theme, bsStyle)}\n padding: 0.3em 0.6em;\n`);\n\nconst Label = forwardRef(({ ...props }, ref) => (\n \n));\n\nexport default Label;\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// eslint-disable-next-line no-restricted-imports\nimport { ListGroup as BootstrapListGroup } from 'react-bootstrap';\n\nconst ListGroup = ({ className, ...props }) => ;\n\nListGroup.propTypes = {\n className: PropTypes.string,\n};\n\nListGroup.defaultProps = {\n className: undefined,\n};\n\n/** @component */\nexport default ListGroup;\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, { forwardRef } from 'react';\nimport styled, { css } from 'styled-components';\nimport PropTypes from 'prop-types';\n// eslint-disable-next-line no-restricted-imports\nimport { ListGroupItem as BootstrapListGroupItem } from 'react-bootstrap';\n\nconst RefContainer = styled.span(({ theme }) => `\n display: block;\n border: 1px solid ${theme.colors.variant.lighter.default};\n margin-bottom: -1px;\n\n &:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n }\n\n &:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n }\n`);\n\nconst variantStyles = css(({ bsStyle, theme }) => {\n if (!bsStyle) {\n return undefined;\n }\n\n const backgroundColor = theme.colors.variant.lighter[bsStyle];\n const textColor = theme.utils.readableColor(backgroundColor);\n\n return css`\n &.list-group-item-${bsStyle} {\n color: ${textColor};\n background-color: ${backgroundColor};\n\n a&,\n button& {\n color: ${textColor};\n\n .list-group-item-heading {\n color: inherit;\n font-weight: bold;\n }\n\n &:hover,\n &:focus {\n color: ${textColor};\n background-color: ${theme.colors.variant.light[bsStyle]};\n }\n\n &.active,\n &.active:hover,\n &.active:focus {\n color: ${theme.utils.readableColor(theme.colors.variant.light[bsStyle])};\n background-color: ${theme.colors.variant.light[bsStyle]};\n border-color: ${theme.colors.variant.light[bsStyle]};\n }\n }\n }\n`;\n});\n\nconst StyledListGroupItem = styled(BootstrapListGroupItem)(({ theme }) => css`\n background-color: ${theme.colors.global.contentBackground};\n border: 0;\n padding: 5px 10px;\n\n .list-group-item-heading {\n font-size: ${theme.fonts.size.h5};\n }\n\n .list-group-item-text {\n margin-bottom: 5px;\n }\n\n a&,\n button& {\n color: ${theme.colors.global.textDefault};\n\n .list-group-item-heading {\n color: ${theme.colors.variant.darkest.default};\n }\n\n &:hover:not(.disabled),\n &:focus:not(.disabled) {\n background-color: ${theme.colors.variant.lightest.default};\n\n &.active {\n color: ${theme.colors.variant.darkest.default};\n background-color: ${theme.colors.variant.lightest.default};\n border-color: ${theme.colors.variant.lightest.default};\n }\n\n .list-group-item-heading {\n color: ${theme.utils.readableColor(theme.colors.variant.lightest.default)};\n }\n }\n }\n\n &.disabled,\n &.disabled:hover,\n &.disabled:focus {\n color: ${theme.colors.variant.default};\n background-color: ${theme.colors.variant.lightest.default};\n\n .list-group-item-heading {\n color: inherit;\n }\n\n .list-group-item-text {\n color: ${theme.colors.variant.default};\n }\n }\n\n &.active,\n &.active:hover,\n &.active:focus {\n color: ${theme.colors.variant.darker.default};\n background-color: ${theme.colors.variant.lightest.info};\n border-color: ${theme.colors.variant.lightest.info};\n z-index: auto;\n\n .list-group-item-heading,\n .list-group-item-heading > small,\n .list-group-item-heading > .small {\n color: inherit;\n }\n\n .list-group-item-text {\n color: ${theme.colors.variant.light.primary};\n }\n }\n\n ${variantStyles}\n`);\n\nconst ListGroupItem = forwardRef(({ containerProps, ...rest }, ref) => (\n \n \n \n));\n\nListGroupItem.propTypes = {\n containerProps: PropTypes.object,\n};\n\nListGroupItem.defaultProps = {\n containerProps: {},\n};\n\nexport default ListGroupItem;\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 { css } from 'styled-components';\n\nconst navTabsStyles = css(({ theme }) => css`\n .nav-tabs {\n border-bottom-color: ${theme.colors.variant.default};\n\n > li {\n > a {\n transition: background-color 150ms ease-in-out;\n color: ${theme.colors.global.textDefault};\n border-color: ${theme.colors.variant.lighter.default} ${theme.colors.variant.lighter.default} ${theme.colors.variant.default};\n\n &:hover {\n background-color: ${theme.colors.variant.lightest.default};\n color: ${theme.colors.global.textDefault};\n }\n }\n\n &.active > a {\n &,\n &:hover,\n &:focus {\n color: ${theme.colors.variant.darkest.default};\n background-color: ${theme.colors.global.contentBackground};\n border-color: ${theme.colors.variant.default};\n border-bottom-color: transparent;\n }\n }\n\n &.disabled > a {\n &,\n &:hover,\n &:focus {\n color: ${theme.colors.gray[60]};\n background-color: ${theme.colors.gray[100]};\n border-color: ${theme.colors.gray[100]} ${theme.colors.gray[100]} ${theme.colors.variant.default};\n cursor: not-allowed;\n }\n }\n }\n }\n\n &.nav-justified {\n > .active > a {\n &,\n &:hover,\n &:focus {\n border-color: ${theme.colors.variant.default};\n }\n }\n\n @media (min-width: ${theme.breakpoints.min.sm}) {\n > li > a {\n border-bottom-color: ${theme.colors.variant.default};\n }\n\n > .active > a,\n > .active > a:hover,\n > .active > a:focus {\n border-bottom-color: ${theme.colors.gray[100]};\n }\n }\n }\n`);\n\nexport default navTabsStyles;\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// eslint-disable-next-line no-restricted-imports\nimport { Nav as BootstrapNav } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nimport navTabsStyles from './styles/nav-tabs';\n\nconst Nav = styled(BootstrapNav)(({ theme }) => css`\n &.nav {\n > li {\n > a {\n transition: background-color 150ms ease-in-out;\n\n &:hover,\n &:focus {\n background-color: ${theme.colors.variant.lightest.default};\n }\n }\n\n &.disabled > a {\n color: ${theme.colors.variant.light.default};\n\n &:hover,\n &:focus {\n color: ${theme.colors.variant.light.default};\n }\n }\n }\n\n .open > a {\n &,\n &:hover,\n &:focus {\n background-color: ${theme.colors.variant.lightest.default};\n border-color: ${theme.colors.variant.primary};\n }\n }\n\n &.nav-pills {\n > li {\n &.active > a {\n &,\n &:hover,\n &:focus {\n color: ${theme.utils.contrastingColor(theme.colors.global.link)};\n background-color: ${theme.colors.global.link};\n }\n }\n }\n }\n \n &.nav-sm {\n > li > a {\n padding: 8px 12px;\n font-size: ${theme.fonts.size.small};\n }\n };\n\n &.nav-xs {\n > li > a {\n padding: 2px 6px;\n font-size: ${theme.fonts.size.small};\n }\n };\n\n &.nav-lg {\n > li > a {\n padding: 14px 18px;\n font-size: ${theme.fonts.size.large};\n }\n };\n\n &${navTabsStyles} /* This is a known non-issue that stylelint won't ignore but will hopefully be patched soon https://github.com/stylelint/stylelint/issues/4574 */\n }\n`);\n\n/** @component */\nexport default Nav;\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// eslint-disable-next-line no-restricted-imports\nimport { NavItem as BootstrapNavItem } from 'react-bootstrap';\n\nimport NavItemStateIndicator from 'components/common/NavItemStateIndicator';\n\nconst NavItem = ({ children, ...props }: React.ComponentProps) => (\n \n \n {children}\n \n \n);\n\nNavItem.displayName = 'NavItem';\n\n/** @component */\nexport default NavItem;\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// eslint-disable-next-line no-restricted-imports\nimport { Navbar as BootstrapNavbar } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\nimport chroma from 'chroma-js';\n\nconst Navbar = styled(BootstrapNavbar)(({ theme }) => css`\n position: relative;\n min-height: auto;\n background-color: ${theme.colors.global.navigationBackground};\n border: 0;\n box-shadow: 0 3px 3px ${theme.colors.global.navigationBoxShadow};\n margin-bottom: 0;\n\n .navbar-text {\n color: ${theme.colors.global.textDefault};\n }\n\n @media (max-width: ${theme.breakpoints.max.md}) {\n && .navbar-collapse {\n position: absolute;\n background-color: ${theme.colors.global.navigationBackground};\n width: 100%;\n }\n }\n\n .navbar-nav {\n > li > a,\n > li > .btn-link {\n color: ${theme.colors.global.textDefault};\n\n &:hover,\n &:focus {\n color: ${theme.colors.variant.darker.default};\n background-color: transparent;\n }\n }\n\n > .active > a,\n > .active > .btn-link {\n color: ${theme.colors.global.textDefault};\n background-color: transparent;\n \n &:hover,\n &:focus {\n color: ${theme.colors.variant.darkest.default};\n background-color: transparent;\n }\n }\n\n > .disabled > a,\n > .disabled > .btn-link {\n &,\n &:hover,\n &:focus {\n color: ${theme.colors.gray[70]};\n background-color: transparent;\n }\n }\n\n > .open > a,\n > .open > .btn-link {\n &,\n &:hover,\n &:focus {\n color: ${theme.colors.variant.darkest.default};\n background-color: transparent;\n }\n }\n\n @media (max-width: ${theme.breakpoints.max.md}) {\n padding-left: 50px;\n\n > li > a,\n > li > .btn-link {\n &:hover,\n &:focus {\n color: ${theme.colors.variant.darker.default};\n background-color: transparent;\n }\n }\n\n .open .dropdown-menu {\n > li > a,\n > li > .btn-link {\n color: ${theme.colors.variant.darkest.default};\n\n &:hover,\n &:focus {\n color: ${theme.colors.variant.darker.default};\n background-color: ${theme.colors.variant.lightest.default};\n }\n }\n\n > .active > a,\n > .active > .btn-link {\n color: ${theme.colors.variant.darkest.default};\n background-color: ${theme.colors.gray[90]};\n \n &:hover,\n &:focus {\n color: ${theme.colors.variant.darkest.default};\n background-color: ${theme.colors.gray[80]};\n }\n }\n\n > .disabled > a,\n > .disabled > .btn-link {\n &,\n &:hover,\n &:focus {\n color: ${theme.colors.gray[70]};\n background-color: transparent;\n }\n }\n }\n }\n }\n\n .navbar-toggle {\n background-color: ${theme.colors.global.navigationBackground};\n border-color: ${theme.colors.variant.dark.default};\n transition: background-color 150ms ease-in-out,\n border-color 150ms ease-in-out;\n position: relative;\n\n &:not(.collapsed) {\n .icon-bar:nth-last-child(1),\n .icon-bar:nth-last-child(3) {\n transition: transform 150ms ease-in 150ms,\n top 150ms ease-in 0s;\n }\n\n .icon-bar:nth-last-child(1) {\n transform: rotate(-45deg) translate(4px, -4px);\n }\n\n .icon-bar:nth-last-child(3) {\n transform: rotate(45deg) translate(4px, 4px);\n }\n\n .icon-bar:nth-last-child(2) {\n transition: opacity 0s ease 150ms;\n opacity: 0;\n }\n }\n\n .icon-bar {\n background-color: ${theme.colors.variant.default};\n transition: background-color 150ms ease-in-out,\n transform 150ms ease-in 0s,\n opacity 300ms ease-in 0s;\n transform: rotate(0deg);\n position: relative;\n opacity: 1;\n }\n\n &:hover,\n &:focus,\n &:not(.collapsed) {\n background-color: ${theme.colors.variant.lighter.default};\n border-color: ${theme.colors.variant.default};\n \n .icon-bar {\n background-color: ${theme.colors.variant.dark.default};\n }\n }\n }\n\n .navbar-collapse,\n .navbar-form {\n border-color: ${chroma(theme.colors.gray[90]).darken(0.065)};\n }\n\n .navbar-link {\n color: ${theme.colors.variant.default};\n\n &:hover {\n color: ${chroma(theme.colors.variant.default).darken(0.25)};\n }\n }\n\n .btn-link {\n color: ${theme.colors.variant.default};\n\n &:hover,\n &:focus {\n color: ${theme.colors.variant.dark.default};\n }\n\n &[disabled],\n fieldset[disabled] & {\n &:hover,\n &:focus {\n color: ${theme.colors.gray[80]};\n }\n }\n }\n\n .dropdown-header {\n margin-top: 4px;\n text-transform: uppercase;\n padding: 0 15px !important;\n font-weight: bold;\n }\n`);\n\n/** @component */\nexport default Navbar;\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// eslint-disable-next-line no-restricted-imports\nimport { Popover as BootstrapPopover } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nconst Popover = styled(BootstrapPopover)(({ theme }) => {\n const borderColor = theme.colors.variant.light.default;\n const arrowColor = theme.colors.variant.lightest.default;\n const backgroundColor = theme.colors.global.contentBackground;\n\n return css`\n background-color: ${backgroundColor};\n border-color: ${borderColor};\n padding: 0;\n\n .popover-title {\n background-color: ${arrowColor};\n border-color: ${borderColor};\n color: ${theme.colors.variant.darkest.default};\n }\n\n &.top {\n > .arrow {\n border-top-color: ${borderColor};\n\n &::after {\n border-top-color: ${arrowColor};\n }\n }\n }\n\n &.right {\n > .arrow {\n border-right-color: ${borderColor};\n\n &::after {\n border-right-color: ${arrowColor};\n z-index: 1;\n }\n }\n }\n\n &.bottom {\n > .arrow {\n border-bottom-color: ${borderColor};\n\n &::after {\n border-bottom-color: ${arrowColor};\n }\n }\n }\n\n &.left {\n > .arrow {\n border-left-color: ${borderColor};\n\n &::after {\n border-left-color: ${arrowColor};\n }\n }\n }\n`;\n});\n\n/** @component */\nexport default Popover;\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// eslint-disable-next-line no-restricted-imports\nimport { SplitButton as BootstrapSplitButton } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nimport menuItemStyles from './styles/menuItem';\n\nconst SplitButton = styled(BootstrapSplitButton)(({ theme }) => css`\n ${theme.components.button}\n ~ .btn.dropdown-toggle {\n ${theme.components.button}\n & ~ {\n ${menuItemStyles}\n }\n }\n`);\n\n/** @component */\nexport default SplitButton;\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// eslint-disable-next-line no-restricted-imports\nimport { Tab as BootstrapTab } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nconst Tab = styled(BootstrapTab)(({ theme }) => css`\n background-color: ${theme.colors.global.contentBackground};\n border: 1px solid ${theme.colors.variant.default};\n border-top: 0;\n border-radius: 0 0 4px 4px;\n padding: 9px;\n`);\n\n/** @component */\nexport default Tab;\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// eslint-disable-next-line no-restricted-imports\nimport { Tabs as BootstrapTabs } from 'react-bootstrap';\nimport styled from 'styled-components';\n\nimport navTabsStyles from './styles/nav-tabs';\n\nconst Tabs = styled(BootstrapTabs)`\n ${navTabsStyles}\n`;\n\n/** @component */\nexport default Tabs;\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// eslint-disable-next-line no-restricted-imports\nimport { Tooltip as BootstrapTooltip } from 'react-bootstrap';\nimport styled, { css } from 'styled-components';\n\nconst arrowSize = 10;\nconst StyledTooltip = styled(BootstrapTooltip)(({ theme }) => css`\n &.in {\n opacity: 1;\n filter: drop-shadow(0 0 3px ${theme.colors.variant.lighter.default});\n }\n\n &.top {\n .tooltip-arrow {\n border-top-color: ${theme.colors.global.contentBackground};\n border-width: ${arrowSize}px ${arrowSize}px 0;\n margin-left: -${arrowSize}px;\n bottom: -${arrowSize / 2}px;\n }\n }\n \n &.right {\n .tooltip-arrow {\n border-right-color: ${theme.colors.global.contentBackground};\n border-width: ${arrowSize}px ${arrowSize}px ${arrowSize}px 0;\n margin-top: -${arrowSize}px;\n left: -${arrowSize / 2}px;\n }\n }\n\n &.bottom {\n .tooltip-arrow {\n border-bottom-color: ${theme.colors.global.contentBackground};\n border-width: 0 ${arrowSize}px ${arrowSize}px;\n margin-left: -${arrowSize}px;\n top: -${arrowSize / 2}px;\n }\n }\n \n &.left {\n .tooltip-arrow {\n border-left-color: ${theme.colors.global.contentBackground};\n border-width: ${arrowSize}px 0 ${arrowSize}px ${arrowSize}px;\n margin-top: -${arrowSize}px;\n right: -${arrowSize / 2}px;\n }\n }\n \n .tooltip-inner {\n color: ${theme.colors.global.textDefault};\n background-color: ${theme.colors.global.contentBackground};\n max-width: 300px;\n opacity: 1;\n\n .datapoint-info {\n text-align: left;\n\n .date {\n color: ${theme.colors.variant.darkest.default};\n }\n }\n }\n`);\n\nconst Tooltip = ({ children, className, id, placement, positionTop, positionLeft, arrowOffsetTop, arrowOffsetLeft, show }) => (\n \n {children}\n \n);\n\nTooltip.propTypes = {\n className: PropTypes.string,\n children: PropTypes.node.isRequired,\n /**\n * An html id attribute, necessary for accessibility\n * @type {string|number}\n * @required\n */\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n\n /**\n * Sets the direction the Tooltip is positioned towards.\n */\n placement: PropTypes.oneOf(['top', 'right', 'bottom', 'left']),\n\n /**\n * The \"top\" position value for the Tooltip.\n */\n positionTop: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The \"left\" position value for the Tooltip.\n */\n positionLeft: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * The \"top\" position value for the Tooltip arrow.\n */\n arrowOffsetTop: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The \"left\" position value for the Tooltip arrow.\n */\n arrowOffsetLeft: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n show: PropTypes.bool,\n};\n\nTooltip.defaultProps = {\n className: '',\n placement: 'right',\n positionTop: undefined,\n positionLeft: undefined,\n arrowOffsetTop: undefined,\n arrowOffsetLeft: undefined,\n show: true,\n};\n\n/** @component */\nexport default Tooltip;\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 { css } from 'styled-components';\n\nconst menuItemStyles = css(({ theme }) => css`\n .dropdown-menu {\n background-color: ${theme.colors.global.contentBackground};\n box-shadow: 0 3px 3px ${theme.colors.global.navigationBoxShadow};\n \n .dropdown-header {\n padding: 3px 10px;\n }\n \n > li > a {\n padding: 3px 10px;\n display: flex;\n color: ${theme.colors.global.textDefault};\n\n &:hover,\n &:focus {\n color: ${theme.colors.variant.darker.default};\n background-color: ${theme.colors.variant.lightest.default};\n }\n }\n\n > .active > a {\n color: ${theme.colors.variant.darker.default};\n background-color: ${theme.colors.variant.lightest.default};\n\n &:hover,\n &:focus {\n color: ${theme.colors.variant.darkest.default};\n background-color: ${theme.colors.variant.lighter.default};\n }\n }\n\n > .disabled > a {\n color: ${theme.colors.variant.dark.default};\n background-color: ${theme.colors.variant.lightest.default};\n\n &:hover,\n &:focus {\n color: ${theme.colors.variant.dark.default};\n background-color: ${theme.colors.variant.lightest.default};\n }\n }\n }\n`);\n\nexport default menuItemStyles;\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 ClipboardJS from 'clipboard';\n\nimport OverlayTrigger from 'components/common/OverlayTrigger';\nimport { Tooltip, Button } from 'components/bootstrap';\n\n/**\n * Component that renders a button to copy some text in the clipboard when pressed.\n * The text to be copied can be given in the `text` prop, or in an external element through a CSS selector in the `target` prop.\n */\nclass ClipboardButton extends React.Component {\n static propTypes = {\n /** Text or element used in the button. */\n title: PropTypes.oneOfType([PropTypes.node, PropTypes.string]).isRequired,\n /** Action to perform. */\n action: PropTypes.oneOf(['copy', 'cut']),\n /** Text to be copied in the clipboard. This overrides the `target` prop. */\n text: PropTypes.string,\n /** CSS selector to an element containing the text to be copied to the clipboard. This will only be used if `text` is not provided. */\n target: PropTypes.string,\n /** Function to call if text was successfully copied to clipboard. */\n onSuccess: PropTypes.func,\n /** Button's class name. */\n className: PropTypes.string,\n /** Button's style. */\n style: PropTypes.object,\n /** Button's bsStyle. */\n bsStyle: PropTypes.string,\n /** Button's bsSize. */\n bsSize: PropTypes.string,\n /** Specifies if the button is disabled or not. */\n disabled: PropTypes.bool,\n /** Text to display when hovering over the button. */\n buttonTitle: PropTypes.string,\n /** Container element which is focussed */\n container: PropTypes.any,\n };\n\n static defaultProps = {\n action: 'copy',\n disabled: false,\n buttonTitle: undefined,\n container: undefined,\n text: undefined,\n target: undefined,\n className: undefined,\n style: undefined,\n bsStyle: undefined,\n bsSize: undefined,\n onSuccess: () => {},\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n tooltipMessage: '',\n };\n }\n\n componentDidMount() {\n const { container } = this.props;\n const options = {};\n\n if (container) {\n options.container = container;\n }\n\n this.clipboard = new ClipboardJS('[data-gl-clipboard-button]', options);\n this.clipboard.on('success', this._onSuccess);\n this.clipboard.on('error', this._onError);\n }\n\n componentWillUnmount() {\n if (this.clipboard) {\n this.clipboard.destroy();\n }\n }\n\n _onSuccess = (event) => {\n const { onSuccess } = this.props;\n\n this.setState({ tooltipMessage: 'Copied!' });\n\n onSuccess(event);\n\n event.clearSelection();\n };\n\n _onError = (event) => {\n const key = event.action === 'cut' ? 'K' : 'C';\n\n this.setState({ tooltipMessage: Press Ctrl+{key} / ⌘{key} to {event.action} });\n };\n\n _getFilteredProps = () => {\n const { className, style, bsStyle, bsSize, disabled, buttonTitle } = this.props;\n\n return { className, style, bsStyle, bsSize, disabled, title: buttonTitle };\n };\n\n render() {\n const { action, title, text, target } = this.props;\n const { tooltipMessage } = this.state;\n\n const filteredProps = this._getFilteredProps();\n const tooltip = {tooltipMessage};\n\n if (text) {\n filteredProps['data-clipboard-text'] = text;\n } else {\n filteredProps['data-clipboard-target'] = target;\n }\n\n return (\n \n \n \n );\n }\n}\n\nexport default ClipboardButton;\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 { useCallback } from 'react';\nimport PropTypes from 'prop-types';\nimport type { ColorResult } from 'react-color';\nimport { SwatchesPicker } from 'react-color';\n\ntype Props = {\n color: string,\n colors: Array>,\n height: number,\n width: number,\n onChange: (color: string, event: React.ChangeEvent) => void,\n};\n\n/**\n * Color picker component that let the user select a color from a list of 95 colors grouped by hue.\n */\nconst ColorPicker = ({ onChange, ...rest }: Props) => {\n const onColorChange = useCallback((color: ColorResult, event: React.ChangeEvent) => {\n onChange(color.hex, event);\n }, [onChange]);\n\n return (\n \n );\n};\n\nColorPicker.propTypes = {\n /** Indicates the selected color in hexadecimal format. */\n color: PropTypes.string,\n /**\n * Color palette in hexadecimal format. By default it uses the color palette defined by react-color,\n * including 95 colors to pick from.\n */\n colors: PropTypes.array,\n /**\n * Height of the color picker in pixels. By default it displays 2 rows of colors and the first color\n * of the third row, indicating users that they can scroll through the list:\n *\n * `135px height per color row * 2 rows + 24px first color of 3rd row + 16px padding = 310px`\n *\n * You can set `Infinity` as `height` if you don't want the component to scroll.\n */\n height: PropTypes.number,\n /**\n * Width of the color picker in pixels. By default it displays 5 columns of colors:\n *\n * `50px width per color column * 5 columns + 22px of padding = 272px`\n */\n width: PropTypes.number,\n /**\n * Function that will be called when the selected color changes.\n * The function receives the color in hexadecimal format as first\n * argument and the event as the second argument.\n */\n onChange: PropTypes.func.isRequired,\n};\n\nColorPicker.defaultProps = {\n color: undefined,\n colors: undefined, // Use default color palette.\n height: (135 * 2) + 24 + 16, // 135px color row * 2 rows + 24px first color 3rd row + 16px padding\n width: (50 * 5), // 50px color columns * 5 columns\n};\n\nexport default ColorPicker;\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 type { Location } from 'react-router-dom';\nimport { unstable_useBlocker as useBlocker } from 'react-router-dom';\nimport { useCallback, useEffect } from 'react';\n\nimport AppConfig from 'util/AppConfig';\n\n/**\n * This component should be conditionally rendered if you have a form that is in a \"dirty\" state. It will confirm with the user that they want to navigate away, refresh, or in any way unload the component.\n */\ntype Props = {\n question: string,\n};\n\nconst locationHasChanged = (currentLocation: Location, newLocation: Location, question: string) => ((newLocation.pathname !== currentLocation.pathname)\n // eslint-disable-next-line no-alert\n ? !window.confirm(question)\n : false);\n\nconst ConfirmLeaveDialog = ({ question }: Props) => {\n const handleLeavePage = useCallback((e) => {\n if (AppConfig.gl2DevMode()) {\n return null;\n }\n\n e.returnValue = question;\n\n return question;\n }, [question]);\n\n useEffect(() => {\n window.addEventListener('beforeunload', handleLeavePage);\n\n return () => {\n window.removeEventListener('beforeunload', handleLeavePage);\n };\n }, [handleLeavePage]);\n\n useBlocker((history) => !AppConfig.gl2DevMode() && locationHasChanged(history.currentLocation, history.nextLocation, question));\n\n return null;\n};\n\nConfirmLeaveDialog.propTypes = {\n /** Phrase used in the confirmation dialog. */\n question: PropTypes.string,\n};\n\nConfirmLeaveDialog.defaultProps = {\n question: 'Are you sure?',\n};\n\n/** @component */\nexport default ConfirmLeaveDialog;\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';\nimport styled, { css } from 'styled-components';\nimport classNames from 'classnames';\n\nimport { Row } from 'components/bootstrap';\n\nconst StyledRow = styled(Row)(({ theme }) => css`\n padding-bottom: 0;\n\n p {\n margin-top: 15px;\n }\n\n .actions-lg {\n float: right;\n }\n\n .actions-sm {\n padding-bottom: 15px;\n }\n\n .btn-lg {\n font-size: ${theme.fonts.size.large};\n }\n`);\n\ntype Props = {\n children: React.ReactNode,\n className: string,\n};\n\nconst ContentHeadRow = ({ children, className, ...props }: Props) => (\n \n {children}\n \n);\n\nContentHeadRow.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\n\nContentHeadRow.defaultProps = {\n className: undefined,\n};\n\nexport default ContentHeadRow;\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';\nimport styled, { css } from 'styled-components';\n\nimport { ListGroupItem } from 'components/bootstrap';\n\nconst StyledListGroupItem = styled(ListGroupItem)(({ theme }) => css`\n background-color: ${theme.colors.variant.lightest.default};\n font-size: ${theme.fonts.size.body};\n color: ${theme.utils.contrastingColor(theme.colors.variant.lightest.default)};\n padding: 0 15px;\n\n .form-group {\n margin: 0;\n }\n`);\n\nconst HeaderWrapper = styled.div`\n padding: 10px 0;\n min-height: 40px;\n`;\n\nconst ControlledTableListHeader = ({ children }: { children: React.ReactNode }) => {\n const wrapStringChildren = (text) => {text};\n\n const header = typeof children === 'string' ? wrapStringChildren(children) : children;\n\n return {header};\n};\n\nControlledTableListHeader.propTypes = {\n children: PropTypes.node,\n};\n\nControlledTableListHeader.defaultProps = {\n children: '',\n};\n\nexport default ControlledTableListHeader;\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 { ListGroup } from 'components/bootstrap';\n\nimport ControlledTableListHeader from './ControlledTableListHeader';\nimport ControlledTableListItem from './ControlledTableListItem';\n\nconst ControlledTableList = ({ children }: { children: Array}) => {\n let effectiveChildren;\n\n if (children.length === 0) {\n effectiveChildren = No items to display;\n } else {\n effectiveChildren = children;\n }\n\n return (\n
\n \n {effectiveChildren}\n \n
\n );\n};\n\nControlledTableList.Header = ControlledTableListHeader;\nControlledTableList.Item = ControlledTableListItem;\n\nControlledTableList.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default ControlledTableList;\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 { ListGroupItem } from 'components/bootstrap';\n\nconst ControlledTableListItem = ({ className, children }: { className?: string, children: React.ReactNode }) => (\n \n {children}\n \n);\n\nControlledTableListItem.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\n\nControlledTableListItem.defaultProps = {\n className: undefined,\n};\n\nexport default ControlledTableListItem;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport TypeAheadDataFilter from 'components/common/TypeAheadDataFilter';\n\nconst Wrapper = styled.div`\n .control-label {\n padding-top: 0;\n }\n`;\n\nconst Filter = ({\n children,\n displayKey,\n filterBy,\n filterKeys,\n filterSuggestions,\n id,\n label,\n onDataFiltered,\n rows,\n}) => {\n if (filterKeys.length !== 0) {\n return (\n \n
\n \n
\n {children && (\n
\n {children}\n
\n )}\n
\n );\n }\n\n return null;\n};\n\nFilter.propTypes = {\n children: PropTypes.node,\n displayKey: PropTypes.string,\n filterBy: PropTypes.string,\n filterKeys: PropTypes.array,\n filterSuggestions: PropTypes.array,\n id: PropTypes.string.isRequired,\n label: PropTypes.string,\n onDataFiltered: PropTypes.func.isRequired,\n rows: PropTypes.array.isRequired,\n};\n\nFilter.defaultProps = {\n children: undefined,\n displayKey: undefined,\n filterBy: undefined,\n filterKeys: undefined,\n filterSuggestions: undefined,\n label: undefined,\n};\n\nexport default Filter;\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\n/**\n * Component used to encapsulate each header or row inside a `DataTable`. You probably\n * should not use this component directly, but through `DataTable`. Look at the `DataTable`\n * section for a usage example.\n */\nclass DataTableElement extends React.Component {\n static propTypes = {\n /** Element to be formatted. */\n element: PropTypes.any,\n /**\n * Formatter function. It expects to receive the `element`, and `index` as arguments and\n * returns an element to be rendered.\n */\n formatter: PropTypes.func.isRequired,\n /** Element index. */\n index: PropTypes.number,\n };\n\n static defaultProps = {\n element: undefined,\n index: undefined,\n };\n\n render() {\n const { formatter, element, index } = this.props;\n\n return formatter(element, index);\n }\n}\n\nexport default DataTableElement;\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 isEqual from 'lodash/isEqual';\nimport styled from 'styled-components';\n\nimport { tableCss } from 'components/bootstrap/Table';\n\nimport Filter from './Filter';\nimport DataTableElement from './DataTableElement';\n\nimport NoEntitiesExist from '../NoEntitiesExist';\n\nconst StyledTable = styled.table`\n ${tableCss}\n`;\n\n// eslint-disable-next-line react/prop-types\nconst NoData = ({ noDataText }) => {\n if (typeof noDataText === 'string') {\n return (\n \n {noDataText}\n \n );\n }\n\n return noDataText;\n};\n\n/**\n * Component that renders a data table, letting consumers of the component to\n * decide exactly how the data should be rendered. It optionally adds a filter\n * input to the data table by using the the `TypeAheadDataFilter` component.\n */\nclass DataTable extends React.Component {\n static propTypes = {\n /** Adds a custom children element next to the data filter input. */\n children: PropTypes.node,\n /** Adds a custom class to the table element. */\n className: PropTypes.string,\n /** Overrides the default filter. */\n customFilter: PropTypes.node,\n /** Adds a custom class to the row element. */\n rowClassName: PropTypes.string,\n /** Object key that should be used to display data in the data filter input. */\n displayKey: PropTypes.string,\n /**\n * Function that renders a row in the table. It receives two arguments: the row, and its index.\n * It usually returns a `` element with the formatted row.\n */\n dataRowFormatter: PropTypes.func.isRequired,\n /** Label to use next to the suggestions for the data filter input. */\n filterBy: PropTypes.string,\n /** Label to use next to the data filter input. */\n filterLabel: PropTypes.string,\n /** List of object keys to use as filter in the data filter input. Use an empty array to disable data filter. */\n filterKeys: PropTypes.array,\n /** Array to use as suggestions in the data filter input. */\n filterSuggestions: PropTypes.array,\n /**\n * Function that renders a single header cell in the table. It receives two arguments: the header, and its index.\n * It usually returns a `` element with the header.\n * Default will wrap the headers in a tag.\n */\n headerCellFormatter: PropTypes.func,\n /** Array of values to be use as headers. The render is controlled by `headerCellFormatter`. */\n headers: PropTypes.array.isRequired,\n /** Element id to use in the table container */\n id: PropTypes.string.isRequired,\n /** Text or element to show when there is no data. */\n noDataText: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n /** Array of objects to be rendered in the table. The render of those values is controlled by `dataRowFormatter`. */\n rows: PropTypes.array.isRequired,\n /** Object key to use to sort data table. */\n sortByKey: PropTypes.string,\n /** Function that returns the value used to sort data table. (not used if `sortByKey` is defined as well) */\n sortBy: PropTypes.func,\n /**\n * Indicates whether the table should use a bootstrap responsive table or not:\n * https://getbootstrap.com/docs/3.3/css/#tables-responsive\n *\n * The main reason to disable this is if the table is clipping a dropdown menu or another component in a table edge.\n */\n useResponsiveTable: PropTypes.bool,\n /** boolean value to set sort numeric */\n useNumericSort: PropTypes.bool,\n };\n\n static defaultProps = {\n customFilter: undefined,\n children: undefined,\n className: '',\n filterBy: '',\n filterSuggestions: [],\n filterKeys: [],\n filterLabel: 'Filter',\n displayKey: 'value',\n noDataText: 'No data available.',\n rowClassName: '',\n useResponsiveTable: true,\n // eslint-disable-next-line react/no-unstable-nested-components\n headerCellFormatter: (header) => ({header}),\n sortByKey: undefined,\n sortBy: undefined,\n useNumericSort: false,\n };\n\n constructor(props) {\n super(props);\n const { rows } = this.props;\n\n this.state = {\n filteredRows: rows,\n };\n }\n\n getFormattedHeaders = () => {\n let i = 0;\n const { headerCellFormatter, headers } = this.props;\n const formattedHeaders = headers.map((header) => {\n const el = ;\n\n i += 1;\n\n return el;\n });\n\n return {formattedHeaders};\n };\n\n getFormattedDataRows = () => {\n let i = 0;\n const { sortByKey, sortBy, dataRowFormatter, useNumericSort } = this.props;\n let sortedDataRows = this._getEffectiveRows();\n\n if (sortByKey) {\n sortedDataRows = sortedDataRows.sort((a, b) => a[sortByKey].localeCompare(b[sortByKey], undefined, { numeric: useNumericSort }));\n } else if (sortBy) {\n sortedDataRows = sortedDataRows.sort((a, b) => sortBy(a).localeCompare(sortBy(b), undefined, { numeric: useNumericSort }));\n }\n\n const formattedDataRows = sortedDataRows.map((row) => {\n const el = ;\n\n i += 1;\n\n return el;\n });\n\n return formattedDataRows;\n };\n\n filterDataRows = (filteredRows) => {\n this.setState({ filteredRows });\n };\n\n _getEffectiveRows = () => {\n const { filteredRows } = this.state;\n const { filterKeys, rows } = this.props;\n\n return (filterKeys.length === 0 ? rows : filteredRows.filter((row) => rows.some((r) => isEqual(r, row))));\n };\n\n render() {\n const {\n customFilter,\n filterKeys,\n id,\n filterLabel,\n filterBy,\n displayKey,\n filterSuggestions,\n children,\n noDataText,\n className,\n rowClassName,\n useResponsiveTable,\n rows,\n } = this.props;\n const effectiveRows = this._getEffectiveRows();\n\n let data;\n\n if (rows.length === 0) {\n data = ;\n } else if (effectiveRows.length === 0) {\n data =

Filter does not match any data.

;\n } else {\n data = (\n \n \n {this.getFormattedHeaders()}\n \n \n {this.getFormattedDataRows()}\n \n \n );\n }\n\n return (\n
\n {customFilter || (\n \n {children}\n \n )}\n
\n
\n
\n {data}\n
\n
\n
\n
\n );\n }\n}\n\nexport default DataTable;\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 DataTable from './DataTable';\n\nexport default DataTable;\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 { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\n\ntype Props = {\n children: Array | React.ReactElement,\n delay: number,\n};\n\nconst Delayed = ({ children, delay }: Props) => {\n const [delayFinished, setDelayFinished] = useState(delay <= 0);\n\n useEffect(() => {\n if (delay <= 0) {\n return () => {};\n }\n\n const delayTimeout = window.setTimeout(() => setDelayFinished(true), delay);\n\n return () => clearTimeout(delayTimeout);\n }, []);\n\n return delayFinished ? <>{children} : null;\n};\n\nDelayed.propTypes = {\n children: PropTypes.node.isRequired,\n delay: PropTypes.number.isRequired,\n};\n\nexport default Delayed;\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 { useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\ntype Props = {\n title: React.ReactNode,\n children: React.ReactNode,\n}\n\n/**\n * React component that modifies the page `document.title` dynamically. When the component is unmounted, it\n * resets the title to the default (`Graylog`).\n *\n * Example:\n *\n * ```js\n * \n * {contents}\n * \n * ```\n */\nconst DocumentTitle = ({ children, title }: Props) => {\n const DEFAULT_TITLE = 'Graylog';\n\n useEffect(() => {\n document.title = `${document.title} - ${title}`;\n\n return () => { document.title = DEFAULT_TITLE; };\n }, [title]);\n\n return <>{children};\n};\n\nDocumentTitle.propTypes = {\n /** Title to prepend to the page `document.title`. */\n title: PropTypes.string.isRequired,\n /** Children to be rendered. */\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.element),\n PropTypes.element,\n ]).isRequired,\n};\n\nexport default DocumentTitle;\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 { useRef } from 'react';\n\nimport useElementDimensions from 'hooks/useElementDimensions';\n\ntype Props = {\n children: (dimensions: { width: number, height: number}) => React.ReactNode\n className?: string,\n resizeDelay?: number,\n};\n\n/**\n * Wrapper for the useElementDimensions hook.\n */\nconst ElementDimensions = ({ children, className, resizeDelay }: Props) => {\n const element = useRef(null);\n const dimensions = useElementDimensions(element, resizeDelay);\n\n return (\n
\n {children(dimensions)}\n
\n );\n};\n\nElementDimensions.defaultProps = {\n className: undefined,\n resizeDelay: undefined,\n};\n\nexport default ElementDimensions;\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 { useCallback } from 'react';\nimport type { PropsWithChildren } from 'react';\n\nimport MenuItem from 'components/bootstrap/MenuItem';\nimport { DropdownButton } from 'components/bootstrap';\n\ntype Props = PropsWithChildren<{\n selectedEntities: Array,\n setSelectedEntities: React.Dispatch>>\n\n}>;\n\nconst BulkActionsDropdown = ({ selectedEntities, setSelectedEntities, children }: Props) => {\n const cancelEntitySelection = useCallback(() => setSelectedEntities([]), [setSelectedEntities]);\n\n return (\n \n {children}\n {Boolean(React.Children.count(children)) && }\n Cancel selection\n \n );\n};\n\nexport default BulkActionsDropdown;\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\nexport const CELL_PADDING = 5; // px\nexport const BULK_SELECT_COLUMN_WIDTH = 20; // px\nexport const DEFAULT_COL_MIN_WIDTH = 150; // px\nexport const DEFAULT_COL_WIDTH = 1; // fraction, similar to CSS unit fr.\nexport const MORE_ACTIONS_TITLE = 'More';\nexport const MORE_ACTIONS_HOVER_TITLE = 'More actions';\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 { singleton } from 'logic/singleton';\n\ntype ContextValue = {\n expandedSections: { [entityId: string]: Array },\n toggleSection: (entityId: string, sectionName: string) => void\n} | undefined\n\nconst ExpandedSectionsContext = React.createContext(undefined);\n\nexport default singleton('contexts.ExpandedSectionsContext', () => ExpandedSectionsContext);\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 { useMemo } from 'react';\n\nimport type { Sort } from 'stores/PaginationTypes';\n\nimport useUserLayoutPreferences from './useUserLayoutPreferences';\n\nconst useTableLayout = ({ entityTableId, defaultSort, defaultPageSize, defaultDisplayedAttributes }: {\n entityTableId: string,\n defaultSort: Sort,\n defaultDisplayedAttributes: Array\n defaultPageSize: number,\n}) => {\n const { data: userLayoutPreferences = {}, isInitialLoading } = useUserLayoutPreferences(entityTableId);\n\n return useMemo(() => ({\n layoutConfig: {\n pageSize: userLayoutPreferences.perPage ?? defaultPageSize,\n sort: userLayoutPreferences.sort ?? defaultSort,\n displayedAttributes: userLayoutPreferences?.displayedAttributes ?? defaultDisplayedAttributes,\n },\n isInitialLoading,\n }), [\n defaultDisplayedAttributes,\n defaultPageSize,\n defaultSort,\n isInitialLoading,\n userLayoutPreferences?.displayedAttributes,\n userLayoutPreferences.perPage,\n userLayoutPreferences.sort,\n ]);\n};\n\nexport default useTableLayout;\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 { useQueryClient, useMutation } from '@tanstack/react-query';\n\nimport fetch from 'logic/rest/FetchProvider';\nimport { qualifyUrl } from 'util/URLUtils';\nimport type { TableLayoutPreferences, TableLayoutPreferencesJSON } from 'components/common/EntityDataTable/types';\nimport UserNotification from 'util/UserNotification';\nimport useUserLayoutPreferences from 'components/common/EntityDataTable/hooks/useUserLayoutPreferences';\n\nconst preferencesToJSON = ({\n displayedAttributes,\n sort,\n perPage,\n}: TableLayoutPreferences): TableLayoutPreferencesJSON => ({\n displayed_attributes: displayedAttributes,\n sort: sort ? { order: sort.direction, field: sort.attributeId } : undefined,\n per_page: perPage,\n});\n\nconst useUpdateUserLayoutPreferences = (entityTableId: string) => {\n const queryClient = useQueryClient();\n const { data: userLayoutPreferences = {} } = useUserLayoutPreferences(entityTableId);\n const action = (newPreferences: TableLayoutPreferences) => fetch(\n 'POST',\n qualifyUrl(`/entitylists/preferences/${entityTableId}`),\n preferencesToJSON({ ...userLayoutPreferences, ...newPreferences }),\n );\n const { mutate } = useMutation({\n mutationFn: action,\n onError: (error) => {\n UserNotification.error(`Updating table layout preferences failed with error: ${error}`);\n },\n onMutate: (newTableLayout: TableLayoutPreferences) => {\n queryClient.setQueriesData(['table-layout', entityTableId], (cur: TableLayoutPreferences) => ({\n ...(cur ?? {}),\n ...newTableLayout,\n }));\n },\n });\n\n return { mutate };\n};\n\nexport default useUpdateUserLayoutPreferences;\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 type { TableLayoutPreferences, TableLayoutPreferencesJSON } from 'components/common/EntityDataTable/types';\nimport fetch from 'logic/rest/FetchProvider';\nimport { qualifyUrl } from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\n\nconst INITIAL_DATA = {};\n\nconst preferencesFromJSON = ({\n displayed_attributes,\n sort,\n per_page,\n}: TableLayoutPreferencesJSON): TableLayoutPreferences => ({\n displayedAttributes: displayed_attributes,\n sort: sort ? { attributeId: sort.field, direction: sort.order } : undefined,\n perPage: per_page,\n});\nconst fetchUserLayoutPreferences = (entityId: string) => fetch(\n 'GET',\n qualifyUrl(`/entitylists/preferences/${entityId}`),\n).then((res) => preferencesFromJSON(res ?? {}));\n\nconst useUserLayoutPreferences = (entityId: string): { data: TableLayoutPreferences, isInitialLoading: boolean } => {\n const { data, isInitialLoading } = useQuery(\n ['table-layout', entityId],\n () => fetchUserLayoutPreferences(entityId),\n {\n onError: (error) => {\n UserNotification.error(`Loading layout preferences for \"${entityId}\" overview failed with ${error}`);\n },\n keepPreviousData: true,\n staleTime: 60 * (60 * 1000), // 1 hour\n });\n\n return {\n data: data ?? INITIAL_DATA,\n isInitialLoading,\n };\n};\n\nexport default useUserLayoutPreferences;\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 styled from 'styled-components';\nimport * as React from 'react';\nimport { useMemo } from 'react';\n\nimport { Checkbox, DropdownButton } from 'components/bootstrap';\nimport type { Column } from 'components/common/EntityDataTable/types';\nimport TextOverflowEllipsis from 'components/common/TextOverflowEllipsis';\nimport { defaultCompare as naturalSort } from 'logic/DefaultCompare';\nimport MenuItem from 'components/bootstrap/MenuItem';\n\nconst StyledDropdownButton = styled(DropdownButton)`\n ~ .dropdown-menu {\n min-width: auto;\n max-width: 180px;\n }\n`;\n\nconst ColumnCheckbox = styled(Checkbox)`\n &.checkbox {\n margin: 0 5px 0 0;\n\n label {\n display: flex;\n align-items: center;\n padding: 0;\n\n input {\n margin: 0;\n position: relative;\n }\n }\n }\n`;\n\nconst ListItem = styled(MenuItem)`\n padding: 3px 0;\n cursor: pointer;\n display: flex;\n`;\n\nconst ColumnTitle = styled(TextOverflowEllipsis)`\n display: inline;\n`;\n\nconst ColumnListItem = ({\n allColumns,\n column,\n onClick,\n selectedColumns,\n}: {\n allColumns: Array\n column: Column,\n onClick: (selectedColumns: Array) => void,\n selectedColumns: Array,\n}) => {\n const isSelected = selectedColumns.includes(column.id);\n\n const toggleVisibility = () => {\n const newAttributes = allColumns.reduce((collection, attr) => {\n const isCurAttr = column.id === attr.id;\n\n if ((isCurAttr && !isSelected) || (!isCurAttr && selectedColumns.includes(attr.id))) {\n return [...collection, attr.id];\n }\n\n return collection;\n }, []);\n\n onClick(newAttributes);\n };\n\n return (\n \n \n {column.title}\n \n );\n};\n\ntype Props = {\n allColumns: Array\n onChange: (attributes: Array) => void,\n selectedColumns: Array,\n}\n\nconst ColumnsVisibilitySelect = ({ onChange, selectedColumns, allColumns }: Props) => {\n const sortedColumns = useMemo(\n () => allColumns.sort((col1, col2) => (naturalSort(col1.title, col2.title))),\n [allColumns],\n );\n\n return (\n \n {sortedColumns.map((column) => (\n \n ))}\n \n );\n};\n\nexport default ColumnsVisibilitySelect;\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 React from 'react';\n\nimport TextOverflowEllipsis from 'components/common/TextOverflowEllipsis';\nimport { Timestamp } from 'components/common';\n\nconst DefaultColumnRenderers = {\n types: {\n DATE: {\n renderCell: (dateTime: string) => (\n \n ),\n staticWidth: 160,\n },\n STRING: {\n renderCell: (text: string) => (\n \n {text}\n \n ),\n },\n },\n attributes: {\n description: {\n width: 2,\n },\n summary: {\n width: 1.5,\n },\n owner: {\n staticWidth: 120,\n },\n favorite: {\n renderHeader: () => '',\n staticWidth: 30,\n },\n },\n\n};\n\nexport default DefaultColumnRenderers;\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 { useState, useLayoutEffect } from 'react';\n\nimport {\n DEFAULT_COL_MIN_WIDTH,\n DEFAULT_COL_WIDTH,\n} from 'components/common/EntityDataTable/Constants';\n\nimport type { EntityBase, ColumnRenderersByAttribute } from '../types';\n\nconst assignableTableWidth = ({\n tableWidth,\n actionsColWidth,\n bulkSelectColWidth,\n columnsIds,\n columnRenderersByAttribute,\n}: {\n actionsColWidth: number,\n bulkSelectColWidth: number,\n columnRenderersByAttribute: { [columnId: string]: { staticWidth?: number } }\n columnsIds: Array,\n tableWidth: number,\n}) => {\n const staticColsWidth = columnsIds.reduce((total, id) => total + (columnRenderersByAttribute[id]?.staticWidth ?? 0), 0);\n\n return tableWidth - bulkSelectColWidth - actionsColWidth - staticColsWidth;\n};\n\nconst columnsWidth = ({\n assignableWidth,\n columnsIds,\n columnRenderersByAttribute,\n}: {\n assignableWidth: number,\n columnRenderersByAttribute: { [columnId: string]: { staticWidth?: number, width?: number, minWidth?: number } }\n columnsIds: Array,\n}) => {\n const totalFlexColumns = columnsIds.reduce((total, id) => {\n const { staticWidth, width = DEFAULT_COL_WIDTH } = columnRenderersByAttribute[id] ?? {};\n\n if (staticWidth) {\n return total;\n }\n\n return total + width;\n }, 0);\n\n const flexColWidth = assignableWidth / totalFlexColumns;\n\n return Object.fromEntries(columnsIds.map((id) => {\n const { staticWidth, width = DEFAULT_COL_WIDTH, minWidth = DEFAULT_COL_MIN_WIDTH } = columnRenderersByAttribute[id] ?? {};\n const targetWidth = staticWidth ?? (flexColWidth * width);\n\n return [id, (!staticWidth && targetWidth < minWidth) ? minWidth : targetWidth];\n }));\n};\n\nconst useColumnsWidths = ({\n actionsColWidth,\n bulkSelectColWidth,\n columnRenderersByAttribute,\n columnsIds,\n tableWidth,\n}: {\n actionsColWidth: number,\n bulkSelectColWidth: number,\n columnRenderersByAttribute: ColumnRenderersByAttribute,\n columnsIds: Array,\n tableWidth: number,\n},\n) => {\n const [columnsWidths, setColumnWidths] = useState({});\n\n useLayoutEffect(() => {\n if (!tableWidth) {\n return;\n }\n\n // Calculate available width for columns which do not have a static width\n const assignableWidth = assignableTableWidth({\n actionsColWidth,\n columnRenderersByAttribute,\n columnsIds,\n bulkSelectColWidth,\n tableWidth,\n });\n\n setColumnWidths(columnsWidth({\n assignableWidth,\n columnsIds,\n columnRenderersByAttribute,\n }));\n }, [actionsColWidth, bulkSelectColWidth, columnRenderersByAttribute, columnsIds, tableWidth]);\n\n return columnsWidths;\n};\n\nexport default useColumnsWidths;\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';\nimport styled, { css } from 'styled-components';\n\nimport IconButton from 'components/common/IconButton';\nimport { ButtonToolbar } from 'components/bootstrap';\n\nimport type { EntityBase, ExpandedSectionRenderer } from './types';\nimport ExpandedEntitiesSectionsContext from './contexts/ExpandedSectionsContext';\n\nconst Container = styled.tr(({ theme }) => css`\n &&&& {\n background-color: ${theme.colors.global.contentBackground};\n }\n`);\n\nconst Header = styled.div`\n display: flex;\n justify-content: space-between;\n margin-bottom: 5px;\n`;\n\nconst Actions = styled(ButtonToolbar)`\n display: flex;\n align-items: center;\n`;\n\nconst HideSectionButton = styled(IconButton)`\n margin-left: 5px;\n`;\n\nconst ExpandedSections = ({\n expandedSectionsRenderer,\n entity,\n}: {\n expandedSectionsRenderer: {\n [sectionName: string]: ExpandedSectionRenderer\n } | undefined,\n entity: Entity\n}) => {\n const { expandedSections, toggleSection } = useContext(ExpandedEntitiesSectionsContext);\n const expandedEntitySections = expandedSections?.[entity.id];\n\n if (!expandedEntitySections?.length) {\n return null;\n }\n\n return (\n \n \n {Object.entries(expandedSectionsRenderer ?? {}).map(([sectionName, section]) => {\n if (!expandedEntitySections.includes(sectionName)) {\n return null;\n }\n\n const hideSection = () => toggleSection(entity.id, sectionName);\n const actions = section.actions?.(entity);\n\n return (\n
\n
\n

{section.title}

\n \n {actions}\n \n \n
\n {section.content(entity)}\n
\n );\n })}\n \n
\n );\n};\n\nexport default ExpandedSections;\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 type { SetStateAction } from 'react';\nimport { useCallback, useState } from 'react';\nimport isFunction from 'lodash/isFunction';\n\nconst useSelectedEntities = (initialSelection: Array, onChangeSelection: (selectedEntities: Array) => void): [Array, (setSelectedEntitiesArgument: SetStateAction>) => void] => {\n const [selectedEntities, setSelectedEntities] = useState>(initialSelection || []);\n\n const _setSelectedEntities = useCallback((setSelectedEntitiesArgument: SetStateAction>) => {\n const newState = isFunction(setSelectedEntitiesArgument) ? setSelectedEntitiesArgument(selectedEntities) : setSelectedEntitiesArgument;\n\n setSelectedEntities(newState);\n if (onChangeSelection) onChangeSelection(newState);\n }, [onChangeSelection, selectedEntities]);\n\n return [selectedEntities, _setSelectedEntities];\n};\n\nexport default useSelectedEntities;\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 from 'styled-components';\n\nimport StringUtils from 'util/StringUtils';\n\nconst Container = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst SelectedEntitiesAmount = styled.div`\n margin-left: 5px;\n`;\n\ntype Props = {\n bulkActions: (selectedEntities: Array, setSelectedEntities: (streamIds: Array) => void) => React.ReactNode,\n selectedEntities: Array,\n setSelectedEntities: React.Dispatch>>\n\n};\n\nconst BulkActionsRow = ({ selectedEntities, setSelectedEntities, bulkActions: bulkActionsDropdown }: Props) => (\n \n {bulkActionsDropdown(selectedEntities, setSelectedEntities)}\n {!!selectedEntities.length && (\n \n {selectedEntities.length} {StringUtils.pluralize(selectedEntities.length, 'item', 'items')} selected\n \n )}\n \n);\n\nexport default BulkActionsRow;\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 styled from 'styled-components';\n\nimport type { Column } from 'components/common/EntityDataTable';\nimport CommonSortIcon from 'components/common/SortIcon';\nimport type { Sort } from 'stores/PaginationTypes';\n\nconst StyledCommonSortIcon = styled(CommonSortIcon)`\n display: inline-block;\n margin-left: 6px;\n padding: 0;\n cursor: pointer;\n`;\n\nconst SORT_DIRECTIONS = {\n ASC: 'asc',\n DESC: 'desc',\n} as const;\n\nconst SORT_ORDER_NAMES = {\n asc: 'ascending',\n desc: 'descending',\n};\n\nconst SortIcon = ({\n onChange,\n activeSort,\n column,\n}: {\n onChange: (newSort: Sort) => void,\n column: Column,\n activeSort: Sort | undefined,\n}) => {\n const columnSortIsActive = activeSort?.attributeId === column.id;\n const nextSortDirection = !columnSortIsActive || activeSort.direction === SORT_DIRECTIONS.DESC ? SORT_DIRECTIONS.ASC : SORT_DIRECTIONS.DESC;\n const title = `Sort ${column.title.toLowerCase()} ${SORT_ORDER_NAMES[nextSortDirection]}`;\n\n const _onChange = () => {\n onChange({ attributeId: column.id, direction: nextSortDirection });\n };\n\n return (\n \n );\n};\n\nexport default SortIcon;\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 styled from 'styled-components';\n\nimport { Checkbox } from 'components/bootstrap';\n\nconst RowCheckbox = styled(Checkbox)`\n &.checkbox {\n margin: 0;\n \n label {\n display: flex;\n align-items: center;\n padding: 0;\n \n input {\n width: 14px;\n height: 14px;\n cursor: pointer;\n margin: 0;\n position: relative;\n }\n }\n }\n`;\n\nexport default RowCheckbox;\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, useEffect, useRef } from 'react';\nimport uniq from 'lodash/uniq';\n\nimport RowCheckbox from 'components/common/EntityDataTable/RowCheckbox';\nimport { BULK_SELECT_COLUMN_WIDTH } from 'components/common/EntityDataTable/Constants';\nimport type { EntityBase } from 'components/common/EntityDataTable/types';\n\ntype CheckboxStatus = 'CHECKED' | 'UNCHECKED' | 'PARTIAL';\n\nconst useCheckboxStatus = (data: Readonly>, selectedEntityIds: Array) => {\n const checkboxRef = useRef();\n\n const checkboxStatus: CheckboxStatus = useMemo(() => {\n const selectedEntities = data.filter(({ id }) => selectedEntityIds.includes(id));\n\n if (selectedEntities.length === 0) {\n return 'UNCHECKED';\n }\n\n if (selectedEntities.length === data.length) {\n return 'CHECKED';\n }\n\n return 'PARTIAL';\n }, [data, selectedEntityIds]);\n\n useEffect(() => {\n if (checkboxRef.current) {\n if (checkboxStatus === 'PARTIAL') {\n checkboxRef.current.indeterminate = true;\n\n return;\n }\n\n checkboxRef.current.indeterminate = false;\n }\n }, [checkboxStatus]);\n\n return {\n checkboxRef,\n checkboxStatus,\n };\n};\n\ntype Props = {\n data: Readonly>,\n selectedEntities: Array,\n setSelectedEntities: React.Dispatch>>,\n}\n\nconst BulkSelectHead = ({\n data,\n setSelectedEntities,\n selectedEntities,\n}: Props) => {\n const { checkboxRef, checkboxStatus } = useCheckboxStatus(data, selectedEntities);\n const title = `${checkboxStatus === 'CHECKED' ? 'Deselect' : 'Select'} all visible entities`;\n\n const onBulkSelect = () => {\n setSelectedEntities((cur) => {\n const entityIds = data.map(({ id }) => id);\n\n if (checkboxStatus === 'CHECKED') {\n return cur.filter((itemId) => !entityIds.includes(itemId));\n }\n\n return uniq([...cur, ...entityIds]);\n });\n };\n\n return (\n \n { checkboxRef.current = ref; }}\n onChange={onBulkSelect}\n checked={checkboxStatus === 'CHECKED'}\n title={title}\n disabled={!data?.length} />\n \n );\n};\n\nexport default BulkSelectHead;\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';\nimport { useMemo } from 'react';\n\nimport SortIcon from 'components/streams/StreamsOverview/SortIcon';\nimport type { Sort } from 'stores/PaginationTypes';\n\nimport BulkSelectHead from './BulkSelectHead';\nimport type { Column, ColumnRenderer, EntityBase, ColumnRenderersByAttribute } from './types';\n\nconst Th = styled.th<{ $width: number | undefined }>(({ $width }) => css`\n width: ${$width ? `${$width}px` : 'auto'};\n`);\n\nconst TableHeader = ({\n activeSort,\n column,\n columnRenderer,\n onSortChange,\n colWidth,\n}: {\n activeSort: Sort,\n column: Column\n columnRenderer: ColumnRenderer | undefined\n onSortChange: (newSort: Sort) => void,\n colWidth: number\n}) => {\n const content = useMemo(\n () => (typeof columnRenderer?.renderHeader === 'function' ? columnRenderer.renderHeader(column) : column.title),\n [column, columnRenderer],\n );\n\n return (\n \n {content}\n\n {column.sortable && (\n \n )}\n \n );\n};\n\nconst ActionsHead = styled.th<{ $width: number | undefined }>(({ $width }) => css`\n text-align: right;\n width: ${$width ? `${$width}px` : 'auto'};\n`);\n\nconst TableHead = ({\n actionsColWidth,\n activeSort,\n columns,\n columnsOrder,\n columnRenderersByAttribute,\n columnsWidths,\n data,\n displayActionsCol,\n displayBulkSelectCol,\n onSortChange,\n selectedEntities,\n setSelectedEntities,\n}: {\n actionsColWidth: number | undefined,\n activeSort: Sort,\n columns: Array,\n columnsWidths: { [columnId: string]: number },\n columnsOrder: Array,\n columnRenderersByAttribute: ColumnRenderersByAttribute,\n data: Readonly>,\n displayActionsCol: boolean,\n displayBulkSelectCol: boolean,\n onSortChange: (newSort: Sort) => void,\n selectedEntities: Array,\n setSelectedEntities: React.Dispatch>>\n}) => {\n const sortedColumns = useMemo(\n () => columns.sort((col1, col2) => columnsOrder.indexOf(col1.id) - columnsOrder.indexOf(col2.id)),\n [columns, columnsOrder],\n );\n\n return (\n \n \n {displayBulkSelectCol && (\n \n )}\n {sortedColumns.map((column) => {\n const columnRenderer = columnRenderersByAttribute[column.id];\n\n return (\n columnRenderer={columnRenderer}\n column={column}\n colWidth={columnsWidths[column.id]}\n onSortChange={onSortChange}\n activeSort={activeSort}\n key={column.title} />\n );\n })}\n {displayActionsCol ? Actions : null}\n \n \n );\n};\n\nexport default TableHead;\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 from 'styled-components';\nimport camelCase from 'lodash/camelCase';\n\nimport type { Column, ColumnRenderer, EntityBase } from './types';\n\nconst Td = styled.td`\n word-break: break-word;\n`;\n\nconst TableCell = ({\n column,\n columnRenderer,\n entity,\n entityAttributesAreCamelCase,\n}: {\n column: Column\n columnRenderer: ColumnRenderer | undefined,\n entity: Entity,\n entityAttributesAreCamelCase: boolean,\n}) => {\n const attributeKey = entityAttributesAreCamelCase ? camelCase(column.id) : column.id;\n const attributeValue = entity[attributeKey];\n const content = typeof columnRenderer?.renderCell === 'function' ? columnRenderer.renderCell(attributeValue, entity, column) : attributeValue;\n\n return ({content});\n};\n\nexport default TableCell;\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 from 'styled-components';\nimport { useCallback } from 'react';\n\nimport ButtonToolbar from 'components/bootstrap/ButtonToolbar';\n\nimport TableCell from './TableCell';\nimport type { ColumnRenderersByAttribute, Column, EntityBase } from './types';\nimport RowCheckbox from './RowCheckbox';\n\nconst ActionsCell = styled.th`\n text-align: right;\n\n .btn-toolbar {\n display: inline-flex;\n }\n`;\n\nconst ActionsRef = styled.div`\n display: inline-flex;\n`;\n\ntype Props = {\n actionsRef: React.RefObject\n columns: Array,\n columnRenderersByAttribute: ColumnRenderersByAttribute,\n displaySelect: boolean,\n displayActions: boolean,\n entity: Entity,\n index: number,\n isSelected: boolean,\n onToggleEntitySelect: (entityId: string) => void,\n rowActions?: (entity: Entity) => React.ReactNode,\n entityAttributesAreCamelCase: boolean,\n};\n\nconst TableRow = ({\n columns,\n columnRenderersByAttribute,\n displaySelect,\n displayActions,\n entity,\n isSelected,\n onToggleEntitySelect,\n rowActions,\n index,\n actionsRef,\n entityAttributesAreCamelCase,\n}: Props) => {\n const toggleRowSelect = useCallback(\n () => onToggleEntitySelect(entity.id),\n [entity.id, onToggleEntitySelect],\n );\n\n const actionButtons = displayActions ? {rowActions(entity)} : null;\n\n return (\n \n {displaySelect && (\n \n \n \n )}\n {columns.map((column) => {\n const columnRenderer = columnRenderersByAttribute[column.id];\n\n return (\n \n );\n })}\n {displayActions ? (\n \n {index === 0 ? {actionButtons} : actionButtons}\n \n ) : null}\n \n );\n};\n\nTableRow.defaultProps = {\n rowActions: undefined,\n};\n\nexport default React.memo(TableRow);\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { useState, useCallback, useMemo } from 'react';\n\nimport ExpandedEntitiesSectionsContext from './ExpandedSectionsContext';\n\nconst ExpandedSectionsProvider = ({ children }: { children: React.ReactNode }): React.ReactElement => {\n const [expandedSections, setExpandedSections] = useState<{ [entityId: string]: Array } | undefined>();\n\n const toggleSection = useCallback((entityId: string, sectionName: string) => setExpandedSections((cur) => {\n const newCur = { ...cur ?? {} };\n\n if (newCur[entityId]?.includes(sectionName)) {\n const newSections = newCur[entityId].filter((section) => section !== sectionName);\n\n if (newSections.length === 0) {\n delete newCur[entityId];\n\n return newCur;\n }\n\n return { ...newCur, [entityId]: newSections };\n }\n\n return { ...newCur, [entityId]: [...newCur[entityId] ?? [], sectionName] };\n }), []);\n\n const contextValue = useMemo(() => ({\n expandedSections,\n toggleSection,\n }), [expandedSections, toggleSection]);\n\n return (\n \n {children}\n \n );\n};\n\nExpandedSectionsProvider.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default ExpandedSectionsProvider;\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';\nimport { useMemo, useCallback, useRef } from 'react';\nimport type * as Immutable from 'immutable';\nimport merge from 'lodash/merge';\n\nimport { Table, ButtonGroup } from 'components/bootstrap';\nimport { isPermitted, isAnyPermitted } from 'util/PermissionsMixin';\nimport useCurrentUser from 'hooks/useCurrentUser';\nimport ColumnsVisibilitySelect from 'components/common/EntityDataTable/ColumnsVisibilitySelect';\nimport DefaultColumnRenderers from 'components/common/EntityDataTable/DefaultColumnRenderers';\nimport { CELL_PADDING, BULK_SELECT_COLUMN_WIDTH } from 'components/common/EntityDataTable/Constants';\nimport useColumnsWidths from 'components/common/EntityDataTable/hooks/useColumnsWidths';\nimport useElementDimensions from 'hooks/useElementDimensions';\nimport type { Sort } from 'stores/PaginationTypes';\nimport { PageSizeSelect } from 'components/common';\nimport ExpandedSections from 'components/common/EntityDataTable/ExpandedSections';\nimport useSelectedEntities from 'components/common/EntityDataTable/hooks/useSelectedEntities';\n\nimport BulkActionsRow from './BulkActionsRow';\nimport TableHead from './TableHead';\nimport TableRow from './TableRow';\nimport ExpandedSectionsProvider from './contexts/ExpandedSectionsProvider';\nimport type { ColumnRenderers, Column, EntityBase, ColumnRenderersByAttribute, ExpandedSectionRenderer } from './types';\n\nconst ScrollContainer = styled.div`\n width: 100%;\n overflow-x: auto;\n`;\n\nconst StyledTable = styled(Table)(({ theme }) => css`\n table-layout: fixed;\n\n thead > tr > th,\n tbody > tr > td {\n padding: ${CELL_PADDING}px;\n }\n\n && {\n > tbody:nth-of-type(even) > tr {\n background-color: ${theme.colors.table.background};\n }\n\n > tbody:nth-of-type(odd) > tr {\n background-color: ${theme.colors.table.backgroundAlt};\n }\n }\n`);\n\nconst ActionsRow = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 10px;\n min-height: 22px;\n`;\n\nconst LayoutConfigRow = styled.div`\n display: flex;\n align-items: center;\n gap: 5px;\n`;\n\nconst filterAccessibleColumns = (\n columns: Array,\n userPermissions: Immutable.List,\n) => columns.filter(({ permissions, anyPermissions, hidden }) => {\n if (hidden) {\n return false;\n }\n\n if (permissions?.length) {\n return anyPermissions\n ? isAnyPermitted(userPermissions, permissions)\n : isPermitted(userPermissions, permissions);\n }\n\n return true;\n});\n\nconst filterVisibleColumns = (\n columnDefinitions: Array,\n visibleColumns: Array,\n) => visibleColumns.map((columnId) => columnDefinitions\n .find(({ id }) => id === columnId))\n .filter((column) => !!column);\n\nconst useElementsWidths = ({\n columns,\n columnRenderersByAttribute,\n displayBulkSelectCol,\n fixedActionsCellWidth,\n}: {\n columns: Array,\n columnRenderersByAttribute: ColumnRenderersByAttribute,\n displayBulkSelectCol: boolean\n fixedActionsCellWidth: number | undefined\n}) => {\n const tableRef = useRef();\n const actionsRef = useRef();\n const { width: tableWidth } = useElementDimensions(tableRef);\n const columnsIds = useMemo(() => columns.map(({ id }) => id), [columns]);\n const actionsColInnerWidth = fixedActionsCellWidth ?? (actionsRef.current?.offsetWidth ?? 0);\n const actionsColWidth = actionsColInnerWidth ? actionsColInnerWidth + CELL_PADDING * 2 : 0;\n\n const columnsWidths = useColumnsWidths({\n actionsColWidth,\n bulkSelectColWidth: displayBulkSelectCol ? BULK_SELECT_COLUMN_WIDTH : 0,\n columnRenderersByAttribute,\n columnsIds,\n tableWidth,\n });\n\n return { tableRef, actionsRef, columnsWidths, actionsColWidth };\n};\n\nconst mergeColumnsRenderers = (columns: Array, customColumnRenderers: ColumnRenderers) => {\n const renderers = merge({}, DefaultColumnRenderers, customColumnRenderers);\n const renderersByAttribute = Object.fromEntries(columns.map(({ id, type }) => {\n const typeRenderer = renderers.types?.[type];\n const attributeRenderer = renderers.attributes?.[id];\n\n const columnRenderer = merge({}, typeRenderer, attributeRenderer);\n\n return [id, columnRenderer];\n }));\n\n return renderersByAttribute;\n};\n\ntype Props = {\n /**\n * Needs to be defined when not all action cells in every row have the same width.\n * When they have the same width, the column width will be calculated automatically.\n * Should not include the actions col padding. Should be teh max width an action cell can have.\n */\n actionsCellWidth?: number\n /** Currently active sort */\n activeSort?: Sort,\n /**\n * The column ids are always snake case. By default, entity attributes are camel case.\n * This prop controls if the column ids need to be transformed to camel case to connect them with the entity attributes.\n */\n entityAttributesAreCamelCase?: boolean,\n bulkSelection?: {\n /** Supported bulk actions */\n actions?: (selectedEntities: Array, setSelectedEntities: (streamIds: Array) => void) => React.ReactNode,\n /** Callback which runs on selection change */\n onChangeSelection?: (selectedEntities: Array) => void,\n /** Initial selected items */\n initialSelection?: Array\n },\n /** List of all available columns. Column ids need to be snake case. */\n columnDefinitions: Array,\n /** Custom cell and header renderer for a column. Column ids need to be snake case. */\n columnRenderers?: ColumnRenderers,\n /** Define default columns order. Column ids need to be snake case. */\n columnsOrder?: Array,\n /** The table data. */\n data: Readonly>,\n /** Allows you to extend a row with additional information * */\n expandedSectionsRenderer?: {\n [sectionName: string]: ExpandedSectionRenderer\n },\n /** Function to handle changes of columns visibility */\n onColumnsChange: (columnIds: Array) => void,\n /** Function to handle sort changes */\n onSortChange: (newSort: Sort) => void,\n /** Function to handle page size changes */\n onPageSizeChange?: (newPageSize: number) => void,\n /** Active page size */\n pageSize?: number\n /** Actions for each row. */\n rowActions?: (entity: Entity) => React.ReactNode,\n /** Which columns should be displayed. */\n visibleColumns: Array,\n\n};\n\n/**\n * Flexible data table component which allows defining custom column renderers.\n */\nconst EntityDataTable = ({\n actionsCellWidth: fixedActionsCellWidth,\n activeSort,\n entityAttributesAreCamelCase,\n bulkSelection: {\n actions,\n onChangeSelection,\n initialSelection,\n },\n columnDefinitions,\n columnRenderers: customColumnRenderers,\n columnsOrder,\n data,\n expandedSectionsRenderer,\n onColumnsChange,\n onPageSizeChange,\n onSortChange,\n pageSize,\n rowActions,\n visibleColumns,\n}: Props) => {\n const currentUser = useCurrentUser();\n const [selectedEntities, setSelectedEntities] = useSelectedEntities(initialSelection, onChangeSelection);\n const displayActionsCol = typeof rowActions === 'function';\n const displayBulkAction = typeof actions === 'function';\n const displayBulkSelectCol = typeof onChangeSelection === 'function' || typeof actions === 'function';\n const displayPageSizeSelect = typeof onPageSizeChange === 'function';\n\n const accessibleColumns = useMemo(\n () => filterAccessibleColumns(columnDefinitions, currentUser.permissions),\n [columnDefinitions, currentUser.permissions],\n );\n\n const columns = useMemo(\n () => filterVisibleColumns(accessibleColumns, visibleColumns),\n [accessibleColumns, visibleColumns],\n );\n\n const columnRenderersByAttribute = useMemo(() => mergeColumnsRenderers(columns, customColumnRenderers), [columns, customColumnRenderers]);\n\n const { tableRef, actionsRef, actionsColWidth, columnsWidths } = useElementsWidths({\n columns,\n columnRenderersByAttribute,\n displayBulkSelectCol,\n fixedActionsCellWidth,\n });\n\n const onToggleEntitySelect = useCallback((itemId: string) => {\n setSelectedEntities(((cur) => {\n if (cur.includes(itemId)) {\n return cur.filter((id) => id !== itemId);\n }\n\n return [...cur, itemId];\n }));\n }, [setSelectedEntities]);\n\n return (\n \n \n
\n {displayBulkAction && (\n \n )}\n
\n \n Show\n \n {displayPageSizeSelect && (\n \n )}\n \n \n \n
\n \n \n \n {data.map((entity, index) => (\n \n \n \n \n ))}\n \n \n
\n );\n};\n\nEntityDataTable.defaultProps = {\n actionsCellWidth: undefined,\n activeSort: undefined,\n columnRenderers: undefined,\n columnsOrder: [],\n expandedSectionsRenderer: undefined,\n onPageSizeChange: undefined,\n pageSize: undefined,\n rowActions: undefined,\n entityAttributesAreCamelCase: true,\n bulkSelection: {},\n};\n\nexport default EntityDataTable;\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 EntityDataTable from './EntityDataTable';\nimport type { ColumnRenderers, Column } from './types';\n\nexport { ColumnRenderers, Column };\nexport default EntityDataTable;\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 styled from 'styled-components';\n\nimport { Alert } from 'components/bootstrap';\n\nconst StyledList = styled.ul`\n padding: 0;\n margin: 0;\n`;\n\ntype Props = {\n bsNoItemsStyle?: 'info' | 'success' | 'warning',\n noItemsText?: string | React.ReactNode,\n items: Array,\n}\n\n/**\n * Component used to represent list of entities in Graylog, where each entity will have a title, description,\n * action buttons, etc. You need to use this component alongside `EntityListItem` in order to get a similar\n * look and feel among different entities.\n */\nconst EntityList = ({ bsNoItemsStyle, items, noItemsText }: Props) => {\n if (items.length === 0) {\n return (\n \n {noItemsText}\n \n );\n }\n\n return (\n \n {items}\n \n );\n};\n\nEntityList.defaultProps = {\n bsNoItemsStyle: 'info',\n noItemsText: 'No items available',\n};\n\nEntityList.propTypes = {\n /** bsStyle to use when there are no items in the list. */\n bsNoItemsStyle: PropTypes.oneOf(['info', 'success', 'warning']),\n /** Text to show when there are no items in the list. */\n noItemsText: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.element,\n ]),\n /** Array of `EntityListItem` that will be shown. */\n items: PropTypes.array.isRequired,\n};\n\nexport default EntityList;\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 styled, { css } from 'styled-components';\n\nimport { Row, Col } from 'components/bootstrap';\n\nconst StyledListItem = styled.li(({ theme }) => css`\n display: block;\n padding: 15px 0;\n\n h2 {\n font-family: ${theme.fonts.family.body};\n }\n\n h2 .label {\n margin-left: 5px;\n line-height: 1;\n vertical-align: baseline;\n }\n\n .item-description {\n min-height: 17px;\n margin: 5px 0;\n }\n\n .item-actions > .btn,\n .item-actions > .btn-group,\n .item-actions > span > .btn {\n margin-left: 5px;\n margin-bottom: 5px;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid ${theme.colors.gray[90]};\n }\n`);\n\ntype Props = {\n title: React.ReactNode,\n titleSuffix?: React.ReactNode,\n description?: React.ReactNode,\n actions?: React.ReactNode | Array,\n contentRow?: React.ReactNode,\n}\n\n/**\n * Component that let you render an entity item using a similar look and feel as other entities in Graylog.\n * This component is meant to use alongside `EntityList`. Look there for an example of how to use this component.\n */\nconst EntityListItem = ({ actions, contentRow, description, title, titleSuffix }: Props) => {\n const wrappedTitleSuffix = titleSuffix ? {titleSuffix} : null;\n const actionsContainer = (\n
\n {actions}\n
\n );\n\n return (\n \n \n \n
\n {actionsContainer}\n
\n

{title} {wrappedTitleSuffix}

\n {description && (\n
\n {description}\n
\n )}\n \n\n \n {actionsContainer}\n \n
\n\n {contentRow && (\n \n {contentRow}\n \n )}\n
\n );\n};\n\nEntityListItem.propTypes = {\n /** Entity's title. */\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\n /** Text to append to the title. Usually the type or a short description. */\n titleSuffix: PropTypes.any,\n /** Description of the element, which can accommodate more text than `titleSuffix`. */\n description: PropTypes.any,\n /** Action buttons or menus shown on the right side of the entity item container. */\n actions: PropTypes.oneOfType([PropTypes.array, PropTypes.node]),\n /**\n * Add any content that is related to the entity and needs more space to be displayed. This is mostly use\n * to show configuration options.\n */\n contentRow: PropTypes.node,\n};\n\nEntityListItem.defaultProps = {\n actions: undefined,\n contentRow: undefined,\n description: undefined,\n titleSuffix: undefined,\n};\n\nexport default EntityListItem;\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 { SyntheticEvent } from 'react';\nimport PropTypes from 'prop-types';\nimport { Field, useFormikContext } from 'formik';\n\nimport { Input } from 'components/bootstrap';\n\ntype BaseProps = {\n autoComplete?: string,\n bsSize?: 'large' | 'small' | 'xsmall',\n buttonAfter?: React.ReactElement | string,\n children?: React.ReactNode,\n disabled?: boolean,\n error?: React.ReactElement | string,\n formGroupClassName?: string,\n help?: React.ReactElement | string,\n id: string,\n label?: React.ReactElement | string,\n labelClassName?: string,\n maxLength?: number,\n minLength?: number,\n name: string,\n onChange?: (event: SyntheticEvent) => void,\n placeholder?: string,\n required?: boolean,\n type?: string,\n validate?: (arg: string) => string | undefined | null,\n wrapperClassName?: string,\n autoFocus?: boolean,\n};\n\ntype TextareaProps = BaseProps & {\n type: 'textarea',\n rows?: number\n};\ntype Props = BaseProps | TextareaProps;\n\nconst checkboxProps = (value) => ({ defaultChecked: value ?? false });\n\nconst inputProps = (value) => ({ value: value ?? '' });\n\n/** Wraps the common Input component with a formik Field */\nconst FormikInput = ({ name, type, help, validate, onChange: propagateOnChange, error: errorProp, ...rest }: Props) => {\n const { validateOnChange } = useFormikContext();\n\n return (\n \n {({ field: { value, onChange, onBlur }, meta: { error: validationError, touched } }) => {\n const typeSpecificProps = type === 'checkbox' ? checkboxProps(value) : inputProps(value);\n const displayValidationError = validateOnChange ? !!(validationError && touched) : !!validationError;\n const error = displayValidationError ? validationError : errorProp;\n\n const _handleChange = (e: React.ChangeEvent) => {\n if (typeof propagateOnChange === 'function') {\n propagateOnChange(e);\n }\n\n onChange(e);\n };\n\n return (\n \n );\n }}\n \n );\n};\n\nFormikInput.propTypes = {\n autoComplete: PropTypes.string,\n bsSize: PropTypes.string,\n buttonAfter: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n children: PropTypes.oneOfType([\n PropTypes.array,\n PropTypes.element,\n ]),\n disabled: PropTypes.bool,\n error: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n formGroupClassName: PropTypes.string,\n help: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n labelClassName: PropTypes.string,\n maxLength: PropTypes.number,\n minLength: PropTypes.number,\n name: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n placeholder: PropTypes.string,\n required: PropTypes.bool,\n type: PropTypes.string,\n validate: PropTypes.func,\n wrapperClassName: PropTypes.string,\n autoFocus: PropTypes.bool,\n};\n\nFormikInput.defaultProps = {\n autoComplete: undefined,\n bsSize: undefined,\n buttonAfter: undefined,\n children: null,\n disabled: false,\n error: undefined,\n formGroupClassName: undefined,\n help: undefined,\n label: undefined,\n labelClassName: undefined,\n maxLength: undefined,\n minLength: undefined,\n onChange: undefined,\n placeholder: undefined,\n required: false,\n type: 'text',\n validate: () => undefined,\n wrapperClassName: undefined,\n autoFocus: false,\n};\n\nexport default FormikInput;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\nimport type { SizeProp } from '@fortawesome/fontawesome-svg-core';\n\nimport { OverlayTrigger } from 'components/common';\nimport { Popover } from 'components/bootstrap';\nimport Icon from 'components/common/Icon';\n\nconst StyledPopover = styled(Popover)(({ theme }) => css`\n ul {\n padding-left: 0;\n }\n\n li {\n margin-bottom: 5px;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n h4 {\n font-size: ${theme.fonts.size.large};\n }\n`);\n\nconst StyledIcon = styled(Icon)<{ $type: Type, $displayLeftMargin: boolean }>(({ theme, $type, $displayLeftMargin }) => css`\n color: ${$type === 'error' ? theme.colors.variant.danger : 'inherit'};\n margin-left: ${$displayLeftMargin ? '0.3em' : 0};\n`);\n\nconst iconName = (type: Type) => {\n switch (type) {\n case 'error':\n return 'circle-exclamation';\n case 'info':\n default:\n return 'question-circle';\n }\n};\n\ntype Type = 'info' | 'error';\n\ntype Props = {\n children: React.ReactNode,\n className?: string,\n displayLeftMargin?: boolean,\n id?: string,\n placement?: 'top' | 'right' | 'bottom' | 'left',\n iconSize?: SizeProp\n pullRight?: boolean,\n title?: string,\n testId?: string,\n trigger?: React.ComponentProps['trigger'],\n type?: 'info' | 'error',\n};\n\nconst HoverForHelp = ({\n children,\n className,\n displayLeftMargin,\n title,\n id,\n pullRight,\n placement,\n testId,\n type,\n iconSize,\n trigger,\n}: Props) => (\n {children}}\n testId={testId}>\n \n \n);\n\nHoverForHelp.propTypes = {\n displayLeftMargin: PropTypes.bool,\n children: PropTypes.any.isRequired,\n className: PropTypes.string,\n id: PropTypes.string,\n placement: PropTypes.oneOf(['top', 'right', 'bottom', 'left']),\n pullRight: PropTypes.bool,\n title: PropTypes.string,\n testId: PropTypes.string,\n trigger: PropTypes.arrayOf(PropTypes.oneOf(['click', 'focus', 'hover'])) || PropTypes.oneOf(['click', 'focus', 'hover']),\n};\n\nHoverForHelp.defaultProps = {\n id: 'help-popover',\n className: '',\n pullRight: true,\n placement: 'bottom',\n testId: undefined,\n title: undefined,\n type: 'info',\n iconSize: undefined,\n trigger: ['hover', 'focus'],\n displayLeftMargin: false,\n};\n\n/** @component */\nexport default HoverForHelp;\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 compareIconNames = [\n { v4: 'address-book-o', v5: 'address-book' },\n { v4: 'address-card-o', v5: 'address-card' },\n { v4: 'area-chart', v5: 'chart-area' },\n { v4: 'arrow-circle-o-down', v5: 'arrow-alt-circle-down' },\n { v4: 'arrow-circle-o-left', v5: 'arrow-alt-circle-left' },\n { v4: 'arrow-circle-o-right', v5: 'arrow-alt-circle-right' },\n { v4: 'arrow-circle-o-up', v5: 'arrow-alt-circle-up' },\n { v4: 'arrows', v5: 'arrows-alt' },\n { v4: 'arrows-alt', v5: 'expand-arrows-alt' },\n { v4: 'arrows-h', v5: 'arrows-alt-h' },\n { v4: 'arrows-v', v5: 'arrows-alt-v' },\n { v4: 'asl-interpreting', v5: 'american-sign-language-interpreting' },\n { v4: 'automobile', v5: 'car' },\n { v4: 'bank', v5: 'university' },\n { v4: 'bar-chart', v5: 'chart-bar' },\n { v4: 'bar-chart-o', v5: 'chart-bar' },\n { v4: 'bathtub', v5: 'bath' },\n { v4: 'battery', v5: 'battery-full' },\n { v4: 'battery-0', v5: 'battery-empty' },\n { v4: 'battery-1', v5: 'battery-quarter' },\n { v4: 'battery-2', v5: 'battery-half' },\n { v4: 'battery-3', v5: 'battery-three-quarters' },\n { v4: 'battery-4', v5: 'battery-full' },\n { v4: 'bell-o', v5: 'bell' },\n { v4: 'bell-slash-o', v5: 'bell-slash' },\n { v4: 'bookmark-o', v5: 'bookmark' },\n { v4: 'building-o', v5: 'building' },\n { v4: 'cab', v5: 'taxi' },\n { v4: 'calendar', v5: 'calendar-alt' },\n { v4: 'calendar-check-o', v5: 'calendar-check' },\n { v4: 'calendar-minus-o', v5: 'calendar-minus' },\n { v4: 'calendar-o', v5: 'calendar' },\n { v4: 'calendar-plus-o', v5: 'calendar-plus' },\n { v4: 'calendar-times-o', v5: 'calendar-times' },\n { v4: 'caret-square-o-down', v5: 'caret-square-down' },\n { v4: 'caret-square-o-left', v5: 'caret-square-left' },\n { v4: 'caret-square-o-right', v5: 'caret-square-right' },\n { v4: 'caret-square-o-up', v5: 'caret-square-up' },\n { v4: 'cc', v5: 'closed-captioning' },\n { v4: 'chain', v5: 'link' },\n { v4: 'chain-broken', v5: 'unlink' },\n { v4: 'check-circle-o', v5: 'check-circle' },\n { v4: 'check-square-o', v5: 'check-square' },\n { v4: 'circle-o', v5: 'circle' },\n { v4: 'circle-o-notch', v5: 'circle-notch' },\n { v4: 'circle-thin', v5: 'circle' },\n { v4: 'clock-o', v5: 'clock' },\n { v4: 'close', v5: 'times' },\n { v4: 'cloud-download', v5: 'cloud-download-alt' },\n { v4: 'cloud-upload', v5: 'cloud-upload-alt' },\n { v4: 'cny', v5: 'yen-sign' },\n { v4: 'code-fork', v5: 'code-branch' },\n { v4: 'comment-o', v5: 'comment' },\n { v4: 'commenting', v5: 'comment-dots' },\n { v4: 'commenting-o', v5: 'comment-dots' },\n { v4: 'comments-o', v5: 'comments' },\n { v4: 'credit-card-alt', v5: 'credit-card' },\n { v4: 'cutlery', v5: 'utensils' },\n { v4: 'dashboard', v5: 'tachometer-alt' },\n { v4: 'deafness', v5: 'deaf' },\n { v4: 'dedent', v5: 'outdent' },\n { v4: 'diamond', v5: 'gem' },\n { v4: 'dollar', v5: 'dollar-sign' },\n { v4: 'dot-circle-o', v5: 'dot-circle' },\n { v4: 'drivers-license', v5: 'id-card' },\n { v4: 'drivers-license-o', v5: 'id-card' },\n { v4: 'envelope-o', v5: 'envelope' },\n { v4: 'envelope-open-o', v5: 'envelope-open' },\n { v4: 'eur', v5: 'euro-sign' },\n { v4: 'euro', v5: 'euro-sign' },\n { v4: 'exchange', v5: 'exchange-alt' },\n { v4: 'external-link', v5: 'external-link-alt' },\n { v4: 'external-link-square', v5: 'external-link-square-alt' },\n { v4: 'eye', v5: 'eye' },\n { v4: 'eye-slash', v5: 'eye-slash' },\n { v4: 'eyedropper', v5: 'eye-dropper' },\n { v4: 'feed', v5: 'rss' },\n { v4: 'file-archive-o', v5: 'file-archive' },\n { v4: 'file-audio-o', v5: 'file-audio' },\n { v4: 'file-code-o', v5: 'file-code' },\n { v4: 'file-excel-o', v5: 'file-excel' },\n { v4: 'file-image-o', v5: 'file-image' },\n { v4: 'file-movie-o', v5: 'file-video' },\n { v4: 'file-o', v5: 'file' },\n { v4: 'file-pdf-o', v5: 'file-pdf' },\n { v4: 'file-photo-o', v5: 'file-image' },\n { v4: 'file-picture-o', v5: 'file-image' },\n { v4: 'file-powerpoint-o', v5: 'file-powerpoint' },\n { v4: 'file-sound-o', v5: 'file-audio' },\n { v4: 'file-text', v5: 'file-alt' },\n { v4: 'file-text-o', v5: 'file-alt' },\n { v4: 'file-video-o', v5: 'file-video' },\n { v4: 'file-word-o', v5: 'file-word' },\n { v4: 'file-zip-o', v5: 'file-archive' },\n { v4: 'files-o', v5: 'copy' },\n { v4: 'flag-o', v5: 'flag' },\n { v4: 'flash', v5: 'bolt' },\n { v4: 'floppy-o', v5: 'save' },\n { v4: 'folder-o', v5: 'folder' },\n { v4: 'folder-open-o', v5: 'folder-open' },\n { v4: 'frown-o', v5: 'frown' },\n { v4: 'futbol-o', v5: 'futbol' },\n { v4: 'gbp', v5: 'pound-sign' },\n { v4: 'gear', v5: 'cog' },\n { v4: 'gears', v5: 'cogs' },\n { v4: 'glass', v5: 'glass-martini' },\n { v4: 'group', v5: 'users' },\n { v4: 'hand-grab-o', v5: 'hand-rock' },\n { v4: 'hand-lizard-o', v5: 'hand-lizard' },\n { v4: 'hand-o-down', v5: 'hand-point-down' },\n { v4: 'hand-o-left', v5: 'hand-point-left' },\n { v4: 'hand-o-right', v5: 'hand-point-right' },\n { v4: 'hand-o-up', v5: 'hand-point-up' },\n { v4: 'hand-paper-o', v5: 'hand-paper' },\n { v4: 'hand-peace-o', v5: 'hand-peace' },\n { v4: 'hand-pointer-o', v5: 'hand-pointer' },\n { v4: 'hand-rock-o', v5: 'hand-rock' },\n { v4: 'hand-scissors-o', v5: 'hand-scissors' },\n { v4: 'hand-spock-o', v5: 'hand-spock' },\n { v4: 'hand-stop-o', v5: 'hand-paper' },\n { v4: 'handshake-o', v5: 'handshake' },\n { v4: 'hard-of-hearing', v5: 'deaf' },\n { v4: 'hdd-o', v5: 'hdd' },\n { v4: 'header', v5: 'heading' },\n { v4: 'heart-o', v5: 'heart' },\n { v4: 'hospital-o', v5: 'hospital' },\n { v4: 'hotel', v5: 'bed' },\n { v4: 'hourglass-1', v5: 'hourglass-start' },\n { v4: 'hourglass-2', v5: 'hourglass-half' },\n { v4: 'hourglass-3', v5: 'hourglass-end' },\n { v4: 'hourglass-o', v5: 'hourglass' },\n { v4: 'id-badge', v5: 'id-badge' },\n { v4: 'id-card-o', v5: 'id-card' },\n { v4: 'ils', v5: 'shekel-sign' },\n { v4: 'image', v5: 'image' },\n { v4: 'inr', v5: 'rupee-sign' },\n { v4: 'institution', v5: 'university' },\n { v4: 'intersex', v5: 'transgender' },\n { v4: 'jpy', v5: 'yen-sign' },\n { v4: 'keyboard-o', v5: 'keyboard' },\n { v4: 'krw', v5: 'won-sign' },\n { v4: 'legal', v5: 'gavel' },\n { v4: 'lemon-o', v5: 'lemon' },\n { v4: 'level-down', v5: 'level-down-alt' },\n { v4: 'level-up', v5: 'level-up-alt' },\n { v4: 'life-bouy', v5: 'life-ring' },\n { v4: 'life-buoy', v5: 'life-ring' },\n { v4: 'life-ring', v5: 'life-ring' },\n { v4: 'life-saver', v5: 'life-ring' },\n { v4: 'lightbulb-o', v5: 'lightbulb' },\n { v4: 'line-chart', v5: 'chart-line' },\n { v4: 'list-alt', v5: 'list-alt' },\n { v4: 'long-arrow-down', v5: 'long-arrow-alt-down' },\n { v4: 'long-arrow-left', v5: 'long-arrow-alt-left' },\n { v4: 'long-arrow-right', v5: 'long-arrow-alt-right' },\n { v4: 'long-arrow-up', v5: 'long-arrow-alt-up' },\n { v4: 'mail-forward', v5: 'share' },\n { v4: 'mail-reply', v5: 'reply' },\n { v4: 'mail-reply-all', v5: 'reply-all' },\n { v4: 'map-marker', v5: 'map-marker-alt' },\n { v4: 'map-o', v5: 'map' },\n { v4: 'meh-o', v5: 'meh' },\n { v4: 'minus-square-o', v5: 'minus-square' },\n { v4: 'mobile', v5: 'mobile-alt' },\n { v4: 'mobile-phone', v5: 'mobile-alt' },\n { v4: 'money', v5: 'money-bill-alt' },\n { v4: 'moon-o', v5: 'moon' },\n { v4: 'mortar-board', v5: 'graduation-cap' },\n { v4: 'navicon', v5: 'bars' },\n { v4: 'newspaper-o', v5: 'newspaper' },\n { v4: 'object-group', v5: 'object-group' },\n { v4: 'object-ungroup', v5: 'object-ungroup' },\n { v4: 'paper-plane-o', v5: 'paper-plane' },\n { v4: 'paste', v5: 'clipboard' },\n { v4: 'pause-circle-o', v5: 'pause-circle' },\n { v4: 'pencil', v5: 'pencil-alt' },\n { v4: 'pencil-square', v5: 'pen-square' },\n { v4: 'pencil-square-o', v5: 'edit' },\n { v4: 'photo', v5: 'image' },\n { v4: 'picture-o', v5: 'image' },\n { v4: 'pie-chart', v5: 'chart-pie' },\n { v4: 'play-circle-o', v5: 'play-circle' },\n { v4: 'plus-square-o', v5: 'plus-square' },\n { v4: 'question-circle-o', v5: 'question-circle' },\n { v4: 'refresh', v5: 'sync' },\n { v4: 'registered', v5: 'registered' },\n { v4: 'remove', v5: 'times' },\n { v4: 'reorder', v5: 'bars' },\n { v4: 'repeat', v5: 'redo' },\n { v4: 'rmb', v5: 'yen-sign' },\n { v4: 'rotate-left', v5: 'undo' },\n { v4: 'rotate-right', v5: 'redo' },\n { v4: 'rouble', v5: 'ruble-sign' },\n { v4: 'rub', v5: 'ruble-sign' },\n { v4: 'ruble', v5: 'ruble-sign' },\n { v4: 'rupee', v5: 'rupee-sign' },\n { v4: 's15', v5: 'bath' },\n { v4: 'scissors', v5: 'cut' },\n { v4: 'send', v5: 'paper-plane' },\n { v4: 'send-o', v5: 'paper-plane' },\n { v4: 'share-square-o', v5: 'share-square' },\n { v4: 'shekel', v5: 'shekel-sign' },\n { v4: 'sheqel', v5: 'shekel-sign' },\n { v4: 'shield', v5: 'shield-alt' },\n { v4: 'sign-in', v5: 'sign-in-alt' },\n { v4: 'sign-out', v5: 'sign-out-alt' },\n { v4: 'signing', v5: 'sign-language' },\n { v4: 'sliders', v5: 'sliders-h' },\n { v4: 'smile-o', v5: 'smile' },\n { v4: 'snowflake-o', v5: 'snowflake' },\n { v4: 'soccer-ball-o', v5: 'futbol' },\n { v4: 'sort-alpha-asc', v5: 'sort-alpha-down' },\n { v4: 'sort-alpha-desc', v5: 'sort-alpha-up' },\n { v4: 'sort-amount-asc', v5: 'sort-amount-down' },\n { v4: 'sort-amount-desc', v5: 'sort-amount-up' },\n { v4: 'sort-asc', v5: 'sort-up' },\n { v4: 'sort-desc', v5: 'sort-down' },\n { v4: 'sort-numeric-asc', v5: 'sort-numeric-down' },\n { v4: 'sort-numeric-desc', v5: 'sort-numeric-up' },\n { v4: 'spoon', v5: 'utensil-spoon' },\n { v4: 'square-o', v5: 'square' },\n { v4: 'star-half-empty', v5: 'star-half' },\n { v4: 'star-half-full', v5: 'star-half' },\n { v4: 'star-half-o', v5: 'star-half' },\n { v4: 'star-o', v5: 'star' },\n { v4: 'sticky-note-o', v5: 'sticky-note' },\n { v4: 'stop-circle-o', v5: 'stop-circle' },\n { v4: 'sun-o', v5: 'sun' },\n { v4: 'support', v5: 'life-ring' },\n { v4: 'tablet', v5: 'tablet-alt' },\n { v4: 'tachometer', v5: 'tachometer-alt' },\n { v4: 'television', v5: 'tv' },\n { v4: 'thermometer', v5: 'thermometer-full' },\n { v4: 'thermometer-0', v5: 'thermometer-empty' },\n { v4: 'thermometer-1', v5: 'thermometer-quarter' },\n { v4: 'thermometer-2', v5: 'thermometer-half' },\n { v4: 'thermometer-3', v5: 'thermometer-three-quarters' },\n { v4: 'thermometer-4', v5: 'thermometer-full' },\n { v4: 'thumb-tack', v5: 'thumbtack' },\n { v4: 'thumbs-o-down', v5: 'thumbs-down' },\n { v4: 'thumbs-o-up', v5: 'thumbs-up' },\n { v4: 'ticket', v5: 'ticket-alt' },\n { v4: 'times-circle-o', v5: 'times-circle' },\n { v4: 'times-rectangle', v5: 'window-close' },\n { v4: 'times-rectangle-o', v5: 'window-close' },\n { v4: 'toggle-down', v5: 'caret-square-down' },\n { v4: 'toggle-left', v5: 'caret-square-left' },\n { v4: 'toggle-right', v5: 'caret-square-right' },\n { v4: 'toggle-up', v5: 'caret-square-up' },\n { v4: 'trash', v5: 'trash-alt' },\n { v4: 'trash-o', v5: 'trash-alt' },\n { v4: 'try', v5: 'lira-sign' },\n { v4: 'turkish-lira', v5: 'lira-sign' },\n { v4: 'unsorted', v5: 'sort' },\n { v4: 'usd', v5: 'dollar-sign' },\n { v4: 'user-circle-o', v5: 'user-circle' },\n { v4: 'user-o', v5: 'user' },\n { v4: 'vcard', v5: 'address-card' },\n { v4: 'vcard-o', v5: 'address-card' },\n { v4: 'video-camera', v5: 'video' },\n { v4: 'volume-control-phone', v5: 'phone-volume' },\n { v4: 'warning', v5: 'exclamation-triangle' },\n { v4: 'window-close-o', v5: 'window-close' },\n { v4: 'window-maximize', v5: 'window-maximize' },\n { v4: 'window-restore', v5: 'window-restore' },\n { v4: 'won', v5: 'won-sign' },\n { v4: 'yen', v5: 'yen-sign' },\n];\n\nexport default compareIconNames;\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 React from 'react';\nimport find from 'lodash/find';\nimport type { IconName } from '@fortawesome/fontawesome-common-types';\nimport type { SizeProp, RotateProp } from '@fortawesome/fontawesome-svg-core';\n\nimport deprecationNotice from 'util/deprecationNotice';\nimport loadAsync from 'routing/loadAsync';\n\nimport compareIconNames from './icon-fallback';\n\nconst CustomFontAwesomeIcon = loadAsync(() => import('./CustomFontAwesomeIcon'));\n\ntype IconTypes = 'brand' | 'regular' | 'solid';\n\nconst removeFaPrefix = (name: string) => name.replace(/^fa-/, ''); // remove \"fa-\" prefix if it exists\n\nconst updateLegacyName = (icon: string) => {\n const v4icon = find(compareIconNames, { v4: icon });\n const iconName = (v4icon && v4icon.v5) || icon;\n\n if (v4icon) {\n deprecationNotice(`You have used a deprecated \\`Icon\\` name. \\`${icon}\\` should be \\`${iconName}\\``);\n }\n\n return iconName;\n};\n\nconst cleanIconName = (name: string, type: IconTypes) => {\n const iconName = removeFaPrefix(name);\n\n if (type !== 'brand') {\n return updateLegacyName(iconName);\n }\n\n return iconName;\n};\n\nconst getPrefixForType = (type: IconTypes) => {\n switch (type) {\n case 'brand':\n return 'fab';\n case 'regular':\n return 'far';\n case 'solid':\n default:\n return 'fas';\n }\n};\n\ntype Props = {\n className?: string,\n 'data-testid'?: string,\n /** Name of Font Awesome 5 Icon without `fa-` prefix */\n name: IconName,\n rotation?: RotateProp,\n size?: SizeProp,\n spin?: boolean,\n /**\n * Name of icon type, the brand type is needed for all brand icons.\n * The type regular is needed to outlined icon.\n * Not all icons can be outlined.\n * */\n type?: IconTypes,\n fixedWidth?: boolean,\n inverse?: boolean,\n style?: React.CSSProperties,\n onClick?: (event: React.MouseEvent) => void,\n onMouseEnter?: (event: React.MouseEvent) => void,\n onMouseLeave?: (event: React.MouseEvent) => void,\n onFocus?: (event: React.FocusEvent) => void,\n tabIndex?: number,\n title?: string,\n}\n\n/**\n * Component that renders an icon or glyph.\n * Uses Font Awesome 5 : https://fontawesome.com/icons\n *\n * No need to pass `fa` or `fa-` prefixes, just the name of the icon\n * Visit [React FontAwesome Features](https://github.com/FortAwesome/react-fontawesome#features) for more information.\n */\n\nconst Icon = ({\n name,\n type,\n size,\n className,\n rotation,\n spin,\n fixedWidth,\n inverse,\n style,\n 'data-testid': testId,\n onClick,\n onMouseEnter,\n onMouseLeave,\n onFocus,\n tabIndex,\n title,\n}: Props) => {\n const iconName = cleanIconName(name, type);\n const prefix = getPrefixForType(type);\n\n return (\n \n );\n};\n\nIcon.defaultProps = {\n className: undefined,\n 'data-testid': undefined,\n fixedWidth: false,\n inverse: false,\n rotation: undefined,\n size: undefined,\n spin: false,\n style: undefined,\n type: 'solid',\n onClick: undefined,\n onMouseEnter: undefined,\n onMouseLeave: undefined,\n onFocus: undefined,\n tabIndex: undefined,\n title: undefined,\n};\n\nexport type { IconName };\nexport default Icon;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\n\nimport Icon from 'components/common/Icon';\nimport type { IconName } from 'components/common/Icon';\n\nconst Wrapper = styled.button<{ disabled: boolean }>(({ theme, disabled }) => css`\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: 25px;\n width: 25px;\n border: 0;\n background-color: transparent;\n cursor: pointer;\n color: ${disabled ? theme.colors.gray[90] : theme.colors.gray[60]};\n font-size: ${theme.fonts.size.large};\n\n &:hover {\n background-color: ${theme.colors.gray[80]};\n }\n\n &:active {\n background-color: ${theme.colors.gray[70]};\n }\n`);\n\ntype Props = {\n focusable?: boolean,\n title: string,\n onClick?: () => void,\n className?: string,\n name: IconName,\n disabled?: boolean,\n};\n\nconst handleClick = (onClick) => {\n if (typeof onClick === 'function') {\n onClick();\n }\n};\n\nconst IconButton = ({ title, onClick, focusable, className, disabled, ...rest }: Props) => (\n handleClick(onClick)} className={className} type=\"button\" disabled={disabled}>\n \n \n);\n\nIconButton.propTypes = {\n className: PropTypes.string,\n title: PropTypes.string,\n onClick: PropTypes.func,\n name: PropTypes.string,\n};\n\nIconButton.defaultProps = {\n className: undefined,\n focusable: true,\n onClick: undefined,\n title: undefined,\n name: undefined,\n disabled: false,\n};\n\nexport default IconButton;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\n\nimport useCurrentUser from 'hooks/useCurrentUser';\nimport { isPermitted, isAnyPermitted } from 'util/PermissionsMixin';\n\n/**\n * Wrapper component that renders its children only if the current user fulfills certain permissions.\n * Current user's permissions are fetched from the server.\n */\n\ntype Props = {\n children: React.ReactNode,\n permissions: string | Array,\n anyPermissions?: boolean,\n};\n\nconst _checkPermissions = (permissions, anyPermissions, currentUser) => {\n if (anyPermissions) {\n return isAnyPermitted(currentUser.permissions, permissions);\n }\n\n return isPermitted(currentUser.permissions, permissions);\n};\n\nconst IfPermitted = ({ children, permissions, anyPermissions, ...rest }: Props) => {\n const currentUser = useCurrentUser();\n\n if ((!permissions || permissions.length === 0) || (currentUser && _checkPermissions(permissions, anyPermissions, currentUser))) {\n return (\n <>\n {\n React.Children.map(children, (child) => {\n if (React.isValidElement(child)) {\n const presentProps = (child && child.props) ? Object.keys(child.props) : [];\n // do not overwrite existing props\n const filteredRest = Object.entries(rest)\n .filter((entry) => !presentProps.includes(entry[0]))\n .reduce((obj, [k, v]) => ({ ...obj, [k]: v }), {});\n\n return React.cloneElement(child, filteredRest);\n }\n\n return child;\n })\n }\n \n );\n }\n\n return null;\n};\n\nIfPermitted.propTypes = {\n /** Children to render if user has permissions. */\n children: PropTypes.node.isRequired,\n /** Permissions the current user must fulfill. By default, the user must have all permissions that are passed in this prop. */\n permissions: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.string),\n ]).isRequired,\n /** This flag controls which permissions the user must fulfill: (all, at least one). */\n anyPermissions: PropTypes.bool,\n};\n\nIfPermitted.defaultProps = {\n anyPermissions: false,\n};\n\n/** @component */\nexport default IfPermitted;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\n\nimport { HelpBlock } from 'components/bootstrap';\n\nconst ErrorMessage = styled.span(({ theme }) => css`\n color: ${theme.colors.variant.danger};\n`);\n\nconst HelpMessage = styled.span<{ $hasError: boolean }>(({ theme, $hasError }) => css`\n color: ${$hasError ? theme.colors.gray[50] : 'inherit'};\n`);\n\ntype Props = {\n className?: string,\n error?: React.ReactNode,\n help?: React.ReactNode,\n};\n\n/**\n * Component that renders a help and error message for an input.\n * It always displays both messages.\n */\nconst InputDescription = ({ className, error, help }: Props) => {\n if (!help && !error) {\n return null;\n }\n\n return (\n \n {error && (\n \n {error}\n \n )}\n {(!!error && !!help) &&
}\n {help && (\n \n {help}\n \n )}\n
\n );\n};\n\nInputDescription.propTypes = {\n className: PropTypes.string,\n error: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]),\n help: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]),\n};\n\nInputDescription.defaultProps = {\n className: undefined,\n error: undefined,\n help: undefined,\n};\n\nexport default InputDescription;\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, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Rnd } from 'react-rnd';\nimport styled, { css } from 'styled-components';\nimport debounce from 'lodash/debounce';\n\nimport { Button } from 'components/bootstrap';\nimport Icon from 'components/common/Icon';\n\nconst DEFAULT_SIZE = { width: 450, height: 400 };\nconst halfWidth = Math.ceil((window.innerWidth / 2) - (DEFAULT_SIZE.width / 2));\nconst halfHeight = Math.ceil((window.innerHeight / 2) - (DEFAULT_SIZE.height / 2));\nconst stayOnScreenHeight = halfHeight < 0 ? 55 : halfHeight;\nconst DEFAULT_POSITION = {\n x: halfWidth,\n y: stayOnScreenHeight,\n};\n\nconst InteractableModalWrapper = styled.div`\n position: fixed;\n inset: 0;\n z-index: 1030;\n pointer-events: none;\n`;\n\nconst StyledRnd = styled(Rnd)(({ theme }) => css`\n box-shadow: 0 0 9px ${theme.colors.global.navigationBoxShadow},\n 0 0 6px ${theme.colors.global.navigationBoxShadow},\n 0 0 3px ${theme.colors.global.navigationBoxShadow};\n background-color: ${theme.colors.global.contentBackground};\n border: 1px solid ${theme.colors.variant.lightest.default};\n border-radius: 3px;\n flex-direction: column;\n display: flex !important;\n pointer-events: auto;\n`);\n\nconst Content = styled.div`\n flex: 1;\n padding: 0 15px;\n`;\n\nconst Header = styled.header(({ theme }) => css`\n padding: 6px 12px 9px;\n display: flex;\n align-items: center;\n background-color: ${theme.colors.variant.lightest.default};\n border-bottom: 1px solid ${theme.colors.variant.lighter.default};\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n cursor: move;\n`);\n\nconst Title = styled.h3(({ theme }) => css`\n color: ${theme.colors.global.textDefault};\n flex: 1;\n`);\n\nconst DragBars = styled(Icon)(({ theme }) => css`\n color: ${theme.colors.variant.darker.default};\n margin-right: 9px;\n`);\n\nconst CloseButton = styled(Button)(({ theme }) => css`\n && {\n color: ${theme.colors.variant.light.default};\n \n &:hover {\n color: ${theme.colors.variant.default};\n }\n }\n`);\n\n/**\n * A resizable and draggable modal component\n *\n * Can be controlled or uncontrolled, using [`react-rnd`](https://github.com/bokuweb/react-rnd) under the hood\n */\n\nconst InteractableModal = ({\n children,\n className,\n minHeight,\n minWidth,\n onClose,\n onDrag,\n onResize,\n position,\n size,\n title,\n wrapperClassName,\n}) => {\n const dragHandleRef = useRef(null);\n const [dragHandleClassName, setDragHandleClassName] = useState(null);\n const [dragPosition, setDragPosition] = useState(position);\n const [resizeSize, setResizeSize] = useState(size);\n\n const handleDragStop = (event, { x, y }) => {\n setDragPosition({ x, y });\n onDrag({ x, y });\n };\n\n const handleResizeStop = (event, direction, ref) => {\n const newSize = {\n width: ref.style.width,\n height: ref.style.height,\n };\n let newCoords = { ...dragPosition };\n\n switch (direction) {\n case 'left':\n case 'topLeft':\n case 'top':\n newCoords = {\n x: dragPosition.x - (parseFloat(ref.style.width) - parseFloat(resizeSize.width)),\n y: dragPosition.y - (parseFloat(ref.style.height) - parseFloat(resizeSize.height)),\n };\n\n break;\n\n case 'bottomLeft':\n newCoords = {\n x: dragPosition.x - (parseFloat(ref.style.width) - parseFloat(resizeSize.width)),\n y: dragPosition.y,\n };\n\n break;\n\n case 'topRight':\n newCoords = {\n x: dragPosition.x,\n y: dragPosition.y - (parseFloat(ref.style.height) - parseFloat(resizeSize.height)),\n };\n\n break;\n\n default:\n break;\n }\n\n setResizeSize(newSize);\n onResize(newSize);\n handleDragStop(null, newCoords);\n };\n\n const handleBrowserResize = debounce(() => {\n const { x: currentX, y: currentY } = dragPosition;\n const { width, height } = resizeSize;\n const { innerWidth, innerHeight } = window;\n\n const boundingBox = {\n top: 0,\n bottom: parseFloat(height),\n left: 0,\n right: parseFloat(width),\n };\n\n const newCoords = {};\n const modalXWithNewWidth = innerWidth - boundingBox.right;\n const modalYWithNewHeight = innerHeight - boundingBox.bottom;\n\n newCoords.x = Math.max(Math.min(modalXWithNewWidth, currentX), boundingBox.left);\n newCoords.y = Math.max(Math.min(modalYWithNewHeight, currentY), boundingBox.top);\n\n handleDragStop(null, newCoords);\n }, 150);\n\n useEffect(() => {\n setDragHandleClassName(dragHandleRef.current.classList[0]);\n }, []);\n\n useEffect(() => {\n window.addEventListener('resize', handleBrowserResize, false);\n\n return () => {\n window.removeEventListener('resize', handleBrowserResize);\n };\n }, [dragPosition, handleBrowserResize]);\n\n return (\n \n \n
\n <DragBars name=\"bars\" />{title}\n\n \n \n \n
\n\n \n {children}\n \n
\n
\n );\n};\n\nInteractableModal.propTypes = {\n /** className that will be applied to `react-rnd` */\n className: PropTypes.string,\n /** Content of the InteractableModal modal */\n children: PropTypes.node.isRequired,\n /** Minimum height that modal can be reduced to */\n minHeight: PropTypes.number,\n /** Minimum width that modal can be reduced to */\n minWidth: PropTypes.number,\n /** Function that is called when InteractableModal is closed */\n onClose: PropTypes.func,\n /** Function that is called when InteractableModal has finished being dragged */\n onDrag: PropTypes.func,\n /** Function that is called when InteractableModal has finished being resized */\n onResize: PropTypes.func,\n /** If you want to control InteractableModal you can pass specific position */\n position: PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number,\n }),\n /** If you want to control InteractableModal you can pass specific size */\n size: PropTypes.shape({\n height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n }),\n /** Title that appears at the top of the window */\n title: PropTypes.string,\n /** Used to style wrapping component */\n wrapperClassName: PropTypes.string,\n};\n\nInteractableModal.defaultProps = {\n className: undefined,\n minHeight: DEFAULT_SIZE.height,\n minWidth: DEFAULT_SIZE.width,\n onClose: () => {},\n onDrag: () => {},\n onResize: () => {},\n position: DEFAULT_POSITION,\n size: DEFAULT_SIZE,\n title: '',\n wrapperClassName: undefined,\n};\n\nexport default InteractableModal;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\n\nimport { Alert } from 'components/bootstrap';\nimport Spinner from 'components/common/Spinner';\n\nimport Delayed from './Delayed';\n\nconst Container = styled.div(({ theme }) => css`\n background-color: ${theme.colors.global.contentBackground};\n position: fixed;\n min-width: 200px;\n top: 60px;\n left: 50%;\n transform: translateX(-50%);\n box-shadow: 0 2px 10px rgb(0 0 0 / 20%);\n z-index: 2000;\n`);\n\nconst StyledAlert = styled(Alert)`\n margin: 0;\n height: 32px;\n padding: 5px 20px;\n text-align: center;\n`;\n\ntype Props = {\n text: string,\n};\n\n/**\n * Component that displays a loading indicator in the page. It uses a CSS fixed position to always appear\n * on the screen.\n *\n * Use this component when you want to load something in the background, but still provide some feedback that\n * an action is happening.\n */\nconst LoadingIndicator = ({ text }: Props) => (\n \n \n \n \n \n \n \n);\n\nLoadingIndicator.propTypes = {\n /** Text to display while the indicator is shown. */\n text: PropTypes.string,\n};\n\nLoadingIndicator.defaultProps = {\n text: 'Loading...',\n};\n\nexport default LoadingIndicator;\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 } from 'react';\nimport { marked } from 'marked';\nimport DOMPurify from 'dompurify';\n\ntype Props = {\n text: string,\n}\n\nconst Markdown = ({ text }: Props) => {\n const markdown = useMemo(() => DOMPurify.sanitize(marked(text ?? '')), [text]);\n\n // eslint-disable-next-line react/no-danger\n return
;\n};\n\nexport default Markdown;\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 styled from 'styled-components';\nimport type { SyntheticEvent } from 'react';\n\nimport Button from 'components/bootstrap/Button';\nimport ButtonToolbar from 'components/bootstrap/ButtonToolbar';\nimport type { IconName } from 'components/common/Icon';\nimport Icon from 'components/common/Icon';\nimport Spinner from 'components/common/Spinner';\n\nconst StyledButtonToolbar = styled(ButtonToolbar)`\n display: flex;\n justify-content: flex-end;\n align-items: end;\n`;\n\ntype WithCancelProps = {\n displayCancel: true,\n disabledCancel?: boolean,\n onCancel: () => void,\n}\n\ntype WithoutCancelProps = {\n displayCancel: false\n}\n\ntype WithAsyncSubmit = {\n isAsyncSubmit: true,\n submitLoadingText: string,\n isSubmitting: boolean,\n}\n\ntype WithSyncSubmit = {\n isAsyncSubmit: false,\n}\n\ntype Props = {\n bsSize?: 'large' | 'small' | 'xsmall',\n className?: string,\n disabledSubmit?: boolean,\n displayCancel?: boolean,\n formId?: string,\n isAsyncSubmit?: boolean,\n isSubmitting?: boolean,\n leftCol?: React.ReactNode,\n onSubmit?: (event?: SyntheticEvent) => void,\n submitButtonText: string|React.ReactNode,\n submitButtonType?: 'submit' | 'button',\n submitIcon?: IconName,\n} & (WithCancelProps | WithoutCancelProps) & (WithAsyncSubmit | WithSyncSubmit);\n\nconst ModalSubmit = (props: Props) => {\n const {\n isAsyncSubmit,\n bsSize,\n className,\n displayCancel,\n disabledSubmit,\n formId,\n leftCol,\n onSubmit,\n submitButtonText,\n submitButtonType,\n submitIcon,\n } = props;\n\n return (\n \n {leftCol}\n {displayCancel && (\n \n )}\n \n \n );\n};\n\nModalSubmit.defaultProps = {\n bsSize: undefined,\n className: undefined,\n disabledSubmit: false,\n displayCancel: true,\n isAsyncSubmit: false,\n formId: undefined,\n isSubmitting: false,\n leftCol: undefined,\n onSubmit: undefined,\n submitButtonType: 'submit',\n submitIcon: undefined,\n};\n\nexport default ModalSubmit;\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';\n\nimport Select from 'components/common/Select';\n\ntype Props = React.ComponentProps;\n\n/**\n * Component that wraps and render a `Select` where multiple options can be selected. It passes all\n * props to the underlying `Select` component, so please look there to find more information about them.\n */\nclass MultiSelect extends React.Component {\n static propTypes = Select.propTypes;\n\n _select = undefined;\n\n getValue = () => this._select.getValue();\n\n render() {\n return \n \n );\n\n return (\n \n {label && {label}}\n \n \n {(!required && !hideCheckbox) && checkbox}\n \n o.value === unit)[0].label}\n disabled={!this._isChecked()}>\n {options}\n \n \n {help && {help}}\n \n \n );\n },\n});\n\nexport default TimeUnitInput;\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 * as React from 'react';\nimport type { Moment } from 'moment';\n\nimport type { DateTimeFormats } from 'util/DateTime';\nimport useUserDateTime from 'hooks/useUserDateTime';\nimport { adjustFormat } from 'util/DateTime';\n\ntype Props = {\n dateTime?: string | number | Date | Moment,\n field?: string,\n format?: DateTimeFormats,\n render?: React.ComponentType<{ value: string, field: string | undefined }>,\n tz?: string,\n className?: string,\n}\n\n/**\n * Component that renders a given date time based on the user time zone in a `time` HTML element.\n * It is capable of render date times in different formats, accepting ISO 8601\n * strings, JS native Date objects, and Moment.js Date objects. On hover the component displays the time in UTC.\n *\n * While the component is using the user time zone by default, it is also possible\n * to change the time zone for the given date, something that helps, for instance, to display a local time\n * from a UTC time that was used in the server.\n *\n */\nconst Timestamp = ({ dateTime: dateTimeProp, field, format, render: Component, tz, className }: Props) => {\n const { formatTime: formatWithUserTz } = useUserDateTime();\n const dateTime = dateTimeProp ?? new Date();\n const formattedDateTime = tz ? adjustFormat(dateTime, format, tz) : formatWithUserTz(dateTime, format);\n const dateTimeString = adjustFormat(dateTime, 'internal');\n\n return (\n \n );\n};\n\nTimestamp.propTypes = {\n /**\n * Date time to be displayed in the component. You can provide an ISO\n * 8601 string, a JS native `Date` object, a moment `Date` object, or\n * a number containing seconds after UNIX epoch.\n */\n dateTime: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.number]),\n /**\n * Format to represent the date time.\n */\n format: PropTypes.string,\n /** Provides field prop for the render function. */\n field: PropTypes.string,\n /**\n * Specifies the time zone to convert `dateTime` to.\n * If not defined the user zone will be used.\n */\n tz: PropTypes.string,\n /**\n * Override render default function to add a decorator.\n */\n render: PropTypes.func,\n};\n\nTimestamp.defaultProps = {\n dateTime: undefined,\n field: undefined,\n format: 'default',\n render: ({ value }) => value,\n tz: undefined,\n className: undefined,\n};\n\nexport default Timestamp;\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 isEqual from 'lodash/isEqual';\n\nimport { Button } from 'components/bootstrap';\nimport TypeAheadInput from 'components/common/TypeAheadInput';\n\n/**\n * Component that renders a data filter input with suggestion capabilities.\n * This component was thought to be able to filter a list of items by one\n * of their attributes, but also on tags, providing auto-completion for them.\n *\n * **Note** There are a few quirks around this component and it will be\n * refactored soon.\n */\nclass TypeAheadDataFilter extends React.Component {\n static propTypes = {\n /** ID to use in the filter input field. */\n id: PropTypes.string,\n /**\n * Array of objects to be filtered. Each object must contain at least\n * the keys to be filtered, specified in the `searchInKeys` prop.\n */\n data: PropTypes.array,\n /** Object key to use to display items in the suggestions. */\n displayKey: PropTypes.string,\n /**\n * Object key being used to provide suggestions.\n *\n * **Warning** The key in the data objects is expected to be plural,\n * but here you must give the singular form.\n */\n filterBy: PropTypes.string,\n /**\n * Function to override the default filtering algorithm.\n * @deprecated We never used the function and it seems to be broken,\n * as it cannot filter data if it doesn't received the text introduced\n * in the filter field.\n */\n filterData: PropTypes.func,\n /**\n * Object key where the auto-completion suggestions are stored. Use this\n * if passing an array of objects to `filterSuggestions`.\n */\n filterSuggestionAccessor: PropTypes.string,\n /**\n * Array of strings or objects containing available suggestions to auto\n * complete. If an array of objects is given to this prop, please ensure\n * the `filterSuggestionAccessor` prop specifies which key contains the\n * suggestions.\n */\n filterSuggestions: PropTypes.array,\n /** Label to use for the filter input field. */\n label: PropTypes.string,\n /**\n * Function that will be called when the user changes the filter.\n * The function receives an array of data that matches the filter\n * and filter input value.\n */\n onDataFiltered: PropTypes.func,\n /**\n * Specifies an array of strings containing each key of the data objects\n * that should be compared against the text introduced in the filter\n * input field.\n */\n searchInKeys: PropTypes.array,\n };\n\n static defaultProps = {\n id: '',\n data: [],\n displayKey: '',\n filterBy: '',\n filterData: undefined,\n filterSuggestionAccessor: '',\n filterSuggestions: [],\n label: '',\n onDataFiltered: undefined,\n searchInKeys: [],\n };\n\n constructor(props) {\n super(props);\n const { filterBy } = this.props;\n\n this.state = {\n filterText: '',\n filters: Immutable.OrderedSet(),\n filterByKey: `${filterBy}s`,\n };\n }\n\n componentDidUpdate(prevProps) {\n const { data } = this.props;\n\n if (!isEqual(prevProps.data, data)) {\n this.filterData();\n }\n }\n\n _onSearchTextChanged = (event) => {\n event.preventDefault();\n event.stopPropagation();\n this.setState({ filterText: this.typeAheadInput.getValue() }, this.filterData);\n };\n\n _onFilterAdded = (event, suggestion) => {\n const { filters } = this.state;\n const { displayKey } = this.props;\n\n this.setState({\n filters: filters.add(suggestion[displayKey]),\n filterText: '',\n }, this.filterData);\n\n this.typeAheadInput.clear();\n };\n\n _onFilterRemoved = (event) => {\n const { filters } = this.state;\n\n event.preventDefault();\n this.setState({ filters: filters.delete(event.target.getAttribute('data-target')) }, this.filterData);\n };\n\n _matchFilters = (datum) => {\n const { filters, filterByKey } = this.state;\n const { filterSuggestionAccessor } = this.props;\n\n return filters.every((filter) => {\n let dataToFilter = datum[filterByKey];\n\n if (filterSuggestionAccessor) {\n dataToFilter = dataToFilter.map((data) => data[filterSuggestionAccessor].toLocaleLowerCase());\n } else {\n dataToFilter = dataToFilter.map((data) => data.toLocaleLowerCase());\n }\n\n return dataToFilter.indexOf(filter.toLocaleLowerCase()) !== -1;\n }, this);\n };\n\n _matchStringSearch = (datum) => {\n const { filterText } = this.state;\n const { searchInKeys } = this.props;\n\n return searchInKeys.some((searchInKey) => {\n const key = datum[searchInKey];\n const value = filterText;\n\n if (key === null) {\n return false;\n }\n\n const containsFilter = (entry, thisValue) => {\n if (typeof entry === 'undefined') {\n return false;\n }\n\n return entry.toLocaleLowerCase().indexOf(thisValue.toLocaleLowerCase()) !== -1;\n };\n\n if (typeof key === 'object') {\n return key.some((arrayEntry) => containsFilter(arrayEntry, value));\n }\n\n return containsFilter(key, value);\n }, this);\n };\n\n _resetFilters = () => {\n this.typeAheadInput.clear();\n this.setState({ filterText: '', filters: Immutable.OrderedSet() }, this.filterData);\n };\n\n filterData = () => {\n const { filterData, data, onDataFiltered } = this.props;\n const { filterText } = this.state;\n\n if (typeof filterData === 'function') {\n return filterData(data);\n }\n\n const filteredData = data.filter((datum) => this._matchFilters(datum) && this._matchStringSearch(datum), this);\n\n onDataFiltered(filteredData, filterText);\n\n return true;\n };\n\n render() {\n const { filters, filterText } = this.state;\n const { id, label, displayKey, filterBy, filterSuggestionAccessor, filterSuggestions } = this.props;\n const filtersContent = filters.map((filter) => (\n
  • \n \n {filterBy}: {filter}\n
  • \n ));\n\n let suggestions;\n\n if (filterSuggestionAccessor) {\n suggestions = filterSuggestions.map((filterSuggestion) => filterSuggestion[filterSuggestionAccessor].toLocaleLowerCase());\n } else {\n suggestions = filterSuggestions.map((filterSuggestion) => filterSuggestion.toLocaleLowerCase());\n }\n\n suggestions.filter((filterSuggestion) => !filters.includes(filterSuggestion));\n\n return (\n
    \n
    \n { this.typeAheadInput = typeAheadInput; }}\n onSuggestionSelected={this._onFilterAdded}\n formGroupClassName=\"\"\n suggestionText={`Filter by ${filterBy}: `}\n suggestions={suggestions}\n label={label}\n displayKey={displayKey} />\n \n \n \n
      \n {filtersContent}\n
    \n
    \n );\n }\n}\n\nexport default TypeAheadDataFilter;\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 ReactDOM from 'react-dom';\nimport escape from 'lodash/escape';\nimport $ from 'jquery';\nimport 'typeahead.js';\nimport styled from 'styled-components';\n\nimport UniversalSearch from 'logic/search/UniversalSearch';\nimport { Input } from 'components/bootstrap';\n\nconst StyledInput = styled(Input)`\n input&.tt-hint {\n background-color: transparent !important;\n }\n`;\n\n/**\n * Component that renders a field input with auto-completion capabilities.\n *\n * **Note** There are a few quirks around this component and it will be\n * refactored soon.\n */\nclass TypeAheadInput extends React.Component {\n static propTypes = {\n /** ID to use in the input field. */\n id: PropTypes.string.isRequired,\n /** Label to use for the input field. */\n label: PropTypes.string.isRequired,\n /**\n * Function that will be called when a new key is pressed in the\n * input field. The function will be called with the event generated\n * by react for that input.\n */\n onKeyPress: PropTypes.func,\n /** Object key where to store auto-completion result. */\n displayKey: PropTypes.string,\n /** String that allows overriding the input form group */\n formGroupClassName: PropTypes.string,\n /**\n * Array of strings providing auto-completion.\n * E.g. `[ \"some string\", \"otherstring\" ]`\n */\n suggestions: PropTypes.array,\n /** Text to display next to the auto-completion suggestion. */\n suggestionText: PropTypes.string,\n /**\n * Function that will be called once typeahead is loaded and ready\n * to operate. The function will be called with no arguments.\n */\n onTypeaheadLoaded: PropTypes.func,\n /**\n * Function that will be called when a suggestion is selected. The\n * function will receive the typeahead event as first argument, and\n * the selected suggestion as second argument. The selected suggestion\n * will be returned in an object, as a value for the `displayKey` key,\n * e.g. `{ suggestion: 'Foo' }`.\n *\n * For more information on typeahead events, see:\n * https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#custom-events\n *\n */\n onSuggestionSelected: PropTypes.func,\n };\n\n static defaultProps = {\n displayKey: 'suggestion',\n formGroupClassName: undefined,\n onKeyPress: () => {},\n onTypeaheadLoaded: () => {},\n onSuggestionSelected: () => {},\n suggestions: [],\n suggestionText: undefined,\n };\n\n componentDidMount() {\n const { suggestions, displayKey, suggestionText, onTypeaheadLoaded, onSuggestionSelected } = this.props;\n\n this._updateTypeahead({ suggestions, displayKey, suggestionText, onTypeaheadLoaded, onSuggestionSelected });\n }\n\n UNSAFE_componentWillReceiveProps(newProps) {\n this._destroyTypeahead();\n this._updateTypeahead(newProps);\n }\n\n componentWillUnmount() {\n this._destroyTypeahead();\n }\n\n getValue = () => $(this.fieldInput).typeahead('val');\n\n clear = () => {\n $(this.fieldInput).typeahead('val', '');\n };\n\n _destroyTypeahead = () => {\n $(this.fieldInput).typeahead('destroy');\n $(this.fieldFormGroup).off('typeahead:select typeahead:autocomplete');\n };\n\n _updateTypeahead = ({ suggestions, displayKey, suggestionText, onTypeaheadLoaded, onSuggestionSelected }) => {\n this.fieldInput = this.fieldInputElem.getInputDOMNode();\n // eslint-disable-next-line react/no-find-dom-node\n this.fieldFormGroup = ReactDOM.findDOMNode(this.fieldInputElem);\n\n const $fieldInput = $(this.fieldInput);\n\n $fieldInput.typeahead({\n hint: true,\n highlight: true,\n minLength: 1,\n },\n {\n name: 'dataset-name',\n displayKey: displayKey,\n source: UniversalSearch.substringMatcher(suggestions, displayKey, 6),\n templates: {\n suggestion: (value) => {\n // Escape all text here that may be user-generated, since this is not automatically escaped by React.\n if (suggestionText) {\n return `
    ${escape(suggestionText)} ${escape(value[displayKey])}
    `;\n }\n\n return `
    ${escape(value[displayKey])}
    `;\n },\n },\n });\n\n if (typeof onTypeaheadLoaded === 'function') {\n onTypeaheadLoaded();\n $fieldInput.typeahead('close');\n }\n\n $(this.fieldFormGroup).on('typeahead:select typeahead:autocomplete', (event, suggestion) => {\n if (onSuggestionSelected) {\n onSuggestionSelected(event, suggestion);\n }\n });\n };\n\n render() {\n const { id, label, onKeyPress, formGroupClassName } = this.props;\n\n return (\n { this.fieldInputElem = fieldInput; }}\n wrapperClassName=\"typeahead-wrapper\"\n formGroupClassName={formGroupClassName}\n label={label}\n onKeyPress={onKeyPress} />\n );\n }\n}\n\nexport default TypeAheadInput;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport find from 'lodash/find';\nimport styled, { css } from 'styled-components';\n\nimport { Button, ButtonToolbar, Col, Nav, NavItem, Row } from 'components/bootstrap';\n\nimport Icon from './Icon';\n\nconst SubnavigationCol = styled(Col)(({ theme }) => css`\n border-right: ${theme.colors.gray[80]} solid 1px;\n`);\n\nconst HorizontalCol = styled(Col)`\n margin-bottom: 15px;\n`;\n\nconst StyledNav = styled(Nav)(({ theme }) => css`\n &.nav {\n > li {\n border: 1px solid ${theme.colors.variant.lighter.default};\n border-left: 0;\n\n &:first-child {\n border-left: 1px solid ${theme.colors.variant.lighter.default};\n border-radius: 4px 0 0 4px;\n\n > a {\n border-radius: 4px 0 0 4px;\n }\n }\n\n &:last-child {\n border-radius: 0 4px 4px 0;\n\n > a {\n border-radius: 0 4px 4px 0;\n }\n }\n\n &:not(:last-child) > a {\n &::after {\n transition: background-color 150ms ease-in-out;\n background-color: ${theme.colors.global.contentBackground};\n border-color: ${theme.colors.variant.lighter.default};\n border-style: solid;\n border-width: 0 1px 1px 0;\n content: '';\n display: block;\n height: 15px;\n position: absolute;\n right: -1px;\n top: 50%;\n transform: translateY(-50%) translateX(50%) rotate(-45deg);\n width: 15px;\n z-index: 2;\n }\n\n &:hover::after {\n background-color: ${theme.colors.variant.lightest.default};\n }\n }\n\n &.active a {\n &,\n &:hover,\n &::after,\n &:hover::after {\n background-color: ${theme.colors.global.link};\n }\n }\n\n > a {\n border-radius: 0;\n }\n }\n }\n\n @media (max-width: ${theme.breakpoints.max.md}) {\n &.nav {\n > li {\n border-right: 0;\n border-left: 0;\n\n &:last-child a,\n &:first-child a {\n border-radius: 0;\n }\n\n &:not(:last-child) {\n border-bottom: 0;\n }\n\n &:not(:last-child) > a {\n &::after {\n bottom: 0;\n left: 50%;\n top: auto;\n width: 10px;\n height: 10px;\n transform: translateY(50%) translateX(-50%) rotate(45deg);\n }\n }\n }\n\n &.nav-justified > li > a {\n margin-bottom: 0;\n }\n }\n }\n`);\n\nconst HorizontalButtonToolbar = styled(ButtonToolbar)`\n padding: 7px;\n`;\n\nconst isValidActiveStep = (activeStep: StepKey | null | undefined, steps: Steps) => {\n if (activeStep === undefined || activeStep === null) {\n return false;\n }\n\n return find(steps, { key: activeStep });\n};\n\nconst warnOnInvalidActiveStep = (activeStep: StepKey | null | undefined, steps: Steps) => {\n if (activeStep === undefined || activeStep === null) {\n return;\n }\n\n if (!isValidActiveStep(activeStep, steps)) {\n // eslint-disable-next-line no-console\n console.warn(`activeStep ${activeStep} is not a key in any element of the 'steps' prop!`);\n }\n};\n\nexport type StepKey = number | string;\n\nexport type Step = {\n key: StepKey,\n title: React.ReactElement,\n component: React.ReactElement,\n disabled?: boolean,\n};\n\nexport type Steps = Array;\ntype Props = {\n steps: Steps,\n activeStep: StepKey | null | undefined,\n onStepChange: (StepKey) => void,\n children: React.ReactNode,\n horizontal: boolean,\n justified: boolean,\n containerClassName: string,\n hidePreviousNextButtons: boolean,\n};\n\ntype State = {\n selectedStep: StepKey,\n};\n\n/**\n * Component that renders a wizard, letting the consumers of the component\n * manage the state. It will render at least two columns: First column will hold\n * the steps the wizard will take. Second column will render the component of the\n * selected step. In a optional third column the consumer can render a preview.\n */\nclass Wizard extends React.Component {\n static propTypes = {\n /**\n * Array of objects which will describe the wizard. The object must\n * contain a unique 'key' attribute, a 'title' which will be shown as step link on the left side and\n * a 'component' attribute which will hold the component which is to render for the step.\n */\n steps: PropTypes.arrayOf(PropTypes.object).isRequired,\n /**\n * Indicates the active step that should be rendered, in case the step state is stored outside this\n * component, and it is being used in a controlled way.\n * The prop **must** take the value of one of the keys in `steps`, otherwise a warning is logged in the console.\n */\n activeStep: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n /**\n * Callback which is called when the user changes the step. As an argument the callback gets the key\n * of the next step.\n */\n onStepChange: PropTypes.func,\n /** Optional component which can be rendered on the right side e.g a preview */\n children: PropTypes.element,\n /** Indicates if wizard should be rendered in horizontal or vertical */\n horizontal: PropTypes.bool,\n /** Indicates if wizard should take the full width of their parent */\n justified: PropTypes.bool,\n /** Customize the container CSS class used by this component */\n containerClassName: PropTypes.string,\n /** Indicates if wizard should render next/previous buttons or not */\n hidePreviousNextButtons: PropTypes.bool,\n };\n\n static defaultProps = {\n children: undefined,\n activeStep: undefined,\n onStepChange: () => {},\n horizontal: false,\n justified: false,\n containerClassName: 'content',\n hidePreviousNextButtons: false,\n };\n\n constructor(props: Props) {\n super(props);\n\n warnOnInvalidActiveStep(props.activeStep, props.steps);\n\n this.state = {\n selectedStep: props.steps[0].key,\n };\n }\n\n componentDidUpdate() {\n const { activeStep, steps } = this.props;\n\n warnOnInvalidActiveStep(activeStep, steps);\n }\n\n _getSelectedStep = () => {\n const { activeStep, steps } = this.props;\n const { selectedStep } = this.state;\n\n return (isValidActiveStep(activeStep, steps) ? activeStep : selectedStep);\n };\n\n _wizardChanged = (eventKey: StepKey) => {\n const { activeStep, onStepChange } = this.props;\n\n onStepChange(eventKey);\n\n // If activeStep is given, component should behave in a controlled way and let consumer decide which step to render.\n if (!activeStep) {\n this.setState({ selectedStep: eventKey });\n }\n };\n\n _disableButton = (direction: 'previous' | 'next') => {\n const { steps } = this.props;\n const selectedStep = this._getSelectedStep();\n const len = steps.length;\n const disabledPosition = direction === 'next' ? (len - 1) : 0;\n const currentPosition = steps.findIndex((step) => step.key === this._getSelectedStep());\n const otherPosition = direction === 'next' ? (currentPosition + 1) : (currentPosition - 1);\n const otherStep = (steps[otherPosition]);\n\n return steps[disabledPosition].key === selectedStep || otherStep?.disabled;\n };\n\n _onNext = () => {\n const { steps } = this.props;\n\n this._wizardChanged(steps[this._getSelectedIndex() + 1].key);\n };\n\n _onPrevious = () => {\n const { steps } = this.props;\n\n this._wizardChanged(steps[this._getSelectedIndex() - 1].key);\n };\n\n _getSelectedIndex = () => {\n const { steps } = this.props;\n const selectedStep = this._getSelectedStep();\n\n return steps.map((step) => step.key).indexOf(selectedStep);\n };\n\n _renderVerticalStepNav = () => {\n const { justified, steps, hidePreviousNextButtons } = this.props;\n const selectedStep = this._getSelectedStep();\n\n return (\n \n \n {!hidePreviousNextButtons && (\n <>\n
    \n \n \n \n \n \n \n \n \n \n )}\n
    \n );\n };\n\n _renderHorizontalStepNav = () => {\n const selectedStep = this._getSelectedStep();\n const { justified, steps, hidePreviousNextButtons } = this.props;\n\n return (\n \n {!hidePreviousNextButtons && (\n
    \n \n \n \n \n
    \n )}\n \n {steps.map((navItem) => (\n {navItem.title}))}\n \n
    \n );\n };\n\n render() {\n const { steps, horizontal, containerClassName, children } = this.props;\n let leftComponentCols;\n\n if (children) {\n leftComponentCols = 7;\n } else {\n leftComponentCols = horizontal ? 12 : 10;\n }\n\n const rightComponentCols = horizontal ? 5 : 3; // If horizontal, use more space for this component\n\n return (\n \n {horizontal ? this._renderHorizontalStepNav() : this._renderVerticalStepNav()}\n \n {steps[this._getSelectedIndex()].component}\n \n {children && (\n \n {children}\n \n )}\n \n );\n }\n}\n\nexport default Wizard;\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 { DefaultTheme } from 'styled-components';\nimport styled, { css } from 'styled-components';\n\nexport interface CarouselSlideProps extends React.ComponentPropsWithoutRef<'div'> {\n children?: React.ReactNode;\n\n size?: string | number;\n\n gap?: number;\n}\n\nconst StyledSlide = styled.div<{ $size?: string | number, $gap?: number }>(({ $size, $gap, theme }: {\n theme: DefaultTheme,\n $size: string | number,\n $gap: number\n}) => css`\n flex: 0 0 ${$size ?? '24%'};\n min-width: 0;\n min-height: 100px;\n margin-right: ${$gap ?? theme.spacings.sm};\n position: relative;\n`);\n\nconst CarouselSlide = ({ children, size, gap }: CarouselSlideProps) => (\n \n {children}\n \n);\n\nCarouselSlide.defaultProps = {\n children: undefined,\n size: undefined,\n gap: undefined,\n};\n\nexport default CarouselSlide;\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 from 'styled-components';\nimport useEmblaCarousel from 'embla-carousel-react';\n\nimport CarouselSlide from 'components/common/carousel/CarouselSlide';\n\ntype Props = {\n children: React.ReactNode,\n};\n\nconst StyledDiv = styled.div`\n &.carousel {\n overflow: hidden;\n\n .carousel-container {\n backface-visibility: hidden;\n display: flex;\n flex-direction: row;\n height: auto;\n }\n }\n`;\n\nconst Carousel = ({ children }: Props) => {\n const [emblaRef] = useEmblaCarousel({ containScroll: 'trimSnaps' });\n\n return (\n \n
    \n {children}\n
    \n
    \n );\n};\n\nCarousel.Slide = CarouselSlide;\nexport default Carousel;\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';\nimport styled from 'styled-components';\n\nimport { PanelGroup } from 'components/bootstrap/imports';\n\ntype Props = {\n activeKey?: string,\n children: React.ReactNode,\n defaultActiveKey?: string,\n id: string,\n onSelect?: (nextKey: string) => void,\n}\n\nconst StyledPanelGroup = styled(PanelGroup)`\n margin-bottom: 0;\n`;\n\nconst Accordion = ({ activeKey, children, id, onSelect, ...restProps }:Props) => {\n const cleanActiveKey = activeKey?.replace(/[^0-9a-zA-Z-]/g, '-').toLowerCase();\n\n return (\n \n {children}\n \n );\n};\n\nAccordion.propTypes = {\n activeKey: PropTypes.string,\n children: PropTypes.node.isRequired,\n id: PropTypes.string.isRequired,\n onSelect: PropTypes.func,\n};\n\nAccordion.defaultProps = {\n activeKey: undefined,\n defaultActiveKey: undefined,\n onSelect: () => {},\n};\n\nexport default Accordion;\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 styled, { css } from 'styled-components';\n\nimport Panel from '../bootstrap/Panel';\n\ntype Props = {\n children: React.ReactNode,\n name: string,\n id?: string,\n}\n\nconst StyledPanel = styled(Panel)`\n border: 0;\n border-radius: 0;\n box-shadow: none;\n`;\n\nconst PanelHeading = styled(Panel.Heading)(({ theme }) => css`\n && {\n padding: 0;\n border-radius: 0;\n background-color: ${theme.colors.variant.lightest.default};\n }\n`);\n\nconst PanelTitle = styled(Panel.Title)(({ theme }) => css`\n font-size: ${theme.fonts.size.small};\n color: ${theme.colors.global.link};\n \n > a {\n padding: 3px 9px;\n display: block;\n }\n`);\n\nconst PanelBody = styled(Panel.Body)(({ theme }) => css`\n ${StyledPanel} > ${PanelHeading} + .panel-collapse > & {\n background-color: ${theme.colors.global.contentBackground};\n border-top-color: ${theme.colors.variant.lighter.default};\n border-bottom-width: 0;\n color: ${theme.colors.variant.darkest.default};\n }\n`);\n\nconst AccordionItem = ({ children, name, id, ...restProps }: Props) => {\n const eventKey = id ?? name.replace(/[^0-9a-zA-Z]/g, '-').toLowerCase();\n\n return (\n \n \n \n {name}\n \n \n \n \n {children}\n \n \n \n );\n};\n\nAccordionItem.propTypes = {\n name: PropTypes.node.isRequired,\n id: PropTypes.string,\n children: PropTypes.node.isRequired,\n};\n\nAccordionItem.defaultProps = {\n id: undefined,\n};\n\nexport default AccordionItem;\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 { Field } from 'formik';\nimport styled from 'styled-components';\n\nimport { Select } from 'components/common';\n\nconst StyledLabel = styled.label`\n font-weight: bold;\n margin-bottom: 5px;\n display: inline-block;\n font-size: 14px;\n background: none;\n`;\n\nconst HelpText = styled.span`\n color: ${(props: any) => props.theme.colors.gray['50']};\n`;\n\nexport type AutocompleteOption = {\n value: string | number,\n label: string\n};\n\ntype autocompleteProps = {\n fieldName: string,\n label: string,\n clearable?: boolean,\n required?: boolean,\n helpText?: string,\n options?: AutocompleteOption[],\n};\n\nconst Autocomplete = ({\n fieldName,\n label,\n clearable,\n required,\n helpText,\n options,\n}: autocompleteProps) => (\n \n {({ field: { name, value, onChange } }) => (\n <>\n {label}\n ) => void,\n labelClassName?: string,\n wrapperClassName?: string,\n formGroupClassName?: string,\n type?: string,\n error?: React.ReactElement | string,\n placeholder?: string\n help?: React.ReactElement | string,\n minLength?: number,\n maxLength?: number,\n required?: boolean,\n bsSize?: 'large' | 'small' | 'xsmall',\n validate?: (arg: any) => string | undefined,\n rows?: number,\n autoFocus?: boolean,\n};\n\n/** Displays the FormikInput with a specific layout */\nconst FormikFormGroup = ({ labelClassName, wrapperClassName, label, name, onChange, ...rest }: Props) => (\n \n);\n\nFormikFormGroup.defaultProps = {\n autoComplete: undefined,\n bsSize: undefined,\n buttonAfter: undefined,\n children: null,\n disabled: false,\n onChange: undefined,\n labelClassName: 'col-sm-3',\n wrapperClassName: 'col-sm-9',\n formGroupClassName: undefined,\n type: undefined,\n error: undefined,\n placeholder: undefined,\n help: undefined,\n minLength: undefined,\n maxLength: undefined,\n required: false,\n validate: () => undefined,\n rows: undefined,\n autoFocus: false,\n};\n\nexport default FormikFormGroup;\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 from 'styled-components';\n\nimport ButtonToolbar from 'components/bootstrap/ButtonToolbar';\nimport Button from 'components/bootstrap/Button';\nimport type { IconName } from 'components/common/Icon';\nimport Icon from 'components/common/Icon';\nimport Spinner from 'components/common/Spinner';\n\nconst StyledIcon = styled(Icon)`\n margin-right: 0.2em;\n`;\n\ntype WithCancelProps = {\n displayCancel: true,\n disabledCancel?: boolean,\n onCancel: () => void,\n}\n\ntype WithoutCancelProps = {\n displayCancel: false\n}\n\ntype WithAsyncSubmit = {\n isAsyncSubmit: true,\n submitLoadingText: string,\n isSubmitting: boolean,\n}\n\ntype WithSyncSubmit = {\n isAsyncSubmit: false,\n}\n\ntype Props = {\n bsSize?: 'large' | 'small' | 'xsmall',\n centerCol?: React.ReactNode,\n className?: string,\n disabledSubmit?: boolean,\n displayCancel?: boolean,\n formId?: string,\n isAsyncSubmit?: boolean,\n onSubmit?: () => void,\n submitButtonText: string,\n submitButtonType?: 'submit' | 'button',\n submitIcon?: IconName,\n} & (WithCancelProps | WithoutCancelProps) & (WithAsyncSubmit | WithSyncSubmit);\n\nconst FormSubmit = (props: Props) => {\n const {\n bsSize,\n className,\n centerCol,\n displayCancel,\n disabledSubmit,\n formId,\n isAsyncSubmit,\n onSubmit,\n submitButtonText,\n submitButtonType,\n submitIcon,\n } = props;\n\n return (\n \n \n {centerCol}\n {displayCancel === true && (\n \n )}\n \n );\n};\n\nFormSubmit.defaultProps = {\n bsSize: undefined,\n centerCol: undefined,\n className: undefined,\n disabledSubmit: false,\n displayCancel: true,\n formId: undefined,\n isAsyncSubmit: false,\n onSubmit: undefined,\n submitButtonType: 'submit',\n submitIcon: undefined,\n};\n\nexport default FormSubmit;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { createGRN } from 'logic/permissions/GRN';\nimport useCurrentUser from 'hooks/useCurrentUser';\n\ntype ChildFun = (props: { disabled: boolean }) => React.ReactElement;\n\ntype Props = {\n children: React.ReactNode | ChildFun,\n id: string,\n type: string,\n hideChildren: boolean,\n};\n\nconst HasOwnership = ({ children, id, type, hideChildren }: Props) => {\n const currentUser = useCurrentUser();\n const entity = createGRN(type, id);\n const ownership = `entity:own:${entity}`;\n const adminPermission = '*';\n\n if (currentUser) {\n const { grnPermissions = [], permissions } = currentUser;\n const isAdmin = permissions.includes(adminPermission);\n\n if (grnPermissions.includes(ownership) || isAdmin) {\n if (!hideChildren && typeof children === 'function') {\n return <>{children({ disabled: false })} ;\n }\n\n return <>children;\n }\n }\n\n if (!hideChildren && typeof children === 'function') {\n return <>{children({ disabled: true })} ;\n }\n\n return null;\n};\n\nHasOwnership.propTypes = {\n /** Children to render if user has ownership of the entity */\n children: PropTypes.oneOfType([\n PropTypes.node,\n PropTypes.func,\n ]).isRequired,\n /** The id string which shows entity */\n id: PropTypes.string,\n /** The type of the entity e.g dashboard, stream */\n type: PropTypes.string.isRequired,\n /** Will add disabled=true as a prop to the child in stead of not rendering it */\n hideChildren: PropTypes.bool,\n};\n\nHasOwnership.defaultProps = {\n hideChildren: false,\n id: undefined,\n};\n\nexport default HasOwnership;\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 { Input } from 'components/bootstrap';\nimport * as ISODurationUtils from 'util/ISODurationUtils';\n\n/**\n * Displays an `Input` component for ISO8601 durations.\n */\ntype Props = {\n id: string,\n duration: string,\n update: (newDuration: string) => void,\n label: string,\n help: string,\n validator?: (newDuration: number) => boolean,\n errorText?: string,\n autoFocus?: boolean,\n required?: boolean,\n disabled?: boolean,\n}\ntype State = {\n duration: string,\n}\n\ninterface DurationInput {\n getValue(): string;\n}\n\nclass ISODurationInput extends React.Component {\n static propTypes = {\n /** Input id */\n id: PropTypes.string.isRequired,\n /** Value to show in the Input. */\n duration: PropTypes.string.isRequired,\n /** Callback that will receive the validated duration when the input changes. */\n update: PropTypes.func.isRequired,\n /** Input label. */\n label: PropTypes.string,\n /** Input help text. */\n help: PropTypes.string,\n /**\n * Function that validates the duration. It receives the duration in milliseconds and the duration itself as\n * arguments, and must return `true` if the duration is valid or `false` if not. Only valid durations are propagated\n * after the input changes.\n */\n validator: PropTypes.func,\n /** Text to display when duration is invalid. */\n errorText: PropTypes.string,\n /** Specify that the Input should have input focus when the page loads. */\n autoFocus: PropTypes.bool,\n /** Specify that the Input is required to submit the form. */\n required: PropTypes.bool,\n /** Specify that the Input is disabled or not */\n disabled: PropTypes.bool,\n };\n\n private isoDuration: DurationInput;\n\n static defaultProps = {\n label: 'Duration',\n help: 'as ISO8601 Duration',\n validator: () => true,\n errorText: 'invalid',\n autoFocus: false,\n required: false,\n disabled: false,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n duration: this.props.duration,\n };\n }\n\n _onUpdate = () => {\n let duration = this.isoDuration.getValue().toUpperCase();\n\n if (!duration.startsWith('P')) {\n duration = `P${duration}`;\n }\n\n this.setState({ duration: duration });\n\n if (ISODurationUtils.isValidDuration(duration, this.props.validator)) {\n // Only propagate state if the config is valid.\n this.props.update(duration);\n }\n };\n\n render() {\n return (\n { this.isoDuration = isoDuration; }}\n label={this.props.label}\n onChange={this._onUpdate}\n value={this.state.duration}\n help={this.props.help}\n addonAfter={ISODurationUtils.humanizeDuration(this.state.duration, this.props.validator, this.props.errorText)}\n bsStyle={ISODurationUtils.durationStyle(this.state.duration, this.props.validator)}\n autoFocus={this.props.autoFocus}\n required={this.props.required}\n disabled={this.props.disabled} />\n );\n }\n}\n\nexport default ISODurationInput;\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 from 'styled-components';\n\nconst StyledSpan = styled.span(({ theme }) => `\n color: ${theme.colors.gray[60]};\n font-weight: normal;\n`);\n\nconst InputOptionalInfo = () => (\n (Opt.)\n);\n\nexport default InputOptionalInfo;\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 { useTheme } from 'styled-components';\n\nimport { INPUT_BORDER_RADIUS } from 'theme/constants';\n\nconst useInputListStyles = (size: 'small' | 'normal') => {\n const theme = useTheme();\n\n const inputListTheme = {\n ...theme,\n colors: {\n ...theme.colors,\n primary: theme.colors.input.borderFocus,\n primary75: theme.colors.variant.light.default,\n primary50: theme.colors.variant.lighter.default,\n primary25: theme.colors.variant.lightest.default,\n danger: theme.colors.variant.darker.info,\n dangerLight: theme.colors.variant.lighter.info,\n neutral0: theme.colors.input.background,\n neutral5: theme.colors.input.backgroundDisabled,\n neutral10: theme.colors.variant.lightest.info,\n neutral20: theme.colors.input.border,\n neutral30: theme.colors.gray[70],\n neutral40: theme.colors.gray[60],\n neutral50: theme.colors.gray[50],\n neutral60: theme.colors.gray[40],\n neutral70: theme.colors.gray[30],\n neutral80: theme.colors.gray[20],\n neutral90: theme.colors.gray[10],\n },\n };\n\n const styles = (isValid: boolean) => ({\n valueContainer: (provided: any) => ({\n ...provided,\n padding: size === 'small' ? '0 8px' : '2px 12px',\n }),\n control: (provided: any, { isFocused }) => ({\n ...provided,\n borderWidth: isFocused ? 1 : provided.borderWidth,\n outline: isFocused ? 0 : provided.outline,\n boxShadow: isFocused ? inputListTheme.colors.input.boxShadow : null,\n ...(size === 'small' ? { minHeight: 29, height: 29 } : { minHeight: 34 }),\n borderRadius: INPUT_BORDER_RADIUS,\n alignItems: 'center',\n borderColor: isValid ? provided.borderColor : inputListTheme.colors.brand.primary,\n }),\n placeHolder: (provided: any) => ({\n ...provided,\n color: inputListTheme.colors.input.placeholder,\n lineHeight: '28px',\n fontFamily: inputListTheme.fonts.family.body,\n fontSize: inputListTheme.fonts.size.body,\n fontWeight: 400,\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n maxWidth: '100%',\n paddingRight: '20px',\n }),\n multiValue: (provided: any) => ({\n ...provided,\n border: `1px solid ${inputListTheme.colors.variant.lighter.info}`,\n }),\n multiValueLabel: (provided: any) => ({\n ...provided,\n color: isValid ? provided.color : inputListTheme.colors.brand.primary,\n padding: '2px 5px',\n fontSize: inputListTheme.fonts.size.small,\n }),\n multiValueRemove: (provided: any) => ({\n ...provided,\n borderLeft: `1px solid ${inputListTheme.colors.variant.lighter.info}`,\n paddingLeft: '5px',\n paddingRight: '5px',\n borderRadius: '0',\n }),\n });\n\n return { inputListTheme, styles };\n};\n\nexport default useInputListStyles;\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 */\nexport type GenericTarget = Omit & {\n name: string,\n value: T,\n}\n\nexport class GenericChangeEvent extends Event implements React.ChangeEvent> {\n _target: GenericTarget;\n\n _defaultPrevented: boolean;\n\n _propagationStopped: boolean;\n\n _persisted: boolean;\n\n nativeEvent: Event;\n\n set target(element: GenericTarget) {\n this._target = element;\n }\n\n get target() {\n return this._target;\n }\n\n set currentTarget(element: GenericTarget) {\n this._target = element;\n }\n\n get currentTarget() {\n return this._target;\n }\n\n preventDefault() {\n super.preventDefault();\n this._defaultPrevented = true;\n }\n\n isDefaultPrevented() {\n return this._defaultPrevented;\n }\n\n stopPropagation() {\n super.stopPropagation();\n this._propagationStopped = true;\n }\n\n isPropagationStopped() {\n return this._propagationStopped;\n }\n\n persist() {\n this._persisted = true;\n }\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 * as React from 'react';\nimport CreatableSelect from 'react-select/creatable';\nimport type { CreatableProps } from 'react-select/creatable';\n\nimport { InputDescription } from 'components/common';\nimport { FormGroup, ControlLabel } from 'components/bootstrap';\n\nimport useInputListStyles from './useInputListStyles';\nimport { GenericChangeEvent } from './InputList.types';\nimport type { GenericTarget } from './InputList.types';\n\ninterface Option {\n readonly label: string | number;\n readonly value: string | number;\n}\n\nconst createOption = (value: string | number) => ({\n label: value,\n value,\n});\n\ntype Props = CreatableProps & {\n name: string,\n values: (string | number)[],\n onChange: (newValue: React.ChangeEvent>) => void,\n label?: React.ReactNode,\n size?: 'small' | 'normal',\n bsStyle?: 'success' | 'warning' | 'error' | null,\n error?: React.ReactNode,\n help?: React.ReactNode,\n};\n\nconst InputList = ({ name, values, onChange, label, size, bsStyle, error, help, ...rest }: Props) => {\n const { inputListTheme, styles } = useInputListStyles(size);\n const inputRef = React.useRef(null);\n const [inputValue, setInputValue] = React.useState('');\n const [value, setValue] = React.useState(values.map((val: string | number) => createOption(val)));\n\n React.useLayoutEffect(() => setValue(values.map((val: string | number) => createOption(val))), [values]);\n\n const dispatchOnChange = (newValue: Option[]) => {\n const newList = newValue.map((item: Option) => item.value);\n const event = new GenericChangeEvent<(string | number)[]>('change');\n\n inputRef.current.value = newList;\n inputRef.current.name = name;\n event.target = inputRef.current;\n\n onChange(event);\n };\n\n const handleKeyDown = (event: React.KeyboardEvent) => {\n if (!inputValue) return;\n\n if (event.key === 'Enter' || event.key === 'Tab') {\n const newValue = [...value, createOption(inputValue)];\n setValue(newValue);\n dispatchOnChange(newValue);\n setInputValue('');\n event.preventDefault();\n }\n };\n\n const handleOnChange = (newValue: Option[]) => {\n setValue(newValue);\n dispatchOnChange(newValue);\n };\n\n return (\n \n {label && {label}}\n setInputValue(newValue)}\n onKeyDown={handleKeyDown}\n value={value}\n styles={styles(!error)}\n theme={(theme) => ({ ...theme, ...inputListTheme })}\n {...rest} />\n \n \n );\n};\n\nInputList.defaultProps = {\n label: null,\n size: 'normal',\n bsStyle: null,\n error: null,\n help: null,\n};\n\nexport default InputList;\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 InputList from './InputList';\n\nexport default InputList;\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 {\n ControlLabel,\n DropdownButton,\n FormControl,\n FormGroup,\n HelpBlock,\n InputGroup,\n InputWrapper,\n MenuItem,\n} from 'components/bootstrap';\n\nconst OPTIONS = [\n { value: 'STRING', label: 'string' },\n { value: 'NUMBER', label: 'number' },\n { value: 'OBJECT', label: 'object' },\n { value: 'ARRAY', label: 'array' },\n { value: 'BOOLEAN', label: 'boolean' },\n { value: 'NULL', label: 'null' },\n];\n\nclass JSONValueInput extends React.Component {\n constructor(props) {\n super(props);\n this.state = this._computeInitialState();\n }\n\n UNSAFE_componentWillReceiveProps() {\n this.setState(this._computeInitialState());\n }\n\n _computeInitialState = () => ({\n value: this.props.value,\n valueType: this.props.valueType,\n });\n\n _propagateState = () => {\n this.props.update(this.state.value, this.state.valueType);\n };\n\n _onUpdate = (e) => {\n const { value } = e.target;\n\n this.setState({ value: value }, this._propagateState);\n };\n\n _onValueTypeSelect = (valueType) => {\n this.setState({ valueType: valueType }, this._propagateState);\n };\n\n render() {\n const options = OPTIONS.filter((o) => this.props.allowedTypes.indexOf(o.value) > -1).map((o) => this._onValueTypeSelect(o.value)}>{o.label});\n\n return (\n \n {this.props.label && {this.props.label}}\n \n \n \n o.value === this.props.valueType)[0].label}>\n {options}\n \n \n {this.props.help && {this.props.help}}\n \n \n );\n }\n}\n\nJSONValueInput.propTypes = {\n update: PropTypes.func.isRequired,\n onBlur: PropTypes.func,\n label: PropTypes.string,\n help: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n required: PropTypes.bool,\n validationState: PropTypes.string,\n value: PropTypes.string,\n valueType: PropTypes.oneOf(OPTIONS.map((option) => option.value)),\n allowedTypes: (props, propName, componentName) => {\n // Check that allowedTypes is an array of type values\n const values = OPTIONS.map((option) => option.value);\n const errors = [];\n\n if (!(props[propName] instanceof Array)) {\n return new Error(`Invalid prop ${propName} supplied to ${componentName}. Expected an array but got ${props[propName]}`);\n }\n\n props[propName].forEach((p) => {\n if (values.indexOf(p) < 0) {\n errors.push(p);\n }\n });\n\n if (errors.length > 0) {\n return new Error(`Invalid prop ${propName} supplied to ${componentName}. Expected array of ${values} but got invalid ${errors}`);\n }\n\n return null;\n },\n labelClassName: PropTypes.string,\n wrapperClassName: PropTypes.string,\n};\n\nJSONValueInput.defaultProps = {\n value: '',\n valueType: 'STRING',\n allowedTypes: OPTIONS.map((option) => option.value),\n label: '',\n help: '',\n required: false,\n validationState: null,\n labelClassName: undefined,\n wrapperClassName: undefined,\n onBlur: undefined,\n};\n\nexport default JSONValueInput;\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 type { PropsWithChildren } from 'react';\n\nimport type { HotkeysProps } from 'hooks/useHotkey';\nimport useHotkey from 'hooks/useHotkey';\n\ntype Props = PropsWithChildren<{\n shortcuts: Array,\n}>;\n\nconst HotkeyComponent = ({ shortcut }: { shortcut: HotkeysProps }) => {\n useHotkey(shortcut);\n\n return null;\n};\n\nconst KeyCapture = ({ children, shortcuts } : Props) => (\n <>\n {shortcuts.map((shortcut) => )}\n {children}\n \n);\n\nKeyCapture.defaultProps = {\n children: null,\n};\n\nexport default KeyCapture;\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 styled from 'styled-components';\n\nimport { Button, Input, Table } from 'components/bootstrap';\nimport ObjectUtils from 'util/ObjectUtils';\n\nconst StyledDiv = styled.div`\n .form-group {\n margin-left: 0;\n margin-right: 0;\n }\n`;\n\n/**\n * KeyValueTable displays a table for all key-value pairs in a JS object. If the editable prop is set to true, it also\n * provides inputs to create, edit and delete key-value pairs.\n */\nclass KeyValueTable extends React.Component {\n static propTypes = {\n /** Object containing key-values to represent in the table. */\n pairs: PropTypes.object.isRequired,\n /** Table headers. Must be an array with three elements [ key header, value header, actions header]. */\n headers: PropTypes.array,\n /** Indicates if the user can create, edit or delete key-value pairs. */\n editable: PropTypes.bool,\n /** Callback when key-value pairs change. It receives the new key-value pairs as argument. */\n onChange: PropTypes.func,\n /** Extra CSS classes for the rendered table. */\n className: PropTypes.string,\n /** Extra CSS classes for the table container. */\n containerClassName: PropTypes.string,\n /** Size of action buttons. */\n actionsSize: PropTypes.oneOf(['large', 'medium', 'small', 'xsmall']),\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n newKey: '',\n newValue: '',\n };\n }\n\n _onPairsChange = (newPairs) => {\n if (this.props.onChange) {\n this.props.onChange(newPairs);\n }\n };\n\n _bindValue = (event) => {\n const newState = {};\n\n newState[event.target.name] = event.target.value;\n this.setState(newState);\n };\n\n _addRow = () => {\n const newPairs = ObjectUtils.clone(this.props.pairs);\n\n newPairs[this.state.newKey] = this.state.newValue;\n this._onPairsChange(newPairs);\n\n this.setState({ newKey: '', newValue: '' });\n };\n\n _deleteRow = (key) => () => {\n // eslint-disable-next-line no-alert\n if (window.confirm(`Are you sure you want to delete property '${key}'?`)) {\n const newPairs = ObjectUtils.clone(this.props.pairs);\n\n delete newPairs[key];\n this._onPairsChange(newPairs);\n }\n };\n\n _formattedHeaders = (headers) => (\n \n {headers.map((header, idx) => {\n const customStyle = {};\n\n // Hide last column or apply width so it sticks to the right\n if (idx === headers.length - 1) {\n if (!this.props.editable) {\n return null;\n }\n\n customStyle.width = 75;\n }\n\n return {header};\n })}\n \n );\n\n _formattedRows = (pairs) => Object.keys(pairs).sort().map((key) => {\n let actionsColumn;\n\n if (this.props.editable) {\n const actions = [];\n\n actions.push(\n ,\n );\n\n actionsColumn = {actions};\n }\n\n return (\n \n {key}\n {pairs[key]}\n {actionsColumn}\n \n );\n });\n\n _newRow = () => {\n if (!this.props.editable) {\n return null;\n }\n\n const addRowDisabled = !this.state.newKey || !this.state.newValue;\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n };\n\n render() {\n return (\n
    \n
    \n \n {this._formattedHeaders(this.props.headers)}\n \n {this._formattedRows(this.props.pairs)}\n {this._newRow()}\n \n
    \n
    \n
    \n );\n }\n}\n\nKeyValueTable.defaultProps = {\n headers: ['Name', 'Value', 'Actions'],\n editable: false,\n actionsSize: 'xsmall',\n className: '',\n containerClassName: '',\n onChange: () => {},\n};\n\nexport default KeyValueTable;\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 { useCallback } from 'react';\nimport { useNavigate } from 'react-router-dom';\n\nimport type { ButtonProps } from 'components/bootstrap';\nimport { Button } from 'components/bootstrap';\n\ntype Props = ButtonProps & {\n to: string,\n target?: '_blank' | '_self' | '_parent' | '_top' | 'framename',\n}\n\nconst LinkButton = ({ to, target, onClick, ...restButtonProps }: Props) => {\n const navigate = useNavigate();\n const handleOnClick = useCallback((e) => {\n if (target === '_self') {\n navigate(to);\n } else {\n window.open(to, target);\n }\n\n if (onClick) onClick(e);\n }, [target, onClick, navigate, to]);\n\n return
    \n );\n }\n}\n\nexport default SelectableList;\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 from 'styled-components';\n\nimport HoverForHelp from 'components/common/HoverForHelp';\n\ntype Props = {\n type: string,\n description?: string,\n};\n\nconst StyledHoverForHelp = styled((props) => )`\n margin-left: 8px;\n`;\n\nconst SharingDisabledPopover = ({ type, description }: Props) => {\n const getReadableType = (_type: string) => _type.replaceAll('_', ' ');\n\n return (\n \n {description || `Only owners of this ${getReadableType(type)} are allowed to share it.`}\n \n );\n};\n\nSharingDisabledPopover.defaultProps = {\n description: undefined,\n};\n\nexport default SharingDisabledPopover;\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 Button from 'components/bootstrap/Button';\nimport SharingDisabledPopover from 'components/permissions/SharingDisabledPopover';\nimport HasOwnership from 'components/common/HasOwnership';\nimport Icon from 'components/common/Icon';\n\ntype Props = {\n /**\n * When a custom description is provided\n * the button will be disabled\n */\n disabledInfo?: string,\n entityId: string,\n entityType: string,\n onClick: () => void,\n bsStyle?: string,\n bsSize?: string\n};\n\nconst ShareButton = ({ bsStyle, bsSize, entityId, entityType, onClick, disabledInfo }: Props) => (\n \n {({ disabled: hasMissingPermissions }) => (\n \n )}\n \n);\n\nShareButton.defaultProps = {\n bsStyle: 'default',\n disabledInfo: undefined,\n bsSize: undefined,\n};\n\nexport default ShareButton;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\n\n/**\n * Component that renders a time value given in a certain unit.\n * It can also use 0 as never if `zeroIsNever` is set.\n */\nconst TimeUnit = createReactClass({\n displayName: 'TimeUnit',\n\n propTypes: {\n /** Value to display. */\n value: PropTypes.number.isRequired,\n /** Unit used in the value. */\n unit: PropTypes.oneOf(['NANOSECONDS', 'MICROSECONDS', 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS']).isRequired,\n /** Specifies if zero should be displayed as never or not. */\n zeroIsNever: PropTypes.bool,\n },\n\n getDefaultProps() {\n return {\n zeroIsNever: true,\n };\n },\n\n UNITS: {\n NANOSECONDS: 'nanoseconds',\n MICROSECONDS: 'microseconds',\n MILLISECONDS: 'milliseconds',\n SECONDS: 'seconds',\n MINUTES: 'minutes',\n HOURS: 'hours',\n DAYS: 'days',\n },\n\n render() {\n if (this.props.value === 0 && this.props.zeroIsNever) {\n return Never;\n }\n\n return (\n \n {this.props.value} {this.UNITS[this.props.unit]}\n \n );\n },\n});\n\nexport default TimeUnit;\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 moment from 'moment-timezone';\nimport uniq from 'lodash/uniq';\n\nimport Select from 'components/common/Select';\n\n/**\n * Component that renders a select input for all supported time zones.\n *\n * As this component is based in the `Select` component, users can search a\n * certain time zone easily. This component will pass through other props\n * to the underlying `Select` component, so you can further customize how\n * the `Select` input behaves. Check the `Select` documentation for more\n * information.\n */\nclass TimezoneSelect extends React.Component {\n static propTypes = {\n /**\n * Function that will be called when the selected timezone changes. The\n * function will receive the new time zone identifier as argument. See\n * https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for\n * a list of time zone identifiers.\n */\n onChange: PropTypes.func,\n };\n\n static defaultProps = {\n onChange: () => {},\n };\n\n // Some time zones are not stored into any areas, this is the group we use to put them apart in the dropdown\n // https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\n _UNCLASSIFIED_AREA = 'Unclassified';\n\n getValue = () => this.timezone.getValue();\n\n _formatTimezones = () => {\n const timezones = {};\n\n // Group time zones by area\n moment.tz.names().forEach((timezone) => {\n const splitted = timezone.split('/');\n const area = (splitted.length > 1 ? splitted[0] : this._UNCLASSIFIED_AREA);\n const location = (splitted.length > 1 ? splitted[1] : splitted[0]);\n\n if (!timezones[area]) {\n timezones[area] = [];\n }\n\n timezones[area].push(location);\n });\n\n const labels = [];\n\n Object.keys(timezones)\n .sort()\n .forEach((area) => {\n // Add disabled area option to use as TZ separator\n labels.push({ label: area, disabled: true, value: area });\n\n // Now add a label per timezone in the area\n const effectiveTimezones = uniq(timezones[area]).sort();\n const timezoneLabels = effectiveTimezones.map((location) => {\n const timezone = (area === this._UNCLASSIFIED_AREA ? location : `${area}/${location}`);\n\n return { value: timezone, label: location.replace('_', ' ') };\n });\n\n labels.push(...timezoneLabels);\n });\n\n return labels;\n };\n\n _renderOption = (option) => {\n if (!option.disabled) {\n return   {option.label};\n }\n\n return {option.label};\n };\n\n render() {\n const timezones = this._formatTimezones();\n const { onChange, ...otherProps } = this.props;\n\n return (\n { this.fieldInput = fieldInput; }}\n label={label}\n onBlur={onBlur}\n error={error}\n wrapperClassName=\"typeahead-wrapper\"\n defaultValue={valueLink ? valueLink.value : null}\n {...this._getFilteredProps()} />\n );\n }\n}\n\nexport default TypeAheadFieldInput;\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, { useCallback, useEffect, useState, useRef } from 'react';\nimport PropTypes from 'prop-types';\n\nimport useCurrentUser from 'hooks/useCurrentUser';\nimport { useStore } from 'stores/connect';\nimport { Button } from 'components/bootstrap';\nimport BootstrapModalForm from 'components/bootstrap/BootstrapModalForm';\nimport UrlWhiteListForm from 'components/configurations/UrlWhiteListForm';\nimport type { ConfigurationsStoreState, WhiteListConfig } from 'stores/configurations/ConfigurationsStore';\nimport { ConfigurationsActions, ConfigurationsStore } from 'stores/configurations/ConfigurationsStore';\n// Explicit import to fix eslint import/no-cycle\nimport IfPermitted from 'components/common/IfPermitted';\nimport { isPermitted } from 'util/PermissionsMixin';\nimport generateId from 'logic/generateId';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\n\nconst URL_WHITELIST_CONFIG = 'org.graylog2.system.urlwhitelist.UrlWhitelist';\n\ntype Props = {\n newUrlEntry: string,\n onUpdate: () => void,\n urlType?: 'regex' | 'literal',\n};\n\nconst URLWhiteListFormModal = ({ newUrlEntry, urlType, onUpdate }: Props) => {\n const prevNewUrlEntry = useRef();\n const [config, setConfig] = useState({ entries: [], disabled: false });\n const [isValid, setIsValid] = useState(false);\n const [newUrlEntryId, setNewUrlEntryId] = useState();\n const [showConfigModal, setShowConfigModal] = useState(false);\n\n const { configuration } = useStore(ConfigurationsStore);\n const urlWhiteListConfig = configuration[URL_WHITELIST_CONFIG];\n\n const currentUser = useCurrentUser();\n const sendTelemetry = useSendTelemetry();\n\n useEffect(() => {\n if (isPermitted(currentUser.permissions, ['urlwhitelist:read'])) {\n ConfigurationsActions.listWhiteListConfig(URL_WHITELIST_CONFIG);\n }\n }, [currentUser]);\n\n const setDefaultWhiteListState = useCallback((defaultUrlWhiteListConfig) => {\n const id = generateId();\n const defaultConfig = {\n entries: [...defaultUrlWhiteListConfig.entries, {\n id: id,\n title: '',\n value: newUrlEntry,\n type: urlType ?? 'literal',\n }],\n disabled: defaultUrlWhiteListConfig.disabled,\n };\n setNewUrlEntryId(id);\n setConfig(defaultConfig);\n }, [newUrlEntry, urlType]);\n\n useEffect(() => {\n const { entries } = config;\n\n if (urlWhiteListConfig) {\n if (entries.length === 0 || prevNewUrlEntry.current !== newUrlEntry) {\n setDefaultWhiteListState(urlWhiteListConfig);\n }\n }\n\n prevNewUrlEntry.current = newUrlEntry;\n }, [setDefaultWhiteListState, urlWhiteListConfig, config, newUrlEntry, urlType]);\n\n const openModal = () => {\n setShowConfigModal(true);\n };\n\n const closeModal = () => {\n setShowConfigModal(false);\n setDefaultWhiteListState(urlWhiteListConfig);\n };\n\n const handleUpdate = (nextConfig, nextIsValid) => {\n setConfig(nextConfig);\n setIsValid(nextIsValid);\n };\n\n const saveConfig = (event) => {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n sendTelemetry(TELEMETRY_EVENT_TYPE.URLWHITELIST_CONFIGURATION_UPDATED, {\n app_section: 'urlwhitelist',\n app_action_value: 'configuration-update',\n });\n\n if (isValid) {\n ConfigurationsActions.updateWhitelist(URL_WHITELIST_CONFIG, config).then(() => {\n onUpdate();\n closeModal();\n });\n }\n };\n\n if (urlWhiteListConfig) {\n const { entries, disabled } = config;\n\n return (\n <>\n \n \n \n \n

    Whitelist URLs

    \n \n
    \n \n );\n }\n\n return null;\n};\n\nURLWhiteListFormModal.propTypes = {\n newUrlEntry: PropTypes.string,\n onUpdate: PropTypes.func,\n urlType: PropTypes.oneOf(['regex', 'literal']),\n};\n\nURLWhiteListFormModal.defaultProps = {\n newUrlEntry: '',\n onUpdate: () => {\n },\n urlType: undefined,\n};\n\nexport default URLWhiteListFormModal;\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 { SyntheticEvent } from 'react';\nimport React, { useCallback, useRef, useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Input } from 'components/bootstrap';\nimport { isValidURL } from 'util/URLUtils';\n// Explicit import to fix eslint import/no-cycle\nimport URLWhiteListFormModal from 'components/common/URLWhiteListFormModal';\nimport ToolsStore from 'stores/tools/ToolsStore';\nimport { triggerInput } from 'util/FormsUtils';\n\ntype Props = {\n label: string,\n onChange: (event: SyntheticEvent) => void,\n validationMessage: string,\n validationState: string,\n url: string,\n onValidationChange?: (validationState: string) => void,\n labelClassName: string,\n wrapperClassName: string,\n urlType: React.ComponentProps['urlType'],\n autofocus: boolean,\n};\n\nconst URLWhiteListInput = ({ label, onChange, validationMessage, validationState, url, onValidationChange, labelClassName, wrapperClassName, urlType, autofocus }: Props) => {\n const [isWhitelisted, setIsWhitelisted] = useState(false);\n const [currentValidationState, setCurrentValidationState] = useState(validationState);\n const [ownValidationMessage, setOwnValidationMessage] = useState(validationMessage);\n\n const suggestRegexWhitelistUrl = (typedUrl: string, type: string): string | Promise => {\n // eslint-disable-next-line no-template-curly-in-string\n const keyWildcard = '${key}';\n\n return type && type === 'regex' && isValidURL(typedUrl) ? ToolsStore.urlWhiteListGenerateRegex(typedUrl, keyWildcard) : typedUrl;\n };\n\n const [suggestedUrl, setSuggestedUrl] = useState(url);\n const isWhitelistError = () => currentValidationState === 'error' && isValidURL(url);\n const urlInputRef = useRef();\n\n const checkIsWhitelisted = useCallback(() => {\n if (url) {\n const promise = ToolsStore.urlWhiteListCheck(url);\n\n promise.then((result) => {\n if (!result.is_whitelisted && validationState === null) {\n setCurrentValidationState('error');\n onValidationChange('error');\n const message = isValidURL(url) ? `URL ${url} is not whitelisted` : `URL ${url} is not a valid URL.`;\n\n setOwnValidationMessage(message);\n } else {\n setOwnValidationMessage(validationMessage);\n setCurrentValidationState(validationState);\n onValidationChange(validationState);\n }\n\n setIsWhitelisted(result.is_whitelisted);\n });\n }\n }, [url, validationMessage, validationState, onValidationChange]);\n\n const onUpdate = () => {\n triggerInput(urlInputRef.current.getInputDOMNode());\n checkIsWhitelisted();\n };\n\n useEffect(() => {\n const checkSuggestion = () => {\n if (url) {\n const suggestion = suggestRegexWhitelistUrl(url, urlType);\n\n if (typeof suggestion === 'object') {\n suggestion.then((result) => {\n setSuggestedUrl(result.regex);\n });\n } else {\n setSuggestedUrl(url);\n }\n }\n };\n\n const timer = setTimeout(() => checkSuggestion(), 250);\n\n return () => clearTimeout(timer);\n }, [url, urlType]);\n\n useEffect(() => {\n const timer = setTimeout(() => checkIsWhitelisted(), 250);\n\n return () => clearTimeout(timer);\n }, [url, validationState, checkIsWhitelisted]);\n\n const addButton = isWhitelistError() && !isWhitelisted ? : '';\n const helpMessage = <>{validationState === null ? ownValidationMessage : validationMessage} {addButton};\n const bsStyle = currentValidationState === '' ? null : currentValidationState;\n\n return (\n \n );\n};\n\nURLWhiteListInput.propTypes = {\n autofocus: PropTypes.bool,\n label: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n validationState: PropTypes.string,\n validationMessage: PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.string,\n ]),\n url: PropTypes.string,\n onValidationChange: PropTypes.func,\n labelClassName: PropTypes.string,\n wrapperClassName: PropTypes.string,\n urlType: PropTypes.oneOf(['regex', 'literal']),\n};\n\nURLWhiteListInput.defaultProps = {\n autofocus: true,\n url: '',\n validationState: '',\n validationMessage: '',\n labelClassName: '',\n wrapperClassName: '',\n urlType: 'literal',\n onValidationChange: () => {},\n};\n\nexport default URLWhiteListInput;\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 styled, { css } from 'styled-components';\n\nconst Toggle = styled.label(({ theme }) => css`\n display: flex;\n align-items: center;\n margin: 0;\n\n input {\n border: 0;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n white-space: nowrap;\n\n &:checked + .slider {\n background-color: ${theme.colors.variant.dark.default};\n\n &::before {\n transform: translate(16px, -50%);\n }\n }\n\n &:disabled + .slider {\n opacity: 0.5;\n cursor: not-allowed;\n\n &::before {\n background-color: ${theme.colors.variant.light.default};\n }\n }\n }\n\n .slider {\n box-sizing: border-box;\n margin: 0 9px;\n width: 36px;\n height: 22px;\n border-radius: 30px;\n background-color: ${theme.colors.gray[80]};\n box-shadow: inset 0 1px 3px 0 rgb(0 0 0 / 20%);\n display: inline-block;\n position: relative;\n cursor: pointer;\n\n &::before {\n transition: transform 75ms ease-in-out;\n content: '';\n display: block;\n width: 18px;\n height: 18px;\n background-color: ${theme.colors.brand.secondary};\n box-shadow: 0 2px 3px 0 rgb(0 0 0 / 25%), 0 2px 8px 0 rgb(32 37 50 / 16%);\n position: absolute;\n border-radius: 100%;\n top: 11px;\n transform: translate(2px, -50%);\n }\n }\n`);\n\nexport default Toggle;\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 loadAsync from 'routing/loadAsync';\n\nconst SourceCodeEditor = loadAsync(() => import('./SourceCodeEditor'));\n\nexport { SourceCodeEditor };\nexport { default as Accordion } from './Accordion';\nexport { default as AccordionItem } from './AccordionItem';\nexport { default as Autocomplete } from './Autocomplete/Autocomplete';\nexport { default as BrowserTime } from './BrowserTime';\nexport { default as Center } from './Center';\nexport { default as Carousel } from 'components/common/carousel/Carousel';\nexport { default as ClipboardButton } from './ClipboardButton';\nexport { default as ColorPicker } from './ColorPicker';\nexport { default as ColorPickerPopover } from './ColorPickerPopover';\nexport { default as ConfirmDialog } from './ConfirmDialog';\nexport { default as ConfirmLeaveDialog } from './ConfirmLeaveDialog';\nexport { default as EntityDataTable } from './EntityDataTable';\nexport { default as ContentHeadRow } from './ContentHeadRow';\nexport { default as ControlledTableList } from './ControlledTableList';\nexport { default as CopyToClipboardCapture } from './CopyToClipboardCapture';\nexport { default as CountBadge } from './CountBadge';\nexport { default as DataTable } from './DataTable';\nexport { default as DatePicker } from './DatePicker';\nexport { default as DocumentTitle } from './DocumentTitle';\nexport { default as DropdownMenu } from './DropdownMenu';\nexport { default as DropdownSubmenu } from './DropdownSubmenu';\nexport { default as ElementDimensions } from './ElementDimensions';\nexport { default as EmptyEntity } from './EmptyEntity';\nexport { default as NoEntitiesExist } from './NoEntitiesExist';\nexport { default as NoSearchResult } from './NoSearchResult';\nexport { default as EnterprisePluginNotFound } from './EnterprisePluginNotFound';\nexport { default as EntityList } from './EntityList';\nexport { default as EntityListItem } from './EntityListItem';\nexport { default as ErrorAlert } from './ErrorAlert';\nexport { default as ExpandableList } from './ExpandableList';\nexport { default as ExpandableListItem } from './ExpandableListItem';\nexport { default as ExternalLink } from './ExternalLink';\nexport { default as ExternalLinkButton } from './ExternalLinkButton';\nexport { default as FlatContentRow } from './FlatContentRow';\nexport { default as FormikFormGroup } from './FormikFormGroup';\nexport { default as FormikInput } from './FormikInput';\nexport { default as FormSubmit } from './FormSubmit';\nexport { default as HasOwnership } from './HasOwnership';\nexport { default as HoverForHelp } from './HoverForHelp';\nexport { default as ISODurationInput } from './ISODurationInput';\nexport { default as Icon } from './Icon';\nexport { default as IconButton } from './IconButton';\nexport { default as IfPermitted } from './IfPermitted';\nexport { default as InputDescription } from './InputDescription';\nexport { default as InputOptionalInfo } from './InputOptionalInfo';\nexport { default as InputList } from './InputList';\nexport { default as InteractableModal } from './InteractableModal';\nexport { default as JSONValueInput } from './JSONValueInput';\nexport { default as KeyCapture } from './KeyCapture';\nexport { default as KeyValueTable } from './KeyValueTable';\nexport { default as LinkButton } from './LinkButton';\nexport { default as LinkToNode } from './LinkToNode';\nexport { default as ListingWithCount } from './ListingWithCount';\nexport { default as LoadingIndicator } from './LoadingIndicator';\nexport { default as LocaleSelect } from './LocaleSelect';\nexport { default as Markdown } from './Markdown';\nexport { default as MessageDetailsDefinitionList } from './MessageDetailsDefinitionList';\nexport { default as ModalSubmit } from './ModalSubmit';\nexport { default as MultiSelect } from './MultiSelect';\nexport { default as OverlayElement } from './OverlayElement';\nexport { default as OverlayTrigger } from './OverlayTrigger';\nexport { default as PageErrorOverview } from './PageErrorOverview';\nexport { default as PageHeader } from './PageHeader';\nexport { default as PageSizeSelect } from './PageSizeSelect';\nexport { default as PaginatedDataTable } from './PaginatedDataTable';\nexport { default as PaginatedItemOverview } from './PaginatedItemOverview/PaginatedItemOverview';\nexport { default as PaginatedList } from './PaginatedList';\nexport { default as Pagination } from './Pagination';\nexport { default as Pluralize } from './Pluralize';\nexport { default as ProgressBar } from './ProgressBar';\nexport { default as Portal } from './Portal';\nexport { default as QueryHelper } from './QueryHelper';\nexport { default as ReactGridContainer } from './ReactGridContainer';\nexport { default as ReadOnlyFormGroup } from './ReadOnlyFormGroup';\nexport { default as RelativeTime } from './RelativeTime';\nexport { default as ScrollButton } from './ScrollButton';\nexport { default as SearchForm } from './SearchForm';\nexport { default as Select } from './Select';\nexport { default as SelectPopover } from './SelectPopover';\nexport { default as SelectableList } from './SelectableList';\nexport { default as ShareButton } from './ShareButton';\nexport { default as SortableList } from './SortableList';\nexport { default as Spinner } from './Spinner';\nexport { default as TextOverflowEllipsis } from './TextOverflowEllipsis';\nexport { default as TimeUnit } from './TimeUnit';\nexport { default as TimeUnitInput } from './TimeUnitInput';\nexport { default as Timestamp } from './Timestamp';\nexport { default as TimezoneSelect } from './TimezoneSelect';\nexport { default as TypeAheadDataFilter } from './TypeAheadDataFilter';\nexport { default as TypeAheadFieldInput } from './TypeAheadFieldInput';\nexport { default as TypeAheadInput } from './TypeAheadInput';\nexport { default as URLWhiteListFormModal } from './URLWhiteListFormModal';\nexport { default as URLWhiteListInput } from './URLWhiteListInput';\nexport { default as Wizard } from './Wizard';\nexport { default as SortIcon } from './SortIcon';\nexport { default as Toggle } from './Toggle';\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 { useCallback, useMemo } from 'react';\nimport { Link, useLocation, useLinkClickHandler } from 'react-router-dom';\n\n// list of children which are being used for navigation and should receive the `active` class.\nconst NAV_CHILDREN = ['Button', 'NavItem'];\n\nconst _targetPathname = (target: string) => String(target).split(/[?#]/)[0];\n\nconst _setActiveClassName = (pathname: string, to: string, currentClassName: string, displayName: string, relativeActive: boolean) => {\n const targetPathname = _targetPathname(to);\n const isActive = relativeActive ? pathname.startsWith(targetPathname) : targetPathname === pathname;\n const isNavComponent = NAV_CHILDREN.includes(displayName);\n\n return isNavComponent && isActive\n ? `active ${currentClassName ?? ''}`\n : currentClassName;\n};\n\ntype ChildrenProps = {\n onClick: (e?: any) => void,\n className: string,\n href: string,\n disabled: boolean,\n};\ntype Props = {\n children: React.ReactElement,\n onClick?: () => unknown,\n to: string | { pathname: string },\n // if set the child component will receive the active class\n // when the part of the URL path matches the `to` prop.\n relativeActive?: boolean,\n};\n\nconst isLeftClickEvent = (e: React.MouseEvent) => (e.button === 0);\n\nconst isModifiedEvent = (e: React.MouseEvent) => !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);\n\nconst LinkContainer = ({ children, onClick, to: toProp, relativeActive, ...rest }: Props) => {\n const { pathname } = useLocation();\n const { props: { onClick: childrenOnClick, className, disabled }, type: { displayName } } = React.Children.only(children);\n const to = (typeof toProp === 'object' && 'pathname' in toProp) ? toProp.pathname : toProp;\n const childrenClassName = useMemo(() => _setActiveClassName(pathname, to, className, displayName, relativeActive),\n [pathname, to, className, displayName, relativeActive],\n );\n const handleClick = useLinkClickHandler(to);\n const _onClick = useCallback((e: React.MouseEvent) => {\n if (!isLeftClickEvent(e) || isModifiedEvent(e) || disabled) {\n return;\n }\n\n e.preventDefault();\n e.stopPropagation();\n\n if (childrenOnClick) {\n childrenOnClick();\n }\n\n if (onClick) {\n onClick();\n }\n\n if (!disabled) {\n handleClick(e);\n }\n }, [disabled, childrenOnClick, onClick, handleClick]);\n\n return React.cloneElement(React.Children.only(children), {\n ...rest,\n className: childrenClassName,\n onClick: _onClick,\n disabled: !!disabled,\n href: disabled ? undefined : to,\n });\n};\n\nLinkContainer.defaultProps = {\n relativeActive: false,\n};\n\nexport {\n Link,\n LinkContainer,\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 */\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { getValueFromInput } from 'util/FormsUtils';\nimport { Input } from 'components/bootstrap';\nimport type { BooleanField as BooleanFieldType } from 'components/configurationforms/types';\n\ntype Props = {\n autoFocus?: boolean,\n field: BooleanFieldType,\n onChange: (title: string, value: boolean, dirty?: boolean) => void,\n title: string,\n typeName: string,\n value?: boolean,\n};\n\nconst BooleanField = ({ autoFocus, field, onChange, title, typeName, value }: Props) => {\n const handleChange = (event) => {\n const nextValue = getValueFromInput(event.target);\n\n onChange(title, nextValue);\n };\n\n return (\n \n );\n};\n\nBooleanField.propTypes = {\n autoFocus: PropTypes.bool,\n field: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n title: PropTypes.string.isRequired,\n typeName: PropTypes.string.isRequired,\n value: PropTypes.bool,\n};\n\nBooleanField.defaultProps = {\n autoFocus: false,\n value: false,\n};\n\nexport default BooleanField;\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 */\ntype NumberFieldAttributes = 'only_negative' | 'only_positive' | 'is_port_number';\ntype TextFieldAttributes = 'is_password' | 'textarea' | 'is_sensitive';\ntype ListFieldAttributes = 'allow_create';\n\nexport type NumberField = {\n additional_info: {},\n attributes: Array,\n default_value: number,\n description: string,\n human_name: string,\n is_optional: boolean,\n position: number,\n type: 'number',\n};\n\nexport type TextField = {\n additional_info: {},\n attributes: Array,\n default_value: string,\n description: string,\n human_name: string,\n is_encrypted: boolean,\n is_optional: boolean,\n position: number,\n type: 'text',\n};\n\nexport type ListField = {\n additional_info: {\n values: {\n [key: string]: string,\n }\n },\n attributes: Array,\n default_value: Array,\n description: string,\n human_name: string,\n is_optional: boolean,\n position: number,\n type: 'list',\n};\n\nexport type DropdownField = {\n additional_info: {\n values: {\n [value: string]: string,\n }\n },\n attributes: [],\n default_value: string,\n description: string,\n human_name: string,\n is_optional: boolean,\n position: number,\n type: 'dropdown',\n};\n\nexport type BooleanField = {\n additional_info: {},\n attributes: [],\n default_value: boolean,\n description: string,\n human_name: string,\n is_optional: true,\n position: number,\n type: 'boolean',\n};\n\nexport type InlineBinaryField = {\n additional_info: {},\n attributes: Array,\n default_value: string,\n description: string,\n human_name: string,\n is_encrypted: boolean,\n is_optional: boolean,\n position: number,\n type: 'inline_binary',\n};\n\nexport type FieldValue = string | number | boolean | void | Array\n\nexport type EncryptedFieldValue = {\n set_value?: Value,\n is_set?: boolean,\n delete_value?: boolean,\n}\n\nexport const FIELD_TYPES_WITH_ENCRYPTION_SUPPORT = ['text', 'inline_binary'] as const;\n\nexport type ConfigurationFieldWithEncryption = TextField | InlineBinaryField;\n\nexport type ConfigurationField = BooleanField | DropdownField | InlineBinaryField | ListField | NumberField | TextField;\n\nexport type ConfigurationFieldValue = FieldValue | EncryptedFieldValue\n\nexport type ConfigurationFormData = {\n title?: string,\n type?: string,\n configuration: Configuration | {},\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 PropTypes from 'prop-types';\nimport * as React from 'react';\nimport { useState, useEffect, forwardRef, useImperativeHandle } from 'react';\n\nimport BootstrapModalForm from 'components/bootstrap/BootstrapModalForm';\nimport { ConfigurationFormField, TitleField } from 'components/configurationforms';\n\nimport { FIELD_TYPES_WITH_ENCRYPTION_SUPPORT } from './types';\nimport type { ConfigurationFormData, ConfigurationField, ConfigurationFieldValue, EncryptedFieldValue, FieldValue, ConfigurationFieldWithEncryption } from './types';\n\ntype Props = {\n cancelAction: () => void,\n configFields?: {\n [key: string]: ConfigurationField,\n },\n children?: React.ReactNode,\n titleHelpText?: string,\n includeTitleField: boolean,\n submitAction: (data: ConfigurationFormData) => void,\n title: string | React.ReactNode | null,\n titleValue: string,\n typeName?: string,\n values: { [key:string]: any },\n wrapperComponent: React.ComponentType void,\n onSubmitForm: () => void,\n submitButtonText: string\n }>>,\n submitButtonText: string,\n}\n\nconst ConfigurationForm = forwardRef(({\n cancelAction,\n configFields,\n children,\n titleHelpText,\n includeTitleField,\n submitAction,\n title,\n titleValue: initialTitleValue,\n typeName,\n values: initialValues,\n wrapperComponent: WrapperComponent,\n submitButtonText,\n} : Props, ref: typeof ConfigurationForm) => {\n const [showConfigurationModal, setShowConfigurationModal] = useState(false);\n const [titleValue, setTitleValue] = useState(undefined);\n const [values, setValues] = useState<{[key:string]: any} | undefined>(undefined);\n const [fieldStates, setFieldStates] = useState<{[key:string]: any} | undefined>({});\n\n useEffect(() => {\n const defaultValues = {};\n\n if (configFields) {\n Object.keys(configFields).forEach((field) => {\n defaultValues[field] = configFields[field].default_value;\n });\n }\n\n setValues({ ...defaultValues, ...initialValues });\n setFieldStates({});\n }, [showConfigurationModal, configFields, initialValues]);\n\n useEffect(() => {\n setTitleValue(initialTitleValue);\n }, [initialTitleValue, showConfigurationModal]);\n\n const getFormData = (): ConfigurationFormData => {\n const data: ConfigurationFormData = {\n type: typeName,\n configuration: {},\n };\n\n if (includeTitleField) {\n data.title = titleValue;\n }\n\n Object.keys(configFields).forEach((fieldName) => {\n data.configuration[fieldName] = (values[fieldName] === undefined ? null : values[fieldName]);\n });\n\n return data;\n };\n\n const sortByPosOrOptionality = (x1, x2) => {\n const DEFAULT_POSITION = 100; // corresponds to ConfigurationField.java\n const x1pos = configFields[x1.name].position || DEFAULT_POSITION;\n const x2pos = configFields[x2.name].position || DEFAULT_POSITION;\n\n let diff = x1pos - x2pos;\n\n if (!diff) {\n const isOptionalToNumber = (optional: boolean) : number => (optional ? 1 : 0);\n\n diff = isOptionalToNumber(configFields[x1.name].is_optional) - isOptionalToNumber(configFields[x2.name].is_optional);\n }\n\n if (!diff) {\n // Sort equal fields stably\n diff = x1.pos - x2.pos;\n }\n\n return diff;\n };\n\n const fieldIsEncrypted = (configField: ConfigurationField) : boolean => {\n const fieldSupportsEncryption = FIELD_TYPES_WITH_ENCRYPTION_SUPPORT.includes(\n (configField.type as unknown as typeof FIELD_TYPES_WITH_ENCRYPTION_SUPPORT[number]),\n );\n\n if (!fieldSupportsEncryption) {\n return false;\n }\n\n return (configField as ConfigurationFieldWithEncryption).is_encrypted;\n };\n\n const handleEncryptedFieldsBeforeSubmit = (data): ConfigurationFormData => {\n const configurationEntries = Object.entries(data.configuration).map(([fieldName, fieldValue] : [string, ConfigurationFieldValue]) => {\n const configField = configFields[fieldName as string];\n const fieldState = fieldStates[fieldName as string];\n\n if (fieldIsEncrypted(configField) && !fieldState?.dirty && fieldValue && (fieldValue as EncryptedFieldValue).is_set !== undefined) {\n return [fieldName, { keep_value: true }];\n }\n\n return [fieldName, fieldValue];\n });\n\n return { ...data, configuration: Object.fromEntries(configurationEntries) };\n };\n\n const handleCancel = () => {\n setShowConfigurationModal(false);\n\n if (cancelAction) {\n cancelAction();\n }\n };\n\n const save = () => {\n const data = getFormData();\n\n submitAction(handleEncryptedFieldsBeforeSubmit(data));\n\n setShowConfigurationModal(false);\n };\n\n useImperativeHandle(ref, () => ({\n open() {\n setShowConfigurationModal(true);\n },\n getValue() {\n return getFormData();\n },\n }));\n\n const handleTitleChange = (_, value) => {\n setTitleValue(value);\n };\n\n const handleChange = (field: string, value: ConfigurationFieldValue, dirty: boolean = true) => {\n setValues({ ...values, ...{ [field]: value } });\n setFieldStates({ ...fieldStates, ...{ [field]: { dirty } } });\n };\n\n const renderConfigField = (configField, key, autoFocus) => {\n if (!values) return null;\n const value = values[key];\n\n return (\n \n );\n };\n\n let shouldAutoFocus = true;\n let titleElement;\n\n if (includeTitleField) {\n titleElement = (\n \n );\n\n shouldAutoFocus = false;\n }\n\n const sortedConfigFieldKeys = Object.keys(configFields).map((name, pos) => ({ name, pos })).sort(sortByPosOrOptionality);\n\n const renderedConfigFields = sortedConfigFieldKeys.map((key) => {\n const configField = renderConfigField(configFields[key.name], key.name, shouldAutoFocus);\n\n if (shouldAutoFocus) {\n shouldAutoFocus = false;\n }\n\n return configField;\n });\n\n return (\n \n
    \n \n {children}\n {titleElement}\n {renderedConfigFields}\n
    \n
    \n );\n});\n\nConfigurationForm.propTypes = {\n cancelAction: PropTypes.func,\n configFields: PropTypes.object,\n children: PropTypes.node,\n titleHelpText: PropTypes.string,\n includeTitleField: PropTypes.bool,\n submitAction: PropTypes.func.isRequired,\n title: PropTypes.node,\n titleValue: PropTypes.string,\n typeName: PropTypes.string,\n values: PropTypes.object,\n wrapperComponent: PropTypes.elementType,\n submitButtonText: PropTypes.string.isRequired,\n};\n\nConfigurationForm.defaultProps = {\n cancelAction: () => {},\n configFields: {},\n children: null,\n titleHelpText: '',\n title: null,\n includeTitleField: true,\n titleValue: '',\n typeName: undefined,\n values: {},\n wrapperComponent: BootstrapModalForm,\n};\n\nexport default ConfigurationForm;\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 React from 'react';\nimport PropTypes from 'prop-types';\n\nimport {\n BooleanField,\n DropdownField,\n EncryptedInlineBinaryField,\n ListField,\n NumberField,\n TextField,\n} from 'components/configurationforms';\nimport type { ConfigurationField, FieldValue, EncryptedFieldValue } from 'components/configurationforms/types';\n\ntype Props = {\n typeName: string,\n configField: ConfigurationField,\n configKey: string,\n configValue: FieldValue | EncryptedFieldValue,\n dirty: boolean,\n autoFocus: boolean,\n onChange: (field: string, value: FieldValue | EncryptedFieldValue, dirty?: boolean) => void,\n};\n\nconst ConfigurationFormField = ({ typeName, configField, configKey, configValue, dirty, autoFocus, onChange }: Props) => {\n const elementKey = `${typeName}-${configKey}`;\n\n switch (configField.type) {\n case 'text':\n return (\n }\n dirty={dirty}\n onChange={onChange}\n autoFocus={autoFocus} />\n );\n case 'number':\n return (\n \n );\n case 'boolean':\n return (\n \n );\n case 'dropdown':\n return (\n \n );\n case 'list':\n return (\n | string}\n onChange={onChange}\n autoFocus={autoFocus} />\n );\n case 'inline_binary':\n if (configField.is_encrypted) {\n return (\n }\n dirty={dirty}\n onChange={onChange}\n autoFocus={autoFocus} />\n );\n }\n\n return null;\n\n default:\n return null;\n }\n};\n\nConfigurationFormField.propTypes = {\n typeName: PropTypes.string.isRequired,\n configField: PropTypes.object.isRequired,\n configKey: PropTypes.string.isRequired,\n configValue: PropTypes.any,\n autoFocus: PropTypes.bool,\n onChange: PropTypes.func.isRequired,\n dirty: PropTypes.bool,\n};\n\nConfigurationFormField.defaultProps = {\n configValue: undefined,\n autoFocus: false,\n dirty: false,\n};\n\nexport default ConfigurationFormField;\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 { Well } from 'components/bootstrap';\n\nclass ConfigurationWell extends React.Component {\n PASSWORD_PLACEHOLDER = '********';\n\n static propTypes = {\n id: PropTypes.string.isRequired,\n configuration: PropTypes.any,\n typeDefinition: PropTypes.object,\n };\n\n static defaultProps = {\n configuration: undefined,\n typeDefinition: {},\n };\n\n _formatRegularField = (value, key) => {\n const { id } = this.props;\n let finalValue;\n\n if (value === null || value === undefined || value === '' || (Array.isArray(value) && value.length === 0)) {\n finalValue = {''};\n } else {\n finalValue = Array.isArray(value) ? value.join(', ') : String(value);\n }\n\n return (
  • {key}:
    {finalValue}
  • );\n };\n\n _formatEncryptedField = (value, key) => {\n const { id } = this.props;\n let finalValue;\n\n if (!value.is_set) {\n finalValue = {''};\n } else {\n finalValue = this.PASSWORD_PLACEHOLDER;\n }\n\n return (
  • {key}:
    {finalValue}
  • );\n };\n\n _formatPasswordField = (value, key) => {\n const { id } = this.props;\n\n return (\n
  • \n
    {key}:
    \n
    {this.PASSWORD_PLACEHOLDER}
    \n
  • \n );\n };\n\n _formatConfiguration = (id, config, typeDefinition) => {\n if (!config) {\n return ('');\n }\n\n const formattedItems = Object.keys(config).sort().map((key) => {\n const value = config[key];\n const requestedConfiguration = (typeDefinition && typeDefinition.requested_configuration ? typeDefinition.requested_configuration[key] : undefined);\n\n if (requestedConfiguration\n && (requestedConfiguration.attributes.indexOf('is_password') > -1 || requestedConfiguration.attributes.indexOf('is_sensitive') > -1)) {\n return this._formatPasswordField(value, key);\n }\n\n if (requestedConfiguration && requestedConfiguration.is_encrypted) {\n return this._formatEncryptedField(value, key);\n }\n\n return this._formatRegularField(value, key);\n });\n\n if (formattedItems.length < 1) {\n formattedItems.push(
  • -- no configuration --
  • );\n }\n\n return (\n
      \n {formattedItems}\n
    \n );\n };\n\n render() {\n const { id, configuration, typeDefinition } = this.props;\n\n return (\n \n {this._formatConfiguration(id, configuration, typeDefinition)}\n \n );\n }\n}\n\nexport default ConfigurationWell;\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';\n\nimport type { ConfigurationField } from 'components/configurationforms/types';\n\nexport const hasAttribute = (array: Array, attribute: string): boolean => array.find((e) => e.toLowerCase() === attribute.toLowerCase()) !== undefined;\n\nexport const optionalMarker = (field: ConfigurationField): React.ReactNode | null => (field.is_optional && field.type !== 'boolean' ? (optional) : null);\n\nexport default {\n hasAttribute,\n optionalMarker,\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 */\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport type { DropdownField as DropdownFieldType } from 'components/configurationforms/types';\nimport { Input } from 'components/bootstrap';\nimport { optionalMarker } from 'components/configurationforms/FieldHelpers';\n\ntype Props = {\n autoFocus?: boolean,\n field: DropdownFieldType,\n onChange: (title: string, value: string, dirty?: boolean) => void,\n title: string,\n typeName: string,\n value: string,\n addPlaceholder: boolean,\n};\n\nconst DropdownField = ({ autoFocus, field, onChange, title, typeName, value, addPlaceholder }: Props) => {\n const formatOption = (key, displayValue, disabled = false) => (\n \n );\n\n const handleChange = (event) => {\n onChange(title, event.target.value);\n };\n\n const options = Object.entries(field.additional_info.values).map(([k, v]) => formatOption(k, v));\n\n if (addPlaceholder) {\n options.unshift(formatOption('', `Select ${field.human_name || title}`, true));\n }\n\n const label = <>{field.human_name} {optionalMarker(field)};\n\n return (\n \n {options}\n \n );\n};\n\nDropdownField.propTypes = {\n autoFocus: PropTypes.bool,\n field: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n title: PropTypes.string.isRequired,\n typeName: PropTypes.string.isRequired,\n value: PropTypes.string,\n addPlaceholder: PropTypes.bool,\n};\n\nDropdownField.defaultProps = {\n autoFocus: false,\n addPlaceholder: false,\n value: '',\n};\n\nexport default DropdownField;\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, { useState } from 'react';\nimport styled from 'styled-components';\n\nimport { Button, Input } from 'components/bootstrap';\nimport { optionalMarker } from 'components/configurationforms/FieldHelpers';\n\nimport type { EncryptedFieldValue, InlineBinaryField as InlineBinaryFieldType } from './types';\n\ntype Props = {\n autoFocus: boolean,\n field: InlineBinaryFieldType,\n dirty: boolean,\n onChange: (title: string, value: any, dirty?: boolean) => void,\n title: string,\n typeName: string,\n value?: EncryptedFieldValue,\n};\n\nconst FileContent = styled.span`\n vertical-align: middle;\n`;\n\nconst EncryptedInlineBinaryField = ({ field, title, typeName, dirty, onChange, value, autoFocus }: Props) => {\n const [fileName, setFileName] = useState(undefined);\n const [isResetted, setIsResetted] = useState(false);\n const isValuePresent = value.is_set;\n const isRequired = !field.is_optional;\n const showReadOnly = !dirty && isValuePresent;\n const fieldId = `${typeName}-${title}`;\n\n const labelContent = <>{field.human_name} {optionalMarker(field)};\n\n const handleFileRead = (fileReader: FileReader, file) => {\n const dataUrl = fileReader.result;\n\n if (dataUrl && typeof dataUrl === 'string') {\n const dataString = dataUrl.replace(/^data:[\\s\\S]+\\/[\\s\\S]+;base64,/, '');\n setFileName(file.name);\n\n if (field.is_encrypted) {\n onChange(title, { set_value: dataString });\n } else {\n onChange(title, dataString);\n }\n }\n };\n\n const handleReset = () => {\n setIsResetted(true);\n onChange(title, { delete_value: true });\n };\n\n const handleUndoReset = () => {\n setIsResetted(false);\n setFileName(undefined);\n onChange(title, { is_set: true }, false);\n };\n\n const resetButton = () => {\n if (isValuePresent) {\n return (\n \n );\n }\n\n return null;\n };\n\n const undoResetButton = () => {\n if (!isResetted) return null;\n\n return (\n \n );\n };\n\n const removeButton = () => {\n if (fileName) {\n return (\n \n );\n }\n\n return null;\n };\n\n const handleFileUpload = (file: File) => {\n const fileReader = new FileReader();\n\n fileReader.onloadend = (_) => handleFileRead(fileReader, file);\n\n if (file) {\n fileReader.readAsDataURL(file);\n }\n };\n\n const readOnlyFileInput = () => (\n \n );\n\n const fileInput = () => (\n (fileName) ? (\n {removeButton()}{undoResetButton()}}>\n {fileName}\n \n ) : (\n handleFileUpload(e.target.files[0])}\n autoFocus={autoFocus} />\n )\n );\n\n return (\n showReadOnly ? readOnlyFileInput() : fileInput());\n};\n\nEncryptedInlineBinaryField.propTypes = {\n autoFocus: PropTypes.bool,\n dirty: PropTypes.bool,\n field: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n title: PropTypes.string.isRequired,\n typeName: PropTypes.string.isRequired,\n value: PropTypes.object,\n};\n\nEncryptedInlineBinaryField.defaultProps = {\n autoFocus: false,\n dirty: false,\n value: {},\n};\n\nexport default EncryptedInlineBinaryField;\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 React from 'react';\nimport PropTypes from 'prop-types';\n\nimport type { ListField as ListFieldType } from 'components/configurationforms/types';\nimport { MultiSelect } from 'components/common';\nimport { Input } from 'components/bootstrap';\nimport { optionalMarker } from 'components/configurationforms/FieldHelpers';\n\ntype Props = {\n autoFocus?: boolean,\n field: ListFieldType,\n onChange: (title: string, value: Array, dirty?: boolean) => void,\n title: string,\n typeName: string,\n value: Array | string,\n};\n\nconst ListField = ({ autoFocus, field, onChange, title, typeName, value }: Props) => {\n const handleChange = (nextValue) => {\n const values = (nextValue === '' ? [] : nextValue.split(','));\n\n onChange(title, values);\n };\n\n const isRequired = !field.is_optional;\n const allowCreate = field.attributes.includes('allow_create');\n const options = field.additional_info?.values || {};\n const formattedOptions = Object.entries(options)\n .map(([label, optionValue]) => ({ value: optionValue, label: label }));\n\n const label = <>{field.human_name} {optionalMarker(field)};\n\n const selectValue = Array.isArray(value) ? value.join(',') : value;\n\n return (\n \n \n \n );\n};\n\nListField.propTypes = {\n autoFocus: PropTypes.bool,\n field: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n title: PropTypes.string.isRequired,\n typeName: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),\n};\n\nListField.defaultProps = {\n autoFocus: false,\n value: undefined,\n};\n\nexport default ListField;\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 Input from 'components/bootstrap/Input';\nimport { getValueFromInput } from 'util/FormsUtils';\nimport { optionalMarker } from 'components/configurationforms/FieldHelpers';\n\nimport type { NumberField as NumberFieldType } from './types';\n\ntype Props = {\n autoFocus?: boolean,\n field: NumberFieldType,\n onChange: (title: string, value: number, dirty?: boolean) => void,\n title: string,\n typeName: string,\n value: number,\n};\n\nconst NumberField = ({ autoFocus, field, onChange, title, typeName, value }: Props) => {\n const _getDefaultValidationSpecs = () => ({ min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER });\n\n const _mapValidationAttribute = (attribute) => {\n const { min, max } = _getDefaultValidationSpecs();\n\n switch (attribute.toUpperCase()) {\n case 'ONLY_NEGATIVE': return { min: min, max: -1 };\n case 'ONLY_POSITIVE': return { min: 0, max: max };\n case 'IS_PORT_NUMBER': return { min: 0, max: 65535 };\n default: return { min, max };\n }\n };\n\n const validationSpec = () => {\n const validationAttributes = field.attributes.map(_mapValidationAttribute);\n\n if (validationAttributes.length > 0) {\n // The server may return more than one validation attribute, but it doesn't make sense to use more\n // than one validation for a number field, so we return the first one\n return validationAttributes[0];\n }\n\n return _getDefaultValidationSpecs();\n };\n\n const handleChange = ({ target }) => {\n const numericValue = getValueFromInput(target);\n\n onChange(title, numericValue);\n };\n\n const isRequired = !field.is_optional;\n const validationSpecs = validationSpec();\n\n const label = <>{field.human_name} {optionalMarker(field)};\n\n return (\n \n );\n};\n\nNumberField.propTypes = {\n autoFocus: PropTypes.bool,\n field: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n title: PropTypes.string.isRequired,\n typeName: PropTypes.string.isRequired,\n value: PropTypes.number,\n};\n\nNumberField.defaultProps = {\n autoFocus: false,\n value: 0,\n};\n\nexport default NumberField;\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, { useState } from 'react';\n\nimport { Button, Input } from 'components/bootstrap';\nimport { hasAttribute, optionalMarker } from 'components/configurationforms/FieldHelpers';\nimport { getValueFromInput } from 'util/FormsUtils';\n\nimport type { TextField as TextFieldType, EncryptedFieldValue } from './types';\n\ntype Props = {\n autoFocus: boolean,\n field: TextFieldType,\n dirty: boolean,\n onChange: (title: string, value: string | EncryptedFieldValue, dirty?: boolean) => void,\n title: string,\n typeName: string,\n value?: string | EncryptedFieldValue,\n};\n\nconst TextField = ({ field, title, typeName, dirty, onChange, value, autoFocus }: Props) => {\n const isRequired = !field.is_optional;\n const showReadOnlyEncrypted = field.is_encrypted && !dirty && typeof value !== 'string' && value.is_set;\n const fieldType = (!hasAttribute(field.attributes, 'textarea') && (hasAttribute(field.attributes, 'is_password') || showReadOnlyEncrypted) ? 'password' : 'text');\n const fieldId = `${typeName}-${title}`;\n const [isResetted, setIsResetted] = useState(false);\n\n const labelContent = <>{field.human_name} {optionalMarker(field)};\n\n const getFieldValue = () => {\n if (showReadOnlyEncrypted) return 'encrypted placeholder';\n\n if (typeof value === 'string') return value;\n\n if (value && value.set_value) {\n return value.set_value;\n }\n\n return '';\n };\n\n const handleChange = ({ target }) => {\n const inputValue = getValueFromInput(target);\n\n if (field.is_encrypted) {\n onChange(title, { set_value: inputValue });\n } else {\n onChange(title, inputValue);\n }\n };\n\n const handleReset = () => {\n setIsResetted(true);\n onChange(title, { delete_value: true });\n };\n\n const handleUndoReset = () => {\n setIsResetted(false);\n onChange(title, { is_set: true }, false);\n };\n\n const buttonAfter = () => {\n if (isResetted) {\n return (\n \n );\n }\n\n if (!showReadOnlyEncrypted) {\n return null;\n }\n\n return (\n \n );\n };\n\n if (hasAttribute(field.attributes, 'textarea')) {\n return (\n \n );\n }\n\n return (\n \n );\n};\n\nTextField.propTypes = {\n autoFocus: PropTypes.bool,\n dirty: PropTypes.bool,\n field: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n title: PropTypes.string.isRequired,\n typeName: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n};\n\nTextField.defaultProps = {\n autoFocus: false,\n dirty: false,\n value: '',\n};\n\nexport default TextField;\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 { TextField } from 'components/configurationforms';\n\nimport type { TextField as TextFieldType } from './types';\n\ntype Props = {\n helpText?: string,\n onChange: (title: string, value: string, dirty?: boolean) => void,\n typeName: string,\n value: string,\n};\n\nconst TitleField = ({ typeName, helpText, value, onChange }: Props) => {\n const titleField: TextFieldType = {\n is_optional: false,\n attributes: [],\n human_name: 'Title',\n description: helpText,\n is_encrypted: false,\n additional_info: {},\n default_value: '',\n position: 0,\n type: 'text',\n };\n\n return (\n \n );\n};\n\nTitleField.propTypes = {\n helpText: PropTypes.string,\n onChange: PropTypes.func,\n typeName: PropTypes.string.isRequired,\n value: PropTypes.string,\n};\n\nTitleField.defaultProps = {\n helpText: '',\n onChange: () => {},\n value: '',\n};\n\nexport default TitleField;\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 */\nenum ConfigurationType {\n SEARCHES_CLUSTER_CONFIG = 'org.graylog2.indexer.searches.SearchesClusterConfig',\n MESSAGE_PROCESSORS_CONFIG = 'org.graylog2.messageprocessors.MessageProcessorsConfig',\n SIDECAR_CONFIG = 'org.graylog.plugins.sidecar.system.SidecarConfiguration',\n EVENTS_CONFIG = 'org.graylog.events.configuration.EventsConfiguration',\n INDEX_SETS_DEFAULTS_CONFIG = 'org.graylog2.configuration.IndexSetsDefaultConfiguration',\n URL_WHITELIST_CONFIG = 'org.graylog2.system.urlwhitelist.UrlWhitelist',\n PERMISSIONS_CONFIG = 'org.graylog2.users.UserAndTeamsConfig',\n USER_CONFIG = 'org.graylog2.users.UserConfiguration',\n CERTIFICATE_RENEWAL_POLICY_CONFIG = 'org.graylog2.plugin.certificates.RenewalPolicy',\n}\n\nenum PluginConfigurationType {\n COLLECTORS_SYSTEM = 'org.graylog.plugins.collector.system.CollectorSystemConfiguration',\n AWS = 'org.graylog.aws.config.AWSPluginConfiguration',\n THREAT_INTEL = 'org.graylog.plugins.threatintel.ThreatIntelPluginConfiguration',\n FAILURE_PROCESSING = 'org.graylog.plugins.failure.config.EnterpriseFailureHandlingConfiguration',\n TRAFFIC_LIMIT_VIOLATION = 'org.graylog.plugins.license.violations.TrafficLimitViolationSettings',\n GEO_LOCATION = 'org.graylog.plugins.map.config.GeoIpResolverConfig',\n}\n\nexport { ConfigurationType, PluginConfigurationType };\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, useEffect, useCallback, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport cloneDeep from 'lodash/cloneDeep';\nimport debounce from 'lodash/debounce';\nimport map from 'lodash/map';\nimport styled from 'styled-components';\n\nimport Input from 'components/bootstrap/Input';\n// Explicit import to fix eslint import/no-cycle\nimport Select from 'components/common/Select';\nimport Icon from 'components/common/Icon';\nimport { Button, Table } from 'components/bootstrap';\nimport { getValueFromInput } from 'util/FormsUtils';\nimport type { Url, WhiteListConfig } from 'stores/configurations/ConfigurationsStore';\nimport ToolsStore from 'stores/tools/ToolsStore';\nimport { isValidURL } from 'util/URLUtils';\nimport generateId from 'logic/generateId';\n\ntype ValidationResult = {\n title: { valid: boolean },\n value: { valid: boolean },\n};\n\nconst StyledTable = styled(Table)`\n margin-top: 10px;\n`;\n\nconst validateUrlEntry = async (idx: number, entry: Url, callback?: (...any) => void): Promise => {\n const validationResult = {\n title: { valid: false },\n value: { valid: false },\n };\n\n validationResult.title = entry.title.trim().length <= 0 ? { valid: false } : { valid: true };\n\n let valueValidation = { valid: false };\n\n if (entry.type === 'literal') {\n valueValidation = isValidURL(entry.value) ? { valid: true } : { valid: false };\n } else if (entry.type === 'regex' && entry.value.trim().length > 0) {\n valueValidation = (await ToolsStore.testRegexValidity(entry.value)).is_valid ? { valid: true } : { valid: false };\n }\n\n validationResult.value = valueValidation;\n\n if (typeof callback === 'function') {\n callback(idx, entry, validationResult);\n }\n\n return validationResult;\n};\n\nconst debouncedValidateUrlEntry = debounce(validateUrlEntry, 200);\n\ntype Props = {\n urls: Array,\n disabled: boolean,\n onUpdate: (config: WhiteListConfig, valid: boolean) => void,\n newEntryId?: string,\n};\n\nconst UrlWhiteListForm = ({ urls, onUpdate, disabled, newEntryId }: Props) => {\n const literal = 'literal';\n const regex = 'regex';\n const options = [{ value: literal, label: 'Exact match' }, { value: regex, label: 'Regex' }];\n // eslint-disable-next-line prefer-const\n let inputs = {};\n const [config, setConfig] = useState({ entries: urls, disabled });\n const [validationState, setValidationState] = useState({ errors: [] });\n const isInitialRender = useRef(false);\n\n const _onAdd = (event: Event) => {\n event.preventDefault();\n setConfig({ ...config, entries: [...config.entries, { id: generateId(), title: '', value: '', type: literal }] });\n };\n\n const _onRemove = (event: MouseEvent, idx: number) => {\n event.preventDefault();\n // eslint-disable-next-line prefer-const\n let stateUpdate = cloneDeep(config);\n const validationUpdate = cloneDeep(validationState);\n\n validationUpdate.errors[idx] = null;\n setValidationState(validationUpdate);\n stateUpdate.entries.splice(idx, 1);\n setConfig(stateUpdate);\n };\n\n const hasValidationErrors = useCallback(() => {\n let isValid = true;\n\n if (validationState.errors.length > 0\n && validationState.errors.find(((el) => (el && el.title && el.title.valid) === false\n || (el && el.value && el.value.valid === false)))) {\n isValid = false;\n }\n\n return isValid;\n }, [validationState]);\n\n const _updateState = (idx: number, nextEntry: Url) => {\n const stateUpdate = cloneDeep(config);\n stateUpdate.entries[idx] = nextEntry;\n setConfig(stateUpdate);\n };\n\n const _updateValidationError = (idx: number, nextEntry: Url, entryValidation: ValidationResult) => {\n setValidationState((prevValidationState) => {\n const nextValidationState = cloneDeep(prevValidationState);\n nextValidationState.errors[idx] = entryValidation;\n\n return nextValidationState;\n });\n\n _updateState(idx, nextEntry);\n };\n\n const _validate = async (name: string, idx: number, value: string): Promise => {\n const nextEntry = { ...config.entries[idx], [name]: value };\n await debouncedValidateUrlEntry(idx, nextEntry, _updateValidationError);\n };\n\n const _onInputChange = (event: React.ChangeEvent, idx: number) => {\n _validate(event.target.name, idx, getValueFromInput(event.target));\n };\n\n const _onUpdateType = (idx: number, type: string) => {\n _validate('type', idx, type);\n };\n\n const _getErrorMessage = (type: string) => (type === regex ? 'Not a valid Java regular expression' : 'Not a valid URL');\n\n const _getSummary = () => (config.entries.map((url, idx) => (\n \n {idx + 1}\n \n { inputs[`title${idx}`] = elem; }}\n help={validationState.errors[idx] && validationState.errors[idx].title && !validationState.errors[idx].title.valid ? 'Required field' : null}\n name=\"title\"\n bsStyle={validationState.errors[idx] && validationState.errors[idx].title && !validationState.errors[idx].title.valid ? 'error' : null}\n onChange={(event) => _onInputChange(event, idx)}\n defaultValue={url.title}\n required />\n \n \n { inputs[`value${idx}`] = elem; }}\n help={validationState.errors[idx] && validationState.errors[idx].value && !validationState.errors[idx].value.valid ? _getErrorMessage(url.type) : null}\n name=\"value\"\n bsStyle={validationState.errors[idx] && validationState.errors[idx].value && !validationState.errors[idx].value.valid ? 'error' : null}\n onChange={(event) => _onInputChange(event, idx)}\n defaultValue={url.value}\n required />\n \n \n \n setConfig({ ...config, disabled: !config.disabled })}\n help=\"Disable the whitelist functionality. Warning: Disabling this option will allow users to enter any URL in Graylog entities, which may pose a security risk.\" />\n \n \n \n \n #\n Title\n URL\n Type\n Actions\n \n \n \n {_getSummary()}\n \n \n \n \n );\n};\n\nUrlWhiteListForm.propTypes = {\n urls: PropTypes.array,\n disabled: PropTypes.bool,\n onUpdate: PropTypes.func,\n newEntryId: PropTypes.string,\n};\n\nUrlWhiteListForm.defaultProps = {\n urls: [],\n disabled: false,\n onUpdate: () => {},\n newEntryId: undefined,\n};\n\nexport default UrlWhiteListForm;\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';\nimport styled, { css } from 'styled-components';\nimport chroma from 'chroma-js';\n\nimport { Col, Jumbotron, Row } from 'components/bootstrap';\n\nconst H1 = styled.h1(({ theme }) => css`\n font-size: ${theme.fonts.size.extraLarge};\n margin-bottom: 15px;\n`);\n\nconst ContainerRow = styled(Row)`\n height: 82vh;\n`;\n\nconst StyledErrorJumbotron = styled(Jumbotron)(({ theme }) => css`\n background-color: ${chroma(theme.colors.global.contentBackground).alpha(0.8).css()};\n text-align: center;\n`);\n\nconst ErrorJumbotron = ({ children, title }) => (\n \n \n \n

    {title}

    \n {children}\n
    \n \n
    \n);\n\nErrorJumbotron.propTypes = {\n children: PropTypes.node.isRequired,\n title: PropTypes.string.isRequired,\n};\n\nexport default ErrorJumbotron;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { createGlobalStyle, css } from 'styled-components';\n\nimport NotFoundBackgroundImage from 'assets/not-found-bg.jpg';\nimport PageContentLayout from 'components/layout/PageContentLayout';\nimport DocumentTitle from 'components/common/DocumentTitle';\nimport ErrorJumbotron from 'components/errors/ErrorJumbotron';\n\nconst generateStyles = () => css<{ backgroundImage: string }>`\n body {\n background: url(${({ backgroundImage }) => backgroundImage}) no-repeat center center fixed;\n background-size: cover;\n }\n`;\n\nconst ErrorMessage = styled.div(({ theme }) => css`\n margin-left: auto;\n margin-right: auto;\n text-align: left;\n\n dt {\n font-size: ${theme.fonts.size.body};\n font-weight: normal;\n overflow: auto;\n }\n\n p {\n font-size: inherit;\n }\n`);\n\ntype Props = {\n backgroundImage?: string,\n children?: React.ReactNode,\n displayPageLayout: boolean,\n description: React.ReactNode,\n title: string,\n};\n\nconst ErrorPageStyles = createGlobalStyle`\n ${generateStyles()}\n`;\n\nconst ErrorPage = ({ children, title, description, backgroundImage, displayPageLayout }: Props) => {\n const PageLayoutComponent = displayPageLayout ? PageContentLayout : React.Fragment;\n\n return (\n \n \n \n \n {description}\n {children && (\n \n {children}\n \n )}\n \n \n \n );\n};\n\nErrorPage.propTypes = {\n children: PropTypes.node,\n description: PropTypes.node.isRequired,\n displayPageLayout: PropTypes.bool,\n title: PropTypes.string.isRequired,\n backgroundImage: PropTypes.string,\n};\n\nErrorPage.defaultProps = {\n children: undefined,\n displayPageLayout: true,\n backgroundImage: NotFoundBackgroundImage,\n};\n\nexport default ErrorPage;\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]!./CommonNotificationSummary.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]!./CommonNotificationSummary.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 PropTypes from 'prop-types';\n\nimport { Table, Button } from 'components/bootstrap';\nimport { Icon } from 'components/common';\n\nimport styles from './CommonNotificationSummary.css';\n\nclass CommonNotificationSummary extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n notification: PropTypes.object.isRequired,\n definitionNotification: PropTypes.object.isRequired,\n children: PropTypes.element.isRequired,\n };\n\n state = {\n displayDetails: false,\n };\n\n toggleDisplayDetails = () => {\n const { displayDetails } = this.state;\n\n this.setState({ displayDetails: !displayDetails });\n };\n\n render() {\n const { type, notification, definitionNotification, children } = this.props;\n const { displayDetails } = this.state;\n\n return (\n <>\n

    {notification.title || definitionNotification.notification_id}

    \n
    \n
    {type}
    \n
    \n \n {displayDetails && (\n \n \n \n \n \n \n {children}\n \n
    Description{notification.description || 'No description given'}
    \n )}\n
    \n
    \n \n );\n }\n}\n\nexport default CommonNotificationSummary;\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';\n\nimport { getFullVersion } from 'util/Version';\nimport connect from 'stores/connect';\nimport type { Store } from 'stores/StoreTypes';\nimport { SystemStore } from 'stores/system/SystemStore';\n\ntype SystemStoreState = {\n system: {\n version?: string,\n hostname?: string,\n };\n};\n\ntype Jvm = {\n info: string;\n};\n\ntype Props = {\n system?: {\n version?: string,\n hostname?: string,\n },\n};\n\nconst StandardFooter = ({ system }: Props) => {\n const [jvm, setJvm] = useState();\n\n useEffect(() => {\n let mounted = true;\n\n SystemStore.jvm().then((jvmInfo) => {\n if (mounted) {\n setJvm(jvmInfo);\n }\n });\n\n return () => {\n mounted = false;\n };\n }, []);\n\n if (!(system && jvm)) {\n return (\n <>Graylog {getFullVersion()}\n );\n }\n\n return (\n <>\n Graylog {system.version} on {system.hostname} ({jvm.info})\n \n );\n};\n\nStandardFooter.propTypes = {\n system: PropTypes.shape({\n version: PropTypes.string,\n hostname: PropTypes.string,\n }),\n};\n\nStandardFooter.defaultProps = {\n system: undefined,\n};\n\nexport default connect(\n StandardFooter,\n { system: SystemStore as Store },\n ({ system: { system } = { system: undefined } }) => ({ system }),\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 styled, { css } from 'styled-components';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport StandardFooter from './StandardFooter';\n\nconst StyledFooter = styled.footer(({ theme }) => css`\n text-align: center;\n font-size: ${theme.fonts.size.small};\n color: ${theme.colors.gray[70]};\n height: 20px;\n\n /* This combination of padding and box-sizing is required to fix a firefox flexbox bug */\n box-sizing: content-box;\n padding-bottom: ${theme.spacings.sm};\n\n @media print {\n display: none;\n }\n`);\n\nconst Footer = () => {\n const customFooter = PluginStore.exports('pageFooter');\n\n if (customFooter.length === 1) {\n const CustomFooter = customFooter[0].component;\n\n return (\n \n \n \n );\n }\n\n return (\n \n \n \n );\n};\n\nFooter.propTypes = {};\n\nexport default Footer;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport { Outlet } from 'react-router-dom';\n\nimport WithGlobalAppNotifications from 'components/notifications/WithGlobalAppNotifications';\nimport { Grid } from 'components/bootstrap';\nimport Footer from 'components/layout/Footer';\n\ntype Props = {\n children?: React.ReactNode,\n className?: string,\n FooterComponent?: React.ComponentType,\n NotificationsComponent?: React.ComponentType<{ children: React.ReactNode; }>,\n};\n\nconst Container = styled.div(({ theme }) => `\n display: flex;\n flex-direction: column;\n overflow: auto;\n height: 100%;\n width: 100%;\n\n /* Bottom gap is defined by the footer */\n padding: ${theme.spacings.sm} ${theme.spacings.sm} 0 ${theme.spacings.sm};\n`);\n\nconst StyledGrid = styled(Grid)`\n width: 100%;\n flex: 1;\n margin-bottom: 10px;\n`;\n\n/*\n * Provides the basic layout for the page content section.\n * The section includes all page specific components, but not elements like the navigation or sidebar.\n */\nconst PageContentLayout = ({ children, className, FooterComponent, NotificationsComponent }: Props) => (\n \n \n \n {children || }\n \n \n \n \n);\n\nPageContentLayout.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n};\n\nPageContentLayout.defaultProps = {\n children: undefined,\n className: undefined,\n FooterComponent: Footer,\n NotificationsComponent: WithGlobalAppNotifications,\n};\n\nexport default PageContentLayout;\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';\nimport styled, { css } from 'styled-components';\n\nconst Wrapper = styled.div(({ theme }) => css`\n background-color: ${theme.colors.global.contentBackground};\n display: flex;\n justify-content: center;\n align-items: center;\n width: 33%;\n padding: 30px;\n max-width: 440px;\n min-width: 330px;\n`);\n\nconst Container = styled.div`\n width: 100%;\n`;\n\ntype Props = {\n children: React.ReactNode,\n};\n\nconst LoginBox = ({ children }: Props) => (\n \n \n {children}\n \n \n);\n\nLoginBox.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default LoginBox;\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 bgImage from 'images/auth/banner-bg.jpg';\nimport LoginBox from 'components/login/LoginBox';\nimport PublicNotifications from 'components/common/PublicNotifications';\nimport graylogLogo from 'images/auth/gl_logo_horiz.svg';\n\nconst Logo = styled.img`\n display: block;\n height: 5rem;\n width: auto;\n margin: auto;\n margin-bottom: 1.5rem;\n`;\n\nconst Background = styled.div`\n position: relative;\n height: 100vh;\n width: 100%;\n`;\n\nconst BackgroundText = styled.div`\n z-index: -1;\n display: flex;\n flex-direction: column;\n position: absolute;\n vertical-align: middle;\n justify-content: center;\n height: 100%;\n width: 100%;\n padding: 0 30px;\n background-image: url(${bgImage});\n background-position: center;\n background-size: cover;\n`;\n\nconst NotificationsContainer = styled.div`\n position: absolute;\n top: 0;\n margin-top: 5px;\n width: 100%;\n`;\n\nconst LoginContainer = styled.div`\n display: flex;\n flex: 1 1 0%;\n flex-direction: row;\n min-width: 100%;\n min-height: 100%;\n`;\n\nconst TextContainer = styled.div`\n vertical-align: middle;\n justify-content: center;\n place-self: center center;\n height: auto;\n`;\n\nconst WelcomeMessage = styled.strong(({ theme }) => css`\n display: block;\n font-size: ${theme.fonts.size.extraLarge};\n font-weight: 800;\n margin-top: 1.5rem;\n margin-bottom: 1.5rem;\n`);\n\nconst Claim = styled.h1(({ theme }) => css`\n color: #fcfcfc;\n text-transform: uppercase;\n font-size: ${theme.fonts.size.huge};\n line-height: 1;\n font-weight: 600;\n`);\nconst Highlight = styled.span(({ theme }) => css`\n color: ${theme.colors.brand.primary};\n`);\n\ntype Props = {\n children: React.ReactNode,\n};\n\nconst LoginChrome = ({ children }: Props) => (\n \n \n Welcome to Graylog\n {children}\n \n \n \n \n \n \n \n \n Data. Insights. Answers.\n \n \n \n \n);\n\nexport default LoginChrome;\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 { PluginStore } from 'graylog-web-plugin/plugin';\n\nconst GlobalAppNotifications = () => {\n const globalNotifications = PluginStore.exports('globalNotifications')\n .map((notification) => {\n if (!notification.component) {\n // eslint-disable-next-line no-console\n console.error('Missing \"component\" for globalNotification plugin:', notification);\n\n return null;\n }\n\n const Component = notification.component;\n\n if (!notification.key) {\n // eslint-disable-next-line no-console\n console.warn('Missing \"key\" for globalNotification plugin:', notification);\n }\n\n return ;\n })\n .filter((component) => !!component);\n\n return (<>{globalNotifications});\n};\n\nexport default GlobalAppNotifications;\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 PublicNotifications from 'components/common/PublicNotifications';\n\nimport GlobalAppNotifications from './GlobalAppNotifications';\n\ntype Props = {\n children: React.ReactNode\n}\n\nconst WithGlobalNotifications = ({ children }: Props) => (\n <>\n \n \n {children}\n \n);\n\nWithGlobalNotifications.propTypes = {\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.element),\n PropTypes.element,\n ]).isRequired,\n};\n\nexport default WithGlobalNotifications;\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 from 'styled-components';\n\ntype Props = {\n children: React.ReactNode,\n className?: string,\n};\n\nconst Container = styled.div`\n display: flex;\n\n > div:first-child > div {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n\n > div:last-child > div {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n\n > div:not(:first-child) > div {\n border-left: 0;\n }\n\n > div:not(:first-child, :last-child) > div {\n border-radius: 0;\n }\n`;\n\nconst SelectGroup = ({ children, className }: Props) => {children};\n\nSelectGroup.defaultProps = {\n className: undefined,\n};\n\nexport default SelectGroup;\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 { $PropertyType } from 'utility-types';\nimport styled, { css } from 'styled-components';\n\nimport type Grantee from 'logic/permissions/Grantee';\nimport { Icon } from 'components/common';\n\nconst Container = styled.div(({ theme }) => css`\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n height: 30px;\n width: 30px;\n\n border-radius: 50%;\n background-color: ${theme.colors.gray[80]};\n`);\n\ntype Props = {\n type: $PropertyType,\n};\n\nconst _iconName = (type) => {\n switch (type) {\n case 'global':\n return 'building';\n case 'team':\n return 'users';\n case 'error':\n return 'exclamation';\n case 'user':\n default:\n return 'user';\n }\n};\n\nconst GranteeIcon = ({ type, ...rest }: Props) => (\n \n \n \n);\n\nexport default GranteeIcon;\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 { $PropertyType } from 'utility-types';\nimport { useCallback } from 'react';\nimport { Field } from 'formik';\n\nimport { Select } from 'components/common';\nimport type { CapabilitiesList } from 'logic/permissions/EntityShareState';\nimport type { CapabilityType } from 'logic/permissions/types';\n\nconst _capabilitiesOptions = (capabilities: CapabilitiesList) => (\n capabilities.map((capability) => (\n { label: capability.title, value: capability.id }\n )).toJS()\n);\n\ntype Props = {\n onChange?: (id: $PropertyType) => void,\n capabilities: CapabilitiesList,\n title?: string,\n};\n\nconst CapabilitySelect = ({ capabilities, onChange, title, ...rest }: Props) => {\n const capabilitiesOptions = _capabilitiesOptions(capabilities);\n\n const handleChange = useCallback((name, capabilityId, onFieldChange) => {\n onFieldChange({ target: { value: capabilityId, name } });\n\n if (typeof onChange === 'function') {\n onChange(capabilityId);\n }\n }, [onChange]);\n\n return (\n \n {({ field: { name, value, onChange: onFieldChange } }) => (\n onOptionChange(options, onChange, newValue)}\n options={options}\n clearable={false}\n aria-label=\"Select field for sorting\"\n value={currentValue(sort, options)} />\n );\n};\n\nFieldSortSelect.propTypes = {\n onChange: PropTypes.func.isRequired,\n fields: CustomPropTypes.FieldListType.isRequired,\n sort: PropTypes.array.isRequired,\n};\n\nexport default FieldSortSelect;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\n\nimport Select from 'components/common/Select';\nimport Direction from 'views/logic/aggregationbuilder/Direction';\n\ntype Props = {\n direction: string | undefined | null,\n disabled: boolean,\n onChange: (newDirection: Direction) => any,\n};\n\nconst SortDirectionSelect = ({ direction, disabled, onChange }: Props) => (\n \n \n );\n }\n}\n\nexport default SelectExtractorType;\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 Immutable from 'immutable';\n\nimport VisualizationConfig from './VisualizationConfig';\nimport Viewport from './Viewport';\nimport type { ViewportJson } from './Viewport';\n\ntype State = {\n viewport: Viewport,\n};\n\ntype WorldMapVisualizationConfigJson = {\n viewport: ViewportJson,\n};\n\nexport default class WorldMapVisualizationConfig extends VisualizationConfig {\n _value: State;\n\n constructor(viewport: Viewport) {\n super();\n this._value = { viewport };\n }\n\n get viewport() {\n return this._value.viewport;\n }\n\n toBuilder() {\n const { viewport } = this._value;\n\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder(Immutable.Map({ viewport }));\n }\n\n static create(viewport: Viewport) {\n return new WorldMapVisualizationConfig(viewport);\n }\n\n toJSON() {\n const { viewport } = this._value;\n\n return {\n viewport,\n };\n }\n\n static fromJSON(_type: string, value: WorldMapVisualizationConfigJson) {\n const { viewport } = value;\n\n return WorldMapVisualizationConfig.builder()\n .viewport(Viewport.fromJSON(viewport))\n .build();\n }\n\n static builder(): Builder {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder();\n }\n}\n\ntype InternalBuilderState = Immutable.Map;\n\nclass Builder {\n value: InternalBuilderState;\n\n constructor(value: InternalBuilderState = Immutable.Map()) {\n this.value = value;\n }\n\n viewport(value: Viewport) {\n return new Builder(this.value.set('viewport', value));\n }\n\n build() {\n const { viewport } = this.value.toObject();\n\n return new WorldMapVisualizationConfig(viewport);\n }\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 { DEFAULT_MESSAGE_FIELDS, MISSING_BUCKET_NAME } from 'views/Constants';\nimport { escape, addToQuery } from 'views/logic/queries/QueryHelper';\nimport TitleTypes from 'views/stores/TitleTypes';\nimport type { AppDispatch } from 'stores/useAppDispatch';\nimport type { GetState } from 'views/types';\nimport { addWidget } from 'views/logic/slices/widgetActions';\nimport { setTitle } from 'views/logic/slices/titlesActions';\nimport { selectActiveQuery } from 'views/logic/slices/viewSelectors';\n\nimport type { ValuePath } from './ValueActionHandler';\n\nimport MessagesWidget from '../widgets/MessagesWidget';\nimport MessagesWidgetConfig from '../widgets/MessagesWidgetConfig';\nimport type Widget from '../widgets/Widget';\nimport { createElasticsearchQueryString } from '../queries/Query';\nimport duplicateCommonWidgetSettings from '../fieldactions/DuplicateCommonWidgetSettings';\n\ntype Contexts = {\n valuePath: ValuePath,\n widget: Widget,\n};\n\ntype Arguments = {\n contexts: Contexts;\n};\n\nconst extractFieldsFromValuePath = (valuePath: ValuePath): Array => valuePath.map((item) => Object.entries(item)\n .map(([key, value]: [string, string]) => (\n key === '_exists_' ? value : key)))\n .reduce((prev, cur) => [...prev, ...cur], [])\n .reduce((prev, cur) => (prev.includes(cur) ? prev : [...prev, cur]), []);\n\nconst ShowDocumentsHandler = ({\n contexts: { valuePath, widget },\n}: Arguments) => (dispatch: AppDispatch, getState: GetState) => {\n const activeQuery = selectActiveQuery(getState());\n const mergedObject = Object.fromEntries(valuePath.flatMap(Object.entries));\n const widgetQuery = widget && widget.query ? widget.query.query_string : '';\n const valuePathQuery = Object.entries(mergedObject)\n .map(([k, v]) => (v === MISSING_BUCKET_NAME ? `NOT _exists_:${k}` : `${k}:${escape(String(v))}`))\n .reduce((prev: string, next: string) => addToQuery(prev, next), '');\n const query = addToQuery(widgetQuery, valuePathQuery);\n const valuePathFields = extractFieldsFromValuePath(valuePath);\n const messageListFields = new Set([...DEFAULT_MESSAGE_FIELDS, ...valuePathFields]);\n const newWidget = duplicateCommonWidgetSettings(MessagesWidget.builder(), widget)\n .query(createElasticsearchQueryString(query))\n .newId()\n .config(MessagesWidgetConfig.builder()\n // @ts-ignore\n .fields([...messageListFields])\n .showMessageRow(true).build())\n .build();\n\n const title = `Messages for ${valuePathQuery}`;\n\n return dispatch(addWidget(newWidget))\n .then(() => dispatch(setTitle(activeQuery, TitleTypes.Widget, newWidget.id, title)));\n};\n\nShowDocumentsHandler.isEnabled = ({ contexts: { valuePath, widget } }) => (valuePath !== undefined && widget !== undefined);\n\nexport default ShowDocumentsHandler;\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 { ActionHandlerCondition, ActionHandlerArguments } from 'views/components/actions/ActionHandler';\nimport type { AppDispatch } from 'stores/useAppDispatch';\nimport { createHighlightingRule } from 'views/logic/slices/highlightActions';\nimport type { GetState } from 'views/types';\nimport { selectHighlightingRules } from 'views/logic/slices/highlightSelectors';\n\nconst HighlightValueHandler = ({ field, value }: ActionHandlerArguments) => (dispatch: AppDispatch) => {\n if (value === undefined) {\n return Promise.reject(new Error('Unable to add highlighting for missing value.'));\n }\n\n return dispatch(createHighlightingRule(field, value));\n};\n\nconst isEnabled: ActionHandlerCondition<{}> = ({ field, value }, getState: GetState) => {\n const highlightingRules = selectHighlightingRules(getState());\n\n return highlightingRules.find(({ field: f, value: v }) => (field === f && value === v)) === undefined;\n};\n\nHighlightValueHandler.isEnabled = isEnabled;\n\nexport default HighlightValueHandler;\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 type { Token } from 'views/components/searchbar/queryinput/ace-types';\nimport { existsOperator } from 'views/components/searchbar/completions/FieldNameCompletion';\n\nexport const removeFinalColon = (tokenValue: string) => tokenValue.slice(0, -1);\n\nexport const isTypeTerm = (token: Token | undefined) => !!(token && token.type === 'term');\nexport const isTypeString = (token: Token | undefined) => token?.type === 'string';\nexport const isTypeText = (token: Token | undefined) => token?.type === 'text';\nexport const isTypeNumber = (token: Token | undefined) => token?.type === 'constant.numeric';\n\nexport const isTypeKeyword = (token: Token | undefined) => token?.type === 'keyword';\n\nexport const isKeywordOperator = (token: Token | undefined) => token?.type === 'keyword.operator';\n\nexport const isExistsOperator = (token: Token | undefined) => isTypeKeyword(token) && token.value === `${existsOperator.name}:`;\n\nexport const isCompleteFieldName = (token: Token | undefined) => !!(isTypeKeyword(token) && token?.value.endsWith(':'));\n\nexport const isSpace = (currentToken: Token | undefined) => isTypeText(currentToken) && currentToken?.value === ' ';\n\nexport const getFieldNameForFieldValueInBrackets = (tokens: Array, currentTokenIndex: number) => {\n if (!tokens?.length) {\n return null;\n }\n\n const currentToken = tokens[currentTokenIndex];\n const prevToken = tokens[currentTokenIndex - 1] ?? null;\n\n if (prevToken?.type === 'keyword' && prevToken?.value.endsWith(':') && currentToken.type === 'paren.lparen') {\n return removeFinalColon(prevToken.value);\n }\n\n let fieldNameIndex = null;\n let openingBracketsCount = 0;\n let closingBracketsCount = 0;\n\n for (let i = 0; i < currentTokenIndex; i += 1) {\n if (tokens[i].type === 'keyword' && tokens[i].value.endsWith(':') && tokens[i + 1].type === 'paren.lparen') {\n fieldNameIndex = i;\n }\n\n if (fieldNameIndex !== null && tokens[i].type === 'paren.lparen') {\n openingBracketsCount += 1;\n }\n\n if (fieldNameIndex !== null && tokens[i].type === 'paren.rparen') {\n closingBracketsCount += 1;\n }\n\n if (openingBracketsCount && closingBracketsCount && openingBracketsCount === closingBracketsCount) {\n openingBracketsCount = 0;\n closingBracketsCount = 0;\n fieldNameIndex = null;\n }\n }\n\n if (fieldNameIndex !== null) {\n return removeFinalColon(tokens[fieldNameIndex].value);\n }\n\n return null;\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 * as Immutable from 'immutable';\n\nimport {\n getFieldNameForFieldValueInBrackets,\n isCompleteFieldName,\n isSpace,\n isTypeTerm,\n isExistsOperator,\n} from 'views/components/searchbar/completions/token-helper';\n\nimport type { CompletionResult, Token } from '../queryinput/ace-types';\nimport type { Completer, CompleterContext } from '../SearchBarAutocompletions';\n\nexport type Suggestion = Readonly<{\n name: string,\n type: Readonly<{\n type: string,\n }>,\n}>;\n\nconst _fieldResult = (field: Suggestion, score: number = 1, valuePosition: boolean = false): CompletionResult => {\n const { name, type } = field;\n\n return {\n name,\n value: `${name}${valuePosition ? '' : ':'}`,\n score,\n meta: type.type,\n };\n};\n\nexport const existsOperator: Suggestion = {\n name: '_exists_',\n type: {\n type: 'operator',\n },\n};\n\nconst _matchesFieldName = (prefix: string) => (field: Readonly<{ name: string, type: Readonly<{type: string}> }>) => {\n const result = field.name.indexOf(prefix);\n\n if (result < 0) {\n return 0;\n }\n\n // If substring occurs at start, return boost\n return result === 0 ? 2 : 1;\n};\n\nconst shouldShowSuggestions = ({ tokens, currentTokenIdx, prefix }: { tokens: Array, currentTokenIdx: number, prefix: string }) => {\n const currentToken = tokens[currentTokenIdx];\n const prevToken = tokens[currentTokenIdx - 1] ?? null;\n\n if (isCompleteFieldName(currentToken) && prefix) {\n return true;\n }\n\n if (isTypeTerm(currentToken)) {\n if (\n (isCompleteFieldName(prevToken) && !isExistsOperator(prevToken))\n || getFieldNameForFieldValueInBrackets(tokens, currentTokenIdx)\n ) {\n return false;\n }\n\n if (\n !prevToken\n || isSpace(prevToken)\n || isExistsOperator(prevToken)\n ) {\n return true;\n }\n }\n\n return false;\n};\n\nclass FieldNameCompletion implements Completer {\n private readonly staticSuggestions: Array;\n\n constructor(staticSuggestions: Array = [existsOperator]) {\n this.staticSuggestions = staticSuggestions;\n }\n\n getCompletions = ({ tokens, currentTokenIdx, prevToken, prefix, fieldTypes }: CompleterContext) => {\n const showSuggestions = shouldShowSuggestions({ tokens, currentTokenIdx, prefix });\n\n if (!showSuggestions) {\n return [];\n }\n\n const matchesFieldName = _matchesFieldName(prefix);\n const { all, query } = fieldTypes;\n const currentQueryFields = Immutable.List(Object.values(query));\n const valuePosition = isExistsOperator(prevToken);\n\n const allButInCurrent = Object.values(all).filter((field) => !query[field.name]);\n const fieldsToMatchIn = valuePosition\n ? [...currentQueryFields.toArray()]\n : [...this.staticSuggestions, ...currentQueryFields.toArray()];\n const currentQuery = fieldsToMatchIn.filter((field) => (matchesFieldName(field) > 0))\n .map((field) => _fieldResult(field, 10 + matchesFieldName(field), valuePosition));\n const allFields = allButInCurrent.filter((field) => (matchesFieldName(field) > 0))\n .map((field) => _fieldResult(field, 1 + matchesFieldName(field), valuePosition))\n .map((result) => ({ ...result, meta: `${result.meta} (not in streams)` }));\n\n return [...currentQuery, ...allFields];\n };\n}\n\nexport default FieldNameCompletion;\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 isEqual from 'lodash/isEqual';\n\nimport { SearchSuggestions } from '@graylog/server-api';\nimport type { TimeRange, NoTimeRangeOverride } from 'views/logic/queries/Query';\nimport type FieldTypeMapping from 'views/logic/fieldtypes/FieldTypeMapping';\nimport { normalizeFromSearchBarForBackend } from 'views/logic/queries/NormalizeTimeRange';\nimport { isNoTimeRangeOverride } from 'views/typeGuards/timeRange';\nimport { escape } from 'views/logic/queries/QueryHelper';\nimport {\n getFieldNameForFieldValueInBrackets,\n isCompleteFieldName,\n isTypeString,\n isTypeTerm, isKeywordOperator, isSpace, isTypeNumber, removeFinalColon,\n} from 'views/components/searchbar/completions/token-helper';\n\nimport type { Completer, CompleterContext, FieldTypes } from '../SearchBarAutocompletions';\nimport type { Token, CompletionResult } from '../queryinput/ace-types';\n\nconst SUGGESTIONS_PAGE_SIZE = 50;\n\nconst unquote = (s: string) => s.replace(/^\"(.*(?=\"$))\"$/, '$1');\n\nconst formatValue = (value: string, type: string) => {\n const trimmedValue = value?.trim();\n\n switch (type) {\n case 'constant.numeric': return Number(trimmedValue);\n case 'string': return unquote(trimmedValue);\n case 'keyword.operator': return '';\n case 'paren.lparen': return '';\n default: return trimmedValue;\n }\n};\n\nconst completionCaption = (fieldValue: string, input: string | number, isQuoted: boolean) => {\n const quotedValue = isQuoted ? fieldValue : escape(fieldValue);\n\n if (quotedValue.startsWith(String(input))) {\n return quotedValue;\n }\n\n return `${fieldValue} ⭢ ${input}`;\n};\n\nconst getFieldNameAndInput = ({\n tokens,\n currentToken,\n prevToken,\n currentTokenIdx,\n}: {\n tokens: Array,\n currentToken: Token | undefined | null,\n prevToken: Token | undefined | null,\n currentTokenIdx: number\n}) => {\n const nextToken = tokens[currentTokenIdx + 1] ?? null;\n\n if (isCompleteFieldName(currentToken) && (!nextToken || isSpace(nextToken))) {\n return {\n fieldName: removeFinalColon(currentToken.value),\n input: '',\n isQuoted: false,\n };\n }\n\n if ((isTypeTerm(currentToken) || isTypeString(currentToken) || isKeywordOperator(currentToken) || isTypeNumber(currentToken)) && isCompleteFieldName(prevToken)) {\n return {\n fieldName: removeFinalColon(prevToken.value),\n input: formatValue(currentToken.value, currentToken.type),\n isQuoted: isTypeString(currentToken),\n };\n }\n\n const fieldNameFromForValueInBrackets = getFieldNameForFieldValueInBrackets(tokens, currentTokenIdx);\n\n if (fieldNameFromForValueInBrackets && !(isSpace(currentToken) && (isTypeTerm(prevToken) || isTypeNumber(prevToken)))) {\n return {\n fieldName: fieldNameFromForValueInBrackets,\n input: formatValue(currentToken.value, currentToken.type),\n isQuoted: false,\n };\n }\n\n return {};\n};\n\nconst isEnumerableField = (field: FieldTypeMapping | undefined) => field?.type.isEnumerable() ?? false;\n\nconst formatSuggestion = (value: string, occurrence: number, input: string | number, isQuoted: boolean, title: string | undefined): CompletionResult => ({\n name: value,\n value: isQuoted ? value : escape(value),\n score: occurrence,\n caption: completionCaption(value, input, isQuoted),\n meta: title ? `${title}: ${occurrence} hits` : `${occurrence} hits`,\n});\n\ntype PreviousSuggestions = Array<{ value: string, occurrence: number, title?: string }> | undefined;\n\nclass FieldValueCompletion implements Completer {\n private previousSuggestions: undefined | {\n furtherSuggestionsCount: number,\n suggestions: PreviousSuggestions,\n fieldName: string,\n input: string | number,\n timeRange: TimeRange | NoTimeRangeOverride | undefined,\n streams: Array | undefined,\n };\n\n // eslint-disable-next-line class-methods-use-this\n private readonly shouldFetchCompletions = (fieldName: string, fieldTypes: FieldTypes) => {\n if (!fieldName) {\n return false;\n }\n\n const queryField = fieldTypes?.query[fieldName];\n\n if (!queryField || !isEnumerableField(queryField)) {\n const allFieldType = fieldTypes?.all[fieldName];\n\n return isEnumerableField(allFieldType);\n }\n\n return true;\n };\n\n private alreadyFetchedAllSuggestions(\n input: string | number,\n fieldName: string,\n streams: Array | undefined,\n timeRange: TimeRange | NoTimeRangeOverride | undefined,\n ) {\n if (!this.previousSuggestions) {\n return false;\n }\n\n const {\n fieldName: prevFieldName,\n streams: prevStreams,\n timeRange: prevTimeRange,\n furtherSuggestionsCount,\n input: prevInput,\n } = this.previousSuggestions;\n\n return String(input).startsWith(String(prevInput))\n && prevFieldName === fieldName\n && isEqual(prevStreams, streams)\n && isEqual(prevTimeRange, timeRange)\n && !furtherSuggestionsCount;\n }\n\n private filterExistingSuggestions(input: string | number, isQuoted: boolean) {\n if (this.previousSuggestions) {\n return this.previousSuggestions.suggestions\n .filter(({ value }) => (isQuoted ? value : escape(value)).startsWith(String(input)))\n .map(({ value, occurrence, title }) => formatSuggestion(value, occurrence, input, isQuoted, title));\n }\n\n return [];\n }\n\n getCompletions = ({\n tokens,\n currentToken,\n currentTokenIdx,\n prevToken,\n timeRange,\n streams,\n fieldTypes,\n userTimezone,\n }: CompleterContext) => {\n const { fieldName, input, isQuoted } = getFieldNameAndInput({\n tokens,\n currentToken,\n currentTokenIdx,\n prevToken,\n });\n\n if (!fieldName) {\n return [];\n }\n\n if (!this.shouldFetchCompletions(fieldName, fieldTypes)) {\n return [];\n }\n\n if (this.alreadyFetchedAllSuggestions(input, fieldName, streams, timeRange)) {\n const existingSuggestions = this.filterExistingSuggestions(input, isQuoted);\n\n if (existingSuggestions.length > 0) {\n return existingSuggestions;\n }\n }\n\n const normalizedTimeRange = (!timeRange || isNoTimeRangeOverride(timeRange)) ? undefined : normalizeFromSearchBarForBackend(timeRange, userTimezone);\n\n return SearchSuggestions.suggestFieldValue({\n field: fieldName,\n input: input as string,\n timerange: normalizedTimeRange,\n streams,\n size: SUGGESTIONS_PAGE_SIZE,\n }).then(({ suggestions, sum_other_docs_count: furtherSuggestionsCount }) => {\n if (!suggestions) {\n return [];\n }\n\n this.previousSuggestions = {\n furtherSuggestionsCount,\n streams,\n timeRange,\n fieldName,\n input,\n suggestions,\n };\n\n return suggestions.map(({ value, occurrence, title }: any) => formatSuggestion(value, occurrence, input, isQuoted, title));\n });\n };\n\n public identifierRegexps = [/[a-zA-Z_0-9$\\\\/\\-\\u00A2-\\u2000\\u2070-\\uFFFF]/];\n}\n\nexport default FieldValueCompletion;\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 trim from 'lodash/trim';\n\nimport {\n isKeywordOperator,\n isTypeString,\n isTypeKeyword,\n isTypeText,\n} from 'views/components/searchbar/completions/token-helper';\n\nimport type { Completer, CompleterContext } from '../SearchBarAutocompletions';\nimport type { CompletionResult, Token } from '../queryinput/ace-types';\n\nconst combiningOperators: Array = [\n {\n name: 'AND',\n value: 'AND ',\n score: 10,\n meta: 'operator',\n },\n {\n name: 'OR',\n value: 'OR ',\n score: 10,\n meta: 'operator',\n },\n];\n\nconst operators: Array = [\n {\n name: 'NOT',\n value: 'NOT ',\n score: 10,\n meta: 'operator',\n },\n];\n\nconst _matchesFieldName = (prefix) => (field) => (field.name.indexOf(prefix) >= 0);\n\nconst _lastNonEmptyToken = (tokens: Array, currentTokenIdx: number): Token | undefined | null => tokens.slice(0, currentTokenIdx).reverse().find((token) => (token.type !== 'text' || trim(token.value) !== ''));\n\nclass OperatorCompletion implements Completer {\n // eslint-disable-next-line class-methods-use-this\n getCompletions = ({ currentToken, prevToken, prefix, tokens, currentTokenIdx }: CompleterContext): Array => {\n if (\n isTypeKeyword(currentToken)\n || isTypeString(currentToken)\n || !tokens?.length\n || !prefix\n || (isKeywordOperator(prevToken) && prevToken.value === 'NOT')\n ) {\n return [];\n }\n\n const lastNonEmptyToken = _lastNonEmptyToken(tokens, currentTokenIdx);\n\n if (!lastNonEmptyToken || (lastNonEmptyToken && (lastNonEmptyToken.type === 'keyword.operator'))) {\n const matchesFieldName = _matchesFieldName(prefix);\n\n return operators.filter(matchesFieldName);\n }\n\n if (prevToken && (isTypeString(prevToken) || isTypeText(prevToken))) {\n const matchesFieldName = _matchesFieldName(prefix);\n\n return [...combiningOperators, ...operators].filter(matchesFieldName);\n }\n\n return [];\n };\n}\n\nexport default OperatorCompletion;\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]!./StyleFixups.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]!./StyleFixups.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 * as PropTypes from 'prop-types';\nimport capitalize from 'lodash/capitalize';\n\nimport type { PluginMetadata, Requirements } from 'views/logic/views/View';\nimport { Col, Row, Button } from 'components/bootstrap';\nimport fixup from 'views/pages/StyleFixups.css';\nimport View from 'views/logic/views/View';\nimport useHistory from 'routing/useHistory';\n\ntype Props = {\n view: View,\n missingRequirements: Requirements,\n};\n\nconst MissingRequirements = ({ view, missingRequirements }: Props) => {\n const history = useHistory();\n\n return (\n \n \n

    {capitalize(view.type)}: {view.title}

    \n

    Unfortunately executing this {view.type?.toLowerCase()} is not possible. It uses the following capabilities\n which are not available:\n

    \n\n
      \n {Object.entries(missingRequirements).map(([require, plugin]: [string, PluginMetadata]) => (\n
    • \n {require} - included in\n {plugin.name}\n \n
    • \n ))}\n
    \n \n\n \n \n \n
    \n );\n};\n\nMissingRequirements.propTypes = {\n view: PropTypes.instanceOf(View).isRequired,\n missingRequirements: PropTypes.objectOf(PropTypes.shape({\n name: PropTypes.string,\n url: PropTypes.string,\n })).isRequired,\n};\n\nexport default MissingRequirements;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport MissingRequirements from 'views/components/views/MissingRequirements';\nimport type { ViewHook, ViewHookArguments } from 'views/logic/hooks/ViewHook';\nimport type { Requirements } from 'views/logic/views/View';\n\nconst _missingRequirements = (requirements: Requirements, requirementsProvided: string | string[]): Requirements => Object.entries(requirements)\n .filter(([require]) => !requirementsProvided.includes(require))\n .reduce((prev, [key, value]) => ({ ...prev, [key]: value }), {});\n\nconst RequirementsProvided: ViewHook = async ({ view, executionState }: ViewHookArguments) => {\n const providedRequirements = PluginStore.exports('views.requires.provided');\n const missingRequirements = _missingRequirements(view.requires, providedRequirements);\n\n if (Object.keys(missingRequirements).length > 0) {\n const Component = () => ;\n\n throw Component;\n }\n\n return [view, executionState];\n};\n\nexport default RequirementsProvided;\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 from 'styled-components';\n\nimport Spinner from 'components/common/Spinner';\nimport queryTitle from 'views/logic/queries/QueryTitle';\nimport useView from 'views/hooks/useView';\nimport useActiveQueryId from 'views/hooks/useActiveQueryId';\n\nconst PositioningWrapper = styled.div`\n padding-left: 20px;\n`;\n\nconst BigDisplayModeHeader = () => {\n const view = useView();\n const activeQuery = useActiveQueryId();\n\n if (!view || !activeQuery) {\n return ;\n }\n\n const currentQueryTitle = queryTitle(view, activeQuery);\n\n return (\n \n

    {view.title}

    \n

    {currentQueryTitle}

    \n
    \n );\n};\n\nexport default BigDisplayModeHeader;\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 { useEffect } from 'react';\n\nimport useAppDispatch from 'stores/useAppDispatch';\nimport { selectQuery } from 'views/logic/slices/viewSlice';\nimport useView from 'views/hooks/useView';\nimport useActiveQueryId from 'views/hooks/useActiveQueryId';\n\ntype Props = {\n interval: number,\n tabs?: Array | undefined | null,\n};\n\nconst CycleQueryTab = ({ interval, tabs }: Props) => {\n const view = useView();\n const activeQuery = useActiveQueryId();\n const dispatch = useAppDispatch();\n\n useEffect(() => {\n const cycleInterval = setInterval(() => {\n if (!view || !activeQuery) {\n return;\n }\n\n const queryTabs = tabs || view.search.queries.toIndexedSeq().map((_, v) => v).toJS();\n const currentQueryIndex = view.search.queries.toIndexedSeq().findIndex((q) => q.id === activeQuery);\n const currentTabIndex = queryTabs.indexOf(currentQueryIndex);\n const nextQueryIndex = queryTabs[(currentTabIndex + 1) % queryTabs.length];\n const nextQueryId = view.search.queries.toIndexedSeq().get(nextQueryIndex).id;\n\n if (nextQueryId !== activeQuery) {\n dispatch(selectQuery(nextQueryId));\n }\n }, interval * 1000);\n\n return () => clearInterval(cycleInterval);\n }, [interval, view, activeQuery, tabs, dispatch]);\n\n return null;\n};\n\nCycleQueryTab.defaultProps = {\n tabs: undefined,\n};\n\nexport default CycleQueryTab;\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 } from 'react';\nimport styled from 'styled-components';\n\nimport InteractiveContext from 'views/components/contexts/InteractiveContext';\nimport BigDisplayModeHeader from 'views/components/dashboard/BigDisplayModeHeader';\nimport CycleQueryTab from 'views/components/dashboard/bigdisplay/CycleQueryTab';\nimport { RefreshActions } from 'views/stores/RefreshStore';\nimport type { UntypedBigDisplayModeQuery } from 'views/components/dashboard/BigDisplayModeConfiguration';\nimport type { Location } from 'routing/withLocation';\nimport withLocation from 'routing/withLocation';\n\nimport ShowViewPage from './ShowViewPage';\n\ntype BigDisplayModeQuery = {\n tabs?: Array,\n interval: number,\n refresh: number,\n};\n\ntype Props = {\n location: Location,\n};\n\nconst castQueryWithDefaults = ({ tabs, interval, refresh }: UntypedBigDisplayModeQuery): BigDisplayModeQuery => ({\n tabs: tabs !== undefined ? tabs.split(',').map((tab) => Number.parseInt(tab, 10)) : undefined,\n interval: interval !== undefined ? Math.max(Number.parseInt(interval, 10), 1) : 30,\n refresh: refresh !== undefined ? Math.max(Number.parseInt(refresh, 10), 1) : 10,\n});\n\nconst BodyPositioningWrapper = styled.div`\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 10px;\n`;\n\nconst ShowDashboardInBigDisplayMode = ({ location }: Props) => {\n const { query } = location;\n const configuration = castQueryWithDefaults(query);\n\n useEffect(() => {\n RefreshActions.setInterval(configuration.refresh * 1000);\n RefreshActions.enable();\n\n return () => {\n RefreshActions.disable();\n };\n }, [configuration.refresh]);\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default withLocation(ShowDashboardInBigDisplayMode);\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 type { VisualizationType } from 'views/types';\nimport DataTable from 'views/components/datatable/DataTable';\nimport DataTableVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/DataTableVisualizationConfig';\nimport type { WidgetConfigFormValues } from 'views/components/aggregationwizard';\n\ntype DataTableVisualizationConfigFormValues = {\n pinnedColumns: Array,\n};\nconst dataTable: VisualizationType = {\n type: DataTable.type,\n displayName: 'Data Table',\n component: DataTable,\n config: {\n createConfig: () => ({ pinnedColumns: [] }),\n fromConfig: (config: DataTableVisualizationConfig | undefined) => ({ pinnedColumns: config?.pinnedColumns.toJS() ?? [] }),\n toConfig: (formValues: DataTableVisualizationConfigFormValues) => DataTableVisualizationConfig.create(formValues.pinnedColumns),\n fields: [{\n name: 'pinnedColumns',\n title: 'Pinned Columns',\n type: 'multi-select',\n options: ({ formValues }: { formValues: WidgetConfigFormValues }) => formValues?.groupBy?.groupings\n .filter((grouping) => (grouping?.direction === 'row' && grouping?.fields))\n .flatMap((grouping) => grouping.fields) ?? [],\n required: false,\n }],\n },\n\n};\n\nexport default dataTable;\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, { useCallback, useMemo } from 'react';\nimport PropTypes from 'prop-types';\n\nimport type { Shapes } from 'views/logic/searchtypes/events/EventHandler';\nimport toPlotly from 'views/logic/aggregationbuilder/visualizations/Interpolation';\nimport type { VisualizationComponentProps } from 'views/components/aggregationbuilder/AggregationBuilder';\nimport { makeVisualization, retrieveChartData } from 'views/components/aggregationbuilder/AggregationBuilder';\nimport { AggregationType, AggregationResult } from 'views/components/aggregationbuilder/AggregationBuilderPropTypes';\nimport AreaVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/AreaVisualizationConfig';\nimport useChartData from 'views/components/visualizations/useChartData';\nimport useEvents from 'views/components/visualizations/useEvents';\nimport type { ChartConfig } from 'views/components/visualizations/GenericPlot';\nimport { keySeparator, humanSeparator } from 'views/Constants';\nimport useMapKeys from 'views/components/visualizations/useMapKeys';\n\nimport type { Generator } from '../ChartData';\nimport XYPlot from '../XYPlot';\n\nconst getChartColor = (fullData: Array, name: string) => {\n const data = fullData.find((d) => (d.name === name));\n\n if (data && data.line && data.line.color) {\n const { line: { color } } = data;\n\n return color;\n }\n\n return undefined;\n};\n\nconst AreaVisualization = makeVisualization(({\n config,\n data,\n effectiveTimerange,\n height,\n}: VisualizationComponentProps) => {\n const visualizationConfig = (config.visualizationConfig || AreaVisualizationConfig.empty()) as AreaVisualizationConfig;\n const { interpolation = 'linear' } = visualizationConfig;\n const mapKeys = useMapKeys();\n const rowPivotFields = useMemo(() => config?.rowPivots?.flatMap((pivot) => pivot.fields) ?? [], [config?.rowPivots]);\n const _mapKeys = useCallback((labels: string[]) => labels\n .map((label) => label.split(keySeparator)\n .map((l, i) => mapKeys(l, rowPivotFields[i]))\n .join(humanSeparator),\n ), [mapKeys, rowPivotFields]);\n const chartGenerator: Generator = useCallback(({ type, name, labels, values, originalName }) => ({\n type,\n name,\n x: _mapKeys(labels),\n y: values,\n fill: 'tozeroy',\n line: { shape: toPlotly(interpolation) },\n originalName,\n }), [_mapKeys, interpolation]);\n\n const rows = useMemo(() => retrieveChartData(data), [data]);\n\n const _chartDataResult = useChartData(rows, {\n widgetConfig: config,\n chartType: 'scatter',\n generator: chartGenerator,\n });\n\n const { eventChartData, shapes } = useEvents(config, data.events);\n\n const chartDataResult = eventChartData ? [..._chartDataResult, eventChartData] : _chartDataResult;\n const layout: { shapes?: Shapes } = shapes ? { shapes } : {};\n\n return (\n \n );\n}, 'area');\n\nAreaVisualization.propTypes = {\n config: AggregationType.isRequired,\n data: AggregationResult.isRequired,\n height: PropTypes.number,\n};\n\nexport default AreaVisualization;\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 { WidgetConfigFormValues } from 'views/components/aggregationwizard';\n\nexport const areAtLeastNMetricsConfigured = (formValues: WidgetConfigFormValues, minimumMetrics: number) => formValues.metrics?.length >= minimumMetrics;\nexport const areAtLeastNGroupingsConfigured = (formValues: WidgetConfigFormValues, minimumGroupings: number) => formValues.groupBy?.groupings?.length >= minimumGroupings;\n\nexport const hasAtLeastOneMetric = (name: string) => (formValues: WidgetConfigFormValues) => (!areAtLeastNMetricsConfigured(formValues, 1)\n ? { type: `${name} requires at least one metric` }\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 type { VisualizationType } from 'views/types';\nimport AreaVisualization from 'views/components/visualizations/area/AreaVisualization';\nimport AreaVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/AreaVisualizationConfig';\nimport { hasAtLeastOneMetric } from 'views/components/visualizations/validations';\nimport type { InterpolationType } from 'views/Constants';\nimport { DEFAULT_INTERPOLATION, interpolationTypes } from 'views/Constants';\nimport type { AxisType } from 'views/logic/aggregationbuilder/visualizations/XYVisualization';\nimport { axisTypes, DEFAULT_AXIS_TYPE } from 'views/logic/aggregationbuilder/visualizations/XYVisualization';\n\ntype AreaVisualizationConfigFormValues = {\n interpolation: InterpolationType;\n axisType: AxisType,\n};\n\nconst validate = hasAtLeastOneMetric('Area chart');\n\nconst areaChart: VisualizationType = {\n type: AreaVisualization.type,\n displayName: 'Area Chart',\n component: AreaVisualization,\n config: {\n createConfig: () => ({ interpolation: DEFAULT_INTERPOLATION, axisType: DEFAULT_AXIS_TYPE }),\n fromConfig: (config: AreaVisualizationConfig) => ({ interpolation: config?.interpolation, axisType: config?.axisType }),\n toConfig: (formValues: AreaVisualizationConfigFormValues) => AreaVisualizationConfig.create(formValues.interpolation, formValues.axisType),\n fields: [{\n name: 'interpolation',\n title: 'Interpolation',\n type: 'select',\n options: interpolationTypes,\n required: true,\n }, {\n name: 'axisType',\n title: 'Axis Type',\n type: 'select',\n options: axisTypes,\n required: true,\n }],\n },\n capabilities: ['event-annotations'],\n validate,\n};\n\nexport default areaChart;\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 type { VisualizationType } from 'views/types';\nimport BarVisualization from 'views/components/visualizations/bar/BarVisualization';\nimport BarVisualizationConfig, { DEFAULT_BARMODE } from 'views/logic/aggregationbuilder/visualizations/BarVisualizationConfig';\nimport { hasAtLeastOneMetric } from 'views/components/visualizations/validations';\nimport type { AxisType } from 'views/logic/aggregationbuilder/visualizations/XYVisualization';\nimport { axisTypes, DEFAULT_AXIS_TYPE } from 'views/logic/aggregationbuilder/visualizations/XYVisualization';\n\ntype BarVisualizationConfigFormValues = {\n barmode: 'group' | 'stack' | 'relative' | 'overlay',\n axisType: AxisType,\n};\n\nconst validate = hasAtLeastOneMetric('Bar chart');\n\nconst barChart: VisualizationType = {\n type: BarVisualization.type,\n displayName: 'Bar Chart',\n component: BarVisualization,\n config: {\n createConfig: () => ({ barmode: DEFAULT_BARMODE, axisType: DEFAULT_AXIS_TYPE }),\n fromConfig: (config: BarVisualizationConfig | undefined) => ({ barmode: config?.barmode ?? DEFAULT_BARMODE, axisType: config?.axisType ?? DEFAULT_AXIS_TYPE }),\n toConfig: (formValues: BarVisualizationConfigFormValues) => BarVisualizationConfig.create(formValues.barmode, formValues.axisType),\n fields: [{\n name: 'barmode',\n title: 'Mode',\n type: 'select',\n options: [['Group', 'group'], ['Stack', 'stack'], ['Relative', 'relative'], ['Overlay', 'overlay']],\n required: true,\n helpComponent: () => {\n const options = {\n group: {\n label: 'Group',\n help: 'Every series is represented by its own bar in the chart.',\n },\n stack: {\n label: 'Stack',\n help: 'All series are stacked upon each other resulting in one bar.',\n },\n relative: {\n label: 'Relative',\n help: 'All series are stacked upon each other resulting in one chart. But negative series are placed below zero.',\n },\n overlay: {\n label: 'Overlay',\n help: 'All series are placed as bars upon each other. To be able to see the bars the opacity is reduced to 75%.'\n + ' It is recommended to use this option with not more than 3 series.',\n },\n };\n\n return (\n
      \n {Object.values(options).map(({ label, help }) => (\n
    • \n

      {label}

      \n {help}\n
    • \n ))}\n
    \n );\n },\n }, {\n name: 'axisType',\n title: 'Axis Type',\n type: 'select',\n options: axisTypes,\n required: true,\n }],\n },\n capabilities: ['event-annotations'],\n validate,\n};\n\nexport default barChart;\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 { VisualizationType } from 'views/types';\nimport HeatmapVisualization from 'views/components/visualizations/heatmap/HeatmapVisualization';\nimport HeatmapVisualizationConfig, { COLORSCALES } from 'views/logic/aggregationbuilder/visualizations/HeatmapVisualizationConfig';\nimport { defaultCompare } from 'logic/DefaultCompare';\nimport type { WidgetConfigFormValues } from 'views/components/aggregationwizard';\nimport {\n areAtLeastNGroupingsConfigured,\n areAtLeastNMetricsConfigured,\n} from 'views/components/visualizations/validations';\n\ntype HeatMapVisualizationConfigFormValues = {\n colorScale: typeof COLORSCALES[number],\n reverseScale: boolean,\n autoScale: boolean,\n zMin: number,\n zMax: number\n useSmallestAsDefault: boolean,\n defaultValue: number,\n};\n\nconst validate = (formValues: WidgetConfigFormValues) => {\n const errors = [];\n\n if (!areAtLeastNGroupingsConfigured(formValues, 2)) {\n errors.push('Heatmap requires at least two groupings.');\n } else {\n const groupingDirections = formValues.groupBy.groupings.map((grouping) => grouping.direction);\n\n if (!groupingDirections.includes('row') || !groupingDirections.includes('column')) {\n errors.push('Groupings must include row and column groupings.');\n }\n }\n\n if (!areAtLeastNMetricsConfigured(formValues, 1)) {\n errors.push('At least one metric must be configured.');\n }\n\n return errors.length > 0\n ? { type: errors.join(' ') }\n : {};\n};\n\nconst heatmap: VisualizationType = {\n type: HeatmapVisualization.type,\n displayName: 'Heatmap',\n component: HeatmapVisualization,\n config: {\n fromConfig: ({ autoScale, colorScale, reverseScale, defaultValue, useSmallestAsDefault, zMax, zMin }: HeatmapVisualizationConfig = HeatmapVisualizationConfig.empty()) => ({\n autoScale, colorScale, reverseScale, defaultValue, useSmallestAsDefault, zMax, zMin,\n }),\n toConfig: ({ autoScale = false, colorScale, reverseScale = false, useSmallestAsDefault, zMax, zMin, defaultValue }: HeatMapVisualizationConfigFormValues) => {\n const [finalZMin, finalZMax] = autoScale ? [undefined, undefined] : [zMin, zMax];\n\n return HeatmapVisualizationConfig\n .create(colorScale, reverseScale, autoScale, finalZMin, finalZMax, useSmallestAsDefault, defaultValue);\n },\n createConfig: () => ({ colorScale: 'Viridis', autoScale: true }),\n fields: [{\n name: 'colorScale',\n title: 'Color Scale',\n required: true,\n type: 'select',\n options: [...COLORSCALES].sort(defaultCompare),\n }, {\n name: 'reverseScale',\n type: 'boolean',\n title: 'Reverse Scale',\n }, {\n name: 'autoScale',\n type: 'boolean',\n title: 'Auto Scale',\n }, {\n name: 'zMin',\n type: 'numeric',\n title: 'Min',\n required: true,\n isShown: (values: HeatMapVisualizationConfigFormValues) => !values?.autoScale,\n }, {\n name: 'zMax',\n type: 'numeric',\n title: 'Max',\n required: true,\n isShown: (values: HeatMapVisualizationConfigFormValues) => !values?.autoScale,\n }, {\n name: 'useSmallestAsDefault',\n type: 'boolean',\n title: 'Use smallest as default',\n }, {\n name: 'defaultValue',\n type: 'numeric',\n title: 'Default Value',\n isShown: (values: HeatMapVisualizationConfigFormValues) => !values?.useSmallestAsDefault,\n required: false,\n }],\n },\n validate,\n};\n\nexport default heatmap;\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 { VisualizationType } from 'views/types';\nimport LineVisualization from 'views/components/visualizations/line/LineVisualization';\nimport LineVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/LineVisualizationConfig';\nimport { hasAtLeastOneMetric } from 'views/components/visualizations/validations';\nimport type { AxisType } from 'views/logic/aggregationbuilder/visualizations/XYVisualization';\nimport { DEFAULT_AXIS_TYPE, axisTypes } from 'views/logic/aggregationbuilder/visualizations/XYVisualization';\nimport type { InterpolationType } from 'views/Constants';\nimport { DEFAULT_INTERPOLATION, interpolationTypes } from 'views/Constants';\n\ntype LineVisualizationConfigFormValues = {\n interpolation: InterpolationType;\n axisType: AxisType;\n};\n\nconst validate = hasAtLeastOneMetric('Line chart');\n\nconst lineChart: VisualizationType = {\n type: LineVisualization.type,\n displayName: 'Line Chart',\n component: LineVisualization,\n config: {\n createConfig: () => ({ interpolation: DEFAULT_INTERPOLATION, axisType: DEFAULT_AXIS_TYPE }),\n fromConfig: (config: LineVisualizationConfig | undefined) => ({\n interpolation: config?.interpolation ?? DEFAULT_INTERPOLATION,\n axisType: config?.axisType ?? DEFAULT_AXIS_TYPE,\n }),\n toConfig: (formValues: LineVisualizationConfigFormValues) => LineVisualizationConfig.create(formValues.interpolation, formValues.axisType),\n fields: [{\n name: 'interpolation',\n title: 'Interpolation',\n type: 'select',\n options: interpolationTypes,\n required: true,\n }, {\n name: 'axisType',\n title: 'Axis Type',\n type: 'select',\n options: axisTypes,\n required: true,\n }],\n },\n capabilities: ['event-annotations'],\n validate,\n};\n\nexport default lineChart;\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 type { VisualizationType } from 'views/types';\nimport NumberVisualization from 'views/components/visualizations/number/NumberVisualization';\nimport NumberVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/NumberVisualizationConfig';\n\ntype NumberVisualizationConfigFormValues = {\n trend: boolean,\n trend_preference: 'LOWER' | 'NEUTRAL' | 'HIGHER',\n};\n\nconst singleNumber: VisualizationType = {\n type: NumberVisualization.type,\n displayName: 'Single Number',\n component: NumberVisualization,\n config: {\n fromConfig: (config: NumberVisualizationConfig | undefined) => ({ trend: config?.trend, trend_preference: config?.trendPreference }),\n toConfig: ({ trend = false, trend_preference }: NumberVisualizationConfigFormValues) => NumberVisualizationConfig.create(trend, trend_preference),\n fields: [{\n name: 'trend',\n title: 'Trend',\n type: 'boolean',\n description: 'Show trend information for this number.',\n helpComponent: () => (\n <>\n

    \n If the user enables trending, a separate box is shown below the current value, indicating the direction of the change\n by an icon as well as the absolute and the relative differences between the current value and the previous one.\n

    \n\n

    \n The previous value is calculated by performing two searches in the background, which are completely identical besides\n the timerange. The timerange of the first search is identical to the one configured for this query/this widget,\n the second one is the same timerange, but with an offset of the timerange length shifted to the past.\n

    \n \n ),\n }, {\n name: 'trend_preference',\n title: 'Trend Preference',\n type: 'select',\n options: [['Lower', 'LOWER'], ['Neutral', 'NEUTRAL'], ['Higher', 'HIGHER']],\n required: true,\n isShown: (formValues: NumberVisualizationConfigFormValues) => formValues?.trend === true,\n }],\n },\n};\n\nexport default singleNumber;\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 } from 'react';\n\nimport { AggregationType, AggregationResult } from 'views/components/aggregationbuilder/AggregationBuilderPropTypes';\nimport type { VisualizationComponentProps } from 'views/components/aggregationbuilder/AggregationBuilder';\nimport { makeVisualization, retrieveChartData } from 'views/components/aggregationbuilder/AggregationBuilder';\nimport PlotLegend from 'views/components/visualizations/PlotLegend';\nimport useChartData from 'views/components/visualizations/useChartData';\nimport type { Generator } from 'views/components/visualizations/ChartData';\nimport type ColorMapper from 'views/components/visualizations/ColorMapper';\nimport useMapKeys from 'views/components/visualizations/useMapKeys';\nimport type { KeyMapper } from 'views/components/visualizations/TransformKeys';\nimport type AggregationWidgetConfig from 'views/logic/aggregationbuilder/AggregationWidgetConfig';\nimport { keySeparator, humanSeparator } from 'views/Constants';\n\nimport type { ChartConfig } from '../GenericPlot';\nimport GenericPlot from '../GenericPlot';\n\nconst maxItemsPerRow = 4;\n\nconst _verticalDimensions = (idx: number, total: number) => {\n const rows = Math.ceil(total / maxItemsPerRow);\n const position = Math.floor(idx / maxItemsPerRow);\n\n const sliceSize = 1 / rows;\n const spacer = sliceSize * 0.1;\n\n return [(sliceSize * position) + spacer, (sliceSize * (position + 1)) - spacer];\n};\n\nconst _horizontalDimensions = (idx: number, total: number) => {\n const position = idx % maxItemsPerRow;\n\n const sliceSize = 1 / Math.min(total, maxItemsPerRow);\n const spacer = sliceSize * 0.1;\n\n return [(sliceSize * position) + spacer, (sliceSize * (position + 1)) - spacer];\n};\n\nconst _generateSeries = (mapKeys: KeyMapper): Generator => ({\n type,\n name,\n labels,\n values,\n idx,\n total,\n originalName,\n config,\n}) => {\n const rowPivots = config?.rowPivots?.flatMap((pivot) => pivot.fields) ?? [];\n\n return {\n type,\n name,\n hole: 0.4,\n labels: labels.map((label) => label.split(keySeparator).map((l, i) => mapKeys(l, rowPivots[i])).join(humanSeparator)),\n originalLabels: labels,\n values,\n domain: {\n x: _horizontalDimensions(idx, total),\n y: _verticalDimensions(idx, total),\n },\n originalName,\n };\n};\n\nconst getChartColor = (fullDataArray: ChartConfig[], name: string) => {\n const fullData = fullDataArray.find((d) => d.labels.indexOf(name) >= 0);\n\n if (fullData?.labels && fullData?.marker?.colors) {\n const indexOfName = fullData.labels.indexOf(name);\n const { marker: { colors } } = fullData;\n\n return colors[indexOfName];\n }\n\n return undefined;\n};\n\nconst setChartColor = (chart: ChartConfig, colorMap: ColorMapper) => {\n const colors = chart.originalLabels.map((label) => colorMap.get(label));\n\n return { marker: { colors } };\n};\n\nconst labelMapper = (data: Array<{ labels: Array, originalLabels?: Array }>) => [\n ...new Set(data.flatMap(({ labels, originalLabels }) => originalLabels ?? labels)),\n];\n\nconst rowPivotsToFields = (config: AggregationWidgetConfig) => config?.rowPivots?.flatMap((pivot) => pivot.fields);\n\nconst PieVisualization = makeVisualization(({ config, data }: VisualizationComponentProps) => {\n const rows = useMemo(() => retrieveChartData(data), [data]);\n const mapKeys = useMapKeys();\n const transformedData = useChartData(rows, { widgetConfig: config, chartType: 'pie', generator: _generateSeries(mapKeys) });\n\n return (\n \n \n \n );\n}, 'pie');\n\nPieVisualization.propTypes = {\n config: AggregationType.isRequired,\n data: AggregationResult.isRequired,\n};\n\nPieVisualization.displayName = 'PieVisualization';\n\nexport default PieVisualization;\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 { VisualizationType } from 'views/types';\nimport PieVisualization from 'views/components/visualizations/pie/PieVisualization';\nimport { hasAtLeastOneMetric } from 'views/components/visualizations/validations';\n\nconst validate = hasAtLeastOneMetric('Pie chart');\n\nconst pieChart: VisualizationType = {\n type: PieVisualization.type,\n displayName: 'Pie Chart',\n component: PieVisualization,\n validate,\n};\n\nexport default pieChart;\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 Immutable from 'immutable';\n\nimport type { AxisType, XYVisualization } from 'views/logic/aggregationbuilder/visualizations/XYVisualization';\nimport VisualizationConfig from 'views/logic/aggregationbuilder/visualizations/VisualizationConfig';\nimport { DEFAULT_AXIS_TYPE } from 'views/logic/aggregationbuilder/visualizations/XYVisualization';\nimport LineVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/LineVisualizationConfig';\n\ntype InternalState = {\n axisType: AxisType,\n};\n\nexport type ScatterVisualizationConfigJson = {\n axis_type?: AxisType,\n};\n\nexport default class ScatterVisualizationConfig extends VisualizationConfig implements XYVisualization {\n private readonly _value: InternalState;\n\n constructor(axisType: InternalState['axisType'] = DEFAULT_AXIS_TYPE) {\n super();\n this._value = { axisType };\n }\n\n get axisType() {\n return this._value.axisType;\n }\n\n toBuilder() {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder(Immutable.Map(this._value));\n }\n\n static create(axisType: InternalState['axisType']) {\n return new ScatterVisualizationConfig(axisType);\n }\n\n static empty() {\n return new ScatterVisualizationConfig(DEFAULT_AXIS_TYPE);\n }\n\n toJSON() {\n const { axisType } = this._value;\n\n return {\n axis_type: axisType,\n };\n }\n\n static fromJSON(_type: string, value: ScatterVisualizationConfigJson) {\n return ScatterVisualizationConfig.create(\n value?.axis_type ?? DEFAULT_AXIS_TYPE,\n );\n }\n}\n\ntype BuilderState = Immutable.Map;\n\nclass Builder {\n value: BuilderState;\n\n constructor(value: BuilderState = Immutable.Map()) {\n this.value = value;\n }\n\n axisType(value: InternalState['axisType']) {\n return new Builder((this.value.set('axisType', value)));\n }\n\n build() {\n const { interpolation, axisType } = this.value.toObject();\n\n return new LineVisualizationConfig(interpolation, axisType);\n }\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 * as React from 'react';\nimport { useCallback, useMemo } from 'react';\nimport PropTypes from 'prop-types';\n\nimport type { Shapes } from 'views/logic/searchtypes/events/EventHandler';\nimport { AggregationType, AggregationResult } from 'views/components/aggregationbuilder/AggregationBuilderPropTypes';\nimport type { VisualizationComponentProps } from 'views/components/aggregationbuilder/AggregationBuilder';\nimport { makeVisualization, retrieveChartData } from 'views/components/aggregationbuilder/AggregationBuilder';\nimport useChartData from 'views/components/visualizations/useChartData';\nimport useEvents from 'views/components/visualizations/useEvents';\nimport ScatterVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/ScatterVisualizationConfig';\nimport type { Generator } from 'views/components/visualizations/ChartData';\nimport useMapKeys from 'views/components/visualizations/useMapKeys';\nimport { keySeparator, humanSeparator } from 'views/Constants';\n\nimport XYPlot from '../XYPlot';\n\nconst seriesGenerator = (mapKeys: (labels: string[]) => string[]): Generator => ({\n type,\n name,\n labels,\n values,\n originalName,\n}) => ({\n type,\n name,\n x: mapKeys(labels),\n y: values,\n mode: 'markers',\n originalName,\n});\n\nconst ScatterVisualization = makeVisualization(({\n config,\n data,\n effectiveTimerange,\n height,\n}: VisualizationComponentProps) => {\n const visualizationConfig = (config.visualizationConfig ?? ScatterVisualizationConfig.empty()) as ScatterVisualizationConfig;\n const mapKeys = useMapKeys();\n const rowPivotFields = useMemo(() => config?.rowPivots?.flatMap((pivot) => pivot.fields) ?? [], [config?.rowPivots]);\n const _mapKeys = useCallback((labels: string[]) => labels\n .map((label) => label.split(keySeparator)\n .map((l, i) => mapKeys(l, rowPivotFields[i]))\n .join(humanSeparator),\n ), [mapKeys, rowPivotFields]);\n const rows = useMemo(() => retrieveChartData(data), [data]);\n const _chartDataResult = useChartData(rows, {\n widgetConfig: config,\n chartType: 'scatter',\n generator: seriesGenerator(_mapKeys),\n });\n const { eventChartData, shapes } = useEvents(config, data.events);\n\n const chartDataResult = eventChartData ? [..._chartDataResult, eventChartData] : _chartDataResult;\n const layout: { shapes?: Shapes } = shapes ? { shapes } : {};\n\n return (\n \n );\n}, 'scatter');\n\nScatterVisualization.propTypes = {\n config: AggregationType.isRequired,\n data: AggregationResult.isRequired,\n height: PropTypes.number,\n};\n\nexport default ScatterVisualization;\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 { VisualizationType } from 'views/types';\nimport ScatterVisualization from 'views/components/visualizations/scatter/ScatterVisualization';\nimport { hasAtLeastOneMetric } from 'views/components/visualizations/validations';\nimport type { AxisType } from 'views/logic/aggregationbuilder/visualizations/XYVisualization';\nimport { DEFAULT_AXIS_TYPE, axisTypes } from 'views/logic/aggregationbuilder/visualizations/XYVisualization';\nimport ScatterVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/ScatterVisualizationConfig';\n\ntype ScatterVisualizationConfigFormValues = {\n axisType: AxisType,\n};\n\nconst validate = hasAtLeastOneMetric('Scatter plot');\n\nconst scatterChart: VisualizationType = {\n type: ScatterVisualization.type,\n displayName: 'Scatter Plot',\n component: ScatterVisualization,\n config: {\n createConfig: () => ({ axisType: DEFAULT_AXIS_TYPE }),\n fromConfig: (config) => ({ axisType: config?.axisType ?? DEFAULT_AXIS_TYPE }),\n toConfig: (formValues) => ScatterVisualizationConfig.create(formValues.axisType),\n fields: [{\n name: 'axisType',\n title: 'Axis Type',\n type: 'select',\n options: axisTypes,\n required: true,\n }],\n },\n capabilities: ['event-annotations'],\n validate,\n};\n\nexport default scatterChart;\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 { VisualizationType } from 'views/types';\nimport Viewport from 'views/logic/aggregationbuilder/visualizations/Viewport';\nimport WorldMapVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/WorldMapVisualizationConfig';\nimport WorldMapVisualization from 'views/components/visualizations/worldmap/WorldMapVisualization';\n\nexport type WorldMapVisualizationConfigFormValues = {\n zoom: number,\n centerX: number,\n centerY: number,\n};\n\nconst DEFAULT_FORM_VALUES = {\n zoom: 1,\n centerX: 0,\n centerY: 0,\n};\n\nconst worldMap: VisualizationType = {\n type: WorldMapVisualization.type,\n displayName: 'World Map',\n component: WorldMapVisualization,\n config: {\n createConfig: () => DEFAULT_FORM_VALUES,\n fromConfig: (config: WorldMapVisualizationConfig) => {\n if (!config) {\n return DEFAULT_FORM_VALUES;\n }\n\n return {\n zoom: config.viewport.zoom,\n centerX: config.viewport.center[0],\n centerY: config.viewport.center[1],\n };\n },\n toConfig: (formValues: WorldMapVisualizationConfigFormValues) => WorldMapVisualizationConfig.create(Viewport.create([formValues.centerX, formValues.centerY], formValues.zoom)),\n fields: [\n {\n name: 'zoom',\n title: 'Zoom',\n type: 'numeric',\n required: true,\n },\n {\n name: 'centerX',\n title: 'Latitude',\n type: 'numeric',\n required: true,\n step: 'any',\n },\n {\n name: 'centerY',\n title: 'Longitude',\n type: 'numeric',\n required: true,\n step: 'any',\n },\n ],\n },\n\n};\n\nexport default worldMap;\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 { VisualizationType } from 'views/types';\nimport dataTable from 'views/components/datatable/bindings';\n\nimport areaChart from './area/bindings';\nimport barChart from './bar/bindings';\nimport heatmap from './heatmap/bindings';\nimport lineChart from './line/bindings';\nimport singleNumber from './number/bindings';\nimport pieChart from './pie/bindings';\nimport scatterChart from './scatter/bindings';\nimport worldMap from './worldmap/bindings';\n\nconst visualizationBindings: Array> = [\n areaChart,\n barChart,\n dataTable,\n heatmap,\n lineChart,\n singleNumber,\n pieChart,\n scatterChart,\n worldMap,\n];\n\nexport default visualizationBindings;\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 { ActionDefinition } from 'views/components/actions/ActionHandler';\n\nimport AppConfig from '../AppConfig';\n\nfunction filterValueActions(\n items: Array,\n toExclude: Array,\n): Array {\n return items.filter((item) => !toExclude.includes(item.type));\n}\n\nexport function filterCloudValueActions(\n valueActions: Array,\n toExclude: Array,\n): Array {\n if (!AppConfig.isCloud()) {\n return valueActions;\n }\n\n return filterValueActions(valueActions, toExclude);\n}\n\nexport default filterValueActions;\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 { ActionHandlerArguments } from 'views/components/actions/ActionHandler';\nimport copyToClipboard from 'util/copyToClipboard';\n\nconst CopyValueToClipboard = ({ value }: ActionHandlerArguments) => copyToClipboard(value);\n\nexport default CopyValueToClipboard;\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 { ActionHandlerArguments } from 'views/components/actions/ActionHandler';\nimport copyToClipboard from 'util/copyToClipboard';\n\nconst CopyFieldToClipboard = ({ field }: ActionHandlerArguments) => copyToClipboard(field);\n\nexport default CopyFieldToClipboard;\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 React, { useCallback, useMemo, useState } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { Link } from 'components/common/router';\nimport { Icon } from 'components/common';\nimport { Row } from 'components/bootstrap';\nimport ViewPropertiesModal from 'views/components/dashboard/DashboardPropertiesModal';\nimport onSaveView from 'views/logic/views/OnSaveViewAction';\nimport View from 'views/logic/views/View';\nimport Routes from 'routing/Routes';\nimport useViewTitle from 'views/hooks/useViewTitle';\nimport useView from 'views/hooks/useView';\nimport useAppDispatch from 'stores/useAppDispatch';\nimport FavoriteIcon from 'views/components/FavoriteIcon';\nimport useAlertAndEventDefinitionData from 'hooks/useAlertAndEventDefinitionData';\nimport { updateView } from 'views/logic/slices/viewSlice';\nimport useIsNew from 'views/hooks/useIsNew';\nimport { createGRN } from 'logic/permissions/GRN';\n\nconst links = {\n [View.Type.Dashboard]: ({ id, title }) => [{\n link: Routes.DASHBOARDS,\n label: 'Dashboards',\n },\n {\n label: title || id,\n dataTestId: 'view-title',\n },\n ],\n [View.Type.Search]: ({ id, title }) => [{\n link: Routes.SEARCH,\n label: 'Search',\n },\n {\n label: title || id,\n dataTestId: 'view-title',\n },\n ],\n alert: ({ id }) => [\n {\n link: Routes.ALERTS.LIST,\n label: 'Alerts & Events',\n },\n {\n label: id,\n dataTestId: 'alert-id-title',\n },\n ],\n eventDefinition: ({ id, title }) => [\n {\n link: Routes.ALERTS.DEFINITIONS.LIST,\n label: 'Event definitions',\n },\n {\n link: Routes.ALERTS.DEFINITIONS.show(id),\n label: title || id,\n dataTestId: 'event-definition-title',\n },\n ],\n};\n\nconst Content = styled.div(({ theme }) => css`\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n margin-bottom: ${theme.spacings.xs};\n gap: 4px;\n`);\n\nconst EditButton = styled.div(({ theme }) => css`\n color: ${theme.colors.gray[60]};\n font-size: ${theme.fonts.size.tiny};\n cursor: pointer;\n`);\n\nconst TitleWrapper = styled.span`\n display: flex;\n gap: 4px;\n align-items: center;\n\n & ${EditButton} {\n display: none;\n }\n\n &:hover ${EditButton} {\n display: block;\n }\n`;\n\nconst StyledIcon = styled(Icon)`\nfont-size: 0.5rem;\n`;\n\nconst CrumbLink = ({ label, link, dataTestId }: { label: string, link: string | undefined, dataTestId?: string}) => (\n link ? {label} : {label}\n);\n\nCrumbLink.defaultProps = {\n dataTestId: undefined,\n};\n\nconst ViewHeader = () => {\n const view = useView();\n const isNew = useIsNew();\n const isSavedView = view?.id && view?.title && !isNew;\n const [showMetadataEdit, setShowMetadataEdit] = useState(false);\n const toggleMetadataEdit = useCallback(() => setShowMetadataEdit((cur) => !cur), [setShowMetadataEdit]);\n\n const { alertId, definitionId, definitionTitle, isAlert, isEventDefinition, isEvent } = useAlertAndEventDefinitionData();\n const dispatch = useAppDispatch();\n const _onSaveView = useCallback(async (updatedView: View) => {\n await dispatch(onSaveView(updatedView));\n await dispatch(updateView(updatedView));\n }, [dispatch]);\n\n const typeText = view?.type?.toLocaleLowerCase();\n const title = useViewTitle();\n const onChangeFavorite = useCallback((newValue: boolean) => dispatch(updateView(view.toBuilder().favorite(newValue).build())), [dispatch, view]);\n\n const breadCrumbs = useMemo(() => {\n if (isAlert || isEvent) return links.alert({ id: alertId });\n if (isEventDefinition) return links.eventDefinition({ id: definitionId, title: definitionTitle });\n\n return links[view.type]({ id: view.id, title });\n }, [alertId, definitionId, definitionTitle, isAlert, isEvent, isEventDefinition, view, title]);\n\n return (\n \n \n {\n breadCrumbs.map(({ label, link, dataTestId }, index) => {\n const theLast = index === breadCrumbs.length - 1;\n\n return (\n \n \n {!theLast && }\n {isSavedView && theLast && (\n <>\n \n \n \n \n \n )}\n \n );\n })\n }\n {showMetadataEdit && (\n \n )}\n \n \n );\n};\n\nexport default ViewHeader;\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 { PluginExports } from 'graylog-web-plugin/plugin';\n\nimport { viewSliceReducer } from 'views/logic/slices/viewSlice';\nimport { searchExecutionSliceReducer } from 'views/logic/slices/searchExecutionSlice';\nimport { searchMetadataSliceReducer } from 'views/logic/slices/searchMetadataSlice';\nimport { undoRedoSliceReducer } from 'views/logic/slices/undoRedoSlice';\n\nconst viewsReducers: PluginExports['views.reducers'] = [{\n key: 'view' as const,\n reducer: viewSliceReducer,\n}, {\n key: 'searchExecution' as const,\n reducer: searchExecutionSliceReducer,\n}, {\n key: 'searchMetadata',\n reducer: searchMetadataSliceReducer,\n}, {\n key: 'undoRedo',\n reducer: undoRedoSliceReducer,\n},\n];\n\nexport default viewsReducers;\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, { useCallback, useMemo } from 'react';\nimport mapValues from 'lodash/mapValues';\n\nimport type { Checked } from 'views/logic/valueactions/createEventDefinition/types';\nimport { ExpandableList, ExpandableListItem } from 'components/common';\n\nconst CHECKBOX_STATES = {\n Checked: 'Checked',\n Empty: 'Empty',\n Indeterminate: 'Indeterminate',\n};\n\ntype Props = {\n groupLabel: string,\n checked: Checked,\n labels: { [name: string]: JSX.Element }\n onChange: (Checked) => void\n}\n\nconst CheckBoxGroup = ({ groupLabel, checked, onChange, labels }: Props) => {\n const value = useMemo(() => {\n if (Object.values(checked).every((val) => val)) {\n return CHECKBOX_STATES.Checked;\n }\n\n if (Object.values(checked).some((val) => val)) {\n return CHECKBOX_STATES.Indeterminate;\n }\n\n return CHECKBOX_STATES.Empty;\n }, [checked]);\n\n const groupOnChange = useCallback(() => {\n switch (value) {\n case CHECKBOX_STATES.Checked:\n return onChange(mapValues(checked, () => false));\n case CHECKBOX_STATES.Empty:\n return onChange(mapValues(checked, () => true));\n case CHECKBOX_STATES.Indeterminate:\n return onChange(mapValues(checked, () => true));\n default:\n return onChange(mapValues(checked, () => false));\n }\n }, [checked, onChange, value]);\n\n const itemOnChange = useCallback((key: string | number, _?: React.SyntheticEvent) => {\n onChange({\n ...checked,\n [key]: !checked[key],\n });\n }, [checked, onChange]);\n\n return (\n \n \n {\n Object.entries(checked).map(([key, isChecked]) => (\n itemOnChange(key, e)} />\n ))\n }\n \n \n );\n};\n\nexport default CheckBoxGroup;\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 type { ItemKey, StrategyId } from 'views/logic/valueactions/createEventDefinition/types';\n\nexport const labels: { [key in ItemKey]: string} = {\n rowValuePath: 'Query from table row',\n columnValuePath: 'Query from table column',\n columnGroupBy: 'Group by column values',\n rowGroupBy: 'Group by row values',\n aggCondition: 'Condition',\n queryWithReplacedParams: 'Query from search',\n searchFilterQuery: 'Query from search filters',\n streams: 'Streams',\n searchWithinMs: 'Search within ms',\n lutParameters: 'Lookup-table parameters',\n searchFromValue: 'Query from value',\n};\n\nexport const aggregationGroup: Array = ['columnGroupBy', 'rowGroupBy', 'aggCondition'];\nexport const searchGroup: Array = ['rowValuePath', 'columnValuePath',\n 'queryWithReplacedParams', 'searchFilterQuery', 'searchFromValue'];\nexport const strategiesLabels: {[key in StrategyId]: { label: string, description: string}} = {\n EXACT: { label: 'Exactly this value', description: 'Strategy includes all search queries, filters, etc which relate to current search view' },\n ROW: { label: 'Any in row', description: 'Strategy includes row pivots' },\n COL: { label: 'Any in column', description: 'Strategy includes column pivots' },\n ALL: { label: 'Any in widget', description: 'Strategy includes all row and column pivot values, related to selected value' },\n CUSTOM: { label: 'Custom', description: 'You can select any search part' },\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 styled from 'styled-components';\n\nimport { Radio } from 'components/bootstrap';\nimport { strategiesLabels } from 'views/logic/valueactions/createEventDefinition/Constants';\nimport type { StrategyId } from 'views/logic/valueactions/createEventDefinition/types';\n\nconst Container = styled.div`\n display: flex;\n gap: 5px;\n align-items: baseline;\n`;\n\ntype Props = {\n strategy: StrategyId,\n onChange: (e: React.SyntheticEvent) => void,\n strategyAvailabilities: {[name in StrategyId]: boolean}\n}\n\nconst RadioSection = ({ strategy, onChange, strategyAvailabilities }: Props) => {\n const { description } = strategiesLabels[strategy];\n\n return (\n <>\n Strategy by:\n \n {\n Object.entries(strategiesLabels).map(([curStrategy, { label }]) => {\n if (!strategyAvailabilities[curStrategy]) return null;\n\n return (\n \n {label}\n \n );\n })\n }\n \n

    \n Description: {description}\n

    \n \n );\n};\n\nexport default RadioSection;\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 { useMemo } from 'react';\n\nimport type { Checked, MappedData } from 'views/logic/valueactions/createEventDefinition/types';\nimport type { EventDefinitionLocalStorageConfig } from 'components/event-definitions/hooks/useEventDefinitionConfigFromLocalStorage';\nimport { concatQueryStrings } from 'views/logic/queries/QueryHelper';\n\nconst concatQuery = (queryParts: Array) => concatQueryStrings(queryParts.filter((queryPart) => !!queryPart));\n\nconst useLocalStorageConfigData = ({ mappedData, checked }: { mappedData: MappedData, checked: Checked }) => useMemo(() => {\n const {\n queryWithReplacedParams,\n searchFilterQuery,\n searchFromValue,\n columnValuePath,\n rowValuePath,\n lutParameters,\n searchWithinMs,\n streams,\n aggValue,\n aggFunction,\n aggField,\n columnGroupBy,\n rowGroupBy,\n } = mappedData;\n\n const queries: Array = Object.entries({\n queryWithReplacedParams, searchFilterQuery, searchFromValue, columnValuePath, rowValuePath,\n }).filter(([key]) => checked[key]).map(([_, search]) => search);\n\n const getAggregations = (): Partial => {\n const res: Partial = {};\n\n if (checked.aggCondition) {\n res.agg_field = aggField;\n res.agg_value = aggValue;\n res.agg_function = aggFunction;\n }\n\n if (checked.columnGroupBy) {\n res.group_by = columnGroupBy;\n }\n\n if (checked.rowGroupBy) {\n res.group_by = (rowGroupBy || []).concat(res.group_by || []);\n }\n\n return res;\n };\n\n const getRest = () => {\n const res: Partial = {};\n if (checked.lutParameters && lutParameters && lutParameters.length) res.loc_query_parameters = lutParameters;\n if (checked.searchWithinMs && searchWithinMs) res.search_within_ms = searchWithinMs;\n if (checked.streams && streams && streams.length) res.streams = streams;\n\n return res;\n };\n\n return ({\n type: 'aggregation-v1',\n query: concatQuery(queries),\n ...getAggregations(),\n ...getRest(),\n });\n}, [checked, mappedData]);\n\nexport default useLocalStorageConfigData;\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 { useCallback, useEffect, useMemo, useReducer } from 'react';\nimport objectHas from 'lodash/has';\nimport mapValues from 'lodash/mapValues';\n\nimport type { Checked, ModalData, State } from 'views/logic/valueactions/createEventDefinition/types';\n\nexport const initState: State = {\n strategy: 'EXACT',\n checked: {},\n showDetails: false,\n};\n\nconst updateIfHas = (possibleKeys: Checked, updates:Checked): Checked => {\n const newState = { ...possibleKeys };\n\n Object.entries(updates).forEach(([key, value]) => {\n if (objectHas(possibleKeys, key)) {\n newState[key] = value;\n }\n });\n\n return newState;\n};\n\nconst reducer = (state: State, action: { type: string, payload?: Checked, possibleKeys: Checked}): State => {\n const { type, payload, possibleKeys } = action;\n\n switch (type) {\n case 'SET_ALL_STRATEGY':\n return ({\n strategy: 'ALL',\n showDetails: state.showDetails,\n checked: updateIfHas(possibleKeys, { searchFilterQuery: false, queryWithReplacedParams: false }),\n });\n case 'SET_EXACT_STRATEGY':\n return ({\n strategy: 'EXACT',\n showDetails: state.showDetails,\n checked: possibleKeys,\n });\n case 'SET_ROW_STRATEGY':\n return ({\n strategy: 'ROW',\n showDetails: state.showDetails,\n checked: updateIfHas(possibleKeys, { columnValuePath: false, columnGroupBy: false }),\n });\n case 'SET_COL_STRATEGY':\n return ({\n strategy: 'COL',\n showDetails: state.showDetails,\n checked: updateIfHas(possibleKeys, { rowValuePath: false, rowGroupBy: false }),\n });\n case 'SET_CUSTOM_STRATEGY':\n return ({\n strategy: 'CUSTOM',\n showDetails: true,\n checked: state.checked,\n });\n case 'UPDATE_CHECKED_ITEMS':\n return ({\n strategy: 'CUSTOM',\n showDetails: state.showDetails,\n checked: updateIfHas(state.checked, payload),\n });\n case 'TOGGLE_SHOW_DETAILS':\n return ({\n strategy: state.strategy,\n showDetails: !state.showDetails,\n checked: state.checked,\n });\n default:\n return state;\n }\n};\n\nconst useModalReducer = (modalData : ModalData): [State, ({ type, payload }: { type: string, payload?: Checked }) => void] => {\n const [state, dispatch] = useReducer(reducer, initState);\n const dispatchWithData = useCallback(({ type, payload }: { type: string, payload?: Checked }) => {\n const possibleKeys = mapValues(modalData, (v) => !!v);\n dispatch({ type, payload, possibleKeys });\n }, [modalData]);\n\n useEffect(() => {\n dispatchWithData({ type: 'SET_EXACT_STRATEGY' });\n }, [dispatchWithData]);\n\n return useMemo(() => [state, dispatchWithData], [state, dispatchWithData]);\n};\n\nexport default useModalReducer;\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, { useMemo, useCallback } from 'react';\nimport mapValues from 'lodash/mapValues';\nimport pick from 'lodash/pick';\nimport omit from 'lodash/omit';\nimport isEmpty from 'lodash/isEmpty';\nimport styled from 'styled-components';\n\nimport Store from 'logic/local-storage/Store';\nimport { Modal, Button } from 'components/bootstrap';\nimport type {\n ItemKey,\n Checked,\n ModalData, MappedData, StrategyId,\n} from 'views/logic/valueactions/createEventDefinition/types';\nimport CheckBoxGroup from 'views/logic/valueactions/createEventDefinition/CheckBoxGroup';\nimport {\n aggregationGroup,\n searchGroup,\n labels,\n} from 'views/logic/valueactions/createEventDefinition/Constants';\nimport RadioSection from 'views/logic/valueactions/createEventDefinition/RadioSection';\nimport { ExpandableList, ExpandableListItem, Icon, LinkButton } from 'components/common';\nimport useLocalStorageConfigData from 'views/logic/valueactions/createEventDefinition/hooks/useLocalStorageConfigData';\nimport Routes from 'routing/Routes';\nimport useModalReducer from 'views/logic/valueactions/createEventDefinition/hooks/useModalReducer';\nimport generateId from 'logic/generateId';\n\nconst Container = styled.div`\n margin-top: 10px;\n`;\nconst CheckboxLabel = ({ itemKey, value }: { itemKey: ItemKey, value: string | number}) => (\n \n {`${labels[itemKey]}: `}\n {value}\n \n);\n\nconst CreateEventDefinitionModal = ({ modalData, mappedData, show, onClose }: { mappedData: MappedData, modalData: ModalData, show: boolean, onClose: () => void }) => {\n const [{ strategy, checked, showDetails }, dispatchWithData] = useModalReducer(modalData);\n const localStorageConfig = useLocalStorageConfigData({ mappedData, checked });\n const sessionId = useMemo(() => `cedfv-${generateId()}`, []);\n const eventDefinitionCreationUrl = `${Routes.ALERTS.DEFINITIONS.CREATE}?step=condition&session-id=${sessionId}`;\n\n const onCheckboxChange = useCallback((updates) => {\n dispatchWithData({ type: 'UPDATE_CHECKED_ITEMS', payload: updates });\n }, [dispatchWithData]);\n\n const onStrategyChange = useCallback((e) => {\n dispatchWithData({ type: `SET_${e.target.value}_STRATEGY` });\n }, [dispatchWithData]);\n const toggleDetailsOpen = useCallback(() => {\n dispatchWithData({ type: 'TOGGLE_SHOW_DETAILS' });\n }, [dispatchWithData]);\n\n const aggregationChecks = useMemo>(() => pick(checked, aggregationGroup), [checked]);\n const searchChecks = useMemo>(() => pick(checked, searchGroup), [checked]);\n const restChecks = useMemo>(() => omit(checked, [...searchGroup, ...aggregationGroup]), [checked]);\n\n const aggregationLabels = useMemo<{ [name: string]: JSX.Element }>(() => mapValues(pick(modalData, aggregationGroup), (value, key: ItemKey) => ), [modalData]);\n const searchLabels = useMemo<{ [name: string]: JSX.Element }>(() => mapValues(pick(modalData, searchGroup), (value, key: ItemKey) => (\n \n )), [modalData]);\n\n const restLabels = useMemo<{ [name: string]: JSX.Element }>(() => mapValues(omit(modalData, [...aggregationGroup, ...searchGroup]), (value, key: ItemKey) => (\n \n )), [modalData]);\n\n const strategyAvailabilities = useMemo<{[name in StrategyId]: boolean}>(() => ({\n ALL: true,\n ROW: !!mappedData?.rowValuePath?.length,\n COL: !!mappedData?.columnValuePath?.length,\n CUSTOM: true,\n EXACT: true,\n }), [mappedData?.columnValuePath?.length, mappedData?.rowValuePath?.length]);\n\n const onContinueConfigurationClick = useCallback(() => {\n Store.set(sessionId, localStorageConfig);\n onClose();\n }, [sessionId, localStorageConfig, onClose]);\n\n return (\n \n \n Configure new event definition\n \n \n \n \n {\n showDetails && (\n \n \n {!isEmpty(aggregationChecks) && (\n \n )}\n {!isEmpty(searchChecks) && (\n \n )}\n {\n Object.entries(restChecks).map(([key, isChecked]) => (\n onCheckboxChange({ [key]: !isChecked })}\n header={restLabels[key]}\n padded={false}\n expandable={false} />\n ))\n }\n \n \n )\n }\n \n \n Continue configuration\n \n \n );\n};\n\nexport default CreateEventDefinitionModal;\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 Immutable from 'immutable';\n\nimport type { FilterType } from 'views/logic/queries/Query';\nimport type { AggregationHandler } from 'views/logic/valueactions/createEventDefinition/types';\nimport { seriesToMetrics } from 'views/components/aggregationwizard/metric/MetricElement';\nimport type Widget from 'views/logic/widgets/Widget';\nimport type Parameter from 'views/logic/parameters/Parameter';\nimport type ValueParameter from 'views/logic/parameters/ValueParameter';\nimport type LookupTableParameter from 'views/logic/parameters/LookupTableParameter';\nimport type ParameterBinding from 'views/logic/parameters/ParameterBinding';\nimport type { FiltersType } from 'views/types';\nimport type AggregationWidgetConfig from 'views/logic/aggregationbuilder/AggregationWidgetConfig';\nimport type Pivot from 'views/logic/aggregationbuilder/Pivot';\nimport { concatQueryStrings, escape } from 'views/logic/queries/QueryHelper';\n\nexport const getStreams = (filter: FilterType): Array => {\n if (!filter) return [];\n\n return filter.get('filters')\n .filter((curFilter) => curFilter.get('type') === 'stream')\n .map((curFilter) => curFilter.get('id'))\n .toArray();\n};\n\nexport const transformValuePathToQuery = (valuePath: Array<{ [name: string]: string}>) => concatQueryStrings(valuePath.filter((path) => {\n const key = Object.keys(path)[0];\n\n return key !== '_exists_';\n}).map((path) => {\n const [field, value] = Object.entries(path)[0];\n\n return `${field}:${escape(value)}`;\n}), { withBrackets: false });\n\nexport const getFlattenPivots = (pivots: Array): Set => new Set(pivots.flatMap(({ fields }) => fields));\n\nexport const filtratePathsByPivot = ({ flattenPivots, valuePath }: {flattenPivots: Set, valuePath: Array<{ [name: string]: string }>}): Array<{[name:string]: string}> => {\n if (!valuePath) return [];\n const map = valuePath.reduce((res, cur) => {\n const key = Object.keys(cur)[0];\n\n if (!res.has(key) && flattenPivots.has(key)) {\n res.set(key, cur);\n }\n\n return res;\n }, new Map([])) as Map;\n\n return Array.from(map.values());\n};\n\nexport const aggregationMetricValueHandler: AggregationHandler = ({ widget, value, field, valuePath }) => {\n const curSeries = widget.config.series.find((series) => series.function === field);\n const { field: agg_field, function: agg_function } = seriesToMetrics([curSeries])[0];\n const { rowPivots, columnPivots } = widget.config as AggregationWidgetConfig;\n const flattenRowPivots = getFlattenPivots(rowPivots);\n const flattenColumnPivots = getFlattenPivots(columnPivots);\n const rowPaths = filtratePathsByPivot({ flattenPivots: flattenRowPivots, valuePath });\n const columnPaths = filtratePathsByPivot({ flattenPivots: flattenColumnPivots, valuePath });\n const rowValuePath = transformValuePathToQuery(rowPaths);\n const columnValuePath = transformValuePathToQuery(columnPaths);\n\n return ({\n aggField: agg_field,\n aggFunction: agg_function,\n aggValue: value,\n rowGroupBy: Array.from(flattenRowPivots),\n columnGroupBy: Array.from(flattenColumnPivots),\n rowValuePath,\n columnValuePath,\n });\n};\n\nexport const aggregationValueHandler: AggregationHandler = ({ widget, value, field, valuePath }) => {\n const { rowPivots } = widget.config;\n const flattenRowPivots = getFlattenPivots(rowPivots);\n const rowPaths = filtratePathsByPivot({ flattenPivots: flattenRowPivots, valuePath });\n const rowValuePath = transformValuePathToQuery(rowPaths);\n\n return ({\n searchFromValue: `${field}:${escape(value)}`,\n rowValuePath,\n });\n};\n\nexport const messagesValueHandler: AggregationHandler = ({ value, field }) => ({\n searchFromValue: `${field}:${escape(value)}`,\n});\n\nexport const logsValueHandler: AggregationHandler = ({ value, field }) => ({\n searchFromValue: `${field}:${escape(value)}`,\n});\n\nexport const getAggregationHandler = ({ widget, field }: { widget: Widget, field: string }): AggregationHandler => {\n if (widget.type === 'AGGREGATION') {\n const isMetrics = !!widget.config.series.find((series) => series.function === field);\n\n return isMetrics ? aggregationMetricValueHandler : aggregationValueHandler;\n }\n\n if (widget.type === 'logs') return logsValueHandler;\n if (widget.type === 'messages') return messagesValueHandler;\n\n throw new Error('This widget type has incorrect type or no handler');\n};\n\nexport const getLutParameters = (parameters: Immutable.Set) => parameters.reduce((res, cur) => {\n if (cur.type === 'lut-parameter-v1') {\n const paramJSON = cur.toJSON();\n res.push(paramJSON);\n }\n\n return res;\n}, []);\n\nexport const getRestParameterValues = (\n { parameters, parameterBindings }:\n { parameters: Immutable.Set, parameterBindings?: Immutable.Map},\n) => parameters.reduce((res, cur) => {\n if (cur.type !== 'lut-parameter-v1') {\n const paramJSON = cur.toJSON();\n const { name } = paramJSON;\n const bindingValue = parameterBindings?.get(name)?.value;\n res[name] = bindingValue ?? paramJSON?.default_value;\n }\n\n return res;\n}, {});\n\nexport const transformSearchFiltersToQuery = (filters: FiltersType = Immutable.List([])) => concatQueryStrings(filters\n .filter((filter) => (filter.queryString && !filter.disabled))\n .map((filter) => `${filter.negation ? 'NOT' : ''}(${filter.queryString})`).toArray(), { withBrackets: false });\n\nexport const replaceParametersInQueryString = ({ query, restParameterValues }: {\n query: string,\n restParameterValues: { [name: string]: string | number }\n}) => {\n let curQuery = query;\n\n Object.entries(restParameterValues).forEach(([parameterName, parameterValue]) => {\n curQuery = curQuery.replace(`$${parameterName}$`, `${parameterValue}`);\n });\n\n return curQuery;\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 */\n\nimport { useMemo } from 'react';\nimport pickBy from 'lodash/pickBy';\nimport isArray from 'lodash/isArray';\nimport isNumber from 'lodash/isNumber';\nimport type Immutable from 'immutable';\n\nimport type { MappedData } from 'views/logic/valueactions/createEventDefinition/types';\nimport type { ActionContexts } from 'views/types';\nimport type { RelativeTimeRangeWithEnd } from 'views/logic/queries/Query';\nimport type { ActionComponentProps } from 'views/components/actions/ActionHandler';\nimport {\n getAggregationHandler,\n getLutParameters,\n getRestParameterValues,\n transformSearchFiltersToQuery,\n replaceParametersInQueryString,\n getStreams,\n} from 'views/logic/valueactions/createEventDefinition/hooks/hookHelpers';\nimport type ValueParameter from 'views/logic/parameters/ValueParameter';\nimport type LookupTableParameter from 'views/logic/parameters/LookupTableParameter';\n\ntype HookProps = Pick & { contexts: ActionContexts }\nconst useMappedData = ({ contexts, field, queryId, value }: HookProps) => useMemo(() => {\n const aggregationHandler = getAggregationHandler({ widget: contexts.widget, field: field });\n const curQuery = contexts.view.search.queries.find((query) => query.id === queryId);\n const { parameters, parameterBindings } = contexts;\n const searchWithinMs = curQuery.timerange.type === 'relative' ? (curQuery.timerange as RelativeTimeRangeWithEnd).from * 1000 : undefined;\n const lutParameters = getLutParameters(parameters);\n const restParameterValues = getRestParameterValues({ parameters: parameters as Immutable.Set, parameterBindings });\n const searchFilterQuery = transformSearchFiltersToQuery(curQuery.filters);\n const queryWithReplacedParams = replaceParametersInQueryString({ query: curQuery.query.query_string, restParameterValues });\n const streams = getStreams(curQuery.filter);\n const { ...aggregationVales } = aggregationHandler({ valuePath: contexts.valuePath, widget: contexts.widget, value: value, field: field });\n const data: MappedData = {\n searchWithinMs,\n lutParameters,\n searchFilterQuery,\n queryWithReplacedParams,\n streams,\n ...aggregationVales,\n };\n\n return pickBy(data, (v) => {\n if (isArray(v)) {\n return !!v.length;\n }\n\n if (isNumber(v)) {\n return true;\n }\n\n return !!v?.trim();\n });\n}, [contexts, field, queryId, value]);\n\nexport default useMappedData;\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 { useMemo } from 'react';\n\nimport type { ModalData } from 'views/logic/valueactions/createEventDefinition/types';\nimport type { Stream } from 'views/stores/StreamsStore';\nimport { StreamsStore } from 'views/stores/StreamsStore';\nimport { useStore } from 'stores/connect';\n\nconst useModalData = (mappedData) => {\n const normalizedStreams: {[name: string]: Stream} = useStore(StreamsStore, ({ streams }) => streams.reduce((res, stream) => {\n res[stream.id] = { id: stream.id, title: stream.title };\n\n return res;\n }, {}));\n\n return useMemo(() => {\n const {\n aggField = '',\n aggFunction = '',\n aggValue = '',\n columnGroupBy,\n rowGroupBy,\n streams,\n lutParameters,\n ...rest\n } = mappedData;\n const res: ModalData = { ...rest };\n\n if (aggFunction) {\n res.aggCondition = `${aggFunction}(${aggField}): ${aggValue}`;\n }\n\n if (streams?.length) {\n res.streams = streams.map((id) => normalizedStreams[id].title).join(', ');\n }\n\n Object.entries({ columnGroupBy, rowGroupBy }).forEach(([key, entireValue]) => {\n if (entireValue) {\n res[key] = entireValue.join(', ');\n }\n });\n\n if (lutParameters) {\n res.lutParameters = lutParameters.map((param) => param.name).join(', ');\n }\n\n return res;\n }, [mappedData, normalizedStreams]);\n};\n\nexport default useModalData;\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, { useCallback, useContext, useState } from 'react';\n\nimport type { ActionComponentProps } from 'views/components/actions/ActionHandler';\nimport CreateEventDefinitionModal from 'views/logic/valueactions/createEventDefinition/CreateEventDefinitionModal';\nimport useMappedData from 'views/logic/valueactions/createEventDefinition/hooks/useMappedData';\nimport useModalData from 'views/logic/valueactions/createEventDefinition/hooks/useModalData';\nimport { ActionContext } from 'views/logic/ActionContext';\n\nconst CreateEventDefinition = ({\n value,\n field,\n queryId,\n onClose,\n}: ActionComponentProps) => {\n const contexts = useContext(ActionContext);\n\n const mappedData = useMappedData({ contexts, field, queryId, value });\n const modalData = useModalData(mappedData);\n const [show, setShow] = useState(true);\n const handleOnClose = useCallback(() => {\n setShow(false);\n onClose();\n }, [onClose]);\n\n return show ? : null;\n};\n\nexport default CreateEventDefinition;\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 type { FieldTypes } from 'views/logic/fieldactions/ChangeFieldType/types';\nimport { SystemFieldTypes } from '@graylog/server-api';\n\nconst INITIAL_DATA = {\n fieldTypes: {},\n};\n\nconst fetchFieldTypes = async () => {\n const fieldTypes = await SystemFieldTypes.getAllFieldTypes();\n\n return ({ fieldTypes });\n};\n\nconst useFiledTypeOptions = (): {\n data: { fieldTypes: FieldTypes },\n isLoading: boolean,\n} => {\n const { data, isLoading } = useQuery(\n ['fieldTypeOptions'],\n fetchFieldTypes,\n {\n onError: (errorThrown) => {\n UserNotification.error(`Loading field type options failed with status: ${errorThrown}`,\n 'Could not load field type options');\n },\n keepPreviousData: true,\n },\n );\n\n return ({\n data: data ?? INITIAL_DATA,\n isLoading,\n });\n};\n\nexport default useFiledTypeOptions;\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 type { Sort } from 'stores/PaginationTypes';\n\nexport const ENTITY_TABLE_ID = 'field-type';\nexport const DEFAULT_LAYOUT = {\n pageSize: 20,\n sort: { attributeId: 'index_set_title', direction: 'asc' } as Sort,\n displayedColumns: ['index_set_title', 'stream_titles', 'types'],\n columnsOrder: ['index_set_title', 'stream_titles', 'types'],\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 { useQuery } from '@tanstack/react-query';\n\nimport UserNotification from 'util/UserNotification';\nimport type { Attribute } from 'stores/PaginationTypes';\nimport type { FieldTypeUsage } from 'views/logic/fieldactions/ChangeFieldType/types';\nimport { SystemIndexSetsTypes } from '@graylog/server-api';\n\nconst INITIAL_DATA = {\n pagination: { total: 0 },\n list: [],\n attributes: [],\n};\n\ntype Options = {\n enabled: boolean,\n}\nexport type Sort = {\n attributeId: 'index_set_id' | 'index_set_title',\n direction: 'asc' | 'desc'\n}\n\nexport type SearchParams = {\n page: number,\n pageSize: number,\n sort: Sort\n}\n\nconst fetchFieldTypeUsages = async ({ field, streams }: { field: string, streams: Array}, searchParams: SearchParams) => {\n const { sort: { attributeId, direction }, page, pageSize } = searchParams;\n const body = { field, streams: streams.length ? streams : undefined };\n\n return SystemIndexSetsTypes.fieldTypeSummaries(\n body, attributeId, page, pageSize, direction).then(\n ({ elements, total, attributes }) => ({\n list: elements\n .map(({\n stream_titles,\n index_set_title,\n index_set_id,\n types,\n }) => ({\n streamTitles: stream_titles,\n types,\n id: index_set_id,\n indexSetTitle: index_set_title,\n })),\n pagination: { total },\n attributes,\n }),\n );\n};\n\nconst useFieldTypeUsages = ({ streams, field }: { streams: Array, field: string }, searchParams: SearchParams, { enabled }: Options = { enabled: true }): {\n data: {\n list: Readonly>,\n pagination: { total: number },\n attributes: Array\n },\n refetch: () => void,\n isInitialLoading: boolean,\n isLoading: boolean,\n} => {\n const { data, refetch, isInitialLoading, isLoading } = useQuery(\n ['fieldTypeUsages', field, searchParams],\n () => fetchFieldTypeUsages({ streams, field }, searchParams),\n {\n onError: (errorThrown) => {\n UserNotification.error(`Loading ${field} types failed with status: ${errorThrown}`,\n 'Could not load field types');\n },\n keepPreviousData: true,\n enabled,\n },\n );\n\n return ({\n data: data ?? INITIAL_DATA,\n refetch,\n isInitialLoading,\n isLoading,\n });\n};\n\nexport default useFieldTypeUsages;\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, { useMemo } from 'react';\nimport styled, { css } from 'styled-components';\nimport take from 'lodash/take';\nimport last from 'lodash/last';\n\nimport type { ColumnRenderers } from 'components/common/EntityDataTable';\nimport type { FieldTypes, FieldTypeUsage, TypeHistoryItem } from 'views/logic/fieldactions/ChangeFieldType/types';\n\nconst RestTypesContainer = styled.i(({ theme }) => css`\n font-size: ${theme.fonts.size.small};\n display: block;\n margin-top: 5px;\n`);\n\nexport const useColumnRenderers = (fieldTypes: FieldTypes) => {\n const customColumnRenderers: ColumnRenderers = useMemo(() => ({\n attributes: {\n stream_titles: {\n renderCell: (streams: Array) => streams.join(', '),\n },\n types: {\n renderCell: (items: Array) => {\n const latest = fieldTypes[last(items)] || last(items);\n const rest = take(items, items.length - 1).map((item) => fieldTypes[item] || item);\n if (!latest) return type is not defined;\n\n return (\n
    \n {latest}\n {!!rest.length && (\n \n (previous values:\n {' '}\n {rest.join(', ')}\n )\n \n )}\n
    \n );\n },\n },\n },\n }), [fieldTypes]);\n\n return customColumnRenderers;\n};\n\nexport default useColumnRenderers;\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 { useContext, useMemo } from 'react';\n\nimport { ActionContext } from 'views/logic/ActionContext';\nimport useCurrentQuery from 'views/logic/queries/useCurrentQuery';\nimport { filtersToStreamSet } from 'views/logic/queries/Query';\n\nconst useCurrentStream = () => {\n const { widget, message } = useContext(ActionContext);\n const currentQuery = useCurrentQuery();\n\n return useMemo(() => message?.fields?.streams ?? widget?.streams ?? filtersToStreamSet(currentQuery.filter).toJS() ?? [], [message?.fields?.streams, currentQuery.filter, widget?.streams]);\n};\n\nexport default useCurrentStream;\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, { useMemo, useCallback, useState, useEffect } from 'react';\nimport styled from 'styled-components';\n\nimport {\n PaginatedList,\n Spinner,\n NoEntitiesExist,\n EntityDataTable,\n Icon,\n} from 'components/common';\nimport { Button } from 'components/bootstrap';\nimport { DEFAULT_LAYOUT, ENTITY_TABLE_ID } from 'views/logic/fieldactions/ChangeFieldType/Constants';\nimport useTableLayout from 'components/common/EntityDataTable/hooks/useTableLayout';\nimport type { SearchParams, Sort } from 'views/logic/fieldactions/ChangeFieldType/hooks/useFieldTypeUsages';\nimport useFieldTypeUsages from 'views/logic/fieldactions/ChangeFieldType/hooks/useFieldTypeUsages';\nimport useUpdateUserLayoutPreferences from 'components/common/EntityDataTable/hooks/useUpdateUserLayoutPreferences';\nimport type { FieldTypeUsage, FieldTypes } from 'views/logic/fieldactions/ChangeFieldType/types';\nimport useColumnRenderers from 'views/logic/fieldactions/ChangeFieldType/hooks/useColumnRenderers';\nimport BulkActionsDropdown from 'components/common/EntityDataTable/BulkActionsDropdown';\nimport useCurrentStream from 'views/logic/fieldactions/ChangeFieldType/hooks/useCurrentStream';\n\nconst Container = styled.div`\n margin-top: 20px;\n`;\n\ntype Props = {\n field: string,\n setIndexSetSelection: React.Dispatch>,\n fieldTypes: FieldTypes,\n initialSelection: Array\n}\n\nconst renderBulkActions = (\n selectedDashboardIds: Array,\n setSelectedDashboardIds: (streamIds: Array) => void,\n) => (\n \n);\n\nconst IndexSetsTable = ({ field, setIndexSetSelection, fieldTypes, initialSelection }: Props) => {\n const [showDetails, setShowDetails] = useState(false);\n const [activePage, setActivePage] = useState(1);\n\n const { layoutConfig, isInitialLoading: isLoadingLayoutPreferences } = useTableLayout({\n entityTableId: ENTITY_TABLE_ID,\n defaultPageSize: DEFAULT_LAYOUT.pageSize,\n defaultDisplayedAttributes: DEFAULT_LAYOUT.displayedColumns,\n defaultSort: DEFAULT_LAYOUT.sort,\n });\n\n const searchParams: SearchParams = useMemo(() => ({\n page: activePage,\n pageSize: layoutConfig.pageSize,\n sort: layoutConfig.sort as Sort,\n }), [activePage, layoutConfig.pageSize, layoutConfig.sort]);\n const currentStreams = useCurrentStream();\n const { data: { list, attributes, pagination }, isLoading } = useFieldTypeUsages({ field, streams: currentStreams }, searchParams, { enabled: !isLoadingLayoutPreferences && !!currentStreams });\n\n const { mutate: updateTableLayout } = useUpdateUserLayoutPreferences(ENTITY_TABLE_ID);\n\n useEffect(() => {\n setIndexSetSelection(initialSelection);\n }, [initialSelection, setIndexSetSelection]);\n\n const onPageChange = useCallback(\n (newPage: number, newPageSize: number) => {\n if (newPage) {\n setActivePage(newPage);\n }\n\n if (newPageSize) {\n updateTableLayout({ perPage: newPageSize });\n }\n }, [updateTableLayout],\n );\n\n const onPageSizeChange = useCallback((newPageSize: number) => {\n setActivePage(1);\n updateTableLayout({ perPage: newPageSize });\n }, [updateTableLayout]);\n\n const onSortChange = useCallback((newSort: Sort) => {\n setActivePage(1);\n updateTableLayout({ sort: newSort });\n }, [updateTableLayout]);\n\n const onColumnsChange = useCallback((displayedAttributes: Array) => {\n updateTableLayout({ displayedAttributes });\n }, [updateTableLayout]);\n\n const columnRenderers = useColumnRenderers(fieldTypes);\n\n const onChangeSelection = useCallback((newSelection: Array) => {\n setIndexSetSelection(newSelection);\n }, [setIndexSetSelection]);\n\n const toggleDetailsOpen = useCallback(() => {\n setShowDetails((cur) => !cur);\n }, []);\n\n if (isLoadingLayoutPreferences || isLoading) {\n return ;\n }\n\n return (\n <>\n \n {\n showDetails && (\n \n \n {!list?.length && (\n \n No index sets have been found.\n \n )}\n {list.length && (\n activeSort={layoutConfig.sort}\n bulkSelection={{\n onChangeSelection,\n initialSelection,\n actions: renderBulkActions,\n }}\n columnDefinitions={attributes}\n columnRenderers={columnRenderers}\n columnsOrder={DEFAULT_LAYOUT.columnsOrder}\n data={list}\n onColumnsChange={onColumnsChange}\n onPageSizeChange={onPageSizeChange}\n onSortChange={onSortChange}\n pageSize={layoutConfig.pageSize}\n visibleColumns={layoutConfig.displayedAttributes} />\n )}\n \n \n )\n }\n \n );\n};\n\nexport default IndexSetsTable;\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 { useMutation } from '@tanstack/react-query';\n\nimport fetch from 'logic/rest/FetchProvider';\nimport { qualifyUrl } from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport type { ChangeFieldTypeBody, ChangeFieldTypeBodyJson } from 'views/logic/fieldactions/ChangeFieldType/types';\n\nexport const urlPrefix = '/system/indices/mappings';\n\nconst putFiledType = async ({\n indexSetSelection,\n newFieldType,\n rotated,\n field,\n}: ChangeFieldTypeBody) => {\n const url = qualifyUrl(urlPrefix);\n const body: ChangeFieldTypeBodyJson = {\n index_sets: indexSetSelection,\n type: newFieldType,\n rotate: rotated,\n field: field,\n };\n\n return fetch('PUT', url, body);\n};\n\nconst usePutFiledTypeMutation = () => {\n const put = useMutation(putFiledType, {\n onError: (errorThrown) => {\n UserNotification.error(`Changing the field type failed with status: ${errorThrown}`,\n 'Could not change the field type');\n },\n onSuccess: () => {\n UserNotification.success('The field type changed successfully', 'Success!');\n },\n });\n\n return { putFiledTypeMutation: put.mutateAsync, isLoading: put.isLoading };\n};\n\nexport default usePutFiledTypeMutation;\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 { useMemo } from 'react';\n\nimport { useStore } from 'stores/connect';\nimport type { Stream } from 'views/stores/StreamsStore';\nimport { StreamsStore } from 'views/stores/StreamsStore';\nimport useCurrentStream from 'views/logic/fieldactions/ChangeFieldType/hooks/useCurrentStream';\n\nconst streamsMapper = ({ streams }) => streams.map((stream: Stream) => ({ indexSet: stream.index_set_id, id: stream.id }));\n\nconst useInitialSelection = () => {\n const currentStreams = useCurrentStream();\n const availableStreams: Array<{ indexSet: string, id: string }> = useStore(StreamsStore, streamsMapper);\n\n return useMemo(() => {\n const currentStreamSet = new Set(currentStreams);\n const filterFn = currentStreamSet.size > 0 ? ({ id }) => currentStreamSet.has(id) : () => true;\n\n return availableStreams.filter(filterFn).map(({ indexSet }) => indexSet);\n }, [availableStreams, currentStreams]);\n};\n\nexport default useInitialSelection;\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, { useMemo, useCallback, useState, useEffect } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { Badge, BootstrapModalForm, Alert, Input } from 'components/bootstrap';\nimport { Select, Spinner } from 'components/common';\nimport StreamLink from 'components/streams/StreamLink';\nimport useFiledTypes from 'views/logic/fieldactions/ChangeFieldType/hooks/useFieldTypes';\nimport IndexSetsTable from 'views/logic/fieldactions/ChangeFieldType/IndexSetsTable';\nimport usePutFiledTypeMutation from 'views/logic/fieldactions/ChangeFieldType/hooks/useFieldTypeMutation';\nimport useStream from 'components/streams/hooks/useStream';\nimport { DocumentationLink } from 'components/support';\nimport DocsHelper from 'util/DocsHelper';\nimport { defaultCompare } from 'logic/DefaultCompare';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\nimport { getPathnameWithoutId } from 'util/URLUtils';\nimport useLocation from 'routing/useLocation';\nimport useInitialSelection from 'views/logic/fieldactions/ChangeFieldType/hooks/useInitialSelection';\nimport { Link } from 'components/common/router';\nimport Routes from 'routing/Routes';\n\nconst StyledSelect = styled(Select)`\n width: 400px;\n margin-bottom: 20px;\n`;\n\nconst RedBadge = styled(Badge)(({ theme }) => css`\n background-color: ${theme.colors.variant.light.danger};\n`);\n\nconst BetaBadge = () => Beta Feature;\n\nconst failureStreamId = '000000000000000000000004';\n\ntype Props = {\n show: boolean,\n field: string,\n onClose: () => void\n}\n\nconst FailureStreamLink = () => {\n const { data: failureStream, isFetching: isFetchingFailureStream, isError: isErrorFailureStream } = useStream(failureStreamId);\n if (isFetchingFailureStream) return ;\n\n return (\n \n \n (Enterprise Plugin required)\n \n );\n};\n\nconst ChangeFieldTypeModal = ({ show, onClose, field }: Props) => {\n const sendTelemetry = useSendTelemetry();\n const [rotated, setRotated] = useState(false);\n const [newFieldType, setNewFieldType] = useState(null);\n const { data: { fieldTypes }, isLoading: isOptionsLoading } = useFiledTypes();\n const fieldTypeOptions = useMemo(() => Object.entries(fieldTypes)\n .sort(([, label1], [, label2]) => defaultCompare(label1, label2))\n .map(([value, label]) => ({\n value,\n label,\n })), [fieldTypes]);\n\n const [indexSetSelection, setIndexSetSelection] = useState>();\n\n const { putFiledTypeMutation } = usePutFiledTypeMutation();\n const initialSelection = useInitialSelection();\n const { pathname } = useLocation();\n const telemetryPathName = useMemo(() => getPathnameWithoutId(pathname), [pathname]);\n const onSubmit = useCallback((e: React.FormEvent) => {\n e.preventDefault();\n\n putFiledTypeMutation({\n indexSetSelection,\n newFieldType,\n rotated,\n field,\n }).then(() => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.SEARCH_FIELD_VALUE_ACTION.CHANGE_FIELD_TYPE_CHANGED, {\n app_pathname: telemetryPathName,\n app_action_value:\n {\n value: 'change-field-type',\n rotated,\n isAllIndexesSelected: indexSetSelection.length === initialSelection.length,\n },\n });\n\n onClose();\n });\n }, [field, indexSetSelection, initialSelection.length, newFieldType, onClose, putFiledTypeMutation, rotated, sendTelemetry, telemetryPathName]);\n\n const onChangeFieldType = useCallback((value: string) => {\n setNewFieldType(value);\n }, []);\n\n useEffect(() => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.SEARCH_FIELD_VALUE_ACTION.CHANGE_FIELD_TYPE_OPENED, { app_pathname: telemetryPathName, app_action_value: 'change-field-type-opened' });\n }, [sendTelemetry, telemetryPathName]);\n\n const onCancel = useCallback(() => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.SEARCH_FIELD_VALUE_ACTION.CHANGE_FIELD_TYPE_CLOSED, { app_pathname: telemetryPathName, app_action_value: 'change-field-type-closed' });\n onClose();\n }, [onClose, sendTelemetry, telemetryPathName]);\n\n return (\n Change {field} field type }\n submitButtonText=\"Change field type\"\n onSubmitForm={onSubmit}\n onCancel={onCancel}\n show={show}\n bsSize=\"large\">\n
    \n \n Changing the type of the field can have a significant impact on the ingestion of future log messages.\n If you declare a field to have a type which is incompatible with the logs you are ingesting, it can lead to\n ingestion errors. It is recommended to enable and watch\n the stream closely afterwards.\n \n \n \n \n \n By default the type will be changed in all index sets of the current message/search. By expanding the next section, you can select for which index sets you would like to make the change.\n \n \n setRotated((cur) => !cur)}\n checked={rotated} />\n
    \n
    \n );\n};\n\nexport default ChangeFieldTypeModal;\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 { RESERVED_FIELDS } from 'views/Constants';\n\nconst isReservedField = (fieldName: string) => RESERVED_FIELDS.includes(fieldName);\n\nexport default isReservedField;\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, { useCallback, useState } from 'react';\n\nimport type { ActionComponentProps, ActionHandlerArguments } from 'views/components/actions/ActionHandler';\nimport ChangeFieldTypeModal from 'views/logic/fieldactions/ChangeFieldType/ChangeFieldTypeModal';\nimport { isFunction } from 'views/logic/aggregationbuilder/Series';\nimport type User from 'logic/users/User';\nimport AppConfig from 'util/AppConfig';\nimport isReservedField from 'views/logic/IsReservedField';\n\nconst ChangeFieldType = ({\n field,\n onClose,\n}: ActionComponentProps) => {\n const [show, setShow] = useState(true);\n\n const handleOnClose = useCallback(() => {\n setShow(false);\n onClose();\n }, [onClose]);\n\n return show ? : null;\n};\n\nconst hasMappingPermission = (currentUser: User) => currentUser.permissions.includes('typemappings:edit') || currentUser.permissions.includes('*');\n\nexport const isChangeFieldTypeEnabled = ({ field, type, contexts }: ActionHandlerArguments) => {\n const { currentUser } = contexts;\n\n return (!isFunction(field) && !type.isDecorated() && !isReservedField(field) && hasMappingPermission(currentUser));\n};\n\nexport const isChangeFieldTypeHidden = () => !AppConfig.isFeatureEnabled('field_types_management');\n\nexport const ChangeFieldTypeHelp = ({ contexts }: ActionHandlerArguments) => {\n const { currentUser } = contexts;\n hasMappingPermission(currentUser);\n\n if (hasMappingPermission(currentUser)) return null;\n\n return ({ title: 'No permission', description: 'You don\\'t have permission to do that action' });\n};\n\nexport default ChangeFieldType;\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 Immutable from 'immutable';\n\nimport Parameter from 'views/logic/parameters/Parameter';\nimport ParameterBinding from 'views/logic/parameters/ParameterBinding';\nimport type { ParameterJson } from 'views/logic/parameters/Parameter';\n\ntype InternalBuilderState = Immutable.Map;\n\nexport default class ValueParameter extends Parameter {\n static type = 'value-parameter-v1';\n\n static Builder: typeof Builder;\n\n constructor(name: string, title: string, description: string, dataType: string, defaultValue: any, optional: boolean, binding?: ParameterBinding) {\n super(ValueParameter.type, name, title, description, dataType, defaultValue, optional, binding);\n }\n\n static create(name: string, title: string, description: string, dataType: string, defaultValue: any, optional: boolean, binding?: ParameterBinding): ValueParameter {\n return new ValueParameter(name, title, description, dataType, defaultValue, optional, binding);\n }\n\n toBuilder(): Builder {\n const { type, name, title, description, dataType, defaultValue, optional, binding } = this._value;\n\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder(Immutable.Map({ type, name, title, description, dataType, defaultValue, optional, binding }));\n }\n\n toJSON(): ParameterJson {\n const { type, name, title, description, dataType, defaultValue, optional, binding } = this._value;\n\n return {\n type,\n name,\n title,\n description,\n data_type: dataType,\n default_value: defaultValue,\n optional,\n binding: binding ? binding.toJSON() : undefined,\n };\n }\n\n static fromJSON(value: ParameterJson): ValueParameter {\n const { name, title, description, data_type, default_value, optional, binding } = value;\n\n return new ValueParameter(name, title, description, data_type, default_value, optional, ParameterBinding.fromJSON(binding));\n }\n\n static builder(): Builder {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder()\n .type(ValueParameter.type)\n .optional(false)\n .dataType('any')\n .binding(ParameterBinding.empty());\n }\n}\n\nclass Builder {\n value: InternalBuilderState;\n\n constructor(value: InternalBuilderState = Immutable.Map()) {\n this.value = value;\n }\n\n type(value: string): Builder {\n return new Builder(this.value.set('type', value));\n }\n\n name(value: string): Builder {\n return new Builder(this.value.set('name', value));\n }\n\n title(value: string): Builder {\n return new Builder(this.value.set('title', value));\n }\n\n description(value: string): Builder {\n return new Builder(this.value.set('description', value));\n }\n\n dataType(value: string): Builder {\n return new Builder(this.value.set('dataType', value));\n }\n\n defaultValue(value: any): Builder {\n return new Builder(this.value.set('defaultValue', value));\n }\n\n optional(value: boolean): Builder {\n return new Builder(this.value.set('optional', value));\n }\n\n binding(value: ParameterBinding): Builder {\n return new Builder(this.value.set('binding', value));\n }\n\n build(): ValueParameter {\n const { name, title, description, dataType, defaultValue, optional, binding } = this.value.toObject();\n\n return new ValueParameter(name, title, description, dataType, defaultValue, optional, binding);\n }\n}\n\nValueParameter.Builder = Builder;\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 Direction from 'views/logic/aggregationbuilder/Direction';\n\ntype MessageSortConfigJson = {\n field: string,\n order: 'ASC' | 'DESC',\n};\n\ntype InternalState = {\n field: string,\n direction: Direction,\n};\n\nexport default class MessageSortConfig {\n _value: InternalState;\n\n constructor(field: string, direction: Direction) {\n this._value = { field, direction };\n }\n\n toJSON(): MessageSortConfigJson {\n const { field, direction } = this._value;\n\n return {\n field,\n order: direction === Direction.Ascending ? 'ASC' : 'DESC',\n };\n }\n\n static fromJSON({ field, order }: MessageSortConfigJson) {\n const direction = Direction.fromJSON(order === 'ASC' ? 'Ascending' : 'Descending');\n\n return new MessageSortConfig(field, direction);\n }\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 type MessagesWidget from 'views/logic/widgets/MessagesWidget';\nimport MessageSortConfig from 'views/logic/searchtypes/messages/MessageSortConfig';\n\nconst MessageConfigGenerator = (widget: MessagesWidget) => {\n const { config: { decorators, sort: widgetSort } } = widget;\n\n return [{\n type: 'messages',\n decorators,\n sort: widgetSort.map((sort) => new MessageSortConfig(sort.field, sort.direction)),\n }];\n};\n\nexport default MessageConfigGenerator;\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 from 'styled-components';\n\nimport type { EditWidgetComponentProps, WidgetComponentProps } from 'views/types';\nimport { Icon } from 'components/common';\nimport ClipboardButton from 'components/common/ClipboardButton';\n\nconst Container = styled.div`\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nconst IconContainer = styled.div`\n margin: 3px 15px 0 0;\n`;\n\nconst Description = styled.div`\n max-width: 700px;\n`;\n\nconst Row = styled.div`\n margin-bottom: 5px;\n\n &:last-child {\n margin-bottom: 0;\n }\n`;\n\nconst OrderedList = styled.ol`\n padding: 0;\n list-style: decimal inside none;\n`;\n\nconst UnknownWidget: React.ComponentType = ({ config, type }: WidgetComponentProps & EditWidgetComponentProps) => (\n \n \n \n \n \n \n Unknown Widget: {type}\n \n \n Unfortunately we are not able to render this widget, because we do not know how to handle widgets of\n type {type}. This might be caused by one of these situations:\n \n\n \n \n
  • You created this widget using a plugin that is now missing.
  • \n
  • This widget was part of a legacy dashboard and created by a plugin that is not available anymore.
  • \n
    \n
    \n\n \n What can you do about it? You can load the plugin again, contact the original plugin author for a plugin that\n works with Graylog 3.2+, or remove the widget if you do not need it anymore.\n \n \n Either way, you can copy the widget’s config to the\n clipboard: } text={JSON.stringify(config, null, 2)} bsSize=\"xsmall\" />\n \n
    \n
    \n);\n\nexport default UnknownWidget;\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 { useEffect } from 'react';\nimport { useParams } from 'react-router-dom';\n\nimport Routes from 'routing/Routes';\nimport useHistory from 'routing/useHistory';\n\nconst NewSearchRedirectPage = () => {\n const history = useHistory();\n const { streamId } = useParams();\n\n useEffect(() => {\n if (streamId) {\n history.push(Routes.stream_search(streamId));\n } else {\n history.push(Routes.SEARCH);\n }\n }, [history, streamId]);\n\n return null;\n};\n\nexport default NewSearchRedirectPage;\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 get from 'lodash/get';\nimport type { PluginExports } from 'graylog-web-plugin/plugin';\n\nimport type { WidgetComponentProps } from 'views/types';\nimport Routes from 'routing/Routes';\nimport App from 'routing/App';\nimport { MessageListHandler } from 'views/logic/searchtypes/messages';\nimport { MessageList } from 'views/components/widgets';\nimport AddToTableActionHandler from 'views/logic/fieldactions/AddToTableActionHandler';\nimport AddToAllTablesActionHandler from 'views/logic/fieldactions/AddToAllTablesActionHandler';\nimport AddToQueryHandler from 'views/logic/valueactions/AddToQueryHandler';\nimport AggregateActionHandler from 'views/logic/fieldactions/AggregateActionHandler';\nimport ChartActionHandler from 'views/logic/fieldactions/ChartActionHandler';\nimport AggregationBuilder from 'views/components/aggregationbuilder/AggregationBuilder';\nimport BarVisualization from 'views/components/visualizations/bar/BarVisualization';\nimport LineVisualization from 'views/components/visualizations/line/LineVisualization';\nimport NumberVisualization from 'views/components/visualizations/number/NumberVisualization';\nimport WorldMapVisualization from 'views/components/visualizations/worldmap/WorldMapVisualization';\nimport HeatmapVisualization from 'views/components/visualizations/heatmap/HeatmapVisualization';\nimport MigrateFieldCharts from 'views/components/MigrateFieldCharts';\nimport IfSearch from 'views/components/search/IfSearch';\nimport PivotConfigGenerator from 'views/logic/searchtypes/aggregation/PivotConfigGenerator';\nimport PivotHandler from 'views/logic/searchtypes/pivot/PivotHandler';\nimport PivotTransformer from 'views/logic/searchresulttransformers/PivotTransformer';\nimport EventHandler from 'views/logic/searchtypes/events/EventHandler';\nimport Widget from 'views/logic/widgets/Widget';\nimport AggregationWidget from 'views/logic/aggregationbuilder/AggregationWidget';\nimport MessagesWidget from 'views/logic/widgets/MessagesWidget';\nimport DataTable from 'views/components/datatable/DataTable';\nimport FieldStatisticsHandler from 'views/logic/fieldactions/FieldStatisticsHandler';\nimport ExcludeFromQueryHandler from 'views/logic/valueactions/ExcludeFromQueryHandler';\nimport { isFunction } from 'views/logic/aggregationbuilder/Series';\nimport EditMessageList from 'views/components/widgets/EditMessageList';\nimport {\n DashboardsPage,\n ShowViewPage,\n NewSearchPage,\n NewDashboardPage,\n StreamSearchPage,\n EventDefinitionReplaySearchPage,\n EventReplaySearchPage,\n} from 'views/pages';\nimport AddMessageCountActionHandler, { CreateMessageCount } from 'views/logic/fieldactions/AddMessageCountActionHandler';\nimport AddMessageTableActionHandler, { CreateMessagesWidget } from 'views/logic/fieldactions/AddMessageTableActionHandler';\nimport RemoveFromTableActionHandler from 'views/logic/fieldactions/RemoveFromTableActionHandler';\nimport RemoveFromAllTablesActionHandler from 'views/logic/fieldactions/RemoveFromAllTablesActionHandler';\nimport AddCustomAggregation, { CreateCustomAggregation } from 'views/logic/creatoractions/AddCustomAggregation';\nimport SelectExtractorType from 'views/logic/valueactions/SelectExtractorType';\nimport VisualizationConfig from 'views/logic/aggregationbuilder/visualizations/VisualizationConfig';\nimport WorldMapVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/WorldMapVisualizationConfig';\nimport BarVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/BarVisualizationConfig';\nimport ShowDocumentsHandler from 'views/logic/valueactions/ShowDocumentsHandler';\nimport HighlightValueHandler from 'views/logic/valueactions/HighlightValueHandler';\nimport FieldNameCompletion from 'views/components/searchbar/completions/FieldNameCompletion';\nimport FieldValueCompletion from 'views/components/searchbar/completions/FieldValueCompletion';\nimport OperatorCompletion from 'views/components/searchbar/completions/OperatorCompletion';\nimport requirementsProvided from 'views/hooks/RequirementsProvided';\nimport bindSearchParamsFromQuery from 'views/hooks/BindSearchParamsFromQuery';\nimport {\n dashboardsPath,\n dashboardsTvPath,\n extendedSearchPath,\n newDashboardsPath,\n showDashboardsPath,\n newSearchPath,\n showSearchPath,\n showViewsPath,\n} from 'views/Constants';\nimport ShowDashboardInBigDisplayMode from 'views/pages/ShowDashboardInBigDisplayMode';\nimport LookupTableParameter from 'views/logic/parameters/LookupTableParameter';\nimport HeatmapVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/HeatmapVisualizationConfig';\nimport visualizationBindings from 'views/components/visualizations/bindings';\nimport { AggregationWizard } from 'views/components/aggregationwizard';\nimport { filterCloudValueActions } from 'util/conditional/filterValueActions';\nimport CopyValueToClipboard from 'views/logic/valueactions/CopyValueToClipboard';\nimport CopyFieldToClipboard from 'views/logic/fieldactions/CopyFieldToClipboard';\nimport DataTableVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/DataTableVisualizationConfig';\nimport ViewHeader from 'views/components/views/ViewHeader';\nimport ScatterVisualizationConfig from 'views/logic/aggregationbuilder/visualizations/ScatterVisualizationConfig';\nimport ScatterVisualization from 'views/components/visualizations/scatter/ScatterVisualization';\nimport Icon from 'components/common/Icon';\nimport viewsReducers from 'views/viewsReducers';\nimport CreateEventDefinition from 'views/logic/valueactions/createEventDefinition/CreateEventDefinition';\nimport ChangeFieldType, {\n ChangeFieldTypeHelp,\n isChangeFieldTypeEnabled,\n isChangeFieldTypeHidden,\n} from 'views/logic/fieldactions/ChangeFieldType/ChangeFieldType';\n\nimport type { ActionHandlerArguments } from './components/actions/ActionHandler';\nimport NumberVisualizationConfig from './logic/aggregationbuilder/visualizations/NumberVisualizationConfig';\nimport AreaVisualization from './components/visualizations/area/AreaVisualization';\nimport LineVisualizationConfig from './logic/aggregationbuilder/visualizations/LineVisualizationConfig';\nimport AreaVisualizationConfig from './logic/aggregationbuilder/visualizations/AreaVisualizationConfig';\nimport Parameter from './logic/parameters/Parameter';\nimport ValueParameter from './logic/parameters/ValueParameter';\nimport MessageConfigGenerator from './logic/searchtypes/messages/MessageConfigGenerator';\nimport UnknownWidget from './components/widgets/UnknownWidget';\nimport NewSearchRedirectPage from './pages/NewSearchRedirectPage';\n\nWidget.registerSubtype(AggregationWidget.type, AggregationWidget);\nWidget.registerSubtype(MessagesWidget.type, MessagesWidget);\nVisualizationConfig.registerSubtype(WorldMapVisualization.type, WorldMapVisualizationConfig);\nVisualizationConfig.registerSubtype(BarVisualization.type, BarVisualizationConfig);\nVisualizationConfig.registerSubtype(NumberVisualization.type, NumberVisualizationConfig);\nVisualizationConfig.registerSubtype(LineVisualization.type, LineVisualizationConfig);\nVisualizationConfig.registerSubtype(AreaVisualization.type, AreaVisualizationConfig);\nVisualizationConfig.registerSubtype(HeatmapVisualization.type, HeatmapVisualizationConfig);\nVisualizationConfig.registerSubtype(DataTable.type, DataTableVisualizationConfig);\nVisualizationConfig.registerSubtype(ScatterVisualization.type, ScatterVisualizationConfig);\n\nParameter.registerSubtype(ValueParameter.type, ValueParameter);\nParameter.registerSubtype(LookupTableParameter.type, LookupTableParameter);\n\nconst isAnalysisDisabled = (field: string, analysisDisabledFields: string[] = []) => analysisDisabledFields.includes(field);\n\nconst exports: PluginExports = {\n pages: {\n search: { component: NewSearchPage },\n },\n routes: [\n { path: newDashboardsPath, component: NewDashboardPage, parentComponent: App },\n { path: dashboardsTvPath, component: ShowDashboardInBigDisplayMode, parentComponent: null },\n { path: dashboardsPath, component: DashboardsPage },\n { path: showDashboardsPath, component: ShowViewPage, parentComponent: App },\n\n { path: newSearchPath, component: NewSearchRedirectPage, parentComponent: null },\n { path: showSearchPath, component: ShowViewPage, parentComponent: App },\n {\n path: `${Routes.unqualified.stream_search(':streamId')}/new`,\n component: NewSearchRedirectPage,\n parentComponent: null,\n },\n { path: Routes.unqualified.stream_search(':streamId'), component: StreamSearchPage, parentComponent: App },\n { path: extendedSearchPath, component: NewSearchPage, parentComponent: App },\n { path: showViewsPath, component: ShowViewPage, parentComponent: App },\n { path: Routes.ALERTS.replay_search(':alertId'), component: EventReplaySearchPage, parentComponent: App },\n { path: Routes.ALERTS.DEFINITIONS.replay_search(':definitionId'), component: EventDefinitionReplaySearchPage, parentComponent: App },\n ],\n enterpriseWidgets: [\n {\n type: 'MESSAGES',\n displayName: 'Message List',\n defaultHeight: 5,\n reportStyle: () => ({ width: 800 }),\n defaultWidth: 6,\n // TODO: Subtyping needs to be taken into account\n visualizationComponent: MessageList as unknown as React.ComponentType,\n editComponent: EditMessageList,\n hasEditSubmitButton: true,\n needsControlledHeight: () => false,\n searchResultTransformer: (data: Array) => data[0],\n searchTypes: MessageConfigGenerator,\n titleGenerator: () => MessagesWidget.defaultTitle,\n },\n {\n type: 'AGGREGATION',\n displayName: 'Results',\n defaultHeight: 4,\n defaultWidth: 4,\n reportStyle: () => ({ width: 600 }),\n visualizationComponent: AggregationBuilder,\n editComponent: AggregationWizard,\n hasEditSubmitButton: true,\n needsControlledHeight: (widget: Widget) => {\n const widgetVisualization = get(widget, 'config.visualization');\n const flexibleHeightWidgets = [\n DataTable.type,\n ];\n\n return !flexibleHeightWidgets.find((visualization) => visualization === widgetVisualization);\n },\n searchResultTransformer: PivotTransformer,\n searchTypes: PivotConfigGenerator,\n titleGenerator: (widget: Widget) => {\n if (widget.config.rowPivots.length > 0) {\n return `Aggregating ${widget.config.series.map((s) => s.effectiveName).join(', ')} by ${widget.config.rowPivots.flatMap(({ fields }) => fields).join(', ')}`;\n }\n\n if (widget.config.series.length > 0) {\n return `Aggregating ${widget.config.series.map((s) => s.effectiveName).join(', ')}`;\n }\n\n return AggregationWidget.defaultTitle;\n },\n },\n {\n type: 'default',\n visualizationComponent: UnknownWidget,\n needsControlledHeight: () => true,\n editComponent: UnknownWidget,\n searchTypes: () => [],\n },\n ],\n searchTypes: [\n {\n type: 'messages',\n handler: MessageListHandler,\n defaults: {\n limit: 150,\n offset: 0,\n },\n },\n {\n type: 'pivot',\n handler: PivotHandler,\n defaults: {},\n },\n {\n type: 'events',\n handler: EventHandler,\n defaults: {},\n },\n ],\n fieldActions: [\n {\n type: 'chart',\n title: 'Chart',\n thunk: ChartActionHandler,\n isEnabled: ({ type }) => type.isNumeric(),\n resetFocus: true,\n },\n {\n type: 'aggregate',\n title: 'Show top values',\n thunk: AggregateActionHandler,\n isEnabled: (({\n field,\n type,\n contexts: { analysisDisabledFields },\n }) => (!isFunction(field) && type.isEnumerable() && !type.isDecorated() && !isAnalysisDisabled(field, analysisDisabledFields))),\n resetFocus: true,\n },\n {\n type: 'statistics',\n title: 'Statistics',\n isEnabled: (({\n field,\n type,\n contexts: { analysisDisabledFields },\n }) => (!isFunction(field) && !type.isDecorated() && !isAnalysisDisabled(field, analysisDisabledFields))),\n thunk: FieldStatisticsHandler,\n resetFocus: false,\n },\n {\n type: 'add-to-table',\n title: 'Add to table',\n thunk: AddToTableActionHandler,\n isEnabled: AddToTableActionHandler.isEnabled,\n isHidden: AddToTableActionHandler.isHidden,\n resetFocus: false,\n },\n {\n type: 'remove-from-table',\n title: 'Remove from table',\n thunk: RemoveFromTableActionHandler,\n isEnabled: RemoveFromTableActionHandler.isEnabled,\n isHidden: RemoveFromTableActionHandler.isHidden,\n resetFocus: false,\n },\n {\n type: 'add-to-all-tables',\n title: 'Add to all tables',\n thunk: AddToAllTablesActionHandler,\n isEnabled: ({ field, type }) => (!isFunction(field) && !type.isDecorated()),\n resetFocus: false,\n },\n {\n type: 'remove-from-all-tables',\n title: 'Remove from all tables',\n thunk: RemoveFromAllTablesActionHandler,\n isEnabled: ({ field, type }) => (!isFunction(field) && !type.isDecorated()),\n resetFocus: false,\n },\n {\n type: 'copy-field-to-clipboard',\n title: 'Copy field name to clipboard',\n handler: CopyFieldToClipboard,\n isEnabled: () => true,\n resetFocus: false,\n },\n {\n type: 'change-field-type',\n title: 'Change field type',\n isEnabled: isChangeFieldTypeEnabled,\n isHidden: isChangeFieldTypeHidden,\n resetFocus: false,\n component: ChangeFieldType,\n help: ChangeFieldTypeHelp,\n },\n ],\n valueActions: filterCloudValueActions([\n {\n type: 'exclude',\n title: 'Exclude from results',\n thunk: ExcludeFromQueryHandler,\n isEnabled: ({ field, type }: ActionHandlerArguments) => (!isFunction(field) && !type.isDecorated()),\n resetFocus: false,\n },\n {\n type: 'add-to-query',\n title: 'Add to query',\n thunk: AddToQueryHandler,\n isEnabled: ({ field, type }: ActionHandlerArguments) => (!isFunction(field) && !type.isDecorated()),\n resetFocus: false,\n },\n {\n type: 'show-bucket',\n title: 'Show documents for value',\n thunk: ShowDocumentsHandler,\n isEnabled: ShowDocumentsHandler.isEnabled,\n resetFocus: true,\n },\n {\n type: 'create-extractor',\n title: 'Create extractor',\n isEnabled: ({ type, contexts }) => (!!contexts.message && !type.isDecorated() && !!contexts.isLocalNode),\n component: SelectExtractorType,\n resetFocus: false,\n },\n {\n type: 'highlight-value',\n title: 'Highlight this value',\n thunk: HighlightValueHandler,\n isEnabled: HighlightValueHandler.isEnabled,\n resetFocus: false,\n },\n {\n type: 'copy-value-to-clipboard',\n title: 'Copy value to clipboard',\n handler: CopyValueToClipboard,\n isEnabled: () => true,\n resetFocus: false,\n },\n {\n type: 'create-event-definition-from-value',\n title: 'Create event definition',\n isEnabled: () => true,\n resetFocus: false,\n component: CreateEventDefinition,\n },\n ], ['create-extractor']),\n visualizationTypes: visualizationBindings,\n widgetCreators: [{\n title: 'Message Count',\n func: CreateMessageCount,\n icon: () => ,\n }, {\n title: 'Message Table',\n func: CreateMessagesWidget,\n icon: () => ,\n }, {\n title: 'Custom Aggregation',\n func: CreateCustomAggregation,\n icon: () => ,\n }],\n creators: [\n {\n type: 'preset',\n title: 'Message Count',\n func: AddMessageCountActionHandler,\n },\n {\n type: 'preset',\n title: 'Message Table',\n func: AddMessageTableActionHandler,\n },\n {\n type: 'generic',\n title: 'Aggregation',\n func: AddCustomAggregation,\n },\n ],\n 'views.completers': [\n new FieldNameCompletion(),\n new FieldValueCompletion(),\n new OperatorCompletion(),\n ],\n 'views.hooks.loadingView': [\n requirementsProvided,\n bindSearchParamsFromQuery,\n ],\n 'views.elements.header': [\n () => ,\n ViewHeader,\n ],\n 'views.export.formats': [\n {\n type: 'csv',\n displayName: () => 'Comma-Separated Values (CSV)',\n mimeType: 'text/csv',\n fileExtension: 'csv',\n },\n ],\n 'views.components.widgets.messageTable.previewOptions': [\n {\n title: 'Show message in new row',\n isChecked: (config) => config.showMessageRow,\n isDisabled: () => false,\n onChange: (config, onConfigChange) => {\n const willShowRowMessage = !config.showMessageRow;\n const willShowSummary = !willShowRowMessage ? false : config.showSummary;\n const newConfig = config.toBuilder().showMessageRow(willShowRowMessage).showSummary(willShowSummary).build();\n\n return onConfigChange(newConfig);\n },\n sort: 1,\n },\n ],\n 'views.reducers': viewsReducers,\n};\n\nexport default exports;\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// eslint-disable-next-line no-restricted-imports\nimport createReactClass from 'create-react-class';\n\nimport { Button, BootstrapModalForm, Input } from 'components/bootstrap';\nimport { IfPermitted } from 'components/common';\nimport ObjectUtils from 'util/ObjectUtils';\nimport withTelemetry from 'logic/telemetry/withTelemetry';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\n\nconst ThreatIntelPluginConfig = createReactClass({\n // eslint-disable-next-line react/no-unused-class-component-methods\n displayName: 'ThreatIntelPluginConfig',\n\n // eslint-disable-next-line react/no-unused-class-component-methods\n propTypes: {\n config: PropTypes.object,\n updateConfig: PropTypes.func.isRequired,\n sendTelemetry: PropTypes.func.isRequired,\n },\n\n getDefaultProps() {\n return {\n config: {\n tor_enabled: false,\n spamhaus_enabled: false,\n abusech_ransom_enabled: false,\n },\n };\n },\n\n getInitialState() {\n const { config } = this.props;\n\n return {\n config: ObjectUtils.clone(config),\n threatintelConfigModal: false,\n };\n },\n\n UNSAFE_componentWillReceiveProps(newProps) {\n this.setState({ config: ObjectUtils.clone(newProps.config) });\n },\n\n _updateConfigField(field, value) {\n const { config } = this.state;\n const update = ObjectUtils.clone(config);\n update[field] = value;\n this.setState({ config: update });\n },\n\n _onCheckboxClick(field, ref) {\n return () => {\n this._updateConfigField(field, this[ref].getChecked());\n };\n },\n\n // eslint-disable-next-line react/no-unused-class-component-methods\n _onSelect(field) {\n return (selection) => {\n this._updateConfigField(field, selection);\n };\n },\n\n // eslint-disable-next-line react/no-unused-class-component-methods\n _onUpdate(field) {\n return (e) => {\n this._updateConfigField(field, e.target.value);\n };\n },\n\n _openModal() {\n this.setState({ threatintelConfigModal: true });\n },\n\n _closeModal() {\n this.setState({ threatintelConfigModal: false });\n },\n\n _resetConfig() {\n // Reset to initial state when the modal is closed without saving.\n this.setState(this.getInitialState());\n },\n\n _saveConfig() {\n const { updateConfig, sendTelemetry } = this.props;\n\n sendTelemetry(TELEMETRY_EVENT_TYPE.CONFIGURATIONS.THREATINTEL_CONFIGURATION_UPDATED, {\n app_pathname: 'configurations',\n app_section: 'threat-intel',\n });\n\n updateConfig(this.state.config).then(() => {\n this._closeModal();\n });\n },\n\n render() {\n return (\n
    \n

    Threat Intelligence Lookup Configuration

    \n\n

    \n Configuration for threat intelligence lookup plugin.\n

    \n\n
    \n
    Tor exit nodes:
    \n
    {this.state.config.tor_enabled === true ? 'Enabled' : 'Disabled'}
    \n\n
    Spamhaus:
    \n
    {this.state.config.spamhaus_enabled === true ? 'Enabled' : 'Disabled'}
    \n
    \n\n \n \n \n\n \n
    \n {\n // eslint-disable-next-line react/no-unused-class-component-methods\n this.torEnabled = elem;\n }}\n label=\"Allow Tor exit node lookups?\"\n help=\"Enable to include Tor exit node lookup in global pipeline function, disabling also stops refreshing the data.\"\n name=\"tor_enabled\"\n checked={this.state.config.tor_enabled}\n onChange={this._onCheckboxClick('tor_enabled', 'torEnabled')} />\n\n {\n // eslint-disable-next-line react/no-unused-class-component-methods\n this.spamhausEnabled = elem;\n }}\n label=\"Allow Spamhaus DROP/EDROP lookups?\"\n help=\"Enable to include Spamhaus lookup in global pipeline function, disabling also stops refreshing the data.\"\n name=\"tor_enabled\"\n checked={this.state.config.spamhaus_enabled}\n onChange={this._onCheckboxClick('spamhaus_enabled', 'spamhausEnabled')} />\n
    \n
    \n
    \n );\n },\n});\n\nexport default withTelemetry(ThreatIntelPluginConfig);\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';\n\nconst SpamhausEDROPAdapterDocumentation = () =>
    ;\n\nexport default SpamhausEDROPAdapterDocumentation;\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\nconst SpamhausEDROPAdapterFieldSet = ({ handleFormEvent, validationState, validationMessage, config }) => (\n
    \n);\n\nSpamhausEDROPAdapterFieldSet.propTypes = {\n config: PropTypes.shape({}).isRequired,\n handleFormEvent: PropTypes.func.isRequired,\n validationMessage: PropTypes.func.isRequired,\n validationState: PropTypes.func.isRequired,\n};\n\nexport default SpamhausEDROPAdapterFieldSet;\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';\n\nconst SpamhausEDROPAdapterSummary = () => (\n
    \n No configuration required.\n
    \n);\n\nexport default SpamhausEDROPAdapterSummary;\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';\n\nconst TorExitNodeAdapterDocumentation = () =>
    ;\n\nexport default TorExitNodeAdapterDocumentation;\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';\n\nconst TorExitNodeAdapterFieldSet = () =>
    ;\n\nexport default TorExitNodeAdapterFieldSet;\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';\n\nconst TorExitNodeAdapterSummary = () => No configuration necessary;\n\nexport default TorExitNodeAdapterSummary;\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';\n\nconst WhoisAdapterDocumentation = () => {\n const style = { marginBottom: 10 };\n\n return (\n
    \n

    \n The whois IP lookup data adapter can request network ownership information for an IP address.\n

    \n\n

    Configuration

    \n\n
    Connect timeout
    \n\n

    \n The connection timeout for the socket to the whois server in milliseconds. If you set this to a\n high value, it can affect your processing performance.\n

    \n\n
    Read timeout
    \n\n

    \n The connection read timeout for the socket to the whois server in milliseconds. If you set this to a\n high value, it can affect your processing performance.\n

    \n
    \n );\n};\n\nexport default WhoisAdapterDocumentation;\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 { Input } from 'components/bootstrap';\n\nclass WhoisAdapterFieldSet extends React.Component {\n static propTypes = {\n config: PropTypes.shape({\n connect_timeout: PropTypes.number.isRequired,\n read_timeout: PropTypes.number.isRequired,\n }).isRequired,\n handleFormEvent: PropTypes.func.isRequired,\n validationMessage: PropTypes.func.isRequired,\n validationState: PropTypes.func.isRequired,\n };\n\n render() {\n const { config } = this.props;\n\n return (\n
    \n \n \n
    \n );\n }\n}\n\nexport default WhoisAdapterFieldSet;\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\nconst WhoisAdapterSummary = ({ dataAdapter }) => {\n const { config } = dataAdapter;\n\n return (\n
    \n
    Connect timeout
    \n
    {config.connect_timeout} ms
    \n
    Read timeout
    \n
    {config.read_timeout} ms
    \n
    \n );\n};\n\nWhoisAdapterSummary.propTypes = {\n dataAdapter: PropTypes.shape({\n config: PropTypes.shape({\n connect_timeout: PropTypes.number.isRequired,\n read_timeout: PropTypes.number.isRequired,\n }),\n }).isRequired,\n};\n\nexport default WhoisAdapterSummary;\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';\n\nimport { Alert } from 'components/bootstrap';\n\nconst AbuseChRansomAdapterDocumentation = () => (\n
    \n \n

    The abuse.ch Ransomware Tracker was shut down on 2019-12-08. This Data Adapter should not be used.

    \n
    \n
    \n);\n\nexport default AbuseChRansomAdapterDocumentation;\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 ObjectUtils from 'util/ObjectUtils';\nimport { Input } from 'components/bootstrap';\nimport { Select, TimeUnitInput } from 'components/common';\n\nclass AbuseChRansomAdapterFieldSet extends React.Component {\n static propTypes = {\n config: PropTypes.object.isRequired,\n updateConfig: PropTypes.func.isRequired,\n // eslint-disable-next-line react/no-unused-prop-types\n handleFormEvent: PropTypes.func.isRequired,\n // eslint-disable-next-line react/no-unused-prop-types\n validationState: PropTypes.func.isRequired,\n // eslint-disable-next-line react/no-unused-prop-types\n validationMessage: PropTypes.func.isRequired,\n };\n\n _update = (value, unit, enabled, name) => {\n const config = ObjectUtils.clone(this.props.config);\n config[name] = enabled ? value : 0;\n config[`${name}_unit`] = unit;\n this.props.updateConfig(config);\n };\n\n updateRefreshInterval = (value, unit, enabled) => {\n this._update(value, unit, enabled, 'refresh_interval');\n };\n\n _onBlocklistTypeSelect = (id) => {\n const config = ObjectUtils.clone(this.props.config);\n config.blocklist_type = id;\n this.props.updateConfig(config);\n };\n\n render() {\n const { config } = this.props;\n const blocklistTypes = [\n { label: 'Domain blocklist', value: 'DOMAINS' },\n { label: 'URL blocklist', value: 'URLS' },\n { label: 'IP blocklist', value: 'IPS' },\n ];\n\n return (\n
    \n \n \n \n \n \n \n \n \n
    \n );\n }\n}\n\nexport default OTXAdapterFieldSet;\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\nclass OTXAdapterSummary extends React.Component {\n static propTypes = {\n dataAdapter: PropTypes.shape({\n config: PropTypes.shape({\n indicator: PropTypes.string.isRequired,\n api_key: PropTypes.string,\n api_url: PropTypes.string.isRequired,\n http_user_agent: PropTypes.string.isRequired,\n http_connect_timeout: PropTypes.number.isRequired,\n http_write_timeout: PropTypes.number.isRequired,\n http_read_timeout: PropTypes.number.isRequired,\n }),\n }),\n };\n\n render() {\n const { config } = this.props.dataAdapter;\n\n return (\n
    \n
    Indicator
    \n
    {config.indicator}
    \n
    OTX API Key
    \n
    {config.api_key || 'n/a'}
    \n
    OTX API URL
    \n
    {config.api_url}
    \n
    HTTP User-Agent
    \n
    {config.http_user_agent}
    \n
    HTTP Connect Timeout
    \n
    {config.http_connect_timeout} ms
    \n
    HTTP Write Timeout
    \n
    {config.http_write_timeout} ms
    \n
    HTTP Read Timeout
    \n
    {config.http_read_timeout} ms
    \n
    \n );\n }\n}\n\nexport default OTXAdapterSummary;\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// eslint-disable-next-line no-unused-vars, no-unused-vars\nimport { PluginManifest, PluginStore } from 'graylog-web-plugin/plugin';\n\nimport ThreatIntelPluginConfig from './components/ThreatIntelPluginConfig';\nimport { SpamhausEDROPAdapterDocumentation, SpamhausEDROPAdapterFieldSet, SpamhausEDROPAdapterSummary } from './components/adapters/spamhaus-edrop';\nimport { TorExitNodeAdapterDocumentation, TorExitNodeAdapterFieldSet, TorExitNodeAdapterSummary } from './components/adapters/torexitnode';\nimport { WhoisAdapterDocumentation, WhoisAdapterFieldSet, WhoisAdapterSummary } from './components/adapters/whois/index';\nimport { AbuseChRansomAdapterDocumentation, AbuseChRansomAdapterFieldSet, AbuseChRansomAdapterSummary } from './components/adapters/abusech/index';\nimport { OTXAdapterDocumentation, OTXAdapterFieldSet, OTXAdapterSummary } from './components/adapters/otx';\n\nconst bindings = {\n systemConfigurations: [\n {\n component: ThreatIntelPluginConfig,\n configType: 'org.graylog.plugins.threatintel.ThreatIntelPluginConfiguration',\n },\n ],\n lookupTableAdapters: [\n {\n type: 'spamhaus-edrop',\n displayName: 'Spamhaus (E)DROP',\n formComponent: SpamhausEDROPAdapterFieldSet,\n summaryComponent: SpamhausEDROPAdapterSummary,\n documentationComponent: SpamhausEDROPAdapterDocumentation,\n },\n {\n type: 'torexitnode',\n displayName: 'Tor Exit Node',\n formComponent: TorExitNodeAdapterFieldSet,\n summaryComponent: TorExitNodeAdapterSummary,\n documentationComponent: TorExitNodeAdapterDocumentation,\n },\n {\n type: 'whois',\n displayName: 'Whois for IPs',\n formComponent: WhoisAdapterFieldSet,\n summaryComponent: WhoisAdapterSummary,\n documentationComponent: WhoisAdapterDocumentation,\n },\n {\n type: 'abuse-ch-ransom',\n displayName: '[Deprecated] Ransomware blocklists from abuse.ch',\n formComponent: AbuseChRansomAdapterFieldSet,\n summaryComponent: AbuseChRansomAdapterSummary,\n documentationComponent: AbuseChRansomAdapterDocumentation,\n },\n {\n type: 'otx-api',\n displayName: 'Alienvault OTX API',\n formComponent: OTXAdapterFieldSet,\n summaryComponent: OTXAdapterSummary,\n documentationComponent: OTXAdapterDocumentation,\n },\n ],\n};\n\nexport default bindings;\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 */\nexport const PLUGIN_PACKAGE = 'org.graylog.aws';\nexport const PLUGIN_CONFIG_CLASS_NAME = `${PLUGIN_PACKAGE}.config.AWSPluginConfiguration`;\nexport const PLUGIN_API_ENDPOINT = `/plugins/${PLUGIN_PACKAGE}/config`;\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, { useState } from 'react';\nimport omit from 'lodash/omit';\n\nimport URLUtils from 'util/URLUtils';\nimport fetch from 'logic/rest/FetchProvider';\nimport { BootstrapModalForm, Button, Input } from 'components/bootstrap';\nimport { IfPermitted } from 'components/common';\nimport { ConfigurationsActions } from 'stores/configurations/ConfigurationsStore';\nimport { getValueFromInput } from 'util/FormsUtils';\n\nimport { PLUGIN_API_ENDPOINT, PLUGIN_CONFIG_CLASS_NAME } from '../Constants';\nimport UserNotification from '../../util/UserNotification';\n\ntype Props = {\n config: {\n lookups_enabled: boolean,\n lookup_regions: string,\n access_key: string,\n secret_key: string,\n proxy_enabled: boolean,\n secret_key_salt?: string\n }\n}\n\nconst _initialState = (config) => omit(config, ['secret_key', 'secret_key_salt']);\n\nconst postConfigUpdate = (update) => {\n const url = URLUtils.qualifyUrl(PLUGIN_API_ENDPOINT);\n\n return fetch('PUT', url, update);\n};\n\nconst AWSPluginConfiguration = ({ config }: Props) => {\n const [updateConfig, setUpdateConfig] = useState(_initialState(config));\n const [showAwsConfigModal, setShowAwsConfigModal] = useState(false);\n\n const updateConfigField = (field, value) => {\n setUpdateConfig({ ...updateConfig, [field]: value });\n };\n\n const onFocusSecretKey = () => {\n setUpdateConfig({ ...updateConfig, secret_key: '' });\n };\n\n const onUpdate = (field) => (value) => {\n if (typeof value === 'object') {\n updateConfigField(field, getValueFromInput(value.target));\n } else {\n updateConfigField(field, value);\n }\n };\n\n const openModal = () => {\n setShowAwsConfigModal(true);\n };\n\n const closeModal = () => {\n setShowAwsConfigModal(false);\n };\n\n const resetConfig = () => {\n setUpdateConfig(_initialState(config));\n closeModal();\n };\n\n const saveConfig = () => {\n postConfigUpdate(updateConfig)\n .then(\n () => {\n ConfigurationsActions.list(PLUGIN_CONFIG_CLASS_NAME);\n closeModal();\n },\n (error) => {\n UserNotification.error(`AWS plugin configuration failed with status: ${error}`,\n 'Could not save AWS plugin configuration.');\n });\n };\n\n return (\n
    \n

    AWS Plugin Configuration

    \n\n

    \n Base configuration for all plugins the AWS module is providing. Note\n that some parameters will be stored in MongoDB without encryption.\n Graylog users with required permissions will be able to read them in\n the configuration dialog on this page.\n

    \n\n
    \n
    Instance detail lookups:
    \n
    \n {config.lookups_enabled === true\n ? 'Enabled'\n : 'Disabled'}\n
    \n\n
    Connect through proxy:
    \n
    \n {config.proxy_enabled === true\n ? 'Enabled'\n : 'Disabled'}\n
    \n\n
    Lookup regions:
    \n
    \n {config.lookup_regions\n ? config.lookup_regions\n : '[not set]'}\n
    \n\n
    Access Key:
    \n
    \n {config.access_key ? config.access_key : '[not set]'}\n
    \n\n
    Secret Key:
    \n
    \n {config.secret_key ? '***********' : '[not set]'}\n
    \n
    \n\n \n \n \n\n \n
    \n \n When enabled, a message processor will try to identify IP\n addresses of your AWS entities (like EC2, ELB, RDS, ...) and\n add additional information abut the service or instance behind\n it. It can take up to a minute for a change of this to take\n effect.\n \n )}\n name=\"lookups_enabled\"\n checked={updateConfig.lookups_enabled}\n onChange={onUpdate('lookups_enabled')} />\n\n \n Note that this will only be used in encrypted connections but\n stored in plaintext. Please consult the documentation for\n suggested rights to assign to the underlying IAM user.\n \n )}\n name=\"access_key\"\n value={updateConfig.access_key}\n onChange={onUpdate('access_key')} />\n\n \n Note that this will only be used in encrypted connections and will be\n stored encrypted (using the system secret). Please consult the documentation for\n suggested rights to assign to the underlying IAM user.\n \n )}\n name=\"secret_key\"\n value={updateConfig.secret_key !== undefined ? updateConfig.secret_key : config.secret_key}\n onFocus={onFocusSecretKey}\n onChange={onUpdate('secret_key')} />\n\n \n The AWS instance lookup message processor keeps a table of\n instances for fast address translation. Define the AWS regions\n you want to include in the tables. This should be all regions\n you run AWS services in. Remember that your IAM user needs\n permission for these regions or you will see warnings in your\n graylog-server log files.\n \n )}\n name=\"lookup_regions\"\n value={updateConfig.lookup_regions}\n onChange={onUpdate('lookup_regions')} />\n\n \n When enabled, we'll access the AWS APIs through the HTTP proxy configured (http_proxy_uri)\n in your Graylog configuration file.
    \n Important: You have to restart all AWS inputs for this configuration to take effect.\n \n )}\n name=\"proxy_enabled\"\n checked={updateConfig.proxy_enabled}\n onChange={onUpdate('proxy_enabled')} />\n
    \n
    \n
    \n );\n};\n\nAWSPluginConfiguration.propTypes = {\n config: PropTypes.shape({\n lookups_enabled: PropTypes.bool,\n lookup_regions: PropTypes.string,\n access_key: PropTypes.string,\n secret_key: PropTypes.string,\n proxy_enabled: PropTypes.bool,\n }),\n};\n\nAWSPluginConfiguration.defaultProps = {\n config: {\n lookups_enabled: false,\n lookup_regions: 'us-east-1,us-west-1,us-west-2,eu-west-1,eu-central-1',\n access_key: '',\n secret_key: '',\n proxy_enabled: false,\n },\n};\n\nexport default AWSPluginConfiguration;\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 AppConfig from 'util/AppConfig';\n\nimport AwsPluginConfiguration from './components/AWSPluginConfiguration';\nimport { PLUGIN_CONFIG_CLASS_NAME } from './Constants';\n\nconst bindings = AppConfig.isCloud() ? {} : {\n systemConfigurations: [\n {\n component: AwsPluginConfiguration,\n configType: PLUGIN_CONFIG_CLASS_NAME,\n },\n ],\n};\n\nexport default bindings;\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 Routes = {\n INTEGRATIONS: {\n AWS: {\n CLOUDWATCH: {\n index: '/integrations/aws/cloudwatch',\n },\n },\n },\n};\n\nconst ApiRoutes = {\n INTEGRATIONS: {\n AWS: {\n PERMISSIONS: '/plugins/org.graylog.integrations/aws/permissions',\n REGIONS: '/plugins/org.graylog.integrations/aws/regions',\n CLOUDWATCH: {\n GROUPS: '/plugins/org.graylog.integrations/aws/cloudwatch/log_groups',\n },\n KINESIS: {\n HEALTH_CHECK: '/plugins/org.graylog.integrations/aws/kinesis/health_check',\n STREAMS: '/plugins/org.graylog.integrations/aws/kinesis/streams',\n SAVE: '/plugins/org.graylog.integrations/aws/inputs',\n },\n KINESIS_AUTO_SETUP: {\n CREATE_STREAM: '/plugins/org.graylog.integrations/aws/kinesis/auto_setup/create_stream',\n CREATE_SUBSCRIPTION_POLICY: '/plugins/org.graylog.integrations/aws/kinesis/auto_setup/create_subscription_policy',\n CREATE_SUBSCRIPTION: '/plugins/org.graylog.integrations/aws/kinesis/auto_setup/create_subscription',\n },\n },\n },\n};\n\nconst DocsRoutes = {\n INTEGRATIONS: {\n AWS: {\n AWS_KINESIS_CLOUDWATCH_INPUTS: 'aws-kinesiscloudwatch-input',\n },\n },\n};\n\nexport default Routes;\n\nexport { ApiRoutes, DocsRoutes };\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 { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { useNavigate } from 'react-router-dom';\n\nimport Routes from 'integrations/aws/common/Routes.js';\n\nconst AWSInputConfiguration = ({ url }) => {\n const navigate = useNavigate();\n\n useEffect(() => {\n navigate(url);\n }, [url, navigate]);\n\n return null;\n};\n\nAWSInputConfiguration.propTypes = {\n url: PropTypes.string,\n};\n\nAWSInputConfiguration.defaultProps = {\n url: Routes.INTEGRATIONS.AWS.CLOUDWATCH.index,\n};\n\nexport default AWSInputConfiguration;\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, { createContext, useState } from 'react';\nimport PropTypes from 'prop-types';\n\nexport const SidebarContext = createContext();\n\nexport const SidebarProvider = ({ children }) => {\n const [sidebar, setSidebar] = useState(<>);\n\n const clearSidebar = () => {\n setSidebar(<>);\n };\n\n return (\n \n {children}\n \n );\n};\n\nSidebarProvider.propTypes = {\n children: PropTypes.any.isRequired,\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, { createContext, useState } from 'react';\nimport PropTypes from 'prop-types';\n\nexport const FormDataContext = createContext();\n\nexport const FormDataProvider = ({ initialFormData, children }) => {\n const [formData, updateState] = useState(initialFormData);\n\n const setFormData = (id, fieldData) => {\n updateState({\n ...formData,\n [id]: {\n ...formData[id],\n ...fieldData,\n dirty: true,\n },\n });\n };\n\n const clearField = (id) => {\n if (Object.keys(formData).find((field) => field === id)) {\n delete formData[id];\n updateState(formData);\n }\n };\n\n return (\n \n {children}\n \n );\n};\n\nFormDataProvider.propTypes = {\n children: PropTypes.any.isRequired,\n initialFormData: PropTypes.object,\n};\n\nFormDataProvider.defaultProps = {\n initialFormData: {},\n};\n\nexport default FormDataProvider;\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, { createContext, useState } from 'react';\nimport PropTypes from 'prop-types';\n\nexport const StepsContext = createContext();\n\nexport const StepsProvider = ({ children }) => {\n const [currentStep, setCurrentStep] = useState('authorize');\n const [enabledSteps, enableStep] = useState(['authorize']);\n const [availableSteps, setAvailableStep] = useState([]);\n\n const isDisabledStep = (step) => {\n if (!enabledSteps || enabledSteps.length === 0) {\n return true;\n }\n\n return !enabledSteps.includes(step);\n };\n\n const setEnabledStep = (step) => {\n enableStep([...enabledSteps, step]);\n };\n\n return (\n \n {children}\n \n );\n};\n\nStepsProvider.propTypes = {\n children: PropTypes.any.isRequired,\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, { createContext, useState } from 'react';\nimport PropTypes from 'prop-types';\n\nexport const ApiContext = createContext();\n\nexport const ApiProvider = ({ children }) => {\n const [availableRegions, setRegionsState] = useState([]);\n const [availableStreams, setStreamsState] = useState([]);\n const [availableGroups, setGroupsState] = useState([]);\n const [logData, setLogDataState] = useState(null);\n\n const setRegions = (results) => setRegionsState(results.regions);\n\n const setGroups = (results) => {\n const groups = results.log_groups.map((group) => ({ value: group, label: group }));\n setGroupsState(groups);\n };\n\n const setStreams = (results) => {\n const streams = results.streams.map((stream) => ({ value: stream, label: stream }));\n setStreamsState(streams);\n };\n\n const setLogData = (response) => {\n setLogDataState({\n message: JSON.stringify(response.message_fields, null, 2),\n type: response.input_type,\n additional: response.explanation,\n });\n };\n\n const clearLogData = () => {\n setLogDataState(null);\n };\n\n return (\n \n {children}\n \n );\n};\n\nApiProvider.propTypes = {\n children: PropTypes.any.isRequired,\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, { createContext, useState } from 'react';\nimport PropTypes from 'prop-types';\n\nexport const AdvancedOptionsContext = createContext();\n\nexport const AdvancedOptionsProvider = ({ children }) => {\n const [isAdvancedOptionsVisible, setAdvancedOptionsVisibility] = useState(false);\n const [isAWSCustomEndpointsVisible, setAWSCustomEndpointsVisibility] = useState(false);\n\n return (\n \n {children}\n \n );\n};\n\nAdvancedOptionsProvider.propTypes = {\n children: PropTypes.any.isRequired,\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 */\nconst KINESIS_LOG_TYPES = [\n { value: 'KINESIS_CLOUDWATCH_FLOW_LOGS', label: 'Kinesis CloudWatch Flow Logs' },\n { value: 'KINESIS_CLOUDWATCH_RAW', label: 'Kinesis CloudWatch Raw' },\n { value: 'KINESIS_RAW', label: 'Kinesis Raw' },\n];\n\nconst DEFAULT_KINESIS_LOG_TYPE = 'KINESIS_CLOUDWATCH_FLOW_LOGS';\n\nconst AWS_AUTH_TYPES = {\n automatic: 'Automatic',\n keysecret: 'Key & Secret',\n};\n\nexport {\n AWS_AUTH_TYPES,\n KINESIS_LOG_TYPES,\n DEFAULT_KINESIS_LOG_TYPE,\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 */\n\nimport { AWS_AUTH_TYPES, DEFAULT_KINESIS_LOG_TYPE } from './constants';\n\nexport const toAWSRequest = (formData, options) => {\n const {\n awsAuthenticationType,\n awsCloudWatchAssumeARN,\n awsCloudWatchAwsKey,\n awsCloudWatchAwsSecret,\n awsEndpointCloudWatch,\n awsEndpointIAM,\n awsEndpointDynamoDB,\n awsEndpointKinesis,\n key,\n secret,\n } = formData;\n\n return {\n ...awsAuthenticationType?.value === AWS_AUTH_TYPES.keysecret ? {\n aws_access_key_id: awsCloudWatchAwsKey?.value,\n aws_secret_access_key: awsCloudWatchAwsSecret?.value,\n } : {\n aws_access_key_id: key,\n aws_secret_access_key: secret,\n },\n assume_role_arn: awsCloudWatchAssumeARN?.value,\n cloudwatch_endpoint: awsEndpointCloudWatch?.value,\n dynamodb_endpoint: awsEndpointDynamoDB?.value,\n iam_endpoint: awsEndpointIAM?.value,\n kinesis_endpoint: awsEndpointKinesis?.value,\n ...options,\n };\n};\n\nexport const toGenericInputCreateRequest = ({\n awsAuthenticationType,\n awsCloudWatchAddFlowLogPrefix = { value: undefined },\n awsCloudWatchAssumeARN = { value: undefined },\n awsCloudWatchAwsKey = { value: undefined },\n awsCloudWatchAwsRegion,\n awsCloudWatchBatchSize,\n awsEndpointCloudWatch = { value: undefined },\n awsCloudWatchKinesisInputType = { value: DEFAULT_KINESIS_LOG_TYPE },\n awsCloudWatchKinesisStream,\n awsCloudWatchName,\n awsCloudWatchThrottleEnabled = { value: undefined },\n awsEndpointDynamoDB = { value: undefined },\n awsEndpointIAM = { value: undefined },\n awsEndpointKinesis = { value: undefined },\n awsCloudWatchAwsSecret,\n key,\n secret,\n}) => ({\n type: 'org.graylog.integrations.aws.inputs.AWSInput',\n title: awsCloudWatchName.value,\n configuration: {\n ...awsAuthenticationType?.value === AWS_AUTH_TYPES.keysecret ? {\n aws_access_key: awsCloudWatchAwsKey?.value,\n aws_secret_key: awsCloudWatchAwsSecret?.value,\n } : {\n aws_access_key: key,\n aws_secret_key: secret,\n },\n aws_message_type: awsCloudWatchKinesisInputType.value,\n throttling_allowed: !!awsCloudWatchThrottleEnabled.value,\n aws_flow_log_prefix: !!awsCloudWatchAddFlowLogPrefix.value,\n aws_region: awsCloudWatchAwsRegion.value,\n aws_assume_role_arn: awsCloudWatchAssumeARN?.value,\n cloudwatch_endpoint: awsEndpointCloudWatch?.value,\n dynamodb_endpoint: awsEndpointDynamoDB?.value,\n iam_endpoint: awsEndpointIAM?.value,\n kinesis_endpoint: awsEndpointKinesis?.value,\n kinesis_stream_name: awsCloudWatchKinesisStream.value,\n kinesis_record_batch_size: Number(awsCloudWatchBatchSize.value || awsCloudWatchBatchSize.defaultValue),\n },\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 */\nconst formValidation = {\n checkInputValidity: (input, customErrorMessage) => {\n const { validity } = input;\n const isValid = validity.valid;\n const providedMessage = input.getAttribute('title');\n\n if (isValid) {\n return undefined;\n }\n\n const isEmpty = validity.valueMissing;\n const isIncorrectType = validity.typeMismatch;\n const isIncorrectPattern = validity.patternMismatch;\n const isTooLong = validity.tooLong || validity.rangeOverflow;\n const isTooShort = validity.rangeUnderflow;\n const isInvalidStep = validity.stepMismatch;\n\n const possibleErrors = [\n { invalid: isEmpty, message: providedMessage || 'A value is required.' },\n { invalid: isIncorrectType, message: providedMessage || 'Please verify that your input is the expected type (ie: email address).' },\n { invalid: isIncorrectPattern, message: providedMessage || 'This input does not match the expected value.' },\n { invalid: isTooLong, message: providedMessage || 'Your input is too long.' },\n { invalid: isTooShort, message: providedMessage || 'Your input is too short.' },\n { invalid: isInvalidStep, message: providedMessage || 'Unexpected value.' },\n ];\n\n const errorOutput = possibleErrors.find((error) => error.invalid);\n\n return customErrorMessage || errorOutput.message;\n },\n\n isFormValid: (requiredFields, context) => !!requiredFields.find((field) => (!context[field] || !context[field].value || context[field].error)),\n};\n\nexport default formValidation;\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';\nimport styled from 'styled-components';\n\nimport { Input } from 'components/bootstrap';\nimport formValidation from 'integrations/aws/utils/formValidation';\n\nconst Label = ({ label, error }) => {\n if (error) {\n return (\n \n {label}\n {error}\n \n );\n }\n\n return label;\n};\n\nconst ValidatedInput = ({ className, help, onChange, id, label, fieldData, type, ...restProps }) => {\n const { dirty, error, value } = fieldData;\n\n const checkValidity = (event) => {\n if (dirty) {\n const errorOutput = formValidation.checkInputValidity(event.target);\n\n onChange(event, { error: errorOutput });\n }\n };\n\n return (\n }\n help={help} />\n );\n};\n\nValidatedInput.propTypes = {\n className: PropTypes.string,\n fieldData: PropTypes.shape({\n error: PropTypes.string,\n dirty: PropTypes.bool,\n value: PropTypes.string,\n }),\n help: PropTypes.string,\n label: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.node,\n ]).isRequired,\n id: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n required: PropTypes.bool,\n type: PropTypes.string.isRequired,\n};\n\nValidatedInput.defaultProps = {\n className: undefined,\n onChange: () => {},\n required: false,\n help: '',\n fieldData: {\n dirty: false,\n error: undefined,\n value: undefined,\n },\n};\n\nconst Error = styled.span`\n display: block;\n font-weight: normal;\n padding-left: 15px;\n font-size: 0.85em;\n`;\n\nconst ErrorContainer = styled.span`\n display: flex;\n align-items: center;\n`;\n\nexport default ValidatedInput;\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, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { createGlobalStyle } from 'styled-components';\n\nimport { Button, Panel } from 'components/bootstrap';\n\nexport const ErrorMessage = ({ fullMessage, niceMessage }) => {\n const [expanded, toggleExpanded] = useState(false);\n\n const Header = (\n <>\n \n {niceMessage || fullMessage}\n {niceMessage\n && (\n toggleExpanded(!expanded)} expanded={expanded}>\n More Info \n \n )}\n \n );\n\n if (!niceMessage) {\n return ;\n }\n\n return (\n \n Additional Information: {fullMessage}\n \n );\n};\n\nErrorMessage.propTypes = {\n fullMessage: PropTypes.string.isRequired,\n niceMessage: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.node,\n ]),\n};\n\nErrorMessage.defaultProps = {\n niceMessage: null,\n};\n\nconst FormWrap = ({\n buttonContent,\n children,\n className,\n disabled,\n description,\n error,\n loading,\n onSubmit,\n title,\n}) => {\n const formRef = useRef();\n const [disabledButton, setDisabledButton] = useState(disabled);\n\n const prevent = (event) => {\n event.preventDefault();\n\n return false;\n };\n\n useEffect(() => {\n setDisabledButton(loading || disabled);\n }, [loading, disabled]);\n\n return (\n
    \n\n {title && ((typeof (title) === 'string') ?

    {title}

    : title)}\n {description && ((typeof (description) === 'string') ?

    {description}

    : description)}\n\n {error && error.full_message && (\n \n )}\n\n {children}\n\n \n \n );\n};\n\nFormWrap.propTypes = {\n buttonContent: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.node,\n ]),\n children: PropTypes.any.isRequired,\n disabled: PropTypes.bool,\n error: PropTypes.shape({\n full_message: PropTypes.string.isRequired,\n nice_message: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.node,\n ]),\n }),\n description: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.node,\n ]),\n loading: PropTypes.bool,\n onSubmit: PropTypes.func,\n title: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.node,\n ]),\n className: PropTypes.string,\n};\n\nFormWrap.defaultProps = {\n buttonContent: 'Submit',\n disabled: false,\n error: null,\n description: null,\n loading: false,\n onSubmit: () => {},\n title: null,\n className: undefined,\n};\n\nconst ErrorOutputStyle = createGlobalStyle`\n /* NOTE: This is to remove Bootstrap styles from the anchor element I can't override in Panel.Header */\n form {\n .panel.panel-danger {\n .panel-heading > a {\n font-size: 14px;\n text-decoration: none;\n color: #ad0707;\n\n &:hover {\n text-decoration: none;\n }\n }\n }\n }\n`;\n\nconst ErrorOutput = styled.span`\n display: block;\n`;\n\nconst ErrorToggleInfo = styled.button`\n border: 0;\n background: none;\n color: #1f1f1f;\n font-size: 11px;\n text-transform: uppercase;\n margin: 12px 0 0;\n padding: 0;\n\n .fa {\n transform: rotate(${(props) => (props.expanded ? '90deg' : '0deg')});\n transition: 150ms transform ease-in-out;\n }\n`;\n\nexport default FormWrap;\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\nfunction Options({ value, label }) {\n return (\n \n );\n}\n\nconst renderOptions = (options = [], label = 'Choose One', loading = false) => {\n if (loading) {\n return Options({ value: '', label: 'Loading...' });\n }\n\n return (\n <>\n \n {options.map((option) => Options({ value: option.value, label: option.label }))}\n \n );\n};\n\nOptions.propTypes = {\n value: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n};\n\nexport default Options;\n\nexport { renderOptions };\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 { useContext, useEffect, useState } from 'react';\n\nimport { qualifyUrl } from 'util/URLUtils';\nimport fetch from 'logic/rest/FetchProvider';\n\nimport { FormDataContext } from '../../context/FormData';\nimport { toAWSRequest } from '../formDataAdapter';\n\n/* useFetch Custom Hook\n\nBecause of [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html) we have to get fancy\nin order to use fetch Promises and hooks.\n\nPARAMETERS:\n - `url`: The url that will be fetched, can be set later with `setUrl` [required, but accepts `null`]\n - `setHook`: that you want to call after fetch [required]\n - `method`: RESTful HTTP method, [`'GET'` optional]\n - `options`: Object of data you'll send with fetch, [`{}` optional]\n - `callback` that will fire any part of your code you need after fetch [`() => {}` optional]\n\nUSE:\n`const [status, setUrl] = useFetch(setNextHook, onFooBar);`\n - `status` will provide the current reducer state `{ loading, error, data }`\n - `setUrl` will be your hook to call as a submit handler within a subfunction, it needs the API route as a string:\n\nEXAMPLES:\n```\n const [fetchRegionsStatus] = useFetch(ApiRoutes.INTEGRATIONS.AWS.REGIONS, setRegions, 'GET');\n const [fetchStreamsStatus, setStreamsFetch] = useFetch(\n null,\n (response) => {\n setStreams(response);\n onSubmit();\n },\n 'POST',\n { region: formData.awsCloudWatchAwsRegion ? formData.awsCloudWatchAwsRegion.value : '' },\n );\n\n const handleSubmit = () => {\n setStreamsFetch(ApiRoutes.INTEGRATIONS.AWS.KINESIS.STREAMS);\n };\n```\n*/\n\nconst parseError = (error) => {\n const fullError = error.additional && error.additional.body && error.additional.body.message;\n\n return fullError || error.message;\n};\n\nconst useFetch = (url, setHook = () => {}, method = 'GET', options = {}) => {\n const { formData } = useContext(FormDataContext);\n const [fetchUrl, setFetchUrl] = useState(url);\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(null);\n const [data, setData] = useState(null);\n const qualifiedURL = fetchUrl ? qualifyUrl(fetchUrl) : null;\n\n useEffect(() => {\n let isFetchable = !!qualifiedURL;\n\n const fetchData = async () => {\n let fetcher = Promise.resolve();\n\n if (isFetchable && !data) {\n setLoading(true);\n\n if (method === 'GET') {\n fetcher = fetch(method, qualifiedURL);\n } else {\n fetcher = fetch(method, qualifiedURL, toAWSRequest(formData, options));\n }\n\n fetcher.then((result) => {\n setError(null);\n setData(result);\n setHook(result);\n }).catch((err) => {\n setData(null);\n setError(parseError(err));\n }).finally(() => {\n setLoading(false);\n });\n }\n\n return fetcher;\n };\n\n fetchData();\n\n return () => {\n isFetchable = false;\n };\n }, [qualifiedURL]);\n\n return [{ loading, error, data }, setFetchUrl];\n};\n\nexport default useFetch;\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 from 'styled-components';\n\nimport { Icon } from 'components/common';\n\nimport ValidatedInput from './ValidatedInput';\n\nconst MaskedInput = ({ className, label, ...props }) => {\n const [masked, setMasked] = useState(true);\n const toggleLabel = (\n \n {label}\n setMasked(!masked)} ariaDescription={`Toggle ${label} field input`}>\n \n \n \n );\n\n return (\n \n );\n};\n\nMaskedInput.propTypes = {\n label: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.node,\n ]).isRequired,\n className: PropTypes.string,\n};\n\nMaskedInput.defaultProps = {\n className: undefined,\n};\n\nconst LabelWrapper = styled.span`\n display: flex;\n align-items: center;\n`;\n\nconst ToggleMask = styled.button`\n border: 0;\n background: none;\n padding: 0;\n margin: 0 0 0 12px;\n`;\n\nexport default MaskedInput;\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';\nimport styled from 'styled-components';\n\nimport ValidatedInput from 'integrations/aws/common/ValidatedInput';\nimport MaskedInput from 'integrations/aws/common/MaskedInput';\n\nconst KeySecret = ({ onChange, awsKey, awsSecret }) => (\n <>\n \n\n \n \n);\n\nconst StyledMaskedInput = styled(MaskedInput)`\nmargin-bottom: 0;\n`;\n\nKeySecret.propTypes = {\n onChange: PropTypes.func.isRequired,\n awsKey: PropTypes.object,\n awsSecret: PropTypes.object,\n};\n\nKeySecret.defaultProps = {\n awsKey: undefined,\n awsSecret: undefined,\n};\n\nexport default KeySecret;\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 styled from 'styled-components';\n\nexport const SectionTitle = styled.p`\n font-weight: bold;\n font-size: 1.2em;\n margin: 0 0 12px;\n`;\n\nexport const SectionNote = styled.p`\n font-style: italic;\n margin: 3px 0 0;\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 styled from 'styled-components';\n\nimport { Table } from 'components/bootstrap';\nimport { Icon } from 'components/common';\nimport { SectionTitle, SectionNote } from 'integrations/aws/common/sharedStyles';\n\nconst StyledTable = styled(Table)`\n margin: 0;\n`;\n\nconst Automatic = () => (\n \n \n \n \n Automatic authentication will attempt each of the following in the listed order.\n \n \n \n\n \n \n Environment variables\n AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY\n \n \n Java system properties\n aws.accessKeyId and aws.secretKey\n \n \n Default credential profiles file\n Typically located at ~/.aws/credentials\n \n \n Amazon ECS container credentials\n Loaded from the Amazon ECS if the environment variable AWS_CONTAINER_CREDENTIALS_RELATIVE_URI is set\n \n \n Instance profile credentials\n Used on EC2 instances, and delivered through the Amazon EC2 metadata service\n \n \n\n \n \n \n \n For more information, check out the AWS Credential Configuration Documentation \n \n \n \n \n \n);\n\nexport default Automatic;\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 { Input } from 'components/bootstrap';\n\nconst ARN = ({ awsARN, onChange }) => (\n \n);\n\nARN.propTypes = {\n awsARN: PropTypes.shape({\n value: PropTypes.string,\n }),\n onChange: PropTypes.func.isRequired,\n};\n\nARN.defaultProps = {\n awsARN: {\n value: '',\n },\n};\n\nexport default ARN;\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, { useContext, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\n\nimport { Input } from 'components/bootstrap';\nimport { FormDataContext } from 'integrations/aws/context/FormData';\nimport { AWS_AUTH_TYPES } from 'integrations/aws/common/constants';\nimport AppConfig from 'util/AppConfig';\n\nimport KeySecret from './KeySecret';\nimport Automatic from './Automatic';\nimport ARN from './ARN';\n\nconst AuthWrapper = styled.div(({ theme }) => css`\n margin: 0 0 21px 9px;\n padding: 3px 0 3px 21px;\n border-left: 3px solid ${theme.colors.gray[80]};\n`);\n\nconst AWSAuthenticationTypes = ({ onChange }) => {\n const { clearField, formData } = useContext(FormDataContext);\n\n const {\n awsAuthenticationType,\n awsCloudWatchAwsSecret,\n awsCloudWatchAwsKey,\n awsCloudWatchAssumeARN,\n } = formData;\n\n let defaultAuthTypeValue;\n\n if (AppConfig.isCloud()) {\n defaultAuthTypeValue = AWS_AUTH_TYPES.keysecret;\n } else {\n defaultAuthTypeValue = awsAuthenticationType ? awsAuthenticationType.value : AWS_AUTH_TYPES.automatic;\n }\n\n const [currentType, setCurrenType] = useState(defaultAuthTypeValue);\n\n useEffect(() => {\n onChange({ target: { name: 'awsAuthenticationType', value: defaultAuthTypeValue } });\n }, []);\n\n const isType = (type) => currentType === type;\n\n const handleTypeChange = (e) => {\n setCurrenType(e.target.value);\n onChange({ target: { name: 'awsAuthenticationType', value: e.target.value } });\n\n if (isType(AWS_AUTH_TYPES.automatic)) {\n clearField('awsCloudWatchAwsKey');\n clearField('awsCloudWatchAwsSecret');\n }\n };\n\n return (\n <>\n {AppConfig.isCloud()\n ? (\n \n ) : (\n <>\n \n {Object.keys(AWS_AUTH_TYPES).map((type) => (\n \n ))}\n \n\n \n {isType(AWS_AUTH_TYPES.automatic) && }\n\n {isType(AWS_AUTH_TYPES.keysecret) && (\n \n )}\n \n \n )}\n \n \n );\n};\n\nAWSAuthenticationTypes.propTypes = {\n onChange: PropTypes.func.isRequired,\n};\n\nexport default AWSAuthenticationTypes;\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 styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\nimport { Icon } from 'components/common';\nimport { Button } from 'components/bootstrap';\n\nconst AdditionalFields = ({ children, className, onToggle, title, visible }) => {\n const [fieldsVisible, setFieldsVisible] = useState(visible);\n\n const handleToggle = () => {\n setFieldsVisible(!fieldsVisible);\n onToggle(!fieldsVisible);\n };\n\n return (\n
    \n \n {title} \n \n\n \n {children}\n \n
    \n );\n};\n\nAdditionalFields.propTypes = {\n children: PropTypes.any.isRequired,\n title: PropTypes.string.isRequired,\n onToggle: PropTypes.func,\n visible: PropTypes.bool,\n className: PropTypes.string,\n};\n\nAdditionalFields.defaultProps = {\n onToggle: () => {},\n visible: false,\n className: undefined,\n};\n\nconst AdditionalFieldsContent = styled.div`\n display: ${(props) => (props.visible ? 'block' : 'none')};\n padding: 0 100px 0 25px;\n`;\n\nconst ToggleAdditionalFields = styled(Button)`\n border: 0;\n display: block;\n font-size: 14px;\n\n &:hover {\n text-decoration: underline;\n }\n`;\n\nexport default AdditionalFields;\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, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport { ExternalLink } from 'components/common';\nimport { FormDataContext } from 'integrations/aws/context/FormData';\nimport { AdvancedOptionsContext } from 'integrations/aws/context/AdvancedOptions';\nimport AdditionalFields from 'integrations/aws/common/AdditionalFields';\nimport ValidatedInput from 'integrations/aws/common/ValidatedInput';\nimport { SectionTitle, SectionNote } from 'integrations/aws/common/sharedStyles';\n\nconst INPUT_PATTERN = 'https://(.*)';\nconst INPUT_MESSAGE = \"Domain should begin with 'https://'\";\nconst INPUT_PLACEHOLDER = 'https://vpce-1234.service.region.vpce.amazonaws.com';\n\nconst StyledAdditionalFields = styled(AdditionalFields)`\nmargin: 0 0 35px;\n`;\n\nconst StyledSectionTitle = styled(SectionTitle)`\nmargin: 12px 0 0;\n`;\n\nconst StyledSectionNote = styled(SectionNote)`\nmargin: 0 0 12px;\n`;\n\nconst AWSCustomEndpoints = ({ onChange }) => {\n const { formData } = useContext(FormDataContext);\n const { isAWSCustomEndpointsVisible, setAWSCustomEndpointsVisibility } = useContext(AdvancedOptionsContext);\n const {\n awsEndpointCloudWatch,\n awsEndpointDynamoDB,\n awsEndpointIAM,\n awsEndpointKinesis,\n } = formData;\n\n const handleToggle = (visible) => {\n setAWSCustomEndpointsVisibility(visible);\n };\n\n return (\n \n\n Overrides the default AWS API endpoint URL that Graylog communicates with.\n Only specify these if you are using VPC Endpoints for AWS services.\n\n \n\n \n\n \n\n \n \n );\n};\n\nAWSCustomEndpoints.propTypes = {\n onChange: PropTypes.func.isRequired,\n};\n\nexport default AWSCustomEndpoints;\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, { useContext, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport { FormDataContext } from 'integrations/aws/context/FormData';\nimport { ApiContext } from 'integrations/aws/context/Api';\nimport { SidebarContext } from 'integrations/aws/context/Sidebar';\nimport ValidatedInput from 'integrations/aws/common/ValidatedInput';\nimport FormWrap from 'integrations/aws/common/FormWrap';\nimport { renderOptions } from 'integrations/aws/common/Options';\nimport { ApiRoutes } from 'integrations/aws/common/Routes';\nimport { AWS_AUTH_TYPES } from 'integrations/aws/common/constants';\nimport useFetch from 'integrations/aws/common/hooks/useFetch';\nimport formValidation from 'integrations/aws/utils/formValidation';\nimport AWSAuthenticationTypes from 'integrations/aws/authentication/AWSAuthenticationTypes';\nimport AWSCustomEndpoints from 'integrations/aws/authentication/AWSCustomEndpoints';\n\nconst StepAuthorize = ({ onChange, onSubmit, sidebarComponent }) => {\n const { formData } = useContext(FormDataContext);\n const { clearSidebar, setSidebar } = useContext(SidebarContext);\n const { availableRegions, setRegions, setStreams } = useContext(ApiContext);\n const [formError, setFormError] = useState(null);\n const [fetchRegionsStatus] = useFetch(ApiRoutes.INTEGRATIONS.AWS.REGIONS, setRegions, 'GET');\n const [fetchStreamsStatus, setStreamsFetch] = useFetch(\n null,\n (response) => {\n setStreams(response);\n onSubmit();\n },\n 'POST',\n { region: formData.awsCloudWatchAwsRegion ? formData.awsCloudWatchAwsRegion.value : '' },\n );\n\n useEffect(() => {\n setStreamsFetch(null);\n\n if (fetchRegionsStatus.error) {\n setFormError({ full_message: fetchRegionsStatus.error });\n } else if (fetchStreamsStatus.error) {\n const badKey = /security token/g;\n const badSecret = /signing method/g;\n const noStreams = /No Kinesis streams/g;\n\n if (fetchStreamsStatus.error.match(badKey)) {\n setFormError({ full_message: fetchStreamsStatus.error, nice_message: 'Invalid AWS Key, check out your AWS account for the 20-character long, alphanumeric string that usually starts with the letters \"AK\"' });\n } else if (fetchStreamsStatus.error.match(badSecret)) {\n setFormError({ full_message: fetchStreamsStatus.error, nice_message: 'Invalid AWS Secret, it is usually a 40-character long, base-64 encoded string, but you only get to view it once when you create the Key' });\n } else if (fetchStreamsStatus.error.match(noStreams)) {\n // NOTE: If no streams are present we want to move to the KinesisSetup screen\n setStreams({ streams: [] });\n onSubmit();\n } else {\n setFormError({ full_message: fetchStreamsStatus.error });\n }\n }\n\n return () => {\n setFormError(null);\n };\n }, [fetchRegionsStatus.error, fetchStreamsStatus.error]);\n\n const handleSubmit = () => {\n setStreamsFetch(ApiRoutes.INTEGRATIONS.AWS.KINESIS.STREAMS);\n };\n\n useEffect(() => {\n if (sidebarComponent) {\n setSidebar(sidebarComponent);\n }\n\n return () => {\n clearSidebar();\n };\n }, []);\n\n const authType = formData.awsAuthenticationType && formData.awsAuthenticationType.value;\n const isFormValid = formValidation.isFormValid([\n 'awsCloudWatchName',\n 'awsCloudWatchAwsRegion',\n ...authType !== AWS_AUTH_TYPES.automatic ? ['awsCloudWatchAwsKey', 'awsCloudWatchAwsSecret'] : [],\n ], formData);\n\n return (\n \n\n \n \n\n \n\n \n\n \n {renderOptions(availableRegions, 'Choose AWS Region', fetchRegionsStatus.loading)}\n \n\n \n \n );\n};\n\nStepAuthorize.propTypes = {\n onSubmit: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n sidebarComponent: PropTypes.node,\n};\n\nStepAuthorize.defaultProps = {\n sidebarComponent: null,\n};\n\nconst DisappearingInput = styled.input`\n position: fixed;\n top: -500vh;\n left: -500vw;\n`;\n\nexport default StepAuthorize;\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, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport { Input } from 'components/bootstrap';\nimport { FormDataContext } from 'integrations/aws/context/FormData';\nimport { AdvancedOptionsContext } from 'integrations/aws/context/AdvancedOptions';\nimport AdditionalFields from 'integrations/aws/common/AdditionalFields';\n\nconst FormAdvancedOptions = ({ onChange }) => {\n const { formData } = useContext(FormDataContext);\n const { isAdvancedOptionsVisible, setAdvancedOptionsVisibility } = useContext(AdvancedOptionsContext);\n\n const {\n awsCloudWatchBatchSize,\n awsCloudWatchThrottleEnabled,\n awsCloudWatchAddFlowLogPrefix,\n } = formData;\n\n const handleToggle = (visible) => {\n setAdvancedOptionsVisibility(visible);\n };\n\n return (\n \n \n\n \n\n \n \n );\n};\n\nFormAdvancedOptions.propTypes = {\n onChange: PropTypes.func.isRequired,\n};\n\nconst StyledAdditionalFields = styled(AdditionalFields)`\nmargin: 0 0 35px;\n`;\n\nexport default FormAdvancedOptions;\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, { useContext, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport { Button, Modal, Panel } from 'components/bootstrap';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport { FormDataContext } from 'integrations/aws/context/FormData';\nimport { ApiContext } from 'integrations/aws/context/Api';\nimport { SidebarContext } from 'integrations/aws/context/Sidebar';\nimport useFetch from 'integrations/aws/common/hooks/useFetch';\nimport FormWrap from 'integrations/aws/common/FormWrap';\nimport ValidatedInput from 'integrations/aws/common/ValidatedInput';\nimport { ApiRoutes, DocsRoutes } from 'integrations/aws/common/Routes';\nimport { renderOptions } from 'integrations/aws/common/Options';\nimport formValidation from 'integrations/aws/utils/formValidation';\n\nimport FormAdvancedOptions from '../FormAdvancedOptions';\n\nconst KinesisStreams = ({ onChange, onSubmit, toggleSetup }) => {\n const { formData } = useContext(FormDataContext);\n const [formError, setFormError] = useState(null);\n const { availableStreams, setLogData } = useContext(ApiContext);\n const { clearSidebar, setSidebar } = useContext(SidebarContext);\n const [logDataStatus, setLogDataUrl] = useFetch(\n null,\n (response) => {\n setLogData(response);\n onSubmit();\n },\n 'POST',\n {\n region: formData.awsCloudWatchAwsRegion.value,\n stream_name: formData.awsCloudWatchKinesisStream ? formData.awsCloudWatchKinesisStream.value : '',\n },\n );\n\n useEffect(() => {\n setSidebar(\n Don't see the stream you need?}>\n \n

    At least one Kinesis stream must exist in the specified region in order to continue with the setup. The log stream must contain at least a few log messages.

    \n\n

    \n Graylog also supports the ability to create a Kinesis stream for you and subscribe it to a CloudWatch log group of your choice. Please be aware that this option will create additional resources in your AWS environment that will incur billing charges.\n

    \n
    \n\n \n
    ,\n );\n }, []);\n\n useEffect(() => {\n if (logDataStatus.error) {\n setLogDataUrl(null);\n\n setFormError({\n full_message: logDataStatus.error,\n nice_message: We were unable to find any logs in this Kinesis stream. Please select a different Kinesis stream.,\n });\n }\n }, [logDataStatus.error]);\n\n const handleSubmit = () => {\n setLogDataUrl(ApiRoutes.INTEGRATIONS.AWS.KINESIS.HEALTH_CHECK);\n };\n\n return (\n <>\n \n \n \n This request may take a few moments.\n \n \n\n \n

    \n Below is a list of all Kinesis streams found within the specified AWS account.\n

    \n

    \n Please select the stream you would like to read messages from, or follow the \n \n documentation for more details on this set up.\n

    \n \n )}>\n\n \n {renderOptions(availableStreams, 'Select Kinesis Stream')}\n \n\n \n
    \n \n );\n};\n\nKinesisStreams.propTypes = {\n onSubmit: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n toggleSetup: PropTypes.func,\n};\n\nKinesisStreams.defaultProps = {\n toggleSetup: () => {\n },\n};\n\nconst AutoSetupContent = styled.div`\n margin-bottom: 9px;\n`;\n\nconst LoadingModal = styled(Modal)`\n > .modal-dialog {\n width: 400px;\n margin-left: auto;\n margin-right: auto;\n }\n`;\n\nconst LoadingContent = styled(Modal.Body)`\n text-align: center;\n\n i.fa {\n font-size: 48px;\n color: #702785;\n }\n`;\n\nconst LoadingMessage = styled.p`\n font-size: 16px;\n font-weight: bold;\n padding-top: 15px;\n color: #a6afbd;\n`;\n\nexport default KinesisStreams;\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\nconst Agree = ({ groupName, streamName }) => (\n <>\n

    This auto setup will create the following AWS resources. Click below to acknowledge that you understand that these resources will be created and that you are solely responsible for any associated AWS fees incurred from them. Note that all resources must be manually deleted by you if they are not needed.

    \n\n
      \n
    1. Create a Kinesis stream with 1 shard.
    2. \n
    3. Create an IAM Role and Policy to allow the specified CloudWatch group {groupName} to publish log messages to the Kinesis stream {streamName}
    4. \n
    5. Create a CloudWatch Subscription, which publishes log messages to the Kinesis stream.
    6. \n
    \n \n);\n\nAgree.propTypes = {\n groupName: PropTypes.string.isRequired,\n streamName: PropTypes.string.isRequired,\n};\n\nexport default Agree;\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';\nimport styled from 'styled-components';\n\nconst KinesisSetupStep = ({ label, progress }) => {\n const { data, error, loading } = progress;\n\n const waitingText = !data && !loading && !error && 'Waiting...';\n const loadingText = loading ? `Creating ${label}` : waitingText;\n const successText = data ? data.result : loadingText;\n const defaultText = error || successText;\n\n return (\n \n \n {!data && !loading && !error && }\n {loading && }\n {data && }\n {error && }\n \n\n \n Create {label}\n\n \n {defaultText}\n \n \n \n );\n};\n\nKinesisSetupStep.propTypes = {\n progress: PropTypes.shape({\n data: PropTypes.object,\n error: PropTypes.object,\n loading: PropTypes.bool,\n }).isRequired,\n label: PropTypes.string.isRequired,\n};\n\nconst StepItem = styled.li`\n display: flex;\n margin: 0 0 12px;\n`;\n\nconst IconWrap = styled.div`\n min-width: 36px;\n`;\n\nconst Content = styled.div`\n flex-grow: 1;\n`;\n\nconst StepHeader = styled.span`\n font-size: 18px;\n`;\n\nconst StepDetails = styled.p`\n margin: 3px 0 0;\n`;\n\nexport default KinesisSetupStep;\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, { useContext, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport { ApiRoutes } from 'integrations/aws/common/Routes';\nimport useFetch from 'integrations/aws/common/hooks/useFetch';\nimport { FormDataContext } from 'integrations/aws/context/FormData';\n\nimport KinesisSetupStep from './KinesisSetupStep';\n\nconst KinesisSetupSteps = ({ onSuccess, onError }) => {\n const { formData } = useContext(FormDataContext);\n const [streamArn, setStreamArn] = useState(null);\n const [roleArn, setRoleArn] = useState(null);\n\n const [createSubsciptionProgress, setCreateSubsciptionUrl] = useFetch(\n null,\n () => {\n onSuccess();\n },\n 'POST',\n {\n region: formData.awsCloudWatchAwsRegion.value,\n log_group_name: formData.awsCloudWatchAwsGroupName.value,\n filter_name: 'filter-name', // TODO: Use unique filter name\n filter_pattern: '',\n destination_stream_arn: streamArn,\n role_arn: roleArn,\n },\n );\n\n const [createPolicyProgress, setCreatePolicyUrl] = useFetch(\n null,\n (response) => {\n setRoleArn(response.role_arn);\n setCreateSubsciptionUrl(ApiRoutes.INTEGRATIONS.AWS.KINESIS_AUTO_SETUP.CREATE_SUBSCRIPTION);\n },\n 'POST',\n {\n region: formData.awsCloudWatchAwsRegion.value,\n stream_name: formData.awsCloudWatchKinesisStream.value,\n stream_arn: streamArn,\n },\n );\n\n const [createStreamProgress, setCreateStreamUrl] = useFetch(\n null,\n (response) => {\n setStreamArn(response.stream_arn);\n setCreatePolicyUrl(ApiRoutes.INTEGRATIONS.AWS.KINESIS_AUTO_SETUP.CREATE_SUBSCRIPTION_POLICY);\n },\n 'POST',\n {\n region: formData.awsCloudWatchAwsRegion.value,\n stream_name: formData.awsCloudWatchKinesisStream.value,\n },\n );\n\n useEffect(() => {\n setCreateStreamUrl(ApiRoutes.INTEGRATIONS.AWS.KINESIS_AUTO_SETUP.CREATE_STREAM);\n }, []);\n\n useEffect(() => {\n if (createStreamProgress.error || createPolicyProgress.error || createSubsciptionProgress.error) {\n onError();\n }\n }, [createStreamProgress.error, createPolicyProgress.error, createSubsciptionProgress.error]);\n\n return (\n \n \n \n \n \n );\n};\n\nKinesisSetupSteps.propTypes = {\n onSuccess: PropTypes.func.isRequired,\n onError: PropTypes.func.isRequired,\n};\n\nconst StepItems = styled.ul`\n list-style: none;\n margin: 0;\n padding: 0;\n`;\n\nexport default KinesisSetupSteps;\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';\n\nimport { Alert, Button, Modal } from 'components/bootstrap';\n\nimport Agree from './Agree';\nimport KinesisSetupSteps from './KinesisSetupSteps';\n\nconst SetupModal = ({ onSubmit, onCancel, groupName, streamName }) => {\n const [agreed, setAgreed] = useState(false);\n const [success, setSuccess] = useState(false);\n const [error, setError] = useState(false);\n\n const buttonOtherText = (!error && !success) ? 'Creating...' : 'Close';\n const buttonText = success ? 'Continue Setup' : buttonOtherText;\n\n const handleSuccess = () => {\n setSuccess(true);\n setError(false);\n };\n\n const handleError = () => {\n setSuccess(false);\n setError(true);\n };\n\n return (\n \n \n {agreed ? 'Executing Auto-Setup' : 'Kinesis Auto Setup Agreement'}\n \n\n \n {agreed\n ? \n : }\n\n {agreed && success && (\n \n It may take up to ten minutes for the first messages to arrive in the Kinesis stream. The Kinesis Health Check in the following step will not complete successfully until messages are present in the stream. Please see the official CloudWatch Subscriptions documentation for more information.\n \n )}\n \n\n \n {agreed\n ? (\n \n )\n : (\n <>\n \n \n \n )}\n \n \n );\n};\n\nSetupModal.propTypes = {\n onSubmit: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n groupName: PropTypes.string.isRequired,\n streamName: PropTypes.string.isRequired,\n};\n\nexport default SetupModal;\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, { useContext, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport { Button } from 'components/bootstrap';\nimport ValidatedInput from 'integrations/aws/common/ValidatedInput';\nimport FormWrap from 'integrations/aws/common/FormWrap';\nimport { ApiRoutes } from 'integrations/aws/common/Routes';\nimport { renderOptions } from 'integrations/aws/common/Options';\nimport useFetch from 'integrations/aws/common/hooks/useFetch';\nimport formValidation from 'integrations/aws/utils/formValidation';\nimport { FormDataContext } from 'integrations/aws/context/FormData';\nimport { ApiContext } from 'integrations/aws/context/Api';\n\nimport SetupModal from './setup-steps/SetupModal';\n\nconst KinesisSetup = ({ onChange, onSubmit, toggleSetup }) => {\n const { availableGroups, setGroups, clearLogData } = useContext(ApiContext);\n const { formData } = useContext(FormDataContext);\n const [formError, setFormError] = useState(null);\n const [disabledForm, setDisabledForm] = useState(false);\n const [disabledGroups, setDisabledGroups] = useState(false);\n const [showTOS, setShowTOS] = useState(false);\n const [groupNamesStatus, setGroupNamesUrl] = useFetch(\n ApiRoutes.INTEGRATIONS.AWS.CLOUDWATCH.GROUPS,\n (response) => {\n setGroups(response);\n },\n 'POST',\n { region: formData.awsCloudWatchAwsRegion.value },\n );\n\n useEffect(() => {\n if (groupNamesStatus.error) {\n setGroupNamesUrl(null);\n\n const noGroups = /No CloudWatch log groups/g;\n\n if (groupNamesStatus.error.match(noGroups)) {\n setFormError({\n full_message: groupNamesStatus.error,\n nice_message: We're unable to find any groups in your chosen region. Please try selecting a different region.,\n });\n\n setDisabledGroups(true);\n } else {\n setFormError({\n full_message: groupNamesStatus.error,\n });\n }\n }\n\n return () => {\n setGroups({ log_groups: [] });\n };\n }, [groupNamesStatus.error]);\n\n const handleAgreeSubmit = () => {\n clearLogData();\n onSubmit();\n };\n\n const handleFormSubmit = () => {\n setDisabledForm(true);\n setShowTOS(true);\n };\n\n const handleAgreeCancel = () => {\n setDisabledForm(false);\n setShowTOS(false);\n };\n\n return (\n \n\n

    \n Complete the fields below and Graylog will perform the automated Kinesis setup, which performs the following operations within your AWS account. See Using CloudWatch Logs Subscription Filters in the AWS documentation for more information.\n

    \n\n
      \n
    1. Create a new Kinesis stream with the specified name.
    2. \n
    3. Create the IAM role/policy needed to subscribe the Kinesis stream to the CloudWatch Log Group.
    4. \n
    5. Subscribe the new Kinesis stream to the Log Group.
    6. \n
    \n\n \n\n \n\n {renderOptions(availableGroups, 'Choose CloudWatch Group', groupNamesStatus.loading)}\n \n\n {toggleSetup\n && (\n \n Back to stream Selection\n \n )}\n\n {showTOS && (\n \n )}\n
    \n );\n};\n\nKinesisSetup.propTypes = {\n onSubmit: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n toggleSetup: PropTypes.func,\n};\n\nKinesisSetup.defaultProps = {\n toggleSetup: null,\n};\n\nconst BackButton = styled(Button)`\n margin-right: 9px;\n`;\n\nexport default KinesisSetup;\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';\n\nimport ExistingStreams from './kinesis/ExistingStreams';\nimport SetupNewStream from './kinesis/SetupNewStream';\n\nconst StepKinesis = ({ hasStreams, ...restProps }) => {\n const [renderStreams, toggleRenderStreams] = useState(hasStreams);\n\n return (\n <>\n {renderStreams\n ? toggleRenderStreams(false)} />\n : toggleRenderStreams(true) : null} />}\n \n );\n};\n\nStepKinesis.propTypes = {\n hasStreams: PropTypes.bool,\n onChange: PropTypes.func.isRequired,\n onSubmit: PropTypes.func.isRequired,\n};\n\nStepKinesis.defaultProps = {\n hasStreams: false,\n};\n\nexport default StepKinesis;\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, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport FormWrap from 'integrations/aws/common/FormWrap';\nimport AdditionalFields from 'integrations/aws/common/AdditionalFields';\nimport { renderOptions } from 'integrations/aws/common/Options';\nimport ValidatedInput from 'integrations/aws/common/ValidatedInput';\nimport { KINESIS_LOG_TYPES } from 'integrations/aws/common/constants';\nimport { FormDataContext } from 'integrations/aws/context/FormData';\n\nconst SkipHealthCheck = ({ onChange, onSubmit }) => {\n const { formData } = useContext(FormDataContext);\n\n return (\n \n If you're sure of the data contained within your new {formData.awsCloudWatchKinesisStream.value} stream, then choose your option below to skip our automated check.

    \n )}>\n\n \n {renderOptions(KINESIS_LOG_TYPES, 'Choose Log Type')}\n \n
    \n
    \n );\n};\n\nSkipHealthCheck.propTypes = {\n onSubmit: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nconst StyledFormWrap = styled(FormWrap)`\n padding-top: 25px;\n`;\n\nexport default SkipHealthCheck;\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 { duration } from 'moment';\n\nfunction Countdown({ callback, className, timeInSeconds, paused }) {\n let tickTock = timeInSeconds;\n let logInterval;\n\n const defaultDuration = duration(timeInSeconds, 'seconds').format('mm:ss');\n const [currentTime, setCurrentTime] = useState(defaultDuration);\n\n const startCountdown = () => {\n logInterval = setInterval(() => {\n tickTock -= 1;\n\n const currentDuration = duration(tickTock, 'seconds').format('mm:ss', { trim: false });\n\n if (tickTock < 0) {\n tickTock = timeInSeconds;\n setCurrentTime(defaultDuration);\n clearInterval(logInterval);\n callback();\n } else {\n setCurrentTime(currentDuration);\n }\n }, 1000);\n };\n\n useEffect(() => {\n if (paused) {\n clearInterval(logInterval);\n } else {\n startCountdown();\n }\n\n return () => {\n clearInterval(logInterval);\n };\n }, [paused]);\n\n return (\n {currentTime}\n );\n}\n\nCountdown.propTypes = {\n timeInSeconds: PropTypes.number.isRequired,\n callback: PropTypes.func,\n className: PropTypes.string,\n paused: PropTypes.bool,\n};\n\nCountdown.defaultProps = {\n callback: () => {},\n className: '',\n paused: false,\n};\n\nexport default Countdown;\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, { useContext, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport { Button, Panel, Input } from 'components/bootstrap';\nimport FormWrap from 'integrations/aws/common/FormWrap';\nimport SkipHealthCheck from 'integrations/aws/common/SkipHealthCheck';\nimport useFetch from 'integrations/aws/common/hooks/useFetch';\nimport { ApiRoutes } from 'integrations/aws/common/Routes';\nimport Countdown from 'integrations/aws/common/Countdown';\nimport { DEFAULT_KINESIS_LOG_TYPE, KINESIS_LOG_TYPES } from 'integrations/aws/common/constants';\nimport { ApiContext } from 'integrations/aws/context/Api';\nimport { FormDataContext } from 'integrations/aws/context/FormData';\n\nconst StepHealthCheck = ({ onChange, onSubmit }) => {\n const { logData, setLogData } = useContext(ApiContext);\n const { formData } = useContext(FormDataContext);\n const [pauseCountdown, setPauseCountdown] = useState(false);\n\n const [logDataProgress, setLogDataUrl] = useFetch(\n null,\n (response) => {\n setLogData(response);\n onChange({ target: { name: 'awsCloudWatchKinesisInputType', value: response.type } });\n },\n 'POST',\n {\n region: formData.awsCloudWatchAwsRegion.value,\n stream_name: formData.awsCloudWatchKinesisStream.value,\n },\n );\n\n const checkForLogs = () => {\n setPauseCountdown(true);\n setLogDataUrl(ApiRoutes.INTEGRATIONS.AWS.KINESIS.HEALTH_CHECK);\n };\n\n useEffect(() => {\n if (!logData) {\n checkForLogs();\n }\n }, []);\n\n useEffect(() => {\n if (!logDataProgress.loading && !logDataProgress.data) {\n setPauseCountdown(false);\n setLogDataUrl(null);\n }\n }, [logDataProgress.loading]);\n\n if (!logData) {\n return (\n \n We haven't received a response back from Amazon yet.\n \n )}>\n

    Hang out for a few moments while we keep checking your AWS stream for logs. Amazon's servers parse logs every 10 minutes, so grab a cup of coffee because this may take some time!

    \n\n \n Checking again in: \n\n \n \n\n

    Do not refresh your browser, we are continually checking for your logs and this page will automatically refresh when your logs are available.

    \n\n
    \n \n
    \n
    \n );\n }\n\n const knownLog = logData.type === DEFAULT_KINESIS_LOG_TYPE;\n const iconClass = knownLog ? 'check' : 'exclamation-triangle';\n const acknowledgment = knownLog ? 'Awesome!' : 'Drats!';\n const bsStyle = knownLog ? 'success' : 'warning';\n const logTypeLabel = KINESIS_LOG_TYPES.find((type) => type.value === logData.type).label;\n const logType = knownLog ? `a ${logTypeLabel}` : 'an unknown';\n\n const handleSubmit = () => {\n onSubmit();\n onChange({ target: { name: 'awsCloudWatchKinesisInputType', value: logData.type } });\n };\n\n return (\n We are going to attempt to parse a single log to help you out! If we are unable to, or you would like it parsed differently, head on over to Pipeline Rules to set up your own parser!

    }>\n\n \n {acknowledgment} looks like {logType} message type.\n \n )}>\n {knownLog ? 'Take a look at what we have parsed so far and you can create Pipeline Rules to handle even more!' : 'Not to worry, Graylog can still read in these log messages. We have parsed what we could and you can build Pipeline Rules to do the rest!'}\n \n\n \n
    \n );\n};\n\nStepHealthCheck.propTypes = {\n onSubmit: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nconst Notice = styled.span`\n display: flex;\n align-items: center;\n\n > span {\n margin-left: 6px;\n }\n`;\n\nconst CheckAgain = styled.p`\n display: flex;\n align-items: center;\n\n > strong {\n margin-right: 9px;\n }\n`;\n\nexport default StepHealthCheck;\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, { useContext, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport { Link } from 'components/common/router';\nimport Routes from 'routing/Routes';\nimport { Input } from 'components/bootstrap';\nimport { Icon } from 'components/common';\nimport { FormDataContext } from 'integrations/aws/context/FormData';\nimport { ApiContext } from 'integrations/aws/context/Api';\nimport useFetch from 'integrations/aws/common/hooks/useFetch';\nimport FormWrap from 'integrations/aws/common/FormWrap';\nimport { ApiRoutes } from 'integrations/aws/common/Routes';\nimport { DEFAULT_KINESIS_LOG_TYPE, KINESIS_LOG_TYPES } from 'integrations/aws/common/constants';\n\nconst Default = ({ value }) => (\n <>{value} (default)\n);\n\nDefault.propTypes = {\n value: PropTypes.string.isRequired,\n};\n\nconst StepReview = ({ onSubmit, onEditClick, externalInputSubmit }) => {\n const [formError, setFormError] = useState(null);\n const { formData } = useContext(FormDataContext);\n const { logData } = useContext(ApiContext);\n const {\n awsAuthenticationType,\n awsCloudWatchAddFlowLogPrefix = { value: undefined },\n awsCloudWatchAssumeARN = { value: undefined },\n awsCloudWatchAwsKey = { value: undefined },\n awsCloudWatchAwsRegion,\n awsCloudWatchBatchSize,\n awsEndpointCloudWatch = { value: undefined },\n awsCloudWatchKinesisInputType = { value: DEFAULT_KINESIS_LOG_TYPE },\n awsCloudWatchKinesisStream,\n awsCloudWatchName,\n awsCloudWatchThrottleEnabled = { value: undefined },\n awsEndpointDynamoDB = { value: undefined },\n awsEndpointIAM = { value: undefined },\n awsEndpointKinesis = { value: undefined },\n } = formData;\n\n const throttleEnabled = !!awsCloudWatchThrottleEnabled.value;\n const addPrefix = !!awsCloudWatchAddFlowLogPrefix.value;\n\n const [fetchSubmitStatus, setSubmitFetch] = useFetch(\n null,\n () => {\n onSubmit();\n },\n 'POST',\n {\n name: awsCloudWatchName.value,\n region: awsCloudWatchAwsRegion.value,\n aws_input_type: awsCloudWatchKinesisInputType.value,\n stream_name: awsCloudWatchKinesisStream.value,\n batch_size: Number(awsCloudWatchBatchSize.value || awsCloudWatchBatchSize.defaultValue),\n enable_throttling: throttleEnabled,\n add_flow_log_prefix: addPrefix,\n },\n );\n\n useEffect(() => {\n if (fetchSubmitStatus.error) {\n setFormError({\n full_message: fetchSubmitStatus.error,\n nice_message: We were unable to save your Input, please try again in a few moments.,\n });\n }\n }, [fetchSubmitStatus.error]);\n\n const handleSubmit = () => {\n if (externalInputSubmit) {\n onSubmit(formData);\n\n return;\n }\n\n setSubmitFetch(ApiRoutes.INTEGRATIONS.AWS.KINESIS.SAVE);\n };\n\n return (\n \n\n \n Setting up CloudWatch Edit\n \n
  • \n Name\n {awsCloudWatchName.value}\n
  • \n\n
  • \n Authorization Type\n {awsAuthenticationType.value}\n
  • \n\n {awsCloudWatchAwsKey.value && (\n
  • \n AWS Key\n {awsCloudWatchAwsKey.value}\n
  • \n )}\n\n {awsCloudWatchAssumeARN.value && (\n
  • \n AWS Assumed ARN Role\n {awsCloudWatchAssumeARN.value}\n
  • \n )}\n\n {awsEndpointCloudWatch.value && (\n
  • \n CloudWatch VPC Endpoint\n {awsEndpointCloudWatch.value}\n
  • \n )}\n\n {awsEndpointDynamoDB.value && (\n
  • \n DynamoDB VPC Endpoint\n {awsEndpointDynamoDB.value}\n
  • \n )}\n\n {awsEndpointIAM.value && (\n
  • \n IAM VPC Endpoint\n {awsEndpointIAM.value}\n
  • \n )}\n\n {awsEndpointKinesis.value && (\n
  • \n Kinesis VPC Endpoint\n {awsEndpointKinesis.value}\n
  • \n )}\n\n
  • \n AWS Region\n {awsCloudWatchAwsRegion.value}\n
  • \n
    \n\n Setting up Kinesis Edit\n \n
  • \n Stream\n {awsCloudWatchKinesisStream.value}\n
  • \n
  • \n Global Input\n \n
  • \n
  • \n Record Batch Size\n \n {\n awsCloudWatchBatchSize.value\n ? awsCloudWatchBatchSize.value\n : \n }\n \n
  • \n
  • \n Enable Throttling\n \n
  • \n
  • \n Add Flow Log prefix to field names\n \n
  • \n
    \n\n Formatting\n \n
  • \n Log Type\n {KINESIS_LOG_TYPES.find((type) => type.value === awsCloudWatchKinesisInputType.value).label}\n
  • \n
    \n

    If you need your logs parsed differently check out our Pipeline Rule for additional details and instructions.

    \n\n \n
    \n
    \n );\n};\n\nStepReview.propTypes = {\n onSubmit: PropTypes.func.isRequired,\n onEditClick: PropTypes.func.isRequired,\n externalInputSubmit: PropTypes.bool,\n};\n\nStepReview.defaultProps = {\n externalInputSubmit: false,\n};\n\nconst Container = styled.div`\n border: 1px solid #a6afbd;\n margin: 25px 0;\n padding: 15px;\n border-radius: 4px;\n`;\n\nconst Subheader = styled.h3`\n margin: 0 0 10px;\n`;\n\nconst ReviewItems = styled.ul`\n list-style: none;\n margin: 0 0 25px 10px;\n padding: 0;\n\n li {\n padding: 5px;\n\n &:nth-of-type(odd) {\n background-color: rgb(220 225 229 / 40%);\n }\n }\n\n strong::after {\n content: ':';\n margin-right: 5px;\n }\n`;\n\nconst EditAnchor = styled.a`\n font-size: 12px;\n margin-left: 5px;\n font-style: italic;\n cursor: pointer;\n\n &::before {\n content: '(';\n }\n\n &::after {\n content: ')';\n }\n`;\n\nexport default StepReview;\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 from 'styled-components';\n\nimport { Panel } from 'components/bootstrap';\nimport useFetch from 'integrations/aws/common/hooks/useFetch';\nimport { ApiRoutes } from 'integrations/aws/common/Routes';\n\nfunction Policies({ title, note, policy }) {\n const [opened, setOpened] = useState(false);\n\n const toggleOpen = () => {\n setOpened(!opened);\n };\n\n return (\n
    \n
    \n \n {opened ? 'Hide' : 'Show'} {title}\n {note}\n \n\n \n
    \n\n \n {JSON.stringify(policy, null, 2)}\n \n
    \n );\n}\n\nPolicies.propTypes = {\n title: PropTypes.string.isRequired,\n note: PropTypes.string.isRequired,\n policy: PropTypes.object.isRequired,\n};\n\nexport default function SidebarPermissions() {\n const [permissionsStatus] = useFetch(ApiRoutes.INTEGRATIONS.AWS.PERMISSIONS);\n\n return (\n AWS Policy Permissions}>\n

    Please verify that you have granted your AWS IAM user sufficient permissions. You can use the following policies for reference.

    \n\n {!permissionsStatus.loading && permissionsStatus.data && (\n <>\n \n\n \n \n )}\n
    \n );\n}\n\nconst Header = styled.header`\n display: flex;\n align-items: center;\n cursor: pointer;\n`;\n\nconst HeaderContent = styled.div`\n flex-grow: 1;\n`;\n\nconst Icon = styled.span`\n transform: rotate(${(props) => (props.opened ? '90deg' : '0deg')});\n transition: transform 150ms ease-in-out;\n`;\n\nconst Policy = styled.pre`\n overflow: hidden;\n max-height: ${(props) => (props.opened ? '1000px' : '0')};\n opacity: ${(props) => (props.opened ? '1' : '0')};\n transition: max-height 150ms ease-in-out, opacity 150ms ease-in-out, margin 150ms ease-in-out, padding 150ms ease-in-out;\n margin-bottom: ${(props) => (props.opened ? '12px' : '0')};\n padding: ${(props) => (props.opened ? '9.5px' : '0')};\n`;\n\nconst Title = styled.h4`\n font-weight: bold;\n`;\n\nconst Note = styled.p`\n font-style: italic;\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, { useContext, useEffect, useMemo, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { useNavigate } from 'react-router-dom';\n\nimport ConfirmLeaveDialog from 'components/common/ConfirmLeaveDialog';\nimport Wizard from 'components/common/Wizard';\nimport { getValueFromInput } from 'util/FormsUtils.js';\nimport Routes from 'routing/Routes';\nimport StepAuthorize from 'integrations/aws/StepAuthorize';\nimport { StepsContext } from 'integrations/aws/context/Steps';\nimport { FormDataContext } from 'integrations/aws/context/FormData';\nimport { ApiContext } from 'integrations/aws/context/Api';\nimport { SidebarContext } from 'integrations/aws/context/Sidebar';\n// import useHistory from 'routing/useHistory';\n\nimport StepKinesis from './StepKinesis';\nimport StepHealthCheck from './StepHealthCheck';\nimport StepReview from './StepReview';\nimport SidebarPermissions from './SidebarPermissions';\n\nconst CloudWatch = ({ externalInputSubmit, onSubmit }) => {\n const {\n availableSteps,\n currentStep,\n isDisabledStep,\n setAvailableStep,\n setCurrentStep,\n setEnabledStep,\n } = useContext(StepsContext);\n const { setFormData } = useContext(FormDataContext);\n const { availableStreams } = useContext(ApiContext);\n const { sidebar, clearSidebar } = useContext(SidebarContext);\n const [dirty, setDirty] = useState(false);\n const [lastStep, setLastStep] = useState(false);\n // const history = useHistory();\n const navigate = useNavigate();\n\n const handleStepChange = (nextStep) => {\n setCurrentStep(nextStep);\n };\n\n const wizardSteps = useMemo(() => {\n const handleEditClick = (nextStep) => () => {\n setCurrentStep(nextStep);\n };\n\n const handleFieldUpdate = ({ target }, fieldData) => {\n const id = target.name || target.id;\n\n let value = getValueFromInput(target);\n\n if (typeof value === 'string') {\n value = value.trim();\n }\n\n if (!dirty) {\n setDirty(true);\n }\n\n setFormData(id, { ...fieldData, value });\n };\n\n const handleSubmit = (maybeFormData) => {\n clearSidebar();\n const nextStep = availableSteps.indexOf(currentStep) + 1;\n\n if (availableSteps[nextStep]) {\n const key = availableSteps[nextStep];\n\n setCurrentStep(key);\n setEnabledStep(key);\n } else {\n setLastStep(true);\n\n if (externalInputSubmit) {\n onSubmit(maybeFormData);\n } else {\n // history.push(Routes.SYSTEM.INPUTS);\n navigate(Routes.SYSTEM.INPUTS);\n }\n }\n };\n\n return [\n {\n key: 'authorize',\n title: 'AWS Kinesis Authorize',\n component: (} />),\n disabled: isDisabledStep('authorize'),\n },\n {\n key: 'kinesis-setup',\n title: 'AWS Kinesis Setup',\n component: ( 0} />),\n disabled: isDisabledStep('kinesis-setup'),\n },\n {\n key: 'health-check',\n title: 'AWS CloudWatch Health Check',\n component: (),\n disabled: isDisabledStep('health-check'),\n },\n {\n key: 'review',\n title: 'AWS Kinesis Review',\n component: (),\n disabled: isDisabledStep('review'),\n },\n ];\n }, [isDisabledStep, availableStreams.length, externalInputSubmit, setCurrentStep, dirty, setFormData, clearSidebar, availableSteps, currentStep, setEnabledStep, onSubmit, navigate]);\n\n useEffect(() => {\n if (availableSteps.length === 0) {\n setAvailableStep(wizardSteps.map((step) => step.key));\n }\n }, [availableSteps, setAvailableStep, wizardSteps]);\n\n return (\n <>\n {dirty && !lastStep && }\n \n {sidebar}\n \n \n );\n};\n\nCloudWatch.propTypes = {\n externalInputSubmit: PropTypes.bool,\n onSubmit: PropTypes.func,\n};\n\nCloudWatch.defaultProps = {\n externalInputSubmit: false,\n onSubmit: undefined,\n};\n\nexport default CloudWatch;\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 DEFAULT_SETTINGS = {\n /*\n fieldId: { // Same ID as supplied to \n value: '',\n defaultValue: '', // Update StepReview.jsx & relevant step(s) if you need to output\n }\n */\n\n /* Default Advanced Settings */\n awsCloudWatchBatchSize: {\n defaultValue: '10000',\n },\n awsCloudWatchThrottleEnabled: {\n value: true, // We want to default to true on render, but never compare the default\n },\n awsCloudWatchAddFlowLogPrefix: {\n value: true, // We want to default to true on render, but never compare the default\n },\n};\n\nexport default DEFAULT_SETTINGS;\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 { SidebarProvider } from 'integrations/aws/context/Sidebar';\nimport { FormDataProvider } from 'integrations/aws/context/FormData';\nimport { StepsProvider } from 'integrations/aws/context/Steps';\nimport { ApiProvider } from 'integrations/aws/context/Api';\nimport { AdvancedOptionsProvider } from 'integrations/aws/context/AdvancedOptions';\nimport { toGenericInputCreateRequest } from 'integrations/aws/common/formDataAdapter';\n\nimport CloudWatch from './CloudWatch';\nimport INITIAL_FORMDATA from './_initialFormData';\n\nconst EmbeddedCloudWatchApp = ({ onSubmit }) => {\n const handleSubmit = (formData) => {\n if (!onSubmit) {\n return;\n }\n\n onSubmit(toGenericInputCreateRequest(formData));\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nEmbeddedCloudWatchApp.propTypes = {\n onSubmit: PropTypes.func,\n};\n\nEmbeddedCloudWatchApp.defaultProps = {\n onSubmit: undefined,\n};\n\nexport default EmbeddedCloudWatchApp;\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';\n\nimport PageHeader from 'components/common/PageHeader';\n\nimport EmbeddedCloudWatchApp from './EmbeddedCloudWatchApp';\n\nconst CloudWatchApp = () => (\n <>\n \n This feature retrieves log messages from various AWS sources.\n \n \n \n);\n\nCloudWatchApp.propTypes = {};\n\nexport default CloudWatchApp;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { ReadOnlyFormGroup } from 'components/common';\n\nconst PagerDutyNotificationDetails = ({ notification }) => (\n <>\n \n \n \n \n \n \n);\n\nPagerDutyNotificationDetails.propTypes = {\n notification: PropTypes.shape({\n config: PropTypes.shape({\n routing_key: PropTypes.string,\n custom_incident: PropTypes.bool,\n key_prefix: PropTypes.string,\n client_name: PropTypes.string,\n client_url: PropTypes.string,\n }).isRequired,\n }).isRequired,\n};\n\nexport default PagerDutyNotificationDetails;\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';\nimport get from 'lodash/get';\nimport cloneDeep from 'lodash/cloneDeep';\n\nimport { Input } from 'components/bootstrap';\nimport { getValueFromInput } from 'util/FormsUtils';\n\nclass PagerDutyNotificationForm extends React.Component {\n static propTypes = {\n config: PropTypes.shape({\n client_name: PropTypes.string,\n client_url: PropTypes.string,\n custom_incident: PropTypes.bool,\n key_prefix: PropTypes.string,\n routing_key: PropTypes.string,\n }).isRequired,\n validation: PropTypes.shape({\n failed: PropTypes.bool.isRequired,\n errors: PropTypes.shape({\n client_name: PropTypes.arrayOf(PropTypes.string),\n client_url: PropTypes.arrayOf(PropTypes.string),\n custom_incident: PropTypes.arrayOf(PropTypes.string),\n key_prefix: PropTypes.arrayOf(PropTypes.string),\n routing_key: PropTypes.arrayOf(PropTypes.string),\n }),\n error_context: PropTypes.object,\n }).isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n static defaultConfig = {\n client_name: 'Graylog',\n client_url: '',\n custom_incident: true,\n key_prefix: 'Graylog',\n routing_key: '',\n };\n\n propagateChange = (key, value) => {\n const { config, onChange } = this.props;\n const nextConfig = cloneDeep(config);\n nextConfig[key] = value;\n onChange(nextConfig);\n };\n\n handleChange = (event) => {\n const { name } = event.target;\n this.propagateChange(name, getValueFromInput(event.target));\n };\n\n render() {\n const { config, validation } = this.props;\n\n return (\n <>\n \n \n \n \n \n \n );\n }\n}\n\nexport default PagerDutyNotificationForm;\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 CommonNotificationSummary from 'components/event-notifications/event-notification-types/CommonNotificationSummary';\n\nfunction PagerDutyNotificationSummary({ notification, ...restProps }) {\n return (\n \n \n Routing Key\n {notification?.config?.routing_key}\n \n \n Use Custom Incident Key\n {notification?.config?.custom_incident ? 'Yes' : 'No'}\n \n \n Incident Key Prefix\n {notification?.config?.key_prefix}\n \n \n Client Name\n {notification?.config?.client_name}\n \n \n Client URL\n {notification?.config?.client_url}\n \n \n );\n}\n\nPagerDutyNotificationSummary.propTypes = {\n type: PropTypes.string.isRequired,\n notification: PropTypes.shape({\n config: PropTypes.shape({\n routing_key: PropTypes.string,\n custom_incident: PropTypes.bool,\n key_prefix: PropTypes.string,\n client_name: PropTypes.string,\n client_url: PropTypes.string,\n }).isRequired,\n }).isRequired,\n definitionNotification: PropTypes.shape.isRequired,\n};\n\nexport default PagerDutyNotificationSummary;\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 { ReadOnlyFormGroup } from 'components/common';\nimport { Well } from 'components/bootstrap';\nimport type { SlackNotificationSummaryType } from 'integrations/event-notifications/types';\n\nconst NewExampleWell = styled(Well)(({ theme }) => css`\n margin-bottom: 5px;\n font-family: ${theme.fonts.family.monospace};\n font-size: ${theme.fonts.size.body};\n white-space: pre-wrap;\n word-wrap: break-word;\n`);\n\nconst SlackNotificationDetails: React.FC = ({ notification }) => (\n <>\n \n \n \n {notification.config.custom_message || Empty body}\n \n )} />\n \n \n \n \n \n \n \n \n \n);\n\nexport default SlackNotificationDetails;\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 React from 'react';\nimport cloneDeep from 'lodash/cloneDeep';\nimport get from 'lodash/get';\nimport camelCase from 'lodash/camelCase';\n\nimport { Col, Input, Button, ControlLabel, FormControl, FormGroup, HelpBlock, InputGroup, Row } from 'components/bootstrap';\nimport { ColorPickerPopover, TimezoneSelect } from 'components/common';\nimport ColorLabel from 'components/sidecars/common/ColorLabel';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport { getValueFromInput } from 'util/FormsUtils';\nimport type { SlackConfigType, SlackValidationType } from 'integrations/event-notifications/types';\n\ntype Props = {\n config: SlackConfigType,\n validation: SlackValidationType,\n onChange: any,\n};\n\nclass SlackNotificationForm extends React.Component {\n static defaultConfig = {\n color: '#FF0000',\n webhook_url: '',\n channel: '#channel',\n /* eslint-disable no-template-curly-in-string */\n custom_message: ''\n + '--- [Event Definition] ---------------------------\\n'\n + 'Title: ${event_definition_title}\\n'\n + 'Type: ${event_definition_type}\\n'\n + '--- [Event] --------------------------------------\\n'\n + 'Alert Replay: ${http_external_uri}alerts/${event.id}/replay-search\\n'\n + 'Timestamp: ${event.timestamp}\\n'\n + 'Message: ${event.message}\\n'\n + 'Source: ${event.source}\\n'\n + 'Key: ${event.key}\\n'\n + 'Priority: ${event.priority}\\n'\n + 'Alert: ${event.alert}\\n'\n + 'Timestamp Processing: ${event.timestamp}\\n'\n + 'Timerange Start: ${event.timerange_start}\\n'\n + 'Timerange End: ${event.timerange_end}\\n'\n + 'Event Fields:\\n'\n + '${foreach event.fields field}\\n'\n + '${field.key}: ${field.value}\\n'\n + '${end}\\n'\n + '${if backlog}\\n'\n + '--- [Backlog] ------------------------------------\\n'\n + 'Last messages accounting for this alert:\\n'\n + '${foreach backlog message}\\n'\n + '${message.timestamp} :: ${message.source} :: ${message.message}\\n'\n + '${message.message}\\n'\n + '${end}'\n + '${end}\\n',\n /* eslint-enable no-template-curly-in-string */\n user_name: 'Graylog',\n notify_channel: false,\n link_names: false,\n icon_url: '',\n icon_emoji: '',\n backlog_size: 0,\n time_zone: 'UTC',\n };\n\n constructor(props) {\n super(props);\n\n const defaultBacklogSize = props.config.backlog_size;\n\n this.state = {\n isBacklogSizeEnabled: defaultBacklogSize > 0,\n backlogSize: defaultBacklogSize,\n };\n }\n\n handleBacklogSizeChange = (event) => {\n const { name } = event.target;\n const value = getValueFromInput(event.target);\n\n this.setState({ [camelCase(name)]: value });\n this.propagateChange(name, getValueFromInput(event.target));\n };\n\n toggleBacklogSize = () => {\n const { isBacklogSizeEnabled, backlogSize } = this.state;\n\n this.setState({ isBacklogSizeEnabled: !isBacklogSizeEnabled });\n this.propagateChange('backlog_size', (isBacklogSizeEnabled ? 0 : backlogSize));\n };\n\n propagateChange = (key, value) => {\n const { config, onChange } = this.props;\n const nextConfig = cloneDeep(config);\n nextConfig[key] = value;\n onChange(nextConfig);\n };\n\n handleColorChange = (color, _, hidePopover) => {\n hidePopover();\n this.propagateChange('color', color);\n };\n\n handleChange = (event) => {\n const { name } = event.target;\n this.propagateChange(name, getValueFromInput(event.target));\n };\n\n handleTimeZoneChange = (nextValue) => {\n this.propagateChange('time_zone', nextValue);\n };\n\n render() {\n const { config, validation } = this.props;\n const { isBacklogSizeEnabled, backlogSize } = this.state;\n const element =

    Custom message to be appended below the alert title. See for more details.

    ;\n\n return (\n <>\n\n \n Configuration color\n
    \n \n
    \n Change color}\n onChange={this.handleColorChange} />\n
    \n
    \n Choose a color to use for this configuration.\n
    \n \n \n \n \n \n \n \n Message Backlog Limit (optional)\n \n \n \n \n \n \n Limit the number of backlog messages sent as part of the Slack notification. If set to 0, no limit will be enforced.\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nexport default SlackNotificationForm;\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';\n\nimport CommonNotificationSummary from 'components/event-notifications/event-notification-types/CommonNotificationSummary';\nimport type { SlackNotificationSummaryType } from 'integrations/event-notifications/types';\n\nfunction SlackNotificationSummary({ notification, ...restProps }: SlackNotificationSummaryType) {\n return (\n \n \n Color\n {notification?.config?.color}\n \n \n Webhook URL\n {notification.config.webhook_url}\n \n \n Channel\n {notification.config.channel}\n \n \n Include Title\n {notification.config.include_title}\n \n \n Custom Message\n {notification.config.custom_message}\n \n \n Time Zone\n {notification.config.time_zone}\n \n \n Message Backlog Limit\n {notification.config.backlog_size}\n \n \n User Name\n {notification.config.user_name}\n \n \n Notify Channel\n {notification.config.notify_channel ? 'Yes' : 'No'}\n \n \n Link Names\n {notification.config.link_names ? 'Yes' : 'No'}\n \n \n Icon URL\n {notification.config.icon_url}\n \n \n Icon Emoji\n {notification.config.icon_emoji}\n \n \n );\n}\n\nSlackNotificationSummary.defaultProps = {\n notification: {},\n};\n\nexport default SlackNotificationSummary;\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 { ReadOnlyFormGroup } from 'components/common';\nimport { Well } from 'components/bootstrap';\n\nimport type { TeamsNotificationSummaryType } from '../types';\n\nconst NewExampleWell = styled(Well)(({ theme }) => css`\n margin-bottom: 5px;\n font-family: ${theme.fonts.family.monospace};\n font-size: ${theme.fonts.size.body};\n white-space: pre-wrap;\n word-wrap: break-word;\n`);\n\nconst TeamsNotificationDetails: React.FC = ({ notification }) => (\n <>\n \n \n {notification.config.custom_message || Empty body}\n \n )} />\n \n \n \n \n);\n\nexport default TeamsNotificationDetails;\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 cloneDeep from 'lodash/cloneDeep';\nimport get from 'lodash/get';\nimport camelCase from 'lodash/camelCase';\n\nimport { getValueFromInput } from 'util/FormsUtils';\nimport { Input, Button, ControlLabel, FormControl, FormGroup, HelpBlock, InputGroup } from 'components/bootstrap';\nimport { ColorPickerPopover, TimezoneSelect } from 'components/common';\nimport ColorLabel from 'components/sidecars/common/ColorLabel';\n\nimport type { ConfigType, ValidationType } from '../types';\n\ntype TeamsNotificationFormType = {\n config: ConfigType,\n validation: ValidationType\n onChange: any\n}\n\nclass TeamsNotificationForm extends React.Component {\n static defaultConfig = {\n color: '#FF0000',\n webhook_url: '',\n /* eslint-disable no-template-curly-in-string */\n custom_message: ''\n + '--- [Event Definition] ---\\n'\n + '\\n'\n + '\\n'\n + '\\n'\n + '
    Title:${event_definition_title}
    Type:${event_definition_type}
    \\n'\n + '\\n'\n + '--- [Event] ---\\n'\n + '
    \\n'\n + '\\n'\n + '\\n'\n + '\\n'\n + '\\n'\n + '\\n'\n + '\\n'\n + '\\n'\n + '\\n'\n + '\\n'\n + '\\n'\n + '
    Alert Replay:${http_external_uri}alerts/${event.id}/replay-search
    Timestamp:${event.timestamp}
    Message:${event.message}
    Source:${event.source}
    Key:${event.key}
    Priority:${event.priority}
    Alert:${event.alert}
    Timestamp Processing:${event.timestamp}
    Timerange Start:${event.timerange_start}
    Timerange End:${event.timerange_end}
    \\n'\n + '\\n'\n + 'Event Fields:\\n'\n + '
    \\n'\n + '${foreach event.fields field}\\n'\n + '\\n'\n + '${end}\\n'\n + '
    ${field.key}:${field.value}
    \\n'\n + '\\n'\n + '${if backlog}\\n'\n + '--- [Backlog] ---\\n'\n + '${foreach backlog message}\\n'\n + '

    ${message.timestamp} :: ${message.source} :: ${message.message}

    \\n'\n + '${end}${end}',\n /* eslint-enable no-template-curly-in-string */\n icon_url: '',\n backlog_size: 0,\n time_zone: 'UTC',\n };\n\n constructor(props: TeamsNotificationFormType | Readonly) {\n super(props);\n\n const defaultBacklogSize = props.config.backlog_size;\n\n this.state = {\n isBacklogSizeEnabled: defaultBacklogSize > 0,\n backlogSize: defaultBacklogSize,\n };\n }\n\n handleBacklogSizeChange = (event: { target: { name: string; }; }) => {\n const { name } = event.target;\n const value = getValueFromInput(event.target);\n\n this.setState({ [camelCase(name)]: value });\n this.propagateChange(name, getValueFromInput(event.target));\n };\n\n toggleBacklogSize = () => {\n const { isBacklogSizeEnabled, backlogSize } = this.state;\n\n this.setState({ isBacklogSizeEnabled: !isBacklogSizeEnabled });\n this.propagateChange('backlog_size', (isBacklogSizeEnabled ? 0 : backlogSize));\n };\n\n propagateChange = (key: string, value: any) => {\n const { config, onChange } = this.props;\n const nextConfig = cloneDeep(config);\n nextConfig[key] = value;\n onChange(nextConfig);\n };\n\n handleColorChange: (color: string, _: any, hidePopover: any) => void = (color, _, hidePopover) => {\n hidePopover();\n this.propagateChange('color', color);\n };\n\n handleTimeZoneChange = (nextValue) => {\n this.propagateChange('time_zone', nextValue);\n };\n\n handleChange = (event: { target: { name: any; }; }) => {\n const { name } = event.target;\n this.propagateChange(name, getValueFromInput(event.target));\n };\n\n render() {\n const { config, validation } = this.props;\n const { isBacklogSizeEnabled, backlogSize } = this.state;\n const url = 'https://docs.graylog.org/docs/alerts#notifications';\n const element =

    Custom message to be appended below the alert title. See docs for more details.

    ;\n\n return (\n <>\n\n \n Configuration color\n
    \n \n
    \n Change color}\n onChange={this.handleColorChange} />\n
    \n
    \n Choose a color to use for this configuration.\n
    \n \n \n\n \n \n \n \n Message Backlog Limit (optional)\n \n \n \n \n \n \n Limit the number of backlog messages sent as part of the Microsoft Teams notification. If set to 0, no limit will be enforced.\n \n\n \n\n \n );\n }\n}\n\nexport default TeamsNotificationForm;\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';\n\nimport CommonNotificationSummary from 'components/event-notifications/event-notification-types/CommonNotificationSummary';\n\nimport type { TeamsNotificationSummaryType } from '../types';\n\nfunction TeamsNotificationSummary({ notification, ...restProps }: TeamsNotificationSummaryType) {\n return (\n \n \n Color\n {notification?.config?.color}\n \n \n Webhook URL\n {notification.config.webhook_url}\n \n\n \n Custom Message\n {notification.config.custom_message}\n \n \n Time Zone\n {notification.config.time_zone}\n \n \n Message Backlog Limit\n {notification.config.backlog_size}\n \n \n Icon URL\n {notification.config.icon_url}\n \n \n );\n}\n\nTeamsNotificationSummary.defaultProps = {\n notification: {},\n};\n\nexport default TeamsNotificationSummary;\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, { useCallback, useEffect, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Button, Input } from 'components/bootstrap';\n\nconst GreyNoiseAdapterFieldSet = ({ config, updateConfig, validationMessage, validationState }) => {\n const isCreate = useRef(!config.api_token?.is_set);\n const [showResetPasswordButton, setShowResetPasswordButton] = useState(config.api_token?.is_set === true);\n\n const setUserPassword = useCallback((nextUserPassword) => {\n updateConfig({ ...config, api_token: nextUserPassword });\n }, [updateConfig, config]);\n\n useEffect(() => {\n // Set a default value on `api_token` that the server can deserialize\n if (config.api_token?.is_set !== undefined) {\n // Keeping value is only helpful when editing, but since setting '' as value throws an error during\n // validation, this at least avoids users seeing validation errors constantly.\n setUserPassword({ keep_value: true });\n }\n }, [setUserPassword, config.api_token]);\n\n const handleUserPasswordChange = ({ target }) => {\n const typedPassword = target.value;\n let nextPassword = { set_value: typedPassword };\n\n if (typedPassword === '') {\n nextPassword = { delete_value: true };\n }\n\n setUserPassword(nextPassword);\n };\n\n const toggleUserPasswordReset = () => {\n if (showResetPasswordButton) {\n setUserPassword({ delete_value: true });\n setShowResetPasswordButton(false);\n\n return;\n }\n\n setUserPassword({ keep_value: true });\n setShowResetPasswordButton(true);\n };\n\n return (\n
    \n {showResetPasswordButton ? (\n \n \n \n ) : (\n \n Undo Reset\n \n ) : undefined}\n onChange={handleUserPasswordChange}\n help={validationMessage('api_token', 'The API Token.')}\n bsStyle={validationState('api_token')}\n value={config.api_token?.set_value || ''}\n labelClassName=\"col-sm-3\"\n wrapperClassName=\"col-sm-9\"\n required />\n )}\n
    \n );\n};\n\nGreyNoiseAdapterFieldSet.propTypes = {\n config: PropTypes.shape({\n api_token: PropTypes.object.isRequired,\n }).isRequired,\n updateConfig: PropTypes.func.isRequired,\n handleFormEvent: PropTypes.func.isRequired,\n validationState: PropTypes.func.isRequired,\n validationMessage: PropTypes.func.isRequired,\n};\n\nexport default GreyNoiseAdapterFieldSet;\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 React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Alert } from 'components/bootstrap';\n\nclass GreyNoiseAdapterSummary extends React.Component {\n static propTypes = {\n dataAdapter: PropTypes.shape({\n config: PropTypes.shape({\n }).isRequired,\n updateConfig: PropTypes.func.isRequired,\n handleFormEvent: PropTypes.func.isRequired,\n validationState: PropTypes.func.isRequired,\n validationMessage: PropTypes.func.isRequired,\n }),\n };\n\n render() {\n return (\n
    \n
    \n
    API Token
    \n
    ******
    \n
    \n \n

    The GreyNoise Community IP Lookup Data Adapter is no longer supported. This Data Adapter should not be used.

    \n
    \n
    \n );\n }\n}\n\nexport default GreyNoiseAdapterSummary;\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 React from 'react';\n\nimport { ExternalLink } from 'components/common';\n\nclass GreyNoiseAdapterDocumentation extends React.Component {\n render() {\n const style = { marginBottom: 10 };\n\n return (\n
    \n

    \n The GreyNoise Quick IP Lookup data adapter uses the Greynoise API to\n lookup indicators for the given key and returns the values for the IP Quick Context endpoint.\n See IP Quick Context\n

    \n
    \n );\n }\n}\n\nexport default GreyNoiseAdapterDocumentation;\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 React from 'react';\n\nimport { Alert } from 'components/bootstrap';\n\nclass GreyNoiseCommunityIpLookupAdapterDocumentation extends React.Component {\n render() {\n return (\n
    \n \n

    The GreyNoise Community IP Lookup Data Adapter is no longer supported. This Data Adapter should not be used.

    \n
    \n
    \n );\n }\n}\n\nexport default GreyNoiseCommunityIpLookupAdapterDocumentation;\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 { SyntheticEvent } from 'react';\nimport React from 'react';\nimport cloneDeep from 'lodash/cloneDeep';\nimport get from 'lodash/get';\nimport camelCase from 'lodash/camelCase';\n\nimport { getValueFromInput } from 'util/FormsUtils';\nimport { Input, ControlLabel, FormControl, FormGroup, HelpBlock, InputGroup } from 'components/bootstrap';\nimport { TimezoneSelect, URLWhiteListInput, SourceCodeEditor } from 'components/common';\n\nimport type { ValidationType, ConfigV2Type } from '../types';\n\ntype TeamsNotificationFormV2Type = {\n config: ConfigV2Type,\n validation: ValidationType\n onChange: any\n}\n\nclass TeamsNotificationV2Form extends React.Component {\n static defaultConfig = {\n webhook_url: '',\n /* eslint-disable no-template-curly-in-string */\n adaptive_card: '{\\n'\n + ' \"type\": \"message\",\\n'\n + ' \"attachments\": [\\n'\n + ' {\\n'\n + ' \"contentType\": \"application/vnd.microsoft.card.adaptive\",\\n'\n + ' \"content\": {\\n'\n + ' \"type\": \"AdaptiveCard\",\\n'\n + ' \"version\": \"1.6\",\\n'\n + ' \"msTeams\": { \"width\": \"full\" },\\n'\n + ' \"body\": [\\n'\n + ' {\\n'\n + ' \"type\": \"TextBlock\",\\n'\n + ' \"size\": \"Large\",\\n'\n + ' \"weight\": \"Bolder\",\\n'\n + ' \"text\": \"${event_definition_title} triggered\",\\n'\n + ' \"style\": \"heading\",\\n'\n + ' \"fontType\": \"Default\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"type\": \"TextBlock\",\\n'\n + ' \"text\": \"${event_definition_description}\",\\n'\n + ' \"wrap\": true\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"type\": \"TextBlock\",\\n'\n + ' \"text\": \"Event Details\",\\n'\n + ' \"wrap\": true\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"type\": \"FactSet\",\\n'\n + ' \"facts\": [\\n'\n + ' {\\n'\n + ' \"title\": \"Type\",\\n'\n + ' \"value\": \"${event_definition_type}\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"title\": \"Timestamp\",\\n'\n + ' \"value\": \"${event.timestamp_processing}\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"title\": \"Message\",\\n'\n + ' \"value\": \"${event.message}\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"title\": \"Source\",\\n'\n + ' \"value\": \"${event.source}\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"title\": \"Key\",\\n'\n + ' \"value\": \"${event.key}\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"title\": \"Priority\",\\n'\n + ' \"value\": \"${event.priority}\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"title\": \"Alert\",\\n'\n + ' \"value\": \"${event.alert}\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"title\": \"Timerange Start\",\\n'\n + ' \"value\": \"${event.timerange_start}\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"title\": \"Timerange End\",\\n'\n + ' \"value\": \"${event.timerange_end}\"\\n'\n + ' }\\n'\n + ' ]\\n'\n + ' }${if event.fields},\\n'\n + ' {\\n'\n + ' \"type\": \"TextBlock\",\\n'\n + ' \"text\": \"Event Fields\",\\n'\n + ' \"weight\": \"bolder\",\\n'\n + ' \"size\": \"medium\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"type\": \"FactSet\",\\n'\n + ' \"facts\": [${foreach event.fields field}\\n'\n + ' { \"title\": \"${field.key}\", \"value\": \"${field.value}\" }${if last_field}${else},${end}${end}\\n'\n + ' ]\\n'\n + ' }${end}${if backlog},\\n'\n + ' {\\n'\n + ' \"type\": \"TextBlock\",\\n'\n + ' \"text\": \"Backlog\",\\n'\n + ' \"weight\": \"bolder\",\\n'\n + ' \"size\": \"medium\"\\n'\n + ' },\\n'\n + ' {\\n'\n + ' \"type\": \"FactSet\",\\n'\n + ' \"facts\": [${foreach backlog message}\\n'\n + ' { \"title\": \"Message\", \"value\": \"${message.message}\" }${if last_message}${else},${end}${end}\\n'\n + ' ]\\n'\n + ' }${end}\\n'\n + ' ],\\n'\n + ' \"actions\": [{\\n'\n + ' \"type\": \"Action.OpenUrl\",\\n'\n + ' \"title\": \"Replay Search\",\\n'\n + ' \"url\": \"${http_external_uri}alerts/${event.id}/replay-search\"\\n'\n + ' }],\\n'\n + ' \"$schema\": \"http://adaptivecards.io/schemas/adaptive-card.json\",\\n'\n + ' \"rtl\": false\\n'\n + ' }\\n'\n + ' }\\n'\n + ' ]\\n'\n + '}',\n /* eslint-enable no-template-curly-in-string */\n backlog_size: 0,\n time_zone: 'UTC',\n };\n\n constructor(props: TeamsNotificationFormV2Type | Readonly) {\n super(props);\n\n const defaultBacklogSize = props.config.backlog_size;\n\n this.state = {\n isBacklogSizeEnabled: defaultBacklogSize > 0,\n backlogSize: defaultBacklogSize,\n };\n }\n\n handleBacklogSizeChange = (event: { target: { name: string; }; }) => {\n const { name } = event.target;\n const value = getValueFromInput(event.target);\n\n this.setState({ [camelCase(name)]: value });\n this.propagateChange(name, getValueFromInput(event.target));\n };\n\n toggleBacklogSize = () => {\n const { isBacklogSizeEnabled, backlogSize } = this.state;\n\n this.setState({ isBacklogSizeEnabled: !isBacklogSizeEnabled });\n this.propagateChange('backlog_size', (isBacklogSizeEnabled ? 0 : backlogSize));\n };\n\n propagateChange = (key: string, value: any) => {\n const { config, onChange } = this.props;\n const nextConfig = cloneDeep(config);\n nextConfig[key] = value;\n onChange(nextConfig);\n };\n\n handleTimeZoneChange = (nextValue) => {\n this.propagateChange('time_zone', nextValue);\n };\n\n handleWebhookUrlChange = (event: SyntheticEvent) => {\n this.propagateChange('webhook_url', getValueFromInput(event.target));\n };\n\n handleAdaptiveCardChange = (nextValue: string) => {\n this.propagateChange('adaptive_card', nextValue);\n };\n\n render() {\n const { config, validation } = this.props;\n const { isBacklogSizeEnabled, backlogSize } = this.state;\n const url = 'https://docs.graylog.org/docs/alerts#notifications';\n const element =

    Adaptive Card to post to Teams. See docs for more details.

    ;\n\n return (\n <>\n \n \n Adaptive Card Template\n \n \n {get(validation, 'errors.adaptive_card[0]', element)}\n \n \n \n \n \n \n Message Backlog Limit (optional)\n \n \n \n \n \n \n Limit the number of backlog messages sent as part of the Microsoft Teams notification. If set to 0, no limit will be enforced.\n \n \n );\n }\n}\n\nexport default TeamsNotificationV2Form;\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';\n\nimport CommonNotificationSummary from 'components/event-notifications/event-notification-types/CommonNotificationSummary';\n\nimport type { TeamsNotificationSummaryV2Type } from '../types';\n\nfunction TeamsNotificationSummary({ notification, ...restProps }: TeamsNotificationSummaryV2Type) {\n return (\n \n \n Webhook URL\n {notification.config.webhook_url}\n \n\n \n Adaptive Card Template\n {notification.config.adaptive_card}\n \n \n Time Zone\n {notification.config.time_zone}\n \n \n Message Backlog Limit\n {notification.config.backlog_size}\n \n \n );\n}\n\nTeamsNotificationSummary.defaultProps = {\n notification: {},\n};\n\nexport default TeamsNotificationSummary;\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 { ReadOnlyFormGroup } from 'components/common';\nimport { Well } from 'components/bootstrap';\n\nimport type { TeamsNotificationSummaryV2Type } from '../types';\n\nconst NewExampleWell = styled(Well)(({ theme }) => css`\n margin-bottom: 5px;\n font-family: ${theme.fonts.family.monospace};\n font-size: ${theme.fonts.size.body};\n white-space: pre-wrap;\n word-wrap: break-word;\n`);\n\nconst TeamsNotificationDetails: React.FC = ({ notification }) => (\n <>\n \n \n {notification.config.adaptive_card}\n \n )} />\n \n \n \n);\n\nexport default TeamsNotificationDetails;\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 Routes from 'integrations/aws/common/Routes';\n\nimport AWSInputConfiguration from './aws/AWSInputConfiguration';\nimport AWSCloudWatchApp from './aws/cloudwatch/CloudWatchApp';\nimport EmbeddedCloudWatchApp from './aws/cloudwatch/EmbeddedCloudWatchApp';\nimport PagerDutyNotificationDetails from './pager-duty/PagerDutyNotificationDetails';\nimport PagerDutyNotificationForm from './pager-duty/PagerDutyNotificationForm';\nimport PagerDutyNotificationSummary from './pager-duty/PagerDutyNotificationSummary';\nimport SlackNotificationDetails from './event-notifications/event-notification-details/SlackNotificationDetails';\nimport SlackNotificationForm from './event-notifications/event-notification-types/SlackNotificationForm';\nimport SlackNotificationSummary from './event-notifications/event-notification-types/SlackNotificationSummary';\nimport TeamsNotificationDetails from './event-notifications/event-notification-details/TeamsNotificationDetails';\nimport TeamsNotificationForm from './event-notifications/event-notification-types/TeamsNotificationForm';\nimport TeamsNotificationSummary from './event-notifications/event-notification-types/TeamsNotificationSummary';\nimport GreyNoiseAdapterFieldSet from './dataadapters/GreyNoiseAdapterFieldSet';\nimport GreyNoiseAdapterSummary from './dataadapters/GreyNoiseAdapterSummary';\nimport GreyNoiseAdapterDocumentation from './dataadapters/GreyNoiseAdapterDocumentation';\nimport GreyNoiseCommunityIpLookupAdapterDocumentation\n from './dataadapters/GreyNoiseCommunityIpLookupAdapterDocumentation';\nimport TeamsNotificationV2Form from './event-notifications/event-notification-types/TeamsNotificationV2Form';\nimport TeamsNotificationV2Summary from './event-notifications/event-notification-types/TeamsNotificationV2Summary';\nimport TeamsNotificationV2Details from './event-notifications/event-notification-details/TeamsNotificationV2Details';\n\nconst bindings = {\n routes: [\n { path: Routes.INTEGRATIONS.AWS.CLOUDWATCH.index, component: AWSCloudWatchApp },\n ],\n inputConfiguration: [\n {\n type: 'org.graylog.integrations.aws.inputs.AWSInput',\n component: AWSInputConfiguration,\n embeddedComponent: EmbeddedCloudWatchApp,\n },\n ],\n eventNotificationTypes: [\n {\n type: 'pagerduty-notification-v2',\n displayName: 'PagerDuty Notification [Official]',\n formComponent: PagerDutyNotificationForm,\n summaryComponent: PagerDutyNotificationSummary,\n detailsComponent: PagerDutyNotificationDetails,\n defaultConfig: PagerDutyNotificationForm.defaultConfig,\n },\n {\n type: 'slack-notification-v1',\n displayName: 'Slack Notification',\n formComponent: SlackNotificationForm,\n summaryComponent: SlackNotificationSummary,\n detailsComponent: SlackNotificationDetails,\n defaultConfig: SlackNotificationForm.defaultConfig,\n },\n {\n type: 'teams-notification-v1',\n displayName: 'Microsoft Teams Notification (Deprecated - use V2)',\n formComponent: TeamsNotificationForm,\n summaryComponent: TeamsNotificationSummary,\n detailsComponent: TeamsNotificationDetails,\n defaultConfig: TeamsNotificationForm.defaultConfig,\n },\n {\n type: 'teams-notification-v2',\n displayName: 'Microsoft Teams Notification V2',\n formComponent: TeamsNotificationV2Form,\n summaryComponent: TeamsNotificationV2Summary,\n detailsComponent: TeamsNotificationV2Details,\n defaultConfig: TeamsNotificationV2Form.defaultConfig,\n },\n ],\n lookupTableAdapters: [\n {\n type: 'GreyNoise',\n displayName: 'GreyNoise Quick IP Lookup',\n formComponent: GreyNoiseAdapterFieldSet,\n summaryComponent: GreyNoiseAdapterSummary,\n documentationComponent: GreyNoiseAdapterDocumentation,\n },\n {\n type: 'GreyNoise Community IP Lookup',\n displayName: '[Deprecated] GreyNoise Community IP Lookup',\n formComponent: GreyNoiseAdapterFieldSet,\n summaryComponent: GreyNoiseAdapterSummary,\n documentationComponent: GreyNoiseCommunityIpLookupAdapterDocumentation,\n },\n ],\n};\n\nexport default bindings;\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 posthog from 'posthog-js';\nimport { PostHogProvider } from 'posthog-js/react';\nimport { useEffect } from 'react';\n\nimport { useStore } from 'stores/connect';\nimport { TelemetrySettingsStore, TelemetrySettingsActions } from 'stores/telemetry/TelemetrySettingsStore';\nimport AppConfig from 'util/AppConfig';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\n\ntype PostHogSettings = {\n host: string;\n key: string;\n}\n\nconst getPostHogSettings = (): PostHogSettings => {\n const { host, api_key: key } = AppConfig.telemetry() || {};\n\n return {\n host: host,\n key: key,\n };\n};\n\nconst init = (key: string, host: string) => {\n posthog.init(\n key,\n {\n autocapture: false,\n api_host: host,\n capture_pageview: false,\n capture_pageleave: false,\n },\n );\n\n return posthog;\n};\n\nconst TelemetryInit = ({ children }: { children: React.ReactElement }) => {\n const settings = useStore(TelemetrySettingsStore, (state) => state.telemetrySetting);\n const { host, key } = getPostHogSettings();\n const { currentUser } = useStore(CurrentUserStore);\n\n useEffect(() => {\n if (currentUser) {\n TelemetrySettingsActions.get();\n }\n }, [currentUser]);\n\n if ((!settings?.telemetry_enabled) || !host || !key) {\n return children;\n }\n\n return (\n \n {children}\n \n );\n};\n\nexport default TelemetryInit;\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 } from 'react';\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\n\ntype Props = {\n children: React.ReactNode,\n};\n\nconst options = {\n defaultOptions: {\n queries: {\n refetchOnWindowFocus: false,\n networkMode: 'always' as const,\n },\n },\n};\n\n/*\n * Use a separate client provider from the default one to be able to clear cached data once the user\n * logs out. Login page is also created by another component than the regular app.\n */\n\nconst LoginQueryClientProvider = ({ children }: Props) => {\n const queryClient = useMemo(() => new QueryClient(options), []);\n\n return (\n \n {children}\n \n );\n};\n\nexport default LoginQueryClientProvider;\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// We need to set the app prefix before doing anything else, so it applies to styles too.\nimport 'webpack-entry';\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport Reflux from 'reflux';\nimport { PluginManifest, PluginStore } from 'graylog-web-plugin/plugin';\n\nimport AppFacade from 'routing/AppFacade';\nimport GraylogThemeProvider from 'theme/GraylogThemeProvider';\nimport CustomizationProvider from 'contexts/CustomizationProvider';\nimport ViewsBindings from 'views/bindings';\nimport ThreatIntelBindings from 'threatintel/bindings';\nimport AwsBindings from 'aws/bindings';\nimport IntegrationsBindings from 'integrations/bindings';\nimport GlobalThemeStyles from 'theme/GlobalThemeStyles';\nimport CancellablePromise from 'logic/rest/CancellablePromise';\nimport TelemetryInit from 'logic/telemetry/TelemetryInit';\nimport LoginQueryClientProvider from 'contexts/LoginQueryClientProvider';\n\nReflux.setPromiseFactory((handlers) => CancellablePromise.of(new Promise(handlers)));\n\nPluginStore.register(new PluginManifest({}, ViewsBindings));\nPluginStore.register(new PluginManifest({}, ThreatIntelBindings));\nPluginStore.register(new PluginManifest({}, AwsBindings));\nPluginStore.register(new PluginManifest({}, IntegrationsBindings));\n\nfunction renderAppContainer(appContainer) {\n ReactDOM.render(\n \n \n \n \n \n \n \n \n \n ,\n appContainer,\n );\n}\n\nconst appContainer = document.querySelector('div#app-root');\nrenderAppContainer(appContainer);\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/*\n * Default (string) comparison function used for sorting lists/arrays.\n *\n * This module should be used whenever a consistent, high-performance comparison function for sorting is required. It is\n * especially useful when used instead of `naturalSort` to avoid its excessive usage of regular expressions, but with the\n * `{ numeric: true }` option, a subset (and probably the most desired one) of its functionality can be replaced while\n * being magnitudes faster.\n *\n * The `compare` function returns the comparison function, so it needs to be called before its result is passed to e.g.\n * `sort()`. This is because it instantiates a `Intl.Collator` instance, which is reused in subsequent calls.\n * If only the default options (non-numeric, case-insensitive) are required, `defaultCompare` can be used which does not\n * require to be called before and is therefore a drop-in replacement for `naturalSort`.\n */\n\n/*\n * This generator function can be used to instantiate a comparison method with non-standard options. The usable options\n * are listed here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Collator -> Syntax\n * -> Parameters -> options\n *\n * The `undefined` parameter when instantiating triggers using the runtime's default locales (i.e. the locales supplied\n * by the browser).\n */\n\nexport const compare = (options: any = {}) => new Intl.Collator(undefined, options).compare;\n\n/*\n * This is the default comparison function. It compares non-numerically and case-insensitive. It can be used as a drop-in\n * replacement for `naturalSort` and is shared across its consumers. If the default options do not match, `compare` must\n * be used instead.\n */\nexport const defaultCompare: (one: any, two: any) => number = compare();\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 serialize = (o: any) => JSON.stringify(o, null, 2);\n\nconst assertUnreachable = (ignored: never, message: string): never => {\n throw new Error(`${message}: ${serialize(ignored)}`);\n};\n\nexport default assertUnreachable;\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 type { $PropertyType } from 'utility-types';\n\nimport type FetchError from 'logic/errors/FetchError';\n\nexport const ReactErrorType = 'ReactError';\nexport const NotFoundErrorType = 'NotFoundError';\nexport const UnauthorizedErrorType = 'UnauthorizedError';\nexport const StreamPermissionErrorType = 'StreamPermissionError';\n\ntype ReactError = {\n error: Error,\n info: { componentStack: string },\n type: 'ReactError',\n};\ntype NotFoundError = {\n error: FetchError,\n type: 'NotFoundError',\n};\ntype UnauthorizedError = {\n error: FetchError,\n type: 'UnauthorizedError',\n};\ntype StreamPermissionError = {\n error: FetchError,\n type: 'StreamPermissionError',\n};\n\nexport type ReportedError = ReactError | NotFoundError | UnauthorizedError | StreamPermissionError;\n\nexport const createReactError = (error: $PropertyType, info: $PropertyType): ReactError => ({\n error,\n info,\n type: ReactErrorType,\n});\nexport const createNotFoundError = (error: $PropertyType): NotFoundError => ({\n error,\n type: NotFoundErrorType,\n});\nexport const createUnauthorizedError = (error: $PropertyType): UnauthorizedError => ({\n error,\n type: UnauthorizedErrorType,\n});\nexport const createStreamPermissionError = (error: $PropertyType): StreamPermissionError => ({\n error,\n type: StreamPermissionErrorType,\n});\n\nexport const createFromFetchError = (error: FetchError) => {\n switch (error.status) {\n case 403:\n return error?.additional?.body?.type === 'MissingStreamPermission' ? createStreamPermissionError(error) : createUnauthorizedError(error);\n case 404:\n return createNotFoundError(error);\n default:\n throw Error(`Provided FetchError is not a valid ReportedError because status code ${error.status} is not supported`);\n }\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 { v4 as uuid } from 'uuid';\n\nconst generateId = () => uuid();\n\nexport default generateId;\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\nconst Store = {\n set(key, value, storage = window.localStorage) {\n storage.setItem(key, JSON.stringify(value));\n },\n\n get(key, storage = window.localStorage) {\n const value = storage.getItem(key);\n\n if (value === undefined || value === null) {\n return undefined;\n }\n\n try {\n return JSON.parse(value);\n } catch (e) {\n return value;\n }\n },\n\n delete(key, storage = window.localStorage) {\n storage.removeItem(key);\n },\n\n sessionSet(key, value) {\n return Store.set(key, value, window.sessionStorage);\n },\n\n sessionGet(key) {\n return Store.get(key, window.sessionStorage);\n },\n\n sessionDelete(key) {\n return Store.delete(key, window.sessionStorage);\n },\n};\n\nexport default Store;\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 isFilteredField from 'views/logic/IsFilteredField';\n\nconst MessageFieldsFilter = {\n filterFields(fields: T) {\n const result = {};\n\n Object.keys(fields).forEach((field) => {\n if (!isFilteredField(field)) {\n result[field] = fields[field];\n }\n });\n\n return result as T;\n },\n};\n\nexport default MessageFieldsFilter;\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 { GRN, GRNType } from 'logic/permissions/types';\n\nconst _convertEmptyString = (value: string) => (value === '' ? undefined : value);\n\nexport const createGRN = (type: string, id: string) => `grn::::${type}:${id}`;\n\nexport const getValuesFromGRN = (grn: GRN) => {\n const grnValues = grn.split(':');\n const [resourceNameType, cluster, tenant, scope, type, id] = grnValues.map(_convertEmptyString);\n\n return { resourceNameType, cluster, tenant, scope, type: type as GRNType, id };\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 * as Immutable from 'immutable';\nimport type { $PropertyType } from 'utility-types';\n\nimport type { GranteeType } from 'logic/permissions/types';\n\nimport type { GranteeInterface } from './GranteeInterface';\n\ntype InternalState = GranteeType;\n\nexport default class Grantee implements GranteeInterface {\n _value: InternalState;\n\n constructor(\n id: $PropertyType,\n title: $PropertyType,\n type: $PropertyType,\n ) {\n this._value = { id, title, type };\n }\n\n get id(): $PropertyType {\n return this._value.id;\n }\n\n get title(): $PropertyType {\n return this._value.title;\n }\n\n get type(): $PropertyType {\n return this._value.type;\n }\n\n toBuilder(): Builder {\n const { id, title, type } = this._value;\n\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder(Immutable.Map({ id, title, type }));\n }\n\n toJSON() {\n const { id, title, type } = this._value;\n\n return { id, title, type };\n }\n\n static fromJSON(value: GranteeType): Grantee {\n const { id, title, type } = value;\n\n return Grantee\n .builder()\n .id(id)\n .title(title)\n .type(type)\n .build();\n }\n\n static builder(): Builder {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder();\n }\n}\n\ntype InternalBuilderState = Immutable.Map;\n\nclass Builder {\n value: InternalBuilderState;\n\n constructor(value: InternalBuilderState = Immutable.Map()) {\n this.value = value;\n }\n\n id(value: $PropertyType): Builder {\n return new Builder(this.value.set('id', value));\n }\n\n title(value: $PropertyType): Builder {\n return new Builder(this.value.set('title', value));\n }\n\n type(value: $PropertyType): Builder {\n return new Builder(this.value.set('type', value));\n }\n\n build(): Grantee {\n const { id, title, type } = this.value.toObject();\n\n return new Grantee(id, title, type);\n }\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 * as Immutable from 'immutable';\nimport type { $PropertyType } from 'utility-types';\n\nimport type { SharedEntityType } from 'logic/permissions/types';\n\nimport Grantee from './Grantee';\n\ntype InternalState = {\n id: $PropertyType,\n owners: Immutable.List,\n title: $PropertyType,\n type: $PropertyType,\n};\n\nexport default class SharedEntity {\n _value: InternalState;\n\n constructor(\n id: $PropertyType,\n owners: $PropertyType,\n title: $PropertyType,\n type: $PropertyType,\n ) {\n this._value = { id, owners, title, type };\n }\n\n get id(): $PropertyType {\n return this._value.id;\n }\n\n get owners(): $PropertyType {\n return this._value.owners;\n }\n\n get title(): $PropertyType {\n return this._value.title;\n }\n\n get type(): $PropertyType {\n return this._value.type;\n }\n\n toBuilder(): Builder {\n const { id, owners, title } = this._value;\n\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder(Immutable.Map({ id, owners, title }));\n }\n\n toJSON() {\n const { id, owners, title, type } = this._value;\n\n return { id, owners, title, type };\n }\n\n static fromJSON(value: SharedEntityType): SharedEntity {\n const { id, owners, title, type } = value;\n const formattedOwners = Immutable.fromJS(owners.map((o) => Grantee.fromJSON(o)));\n\n return SharedEntity\n .builder()\n .id(id)\n .owners(formattedOwners)\n .title(title)\n .type(type)\n .build();\n }\n\n static builder(): Builder {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder();\n }\n}\n\ntype InternalBuilderState = Immutable.Map;\n\nclass Builder {\n value: InternalBuilderState;\n\n constructor(value: InternalBuilderState = Immutable.Map()) {\n this.value = value;\n }\n\n id(value: $PropertyType): Builder {\n return new Builder(this.value.set('id', value));\n }\n\n owners(value: $PropertyType): Builder {\n return new Builder(this.value.set('owners', value));\n }\n\n title(value: $PropertyType): Builder {\n return new Builder(this.value.set('title', value));\n }\n\n type(value: $PropertyType): Builder {\n return new Builder(this.value.set('type', value));\n }\n\n build(): SharedEntity {\n const { id, owners, title, type } = this.value.toObject();\n\n return new SharedEntity(id, owners, title, type);\n }\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 */\nclass CancellablePromise implements Promise {\n private _isCanceled: boolean;\n\n private _promise: Promise;\n\n private constructor(promise: Promise, isCancelled = false) {\n this._promise = promise;\n this._isCanceled = isCancelled;\n }\n\n [Symbol.toStringTag]: string;\n\n then(onfulfilled?: (value: T) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike) {\n return new CancellablePromise(this._promise.then(onfulfilled, onrejected), this._isCanceled);\n }\n\n catch(onrejected?: (reason: any) => TResult | PromiseLike) {\n return new CancellablePromise(this._promise.catch(onrejected), this._isCanceled);\n }\n\n finally(onfinally?: () => void) {\n return new CancellablePromise(this._promise.finally(onfinally), this._isCanceled);\n }\n\n static of(promise: Promise) {\n return new CancellablePromise(promise);\n }\n\n public cancel() {\n this._isCanceled = true;\n\n return this;\n }\n\n public isCancelled() {\n return this._isCanceled;\n }\n}\n\nexport default CancellablePromise;\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 isString from 'lodash/isString';\n\ntype Res = {\n text?: string;\n}\n\ntype Additional = {\n status: number;\n body?: any;\n res?: Res;\n}\n\nexport default class FetchError extends Error {\n name: 'FetchError';\n\n responseMessage: string;\n\n additional: Additional;\n\n status: Additional['status'];\n\n constructor(message: string, status: number, additional: any) {\n super(message);\n this.name = 'FetchError';\n\n const details = isString(additional) ? additional : (additional?.message ?? 'Not available');\n this.message = `There was an error fetching a resource: ${message}. Additional information: ${details}`;\n\n this.responseMessage = additional?.message ?? undefined;\n\n this.additional = { body: additional, status, res: { text: isString(additional) && additional } };\n this.status = status; // Shortcut, as this is often used\n }\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 memoize from 'lodash/memoize';\n\nimport FetchError from 'logic/errors/FetchError';\nimport ErrorsActions from 'actions/errors/ErrorsActions';\nimport { createFromFetchError } from 'logic/errors/ReportedErrors';\nimport CancellablePromise from 'logic/rest/CancellablePromise';\nimport { ServerAvailabilityActions } from 'stores/sessions/ServerAvailabilityStore';\n\n// eslint-disable-next-line global-require\nconst importSessionStore = memoize(() => require('stores/sessions/SessionStore'));\n\nconst reportServerSuccess = () => {\n ServerAvailabilityActions.reportSuccess();\n};\n\nconst defaultOnUnauthorizedError = (error: FetchError) => ErrorsActions.report(createFromFetchError(error));\n\nconst emptyToUndefined = (s: any) => (s && s !== '' ? s : undefined);\n\nconst onServerError = async (error: Response | undefined, onUnauthorized = defaultOnUnauthorizedError) => {\n const contentType = error.headers?.get('Content-Type');\n const response = await (contentType?.startsWith('application/json') ? error.json().then((body) => body) : error?.text?.());\n const { SessionStore, SessionActions } = importSessionStore();\n const fetchError = new FetchError(error.statusText, error.status, emptyToUndefined(response));\n\n if (SessionStore.isLoggedIn() && error.status === 401) {\n SessionActions.logout();\n }\n\n // Redirect to the start page if a user is logged in but not allowed to access a certain HTTP API.\n if (SessionStore.isLoggedIn() && error.status === 403) {\n onUnauthorized(fetchError);\n }\n\n if (error && !error.status) {\n ServerAvailabilityActions.reportError(fetchError);\n }\n\n throw fetchError;\n};\n\nconst maybeStringify = (body: any) => (body && typeof body !== 'string' ? JSON.stringify(body) : body);\n\ntype RequestHeaders = {\n Accept?: string,\n 'Content-Type'?: string,\n};\n\nconst defaultResponseHandler = (resp: Response) => {\n if (resp.ok) {\n const { status } = resp;\n const contentLength = Number.parseInt(resp.headers.get('Content-Length'), 10);\n const noContent = status === 204 || contentLength === 0;\n\n reportServerSuccess();\n\n return noContent ? null : resp.json();\n }\n\n throw resp;\n};\n\nconst textResponseHandler = (resp: Response) => {\n if (resp.ok) {\n reportServerSuccess();\n\n return resp.text();\n }\n\n throw resp;\n};\n\nexport class Builder {\n private options = {};\n\n private readonly url: string;\n\n private readonly method: string;\n\n private body: { body: any, mimeType?: string };\n\n private accept: string;\n\n private responseHandler: (response: unknown) => unknown;\n\n private errorHandler: (error: unknown) => unknown;\n\n constructor(method: Method, url: string) {\n this.method = method;\n this.url = url.replace(/([^:])\\/\\//, '$1/');\n\n this.options = {\n 'X-Requested-With': 'XMLHttpRequest',\n 'X-Requested-By': 'XMLHttpRequest',\n };\n\n this.responseHandler = (response) => response;\n this.errorHandler = undefined;\n }\n\n setHeader(header, value) {\n this.options = {\n ...this.options,\n [header]: value,\n };\n\n return this;\n }\n\n json(body?: any) {\n this.body = { body: maybeStringify(body), mimeType: 'application/json' };\n this.accept = 'application/json';\n\n this.responseHandler = defaultResponseHandler;\n\n this.errorHandler = (error: Response) => onServerError(error);\n\n return this;\n }\n\n formData(body, acceptedMimeType = 'application/json') {\n this.body = { body };\n\n this.accept = acceptedMimeType;\n\n this.responseHandler = defaultResponseHandler;\n this.errorHandler = (error: Response) => onServerError(error);\n\n return this;\n }\n\n file(body, mimeType) {\n this.body = { body: maybeStringify(body), mimeType: 'application/json' };\n this.accept = mimeType;\n\n this.responseHandler = (resp: { ok: boolean, text: () => string }) => {\n if (resp.ok) {\n reportServerSuccess();\n\n return resp.text();\n }\n\n throw resp;\n };\n\n this.errorHandler = (error: Response) => onServerError(error);\n\n return this;\n }\n\n plaintext(body) {\n this.body = { body, mimeType: 'text/plain' };\n this.accept = 'application/json';\n\n this.responseHandler = defaultResponseHandler;\n\n this.errorHandler = (error: Response) => onServerError(error);\n\n return this;\n }\n\n streamingplaintext(body) {\n this.body = { body, mimeType: 'text/plain' };\n this.accept = 'text/plain';\n\n this.responseHandler = textResponseHandler;\n this.errorHandler = (error: Response) => onServerError(error);\n\n return this;\n }\n\n ignoreUnauthorized() {\n this.errorHandler = (error: Response) => onServerError(error, () => {\n });\n\n return this;\n }\n\n noSessionExtension() {\n this.options = {\n ...this.options,\n 'X-Graylog-No-Session-Extension': 'true',\n };\n\n return this;\n }\n\n build(): Promise {\n const headers: RequestHeaders = this.body && this.body.mimeType\n ? { ...this.options, 'Content-Type': this.body.mimeType }\n : this.options;\n\n if (this.accept) {\n headers.Accept = this.accept;\n }\n\n return CancellablePromise.of(window.fetch(this.url, {\n method: this.method,\n headers,\n body: this.body ? this.body.body : undefined,\n })).then(this.responseHandler, this.errorHandler)\n .catch(this.errorHandler);\n }\n}\n\nfunction queuePromiseIfNotLoggedin(promise: () => Promise): () => Promise {\n const { SessionStore, SessionActions } = importSessionStore();\n\n if (!SessionStore.isLoggedIn()) {\n return () => CancellablePromise.of(new Promise((resolve, reject) => {\n SessionActions.login.completed.listen(() => {\n promise().then(resolve, reject);\n });\n }));\n }\n\n return promise;\n}\n\ntype Method = 'GET' | 'PUT' | 'POST' | 'DELETE';\n\nexport default function fetch(method: Method, url: string, body?: any, requireSession: boolean = true): Promise {\n const promise = () => new Builder(method, url)\n .json(body)\n .build();\n\n if (requireSession) {\n return queuePromiseIfNotLoggedin(promise)();\n }\n\n return promise();\n}\n\nexport function fetchMultiPartFormData(url: string, body?: any, requireSession: boolean = true): Promise {\n const promise = () => new Builder('POST', url)\n .formData(body)\n .build();\n\n if (requireSession) {\n return queuePromiseIfNotLoggedin(promise)();\n }\n\n return promise();\n}\n\nexport function fetchPlainText(method, url, body) {\n const promise = () => new Builder(method, url)\n .plaintext(body)\n .build();\n\n return queuePromiseIfNotLoggedin(promise)();\n}\n\nexport function fetchStreamingPlainText(method, url, body) {\n const promise = () => new Builder(method, url)\n .streamingplaintext(body)\n .build();\n\n return queuePromiseIfNotLoggedin(promise)();\n}\n\nexport function fetchPeriodically(method, url, body?): Promise {\n const promise = () => new Builder(method, url)\n .noSessionExtension()\n .json(body)\n .build();\n\n return queuePromiseIfNotLoggedin(promise)();\n}\n\nexport function fetchFile(method, url, body, mimeType = 'text/csv') {\n const promise = () => new Builder(method, url)\n .file(body, mimeType)\n .build();\n\n return queuePromiseIfNotLoggedin(promise)();\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 $ from 'jquery';\n\nlet initialized = false;\n\nconst UniversalSearch = {\n init() {\n if (initialized) {\n return;\n }\n\n $('#scroll-to-search-hint, #scroll-to-search-hint i').on('click', () => {\n $('html, body').animate({ scrollTop: 0 }, 'fast');\n });\n\n initialized = true;\n },\n escape(source) {\n // Escape all lucene special characters from the source: && || : \\ / + - ! ( ) { } [ ] ^ \" ~ * ?\n return source.replace(/(&&|\\|\\||[:\\\\\\/\\+\\-!\\(\\)\\{\\}\\[\\]\\^\"~*\\?])/g, '\\\\$&');\n },\n _query() {\n const query = $('#universalsearch-query');\n\n return query;\n },\n setQuery(search) {\n const query = this._query();\n\n query.val(search);\n query.effect('bounce');\n this.scrollToSearchbarHint();\n },\n getQuery() {\n return this._query().val();\n },\n submit() {\n $('#universalsearch form').submit();\n },\n createSourceQuery(source) {\n return `source:${this.escape(source)}`;\n },\n queryContainsSegment(segmentInQuestion) {\n // this may look too complicated, but avoids false positives when one segment would be the prefix of another\n const oldQuery = this.getQuery();\n const segments = oldQuery.split(' ');\n\n return segments.some((segment) => segment === segmentInQuestion);\n },\n addSegment(segment, operator) {\n let oldQuery = this.getQuery();\n\n if (this.queryContainsSegment(segment)) {\n return;\n }\n\n if (oldQuery === '*') {\n oldQuery = '';\n }\n\n let newQuery = '';\n\n if (typeof operator !== 'undefined' && oldQuery !== '') {\n newQuery = `${oldQuery} ${operator} `;\n }\n\n newQuery += segment;\n this.setQuery(newQuery);\n },\n andOperator() {\n return 'AND';\n },\n orOperator() {\n return 'OR';\n },\n notOperator() {\n return 'NOT';\n },\n scrollToSearchbarHint() {\n if ($(document).scrollTop() > 50) {\n $('#scroll-to-search-hint').fadeIn('fast')\n .delay(1500)\n .fadeOut('fast');\n }\n },\n substringMatcher(possibleMatches, displayKey, limit) {\n return function findMatches(q, callback) {\n const matches = [];\n\n // code duplication is better than a shitty abstraction\n possibleMatches.forEach((possibleMatch) => {\n if (matches.length < limit && possibleMatch.indexOf(q) === 0) {\n const match = {};\n\n match[displayKey] = possibleMatch;\n matches.push(match);\n }\n });\n\n possibleMatches.forEach((possibleMatch) => {\n if (matches.length < limit && possibleMatch.indexOf(q) !== -1 && possibleMatch.indexOf(q) !== 0) {\n const match = {};\n\n match[displayKey] = possibleMatch;\n matches.push(match);\n }\n });\n\n callback(matches);\n };\n },\n};\n\nexport default UniversalSearch;\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 */\ndeclare global {\n interface Window {\n singletons: { [key: string]: unknown };\n }\n}\n\nconst singleton = (key: string, supplier: () => R): R => {\n if (!window.singletons[key]) {\n window.singletons[key] = supplier();\n }\n\n return window.singletons[key] as R;\n};\n\nconst singletonActions = (key: string, supplier: () => R): R => singleton(`${key}Actions`, supplier);\n\nconst singletonStore = (key: string, supplier: () => R): R => singleton(`${key}Store`, supplier);\n\nif (typeof window.singletons === 'undefined') {\n window.singletons = {};\n}\n\nexport { singleton, singletonActions, singletonStore };\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\nexport const TELEMETRY_EVENT_TYPE = {\n SEARCH_TIMERANGE_PRESET_SELECTED: 'Search TimeRange Preset Selected',\n SEARCH_TIMERANGE_PICKER_TOGGLED: 'Search TimeRange Picker Toggled',\n SEARCH_TIMERANGE_PICKER_UPDATED: 'Search TimeRange Picker Updated',\n SEARCH_TIMERANGE_PICKER_CANCELED: 'Search TimeRange Picker Canceled',\n SEARCH_TIMERANGE_PICKER_TAB_SELECTED: 'Search TimeRange Picker Tab Selected',\n SEARCH_STREAM_INPUT_CHANGED: 'Search Stream Input Changed',\n SEARCH_REFRESH_CONTROL_PRESET_SELECTED: 'Search Refresh Control Preset Selected',\n SEARCH_REFRESH_CONTROL_TOGGLED: 'Search Refresh Control Toggled',\n SEARCH_BUTTON_CLICKED: 'Search Button Clicked',\n SEARCH_FILTER_CREATE_CLICKED: 'Search Filter Create Clicked',\n SEARCH_FILTER_CREATED: 'Search Filter Created',\n SEARCH_FILTER_UPDATED: 'Search Filter Updated',\n SEARCH_FILTER_DELETED: 'Search Filter Deleted',\n SEARCH_FILTER_LOAD_CLICKED: 'Search Filter Load Clicked',\n SEARCH_FILTER_LOADED: 'Search Filter Loaded',\n SEARCH_FILTER_ITEM_MENU_TOGGLED: 'Search Filter Item Menu Toggled',\n SEARCH_FILTER_ITEM_DISABLED_TOGGLED: 'Search Filter Item Disabled Toggled',\n SEARCH_FILTER_ITEM_SHARE_CLICKED: 'Search Filter Item Share Clicked',\n SEARCH_FILTER_ITEM_EDIT_CLICKED: 'Search Filter Item Edit Clicked',\n SEARCH_FILTER_ITEM_COPIED: 'Search Filter Item Copied',\n SEARCH_FILTER_ITEM_REMOVED: 'Search Filter Item Removed',\n SEARCH_FILTER_ITEM_REFERENCE_REPLACED: 'Search Filter Item Reference Replaced',\n SEARCH_FILTER_ITEM_NEGATION_TOGGLED: 'Search Filter Item Negation Toggled',\n SEARCH_WIDGET_EXPORT_DOWNLOADED: 'Search Widget Export Downloaded',\n SEARCH_TIMERANGE_PRESET_ADD_QUICK_ACCESS: 'Search TimeRange Preset Add Quick Access',\n SEARCH_WIDGET_ACTION: {\n FOCUSED: 'Search Widget Focused',\n DELETED: 'Search Widget Deleted',\n MOVE: 'Search Widget Moved',\n DUPLICATE: 'Search Widget Duplicate',\n COPY_TO_DASHBOARD: 'Search Widget Copy To Dashboard Clicked',\n SEARCH_WIDGET_HORIZONTAL_STRETCH: 'Search Widget Horizontal Width Toggled',\n SEARCH_WIDGET_EXTRA_ACTION: 'Search Widget Extra Action Clicked',\n WIDGET_EDIT_TOGGLED: 'Search Widget Edit Toggled',\n WIDGET_EDIT_CANCEL_CLICKED: 'Search Widget Edit Cancel Clicked',\n WIDGET_CONFIG_UPDATED: 'Search Widget Config Updated',\n },\n SEARCH_WIDGET_CREATE: {\n AGGREGATION: 'Search Widget Aggregation Created',\n MESSAGE_COUNT: 'Search Widget Message Count Created',\n MESSAGE_TABLE: 'Search Widget Message Table Created',\n LOG_VIEW: 'Search Widget Log View Created',\n },\n SEARCH_FIELD_VALUE_ACTION: {\n CHART: 'Search Field Action Chart Clicked',\n STATISTICS: 'Search Field Action Statistics Clicked',\n SHOW_TOP_VALUES: 'Search Field Action Show Top Values Clicked',\n ADD_TO_TABLE: 'Search Field Action Add To Table Clicked',\n REMOVE_FROM_TABLE: 'Search Field Action Remove From Table Clicked',\n ADD_TO_ALL_TABLES: 'Search Field Action Add To All Tables Clicked',\n COPY_FIELD_NAME_TO_CLIPBOARD: 'Search Field Action Copy Field Name To Clipboard Clicked',\n REMOVE_FROM_ALL_TABLES: 'Search Field Action Remove From All Tables Clicked',\n EXCLUDE_FROM_RESULTS: 'Search Value Action Exclude From Results Clicked',\n ADD_TO_QUERY: 'Search Value Action Add To Query Clicked',\n SHOW_DOCUMENT_FOR_VALUE: 'Search Value Action Show Document For Value Clicked',\n CREATE_EXTRACTOR: 'Search Value Action Create Extractor Clicked',\n HIGHLIGHT_THIS_VALUE: 'Search Value Action Highlight This Value Clicked',\n COPY_VALUE_TO_CLIPBOARD: 'Search Value Action Copy Value To Clipboard Clicked',\n CREATE_EVENT_DEFINITION: 'Search Value Action Create Event Definition Clicked',\n INSERT_INTO_DASHBOARD_SEARCH: 'Search Value Action Insert Into Dashboard/Search Clicked',\n CHANGE_FIELD_TYPE_OPENED: 'Search Field Action Change Field Type Opened',\n CHANGE_FIELD_TYPE_CLOSED: 'Search Field Action Change Field Type Closed',\n CHANGE_FIELD_TYPE_CHANGED: 'Search Field Action Change Field Type Changed',\n },\n DASHBOARD_FULL_SCREEN_MODE_STARTED: 'Dashboard Fullscreen Mode Started',\n SEARCH_MESSAGE_TABLE_SHOW_SURROUNDING_MESSAGE: 'Search Message Table Show Surrounding Message Clicked ',\n SEARCH_MESSAGE_TABLE_TEST_AGAINST_STREAM: 'Search Message Table Test Against Stream Clicked ',\n SEARCH_MESSAGE_TABLE_DETAILS_TOGGLED: 'Widget Message Table Details Toggled',\n SEARCH_SIDEBAR_TOGGLE: 'Search Sidebar Toggled',\n SEARCH_SIDEBAR_HIGHLIGHT_CREATED: 'Search Sidebar Highlight Created',\n SEARCH_SIDEBAR_HIGHLIGHT_UPDATED: 'Search Sidebar Highlight Updated',\n SEARCH_SIDEBAR_HIGHLIGHT_DELETED: 'Search Sidebar Highlight Deleted',\n SEARCH_SIDEBAR_REDO: 'Search Sidebar Redo',\n SEARCH_SIDEBAR_UNDO: 'Search Sidebar Undo',\n DASHBOARD_ACTION: {\n DASHBOARD_NEW_SAVED: 'Dashboard New Saved',\n DASHBOARD_SAVED: 'Dashboard Saved',\n DASHBOARD_UPDATED: 'Dashboard Updated',\n DASHBOARD_CREATE_CLICKED: 'Dashboard Create Clicked',\n DASHBOARD_CREATE_PAGE: 'Dashboard Create Page Clicked',\n DASHBOARD_PAGE_CONFIGURATION: 'Dashboard Page Configuration Clicked',\n DASHBOARD_PAGE_CONFIGURATION_UPDATED: 'Dashboard Page Configuration Updated',\n DASHBOARD_PAGE_CONFIGURATION_CANCELED: 'Dashboard Page Configuration Update Cancel',\n DASHBOARD_PAGE_CONFIGURATION_SORTING_UPDATED: 'Dashboard Page Configuration Sorting Updated',\n DASHBOARD_PAGE_CONFIGURATION_PAGE_REMOVED: 'Dashboard Page Configuration Page Remove',\n },\n EVENTDEFINITION_LIST: {\n COLUMNS_CHANGED: 'EventDefinition List Columns Changed',\n SORT_CHANGED: 'EventDefinition List Sort Changed',\n PAGE_SIZE_CHANGED: 'EventDefinition List Page Size Changed',\n BULK_ACTION_DELETE_CLICKED: 'EventDefinition List Bulk Delete Clicked',\n BULK_ACTION_ENABLE_CLICKED: 'EventDefinition List Bulk Enable Clicked',\n BULK_ACTION_DISABLE_CLICKED: 'EventDefinition List Bulk Disable Clicked',\n ROW_ACTION_DELETE_CLICKED: 'EventDefinition List Row Delete Clicked',\n ROW_ACTION_ENABLE_CLICKED: 'EventDefinition List Row Enable Clicked',\n ROW_ACTION_DISABLE_CLICKED: 'EventDefinition List Row Disable Clicked',\n ROW_ACTION_COPY_CLICKED: 'EventDefinition List Row Copy Clicked',\n ROW_ACTION_SHARE_CLICKED: 'EventDefinition List Row Share Clicked',\n },\n EVENTDEFINITION_CREATE_BUTTON_CLICKED: 'EventDefinition Create Button Clicked',\n EVENTDEFINITION_DUPLICATED: 'EventDefinition Duplicated',\n EVENTDEFINITION_NEXT_CLICKED: 'EventDefinition Next Clicked',\n EVENTDEFINITION_PREVIOUS_CLICKED: 'EventDefinition Previous Clicked',\n EVENTDEFINITION_DETAILS: {\n STEP_CLICKED: 'EventDefinition Details Step Clicked',\n PRIORITY_CHANGED: 'EventDefinition Details Priority Changed',\n },\n EVENTDEFINITION_CONDITION: {\n STEP_CLICKED: 'EventDefinition Condition Step Clicked',\n TYPE_SELECTED: 'EventDefinition Condition Type Selected',\n FILTER_STREAM_SELECTED: 'EventDefinition Condition Filter Stream Selected',\n FILTER_SEARCH_WITHIN_THE_LAST_UNIT_CHANGED: 'EventDefinition Condition Filter Search Within The Last Unit Changed',\n FILTER_EXECUTE_SEARCH_EVERY_UNIT_CHANGED: 'EventDefinition Condition Filter Execute Search Every Unit Changed',\n FILTER_EXECUTED_AUTOMATICALLY_TOGGLED: 'EventDefinition Condition Filter Executed Automatically Toggled',\n FILTER_EVENT_LIMIT_CHANGED: 'EventDefinition Condition Filter Event Limit Changed',\n AGGREGATION_TOGGLED: 'EventDefinition Aggregation Toggled',\n AGGREGATION_GROUP_BY_FIELD_SELECTED: 'EventDefinition Aggregation Group By Field Selected',\n CORRELATION_WITHIN_THE_LAST_UNIT_CHANGED: 'EventDefinition Condition Correlation Within The Last Unit Changed',\n CORRELATION_EXECUTE_EVERY_UNIT_CHANGED: 'EventDefinition Condition Correlation Execute Every Unit Changed',\n CORRELATION_EXECUTED_AUTOMATICALLY_TOGGLED: 'EventDefinition Condition Correlation Executed Automatically Toggled',\n CORRELATION_EVENT_SELECTED: 'EventDefinition Condition Correlation Event Selected',\n CORRELATION_ADD_EVENT_CLICKED: 'EventDefinition Condition Correlation Add Event Clicked',\n CORRELATION_REMOVE_EVENT_CLICKED: 'EventDefinition Condition Correlation Remove Event Clicked',\n CORRELATION_OCCURRENCE_TIME_CHANGED: 'EventDefinition Condition Correlation Occurrence Time Changed',\n CORRELATION_NO_OCCURRENCE_FOLLOWED_BY_EVENT_SELECTED: 'EventDefinition Condition Correlation No Occurrence Followed By Event Selected',\n CORRELATION_NO_OCCURRENCE_IN_THE_NEXT_SELECTED: 'EventDefinition Condition Correlation No Occurrence In The Next Selected',\n CORRELATION_NO_OCCURRENCE_IN_THE_NEXT_UNIT_CHANGED: 'EventDefinition Condition Correlation No Occurrence In The Next Unit Changed',\n },\n EVENTDEFINITION_FIELDS: {\n STEP_CLICKED: 'EventDefinition Fields Step Clicked',\n ADD_CUSTOM_FIELD_CLICKED: 'EventDefinition Fields Add Custom Field Clicked',\n AS_EVENT_KEY_TOGGLED: 'EventDefinition Fields As Event Key Toggled',\n SET_VALUE_FROM_TEMPLATE_SELECTED: 'EventDefinition Fields Set Value From Template Selected',\n SET_VALUE_FROM_LOOKUP_TABLE_SELECTED: 'EventDefinition Fields Set Value From Lookup Table Selected',\n DONE_CLICKED: 'EventDefinition Fields Done Clicked',\n CANCEL_CLICKED: 'EventDefinition Fields Cancel Clicked',\n },\n EVENTDEFINITION_NOTIFICATIONS: {\n STEP_CLICKED: 'EventDefinition Notifications Step Clicked',\n ADD_CLICKED: 'EventDefinition Notifications Add Clicked',\n MANAGE_LINK_CLICKED: 'EventDefinition Notifications Manage Link Clicked',\n NOTIFICATION_SELECTED: 'EventDefinition Notifications Notification Selected',\n CREATE_NEW_CLICKED: 'EventDefinition Notifications Create New Clicked',\n NOTIFICATION_TYPE_SELECTED: 'EventDefinition Notifications Notification Type Selected',\n DONE_CLICKED: 'EventDefinition Notifications Done Clicked',\n CANCEL_CLICKED: 'EventDefinition Notifications Cancel Clicked',\n },\n EVENTDEFINITION_SUMMARY: {\n STEP_CLICKED: 'EventDefinition Summary Step Clicked',\n CANCEL_CLICKED: 'EventDefinition Summary Cancel Clicked',\n CREATE_CLICKED: 'EventDefinition Summary Create Clicked',\n UPDATE_CLICKED: 'EventDefinition Summary Update Clicked',\n },\n NOTIFICATIONS: {\n CREATE_CLICKED: 'Notifications Create Clicked',\n EDIT_CLICKED: 'Notifications Edit Clicked',\n EXECUTE_TEST_CLICKED: 'Notifications Execute Test Clicked',\n BULK_ACTION_DELETE_CLICKED: 'Notifications Bulk Delete Clicked',\n ROW_ACTION_DELETE_CLICKED: 'Notifications Row Delete Clicked',\n ROW_ACTION_TEST_CLICKED: 'Notifications Row Test Clicked',\n },\n CONTENTSTREAM: {\n PREV_ARROW_CLICKED: 'Content Stream Left Arrow Clicked',\n NEXT_ARROW_CLICKED: 'Content Stream Right Arrow Clicked',\n READ_MORE_CLICKED: 'Content Stream Read More Clicked',\n ARTICLE_CLICKED: 'Content Stream Article Clicked',\n RELESE_ARTICLE_CLICKED: 'Content Stream Release Article Clicked',\n NEWS_OPT_IN_TOGGLED: 'Content Stream News Opt-In Clicked',\n RELEASE_OPT_IN_TOGGLED: 'Content Stream Release Opt-In Clicked',\n },\n STREAMS: {\n CREATE_FORM_MODAL_OPENED: 'Stream Create Form Modal Opened',\n NEW_STREAM_CREATED: 'Stream New Stream Created',\n STREAM_ITEM_UPDATED: 'Stream Item Updated',\n STREAM_ITEM_STATUS_TOGGLED: 'Stream Item Status Toggled',\n STREAM_ITEM_SHARE_MODAL_OPENED: 'Stream Item Share Modal Opened',\n STREAM_ITEM_UPDATE_MODAL_OPENED: 'Stream Item Update Modal Opened',\n STREAM_ITEM_CLONED: 'Stream Item Cloned',\n STREAM_ITEM_RULE_SAVED: 'Stream Item Rule SAVED',\n STREAM_ITEM_DELETED: 'Stream Item Deleted',\n },\n ENTITYSHARE: {\n ENTITY_STREAM_SHARED: 'Entity Share: Entity Stream Shared',\n ENTITY_SEARCH_SHARED: 'Entity Share: Entity Search Shared',\n ENTITY_SEARCH_FILTER_SHARED: 'Entity Share: Entity Filter Shared',\n ENTITY_EVENT_DEFINITION_SHARED: 'Entity Share: Event Definition Shared',\n ENTITY_NOTIFICATION_SHARED: 'Entity Share: Notification Shared',\n ENTITY_DASHBOARD_SHARED: 'Entity Share: Dashboard Shared',\n },\n PIPELINE_RULE_BUILDER: {\n CREATE_RULE_CLICKED: 'Pipeline Create Rule Clicked',\n RUN_RULE_SIMULATION_CLICKED: 'Pipeline Run Rule Simulation Clicked',\n RESET_RULE_SIMULATION_CLICKED: 'Pipeline Reset Rule Simulation Clicked',\n USE_SOURCE_CODE_EDITOR_CLICKED: 'Pipeline RuleBuilder Use Source Code Editor Clicked',\n SWITCH_TO_SOURCE_CODE_EDITOR_CONFIRM_CLICKED: 'Pipeline RuleBuilder Switch to Source Code Editor Confirm Clicked',\n SWITCH_TO_SOURCE_CODE_EDITOR_CANCEL_CLICKED: 'Pipeline RuleBuilder Switch to Source Code Editor Cancel Clicked',\n CREATE_NEW_RULE_FROM_CODE_CLICKED: 'Pipeline RuleBuilder Create New Rule From Code Clicked',\n COPY_CODE_AND_CLOSE_CLICKED: 'Pipeline RuleBuilder Code Copy & Close Clicked',\n NEW_CONDITION_SELECTED: 'Pipeline RuleBuilder New Condition Selected',\n NEW_ACTION_SELECTED: 'Pipeline RuleBuilder New Action Selected',\n ADD_CONDITION_CLICKED: 'Pipeline RuleBuilder Add Condition Clicked',\n ADD_ACTION_CLICKED: 'Pipeline RuleBuilder Add Action Clicked',\n UPDATE_CONDITION_CLICKED: 'Pipeline RuleBuilder Update Condition Clicked',\n UPDATE_ACTION_CLICKED: 'Pipeline RuleBuilder Update Action Clicked',\n CANCEL_CLICKED: 'Pipeline RuleBuilder Cancel Clicked',\n ADD_RULE_CLICKED: 'Pipeline RuleBuilder Add Rule Clicked',\n CONVERT_TO_SOURCE_CODE_CLICKED: 'Pipeline RuleBuilder Convert to Source Code Clicked',\n OPERATOR_AND_CLICKED: 'Pipeline RuleBuilder Operator AND Clicked',\n OPERATOR_OR_CLICKED: 'Pipeline RuleBuilder Operator OR Clicked',\n UPDATE_RULE_CLICKED: 'Pipeline RuleBuilder Update Rule Clicked',\n UPDATE_RULE_AND_CLOSE_CLICKED: 'Pipeline RuleBuilder Update Rule And Close Clicked',\n NEGATE_CONDITION_CLICKED: 'Pipeline RuleBuilder Negate Condition Clicked',\n DUPLICATE_ACTION_CLICKED: 'Pipeline RuleBuilder Duplicate Action Clicked',\n INSERT_ABOVE_ACTION_CLICKED: 'Pipeline RuleBuilder Insert Above Action Clicked',\n INSERT_BELOW_ACTION_CLICKED: 'Pipeline RuleBuilder Insert Below Action Clicked',\n DELETE_CONDITION_CLICKED: 'Pipeline RuleBuilder Delete Condition Clicked',\n DELETE_ACTION_CLICKED: 'Pipeline RuleBuilder Delete Action Clicked',\n EDIT_CONDITION_CLICKED: 'Pipeline RuleBuilder Edit Condition Clicked',\n EDIT_ACTION_CLICKED: 'Pipeline RuleBuilder Edit Action Clicked',\n },\n ILLUMINATE: {\n BUNDLE_UPLOADED: 'Illuminate Bundle Uploaded',\n BUNDLE_DOWNLOADED_AND_INSTALLED: 'Illuminate Bundle Downloaded and Installed',\n PACK_ENABLE_MODAL_TOGGLED: 'Illuminate Pack Enable Modal Toggled',\n PACK_DISABLE_MODAL_TOGGLED: 'Illuminate Pack Modal Toggled',\n PACKS_BULK_UPDATED: 'Illuminate Packs Bulk Updated',\n PACKS_OVERRIDE_FORM_OPENED: 'Illuminate Packs Override Form Opened',\n PACKS_OVERRIDE_SAVED: 'Illuminate Packs Override Saved',\n },\n SECURITY_APP: {\n ASSET_DELETED: 'Security Asset Deleted',\n ASSET_SOURCE_DELETED: 'Security Asset Source Deleted',\n ASSET_CONFIG_REPRIORITIZED: 'Security Asset Config Reprioritized',\n ASSET_CONFIG_CATEGORY_ADDED: 'Security Asset Config Category Added',\n ASSET_CONFIG_CATEGORY_UPDATED: 'Security Asset Config Category Updated',\n ASSET_CONFIG_CATEGORY_DELETED: 'Security Asset Config Category Deleted',\n ASSET_CONFIG_PRIORITY_ADDED: 'Security Asset Config Priority Added',\n ASSET_CONFIG_PRIORITY_UPDATED: 'Security Asset Config Priority Updated',\n ASSET_CONFIG_PRIORITY_DELETED: 'Security Asset Config Priority Deleted',\n INVESTIGATION_UPDATED: 'Security Investigation Update',\n INVESTIGATION_ARCHIVED: 'Security Investigation Archived',\n INVESTIGATION_EDITED: 'Security Investigation Updated',\n INVESTIGATION_RESTORED: 'Security Investigation Restored',\n INVESTIGATION_DELETED: 'Security Investigation Deleted',\n INVESTIGATION_PRIORITY_ADDED: 'Security Investigation Priority Added',\n INVESTIGATION_PRIORITY_UPDATED: 'Security Investigation Priority Updated',\n INVESTIGATION_PRIORITY_DELETED: 'Security Investigation Priority Deleted',\n INVESTIGATION_PRIORITY_REPRIORITIZED: 'Security Investigation Priority Reprioritized',\n INVESTIGATION_PRIORITY_DEFAULT_SET: 'Security Investigation Priority Default Set',\n INVESTIGATION_PRIORITY_DEFAULT_REMOVED: 'Security Investigation Priority Default Removed',\n INVESTIGATION_STATUS_ADDED: 'Security Investigation Status Added',\n INVESTIGATION_STATUS_UPDATED: 'Security Investigation Status Updated',\n INVESTIGATION_STATUS_DELETED: 'Security Investigation Status Deleted',\n INVESTIGATION_STATUS_REPRIORITIZED: 'Security Investigation Status Reprioritized',\n INVESTIGATION_STATUS_DEFAULT_SET: 'Security Investigation Status Default Set',\n INVESTIGATION_STATUS_DEFAULT_REMOVED: 'Security Investigation Status Default Removed',\n INVESTIGATION_DETAILS_UPDATED: 'Security Investigation Details Updated',\n INVESTIGATION_DRAWER_OPENED: 'Security Investigation Drawer Opened',\n INVESTIGATION_DRAWER_CLOSED: 'Security Investigation Drawer Closed',\n INVESTIGATION_DRAWER_COLLAPSE_TOGGLED: 'Security Investigation Drawer Collapse Toggled',\n INVESTIGATION_NOTE_ADDED: 'Security Investigation Note Added',\n INVESTIGATION_NOTE_SAVED: 'Security Investigation Note Saved',\n INVESTIGATION_NOTE_EDIT: 'Security Investigation Note Updated',\n INVESTIGATION_NOTE_DELETED: 'Security Investigation Note Deleted',\n SIGMA_IMPORT_RULES_OPENED: 'Security Sigma Rules Import Opened',\n SIGMA_IMPORT_RULES_IMPORTED: 'Security Sigma Rules Imported',\n SIGMA_RULE_UPDATED: 'Security Sigma Rules Update',\n SIGMA_RULE_CREATED: 'Security Sigma Rules Created',\n ANOMALY_DETECTION_SAVED: 'Security Anomaly Detection Saved',\n ANOMALY_DETECTION_DELETED: 'Security Anomaly Detection Deleted',\n },\n FORWARDER: {\n INPUTPROFILE_FORWARDER_ASSIGNED: 'Forwarder Input Profile Forwarder Assigned',\n FORWARDER_WIZARD_WELCOME_STEP_OPENED: 'Forwarder Wizard Welcome Step Opened',\n FORWARDER_WIZARD_SELECT_FORWARDER_STEP_OPENED: 'Forwarder Wizard Select Forwarder Step Opened',\n FORWARDER_WIZARD_CONFIGURE_FORWARDER_STEP_OPENED: 'Forwarder Wizard Configure Forwarder Step Opened',\n FORWARDER_WIZARD_INPUTS_STEP_OPENED: 'Forwarder Wizard Forwarder Inputs Step Opened',\n FORWARDER_WIZARD_SUMMARY_STEP_OPENED: 'Forwarder Wizard Forwarder Summary Step Opened',\n FORWARDER_WIZARD_CONFIGURE_FORWARDER_SELECTED: 'Forwarder Wizard Configure Forwarder Selected',\n FORWARDER_WIZARD_CONFIGURE_FORWARDER_SAVED: 'Forwarder Wizard Configure Forwarder Saved',\n FORWARDER_WIZARD_INPUT_PROFILE_SELECTED: 'Forwarder Wizard Input Profile Selected',\n FORWARDER_WIZARD_INPUT_PROFILE_SAVED: 'Forwarder Wizard Input Profile Saved',\n FORWARDER_INPUT_PROFILE_CREATED: 'Forwarder Input Profile Created',\n FORWARDER_CREATED: 'Forwarder Created',\n FORWARDER_UPDATED: 'Forwarder Updated',\n FORWARDER_DELETED: 'Forwarder Created',\n FORWARDER_CONFIGURATION_REMOVED: 'Forwarder Configuration Removed',\n FORWARDER_INPUT_PROFILE_UPDATED: 'Forwarder Input Profile Updated',\n FORWARDER_INPUT_PROFILE_FORWARDER_ASSIGNED: 'Forwarder Input Profile Forwarder Assigned',\n FORWARDER_INPUT_PROFILE_CREATE_CANCELED: 'Forwarder Input Profile Create Canceled',\n FORWARDER_INPUT_PROFILE_INPUT_CREATED: 'Forwarder Input Profile Input Created',\n FORWARDER_INPUT_PROFILE_INPUT_UPDATED: 'Forwarder Input Profile Input Updated',\n FORWARDER_INPUT_PROFILE_INPUT_DELETED: 'Forwarder Input Profile Input Deleted',\n FORWARDER_WIZARD_SETUP_CANCELED: 'Forwarder Wizard Setup Canceled',\n },\n ARCHIVE: {\n DELETED: 'Archive Deleted',\n RESTORED: 'Archive Restored',\n CREATED: 'Archive Created',\n ITEM_DETAILS_TOGGLED: 'Archive Item Details Opened',\n BACKEND_CONFIGURATION_UPDATED: 'Archive Backend Configuration Updated',\n BACKEND_CONFIGURATION_CREATED: 'Archive Backend Configuration Created',\n BACKEND_CONFIGURATION_DELETED: 'Archive Backend Configuration Deleted',\n CONFIGURATION_UPDATED: 'Archive Configuration Update',\n },\n LICENSE: {\n VALIDATED: 'License Validated',\n SAVED: 'License Saved',\n DELETED: 'License Deleted',\n },\n REPORT: {\n CONFIGURED: 'Report Configured',\n DELETED: 'Report Deleted',\n SENT: 'Report Sent',\n CREATED: 'Report Created',\n UPDATED: 'Report Updated',\n },\n CUSTOMIZATION: {\n NOTIFICATION_CREATED: 'Customization Notification Created',\n NOTIFICATION_DELETED: 'Customization Notification Deleted',\n NOTIFICATION_BULK_DELETED: 'Customization Notification Bulk Deleted',\n THEME_REVERTED: 'Customization Theme Reverted',\n THEME_RESETED: 'Customization Theme Reseted',\n HEADER_BADGE_UPDATED: 'Customization Header Badge Updated',\n },\n TRAFFIC_VIOLATION_CONFIGURATION_SAVED: 'Traffic Violation Configuration Saved',\n FAILURE_PROCESSING_CONFIGURATION_SAVED: 'Failure Processing Configuration Saved',\n SHORTCUT_TYPED: 'Shortcut Typed',\n CONFIGURATIONS: {\n INDEX_SETS_UPDATED: 'Configurations Index Sets Defaults Updated',\n THREATINTEL_CONFIGURATION_UPDATED: 'Configurations Threat Intel Configuration Updated',\n PERMISSIONS_UPDATED: 'Configurations Permissions Updated',\n SEARCHES_UPDATED: 'Configurations Searches Updated',\n URL_WHITE_LIST_UPDATED: 'Configurations Url White List Updated',\n USER_UPDATED: 'Configurations User Updated',\n CERTIFICATE_RENEWAL_UPDATED: 'Configurations Certificate Renewal Updated',\n CERTIFICATE_RENEWAL_POLICY_UPDATED: 'Configurations Certificate Renewal Policy Updated',\n DECORATORS_UPDATED: 'Configurations Decorators Updated',\n GEOLOCATION_CONFIGURATION_UPDATED: 'Configurations Geolocation Configuration Updated',\n },\n INPUTS: {\n INPUT_SELECTED: 'Inputs Input Selected',\n INPUT_CREATED: 'Inputs Input Created',\n FIND_MORE_CLICKED: 'Inputs Find More Inputs Clicked',\n INPUT_DELETED: 'Inputs Input Deleted',\n INPUT_EDIT_CLICKED: 'Inputs Input Edit Clicked',\n INPUT_UPDATED: 'Inputs Input Updated',\n SHOW_RECEIVED_MESSAGES_CLICKED: 'Inputs Show Received Messages Clicked',\n MANAGE_EXTRACTORS_CLICKED: 'Inputs Manage Extractors Clicked',\n SHOW_METRICS_CLICKED: 'Inputs Show Metrics Clicked',\n INPUT_START_CLICKED: 'Inputs Input Start Clicked',\n INPUT_STOP_CLICKED: 'Inputs Input Stop Clicked',\n },\n OUTPUTS: {\n OUTPUT_CREATED: 'Outputs Output Created',\n OUTPUT_ASSIGNED: 'Outputs Output Assigned',\n OUTPUT_GLOBALLY_REMOVED: 'Outputs Output Globally Removed',\n OUTPUT_FROM_STREAM_REMOVED: 'Outputs Output From Stream Removed',\n OUTPUT_UPDATED: 'Outputs Output Updated',\n },\n INDICES: {\n INDEX_SET_DEFAULT_SET: 'Indices Index Set Default Set',\n INDEX_SET_DELETED: 'Indices Index Set Deleted',\n INDEX_SET_CREATED: 'Indices Index Set Created',\n INDEX_SET_UPDATED: 'Indices Index Set Updated',\n },\n LOGGING: {\n LOG_LEVEL_EDITED: 'Logging Log Level Edited',\n SHOW_LOG_LEVEL_METRICS_TOGGLED: 'Logging Show Log Level Metrics Toggled',\n },\n LUT: {\n DELETED: 'LUT Deleted',\n CREATED: 'LUT Created',\n UPDATED: 'LUT Updated',\n CACHE_TYPE_CHANGED: 'LUT Cache Type Changed',\n CACHE_DELETED: 'LUT Cache Deleted',\n CACHE_CREATED: 'LUT Cache Created',\n CACHE_UPDATED: 'LUT Cache Updated',\n DATA_ADAPTER_DELETED: 'LUT Data Adapter Deleted',\n DATA_ADAPTER_CREATED: 'LUT Data Adapter Created',\n DATA_ADAPTER_UPDATED: 'LUT Data Adapter Updated',\n },\n USERS: {\n USER_CREATED: 'Users User Created',\n USER_DISABLED: 'Users User Disabled',\n USER_ENABLED: 'Users User Enabled',\n USER_DELETED: 'Users User Deleted',\n },\n GROK_PATTERN: {\n CREATED: 'Grok Pattern Created',\n UPDATED: 'Grok Pattern Updated',\n DELETED: 'Grok Pattern Deleted',\n TESTED: 'Grok Pattern Tested',\n IMPORTED: 'Grok Pattern Imported',\n },\n ROLES: {\n USER_ASSIGNED: 'Roles User Assigned',\n USER_UNASSIGNED: 'Roles User Unassigned',\n },\n AUTHENTICATION: {\n CONFIG_UPDATED: 'Authentication Config Updated',\n SERVICE_CREATED: 'Authentication Service Created',\n SERVICE_SELECTED: 'Authentication Service Selected',\n DIRECTORY_SERVER_CONFIG_SAVE_CLICKED: 'Authentication Directory Server Config Save Clicked',\n DIRECTORY_USER_SYNC_SAVE_CLICKED: 'Authentication Directory User Sync Save Clicked',\n DIRECTORY_GROUP_SYNC_SAVE_CLICKED: 'Authentication Directory Group Sync Save Clicked',\n DIRECTORY_NEXT_USER_SYNC_CLICKED: 'Authentication Directory Next User Sync Clicked',\n DIRECTORY_NEXT_GROUP_SYNC_CLICKED: 'Authentication Directory Next Group Sync Clicked',\n OIDC_SERVER_CONFIG_SAVE_CLICKED: 'Authentication OIDC Server Config Save Clicked',\n OIDC_NEXT_GROUP_SYNC_CLICKED: 'Authentication OIDC Next Group Sync Clicked',\n OIDC_PREVIOUS_SERVER_CONFIG_CLICKED: 'Authentication OIDC Previous Server Config Clicked',\n OIDC_GROUP_SYNC_SAVE_CLICKED: 'Authentication OIDC Group Sync Save Clicked',\n },\n SIDECARS: {\n CONFIGURATION_CREATED: 'Sidecar Configuration Created',\n CONFIGURATION_UPDATED: 'Sidecar Configuration Updated',\n CONFIGURATION_CLONED: 'Sidecar Configuration Cloned',\n CONFIGURATION_DELETED: 'Sidecar Configuration Deleted',\n CONFIGURATION_ASSIGNED: 'Sidecar Configuration Assigned',\n PROCESS_ACTION_SET: 'Sidecar Process Action Set',\n LOG_COLLECTOR_CLONED: 'Sidecar Log Collector Cloned',\n LOG_COLLECTOR_CREATED: 'Sidecar Log Collector Created',\n LOG_COLLECTOR_SERVICE_TYPE_CHANGED: 'Sidecar Log Collector Service Type Changed',\n LOG_COLLECTOR_NODE_OPERATING_SYSTEM_CHANGED: 'Sidecar Log Collector Node Operating System Changed',\n LOG_COLLECTOR_UPDATED: 'Sidecar Log Collector Updated',\n LOG_COLLECTOR_DELETED: 'Sidecar Log Collector Deleted',\n },\n SYSTEM_OVERVIEW_OUTGOING_TRAFFIC_DAYS_CHANGED: 'System Overview Outgoing Traffic Days Changed',\n URLWHITELIST_CONFIGURATION_UPDATED: 'Urlwhitelist Configuration Updated',\n CONTENT_PACK: {\n INSTALLED: 'Content Pack Installed',\n DOWNLOADED: 'Content Pack Downloaded',\n ALL_VERSIONS_DELETED: 'Content Pack All Versions Deleted',\n },\n TEAM: {\n CREATED: 'Team Created',\n ASSIGNED: 'Team Assigned',\n UNASSIGNED: 'Team Unassigned',\n DELETED: 'Team Deleted',\n },\n} as const;\n\ntype ExtractObjectValues = {\n [K in keyof T]: T[K] extends object ? ExtractObjectValues : T[K];\n}[keyof T];\n\nexport type EventType = ExtractObjectValues;\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 { singleton } from 'logic/singleton';\nimport type { EventType } from 'logic/telemetry/Constants';\n\nexport type TelemetryEvent = {\n app_path_pattern?: string,\n app_pathname?: string,\n app_section?: string,\n app_action_value?: string\n [key: string]: unknown,\n};\n\nexport type TelemetryEventType = '$pageview' | EventType;\n\ntype ContextType = {\n sendTelemetry: (eventType: TelemetryEventType, event: TelemetryEvent | { [key: string]: unknown }) => void,\n}\nconst TelemetryContext = React.createContext({\n sendTelemetry: () => {\n },\n});\n\nexport default singleton('contexts.TelemetryContext', () => TelemetryContext);\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 { useContext, useMemo } from 'react';\nimport { useLocation, UNSAFE_DataRouterContext as DataRouterContext, matchRoutes } from 'react-router-dom';\n\nimport { singleton } from 'logic/singleton';\n\nconst useRoutePattern = () => {\n const location = useLocation();\n const dataRouterContext = useContext(DataRouterContext);\n\n return useMemo(() => {\n if (dataRouterContext?.router?.routes) {\n const { router: { routes } } = dataRouterContext;\n const matches = matchRoutes(routes, location.pathname);\n const { route } = matches.at(-1);\n\n return route.path;\n }\n\n return undefined;\n }, [location.pathname, dataRouterContext]);\n};\n\nexport default singleton('hooks.useRoutePattern', () => useRoutePattern);\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 { useCallback, useContext } from 'react';\nimport type { Optional } from 'utility-types';\n\nimport type { TelemetryEventType, TelemetryEvent } from 'logic/telemetry/TelemetryContext';\nimport TelemetryContext from 'logic/telemetry/TelemetryContext';\nimport useRoutePattern from 'routing/useRoutePattern';\n\nconst useSendTelemetry = () => {\n const { sendTelemetry } = useContext(TelemetryContext);\n const route = useRoutePattern();\n\n return useCallback((eventType: TelemetryEventType, event: Optional) => sendTelemetry(\n eventType,\n { app_path_pattern: route, ...event },\n ), [sendTelemetry, route]);\n};\n\nexport default useSendTelemetry;\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 useSendTelemetry from './useSendTelemetry';\n\nconst withTelemetry = >>(Component: C) => function WrappedComponent(props: any) {\n const sendTelemetry = useSendTelemetry();\n\n return ;\n};\n\nexport default withTelemetry;\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 ErrorPage from 'components/errors/ErrorPage';\n\ntype Props = {\n displayPageLayout?: boolean,\n}\n\nconst NotFoundPage = ({ displayPageLayout }: Props) => {\n const description = (\n <>\n

    The party gorilla was just here, but had another party to rock.

    \n

    Oh, party gorilla! How we miss you! Will we ever see you again?

    \n \n );\n\n return ();\n};\n\nNotFoundPage.propTypes = {\n displayPageLayout: PropTypes.bool,\n};\n\nNotFoundPage.defaultProps = {\n displayPageLayout: true,\n};\n\nexport default NotFoundPage;\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, { useCallback, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport AppConfig from 'util/AppConfig';\nimport { Icon } from 'components/common';\nimport { Button } from 'components/bootstrap';\nimport ErrorPage from 'components/errors/ErrorPage';\nimport SupportSources from 'components/support/SupportSources';\nimport ClipboardButton from 'components/common/ClipboardButton';\n\nconst ToggleDetails = styled.div`\n font-weight: normal;\n`;\n\nconst description = (\n <>\n

    It seems like the page you navigated to contained an error.

    \n

    You can use the navigation to reach other parts of the product, refresh the page or submit an error report.

    \n \n);\n\ntype Props = {\n error: Error,\n componentStack: string,\n}\n\nconst RuntimeErrorPage = ({ error, componentStack }: Props) => {\n const [showDetails, setShowDetails] = useState(AppConfig.gl2DevMode());\n const errorDetails = `\\n\\nStack Trace:\\n\\n${error.stack}\\n\\nComponent Stack:\\n${componentStack}`;\n\n const _toggleDetails = useCallback((e: React.MouseEvent) => {\n e.preventDefault();\n setShowDetails((cur) => !cur);\n }, []);\n\n return (\n \n
    \n \n
    \n
    \n
    \n Error:\n \n \n \n
    \n
    \n
    \n            
    \n }\n bsSize=\"sm\"\n text={`${error.message}\\n${errorDetails}`}\n buttonTitle=\"Copy error details to clipboard\" />\n
    \n {error.message}\n {showDetails && errorDetails}\n
    \n
    \n
    \n
    \n );\n};\n\nRuntimeErrorPage.propTypes = {\n error: PropTypes.shape({\n message: PropTypes.string.isRequired,\n stack: PropTypes.string,\n }).isRequired,\n componentStack: PropTypes.string.isRequired,\n};\n\nexport default RuntimeErrorPage;\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 type FetchError from 'logic/errors/FetchError';\n\nimport UnauthorizedErrorPage from './UnauthorizedErrorPage';\n\ntype Props = {\n error: FetchError | undefined | null,\n missingStreamIds: string[],\n};\n\nconst StreamPermissionErrorPage = ({ error, missingStreamIds = [] }: Props) => {\n const description = (\n <>\n

    This resource includes streams you do not have permissions for.

    \n

    Please contact your administrator and provide the error details which include a list of streams you need access to.

    \n \n );\n const streamIds = missingStreamIds.length > 0\n ? missingStreamIds\n : error?.additional?.body?.streams;\n const errorDetails = streamIds?.length > 0 ? `You need permissions for streams with the id: ${streamIds.join(', ')}.` : undefined;\n\n return (\n \n );\n};\n\nStreamPermissionErrorPage.propTypes = {\n error: PropTypes.shape({\n message: PropTypes.string.isRequired,\n additional: PropTypes.shape({\n body: PropTypes.shape({\n streams: PropTypes.arrayOf(PropTypes.string),\n }),\n }),\n }).isRequired,\n missingStreamIds: PropTypes.arrayOf(PropTypes.string),\n};\n\nStreamPermissionErrorPage.defaultProps = {\n missingStreamIds: [],\n};\n\nexport default StreamPermissionErrorPage;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\n\nimport type FetchError from 'logic/errors/FetchError';\nimport { Icon, ClipboardButton } from 'components/common';\nimport ErrorPage from 'components/errors/ErrorPage';\nimport withLocation from 'routing/withLocation';\nimport type { Location } from 'routing/withLocation';\n\nconst createErrorMessageString = (errorDetails: string | null | undefined, pageDetails: string, errorMessage: string) => {\n const defaultText = `${pageDetails}\\n${errorMessage}`;\n\n if (errorDetails) {\n return `${errorDetails}\\n${defaultText}`;\n }\n\n return defaultText;\n};\n\ntype Props = {\n description?: React.ReactNode,\n error: FetchError,\n errorDetails?: string,\n location: Location,\n title?: string,\n};\n\nconst UnauthorizedErrorPage = ({ error, errorDetails, title, description, location: { pathname } }: Props) => {\n const errorMessage = error?.message || JSON.stringify(error);\n const pageDetails = `The permissions check for the following request failed,\\nwhile trying to access ${pathname}.`;\n const defaultDescription = (\n <>\n

    You do not have the required permissions to view this resource.

    \n

    Please contact your administrator and provide the error details.

    \n \n );\n const errorMessageString = createErrorMessageString(errorDetails, pageDetails, errorMessage);\n\n return (\n \n
    \n
    \n
    \n            
    \n }\n bsSize=\"sm\"\n text={errorMessageString}\n buttonTitle=\"Copy error details to clipboard\" />\n
    \n {errorDetails && (\n

    \n {errorDetails}\n

    \n )}\n

    \n {pageDetails}\n

    \n

    \n {errorMessage}\n

    \n
    \n
    \n
    \n
    \n );\n};\n\nUnauthorizedErrorPage.propTypes = {\n description: PropTypes.element,\n errorDetails: PropTypes.string,\n title: PropTypes.string,\n};\n\nUnauthorizedErrorPage.defaultProps = {\n description: undefined,\n errorDetails: undefined,\n title: 'Missing Permissions',\n};\n\nexport default withLocation(UnauthorizedErrorPage);\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 Qs from 'qs';\n\nimport type { TimeRange } from 'views/logic/queries/Query';\n\ntype SearchQueryString = {\n query: string,\n limit?: number,\n offset?: number,\n sort?: `${string}:${'asc' | 'desc'}`,\n decorate?: boolean,\n fields?: string,\n filter?: string,\n} & Partial;\n\nconst ApiRoutes = {\n AlarmCallbacksApiController: {\n available: () => ({ url: '/alerts/callbacks/types' }),\n create: (streamId: string) => ({ url: `/streams/${streamId}/alarmcallbacks` }),\n delete: (streamId: string, alarmCallbackId: string) => ({ url: `/streams/${streamId}/alarmcallbacks/${alarmCallbackId}` }),\n listAll: () => ({ url: '/alerts/callbacks' }),\n list: (streamId: string) => ({ url: `/streams/${streamId}/alarmcallbacks` }),\n testAlert: (alarmCallbackId: string) => ({ url: `/alerts/callbacks/${alarmCallbackId}/test` }),\n update: (streamId: string, alarmCallbackId: string) => ({ url: `/streams/${streamId}/alarmcallbacks/${alarmCallbackId}` }),\n },\n AlarmCallbackHistoryApiController: {\n list: (streamId: string, alertId: string) => ({ url: `/streams/${streamId}/alerts/${alertId}/history` }),\n },\n AuthenticationController: {\n create: () => ({ url: '/system/authentication/services/backends' }),\n delete: (backendId: string) => ({ url: `/system/authentication/services/backends/${backendId}` }),\n disableUser: (userId: string) => ({ url: `/system/authentication/users/${userId}/disable` }),\n enableUser: (userId: string) => ({ url: `/system/authentication/users/${userId}/enable` }),\n load: (serviceId: string) => ({ url: `/system/authentication/services/backends/${serviceId}` }),\n loadActive: () => ({ url: '/system/authentication/services/active-backend' }),\n loadUsersPaginated: (authBackendId: string) => ({ url: `/system/authentication/services/backends/${authBackendId}/users` }),\n loadActiveBackendType: () => ({ url: '/system/authentication/services/backends/active-backend/type' }),\n servicesPaginated: () => ({ url: '/system/authentication/services/backends' }),\n testConnection: () => ({ url: '/system/authentication/services/test/backend/connection' }),\n testLogin: () => ({ url: '/system/authentication/services/test/backend/login' }),\n update: (serviceId: string) => ({ url: `/system/authentication/services/backends/${serviceId}` }),\n updateConfiguration: () => ({ url: '/system/authentication/services/configuration' }),\n },\n AuthzRolesController: {\n load: (roleId: string) => ({ url: `/authz/roles/${roleId}` }),\n delete: (roleId: string) => ({ url: `/authz/roles/${roleId}` }),\n list: () => ({ url: '/authz/roles' }),\n removeMember: (roleId: string, username: string) => ({ url: `/authz/roles/${roleId}/assignee/${username}` }),\n addMembers: (roleId: string) => ({ url: `/authz/roles/${roleId}/assignees` }),\n loadRolesForUser: (username: string) => ({ url: `/authz/roles/user/${username}` }),\n loadUsersForRole: (roleId: string) => ({ url: `/authz/roles/${roleId}/assignees` }),\n },\n CatalogsController: {\n showEntityIndex: () => ({ url: '/system/catalog' }),\n queryEntities: () => ({ url: '/system/catalog' }),\n },\n CodecTypesController: {\n list: () => ({ url: '/system/codecs/types/all' }),\n },\n ContentPacksController: {\n list: () => ({ url: '/system/content_packs/latest' }),\n get: (contentPackId: string) => ({ url: `/system/content_packs/${contentPackId}` }),\n getRev: (contentPackId: string, revision: string) => ({ url: `/system/content_packs/${contentPackId}/${revision}` }),\n downloadRev: (contentPackId: string, revision: number) => ({ url: `/system/content_packs/${contentPackId}/${revision}/download` }),\n create: () => ({ url: '/system/content_packs' }),\n delete: (contentPackId: string) => ({ url: `/system/content_packs/${contentPackId}` }),\n deleteRev: (contentPackId: string, revision: string) => ({ url: `/system/content_packs/${contentPackId}/${revision}` }),\n install: (contentPackId: string, revision: string) => ({ url: `/system/content_packs/${contentPackId}/${revision}/installations` }),\n installList: (contentPackId: string) => ({ url: `/system/content_packs/${contentPackId}/installations` }),\n uninstall: (contentPackId: string, installId: string) => ({ url: `/system/content_packs/${contentPackId}/installations/${installId}` }),\n uninstallDetails: (contentPackId: string, installId: string) => ({ url: `/system/content_packs/${contentPackId}/installations/${installId}/uninstall_details` }),\n },\n CountsApiController: {\n total: () => ({ url: '/count/total' }),\n indexSetTotal: (indexSetId: string) => ({ url: `/count/${indexSetId}/total` }),\n },\n ClusterApiResource: {\n list: () => ({ url: '/system/cluster/nodes' }),\n node: () => ({ url: '/system/cluster/node' }),\n elasticsearchStats: () => ({ url: '/system/cluster/stats/elasticsearch' }),\n },\n ClusterConfigResource: {\n config: () => ({ url: '/system/cluster_config' }),\n },\n GrokPatternsController: {\n test: () => ({ url: '/system/grok/test' }),\n paginated: () => ({ url: '/system/grok/paginated' }),\n },\n DashboardsApiController: {\n create: () => ({ url: '/dashboards' }),\n index: () => ({ url: '/dashboards' }),\n get: (id) => ({ url: `/dashboards/${id}` }),\n delete: (id) => ({ url: `/dashboards/${id}` }),\n update: (id) => ({ url: `/dashboards/${id}` }),\n addWidget: (id) => ({ url: `/dashboards/${id}/widgets` }),\n removeWidget: (dashboardId: string, widgetId: string) => ({ url: `/dashboards/${dashboardId}/widgets/${widgetId}` }),\n widget: (dashboardId: string, widgetId: string) => ({ url: `/dashboards/${dashboardId}/widgets/${widgetId}` }),\n updateWidget: (dashboardId: string, widgetId: string) => ({ url: `/dashboards/${dashboardId}/widgets/${widgetId}` }),\n widgetValue: (dashboardId: string, widgetId: string) => ({ url: `/dashboards/${dashboardId}/widgets/${widgetId}/value` }),\n updatePositions: (dashboardId: string) => ({ url: `/dashboards/${dashboardId}/positions` }),\n },\n DecoratorsResource: {\n available: () => ({ url: '/search/decorators/available' }),\n create: () => ({ url: '/search/decorators' }),\n get: () => ({ url: '/search/decorators' }),\n remove: (decoratorId: string) => ({ url: `/search/decorators/${decoratorId}` }),\n update: (decoratorId: string) => ({ url: `/search/decorators/${decoratorId}` }),\n },\n DeflectorApiController: {\n cycle: (indexSetId: string) => ({ url: `/cluster/deflector/${indexSetId}/cycle` }),\n list: (indexSetId: string) => ({ url: `/system/deflector/${indexSetId}` }),\n },\n EntityScopeController: {\n getScope: () => ({ url: '/entity_scopes' }),\n },\n EntityShareController: {\n prepare: (entityGRN: string) => ({ url: `/authz/shares/entities/${entityGRN}/prepare` }),\n update: (entityGRN: string) => ({ url: `/authz/shares/entities/${entityGRN}` }),\n userSharesPaginated: (username: string) => ({ url: `/authz/shares/user/${username}` }),\n entityScopes: () => ({ url: '/entity_scopes' }),\n },\n EventDefinitionsApiController: {\n list: () => ({ url: '/events/definitions' }),\n paginated: () => ({ url: '/events/definitions/paginated' }),\n get: (definitionId: string) => ({ url: `/events/definitions/${definitionId}` }),\n create: () => ({ url: '/events/definitions' }),\n bulkDelete: () => ({ url: '/events/definitions/bulk_delete' }),\n bulkSchedule: () => ({ url: '/events/definitions/bulk_schedule' }),\n bulkUnschedule: () => ({ url: '/events/definitions/bulk_unschedule' }),\n update: (definitionId: string) => ({ url: `/events/definitions/${definitionId}` }),\n delete: (definitionId: string) => ({ url: `/events/definitions/${definitionId}` }),\n },\n EventNotificationsApiController: {\n list: () => ({ url: '/events/notifications' }),\n paginated: () => ({ url: '/events/notifications/paginated' }),\n get: (definitionId: string) => ({ url: `/events/notifications/${definitionId}` }),\n create: () => ({ url: '/events/notifications' }),\n bulkDelete: () => ({ url: '/events/notifications/bulk_delete' }),\n bulkSchedule: () => ({ url: '/events/notifications/bulk_schedule' }),\n bulkUnschedule: () => ({ url: '/events/notifications/bulk_unschedule' }),\n update: (definitionId: string) => ({ url: `/events/notifications/${definitionId}` }),\n delete: (definitionId: string) => ({ url: `/events/notifications/${definitionId}` }),\n },\n HTTPHeaderAuthConfigController: {\n load: () => ({ url: '/system/authentication/http-header-auth-config' }),\n update: () => ({ url: '/system/authentication/http-header-auth-config' }),\n },\n IndexerClusterApiController: {\n health: () => ({ url: '/system/indexer/cluster/health' }),\n name: () => ({ url: '/system/indexer/cluster/name' }),\n },\n IndexerFailuresApiController: {\n count: (since: number) => ({ url: `/system/indexer/failures/count?since=${since}` }),\n list: (limit: number, offset: number) => ({ url: `/system/indexer/failures?limit=${limit}&offset=${offset}` }),\n },\n IndexerOverviewApiResource: {\n list: (indexSetId: string) => ({ url: `/system/indexer/overview/${indexSetId}` }),\n },\n IndexRangesApiController: {\n list: () => ({ url: '/system/indices/ranges' }),\n rebuild: (indexSetId: string) => ({ url: `/system/indices/ranges/index_set/${indexSetId}/rebuild` }),\n rebuildSingle: (index: string) => ({ url: `/system/indices/ranges/${index}/rebuild` }),\n },\n IndexSetsApiController: {\n list: (stats) => ({ url: `/system/indices/index_sets?stats=${stats}` }),\n listPaginated: (skip, limit, stats) => ({ url: `/system/indices/index_sets?skip=${skip}&limit=${limit}&stats=${stats}` }),\n get: (indexSetId: string) => ({ url: `/system/indices/index_sets/${indexSetId}` }),\n create: () => ({ url: '/system/indices/index_sets' }),\n delete: (indexSetId: string, deleteIndices) => ({ url: `/system/indices/index_sets/${indexSetId}?delete_indices=${deleteIndices}` }),\n searchPaginated: (searchTerm, skip, limit, stats) => ({ url: `/system/indices/index_sets/search?searchTitle=${searchTerm}&skip=${skip}&limit=${limit}&stats=${stats}` }),\n setDefault: (indexSetId: string) => ({ url: `/system/indices/index_sets/${indexSetId}/default` }),\n stats: () => ({ url: '/system/indices/index_sets/stats' }),\n },\n IndicesApiController: {\n close: (indexName: string) => ({ url: `/system/indexer/indices/${indexName}/close` }),\n delete: (indexName: string) => ({ url: `/system/indexer/indices/${indexName}` }),\n list: (indexSetId: string) => ({ url: `/system/indexer/indices/${indexSetId}/list` }),\n listAll: () => ({ url: '/system/indexer/indices' }),\n listClosed: (indexSetId: string) => ({ url: `/system/indexer/indices/${indexSetId}/closed` }),\n multiple: () => ({ url: '/system/indexer/indices/multiple' }),\n reopen: (indexName: string) => ({ url: `/system/indexer/indices/${indexName}/reopen` }),\n },\n InputsApiController: {\n list: () => ({ url: '/system/inputs' }),\n get: (id: string) => ({ url: `/system/inputs/${id}` }),\n globalRecentMessage: (inputId: string) => ({ url: `/${inputId}` }),\n },\n InputStatesController: {\n start: (inputId: string) => ({ url: `/system/inputstates/${inputId}` }),\n stop: (inputId: string) => ({ url: `/system/inputstates/${inputId}` }),\n },\n ClusterInputStatesController: {\n list: () => ({ url: '/cluster/inputstates' }),\n start: (inputId: string) => ({ url: `/cluster/inputstates/${inputId}` }),\n stop: (inputId: string) => ({ url: `/cluster/inputstates/${inputId}` }),\n },\n ClusterLoggersResource: {\n loggers: () => ({ url: '/cluster/system/loggers' }),\n subsystems: () => ({ url: '/cluster/system/loggers/subsystems' }),\n setSubsystemLoggerLevel: (nodeId: string, subsystem: string, loglevel: string) => ({ url: `/cluster/system/loggers/${nodeId}/subsystems/${subsystem}/level/${loglevel}` }),\n },\n ClusterSupportBundleController: {\n delete: (filename: string) => ({ url: `/cluster/debug/support/bundle/${filename}` }),\n download: (filename: string) => ({ url: `/cluster/debug/support/bundle/download/${filename}` }),\n list: () => ({ url: '/cluster/debug/support/bundle/list' }),\n create: () => ({ url: '/cluster/debug/support/bundle/build' }),\n },\n MessageFieldsApiController: {\n list: () => ({ url: '/system/fields' }),\n types: () => ({ url: 'views/fields' }),\n },\n MetricsApiController: {\n multiple: () => ({ url: '/system/metrics/multiple' }),\n byNamespace: (namespace: string) => ({ url: `/system/metrics/namespace/${namespace}` }),\n },\n ClusterMetricsApiController: {\n multiple: (nodeId: string) => ({ url: `/cluster/${nodeId}/metrics/multiple` }),\n multipleAllNodes: () => ({ url: '/cluster/metrics/multiple' }),\n byNamespace: (nodeId: string, namespace: string) => ({ url: `/cluster/${nodeId}/metrics/namespace/${namespace}` }),\n },\n NotificationsApiController: {\n delete: (type: string) => ({ url: `/system/notifications/${type}` }),\n deleteWithKey: (type: string, key: string) => ({ url: `/system/notifications/${type}/${key}` }),\n list: () => ({ url: '/system/notifications' }),\n getHtmlMessage: (type: string) => ({ url: `/system/notification/message/html/${type.toLocaleUpperCase()}` }),\n getHtmlMessageWithKey: (type: string, key: string) => ({ url: `/system/notification/message/html/${type.toLocaleUpperCase()}/${key}` }),\n },\n OutputsApiController: {\n index: () => ({ url: '/system/outputs' }),\n create: () => ({ url: '/system/outputs' }),\n delete: (outputId: string) => ({ url: `/system/outputs/${outputId}` }),\n update: (outputId: string) => ({ url: `/system/outputs/${outputId}` }),\n availableType: (type: string) => ({ url: `/system/outputs/available/${type}` }),\n availableTypes: () => ({ url: '/system/outputs/available' }),\n },\n RolesApiController: {\n listRoles: () => ({ url: '/roles' }),\n createRole: () => ({ url: '/roles' }),\n updateRole: (rolename: string) => ({ url: `/roles/${rolename}` }),\n deleteRole: (rolename: string) => ({ url: `/roles/${rolename}` }),\n loadMembers: (rolename: string) => ({ url: `/roles/${rolename}/members` }),\n },\n SavedSearchesApiController: {\n create: () => ({ url: '/search/saved' }),\n delete: (savedSearchId: string) => ({ url: `/search/saved/${savedSearchId}` }),\n update: (savedSearchId: string) => ({ url: `/search/saved/${savedSearchId}` }),\n },\n SessionsApiController: {\n validate: () => ({ url: '/system/sessions' }),\n },\n StreamsApiController: {\n index: () => ({ url: '/streams' }),\n paginated: () => ({ url: '/streams/paginated' }),\n get: (streamId: string) => ({ url: `/streams/${streamId}` }),\n bulk_delete: () => ({ url: '/streams/bulk_delete' }),\n bulk_resume: () => ({ url: '/streams/bulk_resume' }),\n bulk_pause: () => ({ url: '/streams/bulk_pause' }),\n create: () => ({ url: '/streams' }),\n update: (streamId: string) => ({ url: `/streams/${streamId}` }),\n cloneStream: (streamId: string) => ({ url: `/streams/${streamId}/clone` }),\n delete: (streamId: string) => ({ url: `/streams/${streamId}` }),\n pause: (streamId: string) => ({ url: `/streams/${streamId}/pause` }),\n resume: (streamId: string) => ({ url: `/streams/${streamId}/resume` }),\n testMatch: (streamId: string) => ({ url: `/streams/${streamId}/testMatch` }),\n },\n StreamOutputsApiController: {\n add: (streamId: string) => ({ url: `/streams/${streamId}/outputs` }),\n index: (streamId: string) => ({ url: `/streams/${streamId}/outputs` }),\n delete: (streamId: string, outputId: string) => ({ url: `/streams/${streamId}/outputs/${outputId}` }),\n },\n StreamRulesApiController: {\n delete: (streamId: string, streamRuleId: string) => ({ url: `/streams/${streamId}/rules/${streamRuleId}` }),\n update: (streamId: string, streamRuleId: string) => ({ url: `/streams/${streamId}/rules/${streamRuleId}` }),\n create: (streamId: string) => ({ url: `/streams/${streamId}/rules` }),\n },\n SystemApiController: {\n info: () => ({ url: '/system' }),\n jvm: () => ({ url: '/system/jvm' }),\n fields: () => ({ url: '/system/fields' }),\n locales: () => ({ url: '/system/locales' }),\n },\n SystemJobsApiController: {\n list: () => ({ url: '/cluster/jobs' }),\n getJob: (jobId: string) => ({ url: `/cluster/jobs/${jobId}` }),\n acknowledgeJob: (jobId: string) => ({ url: `/system/jobs/acknowledge/${jobId}` }),\n cancelJob: (jobId: string) => ({ url: `/cluster/jobs/${jobId}` }),\n },\n SystemMessagesApiController: {\n all: (page: number) => ({ url: `/system/messages?page=${page}` }),\n },\n SystemSearchVersionApiController: {\n satisfiesVersion: (distribution: 'opensearch' | 'elasticsearch', version?: string) => ({ url: `/system/searchVersion/satisfiesVersion/${distribution}${version ? `?version=${version}` : ''}` }),\n },\n ToolsApiController: {\n grokTest: () => ({ url: '/tools/grok_tester' }),\n jsonTest: () => ({ url: '/tools/json_tester' }),\n naturalDateTest: (string, timezone) => ({ url: `/tools/natural_date_tester?string=${string}&timezone=${timezone}` }),\n regexTest: () => ({ url: '/tools/regex_tester' }),\n regexValidate: (regex: string) => ({ url: `/tools/regex_tester/validate?regex=${regex}` }),\n regexReplaceTest: () => ({ url: '/tools/regex_replace_tester' }),\n splitAndIndexTest: () => ({ url: '/tools/split_and_index_tester' }),\n substringTest: () => ({ url: '/tools/substring_tester' }),\n containsStringTest: () => ({ url: '/tools/contains_string_tester' }),\n lookupTableTest: () => ({ url: '/tools/lookup_table_tester' }),\n urlWhitelistCheck: () => ({ url: '/system/urlwhitelist/check' }),\n urlWhitelistGenerateRegex: () => ({ url: '/system/urlwhitelist/generate_regex' }),\n },\n TelemetryApiController: {\n info: () => ({ url: '/telemetry' }),\n setting: () => ({ url: '/telemetry/user/settings' }),\n },\n UniversalSearchApiController: {\n _streamFilter(streamId: string) {\n return (streamId ? { filter: `streams:${streamId}` } : {});\n },\n _buildBaseQueryString(query: string, timerange: TimeRange, streamId): SearchQueryString {\n const queryString: Partial = {};\n\n const streamFilter = this._streamFilter(streamId);\n\n queryString.query = query;\n\n Object.keys(timerange).forEach((key) => {\n queryString[key] = timerange[key];\n });\n\n Object.keys(streamFilter).forEach((key) => {\n queryString[key] = streamFilter[key];\n });\n\n return queryString as SearchQueryString;\n },\n _buildUrl(url: string, queryString: SearchQueryString) {\n return `${url}?${Qs.stringify(queryString)}`;\n },\n search(type: string, query: string, timerange: TimeRange, streamId: string, limit: number, offset: number, sortField: string, sortOrder: 'asc' | 'desc', decorate: boolean) {\n const url = `/search/universal/${type}`;\n const queryString = this._buildBaseQueryString(query, timerange, streamId);\n\n if (limit) {\n queryString.limit = limit;\n }\n\n if (offset) {\n queryString.offset = offset;\n }\n\n if (sortField && sortOrder) {\n queryString.sort = `${sortField}:${sortOrder}`;\n }\n\n if (decorate !== undefined) {\n queryString.decorate = decorate;\n }\n\n return { url: this._buildUrl(url, queryString) };\n },\n export(type: string, query: string, timerange: TimeRange, streamId: string, limit: number, offset: number, fields: Array) {\n const url = `/search/universal/${type}/export`;\n const queryString = this._buildBaseQueryString(query, timerange, streamId);\n\n if (limit) {\n queryString.limit = limit;\n }\n\n if (offset) {\n queryString.offset = offset;\n }\n\n if (fields) {\n queryString.fields = fields.join(',');\n }\n\n return { url: this._buildUrl(url, queryString) };\n },\n },\n UsersApiController: {\n changePassword: (userId: string) => ({ url: `/users/${userId}/password` }),\n create: () => ({ url: '/users' }),\n list: () => ({ url: '/users' }),\n paginated: () => ({ url: '/users/paginated' }),\n load: (userId: string) => ({ url: `/users/id/${userId}` }),\n loadByUsername: (username: string) => ({ url: `/users/${username}` }),\n delete: (id: string) => ({ url: `/users/id/${id}` }),\n update: (userId: string) => ({ url: `/users/${userId}` }),\n create_token: (userId: string, tokenName: string) => ({ url: `/users/${userId}/tokens/${tokenName}` }),\n delete_token: (userId: string, tokenName: string) => ({ url: `/users/${userId}/tokens/${tokenName}` }),\n list_tokens: (userId: string) => ({ url: `/users/${userId}/tokens` }),\n setStatus: (userId: string, accountStatus) => ({ url: `/users/${userId}/status/${accountStatus}` }),\n },\n DashboardsController: {\n show: (id) => ({ url: `/dashboards/${id}` }),\n },\n ExtractorsController: {\n create: (inputId: string) => ({ url: `/system/inputs/${inputId}/extractors` }),\n delete: (inputId: string, extractorId: string) => ({ url: `/system/inputs/${inputId}/extractors/${extractorId}` }),\n order: (inputId: string) => ({ url: `/system/inputs/${inputId}/extractors/order` }),\n update: (inputId: string, extractorId: string) => ({ url: `/system/inputs/${inputId}/extractors/${extractorId}` }),\n },\n MessagesController: {\n analyze: (index: string, string: string) => ({ url: `/messages/${index}/analyze?string=${string}` }),\n parse: () => ({ url: '/messages/parse' }),\n single: (index: string, messageId: string) => ({ url: `/messages/${index}/${messageId}` }),\n exportSearch: ((searchId: string) => ({ url: `/views/search/messages/${searchId}` })),\n exportSearchType: ((searchId: string, searchTypeId: string) => ({ url: `/views/search/messages/${searchId}/${searchTypeId}` })),\n jobResults: ((exportJobId: string, filename: string) => ({ url: `/views/search/messages/job/${exportJobId}/${filename}` })),\n },\n ExportJobsController: {\n exportSearch: ((searchId: string) => ({ url: `/views/export/${searchId}` })),\n exportSearchType: ((searchId: string, searchTypeId: string) => ({ url: `/views/export/${searchId}/${searchTypeId}` })),\n },\n MapDataController: {\n search: () => ({ url: '/search/mapdata' }),\n },\n PipelinesController: {\n list: () => ({ url: '/system/pipelines/pipeline' }),\n paginatedList: () => ({ url: '/system/pipelines/pipeline/paginated' }),\n create: () => ({ url: '/system/pipelines/pipeline' }),\n get: (pipelineId: string) => ({ url: `/system/pipelines/pipeline/${pipelineId}` }),\n update: (pipelineId: string) => ({ url: `/system/pipelines/pipeline/${pipelineId}` }),\n delete: (pipelineId: string) => ({ url: `/system/pipelines/pipeline/${pipelineId}` }),\n parse: () => ({ url: '/system/pipelines/pipeline/parse' }),\n },\n RulesController: {\n list: () => ({ url: '/system/pipelines/rule' }),\n paginatedList: () => ({ url: '/system/pipelines/rule/paginated' }),\n create: () => ({ url: '/system/pipelines/rule' }),\n get: (ruleId: string) => ({ url: `/system/pipelines/rule/${ruleId}` }),\n update: (ruleId: string) => ({ url: `/system/pipelines/rule/${ruleId}` }),\n delete: (ruleId: string) => ({ url: `/system/pipelines/rule/${ruleId}` }),\n multiple: () => ({ url: '/system/pipelines/rule/multiple' }),\n functions: () => ({ url: '/system/pipelines/rule/functions' }),\n parse: () => ({ url: '/system/pipelines/rule/parse' }),\n simulate: () => ({ url: '/system/pipelines/rule/simulate' }),\n metricsConfig: () => ({ url: '/system/pipelines/rule/config/metrics' }),\n },\n RuleBuilderController: {\n create: () => ({ url: '/system/pipelines/rulebuilder' }),\n update: (ruleId: string) => ({ url: `/system/pipelines/rulebuilder/${ruleId}` }),\n validate: () => ({ url: '/system/pipelines/rulebuilder/validate' }),\n simulate: () => ({ url: '/system/pipelines/rulebuilder/simulate' }),\n listConditionsDict: () => ({ url: '/system/pipelines/rulebuilder/conditions' }),\n listActionsDict: () => ({ url: '/system/pipelines/rulebuilder/actions' }),\n },\n ConnectionsController: {\n list: () => ({ url: '/system/pipelines/connections' }),\n to_stream: () => ({ url: '/system/pipelines/connections/to_stream' }),\n to_pipeline: () => ({ url: '/system/pipelines/connections/to_pipeline' }),\n },\n SimulatorController: {\n simulate: () => ({ url: '/system/pipelines/simulate' }),\n },\n ping: () => ({ url: '/' }),\n};\n\nexport default ApiRoutes;\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 { createContext, useState, useMemo } from 'react';\nimport PropTypes from 'prop-types';\n\nimport Store from 'logic/local-storage/Store';\nimport useHotkey from 'hooks/useHotkey';\n\nexport const ScratchpadContext = createContext(undefined);\n\ntype Props = {\n children: React.ReactNode,\n loginName: string,\n}\n\nexport const ScratchpadProvider = ({ children, loginName }: Props) => {\n const localStorageItem = `gl-scratchpad-${loginName}`;\n const scratchpadStore = Store.get(localStorageItem) || {};\n const [isScratchpadVisible, setVisibility] = useState(scratchpadStore.opened || false);\n\n const scratchpadContextValue = useMemo(() => {\n const toggleScratchpadVisibility = () => {\n const currentStorage = Store.get(localStorageItem);\n\n Store.set(localStorageItem, { ...currentStorage, opened: !isScratchpadVisible });\n setVisibility(!isScratchpadVisible);\n };\n\n const setScratchpadVisibility = (opened: boolean) => {\n const currentStorage = Store.get(localStorageItem);\n\n Store.set(localStorageItem, { ...currentStorage, opened });\n setVisibility(opened);\n };\n\n return {\n isScratchpadVisible,\n localStorageItem,\n setScratchpadVisibility,\n toggleScratchpadVisibility,\n };\n }, [\n isScratchpadVisible,\n localStorageItem,\n ]);\n\n useHotkey({\n actionKey: 'show-scratchpad-modal',\n callback: () => {\n setVisibility(true);\n },\n scope: 'general',\n });\n\n return (\n \n {children}\n \n );\n};\n\nScratchpadProvider.propTypes = {\n children: PropTypes.node.isRequired,\n loginName: PropTypes.string.isRequired,\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, { useContext, useState, useEffect, useRef } from 'react';\nimport styled, { css } from 'styled-components';\nimport chroma from 'chroma-js';\nimport ClipboardJS from 'clipboard';\nimport debounce from 'lodash/debounce';\n\nimport { OverlayTrigger } from 'components/common';\nimport { Alert, Button, ButtonGroup, Tooltip, BootstrapModalConfirm } from 'components/bootstrap';\nimport { ScratchpadContext } from 'contexts/ScratchpadProvider';\nimport InteractableModal from 'components/common/InteractableModal';\nimport Icon from 'components/common/Icon';\nimport Store from 'logic/local-storage/Store';\nimport useHotkey from 'hooks/useHotkey';\nimport copyToClipboard from 'util/copyToClipboard';\n\nconst DEFAULT_SCRATCHDATA = '';\nconst TEXTAREA_ID = 'scratchpad-text-content';\nconst STATUS_CLEARED = 'Cleared.';\nconst STATUS_COPIED = 'Copied!';\nconst STATUS_AUTOSAVED = 'Auto saved.';\nconst STATUS_DEFAULT = '';\n\ntype Position = { x: number, y: number };\ntype ScratchpadSize = { width: string, height: string }\n\nconst ContentArea = styled.div`\n display: flex;\n flex-direction: column;\n height: 100%;\n`;\n\nconst Textarea = styled.textarea<{ $copied: boolean }>(({ $copied, theme }) => css`\n width: 100%;\n padding: 3px;\n resize: none;\n flex: 1;\n margin: 15px 0 7px;\n border: 1px solid ${$copied ? theme.colors.variant.success : theme.colors.variant.lighter.default};\n box-shadow: inset 1px 1px 1px rgb(0 0 0 / 7.5%)${$copied && `, 0 0 8px ${chroma(theme.colors.variant.success).alpha(0.4).css()}`};\n transition: border 150ms ease-in-out, box-shadow 150ms ease-in-out;\n font-family: ${theme.fonts.family.monospace};\n font-size: ${theme.fonts.size.body};\n\n &:focus {\n border-color: ${theme.colors.variant.light.info};\n outline: none;\n }\n`);\n\nconst StyledAlert = styled(Alert)`\n && {\n padding: 6px 12px;\n margin: 6px 0 0;\n display: flex;\n align-items: center;\n }\n`;\n\nconst AlertNote = styled.em`\n margin-left: 6px;\n flex: 1;\n`;\n\nconst Footer = styled.footer(({ theme }) => css`\n display: flex;\n align-items: center;\n padding: 7px 0 9px;\n border-top: 1px solid ${theme.colors.gray[80]};\n`);\n\nconst StatusMessage = styled.span<{ $visible: boolean }>(({ theme, $visible }) => css`\n flex: 1;\n color: ${theme.colors.variant.success};\n font-style: italic;\n opacity: ${$visible ? '1' : '0'};\n transition: opacity 150ms ease-in-out;\n`);\n\nconst Scratchpad = () => {\n const clipboard = useRef();\n const textareaRef = useRef();\n const statusTimeout = useRef>();\n const { setScratchpadVisibility, localStorageItem } = useContext(ScratchpadContext);\n const scratchpadStore = Store.get(localStorageItem) || {};\n const [isSecurityWarningConfirmed, setSecurityWarningConfirmed] = useState(scratchpadStore.securityConfirmed || false);\n const [scratchData, setScratchData] = useState(scratchpadStore.value || DEFAULT_SCRATCHDATA);\n const [size, setSize] = useState(scratchpadStore.size || undefined);\n const [position, setPosition] = useState(scratchpadStore.position || undefined);\n const [statusMessage, setStatusMessage] = useState(STATUS_DEFAULT);\n const [showStatusMessage, setShowStatusMessage] = useState(false);\n const [showModal, setShowModal] = useState(false);\n\n const writeData = (newData: Record) => {\n const currentStorage = Store.get(localStorageItem);\n\n Store.set(localStorageItem, { ...currentStorage, ...newData });\n };\n\n const resetStatusTimer = () => {\n if (statusTimeout.current) {\n clearTimeout(statusTimeout.current);\n }\n\n statusTimeout.current = setTimeout(() => {\n setShowStatusMessage(false);\n }, 1000);\n };\n\n const updateStatusMessage = (message: string) => {\n setStatusMessage(message);\n setShowStatusMessage(true);\n resetStatusTimer();\n };\n\n const handleChange = debounce(() => {\n const { value } = textareaRef.current;\n\n setScratchData(value);\n updateStatusMessage(STATUS_AUTOSAVED);\n writeData({ value });\n }, 500);\n\n const handleDrag = (newPosition: Position) => {\n setPosition(newPosition);\n writeData({ position: newPosition });\n };\n\n const handleSize = (newSize: ScratchpadSize) => {\n setSize(newSize);\n writeData({ size: newSize });\n };\n\n const handleGotIt = () => {\n setSecurityWarningConfirmed(true);\n writeData({ securityConfirmed: true });\n };\n\n const openConfirmClear = () => {\n setShowModal(true);\n };\n\n const handleCancelClear = () => {\n setShowModal(false);\n };\n\n const handleClearText = () => {\n setScratchData(DEFAULT_SCRATCHDATA);\n writeData({ value: DEFAULT_SCRATCHDATA });\n handleCancelClear();\n updateStatusMessage(STATUS_CLEARED);\n };\n\n useEffect(() => {\n clipboard.current = new ClipboardJS('[data-clipboard-button]', {});\n\n clipboard.current.on('success', () => {\n updateStatusMessage(STATUS_COPIED);\n });\n\n return () => {\n clipboard.current.destroy();\n\n if (statusTimeout.current) {\n clearTimeout(statusTimeout.current);\n }\n };\n });\n\n useEffect(() => {\n if (textareaRef.current) {\n textareaRef.current.focus();\n textareaRef.current.value = scratchData;\n }\n }, [scratchData]);\n\n useHotkey({\n actionKey: 'clear',\n scope: 'scratchpad',\n callback: openConfirmClear,\n options: { enableOnFormTags: true, preventDefault: true },\n });\n\n const copyCallback = () => {\n copyToClipboard(scratchData).then(() => updateStatusMessage(STATUS_COPIED));\n };\n\n useHotkey({\n actionKey: 'copy',\n scope: 'scratchpad',\n callback: copyCallback,\n options: { enableOnFormTags: true },\n });\n\n return (\n setScratchpadVisibility(false)}\n onDrag={handleDrag}\n onResize={handleSize}\n size={size}\n position={position}>\n \n {!isSecurityWarningConfirmed && (\n \n \n We recommend you do not store any sensitive information, such as passwords, in\n this area.\n \n \n \n )}\n\n