update plugin files

This commit is contained in:
REJack 2020-12-30 08:42:58 +01:00
parent e41e0401c0
commit f5454e6906
68 changed files with 70908 additions and 70003 deletions

View file

@ -117,25 +117,25 @@
});
}
CodeMirror.defineOption("matchBrackets", false, function(cm, val, old) {
function clear(cm) {
if (cm.state.matchBrackets && cm.state.matchBrackets.currentlyHighlighted) {
cm.state.matchBrackets.currentlyHighlighted();
cm.state.matchBrackets.currentlyHighlighted = null;
}
function clearHighlighted(cm) {
if (cm.state.matchBrackets && cm.state.matchBrackets.currentlyHighlighted) {
cm.state.matchBrackets.currentlyHighlighted();
cm.state.matchBrackets.currentlyHighlighted = null;
}
}
CodeMirror.defineOption("matchBrackets", false, function(cm, val, old) {
if (old && old != CodeMirror.Init) {
cm.off("cursorActivity", doMatchBrackets);
cm.off("focus", doMatchBrackets)
cm.off("blur", clear)
clear(cm);
cm.off("blur", clearHighlighted)
clearHighlighted(cm);
}
if (val) {
cm.state.matchBrackets = typeof val == "object" ? val : {};
cm.on("cursorActivity", doMatchBrackets);
cm.on("focus", doMatchBrackets)
cm.on("blur", clear)
cm.on("blur", clearHighlighted)
}
});

View file

@ -1,6 +1,8 @@
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
// declare global: DOMRect
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
@ -94,8 +96,10 @@
completion.to || data.to, "complete");
CodeMirror.signal(data, "pick", completion);
self.cm.scrollIntoView();
})
this.close();
});
if (this.options.closeOnPick) {
this.close();
}
},
cursorActivity: function() {
@ -113,7 +117,9 @@
if (pos.line != this.startPos.line || line.length - pos.ch != this.startLen - this.startPos.ch ||
pos.ch < identStart.ch || this.cm.somethingSelected() ||
(!pos.ch || this.options.closeCharacters.test(line.charAt(pos.ch - 1)))) {
this.close();
if (this.options.closeOnCursorActivity) {
this.close();
}
} else {
var self = this;
this.debounce = requestAnimationFrame(function() {self.update();});
@ -259,10 +265,15 @@
var winW = parentWindow.innerWidth || Math.max(ownerDocument.body.offsetWidth, ownerDocument.documentElement.offsetWidth);
var winH = parentWindow.innerHeight || Math.max(ownerDocument.body.offsetHeight, ownerDocument.documentElement.offsetHeight);
container.appendChild(hints);
var box = hints.getBoundingClientRect(), overlapY = box.bottom - winH;
var scrolls = hints.scrollHeight > hints.clientHeight + 1
var startScroll = cm.getScrollInfo();
var box = completion.options.moveOnOverlap ? hints.getBoundingClientRect() : new DOMRect();
var scrolls = completion.options.paddingForScrollbar ? hints.scrollHeight > hints.clientHeight + 1 : false;
// Compute in the timeout to avoid reflow on init
var startScroll;
setTimeout(function() { startScroll = cm.getScrollInfo(); });
var overlapY = box.bottom - winH;
if (overlapY > 0) {
var height = box.bottom - box.top, curTop = pos.top - (pos.bottom - box.top);
if (curTop - height > 0) { // Fits above cursor
@ -332,7 +343,12 @@
CodeMirror.on(hints, "mousedown", function() {
setTimeout(function(){cm.focus();}, 20);
});
this.scrollToActive()
// The first hint doesn't need to be scrolled to on init
var selectedHintRange = this.getSelectedHintRange();
if (selectedHintRange.from !== 0 || selectedHintRange.to !== 0) {
this.scrollToActive();
}
CodeMirror.signal(data, "select", completions[this.selectedHint], hints.childNodes[this.selectedHint]);
return true;
@ -379,9 +395,9 @@
},
scrollToActive: function() {
var margin = this.completion.options.scrollMargin || 0;
var node1 = this.hints.childNodes[Math.max(0, this.selectedHint - margin)];
var node2 = this.hints.childNodes[Math.min(this.data.list.length - 1, this.selectedHint + margin)];
var selectedHintRange = this.getSelectedHintRange();
var node1 = this.hints.childNodes[selectedHintRange.from];
var node2 = this.hints.childNodes[selectedHintRange.to];
var firstNode = this.hints.firstChild;
if (node1.offsetTop < this.hints.scrollTop)
this.hints.scrollTop = node1.offsetTop - firstNode.offsetTop;
@ -391,6 +407,14 @@
screenAmount: function() {
return Math.floor(this.hints.clientHeight / this.hints.firstChild.offsetHeight) || 1;
},
getSelectedHintRange: function() {
var margin = this.completion.options.scrollMargin || 0;
return {
from: Math.max(0, this.selectedHint - margin),
to: Math.min(this.data.list.length - 1, this.selectedHint + margin),
};
}
};
@ -468,11 +492,15 @@
completeSingle: true,
alignWithWord: true,
closeCharacters: /[\s()\[\]{};:>,]/,
closeOnCursorActivity: true,
closeOnPick: true,
closeOnUnfocus: true,
completeOnSingleClick: true,
container: null,
customKeys: null,
extraKeys: null
extraKeys: null,
paddingForScrollbar: true,
moveOnOverlap: true,
};
CodeMirror.defineOption("hintOptions", null);

View file

@ -170,6 +170,10 @@
var anns = annotations[line];
if (!anns) continue;
// filter out duplicate messages
var message = [];
anns = anns.filter(function(item) { return message.indexOf(item.message) > -1 ? false : message.push(item.message) });
var maxSeverity = null;
var tipLabel = state.hasGutter && document.createDocumentFragment();
@ -187,9 +191,9 @@
__annotation: ann
}));
}
// use original annotations[line] to show multiple messages
if (state.hasGutter)
cm.setGutterMarker(line, GUTTER_ID, makeMarker(cm, tipLabel, maxSeverity, anns.length > 1,
cm.setGutterMarker(line, GUTTER_ID, makeMarker(cm, tipLabel, maxSeverity, annotations[line].length > 1,
state.options.tooltips));
}
if (options.onUpdateLinting) options.onUpdateLinting(annotationsNotSorted, annotations, cm);

View file

@ -13,8 +13,11 @@
})(function(CodeMirror) {
"use strict";
// default search panel location
CodeMirror.defineOption("search", {bottom: false});
function dialog(cm, text, shortText, deflt, f) {
if (cm.openDialog) cm.openDialog(text, f, {value: deflt, selectValueOnOpen: true});
if (cm.openDialog) cm.openDialog(text, f, {value: deflt, selectValueOnOpen: true, bottom: cm.options.search.bottom});
else f(prompt(shortText, deflt));
}

View file

@ -19,6 +19,9 @@
})(function(CodeMirror) {
"use strict";
// default search panel location
CodeMirror.defineOption("search", {bottom: false});
function searchOverlay(query, caseInsensitive) {
if (typeof query == "string")
query = new RegExp(query.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), caseInsensitive ? "gi" : "g");
@ -63,12 +66,13 @@
selectValueOnOpen: true,
closeOnEnter: false,
onClose: function() { clearSearch(cm); },
onKeyDown: onKeyDown
onKeyDown: onKeyDown,
bottom: cm.options.search.bottom
});
}
function dialog(cm, text, shortText, deflt, f) {
if (cm.openDialog) cm.openDialog(text, f, {value: deflt, selectValueOnOpen: true});
if (cm.openDialog) cm.openDialog(text, f, {value: deflt, selectValueOnOpen: true, bottom: cm.options.search.bottom});
else f(prompt(shortText, deflt));
}

View file

@ -35,7 +35,7 @@
for (; at > 0; --at)
if (wrapOn.test(text.slice(at - 1, at + 1))) break;
if (at == 0 && !forceBreak) {
if (!forceBreak && at <= text.match(/^[ \t]*/)[0].length) {
// didn't find a break point before column, in non-forceBreak mode try to
// find one after 'column'.
for (at = column + 1; at < text.length - 1; ++at) {
@ -91,7 +91,8 @@
}
while (curLine.length > column) {
var bp = findBreakPoint(curLine, column, wrapOn, killTrailing, forceBreak);
if (bp.from != bp.to || forceBreak) {
if (bp.from != bp.to ||
forceBreak && leadingSpace !== curLine.slice(0, bp.to)) {
changes.push({text: ["", leadingSpace],
from: Pos(curNo, bp.from),
to: Pos(curNo, bp.to)});

View file

@ -19,7 +19,7 @@
}
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
background-color: white; /* The little square between H and V scrollbars */
background-color: transparent; /* The little square between H and V scrollbars */
}
/* GUTTER */

View file

@ -32,7 +32,7 @@
var mac_geMountainLion = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(userAgent);
var phantom = /PhantomJS/.test(userAgent);
var ios = !edge && /AppleWebKit/.test(userAgent) && /Mobile\/\w+/.test(userAgent);
var ios = !edge && /AppleWebKit/.test(userAgent) && (/Mobile\/\w+/.test(userAgent) || navigator.maxTouchPoints > 2);
var android = /Android/.test(userAgent);
// This is woefully incomplete. Suggestions for alternative methods welcome.
var mobile = ios || android || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(userAgent);
@ -9790,7 +9790,7 @@
addLegacyProps(CodeMirror);
CodeMirror.version = "5.58.3";
CodeMirror.version = "5.59.0";
return CodeMirror;

View file

@ -160,10 +160,10 @@ CodeMirror.defineMode("clojure", function (options) {
var numberLiteral = /^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/;
var characterLiteral = /^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/;
// simple-namespace := /^[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*/
// simple-namespace := /^[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*/
// simple-symbol := /^(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)/
// qualified-symbol := (<simple-namespace>(<.><simple-namespace>)*</>)?<simple-symbol>
var qualifiedSymbol = /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;
var qualifiedSymbol = /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;
function base(stream, state) {
if (stream.eatSpace() || stream.eat(",")) return ["space", null];

View file

@ -616,13 +616,18 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
if (value == "|" || value == "&") return cont(typeexpr)
if (type == "string" || type == "number" || type == "atom") return cont(afterType);
if (type == "[") return cont(pushlex("]"), commasep(typeexpr, "]", ","), poplex, afterType)
if (type == "{") return cont(pushlex("}"), commasep(typeprop, "}", ",;"), poplex, afterType)
if (type == "{") return cont(pushlex("}"), typeprops, poplex, afterType)
if (type == "(") return cont(commasep(typearg, ")"), maybeReturnType, afterType)
if (type == "<") return cont(commasep(typeexpr, ">"), typeexpr)
}
function maybeReturnType(type) {
if (type == "=>") return cont(typeexpr)
}
function typeprops(type) {
if (type == "}") return cont()
if (type == "," || type == ";") return cont(typeprops)
return pass(typeprop, typeprops)
}
function typeprop(type, value) {
if (type == "variable" || cx.style == "keyword") {
cx.marked = "property"

View file

@ -26,8 +26,8 @@ CodeMirror.defineMode("scheme", function () {
return obj;
}
var keywords = makeKeywords("λ case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?");
var indentKeys = makeKeywords("define let letrec let* lambda");
var keywords = makeKeywords("λ case-lambda call/cc class cond-expand define-class define-values exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax define-macro defmacro delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?");
var indentKeys = makeKeywords("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");
function stateStack(indent, type, prev) { // represents a state stack object
this.indent = indent;

View file

@ -71,7 +71,8 @@ CodeMirror.defineMode('shell', function() {
return 'attribute';
}
if (ch == "<") {
var heredoc = stream.match(/^<-?\s+(.*)/)
if (stream.match("<<")) return "operator"
var heredoc = stream.match(/^<-?\s*['"]?([^'"]*)['"]?/)
if (heredoc) {
state.tokens.unshift(tokenHeredoc(heredoc[1]))
return 'string-2'

View file

@ -463,8 +463,15 @@
return null;
case "tag":
var endTag = state.tag[0] == "/";
var tagName = endTag ? state.tag.substring(1) : state.tag;
var endTag;
var tagName;
if (state.tag === undefined) {
endTag = true;
tagName = '';
} else {
endTag = state.tag[0] == "/";
tagName = endTag ? state.tag.substring(1) : state.tag;
}
var tag = tags[tagName];
if (stream.match(/^\/?}/)) {
var selfClosed = stream.current() == "/}";
@ -576,12 +583,11 @@
return "keyword";
} else if (match = stream.match(/^<\{/)) {
state.soyState.push("template-call-expression");
state.tag = "print";
state.indent += 2 * config.indentUnit;
state.soyState.push("tag");
return "keyword";
} else if (match = stream.match(/^<\/>/)) {
state.indent -= 2 * config.indentUnit;
state.indent -= 1 * config.indentUnit;
return "keyword";
}

View file

@ -16,6 +16,12 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
var indentUnit = config.indentUnit,
statementIndentUnit = parserConfig.statementIndentUnit || indentUnit,
dontAlignCalls = parserConfig.dontAlignCalls,
// compilerDirectivesUseRegularIndentation - If set, Compiler directive
// indentation follows the same rules as everything else. Otherwise if
// false, compiler directives will track their own indentation.
// For example, `ifdef nested inside another `ifndef will be indented,
// but a `ifdef inside a function block may not be indented.
compilerDirectivesUseRegularIndentation = parserConfig.compilerDirectivesUseRegularIndentation,
noIndentKeywords = parserConfig.noIndentKeywords || [],
multiLineStrings = parserConfig.multiLineStrings,
hooks = parserConfig.hooks || {};
@ -62,7 +68,7 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
binary_module_path_operator ::=
== | != | && | || | & | | | ^ | ^~ | ~^
*/
var isOperatorChar = /[\+\-\*\/!~&|^%=?:]/;
var isOperatorChar = /[\+\-\*\/!~&|^%=?:<>]/;
var isBracketChar = /[\[\]{}()]/;
var unsignedNumber = /\d[0-9_]*/;
@ -72,8 +78,13 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
var hexLiteral = /\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i;
var realLiteral = /(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i;
var closingBracketOrWord = /^((\w+)|[)}\]])/;
var closingBracketOrWord = /^((`?\w+)|[)}\]])/;
var closingBracket = /[)}\]]/;
var compilerDirectiveRegex = new RegExp(
"^(`(?:ifdef|ifndef|elsif|else|endif|undef|undefineall|define|include|begin_keywords|celldefine|default|" +
"nettype|end_keywords|endcelldefine|line|nounconnected_drive|pragma|resetall|timescale|unconnected_drive))\\b");
var compilerDirectiveBeginRegex = /^(`(?:ifdef|ifndef|elsif|else))\b/;
var compilerDirectiveEndRegex = /^(`(?:elsif|else|endif))\b/;
var curPunc;
var curKeyword;
@ -96,6 +107,7 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
openClose["do" ] = "while";
openClose["fork" ] = "join;join_any;join_none";
openClose["covergroup"] = "endgroup";
openClose["macro_begin"] = "macro_end";
for (var i in noIndentKeywords) {
var keyword = noIndentKeywords[i];
@ -105,7 +117,7 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
}
// Keywords which open statements that are ended with a semi-colon
var statementKeywords = words("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");
var statementKeywords = words("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while extern typedef");
function tokenBase(stream, state) {
var ch = stream.peek(), style;
@ -125,6 +137,23 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
if (ch == '`') {
stream.next();
if (stream.eatWhile(/[\w\$_]/)) {
var cur = stream.current();
curKeyword = cur;
// Macros that end in _begin, are start of block and end with _end
if (cur.startsWith("`uvm_") && cur.endsWith("_begin")) {
var keywordClose = curKeyword.substr(0,curKeyword.length - 5) + "end";
openClose[cur] = keywordClose;
curPunc = "newblock";
} else {
stream.eatSpace();
if (stream.peek() == '(') {
// Check if this is a block
curPunc = "newmacro";
}
var withSpace = stream.current();
// Move the stream back before the spaces
stream.backUp(withSpace.length - cur.length);
}
return "def";
} else {
return null;
@ -145,6 +174,12 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
stream.eatWhile(/[\d_.]/);
return "def";
}
// Event
if (ch == '@') {
stream.next();
stream.eatWhile(/[@]/);
return "def";
}
// Strings
if (ch == '"') {
stream.next();
@ -178,6 +213,7 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
// Operators
if (stream.eatWhile(isOperatorChar)) {
curPunc = stream.current();
return "meta";
}
@ -187,6 +223,15 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
if (keywords[cur]) {
if (openClose[cur]) {
curPunc = "newblock";
if (cur === "fork") {
// Fork can be a statement instead of block in cases of:
// "disable fork;" and "wait fork;" (trailing semicolon)
stream.eatSpace()
if (stream.peek() == ';') {
curPunc = "newstatement";
}
stream.backUp(stream.current().length - cur.length);
}
}
if (statementKeywords[cur]) {
curPunc = "newstatement";
@ -226,16 +271,17 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
return "comment";
}
function Context(indented, column, type, align, prev) {
function Context(indented, column, type, scopekind, align, prev) {
this.indented = indented;
this.column = column;
this.type = type;
this.scopekind = scopekind;
this.align = align;
this.prev = prev;
}
function pushContext(state, col, type) {
function pushContext(state, col, type, scopekind) {
var indent = state.indented;
var c = new Context(indent, col, type, null, state.context);
var c = new Context(indent, col, type, scopekind ? scopekind : "", null, state.context);
return state.context = c;
}
function popContext(state) {
@ -261,6 +307,16 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
}
}
function isInsideScopeKind(ctx, scopekind) {
if (ctx == null) {
return false;
}
if (ctx.scopekind === scopekind) {
return true;
}
return isInsideScopeKind(ctx.prev, scopekind);
}
function buildElectricInputRegEx() {
// Reindentation should occur on any bracket char: {}()[]
// or on a match of any of the block closing keywords, at
@ -287,8 +343,9 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
startState: function(basecolumn) {
var state = {
tokenize: null,
context: new Context((basecolumn || 0) - indentUnit, 0, "top", false),
context: new Context((basecolumn || 0) - indentUnit, 0, "top", "top", false),
indented: 0,
compilerDirectiveIndented: 0,
startOfLine: true
};
if (hooks.startState) hooks.startState(state);
@ -313,15 +370,42 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
curPunc = null;
curKeyword = null;
var style = (state.tokenize || tokenBase)(stream, state);
if (style == "comment" || style == "meta" || style == "variable") return style;
if (style == "comment" || style == "meta" || style == "variable") {
if (((curPunc === "=") || (curPunc === "<=")) && !isInsideScopeKind(ctx, "assignment")) {
// '<=' could be nonblocking assignment or lessthan-equals (which shouldn't cause indent)
// Search through the context to see if we are already in an assignment.
// '=' could be inside port declaration with comma or ')' afterward, or inside for(;;) block.
pushContext(state, stream.column() + curPunc.length, "assignment", "assignment");
if (ctx.align == null) ctx.align = true;
}
return style;
}
if (ctx.align == null) ctx.align = true;
if (curPunc == ctx.type) {
popContext(state);
} else if ((curPunc == ";" && ctx.type == "statement") ||
var isClosingAssignment = ctx.type == "assignment" &&
closingBracket.test(curPunc) && ctx.prev && ctx.prev.type === curPunc;
if (curPunc == ctx.type || isClosingAssignment) {
if (isClosingAssignment) {
ctx = popContext(state);
}
ctx = popContext(state);
if (curPunc == ")") {
// Handle closing macros, assuming they could have a semicolon or begin/end block inside.
if (ctx && (ctx.type === "macro")) {
ctx = popContext(state);
while (ctx && (ctx.type == "statement" || ctx.type == "assignment")) ctx = popContext(state);
}
} else if (curPunc == "}") {
// Handle closing statements like constraint block: "foreach () {}" which
// do not have semicolon at end.
if (ctx && (ctx.type === "statement")) {
while (ctx && (ctx.type == "statement")) ctx = popContext(state);
}
}
} else if (((curPunc == ";" || curPunc == ",") && (ctx.type == "statement" || ctx.type == "assignment")) ||
(ctx.type && isClosing(curKeyword, ctx.type))) {
ctx = popContext(state);
while (ctx && ctx.type == "statement") ctx = popContext(state);
while (ctx && (ctx.type == "statement" || ctx.type == "assignment")) ctx = popContext(state);
} else if (curPunc == "{") {
pushContext(state, stream.column(), "}");
} else if (curPunc == "[") {
@ -329,9 +413,9 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
} else if (curPunc == "(") {
pushContext(state, stream.column(), ")");
} else if (ctx && ctx.type == "endcase" && curPunc == ":") {
pushContext(state, stream.column(), "statement");
pushContext(state, stream.column(), "statement", "case");
} else if (curPunc == "newstatement") {
pushContext(state, stream.column(), "statement");
pushContext(state, stream.column(), "statement", curKeyword);
} else if (curPunc == "newblock") {
if (curKeyword == "function" && ctx && (ctx.type == "statement" || ctx.type == "endgroup")) {
// The 'function' keyword can appear in some other contexts where it actually does not
@ -339,9 +423,23 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
// Do nothing in this case
} else if (curKeyword == "task" && ctx && ctx.type == "statement") {
// Same thing for task
} else if (curKeyword == "class" && ctx && ctx.type == "statement") {
// Same thing for class (e.g. typedef)
} else {
var close = openClose[curKeyword];
pushContext(state, stream.column(), close);
pushContext(state, stream.column(), close, curKeyword);
}
} else if (curPunc == "newmacro" || (curKeyword && curKeyword.match(compilerDirectiveRegex))) {
if (curPunc == "newmacro") {
// Macros (especially if they have parenthesis) potentially have a semicolon
// or complete statement/block inside, and should be treated as such.
pushContext(state, stream.column(), "macro", "macro");
}
if (curKeyword.match(compilerDirectiveEndRegex)) {
state.compilerDirectiveIndented -= statementIndentUnit;
}
if (curKeyword.match(compilerDirectiveBeginRegex)) {
state.compilerDirectiveIndented += statementIndentUnit;
}
}
@ -361,8 +459,15 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
var possibleClosing = textAfter.match(closingBracketOrWord);
if (possibleClosing)
closing = isClosing(possibleClosing[0], ctx.type);
if (!compilerDirectivesUseRegularIndentation && textAfter.match(compilerDirectiveRegex)) {
if (textAfter.match(compilerDirectiveEndRegex)) {
return state.compilerDirectiveIndented - statementIndentUnit;
}
return state.compilerDirectiveIndented;
}
if (ctx.type == "statement") return ctx.indented + (firstChar == "{" ? 0 : statementIndentUnit);
else if (closingBracket.test(ctx.type) && ctx.align && !dontAlignCalls) return ctx.column + (closing ? 0 : 1);
else if ((closingBracket.test(ctx.type) || ctx.type == "assignment")
&& ctx.align && !dontAlignCalls) return ctx.column + (closing ? 0 : 1);
else if (ctx.type == ")" && !closing) return ctx.indented + statementIndentUnit;
else return ctx.indented + (closing ? 0 : indentUnit);
},

View file

@ -14,8 +14,8 @@
CodeMirror.defineSimpleMode('wast', {
start: [
{regex: /[+\-]?(?:nan(?::0x[0-9a-fA-F]+)?|infinity|inf|0x[0-9a-fA-F]+\.?[0-9a-fA-F]*p[+\/-]?\d+|\d+(?:\.\d*)?[eE][+\-]?\d*|\d+\.\d*|0x[0-9a-fA-F]+|\d+)/, token: "number"},
{regex: /mut|nop|block|if|then|else|loop|br_if|br_table|br|call(_indirect)?|drop|end|return(_call(_indirect)?)?|local\.(get|set|tee)|global\.(get|set)|i(32|64)\.(store(8|16)|(load(8|16)_[su]))|i64\.(load32_[su]|store32)|[fi](32|64)\.(const|load|store)|f(32|64)\.(abs|add|ceil|copysign|div|eq|floor|[gl][et]|max|min|mul|nearest|neg?|sqrt|sub|trunc)|i(32|64)\.(a[dn]d|c[lt]z|(div|rem)_[su]|eqz?|[gl][te]_[su]|mul|ne|popcnt|rot[lr]|sh(l|r_[su])|sub|x?or)|i64\.extend_[su]_i32|i32\.wrap_i64|i(32|64)\.trunc_f(32|64)_[su]|f(32|64)\.convert_i(32|64)_[su]|f64\.promote_f32|f32\.demote_f64|f32\.reinterpret_i32|i32\.reinterpret_f32|f64\.reinterpret_i64|i64\.reinterpret_f64|select|unreachable|current_memory|memory(\.((atomic\.(notify|wait(32|64)))|grow|size))?|type|func|param|result|local|global|module|table|start|elem|data|align|offset|import|export|i64\.atomic\.(load32_u|store32|rmw32\.(a[dn]d|sub|x?or|(cmp)?xchg)_u)|i(32|64)\.atomic\.(load((8|16)_u)?|store(8|16)?|rmw(\.(a[dn]d|sub|x?or|(cmp)?xchg)|(8|16)\.(a[dn]d|sub|x?or|(cmp)?xchg)_u))|v128\.(load|store|const|not|andnot|and|or|xor|bitselect)|i(8x16|16x8|32x4|64x2)\.(shl|shr_[su])|i(8x16|16x8)\.(extract_lane_[su]|((add|sub)_saturate_[su])|avgr_u)|(i(8x16|16x8|32x4|64x2)|f(32x4|64x2))\.(splat|replace_lane|neg|add|sub)|i(8x16|16x8|32x4)\.(eq|ne|([lg][te]_[su])|abs|any_true|all_true|bitmask|((min|max)_[su]))|f(32x4|64x2)\.(eq|ne|[lg][te]|abs|sqrt|mul|div|min|max)|[fi](32x4|64x2)\.extract_lane|v8x16\.(shuffle|swizzle)|i16x8\.(load8x8_[su]|narrow_i32x4_[su]|widen_(low|high)_i8x16_[su]|mul)|i32x4\.(load16x4_[su]|widen_(low|high)_i16x8_[su]|mul|trunc_sat_f32x4_[su])|i64x2\.(load32x2_[su]|mul)|(v(8x16|16x8|32x4|64x2)\.load_splat)|i8x16\.narrow_i16x8_[su]|f32x4\.convert_i32x4_[su]/, token: "keyword"},
{regex: /\b(anyfunc|[fi](32|64))\b/, token: "atom"},
{regex: /mut|nop|block|if|then|else|loop|br_if|br_table|br|call(_indirect)?|drop|end|return(_call(_indirect)?)?|local\.(get|set|tee)|global\.(get|set)|i(32|64)\.(store(8|16)|(load(8|16)_[su]))|i64\.(load32_[su]|store32)|[fi](32|64)\.(const|load|store)|f(32|64)\.(abs|add|ceil|copysign|div|eq|floor|[gl][et]|max|min|mul|nearest|neg?|sqrt|sub|trunc)|i(32|64)\.(a[dn]d|c[lt]z|(div|rem)_[su]|eqz?|[gl][te]_[su]|mul|ne|popcnt|rot[lr]|sh(l|r_[su])|sub|x?or)|i64\.extend_[su]_i32|i32\.wrap_i64|i(32|64)\.trunc_f(32|64)_[su]|f(32|64)\.convert_i(32|64)_[su]|f64\.promote_f32|f32\.demote_f64|f32\.reinterpret_i32|i32\.reinterpret_f32|f64\.reinterpret_i64|i64\.reinterpret_f64|select|unreachable|current_memory|memory(\.((atomic\.(notify|wait(32|64)))|grow|size))?|type|\bfunc\b|param|result|local|global|module|start|elem|data|align|offset|import|export|i64\.atomic\.(load32_u|store32|rmw32\.(a[dn]d|sub|x?or|(cmp)?xchg)_u)|i(32|64)\.atomic\.(load((8|16)_u)?|store(8|16)?|rmw(\.(a[dn]d|sub|x?or|(cmp)?xchg)|(8|16)\.(a[dn]d|sub|x?or|(cmp)?xchg)_u))|v128\.(load|store|const|not|andnot|and|or|xor|bitselect)|i(8x16|16x8|32x4|64x2)\.(shl|shr_[su])|i(8x16|16x8)\.(extract_lane_[su]|((add|sub)_saturate_[su])|avgr_u)|(i(8x16|16x8|32x4|64x2)|f(32x4|64x2))\.(splat|replace_lane|neg|add|sub)|i(8x16|16x8|32x4)\.(eq|ne|([lg][te]_[su])|abs|any_true|all_true|bitmask|((min|max)_[su]))|f(32x4|64x2)\.(eq|ne|[lg][te]|abs|sqrt|mul|div|min|max)|[fi](32x4|64x2)\.extract_lane|v8x16\.(shuffle|swizzle)|i16x8\.(load8x8_[su]|narrow_i32x4_[su]|widen_(low|high)_i8x16_[su]|mul)|i32x4\.(load16x4_[su]|widen_(low|high)_i16x8_[su]|mul|trunc_sat_f32x4_[su])|i64x2\.(load32x2_[su]|mul)|(v(8x16|16x8|32x4|64x2)\.load_splat)|i8x16\.narrow_i16x8_[su]|f32x4\.convert_i32x4_[su]|ref\.(func|(is_)?null)|\bextern\b|table(\.(size|get|set|size|grow|fill|init|copy))?/, token: "keyword"},
{regex: /\b(funcref|externref|[fi](32|64))\b/, token: "atom"},
{regex: /\$([a-zA-Z0-9_`\+\-\*\/\\\^~=<>!\?@#$%&|:\.]+)/, token: "variable-2"},
{regex: /"(?:[^"\\\x00-\x1f\x7f]|\\[nt\\'"]|\\[0-9a-fA-F][0-9a-fA-F])*"/, token: "string"},
{regex: /\(;.*?/, token: "comment", next: "comment"},

View file

@ -99,7 +99,7 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
.cm-s-solarized.cm-s-light div.CodeMirror-selected { background: #eee8d5; }
.cm-s-solarized.cm-s-light .CodeMirror-line::selection, .cm-s-light .CodeMirror-line > span::selection, .cm-s-light .CodeMirror-line > span > span::selection { background: #eee8d5; }
.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection, .cm-s-ligh .CodeMirror-line > span::-moz-selection, .cm-s-ligh .CodeMirror-line > span > span::-moz-selection { background: #eee8d5; }
.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection, .cm-s-light .CodeMirror-line > span::-moz-selection, .cm-s-light .CodeMirror-line > span > span::-moz-selection { background: #eee8d5; }
/* Editor styling */

View file

@ -1,3 +1,4 @@
@charset "UTF-8";
table.dataTable {
clear: both;
margin-top: 6px !important;
@ -102,7 +103,7 @@ table.dataTable > thead .sorting_desc:before,
table.dataTable > thead .sorting_asc_disabled:before,
table.dataTable > thead .sorting_desc_disabled:before {
right: 1em;
content: "\2191";
content: "";
}
table.dataTable > thead .sorting:after,
table.dataTable > thead .sorting_asc:after,
@ -110,7 +111,7 @@ table.dataTable > thead .sorting_desc:after,
table.dataTable > thead .sorting_asc_disabled:after,
table.dataTable > thead .sorting_desc_disabled:after {
right: 0.5em;
content: "\2193";
content: "";
}
table.dataTable > thead .sorting_asc:before,
table.dataTable > thead .sorting_desc:after {
@ -153,9 +154,9 @@ div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
@media screen and (max-width: 767px) {
div.dataTables_wrapper div.dataTables_length,
div.dataTables_wrapper div.dataTables_filter,
div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_paginate {
div.dataTables_wrapper div.dataTables_filter,
div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_paginate {
text-align: center;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
@ -201,9 +202,9 @@ div.dataTables_scrollHead table.table-bordered {
div.table-responsive > div.dataTables_wrapper > div.row {
margin: 0;
}
div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
div.table-responsive > div.dataTables_wrapper > div.row > div[class^=col-]:first-child {
padding-left: 0;
}
div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
div.table-responsive > div.dataTables_wrapper > div.row > div[class^=col-]:last-child {
padding-right: 0;
}

File diff suppressed because one or more lines are too long

View file

@ -193,7 +193,7 @@
},
weekText: 'Həftə',
allDayText: 'Bütün Gün',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ daha çox ' + n
},
noEventsText: 'Göstərmək üçün hadisə yoxdur',
@ -215,7 +215,7 @@
list: 'График',
},
allDayText: 'Цял ден',
moreLinkText(n) {
moreLinkText: function(n) {
return '+още ' + n
},
noEventsText: 'Няма събития за показване',
@ -238,7 +238,7 @@
},
weekText: 'Sed',
allDayText: 'Cijeli dan',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ još ' + n
},
noEventsText: 'Nema događaja za prikazivanje',
@ -282,13 +282,35 @@
},
weekText: 'Týd',
allDayText: 'Celý den',
moreLinkText(n) {
moreLinkText: function(n) {
return '+další: ' + n
},
noEventsText: 'Žádné akce k zobrazení',
};
var l13 = {
code: 'cy',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Blaenorol',
next: 'Nesaf',
today: 'Heddiw',
year: 'Blwyddyn',
month: 'Mis',
week: 'Wythnos',
day: 'Dydd',
list: 'Rhestr',
},
weekText: 'Wythnos',
allDayText: 'Trwy\'r dydd',
moreLinkText: 'Mwy',
noEventsText: 'Dim digwyddiadau',
};
var l14 = {
code: 'da',
week: {
dow: 1, // Monday is the first day of the week.
@ -309,7 +331,31 @@
noEventsText: 'Ingen arrangementer at vise',
};
var l14 = {
var l15 = {
code: 'de-at',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Zurück',
next: 'Vor',
today: 'Heute',
year: 'Jahr',
month: 'Monat',
week: 'Woche',
day: 'Tag',
list: 'Terminübersicht',
},
weekText: 'KW',
allDayText: 'Ganztägig',
moreLinkText: function(n) {
return '+ weitere ' + n
},
noEventsText: 'Keine Ereignisse anzuzeigen',
};
var l16 = {
code: 'de',
week: {
dow: 1, // Monday is the first day of the week.
@ -327,13 +373,13 @@
},
weekText: 'KW',
allDayText: 'Ganztägig',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ weitere ' + n
},
noEventsText: 'Keine Ereignisse anzuzeigen',
};
var l15 = {
var l17 = {
code: 'el',
week: {
dow: 1, // Monday is the first day of the week.
@ -354,7 +400,7 @@
noEventsText: 'Δεν υπάρχουν γεγονότα προς εμφάνιση',
};
var l16 = {
var l18 = {
code: 'en-au',
week: {
dow: 1, // Monday is the first day of the week.
@ -362,7 +408,7 @@
},
};
var l17 = {
var l19 = {
code: 'en-gb',
week: {
dow: 1, // Monday is the first day of the week.
@ -370,7 +416,7 @@
},
};
var l18 = {
var l20 = {
code: 'en-nz',
week: {
dow: 1, // Monday is the first day of the week.
@ -378,7 +424,28 @@
},
};
var l19 = {
var l21 = {
code: 'eo',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Antaŭa',
next: 'Sekva',
today: 'Hodiaŭ',
month: 'Monato',
week: 'Semajno',
day: 'Tago',
list: 'Tagordo',
},
weekText: 'Sm',
allDayText: 'Tuta tago',
moreLinkText: 'pli',
noEventsText: 'Neniuj eventoj por montri',
};
var l22 = {
code: 'es',
week: {
dow: 0, // Sunday is the first day of the week.
@ -399,7 +466,7 @@
noEventsText: 'No hay eventos para mostrar',
};
var l20 = {
var l23 = {
code: 'es',
week: {
dow: 1, // Monday is the first day of the week.
@ -420,7 +487,7 @@
noEventsText: 'No hay eventos para mostrar',
};
var l21 = {
var l24 = {
code: 'et',
week: {
dow: 1, // Monday is the first day of the week.
@ -437,13 +504,13 @@
},
weekText: 'näd',
allDayText: 'Kogu päev',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ veel ' + n
},
noEventsText: 'Kuvamiseks puuduvad sündmused',
};
var l22 = {
var l25 = {
code: 'eu',
week: {
dow: 1, // Monday is the first day of the week.
@ -464,7 +531,7 @@
noEventsText: 'Ez dago ekitaldirik erakusteko',
};
var l23 = {
var l26 = {
code: 'fa',
week: {
dow: 6, // Saturday is the first day of the week.
@ -482,13 +549,13 @@
},
weekText: 'هف',
allDayText: 'تمام روز',
moreLinkText(n) {
moreLinkText: function(n) {
return 'بیش از ' + n
},
noEventsText: 'هیچ رویدادی به نمایش',
};
var l24 = {
var l27 = {
code: 'fi',
week: {
dow: 1, // Monday is the first day of the week.
@ -509,7 +576,7 @@
noEventsText: 'Ei näytettäviä tapahtumia',
};
var l25 = {
var l28 = {
code: 'fr',
buttonText: {
prev: 'Précédent',
@ -527,7 +594,7 @@
noEventsText: 'Aucun événement à afficher',
};
var l26 = {
var l29 = {
code: 'fr-ch',
week: {
dow: 1, // Monday is the first day of the week.
@ -549,7 +616,7 @@
noEventsText: 'Aucun événement à afficher',
};
var l27 = {
var l30 = {
code: 'fr',
week: {
dow: 1, // Monday is the first day of the week.
@ -571,7 +638,7 @@
noEventsText: 'Aucun événement à afficher',
};
var l28 = {
var l31 = {
code: 'gl',
week: {
dow: 1, // Monday is the first day of the week.
@ -592,7 +659,7 @@
noEventsText: 'Non hai eventos para amosar',
};
var l29 = {
var l32 = {
code: 'he',
direction: 'rtl',
buttonText: {
@ -610,7 +677,7 @@
weekText: 'שבוע',
};
var l30 = {
var l33 = {
code: 'hi',
week: {
dow: 0, // Sunday is the first day of the week.
@ -627,13 +694,13 @@
},
weekText: 'हफ्ता',
allDayText: 'सभी दिन',
moreLinkText(n) {
moreLinkText: function(n) {
return '+अधिक ' + n
},
noEventsText: 'कोई घटनाओं को प्रदर्शित करने के लिए',
};
var l31 = {
var l34 = {
code: 'hr',
week: {
dow: 1, // Monday is the first day of the week.
@ -650,13 +717,13 @@
},
weekText: 'Tje',
allDayText: 'Cijeli dan',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ još ' + n
},
noEventsText: 'Nema događaja za prikaz',
};
var l32 = {
var l35 = {
code: 'hu',
week: {
dow: 1, // Monday is the first day of the week.
@ -677,7 +744,30 @@
noEventsText: 'Nincs megjeleníthető esemény',
};
var l33 = {
var l36 = {
code: 'hy-am',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Նախորդ',
next: 'Հաջորդ',
today: 'Այսօր',
month: 'Ամիս',
week: 'Շաբաթ',
day: 'Օր',
list: 'Օրվա ցուցակ',
},
weekText: 'Շաբ',
allDayText: 'Ամբողջ օր',
moreLinkText: function(n) {
return '+ ևս ' + n
},
noEventsText: 'Բացակայում է իրադարձությունը ցուցադրելու',
};
var l37 = {
code: 'id',
week: {
dow: 1, // Monday is the first day of the week.
@ -698,7 +788,7 @@
noEventsText: 'Tidak ada acara untuk ditampilkan',
};
var l34 = {
var l38 = {
code: 'is',
week: {
dow: 1, // Monday is the first day of the week.
@ -719,7 +809,7 @@
noEventsText: 'Engir viðburðir til að sýna',
};
var l35 = {
var l39 = {
code: 'it',
week: {
dow: 1, // Monday is the first day of the week.
@ -736,13 +826,13 @@
},
weekText: 'Sm',
allDayText: 'Tutto il giorno',
moreLinkText(n) {
moreLinkText: function(n) {
return '+altri ' + n
},
noEventsText: 'Non ci sono eventi da visualizzare',
};
var l36 = {
var l40 = {
code: 'ja',
buttonText: {
prev: '前',
@ -755,13 +845,13 @@
},
weekText: '週',
allDayText: '終日',
moreLinkText(n) {
moreLinkText: function(n) {
return '他 ' + n + ' 件'
},
noEventsText: '表示する予定はありません',
};
var l37 = {
var l41 = {
code: 'ka',
week: {
dow: 1,
@ -778,13 +868,13 @@
},
weekText: 'კვ',
allDayText: 'მთელი დღე',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ კიდევ ' + n
},
noEventsText: 'ღონისძიებები არ არის',
};
var l38 = {
var l42 = {
code: 'kk',
week: {
dow: 1, // Monday is the first day of the week.
@ -801,13 +891,13 @@
},
weekText: 'Не',
allDayText: 'Күні бойы',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ тағы ' + n
},
noEventsText: 'Көрсету үшін оқиғалар жоқ',
};
var l39 = {
var l43 = {
code: 'ko',
buttonText: {
prev: '이전달',
@ -824,7 +914,7 @@
noEventsText: '일정이 없습니다',
};
var l40 = {
var l44 = {
code: 'lb',
week: {
dow: 1, // Monday is the first day of the week.
@ -845,7 +935,7 @@
noEventsText: 'Nee Evenementer ze affichéieren',
};
var l41 = {
var l45 = {
code: 'lt',
week: {
dow: 1, // Monday is the first day of the week.
@ -866,7 +956,7 @@
noEventsText: 'Nėra įvykių rodyti',
};
var l42 = {
var l46 = {
code: 'lv',
week: {
dow: 1, // Monday is the first day of the week.
@ -883,13 +973,13 @@
},
weekText: 'Ned.',
allDayText: 'Visu dienu',
moreLinkText(n) {
moreLinkText: function(n) {
return '+vēl ' + n
},
noEventsText: 'Nav notikumu',
};
var l43 = {
var l47 = {
code: 'mk',
buttonText: {
prev: 'претходно',
@ -902,13 +992,13 @@
},
weekText: 'Сед',
allDayText: 'Цел ден',
moreLinkText(n) {
moreLinkText: function(n) {
return '+повеќе ' + n
},
noEventsText: 'Нема настани за прикажување',
};
var l44 = {
var l48 = {
code: 'ms',
week: {
dow: 1, // Monday is the first day of the week.
@ -925,13 +1015,13 @@
},
weekText: 'Mg',
allDayText: 'Sepanjang hari',
moreLinkText(n) {
moreLinkText: function(n) {
return 'masih ada ' + n + ' acara'
},
noEventsText: 'Tiada peristiwa untuk dipaparkan',
};
var l45 = {
var l49 = {
code: 'nb',
week: {
dow: 1, // Monday is the first day of the week.
@ -952,7 +1042,7 @@
noEventsText: 'Ingen hendelser å vise',
};
var l46 = {
var l50 = {
code: 'ne', // code for nepal
week: {
dow: 7, // Sunday is the first day of the week.
@ -973,14 +1063,14 @@
noEventsText: 'देखाउनको लागि कुनै घटनाहरू छैनन्',
};
var l47 = {
var l51 = {
code: 'nl',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Voorgaand',
prev: 'Vorige',
next: 'Volgende',
today: 'Vandaag',
year: 'Jaar',
@ -994,7 +1084,7 @@
noEventsText: 'Geen evenementen om te laten zien',
};
var l48 = {
var l52 = {
code: 'nn',
week: {
dow: 1, // Monday is the first day of the week.
@ -1015,7 +1105,7 @@
noEventsText: 'Ingen hendelser å vise',
};
var l49 = {
var l53 = {
code: 'pl',
week: {
dow: 1, // Monday is the first day of the week.
@ -1036,7 +1126,7 @@
noEventsText: 'Brak wydarzeń do wyświetlenia',
};
var l50 = {
var l54 = {
code: 'pt-br',
buttonText: {
prev: 'Anterior',
@ -1049,13 +1139,13 @@
},
weekText: 'Sm',
allDayText: 'dia inteiro',
moreLinkText(n) {
moreLinkText: function(n) {
return 'mais +' + n
},
noEventsText: 'Não há eventos para mostrar',
};
var l51 = {
var l55 = {
code: 'pt',
week: {
dow: 1, // Monday is the first day of the week.
@ -1076,7 +1166,7 @@
noEventsText: 'Não há eventos para mostrar',
};
var l52 = {
var l56 = {
code: 'ro',
week: {
dow: 1, // Monday is the first day of the week.
@ -1093,13 +1183,13 @@
},
weekText: 'Săpt',
allDayText: 'Toată ziua',
moreLinkText(n) {
moreLinkText: function(n) {
return '+alte ' + n
},
noEventsText: 'Nu există evenimente de afișat',
};
var l53 = {
var l57 = {
code: 'ru',
week: {
dow: 1, // Monday is the first day of the week.
@ -1116,13 +1206,13 @@
},
weekText: 'Нед',
allDayText: 'Весь день',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ ещё ' + n
},
noEventsText: 'Нет событий для отображения',
};
var l54 = {
var l58 = {
code: 'sk',
week: {
dow: 1, // Monday is the first day of the week.
@ -1139,13 +1229,13 @@
},
weekText: 'Ty',
allDayText: 'Celý deň',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ďalšie: ' + n
},
noEventsText: 'Žiadne akcie na zobrazenie',
};
var l55 = {
var l59 = {
code: 'sl',
week: {
dow: 1, // Monday is the first day of the week.
@ -1166,7 +1256,7 @@
noEventsText: 'Ni dogodkov za prikaz',
};
var l56 = {
var l60 = {
code: 'sq',
week: {
dow: 1, // Monday is the first day of the week.
@ -1183,13 +1273,13 @@
},
weekText: 'Ja',
allDayText: 'Gjithë ditën',
moreLinkText(n) {
moreLinkText: function(n) {
return '+më tepër ' + n
},
noEventsText: 'Nuk ka evente për të shfaqur',
};
var l57 = {
var l61 = {
code: 'sr-cyrl',
week: {
dow: 1, // Monday is the first day of the week.
@ -1206,13 +1296,13 @@
},
weekText: 'Сед',
allDayText: 'Цео дан',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ још ' + n
},
noEventsText: 'Нема догађаја за приказ',
};
var l58 = {
var l62 = {
code: 'sr',
week: {
dow: 1, // Monday is the first day of the week.
@ -1229,13 +1319,13 @@
},
weekText: 'Sed',
allDayText: 'Cеo dan',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ još ' + n
},
noEventsText: 'Nеma događaja za prikaz',
};
var l59 = {
var l63 = {
code: 'sv',
week: {
dow: 1, // Monday is the first day of the week.
@ -1256,7 +1346,7 @@
noEventsText: 'Inga händelser att visa',
};
var l60 = {
var l64 = {
code: 'th',
week: {
dow: 1, // Monday is the first day of the week.
@ -1280,7 +1370,7 @@
noEventsText: 'ไม่มีกิจกรรมที่จะแสดง',
};
var l61 = {
var l65 = {
code: 'tr',
week: {
dow: 1, // Monday is the first day of the week.
@ -1301,7 +1391,7 @@
noEventsText: 'Gösterilecek etkinlik yok',
};
var l62 = {
var l66 = {
code: 'ug',
buttonText: {
month: 'ئاي',
@ -1312,7 +1402,7 @@
allDayText: 'پۈتۈن كۈن',
};
var l63 = {
var l67 = {
code: 'uk',
week: {
dow: 1, // Monday is the first day of the week.
@ -1329,13 +1419,13 @@
},
weekText: 'Тиж',
allDayText: 'Увесь день',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ще ' + n + '...'
},
noEventsText: 'Немає подій для відображення',
};
var l64 = {
var l68 = {
code: 'uz',
buttonText: {
month: 'Oy',
@ -1344,13 +1434,13 @@
list: 'Kun tartibi',
},
allDayText: "Kun bo'yi",
moreLinkText(n) {
moreLinkText: function(n) {
return '+ yana ' + n
},
noEventsText: "Ko'rsatish uchun voqealar yo'q",
};
var l65 = {
var l69 = {
code: 'vi',
week: {
dow: 1, // Monday is the first day of the week.
@ -1367,13 +1457,13 @@
},
weekText: 'Tu',
allDayText: 'Cả ngày',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ thêm ' + n
},
noEventsText: 'Không có sự kiện để hiển thị',
};
var l66 = {
var l70 = {
code: 'zh-cn',
week: {
// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
@ -1391,13 +1481,13 @@
},
weekText: '周',
allDayText: '全天',
moreLinkText(n) {
moreLinkText: function(n) {
return '另外 ' + n + ' 个'
},
noEventsText: '没有事件显示',
};
var l67 = {
var l71 = {
code: 'zh-tw',
buttonText: {
prev: '上月',
@ -1417,7 +1507,7 @@
/* eslint max-len: off */
var localesAll = [
l0, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, l25, l26, l27, l28, l29, l30, l31, l32, l33, l34, l35, l36, l37, l38, l39, l40, l41, l42, l43, l44, l45, l46, l47, l48, l49, l50, l51, l52, l53, l54, l55, l56, l57, l58, l59, l60, l61, l62, l63, l64, l65, l66, l67,
l0, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, l25, l26, l27, l28, l29, l30, l31, l32, l33, l34, l35, l36, l37, l38, l39, l40, l41, l42, l43, l44, l45, l46, l47, l48, l49, l50, l51, l52, l53, l54, l55, l56, l57, l58, l59, l60, l61, l62, l63, l64, l65, l66, l67, l68, l69, l70, l71,
];
return localesAll;

File diff suppressed because one or more lines are too long

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Həftə',
allDayText: 'Bütün Gün',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ daha çox ' + n
},
noEventsText: 'Göstərmək üçün hadisə yoxdur',

View file

@ -17,7 +17,7 @@ FullCalendar.globalLocales.push(function () {
list: 'График',
},
allDayText: 'Цял ден',
moreLinkText(n) {
moreLinkText: function(n) {
return '+още ' + n
},
noEventsText: 'Няма събития за показване',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Sed',
allDayText: 'Cijeli dan',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ još ' + n
},
noEventsText: 'Nema događaja za prikazivanje',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Týd',
allDayText: 'Celý den',
moreLinkText(n) {
moreLinkText: function(n) {
return '+další: ' + n
},
noEventsText: 'Žádné akce k zobrazení',

View file

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(function () {
'use strict';
var cy = {
code: 'cy',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Blaenorol',
next: 'Nesaf',
today: 'Heddiw',
year: 'Blwyddyn',
month: 'Mis',
week: 'Wythnos',
day: 'Dydd',
list: 'Rhestr',
},
weekText: 'Wythnos',
allDayText: 'Trwy\'r dydd',
moreLinkText: 'Mwy',
noEventsText: 'Dim digwyddiadau',
};
return cy;
}());

View file

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(function () {
'use strict';
var deAt = {
code: 'de-at',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Zurück',
next: 'Vor',
today: 'Heute',
year: 'Jahr',
month: 'Monat',
week: 'Woche',
day: 'Tag',
list: 'Terminübersicht',
},
weekText: 'KW',
allDayText: 'Ganztägig',
moreLinkText: function(n) {
return '+ weitere ' + n
},
noEventsText: 'Keine Ereignisse anzuzeigen',
};
return deAt;
}());

View file

@ -19,7 +19,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'KW',
allDayText: 'Ganztägig',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ weitere ' + n
},
noEventsText: 'Keine Ereignisse anzuzeigen',

View file

@ -0,0 +1,27 @@
FullCalendar.globalLocales.push(function () {
'use strict';
var eo = {
code: 'eo',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Antaŭa',
next: 'Sekva',
today: 'Hodiaŭ',
month: 'Monato',
week: 'Semajno',
day: 'Tago',
list: 'Tagordo',
},
weekText: 'Sm',
allDayText: 'Tuta tago',
moreLinkText: 'pli',
noEventsText: 'Neniuj eventoj por montri',
};
return eo;
}());

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'näd',
allDayText: 'Kogu päev',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ veel ' + n
},
noEventsText: 'Kuvamiseks puuduvad sündmused',

View file

@ -19,7 +19,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'هف',
allDayText: 'تمام روز',
moreLinkText(n) {
moreLinkText: function(n) {
return 'بیش از ' + n
},
noEventsText: 'هیچ رویدادی به نمایش',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'हफ्ता',
allDayText: 'सभी दिन',
moreLinkText(n) {
moreLinkText: function(n) {
return '+अधिक ' + n
},
noEventsText: 'कोई घटनाओं को प्रदर्शित करने के लिए',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Tje',
allDayText: 'Cijeli dan',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ još ' + n
},
noEventsText: 'Nema događaja za prikaz',

View file

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(function () {
'use strict';
var hyAm = {
code: 'hy-am',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Նախորդ',
next: 'Հաջորդ',
today: 'Այսօր',
month: 'Ամիս',
week: 'Շաբաթ',
day: 'Օր',
list: 'Օրվա ցուցակ',
},
weekText: 'Շաբ',
allDayText: 'Ամբողջ օր',
moreLinkText: function(n) {
return '+ ևս ' + n
},
noEventsText: 'Բացակայում է իրադարձությունը ցուցադրելու',
};
return hyAm;
}());

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Sm',
allDayText: 'Tutto il giorno',
moreLinkText(n) {
moreLinkText: function(n) {
return '+altri ' + n
},
noEventsText: 'Non ci sono eventi da visualizzare',

View file

@ -14,7 +14,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: '週',
allDayText: '終日',
moreLinkText(n) {
moreLinkText: function(n) {
return '他 ' + n + ' 件'
},
noEventsText: '表示する予定はありません',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'კვ',
allDayText: 'მთელი დღე',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ კიდევ ' + n
},
noEventsText: 'ღონისძიებები არ არის',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Не',
allDayText: 'Күні бойы',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ тағы ' + n
},
noEventsText: 'Көрсету үшін оқиғалар жоқ',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Ned.',
allDayText: 'Visu dienu',
moreLinkText(n) {
moreLinkText: function(n) {
return '+vēl ' + n
},
noEventsText: 'Nav notikumu',

View file

@ -14,7 +14,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Сед',
allDayText: 'Цел ден',
moreLinkText(n) {
moreLinkText: function(n) {
return '+повеќе ' + n
},
noEventsText: 'Нема настани за прикажување',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Mg',
allDayText: 'Sepanjang hari',
moreLinkText(n) {
moreLinkText: function(n) {
return 'masih ada ' + n + ' acara'
},
noEventsText: 'Tiada peristiwa untuk dipaparkan',

View file

@ -8,7 +8,7 @@ FullCalendar.globalLocales.push(function () {
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Voorgaand',
prev: 'Vorige',
next: 'Volgende',
today: 'Vandaag',
year: 'Jaar',

View file

@ -14,7 +14,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Sm',
allDayText: 'dia inteiro',
moreLinkText(n) {
moreLinkText: function(n) {
return 'mais +' + n
},
noEventsText: 'Não há eventos para mostrar',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Săpt',
allDayText: 'Toată ziua',
moreLinkText(n) {
moreLinkText: function(n) {
return '+alte ' + n
},
noEventsText: 'Nu există evenimente de afișat',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Нед',
allDayText: 'Весь день',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ ещё ' + n
},
noEventsText: 'Нет событий для отображения',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Ty',
allDayText: 'Celý deň',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ďalšie: ' + n
},
noEventsText: 'Žiadne akcie na zobrazenie',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Ja',
allDayText: 'Gjithë ditën',
moreLinkText(n) {
moreLinkText: function(n) {
return '+më tepër ' + n
},
noEventsText: 'Nuk ka evente për të shfaqur',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Сед',
allDayText: 'Цео дан',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ још ' + n
},
noEventsText: 'Нема догађаја за приказ',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Sed',
allDayText: 'Cеo dan',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ još ' + n
},
noEventsText: 'Nеma događaja za prikaz',

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Тиж',
allDayText: 'Увесь день',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ще ' + n + '...'
},
noEventsText: 'Немає подій для відображення',

View file

@ -10,7 +10,7 @@ FullCalendar.globalLocales.push(function () {
list: 'Kun tartibi',
},
allDayText: "Kun bo'yi",
moreLinkText(n) {
moreLinkText: function(n) {
return '+ yana ' + n
},
noEventsText: "Ko'rsatish uchun voqealar yo'q",

View file

@ -18,7 +18,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: 'Tu',
allDayText: 'Cả ngày',
moreLinkText(n) {
moreLinkText: function(n) {
return '+ thêm ' + n
},
noEventsText: 'Không có sự kiện để hiển thị',

View file

@ -19,7 +19,7 @@ FullCalendar.globalLocales.push(function () {
},
weekText: '周',
allDayText: '全天',
moreLinkText(n) {
moreLinkText: function(n) {
return '另外 ' + n + ' 个'
},
noEventsText: '没有事件显示',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -149,6 +149,7 @@ body.os-dragging * {
right: 0;
width: auto !important;
height: auto !important;
z-index: 0;
}
.os-host-overflow > .os-padding {
overflow: hidden;

File diff suppressed because one or more lines are too long

View file

@ -2336,10 +2336,9 @@
var i = 0;
var passiveOrOptionsIsObj = FRAMEWORK.isPlainObject(passiveOrOptions);
var passive = _supportPassiveEvents && (passiveOrOptionsIsObj ? (passiveOrOptions._passive || false) : passiveOrOptions);
var passive = (_supportPassiveEvents && (passiveOrOptionsIsObj ? (passiveOrOptions._passive) : passiveOrOptions)) || false;
var capture = passiveOrOptionsIsObj && (passiveOrOptions._capture || false);
var useNative = capture || passive;
var nativeParam = passive ? {
var nativeParam = _supportPassiveEvents ? {
passive: passive,
capture: capture,
} : capture;
@ -2350,7 +2349,7 @@
}
else {
for (; i < events[LEXICON.l]; i++) {
if(useNative) {
if(_supportPassiveEvents) {
element[0][method](events[i], listener, nativeParam);
}
else {

File diff suppressed because one or more lines are too long

View file

@ -1253,10 +1253,9 @@
var i = 0;
var passiveOrOptionsIsObj = FRAMEWORK.isPlainObject(passiveOrOptions);
var passive = _supportPassiveEvents && (passiveOrOptionsIsObj ? (passiveOrOptions._passive || false) : passiveOrOptions);
var passive = (_supportPassiveEvents && (passiveOrOptionsIsObj ? (passiveOrOptions._passive) : passiveOrOptions)) || false;
var capture = passiveOrOptionsIsObj && (passiveOrOptions._capture || false);
var useNative = capture || passive;
var nativeParam = passive ? {
var nativeParam = _supportPassiveEvents ? {
passive: passive,
capture: capture,
} : capture;
@ -1267,7 +1266,7 @@
}
else {
for (; i < events[LEXICON.l]; i++) {
if(useNative) {
if(_supportPassiveEvents) {
element[0][method](events[i], listener, nativeParam);
}
else {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*!
* sweetalert2 v10.12.5
* sweetalert2 v10.12.6
* Released under the MIT License.
*/
(function (global, factory) {
@ -3211,7 +3211,7 @@
domCache.popup.onclick = function () {
var innerParams = privateProps.innerParams.get(instance);
if (innerParams.showConfirmButton || innerParams.showDenyButton || innerParams.showCancelButton || innerParams.showCloseButton || innerParams.input) {
if (innerParams.showConfirmButton || innerParams.showDenyButton || innerParams.showCancelButton || innerParams.showCloseButton || innerParams.timer || innerParams.input) {
return;
}
@ -3616,7 +3616,7 @@
};
});
SweetAlert.DismissReason = DismissReason;
SweetAlert.version = '10.12.5';
SweetAlert.version = '10.12.6';
var Swal = SweetAlert;
Swal["default"] = Swal;

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*!
* sweetalert2 v10.12.5
* sweetalert2 v10.12.6
* Released under the MIT License.
*/
(function (global, factory) {
@ -3211,7 +3211,7 @@
domCache.popup.onclick = function () {
var innerParams = privateProps.innerParams.get(instance);
if (innerParams.showConfirmButton || innerParams.showDenyButton || innerParams.showCancelButton || innerParams.showCloseButton || innerParams.input) {
if (innerParams.showConfirmButton || innerParams.showDenyButton || innerParams.showCancelButton || innerParams.showCloseButton || innerParams.timer || innerParams.input) {
return;
}
@ -3616,7 +3616,7 @@
};
});
SweetAlert.DismissReason = DismissReason;
SweetAlert.version = '10.12.5';
SweetAlert.version = '10.12.6';
var Swal = SweetAlert;
Swal["default"] = Swal;

File diff suppressed because one or more lines are too long