- Update: Underscore copy; build files per Rollup/Babel updates
- npm: Update devDeps (babel, cypress, linting, mocha, rollup related)master
parent
623a8a715a
commit
231fdb2189
|
@ -441,9 +441,7 @@ var canvg = (function (exports) {
|
|||
* A class to parse color values.
|
||||
*/
|
||||
|
||||
var RGBColor =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var RGBColor = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string} colorString
|
||||
*/
|
||||
|
@ -1122,9 +1120,7 @@ var canvg = (function (exports) {
|
|||
mathematical: 'alphabetic'
|
||||
};
|
||||
|
||||
svg.Property =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Property = /*#__PURE__*/function () {
|
||||
function Property(name, value) {
|
||||
_classCallCheck(this, Property);
|
||||
|
||||
|
@ -1379,9 +1375,7 @@ var canvg = (function (exports) {
|
|||
});
|
||||
};
|
||||
|
||||
svg.Point =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Point = /*#__PURE__*/function () {
|
||||
function _class(x, y) {
|
||||
_classCallCheck(this, _class);
|
||||
|
||||
|
@ -1424,9 +1418,7 @@ var canvg = (function (exports) {
|
|||
}; // bounding box
|
||||
|
||||
|
||||
svg.BoundingBox =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.BoundingBox = /*#__PURE__*/function () {
|
||||
function _class2(x1, y1, x2, y2) {
|
||||
_classCallCheck(this, _class2);
|
||||
|
||||
|
@ -1579,9 +1571,7 @@ var canvg = (function (exports) {
|
|||
}(); // transforms
|
||||
|
||||
|
||||
svg.Transform =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Transform = /*#__PURE__*/function () {
|
||||
function _class3(v) {
|
||||
var _this6 = this;
|
||||
|
||||
|
@ -1665,9 +1655,7 @@ var canvg = (function (exports) {
|
|||
}
|
||||
};
|
||||
Object.assign(this.Type, {
|
||||
SkewBase:
|
||||
/*#__PURE__*/
|
||||
function (_this$Type$matrix) {
|
||||
SkewBase: /*#__PURE__*/function (_this$Type$matrix) {
|
||||
_inherits(SkewBase, _this$Type$matrix);
|
||||
|
||||
function SkewBase(s) {
|
||||
|
@ -1684,9 +1672,7 @@ var canvg = (function (exports) {
|
|||
}(this.Type.matrix)
|
||||
});
|
||||
Object.assign(this.Type, {
|
||||
skewX:
|
||||
/*#__PURE__*/
|
||||
function (_this$Type$SkewBase) {
|
||||
skewX: /*#__PURE__*/function (_this$Type$SkewBase) {
|
||||
_inherits(skewX, _this$Type$SkewBase);
|
||||
|
||||
function skewX(s) {
|
||||
|
@ -1701,9 +1687,7 @@ var canvg = (function (exports) {
|
|||
|
||||
return skewX;
|
||||
}(this.Type.SkewBase),
|
||||
skewY:
|
||||
/*#__PURE__*/
|
||||
function (_this$Type$SkewBase2) {
|
||||
skewY: /*#__PURE__*/function (_this$Type$SkewBase2) {
|
||||
_inherits(skewY, _this$Type$SkewBase2);
|
||||
|
||||
function skewY(s) {
|
||||
|
@ -1802,9 +1786,7 @@ var canvg = (function (exports) {
|
|||
svg.Element = {};
|
||||
svg.EmptyProperty = new svg.Property('EMPTY', '');
|
||||
|
||||
svg.Element.ElementBase =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Element.ElementBase = /*#__PURE__*/function () {
|
||||
function _class4(node) {
|
||||
var _this7 = this;
|
||||
|
||||
|
@ -2044,9 +2026,7 @@ var canvg = (function (exports) {
|
|||
return _class4;
|
||||
}();
|
||||
|
||||
svg.Element.RenderedElementBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB) {
|
||||
svg.Element.RenderedElementBase = /*#__PURE__*/function (_svg$Element$ElementB) {
|
||||
_inherits(_class5, _svg$Element$ElementB);
|
||||
|
||||
function _class5() {
|
||||
|
@ -2151,9 +2131,7 @@ var canvg = (function (exports) {
|
|||
return _class5;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.PathElementBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered) {
|
||||
svg.Element.PathElementBase = /*#__PURE__*/function (_svg$Element$Rendered) {
|
||||
_inherits(_class6, _svg$Element$Rendered);
|
||||
|
||||
function _class6() {
|
||||
|
@ -2222,9 +2200,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.RenderedElementBase); // svg element
|
||||
|
||||
|
||||
svg.Element.svg =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered2) {
|
||||
svg.Element.svg = /*#__PURE__*/function (_svg$Element$Rendered2) {
|
||||
_inherits(_class7, _svg$Element$Rendered2);
|
||||
|
||||
function _class7() {
|
||||
|
@ -2305,9 +2281,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.RenderedElementBase); // rect element
|
||||
|
||||
|
||||
svg.Element.rect =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem) {
|
||||
svg.Element.rect = /*#__PURE__*/function (_svg$Element$PathElem) {
|
||||
_inherits(_class8, _svg$Element$PathElem);
|
||||
|
||||
function _class8() {
|
||||
|
@ -2352,9 +2326,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.PathElementBase); // circle element
|
||||
|
||||
|
||||
svg.Element.circle =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem2) {
|
||||
svg.Element.circle = /*#__PURE__*/function (_svg$Element$PathElem2) {
|
||||
_inherits(_class9, _svg$Element$PathElem2);
|
||||
|
||||
function _class9() {
|
||||
|
@ -2386,9 +2358,7 @@ var canvg = (function (exports) {
|
|||
|
||||
var KAPPA = 4 * ((Math.sqrt(2) - 1) / 3);
|
||||
|
||||
svg.Element.ellipse =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem3) {
|
||||
svg.Element.ellipse = /*#__PURE__*/function (_svg$Element$PathElem3) {
|
||||
_inherits(_class10, _svg$Element$PathElem3);
|
||||
|
||||
function _class10() {
|
||||
|
@ -2423,9 +2393,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.PathElementBase); // line element
|
||||
|
||||
|
||||
svg.Element.line =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem4) {
|
||||
svg.Element.line = /*#__PURE__*/function (_svg$Element$PathElem4) {
|
||||
_inherits(_class11, _svg$Element$PathElem4);
|
||||
|
||||
function _class11() {
|
||||
|
@ -2465,9 +2433,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.PathElementBase); // polyline element
|
||||
|
||||
|
||||
svg.Element.polyline =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem5) {
|
||||
svg.Element.polyline = /*#__PURE__*/function (_svg$Element$PathElem5) {
|
||||
_inherits(_class12, _svg$Element$PathElem5);
|
||||
|
||||
function _class12(node) {
|
||||
|
@ -2521,9 +2487,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.PathElementBase); // polygon element
|
||||
|
||||
|
||||
svg.Element.polygon =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$polyline) {
|
||||
svg.Element.polygon = /*#__PURE__*/function (_svg$Element$polyline) {
|
||||
_inherits(_class13, _svg$Element$polyline);
|
||||
|
||||
function _class13() {
|
||||
|
@ -2550,9 +2514,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.polyline); // path element
|
||||
|
||||
|
||||
svg.Element.path =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem6) {
|
||||
svg.Element.path = /*#__PURE__*/function (_svg$Element$PathElem6) {
|
||||
_inherits(_class14, _svg$Element$PathElem6);
|
||||
|
||||
function _class14(node) {
|
||||
|
@ -2929,9 +2891,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.PathElementBase); // pattern element
|
||||
|
||||
|
||||
svg.Element.pattern =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB2) {
|
||||
svg.Element.pattern = /*#__PURE__*/function (_svg$Element$ElementB2) {
|
||||
_inherits(_class15, _svg$Element$ElementB2);
|
||||
|
||||
function _class15() {
|
||||
|
@ -2980,9 +2940,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // marker element
|
||||
|
||||
|
||||
svg.Element.marker =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB3) {
|
||||
svg.Element.marker = /*#__PURE__*/function (_svg$Element$ElementB3) {
|
||||
_inherits(_class16, _svg$Element$ElementB3);
|
||||
|
||||
function _class16() {
|
||||
|
@ -3020,9 +2978,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // definitions element
|
||||
|
||||
|
||||
svg.Element.defs =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB4) {
|
||||
svg.Element.defs = /*#__PURE__*/function (_svg$Element$ElementB4) {
|
||||
_inherits(_class17, _svg$Element$ElementB4);
|
||||
|
||||
function _class17() {
|
||||
|
@ -3041,9 +2997,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // base for gradients
|
||||
|
||||
|
||||
svg.Element.GradientBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB5) {
|
||||
svg.Element.GradientBase = /*#__PURE__*/function (_svg$Element$ElementB5) {
|
||||
_inherits(_class18, _svg$Element$ElementB5);
|
||||
|
||||
function _class18(node) {
|
||||
|
@ -3124,9 +3078,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // linear gradient element
|
||||
|
||||
|
||||
svg.Element.linearGradient =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Gradient) {
|
||||
svg.Element.linearGradient = /*#__PURE__*/function (_svg$Element$Gradient) {
|
||||
_inherits(_class19, _svg$Element$Gradient);
|
||||
|
||||
function _class19() {
|
||||
|
@ -3161,9 +3113,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.GradientBase); // radial gradient element
|
||||
|
||||
|
||||
svg.Element.radialGradient =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Gradient2) {
|
||||
svg.Element.radialGradient = /*#__PURE__*/function (_svg$Element$Gradient2) {
|
||||
_inherits(_class20, _svg$Element$Gradient2);
|
||||
|
||||
function _class20() {
|
||||
|
@ -3202,9 +3152,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.GradientBase); // gradient stop element
|
||||
|
||||
|
||||
svg.Element.stop =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB6) {
|
||||
svg.Element.stop = /*#__PURE__*/function (_svg$Element$ElementB6) {
|
||||
_inherits(_class21, _svg$Element$ElementB6);
|
||||
|
||||
function _class21(node) {
|
||||
|
@ -3231,9 +3179,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // animation base element
|
||||
|
||||
|
||||
svg.Element.AnimateBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB7) {
|
||||
svg.Element.AnimateBase = /*#__PURE__*/function (_svg$Element$ElementB7) {
|
||||
_inherits(_class22, _svg$Element$ElementB7);
|
||||
|
||||
function _class22(node) {
|
||||
|
@ -3348,9 +3294,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // animate element
|
||||
|
||||
|
||||
svg.Element.animate =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$AnimateB) {
|
||||
svg.Element.animate = /*#__PURE__*/function (_svg$Element$AnimateB) {
|
||||
_inherits(_class23, _svg$Element$AnimateB);
|
||||
|
||||
function _class23() {
|
||||
|
@ -3373,9 +3317,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.AnimateBase); // animate color element
|
||||
|
||||
|
||||
svg.Element.animateColor =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$AnimateB2) {
|
||||
svg.Element.animateColor = /*#__PURE__*/function (_svg$Element$AnimateB2) {
|
||||
_inherits(_class24, _svg$Element$AnimateB2);
|
||||
|
||||
function _class24() {
|
||||
|
@ -3407,9 +3349,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.AnimateBase); // animate transform element
|
||||
|
||||
|
||||
svg.Element.animateTransform =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$animate) {
|
||||
svg.Element.animateTransform = /*#__PURE__*/function (_svg$Element$animate) {
|
||||
_inherits(_class25, _svg$Element$animate);
|
||||
|
||||
function _class25() {
|
||||
|
@ -3437,9 +3377,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.animate); // font element
|
||||
|
||||
|
||||
svg.Element.font =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB8) {
|
||||
svg.Element.font = /*#__PURE__*/function (_svg$Element$ElementB8) {
|
||||
_inherits(_class26, _svg$Element$ElementB8);
|
||||
|
||||
function _class26(node) {
|
||||
|
@ -3487,9 +3425,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // font-face element
|
||||
|
||||
|
||||
svg.Element.fontface =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB9) {
|
||||
svg.Element.fontface = /*#__PURE__*/function (_svg$Element$ElementB9) {
|
||||
_inherits(_class27, _svg$Element$ElementB9);
|
||||
|
||||
function _class27(node) {
|
||||
|
@ -3508,9 +3444,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // missing-glyph element
|
||||
|
||||
|
||||
svg.Element.missingglyph =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$path) {
|
||||
svg.Element.missingglyph = /*#__PURE__*/function (_svg$Element$path) {
|
||||
_inherits(_class28, _svg$Element$path);
|
||||
|
||||
function _class28(node) {
|
||||
|
@ -3527,9 +3461,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.path); // glyph element
|
||||
|
||||
|
||||
svg.Element.glyph =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$path2) {
|
||||
svg.Element.glyph = /*#__PURE__*/function (_svg$Element$path2) {
|
||||
_inherits(_class29, _svg$Element$path2);
|
||||
|
||||
function _class29(node) {
|
||||
|
@ -3548,9 +3480,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.path); // text element
|
||||
|
||||
|
||||
svg.Element.text =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered3) {
|
||||
svg.Element.text = /*#__PURE__*/function (_svg$Element$Rendered3) {
|
||||
_inherits(_class30, _svg$Element$Rendered3);
|
||||
|
||||
function _class30(node) {
|
||||
|
@ -3646,9 +3576,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.RenderedElementBase); // text base
|
||||
|
||||
|
||||
svg.Element.TextElementBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered4) {
|
||||
svg.Element.TextElementBase = /*#__PURE__*/function (_svg$Element$Rendered4) {
|
||||
_inherits(_class31, _svg$Element$Rendered4);
|
||||
|
||||
function _class31() {
|
||||
|
@ -3772,9 +3700,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.RenderedElementBase); // tspan
|
||||
|
||||
|
||||
svg.Element.tspan =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$TextElem) {
|
||||
svg.Element.tspan = /*#__PURE__*/function (_svg$Element$TextElem) {
|
||||
_inherits(_class32, _svg$Element$TextElem);
|
||||
|
||||
function _class32(node) {
|
||||
|
@ -3798,9 +3724,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.TextElementBase); // tref
|
||||
|
||||
|
||||
svg.Element.tref =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$TextElem2) {
|
||||
svg.Element.tref = /*#__PURE__*/function (_svg$Element$TextElem2) {
|
||||
_inherits(_class33, _svg$Element$TextElem2);
|
||||
|
||||
function _class33() {
|
||||
|
@ -3822,9 +3746,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.TextElementBase); // a element
|
||||
|
||||
|
||||
svg.Element.a =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$TextElem3) {
|
||||
svg.Element.a = /*#__PURE__*/function (_svg$Element$TextElem3) {
|
||||
_inherits(_class34, _svg$Element$TextElem3);
|
||||
|
||||
function _class34(node) {
|
||||
|
@ -3884,9 +3806,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.TextElementBase); // image element
|
||||
|
||||
|
||||
svg.Element.image =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered5) {
|
||||
svg.Element.image = /*#__PURE__*/function (_svg$Element$Rendered5) {
|
||||
_inherits(_class35, _svg$Element$Rendered5);
|
||||
|
||||
function _class35(node) {
|
||||
|
@ -3973,9 +3893,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.RenderedElementBase); // group element
|
||||
|
||||
|
||||
svg.Element.g =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered6) {
|
||||
svg.Element.g = /*#__PURE__*/function (_svg$Element$Rendered6) {
|
||||
_inherits(_class36, _svg$Element$Rendered6);
|
||||
|
||||
function _class36() {
|
||||
|
@ -3999,9 +3917,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.RenderedElementBase); // symbol element
|
||||
|
||||
|
||||
svg.Element.symbol =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered7) {
|
||||
svg.Element.symbol = /*#__PURE__*/function (_svg$Element$Rendered7) {
|
||||
_inherits(_class37, _svg$Element$Rendered7);
|
||||
|
||||
function _class37() {
|
||||
|
@ -4020,9 +3936,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.RenderedElementBase); // style element
|
||||
|
||||
|
||||
svg.Element.style =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB10) {
|
||||
svg.Element.style = /*#__PURE__*/function (_svg$Element$ElementB10) {
|
||||
_inherits(_class38, _svg$Element$ElementB10);
|
||||
|
||||
function _class38(node) {
|
||||
|
@ -4100,9 +4014,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // use element
|
||||
|
||||
|
||||
svg.Element.use =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered8) {
|
||||
svg.Element.use = /*#__PURE__*/function (_svg$Element$Rendered8) {
|
||||
_inherits(_class39, _svg$Element$Rendered8);
|
||||
|
||||
function _class39(node) {
|
||||
|
@ -4172,9 +4084,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.RenderedElementBase); // mask element
|
||||
|
||||
|
||||
svg.Element.mask =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB11) {
|
||||
svg.Element.mask = /*#__PURE__*/function (_svg$Element$ElementB11) {
|
||||
_inherits(_class40, _svg$Element$ElementB11);
|
||||
|
||||
function _class40() {
|
||||
|
@ -4234,9 +4144,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // clip element
|
||||
|
||||
|
||||
svg.Element.clipPath =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB12) {
|
||||
svg.Element.clipPath = /*#__PURE__*/function (_svg$Element$ElementB12) {
|
||||
_inherits(_class41, _svg$Element$ElementB12);
|
||||
|
||||
function _class41() {
|
||||
|
@ -4276,9 +4184,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // filters
|
||||
|
||||
|
||||
svg.Element.filter =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB13) {
|
||||
svg.Element.filter = /*#__PURE__*/function (_svg$Element$ElementB13) {
|
||||
_inherits(_class42, _svg$Element$ElementB13);
|
||||
|
||||
function _class42() {
|
||||
|
@ -4330,9 +4236,7 @@ var canvg = (function (exports) {
|
|||
return _class42;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.feMorphology =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB14) {
|
||||
svg.Element.feMorphology = /*#__PURE__*/function (_svg$Element$ElementB14) {
|
||||
_inherits(_class43, _svg$Element$ElementB14);
|
||||
|
||||
function _class43() {
|
||||
|
@ -4350,9 +4254,7 @@ var canvg = (function (exports) {
|
|||
return _class43;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.feComposite =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB15) {
|
||||
svg.Element.feComposite = /*#__PURE__*/function (_svg$Element$ElementB15) {
|
||||
_inherits(_class44, _svg$Element$ElementB15);
|
||||
|
||||
function _class44() {
|
||||
|
@ -4399,9 +4301,7 @@ var canvg = (function (exports) {
|
|||
img[y * width * 4 + x * 4 + rgba] = val;
|
||||
}
|
||||
|
||||
svg.Element.feColorMatrix =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB16) {
|
||||
svg.Element.feColorMatrix = /*#__PURE__*/function (_svg$Element$ElementB16) {
|
||||
_inherits(_class45, _svg$Element$ElementB16);
|
||||
|
||||
function _class45(node) {
|
||||
|
@ -4476,9 +4376,7 @@ var canvg = (function (exports) {
|
|||
return _class45;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.feGaussianBlur =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB17) {
|
||||
svg.Element.feGaussianBlur = /*#__PURE__*/function (_svg$Element$ElementB17) {
|
||||
_inherits(_class46, _svg$Element$ElementB17);
|
||||
|
||||
function _class46(node) {
|
||||
|
@ -4509,9 +4407,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // title element, do nothing
|
||||
|
||||
|
||||
svg.Element.title =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB18) {
|
||||
svg.Element.title = /*#__PURE__*/function (_svg$Element$ElementB18) {
|
||||
_inherits(_class47, _svg$Element$ElementB18);
|
||||
|
||||
function _class47(node) {
|
||||
|
@ -4524,9 +4420,7 @@ var canvg = (function (exports) {
|
|||
}(svg.Element.ElementBase); // desc element, do nothing
|
||||
|
||||
|
||||
svg.Element.desc =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB19) {
|
||||
svg.Element.desc = /*#__PURE__*/function (_svg$Element$ElementB19) {
|
||||
_inherits(_class48, _svg$Element$ElementB19);
|
||||
|
||||
function _class48(node) {
|
||||
|
@ -4538,9 +4432,7 @@ var canvg = (function (exports) {
|
|||
return _class48;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.MISSING =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB20) {
|
||||
svg.Element.MISSING = /*#__PURE__*/function (_svg$Element$ElementB20) {
|
||||
_inherits(_class49, _svg$Element$ElementB20);
|
||||
|
||||
function _class49(node) {
|
||||
|
@ -4574,12 +4466,8 @@ var canvg = (function (exports) {
|
|||
}; // load from url
|
||||
|
||||
|
||||
svg.load =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref12 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(ctx, url) {
|
||||
svg.load = /*#__PURE__*/function () {
|
||||
var _ref12 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ctx, url) {
|
||||
var dom;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -50,9 +50,7 @@ var svgEditorExtension_arrows = (function () {
|
|||
init: function init(S) {
|
||||
var _this = this;
|
||||
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
var strings, svgEditor, svgCanvas, addElem, nonce, $, prefix, selElems, arrowprefix, randomizeIds, setArrowNonce, unsetArrowNonce, pathdata, getLinked, showPanel, resetMarker, addMarker, setArrow, colorChanged, contextTools;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -329,9 +327,7 @@ var svgEditorExtension_arrows = (function () {
|
|||
addLangData: function addLangData(_ref) {
|
||||
var lang = _ref.lang,
|
||||
importLocale = _ref.importLocale;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var _ref2, langList;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
|
|
|
@ -54,9 +54,7 @@ var svgEditorExtension_closepath = (function () {
|
|||
|
||||
var importLocale = _ref.importLocale,
|
||||
$ = _ref.$;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var strings, svgEditor, selElems, updateButton, showPanel, toggleClosed, buttons;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -52,9 +52,7 @@ var svgEditorExtension_connector = (function () {
|
|||
init: function init(S) {
|
||||
var _this = this;
|
||||
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var svgEditor, svgCanvas, getElem, $, svgroot, importLocale, addElem, selManager, connSel, elData, strings, startX, startY, curLine, startElem, endElem, seNs, svgcontent, started, connections, selElems, getBBintersect, getOffset, showPanel, setPoint, updateLine, findConnectors, updateConnectors, init, buttons;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -50,9 +50,7 @@ var svgEditorExtension_eyedropper = (function () {
|
|||
init: function init(S) {
|
||||
var _this = this;
|
||||
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var strings, svgEditor, $, ChangeElementCommand, svgCanvas, addToHistory, currentStyle, getStyle, buttons;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -50,9 +50,7 @@ var svgEditorExtension_foreignobject = (function () {
|
|||
init: function init(S) {
|
||||
var _this = this;
|
||||
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
var svgEditor, $, text2xml, NS, importLocale, svgCanvas, svgdoc, strings, properlySourceSizeTextArea, showPanel, toggleSourceButtons, selElems, started, newFO, editingforeign, setForeignString, showForeignEditor, setAttr, buttons, contextTools;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -220,11 +218,7 @@ var svgEditorExtension_foreignobject = (function () {
|
|||
// Create source save/cancel buttons
|
||||
|
||||
/* const save = */
|
||||
$('#tool_source_save').clone().hide().attr('id', 'foreign_save').unbind().appendTo('#tool_source_back').click(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
$('#tool_source_save').clone().hide().attr('id', 'foreign_save').unbind().appendTo('#tool_source_back').click( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var ok;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -54,9 +54,7 @@ var svgEditorExtension_grid = (function () {
|
|||
NS = _ref.NS,
|
||||
getTypeMap = _ref.getTypeMap,
|
||||
importLocale = _ref.importLocale;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var strings, svgEditor, svgCanvas, svgdoc, assignAttributes, hcanvas, canvBG, units, intervals, showGrid, canvasGrid, gridDefs, gridPattern, gridimg, gridBox, updateGrid, gridUpdate, buttons;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -100,9 +100,7 @@ var svgEditorExtension_helloworld = (function () {
|
|||
|
||||
var $ = _ref.$,
|
||||
importLocale = _ref.importLocale;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var strings, svgEditor, svgCanvas;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -70,9 +70,7 @@ var svgEditorExtension_imagelib = (function () {
|
|||
decode64 = _ref.decode64,
|
||||
importLocale = _ref.importLocale,
|
||||
dropXMLInternalSubset = _ref.dropXMLInternalSubset;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
var imagelibStrings, modularVersion, svgEditor, uiStrings, svgCanvas, extIconsPath, allowedImageLibOrigins, closeBrowser, importImage, pending, mode, multiArr, transferStopped, preview, submit, onMessage, _onMessage, toggleMulti, showBrowser, buttons;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
|
@ -194,9 +192,7 @@ var svgEditorExtension_imagelib = (function () {
|
|||
};
|
||||
|
||||
_onMessage = function _ref9() {
|
||||
_onMessage = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(_ref5) {
|
||||
_onMessage = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(_ref5) {
|
||||
var origin, response, id, type, hasName, hasHref, char1, secondpos, entry, curMeta, svgStr, imgStr, name, message, pre, src, title, xml, ok;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -72,9 +72,7 @@ var svgEditorExtension_markers = (function () {
|
|||
init: function init(S) {
|
||||
var _this = this;
|
||||
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
||||
var strings, svgEditor, $, svgCanvas, addElem, mtypes, markerPrefix, idPrefix, markerTypes, getLinked, setIcon, selElems, showPanel, addMarker, convertline, setMarker, colorChanged, updateReferences, triggerTextEntry, showTextPrompt, _showTextPrompt, setArrowFromButton, _setArrowFromButton, getTitle, buildButtonList, contextTools;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
|
@ -141,9 +139,7 @@ var svgEditorExtension_markers = (function () {
|
|||
};
|
||||
|
||||
_setArrowFromButton = function _ref14() {
|
||||
_setArrowFromButton = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(ev) {
|
||||
_setArrowFromButton = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(ev) {
|
||||
var parts, pos, val;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -185,9 +181,7 @@ var svgEditorExtension_markers = (function () {
|
|||
};
|
||||
|
||||
_showTextPrompt = function _ref12() {
|
||||
_showTextPrompt = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(pos) {
|
||||
_showTextPrompt = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(pos) {
|
||||
var def, txt;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -108,9 +108,7 @@ var svgEditorExtension_mathjax = (function () {
|
|||
|
||||
var $ = _ref.$,
|
||||
importLocale = _ref.importLocale;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
var strings, svgEditor, svgCanvas, mathjaxSrcSecure, uiStrings, math, locationX, locationY, mathjaxLoaded, saveMath, buttons;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -226,9 +224,7 @@ var svgEditorExtension_mathjax = (function () {
|
|||
icon: svgEditor.curConfig.extIconsPath + 'mathjax.png',
|
||||
events: {
|
||||
click: function click() {
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
|
|
|
@ -55,9 +55,7 @@ var svgEditorExtension_panning = (function () {
|
|||
var _this = this;
|
||||
|
||||
var importLocale = _ref.importLocale;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var strings, svgEditor, svgCanvas, buttons;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -91,9 +91,7 @@ var svgEditorExtension_placemark = (function () {
|
|||
init: function init(S) {
|
||||
var _this = this;
|
||||
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var svgEditor, svgCanvas, addElem, $, importLocale, selElems, started, newPM, strings, markerTypes, showPanel, getLinked, updateText, updateFont, addMarker, setMarker, colorChanged, updateReferences, setArrowFromButton, getTitle, addMarkerButtons, buttons, contextTools;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -49,9 +49,7 @@ var svgEditorExtension_polygon = (function () {
|
|||
init: function init(S) {
|
||||
var _this = this;
|
||||
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var svgEditor, svgCanvas, $, importLocale, editingitex, strings, selElems, started, newFO, showPanel, setAttr, cot, sec, buttons, contextTools;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -441,9 +441,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
* A class to parse color values.
|
||||
*/
|
||||
|
||||
var RGBColor =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var RGBColor = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string} colorString
|
||||
*/
|
||||
|
@ -1122,9 +1120,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
mathematical: 'alphabetic'
|
||||
};
|
||||
|
||||
svg.Property =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Property = /*#__PURE__*/function () {
|
||||
function Property(name, value) {
|
||||
_classCallCheck(this, Property);
|
||||
|
||||
|
@ -1379,9 +1375,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
});
|
||||
};
|
||||
|
||||
svg.Point =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Point = /*#__PURE__*/function () {
|
||||
function _class(x, y) {
|
||||
_classCallCheck(this, _class);
|
||||
|
||||
|
@ -1424,9 +1418,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}; // bounding box
|
||||
|
||||
|
||||
svg.BoundingBox =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.BoundingBox = /*#__PURE__*/function () {
|
||||
function _class2(x1, y1, x2, y2) {
|
||||
_classCallCheck(this, _class2);
|
||||
|
||||
|
@ -1579,9 +1571,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(); // transforms
|
||||
|
||||
|
||||
svg.Transform =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Transform = /*#__PURE__*/function () {
|
||||
function _class3(v) {
|
||||
var _this6 = this;
|
||||
|
||||
|
@ -1665,9 +1655,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}
|
||||
};
|
||||
Object.assign(this.Type, {
|
||||
SkewBase:
|
||||
/*#__PURE__*/
|
||||
function (_this$Type$matrix) {
|
||||
SkewBase: /*#__PURE__*/function (_this$Type$matrix) {
|
||||
_inherits(SkewBase, _this$Type$matrix);
|
||||
|
||||
function SkewBase(s) {
|
||||
|
@ -1684,9 +1672,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(this.Type.matrix)
|
||||
});
|
||||
Object.assign(this.Type, {
|
||||
skewX:
|
||||
/*#__PURE__*/
|
||||
function (_this$Type$SkewBase) {
|
||||
skewX: /*#__PURE__*/function (_this$Type$SkewBase) {
|
||||
_inherits(skewX, _this$Type$SkewBase);
|
||||
|
||||
function skewX(s) {
|
||||
|
@ -1701,9 +1687,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
|
||||
return skewX;
|
||||
}(this.Type.SkewBase),
|
||||
skewY:
|
||||
/*#__PURE__*/
|
||||
function (_this$Type$SkewBase2) {
|
||||
skewY: /*#__PURE__*/function (_this$Type$SkewBase2) {
|
||||
_inherits(skewY, _this$Type$SkewBase2);
|
||||
|
||||
function skewY(s) {
|
||||
|
@ -1802,9 +1786,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
svg.Element = {};
|
||||
svg.EmptyProperty = new svg.Property('EMPTY', '');
|
||||
|
||||
svg.Element.ElementBase =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Element.ElementBase = /*#__PURE__*/function () {
|
||||
function _class4(node) {
|
||||
var _this7 = this;
|
||||
|
||||
|
@ -2044,9 +2026,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
return _class4;
|
||||
}();
|
||||
|
||||
svg.Element.RenderedElementBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB) {
|
||||
svg.Element.RenderedElementBase = /*#__PURE__*/function (_svg$Element$ElementB) {
|
||||
_inherits(_class5, _svg$Element$ElementB);
|
||||
|
||||
function _class5() {
|
||||
|
@ -2151,9 +2131,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
return _class5;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.PathElementBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered) {
|
||||
svg.Element.PathElementBase = /*#__PURE__*/function (_svg$Element$Rendered) {
|
||||
_inherits(_class6, _svg$Element$Rendered);
|
||||
|
||||
function _class6() {
|
||||
|
@ -2222,9 +2200,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // svg element
|
||||
|
||||
|
||||
svg.Element.svg =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered2) {
|
||||
svg.Element.svg = /*#__PURE__*/function (_svg$Element$Rendered2) {
|
||||
_inherits(_class7, _svg$Element$Rendered2);
|
||||
|
||||
function _class7() {
|
||||
|
@ -2305,9 +2281,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // rect element
|
||||
|
||||
|
||||
svg.Element.rect =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem) {
|
||||
svg.Element.rect = /*#__PURE__*/function (_svg$Element$PathElem) {
|
||||
_inherits(_class8, _svg$Element$PathElem);
|
||||
|
||||
function _class8() {
|
||||
|
@ -2352,9 +2326,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.PathElementBase); // circle element
|
||||
|
||||
|
||||
svg.Element.circle =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem2) {
|
||||
svg.Element.circle = /*#__PURE__*/function (_svg$Element$PathElem2) {
|
||||
_inherits(_class9, _svg$Element$PathElem2);
|
||||
|
||||
function _class9() {
|
||||
|
@ -2386,9 +2358,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
|
||||
var KAPPA = 4 * ((Math.sqrt(2) - 1) / 3);
|
||||
|
||||
svg.Element.ellipse =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem3) {
|
||||
svg.Element.ellipse = /*#__PURE__*/function (_svg$Element$PathElem3) {
|
||||
_inherits(_class10, _svg$Element$PathElem3);
|
||||
|
||||
function _class10() {
|
||||
|
@ -2423,9 +2393,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.PathElementBase); // line element
|
||||
|
||||
|
||||
svg.Element.line =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem4) {
|
||||
svg.Element.line = /*#__PURE__*/function (_svg$Element$PathElem4) {
|
||||
_inherits(_class11, _svg$Element$PathElem4);
|
||||
|
||||
function _class11() {
|
||||
|
@ -2465,9 +2433,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.PathElementBase); // polyline element
|
||||
|
||||
|
||||
svg.Element.polyline =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem5) {
|
||||
svg.Element.polyline = /*#__PURE__*/function (_svg$Element$PathElem5) {
|
||||
_inherits(_class12, _svg$Element$PathElem5);
|
||||
|
||||
function _class12(node) {
|
||||
|
@ -2521,9 +2487,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.PathElementBase); // polygon element
|
||||
|
||||
|
||||
svg.Element.polygon =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$polyline) {
|
||||
svg.Element.polygon = /*#__PURE__*/function (_svg$Element$polyline) {
|
||||
_inherits(_class13, _svg$Element$polyline);
|
||||
|
||||
function _class13() {
|
||||
|
@ -2550,9 +2514,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.polyline); // path element
|
||||
|
||||
|
||||
svg.Element.path =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem6) {
|
||||
svg.Element.path = /*#__PURE__*/function (_svg$Element$PathElem6) {
|
||||
_inherits(_class14, _svg$Element$PathElem6);
|
||||
|
||||
function _class14(node) {
|
||||
|
@ -2929,9 +2891,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.PathElementBase); // pattern element
|
||||
|
||||
|
||||
svg.Element.pattern =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB2) {
|
||||
svg.Element.pattern = /*#__PURE__*/function (_svg$Element$ElementB2) {
|
||||
_inherits(_class15, _svg$Element$ElementB2);
|
||||
|
||||
function _class15() {
|
||||
|
@ -2980,9 +2940,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // marker element
|
||||
|
||||
|
||||
svg.Element.marker =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB3) {
|
||||
svg.Element.marker = /*#__PURE__*/function (_svg$Element$ElementB3) {
|
||||
_inherits(_class16, _svg$Element$ElementB3);
|
||||
|
||||
function _class16() {
|
||||
|
@ -3020,9 +2978,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // definitions element
|
||||
|
||||
|
||||
svg.Element.defs =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB4) {
|
||||
svg.Element.defs = /*#__PURE__*/function (_svg$Element$ElementB4) {
|
||||
_inherits(_class17, _svg$Element$ElementB4);
|
||||
|
||||
function _class17() {
|
||||
|
@ -3041,9 +2997,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // base for gradients
|
||||
|
||||
|
||||
svg.Element.GradientBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB5) {
|
||||
svg.Element.GradientBase = /*#__PURE__*/function (_svg$Element$ElementB5) {
|
||||
_inherits(_class18, _svg$Element$ElementB5);
|
||||
|
||||
function _class18(node) {
|
||||
|
@ -3124,9 +3078,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // linear gradient element
|
||||
|
||||
|
||||
svg.Element.linearGradient =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Gradient) {
|
||||
svg.Element.linearGradient = /*#__PURE__*/function (_svg$Element$Gradient) {
|
||||
_inherits(_class19, _svg$Element$Gradient);
|
||||
|
||||
function _class19() {
|
||||
|
@ -3161,9 +3113,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.GradientBase); // radial gradient element
|
||||
|
||||
|
||||
svg.Element.radialGradient =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Gradient2) {
|
||||
svg.Element.radialGradient = /*#__PURE__*/function (_svg$Element$Gradient2) {
|
||||
_inherits(_class20, _svg$Element$Gradient2);
|
||||
|
||||
function _class20() {
|
||||
|
@ -3202,9 +3152,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.GradientBase); // gradient stop element
|
||||
|
||||
|
||||
svg.Element.stop =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB6) {
|
||||
svg.Element.stop = /*#__PURE__*/function (_svg$Element$ElementB6) {
|
||||
_inherits(_class21, _svg$Element$ElementB6);
|
||||
|
||||
function _class21(node) {
|
||||
|
@ -3231,9 +3179,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // animation base element
|
||||
|
||||
|
||||
svg.Element.AnimateBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB7) {
|
||||
svg.Element.AnimateBase = /*#__PURE__*/function (_svg$Element$ElementB7) {
|
||||
_inherits(_class22, _svg$Element$ElementB7);
|
||||
|
||||
function _class22(node) {
|
||||
|
@ -3348,9 +3294,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // animate element
|
||||
|
||||
|
||||
svg.Element.animate =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$AnimateB) {
|
||||
svg.Element.animate = /*#__PURE__*/function (_svg$Element$AnimateB) {
|
||||
_inherits(_class23, _svg$Element$AnimateB);
|
||||
|
||||
function _class23() {
|
||||
|
@ -3373,9 +3317,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.AnimateBase); // animate color element
|
||||
|
||||
|
||||
svg.Element.animateColor =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$AnimateB2) {
|
||||
svg.Element.animateColor = /*#__PURE__*/function (_svg$Element$AnimateB2) {
|
||||
_inherits(_class24, _svg$Element$AnimateB2);
|
||||
|
||||
function _class24() {
|
||||
|
@ -3407,9 +3349,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.AnimateBase); // animate transform element
|
||||
|
||||
|
||||
svg.Element.animateTransform =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$animate) {
|
||||
svg.Element.animateTransform = /*#__PURE__*/function (_svg$Element$animate) {
|
||||
_inherits(_class25, _svg$Element$animate);
|
||||
|
||||
function _class25() {
|
||||
|
@ -3437,9 +3377,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.animate); // font element
|
||||
|
||||
|
||||
svg.Element.font =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB8) {
|
||||
svg.Element.font = /*#__PURE__*/function (_svg$Element$ElementB8) {
|
||||
_inherits(_class26, _svg$Element$ElementB8);
|
||||
|
||||
function _class26(node) {
|
||||
|
@ -3487,9 +3425,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // font-face element
|
||||
|
||||
|
||||
svg.Element.fontface =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB9) {
|
||||
svg.Element.fontface = /*#__PURE__*/function (_svg$Element$ElementB9) {
|
||||
_inherits(_class27, _svg$Element$ElementB9);
|
||||
|
||||
function _class27(node) {
|
||||
|
@ -3508,9 +3444,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // missing-glyph element
|
||||
|
||||
|
||||
svg.Element.missingglyph =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$path) {
|
||||
svg.Element.missingglyph = /*#__PURE__*/function (_svg$Element$path) {
|
||||
_inherits(_class28, _svg$Element$path);
|
||||
|
||||
function _class28(node) {
|
||||
|
@ -3527,9 +3461,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.path); // glyph element
|
||||
|
||||
|
||||
svg.Element.glyph =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$path2) {
|
||||
svg.Element.glyph = /*#__PURE__*/function (_svg$Element$path2) {
|
||||
_inherits(_class29, _svg$Element$path2);
|
||||
|
||||
function _class29(node) {
|
||||
|
@ -3548,9 +3480,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.path); // text element
|
||||
|
||||
|
||||
svg.Element.text =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered3) {
|
||||
svg.Element.text = /*#__PURE__*/function (_svg$Element$Rendered3) {
|
||||
_inherits(_class30, _svg$Element$Rendered3);
|
||||
|
||||
function _class30(node) {
|
||||
|
@ -3646,9 +3576,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // text base
|
||||
|
||||
|
||||
svg.Element.TextElementBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered4) {
|
||||
svg.Element.TextElementBase = /*#__PURE__*/function (_svg$Element$Rendered4) {
|
||||
_inherits(_class31, _svg$Element$Rendered4);
|
||||
|
||||
function _class31() {
|
||||
|
@ -3772,9 +3700,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // tspan
|
||||
|
||||
|
||||
svg.Element.tspan =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$TextElem) {
|
||||
svg.Element.tspan = /*#__PURE__*/function (_svg$Element$TextElem) {
|
||||
_inherits(_class32, _svg$Element$TextElem);
|
||||
|
||||
function _class32(node) {
|
||||
|
@ -3798,9 +3724,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.TextElementBase); // tref
|
||||
|
||||
|
||||
svg.Element.tref =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$TextElem2) {
|
||||
svg.Element.tref = /*#__PURE__*/function (_svg$Element$TextElem2) {
|
||||
_inherits(_class33, _svg$Element$TextElem2);
|
||||
|
||||
function _class33() {
|
||||
|
@ -3822,9 +3746,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.TextElementBase); // a element
|
||||
|
||||
|
||||
svg.Element.a =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$TextElem3) {
|
||||
svg.Element.a = /*#__PURE__*/function (_svg$Element$TextElem3) {
|
||||
_inherits(_class34, _svg$Element$TextElem3);
|
||||
|
||||
function _class34(node) {
|
||||
|
@ -3884,9 +3806,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.TextElementBase); // image element
|
||||
|
||||
|
||||
svg.Element.image =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered5) {
|
||||
svg.Element.image = /*#__PURE__*/function (_svg$Element$Rendered5) {
|
||||
_inherits(_class35, _svg$Element$Rendered5);
|
||||
|
||||
function _class35(node) {
|
||||
|
@ -3973,9 +3893,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // group element
|
||||
|
||||
|
||||
svg.Element.g =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered6) {
|
||||
svg.Element.g = /*#__PURE__*/function (_svg$Element$Rendered6) {
|
||||
_inherits(_class36, _svg$Element$Rendered6);
|
||||
|
||||
function _class36() {
|
||||
|
@ -3999,9 +3917,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // symbol element
|
||||
|
||||
|
||||
svg.Element.symbol =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered7) {
|
||||
svg.Element.symbol = /*#__PURE__*/function (_svg$Element$Rendered7) {
|
||||
_inherits(_class37, _svg$Element$Rendered7);
|
||||
|
||||
function _class37() {
|
||||
|
@ -4020,9 +3936,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // style element
|
||||
|
||||
|
||||
svg.Element.style =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB10) {
|
||||
svg.Element.style = /*#__PURE__*/function (_svg$Element$ElementB10) {
|
||||
_inherits(_class38, _svg$Element$ElementB10);
|
||||
|
||||
function _class38(node) {
|
||||
|
@ -4100,9 +4014,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // use element
|
||||
|
||||
|
||||
svg.Element.use =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered8) {
|
||||
svg.Element.use = /*#__PURE__*/function (_svg$Element$Rendered8) {
|
||||
_inherits(_class39, _svg$Element$Rendered8);
|
||||
|
||||
function _class39(node) {
|
||||
|
@ -4172,9 +4084,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // mask element
|
||||
|
||||
|
||||
svg.Element.mask =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB11) {
|
||||
svg.Element.mask = /*#__PURE__*/function (_svg$Element$ElementB11) {
|
||||
_inherits(_class40, _svg$Element$ElementB11);
|
||||
|
||||
function _class40() {
|
||||
|
@ -4234,9 +4144,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // clip element
|
||||
|
||||
|
||||
svg.Element.clipPath =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB12) {
|
||||
svg.Element.clipPath = /*#__PURE__*/function (_svg$Element$ElementB12) {
|
||||
_inherits(_class41, _svg$Element$ElementB12);
|
||||
|
||||
function _class41() {
|
||||
|
@ -4276,9 +4184,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // filters
|
||||
|
||||
|
||||
svg.Element.filter =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB13) {
|
||||
svg.Element.filter = /*#__PURE__*/function (_svg$Element$ElementB13) {
|
||||
_inherits(_class42, _svg$Element$ElementB13);
|
||||
|
||||
function _class42() {
|
||||
|
@ -4330,9 +4236,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
return _class42;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.feMorphology =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB14) {
|
||||
svg.Element.feMorphology = /*#__PURE__*/function (_svg$Element$ElementB14) {
|
||||
_inherits(_class43, _svg$Element$ElementB14);
|
||||
|
||||
function _class43() {
|
||||
|
@ -4350,9 +4254,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
return _class43;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.feComposite =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB15) {
|
||||
svg.Element.feComposite = /*#__PURE__*/function (_svg$Element$ElementB15) {
|
||||
_inherits(_class44, _svg$Element$ElementB15);
|
||||
|
||||
function _class44() {
|
||||
|
@ -4399,9 +4301,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
img[y * width * 4 + x * 4 + rgba] = val;
|
||||
}
|
||||
|
||||
svg.Element.feColorMatrix =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB16) {
|
||||
svg.Element.feColorMatrix = /*#__PURE__*/function (_svg$Element$ElementB16) {
|
||||
_inherits(_class45, _svg$Element$ElementB16);
|
||||
|
||||
function _class45(node) {
|
||||
|
@ -4476,9 +4376,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
return _class45;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.feGaussianBlur =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB17) {
|
||||
svg.Element.feGaussianBlur = /*#__PURE__*/function (_svg$Element$ElementB17) {
|
||||
_inherits(_class46, _svg$Element$ElementB17);
|
||||
|
||||
function _class46(node) {
|
||||
|
@ -4509,9 +4407,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // title element, do nothing
|
||||
|
||||
|
||||
svg.Element.title =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB18) {
|
||||
svg.Element.title = /*#__PURE__*/function (_svg$Element$ElementB18) {
|
||||
_inherits(_class47, _svg$Element$ElementB18);
|
||||
|
||||
function _class47(node) {
|
||||
|
@ -4524,9 +4420,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}(svg.Element.ElementBase); // desc element, do nothing
|
||||
|
||||
|
||||
svg.Element.desc =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB19) {
|
||||
svg.Element.desc = /*#__PURE__*/function (_svg$Element$ElementB19) {
|
||||
_inherits(_class48, _svg$Element$ElementB19);
|
||||
|
||||
function _class48(node) {
|
||||
|
@ -4538,9 +4432,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
return _class48;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.MISSING =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB20) {
|
||||
svg.Element.MISSING = /*#__PURE__*/function (_svg$Element$ElementB20) {
|
||||
_inherits(_class49, _svg$Element$ElementB20);
|
||||
|
||||
function _class49(node) {
|
||||
|
@ -4574,12 +4466,8 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
}; // load from url
|
||||
|
||||
|
||||
svg.load =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref12 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(ctx, url) {
|
||||
svg.load = /*#__PURE__*/function () {
|
||||
var _ref12 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ctx, url) {
|
||||
var dom;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -4888,9 +4776,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
var $ = _ref.$,
|
||||
encode64 = _ref.encode64,
|
||||
importLocale = _ref.importLocale;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
var strings, svgEditor, svgCanvas, saveSvgAction;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -4912,9 +4798,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
|||
$("<iframe name=\"output_frame\" title=\"".concat(strings.hiddenframe, "\"\n style=\"width: 0; height: 0;\" src=\"data:text/html;base64,PGh0bWw+PC9odG1sPg==\"/>")).appendTo('body');
|
||||
svgEditor.setCustomHandlers({
|
||||
save: function save(win, data) {
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var svg, _ref2, pathname, name, svgData, c, datauri, pngData;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
|
|
|
@ -441,9 +441,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
* A class to parse color values.
|
||||
*/
|
||||
|
||||
var RGBColor =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var RGBColor = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string} colorString
|
||||
*/
|
||||
|
@ -1122,9 +1120,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
mathematical: 'alphabetic'
|
||||
};
|
||||
|
||||
svg.Property =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Property = /*#__PURE__*/function () {
|
||||
function Property(name, value) {
|
||||
_classCallCheck(this, Property);
|
||||
|
||||
|
@ -1379,9 +1375,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
});
|
||||
};
|
||||
|
||||
svg.Point =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Point = /*#__PURE__*/function () {
|
||||
function _class(x, y) {
|
||||
_classCallCheck(this, _class);
|
||||
|
||||
|
@ -1424,9 +1418,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}; // bounding box
|
||||
|
||||
|
||||
svg.BoundingBox =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.BoundingBox = /*#__PURE__*/function () {
|
||||
function _class2(x1, y1, x2, y2) {
|
||||
_classCallCheck(this, _class2);
|
||||
|
||||
|
@ -1579,9 +1571,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(); // transforms
|
||||
|
||||
|
||||
svg.Transform =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Transform = /*#__PURE__*/function () {
|
||||
function _class3(v) {
|
||||
var _this6 = this;
|
||||
|
||||
|
@ -1665,9 +1655,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}
|
||||
};
|
||||
Object.assign(this.Type, {
|
||||
SkewBase:
|
||||
/*#__PURE__*/
|
||||
function (_this$Type$matrix) {
|
||||
SkewBase: /*#__PURE__*/function (_this$Type$matrix) {
|
||||
_inherits(SkewBase, _this$Type$matrix);
|
||||
|
||||
function SkewBase(s) {
|
||||
|
@ -1684,9 +1672,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(this.Type.matrix)
|
||||
});
|
||||
Object.assign(this.Type, {
|
||||
skewX:
|
||||
/*#__PURE__*/
|
||||
function (_this$Type$SkewBase) {
|
||||
skewX: /*#__PURE__*/function (_this$Type$SkewBase) {
|
||||
_inherits(skewX, _this$Type$SkewBase);
|
||||
|
||||
function skewX(s) {
|
||||
|
@ -1701,9 +1687,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
|
||||
return skewX;
|
||||
}(this.Type.SkewBase),
|
||||
skewY:
|
||||
/*#__PURE__*/
|
||||
function (_this$Type$SkewBase2) {
|
||||
skewY: /*#__PURE__*/function (_this$Type$SkewBase2) {
|
||||
_inherits(skewY, _this$Type$SkewBase2);
|
||||
|
||||
function skewY(s) {
|
||||
|
@ -1802,9 +1786,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
svg.Element = {};
|
||||
svg.EmptyProperty = new svg.Property('EMPTY', '');
|
||||
|
||||
svg.Element.ElementBase =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
svg.Element.ElementBase = /*#__PURE__*/function () {
|
||||
function _class4(node) {
|
||||
var _this7 = this;
|
||||
|
||||
|
@ -2044,9 +2026,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
return _class4;
|
||||
}();
|
||||
|
||||
svg.Element.RenderedElementBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB) {
|
||||
svg.Element.RenderedElementBase = /*#__PURE__*/function (_svg$Element$ElementB) {
|
||||
_inherits(_class5, _svg$Element$ElementB);
|
||||
|
||||
function _class5() {
|
||||
|
@ -2151,9 +2131,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
return _class5;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.PathElementBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered) {
|
||||
svg.Element.PathElementBase = /*#__PURE__*/function (_svg$Element$Rendered) {
|
||||
_inherits(_class6, _svg$Element$Rendered);
|
||||
|
||||
function _class6() {
|
||||
|
@ -2222,9 +2200,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // svg element
|
||||
|
||||
|
||||
svg.Element.svg =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered2) {
|
||||
svg.Element.svg = /*#__PURE__*/function (_svg$Element$Rendered2) {
|
||||
_inherits(_class7, _svg$Element$Rendered2);
|
||||
|
||||
function _class7() {
|
||||
|
@ -2305,9 +2281,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // rect element
|
||||
|
||||
|
||||
svg.Element.rect =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem) {
|
||||
svg.Element.rect = /*#__PURE__*/function (_svg$Element$PathElem) {
|
||||
_inherits(_class8, _svg$Element$PathElem);
|
||||
|
||||
function _class8() {
|
||||
|
@ -2352,9 +2326,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.PathElementBase); // circle element
|
||||
|
||||
|
||||
svg.Element.circle =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem2) {
|
||||
svg.Element.circle = /*#__PURE__*/function (_svg$Element$PathElem2) {
|
||||
_inherits(_class9, _svg$Element$PathElem2);
|
||||
|
||||
function _class9() {
|
||||
|
@ -2386,9 +2358,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
|
||||
var KAPPA = 4 * ((Math.sqrt(2) - 1) / 3);
|
||||
|
||||
svg.Element.ellipse =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem3) {
|
||||
svg.Element.ellipse = /*#__PURE__*/function (_svg$Element$PathElem3) {
|
||||
_inherits(_class10, _svg$Element$PathElem3);
|
||||
|
||||
function _class10() {
|
||||
|
@ -2423,9 +2393,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.PathElementBase); // line element
|
||||
|
||||
|
||||
svg.Element.line =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem4) {
|
||||
svg.Element.line = /*#__PURE__*/function (_svg$Element$PathElem4) {
|
||||
_inherits(_class11, _svg$Element$PathElem4);
|
||||
|
||||
function _class11() {
|
||||
|
@ -2465,9 +2433,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.PathElementBase); // polyline element
|
||||
|
||||
|
||||
svg.Element.polyline =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem5) {
|
||||
svg.Element.polyline = /*#__PURE__*/function (_svg$Element$PathElem5) {
|
||||
_inherits(_class12, _svg$Element$PathElem5);
|
||||
|
||||
function _class12(node) {
|
||||
|
@ -2521,9 +2487,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.PathElementBase); // polygon element
|
||||
|
||||
|
||||
svg.Element.polygon =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$polyline) {
|
||||
svg.Element.polygon = /*#__PURE__*/function (_svg$Element$polyline) {
|
||||
_inherits(_class13, _svg$Element$polyline);
|
||||
|
||||
function _class13() {
|
||||
|
@ -2550,9 +2514,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.polyline); // path element
|
||||
|
||||
|
||||
svg.Element.path =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$PathElem6) {
|
||||
svg.Element.path = /*#__PURE__*/function (_svg$Element$PathElem6) {
|
||||
_inherits(_class14, _svg$Element$PathElem6);
|
||||
|
||||
function _class14(node) {
|
||||
|
@ -2929,9 +2891,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.PathElementBase); // pattern element
|
||||
|
||||
|
||||
svg.Element.pattern =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB2) {
|
||||
svg.Element.pattern = /*#__PURE__*/function (_svg$Element$ElementB2) {
|
||||
_inherits(_class15, _svg$Element$ElementB2);
|
||||
|
||||
function _class15() {
|
||||
|
@ -2980,9 +2940,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // marker element
|
||||
|
||||
|
||||
svg.Element.marker =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB3) {
|
||||
svg.Element.marker = /*#__PURE__*/function (_svg$Element$ElementB3) {
|
||||
_inherits(_class16, _svg$Element$ElementB3);
|
||||
|
||||
function _class16() {
|
||||
|
@ -3020,9 +2978,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // definitions element
|
||||
|
||||
|
||||
svg.Element.defs =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB4) {
|
||||
svg.Element.defs = /*#__PURE__*/function (_svg$Element$ElementB4) {
|
||||
_inherits(_class17, _svg$Element$ElementB4);
|
||||
|
||||
function _class17() {
|
||||
|
@ -3041,9 +2997,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // base for gradients
|
||||
|
||||
|
||||
svg.Element.GradientBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB5) {
|
||||
svg.Element.GradientBase = /*#__PURE__*/function (_svg$Element$ElementB5) {
|
||||
_inherits(_class18, _svg$Element$ElementB5);
|
||||
|
||||
function _class18(node) {
|
||||
|
@ -3124,9 +3078,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // linear gradient element
|
||||
|
||||
|
||||
svg.Element.linearGradient =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Gradient) {
|
||||
svg.Element.linearGradient = /*#__PURE__*/function (_svg$Element$Gradient) {
|
||||
_inherits(_class19, _svg$Element$Gradient);
|
||||
|
||||
function _class19() {
|
||||
|
@ -3161,9 +3113,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.GradientBase); // radial gradient element
|
||||
|
||||
|
||||
svg.Element.radialGradient =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Gradient2) {
|
||||
svg.Element.radialGradient = /*#__PURE__*/function (_svg$Element$Gradient2) {
|
||||
_inherits(_class20, _svg$Element$Gradient2);
|
||||
|
||||
function _class20() {
|
||||
|
@ -3202,9 +3152,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.GradientBase); // gradient stop element
|
||||
|
||||
|
||||
svg.Element.stop =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB6) {
|
||||
svg.Element.stop = /*#__PURE__*/function (_svg$Element$ElementB6) {
|
||||
_inherits(_class21, _svg$Element$ElementB6);
|
||||
|
||||
function _class21(node) {
|
||||
|
@ -3231,9 +3179,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // animation base element
|
||||
|
||||
|
||||
svg.Element.AnimateBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB7) {
|
||||
svg.Element.AnimateBase = /*#__PURE__*/function (_svg$Element$ElementB7) {
|
||||
_inherits(_class22, _svg$Element$ElementB7);
|
||||
|
||||
function _class22(node) {
|
||||
|
@ -3348,9 +3294,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // animate element
|
||||
|
||||
|
||||
svg.Element.animate =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$AnimateB) {
|
||||
svg.Element.animate = /*#__PURE__*/function (_svg$Element$AnimateB) {
|
||||
_inherits(_class23, _svg$Element$AnimateB);
|
||||
|
||||
function _class23() {
|
||||
|
@ -3373,9 +3317,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.AnimateBase); // animate color element
|
||||
|
||||
|
||||
svg.Element.animateColor =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$AnimateB2) {
|
||||
svg.Element.animateColor = /*#__PURE__*/function (_svg$Element$AnimateB2) {
|
||||
_inherits(_class24, _svg$Element$AnimateB2);
|
||||
|
||||
function _class24() {
|
||||
|
@ -3407,9 +3349,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.AnimateBase); // animate transform element
|
||||
|
||||
|
||||
svg.Element.animateTransform =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$animate) {
|
||||
svg.Element.animateTransform = /*#__PURE__*/function (_svg$Element$animate) {
|
||||
_inherits(_class25, _svg$Element$animate);
|
||||
|
||||
function _class25() {
|
||||
|
@ -3437,9 +3377,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.animate); // font element
|
||||
|
||||
|
||||
svg.Element.font =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB8) {
|
||||
svg.Element.font = /*#__PURE__*/function (_svg$Element$ElementB8) {
|
||||
_inherits(_class26, _svg$Element$ElementB8);
|
||||
|
||||
function _class26(node) {
|
||||
|
@ -3487,9 +3425,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // font-face element
|
||||
|
||||
|
||||
svg.Element.fontface =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB9) {
|
||||
svg.Element.fontface = /*#__PURE__*/function (_svg$Element$ElementB9) {
|
||||
_inherits(_class27, _svg$Element$ElementB9);
|
||||
|
||||
function _class27(node) {
|
||||
|
@ -3508,9 +3444,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // missing-glyph element
|
||||
|
||||
|
||||
svg.Element.missingglyph =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$path) {
|
||||
svg.Element.missingglyph = /*#__PURE__*/function (_svg$Element$path) {
|
||||
_inherits(_class28, _svg$Element$path);
|
||||
|
||||
function _class28(node) {
|
||||
|
@ -3527,9 +3461,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.path); // glyph element
|
||||
|
||||
|
||||
svg.Element.glyph =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$path2) {
|
||||
svg.Element.glyph = /*#__PURE__*/function (_svg$Element$path2) {
|
||||
_inherits(_class29, _svg$Element$path2);
|
||||
|
||||
function _class29(node) {
|
||||
|
@ -3548,9 +3480,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.path); // text element
|
||||
|
||||
|
||||
svg.Element.text =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered3) {
|
||||
svg.Element.text = /*#__PURE__*/function (_svg$Element$Rendered3) {
|
||||
_inherits(_class30, _svg$Element$Rendered3);
|
||||
|
||||
function _class30(node) {
|
||||
|
@ -3646,9 +3576,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // text base
|
||||
|
||||
|
||||
svg.Element.TextElementBase =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered4) {
|
||||
svg.Element.TextElementBase = /*#__PURE__*/function (_svg$Element$Rendered4) {
|
||||
_inherits(_class31, _svg$Element$Rendered4);
|
||||
|
||||
function _class31() {
|
||||
|
@ -3772,9 +3700,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // tspan
|
||||
|
||||
|
||||
svg.Element.tspan =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$TextElem) {
|
||||
svg.Element.tspan = /*#__PURE__*/function (_svg$Element$TextElem) {
|
||||
_inherits(_class32, _svg$Element$TextElem);
|
||||
|
||||
function _class32(node) {
|
||||
|
@ -3798,9 +3724,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.TextElementBase); // tref
|
||||
|
||||
|
||||
svg.Element.tref =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$TextElem2) {
|
||||
svg.Element.tref = /*#__PURE__*/function (_svg$Element$TextElem2) {
|
||||
_inherits(_class33, _svg$Element$TextElem2);
|
||||
|
||||
function _class33() {
|
||||
|
@ -3822,9 +3746,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.TextElementBase); // a element
|
||||
|
||||
|
||||
svg.Element.a =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$TextElem3) {
|
||||
svg.Element.a = /*#__PURE__*/function (_svg$Element$TextElem3) {
|
||||
_inherits(_class34, _svg$Element$TextElem3);
|
||||
|
||||
function _class34(node) {
|
||||
|
@ -3884,9 +3806,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.TextElementBase); // image element
|
||||
|
||||
|
||||
svg.Element.image =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered5) {
|
||||
svg.Element.image = /*#__PURE__*/function (_svg$Element$Rendered5) {
|
||||
_inherits(_class35, _svg$Element$Rendered5);
|
||||
|
||||
function _class35(node) {
|
||||
|
@ -3973,9 +3893,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // group element
|
||||
|
||||
|
||||
svg.Element.g =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered6) {
|
||||
svg.Element.g = /*#__PURE__*/function (_svg$Element$Rendered6) {
|
||||
_inherits(_class36, _svg$Element$Rendered6);
|
||||
|
||||
function _class36() {
|
||||
|
@ -3999,9 +3917,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // symbol element
|
||||
|
||||
|
||||
svg.Element.symbol =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered7) {
|
||||
svg.Element.symbol = /*#__PURE__*/function (_svg$Element$Rendered7) {
|
||||
_inherits(_class37, _svg$Element$Rendered7);
|
||||
|
||||
function _class37() {
|
||||
|
@ -4020,9 +3936,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // style element
|
||||
|
||||
|
||||
svg.Element.style =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB10) {
|
||||
svg.Element.style = /*#__PURE__*/function (_svg$Element$ElementB10) {
|
||||
_inherits(_class38, _svg$Element$ElementB10);
|
||||
|
||||
function _class38(node) {
|
||||
|
@ -4100,9 +4014,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // use element
|
||||
|
||||
|
||||
svg.Element.use =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$Rendered8) {
|
||||
svg.Element.use = /*#__PURE__*/function (_svg$Element$Rendered8) {
|
||||
_inherits(_class39, _svg$Element$Rendered8);
|
||||
|
||||
function _class39(node) {
|
||||
|
@ -4172,9 +4084,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.RenderedElementBase); // mask element
|
||||
|
||||
|
||||
svg.Element.mask =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB11) {
|
||||
svg.Element.mask = /*#__PURE__*/function (_svg$Element$ElementB11) {
|
||||
_inherits(_class40, _svg$Element$ElementB11);
|
||||
|
||||
function _class40() {
|
||||
|
@ -4234,9 +4144,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // clip element
|
||||
|
||||
|
||||
svg.Element.clipPath =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB12) {
|
||||
svg.Element.clipPath = /*#__PURE__*/function (_svg$Element$ElementB12) {
|
||||
_inherits(_class41, _svg$Element$ElementB12);
|
||||
|
||||
function _class41() {
|
||||
|
@ -4276,9 +4184,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // filters
|
||||
|
||||
|
||||
svg.Element.filter =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB13) {
|
||||
svg.Element.filter = /*#__PURE__*/function (_svg$Element$ElementB13) {
|
||||
_inherits(_class42, _svg$Element$ElementB13);
|
||||
|
||||
function _class42() {
|
||||
|
@ -4330,9 +4236,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
return _class42;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.feMorphology =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB14) {
|
||||
svg.Element.feMorphology = /*#__PURE__*/function (_svg$Element$ElementB14) {
|
||||
_inherits(_class43, _svg$Element$ElementB14);
|
||||
|
||||
function _class43() {
|
||||
|
@ -4350,9 +4254,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
return _class43;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.feComposite =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB15) {
|
||||
svg.Element.feComposite = /*#__PURE__*/function (_svg$Element$ElementB15) {
|
||||
_inherits(_class44, _svg$Element$ElementB15);
|
||||
|
||||
function _class44() {
|
||||
|
@ -4399,9 +4301,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
img[y * width * 4 + x * 4 + rgba] = val;
|
||||
}
|
||||
|
||||
svg.Element.feColorMatrix =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB16) {
|
||||
svg.Element.feColorMatrix = /*#__PURE__*/function (_svg$Element$ElementB16) {
|
||||
_inherits(_class45, _svg$Element$ElementB16);
|
||||
|
||||
function _class45(node) {
|
||||
|
@ -4476,9 +4376,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
return _class45;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.feGaussianBlur =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB17) {
|
||||
svg.Element.feGaussianBlur = /*#__PURE__*/function (_svg$Element$ElementB17) {
|
||||
_inherits(_class46, _svg$Element$ElementB17);
|
||||
|
||||
function _class46(node) {
|
||||
|
@ -4509,9 +4407,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // title element, do nothing
|
||||
|
||||
|
||||
svg.Element.title =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB18) {
|
||||
svg.Element.title = /*#__PURE__*/function (_svg$Element$ElementB18) {
|
||||
_inherits(_class47, _svg$Element$ElementB18);
|
||||
|
||||
function _class47(node) {
|
||||
|
@ -4524,9 +4420,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}(svg.Element.ElementBase); // desc element, do nothing
|
||||
|
||||
|
||||
svg.Element.desc =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB19) {
|
||||
svg.Element.desc = /*#__PURE__*/function (_svg$Element$ElementB19) {
|
||||
_inherits(_class48, _svg$Element$ElementB19);
|
||||
|
||||
function _class48(node) {
|
||||
|
@ -4538,9 +4432,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
return _class48;
|
||||
}(svg.Element.ElementBase);
|
||||
|
||||
svg.Element.MISSING =
|
||||
/*#__PURE__*/
|
||||
function (_svg$Element$ElementB20) {
|
||||
svg.Element.MISSING = /*#__PURE__*/function (_svg$Element$ElementB20) {
|
||||
_inherits(_class49, _svg$Element$ElementB20);
|
||||
|
||||
function _class49(node) {
|
||||
|
@ -4574,12 +4466,8 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}; // load from url
|
||||
|
||||
|
||||
svg.load =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref12 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(ctx, url) {
|
||||
svg.load = /*#__PURE__*/function () {
|
||||
var _ref12 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ctx, url) {
|
||||
var dom;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -4889,9 +4777,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
decode64 = _ref.decode64,
|
||||
encode64 = _ref.encode64,
|
||||
importLocale = _ref.importLocale;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee5() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
||||
var strings, svgEditor, _svgEditor$curConfig, extPath, avoidClientSide, avoidClientSideDownload, avoidClientSideOpen, svgCanvas, getFileNameFromTitle, xhtmlEscape, clientDownloadSupport, saveSvgAction, saveImgAction, cancelled, openSvgAction, importSvgAction, importImgAction, openSvgForm, importSvgForm, importImgForm, rebuildInput;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
||||
|
@ -4912,9 +4798,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}
|
||||
|
||||
function _submit() {
|
||||
_submit = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee4() {
|
||||
_submit = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||
while (1) {
|
||||
switch (_context4.prev = _context4.next) {
|
||||
|
@ -4940,11 +4824,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}
|
||||
|
||||
if (form[0] === openSvgForm[0]) {
|
||||
inp.change(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2() {
|
||||
inp.change( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
var ok;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -4976,11 +4856,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
}, _callee2);
|
||||
})));
|
||||
} else {
|
||||
inp.change(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3() {
|
||||
inp.change( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
while (1) {
|
||||
switch (_context3.prev = _context3.next) {
|
||||
|
@ -5078,9 +4954,7 @@ var svgEditorExtension_server_opensave = (function () {
|
|||
},
|
||||
// Todo: Integrate this extension with a new built-in exportWindowType, "download"
|
||||
exportImage: function exportImage(win, data) {
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var issues, mimeType, quality, c, datauri, pre, note, filename, suffix;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -94,9 +94,7 @@ var svgEditorExtension_shapes = (function () {
|
|||
|
||||
var $ = _ref.$,
|
||||
importLocale = _ref.importLocale;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var strings, svgEditor, canv, svgroot, lastBBox, categories, library, modeId, startClientPos, currentD, curShapeId, curShape, startX, startY, curLib, loadIcons, makeButtons, loadLibrary, buttons;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -49,9 +49,7 @@ var svgEditorExtension_star = (function () {
|
|||
init: function init(S) {
|
||||
var _this = this;
|
||||
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var svgEditor, svgCanvas, $, importLocale, selElems, started, newFO, strings, showPanel, setAttr, buttons, contextTools;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -254,9 +254,7 @@ var svgEditorExtension_storage = (function () {
|
|||
name: 'storage',
|
||||
langReady: function langReady(_ref4) {
|
||||
var importLocale = _ref4.importLocale;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var storagePrompt, confirmSetStorage, message, storagePrefsAndContent, storagePrefsOnly, storagePrefs, storageNoPrefsOrContent, storageNoPrefs, rememberLabel, rememberTooltip, options, oldContainerWidth, oldContainerMarginLeft, oldContentHeight, oldContainerHeight, _ref5, pref, checked;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
|
|
|
@ -51,9 +51,7 @@ var svgEditorExtension_webappfind = (function () {
|
|||
|
||||
var importLocale = _ref.importLocale,
|
||||
$ = _ref.$;
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var strings, svgEditor, saveMessage, readMessage, excludedMessages, pathID, buttons;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -1175,9 +1175,7 @@
|
|||
* Class wrapping base class.
|
||||
*/
|
||||
|
||||
return cnstrct ?
|
||||
/*#__PURE__*/
|
||||
function (_baseClass) {
|
||||
return cnstrct ? /*#__PURE__*/function (_baseClass) {
|
||||
_inherits$1(_class, _baseClass);
|
||||
/**
|
||||
* Calls user constructor.
|
||||
|
@ -1195,9 +1193,7 @@
|
|||
}
|
||||
|
||||
return _class;
|
||||
}(baseClass) :
|
||||
/*#__PURE__*/
|
||||
function (_baseClass2) {
|
||||
}(baseClass) : /*#__PURE__*/function (_baseClass2) {
|
||||
_inherits$1(_class2, _baseClass2);
|
||||
|
||||
function _class2() {
|
||||
|
@ -1956,9 +1952,7 @@
|
|||
/**
|
||||
* Polyfill for `DOMException`.
|
||||
*/
|
||||
var DOMException =
|
||||
/*#__PURE__*/
|
||||
function (_Error) {
|
||||
var DOMException = /*#__PURE__*/function (_Error) {
|
||||
_inherits$1(DOMException, _Error);
|
||||
/* eslint-enable no-shadow, unicorn/custom-error-definition */
|
||||
|
||||
|
@ -2367,9 +2361,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var JamilihMap =
|
||||
/*#__PURE__*/
|
||||
function (_Map) {
|
||||
var JamilihMap = /*#__PURE__*/function (_Map) {
|
||||
_inherits$1(JamilihMap, _Map);
|
||||
|
||||
function JamilihMap() {
|
||||
|
@ -2430,9 +2422,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var JamilihWeakMap =
|
||||
/*#__PURE__*/
|
||||
function (_WeakMap) {
|
||||
var JamilihWeakMap = /*#__PURE__*/function (_WeakMap) {
|
||||
_inherits$1(JamilihWeakMap, _WeakMap);
|
||||
|
||||
function JamilihWeakMap() {
|
||||
|
@ -2635,9 +2625,7 @@
|
|||
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
var QueryResult =
|
||||
/*#__PURE__*/
|
||||
function (_Array) {
|
||||
var QueryResult = /*#__PURE__*/function (_Array) {
|
||||
_inherits(QueryResult, _Array);
|
||||
|
||||
function QueryResult() {
|
||||
|
@ -2647,7 +2635,7 @@
|
|||
}
|
||||
|
||||
return QueryResult;
|
||||
}(_wrapNativeSuper(Array));
|
||||
}( /*#__PURE__*/_wrapNativeSuper(Array));
|
||||
|
||||
var create = Object.create,
|
||||
defineProperty = Object.defineProperty;
|
||||
|
@ -3357,9 +3345,7 @@
|
|||
}
|
||||
|
||||
function _processResults() {
|
||||
_processResults = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3(url) {
|
||||
_processResults = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(url) {
|
||||
var queryLink, r, json, payload, _json$info, numResults, pages, currentPage, semiColonSep;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
|
@ -3440,9 +3426,7 @@
|
|||
click: function click(e) {
|
||||
var _this = this;
|
||||
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
var svgurl, post, result, svg;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -3565,9 +3549,7 @@
|
|||
id: 'openclipart',
|
||||
$custom: {
|
||||
$submit: function $submit() {
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var url;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
|
|
@ -333,9 +333,7 @@ var getReverseNS = function getReverseNS() {
|
|||
(function () {
|
||||
if (!('SVGPathSeg' in window)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSeg
|
||||
var _SVGPathSeg =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _SVGPathSeg = /*#__PURE__*/function () {
|
||||
function _SVGPathSeg(type, typeAsLetter, owningPathSegList) {
|
||||
_classCallCheck(this, _SVGPathSeg);
|
||||
|
||||
|
@ -379,9 +377,7 @@ var getReverseNS = function getReverseNS() {
|
|||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
|
||||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
|
||||
|
||||
var _SVGPathSegClosePath =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg2) {
|
||||
var _SVGPathSegClosePath = /*#__PURE__*/function (_SVGPathSeg2) {
|
||||
_inherits(_SVGPathSegClosePath, _SVGPathSeg2);
|
||||
|
||||
function _SVGPathSegClosePath(owningPathSegList) {
|
||||
|
@ -410,9 +406,7 @@ var getReverseNS = function getReverseNS() {
|
|||
return _SVGPathSegClosePath;
|
||||
}(_SVGPathSeg);
|
||||
|
||||
var _SVGPathSegMovetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg3) {
|
||||
var _SVGPathSegMovetoAbs = /*#__PURE__*/function (_SVGPathSeg3) {
|
||||
_inherits(_SVGPathSegMovetoAbs, _SVGPathSeg3);
|
||||
|
||||
function _SVGPathSegMovetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -471,9 +465,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegMovetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg4) {
|
||||
var _SVGPathSegMovetoRel = /*#__PURE__*/function (_SVGPathSeg4) {
|
||||
_inherits(_SVGPathSegMovetoRel, _SVGPathSeg4);
|
||||
|
||||
function _SVGPathSegMovetoRel(owningPathSegList, x, y) {
|
||||
|
@ -532,9 +524,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg5) {
|
||||
var _SVGPathSegLinetoAbs = /*#__PURE__*/function (_SVGPathSeg5) {
|
||||
_inherits(_SVGPathSegLinetoAbs, _SVGPathSeg5);
|
||||
|
||||
function _SVGPathSegLinetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -593,9 +583,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg6) {
|
||||
var _SVGPathSegLinetoRel = /*#__PURE__*/function (_SVGPathSeg6) {
|
||||
_inherits(_SVGPathSegLinetoRel, _SVGPathSeg6);
|
||||
|
||||
function _SVGPathSegLinetoRel(owningPathSegList, x, y) {
|
||||
|
@ -654,9 +642,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg7) {
|
||||
var _SVGPathSegCurvetoCubicAbs = /*#__PURE__*/function (_SVGPathSeg7) {
|
||||
_inherits(_SVGPathSegCurvetoCubicAbs, _SVGPathSeg7);
|
||||
|
||||
function _SVGPathSegCurvetoCubicAbs(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -763,9 +749,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg8) {
|
||||
var _SVGPathSegCurvetoCubicRel = /*#__PURE__*/function (_SVGPathSeg8) {
|
||||
_inherits(_SVGPathSegCurvetoCubicRel, _SVGPathSeg8);
|
||||
|
||||
function _SVGPathSegCurvetoCubicRel(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -872,9 +856,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg9) {
|
||||
var _SVGPathSegCurvetoQuadraticAbs = /*#__PURE__*/function (_SVGPathSeg9) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticAbs, _SVGPathSeg9);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticAbs(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -957,9 +939,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg10) {
|
||||
var _SVGPathSegCurvetoQuadraticRel = /*#__PURE__*/function (_SVGPathSeg10) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticRel, _SVGPathSeg10);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticRel(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -1042,9 +1022,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg11) {
|
||||
var _SVGPathSegArcAbs = /*#__PURE__*/function (_SVGPathSeg11) {
|
||||
_inherits(_SVGPathSegArcAbs, _SVGPathSeg11);
|
||||
|
||||
function _SVGPathSegArcAbs(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1163,9 +1141,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg12) {
|
||||
var _SVGPathSegArcRel = /*#__PURE__*/function (_SVGPathSeg12) {
|
||||
_inherits(_SVGPathSegArcRel, _SVGPathSeg12);
|
||||
|
||||
function _SVGPathSegArcRel(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1284,9 +1260,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg13) {
|
||||
var _SVGPathSegLinetoHorizontalAbs = /*#__PURE__*/function (_SVGPathSeg13) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalAbs, _SVGPathSeg13);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalAbs(owningPathSegList, x) {
|
||||
|
@ -1331,9 +1305,7 @@ var getReverseNS = function getReverseNS() {
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg14) {
|
||||
var _SVGPathSegLinetoHorizontalRel = /*#__PURE__*/function (_SVGPathSeg14) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalRel, _SVGPathSeg14);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalRel(owningPathSegList, x) {
|
||||
|
@ -1378,9 +1350,7 @@ var getReverseNS = function getReverseNS() {
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg15) {
|
||||
var _SVGPathSegLinetoVerticalAbs = /*#__PURE__*/function (_SVGPathSeg15) {
|
||||
_inherits(_SVGPathSegLinetoVerticalAbs, _SVGPathSeg15);
|
||||
|
||||
function _SVGPathSegLinetoVerticalAbs(owningPathSegList, y) {
|
||||
|
@ -1425,9 +1395,7 @@ var getReverseNS = function getReverseNS() {
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg16) {
|
||||
var _SVGPathSegLinetoVerticalRel = /*#__PURE__*/function (_SVGPathSeg16) {
|
||||
_inherits(_SVGPathSegLinetoVerticalRel, _SVGPathSeg16);
|
||||
|
||||
function _SVGPathSegLinetoVerticalRel(owningPathSegList, y) {
|
||||
|
@ -1472,9 +1440,7 @@ var getReverseNS = function getReverseNS() {
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg17) {
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs = /*#__PURE__*/function (_SVGPathSeg17) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothAbs, _SVGPathSeg17);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothAbs(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1557,9 +1523,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg18) {
|
||||
var _SVGPathSegCurvetoCubicSmoothRel = /*#__PURE__*/function (_SVGPathSeg18) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothRel, _SVGPathSeg18);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothRel(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1642,9 +1606,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg19) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs = /*#__PURE__*/function (_SVGPathSeg19) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothAbs, _SVGPathSeg19);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothAbs(owningPathSegList, x, y) {
|
||||
|
@ -1703,9 +1665,7 @@ var getReverseNS = function getReverseNS() {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg20) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel = /*#__PURE__*/function (_SVGPathSeg20) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothRel, _SVGPathSeg20);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothRel(owningPathSegList, x, y) {
|
||||
|
@ -1901,9 +1861,7 @@ var getReverseNS = function getReverseNS() {
|
|||
|
||||
if (!('SVGPathSegList' in window) || !('appendItem' in window.SVGPathSegList.prototype)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSegList
|
||||
var SVGPathSegList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGPathSegList = /*#__PURE__*/function () {
|
||||
function SVGPathSegList(pathElement) {
|
||||
_classCallCheck(this, SVGPathSegList);
|
||||
|
||||
|
@ -2087,9 +2045,7 @@ var getReverseNS = function getReverseNS() {
|
|||
|
||||
var owningPathSegList = this; // eslint-disable-line consistent-this
|
||||
|
||||
var Builder =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Builder = /*#__PURE__*/function () {
|
||||
function Builder() {
|
||||
_classCallCheck(this, Builder);
|
||||
|
||||
|
@ -2106,9 +2062,7 @@ var getReverseNS = function getReverseNS() {
|
|||
return Builder;
|
||||
}();
|
||||
|
||||
var Source =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Source = /*#__PURE__*/function () {
|
||||
function Source(string) {
|
||||
_classCallCheck(this, Source);
|
||||
|
||||
|
@ -3133,9 +3087,7 @@ var listMap_ = {};
|
|||
* @implements {module:SVGTransformList.SVGEditTransformList}
|
||||
*/
|
||||
|
||||
var SVGTransformList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGTransformList = /*#__PURE__*/function () {
|
||||
// eslint-disable-line no-shadow
|
||||
|
||||
/**
|
||||
|
@ -3771,9 +3723,7 @@ var HistoryEventTypes = {
|
|||
* Base class for commands.
|
||||
*/
|
||||
|
||||
var Command =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Command = /*#__PURE__*/function () {
|
||||
function Command() {
|
||||
_classCallCheck(this, Command);
|
||||
}
|
||||
|
@ -3867,9 +3817,7 @@ function () {
|
|||
*/
|
||||
|
||||
|
||||
var MoveElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command) {
|
||||
var MoveElementCommand = /*#__PURE__*/function (_Command) {
|
||||
_inherits(MoveElementCommand, _Command);
|
||||
|
||||
/**
|
||||
|
@ -3963,9 +3911,7 @@ MoveElementCommand.type = MoveElementCommand.prototype.type;
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var InsertElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command2) {
|
||||
var InsertElementCommand = /*#__PURE__*/function (_Command2) {
|
||||
_inherits(InsertElementCommand, _Command2);
|
||||
|
||||
/**
|
||||
|
@ -4055,9 +4001,7 @@ InsertElementCommand.type = InsertElementCommand.prototype.type;
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var RemoveElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command3) {
|
||||
var RemoveElementCommand = /*#__PURE__*/function (_Command3) {
|
||||
_inherits(RemoveElementCommand, _Command3);
|
||||
|
||||
/**
|
||||
|
@ -4169,9 +4113,7 @@ RemoveElementCommand.type = RemoveElementCommand.prototype.type;
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var ChangeElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command4) {
|
||||
var ChangeElementCommand = /*#__PURE__*/function (_Command4) {
|
||||
_inherits(ChangeElementCommand, _Command4);
|
||||
|
||||
/**
|
||||
|
@ -4364,9 +4306,7 @@ ChangeElementCommand.type = ChangeElementCommand.prototype.type; // TODO: create
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var BatchCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command5) {
|
||||
var BatchCommand = /*#__PURE__*/function (_Command5) {
|
||||
_inherits(BatchCommand, _Command5);
|
||||
|
||||
/**
|
||||
|
@ -4492,9 +4432,7 @@ BatchCommand.type = BatchCommand.prototype.type;
|
|||
*
|
||||
*/
|
||||
|
||||
var UndoManager =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var UndoManager = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {module:history.HistoryEventHandler} historyEventHandler
|
||||
*/
|
||||
|
@ -5633,9 +5571,7 @@ var smoothControlPoints = function smoothControlPoints(ct1, ct2, pt) {
|
|||
*
|
||||
*/
|
||||
|
||||
var Segment =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Segment = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {Integer} index
|
||||
* @param {SVGPathSeg} item
|
||||
|
@ -5863,9 +5799,7 @@ function () {
|
|||
*
|
||||
*/
|
||||
|
||||
var Path =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Path = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {SVGPathElement} elem
|
||||
* @throws {Error} If constructed without a path element
|
||||
|
@ -9493,9 +9427,7 @@ function importSetGlobal(_x, _x2) {
|
|||
*/
|
||||
|
||||
function _importSetGlobal() {
|
||||
_importSetGlobal = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(url, _ref2) {
|
||||
_importSetGlobal = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(url, _ref2) {
|
||||
var glob, returnDefault, modularVersion;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -9956,9 +9888,7 @@ var $$4 = jQuery;
|
|||
* @memberof module:layer
|
||||
*/
|
||||
|
||||
var Layer =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Layer = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string} name - Layer name
|
||||
* @param {SVGGElement|null} group - An existing SVG group element or null.
|
||||
|
@ -10253,9 +10183,7 @@ function addLayerClass(elem) {
|
|||
* @memberof module:history
|
||||
*/
|
||||
|
||||
var HistoryRecordingService =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var HistoryRecordingService = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {history.UndoManager|null} undoManager - The undo manager.
|
||||
* A value of `null` is valid for cases where no history recording is required.
|
||||
|
@ -10468,9 +10396,7 @@ function getNewLayerName(existingLayerNames) {
|
|||
*/
|
||||
|
||||
|
||||
var Drawing =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Drawing = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {SVGSVGElement} svgElem - The SVG DOM Element that this JS object
|
||||
* encapsulates. If the svgElem has a se:nonce attribute on it, then
|
||||
|
@ -13137,9 +13063,7 @@ var gripRadius = isTouch() ? 10 : 4;
|
|||
* Private class for DOM element selection boxes.
|
||||
*/
|
||||
|
||||
var Selector =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Selector = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {Integer} id - Internally identify the selector
|
||||
* @param {Element} elem - DOM element associated with this selector
|
||||
|
@ -13386,9 +13310,7 @@ function () {
|
|||
* Manage all selector objects (selection boxes).
|
||||
*/
|
||||
|
||||
var SelectorManager =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SelectorManager = /*#__PURE__*/function () {
|
||||
/**
|
||||
* Sets up properties and calls `initGroup`.
|
||||
*/
|
||||
|
@ -14861,12 +14783,8 @@ function SvgCanvas(container, config) {
|
|||
*/
|
||||
|
||||
|
||||
this.addExtension =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref3 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(name, extInitFunc, _ref4) {
|
||||
this.addExtension = /*#__PURE__*/function () {
|
||||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(name, extInitFunc, _ref4) {
|
||||
var jq, importLocale, argObj, extObj;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -18079,12 +17997,8 @@ function SvgCanvas(container, config) {
|
|||
* @returns {Promise<module:svgcanvas.ImageExportedResults>} Resolves to {@link module:svgcanvas.ImageExportedResults}
|
||||
*/
|
||||
|
||||
this.rasterExport =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref5 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(imgType, quality, exportWindowName) {
|
||||
this.rasterExport = /*#__PURE__*/function () {
|
||||
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(imgType, quality, exportWindowName) {
|
||||
var opts,
|
||||
type,
|
||||
mimeType,
|
||||
|
@ -18227,12 +18141,8 @@ function SvgCanvas(container, config) {
|
|||
*/
|
||||
|
||||
|
||||
this.exportPDF =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref7 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3(exportWindowName) {
|
||||
this.exportPDF = /*#__PURE__*/function () {
|
||||
var _ref7 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(exportWindowName) {
|
||||
var outputType,
|
||||
modularVersion,
|
||||
res,
|
||||
|
@ -28218,12 +28128,8 @@ var init$7 = function init(editor) {
|
|||
* @returns {Promise<module:locale.LangAndData>} Resolves to [`LangAndData`]{@link module:locale.LangAndData}
|
||||
*/
|
||||
|
||||
var readLang =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref3 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(langData) {
|
||||
var readLang = /*#__PURE__*/function () {
|
||||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(langData) {
|
||||
var more, _langData, tools, properties, config, layers, common, ui, opts, ariaLabels;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
|
@ -28473,12 +28379,8 @@ function () {
|
|||
* @returns {Promise<module:locale.LangAndData>} Resolves to result of {@link module:locale.readLang}
|
||||
*/
|
||||
|
||||
var putLocale =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref8 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(givenParam, goodLangs, conf) {
|
||||
var putLocale = /*#__PURE__*/function () {
|
||||
var _ref8 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(givenParam, goodLangs, conf) {
|
||||
var url;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -29009,9 +28911,7 @@ function loadSvgString(_x) {
|
|||
|
||||
|
||||
function _loadSvgString() {
|
||||
_loadSvgString = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee23(str) {
|
||||
_loadSvgString = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee23(str) {
|
||||
var _ref49,
|
||||
noAlert,
|
||||
success,
|
||||
|
@ -29067,12 +28967,8 @@ function getImportLocale(_ref) {
|
|||
* @param {string} [localeInfo.lang=defaultLang] Defaults to `defaultLang` of {@link module:SVGEditor~getImportLocale}
|
||||
* @returns {Promise<module:locale.LocaleStrings>} Resolves to {@link module:locale.LocaleStrings}
|
||||
*/
|
||||
return (
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _importLocaleDefaulting = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return (/*#__PURE__*/function () {
|
||||
var _importLocaleDefaulting = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var _ref2,
|
||||
_ref2$name,
|
||||
name,
|
||||
|
@ -29595,12 +29491,8 @@ editor.init = function () {
|
|||
*/
|
||||
|
||||
|
||||
var extAndLocaleFunc =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref7 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3() {
|
||||
var extAndLocaleFunc = /*#__PURE__*/function () {
|
||||
var _ref7 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
||||
var _ref8, langParam, langData, _uiStrings$common, ok, cancel;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
|
@ -29627,12 +29519,8 @@ editor.init = function () {
|
|||
|
||||
_context3.prev = 10;
|
||||
_context3.next = 13;
|
||||
return Promise.all(curConfig.extensions.map(
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref9 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(extname) {
|
||||
return Promise.all(curConfig.extensions.map( /*#__PURE__*/function () {
|
||||
var _ref9 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(extname) {
|
||||
var extName, url, imported, _imported$name, _name2, init, importLocale;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
|
@ -30235,9 +30123,7 @@ editor.init = function () {
|
|||
'#tools_bottom label .svg_icon': 18
|
||||
},
|
||||
callback: function callback(icons) {
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee4() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
||||
var tleft, minHeight, size, getStylesheetPriority, stylesheets, idx, _stylesheets;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||
|
@ -30811,9 +30697,7 @@ editor.init = function () {
|
|||
|
||||
|
||||
function _promptImgURL() {
|
||||
_promptImgURL = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee18() {
|
||||
_promptImgURL = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee18() {
|
||||
var _ref35,
|
||||
_ref35$cancelDeletes,
|
||||
cancelDeletes,
|
||||
|
@ -32076,12 +31960,8 @@ editor.init = function () {
|
|||
* @returns {Promise<void>|void} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var extAdded =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref16 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee5(win, ext) {
|
||||
var extAdded = /*#__PURE__*/function () {
|
||||
var _ref16 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(win, ext) {
|
||||
var cbCalled, resizeDone, lang, prepResize, runCallback, btnSelects, svgicons, fallbackObj, altsObj, placementObj, holders;
|
||||
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
||||
while (1) {
|
||||
|
@ -32772,11 +32652,7 @@ editor.init = function () {
|
|||
}); // fired when user wants to move elements to another layer
|
||||
|
||||
var promptMoveLayerOnce = false;
|
||||
$$b('#selLayerNames').change(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee6() {
|
||||
$$b('#selLayerNames').change( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
||||
var destLayer, confirmStr, moveToLayer, ok;
|
||||
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
||||
while (1) {
|
||||
|
@ -33519,12 +33395,8 @@ editor.init = function () {
|
|||
*/
|
||||
|
||||
|
||||
var makeHyperlink =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref20 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee7() {
|
||||
var makeHyperlink = /*#__PURE__*/function () {
|
||||
var _ref20 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
|
||||
var url;
|
||||
return regeneratorRuntime.wrap(function _callee7$(_context7) {
|
||||
while (1) {
|
||||
|
@ -33674,12 +33546,8 @@ editor.init = function () {
|
|||
*/
|
||||
|
||||
|
||||
var clickClear =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref21 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee8() {
|
||||
var clickClear = /*#__PURE__*/function () {
|
||||
var _ref21 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
||||
var _curConfig$dimensions, x, y, ok;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee8$(_context8) {
|
||||
|
@ -33766,12 +33634,8 @@ editor.init = function () {
|
|||
* @returns {Promise<void>} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var clickExport =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref22 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee9() {
|
||||
var clickExport = /*#__PURE__*/function () {
|
||||
var _ref22 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
|
||||
var imgType, exportWindowName, openExportWindow, chrome, quality;
|
||||
return regeneratorRuntime.wrap(function _callee9$(_context9) {
|
||||
while (1) {
|
||||
|
@ -34067,12 +33931,8 @@ editor.init = function () {
|
|||
*/
|
||||
|
||||
|
||||
var saveSourceEditor =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref24 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee10() {
|
||||
var saveSourceEditor = /*#__PURE__*/function () {
|
||||
var _ref24 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
|
||||
var saveChanges, ok;
|
||||
return regeneratorRuntime.wrap(function _callee10$(_context10) {
|
||||
while (1) {
|
||||
|
@ -34212,11 +34072,7 @@ editor.init = function () {
|
|||
*/
|
||||
|
||||
|
||||
var savePreferences = editor.savePreferences =
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee11() {
|
||||
var savePreferences = editor.savePreferences = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
|
||||
var color, lang, _ref26, langParam, langData;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee11$(_context11) {
|
||||
|
@ -34277,12 +34133,8 @@ editor.init = function () {
|
|||
* @returns {Promise<void>} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var cancelOverlays =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref27 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee12() {
|
||||
var cancelOverlays = /*#__PURE__*/function () {
|
||||
var _ref27 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
|
||||
var ok;
|
||||
return regeneratorRuntime.wrap(function _callee12$(_context12) {
|
||||
while (1) {
|
||||
|
@ -34499,9 +34351,7 @@ editor.init = function () {
|
|||
*/
|
||||
|
||||
|
||||
var PaintBox =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var PaintBox = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string|Element|external:jQuery} container
|
||||
* @param {"fill"} type
|
||||
|
@ -34744,11 +34594,7 @@ editor.init = function () {
|
|||
$$b(this).removeClass('push_button_pressed').addClass('push_button');
|
||||
}); // ask for a layer name
|
||||
|
||||
$$b('#layer_new').click(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee13() {
|
||||
$$b('#layer_new').click( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee13() {
|
||||
var uniqName, i, newName;
|
||||
return regeneratorRuntime.wrap(function _callee13$(_context13) {
|
||||
while (1) {
|
||||
|
@ -34827,9 +34673,7 @@ editor.init = function () {
|
|||
|
||||
|
||||
function _cloneLayer() {
|
||||
_cloneLayer = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee19() {
|
||||
_cloneLayer = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee19() {
|
||||
var name, newName;
|
||||
return regeneratorRuntime.wrap(function _callee19$(_context19) {
|
||||
while (1) {
|
||||
|
@ -34907,11 +34751,7 @@ editor.init = function () {
|
|||
$$b('#layer_down').click(function () {
|
||||
moveLayer(1);
|
||||
});
|
||||
$$b('#layer_rename').click(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee14() {
|
||||
$$b('#layer_rename').click( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee14() {
|
||||
var oldName, newName;
|
||||
return regeneratorRuntime.wrap(function _callee14$(_context14) {
|
||||
while (1) {
|
||||
|
@ -36166,12 +36006,8 @@ editor.init = function () {
|
|||
workarea[0].addEventListener('dragover', onDragOver);
|
||||
workarea[0].addEventListener('dragleave', onDragLeave);
|
||||
workarea[0].addEventListener('drop', importImage);
|
||||
var open = $$b('<input type="file">').change(
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref31 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee16(e) {
|
||||
var open = $$b('<input type="file">').change( /*#__PURE__*/function () {
|
||||
var _ref31 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee16(e) {
|
||||
var ok, reader;
|
||||
return regeneratorRuntime.wrap(function _callee16$(_context16) {
|
||||
while (1) {
|
||||
|
@ -36197,12 +36033,8 @@ editor.init = function () {
|
|||
$$b.process_cancel(uiStrings$1.notification.loadingImage);
|
||||
reader = new FileReader();
|
||||
|
||||
reader.onloadend =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref32 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee15(_ref33) {
|
||||
reader.onloadend = /*#__PURE__*/function () {
|
||||
var _ref32 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee15(_ref33) {
|
||||
var target;
|
||||
return regeneratorRuntime.wrap(function _callee15$(_context15) {
|
||||
while (1) {
|
||||
|
@ -36268,12 +36100,8 @@ editor.init = function () {
|
|||
* @returns {Promise<void>} A Promise which resolves to `undefined`
|
||||
*/
|
||||
|
||||
var setLang = editor.setLang =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref34 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee17(lang, allStrings) {
|
||||
var setLang = editor.setLang = /*#__PURE__*/function () {
|
||||
var _ref34 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee17(lang, allStrings) {
|
||||
var oldLayerName, renameLayer, elems;
|
||||
return regeneratorRuntime.wrap(function _callee17$(_context17) {
|
||||
while (1) {
|
||||
|
@ -36462,11 +36290,7 @@ editor.ready = function (cb) {
|
|||
*/
|
||||
|
||||
|
||||
editor.runCallbacks =
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee20() {
|
||||
editor.runCallbacks = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee20() {
|
||||
return regeneratorRuntime.wrap(function _callee20$(_context20) {
|
||||
while (1) {
|
||||
switch (_context20.prev = _context20.next) {
|
||||
|
@ -36522,11 +36346,7 @@ editor.loadFromString = function (str) {
|
|||
var _ref43 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
||||
noAlert = _ref43.noAlert;
|
||||
|
||||
return editor.ready(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee21() {
|
||||
return editor.ready( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee21() {
|
||||
return regeneratorRuntime.wrap(function _callee21$(_context21) {
|
||||
while (1) {
|
||||
switch (_context21.prev = _context21.next) {
|
||||
|
@ -36721,9 +36541,7 @@ var messageListener = function messageListener(_ref47) {
|
|||
window.addEventListener('message', messageListener); // Run init once DOM is loaded
|
||||
// jQuery(editor.init);
|
||||
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee22() {
|
||||
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee22() {
|
||||
return regeneratorRuntime.wrap(function _callee22$(_context22) {
|
||||
while (1) {
|
||||
switch (_context22.prev = _context22.next) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -339,9 +339,7 @@
|
|||
(function () {
|
||||
if (!('SVGPathSeg' in window)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSeg
|
||||
var _SVGPathSeg =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _SVGPathSeg = /*#__PURE__*/function () {
|
||||
function _SVGPathSeg(type, typeAsLetter, owningPathSegList) {
|
||||
_classCallCheck(this, _SVGPathSeg);
|
||||
|
||||
|
@ -385,9 +383,7 @@
|
|||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
|
||||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
|
||||
|
||||
var _SVGPathSegClosePath =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg2) {
|
||||
var _SVGPathSegClosePath = /*#__PURE__*/function (_SVGPathSeg2) {
|
||||
_inherits(_SVGPathSegClosePath, _SVGPathSeg2);
|
||||
|
||||
function _SVGPathSegClosePath(owningPathSegList) {
|
||||
|
@ -416,9 +412,7 @@
|
|||
return _SVGPathSegClosePath;
|
||||
}(_SVGPathSeg);
|
||||
|
||||
var _SVGPathSegMovetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg3) {
|
||||
var _SVGPathSegMovetoAbs = /*#__PURE__*/function (_SVGPathSeg3) {
|
||||
_inherits(_SVGPathSegMovetoAbs, _SVGPathSeg3);
|
||||
|
||||
function _SVGPathSegMovetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -477,9 +471,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegMovetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg4) {
|
||||
var _SVGPathSegMovetoRel = /*#__PURE__*/function (_SVGPathSeg4) {
|
||||
_inherits(_SVGPathSegMovetoRel, _SVGPathSeg4);
|
||||
|
||||
function _SVGPathSegMovetoRel(owningPathSegList, x, y) {
|
||||
|
@ -538,9 +530,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg5) {
|
||||
var _SVGPathSegLinetoAbs = /*#__PURE__*/function (_SVGPathSeg5) {
|
||||
_inherits(_SVGPathSegLinetoAbs, _SVGPathSeg5);
|
||||
|
||||
function _SVGPathSegLinetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -599,9 +589,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg6) {
|
||||
var _SVGPathSegLinetoRel = /*#__PURE__*/function (_SVGPathSeg6) {
|
||||
_inherits(_SVGPathSegLinetoRel, _SVGPathSeg6);
|
||||
|
||||
function _SVGPathSegLinetoRel(owningPathSegList, x, y) {
|
||||
|
@ -660,9 +648,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg7) {
|
||||
var _SVGPathSegCurvetoCubicAbs = /*#__PURE__*/function (_SVGPathSeg7) {
|
||||
_inherits(_SVGPathSegCurvetoCubicAbs, _SVGPathSeg7);
|
||||
|
||||
function _SVGPathSegCurvetoCubicAbs(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -769,9 +755,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg8) {
|
||||
var _SVGPathSegCurvetoCubicRel = /*#__PURE__*/function (_SVGPathSeg8) {
|
||||
_inherits(_SVGPathSegCurvetoCubicRel, _SVGPathSeg8);
|
||||
|
||||
function _SVGPathSegCurvetoCubicRel(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -878,9 +862,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg9) {
|
||||
var _SVGPathSegCurvetoQuadraticAbs = /*#__PURE__*/function (_SVGPathSeg9) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticAbs, _SVGPathSeg9);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticAbs(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -963,9 +945,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg10) {
|
||||
var _SVGPathSegCurvetoQuadraticRel = /*#__PURE__*/function (_SVGPathSeg10) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticRel, _SVGPathSeg10);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticRel(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -1048,9 +1028,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg11) {
|
||||
var _SVGPathSegArcAbs = /*#__PURE__*/function (_SVGPathSeg11) {
|
||||
_inherits(_SVGPathSegArcAbs, _SVGPathSeg11);
|
||||
|
||||
function _SVGPathSegArcAbs(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1169,9 +1147,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg12) {
|
||||
var _SVGPathSegArcRel = /*#__PURE__*/function (_SVGPathSeg12) {
|
||||
_inherits(_SVGPathSegArcRel, _SVGPathSeg12);
|
||||
|
||||
function _SVGPathSegArcRel(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1290,9 +1266,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg13) {
|
||||
var _SVGPathSegLinetoHorizontalAbs = /*#__PURE__*/function (_SVGPathSeg13) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalAbs, _SVGPathSeg13);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalAbs(owningPathSegList, x) {
|
||||
|
@ -1337,9 +1311,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg14) {
|
||||
var _SVGPathSegLinetoHorizontalRel = /*#__PURE__*/function (_SVGPathSeg14) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalRel, _SVGPathSeg14);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalRel(owningPathSegList, x) {
|
||||
|
@ -1384,9 +1356,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg15) {
|
||||
var _SVGPathSegLinetoVerticalAbs = /*#__PURE__*/function (_SVGPathSeg15) {
|
||||
_inherits(_SVGPathSegLinetoVerticalAbs, _SVGPathSeg15);
|
||||
|
||||
function _SVGPathSegLinetoVerticalAbs(owningPathSegList, y) {
|
||||
|
@ -1431,9 +1401,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg16) {
|
||||
var _SVGPathSegLinetoVerticalRel = /*#__PURE__*/function (_SVGPathSeg16) {
|
||||
_inherits(_SVGPathSegLinetoVerticalRel, _SVGPathSeg16);
|
||||
|
||||
function _SVGPathSegLinetoVerticalRel(owningPathSegList, y) {
|
||||
|
@ -1478,9 +1446,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg17) {
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs = /*#__PURE__*/function (_SVGPathSeg17) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothAbs, _SVGPathSeg17);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothAbs(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1563,9 +1529,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg18) {
|
||||
var _SVGPathSegCurvetoCubicSmoothRel = /*#__PURE__*/function (_SVGPathSeg18) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothRel, _SVGPathSeg18);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothRel(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1648,9 +1612,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg19) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs = /*#__PURE__*/function (_SVGPathSeg19) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothAbs, _SVGPathSeg19);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothAbs(owningPathSegList, x, y) {
|
||||
|
@ -1709,9 +1671,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg20) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel = /*#__PURE__*/function (_SVGPathSeg20) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothRel, _SVGPathSeg20);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothRel(owningPathSegList, x, y) {
|
||||
|
@ -1907,9 +1867,7 @@
|
|||
|
||||
if (!('SVGPathSegList' in window) || !('appendItem' in window.SVGPathSegList.prototype)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSegList
|
||||
var SVGPathSegList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGPathSegList = /*#__PURE__*/function () {
|
||||
function SVGPathSegList(pathElement) {
|
||||
_classCallCheck(this, SVGPathSegList);
|
||||
|
||||
|
@ -2093,9 +2051,7 @@
|
|||
|
||||
var owningPathSegList = this; // eslint-disable-line consistent-this
|
||||
|
||||
var Builder =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Builder = /*#__PURE__*/function () {
|
||||
function Builder() {
|
||||
_classCallCheck(this, Builder);
|
||||
|
||||
|
@ -2112,9 +2068,7 @@
|
|||
return Builder;
|
||||
}();
|
||||
|
||||
var Source =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Source = /*#__PURE__*/function () {
|
||||
function Source(string) {
|
||||
_classCallCheck(this, Source);
|
||||
|
||||
|
@ -3139,9 +3093,7 @@
|
|||
* @implements {module:SVGTransformList.SVGEditTransformList}
|
||||
*/
|
||||
|
||||
var SVGTransformList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGTransformList = /*#__PURE__*/function () {
|
||||
// eslint-disable-line no-shadow
|
||||
|
||||
/**
|
||||
|
@ -3777,9 +3729,7 @@
|
|||
* Base class for commands.
|
||||
*/
|
||||
|
||||
var Command =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Command = /*#__PURE__*/function () {
|
||||
function Command() {
|
||||
_classCallCheck(this, Command);
|
||||
}
|
||||
|
@ -3873,9 +3823,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var MoveElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command) {
|
||||
var MoveElementCommand = /*#__PURE__*/function (_Command) {
|
||||
_inherits(MoveElementCommand, _Command);
|
||||
|
||||
/**
|
||||
|
@ -3969,9 +3917,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var InsertElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command2) {
|
||||
var InsertElementCommand = /*#__PURE__*/function (_Command2) {
|
||||
_inherits(InsertElementCommand, _Command2);
|
||||
|
||||
/**
|
||||
|
@ -4061,9 +4007,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var RemoveElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command3) {
|
||||
var RemoveElementCommand = /*#__PURE__*/function (_Command3) {
|
||||
_inherits(RemoveElementCommand, _Command3);
|
||||
|
||||
/**
|
||||
|
@ -4175,9 +4119,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var ChangeElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command4) {
|
||||
var ChangeElementCommand = /*#__PURE__*/function (_Command4) {
|
||||
_inherits(ChangeElementCommand, _Command4);
|
||||
|
||||
/**
|
||||
|
@ -4370,9 +4312,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var BatchCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command5) {
|
||||
var BatchCommand = /*#__PURE__*/function (_Command5) {
|
||||
_inherits(BatchCommand, _Command5);
|
||||
|
||||
/**
|
||||
|
@ -4498,9 +4438,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
var UndoManager =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var UndoManager = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {module:history.HistoryEventHandler} historyEventHandler
|
||||
*/
|
||||
|
@ -5639,9 +5577,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
var Segment =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Segment = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {Integer} index
|
||||
* @param {SVGPathSeg} item
|
||||
|
@ -5869,9 +5805,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
var Path =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Path = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {SVGPathElement} elem
|
||||
* @throws {Error} If constructed without a path element
|
||||
|
@ -9499,9 +9433,7 @@
|
|||
*/
|
||||
|
||||
function _importSetGlobal() {
|
||||
_importSetGlobal = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(url, _ref2) {
|
||||
_importSetGlobal = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(url, _ref2) {
|
||||
var glob, returnDefault, modularVersion;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -9962,9 +9894,7 @@
|
|||
* @memberof module:layer
|
||||
*/
|
||||
|
||||
var Layer =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Layer = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string} name - Layer name
|
||||
* @param {SVGGElement|null} group - An existing SVG group element or null.
|
||||
|
@ -10259,9 +10189,7 @@
|
|||
* @memberof module:history
|
||||
*/
|
||||
|
||||
var HistoryRecordingService =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var HistoryRecordingService = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {history.UndoManager|null} undoManager - The undo manager.
|
||||
* A value of `null` is valid for cases where no history recording is required.
|
||||
|
@ -10474,9 +10402,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var Drawing =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Drawing = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {SVGSVGElement} svgElem - The SVG DOM Element that this JS object
|
||||
* encapsulates. If the svgElem has a se:nonce attribute on it, then
|
||||
|
@ -13143,9 +13069,7 @@
|
|||
* Private class for DOM element selection boxes.
|
||||
*/
|
||||
|
||||
var Selector =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Selector = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {Integer} id - Internally identify the selector
|
||||
* @param {Element} elem - DOM element associated with this selector
|
||||
|
@ -13392,9 +13316,7 @@
|
|||
* Manage all selector objects (selection boxes).
|
||||
*/
|
||||
|
||||
var SelectorManager =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SelectorManager = /*#__PURE__*/function () {
|
||||
/**
|
||||
* Sets up properties and calls `initGroup`.
|
||||
*/
|
||||
|
@ -14867,12 +14789,8 @@
|
|||
*/
|
||||
|
||||
|
||||
this.addExtension =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref3 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(name, extInitFunc, _ref4) {
|
||||
this.addExtension = /*#__PURE__*/function () {
|
||||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(name, extInitFunc, _ref4) {
|
||||
var jq, importLocale, argObj, extObj;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -18085,12 +18003,8 @@
|
|||
* @returns {Promise<module:svgcanvas.ImageExportedResults>} Resolves to {@link module:svgcanvas.ImageExportedResults}
|
||||
*/
|
||||
|
||||
this.rasterExport =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref5 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(imgType, quality, exportWindowName) {
|
||||
this.rasterExport = /*#__PURE__*/function () {
|
||||
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(imgType, quality, exportWindowName) {
|
||||
var opts,
|
||||
type,
|
||||
mimeType,
|
||||
|
@ -18233,12 +18147,8 @@
|
|||
*/
|
||||
|
||||
|
||||
this.exportPDF =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref7 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3(exportWindowName) {
|
||||
this.exportPDF = /*#__PURE__*/function () {
|
||||
var _ref7 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(exportWindowName) {
|
||||
var outputType,
|
||||
modularVersion,
|
||||
res,
|
||||
|
@ -28224,12 +28134,8 @@
|
|||
* @returns {Promise<module:locale.LangAndData>} Resolves to [`LangAndData`]{@link module:locale.LangAndData}
|
||||
*/
|
||||
|
||||
var readLang =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref3 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(langData) {
|
||||
var readLang = /*#__PURE__*/function () {
|
||||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(langData) {
|
||||
var more, _langData, tools, properties, config, layers, common, ui, opts, ariaLabels;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
|
@ -28479,12 +28385,8 @@
|
|||
* @returns {Promise<module:locale.LangAndData>} Resolves to result of {@link module:locale.readLang}
|
||||
*/
|
||||
|
||||
var putLocale =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref8 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(givenParam, goodLangs, conf) {
|
||||
var putLocale = /*#__PURE__*/function () {
|
||||
var _ref8 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(givenParam, goodLangs, conf) {
|
||||
var url;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -29015,9 +28917,7 @@
|
|||
|
||||
|
||||
function _loadSvgString() {
|
||||
_loadSvgString = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee23(str) {
|
||||
_loadSvgString = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee23(str) {
|
||||
var _ref49,
|
||||
noAlert,
|
||||
success,
|
||||
|
@ -29073,12 +28973,8 @@
|
|||
* @param {string} [localeInfo.lang=defaultLang] Defaults to `defaultLang` of {@link module:SVGEditor~getImportLocale}
|
||||
* @returns {Promise<module:locale.LocaleStrings>} Resolves to {@link module:locale.LocaleStrings}
|
||||
*/
|
||||
return (
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _importLocaleDefaulting = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return (/*#__PURE__*/function () {
|
||||
var _importLocaleDefaulting = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var _ref2,
|
||||
_ref2$name,
|
||||
name,
|
||||
|
@ -29601,12 +29497,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var extAndLocaleFunc =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref7 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3() {
|
||||
var extAndLocaleFunc = /*#__PURE__*/function () {
|
||||
var _ref7 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
||||
var _ref8, langParam, langData, _uiStrings$common, ok, cancel;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
|
@ -29633,12 +29525,8 @@
|
|||
|
||||
_context3.prev = 10;
|
||||
_context3.next = 13;
|
||||
return Promise.all(curConfig.extensions.map(
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref9 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(extname) {
|
||||
return Promise.all(curConfig.extensions.map( /*#__PURE__*/function () {
|
||||
var _ref9 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(extname) {
|
||||
var extName, url, imported, _imported$name, _name2, init, importLocale;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
|
@ -30241,9 +30129,7 @@
|
|||
'#tools_bottom label .svg_icon': 18
|
||||
},
|
||||
callback: function callback(icons) {
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee4() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
||||
var tleft, minHeight, size, getStylesheetPriority, stylesheets, idx, _stylesheets;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||
|
@ -30817,9 +30703,7 @@
|
|||
|
||||
|
||||
function _promptImgURL() {
|
||||
_promptImgURL = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee18() {
|
||||
_promptImgURL = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee18() {
|
||||
var _ref35,
|
||||
_ref35$cancelDeletes,
|
||||
cancelDeletes,
|
||||
|
@ -32082,12 +31966,8 @@
|
|||
* @returns {Promise<void>|void} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var extAdded =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref16 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee5(win, ext) {
|
||||
var extAdded = /*#__PURE__*/function () {
|
||||
var _ref16 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(win, ext) {
|
||||
var cbCalled, resizeDone, lang, prepResize, runCallback, btnSelects, svgicons, fallbackObj, altsObj, placementObj, holders;
|
||||
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
||||
while (1) {
|
||||
|
@ -32778,11 +32658,7 @@
|
|||
}); // fired when user wants to move elements to another layer
|
||||
|
||||
var promptMoveLayerOnce = false;
|
||||
$$b('#selLayerNames').change(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee6() {
|
||||
$$b('#selLayerNames').change( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
||||
var destLayer, confirmStr, moveToLayer, ok;
|
||||
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
||||
while (1) {
|
||||
|
@ -33525,12 +33401,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var makeHyperlink =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref20 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee7() {
|
||||
var makeHyperlink = /*#__PURE__*/function () {
|
||||
var _ref20 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
|
||||
var url;
|
||||
return regeneratorRuntime.wrap(function _callee7$(_context7) {
|
||||
while (1) {
|
||||
|
@ -33680,12 +33552,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var clickClear =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref21 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee8() {
|
||||
var clickClear = /*#__PURE__*/function () {
|
||||
var _ref21 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
||||
var _curConfig$dimensions, x, y, ok;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee8$(_context8) {
|
||||
|
@ -33772,12 +33640,8 @@
|
|||
* @returns {Promise<void>} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var clickExport =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref22 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee9() {
|
||||
var clickExport = /*#__PURE__*/function () {
|
||||
var _ref22 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
|
||||
var imgType, exportWindowName, openExportWindow, chrome, quality;
|
||||
return regeneratorRuntime.wrap(function _callee9$(_context9) {
|
||||
while (1) {
|
||||
|
@ -34073,12 +33937,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var saveSourceEditor =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref24 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee10() {
|
||||
var saveSourceEditor = /*#__PURE__*/function () {
|
||||
var _ref24 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
|
||||
var saveChanges, ok;
|
||||
return regeneratorRuntime.wrap(function _callee10$(_context10) {
|
||||
while (1) {
|
||||
|
@ -34218,11 +34078,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var savePreferences = editor.savePreferences =
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee11() {
|
||||
var savePreferences = editor.savePreferences = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
|
||||
var color, lang, _ref26, langParam, langData;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee11$(_context11) {
|
||||
|
@ -34283,12 +34139,8 @@
|
|||
* @returns {Promise<void>} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var cancelOverlays =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref27 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee12() {
|
||||
var cancelOverlays = /*#__PURE__*/function () {
|
||||
var _ref27 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
|
||||
var ok;
|
||||
return regeneratorRuntime.wrap(function _callee12$(_context12) {
|
||||
while (1) {
|
||||
|
@ -34505,9 +34357,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var PaintBox =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var PaintBox = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string|Element|external:jQuery} container
|
||||
* @param {"fill"} type
|
||||
|
@ -34750,11 +34600,7 @@
|
|||
$$b(this).removeClass('push_button_pressed').addClass('push_button');
|
||||
}); // ask for a layer name
|
||||
|
||||
$$b('#layer_new').click(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee13() {
|
||||
$$b('#layer_new').click( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee13() {
|
||||
var uniqName, i, newName;
|
||||
return regeneratorRuntime.wrap(function _callee13$(_context13) {
|
||||
while (1) {
|
||||
|
@ -34833,9 +34679,7 @@
|
|||
|
||||
|
||||
function _cloneLayer() {
|
||||
_cloneLayer = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee19() {
|
||||
_cloneLayer = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee19() {
|
||||
var name, newName;
|
||||
return regeneratorRuntime.wrap(function _callee19$(_context19) {
|
||||
while (1) {
|
||||
|
@ -34913,11 +34757,7 @@
|
|||
$$b('#layer_down').click(function () {
|
||||
moveLayer(1);
|
||||
});
|
||||
$$b('#layer_rename').click(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee14() {
|
||||
$$b('#layer_rename').click( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee14() {
|
||||
var oldName, newName;
|
||||
return regeneratorRuntime.wrap(function _callee14$(_context14) {
|
||||
while (1) {
|
||||
|
@ -36172,12 +36012,8 @@
|
|||
workarea[0].addEventListener('dragover', onDragOver);
|
||||
workarea[0].addEventListener('dragleave', onDragLeave);
|
||||
workarea[0].addEventListener('drop', importImage);
|
||||
var open = $$b('<input type="file">').change(
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref31 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee16(e) {
|
||||
var open = $$b('<input type="file">').change( /*#__PURE__*/function () {
|
||||
var _ref31 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee16(e) {
|
||||
var ok, reader;
|
||||
return regeneratorRuntime.wrap(function _callee16$(_context16) {
|
||||
while (1) {
|
||||
|
@ -36203,12 +36039,8 @@
|
|||
$$b.process_cancel(uiStrings$1.notification.loadingImage);
|
||||
reader = new FileReader();
|
||||
|
||||
reader.onloadend =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref32 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee15(_ref33) {
|
||||
reader.onloadend = /*#__PURE__*/function () {
|
||||
var _ref32 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee15(_ref33) {
|
||||
var target;
|
||||
return regeneratorRuntime.wrap(function _callee15$(_context15) {
|
||||
while (1) {
|
||||
|
@ -36274,12 +36106,8 @@
|
|||
* @returns {Promise<void>} A Promise which resolves to `undefined`
|
||||
*/
|
||||
|
||||
var setLang = editor.setLang =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref34 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee17(lang, allStrings) {
|
||||
var setLang = editor.setLang = /*#__PURE__*/function () {
|
||||
var _ref34 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee17(lang, allStrings) {
|
||||
var oldLayerName, renameLayer, elems;
|
||||
return regeneratorRuntime.wrap(function _callee17$(_context17) {
|
||||
while (1) {
|
||||
|
@ -36468,11 +36296,7 @@
|
|||
*/
|
||||
|
||||
|
||||
editor.runCallbacks =
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee20() {
|
||||
editor.runCallbacks = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee20() {
|
||||
return regeneratorRuntime.wrap(function _callee20$(_context20) {
|
||||
while (1) {
|
||||
switch (_context20.prev = _context20.next) {
|
||||
|
@ -36528,11 +36352,7 @@
|
|||
var _ref43 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
||||
noAlert = _ref43.noAlert;
|
||||
|
||||
return editor.ready(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee21() {
|
||||
return editor.ready( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee21() {
|
||||
return regeneratorRuntime.wrap(function _callee21$(_context21) {
|
||||
while (1) {
|
||||
switch (_context21.prev = _context21.next) {
|
||||
|
@ -36727,9 +36547,7 @@
|
|||
window.addEventListener('message', messageListener); // Run init once DOM is loaded
|
||||
// jQuery(editor.init);
|
||||
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee22() {
|
||||
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee22() {
|
||||
return regeneratorRuntime.wrap(function _callee22$(_context22) {
|
||||
while (1) {
|
||||
switch (_context22.prev = _context22.next) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -282,9 +282,7 @@
|
|||
* A class to parse color values.
|
||||
*/
|
||||
|
||||
var RGBColor =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var RGBColor = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string} colorString
|
||||
*/
|
||||
|
|
|
@ -113,9 +113,7 @@
|
|||
(function () {
|
||||
if (!('SVGPathSeg' in window)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSeg
|
||||
var _SVGPathSeg =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _SVGPathSeg = /*#__PURE__*/function () {
|
||||
function _SVGPathSeg(type, typeAsLetter, owningPathSegList) {
|
||||
_classCallCheck(this, _SVGPathSeg);
|
||||
|
||||
|
@ -159,9 +157,7 @@
|
|||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
|
||||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
|
||||
|
||||
var _SVGPathSegClosePath =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg2) {
|
||||
var _SVGPathSegClosePath = /*#__PURE__*/function (_SVGPathSeg2) {
|
||||
_inherits(_SVGPathSegClosePath, _SVGPathSeg2);
|
||||
|
||||
function _SVGPathSegClosePath(owningPathSegList) {
|
||||
|
@ -190,9 +186,7 @@
|
|||
return _SVGPathSegClosePath;
|
||||
}(_SVGPathSeg);
|
||||
|
||||
var _SVGPathSegMovetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg3) {
|
||||
var _SVGPathSegMovetoAbs = /*#__PURE__*/function (_SVGPathSeg3) {
|
||||
_inherits(_SVGPathSegMovetoAbs, _SVGPathSeg3);
|
||||
|
||||
function _SVGPathSegMovetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -251,9 +245,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegMovetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg4) {
|
||||
var _SVGPathSegMovetoRel = /*#__PURE__*/function (_SVGPathSeg4) {
|
||||
_inherits(_SVGPathSegMovetoRel, _SVGPathSeg4);
|
||||
|
||||
function _SVGPathSegMovetoRel(owningPathSegList, x, y) {
|
||||
|
@ -312,9 +304,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg5) {
|
||||
var _SVGPathSegLinetoAbs = /*#__PURE__*/function (_SVGPathSeg5) {
|
||||
_inherits(_SVGPathSegLinetoAbs, _SVGPathSeg5);
|
||||
|
||||
function _SVGPathSegLinetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -373,9 +363,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg6) {
|
||||
var _SVGPathSegLinetoRel = /*#__PURE__*/function (_SVGPathSeg6) {
|
||||
_inherits(_SVGPathSegLinetoRel, _SVGPathSeg6);
|
||||
|
||||
function _SVGPathSegLinetoRel(owningPathSegList, x, y) {
|
||||
|
@ -434,9 +422,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg7) {
|
||||
var _SVGPathSegCurvetoCubicAbs = /*#__PURE__*/function (_SVGPathSeg7) {
|
||||
_inherits(_SVGPathSegCurvetoCubicAbs, _SVGPathSeg7);
|
||||
|
||||
function _SVGPathSegCurvetoCubicAbs(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -543,9 +529,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg8) {
|
||||
var _SVGPathSegCurvetoCubicRel = /*#__PURE__*/function (_SVGPathSeg8) {
|
||||
_inherits(_SVGPathSegCurvetoCubicRel, _SVGPathSeg8);
|
||||
|
||||
function _SVGPathSegCurvetoCubicRel(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -652,9 +636,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg9) {
|
||||
var _SVGPathSegCurvetoQuadraticAbs = /*#__PURE__*/function (_SVGPathSeg9) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticAbs, _SVGPathSeg9);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticAbs(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -737,9 +719,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg10) {
|
||||
var _SVGPathSegCurvetoQuadraticRel = /*#__PURE__*/function (_SVGPathSeg10) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticRel, _SVGPathSeg10);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticRel(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -822,9 +802,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg11) {
|
||||
var _SVGPathSegArcAbs = /*#__PURE__*/function (_SVGPathSeg11) {
|
||||
_inherits(_SVGPathSegArcAbs, _SVGPathSeg11);
|
||||
|
||||
function _SVGPathSegArcAbs(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -943,9 +921,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg12) {
|
||||
var _SVGPathSegArcRel = /*#__PURE__*/function (_SVGPathSeg12) {
|
||||
_inherits(_SVGPathSegArcRel, _SVGPathSeg12);
|
||||
|
||||
function _SVGPathSegArcRel(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1064,9 +1040,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg13) {
|
||||
var _SVGPathSegLinetoHorizontalAbs = /*#__PURE__*/function (_SVGPathSeg13) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalAbs, _SVGPathSeg13);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalAbs(owningPathSegList, x) {
|
||||
|
@ -1111,9 +1085,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg14) {
|
||||
var _SVGPathSegLinetoHorizontalRel = /*#__PURE__*/function (_SVGPathSeg14) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalRel, _SVGPathSeg14);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalRel(owningPathSegList, x) {
|
||||
|
@ -1158,9 +1130,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg15) {
|
||||
var _SVGPathSegLinetoVerticalAbs = /*#__PURE__*/function (_SVGPathSeg15) {
|
||||
_inherits(_SVGPathSegLinetoVerticalAbs, _SVGPathSeg15);
|
||||
|
||||
function _SVGPathSegLinetoVerticalAbs(owningPathSegList, y) {
|
||||
|
@ -1205,9 +1175,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg16) {
|
||||
var _SVGPathSegLinetoVerticalRel = /*#__PURE__*/function (_SVGPathSeg16) {
|
||||
_inherits(_SVGPathSegLinetoVerticalRel, _SVGPathSeg16);
|
||||
|
||||
function _SVGPathSegLinetoVerticalRel(owningPathSegList, y) {
|
||||
|
@ -1252,9 +1220,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg17) {
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs = /*#__PURE__*/function (_SVGPathSeg17) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothAbs, _SVGPathSeg17);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothAbs(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1337,9 +1303,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg18) {
|
||||
var _SVGPathSegCurvetoCubicSmoothRel = /*#__PURE__*/function (_SVGPathSeg18) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothRel, _SVGPathSeg18);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothRel(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1422,9 +1386,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg19) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs = /*#__PURE__*/function (_SVGPathSeg19) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothAbs, _SVGPathSeg19);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothAbs(owningPathSegList, x, y) {
|
||||
|
@ -1483,9 +1445,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg20) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel = /*#__PURE__*/function (_SVGPathSeg20) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothRel, _SVGPathSeg20);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothRel(owningPathSegList, x, y) {
|
||||
|
@ -1681,9 +1641,7 @@
|
|||
|
||||
if (!('SVGPathSegList' in window) || !('appendItem' in window.SVGPathSegList.prototype)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSegList
|
||||
var SVGPathSegList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGPathSegList = /*#__PURE__*/function () {
|
||||
function SVGPathSegList(pathElement) {
|
||||
_classCallCheck(this, SVGPathSegList);
|
||||
|
||||
|
@ -1867,9 +1825,7 @@
|
|||
|
||||
var owningPathSegList = this; // eslint-disable-line consistent-this
|
||||
|
||||
var Builder =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Builder = /*#__PURE__*/function () {
|
||||
function Builder() {
|
||||
_classCallCheck(this, Builder);
|
||||
|
||||
|
@ -1886,9 +1842,7 @@
|
|||
return Builder;
|
||||
}();
|
||||
|
||||
var Source =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Source = /*#__PURE__*/function () {
|
||||
function Source(string) {
|
||||
_classCallCheck(this, Source);
|
||||
|
||||
|
|
|
@ -211,9 +211,7 @@ var SvgCanvas = (function () {
|
|||
(function () {
|
||||
if (!('SVGPathSeg' in window)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSeg
|
||||
var _SVGPathSeg =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _SVGPathSeg = /*#__PURE__*/function () {
|
||||
function _SVGPathSeg(type, typeAsLetter, owningPathSegList) {
|
||||
_classCallCheck(this, _SVGPathSeg);
|
||||
|
||||
|
@ -257,9 +255,7 @@ var SvgCanvas = (function () {
|
|||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
|
||||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
|
||||
|
||||
var _SVGPathSegClosePath =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg2) {
|
||||
var _SVGPathSegClosePath = /*#__PURE__*/function (_SVGPathSeg2) {
|
||||
_inherits(_SVGPathSegClosePath, _SVGPathSeg2);
|
||||
|
||||
function _SVGPathSegClosePath(owningPathSegList) {
|
||||
|
@ -288,9 +284,7 @@ var SvgCanvas = (function () {
|
|||
return _SVGPathSegClosePath;
|
||||
}(_SVGPathSeg);
|
||||
|
||||
var _SVGPathSegMovetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg3) {
|
||||
var _SVGPathSegMovetoAbs = /*#__PURE__*/function (_SVGPathSeg3) {
|
||||
_inherits(_SVGPathSegMovetoAbs, _SVGPathSeg3);
|
||||
|
||||
function _SVGPathSegMovetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -349,9 +343,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegMovetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg4) {
|
||||
var _SVGPathSegMovetoRel = /*#__PURE__*/function (_SVGPathSeg4) {
|
||||
_inherits(_SVGPathSegMovetoRel, _SVGPathSeg4);
|
||||
|
||||
function _SVGPathSegMovetoRel(owningPathSegList, x, y) {
|
||||
|
@ -410,9 +402,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg5) {
|
||||
var _SVGPathSegLinetoAbs = /*#__PURE__*/function (_SVGPathSeg5) {
|
||||
_inherits(_SVGPathSegLinetoAbs, _SVGPathSeg5);
|
||||
|
||||
function _SVGPathSegLinetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -471,9 +461,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg6) {
|
||||
var _SVGPathSegLinetoRel = /*#__PURE__*/function (_SVGPathSeg6) {
|
||||
_inherits(_SVGPathSegLinetoRel, _SVGPathSeg6);
|
||||
|
||||
function _SVGPathSegLinetoRel(owningPathSegList, x, y) {
|
||||
|
@ -532,9 +520,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg7) {
|
||||
var _SVGPathSegCurvetoCubicAbs = /*#__PURE__*/function (_SVGPathSeg7) {
|
||||
_inherits(_SVGPathSegCurvetoCubicAbs, _SVGPathSeg7);
|
||||
|
||||
function _SVGPathSegCurvetoCubicAbs(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -641,9 +627,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg8) {
|
||||
var _SVGPathSegCurvetoCubicRel = /*#__PURE__*/function (_SVGPathSeg8) {
|
||||
_inherits(_SVGPathSegCurvetoCubicRel, _SVGPathSeg8);
|
||||
|
||||
function _SVGPathSegCurvetoCubicRel(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -750,9 +734,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg9) {
|
||||
var _SVGPathSegCurvetoQuadraticAbs = /*#__PURE__*/function (_SVGPathSeg9) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticAbs, _SVGPathSeg9);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticAbs(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -835,9 +817,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg10) {
|
||||
var _SVGPathSegCurvetoQuadraticRel = /*#__PURE__*/function (_SVGPathSeg10) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticRel, _SVGPathSeg10);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticRel(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -920,9 +900,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg11) {
|
||||
var _SVGPathSegArcAbs = /*#__PURE__*/function (_SVGPathSeg11) {
|
||||
_inherits(_SVGPathSegArcAbs, _SVGPathSeg11);
|
||||
|
||||
function _SVGPathSegArcAbs(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1041,9 +1019,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg12) {
|
||||
var _SVGPathSegArcRel = /*#__PURE__*/function (_SVGPathSeg12) {
|
||||
_inherits(_SVGPathSegArcRel, _SVGPathSeg12);
|
||||
|
||||
function _SVGPathSegArcRel(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1162,9 +1138,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg13) {
|
||||
var _SVGPathSegLinetoHorizontalAbs = /*#__PURE__*/function (_SVGPathSeg13) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalAbs, _SVGPathSeg13);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalAbs(owningPathSegList, x) {
|
||||
|
@ -1209,9 +1183,7 @@ var SvgCanvas = (function () {
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg14) {
|
||||
var _SVGPathSegLinetoHorizontalRel = /*#__PURE__*/function (_SVGPathSeg14) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalRel, _SVGPathSeg14);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalRel(owningPathSegList, x) {
|
||||
|
@ -1256,9 +1228,7 @@ var SvgCanvas = (function () {
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg15) {
|
||||
var _SVGPathSegLinetoVerticalAbs = /*#__PURE__*/function (_SVGPathSeg15) {
|
||||
_inherits(_SVGPathSegLinetoVerticalAbs, _SVGPathSeg15);
|
||||
|
||||
function _SVGPathSegLinetoVerticalAbs(owningPathSegList, y) {
|
||||
|
@ -1303,9 +1273,7 @@ var SvgCanvas = (function () {
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg16) {
|
||||
var _SVGPathSegLinetoVerticalRel = /*#__PURE__*/function (_SVGPathSeg16) {
|
||||
_inherits(_SVGPathSegLinetoVerticalRel, _SVGPathSeg16);
|
||||
|
||||
function _SVGPathSegLinetoVerticalRel(owningPathSegList, y) {
|
||||
|
@ -1350,9 +1318,7 @@ var SvgCanvas = (function () {
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg17) {
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs = /*#__PURE__*/function (_SVGPathSeg17) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothAbs, _SVGPathSeg17);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothAbs(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1435,9 +1401,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg18) {
|
||||
var _SVGPathSegCurvetoCubicSmoothRel = /*#__PURE__*/function (_SVGPathSeg18) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothRel, _SVGPathSeg18);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothRel(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1520,9 +1484,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg19) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs = /*#__PURE__*/function (_SVGPathSeg19) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothAbs, _SVGPathSeg19);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothAbs(owningPathSegList, x, y) {
|
||||
|
@ -1581,9 +1543,7 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg20) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel = /*#__PURE__*/function (_SVGPathSeg20) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothRel, _SVGPathSeg20);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothRel(owningPathSegList, x, y) {
|
||||
|
@ -1779,9 +1739,7 @@ var SvgCanvas = (function () {
|
|||
|
||||
if (!('SVGPathSegList' in window) || !('appendItem' in window.SVGPathSegList.prototype)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSegList
|
||||
var SVGPathSegList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGPathSegList = /*#__PURE__*/function () {
|
||||
function SVGPathSegList(pathElement) {
|
||||
_classCallCheck(this, SVGPathSegList);
|
||||
|
||||
|
@ -1965,9 +1923,7 @@ var SvgCanvas = (function () {
|
|||
|
||||
var owningPathSegList = this; // eslint-disable-line consistent-this
|
||||
|
||||
var Builder =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Builder = /*#__PURE__*/function () {
|
||||
function Builder() {
|
||||
_classCallCheck(this, Builder);
|
||||
|
||||
|
@ -1984,9 +1940,7 @@ var SvgCanvas = (function () {
|
|||
return Builder;
|
||||
}();
|
||||
|
||||
var Source =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Source = /*#__PURE__*/function () {
|
||||
function Source(string) {
|
||||
_classCallCheck(this, Source);
|
||||
|
||||
|
@ -3248,9 +3202,7 @@ var SvgCanvas = (function () {
|
|||
* @implements {module:SVGTransformList.SVGEditTransformList}
|
||||
*/
|
||||
|
||||
var SVGTransformList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGTransformList = /*#__PURE__*/function () {
|
||||
// eslint-disable-line no-shadow
|
||||
|
||||
/**
|
||||
|
@ -3843,9 +3795,7 @@ var SvgCanvas = (function () {
|
|||
* Base class for commands.
|
||||
*/
|
||||
|
||||
var Command =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Command = /*#__PURE__*/function () {
|
||||
function Command() {
|
||||
_classCallCheck(this, Command);
|
||||
}
|
||||
|
@ -3939,9 +3889,7 @@ var SvgCanvas = (function () {
|
|||
*/
|
||||
|
||||
|
||||
var MoveElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command) {
|
||||
var MoveElementCommand = /*#__PURE__*/function (_Command) {
|
||||
_inherits(MoveElementCommand, _Command);
|
||||
|
||||
/**
|
||||
|
@ -4035,9 +3983,7 @@ var SvgCanvas = (function () {
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var InsertElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command2) {
|
||||
var InsertElementCommand = /*#__PURE__*/function (_Command2) {
|
||||
_inherits(InsertElementCommand, _Command2);
|
||||
|
||||
/**
|
||||
|
@ -4127,9 +4073,7 @@ var SvgCanvas = (function () {
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var RemoveElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command3) {
|
||||
var RemoveElementCommand = /*#__PURE__*/function (_Command3) {
|
||||
_inherits(RemoveElementCommand, _Command3);
|
||||
|
||||
/**
|
||||
|
@ -4241,9 +4185,7 @@ var SvgCanvas = (function () {
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var ChangeElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command4) {
|
||||
var ChangeElementCommand = /*#__PURE__*/function (_Command4) {
|
||||
_inherits(ChangeElementCommand, _Command4);
|
||||
|
||||
/**
|
||||
|
@ -4436,9 +4378,7 @@ var SvgCanvas = (function () {
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var BatchCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command5) {
|
||||
var BatchCommand = /*#__PURE__*/function (_Command5) {
|
||||
_inherits(BatchCommand, _Command5);
|
||||
|
||||
/**
|
||||
|
@ -4564,9 +4504,7 @@ var SvgCanvas = (function () {
|
|||
*
|
||||
*/
|
||||
|
||||
var UndoManager =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var UndoManager = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {module:history.HistoryEventHandler} historyEventHandler
|
||||
*/
|
||||
|
@ -5705,9 +5643,7 @@ var SvgCanvas = (function () {
|
|||
*
|
||||
*/
|
||||
|
||||
var Segment =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Segment = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {Integer} index
|
||||
* @param {SVGPathSeg} item
|
||||
|
@ -5935,9 +5871,7 @@ var SvgCanvas = (function () {
|
|||
*
|
||||
*/
|
||||
|
||||
var Path =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Path = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {SVGPathElement} elem
|
||||
* @throws {Error} If constructed without a path element
|
||||
|
@ -9434,9 +9368,7 @@ var SvgCanvas = (function () {
|
|||
* @memberof module:layer
|
||||
*/
|
||||
|
||||
var Layer =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Layer = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string} name - Layer name
|
||||
* @param {SVGGElement|null} group - An existing SVG group element or null.
|
||||
|
@ -9731,9 +9663,7 @@ var SvgCanvas = (function () {
|
|||
* @memberof module:history
|
||||
*/
|
||||
|
||||
var HistoryRecordingService =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var HistoryRecordingService = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {history.UndoManager|null} undoManager - The undo manager.
|
||||
* A value of `null` is valid for cases where no history recording is required.
|
||||
|
@ -9946,9 +9876,7 @@ var SvgCanvas = (function () {
|
|||
*/
|
||||
|
||||
|
||||
var Drawing =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Drawing = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {SVGSVGElement} svgElem - The SVG DOM Element that this JS object
|
||||
* encapsulates. If the svgElem has a se:nonce attribute on it, then
|
||||
|
@ -11378,9 +11306,7 @@ var SvgCanvas = (function () {
|
|||
*/
|
||||
|
||||
function _importSetGlobal() {
|
||||
_importSetGlobal = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(url, _ref2) {
|
||||
_importSetGlobal = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(url, _ref2) {
|
||||
var glob, returnDefault, modularVersion;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -12827,9 +12753,7 @@ var SvgCanvas = (function () {
|
|||
* Private class for DOM element selection boxes.
|
||||
*/
|
||||
|
||||
var Selector =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Selector = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {Integer} id - Internally identify the selector
|
||||
* @param {Element} elem - DOM element associated with this selector
|
||||
|
@ -13076,9 +13000,7 @@ var SvgCanvas = (function () {
|
|||
* Manage all selector objects (selection boxes).
|
||||
*/
|
||||
|
||||
var SelectorManager =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SelectorManager = /*#__PURE__*/function () {
|
||||
/**
|
||||
* Sets up properties and calls `initGroup`.
|
||||
*/
|
||||
|
@ -14551,12 +14473,8 @@ var SvgCanvas = (function () {
|
|||
*/
|
||||
|
||||
|
||||
this.addExtension =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref3 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(name, extInitFunc, _ref4) {
|
||||
this.addExtension = /*#__PURE__*/function () {
|
||||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(name, extInitFunc, _ref4) {
|
||||
var jq, importLocale, argObj, extObj;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -17769,12 +17687,8 @@ var SvgCanvas = (function () {
|
|||
* @returns {Promise<module:svgcanvas.ImageExportedResults>} Resolves to {@link module:svgcanvas.ImageExportedResults}
|
||||
*/
|
||||
|
||||
this.rasterExport =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref5 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(imgType, quality, exportWindowName) {
|
||||
this.rasterExport = /*#__PURE__*/function () {
|
||||
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(imgType, quality, exportWindowName) {
|
||||
var opts,
|
||||
type,
|
||||
mimeType,
|
||||
|
@ -17917,12 +17831,8 @@ var SvgCanvas = (function () {
|
|||
*/
|
||||
|
||||
|
||||
this.exportPDF =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref7 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3(exportWindowName) {
|
||||
this.exportPDF = /*#__PURE__*/function () {
|
||||
var _ref7 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(exportWindowName) {
|
||||
var outputType,
|
||||
modularVersion,
|
||||
res,
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -336,9 +336,7 @@
|
|||
(function () {
|
||||
if (!('SVGPathSeg' in window)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSeg
|
||||
var _SVGPathSeg =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _SVGPathSeg = /*#__PURE__*/function () {
|
||||
function _SVGPathSeg(type, typeAsLetter, owningPathSegList) {
|
||||
_classCallCheck(this, _SVGPathSeg);
|
||||
|
||||
|
@ -382,9 +380,7 @@
|
|||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
|
||||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
|
||||
|
||||
var _SVGPathSegClosePath =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg2) {
|
||||
var _SVGPathSegClosePath = /*#__PURE__*/function (_SVGPathSeg2) {
|
||||
_inherits(_SVGPathSegClosePath, _SVGPathSeg2);
|
||||
|
||||
function _SVGPathSegClosePath(owningPathSegList) {
|
||||
|
@ -413,9 +409,7 @@
|
|||
return _SVGPathSegClosePath;
|
||||
}(_SVGPathSeg);
|
||||
|
||||
var _SVGPathSegMovetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg3) {
|
||||
var _SVGPathSegMovetoAbs = /*#__PURE__*/function (_SVGPathSeg3) {
|
||||
_inherits(_SVGPathSegMovetoAbs, _SVGPathSeg3);
|
||||
|
||||
function _SVGPathSegMovetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -474,9 +468,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegMovetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg4) {
|
||||
var _SVGPathSegMovetoRel = /*#__PURE__*/function (_SVGPathSeg4) {
|
||||
_inherits(_SVGPathSegMovetoRel, _SVGPathSeg4);
|
||||
|
||||
function _SVGPathSegMovetoRel(owningPathSegList, x, y) {
|
||||
|
@ -535,9 +527,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg5) {
|
||||
var _SVGPathSegLinetoAbs = /*#__PURE__*/function (_SVGPathSeg5) {
|
||||
_inherits(_SVGPathSegLinetoAbs, _SVGPathSeg5);
|
||||
|
||||
function _SVGPathSegLinetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -596,9 +586,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg6) {
|
||||
var _SVGPathSegLinetoRel = /*#__PURE__*/function (_SVGPathSeg6) {
|
||||
_inherits(_SVGPathSegLinetoRel, _SVGPathSeg6);
|
||||
|
||||
function _SVGPathSegLinetoRel(owningPathSegList, x, y) {
|
||||
|
@ -657,9 +645,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg7) {
|
||||
var _SVGPathSegCurvetoCubicAbs = /*#__PURE__*/function (_SVGPathSeg7) {
|
||||
_inherits(_SVGPathSegCurvetoCubicAbs, _SVGPathSeg7);
|
||||
|
||||
function _SVGPathSegCurvetoCubicAbs(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -766,9 +752,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg8) {
|
||||
var _SVGPathSegCurvetoCubicRel = /*#__PURE__*/function (_SVGPathSeg8) {
|
||||
_inherits(_SVGPathSegCurvetoCubicRel, _SVGPathSeg8);
|
||||
|
||||
function _SVGPathSegCurvetoCubicRel(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -875,9 +859,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg9) {
|
||||
var _SVGPathSegCurvetoQuadraticAbs = /*#__PURE__*/function (_SVGPathSeg9) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticAbs, _SVGPathSeg9);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticAbs(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -960,9 +942,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg10) {
|
||||
var _SVGPathSegCurvetoQuadraticRel = /*#__PURE__*/function (_SVGPathSeg10) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticRel, _SVGPathSeg10);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticRel(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -1045,9 +1025,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg11) {
|
||||
var _SVGPathSegArcAbs = /*#__PURE__*/function (_SVGPathSeg11) {
|
||||
_inherits(_SVGPathSegArcAbs, _SVGPathSeg11);
|
||||
|
||||
function _SVGPathSegArcAbs(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1166,9 +1144,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg12) {
|
||||
var _SVGPathSegArcRel = /*#__PURE__*/function (_SVGPathSeg12) {
|
||||
_inherits(_SVGPathSegArcRel, _SVGPathSeg12);
|
||||
|
||||
function _SVGPathSegArcRel(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1287,9 +1263,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg13) {
|
||||
var _SVGPathSegLinetoHorizontalAbs = /*#__PURE__*/function (_SVGPathSeg13) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalAbs, _SVGPathSeg13);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalAbs(owningPathSegList, x) {
|
||||
|
@ -1334,9 +1308,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg14) {
|
||||
var _SVGPathSegLinetoHorizontalRel = /*#__PURE__*/function (_SVGPathSeg14) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalRel, _SVGPathSeg14);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalRel(owningPathSegList, x) {
|
||||
|
@ -1381,9 +1353,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg15) {
|
||||
var _SVGPathSegLinetoVerticalAbs = /*#__PURE__*/function (_SVGPathSeg15) {
|
||||
_inherits(_SVGPathSegLinetoVerticalAbs, _SVGPathSeg15);
|
||||
|
||||
function _SVGPathSegLinetoVerticalAbs(owningPathSegList, y) {
|
||||
|
@ -1428,9 +1398,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg16) {
|
||||
var _SVGPathSegLinetoVerticalRel = /*#__PURE__*/function (_SVGPathSeg16) {
|
||||
_inherits(_SVGPathSegLinetoVerticalRel, _SVGPathSeg16);
|
||||
|
||||
function _SVGPathSegLinetoVerticalRel(owningPathSegList, y) {
|
||||
|
@ -1475,9 +1443,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg17) {
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs = /*#__PURE__*/function (_SVGPathSeg17) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothAbs, _SVGPathSeg17);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothAbs(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1560,9 +1526,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg18) {
|
||||
var _SVGPathSegCurvetoCubicSmoothRel = /*#__PURE__*/function (_SVGPathSeg18) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothRel, _SVGPathSeg18);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothRel(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1645,9 +1609,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg19) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs = /*#__PURE__*/function (_SVGPathSeg19) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothAbs, _SVGPathSeg19);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothAbs(owningPathSegList, x, y) {
|
||||
|
@ -1706,9 +1668,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg20) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel = /*#__PURE__*/function (_SVGPathSeg20) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothRel, _SVGPathSeg20);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothRel(owningPathSegList, x, y) {
|
||||
|
@ -1904,9 +1864,7 @@
|
|||
|
||||
if (!('SVGPathSegList' in window) || !('appendItem' in window.SVGPathSegList.prototype)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSegList
|
||||
var SVGPathSegList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGPathSegList = /*#__PURE__*/function () {
|
||||
function SVGPathSegList(pathElement) {
|
||||
_classCallCheck(this, SVGPathSegList);
|
||||
|
||||
|
@ -2090,9 +2048,7 @@
|
|||
|
||||
var owningPathSegList = this; // eslint-disable-line consistent-this
|
||||
|
||||
var Builder =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Builder = /*#__PURE__*/function () {
|
||||
function Builder() {
|
||||
_classCallCheck(this, Builder);
|
||||
|
||||
|
@ -2109,9 +2065,7 @@
|
|||
return Builder;
|
||||
}();
|
||||
|
||||
var Source =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Source = /*#__PURE__*/function () {
|
||||
function Source(string) {
|
||||
_classCallCheck(this, Source);
|
||||
|
||||
|
@ -3136,9 +3090,7 @@
|
|||
* @implements {module:SVGTransformList.SVGEditTransformList}
|
||||
*/
|
||||
|
||||
var SVGTransformList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGTransformList = /*#__PURE__*/function () {
|
||||
// eslint-disable-line no-shadow
|
||||
|
||||
/**
|
||||
|
@ -3774,9 +3726,7 @@
|
|||
* Base class for commands.
|
||||
*/
|
||||
|
||||
var Command =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Command = /*#__PURE__*/function () {
|
||||
function Command() {
|
||||
_classCallCheck(this, Command);
|
||||
}
|
||||
|
@ -3870,9 +3820,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var MoveElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command) {
|
||||
var MoveElementCommand = /*#__PURE__*/function (_Command) {
|
||||
_inherits(MoveElementCommand, _Command);
|
||||
|
||||
/**
|
||||
|
@ -3966,9 +3914,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var InsertElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command2) {
|
||||
var InsertElementCommand = /*#__PURE__*/function (_Command2) {
|
||||
_inherits(InsertElementCommand, _Command2);
|
||||
|
||||
/**
|
||||
|
@ -4058,9 +4004,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var RemoveElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command3) {
|
||||
var RemoveElementCommand = /*#__PURE__*/function (_Command3) {
|
||||
_inherits(RemoveElementCommand, _Command3);
|
||||
|
||||
/**
|
||||
|
@ -4172,9 +4116,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var ChangeElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command4) {
|
||||
var ChangeElementCommand = /*#__PURE__*/function (_Command4) {
|
||||
_inherits(ChangeElementCommand, _Command4);
|
||||
|
||||
/**
|
||||
|
@ -4367,9 +4309,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var BatchCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command5) {
|
||||
var BatchCommand = /*#__PURE__*/function (_Command5) {
|
||||
_inherits(BatchCommand, _Command5);
|
||||
|
||||
/**
|
||||
|
@ -4495,9 +4435,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
var UndoManager =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var UndoManager = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {module:history.HistoryEventHandler} historyEventHandler
|
||||
*/
|
||||
|
@ -5636,9 +5574,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
var Segment =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Segment = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {Integer} index
|
||||
* @param {SVGPathSeg} item
|
||||
|
@ -5866,9 +5802,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
var Path =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Path = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {SVGPathElement} elem
|
||||
* @throws {Error} If constructed without a path element
|
||||
|
@ -9496,9 +9430,7 @@
|
|||
*/
|
||||
|
||||
function _importSetGlobal() {
|
||||
_importSetGlobal = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(url, _ref2) {
|
||||
_importSetGlobal = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(url, _ref2) {
|
||||
var glob, returnDefault, modularVersion;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -9959,9 +9891,7 @@
|
|||
* @memberof module:layer
|
||||
*/
|
||||
|
||||
var Layer =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Layer = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string} name - Layer name
|
||||
* @param {SVGGElement|null} group - An existing SVG group element or null.
|
||||
|
@ -10256,9 +10186,7 @@
|
|||
* @memberof module:history
|
||||
*/
|
||||
|
||||
var HistoryRecordingService =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var HistoryRecordingService = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {history.UndoManager|null} undoManager - The undo manager.
|
||||
* A value of `null` is valid for cases where no history recording is required.
|
||||
|
@ -10471,9 +10399,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var Drawing =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Drawing = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {SVGSVGElement} svgElem - The SVG DOM Element that this JS object
|
||||
* encapsulates. If the svgElem has a se:nonce attribute on it, then
|
||||
|
@ -13140,9 +13066,7 @@
|
|||
* Private class for DOM element selection boxes.
|
||||
*/
|
||||
|
||||
var Selector =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Selector = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {Integer} id - Internally identify the selector
|
||||
* @param {Element} elem - DOM element associated with this selector
|
||||
|
@ -13389,9 +13313,7 @@
|
|||
* Manage all selector objects (selection boxes).
|
||||
*/
|
||||
|
||||
var SelectorManager =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SelectorManager = /*#__PURE__*/function () {
|
||||
/**
|
||||
* Sets up properties and calls `initGroup`.
|
||||
*/
|
||||
|
@ -14864,12 +14786,8 @@
|
|||
*/
|
||||
|
||||
|
||||
this.addExtension =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref3 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(name, extInitFunc, _ref4) {
|
||||
this.addExtension = /*#__PURE__*/function () {
|
||||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(name, extInitFunc, _ref4) {
|
||||
var jq, importLocale, argObj, extObj;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -18082,12 +18000,8 @@
|
|||
* @returns {Promise<module:svgcanvas.ImageExportedResults>} Resolves to {@link module:svgcanvas.ImageExportedResults}
|
||||
*/
|
||||
|
||||
this.rasterExport =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref5 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(imgType, quality, exportWindowName) {
|
||||
this.rasterExport = /*#__PURE__*/function () {
|
||||
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(imgType, quality, exportWindowName) {
|
||||
var opts,
|
||||
type,
|
||||
mimeType,
|
||||
|
@ -18230,12 +18144,8 @@
|
|||
*/
|
||||
|
||||
|
||||
this.exportPDF =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref7 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3(exportWindowName) {
|
||||
this.exportPDF = /*#__PURE__*/function () {
|
||||
var _ref7 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(exportWindowName) {
|
||||
var outputType,
|
||||
modularVersion,
|
||||
res,
|
||||
|
@ -28221,12 +28131,8 @@
|
|||
* @returns {Promise<module:locale.LangAndData>} Resolves to [`LangAndData`]{@link module:locale.LangAndData}
|
||||
*/
|
||||
|
||||
var readLang =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref3 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(langData) {
|
||||
var readLang = /*#__PURE__*/function () {
|
||||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(langData) {
|
||||
var more, _langData, tools, properties, config, layers, common, ui, opts, ariaLabels;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
|
@ -28476,12 +28382,8 @@
|
|||
* @returns {Promise<module:locale.LangAndData>} Resolves to result of {@link module:locale.readLang}
|
||||
*/
|
||||
|
||||
var putLocale =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref8 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(givenParam, goodLangs, conf) {
|
||||
var putLocale = /*#__PURE__*/function () {
|
||||
var _ref8 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(givenParam, goodLangs, conf) {
|
||||
var url;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -29012,9 +28914,7 @@
|
|||
|
||||
|
||||
function _loadSvgString() {
|
||||
_loadSvgString = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee23(str) {
|
||||
_loadSvgString = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee23(str) {
|
||||
var _ref49,
|
||||
noAlert,
|
||||
success,
|
||||
|
@ -29070,12 +28970,8 @@
|
|||
* @param {string} [localeInfo.lang=defaultLang] Defaults to `defaultLang` of {@link module:SVGEditor~getImportLocale}
|
||||
* @returns {Promise<module:locale.LocaleStrings>} Resolves to {@link module:locale.LocaleStrings}
|
||||
*/
|
||||
return (
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _importLocaleDefaulting = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return (/*#__PURE__*/function () {
|
||||
var _importLocaleDefaulting = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var _ref2,
|
||||
_ref2$name,
|
||||
name,
|
||||
|
@ -29598,12 +29494,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var extAndLocaleFunc =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref7 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3() {
|
||||
var extAndLocaleFunc = /*#__PURE__*/function () {
|
||||
var _ref7 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
||||
var _ref8, langParam, langData, _uiStrings$common, ok, cancel;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
|
@ -29630,12 +29522,8 @@
|
|||
|
||||
_context3.prev = 10;
|
||||
_context3.next = 13;
|
||||
return Promise.all(curConfig.extensions.map(
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref9 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(extname) {
|
||||
return Promise.all(curConfig.extensions.map( /*#__PURE__*/function () {
|
||||
var _ref9 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(extname) {
|
||||
var extName, url, imported, _imported$name, _name2, init, importLocale;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
|
@ -30238,9 +30126,7 @@
|
|||
'#tools_bottom label .svg_icon': 18
|
||||
},
|
||||
callback: function callback(icons) {
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee4() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
||||
var tleft, minHeight, size, getStylesheetPriority, stylesheets, idx, _stylesheets;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||
|
@ -30814,9 +30700,7 @@
|
|||
|
||||
|
||||
function _promptImgURL() {
|
||||
_promptImgURL = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee18() {
|
||||
_promptImgURL = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee18() {
|
||||
var _ref35,
|
||||
_ref35$cancelDeletes,
|
||||
cancelDeletes,
|
||||
|
@ -32079,12 +31963,8 @@
|
|||
* @returns {Promise<void>|void} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var extAdded =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref16 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee5(win, ext) {
|
||||
var extAdded = /*#__PURE__*/function () {
|
||||
var _ref16 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(win, ext) {
|
||||
var cbCalled, resizeDone, lang, prepResize, runCallback, btnSelects, svgicons, fallbackObj, altsObj, placementObj, holders;
|
||||
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
||||
while (1) {
|
||||
|
@ -32775,11 +32655,7 @@
|
|||
}); // fired when user wants to move elements to another layer
|
||||
|
||||
var promptMoveLayerOnce = false;
|
||||
$$b('#selLayerNames').change(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee6() {
|
||||
$$b('#selLayerNames').change( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
||||
var destLayer, confirmStr, moveToLayer, ok;
|
||||
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
||||
while (1) {
|
||||
|
@ -33522,12 +33398,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var makeHyperlink =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref20 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee7() {
|
||||
var makeHyperlink = /*#__PURE__*/function () {
|
||||
var _ref20 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
|
||||
var url;
|
||||
return regeneratorRuntime.wrap(function _callee7$(_context7) {
|
||||
while (1) {
|
||||
|
@ -33677,12 +33549,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var clickClear =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref21 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee8() {
|
||||
var clickClear = /*#__PURE__*/function () {
|
||||
var _ref21 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
||||
var _curConfig$dimensions, x, y, ok;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee8$(_context8) {
|
||||
|
@ -33769,12 +33637,8 @@
|
|||
* @returns {Promise<void>} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var clickExport =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref22 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee9() {
|
||||
var clickExport = /*#__PURE__*/function () {
|
||||
var _ref22 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
|
||||
var imgType, exportWindowName, openExportWindow, chrome, quality;
|
||||
return regeneratorRuntime.wrap(function _callee9$(_context9) {
|
||||
while (1) {
|
||||
|
@ -34070,12 +33934,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var saveSourceEditor =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref24 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee10() {
|
||||
var saveSourceEditor = /*#__PURE__*/function () {
|
||||
var _ref24 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
|
||||
var saveChanges, ok;
|
||||
return regeneratorRuntime.wrap(function _callee10$(_context10) {
|
||||
while (1) {
|
||||
|
@ -34215,11 +34075,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var savePreferences = editor.savePreferences =
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee11() {
|
||||
var savePreferences = editor.savePreferences = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
|
||||
var color, lang, _ref26, langParam, langData;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee11$(_context11) {
|
||||
|
@ -34280,12 +34136,8 @@
|
|||
* @returns {Promise<void>} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var cancelOverlays =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref27 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee12() {
|
||||
var cancelOverlays = /*#__PURE__*/function () {
|
||||
var _ref27 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
|
||||
var ok;
|
||||
return regeneratorRuntime.wrap(function _callee12$(_context12) {
|
||||
while (1) {
|
||||
|
@ -34502,9 +34354,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var PaintBox =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var PaintBox = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string|Element|external:jQuery} container
|
||||
* @param {"fill"} type
|
||||
|
@ -34747,11 +34597,7 @@
|
|||
$$b(this).removeClass('push_button_pressed').addClass('push_button');
|
||||
}); // ask for a layer name
|
||||
|
||||
$$b('#layer_new').click(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee13() {
|
||||
$$b('#layer_new').click( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee13() {
|
||||
var uniqName, i, newName;
|
||||
return regeneratorRuntime.wrap(function _callee13$(_context13) {
|
||||
while (1) {
|
||||
|
@ -34830,9 +34676,7 @@
|
|||
|
||||
|
||||
function _cloneLayer() {
|
||||
_cloneLayer = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee19() {
|
||||
_cloneLayer = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee19() {
|
||||
var name, newName;
|
||||
return regeneratorRuntime.wrap(function _callee19$(_context19) {
|
||||
while (1) {
|
||||
|
@ -34910,11 +34754,7 @@
|
|||
$$b('#layer_down').click(function () {
|
||||
moveLayer(1);
|
||||
});
|
||||
$$b('#layer_rename').click(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee14() {
|
||||
$$b('#layer_rename').click( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee14() {
|
||||
var oldName, newName;
|
||||
return regeneratorRuntime.wrap(function _callee14$(_context14) {
|
||||
while (1) {
|
||||
|
@ -36169,12 +36009,8 @@
|
|||
workarea[0].addEventListener('dragover', onDragOver);
|
||||
workarea[0].addEventListener('dragleave', onDragLeave);
|
||||
workarea[0].addEventListener('drop', importImage);
|
||||
var open = $$b('<input type="file">').change(
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref31 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee16(e) {
|
||||
var open = $$b('<input type="file">').change( /*#__PURE__*/function () {
|
||||
var _ref31 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee16(e) {
|
||||
var ok, reader;
|
||||
return regeneratorRuntime.wrap(function _callee16$(_context16) {
|
||||
while (1) {
|
||||
|
@ -36200,12 +36036,8 @@
|
|||
$$b.process_cancel(uiStrings$1.notification.loadingImage);
|
||||
reader = new FileReader();
|
||||
|
||||
reader.onloadend =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref32 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee15(_ref33) {
|
||||
reader.onloadend = /*#__PURE__*/function () {
|
||||
var _ref32 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee15(_ref33) {
|
||||
var target;
|
||||
return regeneratorRuntime.wrap(function _callee15$(_context15) {
|
||||
while (1) {
|
||||
|
@ -36271,12 +36103,8 @@
|
|||
* @returns {Promise<void>} A Promise which resolves to `undefined`
|
||||
*/
|
||||
|
||||
var setLang = editor.setLang =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref34 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee17(lang, allStrings) {
|
||||
var setLang = editor.setLang = /*#__PURE__*/function () {
|
||||
var _ref34 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee17(lang, allStrings) {
|
||||
var oldLayerName, renameLayer, elems;
|
||||
return regeneratorRuntime.wrap(function _callee17$(_context17) {
|
||||
while (1) {
|
||||
|
@ -36465,11 +36293,7 @@
|
|||
*/
|
||||
|
||||
|
||||
editor.runCallbacks =
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee20() {
|
||||
editor.runCallbacks = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee20() {
|
||||
return regeneratorRuntime.wrap(function _callee20$(_context20) {
|
||||
while (1) {
|
||||
switch (_context20.prev = _context20.next) {
|
||||
|
@ -36525,11 +36349,7 @@
|
|||
var _ref43 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
||||
noAlert = _ref43.noAlert;
|
||||
|
||||
return editor.ready(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee21() {
|
||||
return editor.ready( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee21() {
|
||||
return regeneratorRuntime.wrap(function _callee21$(_context21) {
|
||||
while (1) {
|
||||
switch (_context21.prev = _context21.next) {
|
||||
|
@ -36724,9 +36544,7 @@
|
|||
window.addEventListener('message', messageListener); // Run init once DOM is loaded
|
||||
// jQuery(editor.init);
|
||||
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee22() {
|
||||
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee22() {
|
||||
return regeneratorRuntime.wrap(function _callee22$(_context22) {
|
||||
while (1) {
|
||||
switch (_context22.prev = _context22.next) {
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/compat-data": {
|
||||
"version": "7.8.5",
|
||||
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.8.5.tgz",
|
||||
"integrity": "sha512-jWYUqQX/ObOhG1UiEkbH5SANsE/8oKXiQWjj7p7xgj9Zmnt//aUvyz4dBkK0HNsS8/cbyC5NmmH87VekW+mXFg==",
|
||||
"version": "7.8.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.8.6.tgz",
|
||||
"integrity": "sha512-CurCIKPTkS25Mb8mz267vU95vy+TyUpnctEX2lV33xWNmHAfjruztgiPBbXZRh3xZZy1CYvGx6XfxyTVS+sk7Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"browserslist": "^4.8.5",
|
||||
|
@ -25,18 +25,18 @@
|
|||
}
|
||||
},
|
||||
"@babel/core": {
|
||||
"version": "7.8.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.8.4.tgz",
|
||||
"integrity": "sha512-0LiLrB2PwrVI+a2/IEskBopDYSd8BCb3rOvH7D5tzoWd696TBEduBvuLVm4Nx6rltrLZqvI3MCalB2K2aVzQjA==",
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.8.7.tgz",
|
||||
"integrity": "sha512-rBlqF3Yko9cynC5CCFy6+K/w2N+Sq/ff2BPy+Krp7rHlABIr5epbA7OxVeKoMHB39LZOp1UY5SuLjy6uWi35yA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.8.3",
|
||||
"@babel/generator": "^7.8.4",
|
||||
"@babel/generator": "^7.8.7",
|
||||
"@babel/helpers": "^7.8.4",
|
||||
"@babel/parser": "^7.8.4",
|
||||
"@babel/template": "^7.8.3",
|
||||
"@babel/traverse": "^7.8.4",
|
||||
"@babel/types": "^7.8.3",
|
||||
"@babel/parser": "^7.8.7",
|
||||
"@babel/template": "^7.8.6",
|
||||
"@babel/traverse": "^7.8.6",
|
||||
"@babel/types": "^7.8.7",
|
||||
"convert-source-map": "^1.7.0",
|
||||
"debug": "^4.1.0",
|
||||
"gensync": "^1.0.0-beta.1",
|
||||
|
@ -45,6 +45,65 @@
|
|||
"resolve": "^1.3.2",
|
||||
"semver": "^5.4.1",
|
||||
"source-map": "^0.5.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/generator": {
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.7.tgz",
|
||||
"integrity": "sha512-DQwjiKJqH4C3qGiyQCAExJHoZssn49JTMJgZ8SANGgVFdkupcUhLOdkAeoC6kmHZCPfoDG5M0b6cFlSN5wW7Ew==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "^7.8.7",
|
||||
"jsesc": "^2.5.1",
|
||||
"lodash": "^4.17.13",
|
||||
"source-map": "^0.5.0"
|
||||
}
|
||||
},
|
||||
"@babel/parser": {
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.7.tgz",
|
||||
"integrity": "sha512-9JWls8WilDXFGxs0phaXAZgpxTZhSk/yOYH2hTHC0X1yC7Z78IJfvR1vJ+rmJKq3I35td2XzXzN6ZLYlna+r/A==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/template": {
|
||||
"version": "7.8.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.6.tgz",
|
||||
"integrity": "sha512-zbMsPMy/v0PWFZEhQJ66bqjhH+z0JgMoBWuikXybgG3Gkd/3t5oQ1Rw2WQhnSrsOmsKXnZOx15tkC4qON/+JPg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.8.3",
|
||||
"@babel/parser": "^7.8.6",
|
||||
"@babel/types": "^7.8.6"
|
||||
}
|
||||
},
|
||||
"@babel/traverse": {
|
||||
"version": "7.8.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.6.tgz",
|
||||
"integrity": "sha512-2B8l0db/DPi8iinITKuo7cbPznLCEk0kCxDoB9/N6gGNg/gxOXiR/IcymAFPiBwk5w6TtQ27w4wpElgp9btR9A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.8.3",
|
||||
"@babel/generator": "^7.8.6",
|
||||
"@babel/helper-function-name": "^7.8.3",
|
||||
"@babel/helper-split-export-declaration": "^7.8.3",
|
||||
"@babel/parser": "^7.8.6",
|
||||
"@babel/types": "^7.8.6",
|
||||
"debug": "^4.1.0",
|
||||
"globals": "^11.1.0",
|
||||
"lodash": "^4.17.13"
|
||||
}
|
||||
},
|
||||
"@babel/types": {
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.7.tgz",
|
||||
"integrity": "sha512-k2TreEHxFA4CjGkL+GYjRyx35W0Mr7DP5+9q6WMkyKXB+904bYmG40syjMFV0oLlhhFCwWl0vA0DyzTDkwAiJw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"esutils": "^2.0.2",
|
||||
"lodash": "^4.17.13",
|
||||
"to-fast-properties": "^2.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"@babel/generator": {
|
||||
|
@ -100,16 +159,41 @@
|
|||
}
|
||||
},
|
||||
"@babel/helper-compilation-targets": {
|
||||
"version": "7.8.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.4.tgz",
|
||||
"integrity": "sha512-3k3BsKMvPp5bjxgMdrFyq0UaEO48HciVrOVF0+lon8pp95cyJ2ujAh0TrBHNMnJGT2rr0iKOJPFFbSqjDyf/Pg==",
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.7.tgz",
|
||||
"integrity": "sha512-4mWm8DCK2LugIS+p1yArqvG1Pf162upsIsjE7cNBjez+NjliQpVhj20obE520nao0o14DaTnFJv+Fw5a0JpoUw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/compat-data": "^7.8.4",
|
||||
"browserslist": "^4.8.5",
|
||||
"@babel/compat-data": "^7.8.6",
|
||||
"browserslist": "^4.9.1",
|
||||
"invariant": "^2.2.4",
|
||||
"levenary": "^1.1.1",
|
||||
"semver": "^5.5.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"browserslist": {
|
||||
"version": "4.9.1",
|
||||
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.9.1.tgz",
|
||||
"integrity": "sha512-Q0DnKq20End3raFulq6Vfp1ecB9fh8yUNV55s8sekaDDeqBaCtWlRHCUdaWyUeSSBJM7IbM6HcsyaeYqgeDhnw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"caniuse-lite": "^1.0.30001030",
|
||||
"electron-to-chromium": "^1.3.363",
|
||||
"node-releases": "^1.1.50"
|
||||
}
|
||||
},
|
||||
"caniuse-lite": {
|
||||
"version": "1.0.30001032",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001032.tgz",
|
||||
"integrity": "sha512-8joOm7BwcpEN4BfVHtfh0hBXSAPVYk+eUIcNntGtMkUWy/6AKRCDZINCLe3kB1vHhT2vBxBF85Hh9VlPXi/qjA==",
|
||||
"dev": true
|
||||
},
|
||||
"electron-to-chromium": {
|
||||
"version": "1.3.372",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.372.tgz",
|
||||
"integrity": "sha512-77a4jYC52OdisHM+Tne7dgWEvQT1FoNu/jYl279pP88ZtG4ZRIPyhQwAKxj6C2rzsyC1OwsOds9JlZtNncSz6g==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"@babel/helper-create-class-features-plugin": {
|
||||
|
@ -321,9 +405,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/node": {
|
||||
"version": "7.8.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/node/-/node-7.8.4.tgz",
|
||||
"integrity": "sha512-MlczXI/VYRnoaWHjicqrzq2z4DhRPaWQIC+C3ISEQs5z+mEccBsn7IAI5Q97ZDTnFYw6ts5IUTzqArilC/g7nw==",
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/node/-/node-7.8.7.tgz",
|
||||
"integrity": "sha512-o8cBT3cfRPLwoPh7VBYonSeZypIawGUeVfOIt1xSDgcDdirRGDPZ7/x+FLhhgQmKp3PKbz5Juh9/BNP4Jzrr9Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/register": "^7.8.3",
|
||||
|
@ -331,9 +415,17 @@
|
|||
"core-js": "^3.2.1",
|
||||
"lodash": "^4.17.13",
|
||||
"node-environment-flags": "^1.0.5",
|
||||
"regenerator-runtime": "^0.13.3",
|
||||
"regenerator-runtime": "^0.13.4",
|
||||
"resolve": "^1.13.1",
|
||||
"v8flags": "^3.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"regenerator-runtime": {
|
||||
"version": "0.13.4",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.4.tgz",
|
||||
"integrity": "sha512-plpwicqEzfEyTQohIKktWigcLzmNStMGwbOUbykx51/29Z3JOGYldaaNGK7ngNXV+UcoqvIMmloZ48Sr74sd+g==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"@babel/parser": {
|
||||
|
@ -874,13 +966,13 @@
|
|||
}
|
||||
},
|
||||
"@babel/preset-env": {
|
||||
"version": "7.8.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.8.4.tgz",
|
||||
"integrity": "sha512-HihCgpr45AnSOHRbS5cWNTINs0TwaR8BS8xIIH+QwiW8cKL0llV91njQMpeMReEPVs+1Ao0x3RLEBLtt1hOq4w==",
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.8.7.tgz",
|
||||
"integrity": "sha512-BYftCVOdAYJk5ASsznKAUl53EMhfBbr8CJ1X+AJLfGPscQkwJFiaV/Wn9DPH/7fzm2v6iRYJKYHSqyynTGw0nw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/compat-data": "^7.8.4",
|
||||
"@babel/helper-compilation-targets": "^7.8.4",
|
||||
"@babel/compat-data": "^7.8.6",
|
||||
"@babel/helper-compilation-targets": "^7.8.7",
|
||||
"@babel/helper-module-imports": "^7.8.3",
|
||||
"@babel/helper-plugin-utils": "^7.8.3",
|
||||
"@babel/plugin-proposal-async-generator-functions": "^7.8.3",
|
||||
|
@ -903,13 +995,13 @@
|
|||
"@babel/plugin-transform-async-to-generator": "^7.8.3",
|
||||
"@babel/plugin-transform-block-scoped-functions": "^7.8.3",
|
||||
"@babel/plugin-transform-block-scoping": "^7.8.3",
|
||||
"@babel/plugin-transform-classes": "^7.8.3",
|
||||
"@babel/plugin-transform-classes": "^7.8.6",
|
||||
"@babel/plugin-transform-computed-properties": "^7.8.3",
|
||||
"@babel/plugin-transform-destructuring": "^7.8.3",
|
||||
"@babel/plugin-transform-dotall-regex": "^7.8.3",
|
||||
"@babel/plugin-transform-duplicate-keys": "^7.8.3",
|
||||
"@babel/plugin-transform-exponentiation-operator": "^7.8.3",
|
||||
"@babel/plugin-transform-for-of": "^7.8.4",
|
||||
"@babel/plugin-transform-for-of": "^7.8.6",
|
||||
"@babel/plugin-transform-function-name": "^7.8.3",
|
||||
"@babel/plugin-transform-literals": "^7.8.3",
|
||||
"@babel/plugin-transform-member-expression-literals": "^7.8.3",
|
||||
|
@ -920,9 +1012,9 @@
|
|||
"@babel/plugin-transform-named-capturing-groups-regex": "^7.8.3",
|
||||
"@babel/plugin-transform-new-target": "^7.8.3",
|
||||
"@babel/plugin-transform-object-super": "^7.8.3",
|
||||
"@babel/plugin-transform-parameters": "^7.8.4",
|
||||
"@babel/plugin-transform-parameters": "^7.8.7",
|
||||
"@babel/plugin-transform-property-literals": "^7.8.3",
|
||||
"@babel/plugin-transform-regenerator": "^7.8.3",
|
||||
"@babel/plugin-transform-regenerator": "^7.8.7",
|
||||
"@babel/plugin-transform-reserved-words": "^7.8.3",
|
||||
"@babel/plugin-transform-shorthand-properties": "^7.8.3",
|
||||
"@babel/plugin-transform-spread": "^7.8.3",
|
||||
|
@ -930,12 +1022,153 @@
|
|||
"@babel/plugin-transform-template-literals": "^7.8.3",
|
||||
"@babel/plugin-transform-typeof-symbol": "^7.8.4",
|
||||
"@babel/plugin-transform-unicode-regex": "^7.8.3",
|
||||
"@babel/types": "^7.8.3",
|
||||
"@babel/types": "^7.8.7",
|
||||
"browserslist": "^4.8.5",
|
||||
"core-js-compat": "^3.6.2",
|
||||
"invariant": "^2.2.2",
|
||||
"levenary": "^1.1.1",
|
||||
"semver": "^5.5.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/generator": {
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.7.tgz",
|
||||
"integrity": "sha512-DQwjiKJqH4C3qGiyQCAExJHoZssn49JTMJgZ8SANGgVFdkupcUhLOdkAeoC6kmHZCPfoDG5M0b6cFlSN5wW7Ew==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "^7.8.7",
|
||||
"jsesc": "^2.5.1",
|
||||
"lodash": "^4.17.13",
|
||||
"source-map": "^0.5.0"
|
||||
}
|
||||
},
|
||||
"@babel/helper-call-delegate": {
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.8.7.tgz",
|
||||
"integrity": "sha512-doAA5LAKhsFCR0LAFIf+r2RSMmC+m8f/oQ+URnUET/rWeEzC0yTRmAGyWkD4sSu3xwbS7MYQ2u+xlt1V5R56KQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-hoist-variables": "^7.8.3",
|
||||
"@babel/traverse": "^7.8.3",
|
||||
"@babel/types": "^7.8.7"
|
||||
}
|
||||
},
|
||||
"@babel/helper-replace-supers": {
|
||||
"version": "7.8.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.8.6.tgz",
|
||||
"integrity": "sha512-PeMArdA4Sv/Wf4zXwBKPqVj7n9UF/xg6slNRtZW84FM7JpE1CbG8B612FyM4cxrf4fMAMGO0kR7voy1ForHHFA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-member-expression-to-functions": "^7.8.3",
|
||||
"@babel/helper-optimise-call-expression": "^7.8.3",
|
||||
"@babel/traverse": "^7.8.6",
|
||||
"@babel/types": "^7.8.6"
|
||||
}
|
||||
},
|
||||
"@babel/parser": {
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.7.tgz",
|
||||
"integrity": "sha512-9JWls8WilDXFGxs0phaXAZgpxTZhSk/yOYH2hTHC0X1yC7Z78IJfvR1vJ+rmJKq3I35td2XzXzN6ZLYlna+r/A==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/plugin-transform-classes": {
|
||||
"version": "7.8.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.8.6.tgz",
|
||||
"integrity": "sha512-k9r8qRay/R6v5aWZkrEclEhKO6mc1CCQr2dLsVHBmOQiMpN6I2bpjX3vgnldUWeEI1GHVNByULVxZ4BdP4Hmdg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-annotate-as-pure": "^7.8.3",
|
||||
"@babel/helper-define-map": "^7.8.3",
|
||||
"@babel/helper-function-name": "^7.8.3",
|
||||
"@babel/helper-optimise-call-expression": "^7.8.3",
|
||||
"@babel/helper-plugin-utils": "^7.8.3",
|
||||
"@babel/helper-replace-supers": "^7.8.6",
|
||||
"@babel/helper-split-export-declaration": "^7.8.3",
|
||||
"globals": "^11.1.0"
|
||||
}
|
||||
},
|
||||
"@babel/plugin-transform-for-of": {
|
||||
"version": "7.8.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.8.6.tgz",
|
||||
"integrity": "sha512-M0pw4/1/KI5WAxPsdcUL/w2LJ7o89YHN3yLkzNjg7Yl15GlVGgzHyCU+FMeAxevHGsLVmUqbirlUIKTafPmzdw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-plugin-utils": "^7.8.3"
|
||||
}
|
||||
},
|
||||
"@babel/plugin-transform-parameters": {
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.8.7.tgz",
|
||||
"integrity": "sha512-brYWaEPTRimOctz2NDA3jnBbDi7SVN2T4wYuu0aqSzxC3nozFZngGaw29CJ9ZPweB7k+iFmZuoG3IVPIcXmD2g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-call-delegate": "^7.8.7",
|
||||
"@babel/helper-get-function-arity": "^7.8.3",
|
||||
"@babel/helper-plugin-utils": "^7.8.3"
|
||||
}
|
||||
},
|
||||
"@babel/plugin-transform-regenerator": {
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.7.tgz",
|
||||
"integrity": "sha512-TIg+gAl4Z0a3WmD3mbYSk+J9ZUH6n/Yc57rtKRnlA/7rcCvpekHXe0CMZHP1gYp7/KLe9GHTuIba0vXmls6drA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"regenerator-transform": "^0.14.2"
|
||||
}
|
||||
},
|
||||
"@babel/runtime": {
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.7.tgz",
|
||||
"integrity": "sha512-+AATMUFppJDw6aiR5NVPHqIQBlV/Pj8wY/EZH+lmvRdUo9xBaz/rF3alAwFJQavvKfeOlPE7oaaDHVbcySbCsg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"regenerator-runtime": "^0.13.4"
|
||||
}
|
||||
},
|
||||
"@babel/traverse": {
|
||||
"version": "7.8.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.6.tgz",
|
||||
"integrity": "sha512-2B8l0db/DPi8iinITKuo7cbPznLCEk0kCxDoB9/N6gGNg/gxOXiR/IcymAFPiBwk5w6TtQ27w4wpElgp9btR9A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.8.3",
|
||||
"@babel/generator": "^7.8.6",
|
||||
"@babel/helper-function-name": "^7.8.3",
|
||||
"@babel/helper-split-export-declaration": "^7.8.3",
|
||||
"@babel/parser": "^7.8.6",
|
||||
"@babel/types": "^7.8.6",
|
||||
"debug": "^4.1.0",
|
||||
"globals": "^11.1.0",
|
||||
"lodash": "^4.17.13"
|
||||
}
|
||||
},
|
||||
"@babel/types": {
|
||||
"version": "7.8.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.7.tgz",
|
||||
"integrity": "sha512-k2TreEHxFA4CjGkL+GYjRyx35W0Mr7DP5+9q6WMkyKXB+904bYmG40syjMFV0oLlhhFCwWl0vA0DyzTDkwAiJw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"esutils": "^2.0.2",
|
||||
"lodash": "^4.17.13",
|
||||
"to-fast-properties": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"regenerator-runtime": {
|
||||
"version": "0.13.4",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.4.tgz",
|
||||
"integrity": "sha512-plpwicqEzfEyTQohIKktWigcLzmNStMGwbOUbykx51/29Z3JOGYldaaNGK7ngNXV+UcoqvIMmloZ48Sr74sd+g==",
|
||||
"dev": true
|
||||
},
|
||||
"regenerator-transform": {
|
||||
"version": "0.14.2",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.2.tgz",
|
||||
"integrity": "sha512-V4+lGplCM/ikqi5/mkkpJ06e9Bujq1NFmNLvsCs56zg3ZbzrnUzAtizZ24TXxtRX/W2jcdScwQCnbL0CICTFkQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.8.4",
|
||||
"private": "^0.1.8"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"@babel/preset-react": {
|
||||
|
@ -952,9 +1185,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/register": {
|
||||
"version": "7.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@babel/register/-/register-7.8.3.tgz",
|
||||
"integrity": "sha512-t7UqebaWwo9nXWClIPLPloa5pN33A2leVs8Hf0e9g9YwUP8/H9NeR7DJU+4CXo23QtjChQv5a3DjEtT83ih1rg==",
|
||||
"version": "7.8.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/register/-/register-7.8.6.tgz",
|
||||
"integrity": "sha512-7IDO93fuRsbyml7bAafBQb3RcBGlCpU4hh5wADA2LJEEcYk92WkwFZ0pHyIi2fb5Auoz1714abETdZKCOxN0CQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"find-cache-dir": "^2.0.0",
|
||||
|
@ -1453,12 +1686,6 @@
|
|||
"integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/estree": {
|
||||
"version": "0.0.42",
|
||||
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.42.tgz",
|
||||
"integrity": "sha512-K1DPVvnBCPxzD+G51/cxVIoc2X8uUVl1zpJeE6iKcgHMj4+tbat5Xu4TjV7v2QSDbIeAfLi2hIk+u2+s0MlpUQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/events": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz",
|
||||
|
@ -1599,9 +1826,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"acorn": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz",
|
||||
"integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==",
|
||||
"version": "7.1.1",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz",
|
||||
"integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==",
|
||||
"dev": true
|
||||
},
|
||||
"acorn-globals": {
|
||||
|
@ -1951,9 +2178,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"async": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/async/-/async-3.1.1.tgz",
|
||||
"integrity": "sha512-X5Dj8hK1pJNC2Wzo2Rcp9FBVdJMGRR/S7V+lH46s8GVFhtbo5O4Le5GECCF/8PISVdkUA6mMPvgz7qTTD1rf1g==",
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz",
|
||||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==",
|
||||
"dev": true
|
||||
},
|
||||
"async-each": {
|
||||
|
@ -3435,9 +3662,9 @@
|
|||
}
|
||||
},
|
||||
"cypress": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/cypress/-/cypress-4.0.2.tgz",
|
||||
"integrity": "sha512-WRzxOoSd+TxyXKa7Zi9orz3ii5VW7yhhVYstCU+EpOKfPan9x5Ww2Clucmy4H/W0GHUYAo7GYFZRD33ZCSNBQA==",
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/cypress/-/cypress-4.1.0.tgz",
|
||||
"integrity": "sha512-FFV8pS9iuriSX4M9rna6awJUhiqozZD1D5z5BprCUJoho1ctbcgpkEUIUnqxli2OwjQqVz07egO+iqoGL+tw7g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@cypress/listr-verbose-renderer": "0.4.1",
|
||||
|
@ -3446,13 +3673,13 @@
|
|||
"arch": "2.1.1",
|
||||
"bluebird": "3.7.2",
|
||||
"cachedir": "2.3.0",
|
||||
"chalk": "3.0.0",
|
||||
"chalk": "2.4.2",
|
||||
"check-more-types": "2.24.0",
|
||||
"commander": "4.1.0",
|
||||
"common-tags": "1.8.0",
|
||||
"debug": "4.1.1",
|
||||
"eventemitter2": "4.1.2",
|
||||
"execa": "3.3.0",
|
||||
"execa": "1.0.0",
|
||||
"executable": "4.1.1",
|
||||
"extract-zip": "1.6.7",
|
||||
"fs-extra": "8.1.0",
|
||||
|
@ -3465,6 +3692,8 @@
|
|||
"log-symbols": "3.0.0",
|
||||
"minimist": "1.2.0",
|
||||
"moment": "2.24.0",
|
||||
"ospath": "1.2.2",
|
||||
"pretty-bytes": "5.3.0",
|
||||
"ramda": "0.26.1",
|
||||
"request": "2.88.0",
|
||||
"request-progress": "3.0.0",
|
||||
|
@ -3475,69 +3704,44 @@
|
|||
"yauzl": "2.10.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
|
||||
"integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/color-name": "^1.1.1",
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"bluebird": {
|
||||
"version": "3.7.2",
|
||||
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
|
||||
"integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==",
|
||||
"dev": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
|
||||
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-name": "~1.1.4"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"commander": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-4.1.0.tgz",
|
||||
"integrity": "sha512-NIQrwvv9V39FHgGFm36+U9SMQzbiHvU79k+iADraJTpmrFFfx7Ds0IvDoAdZsDrknlkRk14OYoWXb57uTh7/sw==",
|
||||
"dev": true
|
||||
},
|
||||
"execa": {
|
||||
"version": "3.3.0",
|
||||
"resolved": "https://registry.npmjs.org/execa/-/execa-3.3.0.tgz",
|
||||
"integrity": "sha512-j5Vit5WZR/cbHlqU97+qcnw9WHRCIL4V1SVe75VcHcD1JRBdt8fv0zw89b7CQHQdUHTt2VjuhcF5ibAgVOxqpg==",
|
||||
"cross-spawn": {
|
||||
"version": "6.0.5",
|
||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
|
||||
"integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"cross-spawn": "^7.0.0",
|
||||
"get-stream": "^5.0.0",
|
||||
"human-signals": "^1.1.1",
|
||||
"is-stream": "^2.0.0",
|
||||
"merge-stream": "^2.0.0",
|
||||
"npm-run-path": "^4.0.0",
|
||||
"onetime": "^5.1.0",
|
||||
"p-finally": "^2.0.0",
|
||||
"signal-exit": "^3.0.2",
|
||||
"strip-final-newline": "^2.0.0"
|
||||
"nice-try": "^1.0.4",
|
||||
"path-key": "^2.0.1",
|
||||
"semver": "^5.5.0",
|
||||
"shebang-command": "^1.2.0",
|
||||
"which": "^1.2.9"
|
||||
}
|
||||
},
|
||||
"execa": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
|
||||
"integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"cross-spawn": "^6.0.0",
|
||||
"get-stream": "^4.0.0",
|
||||
"is-stream": "^1.1.0",
|
||||
"npm-run-path": "^2.0.0",
|
||||
"p-finally": "^1.0.0",
|
||||
"signal-exit": "^3.0.0",
|
||||
"strip-eof": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"fs-extra": {
|
||||
|
@ -3551,6 +3755,15 @@
|
|||
"universalify": "^0.1.0"
|
||||
}
|
||||
},
|
||||
"get-stream": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
|
||||
"integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"pump": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"global-dirs": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz",
|
||||
|
@ -3585,6 +3798,33 @@
|
|||
"path-is-inside": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"is-stream": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
|
||||
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
|
||||
"dev": true
|
||||
},
|
||||
"npm-run-path": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
|
||||
"integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"path-key": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"p-finally": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
|
||||
"integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",
|
||||
"dev": true
|
||||
},
|
||||
"path-key": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
|
||||
"integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
|
||||
"dev": true
|
||||
},
|
||||
"request": {
|
||||
"version": "2.88.0",
|
||||
"resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",
|
||||
|
@ -3613,6 +3853,21 @@
|
|||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"shebang-command": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
|
||||
"integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"shebang-regex": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"shebang-regex": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
|
||||
"integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
|
||||
"dev": true
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
|
||||
|
@ -3631,6 +3886,15 @@
|
|||
"psl": "^1.1.24",
|
||||
"punycode": "^1.4.1"
|
||||
}
|
||||
},
|
||||
"which": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
|
||||
"integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"isexe": "^2.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -4390,9 +4654,9 @@
|
|||
}
|
||||
},
|
||||
"eslint-config-ash-nazg": {
|
||||
"version": "17.2.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-config-ash-nazg/-/eslint-config-ash-nazg-17.2.0.tgz",
|
||||
"integrity": "sha512-ZzYYc2AUMu/Y4l7X0adDcIQ8VG0pEQImcNLU06KcBZnR/tJmLcxpm8WjP9LSeAp0XFh+mE84JMIXx6yLAw8ycg==",
|
||||
"version": "17.3.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-config-ash-nazg/-/eslint-config-ash-nazg-17.3.0.tgz",
|
||||
"integrity": "sha512-Cri5paOgtuxCJ/y0JxtZK8m0LMujPqkNsv8iLuiW5gT05/LJALzL3hwNjshHhR5uF5i4NduoWPfKkgkZwTe5zw==",
|
||||
"dev": true
|
||||
},
|
||||
"eslint-config-standard": {
|
||||
|
@ -4508,9 +4772,9 @@
|
|||
}
|
||||
},
|
||||
"eslint-plugin-array-func": {
|
||||
"version": "3.1.3",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-array-func/-/eslint-plugin-array-func-3.1.3.tgz",
|
||||
"integrity": "sha512-uRfJ4d9Fyyvxm6/w++++RSQoXZyERFF0+6zqupgg5Mw/+eG4y19yrptTghJlApntKlPZBpA4XCOIBzJbvLrArQ==",
|
||||
"version": "3.1.4",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-array-func/-/eslint-plugin-array-func-3.1.4.tgz",
|
||||
"integrity": "sha512-6ScIzTA5rbgtaQTtQ/rshb5Gzgx4Wd5g+bRe3p08XaA/+otJ73fPc4qxF2LtV4LHhg9UN2OwVs0xMKUwGH4kbQ==",
|
||||
"dev": true
|
||||
},
|
||||
"eslint-plugin-chai-expect": {
|
||||
|
@ -4669,9 +4933,9 @@
|
|||
}
|
||||
},
|
||||
"eslint-plugin-jsdoc": {
|
||||
"version": "21.0.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-21.0.0.tgz",
|
||||
"integrity": "sha512-CdLGe2oyw5YAX9rxq9bVz7H2PK+r8PVwdGuvYGMBstpbVD/66yUAgRFQRsJwAsRKLmReo58Lw1jFdNcxdOc4eg==",
|
||||
"version": "22.0.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-22.0.0.tgz",
|
||||
"integrity": "sha512-dLqUtIL6tvOoV+9IDdP3FqOnQ/sxklzs4hxZa91kt0TGI2o1fSqIuc6wa71oWtWKEyvaQj7m6CnzQxcBC9CEsg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"comment-parser": "^0.7.2",
|
||||
|
@ -4692,9 +4956,9 @@
|
|||
}
|
||||
},
|
||||
"eslint-plugin-markdown": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-markdown/-/eslint-plugin-markdown-1.0.1.tgz",
|
||||
"integrity": "sha512-nAUURNHJGPooBMZMP23FmTbh3LTdgoSqeFBv9FA3fYrJ+vDUJxrp6nKiQF4iDNAmnWQnmnrDvV61BmIF4X9QAQ==",
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-markdown/-/eslint-plugin-markdown-1.0.2.tgz",
|
||||
"integrity": "sha512-BfvXKsO0K+zvdarNc801jsE/NTLmig4oKhZ1U3aSUgTf2dB/US5+CrfGxMsCK2Ki1vS1R3HPok+uYpufFndhzw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"object-assign": "^4.0.1",
|
||||
|
@ -8975,9 +9239,9 @@
|
|||
}
|
||||
},
|
||||
"mocha": {
|
||||
"version": "7.0.1",
|
||||
"resolved": "https://registry.npmjs.org/mocha/-/mocha-7.0.1.tgz",
|
||||
"integrity": "sha512-9eWmWTdHLXh72rGrdZjNbG3aa1/3NRPpul1z0D979QpEnFdCG0Q5tv834N+94QEN2cysfV72YocQ3fn87s70fg==",
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/mocha/-/mocha-7.1.0.tgz",
|
||||
"integrity": "sha512-MymHK8UkU0K15Q/zX7uflZgVoRWiTjy0fXE/QjKts6mowUvGxOdPhZ2qj3b0iZdUrNZlW9LAIMFHB4IW+2b3EQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-colors": "3.2.3",
|
||||
|
@ -8991,7 +9255,7 @@
|
|||
"growl": "1.10.5",
|
||||
"he": "1.2.0",
|
||||
"js-yaml": "3.13.1",
|
||||
"log-symbols": "2.2.0",
|
||||
"log-symbols": "3.0.0",
|
||||
"minimatch": "3.0.4",
|
||||
"mkdirp": "0.5.1",
|
||||
"ms": "2.1.1",
|
||||
|
@ -9110,15 +9374,6 @@
|
|||
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
|
||||
"dev": true
|
||||
},
|
||||
"log-symbols": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz",
|
||||
"integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chalk": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
|
||||
|
@ -9164,8 +9419,9 @@
|
|||
}
|
||||
},
|
||||
"mocha-badge-generator": {
|
||||
"version": "git+https://github.com/brettz9/mocha-badge-generator.git#1fe0301e48aaffd51756f79c09daa8f0a553e8d6",
|
||||
"from": "git+https://github.com/brettz9/mocha-badge-generator.git#makeBadge",
|
||||
"version": "0.5.0",
|
||||
"resolved": "https://registry.npmjs.org/mocha-badge-generator/-/mocha-badge-generator-0.5.0.tgz",
|
||||
"integrity": "sha512-rOU+0B4SxYv3om3wR4vZ7A8pUVguTmNoZzvguVDRMa1miiHJuf5f7ghB9jED8sNaaFtKuhOAbXhSFcJQPJNv4A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"badge-up": "git+https://github.com/brettz9/badge-up.git#npm-and-testing-with-promise",
|
||||
|
@ -9173,35 +9429,106 @@
|
|||
}
|
||||
},
|
||||
"mochawesome": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/mochawesome/-/mochawesome-4.1.0.tgz",
|
||||
"integrity": "sha512-U23K19mLqmuBqFyIBl7FVkcIuG/2JYStCj+91WmxK1/psLgHlWBEZsNe25U0x4t1Eqgu55aHv+0utLwzfhnupw==",
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/mochawesome/-/mochawesome-5.0.0.tgz",
|
||||
"integrity": "sha512-1Vb0G8rqURptOZUmU5xLkLUWKYlx97IoMF2/xW18tL08Z1CZaUbzLAGbgq/s3DCn/vOrb8Dy7swb/cszp3Ylpg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chalk": "^2.4.1",
|
||||
"chalk": "^3.0.0",
|
||||
"diff": "^4.0.1",
|
||||
"json-stringify-safe": "^5.0.1",
|
||||
"lodash.isempty": "^4.4.0",
|
||||
"lodash.isfunction": "^3.0.9",
|
||||
"lodash.isobject": "^3.0.2",
|
||||
"lodash.isstring": "^4.0.1",
|
||||
"mochawesome-report-generator": "^4.0.0",
|
||||
"strip-ansi": "^5.0.0",
|
||||
"uuid": "^3.3.2"
|
||||
"mochawesome-report-generator": "^4.1.0",
|
||||
"strip-ansi": "^6.0.0",
|
||||
"uuid": "^7.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-regex": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
|
||||
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
|
||||
"dev": true
|
||||
},
|
||||
"ansi-styles": {
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
|
||||
"integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/color-name": "^1.1.1",
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
|
||||
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-name": "~1.1.4"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"diff": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
|
||||
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true
|
||||
},
|
||||
"strip-ansi": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
|
||||
"integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^5.0.0"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
|
||||
"integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"uuid": {
|
||||
"version": "7.0.2",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.2.tgz",
|
||||
"integrity": "sha512-vy9V/+pKG+5ZTYKf+VcphF5Oc6EFiu3W8Nv3P3zIh0EqVI80ZxOzuPfe9EHjkFNvf8+xuTHVeei4Drydlx4zjw==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"mochawesome-merge": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/mochawesome-merge/-/mochawesome-merge-4.0.1.tgz",
|
||||
"integrity": "sha512-ABQm41lq2Gnyg616P7g5MYi3u2e2GhF+soqMVhP/hnGLAu68q0i+fNawLNb9wW9M73AiQ1ST+kr2XWuEMqb7iw==",
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/mochawesome-merge/-/mochawesome-merge-4.0.2.tgz",
|
||||
"integrity": "sha512-bQf3RchxdFh1gtfCC4BP2lBiE9RUpEpEiUnd9BuHntjoiZIQ5zX7+DyvT8z/PjDO8JkWm28T2U+7fHwyFt/CIg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"fs-extra": "^7.0.1",
|
||||
|
@ -10226,6 +10553,12 @@
|
|||
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
|
||||
"dev": true
|
||||
},
|
||||
"ospath": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/ospath/-/ospath-1.2.2.tgz",
|
||||
"integrity": "sha1-EnZjl3Sj+O8lcvf+QoDg6kVQwHs=",
|
||||
"dev": true
|
||||
},
|
||||
"outpipe": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/outpipe/-/outpipe-1.1.1.tgz",
|
||||
|
@ -11451,14 +11784,21 @@
|
|||
}
|
||||
},
|
||||
"rollup": {
|
||||
"version": "1.31.1",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-1.31.1.tgz",
|
||||
"integrity": "sha512-2JREN1YdrS/kpPzEd33ZjtuNbOuBC3ePfuZBdKEybvqcEcszW1ckyVqzcEiEe0nE8sqHK+pbJg+PsAgRJ8+1dg==",
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.0.0.tgz",
|
||||
"integrity": "sha512-tbvWownITR+0ebaX6iRr7IcLkziTCJacRpmWz03NIj3CZDmGlergYSwdG8wPx68LT0ms1YzqmbjUQHb6ut8pdw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/estree": "*",
|
||||
"@types/node": "*",
|
||||
"acorn": "^7.1.0"
|
||||
"fsevents": "~2.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"fsevents": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz",
|
||||
"integrity": "sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"rollup-plugin-babel": {
|
||||
|
@ -12223,6 +12563,12 @@
|
|||
"integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
|
||||
"dev": true
|
||||
},
|
||||
"strip-eof": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
|
||||
"integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=",
|
||||
"dev": true
|
||||
},
|
||||
"strip-filename-increment": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/strip-filename-increment/-/strip-filename-increment-2.0.1.tgz",
|
||||
|
@ -12766,9 +13112,9 @@
|
|||
}
|
||||
},
|
||||
"typescript": {
|
||||
"version": "3.8.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.2.tgz",
|
||||
"integrity": "sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ==",
|
||||
"version": "3.8.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz",
|
||||
"integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==",
|
||||
"dev": true
|
||||
},
|
||||
"typical": {
|
||||
|
|
30
package.json
30
package.json
|
@ -135,12 +135,12 @@
|
|||
],
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@babel/node": "^7.8.4",
|
||||
"@babel/core": "^7.8.7",
|
||||
"@babel/node": "^7.8.7",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.8.3",
|
||||
"@babel/plugin-transform-named-capturing-groups-regex": "^7.8.3",
|
||||
"@babel/preset-env": "^7.8.4",
|
||||
"@babel/register": "^7.8.3",
|
||||
"@babel/preset-env": "^7.8.7",
|
||||
"@babel/register": "^7.8.6",
|
||||
"@cypress/code-coverage": "^1.12.2",
|
||||
"@cypress/fiddle": "^1.4.2",
|
||||
"@fintechstudios/eslint-plugin-chai-as-promised": "^2.0.0",
|
||||
|
@ -151,14 +151,14 @@
|
|||
"copyfiles": "^2.2.0",
|
||||
"core-js-bundle": "^3.6.4",
|
||||
"coveradge": "^0.3.0",
|
||||
"cypress": "^4.0.2",
|
||||
"cypress": "^4.1.0",
|
||||
"cypress-axe": "^0.5.3",
|
||||
"cypress-multi-reporters": "^1.2.4",
|
||||
"deparam": "git+https://github.com/brettz9/deparam.git#updates",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-ash-nazg": "^17.2.0",
|
||||
"eslint-config-ash-nazg": "^17.3.0",
|
||||
"eslint-config-standard": "^14.1.0",
|
||||
"eslint-plugin-array-func": "^3.1.3",
|
||||
"eslint-plugin-array-func": "^3.1.4",
|
||||
"eslint-plugin-chai-expect": "^2.1.0",
|
||||
"eslint-plugin-chai-expect-keywords": "^2.0.1",
|
||||
"eslint-plugin-chai-friendly": "^0.5.0",
|
||||
|
@ -167,8 +167,8 @@
|
|||
"eslint-plugin-eslint-comments": "^3.1.2",
|
||||
"eslint-plugin-html": "^6.0.0",
|
||||
"eslint-plugin-import": "^2.20.1",
|
||||
"eslint-plugin-jsdoc": "^21.0.0",
|
||||
"eslint-plugin-markdown": "^1.0.1",
|
||||
"eslint-plugin-jsdoc": "^22.0.0",
|
||||
"eslint-plugin-markdown": "^1.0.2",
|
||||
"eslint-plugin-mocha": "^6.3.0",
|
||||
"eslint-plugin-mocha-cleanup": "https://github.com/brettz9/eslint-plugin-mocha-cleanup",
|
||||
"eslint-plugin-no-unsanitized": "^3.0.2",
|
||||
|
@ -185,10 +185,10 @@
|
|||
"jsdoc": "^3.6.3",
|
||||
"license-badger": "^0.11.1",
|
||||
"load-stylesheets": "^0.9.0",
|
||||
"mocha": "^7.0.1",
|
||||
"mocha-badge-generator": "git+https://github.com/brettz9/mocha-badge-generator.git#makeBadge",
|
||||
"mochawesome": "^4.1.0",
|
||||
"mochawesome-merge": "^4.0.1",
|
||||
"mocha": "^7.1.0",
|
||||
"mocha-badge-generator": "^0.5.0",
|
||||
"mochawesome": "^5.0.0",
|
||||
"mochawesome-merge": "^4.0.2",
|
||||
"mochawesome-report-generator": "^4.1.0",
|
||||
"node-static": "^0.7.11",
|
||||
"npm-run-all": "^4.1.5",
|
||||
|
@ -201,12 +201,12 @@
|
|||
"remark-cli": "^7.0.1",
|
||||
"remark-lint-ordered-list-marker-value": "^1.0.4",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "1.31.1",
|
||||
"rollup": "2.0.0",
|
||||
"rollup-plugin-babel": "^4.3.3",
|
||||
"rollup-plugin-re": "^1.0.7",
|
||||
"rollup-plugin-terser": "^5.2.0",
|
||||
"stackblur-canvas": "^2.2.0",
|
||||
"typescript": "^3.8.2",
|
||||
"typescript": "^3.8.3",
|
||||
"underscore": "^1.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -336,9 +336,7 @@
|
|||
(function () {
|
||||
if (!('SVGPathSeg' in window)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSeg
|
||||
var _SVGPathSeg =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _SVGPathSeg = /*#__PURE__*/function () {
|
||||
function _SVGPathSeg(type, typeAsLetter, owningPathSegList) {
|
||||
_classCallCheck(this, _SVGPathSeg);
|
||||
|
||||
|
@ -382,9 +380,7 @@
|
|||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
|
||||
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
|
||||
|
||||
var _SVGPathSegClosePath =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg2) {
|
||||
var _SVGPathSegClosePath = /*#__PURE__*/function (_SVGPathSeg2) {
|
||||
_inherits(_SVGPathSegClosePath, _SVGPathSeg2);
|
||||
|
||||
function _SVGPathSegClosePath(owningPathSegList) {
|
||||
|
@ -413,9 +409,7 @@
|
|||
return _SVGPathSegClosePath;
|
||||
}(_SVGPathSeg);
|
||||
|
||||
var _SVGPathSegMovetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg3) {
|
||||
var _SVGPathSegMovetoAbs = /*#__PURE__*/function (_SVGPathSeg3) {
|
||||
_inherits(_SVGPathSegMovetoAbs, _SVGPathSeg3);
|
||||
|
||||
function _SVGPathSegMovetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -474,9 +468,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegMovetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg4) {
|
||||
var _SVGPathSegMovetoRel = /*#__PURE__*/function (_SVGPathSeg4) {
|
||||
_inherits(_SVGPathSegMovetoRel, _SVGPathSeg4);
|
||||
|
||||
function _SVGPathSegMovetoRel(owningPathSegList, x, y) {
|
||||
|
@ -535,9 +527,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg5) {
|
||||
var _SVGPathSegLinetoAbs = /*#__PURE__*/function (_SVGPathSeg5) {
|
||||
_inherits(_SVGPathSegLinetoAbs, _SVGPathSeg5);
|
||||
|
||||
function _SVGPathSegLinetoAbs(owningPathSegList, x, y) {
|
||||
|
@ -596,9 +586,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg6) {
|
||||
var _SVGPathSegLinetoRel = /*#__PURE__*/function (_SVGPathSeg6) {
|
||||
_inherits(_SVGPathSegLinetoRel, _SVGPathSeg6);
|
||||
|
||||
function _SVGPathSegLinetoRel(owningPathSegList, x, y) {
|
||||
|
@ -657,9 +645,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg7) {
|
||||
var _SVGPathSegCurvetoCubicAbs = /*#__PURE__*/function (_SVGPathSeg7) {
|
||||
_inherits(_SVGPathSegCurvetoCubicAbs, _SVGPathSeg7);
|
||||
|
||||
function _SVGPathSegCurvetoCubicAbs(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -766,9 +752,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg8) {
|
||||
var _SVGPathSegCurvetoCubicRel = /*#__PURE__*/function (_SVGPathSeg8) {
|
||||
_inherits(_SVGPathSegCurvetoCubicRel, _SVGPathSeg8);
|
||||
|
||||
function _SVGPathSegCurvetoCubicRel(owningPathSegList, x, y, x1, y1, x2, y2) {
|
||||
|
@ -875,9 +859,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg9) {
|
||||
var _SVGPathSegCurvetoQuadraticAbs = /*#__PURE__*/function (_SVGPathSeg9) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticAbs, _SVGPathSeg9);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticAbs(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -960,9 +942,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg10) {
|
||||
var _SVGPathSegCurvetoQuadraticRel = /*#__PURE__*/function (_SVGPathSeg10) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticRel, _SVGPathSeg10);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticRel(owningPathSegList, x, y, x1, y1) {
|
||||
|
@ -1045,9 +1025,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg11) {
|
||||
var _SVGPathSegArcAbs = /*#__PURE__*/function (_SVGPathSeg11) {
|
||||
_inherits(_SVGPathSegArcAbs, _SVGPathSeg11);
|
||||
|
||||
function _SVGPathSegArcAbs(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1166,9 +1144,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegArcRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg12) {
|
||||
var _SVGPathSegArcRel = /*#__PURE__*/function (_SVGPathSeg12) {
|
||||
_inherits(_SVGPathSegArcRel, _SVGPathSeg12);
|
||||
|
||||
function _SVGPathSegArcRel(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
|
||||
|
@ -1287,9 +1263,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg13) {
|
||||
var _SVGPathSegLinetoHorizontalAbs = /*#__PURE__*/function (_SVGPathSeg13) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalAbs, _SVGPathSeg13);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalAbs(owningPathSegList, x) {
|
||||
|
@ -1334,9 +1308,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoHorizontalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg14) {
|
||||
var _SVGPathSegLinetoHorizontalRel = /*#__PURE__*/function (_SVGPathSeg14) {
|
||||
_inherits(_SVGPathSegLinetoHorizontalRel, _SVGPathSeg14);
|
||||
|
||||
function _SVGPathSegLinetoHorizontalRel(owningPathSegList, x) {
|
||||
|
@ -1381,9 +1353,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg15) {
|
||||
var _SVGPathSegLinetoVerticalAbs = /*#__PURE__*/function (_SVGPathSeg15) {
|
||||
_inherits(_SVGPathSegLinetoVerticalAbs, _SVGPathSeg15);
|
||||
|
||||
function _SVGPathSegLinetoVerticalAbs(owningPathSegList, y) {
|
||||
|
@ -1428,9 +1398,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegLinetoVerticalRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg16) {
|
||||
var _SVGPathSegLinetoVerticalRel = /*#__PURE__*/function (_SVGPathSeg16) {
|
||||
_inherits(_SVGPathSegLinetoVerticalRel, _SVGPathSeg16);
|
||||
|
||||
function _SVGPathSegLinetoVerticalRel(owningPathSegList, y) {
|
||||
|
@ -1475,9 +1443,7 @@
|
|||
enumerable: true
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg17) {
|
||||
var _SVGPathSegCurvetoCubicSmoothAbs = /*#__PURE__*/function (_SVGPathSeg17) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothAbs, _SVGPathSeg17);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothAbs(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1560,9 +1526,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoCubicSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg18) {
|
||||
var _SVGPathSegCurvetoCubicSmoothRel = /*#__PURE__*/function (_SVGPathSeg18) {
|
||||
_inherits(_SVGPathSegCurvetoCubicSmoothRel, _SVGPathSeg18);
|
||||
|
||||
function _SVGPathSegCurvetoCubicSmoothRel(owningPathSegList, x, y, x2, y2) {
|
||||
|
@ -1645,9 +1609,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg19) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothAbs = /*#__PURE__*/function (_SVGPathSeg19) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothAbs, _SVGPathSeg19);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothAbs(owningPathSegList, x, y) {
|
||||
|
@ -1706,9 +1668,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel =
|
||||
/*#__PURE__*/
|
||||
function (_SVGPathSeg20) {
|
||||
var _SVGPathSegCurvetoQuadraticSmoothRel = /*#__PURE__*/function (_SVGPathSeg20) {
|
||||
_inherits(_SVGPathSegCurvetoQuadraticSmoothRel, _SVGPathSeg20);
|
||||
|
||||
function _SVGPathSegCurvetoQuadraticSmoothRel(owningPathSegList, x, y) {
|
||||
|
@ -1904,9 +1864,7 @@
|
|||
|
||||
if (!('SVGPathSegList' in window) || !('appendItem' in window.SVGPathSegList.prototype)) {
|
||||
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSegList
|
||||
var SVGPathSegList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGPathSegList = /*#__PURE__*/function () {
|
||||
function SVGPathSegList(pathElement) {
|
||||
_classCallCheck(this, SVGPathSegList);
|
||||
|
||||
|
@ -2090,9 +2048,7 @@
|
|||
|
||||
var owningPathSegList = this; // eslint-disable-line consistent-this
|
||||
|
||||
var Builder =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Builder = /*#__PURE__*/function () {
|
||||
function Builder() {
|
||||
_classCallCheck(this, Builder);
|
||||
|
||||
|
@ -2109,9 +2065,7 @@
|
|||
return Builder;
|
||||
}();
|
||||
|
||||
var Source =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Source = /*#__PURE__*/function () {
|
||||
function Source(string) {
|
||||
_classCallCheck(this, Source);
|
||||
|
||||
|
@ -3136,9 +3090,7 @@
|
|||
* @implements {module:SVGTransformList.SVGEditTransformList}
|
||||
*/
|
||||
|
||||
var SVGTransformList =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SVGTransformList = /*#__PURE__*/function () {
|
||||
// eslint-disable-line no-shadow
|
||||
|
||||
/**
|
||||
|
@ -3774,9 +3726,7 @@
|
|||
* Base class for commands.
|
||||
*/
|
||||
|
||||
var Command =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Command = /*#__PURE__*/function () {
|
||||
function Command() {
|
||||
_classCallCheck(this, Command);
|
||||
}
|
||||
|
@ -3870,9 +3820,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var MoveElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command) {
|
||||
var MoveElementCommand = /*#__PURE__*/function (_Command) {
|
||||
_inherits(MoveElementCommand, _Command);
|
||||
|
||||
/**
|
||||
|
@ -3966,9 +3914,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var InsertElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command2) {
|
||||
var InsertElementCommand = /*#__PURE__*/function (_Command2) {
|
||||
_inherits(InsertElementCommand, _Command2);
|
||||
|
||||
/**
|
||||
|
@ -4058,9 +4004,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var RemoveElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command3) {
|
||||
var RemoveElementCommand = /*#__PURE__*/function (_Command3) {
|
||||
_inherits(RemoveElementCommand, _Command3);
|
||||
|
||||
/**
|
||||
|
@ -4172,9 +4116,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var ChangeElementCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command4) {
|
||||
var ChangeElementCommand = /*#__PURE__*/function (_Command4) {
|
||||
_inherits(ChangeElementCommand, _Command4);
|
||||
|
||||
/**
|
||||
|
@ -4367,9 +4309,7 @@
|
|||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
var BatchCommand =
|
||||
/*#__PURE__*/
|
||||
function (_Command5) {
|
||||
var BatchCommand = /*#__PURE__*/function (_Command5) {
|
||||
_inherits(BatchCommand, _Command5);
|
||||
|
||||
/**
|
||||
|
@ -4495,9 +4435,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
var UndoManager =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var UndoManager = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {module:history.HistoryEventHandler} historyEventHandler
|
||||
*/
|
||||
|
@ -5636,9 +5574,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
var Segment =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Segment = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {Integer} index
|
||||
* @param {SVGPathSeg} item
|
||||
|
@ -5866,9 +5802,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
var Path =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Path = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {SVGPathElement} elem
|
||||
* @throws {Error} If constructed without a path element
|
||||
|
@ -9496,9 +9430,7 @@
|
|||
*/
|
||||
|
||||
function _importSetGlobal() {
|
||||
_importSetGlobal = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(url, _ref2) {
|
||||
_importSetGlobal = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(url, _ref2) {
|
||||
var glob, returnDefault, modularVersion;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -9959,9 +9891,7 @@
|
|||
* @memberof module:layer
|
||||
*/
|
||||
|
||||
var Layer =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Layer = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string} name - Layer name
|
||||
* @param {SVGGElement|null} group - An existing SVG group element or null.
|
||||
|
@ -10256,9 +10186,7 @@
|
|||
* @memberof module:history
|
||||
*/
|
||||
|
||||
var HistoryRecordingService =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var HistoryRecordingService = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {history.UndoManager|null} undoManager - The undo manager.
|
||||
* A value of `null` is valid for cases where no history recording is required.
|
||||
|
@ -10471,9 +10399,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var Drawing =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Drawing = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {SVGSVGElement} svgElem - The SVG DOM Element that this JS object
|
||||
* encapsulates. If the svgElem has a se:nonce attribute on it, then
|
||||
|
@ -13140,9 +13066,7 @@
|
|||
* Private class for DOM element selection boxes.
|
||||
*/
|
||||
|
||||
var Selector =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var Selector = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {Integer} id - Internally identify the selector
|
||||
* @param {Element} elem - DOM element associated with this selector
|
||||
|
@ -13389,9 +13313,7 @@
|
|||
* Manage all selector objects (selection boxes).
|
||||
*/
|
||||
|
||||
var SelectorManager =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var SelectorManager = /*#__PURE__*/function () {
|
||||
/**
|
||||
* Sets up properties and calls `initGroup`.
|
||||
*/
|
||||
|
@ -14864,12 +14786,8 @@
|
|||
*/
|
||||
|
||||
|
||||
this.addExtension =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref3 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(name, extInitFunc, _ref4) {
|
||||
this.addExtension = /*#__PURE__*/function () {
|
||||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(name, extInitFunc, _ref4) {
|
||||
var jq, importLocale, argObj, extObj;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
|
@ -18082,12 +18000,8 @@
|
|||
* @returns {Promise<module:svgcanvas.ImageExportedResults>} Resolves to {@link module:svgcanvas.ImageExportedResults}
|
||||
*/
|
||||
|
||||
this.rasterExport =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref5 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(imgType, quality, exportWindowName) {
|
||||
this.rasterExport = /*#__PURE__*/function () {
|
||||
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(imgType, quality, exportWindowName) {
|
||||
var opts,
|
||||
type,
|
||||
mimeType,
|
||||
|
@ -18230,12 +18144,8 @@
|
|||
*/
|
||||
|
||||
|
||||
this.exportPDF =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref7 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3(exportWindowName) {
|
||||
this.exportPDF = /*#__PURE__*/function () {
|
||||
var _ref7 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(exportWindowName) {
|
||||
var outputType,
|
||||
modularVersion,
|
||||
res,
|
||||
|
@ -28221,12 +28131,8 @@
|
|||
* @returns {Promise<module:locale.LangAndData>} Resolves to [`LangAndData`]{@link module:locale.LangAndData}
|
||||
*/
|
||||
|
||||
var readLang =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref3 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(langData) {
|
||||
var readLang = /*#__PURE__*/function () {
|
||||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(langData) {
|
||||
var more, _langData, tools, properties, config, layers, common, ui, opts, ariaLabels;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
|
@ -28476,12 +28382,8 @@
|
|||
* @returns {Promise<module:locale.LangAndData>} Resolves to result of {@link module:locale.readLang}
|
||||
*/
|
||||
|
||||
var putLocale =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref8 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(givenParam, goodLangs, conf) {
|
||||
var putLocale = /*#__PURE__*/function () {
|
||||
var _ref8 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(givenParam, goodLangs, conf) {
|
||||
var url;
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
|
@ -29012,9 +28914,7 @@
|
|||
|
||||
|
||||
function _loadSvgString() {
|
||||
_loadSvgString = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee23(str) {
|
||||
_loadSvgString = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee23(str) {
|
||||
var _ref49,
|
||||
noAlert,
|
||||
success,
|
||||
|
@ -29070,12 +28970,8 @@
|
|||
* @param {string} [localeInfo.lang=defaultLang] Defaults to `defaultLang` of {@link module:SVGEditor~getImportLocale}
|
||||
* @returns {Promise<module:locale.LocaleStrings>} Resolves to {@link module:locale.LocaleStrings}
|
||||
*/
|
||||
return (
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _importLocaleDefaulting = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return (/*#__PURE__*/function () {
|
||||
var _importLocaleDefaulting = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var _ref2,
|
||||
_ref2$name,
|
||||
name,
|
||||
|
@ -29598,12 +29494,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var extAndLocaleFunc =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref7 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee3() {
|
||||
var extAndLocaleFunc = /*#__PURE__*/function () {
|
||||
var _ref7 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
||||
var _ref8, langParam, langData, _uiStrings$common, ok, cancel;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||
|
@ -29630,12 +29522,8 @@
|
|||
|
||||
_context3.prev = 10;
|
||||
_context3.next = 13;
|
||||
return Promise.all(curConfig.extensions.map(
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref9 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee2(extname) {
|
||||
return Promise.all(curConfig.extensions.map( /*#__PURE__*/function () {
|
||||
var _ref9 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(extname) {
|
||||
var extName, url, imported, _imported$name, _name2, init, importLocale;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
|
@ -30238,9 +30126,7 @@
|
|||
'#tools_bottom label .svg_icon': 18
|
||||
},
|
||||
callback: function callback(icons) {
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee4() {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
||||
var tleft, minHeight, size, getStylesheetPriority, stylesheets, idx, _stylesheets;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||
|
@ -30814,9 +30700,7 @@
|
|||
|
||||
|
||||
function _promptImgURL() {
|
||||
_promptImgURL = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee18() {
|
||||
_promptImgURL = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee18() {
|
||||
var _ref35,
|
||||
_ref35$cancelDeletes,
|
||||
cancelDeletes,
|
||||
|
@ -32079,12 +31963,8 @@
|
|||
* @returns {Promise<void>|void} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var extAdded =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref16 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee5(win, ext) {
|
||||
var extAdded = /*#__PURE__*/function () {
|
||||
var _ref16 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(win, ext) {
|
||||
var cbCalled, resizeDone, lang, prepResize, runCallback, btnSelects, svgicons, fallbackObj, altsObj, placementObj, holders;
|
||||
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
||||
while (1) {
|
||||
|
@ -32775,11 +32655,7 @@
|
|||
}); // fired when user wants to move elements to another layer
|
||||
|
||||
var promptMoveLayerOnce = false;
|
||||
$$b('#selLayerNames').change(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee6() {
|
||||
$$b('#selLayerNames').change( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
||||
var destLayer, confirmStr, moveToLayer, ok;
|
||||
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
||||
while (1) {
|
||||
|
@ -33522,12 +33398,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var makeHyperlink =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref20 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee7() {
|
||||
var makeHyperlink = /*#__PURE__*/function () {
|
||||
var _ref20 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
|
||||
var url;
|
||||
return regeneratorRuntime.wrap(function _callee7$(_context7) {
|
||||
while (1) {
|
||||
|
@ -33677,12 +33549,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var clickClear =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref21 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee8() {
|
||||
var clickClear = /*#__PURE__*/function () {
|
||||
var _ref21 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
||||
var _curConfig$dimensions, x, y, ok;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee8$(_context8) {
|
||||
|
@ -33769,12 +33637,8 @@
|
|||
* @returns {Promise<void>} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var clickExport =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref22 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee9() {
|
||||
var clickExport = /*#__PURE__*/function () {
|
||||
var _ref22 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
|
||||
var imgType, exportWindowName, openExportWindow, chrome, quality;
|
||||
return regeneratorRuntime.wrap(function _callee9$(_context9) {
|
||||
while (1) {
|
||||
|
@ -34070,12 +33934,8 @@
|
|||
*/
|
||||
|
||||
|
||||
var saveSourceEditor =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref24 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee10() {
|
||||
var saveSourceEditor = /*#__PURE__*/function () {
|
||||
var _ref24 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
|
||||
var saveChanges, ok;
|
||||
return regeneratorRuntime.wrap(function _callee10$(_context10) {
|
||||
while (1) {
|
||||
|
@ -34215,11 +34075,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var savePreferences = editor.savePreferences =
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee11() {
|
||||
var savePreferences = editor.savePreferences = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
|
||||
var color, lang, _ref26, langParam, langData;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee11$(_context11) {
|
||||
|
@ -34280,12 +34136,8 @@
|
|||
* @returns {Promise<void>} Resolves to `undefined`
|
||||
*/
|
||||
|
||||
var cancelOverlays =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref27 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee12() {
|
||||
var cancelOverlays = /*#__PURE__*/function () {
|
||||
var _ref27 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
|
||||
var ok;
|
||||
return regeneratorRuntime.wrap(function _callee12$(_context12) {
|
||||
while (1) {
|
||||
|
@ -34502,9 +34354,7 @@
|
|||
*/
|
||||
|
||||
|
||||
var PaintBox =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var PaintBox = /*#__PURE__*/function () {
|
||||
/**
|
||||
* @param {string|Element|external:jQuery} container
|
||||
* @param {"fill"} type
|
||||
|
@ -34747,11 +34597,7 @@
|
|||
$$b(this).removeClass('push_button_pressed').addClass('push_button');
|
||||
}); // ask for a layer name
|
||||
|
||||
$$b('#layer_new').click(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee13() {
|
||||
$$b('#layer_new').click( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee13() {
|
||||
var uniqName, i, newName;
|
||||
return regeneratorRuntime.wrap(function _callee13$(_context13) {
|
||||
while (1) {
|
||||
|
@ -34830,9 +34676,7 @@
|
|||
|
||||
|
||||
function _cloneLayer() {
|
||||
_cloneLayer = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee19() {
|
||||
_cloneLayer = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee19() {
|
||||
var name, newName;
|
||||
return regeneratorRuntime.wrap(function _callee19$(_context19) {
|
||||
while (1) {
|
||||
|
@ -34910,11 +34754,7 @@
|
|||
$$b('#layer_down').click(function () {
|
||||
moveLayer(1);
|
||||
});
|
||||
$$b('#layer_rename').click(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee14() {
|
||||
$$b('#layer_rename').click( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee14() {
|
||||
var oldName, newName;
|
||||
return regeneratorRuntime.wrap(function _callee14$(_context14) {
|
||||
while (1) {
|
||||
|
@ -36169,12 +36009,8 @@
|
|||
workarea[0].addEventListener('dragover', onDragOver);
|
||||
workarea[0].addEventListener('dragleave', onDragLeave);
|
||||
workarea[0].addEventListener('drop', importImage);
|
||||
var open = $$b('<input type="file">').change(
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref31 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee16(e) {
|
||||
var open = $$b('<input type="file">').change( /*#__PURE__*/function () {
|
||||
var _ref31 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee16(e) {
|
||||
var ok, reader;
|
||||
return regeneratorRuntime.wrap(function _callee16$(_context16) {
|
||||
while (1) {
|
||||
|
@ -36200,12 +36036,8 @@
|
|||
$$b.process_cancel(uiStrings$1.notification.loadingImage);
|
||||
reader = new FileReader();
|
||||
|
||||
reader.onloadend =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref32 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee15(_ref33) {
|
||||
reader.onloadend = /*#__PURE__*/function () {
|
||||
var _ref32 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee15(_ref33) {
|
||||
var target;
|
||||
return regeneratorRuntime.wrap(function _callee15$(_context15) {
|
||||
while (1) {
|
||||
|
@ -36271,12 +36103,8 @@
|
|||
* @returns {Promise<void>} A Promise which resolves to `undefined`
|
||||
*/
|
||||
|
||||
var setLang = editor.setLang =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
var _ref34 = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee17(lang, allStrings) {
|
||||
var setLang = editor.setLang = /*#__PURE__*/function () {
|
||||
var _ref34 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee17(lang, allStrings) {
|
||||
var oldLayerName, renameLayer, elems;
|
||||
return regeneratorRuntime.wrap(function _callee17$(_context17) {
|
||||
while (1) {
|
||||
|
@ -36465,11 +36293,7 @@
|
|||
*/
|
||||
|
||||
|
||||
editor.runCallbacks =
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee20() {
|
||||
editor.runCallbacks = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee20() {
|
||||
return regeneratorRuntime.wrap(function _callee20$(_context20) {
|
||||
while (1) {
|
||||
switch (_context20.prev = _context20.next) {
|
||||
|
@ -36525,11 +36349,7 @@
|
|||
var _ref43 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
||||
noAlert = _ref43.noAlert;
|
||||
|
||||
return editor.ready(
|
||||
/*#__PURE__*/
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee21() {
|
||||
return editor.ready( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee21() {
|
||||
return regeneratorRuntime.wrap(function _callee21$(_context21) {
|
||||
while (1) {
|
||||
switch (_context21.prev = _context21.next) {
|
||||
|
@ -36724,9 +36544,7 @@
|
|||
window.addEventListener('message', messageListener); // Run init once DOM is loaded
|
||||
// jQuery(editor.init);
|
||||
|
||||
_asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee22() {
|
||||
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee22() {
|
||||
return regeneratorRuntime.wrap(function _callee22$(_context22) {
|
||||
while (1) {
|
||||
switch (_context22.prev = _context22.next) {
|
||||
|
|
Loading…
Reference in New Issue