web-interface.assets.8fa2dead80e1f4956c4c5c868ebb0b81.js.map Maven / Gradle / Ivy
{"version":3,"sources":["webpack://graylog-web-interface/8fa2dead80e1f4956c4c5c868ebb0b81.js"],"sourcesContent":["ace.define(\"ace/keyboard/vscode\",[\"require\",\"exports\",\"module\",\"ace/keyboard/hash_handler\",\"ace/config\"], function(require, exports, module){\"use strict\";\nvar HashHandler = require(\"../keyboard/hash_handler\").HashHandler;\nvar config = require(\"../config\");\nexports.handler = new HashHandler();\nexports.handler.$id = \"ace/keyboard/vscode\";\nexports.handler.addCommands([{\n name: \"toggleWordWrap\",\n exec: function (editor) {\n var wrapUsed = editor.session.getUseWrapMode();\n editor.session.setUseWrapMode(!wrapUsed);\n },\n readOnly: true\n }, {\n name: \"navigateToLastEditLocation\",\n exec: function (editor) {\n var lastDelta = editor.session.getUndoManager().$lastDelta;\n var range = (lastDelta.action == \"remove\") ? lastDelta.start : lastDelta.end;\n editor.moveCursorTo(range.row, range.column);\n editor.clearSelection();\n }\n }, {\n name: \"replaceAll\",\n exec: function (editor) {\n if (!editor.searchBox) {\n config.loadModule(\"ace/ext/searchbox\", function (e) {\n e.Search(editor, true);\n });\n }\n else {\n if (editor.searchBox.active === true && editor.searchBox.replaceOption.checked === true) {\n editor.searchBox.replaceAll();\n }\n }\n }\n }, {\n name: \"replaceOne\",\n exec: function (editor) {\n if (!editor.searchBox) {\n config.loadModule(\"ace/ext/searchbox\", function (e) {\n e.Search(editor, true);\n });\n }\n else {\n if (editor.searchBox.active === true && editor.searchBox.replaceOption.checked === true) {\n editor.searchBox.replace();\n }\n }\n }\n }, {\n name: \"selectAllMatches\",\n exec: function (editor) {\n if (!editor.searchBox) {\n config.loadModule(\"ace/ext/searchbox\", function (e) {\n e.Search(editor, false);\n });\n }\n else {\n if (editor.searchBox.active === true) {\n editor.searchBox.findAll();\n }\n }\n }\n }, {\n name: \"toggleFindCaseSensitive\",\n exec: function (editor) {\n config.loadModule(\"ace/ext/searchbox\", function (e) {\n e.Search(editor, false);\n var sb = editor.searchBox;\n sb.caseSensitiveOption.checked = !sb.caseSensitiveOption.checked;\n sb.$syncOptions();\n });\n }\n }, {\n name: \"toggleFindInSelection\",\n exec: function (editor) {\n config.loadModule(\"ace/ext/searchbox\", function (e) {\n e.Search(editor, false);\n var sb = editor.searchBox;\n sb.searchOption.checked = !sb.searchRange;\n sb.setSearchRange(sb.searchOption.checked && sb.editor.getSelectionRange());\n sb.$syncOptions();\n });\n }\n }, {\n name: \"toggleFindRegex\",\n exec: function (editor) {\n config.loadModule(\"ace/ext/searchbox\", function (e) {\n e.Search(editor, false);\n var sb = editor.searchBox;\n sb.regExpOption.checked = !sb.regExpOption.checked;\n sb.$syncOptions();\n });\n }\n }, {\n name: \"toggleFindWholeWord\",\n exec: function (editor) {\n config.loadModule(\"ace/ext/searchbox\", function (e) {\n e.Search(editor, false);\n var sb = editor.searchBox;\n sb.wholeWordOption.checked = !sb.wholeWordOption.checked;\n sb.$syncOptions();\n });\n }\n }, {\n name: \"removeSecondaryCursors\",\n exec: function (editor) {\n var ranges = editor.selection.ranges;\n if (ranges && ranges.length > 1)\n editor.selection.toSingleRange(ranges[ranges.length - 1]);\n else\n editor.selection.clearSelection();\n }\n }]);\n[{\n bindKey: { mac: \"Ctrl-G\", win: \"Ctrl-G\" },\n name: \"gotoline\"\n }, {\n bindKey: { mac: \"Command-Shift-L|Command-F2\", win: \"Ctrl-Shift-L|Ctrl-F2\" },\n name: \"findAll\"\n }, {\n bindKey: { mac: \"Shift-F8|Shift-Option-F8\", win: \"Shift-F8|Shift-Alt-F8\" },\n name: \"goToPreviousError\"\n }, {\n bindKey: { mac: \"F8|Option-F8\", win: \"F8|Alt-F8\" },\n name: \"goToNextError\"\n }, {\n bindKey: { mac: \"Command-Shift-P|F1\", win: \"Ctrl-Shift-P|F1\" },\n name: \"openCommandPallete\"\n }, {\n bindKey: { mac: \"Shift-Option-Up\", win: \"Alt-Shift-Up\" },\n name: \"copylinesup\"\n }, {\n bindKey: { mac: \"Shift-Option-Down\", win: \"Alt-Shift-Down\" },\n name: \"copylinesdown\"\n }, {\n bindKey: { mac: \"Command-Shift-K\", win: \"Ctrl-Shift-K\" },\n name: \"removeline\"\n }, {\n bindKey: { mac: \"Command-Enter\", win: \"Ctrl-Enter\" },\n name: \"addLineAfter\"\n }, {\n bindKey: { mac: \"Command-Shift-Enter\", win: \"Ctrl-Shift-Enter\" },\n name: \"addLineBefore\"\n }, {\n bindKey: { mac: \"Command-Shift-\\\\\", win: \"Ctrl-Shift-\\\\\" },\n name: \"jumptomatching\"\n }, {\n bindKey: { mac: \"Command-]\", win: \"Ctrl-]\" },\n name: \"blockindent\"\n }, {\n bindKey: { mac: \"Command-[\", win: \"Ctrl-[\" },\n name: \"blockoutdent\"\n }, {\n bindKey: { mac: \"Ctrl-PageDown\", win: \"Alt-PageDown\" },\n name: \"pagedown\"\n }, {\n bindKey: { mac: \"Ctrl-PageUp\", win: \"Alt-PageUp\" },\n name: \"pageup\"\n }, {\n bindKey: { mac: \"Shift-Option-A\", win: \"Shift-Alt-A\" },\n name: \"toggleBlockComment\"\n }, {\n bindKey: { mac: \"Option-Z\", win: \"Alt-Z\" },\n name: \"toggleWordWrap\"\n }, {\n bindKey: { mac: \"Command-G\", win: \"F3|Ctrl-K Ctrl-D\" },\n name: \"findnext\"\n }, {\n bindKey: { mac: \"Command-Shift-G\", win: \"Shift-F3\" },\n name: \"findprevious\"\n }, {\n bindKey: { mac: \"Option-Enter\", win: \"Alt-Enter\" },\n name: \"selectAllMatches\"\n }, {\n bindKey: { mac: \"Command-D\", win: \"Ctrl-D\" },\n name: \"selectMoreAfter\"\n }, {\n bindKey: { mac: \"Command-K Command-D\", win: \"Ctrl-K Ctrl-D\" },\n name: \"selectOrFindNext\"\n }, {\n bindKey: { mac: \"Shift-Option-I\", win: \"Shift-Alt-I\" },\n name: \"splitSelectionIntoLines\"\n }, {\n bindKey: { mac: \"Command-K M\", win: \"Ctrl-K M\" },\n name: \"modeSelect\"\n }, {\n bindKey: { mac: \"Command-Option-[\", win: \"Ctrl-Shift-[\" },\n name: \"toggleFoldWidget\"\n }, {\n bindKey: { mac: \"Command-Option-]\", win: \"Ctrl-Shift-]\" },\n name: \"toggleFoldWidget\"\n }, {\n bindKey: { mac: \"Command-K Command-0\", win: \"Ctrl-K Ctrl-0\" },\n name: \"foldall\"\n }, {\n bindKey: { mac: \"Command-K Command-J\", win: \"Ctrl-K Ctrl-J\" },\n name: \"unfoldall\"\n }, {\n bindKey: { mac: \"Command-K Command-1\", win: \"Ctrl-K Ctrl-1\" },\n name: \"foldOther\"\n }, {\n bindKey: { mac: \"Command-K Command-Q\", win: \"Ctrl-K Ctrl-Q\" },\n name: \"navigateToLastEditLocation\"\n }, {\n bindKey: { mac: \"Command-K Command-R|Command-K Command-S\", win: \"Ctrl-K Ctrl-R|Ctrl-K Ctrl-S\" },\n name: \"showKeyboardShortcuts\"\n }, {\n bindKey: { mac: \"Command-K Command-X\", win: \"Ctrl-K Ctrl-X\" },\n name: \"trimTrailingSpace\"\n }, {\n bindKey: { mac: \"Shift-Down|Command-Shift-Down\", win: \"Shift-Down|Ctrl-Shift-Down\" },\n name: \"selectdown\"\n }, {\n bindKey: { mac: \"Shift-Up|Command-Shift-Up\", win: \"Shift-Up|Ctrl-Shift-Up\" },\n name: \"selectup\"\n }, {\n bindKey: { mac: \"Command-Alt-Enter\", win: \"Ctrl-Alt-Enter\" },\n name: \"replaceAll\"\n }, {\n bindKey: { mac: \"Command-Shift-1\", win: \"Ctrl-Shift-1\" },\n name: \"replaceOne\"\n }, {\n bindKey: { mac: \"Option-C\", win: \"Alt-C\" },\n name: \"toggleFindCaseSensitive\"\n }, {\n bindKey: { mac: \"Option-L\", win: \"Alt-L\" },\n name: \"toggleFindInSelection\"\n }, {\n bindKey: { mac: \"Option-R\", win: \"Alt-R\" },\n name: \"toggleFindRegex\"\n }, {\n bindKey: { mac: \"Option-W\", win: \"Alt-W\" },\n name: \"toggleFindWholeWord\"\n }, {\n bindKey: { mac: \"Command-L\", win: \"Ctrl-L\" },\n name: \"expandtoline\"\n }, {\n bindKey: { mac: \"Shift-Esc\", win: \"Shift-Esc\" },\n name: \"removeSecondaryCursors\"\n }\n].forEach(function (binding) {\n var command = exports.handler.commands[binding.name];\n if (command)\n command.bindKey = binding.bindKey;\n exports.handler.bindKey(binding.bindKey, command || binding.name);\n});\n\n}); (function() {\n ace.require([\"ace/keyboard/vscode\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n "],"mappings":"oEAAA,IAAAA,EAAAC,EAAA,CAAAC,EAAAC,IAAA,KAAI,OAAO,sBAAsB,CAAC,UAAU,UAAU,SAAS,4BAA4B,YAAY,EAAG,SAASC,EAASF,EAASC,EAAO,CAAC,aAC7I,IAAIE,EAAcD,EAAQ,0BAA0B,EAAE,YAClDE,EAASF,EAAQ,WAAW,EAChCF,EAAQ,QAAU,IAAIG,EACtBH,EAAQ,QAAQ,IAAM,sBACtBA,EAAQ,QAAQ,YAAY,CAAC,CACrB,KAAM,iBACN,KAAM,SAAUK,EAAQ,CACpB,IAAIC,EAAWD,EAAO,QAAQ,eAAe,EAC7CA,EAAO,QAAQ,eAAe,CAACC,CAAQ,CAC3C,EACA,SAAU,EACd,EAAG,CACC,KAAM,6BACN,KAAM,SAAUD,EAAQ,CACpB,IAAIE,EAAYF,EAAO,QAAQ,eAAe,EAAE,WAC5CG,EAASD,EAAU,QAAU,SAAYA,EAAU,MAAQA,EAAU,IACzEF,EAAO,aAAaG,EAAM,IAAKA,EAAM,MAAM,EAC3CH,EAAO,eAAe,CAC1B,CACJ,EAAG,CACC,KAAM,aACN,KAAM,SAAUA,EAAQ,CACfA,EAAO,UAMJA,EAAO,UAAU,SAAW,IAAQA,EAAO,UAAU,cAAc,UAAY,IAC/EA,EAAO,UAAU,WAAW,EANhCD,EAAO,WAAW,oBAAqB,SAAUK,EAAG,CAChDA,EAAE,OAAOJ,EAAQ,EAAI,CACzB,CA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andler","config","editor","wrapUsed","lastDelta","range","e","sb","ranges","binding","command","m"],"sourceRoot":"","file":"8fa2dead80e1f4956c4c5c868ebb0b81.js"}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy