qauMaWeb/node_modules/.cache/babel-loader/6dc27374fb1dee0eb1cf4db3de4...

1 line
2.9 KiB
JSON

{"ast":null,"code":"import { __extends } from \"tslib\";\nimport Path from '../Path.js';\n\nvar CircleShape = function () {\n function CircleShape() {\n this.cx = 0;\n this.cy = 0;\n this.r = 0;\n }\n\n return CircleShape;\n}();\n\nexport { CircleShape };\n\nvar Circle = function (_super) {\n __extends(Circle, _super);\n\n function Circle(opts) {\n return _super.call(this, opts) || this;\n }\n\n Circle.prototype.getDefaultShape = function () {\n return new CircleShape();\n };\n\n Circle.prototype.buildPath = function (ctx, shape) {\n ctx.moveTo(shape.cx + shape.r, shape.cy);\n ctx.arc(shape.cx, shape.cy, shape.r, 0, Math.PI * 2);\n };\n\n return Circle;\n}(Path);\n\n;\nCircle.prototype.type = 'circle';\nexport default Circle;","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src啊/ElectronicMallVue/node_modules/zrender/lib/graphic/shape/Circle.js"],"names":["__extends","Path","CircleShape","cx","cy","r","Circle","_super","opts","call","prototype","getDefaultShape","buildPath","ctx","shape","moveTo","arc","Math","PI","type"],"mappings":"AAAA,SAASA,SAAT,QAA0B,OAA1B;AACA,OAAOC,IAAP,MAAiB,YAAjB;;AACA,IAAIC,WAAW,GAAI,YAAY;AAC3B,WAASA,WAAT,GAAuB;AACnB,SAAKC,EAAL,GAAU,CAAV;AACA,SAAKC,EAAL,GAAU,CAAV;AACA,SAAKC,CAAL,GAAS,CAAT;AACH;;AACD,SAAOH,WAAP;AACH,CAPkB,EAAnB;;AAQA,SAASA,WAAT;;AACA,IAAII,MAAM,GAAI,UAAUC,MAAV,EAAkB;AAC5BP,EAAAA,SAAS,CAACM,MAAD,EAASC,MAAT,CAAT;;AACA,WAASD,MAAT,CAAgBE,IAAhB,EAAsB;AAClB,WAAOD,MAAM,CAACE,IAAP,CAAY,IAAZ,EAAkBD,IAAlB,KAA2B,IAAlC;AACH;;AACDF,EAAAA,MAAM,CAACI,SAAP,CAAiBC,eAAjB,GAAmC,YAAY;AAC3C,WAAO,IAAIT,WAAJ,EAAP;AACH,GAFD;;AAGAI,EAAAA,MAAM,CAACI,SAAP,CAAiBE,SAAjB,GAA6B,UAAUC,GAAV,EAAeC,KAAf,EAAsB;AAC/CD,IAAAA,GAAG,CAACE,MAAJ,CAAWD,KAAK,CAACX,EAAN,GAAWW,KAAK,CAACT,CAA5B,EAA+BS,KAAK,CAACV,EAArC;AACAS,IAAAA,GAAG,CAACG,GAAJ,CAAQF,KAAK,CAACX,EAAd,EAAkBW,KAAK,CAACV,EAAxB,EAA4BU,KAAK,CAACT,CAAlC,EAAqC,CAArC,EAAwCY,IAAI,CAACC,EAAL,GAAU,CAAlD;AACH,GAHD;;AAIA,SAAOZ,MAAP;AACH,CAba,CAaZL,IAbY,CAAd;;AAcA;AACAK,MAAM,CAACI,SAAP,CAAiBS,IAAjB,GAAwB,QAAxB;AACA,eAAeb,MAAf","sourcesContent":["import { __extends } from \"tslib\";\nimport Path from '../Path.js';\nvar CircleShape = (function () {\n function CircleShape() {\n this.cx = 0;\n this.cy = 0;\n this.r = 0;\n }\n return CircleShape;\n}());\nexport { CircleShape };\nvar Circle = (function (_super) {\n __extends(Circle, _super);\n function Circle(opts) {\n return _super.call(this, opts) || this;\n }\n Circle.prototype.getDefaultShape = function () {\n return new CircleShape();\n };\n Circle.prototype.buildPath = function (ctx, shape) {\n ctx.moveTo(shape.cx + shape.r, shape.cy);\n ctx.arc(shape.cx, shape.cy, shape.r, 0, Math.PI * 2);\n };\n return Circle;\n}(Path));\n;\nCircle.prototype.type = 'circle';\nexport default Circle;\n"]},"metadata":{},"sourceType":"module"}