1 line
1.2 KiB
JavaScript
1 line
1.2 KiB
JavaScript
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3765],{42083:(e,r,t)=>{t.r(r),t.d(r,{LineToolThreeDrivers:()=>n});var o=t(93445),i=t(82014),s=t(33993);class n extends i.LineDataSource{constructor(e,r,o,i){super(e,r??n.createProperties(e.backgroundTheme().spawnOwnership()),o,i),Promise.all([t.e(8263),t.e(144),t.e(4073),t.e(1912),t.e(1495)]).then(t.bind(t,53978)).then((r=>{this._setPaneViews([new r.LineToolThreeDrivesPaneView(this,e)])}))}pointsCount(){return 7}name(){return"Three Drives Pattern"}static createProperties(e,r){const t=new o.DefaultProperty({defaultName:"linetoolthreedrivers",state:r,theme:e});return this._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([t.e(1982),t.e(7686),t.e(2428),t.e(3920),t.e(9328)]).then(t.bind(t,33458)).then((e=>e.PatternWithoutBackgroundDefinitionsViewModel))}static _configureProperties(e){super._configureProperties(e),e.addChild("linesColors",new s.LineToolColorsProperty([e.childs().color])),e.addChild("textsColors",new s.LineToolColorsProperty([e.childs().textcolor])),e.addChild("linesWidths",new s.LineToolWidthsProperty([e.childs().linewidth])),e.hasChild("backgroundsColors")&&e.removeProperty("backgroundsColors")}}}}]); |