qauMaWeb/node_modules/.cache/babel-loader/92260f071ca03b72a2a4f77ebf3...

1 line
3.3 KiB
JSON

{"ast":null,"code":"import { __extends } from \"tslib\";\nimport Path from '../Path.js';\nimport * as polyHelper from '../helper/poly.js';\n\nvar PolylineShape = function () {\n function PolylineShape() {\n this.points = null;\n this.percent = 1;\n this.smooth = 0;\n this.smoothConstraint = null;\n }\n\n return PolylineShape;\n}();\n\nexport { PolylineShape };\n\nvar Polyline = function (_super) {\n __extends(Polyline, _super);\n\n function Polyline(opts) {\n return _super.call(this, opts) || this;\n }\n\n Polyline.prototype.getDefaultStyle = function () {\n return {\n stroke: '#000',\n fill: null\n };\n };\n\n Polyline.prototype.getDefaultShape = function () {\n return new PolylineShape();\n };\n\n Polyline.prototype.buildPath = function (ctx, shape) {\n polyHelper.buildPath(ctx, shape, false);\n };\n\n return Polyline;\n}(Path);\n\nPolyline.prototype.type = 'polyline';\nexport default Polyline;","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/ElectronicMallVue/node_modules/zrender/lib/graphic/shape/Polyline.js"],"names":["__extends","Path","polyHelper","PolylineShape","points","percent","smooth","smoothConstraint","Polyline","_super","opts","call","prototype","getDefaultStyle","stroke","fill","getDefaultShape","buildPath","ctx","shape","type"],"mappings":"AAAA,SAASA,SAAT,QAA0B,OAA1B;AACA,OAAOC,IAAP,MAAiB,YAAjB;AACA,OAAO,KAAKC,UAAZ,MAA4B,mBAA5B;;AACA,IAAIC,aAAa,GAAI,YAAY;AAC7B,WAASA,aAAT,GAAyB;AACrB,SAAKC,MAAL,GAAc,IAAd;AACA,SAAKC,OAAL,GAAe,CAAf;AACA,SAAKC,MAAL,GAAc,CAAd;AACA,SAAKC,gBAAL,GAAwB,IAAxB;AACH;;AACD,SAAOJ,aAAP;AACH,CARoB,EAArB;;AASA,SAASA,aAAT;;AACA,IAAIK,QAAQ,GAAI,UAAUC,MAAV,EAAkB;AAC9BT,EAAAA,SAAS,CAACQ,QAAD,EAAWC,MAAX,CAAT;;AACA,WAASD,QAAT,CAAkBE,IAAlB,EAAwB;AACpB,WAAOD,MAAM,CAACE,IAAP,CAAY,IAAZ,EAAkBD,IAAlB,KAA2B,IAAlC;AACH;;AACDF,EAAAA,QAAQ,CAACI,SAAT,CAAmBC,eAAnB,GAAqC,YAAY;AAC7C,WAAO;AACHC,MAAAA,MAAM,EAAE,MADL;AAEHC,MAAAA,IAAI,EAAE;AAFH,KAAP;AAIH,GALD;;AAMAP,EAAAA,QAAQ,CAACI,SAAT,CAAmBI,eAAnB,GAAqC,YAAY;AAC7C,WAAO,IAAIb,aAAJ,EAAP;AACH,GAFD;;AAGAK,EAAAA,QAAQ,CAACI,SAAT,CAAmBK,SAAnB,GAA+B,UAAUC,GAAV,EAAeC,KAAf,EAAsB;AACjDjB,IAAAA,UAAU,CAACe,SAAX,CAAqBC,GAArB,EAA0BC,KAA1B,EAAiC,KAAjC;AACH,GAFD;;AAGA,SAAOX,QAAP;AACH,CAlBe,CAkBdP,IAlBc,CAAhB;;AAmBAO,QAAQ,CAACI,SAAT,CAAmBQ,IAAnB,GAA0B,UAA1B;AACA,eAAeZ,QAAf","sourcesContent":["import { __extends } from \"tslib\";\nimport Path from '../Path.js';\nimport * as polyHelper from '../helper/poly.js';\nvar PolylineShape = (function () {\n function PolylineShape() {\n this.points = null;\n this.percent = 1;\n this.smooth = 0;\n this.smoothConstraint = null;\n }\n return PolylineShape;\n}());\nexport { PolylineShape };\nvar Polyline = (function (_super) {\n __extends(Polyline, _super);\n function Polyline(opts) {\n return _super.call(this, opts) || this;\n }\n Polyline.prototype.getDefaultStyle = function () {\n return {\n stroke: '#000',\n fill: null\n };\n };\n Polyline.prototype.getDefaultShape = function () {\n return new PolylineShape();\n };\n Polyline.prototype.buildPath = function (ctx, shape) {\n polyHelper.buildPath(ctx, shape, false);\n };\n return Polyline;\n}(Path));\nPolyline.prototype.type = 'polyline';\nexport default Polyline;\n"]},"metadata":{},"sourceType":"module"}