web-interface.assets.bb8c8232-4115.0680afb687decf754db0.js.map Maven / Gradle / Ivy
{"version":3,"file":"bb8c8232-4115.0680afb687decf754db0.js","mappings":"qTAyBA,MAAMA,KAAoB,WAAOC,EAAA,CAAW;AAAA;AAAA,EA4B5C,EAxB8B,IAAM,CAClC,KAAM,CAAE,mBAAAC,CAAmB,KAAIC,EAAA,GAAkB,EAEjD,OACE,gBAAC,WACC,gBAACH,EAAA,KACE,OAAO,QAAQE,CAAkB,EAAE,IAAI,CAAC,CAACE,EAAOC,CAAU,IAAqC,CAC9F,KAAM,CAAE,MAAAC,EAAO,YAAAC,EAAa,QAAAC,CAAQ,EAAIH,EAClCI,EAAiB,OAAO,QAAQD,CAAO,EAAE,IAAI,CAAC,CAACE,EAAW,CAAE,YAAaC,EAAgB,KAAAC,EAAM,YAAAC,CAAY,CAAC,KAAO,CACvH,UAAW,GACX,SAAU,KACV,eAAgB,KAChB,SAAUH,EACV,eAAAC,EACA,KAAME,GAAA,KAAAA,EAAeD,CACvB,EAAE,EAEF,OAAO,gBAACE,EAAA,EAAuB,CAAC,IAAKV,EAAO,MAAAE,EAAc,YAAAC,EAA0B,eAAAE,CAAA,CAAgC,CACtH,CAAC,CACH,CACF,CAEJ,ECdA,EAf8B,IAC5B,gBAAC,KAAa,CAAC,MAAM,8BACnB,gBAAC,KAAU,CAAC,MAAM,8BAChB,gBAAC,YAAK,8CAEN,CACF,EACA,gBAAC,MAAG,CAAC,UAAU,WACb,gBAAC,MAAG,CAAC,GAAI,IACP,gBAAC,EAAqB,IAAC,CACzB,CACF,CACF,C","sources":["webpack://graylog-web-interface/./src/components/hotkeys/KeyboardShortcutsList.tsx","webpack://graylog-web-interface/./src/pages/KeyboardShortcutsPage.tsx"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\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 useHotkeysContext from 'hooks/useHotkeysContext';\nimport SectionGrid from 'components/common/Section/SectionGrid';\nimport type { HotkeyCollection, ScopeName } from 'contexts/HotkeysContext';\nimport HotkeyCollectionSection from 'components/hotkeys/HotkeyCollectionSection';\nimport { DEFAULT_COMBINATION_KEY, DEFAULT_SPLIT_KEY } from 'hooks/useHotkey';\n\nconst StyledSectionGrid = styled(SectionGrid)`\n margin-top: 10px;\n`;\n\nconst KeyboardShortcutsList = () => {\n const { hotKeysCollections } = useHotkeysContext();\n\n return (\n \n \n {Object.entries(hotKeysCollections).map(([scope, collection]: [ScopeName, HotkeyCollection]) => {\n const { title, description, actions } = collection;\n const sectionActions = Object.entries(actions).map(([actionKey, { description: keyDescription, keys, displayKeys }]) => ({\n isEnabled: true,\n splitKey: DEFAULT_SPLIT_KEY,\n combinationKey: DEFAULT_COMBINATION_KEY,\n reactKey: actionKey,\n keyDescription,\n keys: displayKeys ?? keys,\n }));\n\n return ;\n })}\n \n \n );\n};\n\nexport default KeyboardShortcutsList;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\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 { DocumentTitle, PageHeader } from 'components/common';\nimport { Col, Row } from 'components/bootstrap';\nimport KeyboardShortcutsList from 'components/hotkeys/KeyboardShortcutsList';\n\nconst KeyboardShortcutsPage = () => (\n \n \n \n A list of all available shortcuts in Graylog\n \n \n \n \n \n \n
\n \n);\n\nexport default KeyboardShortcutsPage;\n"],"names":["StyledSectionGrid","SectionGrid","hotKeysCollections","useHotkeysContext","scope","collection","title","description","actions","sectionActions","actionKey","keyDescription","keys","displayKeys","HotkeyCollectionSection"],"sourceRoot":""}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy