Volume transparency bars #5076 widget.changeTheme should not record an Undo entry in the Undo/Redo stack #4982 Event when source price scale is changed #4884 Time value in shape creating #4878 Price axis icons don't change after applyOverrides #4865 Cannot disable bottom toolbar timezone menu via "timezone_menu" property #4836 Showleftaxis is not valid on the mobile #4828 Fix TypeScript typings for onVisibleRangeChanged method #4802 Invalid on Mobile: 'paneProperties.legendProperties.showBarChange': false, #4797 API to attach an indicator to a particular price scale #4788 saveLoadAdapter is stringified #4776 Changing price scale of the study via changePriceScale method doesn't applies immediately #4774 Broker Config Order Market not visible #4765 [Bug] In the trading mask changing price doesn't update pips #4761 Maximize chart button #4744 Custom study plot color has no effect #4740 Moving average on seconds (createStudy) #4730 [Bug] BUY button get enable after clicking on both pips fields #4718 Overrides are not applied when defaults button is pressed #4706 Trading Terminal passes parentOrderId object while modifying the order #4705 Watermark settings are not saved to LocalStorage #4681 tvWidget.activeChart().resolution() return randomly "D" or "1D" for the daily time-frame #4630 cannot override default background color #4621 Bring to front operation is unavailable in 1.16 #4611 New style of pane buttons #4608 New mobile friendly style of the legend #4607 Centered Zoom with Ctrl #4606 TERMINAL: Apply Date Range to all charts in layout if Sync Interval is enabled #4605 Updated style of the measure tool #4604 New style of indicator loading status #4603 New measure styles #4602 Adaptive drawings dialogs #4600 Allow createStudy use undo #4590 Crosshair only on long press on mobile #4574 saveChartToServer does not call the callbacks if !autoSaveNeeded #4573 How to get current theme? #4534 getAllShapes returns trend_line instead of 'extended' #4507 hideMarksOnBar in v1.15 #4506 Trend_angle is not returned via getAllShapes #4498 How to disable vertical scrolling on the mobile side #4483 Add support for holidays and exchange working days in session spec #4467 closePopupsAndDialogs : The screenshot popup is not being closed #4438 Redirect on TV homepage after mouse click release #4423 setBodyFont of position line tool doesn't work correctly #4353 subscribe('drawing_event') click is not working #4302 "Eraser" and "dot" cursors doesn't work on IE11 #4238 zOrder for shapes with saved layout #4219 Errors/warning in console after load chart #4196 Main series API #4169 Scrolling to the top - href=“#” #4136 Tracking mode #4111 Order line drag with middle mouse button doesn't trigger onMove #4084 There are no values or na in the legend of the additional symbol (compare/add) until hover the cursor on the chart #4058 closePopupsAndDialogs doesn't work for new indicators dialog #4051 toolbar_bg doesn't affect top toolbar #3998 Check if symbol sync is enabled #3997 DOM bottom buttons are missing tooltips #3979 Question about D or 1D resolution #3861 Twitter intent button Android app #3732 Avoid chart appending storage version and "study_templates or charts" to chartStorageAPI #3702 unexpected study id by assigning studies_access option #3630 Drawing shape on indicator/study #3408 Top header in fullscreen? #2610 Allow to modify end date of long/short position tool #2381 Chart can scroll with mouse movement but no button pressed down #1908 Adaptive design for Properties dialog #862
2 lines
5.5 KiB
JavaScript
2 lines
5.5 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{"4Cm8":function(t,e,i){"use strict";function s(t){var e;return c.createElement("div",{className:u(m.fadeLeft,(e={},e[m.isVisible]=t.isVisible,e))})}function r(t){var e;return c.createElement("div",{className:u(m.fadeRight,(e={},e[m.isVisible]=t.isVisible,e))})}function n(t){return c.createElement(l,Object(a.__assign)({},t,{className:m.scrollLeft}))}function o(t){return c.createElement(l,Object(a.__assign)({},t,{className:m.scrollRight}))}function l(t){var e;return c.createElement("div",{className:u(t.className,(e={},e[m.isVisible]=t.isVisible,e)),onClick:t.onClick},c.createElement("div",{className:m.iconWrap},c.createElement(p.a,{icon:b,className:m.icon})))}var a,c,u,h,p,d,f,w,b,m,_,R,S,v,V,g,C;i.d(e,"a",function(){return R}),a=i("mrSG"),c=i("q1tI"),u=i("TSYQ"),h=i("XmVn"),p=i("jjrI"),d=i("beCu"),f=i("j1f4"),w=i("Ialn"),b=i("Vike"),m=i("ji/R"),_={isVisibleScrollbar:!0,shouldMeasure:!0,hideButtonsFrom:1},v=o,V=s,g=r,void 0===(S=n)&&(S=n),void 0===v&&(v=o),void 0===V&&(V=s),void 0===g&&(g=r),(C=function(t){function e(e){var i=t.call(this,e)||this;return i._scroll=c.createRef(),i._wrapMeasureRef=c.createRef(),i._contentMeasureRef=c.createRef(),i._handleScrollLeft=function(){if(i.props.onScrollButtonClick)i.props.onScrollButtonClick("left");else{var t=i.props.scrollStepSize||i.state.widthWrap-50;i.animateTo(Math.max(0,i.currentPosition()-t))}},i._handleScrollRight=function(){if(i.props.onScrollButtonClick)i.props.onScrollButtonClick("right");else{var t=i.props.scrollStepSize||i.state.widthWrap-50;i.animateTo(Math.min((i.state.widthContent||0)-(i.state.widthWrap||0),i.currentPosition()+t))}},i._handleResizeWrap=function(t){i.props.onMeasureWrap&&i.props.onMeasureWrap(t),i.setState({widthWrap:t.width}),i._checkButtonsVisibility()},i._handleResizeContent=function(t){i.props.onMeasureContent&&i.props.onMeasureContent(t);var e=i.props,s=e.shouldDecreaseWidthContent,r=e.buttonsWidthIfDecreasedWidthContent;s&&r?i.setState({widthContent:t.width+2*r}):i.setState({widthContent:t.width})},i._handleScroll=function(){var t=i.props.onScroll;t&&t(i.currentPosition(),i.isAtLeft(),i.isAtRight()),i._checkButtonsVisibility()},i._checkButtonsVisibility=function(){var t=i.state,e=t.isVisibleLeftButton,s=t.isVisibleRightButton,r=i.isAtLeft(),n=i.isAtRight();r||e?r&&e&&i.setState({isVisibleLeftButton:!1}):i.setState({isVisibleLeftButton:!0}),n||s?n&&s&&i.setState({isVisibleRightButton:!1}):i.setState({isVisibleRightButton:!0})},i.state={widthContent:0,widthWrap:0,isVisibleRightButton:!1,isVisibleLeftButton:!1},i}return Object(a.__extends)(e,t),e.prototype.componentDidMount=function(){this._checkButtonsVisibility()},e.prototype.componentDidUpdate=function(t,e){e.widthWrap===this.state.widthWrap&&e.widthContent===this.state.widthContent||this._handleScroll(),this.props.shouldMeasure&&this._wrapMeasureRef.current&&this._contentMeasureRef.current&&(this._wrapMeasureRef.current.measure(),this._contentMeasureRef.current.measure())},e.prototype.currentPosition=function(){
|
|
return this._scroll.current?Object(w.isRtl)()?Object(w.getLTRScrollLeft)(this._scroll.current):this._scroll.current.scrollLeft:0},e.prototype.isAtLeft=function(){return!this._isOverflowed()||this.currentPosition()<=this.props.hideButtonsFrom},e.prototype.isAtRight=function(){return!this._isOverflowed()||this.currentPosition()+this.state.widthWrap>=this.state.widthContent-this.props.hideButtonsFrom},e.prototype.animateTo=function(t,e){void 0===e&&(e=f.dur);var i=this._scroll.current;i&&(Object(w.isRtl)()&&(t=Object(w.getLTRScrollLeftOffset)(i,t)),e<=0?i.scrollLeft=Math.round(t):Object(d.doAnimate)({onStep:function(t,e){i.scrollLeft=Math.round(e)},from:i.scrollLeft,to:Math.round(t),easing:f.easingFunc.easeInOutCubic,duration:e}))},e.prototype.render=function(){var t,e=this.props,i=e.children,s=e.isVisibleScrollbar,r=e.isVisibleFade,n=e.isVisibleButtons,o=e.shouldMeasure,l=e.shouldDecreaseWidthContent,a=e.buttonsWidthIfDecreasedWidthContent,p=e.onMouseOver,d=e.onMouseOut,f=this.state,w=f.isVisibleRightButton,b=f.isVisibleLeftButton,_=l&&a;return c.createElement(h,{whitelist:["width"],onMeasure:this._handleResizeWrap,shouldMeasure:o,ref:this._wrapMeasureRef},c.createElement("div",{className:m.wrapOverflow,onMouseOver:p,onMouseOut:d},c.createElement("div",{className:u(m.wrap,_?m.wrapWithArrowsOuting:"")},c.createElement("div",{className:u(m.scrollWrap,(t={},t[m.noScrollBar]=!s,t)),onScroll:this._handleScroll,ref:this._scroll},c.createElement(h,{onMeasure:this._handleResizeContent,whitelist:["width"],shouldMeasure:o,ref:this._contentMeasureRef},i)),r&&c.createElement(V,{isVisible:b}),r&&c.createElement(g,{isVisible:w}),n&&c.createElement(S,{onClick:this._handleScrollLeft,isVisible:b}),n&&c.createElement(v,{onClick:this._handleScrollRight,isVisible:w}))))},e.prototype._isOverflowed=function(){var t=this.state;return t.widthContent>t.widthWrap},e}(c.PureComponent)).defaultProps=_,R=C},Vike:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 10" width="20" height="10"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M2 1l8 8 8-8"/></svg>'},"ji/R":function(t,e,i){t.exports={wrap:"wrap-5DN0XnS4",wrapWithArrowsOuting:"wrapWithArrowsOuting-1OPNi0IP",wrapOverflow:"wrapOverflow-2FHnhKaN",scrollWrap:"scrollWrap-nAnkzkWd",noScrollBar:"noScrollBar-34JzryqI",icon:"icon-1nfNqIRh",scrollLeft:"scrollLeft-2cl_k1e7",scrollRight:"scrollRight-2SEqCpTf",isVisible:"isVisible-Stm3XOHb",iconWrap:"iconWrap-1E4GEP7h",fadeLeft:"fadeLeft-244lj3pA",fadeRight:"fadeRight-1JnS42hI"}}}]); |