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

web-interface.assets.ff653582fa50c51a8b5f2858c2f4f66e.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var R=(n,a)=>()=>(a||n((a={exports:{}}).exports,a),a.exports);var x=R((k,p)=>{ace.define("ace/mode/sql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(n,a,v){"use strict";var h=n("../lib/oop"),c=n("./text_highlight_rules").TextHighlightRules,g=function(){var f="select|insert|update|delete|from|where|and|or|group|by|order|limit|offset|having|as|case|when|then|else|end|type|left|right|join|on|outer|desc|asc|union|create|table|primary|key|if|foreign|not|references|default|null|inner|cross|natural|database|drop|grant|distinct|is|in",e="true|false",t="avg|count|first|last|max|min|sum|ucase|lcase|mid|len|round|rank|now|format|coalesce|ifnull|isnull|nvl",i="int|numeric|decimal|date|varchar|char|bigint|float|double|bit|binary|text|set|timestamp|money|real|number|integer",r=this.createKeywordMapper({"support.function":t,keyword:f,"constant.language":e,"storage.type":i},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"string",regex:"`.*?`"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:r,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};h.inherits(g,c),a.SqlHighlightRules=g});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(n,a,v){"use strict";var h=n("../../lib/oop"),c=n("../../range").Range,g=n("./fold_mode").FoldMode,f=a.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};h.inherits(f,g),(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,i){var r=e.getLine(i);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var l=this._getFoldWidgetBase(e,t,i);return!l&&this.startRegionRe.test(r)?"start":l},this.getFoldWidgetRange=function(e,t,i,r){var l=e.getLine(i);if(this.startRegionRe.test(l))return this.getCommentRegionBlock(e,l,i);var o=l.match(this.foldingStartMarker);if(o){var d=o.index;if(o[1])return this.openingBracketBlock(e,o[1],i,d);var s=e.getCommentFoldRange(i,d+o[0].length,1);return s&&!s.isMultiLine()&&(r?s=this.getSectionRange(e,i):t!="all"&&(s=null)),s}if(t!=="markbegin"){var o=l.match(this.foldingStopMarker);if(o){var d=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],i,d):e.getCommentFoldRange(i,d,-1)}}},this.getSectionRange=function(e,t){var i=e.getLine(t),r=i.search(/\S/),l=t,d=i.length;t=t+1;for(var s=t,o=e.getLength();++tm)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=l)break;if(u.isMultiLine())t=u.end.row;else if(r==m)break}s=t}}return new c(l,d,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,i){for(var r=t.search(/\s*$/),l=e.getLength(),d=i,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,o=1;++id)return new c(d,r,u,t.length)}}).call(f.prototype)});ace.define("ace/mode/folding/sql",["require","exports","module","ace/lib/oop","ace/mode/folding/cstyle"],function(n,a,v){"use strict";var h=n("../../lib/oop"),c=n("./cstyle").FoldMode,g=a.FoldMode=function(){};h.inherits(g,c),(function(){}).call(g.prototype)});ace.define("ace/mode/sql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sql_highlight_rules","ace/mode/folding/sql"],function(n,a,v){"use strict";var h=n("../lib/oop"),c=n("./text").Mode,g=n("./sql_highlight_rules").SqlHighlightRules,f=n("./folding/sql").FoldMode,e=function(){this.HighlightRules=g,this.foldingRules=new f,this.$behaviour=this.$defaultBehaviour};h.inherits(e,c),(function(){this.lineCommentStart="--",this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/sql",this.snippetFileId="ace/snippets/sql"}).call(e.prototype),a.Mode=e});(function(){ace.require(["ace/mode/sql"],function(n){typeof p=="object"&&typeof k=="object"&&p&&(p.exports=n)})})()});x();})();

//# sourceMappingURL=ff653582fa50c51a8b5f2858c2f4f66e.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy