7 lines
19 KiB
JavaScript
7 lines
19 KiB
JavaScript
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9123],{73174:(e,t,o)=>{o.r(t),o.d(t,{getCoordinateXMetaInfo:()=>b,getCoordinateYMetaInfo:()=>v,getCoordinatesPropertiesDefinitions:()=>T,getSelectionCoordinatesPropertyDefinition:()=>y});var i=o(50151),r=o(11542),n=o(45126),l=o(44672),a=o(60265);class s extends a.UndoCommand{constructor({lineToolId:e,chartModel:t,newPositionPoints:o}){super(null),this._pointState=null,this._lineToolId=e,this._model=t,this._newPositionPoints=o}redo(){const e=(0,i.ensureNotNull)(this._model.dataSourceForId(this._lineToolId));this._pointState=[e.normalizedPoints(),e.points()],e.startChanging(),e.moveLineTool(this._newPositionPoints),this._model.updateSource(e),e.updateAllViews((0,l.sourceChangeEvent)(e.id())),e.syncMultichartState(e.endChanging(!0,!1))}undo(){if(this._pointState){const e=(0,i.ensureNotNull)(this._model.dataSourceForId(this._lineToolId));e.startChanging(),e.restorePoints(...this._pointState),this._model.updateSource(e),e.updateAllViews((0,l.sourceChangeEvent)(e.id())),e.syncMultichartState(e.endChanging(!0,!1))}}}var d=o(32097),c=o(64147),h=o(12988),u=o(91682);const g=-5e4,p=15e3,x=new n.TranslatedString("change price Y coordinate",r.t(null,void 0,o(11737))),f=new n.TranslatedString("change bar X coordinate",r.t(null,void 0,o(2066))),m=new n.TranslatedString("move drawings",r.t(null,void 0,o(76261)));function v(e,t,o){return{property:(0,d.convertToDefinitionProperty)(e,t.price,x),info:{typeY:1,stepY:o}}}function b(e,t){return{property:(0,d.convertToDefinitionProperty)(e,t.bar,f),info:{typeX:0,minX:new c.WatchedValue(g),maxX:new c.WatchedValue(p),stepX:new c.WatchedValue(1)}}}function T(e,t,o,i,r,n){const l=b(e,t),a=v(e,t,i);return(0,d.createCoordinatesPropertyDefinition)({x:l.property,y:a.property},{id:(0,u.removeSpaces)(`${n}Coordinates${r}`),title:r,...l.info,...a.info})}const C=/^([+*\-\/]?)((?:\d*)|(?:\d+\.\d*))$/;function _(e,t,o){const r=new h.Property(""),n=(0,d.makeProxyDefinitionProperty)(r.weakReference());return n.setValue=n=>{try{const r=n.match(C);if(!r)return;const[,l,a]=r;if(!a.length)return;const d=o(parseFloat(a));if("/"===l&&(0===d.price||0===d.index))return;t.withMacro(m,(()=>{e.filter((e=>!e.isSourceHidden())).forEach((e=>{const o=e.points();let r;switch(l){case"":{const e=(0,i.ensureDefined)(o[0]);let{index:t=e.index,price:n=e.price}=d;n-=e.price,t-=e.index,r=o.map((e=>({...e,index:e.index+t,price:e.price+n})));break}case"-":case"+":{let{index:e=0,price:t=0}=d;"-"===l&&(e*=-1,t*=-1),r=o.map((o=>({...o,index:o.index+e,price:o.price+t})));break}case"*":{const{index:e=1,price:t=1}=d;r=o.map((o=>({...o,index:o.index*e,price:o.price*t})));break}case"/":{const{index:e=1,price:t=1}=d;r=o.map((o=>({...o,index:o.index/e,price:o.price/t})));break}}t.undoHistory().pushUndoCommand(new s({lineToolId:e.id(),chartModel:t.model(),newPositionPoints:r}))}))}))}finally{r.setValue("",!0)}},n}function y(e,t){const i=_(e,t,(e=>({index:e}))),n=_(e,t,(e=>({price:e})));return(0,d.createSelectionCoordinatesPropertyDefinition)({x:i,y:n},{
|
|
id:"SourcesCoordinates",title:r.t(null,void 0,o(44272)),mathOperationsX:"+",mathOperationsY:"+/*",modeX:"integer",modeY:"float"})}},91335:(e,t,o)=>{o.d(t,{createTextStyleDefinition:()=>S});var i=o(11542),r=o(45126),n=o(32097),l=o(91682);const a=new r.TranslatedString("change {toolName} text visibility",i.t(null,void 0,o(56634))),s=new r.TranslatedString("change {toolName} text color",i.t(null,void 0,o(64500))),d=new r.TranslatedString("change {toolName} text font size",i.t(null,void 0,o(21781))),c=new r.TranslatedString("change {toolName} text font bold",i.t(null,void 0,o(24701))),h=new r.TranslatedString("change {toolName} text font italic",i.t(null,void 0,o(42694))),u=new r.TranslatedString("change {toolName} text",i.t(null,void 0,o(66668))),g=new r.TranslatedString("change {toolName} labels alignment vertical",i.t(null,void 0,o(31689))),p=new r.TranslatedString("change {toolName} labels alignment horizontal",i.t(null,void 0,o(88277))),x=new r.TranslatedString("change {toolName} labels direction",i.t(null,void 0,o(61160))),f=new r.TranslatedString("change {toolName} text background visibility",i.t(null,void 0,o(31133))),m=new r.TranslatedString("change {toolName} text background color",i.t(null,void 0,o(22231))),v=new r.TranslatedString("change {toolName} text border visibility",i.t(null,void 0,o(58704))),b=new r.TranslatedString("change {toolName} text border width",i.t(null,void 0,o(35423))),T=new r.TranslatedString("change {toolName} text border color",i.t(null,void 0,o(36666))),C=new r.TranslatedString("change {toolName} text wrap",i.t(null,void 0,o(39587))),_=i.t(null,void 0,o(79468)),y=i.t(null,void 0,o(38408)),w=i.t(null,void 0,o(7560));function S(e,t,o,i){const r={},S={id:`${(0,l.removeSpaces)(o.originalText())}Text`,title:i.customTitles&&i.customTitles.text||""};if(void 0!==t.showText&&(r.checked=(0,n.convertToDefinitionProperty)(e,t.showText,a.format({toolName:o}))),void 0!==t.textColor&&(r.color=(0,n.getColorDefinitionProperty)(e,t.textColor,t.transparency||null,s.format({toolName:o}))),void 0!==t.fontSize&&(r.size=(0,n.convertToDefinitionProperty)(e,t.fontSize,d.format({toolName:o}))),void 0!==t.bold&&(r.bold=(0,n.convertToDefinitionProperty)(e,t.bold,c.format({toolName:o}))),void 0!==t.italic&&(r.italic=(0,n.convertToDefinitionProperty)(e,t.italic,h.format({toolName:o}))),void 0!==t.text&&(r.text=(0,n.convertToDefinitionProperty)(e,t.text,u.format({toolName:o})),S.isEditable=Boolean(i.isEditable),S.isMultiLine=Boolean(i.isMultiLine)),void 0!==t.vertLabelsAlign&&(r.alignmentVertical=(0,n.convertToDefinitionProperty)(e,t.vertLabelsAlign,g.format({toolName:o})),S.alignmentVerticalItems=i.alignmentVerticalItems),void 0!==t.horzLabelsAlign&&(r.alignmentHorizontal=(0,n.convertToDefinitionProperty)(e,t.horzLabelsAlign,p.format({toolName:o})),S.alignmentHorizontalItems=i.alignmentHorizontalItems),void 0!==t.textOrientation&&(r.orientation=(0,n.convertToDefinitionProperty)(e,t.textOrientation,x.format({toolName:o}))),void 0!==t.backgroundVisible&&(r.backgroundVisible=(0,
|
|
n.convertToDefinitionProperty)(e,t.backgroundVisible,f.format({toolName:o}))),void 0!==t.backgroundColor){let i=null;void 0!==t.backgroundTransparency&&(i=t.backgroundTransparency),r.backgroundColor=(0,n.getColorDefinitionProperty)(e,t.backgroundColor,i,m.format({toolName:o}))}return void 0===t.backgroundVisible&&void 0===t.backgroundColor||(S.backgroundTitle=i.customTitles&&i.customTitles.backgroundTitle||_),void 0!==t.borderVisible&&(r.borderVisible=(0,n.convertToDefinitionProperty)(e,t.borderVisible,v.format({toolName:o}))),void 0!==t.borderWidth&&(r.borderWidth=(0,n.convertToDefinitionProperty)(e,t.borderWidth,b.format({toolName:o}))),void 0!==t.borderColor&&(r.borderColor=(0,n.getColorDefinitionProperty)(e,t.borderColor,null,T.format({toolName:o}))),void 0===t.borderVisible&&void 0===t.borderColor&&void 0===t.borderWidth||(S.borderTitle=i.customTitles&&i.customTitles.borderTitle||y),void 0!==t.wrap&&(r.wrap=(0,n.convertToDefinitionProperty)(e,t.wrap,C.format({toolName:o})),S.wrapTitle=i.customTitles&&i.customTitles.wrapTitle||w),(0,n.createTextPropertyDefinition)(r,S)}},31761:(e,t,o)=>{o.d(t,{alignByAngle:()=>r});var i=o(30699);function r(e){let t,o;return e>=-135&&e<=-45?(t=i.HorizontalAlign.Center,o=i.VerticalAlign.Bottom):e>-45&&e<45?(t=i.HorizontalAlign.Left,o=i.VerticalAlign.Middle):e>=45&&e<=135?(t=i.HorizontalAlign.Center,o=i.VerticalAlign.Top):(t=i.HorizontalAlign.Right,o=i.VerticalAlign.Middle),{horzAlign:t,vertAlign:o}}},46902:(e,t,o)=>{o.r(t),o.d(t,{LineToolTextNote:()=>ce});var i=o(42752),r=o(50151),n=o(24633),l=o(49156),a=o(31229),s=o(6590),d=o(32679),c=o(11402),h=o(38039),u=o(73305);const g={intervalsVisibilities:{...a.intervalsVisibilitiesDefaults},drawBackground:!0,drawBorder:!1,fontSize:14,bold:!1,italic:!1},p=new Map([[n.StdTheme.Light,{lineColor:l.colors.colorColdGray900,backgroundColor:l.colors.colorWhite,borderColor:l.colors.colorColdGray150,textColor:l.colors.colorColdGray900}],[n.StdTheme.Dark,{lineColor:l.colors.colorColdGray200,backgroundColor:l.colors.colorColdGray800,borderColor:l.colors.colorColdGray700,textColor:l.colors.colorColdGray200}]]),x=(0,d.extractThemedColors)((0,r.ensureDefined)(p.get(n.StdTheme.Light)),(0,r.ensureDefined)(p.get(n.StdTheme.Dark))),f=(0,d.extractAllPropertiesKeys)((0,r.ensureDefined)(p.get(n.StdTheme.Light))),m=(0,d.extractAllPropertiesKeys)(g),v=[...new Set([...f,...m,...s.commonLineToolPropertiesStateKeys,"text"])],b=[...new Set([...f,...m,"text"])];class T extends h.LineDataSourceProperty{constructor(e){super(e),this.hasChild("text")||this.addProperty("text",""),this.addChild("linesColors",new u.LineToolColorsProperty([(0,r.ensureDefined)(this.child("lineColor"))])),this.addChild("backgroundsColors",new u.LineToolColorsProperty([(0,r.ensureDefined)(this.child("backgroundColor"))])),this.addChild("textsColors",new u.LineToolColorsProperty([(0,r.ensureDefined)(this.child("textColor"))]))}static create(e,t){return new this({defaultName:"linetooltextnote",factoryDefaultsSupplier:()=>(0,c.factoryDefaultsForCurrentTheme)(g,p),nonThemedDefaultsKeys:m,
|
|
themedDefaultsKeys:f,allStateKeys:v,themedColors:x,templateKeys:b,replaceThemedColorsOnThemeChange:!0,state:t,theme:e})}}var C,_,y=o(10568),w=o(19625),S=o(95201),P=o(36036),D=o(32211),k=o(86441),R=o(34026),A=o(4652),L=o(63273),M=o(30125),N=o(56468),H=o(37743),z=o(61993),I=o(17330),V=o(30699),B=o(15938),W=o(70262),E=o(31761);!function(e){e[e.Label=1]="Label"}(C||(C={})),function(e){e[e.CircleRadius=2]="CircleRadius",e[e.RoundRectRadius=4]="RoundRectRadius",e[e.LabelVertPadding=6]="LabelVertPadding",e[e.LabelHorzPadding=8]="LabelHorzPadding",e[e.TextMargins=2]="TextMargins",e[e.Blur=4]="Blur",e[e.ShadowOffsetY=2]="ShadowOffsetY"}(_||(_={}));class O extends M.BitmapCoordinatesPaneRenderer{constructor(e){super(),this._data=null,this._textLabelRenderer=new I.TextRenderer,this._textInfoCache=null,this._lineHitTest=new N.HitTestResult(N.HitTarget.MovePoint),this._textHitTest=e||new N.HitTestResult(N.HitTarget.MovePoint,{areaName:N.AreaName.Text}),this._textHitTest.mergeData({activeItem:C.Label})}setData(e){null===this._data||this._data.textData.text===e.textData.text&&this._data.textData.fontSize===e.textData.fontSize||(this._textInfoCache=null),this._data=e;const t=e.points[1];this._textLabelRenderer.setData({horzAlign:V.HorizontalAlign.Left,vertAlign:V.VerticalAlign.Middle,points:[t],text:e.textData.text||" ",color:e.textData.color,font:B.CHART_FONT_FAMILY,fontSize:e.textData.fontSize,bold:e.textData.bold,italic:e.textData.italic,offsetX:0,offsetY:0,borderColor:e.drawBorder?e.borderColor:void 0,borderWidth:1,backgroundColor:e.drawBackground?e.backgroundColor:void 0,backgroundRoundRect:_.RoundRectRadius,boxPaddingVert:_.LabelVertPadding,boxPaddingHorz:_.LabelHorzPadding,boxShadow:e.drawBorder||e.drawBackground?{shadowColor:e.shadowColor,shadowBlur:_.Blur,shadowOffsetY:_.ShadowOffsetY}:void 0,selectionHighlight:e.textData.selectionHighlight});const o=this._textLabelRenderer.rect(),i=e.points[0],r=e.points[1],n=Math.round(180*Math.atan2(r.y-i.y,r.x-i.x)/Math.PI),l=(0,E.alignByAngle)(n);let a=e.points[1];switch(l.horzAlign){case V.HorizontalAlign.Center:a=a.add((0,k.point)(.5*-o.width,0));break;case V.HorizontalAlign.Right:a=a.add((0,k.point)(-o.width,0))}switch(l.vertAlign){case V.VerticalAlign.Top:a=a.add((0,k.point)(0,.5*o.height));break;case V.VerticalAlign.Bottom:a=a.add((0,k.point)(0,.5*-o.height))}this._textLabelRenderer.setPoint(a)}setCursorType(e){this._textHitTest.mergeData({cursorType:e})}hitTest(e){const t=this._data;if(null===t||t.points.length<2)return null;const o=(0,z.interactionTolerance)().line+.5,i=t.points[0],r=t.points[1];if((0,A.distanceToSegment)(i,r,e).distance<=o)return this._lineHitTest;const n=this._textLabelRenderer.rect(),l=(0,k.box)((0,k.point)(n.x,n.y),(0,k.point)(n.x+n.width,n.y+n.height));return(0,R.pointInBox)(e,l)?this._textHitTest:null}getTextInfo(){const e=(0,r.ensureNotNull)(this._data),t=(0,L.isRtl)()?"right":"left",o=_.RoundRectRadius,i=_.TextMargins,n=(0,r.ensureNotNull)(this._calcTextSize()),l=this._textLabelRenderer.rect(),a=(0,
|
|
r.ensureDefined)(this._textLabelRenderer.data()?.points?.[0]).add((0,k.point)(0,.5*-l.height)),{totalWidth:s,totalHeight:d}=n,c=o+i;return{font:B.CHART_FONT_FAMILY,fontSize:e.textData.fontSize,lineHeight:Math.ceil(e.textData.fontSize),lineSpacing:0,textTop:a.y+c,textBottom:a.y+d-c,textLeft:a.x+c,textRight:a.x+s-c,textAlign:t}}positionToCoordinate(e,t){const o=(0,r.ensureNotNull)(this._data),i=this.getTextInfo(),n=this._textLabelRenderer.getLinesInfo(),{x:l,y:a,lineNumber:s}=(0,W.getSymbolCoordinatesInfo)({symbolPosition:t,textWidth:i.textRight-i.textLeft,textByLines:n.linesIncludingHidden,lineHeight:o.textData.fontSize,font:B.CHART_FONT_FAMILY,textAlign:i.textAlign});return{x:l+i.textLeft,y:a+i.textTop,lineNumber:s}}_drawImpl(e){const t=this._data;if(null===t||t.points.length<2)return;const{context:o}=e,i=t.points[0],r=t.points[1];o.strokeStyle=t.lineColor,o.lineWidth=Math.max(1,Math.floor(e.horizontalPixelRatio)),o.beginPath();const[n,l]=(0,H.addPixelPerfectLineToPath)(o,i.x,i.y,r.x,r.y,e);o.stroke();const a=Math.round(_.CircleRadius*e.horizontalPixelRatio);o.fillStyle=t.lineColor,o.beginPath(),o.arc(n,l,a,0,2*Math.PI,!1),o.fill(),o.beginPath(),o.strokeStyle=t.circleBorderColor,o.lineWidth=1;const s=Math.round(_.CircleRadius*e.horizontalPixelRatio+.5*e.horizontalPixelRatio);o.arc(n,l,s,0,2*Math.PI,!1),o.stroke(),this._textLabelRenderer.draw(o,e)}_calcTextSize(){if(null===this._data||this._data.points.length<2)return null;if(null===this._textInfoCache){const e=this._textLabelRenderer.getLinesInfo(),t=this._data.textData.fontSize*e.lines.length,o=e.linesMaxWidth,i=_.RoundRectRadius,r=2*_.TextMargins+2*i;this._textInfoCache={textWidth:o,textHeight:t,totalWidth:o+r,totalHeight:t+r}}return this._textInfoCache}}var Y=o(19063);const F=(0,Y.generateColor)((0,w.getHexColorByName)("color-black"),80),X=(0,Y.generateColor)((0,w.getHexColorByName)("color-black"),60);class G extends D.InplaceTextLineSourcePaneView{constructor(e,t,o,i,r){super(e,t,o,i,r),this._renderer=new S.CompositeRenderer,this._noteRenderer=new O(new N.HitTestResult(N.HitTarget.MovePoint,(0,D.inplaceEditHandlers)(this._tryActivateEditMode.bind(this,null)))),this._source.setAdditionalCursorData((()=>({color:this._source.editableTextStyle().cursorColor,...this._noteRenderer.getTextInfo()})),this._noteRenderer.positionToCoordinate.bind(this._noteRenderer,!0))}renderer(e){return this._invalidated&&this._updateImpl(e),this._renderer}_updateImpl(e){super._updateImpl(e),this._renderer.clear();const t=this._source.priceScale();if(!t||t.isEmpty())return;const o=this._points;if(o.length<2)return;if(null===(0,r.ensureNotNull)(this._source.ownerSource()).firstValue())return;const i=this._source.properties().childs(),n=this._model.dark().value()?l.colors.colorColdGray850:l.colors.colorWhite,a=this._model.dark().value()?X:F,s={textData:{fontSize:i.fontSize.value(),text:this._textData(),color:this._textColor(),bold:i.bold.value(),italic:i.italic.value(),selectionHighlight:this._inplaceTextHighlight().selectionHighlight},shadowColor:a,points:o,lineColor:i.lineColor.value(),
|
|
drawBackground:i.drawBackground.value(),drawBorder:i.drawBorder.value(),backgroundColor:i.backgroundColor.value(),borderColor:i.borderColor.value(),circleBorderColor:n};this._renderer.append(this._noteRenderer),this._noteRenderer.setData(s),this._noteRenderer.setCursorType(this._textCursorType()),this._renderer.append(this.createLineAnchor({points:o.map(P.mapLineSourcePaneViewPointToLineAnchorPoint)},0)),this._updateInplaceText(this._noteRenderer.getTextInfo())}}var K=o(11542),$=o(45126),U=o(91335),j=o(18009),q=o(32097),J=o(91682);const Q=new $.TranslatedString("change {title} line color",K.t(null,void 0,o(7455))),Z=new $.TranslatedString("change {title} background visibility",K.t(null,void 0,o(30839))),ee=new $.TranslatedString("change {title} background color",K.t(null,void 0,o(49765))),te=new $.TranslatedString("change {title} border visibility",K.t(null,void 0,o(19298))),oe=new $.TranslatedString("change {title} border color",K.t(null,void 0,o(69437))),ie=K.t(null,void 0,o(70320)),re=K.t(null,void 0,o(97575)),ne=K.t(null,void 0,o(34974)),le=K.t(null,void 0,o(73863));class ae extends j.LineDataSourceDefinitionsViewModel{_stylePropertyDefinitions(){const e=this._source.properties().childs(),t=this._source.name(),o=(0,J.removeSpaces)(t),i=new $.TranslatedString(t,this._source.translatedType());return{definitions:[(0,q.createColorPropertyDefinition)({checked:(0,q.convertToDefinitionProperty)(this._propertyApplier,e.drawBackground,Z.format({title:i})),color:(0,q.getColorDefinitionProperty)(this._propertyApplier,e.backgroundColor,null,ee.format({title:i}))},{id:(0,J.removeSpaces)(`${t}BackgroundColor`),title:le}),(0,q.createColorPropertyDefinition)({checked:(0,q.convertToDefinitionProperty)(this._propertyApplier,e.drawBorder,te.format({title:i})),color:(0,q.getColorDefinitionProperty)(this._propertyApplier,e.borderColor,null,oe.format({title:i}))},{id:(0,J.removeSpaces)(`${t}BorderColor`),title:ne}),(0,q.createColorPropertyDefinition)({color:(0,q.getColorDefinitionProperty)(this._propertyApplier,e.lineColor,null,Q.format({title:i}))},{id:`${o}LineColor`,title:re})]}}_textPropertyDefinitions(){const{backgroundColor:e,borderColor:t,...o}=this._source.properties().childs();return{definitions:[(0,U.createTextStyleDefinition)(this._propertyApplier,{...o,textColor:o.textColor,fontSize:o.fontSize},new $.TranslatedString(this._source.name(),this._source.translatedType()),{isEditable:!0,isMultiLine:!0,customTitles:{text:ie}})]}}}var se=o(44672);class de{constructor(e,t){this._labelMovingDelta=null,this._line=e,this._itemIndex=t}startMoving(e,t,o){if(t===this._itemIndex){if(this._line.isSourceHidden())return!0;const o=(0,r.ensureDefined)(e.logical),i=this._line.points()[1];return this._labelMovingDelta={index:i.index-o.index,price:i.price-o.price},this._line.startChanging(t,o),!0}return this._labelMovingDelta=null,!1}move(e,t,o){if(null!==this._labelMovingDelta){const t=(0,r.ensureDefined)(e.logical),i={index:t.index+this._labelMovingDelta.index,price:t.price+this._labelMovingDelta.price};return this._line.setPoint(1,i,o),
|
|
this._line.updateAllViews((0,se.sourceChangeEvent)(this._line.id())),!0}return!1}endMoving(e,t,o){return null!==this._labelMovingDelta?(this._labelMovingDelta=null,this._line.endChanging(!1,e)):null}}class ce extends y.InplaceTextLineDataSource{constructor(e,t,o,i){super(e,t??ce.createProperties(e.backgroundTheme().spawnOwnership()),o,i),this._moveAsChangeBehavior=new de(this,C.Label),this._setPaneViews([new G(this,e,this._openTextEditor.bind(this),this._closeTextEditor.bind(this),this.onSelectionChange.bind(this))])}pointsCount(){return 2}name(){return"Note"}removeIfEditableTextIsEmpty(){return!0}activateEditingOnCreation(){return!0}shouldBeRemovedOnDeselect(){const e=this._properties.childs().text.value().trim();return this._points.length===this.pointsCount()&&""===e}editableTextProperties(){const e=this.properties().childs();return{text:e.text,textColor:e.textColor}}template(){return this._properties.template()}startMoving(e,t,o){this._moveAsChangeBehavior.startMoving(e,t,o)||super.startMoving(e,t,o)}move(e,t,o){this._moveAsChangeBehavior.move(e,t,o)||super.move(e,t,o)}endMoving(e,t,o){return this._moveAsChangeBehavior.endMoving(e,t,o)??super.endMoving(e,t,o)}snapTo45DegreesAvailable(){return!0}static createProperties(e,t){const o=T.create(e,t);return this._configureProperties(o),o}async _getPropertyDefinitionsViewModelClass(){return ae}_createDataSourceBackgroundColorWV(){return(0,i.convertPropertyToWatchedValue)(this.properties().childs().backgroundColor).ownership()}}}}]); |