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

1 line
3.7 KiB
JSON

{"ast":null,"code":"import { __extends } from \"tslib\";\nimport Path from '../Path.js';\nimport * as roundSectorHelper from '../helper/roundSector.js';\n\nvar SectorShape = function () {\n function SectorShape() {\n this.cx = 0;\n this.cy = 0;\n this.r0 = 0;\n this.r = 0;\n this.startAngle = 0;\n this.endAngle = Math.PI * 2;\n this.clockwise = true;\n this.cornerRadius = 0;\n }\n\n return SectorShape;\n}();\n\nexport { SectorShape };\n\nvar Sector = function (_super) {\n __extends(Sector, _super);\n\n function Sector(opts) {\n return _super.call(this, opts) || this;\n }\n\n Sector.prototype.getDefaultShape = function () {\n return new SectorShape();\n };\n\n Sector.prototype.buildPath = function (ctx, shape) {\n roundSectorHelper.buildPath(ctx, shape);\n };\n\n Sector.prototype.isZeroArea = function () {\n return this.shape.startAngle === this.shape.endAngle || this.shape.r === this.shape.r0;\n };\n\n return Sector;\n}(Path);\n\nSector.prototype.type = 'sector';\nexport default Sector;","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/ElectronicMallVue/node_modules/zrender/lib/graphic/shape/Sector.js"],"names":["__extends","Path","roundSectorHelper","SectorShape","cx","cy","r0","r","startAngle","endAngle","Math","PI","clockwise","cornerRadius","Sector","_super","opts","call","prototype","getDefaultShape","buildPath","ctx","shape","isZeroArea","type"],"mappings":"AAAA,SAASA,SAAT,QAA0B,OAA1B;AACA,OAAOC,IAAP,MAAiB,YAAjB;AACA,OAAO,KAAKC,iBAAZ,MAAmC,0BAAnC;;AACA,IAAIC,WAAW,GAAI,YAAY;AAC3B,WAASA,WAAT,GAAuB;AACnB,SAAKC,EAAL,GAAU,CAAV;AACA,SAAKC,EAAL,GAAU,CAAV;AACA,SAAKC,EAAL,GAAU,CAAV;AACA,SAAKC,CAAL,GAAS,CAAT;AACA,SAAKC,UAAL,GAAkB,CAAlB;AACA,SAAKC,QAAL,GAAgBC,IAAI,CAACC,EAAL,GAAU,CAA1B;AACA,SAAKC,SAAL,GAAiB,IAAjB;AACA,SAAKC,YAAL,GAAoB,CAApB;AACH;;AACD,SAAOV,WAAP;AACH,CAZkB,EAAnB;;AAaA,SAASA,WAAT;;AACA,IAAIW,MAAM,GAAI,UAAUC,MAAV,EAAkB;AAC5Bf,EAAAA,SAAS,CAACc,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,IAAIhB,WAAJ,EAAP;AACH,GAFD;;AAGAW,EAAAA,MAAM,CAACI,SAAP,CAAiBE,SAAjB,GAA6B,UAAUC,GAAV,EAAeC,KAAf,EAAsB;AAC/CpB,IAAAA,iBAAiB,CAACkB,SAAlB,CAA4BC,GAA5B,EAAiCC,KAAjC;AACH,GAFD;;AAGAR,EAAAA,MAAM,CAACI,SAAP,CAAiBK,UAAjB,GAA8B,YAAY;AACtC,WAAO,KAAKD,KAAL,CAAWd,UAAX,KAA0B,KAAKc,KAAL,CAAWb,QAArC,IACA,KAAKa,KAAL,CAAWf,CAAX,KAAiB,KAAKe,KAAL,CAAWhB,EADnC;AAEH,GAHD;;AAIA,SAAOQ,MAAP;AACH,CAhBa,CAgBZb,IAhBY,CAAd;;AAiBAa,MAAM,CAACI,SAAP,CAAiBM,IAAjB,GAAwB,QAAxB;AACA,eAAeV,MAAf","sourcesContent":["import { __extends } from \"tslib\";\nimport Path from '../Path.js';\nimport * as roundSectorHelper from '../helper/roundSector.js';\nvar SectorShape = (function () {\n function SectorShape() {\n this.cx = 0;\n this.cy = 0;\n this.r0 = 0;\n this.r = 0;\n this.startAngle = 0;\n this.endAngle = Math.PI * 2;\n this.clockwise = true;\n this.cornerRadius = 0;\n }\n return SectorShape;\n}());\nexport { SectorShape };\nvar Sector = (function (_super) {\n __extends(Sector, _super);\n function Sector(opts) {\n return _super.call(this, opts) || this;\n }\n Sector.prototype.getDefaultShape = function () {\n return new SectorShape();\n };\n Sector.prototype.buildPath = function (ctx, shape) {\n roundSectorHelper.buildPath(ctx, shape);\n };\n Sector.prototype.isZeroArea = function () {\n return this.shape.startAngle === this.shape.endAngle\n || this.shape.r === this.shape.r0;\n };\n return Sector;\n}(Path));\nSector.prototype.type = 'sector';\nexport default Sector;\n"]},"metadata":{},"sourceType":"module"}