@lingk/sync 1.1.38 → 1.1.39
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/build/credentialSections.js +572 -446
- package/build/credentialSections.js.map +1 -1
- package/build/css/credentialSections.css +3 -10
- package/build/css/lightningStyles.css +2 -4
- package/build/css/lingkStyles.css +2 -4
- package/build/css/main.css +45 -95
- package/build/lightning.js +1810 -778
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js +2 -2
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js +59 -55
- package/build/lingk.js.map +1 -1
- package/build/lingkStyles.js +2 -2
- package/build/lingkStyles.js.map +1 -1
- package/build/loadData.js +224 -232
- package/build/loadData.js.map +1 -1
- package/build/main.js +8353 -4735
- package/build/main.js.map +1 -1
- package/build/metadataDropdown.js +51 -55
- package/build/metadataDropdown.js.map +1 -1
- package/build/metadataFunctions.js +307 -365
- package/build/metadataFunctions.js.map +1 -1
- package/build/reducer.js +313 -371
- package/build/reducer.js.map +1 -1
- package/build/saveData.js +61 -70
- package/build/saveData.js.map +1 -1
- package/package.json +1 -1
|
@@ -68,7 +68,7 @@ module.exports =
|
|
|
68
68
|
/* 0 */
|
|
69
69
|
/***/ function(module, exports, __webpack_require__) {
|
|
70
70
|
|
|
71
|
-
module.exports = __webpack_require__(
|
|
71
|
+
module.exports = __webpack_require__(71);
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
/***/ },
|
|
@@ -79,31 +79,43 @@ module.exports =
|
|
|
79
79
|
|
|
80
80
|
/***/ },
|
|
81
81
|
/* 2 */,
|
|
82
|
-
/* 3
|
|
82
|
+
/* 3 */,
|
|
83
|
+
/* 4 */
|
|
83
84
|
/***/ function(module, exports) {
|
|
84
85
|
|
|
85
86
|
module.exports = require("react-bootstrap");
|
|
86
87
|
|
|
87
88
|
/***/ },
|
|
88
|
-
/* 4 */,
|
|
89
89
|
/* 5 */,
|
|
90
90
|
/* 6 */,
|
|
91
91
|
/* 7 */,
|
|
92
92
|
/* 8 */,
|
|
93
93
|
/* 9 */,
|
|
94
94
|
/* 10 */,
|
|
95
|
-
/* 11
|
|
96
|
-
/***/ function(module, exports) {
|
|
97
|
-
|
|
98
|
-
module.exports = require("moment");
|
|
99
|
-
|
|
100
|
-
/***/ },
|
|
95
|
+
/* 11 */,
|
|
101
96
|
/* 12 */,
|
|
102
97
|
/* 13 */,
|
|
103
98
|
/* 14 */,
|
|
104
99
|
/* 15 */,
|
|
105
100
|
/* 16 */,
|
|
106
|
-
/* 17
|
|
101
|
+
/* 17 */,
|
|
102
|
+
/* 18 */,
|
|
103
|
+
/* 19 */,
|
|
104
|
+
/* 20 */,
|
|
105
|
+
/* 21 */,
|
|
106
|
+
/* 22 */,
|
|
107
|
+
/* 23 */,
|
|
108
|
+
/* 24 */,
|
|
109
|
+
/* 25 */,
|
|
110
|
+
/* 26 */
|
|
111
|
+
/***/ function(module, exports) {
|
|
112
|
+
|
|
113
|
+
module.exports = require("moment");
|
|
114
|
+
|
|
115
|
+
/***/ },
|
|
116
|
+
/* 27 */,
|
|
117
|
+
/* 28 */,
|
|
118
|
+
/* 29 */
|
|
107
119
|
/***/ function(module, exports, __webpack_require__) {
|
|
108
120
|
|
|
109
121
|
/* WEBPACK VAR INJECTION */(function(global) {/*!
|
|
@@ -116,9 +128,9 @@ module.exports =
|
|
|
116
128
|
|
|
117
129
|
'use strict'
|
|
118
130
|
|
|
119
|
-
var base64 = __webpack_require__(
|
|
120
|
-
var ieee754 = __webpack_require__(
|
|
121
|
-
var isArray = __webpack_require__(
|
|
131
|
+
var base64 = __webpack_require__(77)
|
|
132
|
+
var ieee754 = __webpack_require__(97)
|
|
133
|
+
var isArray = __webpack_require__(98)
|
|
122
134
|
|
|
123
135
|
exports.Buffer = Buffer
|
|
124
136
|
exports.SlowBuffer = SlowBuffer
|
|
@@ -1899,16 +1911,19 @@ module.exports =
|
|
|
1899
1911
|
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
|
|
1900
1912
|
|
|
1901
1913
|
/***/ },
|
|
1902
|
-
/*
|
|
1903
|
-
/*
|
|
1904
|
-
/*
|
|
1905
|
-
/*
|
|
1906
|
-
/*
|
|
1907
|
-
/*
|
|
1908
|
-
/*
|
|
1909
|
-
/*
|
|
1910
|
-
/*
|
|
1911
|
-
/*
|
|
1914
|
+
/* 30 */,
|
|
1915
|
+
/* 31 */,
|
|
1916
|
+
/* 32 */,
|
|
1917
|
+
/* 33 */,
|
|
1918
|
+
/* 34 */,
|
|
1919
|
+
/* 35 */,
|
|
1920
|
+
/* 36 */,
|
|
1921
|
+
/* 37 */,
|
|
1922
|
+
/* 38 */,
|
|
1923
|
+
/* 39 */,
|
|
1924
|
+
/* 40 */,
|
|
1925
|
+
/* 41 */,
|
|
1926
|
+
/* 42 */
|
|
1912
1927
|
/***/ function(module, exports, __webpack_require__) {
|
|
1913
1928
|
|
|
1914
1929
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
@@ -1916,7 +1931,7 @@ module.exports =
|
|
|
1916
1931
|
|
|
1917
1932
|
(function(mod) {
|
|
1918
1933
|
if (true) // CommonJS
|
|
1919
|
-
mod(__webpack_require__(
|
|
1934
|
+
mod(__webpack_require__(78));
|
|
1920
1935
|
else if (typeof define == "function" && define.amd) // AMD
|
|
1921
1936
|
define(["../../lib/codemirror"], mod);
|
|
1922
1937
|
else // Plain browser env
|
|
@@ -1939,7 +1954,7 @@ module.exports =
|
|
|
1939
1954
|
var A = kw("keyword a"), B = kw("keyword b"), C = kw("keyword c"), D = kw("keyword d");
|
|
1940
1955
|
var operator = kw("operator"), atom = {type: "atom", style: "atom"};
|
|
1941
1956
|
|
|
1942
|
-
|
|
1957
|
+
return {
|
|
1943
1958
|
"if": kw("if"), "while": A, "with": A, "else": B, "do": B, "try": B, "finally": B,
|
|
1944
1959
|
"return": D, "break": D, "continue": D, "new": kw("new"), "delete": C, "void": C, "throw": C,
|
|
1945
1960
|
"debugger": kw("debugger"), "var": kw("var"), "const": kw("var"), "let": kw("var"),
|
|
@@ -1951,35 +1966,6 @@ module.exports =
|
|
|
1951
1966
|
"yield": C, "export": kw("export"), "import": kw("import"), "extends": C,
|
|
1952
1967
|
"await": C
|
|
1953
1968
|
};
|
|
1954
|
-
|
|
1955
|
-
// Extend the 'normal' keywords with the TypeScript language extensions
|
|
1956
|
-
if (isTS) {
|
|
1957
|
-
var type = {type: "variable", style: "type"};
|
|
1958
|
-
var tsKeywords = {
|
|
1959
|
-
// object-like things
|
|
1960
|
-
"interface": kw("class"),
|
|
1961
|
-
"implements": C,
|
|
1962
|
-
"namespace": C,
|
|
1963
|
-
"module": kw("module"),
|
|
1964
|
-
"enum": kw("module"),
|
|
1965
|
-
|
|
1966
|
-
// scope modifiers
|
|
1967
|
-
"public": kw("modifier"),
|
|
1968
|
-
"private": kw("modifier"),
|
|
1969
|
-
"protected": kw("modifier"),
|
|
1970
|
-
"abstract": kw("modifier"),
|
|
1971
|
-
"readonly": kw("modifier"),
|
|
1972
|
-
|
|
1973
|
-
// types
|
|
1974
|
-
"string": type, "number": type, "boolean": type, "any": type
|
|
1975
|
-
};
|
|
1976
|
-
|
|
1977
|
-
for (var attr in tsKeywords) {
|
|
1978
|
-
jsKeywords[attr] = tsKeywords[attr];
|
|
1979
|
-
}
|
|
1980
|
-
}
|
|
1981
|
-
|
|
1982
|
-
return jsKeywords;
|
|
1983
1969
|
}();
|
|
1984
1970
|
|
|
1985
1971
|
var isOperatorChar = /[+\-*&%=<>!?|~^@]/;
|
|
@@ -2017,17 +2003,10 @@ module.exports =
|
|
|
2017
2003
|
return ret(ch);
|
|
2018
2004
|
} else if (ch == "=" && stream.eat(">")) {
|
|
2019
2005
|
return ret("=>", "operator");
|
|
2020
|
-
} else if (ch == "0" && stream.
|
|
2021
|
-
stream.eatWhile(/[\da-f]/i);
|
|
2022
|
-
return ret("number", "number");
|
|
2023
|
-
} else if (ch == "0" && stream.eat(/o/i)) {
|
|
2024
|
-
stream.eatWhile(/[0-7]/i);
|
|
2025
|
-
return ret("number", "number");
|
|
2026
|
-
} else if (ch == "0" && stream.eat(/b/i)) {
|
|
2027
|
-
stream.eatWhile(/[01]/i);
|
|
2006
|
+
} else if (ch == "0" && stream.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i)) {
|
|
2028
2007
|
return ret("number", "number");
|
|
2029
2008
|
} else if (/\d/.test(ch)) {
|
|
2030
|
-
stream.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/);
|
|
2009
|
+
stream.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/);
|
|
2031
2010
|
return ret("number", "number");
|
|
2032
2011
|
} else if (ch == "/") {
|
|
2033
2012
|
if (stream.eat("*")) {
|
|
@@ -2038,7 +2017,7 @@ module.exports =
|
|
|
2038
2017
|
return ret("comment", "comment");
|
|
2039
2018
|
} else if (expressionAllowed(stream, state, 1)) {
|
|
2040
2019
|
readRegexp(stream);
|
|
2041
|
-
stream.match(/^\b(([
|
|
2020
|
+
stream.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/);
|
|
2042
2021
|
return ret("regexp", "string-2");
|
|
2043
2022
|
} else {
|
|
2044
2023
|
stream.eat("=");
|
|
@@ -2068,7 +2047,7 @@ module.exports =
|
|
|
2068
2047
|
var kw = keywords[word]
|
|
2069
2048
|
return ret(kw.type, kw.style, word)
|
|
2070
2049
|
}
|
|
2071
|
-
if (word == "async" && stream.match(
|
|
2050
|
+
if (word == "async" && stream.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/, false))
|
|
2072
2051
|
return ret("async", "keyword", word)
|
|
2073
2052
|
}
|
|
2074
2053
|
return ret("variable", "variable", word)
|
|
@@ -2207,35 +2186,68 @@ module.exports =
|
|
|
2207
2186
|
pass.apply(null, arguments);
|
|
2208
2187
|
return true;
|
|
2209
2188
|
}
|
|
2189
|
+
function inList(name, list) {
|
|
2190
|
+
for (var v = list; v; v = v.next) if (v.name == name) return true
|
|
2191
|
+
return false;
|
|
2192
|
+
}
|
|
2210
2193
|
function register(varname) {
|
|
2211
|
-
function inList(list) {
|
|
2212
|
-
for (var v = list; v; v = v.next)
|
|
2213
|
-
if (v.name == varname) return true;
|
|
2214
|
-
return false;
|
|
2215
|
-
}
|
|
2216
2194
|
var state = cx.state;
|
|
2217
2195
|
cx.marked = "def";
|
|
2218
2196
|
if (state.context) {
|
|
2219
|
-
if (
|
|
2220
|
-
|
|
2197
|
+
if (state.lexical.info == "var" && state.context && state.context.block) {
|
|
2198
|
+
// FIXME function decls are also not block scoped
|
|
2199
|
+
var newContext = registerVarScoped(varname, state.context)
|
|
2200
|
+
if (newContext != null) {
|
|
2201
|
+
state.context = newContext
|
|
2202
|
+
return
|
|
2203
|
+
}
|
|
2204
|
+
} else if (!inList(varname, state.localVars)) {
|
|
2205
|
+
state.localVars = new Var(varname, state.localVars)
|
|
2206
|
+
return
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
// Fall through means this is global
|
|
2210
|
+
if (parserConfig.globalVars && !inList(varname, state.globalVars))
|
|
2211
|
+
state.globalVars = new Var(varname, state.globalVars)
|
|
2212
|
+
}
|
|
2213
|
+
function registerVarScoped(varname, context) {
|
|
2214
|
+
if (!context) {
|
|
2215
|
+
return null
|
|
2216
|
+
} else if (context.block) {
|
|
2217
|
+
var inner = registerVarScoped(varname, context.prev)
|
|
2218
|
+
if (!inner) return null
|
|
2219
|
+
if (inner == context.prev) return context
|
|
2220
|
+
return new Context(inner, context.vars, true)
|
|
2221
|
+
} else if (inList(varname, context.vars)) {
|
|
2222
|
+
return context
|
|
2221
2223
|
} else {
|
|
2222
|
-
|
|
2223
|
-
if (parserConfig.globalVars)
|
|
2224
|
-
state.globalVars = {name: varname, next: state.globalVars};
|
|
2224
|
+
return new Context(context.prev, new Var(varname, context.vars), false)
|
|
2225
2225
|
}
|
|
2226
2226
|
}
|
|
2227
2227
|
|
|
2228
|
+
function isModifier(name) {
|
|
2229
|
+
return name == "public" || name == "private" || name == "protected" || name == "abstract" || name == "readonly"
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2228
2232
|
// Combinators
|
|
2229
2233
|
|
|
2230
|
-
|
|
2234
|
+
function Context(prev, vars, block) { this.prev = prev; this.vars = vars; this.block = block }
|
|
2235
|
+
function Var(name, next) { this.name = name; this.next = next }
|
|
2236
|
+
|
|
2237
|
+
var defaultVars = new Var("this", new Var("arguments", null))
|
|
2231
2238
|
function pushcontext() {
|
|
2232
|
-
cx.state.context =
|
|
2233
|
-
cx.state.localVars = defaultVars
|
|
2239
|
+
cx.state.context = new Context(cx.state.context, cx.state.localVars, false)
|
|
2240
|
+
cx.state.localVars = defaultVars
|
|
2241
|
+
}
|
|
2242
|
+
function pushblockcontext() {
|
|
2243
|
+
cx.state.context = new Context(cx.state.context, cx.state.localVars, true)
|
|
2244
|
+
cx.state.localVars = null
|
|
2234
2245
|
}
|
|
2235
2246
|
function popcontext() {
|
|
2236
|
-
cx.state.localVars = cx.state.context.vars
|
|
2237
|
-
cx.state.context = cx.state.context.prev
|
|
2247
|
+
cx.state.localVars = cx.state.context.vars
|
|
2248
|
+
cx.state.context = cx.state.context.prev
|
|
2238
2249
|
}
|
|
2250
|
+
popcontext.lex = true
|
|
2239
2251
|
function pushlex(type, info) {
|
|
2240
2252
|
var result = function() {
|
|
2241
2253
|
var state = cx.state, indent = state.indented;
|
|
@@ -2267,12 +2279,12 @@ module.exports =
|
|
|
2267
2279
|
}
|
|
2268
2280
|
|
|
2269
2281
|
function statement(type, value) {
|
|
2270
|
-
if (type == "var") return cont(pushlex("vardef", value
|
|
2282
|
+
if (type == "var") return cont(pushlex("vardef", value), vardef, expect(";"), poplex);
|
|
2271
2283
|
if (type == "keyword a") return cont(pushlex("form"), parenExpr, statement, poplex);
|
|
2272
2284
|
if (type == "keyword b") return cont(pushlex("form"), statement, poplex);
|
|
2273
2285
|
if (type == "keyword d") return cx.stream.match(/^\s*$/, false) ? cont() : cont(pushlex("stat"), maybeexpression, expect(";"), poplex);
|
|
2274
2286
|
if (type == "debugger") return cont(expect(";"));
|
|
2275
|
-
if (type == "{") return cont(pushlex("}"), block, poplex);
|
|
2287
|
+
if (type == "{") return cont(pushlex("}"), pushblockcontext, block, poplex, popcontext);
|
|
2276
2288
|
if (type == ";") return cont();
|
|
2277
2289
|
if (type == "if") {
|
|
2278
2290
|
if (cx.state.lexical.info == "else" && cx.state.cc[cx.state.cc.length - 1] == poplex)
|
|
@@ -2281,42 +2293,51 @@ module.exports =
|
|
|
2281
2293
|
}
|
|
2282
2294
|
if (type == "function") return cont(functiondef);
|
|
2283
2295
|
if (type == "for") return cont(pushlex("form"), forspec, statement, poplex);
|
|
2296
|
+
if (type == "class" || (isTS && value == "interface")) { cx.marked = "keyword"; return cont(pushlex("form"), className, poplex); }
|
|
2284
2297
|
if (type == "variable") {
|
|
2285
|
-
if (isTS && value == "
|
|
2298
|
+
if (isTS && value == "declare") {
|
|
2299
|
+
cx.marked = "keyword"
|
|
2300
|
+
return cont(statement)
|
|
2301
|
+
} else if (isTS && (value == "module" || value == "enum" || value == "type") && cx.stream.match(/^\s*\w/, false)) {
|
|
2302
|
+
cx.marked = "keyword"
|
|
2303
|
+
if (value == "enum") return cont(enumdef);
|
|
2304
|
+
else if (value == "type") return cont(typeexpr, expect("operator"), typeexpr, expect(";"));
|
|
2305
|
+
else return cont(pushlex("form"), pattern, expect("{"), pushlex("}"), block, poplex, poplex)
|
|
2306
|
+
} else if (isTS && value == "namespace") {
|
|
2286
2307
|
cx.marked = "keyword"
|
|
2287
|
-
return cont(
|
|
2288
|
-
} if (isTS && value == "
|
|
2308
|
+
return cont(pushlex("form"), expression, block, poplex)
|
|
2309
|
+
} else if (isTS && value == "abstract") {
|
|
2289
2310
|
cx.marked = "keyword"
|
|
2290
2311
|
return cont(statement)
|
|
2291
2312
|
} else {
|
|
2292
2313
|
return cont(pushlex("stat"), maybelabel);
|
|
2293
2314
|
}
|
|
2294
2315
|
}
|
|
2295
|
-
if (type == "switch") return cont(pushlex("form"), parenExpr, expect("{"), pushlex("}", "switch"),
|
|
2296
|
-
block, poplex, poplex);
|
|
2316
|
+
if (type == "switch") return cont(pushlex("form"), parenExpr, expect("{"), pushlex("}", "switch"), pushblockcontext,
|
|
2317
|
+
block, poplex, poplex, popcontext);
|
|
2297
2318
|
if (type == "case") return cont(expression, expect(":"));
|
|
2298
2319
|
if (type == "default") return cont(expect(":"));
|
|
2299
|
-
if (type == "catch") return cont(pushlex("form"), pushcontext,
|
|
2300
|
-
statement, poplex, popcontext);
|
|
2301
|
-
if (type == "class") return cont(pushlex("form"), className, poplex);
|
|
2320
|
+
if (type == "catch") return cont(pushlex("form"), pushcontext, maybeCatchBinding, statement, poplex, popcontext);
|
|
2302
2321
|
if (type == "export") return cont(pushlex("stat"), afterExport, poplex);
|
|
2303
2322
|
if (type == "import") return cont(pushlex("stat"), afterImport, poplex);
|
|
2304
|
-
if (type == "module") return cont(pushlex("form"), pattern, expect("{"), pushlex("}"), block, poplex, poplex)
|
|
2305
2323
|
if (type == "async") return cont(statement)
|
|
2306
2324
|
if (value == "@") return cont(expression, statement)
|
|
2307
2325
|
return pass(pushlex("stat"), expression, expect(";"), poplex);
|
|
2308
2326
|
}
|
|
2309
|
-
function
|
|
2310
|
-
return
|
|
2327
|
+
function maybeCatchBinding(type) {
|
|
2328
|
+
if (type == "(") return cont(funarg, expect(")"))
|
|
2311
2329
|
}
|
|
2312
|
-
function
|
|
2313
|
-
return expressionInner(type,
|
|
2330
|
+
function expression(type, value) {
|
|
2331
|
+
return expressionInner(type, value, false);
|
|
2332
|
+
}
|
|
2333
|
+
function expressionNoComma(type, value) {
|
|
2334
|
+
return expressionInner(type, value, true);
|
|
2314
2335
|
}
|
|
2315
2336
|
function parenExpr(type) {
|
|
2316
2337
|
if (type != "(") return pass()
|
|
2317
2338
|
return cont(pushlex(")"), expression, expect(")"), poplex)
|
|
2318
2339
|
}
|
|
2319
|
-
function expressionInner(type, noComma) {
|
|
2340
|
+
function expressionInner(type, value, noComma) {
|
|
2320
2341
|
if (cx.state.fatArrowAt == cx.stream.start) {
|
|
2321
2342
|
var body = noComma ? arrowBodyNoComma : arrowBody;
|
|
2322
2343
|
if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, expect("=>"), body, popcontext);
|
|
@@ -2326,7 +2347,7 @@ module.exports =
|
|
|
2326
2347
|
var maybeop = noComma ? maybeoperatorNoComma : maybeoperatorComma;
|
|
2327
2348
|
if (atomicTypes.hasOwnProperty(type)) return cont(maybeop);
|
|
2328
2349
|
if (type == "function") return cont(functiondef, maybeop);
|
|
2329
|
-
if (type == "class") return cont(pushlex("form"), classExpression, poplex);
|
|
2350
|
+
if (type == "class" || (isTS && value == "interface")) { cx.marked = "keyword"; return cont(pushlex("form"), classExpression, poplex); }
|
|
2330
2351
|
if (type == "keyword c" || type == "async") return cont(noComma ? expressionNoComma : expression);
|
|
2331
2352
|
if (type == "(") return cont(pushlex(")"), maybeexpression, expect(")"), poplex, maybeop);
|
|
2332
2353
|
if (type == "operator" || type == "spread") return cont(noComma ? expressionNoComma : expression);
|
|
@@ -2334,6 +2355,7 @@ module.exports =
|
|
|
2334
2355
|
if (type == "{") return contCommasep(objprop, "}", null, maybeop);
|
|
2335
2356
|
if (type == "quasi") return pass(quasi, maybeop);
|
|
2336
2357
|
if (type == "new") return cont(maybeTarget(noComma));
|
|
2358
|
+
if (type == "import") return cont(expression);
|
|
2337
2359
|
return cont();
|
|
2338
2360
|
}
|
|
2339
2361
|
function maybeexpression(type) {
|
|
@@ -2351,6 +2373,8 @@ module.exports =
|
|
|
2351
2373
|
if (type == "=>") return cont(pushcontext, noComma ? arrowBodyNoComma : arrowBody, popcontext);
|
|
2352
2374
|
if (type == "operator") {
|
|
2353
2375
|
if (/\+\+|--/.test(value) || isTS && value == "!") return cont(me);
|
|
2376
|
+
if (isTS && value == "<" && cx.stream.match(/^([^>]|<.*?>)*>\s*\(/, false))
|
|
2377
|
+
return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, me);
|
|
2354
2378
|
if (value == "?") return cont(expression, expect(":"), expr);
|
|
2355
2379
|
return cont(expr);
|
|
2356
2380
|
}
|
|
@@ -2422,10 +2446,11 @@ module.exports =
|
|
|
2422
2446
|
return cont(afterprop);
|
|
2423
2447
|
} else if (type == "jsonld-keyword") {
|
|
2424
2448
|
return cont(afterprop);
|
|
2425
|
-
} else if (
|
|
2449
|
+
} else if (isTS && isModifier(value)) {
|
|
2450
|
+
cx.marked = "keyword"
|
|
2426
2451
|
return cont(objprop)
|
|
2427
2452
|
} else if (type == "[") {
|
|
2428
|
-
return cont(expression, expect("]"), afterprop);
|
|
2453
|
+
return cont(expression, maybetype, expect("]"), afterprop);
|
|
2429
2454
|
} else if (type == "spread") {
|
|
2430
2455
|
return cont(expressionNoComma, afterprop);
|
|
2431
2456
|
} else if (value == "*") {
|
|
@@ -2477,20 +2502,32 @@ module.exports =
|
|
|
2477
2502
|
if (value == "?") return cont(maybetype);
|
|
2478
2503
|
}
|
|
2479
2504
|
}
|
|
2505
|
+
function mayberettype(type) {
|
|
2506
|
+
if (isTS && type == ":") {
|
|
2507
|
+
if (cx.stream.match(/^\s*\w+\s+is\b/, false)) return cont(expression, isKW, typeexpr)
|
|
2508
|
+
else return cont(typeexpr)
|
|
2509
|
+
}
|
|
2510
|
+
}
|
|
2511
|
+
function isKW(_, value) {
|
|
2512
|
+
if (value == "is") {
|
|
2513
|
+
cx.marked = "keyword"
|
|
2514
|
+
return cont()
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2480
2517
|
function typeexpr(type, value) {
|
|
2518
|
+
if (value == "keyof" || value == "typeof") {
|
|
2519
|
+
cx.marked = "keyword"
|
|
2520
|
+
return cont(value == "keyof" ? typeexpr : expressionNoComma)
|
|
2521
|
+
}
|
|
2481
2522
|
if (type == "variable" || value == "void") {
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
return cont(typeexpr)
|
|
2485
|
-
} else {
|
|
2486
|
-
cx.marked = "type"
|
|
2487
|
-
return cont(afterType)
|
|
2488
|
-
}
|
|
2523
|
+
cx.marked = "type"
|
|
2524
|
+
return cont(afterType)
|
|
2489
2525
|
}
|
|
2490
2526
|
if (type == "string" || type == "number" || type == "atom") return cont(afterType);
|
|
2491
2527
|
if (type == "[") return cont(pushlex("]"), commasep(typeexpr, "]", ","), poplex, afterType)
|
|
2492
2528
|
if (type == "{") return cont(pushlex("}"), commasep(typeprop, "}", ",;"), poplex, afterType)
|
|
2493
2529
|
if (type == "(") return cont(commasep(typearg, ")"), maybeReturnType)
|
|
2530
|
+
if (type == "<") return cont(commasep(typeexpr, ">"), typeexpr)
|
|
2494
2531
|
}
|
|
2495
2532
|
function maybeReturnType(type) {
|
|
2496
2533
|
if (type == "=>") return cont(typeexpr)
|
|
@@ -2507,24 +2544,32 @@ module.exports =
|
|
|
2507
2544
|
return cont(expression, maybetype, expect("]"), typeprop)
|
|
2508
2545
|
}
|
|
2509
2546
|
}
|
|
2510
|
-
function typearg(type) {
|
|
2511
|
-
if (type == "variable") return cont(typearg)
|
|
2512
|
-
|
|
2547
|
+
function typearg(type, value) {
|
|
2548
|
+
if (type == "variable" && cx.stream.match(/^\s*[?:]/, false) || value == "?") return cont(typearg)
|
|
2549
|
+
if (type == ":") return cont(typeexpr)
|
|
2550
|
+
return pass(typeexpr)
|
|
2513
2551
|
}
|
|
2514
2552
|
function afterType(type, value) {
|
|
2515
2553
|
if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, afterType)
|
|
2516
|
-
if (value == "|" || type == ".") return cont(typeexpr)
|
|
2554
|
+
if (value == "|" || type == "." || value == "&") return cont(typeexpr)
|
|
2517
2555
|
if (type == "[") return cont(expect("]"), afterType)
|
|
2518
|
-
if (value == "extends") return cont(typeexpr)
|
|
2556
|
+
if (value == "extends" || value == "implements") { cx.marked = "keyword"; return cont(typeexpr) }
|
|
2519
2557
|
}
|
|
2520
2558
|
function maybeTypeArgs(_, value) {
|
|
2521
2559
|
if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, afterType)
|
|
2522
2560
|
}
|
|
2523
|
-
function
|
|
2561
|
+
function typeparam() {
|
|
2562
|
+
return pass(typeexpr, maybeTypeDefault)
|
|
2563
|
+
}
|
|
2564
|
+
function maybeTypeDefault(_, value) {
|
|
2565
|
+
if (value == "=") return cont(typeexpr)
|
|
2566
|
+
}
|
|
2567
|
+
function vardef(_, value) {
|
|
2568
|
+
if (value == "enum") {cx.marked = "keyword"; return cont(enumdef)}
|
|
2524
2569
|
return pass(pattern, maybetype, maybeAssign, vardefCont);
|
|
2525
2570
|
}
|
|
2526
2571
|
function pattern(type, value) {
|
|
2527
|
-
if (
|
|
2572
|
+
if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(pattern) }
|
|
2528
2573
|
if (type == "variable") { register(value); return cont(); }
|
|
2529
2574
|
if (type == "spread") return cont(pattern);
|
|
2530
2575
|
if (type == "[") return contCommasep(pattern, "]");
|
|
@@ -2549,7 +2594,8 @@ module.exports =
|
|
|
2549
2594
|
function maybeelse(type, value) {
|
|
2550
2595
|
if (type == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex);
|
|
2551
2596
|
}
|
|
2552
|
-
function forspec(type) {
|
|
2597
|
+
function forspec(type, value) {
|
|
2598
|
+
if (value == "await") return cont(forspec);
|
|
2553
2599
|
if (type == "(") return cont(pushlex(")"), forspec1, expect(")"), poplex);
|
|
2554
2600
|
}
|
|
2555
2601
|
function forspec1(type) {
|
|
@@ -2573,12 +2619,13 @@ module.exports =
|
|
|
2573
2619
|
function functiondef(type, value) {
|
|
2574
2620
|
if (value == "*") {cx.marked = "keyword"; return cont(functiondef);}
|
|
2575
2621
|
if (type == "variable") {register(value); return cont(functiondef);}
|
|
2576
|
-
if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex,
|
|
2577
|
-
if (isTS && value == "<") return cont(pushlex(">"), commasep(
|
|
2622
|
+
if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, mayberettype, statement, popcontext);
|
|
2623
|
+
if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondef)
|
|
2578
2624
|
}
|
|
2579
2625
|
function funarg(type, value) {
|
|
2580
2626
|
if (value == "@") cont(expression, funarg)
|
|
2581
|
-
if (type == "spread"
|
|
2627
|
+
if (type == "spread") return cont(funarg);
|
|
2628
|
+
if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(funarg); }
|
|
2582
2629
|
return pass(pattern, maybetype, maybeAssign);
|
|
2583
2630
|
}
|
|
2584
2631
|
function classExpression(type, value) {
|
|
@@ -2590,15 +2637,17 @@ module.exports =
|
|
|
2590
2637
|
if (type == "variable") {register(value); return cont(classNameAfter);}
|
|
2591
2638
|
}
|
|
2592
2639
|
function classNameAfter(type, value) {
|
|
2593
|
-
if (value == "<") return cont(pushlex(">"), commasep(
|
|
2594
|
-
if (value == "extends" || value == "implements" || (isTS && type == ","))
|
|
2640
|
+
if (value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, classNameAfter)
|
|
2641
|
+
if (value == "extends" || value == "implements" || (isTS && type == ",")) {
|
|
2642
|
+
if (value == "implements") cx.marked = "keyword";
|
|
2595
2643
|
return cont(isTS ? typeexpr : expression, classNameAfter);
|
|
2644
|
+
}
|
|
2596
2645
|
if (type == "{") return cont(pushlex("}"), classBody, poplex);
|
|
2597
2646
|
}
|
|
2598
2647
|
function classBody(type, value) {
|
|
2599
|
-
if (type == "
|
|
2648
|
+
if (type == "async" ||
|
|
2600
2649
|
(type == "variable" &&
|
|
2601
|
-
(value == "static" || value == "get" || value == "set") &&
|
|
2650
|
+
(value == "static" || value == "get" || value == "set" || (isTS && isModifier(value))) &&
|
|
2602
2651
|
cx.stream.match(/^\s+[\w$\xa1-\uffff]/, false))) {
|
|
2603
2652
|
cx.marked = "keyword";
|
|
2604
2653
|
return cont(classBody);
|
|
@@ -2608,7 +2657,7 @@ module.exports =
|
|
|
2608
2657
|
return cont(isTS ? classfield : functiondef, classBody);
|
|
2609
2658
|
}
|
|
2610
2659
|
if (type == "[")
|
|
2611
|
-
return cont(expression, expect("]"), isTS ? classfield : functiondef, classBody)
|
|
2660
|
+
return cont(expression, maybetype, expect("]"), isTS ? classfield : functiondef, classBody)
|
|
2612
2661
|
if (value == "*") {
|
|
2613
2662
|
cx.marked = "keyword";
|
|
2614
2663
|
return cont(classBody);
|
|
@@ -2635,6 +2684,7 @@ module.exports =
|
|
|
2635
2684
|
}
|
|
2636
2685
|
function afterImport(type) {
|
|
2637
2686
|
if (type == "string") return cont();
|
|
2687
|
+
if (type == "(") return pass(expression);
|
|
2638
2688
|
return pass(importSpec, maybeMoreImports, maybeFrom);
|
|
2639
2689
|
}
|
|
2640
2690
|
function importSpec(type, value) {
|
|
@@ -2656,6 +2706,12 @@ module.exports =
|
|
|
2656
2706
|
if (type == "]") return cont();
|
|
2657
2707
|
return pass(commasep(expressionNoComma, "]"));
|
|
2658
2708
|
}
|
|
2709
|
+
function enumdef() {
|
|
2710
|
+
return pass(pushlex("form"), pattern, expect("{"), pushlex("}"), commasep(enummember, "}"), poplex, poplex)
|
|
2711
|
+
}
|
|
2712
|
+
function enummember() {
|
|
2713
|
+
return pass(pattern, maybeAssign);
|
|
2714
|
+
}
|
|
2659
2715
|
|
|
2660
2716
|
function isContinuedStatement(state, textAfter) {
|
|
2661
2717
|
return state.lastType == "operator" || state.lastType == "," ||
|
|
@@ -2679,7 +2735,7 @@ module.exports =
|
|
|
2679
2735
|
cc: [],
|
|
2680
2736
|
lexical: new JSLexical((basecolumn || 0) - indentUnit, 0, "block", false),
|
|
2681
2737
|
localVars: parserConfig.localVars,
|
|
2682
|
-
context: parserConfig.localVars &&
|
|
2738
|
+
context: parserConfig.localVars && new Context(null, null, false),
|
|
2683
2739
|
indented: basecolumn || 0
|
|
2684
2740
|
};
|
|
2685
2741
|
if (parserConfig.globalVars && typeof parserConfig.globalVars == "object")
|
|
@@ -2720,7 +2776,7 @@ module.exports =
|
|
|
2720
2776
|
lexical = lexical.prev;
|
|
2721
2777
|
var type = lexical.type, closing = firstChar == type;
|
|
2722
2778
|
|
|
2723
|
-
if (type == "vardef") return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? lexical.info + 1 : 0);
|
|
2779
|
+
if (type == "vardef") return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? lexical.info.length + 1 : 0);
|
|
2724
2780
|
else if (type == "form" && firstChar == "{") return lexical.indented;
|
|
2725
2781
|
else if (type == "form") return lexical.indented + indentUnit;
|
|
2726
2782
|
else if (type == "stat")
|
|
@@ -2769,14 +2825,19 @@ module.exports =
|
|
|
2769
2825
|
|
|
2770
2826
|
|
|
2771
2827
|
/***/ },
|
|
2772
|
-
/*
|
|
2773
|
-
/*
|
|
2828
|
+
/* 43 */,
|
|
2829
|
+
/* 44 */,
|
|
2830
|
+
/* 45 */,
|
|
2831
|
+
/* 46 */,
|
|
2832
|
+
/* 47 */,
|
|
2833
|
+
/* 48 */,
|
|
2834
|
+
/* 49 */
|
|
2774
2835
|
/***/ function(module, exports) {
|
|
2775
2836
|
|
|
2776
2837
|
// removed by extract-text-webpack-plugin
|
|
2777
2838
|
|
|
2778
2839
|
/***/ },
|
|
2779
|
-
/*
|
|
2840
|
+
/* 50 */
|
|
2780
2841
|
/***/ function(module, exports, __webpack_require__) {
|
|
2781
2842
|
|
|
2782
2843
|
/* WEBPACK VAR INJECTION */(function(Buffer) {/* cpexcel.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
@@ -4285,45 +4346,42 @@ module.exports =
|
|
|
4285
4346
|
return cpt;
|
|
4286
4347
|
}));
|
|
4287
4348
|
|
|
4288
|
-
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(
|
|
4349
|
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29).Buffer))
|
|
4289
4350
|
|
|
4290
4351
|
/***/ },
|
|
4291
|
-
/*
|
|
4352
|
+
/* 51 */
|
|
4292
4353
|
/***/ function(module, exports) {
|
|
4293
4354
|
|
|
4294
4355
|
module.exports = require("react-codemirror2");
|
|
4295
4356
|
|
|
4296
4357
|
/***/ },
|
|
4297
|
-
/*
|
|
4358
|
+
/* 52 */
|
|
4298
4359
|
/***/ function(module, exports) {
|
|
4299
4360
|
|
|
4300
4361
|
/* (ignored) */
|
|
4301
4362
|
|
|
4302
4363
|
/***/ },
|
|
4303
|
-
/*
|
|
4304
|
-
/*
|
|
4305
|
-
/*
|
|
4306
|
-
/*
|
|
4307
|
-
/*
|
|
4308
|
-
/*
|
|
4309
|
-
/*
|
|
4310
|
-
/*
|
|
4311
|
-
/*
|
|
4312
|
-
/*
|
|
4313
|
-
/*
|
|
4314
|
-
/*
|
|
4315
|
-
/*
|
|
4316
|
-
/* 46 */,
|
|
4317
|
-
/* 47 */,
|
|
4318
|
-
/* 48 */
|
|
4364
|
+
/* 53 */,
|
|
4365
|
+
/* 54 */,
|
|
4366
|
+
/* 55 */,
|
|
4367
|
+
/* 56 */,
|
|
4368
|
+
/* 57 */,
|
|
4369
|
+
/* 58 */,
|
|
4370
|
+
/* 59 */,
|
|
4371
|
+
/* 60 */,
|
|
4372
|
+
/* 61 */,
|
|
4373
|
+
/* 62 */,
|
|
4374
|
+
/* 63 */,
|
|
4375
|
+
/* 64 */,
|
|
4376
|
+
/* 65 */
|
|
4319
4377
|
/***/ function(module, exports) {
|
|
4320
4378
|
|
|
4321
4379
|
module.exports = require("react-dropzone");
|
|
4322
4380
|
|
|
4323
4381
|
/***/ },
|
|
4324
|
-
/*
|
|
4325
|
-
/*
|
|
4326
|
-
/*
|
|
4382
|
+
/* 66 */,
|
|
4383
|
+
/* 67 */,
|
|
4384
|
+
/* 68 */
|
|
4327
4385
|
/***/ function(module, exports, __webpack_require__) {
|
|
4328
4386
|
|
|
4329
4387
|
'use strict';
|
|
@@ -4338,7 +4396,7 @@ module.exports =
|
|
|
4338
4396
|
|
|
4339
4397
|
var _react2 = _interopRequireDefault(_react);
|
|
4340
4398
|
|
|
4341
|
-
var _clipboard = __webpack_require__(
|
|
4399
|
+
var _clipboard = __webpack_require__(74);
|
|
4342
4400
|
|
|
4343
4401
|
var _clipboard2 = _interopRequireDefault(_clipboard);
|
|
4344
4402
|
|
|
@@ -4469,7 +4527,7 @@ module.exports =
|
|
|
4469
4527
|
exports.default = AdapterSecret;
|
|
4470
4528
|
|
|
4471
4529
|
/***/ },
|
|
4472
|
-
/*
|
|
4530
|
+
/* 69 */
|
|
4473
4531
|
/***/ function(module, exports, __webpack_require__) {
|
|
4474
4532
|
|
|
4475
4533
|
'use strict';
|
|
@@ -4486,23 +4544,23 @@ module.exports =
|
|
|
4486
4544
|
|
|
4487
4545
|
var _react2 = _interopRequireDefault(_react);
|
|
4488
4546
|
|
|
4489
|
-
var _reactDropzone = __webpack_require__(
|
|
4547
|
+
var _reactDropzone = __webpack_require__(65);
|
|
4490
4548
|
|
|
4491
4549
|
var _reactDropzone2 = _interopRequireDefault(_reactDropzone);
|
|
4492
4550
|
|
|
4493
|
-
var _papaparse = __webpack_require__(
|
|
4551
|
+
var _papaparse = __webpack_require__(105);
|
|
4494
4552
|
|
|
4495
4553
|
var _papaparse2 = _interopRequireDefault(_papaparse);
|
|
4496
4554
|
|
|
4497
|
-
var _xlsx = __webpack_require__(
|
|
4555
|
+
var _xlsx = __webpack_require__(104);
|
|
4498
4556
|
|
|
4499
4557
|
var _xlsx2 = _interopRequireDefault(_xlsx);
|
|
4500
4558
|
|
|
4501
|
-
var _moment = __webpack_require__(
|
|
4559
|
+
var _moment = __webpack_require__(26);
|
|
4502
4560
|
|
|
4503
4561
|
var _moment2 = _interopRequireDefault(_moment);
|
|
4504
4562
|
|
|
4505
|
-
var _reactBootstrap = __webpack_require__(
|
|
4563
|
+
var _reactBootstrap = __webpack_require__(4);
|
|
4506
4564
|
|
|
4507
4565
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
4508
4566
|
|
|
@@ -4540,33 +4598,27 @@ module.exports =
|
|
|
4540
4598
|
console.log('err when trying to parse json = ' + err);
|
|
4541
4599
|
}
|
|
4542
4600
|
if (json) {
|
|
4543
|
-
var
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
}
|
|
4556
|
-
});
|
|
4601
|
+
var fields = [];
|
|
4602
|
+
json.forEach(function (row) {
|
|
4603
|
+
Object.keys(row).forEach(function (col) {
|
|
4604
|
+
if (!fields.find(function (f) {
|
|
4605
|
+
return f.label === col;
|
|
4606
|
+
})) {
|
|
4607
|
+
fields.push({
|
|
4608
|
+
label: col,
|
|
4609
|
+
name: col,
|
|
4610
|
+
type: row[col] && _typeof(row[col])
|
|
4611
|
+
});
|
|
4612
|
+
}
|
|
4557
4613
|
});
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
};
|
|
4567
|
-
}();
|
|
4568
|
-
|
|
4569
|
-
if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v;
|
|
4614
|
+
});
|
|
4615
|
+
var meta = {
|
|
4616
|
+
name: file.name,
|
|
4617
|
+
type: file.name.substr(0, file.name.lastIndexOf('.')).split(' ').join(''),
|
|
4618
|
+
byteSize: file.size,
|
|
4619
|
+
properties: fields
|
|
4620
|
+
};
|
|
4621
|
+
return meta;
|
|
4570
4622
|
}
|
|
4571
4623
|
};
|
|
4572
4624
|
|
|
@@ -4612,82 +4664,78 @@ module.exports =
|
|
|
4612
4664
|
var extension = file.name.substr(file.name.lastIndexOf('.') + 1, file.name.length);
|
|
4613
4665
|
var blacklisted = extensionBlacklist.includes(extension);
|
|
4614
4666
|
if (!blacklisted) {
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
}));
|
|
4643
|
-
sheetCounter += 1;
|
|
4644
|
-
counter += 1;
|
|
4645
|
-
if (counter >= fs.length && sheetCounter === sheetNames.length) {
|
|
4646
|
-
_this.setState({ meta: meta });
|
|
4647
|
-
_this.props.onDrop();
|
|
4648
|
-
}
|
|
4649
|
-
});
|
|
4650
|
-
});
|
|
4651
|
-
})();
|
|
4652
|
-
} else if (extension === 'csv') {
|
|
4653
|
-
_this.parseCSV(file, csv).then(function (csvMeta) {
|
|
4654
|
-
meta = meta.concat(Object.assign({}, csvMeta, { fileType: extension }));
|
|
4667
|
+
var isXLS = extension === 'xlsx' || extension === 'xls';
|
|
4668
|
+
|
|
4669
|
+
var reader = new FileReader();
|
|
4670
|
+
reader.onload = function (e) {
|
|
4671
|
+
|
|
4672
|
+
// PARSE METADATA
|
|
4673
|
+
var data = e.target.result;
|
|
4674
|
+
var csv = null;
|
|
4675
|
+
if (isXLS) {
|
|
4676
|
+
var sheetCounter = 0;
|
|
4677
|
+
var binary = data;
|
|
4678
|
+
/*const bytes = new Uint8Array(data)
|
|
4679
|
+
for (var i = 0; i < length; i++) {
|
|
4680
|
+
binary += String.fromCharCode(bytes[i]);
|
|
4681
|
+
}*/
|
|
4682
|
+
var workbook = _xlsx2.default.read(binary, { type: 'binary' });
|
|
4683
|
+
var sheetNames = workbook.SheetNames.filter(function (sn) {
|
|
4684
|
+
return sn !== 'Export Summary';
|
|
4685
|
+
});
|
|
4686
|
+
sheetNames.forEach(function (sn) {
|
|
4687
|
+
csv = _xlsx2.default.utils.sheet_to_csv(workbook.Sheets[sn]);
|
|
4688
|
+
_this.parseCSV(file, csv).then(function (xlsMeta) {
|
|
4689
|
+
meta = meta.concat(Object.assign({}, xlsMeta, {
|
|
4690
|
+
sheetName: sn,
|
|
4691
|
+
fileType: extension
|
|
4692
|
+
}));
|
|
4693
|
+
sheetCounter += 1;
|
|
4655
4694
|
counter += 1;
|
|
4656
|
-
if (counter
|
|
4695
|
+
if (counter >= fs.length && sheetCounter === sheetNames.length) {
|
|
4657
4696
|
_this.setState({ meta: meta });
|
|
4658
4697
|
_this.props.onDrop();
|
|
4659
4698
|
}
|
|
4660
4699
|
});
|
|
4661
|
-
}
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
counter += 1;
|
|
4670
|
-
if (counter === fs.length) {
|
|
4671
|
-
_this.setState({ meta: meta });
|
|
4672
|
-
_this.props.onDrop();
|
|
4673
|
-
}
|
|
4700
|
+
});
|
|
4701
|
+
} else if (extension === 'csv') {
|
|
4702
|
+
_this.parseCSV(file, csv).then(function (csvMeta) {
|
|
4703
|
+
meta = meta.concat(Object.assign({}, csvMeta, { fileType: extension }));
|
|
4704
|
+
counter += 1;
|
|
4705
|
+
if (counter === fs.length) {
|
|
4706
|
+
_this.setState({ meta: meta });
|
|
4707
|
+
_this.props.onDrop();
|
|
4674
4708
|
}
|
|
4709
|
+
});
|
|
4710
|
+
} else if (extension === 'json' || extension === 'jsonl') {
|
|
4711
|
+
var d = data;
|
|
4712
|
+
if (extension === 'jsonl') {
|
|
4713
|
+
d = _this.parseJsonLines(data);
|
|
4675
4714
|
}
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4715
|
+
var fileMeta = _this.parseJsonFile(d, file);
|
|
4716
|
+
if (fileMeta) {
|
|
4717
|
+
meta = meta.concat(Object.assign({}, fileMeta, { fileType: extension }));
|
|
4718
|
+
counter += 1;
|
|
4719
|
+
if (counter === fs.length) {
|
|
4720
|
+
_this.setState({ meta: meta });
|
|
4721
|
+
_this.props.onDrop();
|
|
4722
|
+
}
|
|
4682
4723
|
}
|
|
4683
|
-
}
|
|
4724
|
+
}
|
|
4684
4725
|
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4726
|
+
// ADD TO CONTENTS, TO UPLOAD
|
|
4727
|
+
fileContents = fileContents.concat(file);
|
|
4728
|
+
contentCounter += 1;
|
|
4729
|
+
if (contentCounter === fs.length) {
|
|
4730
|
+
_this.setState({ fileContents: fileContents });
|
|
4689
4731
|
}
|
|
4690
|
-
}
|
|
4732
|
+
}; // end file reader on load callback
|
|
4733
|
+
|
|
4734
|
+
if (isXLS) {
|
|
4735
|
+
reader.readAsBinaryString(file); // read as array buffer???
|
|
4736
|
+
} else {
|
|
4737
|
+
reader.readAsText(file);
|
|
4738
|
+
}
|
|
4691
4739
|
} else {
|
|
4692
4740
|
_this.setState({ dropError: 'File type not accepted.' });
|
|
4693
4741
|
setTimeout(function () {
|
|
@@ -5004,7 +5052,7 @@ module.exports =
|
|
|
5004
5052
|
exports.default = FlatFile;
|
|
5005
5053
|
|
|
5006
5054
|
/***/ },
|
|
5007
|
-
/*
|
|
5055
|
+
/* 70 */
|
|
5008
5056
|
/***/ function(module, exports, __webpack_require__) {
|
|
5009
5057
|
|
|
5010
5058
|
'use strict';
|
|
@@ -5019,7 +5067,7 @@ module.exports =
|
|
|
5019
5067
|
|
|
5020
5068
|
var _react2 = _interopRequireDefault(_react);
|
|
5021
5069
|
|
|
5022
|
-
__webpack_require__(
|
|
5070
|
+
__webpack_require__(49);
|
|
5023
5071
|
|
|
5024
5072
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
5025
5073
|
|
|
@@ -5032,8 +5080,8 @@ module.exports =
|
|
|
5032
5080
|
// SKIP ON SERVER-SIDE RENDERING
|
|
5033
5081
|
var codemirror = null;
|
|
5034
5082
|
if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {
|
|
5035
|
-
codemirror = __webpack_require__(
|
|
5036
|
-
__webpack_require__(
|
|
5083
|
+
codemirror = __webpack_require__(51);
|
|
5084
|
+
__webpack_require__(42);
|
|
5037
5085
|
}
|
|
5038
5086
|
|
|
5039
5087
|
function unCamelize(text) {
|
|
@@ -5188,7 +5236,7 @@ module.exports =
|
|
|
5188
5236
|
exports.default = Google;
|
|
5189
5237
|
|
|
5190
5238
|
/***/ },
|
|
5191
|
-
/*
|
|
5239
|
+
/* 71 */
|
|
5192
5240
|
/***/ function(module, exports, __webpack_require__) {
|
|
5193
5241
|
|
|
5194
5242
|
'use strict';
|
|
@@ -5203,23 +5251,23 @@ module.exports =
|
|
|
5203
5251
|
|
|
5204
5252
|
var _react2 = _interopRequireDefault(_react);
|
|
5205
5253
|
|
|
5206
|
-
var _flatfile = __webpack_require__(
|
|
5254
|
+
var _flatfile = __webpack_require__(69);
|
|
5207
5255
|
|
|
5208
5256
|
var _flatfile2 = _interopRequireDefault(_flatfile);
|
|
5209
5257
|
|
|
5210
|
-
var _google = __webpack_require__(
|
|
5258
|
+
var _google = __webpack_require__(70);
|
|
5211
5259
|
|
|
5212
5260
|
var _google2 = _interopRequireDefault(_google);
|
|
5213
5261
|
|
|
5214
|
-
var _adaptersecret = __webpack_require__(
|
|
5262
|
+
var _adaptersecret = __webpack_require__(68);
|
|
5215
5263
|
|
|
5216
5264
|
var _adaptersecret2 = _interopRequireDefault(_adaptersecret);
|
|
5217
5265
|
|
|
5218
|
-
var _oauth = __webpack_require__(
|
|
5266
|
+
var _oauth = __webpack_require__(72);
|
|
5219
5267
|
|
|
5220
5268
|
var _oauth2 = _interopRequireDefault(_oauth);
|
|
5221
5269
|
|
|
5222
|
-
var _sftp = __webpack_require__(
|
|
5270
|
+
var _sftp = __webpack_require__(73);
|
|
5223
5271
|
|
|
5224
5272
|
var _sftp2 = _interopRequireDefault(_sftp);
|
|
5225
5273
|
|
|
@@ -5541,7 +5589,7 @@ module.exports =
|
|
|
5541
5589
|
};
|
|
5542
5590
|
|
|
5543
5591
|
/***/ },
|
|
5544
|
-
/*
|
|
5592
|
+
/* 72 */
|
|
5545
5593
|
/***/ function(module, exports, __webpack_require__) {
|
|
5546
5594
|
|
|
5547
5595
|
'use strict';
|
|
@@ -5820,7 +5868,7 @@ module.exports =
|
|
|
5820
5868
|
exports.default = Oauth;
|
|
5821
5869
|
|
|
5822
5870
|
/***/ },
|
|
5823
|
-
/*
|
|
5871
|
+
/* 73 */
|
|
5824
5872
|
/***/ function(module, exports, __webpack_require__) {
|
|
5825
5873
|
|
|
5826
5874
|
'use strict';
|
|
@@ -5835,7 +5883,7 @@ module.exports =
|
|
|
5835
5883
|
|
|
5836
5884
|
var _react2 = _interopRequireDefault(_react);
|
|
5837
5885
|
|
|
5838
|
-
__webpack_require__(
|
|
5886
|
+
__webpack_require__(49);
|
|
5839
5887
|
|
|
5840
5888
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
5841
5889
|
|
|
@@ -5848,8 +5896,8 @@ module.exports =
|
|
|
5848
5896
|
// SKIP ON SERVER-SIDE RENDERING
|
|
5849
5897
|
var codemirror = null;
|
|
5850
5898
|
if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {
|
|
5851
|
-
codemirror = __webpack_require__(
|
|
5852
|
-
__webpack_require__(
|
|
5899
|
+
codemirror = __webpack_require__(51);
|
|
5900
|
+
__webpack_require__(42);
|
|
5853
5901
|
}
|
|
5854
5902
|
|
|
5855
5903
|
function unCamelize(text) {
|
|
@@ -5926,16 +5974,20 @@ module.exports =
|
|
|
5926
5974
|
creds = _props2.creds,
|
|
5927
5975
|
onChange = _props2.onChange;
|
|
5928
5976
|
|
|
5929
|
-
|
|
5930
|
-
var CodeMirror = codemirror && codemirror.Controlled;
|
|
5977
|
+
//const CodeMirror = codemirror && codemirror.Controlled
|
|
5931
5978
|
|
|
5932
5979
|
var Button = inputs.Button;
|
|
5933
5980
|
var Input = inputs.Input;
|
|
5934
5981
|
var Toggle = inputs.ToggleButtonGroup;
|
|
5935
5982
|
|
|
5936
5983
|
var credentials = config && config.credentials.filter(function (o) {
|
|
5937
|
-
if (o === '
|
|
5938
|
-
|
|
5984
|
+
if (o === 'privateKey' || o === 'password') {
|
|
5985
|
+
var i = o;
|
|
5986
|
+
if (o === 'privateKey') {
|
|
5987
|
+
i = 'ssh-key';
|
|
5988
|
+
}
|
|
5989
|
+
|
|
5990
|
+
if (creds["credentialType"] === i) {
|
|
5939
5991
|
return true;
|
|
5940
5992
|
} else {
|
|
5941
5993
|
return false;
|
|
@@ -5947,8 +5999,7 @@ module.exports =
|
|
|
5947
5999
|
//
|
|
5948
6000
|
|
|
5949
6001
|
var credsDisabledCheck = credentials.some(function (c) {
|
|
5950
|
-
|
|
5951
|
-
return !Object.keys(formCreds).includes(c.split(' ').join(''));
|
|
6002
|
+
return !Object.keys(creds).includes(c.split(' ').join(''));
|
|
5952
6003
|
});
|
|
5953
6004
|
|
|
5954
6005
|
return _react2.default.createElement(
|
|
@@ -5976,7 +6027,7 @@ module.exports =
|
|
|
5976
6027
|
return _react2.default.createElement(
|
|
5977
6028
|
'div',
|
|
5978
6029
|
{ key: index, style: { marginTop: 8 } },
|
|
5979
|
-
credType === '
|
|
6030
|
+
credType === 'privateKey' ? _react2.default.createElement(
|
|
5980
6031
|
'label',
|
|
5981
6032
|
{ htmlFor: credType, className: 'labelz', style: { fontWeight: 'normal' } },
|
|
5982
6033
|
'SSH Key'
|
|
@@ -5986,22 +6037,8 @@ module.exports =
|
|
|
5986
6037
|
unCamelize(credType)
|
|
5987
6038
|
),
|
|
5988
6039
|
_react2.default.createElement('br', null),
|
|
5989
|
-
|
|
5990
|
-
'
|
|
5991
|
-
null,
|
|
5992
|
-
_react2.default.createElement(CodeMirror, { value: creds[credType],
|
|
5993
|
-
className: 'env-creds-json-codemirror-sftp',
|
|
5994
|
-
options: {
|
|
5995
|
-
lineNumbers: true,
|
|
5996
|
-
theme: 'default',
|
|
5997
|
-
mode: 'javascript',
|
|
5998
|
-
dragDrop: true
|
|
5999
|
-
},
|
|
6000
|
-
onBeforeChange: function onBeforeChange(e, d, v) {
|
|
6001
|
-
return onChange({ target: { name: credType, value: v } });
|
|
6002
|
-
} })
|
|
6003
|
-
) : _react2.default.createElement(Input, { name: credType,
|
|
6004
|
-
datatype: credType === 'password' && !_this2.state.showPass ? 'password' : null,
|
|
6040
|
+
_react2.default.createElement(Input, { name: credType,
|
|
6041
|
+
datatype: (credType === 'privateKey' || credType === 'password') && !_this2.state.showPass ? 'password' : null,
|
|
6005
6042
|
value: creds[credType] || '',
|
|
6006
6043
|
onChange: onChange }),
|
|
6007
6044
|
index === 0 && _react2.default.createElement(
|
|
@@ -6020,7 +6057,7 @@ module.exports =
|
|
|
6020
6057
|
'\xA0\xA0',
|
|
6021
6058
|
_react2.default.createElement(Loop, null)
|
|
6022
6059
|
),
|
|
6023
|
-
credType === 'password' && _react2.default.createElement(Key, { showPass: _this2.state.showPass,
|
|
6060
|
+
(credType === 'privateKey' || credType === 'password') && _react2.default.createElement(Key, { showPass: _this2.state.showPass,
|
|
6024
6061
|
onClick: function onClick() {
|
|
6025
6062
|
return _this2.setState({ showPass: !_this2.state.showPass });
|
|
6026
6063
|
}
|
|
@@ -6039,7 +6076,7 @@ module.exports =
|
|
|
6039
6076
|
exports.default = SFTP;
|
|
6040
6077
|
|
|
6041
6078
|
/***/ },
|
|
6042
|
-
/*
|
|
6079
|
+
/* 74 */
|
|
6043
6080
|
/***/ function(module, exports, __webpack_require__) {
|
|
6044
6081
|
|
|
6045
6082
|
"use strict";
|
|
@@ -6220,17 +6257,9 @@ module.exports =
|
|
|
6220
6257
|
});
|
|
6221
6258
|
|
|
6222
6259
|
/***/ },
|
|
6223
|
-
/*
|
|
6224
|
-
/*
|
|
6225
|
-
/*
|
|
6226
|
-
/* 61 */,
|
|
6227
|
-
/* 62 */,
|
|
6228
|
-
/* 63 */,
|
|
6229
|
-
/* 64 */,
|
|
6230
|
-
/* 65 */,
|
|
6231
|
-
/* 66 */,
|
|
6232
|
-
/* 67 */,
|
|
6233
|
-
/* 68 */
|
|
6260
|
+
/* 75 */,
|
|
6261
|
+
/* 76 */,
|
|
6262
|
+
/* 77 */
|
|
6234
6263
|
/***/ function(module, exports) {
|
|
6235
6264
|
|
|
6236
6265
|
'use strict'
|
|
@@ -6249,68 +6278,102 @@ module.exports =
|
|
|
6249
6278
|
revLookup[code.charCodeAt(i)] = i
|
|
6250
6279
|
}
|
|
6251
6280
|
|
|
6281
|
+
// Support decoding URL-safe base64 strings, as Node.js does.
|
|
6282
|
+
// See: https://en.wikipedia.org/wiki/Base64#URL_applications
|
|
6252
6283
|
revLookup['-'.charCodeAt(0)] = 62
|
|
6253
6284
|
revLookup['_'.charCodeAt(0)] = 63
|
|
6254
6285
|
|
|
6255
|
-
function
|
|
6286
|
+
function getLens (b64) {
|
|
6256
6287
|
var len = b64.length
|
|
6288
|
+
|
|
6257
6289
|
if (len % 4 > 0) {
|
|
6258
6290
|
throw new Error('Invalid string. Length must be a multiple of 4')
|
|
6259
6291
|
}
|
|
6260
6292
|
|
|
6261
|
-
//
|
|
6262
|
-
//
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6293
|
+
// Trim off extra bytes after placeholder bytes are found
|
|
6294
|
+
// See: https://github.com/beatgammit/base64-js/issues/42
|
|
6295
|
+
var validLen = b64.indexOf('=')
|
|
6296
|
+
if (validLen === -1) validLen = len
|
|
6297
|
+
|
|
6298
|
+
var placeHoldersLen = validLen === len
|
|
6299
|
+
? 0
|
|
6300
|
+
: 4 - (validLen % 4)
|
|
6301
|
+
|
|
6302
|
+
return [validLen, placeHoldersLen]
|
|
6267
6303
|
}
|
|
6268
6304
|
|
|
6305
|
+
// base64 is 4/3 + up to two characters of the original data
|
|
6269
6306
|
function byteLength (b64) {
|
|
6270
|
-
|
|
6271
|
-
|
|
6307
|
+
var lens = getLens(b64)
|
|
6308
|
+
var validLen = lens[0]
|
|
6309
|
+
var placeHoldersLen = lens[1]
|
|
6310
|
+
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
|
6311
|
+
}
|
|
6312
|
+
|
|
6313
|
+
function _byteLength (b64, validLen, placeHoldersLen) {
|
|
6314
|
+
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
|
6272
6315
|
}
|
|
6273
6316
|
|
|
6274
6317
|
function toByteArray (b64) {
|
|
6275
|
-
var
|
|
6276
|
-
var
|
|
6277
|
-
|
|
6318
|
+
var tmp
|
|
6319
|
+
var lens = getLens(b64)
|
|
6320
|
+
var validLen = lens[0]
|
|
6321
|
+
var placeHoldersLen = lens[1]
|
|
6322
|
+
|
|
6323
|
+
var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
|
|
6278
6324
|
|
|
6279
|
-
|
|
6325
|
+
var curByte = 0
|
|
6280
6326
|
|
|
6281
6327
|
// if there are placeholders, only get up to the last complete 4 chars
|
|
6282
|
-
|
|
6328
|
+
var len = placeHoldersLen > 0
|
|
6329
|
+
? validLen - 4
|
|
6330
|
+
: validLen
|
|
6283
6331
|
|
|
6284
|
-
var
|
|
6332
|
+
for (var i = 0; i < len; i += 4) {
|
|
6333
|
+
tmp =
|
|
6334
|
+
(revLookup[b64.charCodeAt(i)] << 18) |
|
|
6335
|
+
(revLookup[b64.charCodeAt(i + 1)] << 12) |
|
|
6336
|
+
(revLookup[b64.charCodeAt(i + 2)] << 6) |
|
|
6337
|
+
revLookup[b64.charCodeAt(i + 3)]
|
|
6338
|
+
arr[curByte++] = (tmp >> 16) & 0xFF
|
|
6339
|
+
arr[curByte++] = (tmp >> 8) & 0xFF
|
|
6340
|
+
arr[curByte++] = tmp & 0xFF
|
|
6341
|
+
}
|
|
6285
6342
|
|
|
6286
|
-
|
|
6287
|
-
tmp =
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
arr[
|
|
6343
|
+
if (placeHoldersLen === 2) {
|
|
6344
|
+
tmp =
|
|
6345
|
+
(revLookup[b64.charCodeAt(i)] << 2) |
|
|
6346
|
+
(revLookup[b64.charCodeAt(i + 1)] >> 4)
|
|
6347
|
+
arr[curByte++] = tmp & 0xFF
|
|
6291
6348
|
}
|
|
6292
6349
|
|
|
6293
|
-
if (
|
|
6294
|
-
tmp =
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
arr[
|
|
6299
|
-
arr[
|
|
6350
|
+
if (placeHoldersLen === 1) {
|
|
6351
|
+
tmp =
|
|
6352
|
+
(revLookup[b64.charCodeAt(i)] << 10) |
|
|
6353
|
+
(revLookup[b64.charCodeAt(i + 1)] << 4) |
|
|
6354
|
+
(revLookup[b64.charCodeAt(i + 2)] >> 2)
|
|
6355
|
+
arr[curByte++] = (tmp >> 8) & 0xFF
|
|
6356
|
+
arr[curByte++] = tmp & 0xFF
|
|
6300
6357
|
}
|
|
6301
6358
|
|
|
6302
6359
|
return arr
|
|
6303
6360
|
}
|
|
6304
6361
|
|
|
6305
6362
|
function tripletToBase64 (num) {
|
|
6306
|
-
return lookup[num >> 18 & 0x3F] +
|
|
6363
|
+
return lookup[num >> 18 & 0x3F] +
|
|
6364
|
+
lookup[num >> 12 & 0x3F] +
|
|
6365
|
+
lookup[num >> 6 & 0x3F] +
|
|
6366
|
+
lookup[num & 0x3F]
|
|
6307
6367
|
}
|
|
6308
6368
|
|
|
6309
6369
|
function encodeChunk (uint8, start, end) {
|
|
6310
6370
|
var tmp
|
|
6311
6371
|
var output = []
|
|
6312
6372
|
for (var i = start; i < end; i += 3) {
|
|
6313
|
-
tmp =
|
|
6373
|
+
tmp =
|
|
6374
|
+
((uint8[i] << 16) & 0xFF0000) +
|
|
6375
|
+
((uint8[i + 1] << 8) & 0xFF00) +
|
|
6376
|
+
(uint8[i + 2] & 0xFF)
|
|
6314
6377
|
output.push(tripletToBase64(tmp))
|
|
6315
6378
|
}
|
|
6316
6379
|
return output.join('')
|
|
@@ -6320,37 +6383,40 @@ module.exports =
|
|
|
6320
6383
|
var tmp
|
|
6321
6384
|
var len = uint8.length
|
|
6322
6385
|
var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
|
|
6323
|
-
var output = ''
|
|
6324
6386
|
var parts = []
|
|
6325
6387
|
var maxChunkLength = 16383 // must be multiple of 3
|
|
6326
6388
|
|
|
6327
6389
|
// go through the array every three bytes, we'll deal with trailing stuff later
|
|
6328
6390
|
for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
|
|
6329
|
-
parts.push(encodeChunk(
|
|
6391
|
+
parts.push(encodeChunk(
|
|
6392
|
+
uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)
|
|
6393
|
+
))
|
|
6330
6394
|
}
|
|
6331
6395
|
|
|
6332
6396
|
// pad the end with zeros, but make sure to not forget the extra bytes
|
|
6333
6397
|
if (extraBytes === 1) {
|
|
6334
6398
|
tmp = uint8[len - 1]
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6399
|
+
parts.push(
|
|
6400
|
+
lookup[tmp >> 2] +
|
|
6401
|
+
lookup[(tmp << 4) & 0x3F] +
|
|
6402
|
+
'=='
|
|
6403
|
+
)
|
|
6338
6404
|
} else if (extraBytes === 2) {
|
|
6339
|
-
tmp = (uint8[len - 2] << 8) +
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6405
|
+
tmp = (uint8[len - 2] << 8) + uint8[len - 1]
|
|
6406
|
+
parts.push(
|
|
6407
|
+
lookup[tmp >> 10] +
|
|
6408
|
+
lookup[(tmp >> 4) & 0x3F] +
|
|
6409
|
+
lookup[(tmp << 2) & 0x3F] +
|
|
6410
|
+
'='
|
|
6411
|
+
)
|
|
6344
6412
|
}
|
|
6345
6413
|
|
|
6346
|
-
parts.push(output)
|
|
6347
|
-
|
|
6348
6414
|
return parts.join('')
|
|
6349
6415
|
}
|
|
6350
6416
|
|
|
6351
6417
|
|
|
6352
6418
|
/***/ },
|
|
6353
|
-
/*
|
|
6419
|
+
/* 78 */
|
|
6354
6420
|
/***/ function(module, exports, __webpack_require__) {
|
|
6355
6421
|
|
|
6356
6422
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
@@ -7101,6 +7167,16 @@ module.exports =
|
|
|
7101
7167
|
function collapsedSpanAtStart(line) { return collapsedSpanAtSide(line, true) }
|
|
7102
7168
|
function collapsedSpanAtEnd(line) { return collapsedSpanAtSide(line, false) }
|
|
7103
7169
|
|
|
7170
|
+
function collapsedSpanAround(line, ch) {
|
|
7171
|
+
var sps = sawCollapsedSpans && line.markedSpans, found;
|
|
7172
|
+
if (sps) { for (var i = 0; i < sps.length; ++i) {
|
|
7173
|
+
var sp = sps[i];
|
|
7174
|
+
if (sp.marker.collapsed && (sp.from == null || sp.from < ch) && (sp.to == null || sp.to > ch) &&
|
|
7175
|
+
(!found || compareCollapsedMarkers(found, sp.marker) < 0)) { found = sp.marker; }
|
|
7176
|
+
} }
|
|
7177
|
+
return found
|
|
7178
|
+
}
|
|
7179
|
+
|
|
7104
7180
|
// Test whether there exists a collapsed span that partially
|
|
7105
7181
|
// overlaps (covers the start or end, but not both) of a new span.
|
|
7106
7182
|
// Such overlap is not allowed.
|
|
@@ -9135,12 +9211,11 @@ module.exports =
|
|
|
9135
9211
|
var lineObj = getLine(doc, lineN);
|
|
9136
9212
|
for (;;) {
|
|
9137
9213
|
var found = coordsCharInner(cm, lineObj, lineN, x, y);
|
|
9138
|
-
var
|
|
9139
|
-
|
|
9140
|
-
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
{ return found }
|
|
9214
|
+
var collapsed = collapsedSpanAround(lineObj, found.ch + (found.xRel > 0 ? 1 : 0));
|
|
9215
|
+
if (!collapsed) { return found }
|
|
9216
|
+
var rangeEnd = collapsed.find(1);
|
|
9217
|
+
if (rangeEnd.line == lineN) { return rangeEnd }
|
|
9218
|
+
lineObj = getLine(doc, lineN = rangeEnd.line);
|
|
9144
9219
|
}
|
|
9145
9220
|
}
|
|
9146
9221
|
|
|
@@ -9631,8 +9706,10 @@ module.exports =
|
|
|
9631
9706
|
// Read and store the height of line widgets associated with the
|
|
9632
9707
|
// given line.
|
|
9633
9708
|
function updateWidgetHeight(line) {
|
|
9634
|
-
if (line.widgets) { for (var i = 0; i < line.widgets.length; ++i)
|
|
9635
|
-
|
|
9709
|
+
if (line.widgets) { for (var i = 0; i < line.widgets.length; ++i) {
|
|
9710
|
+
var w = line.widgets[i], parent = w.node.parentNode;
|
|
9711
|
+
if (parent) { w.height = parent.offsetHeight; }
|
|
9712
|
+
} }
|
|
9636
9713
|
}
|
|
9637
9714
|
|
|
9638
9715
|
// Compute the lines that are visible in a given viewport (defaults
|
|
@@ -9898,6 +9975,7 @@ module.exports =
|
|
|
9898
9975
|
this.cm = cm;
|
|
9899
9976
|
var vert = this.vert = elt("div", [elt("div", null, null, "min-width: 1px")], "CodeMirror-vscrollbar");
|
|
9900
9977
|
var horiz = this.horiz = elt("div", [elt("div", null, null, "height: 100%; min-height: 1px")], "CodeMirror-hscrollbar");
|
|
9978
|
+
vert.tabIndex = horiz.tabIndex = -1;
|
|
9901
9979
|
place(vert); place(horiz);
|
|
9902
9980
|
|
|
9903
9981
|
on(vert, "scroll", function () {
|
|
@@ -11149,7 +11227,7 @@ module.exports =
|
|
|
11149
11227
|
|
|
11150
11228
|
if ((hist.lastOp == opId ||
|
|
11151
11229
|
hist.lastOrigin == change.origin && change.origin &&
|
|
11152
|
-
((change.origin.charAt(0) == "+" &&
|
|
11230
|
+
((change.origin.charAt(0) == "+" && hist.lastModTime > time - (doc.cm ? doc.cm.options.historyEventDelay : 500)) ||
|
|
11153
11231
|
change.origin.charAt(0) == "*")) &&
|
|
11154
11232
|
(cur = lastChangeEvent(hist, hist.lastOp == opId))) {
|
|
11155
11233
|
// Merge this change into the last event
|
|
@@ -11578,7 +11656,8 @@ module.exports =
|
|
|
11578
11656
|
|
|
11579
11657
|
// Revert a change stored in a document's history.
|
|
11580
11658
|
function makeChangeFromHistory(doc, type, allowSelectionOnly) {
|
|
11581
|
-
|
|
11659
|
+
var suppress = doc.cm && doc.cm.state.suppressEdits;
|
|
11660
|
+
if (suppress && !allowSelectionOnly) { return }
|
|
11582
11661
|
|
|
11583
11662
|
var hist = doc.history, event, selAfter = doc.sel;
|
|
11584
11663
|
var source = type == "undo" ? hist.done : hist.undone, dest = type == "undo" ? hist.undone : hist.done;
|
|
@@ -11603,8 +11682,10 @@ module.exports =
|
|
|
11603
11682
|
return
|
|
11604
11683
|
}
|
|
11605
11684
|
selAfter = event;
|
|
11606
|
-
}
|
|
11607
|
-
|
|
11685
|
+
} else if (suppress) {
|
|
11686
|
+
source.push(event);
|
|
11687
|
+
return
|
|
11688
|
+
} else { break }
|
|
11608
11689
|
}
|
|
11609
11690
|
|
|
11610
11691
|
// Build up a reverse change object to add to the opposite history
|
|
@@ -11760,7 +11841,7 @@ module.exports =
|
|
|
11760
11841
|
function replaceRange(doc, code, from, to, origin) {
|
|
11761
11842
|
if (!to) { to = from; }
|
|
11762
11843
|
if (cmp(to, from) < 0) { var assign;
|
|
11763
|
-
(assign = [to, from], from = assign[0], to = assign[1]
|
|
11844
|
+
(assign = [to, from], from = assign[0], to = assign[1]); }
|
|
11764
11845
|
if (typeof code == "string") { code = doc.splitLines(code); }
|
|
11765
11846
|
makeChange(doc, {from: from, to: to, text: code, origin: origin});
|
|
11766
11847
|
}
|
|
@@ -11856,10 +11937,10 @@ module.exports =
|
|
|
11856
11937
|
}
|
|
11857
11938
|
|
|
11858
11939
|
LeafChunk.prototype = {
|
|
11859
|
-
chunkSize: function
|
|
11940
|
+
chunkSize: function() { return this.lines.length },
|
|
11860
11941
|
|
|
11861
11942
|
// Remove the n lines at offset 'at'.
|
|
11862
|
-
removeInner: function
|
|
11943
|
+
removeInner: function(at, n) {
|
|
11863
11944
|
var this$1 = this;
|
|
11864
11945
|
|
|
11865
11946
|
for (var i = at, e = at + n; i < e; ++i) {
|
|
@@ -11872,13 +11953,13 @@ module.exports =
|
|
|
11872
11953
|
},
|
|
11873
11954
|
|
|
11874
11955
|
// Helper used to collapse a small branch into a single leaf.
|
|
11875
|
-
collapse: function
|
|
11956
|
+
collapse: function(lines) {
|
|
11876
11957
|
lines.push.apply(lines, this.lines);
|
|
11877
11958
|
},
|
|
11878
11959
|
|
|
11879
11960
|
// Insert the given array of lines at offset 'at', count them as
|
|
11880
11961
|
// having the given height.
|
|
11881
|
-
insertInner: function
|
|
11962
|
+
insertInner: function(at, lines, height) {
|
|
11882
11963
|
var this$1 = this;
|
|
11883
11964
|
|
|
11884
11965
|
this.height += height;
|
|
@@ -11887,7 +11968,7 @@ module.exports =
|
|
|
11887
11968
|
},
|
|
11888
11969
|
|
|
11889
11970
|
// Used to iterate over a part of the tree.
|
|
11890
|
-
iterN: function
|
|
11971
|
+
iterN: function(at, n, op) {
|
|
11891
11972
|
var this$1 = this;
|
|
11892
11973
|
|
|
11893
11974
|
for (var e = at + n; at < e; ++at)
|
|
@@ -11911,9 +11992,9 @@ module.exports =
|
|
|
11911
11992
|
}
|
|
11912
11993
|
|
|
11913
11994
|
BranchChunk.prototype = {
|
|
11914
|
-
chunkSize: function
|
|
11995
|
+
chunkSize: function() { return this.size },
|
|
11915
11996
|
|
|
11916
|
-
removeInner: function
|
|
11997
|
+
removeInner: function(at, n) {
|
|
11917
11998
|
var this$1 = this;
|
|
11918
11999
|
|
|
11919
12000
|
this.size -= n;
|
|
@@ -11939,13 +12020,13 @@ module.exports =
|
|
|
11939
12020
|
}
|
|
11940
12021
|
},
|
|
11941
12022
|
|
|
11942
|
-
collapse: function
|
|
12023
|
+
collapse: function(lines) {
|
|
11943
12024
|
var this$1 = this;
|
|
11944
12025
|
|
|
11945
12026
|
for (var i = 0; i < this.children.length; ++i) { this$1.children[i].collapse(lines); }
|
|
11946
12027
|
},
|
|
11947
12028
|
|
|
11948
|
-
insertInner: function
|
|
12029
|
+
insertInner: function(at, lines, height) {
|
|
11949
12030
|
var this$1 = this;
|
|
11950
12031
|
|
|
11951
12032
|
this.size += lines.length;
|
|
@@ -11974,7 +12055,7 @@ module.exports =
|
|
|
11974
12055
|
},
|
|
11975
12056
|
|
|
11976
12057
|
// When a node has grown, check whether it should be split.
|
|
11977
|
-
maybeSpill: function
|
|
12058
|
+
maybeSpill: function() {
|
|
11978
12059
|
if (this.children.length <= 10) { return }
|
|
11979
12060
|
var me = this;
|
|
11980
12061
|
do {
|
|
@@ -11996,7 +12077,7 @@ module.exports =
|
|
|
11996
12077
|
me.parent.maybeSpill();
|
|
11997
12078
|
},
|
|
11998
12079
|
|
|
11999
|
-
iterN: function
|
|
12080
|
+
iterN: function(at, n, op) {
|
|
12000
12081
|
var this$1 = this;
|
|
12001
12082
|
|
|
12002
12083
|
for (var i = 0; i < this.children.length; ++i) {
|
|
@@ -12080,7 +12161,7 @@ module.exports =
|
|
|
12080
12161
|
}
|
|
12081
12162
|
return true
|
|
12082
12163
|
});
|
|
12083
|
-
signalLater(cm, "lineWidgetAdded", cm, widget, typeof handle == "number" ? handle : lineNo(handle));
|
|
12164
|
+
if (cm) { signalLater(cm, "lineWidgetAdded", cm, widget, typeof handle == "number" ? handle : lineNo(handle)); }
|
|
12084
12165
|
return widget
|
|
12085
12166
|
}
|
|
12086
12167
|
|
|
@@ -12938,11 +13019,11 @@ module.exports =
|
|
|
12938
13019
|
}
|
|
12939
13020
|
|
|
12940
13021
|
var keyNames = {
|
|
12941
|
-
3: "
|
|
13022
|
+
3: "Pause", 8: "Backspace", 9: "Tab", 13: "Enter", 16: "Shift", 17: "Ctrl", 18: "Alt",
|
|
12942
13023
|
19: "Pause", 20: "CapsLock", 27: "Esc", 32: "Space", 33: "PageUp", 34: "PageDown", 35: "End",
|
|
12943
13024
|
36: "Home", 37: "Left", 38: "Up", 39: "Right", 40: "Down", 44: "PrintScrn", 45: "Insert",
|
|
12944
13025
|
46: "Delete", 59: ";", 61: "=", 91: "Mod", 92: "Mod", 93: "Mod",
|
|
12945
|
-
106: "*", 107: "=", 109: "-", 110: ".", 111: "/", 127: "Delete",
|
|
13026
|
+
106: "*", 107: "=", 109: "-", 110: ".", 111: "/", 127: "Delete", 145: "ScrollLock",
|
|
12946
13027
|
173: "-", 186: ";", 187: "=", 188: ",", 189: "-", 190: ".", 191: "/", 192: "`", 219: "[", 220: "\\",
|
|
12947
13028
|
221: "]", 222: "'", 63232: "Up", 63233: "Down", 63234: "Left", 63235: "Right", 63272: "Delete",
|
|
12948
13029
|
63273: "Home", 63275: "End", 63276: "PageUp", 63277: "PageDown", 63302: "Insert"
|
|
@@ -13089,6 +13170,9 @@ module.exports =
|
|
|
13089
13170
|
if (presto && event.keyCode == 34 && event["char"]) { return false }
|
|
13090
13171
|
var name = keyNames[event.keyCode];
|
|
13091
13172
|
if (name == null || event.altGraphKey) { return false }
|
|
13173
|
+
// Ctrl-ScrollLock has keyCode 3, same as Ctrl-Pause,
|
|
13174
|
+
// so we'll use event.code when available (Chrome 48+, FF 38+, Safari 10.1+)
|
|
13175
|
+
if (event.keyCode == 3 && event.code) { name = event.code; }
|
|
13092
13176
|
return addModifierNames(name, event, noShift)
|
|
13093
13177
|
}
|
|
13094
13178
|
|
|
@@ -13428,18 +13512,26 @@ module.exports =
|
|
|
13428
13512
|
// for bound mouse clicks.
|
|
13429
13513
|
|
|
13430
13514
|
var stopSeq = new Delayed;
|
|
13515
|
+
|
|
13431
13516
|
function dispatchKey(cm, name, e, handle) {
|
|
13432
13517
|
var seq = cm.state.keySeq;
|
|
13433
13518
|
if (seq) {
|
|
13434
13519
|
if (isModifierKey(name)) { return "handled" }
|
|
13435
|
-
|
|
13436
|
-
|
|
13437
|
-
|
|
13438
|
-
|
|
13439
|
-
|
|
13440
|
-
|
|
13441
|
-
|
|
13520
|
+
if (/\'$/.test(name))
|
|
13521
|
+
{ cm.state.keySeq = null; }
|
|
13522
|
+
else
|
|
13523
|
+
{ stopSeq.set(50, function () {
|
|
13524
|
+
if (cm.state.keySeq == seq) {
|
|
13525
|
+
cm.state.keySeq = null;
|
|
13526
|
+
cm.display.input.reset();
|
|
13527
|
+
}
|
|
13528
|
+
}); }
|
|
13529
|
+
if (dispatchKeyInner(cm, seq + " " + name, e, handle)) { return true }
|
|
13442
13530
|
}
|
|
13531
|
+
return dispatchKeyInner(cm, name, e, handle)
|
|
13532
|
+
}
|
|
13533
|
+
|
|
13534
|
+
function dispatchKeyInner(cm, name, e, handle) {
|
|
13443
13535
|
var result = lookupKeyForEditor(cm, name, handle);
|
|
13444
13536
|
|
|
13445
13537
|
if (result == "multi")
|
|
@@ -13452,10 +13544,6 @@ module.exports =
|
|
|
13452
13544
|
restartBlink(cm);
|
|
13453
13545
|
}
|
|
13454
13546
|
|
|
13455
|
-
if (seq && !result && /\'$/.test(name)) {
|
|
13456
|
-
e_preventDefault(e);
|
|
13457
|
-
return true
|
|
13458
|
-
}
|
|
13459
13547
|
return !!result
|
|
13460
13548
|
}
|
|
13461
13549
|
|
|
@@ -13667,8 +13755,8 @@ module.exports =
|
|
|
13667
13755
|
var dragEnd = operation(cm, function (e) {
|
|
13668
13756
|
if (webkit) { display.scroller.draggable = false; }
|
|
13669
13757
|
cm.state.draggingText = false;
|
|
13670
|
-
off(
|
|
13671
|
-
off(
|
|
13758
|
+
off(display.wrapper.ownerDocument, "mouseup", dragEnd);
|
|
13759
|
+
off(display.wrapper.ownerDocument, "mousemove", mouseMove);
|
|
13672
13760
|
off(display.scroller, "dragstart", dragStart);
|
|
13673
13761
|
off(display.scroller, "drop", dragEnd);
|
|
13674
13762
|
if (!moved) {
|
|
@@ -13677,7 +13765,7 @@ module.exports =
|
|
|
13677
13765
|
{ extendSelection(cm.doc, pos, null, null, behavior.extend); }
|
|
13678
13766
|
// Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081)
|
|
13679
13767
|
if (webkit || ie && ie_version == 9)
|
|
13680
|
-
{ setTimeout(function () {
|
|
13768
|
+
{ setTimeout(function () {display.wrapper.ownerDocument.body.focus(); display.input.focus();}, 20); }
|
|
13681
13769
|
else
|
|
13682
13770
|
{ display.input.focus(); }
|
|
13683
13771
|
}
|
|
@@ -13692,8 +13780,8 @@ module.exports =
|
|
|
13692
13780
|
dragEnd.copy = !behavior.moveOnDrag;
|
|
13693
13781
|
// IE's approach to draggable
|
|
13694
13782
|
if (display.scroller.dragDrop) { display.scroller.dragDrop(); }
|
|
13695
|
-
on(
|
|
13696
|
-
on(
|
|
13783
|
+
on(display.wrapper.ownerDocument, "mouseup", dragEnd);
|
|
13784
|
+
on(display.wrapper.ownerDocument, "mousemove", mouseMove);
|
|
13697
13785
|
on(display.scroller, "dragstart", dragStart);
|
|
13698
13786
|
on(display.scroller, "drop", dragEnd);
|
|
13699
13787
|
|
|
@@ -13825,19 +13913,19 @@ module.exports =
|
|
|
13825
13913
|
counter = Infinity;
|
|
13826
13914
|
e_preventDefault(e);
|
|
13827
13915
|
display.input.focus();
|
|
13828
|
-
off(
|
|
13829
|
-
off(
|
|
13916
|
+
off(display.wrapper.ownerDocument, "mousemove", move);
|
|
13917
|
+
off(display.wrapper.ownerDocument, "mouseup", up);
|
|
13830
13918
|
doc.history.lastSelOrigin = null;
|
|
13831
13919
|
}
|
|
13832
13920
|
|
|
13833
13921
|
var move = operation(cm, function (e) {
|
|
13834
|
-
if (!e_button(e)) { done(e); }
|
|
13922
|
+
if (e.buttons === 0 || !e_button(e)) { done(e); }
|
|
13835
13923
|
else { extend(e); }
|
|
13836
13924
|
});
|
|
13837
13925
|
var up = operation(cm, done);
|
|
13838
13926
|
cm.state.selectingText = up;
|
|
13839
|
-
on(
|
|
13840
|
-
on(
|
|
13927
|
+
on(display.wrapper.ownerDocument, "mousemove", move);
|
|
13928
|
+
on(display.wrapper.ownerDocument, "mouseup", up);
|
|
13841
13929
|
}
|
|
13842
13930
|
|
|
13843
13931
|
// Used when mouse-selecting to adjust the anchor to the proper side
|
|
@@ -13967,6 +14055,7 @@ module.exports =
|
|
|
13967
14055
|
clearCaches(cm);
|
|
13968
14056
|
regChange(cm);
|
|
13969
14057
|
}, true);
|
|
14058
|
+
|
|
13970
14059
|
option("lineSeparator", null, function (cm, val) {
|
|
13971
14060
|
cm.doc.lineSep = val;
|
|
13972
14061
|
if (!val) { return }
|
|
@@ -14373,7 +14462,7 @@ module.exports =
|
|
|
14373
14462
|
|
|
14374
14463
|
var paste = cm.state.pasteIncoming || origin == "paste";
|
|
14375
14464
|
var textLines = splitLinesAuto(inserted), multiPaste = null;
|
|
14376
|
-
// When
|
|
14465
|
+
// When pasting N lines into N selections, insert one line per selection
|
|
14377
14466
|
if (paste && sel.ranges.length > 1) {
|
|
14378
14467
|
if (lastCopied && lastCopied.text.join("\n") == inserted) {
|
|
14379
14468
|
if (sel.ranges.length % lastCopied.text.length == 0) {
|
|
@@ -15109,8 +15198,12 @@ module.exports =
|
|
|
15109
15198
|
this.showMultipleSelections(info);
|
|
15110
15199
|
};
|
|
15111
15200
|
|
|
15201
|
+
ContentEditableInput.prototype.getSelection = function () {
|
|
15202
|
+
return this.cm.display.wrapper.ownerDocument.getSelection()
|
|
15203
|
+
};
|
|
15204
|
+
|
|
15112
15205
|
ContentEditableInput.prototype.showPrimarySelection = function () {
|
|
15113
|
-
var sel =
|
|
15206
|
+
var sel = this.getSelection(), cm = this.cm, prim = cm.doc.sel.primary();
|
|
15114
15207
|
var from = prim.from(), to = prim.to();
|
|
15115
15208
|
|
|
15116
15209
|
if (cm.display.viewTo == cm.display.viewFrom || from.line >= cm.display.viewTo || to.line < cm.display.viewFrom) {
|
|
@@ -15177,13 +15270,13 @@ module.exports =
|
|
|
15177
15270
|
};
|
|
15178
15271
|
|
|
15179
15272
|
ContentEditableInput.prototype.rememberSelection = function () {
|
|
15180
|
-
var sel =
|
|
15273
|
+
var sel = this.getSelection();
|
|
15181
15274
|
this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset;
|
|
15182
15275
|
this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset;
|
|
15183
15276
|
};
|
|
15184
15277
|
|
|
15185
15278
|
ContentEditableInput.prototype.selectionInEditor = function () {
|
|
15186
|
-
var sel =
|
|
15279
|
+
var sel = this.getSelection();
|
|
15187
15280
|
if (!sel.rangeCount) { return false }
|
|
15188
15281
|
var node = sel.getRangeAt(0).commonAncestorContainer;
|
|
15189
15282
|
return contains(this.div, node)
|
|
@@ -15218,14 +15311,14 @@ module.exports =
|
|
|
15218
15311
|
};
|
|
15219
15312
|
|
|
15220
15313
|
ContentEditableInput.prototype.selectionChanged = function () {
|
|
15221
|
-
var sel =
|
|
15314
|
+
var sel = this.getSelection();
|
|
15222
15315
|
return sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset ||
|
|
15223
15316
|
sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset
|
|
15224
15317
|
};
|
|
15225
15318
|
|
|
15226
15319
|
ContentEditableInput.prototype.pollSelection = function () {
|
|
15227
15320
|
if (this.readDOMTimeout != null || this.gracePeriod || !this.selectionChanged()) { return }
|
|
15228
|
-
var sel =
|
|
15321
|
+
var sel = this.getSelection(), cm = this.cm;
|
|
15229
15322
|
// On Android Chrome (version 56, at least), backspacing into an
|
|
15230
15323
|
// uneditable block element will put the cursor in that element,
|
|
15231
15324
|
// and then, because it's not editable, hide the virtual keyboard.
|
|
@@ -15359,7 +15452,7 @@ module.exports =
|
|
|
15359
15452
|
};
|
|
15360
15453
|
|
|
15361
15454
|
ContentEditableInput.prototype.onKeyPress = function (e) {
|
|
15362
|
-
if (e.charCode == 0) { return }
|
|
15455
|
+
if (e.charCode == 0 || this.composing) { return }
|
|
15363
15456
|
e.preventDefault();
|
|
15364
15457
|
if (!this.cm.isReadOnly())
|
|
15365
15458
|
{ operation(this.cm, applyTextInput)(this.cm, String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode), 0); }
|
|
@@ -15399,12 +15492,13 @@ module.exports =
|
|
|
15399
15492
|
function badPos(pos, bad) { if (bad) { pos.bad = true; } return pos }
|
|
15400
15493
|
|
|
15401
15494
|
function domTextBetween(cm, from, to, fromLine, toLine) {
|
|
15402
|
-
var text = "", closing = false, lineSep = cm.doc.lineSeparator();
|
|
15495
|
+
var text = "", closing = false, lineSep = cm.doc.lineSeparator(), extraLinebreak = false;
|
|
15403
15496
|
function recognizeMarker(id) { return function (marker) { return marker.id == id; } }
|
|
15404
15497
|
function close() {
|
|
15405
15498
|
if (closing) {
|
|
15406
15499
|
text += lineSep;
|
|
15407
|
-
|
|
15500
|
+
if (extraLinebreak) { text += lineSep; }
|
|
15501
|
+
closing = extraLinebreak = false;
|
|
15408
15502
|
}
|
|
15409
15503
|
}
|
|
15410
15504
|
function addText(str) {
|
|
@@ -15416,8 +15510,8 @@ module.exports =
|
|
|
15416
15510
|
function walk(node) {
|
|
15417
15511
|
if (node.nodeType == 1) {
|
|
15418
15512
|
var cmText = node.getAttribute("cm-text");
|
|
15419
|
-
if (cmText
|
|
15420
|
-
addText(cmText
|
|
15513
|
+
if (cmText) {
|
|
15514
|
+
addText(cmText);
|
|
15421
15515
|
return
|
|
15422
15516
|
}
|
|
15423
15517
|
var markerID = node.getAttribute("cm-marker"), range$$1;
|
|
@@ -15428,19 +15522,24 @@ module.exports =
|
|
|
15428
15522
|
return
|
|
15429
15523
|
}
|
|
15430
15524
|
if (node.getAttribute("contenteditable") == "false") { return }
|
|
15431
|
-
var isBlock = /^(pre|div|p)$/i.test(node.nodeName);
|
|
15525
|
+
var isBlock = /^(pre|div|p|li|table|br)$/i.test(node.nodeName);
|
|
15526
|
+
if (!/^br$/i.test(node.nodeName) && node.textContent.length == 0) { return }
|
|
15527
|
+
|
|
15432
15528
|
if (isBlock) { close(); }
|
|
15433
15529
|
for (var i = 0; i < node.childNodes.length; i++)
|
|
15434
15530
|
{ walk(node.childNodes[i]); }
|
|
15531
|
+
|
|
15532
|
+
if (/^(pre|p)$/i.test(node.nodeName)) { extraLinebreak = true; }
|
|
15435
15533
|
if (isBlock) { closing = true; }
|
|
15436
15534
|
} else if (node.nodeType == 3) {
|
|
15437
|
-
addText(node.nodeValue);
|
|
15535
|
+
addText(node.nodeValue.replace(/\u200b/g, "").replace(/\u00a0/g, " "));
|
|
15438
15536
|
}
|
|
15439
15537
|
}
|
|
15440
15538
|
for (;;) {
|
|
15441
15539
|
walk(from);
|
|
15442
15540
|
if (from == to) { break }
|
|
15443
15541
|
from = from.nextSibling;
|
|
15542
|
+
extraLinebreak = false;
|
|
15444
15543
|
}
|
|
15445
15544
|
return text
|
|
15446
15545
|
}
|
|
@@ -15541,13 +15640,10 @@ module.exports =
|
|
|
15541
15640
|
var this$1 = this;
|
|
15542
15641
|
|
|
15543
15642
|
var input = this, cm = this.cm;
|
|
15643
|
+
this.createField(display);
|
|
15644
|
+
var te = this.textarea;
|
|
15544
15645
|
|
|
15545
|
-
|
|
15546
|
-
var div = this.wrapper = hiddenTextarea();
|
|
15547
|
-
// The semihidden textarea that is focused when the editor is
|
|
15548
|
-
// focused, and receives input.
|
|
15549
|
-
var te = this.textarea = div.firstChild;
|
|
15550
|
-
display.wrapper.insertBefore(div, display.wrapper.firstChild);
|
|
15646
|
+
display.wrapper.insertBefore(this.wrapper, display.wrapper.firstChild);
|
|
15551
15647
|
|
|
15552
15648
|
// Needed to hide big blue blinking cursor on Mobile Safari (doesn't seem to work in iOS 8 anymore)
|
|
15553
15649
|
if (ios) { te.style.width = "0px"; }
|
|
@@ -15614,6 +15710,14 @@ module.exports =
|
|
|
15614
15710
|
});
|
|
15615
15711
|
};
|
|
15616
15712
|
|
|
15713
|
+
TextareaInput.prototype.createField = function (_display) {
|
|
15714
|
+
// Wraps and hides input textarea
|
|
15715
|
+
this.wrapper = hiddenTextarea();
|
|
15716
|
+
// The semihidden textarea that is focused when the editor is
|
|
15717
|
+
// focused, and receives input.
|
|
15718
|
+
this.textarea = this.wrapper.firstChild;
|
|
15719
|
+
};
|
|
15720
|
+
|
|
15617
15721
|
TextareaInput.prototype.prepareSelection = function () {
|
|
15618
15722
|
// Redraw the selection and/or cursor
|
|
15619
15723
|
var cm = this.cm, display = cm.display, doc = cm.doc;
|
|
@@ -16007,7 +16111,7 @@ module.exports =
|
|
|
16007
16111
|
|
|
16008
16112
|
addLegacyProps(CodeMirror$1);
|
|
16009
16113
|
|
|
16010
|
-
CodeMirror$1.version = "5.
|
|
16114
|
+
CodeMirror$1.version = "5.38.0";
|
|
16011
16115
|
|
|
16012
16116
|
return CodeMirror$1;
|
|
16013
16117
|
|
|
@@ -16015,12 +16119,30 @@ module.exports =
|
|
|
16015
16119
|
|
|
16016
16120
|
|
|
16017
16121
|
/***/ },
|
|
16018
|
-
/*
|
|
16122
|
+
/* 79 */,
|
|
16123
|
+
/* 80 */,
|
|
16124
|
+
/* 81 */,
|
|
16125
|
+
/* 82 */,
|
|
16126
|
+
/* 83 */,
|
|
16127
|
+
/* 84 */,
|
|
16128
|
+
/* 85 */,
|
|
16129
|
+
/* 86 */,
|
|
16130
|
+
/* 87 */,
|
|
16131
|
+
/* 88 */,
|
|
16132
|
+
/* 89 */,
|
|
16133
|
+
/* 90 */,
|
|
16134
|
+
/* 91 */,
|
|
16135
|
+
/* 92 */,
|
|
16136
|
+
/* 93 */,
|
|
16137
|
+
/* 94 */,
|
|
16138
|
+
/* 95 */,
|
|
16139
|
+
/* 96 */,
|
|
16140
|
+
/* 97 */
|
|
16019
16141
|
/***/ function(module, exports) {
|
|
16020
16142
|
|
|
16021
16143
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
16022
16144
|
var e, m
|
|
16023
|
-
var eLen = nBytes * 8 - mLen - 1
|
|
16145
|
+
var eLen = (nBytes * 8) - mLen - 1
|
|
16024
16146
|
var eMax = (1 << eLen) - 1
|
|
16025
16147
|
var eBias = eMax >> 1
|
|
16026
16148
|
var nBits = -7
|
|
@@ -16033,12 +16155,12 @@ module.exports =
|
|
|
16033
16155
|
e = s & ((1 << (-nBits)) - 1)
|
|
16034
16156
|
s >>= (-nBits)
|
|
16035
16157
|
nBits += eLen
|
|
16036
|
-
for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}
|
|
16158
|
+
for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
16037
16159
|
|
|
16038
16160
|
m = e & ((1 << (-nBits)) - 1)
|
|
16039
16161
|
e >>= (-nBits)
|
|
16040
16162
|
nBits += mLen
|
|
16041
|
-
for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}
|
|
16163
|
+
for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
16042
16164
|
|
|
16043
16165
|
if (e === 0) {
|
|
16044
16166
|
e = 1 - eBias
|
|
@@ -16053,7 +16175,7 @@ module.exports =
|
|
|
16053
16175
|
|
|
16054
16176
|
exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
16055
16177
|
var e, m, c
|
|
16056
|
-
var eLen = nBytes * 8 - mLen - 1
|
|
16178
|
+
var eLen = (nBytes * 8) - mLen - 1
|
|
16057
16179
|
var eMax = (1 << eLen) - 1
|
|
16058
16180
|
var eBias = eMax >> 1
|
|
16059
16181
|
var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
|
|
@@ -16086,7 +16208,7 @@ module.exports =
|
|
|
16086
16208
|
m = 0
|
|
16087
16209
|
e = eMax
|
|
16088
16210
|
} else if (e + eBias >= 1) {
|
|
16089
|
-
m = (value * c - 1) * Math.pow(2, mLen)
|
|
16211
|
+
m = ((value * c) - 1) * Math.pow(2, mLen)
|
|
16090
16212
|
e = e + eBias
|
|
16091
16213
|
} else {
|
|
16092
16214
|
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
|
|
@@ -16105,7 +16227,7 @@ module.exports =
|
|
|
16105
16227
|
|
|
16106
16228
|
|
|
16107
16229
|
/***/ },
|
|
16108
|
-
/*
|
|
16230
|
+
/* 98 */
|
|
16109
16231
|
/***/ function(module, exports) {
|
|
16110
16232
|
|
|
16111
16233
|
var toString = {}.toString;
|
|
@@ -16116,7 +16238,7 @@ module.exports =
|
|
|
16116
16238
|
|
|
16117
16239
|
|
|
16118
16240
|
/***/ },
|
|
16119
|
-
/*
|
|
16241
|
+
/* 99 */
|
|
16120
16242
|
/***/ function(module, exports) {
|
|
16121
16243
|
|
|
16122
16244
|
// shim for using process in browser
|
|
@@ -16289,6 +16411,10 @@ module.exports =
|
|
|
16289
16411
|
process.removeListener = noop;
|
|
16290
16412
|
process.removeAllListeners = noop;
|
|
16291
16413
|
process.emit = noop;
|
|
16414
|
+
process.prependListener = noop;
|
|
16415
|
+
process.prependOnceListener = noop;
|
|
16416
|
+
|
|
16417
|
+
process.listeners = function (name) { return [] }
|
|
16292
16418
|
|
|
16293
16419
|
process.binding = function (name) {
|
|
16294
16420
|
throw new Error('process.binding is not supported');
|
|
@@ -16302,7 +16428,9 @@ module.exports =
|
|
|
16302
16428
|
|
|
16303
16429
|
|
|
16304
16430
|
/***/ },
|
|
16305
|
-
/*
|
|
16431
|
+
/* 100 */,
|
|
16432
|
+
/* 101 */,
|
|
16433
|
+
/* 102 */
|
|
16306
16434
|
/***/ function(module, exports) {
|
|
16307
16435
|
|
|
16308
16436
|
/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;
|
|
@@ -16310,7 +16438,7 @@ module.exports =
|
|
|
16310
16438
|
/* WEBPACK VAR INJECTION */}.call(exports, {}))
|
|
16311
16439
|
|
|
16312
16440
|
/***/ },
|
|
16313
|
-
/*
|
|
16441
|
+
/* 103 */
|
|
16314
16442
|
/***/ function(module, exports, __webpack_require__) {
|
|
16315
16443
|
|
|
16316
16444
|
var require;var require;var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(Buffer, global) {/*
|
|
@@ -16329,7 +16457,7 @@ module.exports =
|
|
|
16329
16457
|
*/
|
|
16330
16458
|
(function(e){
|
|
16331
16459
|
if("object"==typeof exports&&"undefined"!=typeof module&&"undefined"==typeof DO_NOT_EXPORT_JSZIP)module.exports=e();
|
|
16332
|
-
else if("function"=="function"&&__webpack_require__(
|
|
16460
|
+
else if("function"=="function"&&__webpack_require__(102)&&"undefined"==typeof DO_NOT_EXPORT_JSZIP){JSZipSync=e();!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (e), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));}
|
|
16333
16461
|
else{
|
|
16334
16462
|
var f;
|
|
16335
16463
|
"undefined"!=typeof window?f=window:
|
|
@@ -25313,10 +25441,10 @@ module.exports =
|
|
|
25313
25441
|
(9)
|
|
25314
25442
|
}));
|
|
25315
25443
|
|
|
25316
|
-
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(
|
|
25444
|
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29).Buffer, (function() { return this; }())))
|
|
25317
25445
|
|
|
25318
25446
|
/***/ },
|
|
25319
|
-
/*
|
|
25447
|
+
/* 104 */
|
|
25320
25448
|
/***/ function(module, exports, __webpack_require__) {
|
|
25321
25449
|
|
|
25322
25450
|
/* WEBPACK VAR INJECTION */(function(global, Buffer, process) {/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
@@ -25325,13 +25453,13 @@ module.exports =
|
|
|
25325
25453
|
/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false */
|
|
25326
25454
|
var XLSX = {};
|
|
25327
25455
|
function make_xlsx_lib(XLSX){
|
|
25328
|
-
XLSX.version = '0.13.
|
|
25456
|
+
XLSX.version = '0.13.5';
|
|
25329
25457
|
var current_codepage = 1200, current_ansi = 1252;
|
|
25330
25458
|
/*global cptable:true, window */
|
|
25331
25459
|
if(true) {
|
|
25332
25460
|
if(typeof cptable === 'undefined') {
|
|
25333
|
-
if(typeof global !== 'undefined') global.cptable = __webpack_require__(
|
|
25334
|
-
else if(typeof window !== 'undefined') window.cptable = __webpack_require__(
|
|
25461
|
+
if(typeof global !== 'undefined') global.cptable = __webpack_require__(50);
|
|
25462
|
+
else if(typeof window !== 'undefined') window.cptable = __webpack_require__(50);
|
|
25335
25463
|
}
|
|
25336
25464
|
}
|
|
25337
25465
|
|
|
@@ -26480,7 +26608,7 @@ module.exports =
|
|
|
26480
26608
|
return (c === -1) ? p : p.slice(c+1);
|
|
26481
26609
|
}
|
|
26482
26610
|
var fs;
|
|
26483
|
-
function get_fs() { return fs || (fs = __webpack_require__(
|
|
26611
|
+
function get_fs() { return fs || (fs = __webpack_require__(52)); }
|
|
26484
26612
|
function parse(file, options) {
|
|
26485
26613
|
if(file.length < 512) throw new Error("CFB file size " + file.length + " < 512");
|
|
26486
26614
|
var mver = 3;
|
|
@@ -27168,7 +27296,7 @@ module.exports =
|
|
|
27168
27296
|
|
|
27169
27297
|
if("function" !== 'undefined' && typeof module !== 'undefined' && typeof DO_NOT_EXPORT_CFB === 'undefined') { module.exports = CFB; }
|
|
27170
27298
|
var _fs;
|
|
27171
|
-
if(true) try { _fs = __webpack_require__(
|
|
27299
|
+
if(true) try { _fs = __webpack_require__(52); } catch(e) {}
|
|
27172
27300
|
|
|
27173
27301
|
/* normalize data for blob ctor */
|
|
27174
27302
|
function blobify(data) {
|
|
@@ -27429,7 +27557,7 @@ module.exports =
|
|
|
27429
27557
|
if(typeof JSZipSync !== 'undefined') jszip = JSZipSync;
|
|
27430
27558
|
if(true) {
|
|
27431
27559
|
if(typeof module !== 'undefined' && module.exports) {
|
|
27432
|
-
if(typeof jszip === 'undefined') jszip = __webpack_require__(
|
|
27560
|
+
if(typeof jszip === 'undefined') jszip = __webpack_require__(103);
|
|
27433
27561
|
}
|
|
27434
27562
|
}
|
|
27435
27563
|
|
|
@@ -27512,7 +27640,7 @@ module.exports =
|
|
|
27512
27640
|
var htmlcharegex = /[\u0000-\u001f]/g;
|
|
27513
27641
|
function escapehtml(text){
|
|
27514
27642
|
var s = text + '';
|
|
27515
|
-
return s.replace(decregex, function(y) { return rencoding[y]; }).replace(htmlcharegex,function(s) { return "&#x" + ("000"+s.charCodeAt(0).toString(16)).slice(-4) + ";"; });
|
|
27643
|
+
return s.replace(decregex, function(y) { return rencoding[y]; }).replace(/\n/g, "<br/>").replace(htmlcharegex,function(s) { return "&#x" + ("000"+s.charCodeAt(0).toString(16)).slice(-4) + ";"; });
|
|
27516
27644
|
}
|
|
27517
27645
|
|
|
27518
27646
|
function escapexlml(text){
|
|
@@ -28050,7 +28178,7 @@ module.exports =
|
|
|
28050
28178
|
var crypto;
|
|
28051
28179
|
if(typeof _crypto !== 'undefined') crypto = _crypto;
|
|
28052
28180
|
else if(true) {
|
|
28053
|
-
try { crypto = __webpack_require__(
|
|
28181
|
+
try { crypto = __webpack_require__(106); }
|
|
28054
28182
|
catch(e) { crypto = null; }
|
|
28055
28183
|
}
|
|
28056
28184
|
|
|
@@ -39190,13 +39318,13 @@ module.exports =
|
|
|
39190
39318
|
/* 18.2.5 definedName CT_DefinedName + */
|
|
39191
39319
|
case '<definedName': {
|
|
39192
39320
|
dname = {};
|
|
39193
|
-
dname.Name = y.name;
|
|
39321
|
+
dname.Name = utf8read(y.name);
|
|
39194
39322
|
if(y.comment) dname.Comment = y.comment;
|
|
39195
39323
|
if(y.localSheetId) dname.Sheet = +y.localSheetId;
|
|
39196
39324
|
dnstart = idx + x.length;
|
|
39197
39325
|
} break;
|
|
39198
39326
|
case '</definedName>': {
|
|
39199
|
-
dname.Ref = data.slice(dnstart, idx);
|
|
39327
|
+
dname.Ref = unescapexml(utf8read(data.slice(dnstart, idx)));
|
|
39200
39328
|
wb.Names.push(dname);
|
|
39201
39329
|
} break;
|
|
39202
39330
|
case '<definedName/>': break;
|
|
@@ -40597,7 +40725,7 @@ module.exports =
|
|
|
40597
40725
|
if(!((wb||{}).Workbook||{}).Names) return "";
|
|
40598
40726
|
var names = wb.Workbook.Names;
|
|
40599
40727
|
var out = [];
|
|
40600
|
-
|
|
40728
|
+
for(var i = 0; i < names.length; ++i) {
|
|
40601
40729
|
var n = names[i];
|
|
40602
40730
|
if(n.Sheet != idx) continue;
|
|
40603
40731
|
/*switch(n.Name) {
|
|
@@ -43465,7 +43593,6 @@ module.exports =
|
|
|
43465
43593
|
function make_html_row(ws, r, R, o) {
|
|
43466
43594
|
var M = (ws['!merges'] ||[]);
|
|
43467
43595
|
var oo = [];
|
|
43468
|
-
var nullcell = "<td>" + (o.editable ? '<span contenteditable="true"></span>' : "" ) + "</td>";
|
|
43469
43596
|
for(var C = r.s.c; C <= r.e.c; ++C) {
|
|
43470
43597
|
var RS = 0, CS = 0;
|
|
43471
43598
|
for(var j = 0; j < M.length; ++j) {
|
|
@@ -43477,13 +43604,12 @@ module.exports =
|
|
|
43477
43604
|
if(RS < 0) continue;
|
|
43478
43605
|
var coord = encode_cell({r:R,c:C});
|
|
43479
43606
|
var cell = o.dense ? (ws[R]||[])[C] : ws[coord];
|
|
43480
|
-
if(!cell || cell.v == null) { oo.push(nullcell); continue; }
|
|
43481
|
-
/* TODO: html entities */
|
|
43482
|
-
var w = cell.h || escapexml(cell.w || (format_cell(cell), cell.w) || "");
|
|
43483
43607
|
var sp = {};
|
|
43484
43608
|
if(RS > 1) sp.rowspan = RS;
|
|
43485
43609
|
if(CS > 1) sp.colspan = CS;
|
|
43486
|
-
|
|
43610
|
+
/* TODO: html entities */
|
|
43611
|
+
var w = (cell && cell.v != null) && (cell.h || escapehtml(cell.w || (format_cell(cell), cell.w) || "")) || "";
|
|
43612
|
+
sp.t = cell && cell.t || 'z';
|
|
43487
43613
|
if(o.editable) w = '<span contenteditable="true">' + w + '</span>';
|
|
43488
43614
|
sp.id = "sjs-" + coord;
|
|
43489
43615
|
oo.push(writextag('td', w, sp));
|
|
@@ -43669,7 +43795,7 @@ module.exports =
|
|
|
43669
43795
|
}
|
|
43670
43796
|
if(merges.length) ws['!merges'] = merges;
|
|
43671
43797
|
if(rowinfo.length) ws["!rows"] = rowinfo;
|
|
43672
|
-
sheetag.name =
|
|
43798
|
+
sheetag.name = sheetag['名称'] || sheetag.name;
|
|
43673
43799
|
if(typeof JSON !== 'undefined') JSON.stringify(sheetag);
|
|
43674
43800
|
SheetNames.push(sheetag.name);
|
|
43675
43801
|
Sheets[sheetag.name] = ws;
|
|
@@ -45423,7 +45549,7 @@ module.exports =
|
|
|
45423
45549
|
})(utils);
|
|
45424
45550
|
|
|
45425
45551
|
if(has_buf && "function" != 'undefined') (function() {
|
|
45426
|
-
var Readable = __webpack_require__(
|
|
45552
|
+
var Readable = __webpack_require__(107).Readable;
|
|
45427
45553
|
|
|
45428
45554
|
var write_csv_stream = function(sheet, opts) {
|
|
45429
45555
|
var stream = Readable();
|
|
@@ -45568,18 +45694,18 @@ module.exports =
|
|
|
45568
45694
|
/*exported XLS, ODS */
|
|
45569
45695
|
var XLS = XLSX, ODS = XLSX;
|
|
45570
45696
|
|
|
45571
|
-
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(
|
|
45697
|
+
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(29).Buffer, __webpack_require__(99)))
|
|
45572
45698
|
|
|
45573
45699
|
/***/ },
|
|
45574
|
-
/*
|
|
45700
|
+
/* 105 */
|
|
45575
45701
|
/***/ function(module, exports) {
|
|
45576
45702
|
|
|
45577
45703
|
module.exports = require("papaparse");
|
|
45578
45704
|
|
|
45579
45705
|
/***/ },
|
|
45580
|
-
/*
|
|
45581
|
-
|
|
45582
|
-
/*
|
|
45583
|
-
|
|
45706
|
+
/* 106 */
|
|
45707
|
+
52,
|
|
45708
|
+
/* 107 */
|
|
45709
|
+
52
|
|
45584
45710
|
/******/ ])));
|
|
45585
45711
|
//# sourceMappingURL=credentialSections.js.map
|