qauMaWeb/node_modules/.cache/babel-loader/a24a9377091cb359b3bb7c0103f...

1 line
2.8 KiB
JSON

{"ast":null,"code":"import { __extends } from \"tslib\";\nimport Path from '../Path.js';\nimport * as polyHelper from '../helper/poly.js';\n\nvar PolygonShape = function () {\n function PolygonShape() {\n this.points = null;\n this.smooth = 0;\n this.smoothConstraint = null;\n }\n\n return PolygonShape;\n}();\n\nexport { PolygonShape };\n\nvar Polygon = function (_super) {\n __extends(Polygon, _super);\n\n function Polygon(opts) {\n return _super.call(this, opts) || this;\n }\n\n Polygon.prototype.getDefaultShape = function () {\n return new PolygonShape();\n };\n\n Polygon.prototype.buildPath = function (ctx, shape) {\n polyHelper.buildPath(ctx, shape, true);\n };\n\n return Polygon;\n}(Path);\n\n;\nPolygon.prototype.type = 'polygon';\nexport default Polygon;","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/ElectronicMallVue/node_modules/zrender/lib/graphic/shape/Polygon.js"],"names":["__extends","Path","polyHelper","PolygonShape","points","smooth","smoothConstraint","Polygon","_super","opts","call","prototype","getDefaultShape","buildPath","ctx","shape","type"],"mappings":"AAAA,SAASA,SAAT,QAA0B,OAA1B;AACA,OAAOC,IAAP,MAAiB,YAAjB;AACA,OAAO,KAAKC,UAAZ,MAA4B,mBAA5B;;AACA,IAAIC,YAAY,GAAI,YAAY;AAC5B,WAASA,YAAT,GAAwB;AACpB,SAAKC,MAAL,GAAc,IAAd;AACA,SAAKC,MAAL,GAAc,CAAd;AACA,SAAKC,gBAAL,GAAwB,IAAxB;AACH;;AACD,SAAOH,YAAP;AACH,CAPmB,EAApB;;AAQA,SAASA,YAAT;;AACA,IAAII,OAAO,GAAI,UAAUC,MAAV,EAAkB;AAC7BR,EAAAA,SAAS,CAACO,OAAD,EAAUC,MAAV,CAAT;;AACA,WAASD,OAAT,CAAiBE,IAAjB,EAAuB;AACnB,WAAOD,MAAM,CAACE,IAAP,CAAY,IAAZ,EAAkBD,IAAlB,KAA2B,IAAlC;AACH;;AACDF,EAAAA,OAAO,CAACI,SAAR,CAAkBC,eAAlB,GAAoC,YAAY;AAC5C,WAAO,IAAIT,YAAJ,EAAP;AACH,GAFD;;AAGAI,EAAAA,OAAO,CAACI,SAAR,CAAkBE,SAAlB,GAA8B,UAAUC,GAAV,EAAeC,KAAf,EAAsB;AAChDb,IAAAA,UAAU,CAACW,SAAX,CAAqBC,GAArB,EAA0BC,KAA1B,EAAiC,IAAjC;AACH,GAFD;;AAGA,SAAOR,OAAP;AACH,CAZc,CAYbN,IAZa,CAAf;;AAaA;AACAM,OAAO,CAACI,SAAR,CAAkBK,IAAlB,GAAyB,SAAzB;AACA,eAAeT,OAAf","sourcesContent":["import { __extends } from \"tslib\";\nimport Path from '../Path.js';\nimport * as polyHelper from '../helper/poly.js';\nvar PolygonShape = (function () {\n function PolygonShape() {\n this.points = null;\n this.smooth = 0;\n this.smoothConstraint = null;\n }\n return PolygonShape;\n}());\nexport { PolygonShape };\nvar Polygon = (function (_super) {\n __extends(Polygon, _super);\n function Polygon(opts) {\n return _super.call(this, opts) || this;\n }\n Polygon.prototype.getDefaultShape = function () {\n return new PolygonShape();\n };\n Polygon.prototype.buildPath = function (ctx, shape) {\n polyHelper.buildPath(ctx, shape, true);\n };\n return Polygon;\n}(Path));\n;\nPolygon.prototype.type = 'polygon';\nexport default Polygon;\n"]},"metadata":{},"sourceType":"module"}