8dc5bbccc40ffd2631f21a2e5444496ba51ed08f124402836594b255e283febf.json 3.3 KB

1
  1. {"ast":null,"code":"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;","map":{"version":3,"names":["__extends","Path","polyHelper","PolylineShape","points","percent","smooth","smoothConstraint","Polyline","_super","opts","call","prototype","getDefaultStyle","stroke","fill","getDefaultShape","buildPath","ctx","shape","type"],"sources":["E:/git/2021项目/安科院大屏/node_modules/zrender/lib/graphic/shape/Polyline.js"],"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"],"mappings":"AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,OAAOC,IAAI,MAAM,YAAY;AAC7B,OAAO,KAAKC,UAAU,MAAM,mBAAmB;AAC/C,IAAIC,aAAa,GAAI,YAAY;EAC7B,SAASA,aAAaA,CAAA,EAAG;IACrB,IAAI,CAACC,MAAM,GAAG,IAAI;IAClB,IAAI,CAACC,OAAO,GAAG,CAAC;IAChB,IAAI,CAACC,MAAM,GAAG,CAAC;IACf,IAAI,CAACC,gBAAgB,GAAG,IAAI;EAChC;EACA,OAAOJ,aAAa;AACxB,CAAC,CAAC,CAAE;AACJ,SAASA,aAAa;AACtB,IAAIK,QAAQ,GAAI,UAAUC,MAAM,EAAE;EAC9BT,SAAS,CAACQ,QAAQ,EAAEC,MAAM,CAAC;EAC3B,SAASD,QAAQA,CAACE,IAAI,EAAE;IACpB,OAAOD,MAAM,CAACE,IAAI,CAAC,IAAI,EAAED,IAAI,CAAC,IAAI,IAAI;EAC1C;EACAF,QAAQ,CAACI,SAAS,CAACC,eAAe,GAAG,YAAY;IAC7C,OAAO;MACHC,MAAM,EAAE,MAAM;MACdC,IAAI,EAAE;IACV,CAAC;EACL,CAAC;EACDP,QAAQ,CAACI,SAAS,CAACI,eAAe,GAAG,YAAY;IAC7C,OAAO,IAAIb,aAAa,CAAC,CAAC;EAC9B,CAAC;EACDK,QAAQ,CAACI,SAAS,CAACK,SAAS,GAAG,UAAUC,GAAG,EAAEC,KAAK,EAAE;IACjDjB,UAAU,CAACe,SAAS,CAACC,GAAG,EAAEC,KAAK,EAAE,KAAK,CAAC;EAC3C,CAAC;EACD,OAAOX,QAAQ;AACnB,CAAC,CAACP,IAAI,CAAE;AACRO,QAAQ,CAACI,SAAS,CAACQ,IAAI,GAAG,UAAU;AACpC,eAAeZ,QAAQ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}