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

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

There is a newer version: 6.1.4
Show newest version
{"version":3,"sources":["webpack://graylog-web-interface/d0415105402964718010284fcfa8b2ea.js"],"sourcesContent":["ace.define(\"ace/ext/statusbar\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\",\"ace/lib/lang\"], function(require, exports, module){\"use strict\";\nvar dom = require(\"../lib/dom\");\nvar lang = require(\"../lib/lang\");\nvar StatusBar = /** @class */ (function () {\n    function StatusBar(editor, parentNode) {\n        this.element = dom.createElement(\"div\");\n        this.element.className = \"ace_status-indicator\";\n        this.element.style.cssText = \"display: inline-block;\";\n        parentNode.appendChild(this.element);\n        var statusUpdate = lang.delayedCall(function () {\n            this.updateStatus(editor);\n        }.bind(this)).schedule.bind(null, 100);\n        editor.on(\"changeStatus\", statusUpdate);\n        editor.on(\"changeSelection\", statusUpdate);\n        editor.on(\"keyboardActivity\", statusUpdate);\n    }\n    StatusBar.prototype.updateStatus = function (editor) {\n        var status = [];\n        function add(str, separator) {\n            str && status.push(str, separator || \"|\");\n        }\n        add(editor.keyBinding.getStatusText(editor));\n        if (editor.commands.recording)\n            add(\"REC\");\n        var sel = editor.selection;\n        var c = sel.lead;\n        if (!sel.isEmpty()) {\n            var r = editor.getSelectionRange();\n            add(\"(\" + (r.end.row - r.start.row) + \":\" + (r.end.column - r.start.column) + \")\", \" \");\n        }\n        add(c.row + \":\" + c.column, \" \");\n        if (sel.rangeCount)\n            add(\"[\" + sel.rangeCount + \"]\", \" \");\n        status.pop();\n        this.element.textContent = status.join(\"\");\n    };\n    return StatusBar;\n}());\nexports.StatusBar = StatusBar;\n\n});                (function() {\n                    ace.require([\"ace/ext/statusbar\"], 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,IA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AC7C,EACOJ,CACX,EAAE,EACFL,EAAQ,UAAYK,CAEpB,CAAC,GAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,mBAAmB,EAAG,SAASW,EAAG,CACvC,OAAOf,GAAU,UAAY,OAAOD,GAAW,UAAYC,IAC3DA,EAAO,QAAUe,EAEzB,CAAC,CACL,GAAG","names":["require_d0415105402964718010284fcfa8b2ea","__commonJSMin","exports","module","require","dom","lang","StatusBar","editor","parentNode","statusUpdate","status","add","str","separator","sel","c","r","m"],"sourceRoot":"","file":"d0415105402964718010284fcfa8b2ea.js"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy