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

web-interface.assets.fec23c6964d6cf25681d1f3e24b076a4.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"sources":["webpack://graylog-web-interface/fec23c6964d6cf25681d1f3e24b076a4.js"],"sourcesContent":["ace.define(\"ace/ext/linking\",[\"require\",\"exports\",\"module\",\"ace/editor\",\"ace/config\"], function(require, exports, module){var Editor = require(\"../editor\").Editor;\nrequire(\"../config\").defineOptions(Editor.prototype, \"editor\", {\n    enableLinking: {\n        set: function (val) {\n            if (val) {\n                this.on(\"click\", onClick);\n                this.on(\"mousemove\", onMouseMove);\n            }\n            else {\n                this.off(\"click\", onClick);\n                this.off(\"mousemove\", onMouseMove);\n            }\n        },\n        value: false\n    }\n});\nexports.previousLinkingHover = false;\nfunction onMouseMove(e) {\n    var editor = e.editor;\n    var ctrl = e.getAccelKey();\n    if (ctrl) {\n        var editor = e.editor;\n        var docPos = e.getDocumentPosition();\n        var session = editor.session;\n        var token = session.getTokenAt(docPos.row, docPos.column);\n        if (exports.previousLinkingHover && exports.previousLinkingHover != token) {\n            editor._emit(\"linkHoverOut\");\n        }\n        editor._emit(\"linkHover\", { position: docPos, token: token });\n        exports.previousLinkingHover = token;\n    }\n    else if (exports.previousLinkingHover) {\n        editor._emit(\"linkHoverOut\");\n        exports.previousLinkingHover = false;\n    }\n}\nfunction onClick(e) {\n    var ctrl = e.getAccelKey();\n    var button = e.getButton();\n    if (button == 0 && ctrl) {\n        var editor = e.editor;\n        var docPos = e.getDocumentPosition();\n        var session = editor.session;\n        var token = session.getTokenAt(docPos.row, docPos.column);\n        editor._emit(\"linkClick\", { position: docPos, token: token });\n    }\n}\n\n});                (function() {\n                    ace.require([\"ace/ext/linking\"], 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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AASE,EAAG,CACrC,OAAOZ,GAAU,UAAY,OAAOD,GAAW,UAAYC,IAC3DA,EAAO,QAAUY,EAEzB,CAAC,CACL,GAAG","names":["require_fec23c6964d6cf25681d1f3e24b076a4","__commonJSMin","exports","module","require","Editor","val","onClick","onMouseMove","editor","ctrl","docPos","session","token","button","m"],"sourceRoot":"","file":"fec23c6964d6cf25681d1f3e24b076a4.js"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy