@wavemaker/angular-codegen 11.14.1-24.647644 → 11.14.1-27.647700
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/angular-app/dependency-report.html +1 -1
- package/angular-app/npm-shrinkwrap.json +386 -292
- package/angular-app/package-lock.json +386 -292
- package/angular-app/package.json +5 -5
- package/dependencies/custom-widgets-bundle.cjs.js +27 -12
- package/dependencies/pipe-provider.cjs.js +58 -28
- package/dependencies/transpilation-web.cjs.js +29 -14
- package/npm-shrinkwrap.json +95 -102
- package/package-lock.json +95 -102
- package/package.json +2 -2
|
@@ -131162,11 +131162,22 @@ function requireConventions$1 () {
|
|
|
131162
131162
|
XMLNS: 'http://www.w3.org/2000/xmlns/',
|
|
131163
131163
|
});
|
|
131164
131164
|
|
|
131165
|
+
//[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
|
|
131166
|
+
//[4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
|
|
131167
|
+
//[5] Name ::= NameStartChar (NameChar)*
|
|
131168
|
+
var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;//\u10000-\uEFFFF
|
|
131169
|
+
var nameChar = new RegExp("[\\-\\.0-9"+nameStartChar.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]");
|
|
131170
|
+
var tagNamePattern = new RegExp('^'+nameStartChar.source+nameChar.source+'*(?:\:'+nameStartChar.source+nameChar.source+'*)?$');
|
|
131171
|
+
//var tagNamePattern = /^[a-zA-Z_][\w\-\.]*(?:\:[a-zA-Z_][\w\-\.]*)?$/
|
|
131172
|
+
|
|
131165
131173
|
conventions$1.assign = assign;
|
|
131166
131174
|
conventions$1.find = find;
|
|
131167
131175
|
conventions$1.freeze = freeze;
|
|
131168
131176
|
conventions$1.MIME_TYPE = MIME_TYPE;
|
|
131169
131177
|
conventions$1.NAMESPACE = NAMESPACE;
|
|
131178
|
+
conventions$1.nameStartChar = nameStartChar;
|
|
131179
|
+
conventions$1.nameChar = nameChar;
|
|
131180
|
+
conventions$1.tagNamePattern = tagNamePattern;
|
|
131170
131181
|
return conventions$1;
|
|
131171
131182
|
}
|
|
131172
131183
|
|
|
@@ -131179,6 +131190,7 @@ function requireDom$1 () {
|
|
|
131179
131190
|
|
|
131180
131191
|
var find = conventions.find;
|
|
131181
131192
|
var NAMESPACE = conventions.NAMESPACE;
|
|
131193
|
+
var tagNamePattern = conventions.tagNamePattern;
|
|
131182
131194
|
|
|
131183
131195
|
/**
|
|
131184
131196
|
* A prerequisite for `[].filter`, to drop elements that are empty
|
|
@@ -132818,6 +132830,9 @@ function requireDom$1 () {
|
|
|
132818
132830
|
* @returns {string}
|
|
132819
132831
|
* @throws {DOMException}
|
|
132820
132832
|
* With code `INVALID_STATE_ERR` when `requireWellFormed` is `true` and:
|
|
132833
|
+
* - an Element's qualified name (including any namespace prefix) is not a valid XML QName,
|
|
132834
|
+
* - an attribute's qualified name (including a synthesized `xmlns:` namespace declaration) is
|
|
132835
|
+
* not a valid XML QName,
|
|
132821
132836
|
* - a CDATASection node's data contains `"]]>"`,
|
|
132822
132837
|
* - a Comment node's data contains `"-->"` (bare `"--"` does not throw on this branch),
|
|
132823
132838
|
* - a ProcessingInstruction's data contains `"?>"`,
|
|
@@ -132899,7 +132914,10 @@ function requireDom$1 () {
|
|
|
132899
132914
|
* @see https://www.w3.org/TR/xml11/#AVNormalize
|
|
132900
132915
|
* @see https://w3c.github.io/DOM-Parsing/#serializing-an-element-s-attributes
|
|
132901
132916
|
*/
|
|
132902
|
-
function addSerializedAttribute(buf, qualifiedName, value) {
|
|
132917
|
+
function addSerializedAttribute(buf, qualifiedName, value, requireWellFormed) {
|
|
132918
|
+
if (requireWellFormed && !tagNamePattern.test(qualifiedName)) {
|
|
132919
|
+
throw new DOMException(INVALID_STATE_ERR, 'The attribute name "' + qualifiedName + '" is not a valid XML QName');
|
|
132920
|
+
}
|
|
132903
132921
|
buf.push(' ', qualifiedName, '="', value.replace(/[<>&"\t\n\r]/g, _xmlEncoder), '"');
|
|
132904
132922
|
}
|
|
132905
132923
|
|
|
@@ -132965,6 +132983,9 @@ function requireDom$1 () {
|
|
|
132965
132983
|
}
|
|
132966
132984
|
}
|
|
132967
132985
|
|
|
132986
|
+
if (requireWellFormed && !tagNamePattern.test(prefixedNodeName)) {
|
|
132987
|
+
throw new DOMException(INVALID_STATE_ERR, 'The element name "' + prefixedNodeName + '" is not a valid XML QName');
|
|
132988
|
+
}
|
|
132968
132989
|
buf.push('<', prefixedNodeName);
|
|
132969
132990
|
|
|
132970
132991
|
// Build a fresh namespace snapshot for this element's children.
|
|
@@ -132984,7 +133005,7 @@ function requireDom$1 () {
|
|
|
132984
133005
|
if (needNamespaceDefine(attr, html, childNs)) {
|
|
132985
133006
|
var attrPrefix = attr.prefix || '';
|
|
132986
133007
|
var uri = attr.namespaceURI;
|
|
132987
|
-
addSerializedAttribute(buf, attrPrefix ? 'xmlns:' + attrPrefix : 'xmlns', uri);
|
|
133008
|
+
addSerializedAttribute(buf, attrPrefix ? 'xmlns:' + attrPrefix : 'xmlns', uri, requireWellFormed);
|
|
132988
133009
|
childNs.push({ prefix: attrPrefix, namespace: uri });
|
|
132989
133010
|
}
|
|
132990
133011
|
// Apply nodeFilter and serialize the attribute.
|
|
@@ -132993,7 +133014,7 @@ function requireDom$1 () {
|
|
|
132993
133014
|
if (typeof filteredAttr === 'string') {
|
|
132994
133015
|
buf.push(filteredAttr);
|
|
132995
133016
|
} else {
|
|
132996
|
-
addSerializedAttribute(buf, filteredAttr.name, filteredAttr.value);
|
|
133017
|
+
addSerializedAttribute(buf, filteredAttr.name, filteredAttr.value, requireWellFormed);
|
|
132997
133018
|
}
|
|
132998
133019
|
}
|
|
132999
133020
|
}
|
|
@@ -133002,7 +133023,7 @@ function requireDom$1 () {
|
|
|
133002
133023
|
if (nodeName === prefixedNodeName && needNamespaceDefine(n, html, childNs)) {
|
|
133003
133024
|
var nodePrefix = n.prefix || '';
|
|
133004
133025
|
var uri = n.namespaceURI;
|
|
133005
|
-
addSerializedAttribute(buf, nodePrefix ? 'xmlns:' + nodePrefix : 'xmlns', uri);
|
|
133026
|
+
addSerializedAttribute(buf, nodePrefix ? 'xmlns:' + nodePrefix : 'xmlns', uri, requireWellFormed);
|
|
133006
133027
|
childNs.push({ prefix: nodePrefix, namespace: uri });
|
|
133007
133028
|
}
|
|
133008
133029
|
|
|
@@ -133035,7 +133056,7 @@ function requireDom$1 () {
|
|
|
133035
133056
|
return { ns: ns.slice(), isHTML: html, tag: null };
|
|
133036
133057
|
|
|
133037
133058
|
case ATTRIBUTE_NODE:
|
|
133038
|
-
addSerializedAttribute(buf, n.name, n.value);
|
|
133059
|
+
addSerializedAttribute(buf, n.name, n.value, requireWellFormed);
|
|
133039
133060
|
return null;
|
|
133040
133061
|
|
|
133041
133062
|
case TEXT_NODE:
|
|
@@ -135492,14 +135513,8 @@ function requireSax$1 () {
|
|
|
135492
135513
|
if (hasRequiredSax$1) return sax$1;
|
|
135493
135514
|
hasRequiredSax$1 = 1;
|
|
135494
135515
|
var NAMESPACE = requireConventions$1().NAMESPACE;
|
|
135516
|
+
var tagNamePattern = requireConventions$1().tagNamePattern;
|
|
135495
135517
|
|
|
135496
|
-
//[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
|
|
135497
|
-
//[4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
|
|
135498
|
-
//[5] Name ::= NameStartChar (NameChar)*
|
|
135499
|
-
var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;//\u10000-\uEFFFF
|
|
135500
|
-
var nameChar = new RegExp("[\\-\\.0-9"+nameStartChar.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]");
|
|
135501
|
-
var tagNamePattern = new RegExp('^'+nameStartChar.source+nameChar.source+'*(?:\:'+nameStartChar.source+nameChar.source+'*)?$');
|
|
135502
|
-
//var tagNamePattern = /^[a-zA-Z_][\w\-\.]*(?:\:[a-zA-Z_][\w\-\.]*)?$/
|
|
135503
135518
|
//var handlers = 'resolveEntity,getExternalSubset,characters,endDocument,endElement,endPrefixMapping,ignorableWhitespace,processingInstruction,setDocumentLocator,skippedEntity,startDocument,startElement,startPrefixMapping,notationDecl,unparsedEntityDecl,error,fatalError,warning,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,comment,endCDATA,endDTD,endEntity,startCDATA,startDTD,startEntity'.split(',')
|
|
135504
135519
|
|
|
135505
135520
|
//S_TAG, S_ATTR, S_EQ, S_ATTR_NOQUOT_VALUE
|
|
@@ -142977,7 +142992,7 @@ function requireMomentTimezone$1 () {
|
|
|
142977
142992
|
hasRequiredMomentTimezone$1 = 1;
|
|
142978
142993
|
(function (module) {
|
|
142979
142994
|
//! moment-timezone.js
|
|
142980
|
-
//! version : 0.6.
|
|
142995
|
+
//! version : 0.6.3
|
|
142981
142996
|
//! Copyright (c) JS Foundation and other contributors
|
|
142982
142997
|
//! license : MIT
|
|
142983
142998
|
//! github.com/moment/moment-timezone
|
|
@@ -143003,7 +143018,7 @@ function requireMomentTimezone$1 () {
|
|
|
143003
143018
|
// return moment;
|
|
143004
143019
|
// }
|
|
143005
143020
|
|
|
143006
|
-
var VERSION = "0.6.
|
|
143021
|
+
var VERSION = "0.6.3",
|
|
143007
143022
|
zones = {},
|
|
143008
143023
|
links = {},
|
|
143009
143024
|
countries = {},
|
|
@@ -188102,11 +188117,22 @@ function requireConventions () {
|
|
|
188102
188117
|
XMLNS: 'http://www.w3.org/2000/xmlns/',
|
|
188103
188118
|
});
|
|
188104
188119
|
|
|
188120
|
+
//[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
|
|
188121
|
+
//[4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
|
|
188122
|
+
//[5] Name ::= NameStartChar (NameChar)*
|
|
188123
|
+
var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;//\u10000-\uEFFFF
|
|
188124
|
+
var nameChar = new RegExp("[\\-\\.0-9"+nameStartChar.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]");
|
|
188125
|
+
var tagNamePattern = new RegExp('^'+nameStartChar.source+nameChar.source+'*(?:\:'+nameStartChar.source+nameChar.source+'*)?$');
|
|
188126
|
+
//var tagNamePattern = /^[a-zA-Z_][\w\-\.]*(?:\:[a-zA-Z_][\w\-\.]*)?$/
|
|
188127
|
+
|
|
188105
188128
|
conventions.assign = assign;
|
|
188106
188129
|
conventions.find = find;
|
|
188107
188130
|
conventions.freeze = freeze;
|
|
188108
188131
|
conventions.MIME_TYPE = MIME_TYPE;
|
|
188109
188132
|
conventions.NAMESPACE = NAMESPACE;
|
|
188133
|
+
conventions.nameStartChar = nameStartChar;
|
|
188134
|
+
conventions.nameChar = nameChar;
|
|
188135
|
+
conventions.tagNamePattern = tagNamePattern;
|
|
188110
188136
|
return conventions;
|
|
188111
188137
|
}
|
|
188112
188138
|
|
|
@@ -188119,6 +188145,7 @@ function requireDom () {
|
|
|
188119
188145
|
|
|
188120
188146
|
var find = conventions.find;
|
|
188121
188147
|
var NAMESPACE = conventions.NAMESPACE;
|
|
188148
|
+
var tagNamePattern = conventions.tagNamePattern;
|
|
188122
188149
|
|
|
188123
188150
|
/**
|
|
188124
188151
|
* A prerequisite for `[].filter`, to drop elements that are empty
|
|
@@ -189758,6 +189785,9 @@ function requireDom () {
|
|
|
189758
189785
|
* @returns {string}
|
|
189759
189786
|
* @throws {DOMException}
|
|
189760
189787
|
* With code `INVALID_STATE_ERR` when `requireWellFormed` is `true` and:
|
|
189788
|
+
* - an Element's qualified name (including any namespace prefix) is not a valid XML QName,
|
|
189789
|
+
* - an attribute's qualified name (including a synthesized `xmlns:` namespace declaration) is
|
|
189790
|
+
* not a valid XML QName,
|
|
189761
189791
|
* - a CDATASection node's data contains `"]]>"`,
|
|
189762
189792
|
* - a Comment node's data contains `"-->"` (bare `"--"` does not throw on this branch),
|
|
189763
189793
|
* - a ProcessingInstruction's data contains `"?>"`,
|
|
@@ -189839,7 +189869,10 @@ function requireDom () {
|
|
|
189839
189869
|
* @see https://www.w3.org/TR/xml11/#AVNormalize
|
|
189840
189870
|
* @see https://w3c.github.io/DOM-Parsing/#serializing-an-element-s-attributes
|
|
189841
189871
|
*/
|
|
189842
|
-
function addSerializedAttribute(buf, qualifiedName, value) {
|
|
189872
|
+
function addSerializedAttribute(buf, qualifiedName, value, requireWellFormed) {
|
|
189873
|
+
if (requireWellFormed && !tagNamePattern.test(qualifiedName)) {
|
|
189874
|
+
throw new DOMException(INVALID_STATE_ERR, 'The attribute name "' + qualifiedName + '" is not a valid XML QName');
|
|
189875
|
+
}
|
|
189843
189876
|
buf.push(' ', qualifiedName, '="', value.replace(/[<>&"\t\n\r]/g, _xmlEncoder), '"');
|
|
189844
189877
|
}
|
|
189845
189878
|
|
|
@@ -189905,6 +189938,9 @@ function requireDom () {
|
|
|
189905
189938
|
}
|
|
189906
189939
|
}
|
|
189907
189940
|
|
|
189941
|
+
if (requireWellFormed && !tagNamePattern.test(prefixedNodeName)) {
|
|
189942
|
+
throw new DOMException(INVALID_STATE_ERR, 'The element name "' + prefixedNodeName + '" is not a valid XML QName');
|
|
189943
|
+
}
|
|
189908
189944
|
buf.push('<', prefixedNodeName);
|
|
189909
189945
|
|
|
189910
189946
|
// Build a fresh namespace snapshot for this element's children.
|
|
@@ -189924,7 +189960,7 @@ function requireDom () {
|
|
|
189924
189960
|
if (needNamespaceDefine(attr, html, childNs)) {
|
|
189925
189961
|
var attrPrefix = attr.prefix || '';
|
|
189926
189962
|
var uri = attr.namespaceURI;
|
|
189927
|
-
addSerializedAttribute(buf, attrPrefix ? 'xmlns:' + attrPrefix : 'xmlns', uri);
|
|
189963
|
+
addSerializedAttribute(buf, attrPrefix ? 'xmlns:' + attrPrefix : 'xmlns', uri, requireWellFormed);
|
|
189928
189964
|
childNs.push({ prefix: attrPrefix, namespace: uri });
|
|
189929
189965
|
}
|
|
189930
189966
|
// Apply nodeFilter and serialize the attribute.
|
|
@@ -189933,7 +189969,7 @@ function requireDom () {
|
|
|
189933
189969
|
if (typeof filteredAttr === 'string') {
|
|
189934
189970
|
buf.push(filteredAttr);
|
|
189935
189971
|
} else {
|
|
189936
|
-
addSerializedAttribute(buf, filteredAttr.name, filteredAttr.value);
|
|
189972
|
+
addSerializedAttribute(buf, filteredAttr.name, filteredAttr.value, requireWellFormed);
|
|
189937
189973
|
}
|
|
189938
189974
|
}
|
|
189939
189975
|
}
|
|
@@ -189942,7 +189978,7 @@ function requireDom () {
|
|
|
189942
189978
|
if (nodeName === prefixedNodeName && needNamespaceDefine(n, html, childNs)) {
|
|
189943
189979
|
var nodePrefix = n.prefix || '';
|
|
189944
189980
|
var uri = n.namespaceURI;
|
|
189945
|
-
addSerializedAttribute(buf, nodePrefix ? 'xmlns:' + nodePrefix : 'xmlns', uri);
|
|
189981
|
+
addSerializedAttribute(buf, nodePrefix ? 'xmlns:' + nodePrefix : 'xmlns', uri, requireWellFormed);
|
|
189946
189982
|
childNs.push({ prefix: nodePrefix, namespace: uri });
|
|
189947
189983
|
}
|
|
189948
189984
|
|
|
@@ -189975,7 +190011,7 @@ function requireDom () {
|
|
|
189975
190011
|
return { ns: ns.slice(), isHTML: html, tag: null };
|
|
189976
190012
|
|
|
189977
190013
|
case ATTRIBUTE_NODE:
|
|
189978
|
-
addSerializedAttribute(buf, n.name, n.value);
|
|
190014
|
+
addSerializedAttribute(buf, n.name, n.value, requireWellFormed);
|
|
189979
190015
|
return null;
|
|
189980
190016
|
|
|
189981
190017
|
case TEXT_NODE:
|
|
@@ -192432,14 +192468,8 @@ function requireSax () {
|
|
|
192432
192468
|
if (hasRequiredSax) return sax;
|
|
192433
192469
|
hasRequiredSax = 1;
|
|
192434
192470
|
var NAMESPACE = requireConventions().NAMESPACE;
|
|
192471
|
+
var tagNamePattern = requireConventions().tagNamePattern;
|
|
192435
192472
|
|
|
192436
|
-
//[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
|
|
192437
|
-
//[4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
|
|
192438
|
-
//[5] Name ::= NameStartChar (NameChar)*
|
|
192439
|
-
var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;//\u10000-\uEFFFF
|
|
192440
|
-
var nameChar = new RegExp("[\\-\\.0-9"+nameStartChar.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]");
|
|
192441
|
-
var tagNamePattern = new RegExp('^'+nameStartChar.source+nameChar.source+'*(?:\:'+nameStartChar.source+nameChar.source+'*)?$');
|
|
192442
|
-
//var tagNamePattern = /^[a-zA-Z_][\w\-\.]*(?:\:[a-zA-Z_][\w\-\.]*)?$/
|
|
192443
192473
|
//var handlers = 'resolveEntity,getExternalSubset,characters,endDocument,endElement,endPrefixMapping,ignorableWhitespace,processingInstruction,setDocumentLocator,skippedEntity,startDocument,startElement,startPrefixMapping,notationDecl,unparsedEntityDecl,error,fatalError,warning,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,comment,endCDATA,endDTD,endEntity,startCDATA,startDTD,startEntity'.split(',')
|
|
192444
192474
|
|
|
192445
192475
|
//S_TAG, S_ATTR, S_EQ, S_ATTR_NOQUOT_VALUE
|
|
@@ -199917,7 +199947,7 @@ function requireMomentTimezone () {
|
|
|
199917
199947
|
hasRequiredMomentTimezone = 1;
|
|
199918
199948
|
(function (module) {
|
|
199919
199949
|
//! moment-timezone.js
|
|
199920
|
-
//! version : 0.6.
|
|
199950
|
+
//! version : 0.6.3
|
|
199921
199951
|
//! Copyright (c) JS Foundation and other contributors
|
|
199922
199952
|
//! license : MIT
|
|
199923
199953
|
//! github.com/moment/moment-timezone
|
|
@@ -199943,7 +199973,7 @@ function requireMomentTimezone () {
|
|
|
199943
199973
|
// return moment;
|
|
199944
199974
|
// }
|
|
199945
199975
|
|
|
199946
|
-
var VERSION = "0.6.
|
|
199976
|
+
var VERSION = "0.6.3",
|
|
199947
199977
|
zones = {},
|
|
199948
199978
|
links = {},
|
|
199949
199979
|
countries = {},
|
|
@@ -37685,11 +37685,22 @@ function requireConventions () {
|
|
|
37685
37685
|
XMLNS: 'http://www.w3.org/2000/xmlns/',
|
|
37686
37686
|
});
|
|
37687
37687
|
|
|
37688
|
+
//[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
|
|
37689
|
+
//[4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
|
|
37690
|
+
//[5] Name ::= NameStartChar (NameChar)*
|
|
37691
|
+
var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;//\u10000-\uEFFFF
|
|
37692
|
+
var nameChar = new RegExp("[\\-\\.0-9"+nameStartChar.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]");
|
|
37693
|
+
var tagNamePattern = new RegExp('^'+nameStartChar.source+nameChar.source+'*(?:\:'+nameStartChar.source+nameChar.source+'*)?$');
|
|
37694
|
+
//var tagNamePattern = /^[a-zA-Z_][\w\-\.]*(?:\:[a-zA-Z_][\w\-\.]*)?$/
|
|
37695
|
+
|
|
37688
37696
|
conventions.assign = assign;
|
|
37689
37697
|
conventions.find = find;
|
|
37690
37698
|
conventions.freeze = freeze;
|
|
37691
37699
|
conventions.MIME_TYPE = MIME_TYPE;
|
|
37692
37700
|
conventions.NAMESPACE = NAMESPACE;
|
|
37701
|
+
conventions.nameStartChar = nameStartChar;
|
|
37702
|
+
conventions.nameChar = nameChar;
|
|
37703
|
+
conventions.tagNamePattern = tagNamePattern;
|
|
37693
37704
|
return conventions;
|
|
37694
37705
|
}
|
|
37695
37706
|
|
|
@@ -37702,6 +37713,7 @@ function requireDom () {
|
|
|
37702
37713
|
|
|
37703
37714
|
var find = conventions.find;
|
|
37704
37715
|
var NAMESPACE = conventions.NAMESPACE;
|
|
37716
|
+
var tagNamePattern = conventions.tagNamePattern;
|
|
37705
37717
|
|
|
37706
37718
|
/**
|
|
37707
37719
|
* A prerequisite for `[].filter`, to drop elements that are empty
|
|
@@ -39341,6 +39353,9 @@ function requireDom () {
|
|
|
39341
39353
|
* @returns {string}
|
|
39342
39354
|
* @throws {DOMException}
|
|
39343
39355
|
* With code `INVALID_STATE_ERR` when `requireWellFormed` is `true` and:
|
|
39356
|
+
* - an Element's qualified name (including any namespace prefix) is not a valid XML QName,
|
|
39357
|
+
* - an attribute's qualified name (including a synthesized `xmlns:` namespace declaration) is
|
|
39358
|
+
* not a valid XML QName,
|
|
39344
39359
|
* - a CDATASection node's data contains `"]]>"`,
|
|
39345
39360
|
* - a Comment node's data contains `"-->"` (bare `"--"` does not throw on this branch),
|
|
39346
39361
|
* - a ProcessingInstruction's data contains `"?>"`,
|
|
@@ -39422,7 +39437,10 @@ function requireDom () {
|
|
|
39422
39437
|
* @see https://www.w3.org/TR/xml11/#AVNormalize
|
|
39423
39438
|
* @see https://w3c.github.io/DOM-Parsing/#serializing-an-element-s-attributes
|
|
39424
39439
|
*/
|
|
39425
|
-
function addSerializedAttribute(buf, qualifiedName, value) {
|
|
39440
|
+
function addSerializedAttribute(buf, qualifiedName, value, requireWellFormed) {
|
|
39441
|
+
if (requireWellFormed && !tagNamePattern.test(qualifiedName)) {
|
|
39442
|
+
throw new DOMException(INVALID_STATE_ERR, 'The attribute name "' + qualifiedName + '" is not a valid XML QName');
|
|
39443
|
+
}
|
|
39426
39444
|
buf.push(' ', qualifiedName, '="', value.replace(/[<>&"\t\n\r]/g, _xmlEncoder), '"');
|
|
39427
39445
|
}
|
|
39428
39446
|
|
|
@@ -39488,6 +39506,9 @@ function requireDom () {
|
|
|
39488
39506
|
}
|
|
39489
39507
|
}
|
|
39490
39508
|
|
|
39509
|
+
if (requireWellFormed && !tagNamePattern.test(prefixedNodeName)) {
|
|
39510
|
+
throw new DOMException(INVALID_STATE_ERR, 'The element name "' + prefixedNodeName + '" is not a valid XML QName');
|
|
39511
|
+
}
|
|
39491
39512
|
buf.push('<', prefixedNodeName);
|
|
39492
39513
|
|
|
39493
39514
|
// Build a fresh namespace snapshot for this element's children.
|
|
@@ -39507,7 +39528,7 @@ function requireDom () {
|
|
|
39507
39528
|
if (needNamespaceDefine(attr, html, childNs)) {
|
|
39508
39529
|
var attrPrefix = attr.prefix || '';
|
|
39509
39530
|
var uri = attr.namespaceURI;
|
|
39510
|
-
addSerializedAttribute(buf, attrPrefix ? 'xmlns:' + attrPrefix : 'xmlns', uri);
|
|
39531
|
+
addSerializedAttribute(buf, attrPrefix ? 'xmlns:' + attrPrefix : 'xmlns', uri, requireWellFormed);
|
|
39511
39532
|
childNs.push({ prefix: attrPrefix, namespace: uri });
|
|
39512
39533
|
}
|
|
39513
39534
|
// Apply nodeFilter and serialize the attribute.
|
|
@@ -39516,7 +39537,7 @@ function requireDom () {
|
|
|
39516
39537
|
if (typeof filteredAttr === 'string') {
|
|
39517
39538
|
buf.push(filteredAttr);
|
|
39518
39539
|
} else {
|
|
39519
|
-
addSerializedAttribute(buf, filteredAttr.name, filteredAttr.value);
|
|
39540
|
+
addSerializedAttribute(buf, filteredAttr.name, filteredAttr.value, requireWellFormed);
|
|
39520
39541
|
}
|
|
39521
39542
|
}
|
|
39522
39543
|
}
|
|
@@ -39525,7 +39546,7 @@ function requireDom () {
|
|
|
39525
39546
|
if (nodeName === prefixedNodeName && needNamespaceDefine(n, html, childNs)) {
|
|
39526
39547
|
var nodePrefix = n.prefix || '';
|
|
39527
39548
|
var uri = n.namespaceURI;
|
|
39528
|
-
addSerializedAttribute(buf, nodePrefix ? 'xmlns:' + nodePrefix : 'xmlns', uri);
|
|
39549
|
+
addSerializedAttribute(buf, nodePrefix ? 'xmlns:' + nodePrefix : 'xmlns', uri, requireWellFormed);
|
|
39529
39550
|
childNs.push({ prefix: nodePrefix, namespace: uri });
|
|
39530
39551
|
}
|
|
39531
39552
|
|
|
@@ -39558,7 +39579,7 @@ function requireDom () {
|
|
|
39558
39579
|
return { ns: ns.slice(), isHTML: html, tag: null };
|
|
39559
39580
|
|
|
39560
39581
|
case ATTRIBUTE_NODE:
|
|
39561
|
-
addSerializedAttribute(buf, n.name, n.value);
|
|
39582
|
+
addSerializedAttribute(buf, n.name, n.value, requireWellFormed);
|
|
39562
39583
|
return null;
|
|
39563
39584
|
|
|
39564
39585
|
case TEXT_NODE:
|
|
@@ -42015,14 +42036,8 @@ function requireSax () {
|
|
|
42015
42036
|
if (hasRequiredSax) return sax;
|
|
42016
42037
|
hasRequiredSax = 1;
|
|
42017
42038
|
var NAMESPACE = requireConventions().NAMESPACE;
|
|
42039
|
+
var tagNamePattern = requireConventions().tagNamePattern;
|
|
42018
42040
|
|
|
42019
|
-
//[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
|
|
42020
|
-
//[4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
|
|
42021
|
-
//[5] Name ::= NameStartChar (NameChar)*
|
|
42022
|
-
var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;//\u10000-\uEFFFF
|
|
42023
|
-
var nameChar = new RegExp("[\\-\\.0-9"+nameStartChar.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]");
|
|
42024
|
-
var tagNamePattern = new RegExp('^'+nameStartChar.source+nameChar.source+'*(?:\:'+nameStartChar.source+nameChar.source+'*)?$');
|
|
42025
|
-
//var tagNamePattern = /^[a-zA-Z_][\w\-\.]*(?:\:[a-zA-Z_][\w\-\.]*)?$/
|
|
42026
42041
|
//var handlers = 'resolveEntity,getExternalSubset,characters,endDocument,endElement,endPrefixMapping,ignorableWhitespace,processingInstruction,setDocumentLocator,skippedEntity,startDocument,startElement,startPrefixMapping,notationDecl,unparsedEntityDecl,error,fatalError,warning,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,comment,endCDATA,endDTD,endEntity,startCDATA,startDTD,startEntity'.split(',')
|
|
42027
42042
|
|
|
42028
42043
|
//S_TAG, S_ATTR, S_EQ, S_ATTR_NOQUOT_VALUE
|
|
@@ -49500,7 +49515,7 @@ function requireMomentTimezone () {
|
|
|
49500
49515
|
hasRequiredMomentTimezone = 1;
|
|
49501
49516
|
(function (module) {
|
|
49502
49517
|
//! moment-timezone.js
|
|
49503
|
-
//! version : 0.6.
|
|
49518
|
+
//! version : 0.6.3
|
|
49504
49519
|
//! Copyright (c) JS Foundation and other contributors
|
|
49505
49520
|
//! license : MIT
|
|
49506
49521
|
//! github.com/moment/moment-timezone
|
|
@@ -49526,7 +49541,7 @@ function requireMomentTimezone () {
|
|
|
49526
49541
|
// return moment;
|
|
49527
49542
|
// }
|
|
49528
49543
|
|
|
49529
|
-
var VERSION = "0.6.
|
|
49544
|
+
var VERSION = "0.6.3",
|
|
49530
49545
|
zones = {},
|
|
49531
49546
|
links = {},
|
|
49532
49547
|
countries = {},
|