@vue-skuilder/edit-ui 0.1.16 → 0.1.17
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/dist/edit-ui.es.js +100 -100
- package/dist/edit-ui.es.js.map +1 -1
- package/dist/edit-ui.umd.js +1 -1
- package/dist/edit-ui.umd.js.map +1 -1
- package/package.json +7 -7
package/dist/edit-ui.es.js
CHANGED
|
@@ -77,7 +77,7 @@ var hasRequiredLodash$1;
|
|
|
77
77
|
function requireLodash$1() {
|
|
78
78
|
if (hasRequiredLodash$1) return lodash$1$1.exports;
|
|
79
79
|
hasRequiredLodash$1 = 1;
|
|
80
|
-
(function(module2, exports) {
|
|
80
|
+
(function(module2, exports$1) {
|
|
81
81
|
(function() {
|
|
82
82
|
var undefined$1;
|
|
83
83
|
var VERSION = "4.17.21";
|
|
@@ -405,7 +405,7 @@ function requireLodash$1() {
|
|
|
405
405
|
var freeGlobal = typeof commonjsGlobal$1 == "object" && commonjsGlobal$1 && commonjsGlobal$1.Object === Object && commonjsGlobal$1;
|
|
406
406
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
407
407
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
408
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
408
|
+
var freeExports = exports$1 && !exports$1.nodeType && exports$1;
|
|
409
409
|
var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
|
|
410
410
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
411
411
|
var freeProcess = moduleExports && freeGlobal.process;
|
|
@@ -1964,7 +1964,7 @@ function requireLodash$1() {
|
|
|
1964
1964
|
return symbolToString ? symbolToString.call(value) : "";
|
|
1965
1965
|
}
|
|
1966
1966
|
var result2 = value + "";
|
|
1967
|
-
return result2 == "0" && 1 / value == -
|
|
1967
|
+
return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
|
|
1968
1968
|
}
|
|
1969
1969
|
function baseUniq(array, iteratee2, comparator) {
|
|
1970
1970
|
var index2 = -1, includes2 = arrayIncludes, length = array.length, isCommon = true, result2 = [], seen = result2;
|
|
@@ -3171,7 +3171,7 @@ function requireLodash$1() {
|
|
|
3171
3171
|
return value;
|
|
3172
3172
|
}
|
|
3173
3173
|
var result2 = value + "";
|
|
3174
|
-
return result2 == "0" && 1 / value == -
|
|
3174
|
+
return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
|
|
3175
3175
|
}
|
|
3176
3176
|
function toSource(func) {
|
|
3177
3177
|
if (func != null) {
|
|
@@ -4235,7 +4235,7 @@ function requireLodash$1() {
|
|
|
4235
4235
|
}
|
|
4236
4236
|
var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;
|
|
4237
4237
|
function isSafeInteger(value) {
|
|
4238
|
-
return isInteger2(value) && value >= -
|
|
4238
|
+
return isInteger2(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
|
|
4239
4239
|
}
|
|
4240
4240
|
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
|
4241
4241
|
function isString2(value) {
|
|
@@ -4276,7 +4276,7 @@ function requireLodash$1() {
|
|
|
4276
4276
|
return value === 0 ? value : 0;
|
|
4277
4277
|
}
|
|
4278
4278
|
value = toNumber(value);
|
|
4279
|
-
if (value === INFINITY || value === -
|
|
4279
|
+
if (value === INFINITY || value === -INFINITY) {
|
|
4280
4280
|
var sign2 = value < 0 ? -1 : 1;
|
|
4281
4281
|
return sign2 * MAX_INTEGER;
|
|
4282
4282
|
}
|
|
@@ -4311,7 +4311,7 @@ function requireLodash$1() {
|
|
|
4311
4311
|
return copyObject(value, keysIn(value));
|
|
4312
4312
|
}
|
|
4313
4313
|
function toSafeInteger(value) {
|
|
4314
|
-
return value ? baseClamp(toInteger(value), -
|
|
4314
|
+
return value ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) : value === 0 ? value : 0;
|
|
4315
4315
|
}
|
|
4316
4316
|
function toString2(value) {
|
|
4317
4317
|
return value == null ? "" : baseToString(value);
|
|
@@ -11241,10 +11241,10 @@ var hasRequiredAcorn;
|
|
|
11241
11241
|
function requireAcorn() {
|
|
11242
11242
|
if (hasRequiredAcorn) return acorn$1.exports;
|
|
11243
11243
|
hasRequiredAcorn = 1;
|
|
11244
|
-
(function(module2, exports) {
|
|
11244
|
+
(function(module2, exports$1) {
|
|
11245
11245
|
(function(global2, factory) {
|
|
11246
|
-
factory(exports);
|
|
11247
|
-
})(acorn, function(
|
|
11246
|
+
factory(exports$1);
|
|
11247
|
+
})(acorn, function(exports$12) {
|
|
11248
11248
|
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
11249
11249
|
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
|
|
11250
11250
|
var nonASCIIidentifierChars = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
|
|
@@ -11906,12 +11906,12 @@ function requireAcorn() {
|
|
|
11906
11906
|
};
|
|
11907
11907
|
var pp$8 = Parser.prototype;
|
|
11908
11908
|
pp$8.parseTopLevel = function(node) {
|
|
11909
|
-
var
|
|
11909
|
+
var exports$13 = /* @__PURE__ */ Object.create(null);
|
|
11910
11910
|
if (!node.body) {
|
|
11911
11911
|
node.body = [];
|
|
11912
11912
|
}
|
|
11913
11913
|
while (this.type !== types$1.eof) {
|
|
11914
|
-
var stmt = this.parseStatement(null, true,
|
|
11914
|
+
var stmt = this.parseStatement(null, true, exports$13);
|
|
11915
11915
|
node.body.push(stmt);
|
|
11916
11916
|
}
|
|
11917
11917
|
if (this.inModule) {
|
|
@@ -11966,7 +11966,7 @@ function requireAcorn() {
|
|
|
11966
11966
|
var next = this.pos + skip[0].length, after;
|
|
11967
11967
|
return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.input.charCodeAt(next + 8)) || after > 55295 && after < 56320));
|
|
11968
11968
|
};
|
|
11969
|
-
pp$8.parseStatement = function(context, topLevel,
|
|
11969
|
+
pp$8.parseStatement = function(context, topLevel, exports$13) {
|
|
11970
11970
|
var starttype = this.type, node = this.startNode(), kind;
|
|
11971
11971
|
if (this.isLet(context)) {
|
|
11972
11972
|
starttype = types$1._var;
|
|
@@ -12035,7 +12035,7 @@ function requireAcorn() {
|
|
|
12035
12035
|
this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'");
|
|
12036
12036
|
}
|
|
12037
12037
|
}
|
|
12038
|
-
return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node,
|
|
12038
|
+
return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports$13);
|
|
12039
12039
|
// If the statement does not start with a statement keyword or a
|
|
12040
12040
|
// brace, it's an ExpressionStatement or LabeledStatement. We
|
|
12041
12041
|
// simply start parsing an expression, and afterwards, if the
|
|
@@ -12678,11 +12678,11 @@ function requireAcorn() {
|
|
|
12678
12678
|
var key = node.key;
|
|
12679
12679
|
return !computed2 && (key.type === "Identifier" && key.name === name2 || key.type === "Literal" && key.value === name2);
|
|
12680
12680
|
}
|
|
12681
|
-
pp$8.parseExportAllDeclaration = function(node,
|
|
12681
|
+
pp$8.parseExportAllDeclaration = function(node, exports$13) {
|
|
12682
12682
|
if (this.options.ecmaVersion >= 11) {
|
|
12683
12683
|
if (this.eatContextual("as")) {
|
|
12684
12684
|
node.exported = this.parseModuleExportName();
|
|
12685
|
-
this.checkExport(
|
|
12685
|
+
this.checkExport(exports$13, node.exported, this.lastTokStart);
|
|
12686
12686
|
} else {
|
|
12687
12687
|
node.exported = null;
|
|
12688
12688
|
}
|
|
@@ -12698,28 +12698,28 @@ function requireAcorn() {
|
|
|
12698
12698
|
this.semicolon();
|
|
12699
12699
|
return this.finishNode(node, "ExportAllDeclaration");
|
|
12700
12700
|
};
|
|
12701
|
-
pp$8.parseExport = function(node,
|
|
12701
|
+
pp$8.parseExport = function(node, exports$13) {
|
|
12702
12702
|
this.next();
|
|
12703
12703
|
if (this.eat(types$1.star)) {
|
|
12704
|
-
return this.parseExportAllDeclaration(node,
|
|
12704
|
+
return this.parseExportAllDeclaration(node, exports$13);
|
|
12705
12705
|
}
|
|
12706
12706
|
if (this.eat(types$1._default)) {
|
|
12707
|
-
this.checkExport(
|
|
12707
|
+
this.checkExport(exports$13, "default", this.lastTokStart);
|
|
12708
12708
|
node.declaration = this.parseExportDefaultDeclaration();
|
|
12709
12709
|
return this.finishNode(node, "ExportDefaultDeclaration");
|
|
12710
12710
|
}
|
|
12711
12711
|
if (this.shouldParseExportStatement()) {
|
|
12712
12712
|
node.declaration = this.parseExportDeclaration(node);
|
|
12713
12713
|
if (node.declaration.type === "VariableDeclaration") {
|
|
12714
|
-
this.checkVariableExport(
|
|
12714
|
+
this.checkVariableExport(exports$13, node.declaration.declarations);
|
|
12715
12715
|
} else {
|
|
12716
|
-
this.checkExport(
|
|
12716
|
+
this.checkExport(exports$13, node.declaration.id, node.declaration.id.start);
|
|
12717
12717
|
}
|
|
12718
12718
|
node.specifiers = [];
|
|
12719
12719
|
node.source = null;
|
|
12720
12720
|
} else {
|
|
12721
12721
|
node.declaration = null;
|
|
12722
|
-
node.specifiers = this.parseExportSpecifiers(
|
|
12722
|
+
node.specifiers = this.parseExportSpecifiers(exports$13);
|
|
12723
12723
|
if (this.eatContextual("from")) {
|
|
12724
12724
|
if (this.type !== types$1.string) {
|
|
12725
12725
|
this.unexpected();
|
|
@@ -12764,66 +12764,66 @@ function requireAcorn() {
|
|
|
12764
12764
|
return declaration;
|
|
12765
12765
|
}
|
|
12766
12766
|
};
|
|
12767
|
-
pp$8.checkExport = function(
|
|
12768
|
-
if (!
|
|
12767
|
+
pp$8.checkExport = function(exports$13, name2, pos) {
|
|
12768
|
+
if (!exports$13) {
|
|
12769
12769
|
return;
|
|
12770
12770
|
}
|
|
12771
12771
|
if (typeof name2 !== "string") {
|
|
12772
12772
|
name2 = name2.type === "Identifier" ? name2.name : name2.value;
|
|
12773
12773
|
}
|
|
12774
|
-
if (hasOwn(
|
|
12774
|
+
if (hasOwn(exports$13, name2)) {
|
|
12775
12775
|
this.raiseRecoverable(pos, "Duplicate export '" + name2 + "'");
|
|
12776
12776
|
}
|
|
12777
|
-
|
|
12777
|
+
exports$13[name2] = true;
|
|
12778
12778
|
};
|
|
12779
|
-
pp$8.checkPatternExport = function(
|
|
12779
|
+
pp$8.checkPatternExport = function(exports$13, pat) {
|
|
12780
12780
|
var type = pat.type;
|
|
12781
12781
|
if (type === "Identifier") {
|
|
12782
|
-
this.checkExport(
|
|
12782
|
+
this.checkExport(exports$13, pat, pat.start);
|
|
12783
12783
|
} else if (type === "ObjectPattern") {
|
|
12784
12784
|
for (var i3 = 0, list2 = pat.properties; i3 < list2.length; i3 += 1) {
|
|
12785
12785
|
var prop = list2[i3];
|
|
12786
|
-
this.checkPatternExport(
|
|
12786
|
+
this.checkPatternExport(exports$13, prop);
|
|
12787
12787
|
}
|
|
12788
12788
|
} else if (type === "ArrayPattern") {
|
|
12789
12789
|
for (var i$1 = 0, list$1 = pat.elements; i$1 < list$1.length; i$1 += 1) {
|
|
12790
12790
|
var elt = list$1[i$1];
|
|
12791
12791
|
if (elt) {
|
|
12792
|
-
this.checkPatternExport(
|
|
12792
|
+
this.checkPatternExport(exports$13, elt);
|
|
12793
12793
|
}
|
|
12794
12794
|
}
|
|
12795
12795
|
} else if (type === "Property") {
|
|
12796
|
-
this.checkPatternExport(
|
|
12796
|
+
this.checkPatternExport(exports$13, pat.value);
|
|
12797
12797
|
} else if (type === "AssignmentPattern") {
|
|
12798
|
-
this.checkPatternExport(
|
|
12798
|
+
this.checkPatternExport(exports$13, pat.left);
|
|
12799
12799
|
} else if (type === "RestElement") {
|
|
12800
|
-
this.checkPatternExport(
|
|
12800
|
+
this.checkPatternExport(exports$13, pat.argument);
|
|
12801
12801
|
}
|
|
12802
12802
|
};
|
|
12803
|
-
pp$8.checkVariableExport = function(
|
|
12804
|
-
if (!
|
|
12803
|
+
pp$8.checkVariableExport = function(exports$13, decls) {
|
|
12804
|
+
if (!exports$13) {
|
|
12805
12805
|
return;
|
|
12806
12806
|
}
|
|
12807
12807
|
for (var i3 = 0, list2 = decls; i3 < list2.length; i3 += 1) {
|
|
12808
12808
|
var decl = list2[i3];
|
|
12809
|
-
this.checkPatternExport(
|
|
12809
|
+
this.checkPatternExport(exports$13, decl.id);
|
|
12810
12810
|
}
|
|
12811
12811
|
};
|
|
12812
12812
|
pp$8.shouldParseExportStatement = function() {
|
|
12813
12813
|
return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
|
|
12814
12814
|
};
|
|
12815
|
-
pp$8.parseExportSpecifier = function(
|
|
12815
|
+
pp$8.parseExportSpecifier = function(exports$13) {
|
|
12816
12816
|
var node = this.startNode();
|
|
12817
12817
|
node.local = this.parseModuleExportName();
|
|
12818
12818
|
node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local;
|
|
12819
12819
|
this.checkExport(
|
|
12820
|
-
|
|
12820
|
+
exports$13,
|
|
12821
12821
|
node.exported,
|
|
12822
12822
|
node.exported.start
|
|
12823
12823
|
);
|
|
12824
12824
|
return this.finishNode(node, "ExportSpecifier");
|
|
12825
12825
|
};
|
|
12826
|
-
pp$8.parseExportSpecifiers = function(
|
|
12826
|
+
pp$8.parseExportSpecifiers = function(exports$13) {
|
|
12827
12827
|
var nodes = [], first = true;
|
|
12828
12828
|
this.expect(types$1.braceL);
|
|
12829
12829
|
while (!this.eat(types$1.braceR)) {
|
|
@@ -12835,7 +12835,7 @@ function requireAcorn() {
|
|
|
12835
12835
|
} else {
|
|
12836
12836
|
first = false;
|
|
12837
12837
|
}
|
|
12838
|
-
nodes.push(this.parseExportSpecifier(
|
|
12838
|
+
nodes.push(this.parseExportSpecifier(exports$13));
|
|
12839
12839
|
}
|
|
12840
12840
|
return nodes;
|
|
12841
12841
|
};
|
|
@@ -16758,28 +16758,28 @@ function requireAcorn() {
|
|
|
16758
16758
|
function tokenizer(input, options) {
|
|
16759
16759
|
return Parser.tokenizer(input, options);
|
|
16760
16760
|
}
|
|
16761
|
-
|
|
16762
|
-
|
|
16763
|
-
|
|
16764
|
-
|
|
16765
|
-
|
|
16766
|
-
|
|
16767
|
-
|
|
16768
|
-
|
|
16769
|
-
|
|
16770
|
-
|
|
16771
|
-
|
|
16772
|
-
|
|
16773
|
-
|
|
16774
|
-
|
|
16775
|
-
|
|
16776
|
-
|
|
16777
|
-
|
|
16778
|
-
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
|
|
16761
|
+
exports$12.Node = Node;
|
|
16762
|
+
exports$12.Parser = Parser;
|
|
16763
|
+
exports$12.Position = Position;
|
|
16764
|
+
exports$12.SourceLocation = SourceLocation;
|
|
16765
|
+
exports$12.TokContext = TokContext;
|
|
16766
|
+
exports$12.Token = Token;
|
|
16767
|
+
exports$12.TokenType = TokenType;
|
|
16768
|
+
exports$12.defaultOptions = defaultOptions;
|
|
16769
|
+
exports$12.getLineInfo = getLineInfo;
|
|
16770
|
+
exports$12.isIdentifierChar = isIdentifierChar;
|
|
16771
|
+
exports$12.isIdentifierStart = isIdentifierStart;
|
|
16772
|
+
exports$12.isNewLine = isNewLine;
|
|
16773
|
+
exports$12.keywordTypes = keywords;
|
|
16774
|
+
exports$12.lineBreak = lineBreak;
|
|
16775
|
+
exports$12.lineBreakG = lineBreakG;
|
|
16776
|
+
exports$12.nonASCIIwhitespace = nonASCIIwhitespace;
|
|
16777
|
+
exports$12.parse = parse2;
|
|
16778
|
+
exports$12.parseExpressionAt = parseExpressionAt;
|
|
16779
|
+
exports$12.tokContexts = types;
|
|
16780
|
+
exports$12.tokTypes = types$1;
|
|
16781
|
+
exports$12.tokenizer = tokenizer;
|
|
16782
|
+
exports$12.version = version;
|
|
16783
16783
|
});
|
|
16784
16784
|
})(acorn$1, acorn$1.exports);
|
|
16785
16785
|
return acorn$1.exports;
|
|
@@ -17476,9 +17476,9 @@ function requirePaperFull() {
|
|
|
17476
17476
|
return this;
|
|
17477
17477
|
},
|
|
17478
17478
|
execute: function(code, options) {
|
|
17479
|
-
var exports = paper2.PaperScript.execute(code, this, options);
|
|
17479
|
+
var exports$1 = paper2.PaperScript.execute(code, this, options);
|
|
17480
17480
|
View.updateFocus();
|
|
17481
|
-
return exports;
|
|
17481
|
+
return exports$1;
|
|
17482
17482
|
},
|
|
17483
17483
|
install: function(scope) {
|
|
17484
17484
|
var that = this;
|
|
@@ -17783,10 +17783,10 @@ function requirePaperFull() {
|
|
|
17783
17783
|
ANGULAR_EPSILON: 1e-5,
|
|
17784
17784
|
KAPPA: 4 * (sqrt(2) - 1) / 3,
|
|
17785
17785
|
isZero: function(val) {
|
|
17786
|
-
return val >= -
|
|
17786
|
+
return val >= -EPSILON && val <= EPSILON;
|
|
17787
17787
|
},
|
|
17788
17788
|
isMachineZero: function(val) {
|
|
17789
|
-
return val >= -
|
|
17789
|
+
return val >= -MACHINE_EPSILON && val <= MACHINE_EPSILON;
|
|
17790
17790
|
},
|
|
17791
17791
|
clamp,
|
|
17792
17792
|
integrate: function(f, a, b, n) {
|
|
@@ -17832,7 +17832,7 @@ function requirePaperFull() {
|
|
|
17832
17832
|
D = getDiscriminant(a, b, c);
|
|
17833
17833
|
}
|
|
17834
17834
|
}
|
|
17835
|
-
if (D >= -
|
|
17835
|
+
if (D >= -MACHINE_EPSILON) {
|
|
17836
17836
|
var Q = D < 0 ? 0 : sqrt(D), R = b + (b < 0 ? -Q : Q);
|
|
17837
17837
|
if (R === 0) {
|
|
17838
17838
|
x1 = c / a;
|
|
@@ -25008,10 +25008,10 @@ function requirePaperFull() {
|
|
|
25008
25008
|
);
|
|
25009
25009
|
Path.inject({ statics: new function() {
|
|
25010
25010
|
var kappa = 0.5522847498307936, ellipseSegments = [
|
|
25011
|
-
new Segment([-1, 0], [0, kappa], [0, -
|
|
25012
|
-
new Segment([0, -1], [-
|
|
25013
|
-
new Segment([1, 0], [0, -
|
|
25014
|
-
new Segment([0, 1], [kappa, 0], [-
|
|
25011
|
+
new Segment([-1, 0], [0, kappa], [0, -kappa]),
|
|
25012
|
+
new Segment([0, -1], [-kappa, 0], [kappa, 0]),
|
|
25013
|
+
new Segment([1, 0], [0, -kappa], [0, kappa]),
|
|
25014
|
+
new Segment([0, 1], [kappa, 0], [-kappa, 0])
|
|
25015
25015
|
];
|
|
25016
25016
|
function createPath(segments, closed, args) {
|
|
25017
25017
|
var props = Base.getNamed(args), path = new Path(props && (props.insert == true ? Item.INSERT : props.insert == false ? Item.NO_INSERT : null));
|
|
@@ -29642,23 +29642,23 @@ function requirePaperFull() {
|
|
|
29642
29642
|
}
|
|
29643
29643
|
}
|
|
29644
29644
|
if (!acorn2) {
|
|
29645
|
-
var exports, module3;
|
|
29646
|
-
acorn2 = exports = module3 = {};
|
|
29645
|
+
var exports$1, module3;
|
|
29646
|
+
acorn2 = exports$1 = module3 = {};
|
|
29647
29647
|
(function(root, mod2) {
|
|
29648
|
-
if (typeof exports == "object" && typeof module3 == "object") return mod2(exports);
|
|
29648
|
+
if (typeof exports$1 == "object" && typeof module3 == "object") return mod2(exports$1);
|
|
29649
29649
|
if (typeof undefined$1 == "function" && undefined$1.amd) return undefined$1(["exports"], mod2);
|
|
29650
29650
|
mod2(root.acorn || (root.acorn = {}));
|
|
29651
|
-
})(this, function(
|
|
29652
|
-
|
|
29651
|
+
})(this, function(exports$12) {
|
|
29652
|
+
exports$12.version = "0.5.0";
|
|
29653
29653
|
var options, input, inputLen, sourceFile;
|
|
29654
|
-
|
|
29654
|
+
exports$12.parse = function(inpt, opts) {
|
|
29655
29655
|
input = String(inpt);
|
|
29656
29656
|
inputLen = input.length;
|
|
29657
29657
|
setOptions(opts);
|
|
29658
29658
|
initTokenState();
|
|
29659
29659
|
return parseTopLevel(options.program);
|
|
29660
29660
|
};
|
|
29661
|
-
var defaultOptions =
|
|
29661
|
+
var defaultOptions = exports$12.defaultOptions = {
|
|
29662
29662
|
ecmaVersion: 5,
|
|
29663
29663
|
strictSemicolons: false,
|
|
29664
29664
|
allowTrailingCommas: true,
|
|
@@ -29677,7 +29677,7 @@ function requirePaperFull() {
|
|
|
29677
29677
|
options[opt] = defaultOptions[opt];
|
|
29678
29678
|
sourceFile = options.sourceFile || null;
|
|
29679
29679
|
}
|
|
29680
|
-
var getLineInfo =
|
|
29680
|
+
var getLineInfo = exports$12.getLineInfo = function(input2, offset2) {
|
|
29681
29681
|
for (var line = 1, cur = 0; ; ) {
|
|
29682
29682
|
lineBreak.lastIndex = cur;
|
|
29683
29683
|
var match = lineBreak.exec(input2);
|
|
@@ -29688,7 +29688,7 @@ function requirePaperFull() {
|
|
|
29688
29688
|
}
|
|
29689
29689
|
return { line, column: offset2 - cur };
|
|
29690
29690
|
};
|
|
29691
|
-
|
|
29691
|
+
exports$12.tokenize = function(inpt, opts) {
|
|
29692
29692
|
input = String(inpt);
|
|
29693
29693
|
inputLen = input.length;
|
|
29694
29694
|
setOptions(opts);
|
|
@@ -29800,7 +29800,7 @@ function requirePaperFull() {
|
|
|
29800
29800
|
var _bitShift = { binop: 8, beforeExpr: true };
|
|
29801
29801
|
var _plusMin = { binop: 9, prefix: true, beforeExpr: true };
|
|
29802
29802
|
var _multiplyModulo = { binop: 10, beforeExpr: true };
|
|
29803
|
-
|
|
29803
|
+
exports$12.tokTypes = {
|
|
29804
29804
|
bracketL: _bracketL,
|
|
29805
29805
|
bracketR: _bracketR,
|
|
29806
29806
|
braceL: _braceL,
|
|
@@ -29820,7 +29820,7 @@ function requirePaperFull() {
|
|
|
29820
29820
|
regexp: _regexp,
|
|
29821
29821
|
string: _string
|
|
29822
29822
|
};
|
|
29823
|
-
for (var kw in keywordTypes)
|
|
29823
|
+
for (var kw in keywordTypes) exports$12.tokTypes["_" + kw] = keywordTypes[kw];
|
|
29824
29824
|
function makePredicate(words) {
|
|
29825
29825
|
words = words.split(" ");
|
|
29826
29826
|
var f = "", cats = [];
|
|
@@ -29866,14 +29866,14 @@ function requirePaperFull() {
|
|
|
29866
29866
|
var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
29867
29867
|
var newline = /[\n\r\u2028\u2029]/;
|
|
29868
29868
|
var lineBreak = /\r\n|[\n\r\u2028\u2029]/g;
|
|
29869
|
-
var isIdentifierStart =
|
|
29869
|
+
var isIdentifierStart = exports$12.isIdentifierStart = function(code) {
|
|
29870
29870
|
if (code < 65) return code === 36;
|
|
29871
29871
|
if (code < 91) return true;
|
|
29872
29872
|
if (code < 97) return code === 95;
|
|
29873
29873
|
if (code < 123) return true;
|
|
29874
29874
|
return code >= 170 && nonASCIIidentifierStart.test(String.fromCharCode(code));
|
|
29875
29875
|
};
|
|
29876
|
-
var isIdentifierChar =
|
|
29876
|
+
var isIdentifierChar = exports$12.isIdentifierChar = function(code) {
|
|
29877
29877
|
if (code < 48) return code === 36;
|
|
29878
29878
|
if (code < 58) return true;
|
|
29879
29879
|
if (code < 65) return false;
|
|
@@ -31092,12 +31092,12 @@ function requirePaperFull() {
|
|
|
31092
31092
|
}, "");
|
|
31093
31093
|
}
|
|
31094
31094
|
} else if (specifiers) {
|
|
31095
|
-
var
|
|
31095
|
+
var exports$12 = specifiers.map(function(specifier) {
|
|
31096
31096
|
var name2 = getCode(specifier);
|
|
31097
31097
|
return "module.exports." + name2 + " = " + name2 + "; ";
|
|
31098
31098
|
}).join("");
|
|
31099
|
-
if (
|
|
31100
|
-
replaceCode(node,
|
|
31099
|
+
if (exports$12) {
|
|
31100
|
+
replaceCode(node, exports$12);
|
|
31101
31101
|
}
|
|
31102
31102
|
}
|
|
31103
31103
|
break;
|
|
@@ -31203,14 +31203,14 @@ function requirePaperFull() {
|
|
|
31203
31203
|
);
|
|
31204
31204
|
expose(scope);
|
|
31205
31205
|
code = "var module = { exports: {} }; " + code;
|
|
31206
|
-
var
|
|
31206
|
+
var exports$12 = Base.each(handlers, function(key) {
|
|
31207
31207
|
if (new RegExp("\\s+" + key + "\\b").test(code)) {
|
|
31208
31208
|
params.push(key);
|
|
31209
31209
|
this.push("module.exports." + key + " = " + key + ";");
|
|
31210
31210
|
}
|
|
31211
31211
|
}, []).join("\n");
|
|
31212
|
-
if (
|
|
31213
|
-
code += "\n" +
|
|
31212
|
+
if (exports$12) {
|
|
31213
|
+
code += "\n" + exports$12;
|
|
31214
31214
|
}
|
|
31215
31215
|
code += "\nreturn module.exports;";
|
|
31216
31216
|
var agent = paper2.agent;
|
|
@@ -31228,8 +31228,8 @@ function requirePaperFull() {
|
|
|
31228
31228
|
} else {
|
|
31229
31229
|
func = Function(params, code);
|
|
31230
31230
|
}
|
|
31231
|
-
var
|
|
31232
|
-
var obj =
|
|
31231
|
+
var exports$12 = func && func.apply(scope, args);
|
|
31232
|
+
var obj = exports$12 || {};
|
|
31233
31233
|
Base.each(toolHandlers, function(key) {
|
|
31234
31234
|
var value = obj[key];
|
|
31235
31235
|
if (value)
|
|
@@ -31246,7 +31246,7 @@ function requirePaperFull() {
|
|
|
31246
31246
|
view.setOnFrame(obj.onFrame);
|
|
31247
31247
|
view.requestUpdate();
|
|
31248
31248
|
}
|
|
31249
|
-
return
|
|
31249
|
+
return exports$12;
|
|
31250
31250
|
}
|
|
31251
31251
|
function loadScript(script) {
|
|
31252
31252
|
if (/^text\/(?:x-|)paperscript$/.test(script.type) && PaperScope.getAttribute(script, "ignore") !== "true") {
|
|
@@ -62965,7 +62965,7 @@ var hasRequiredLodash;
|
|
|
62965
62965
|
function requireLodash() {
|
|
62966
62966
|
if (hasRequiredLodash) return lodash$1.exports;
|
|
62967
62967
|
hasRequiredLodash = 1;
|
|
62968
|
-
(function(module2, exports) {
|
|
62968
|
+
(function(module2, exports$1) {
|
|
62969
62969
|
(function() {
|
|
62970
62970
|
var undefined$1;
|
|
62971
62971
|
var VERSION = "4.17.21";
|
|
@@ -63293,7 +63293,7 @@ function requireLodash() {
|
|
|
63293
63293
|
var freeGlobal = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
63294
63294
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
63295
63295
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
63296
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
63296
|
+
var freeExports = exports$1 && !exports$1.nodeType && exports$1;
|
|
63297
63297
|
var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
|
|
63298
63298
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
63299
63299
|
var freeProcess = moduleExports && freeGlobal.process;
|
|
@@ -64852,7 +64852,7 @@ function requireLodash() {
|
|
|
64852
64852
|
return symbolToString ? symbolToString.call(value) : "";
|
|
64853
64853
|
}
|
|
64854
64854
|
var result2 = value + "";
|
|
64855
|
-
return result2 == "0" && 1 / value == -
|
|
64855
|
+
return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
|
|
64856
64856
|
}
|
|
64857
64857
|
function baseUniq(array, iteratee2, comparator) {
|
|
64858
64858
|
var index2 = -1, includes2 = arrayIncludes, length = array.length, isCommon = true, result2 = [], seen = result2;
|
|
@@ -66059,7 +66059,7 @@ function requireLodash() {
|
|
|
66059
66059
|
return value;
|
|
66060
66060
|
}
|
|
66061
66061
|
var result2 = value + "";
|
|
66062
|
-
return result2 == "0" && 1 / value == -
|
|
66062
|
+
return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
|
|
66063
66063
|
}
|
|
66064
66064
|
function toSource(func) {
|
|
66065
66065
|
if (func != null) {
|
|
@@ -67123,7 +67123,7 @@ function requireLodash() {
|
|
|
67123
67123
|
}
|
|
67124
67124
|
var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;
|
|
67125
67125
|
function isSafeInteger(value) {
|
|
67126
|
-
return isInteger2(value) && value >= -
|
|
67126
|
+
return isInteger2(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
|
|
67127
67127
|
}
|
|
67128
67128
|
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
|
67129
67129
|
function isString2(value) {
|
|
@@ -67164,7 +67164,7 @@ function requireLodash() {
|
|
|
67164
67164
|
return value === 0 ? value : 0;
|
|
67165
67165
|
}
|
|
67166
67166
|
value = toNumber(value);
|
|
67167
|
-
if (value === INFINITY || value === -
|
|
67167
|
+
if (value === INFINITY || value === -INFINITY) {
|
|
67168
67168
|
var sign2 = value < 0 ? -1 : 1;
|
|
67169
67169
|
return sign2 * MAX_INTEGER;
|
|
67170
67170
|
}
|
|
@@ -67199,7 +67199,7 @@ function requireLodash() {
|
|
|
67199
67199
|
return copyObject(value, keysIn(value));
|
|
67200
67200
|
}
|
|
67201
67201
|
function toSafeInteger(value) {
|
|
67202
|
-
return value ? baseClamp(toInteger(value), -
|
|
67202
|
+
return value ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) : value === 0 ? value : 0;
|
|
67203
67203
|
}
|
|
67204
67204
|
function toString2(value) {
|
|
67205
67205
|
return value == null ? "" : baseToString(value);
|