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
4 lines
11 KiB
JavaScript
4 lines
11 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{"56W2":function(e,t,s){(function(t){var s;s=void 0!==t?t:this,e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){var t,s,n,i,o,l;if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(t=String(e),s=t.length,n=-1,o="",l=t.charCodeAt(0);++n<s;)0!=(i=t.charCodeAt(n))?o+=i>=1&&i<=31||127==i||0==n&&i>=48&&i<=57||1==n&&i>=48&&i<=57&&45==l?"\\"+i.toString(16)+" ":0==n&&1==s&&45==i||!(i>=128||45==i||95==i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122)?"\\"+t.charAt(n):t.charAt(n):o+="<22>";return o};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(s)}).call(this,s("yLpj"))},Gs9W:function(e,t,s){},jAh7:function(e,t,s){"use strict";function n(e){var t,s,n;return void 0===e&&(e=document),null!==(t=e.getElementById("overlap-manager-root"))?Object(i.ensureDefined)(a.get(t)):(s=new l(e),n=function(e){var t=e.createElement("div");return t.style.position="absolute",t.style.zIndex=150..toString(),t.style.top="0px",t.style.left="0px",t.id="overlap-manager-root",t}(e),a.set(n,s),s.setContainer(n),e.body.appendChild(n),s)}var i,o,l,a;s.r(t),s.d(t,"OverlapManager",function(){return l}),s.d(t,"getRootOverlapManager",function(){return n}),i=s("Eyy1"),o=function(){function e(){this._storage=[]}return e.prototype.add=function(e){this._storage.push(e)},e.prototype.remove=function(e){this._storage=this._storage.filter(function(t){return e!==t})},e.prototype.has=function(e){return this._storage.includes(e)},e.prototype.getItems=function(){return this._storage},e}(),l=function(){function e(e){void 0===e&&(e=document),this._storage=new o,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}return e.prototype.setContainer=function(e){var t=this._container,s=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach(function(e){e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)})}(t,s),this._container=s},e.prototype.registerWindow=function(e){this._storage.has(e)||this._storage.add(e)},e.prototype.ensureWindow=function(e,t){var s,n;return void 0===t&&(t={position:"fixed"}),void 0!==(s=this._windows.get(e))?s:(this.registerWindow(e),(n=this._document.createElement("div")).style.position=t.position,n.style.zIndex=this._index.toString(),n.dataset.id=e,this._container.appendChild(n),this._windows.set(e,n),++this._index,n)},e.prototype.unregisterWindow=function(e){this._storage.remove(e);var t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))},e.prototype.getZindex=function(e){var t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")},e.prototype.moveToTop=function(e){this.getZindex(e)!==this._index&&(this.ensureWindow(e).style.zIndex=(++this._index).toString())},e.prototype.removeWindow=function(e){this.unregisterWindow(e)},e}(),a=new WeakMap},jgM0:function(e,t,s){"use strict";var n=s("56W2");s("Gs9W"),function(e,t){function s(){this._state=[],this._defaults={classHolder:"sbHolder",
|
||
classHolderDisabled:"sbHolderDisabled",classHolderOpen:"sbHolderOpen",classSelector:"sbSelector",classOptions:"sbOptions",classGroup:"sbGroup",classSub:"sbSub",classDisabled:"sbDisabled",classToggleOpen:"sbToggleOpen",classToggle:"sbToggle",classSeparator:"sbSeparator",useCustomPrependWithSelector:"",customPrependSelectorClass:"",speed:200,slidesUp:!1,effect:"slide",onChange:null,beforeOpen:null,onOpen:null,onClose:null}}function i(t,s,n,i){function o(){s.removeClass(t.settings.customPrependSelectorClass),t._lastSelectorPrepend&&(t._lastSelectorPrepend.remove(),delete t._lastSelectorPrepend),n.data("custom-option-prepend")&&(t.settings.customPrependSelectorClass&&s.addClass(t.settings.customPrependSelectorClass),t._lastSelectorPrepend=e(n.data("custom-option-prepend")).clone(),s[t.settings.useCustomPrependWithSelector](t._lastSelectorPrepend))}t.settings.useCustomPrependWithSelector&&(i?t._onAttachCallback=o:o())}e.extend(s.prototype,{_refreshSelectbox:function(e,t){if(!e)return!1;var s=this._getInst(e);return null!=s&&(this._fillList(e,s,t),!0)},_isOpenSelectbox:function(e){return!!e&&this._getInst(e).isOpen},_isDisabledSelectbox:function(e){return!!e&&this._getInst(e).isDisabled},_attachSelectbox:function(t,s){function i(){var t,s=this.attr("id").split("_")[1];for(t in a._state)t!==s&&a._state.hasOwnProperty(t)&&e(":input[sb='"+t+"']")[0]&&a._closeSelectbox(e(":input[sb='"+t+"']")[0])}function o(s){l.children().each(function(n){var i;if(e(this).is(":selected")){if(38==s&&n>0)return i=e(l.children()[n-1]),a._changeSelectbox(t,i.val(),i.text()),!1;if(40==s&&n<l.children().length-1)return i=e(l.children()[n+1]),a._changeSelectbox(t,i.val(),i.text()),!1}})}var l,a,r,c,d,p,u,h;if(this._getInst(t))return!1;l=e(t),r=(a=this)._newInst(l),l.find("optgroup"),l.find("option").length,l.attr("sb",r.uid),e.extend(r.settings,a._defaults,s),a._state[r.uid]=!1,l.hide(),c=e("<div>",{id:"sbHolder_"+r.uid,class:r.settings.classHolder}),(h=l.data("selectbox-css"))&&c.css(h),d=e("<a>",{id:"sbSelector_"+r.uid,href:"#",class:r.settings.classSelector,click:function(s){s.preventDefault(),s.stopPropagation(),i.apply(e(this),[]);var n=e(this).attr("id").split("_")[1];a._state[n]?a._closeSelectbox(t):(a._openSelectbox(t),p.focus())},keyup:function(e){o(e.keyCode)}}),p=e("<a>",{id:"sbToggle_"+r.uid,href:"#",class:r.settings.classToggle,click:function(s){s.preventDefault(),s.stopPropagation(),i.apply(e(this),[]);var n=e(this).attr("id").split("_")[1];a._state[n]?a._closeSelectbox(t):(a._openSelectbox(t),p.focus())},keyup:function(e){o(e.keyCode)}}),e('<div class="tv-caret"></div>').appendTo(p),p.appendTo(c),u=e("<ul>",{id:"sbOptions_"+r.uid,class:r.settings.classOptions,css:{display:"none"}}),r.sbOptions=u,r.sbToggle=p,r.sbSelector=d,this._fillList(t,r),e.data(t,"selectbox",r),d.appendTo(c),u.appendTo(c),c.insertAfter(l),r._onAttachCallback&&(r._onAttachCallback(),delete r._onAttachCallback),l.is(":disabled")&&e.selectbox._disableSelectbox(t),l.change(function(){var s=e(this).val(),i=l.find("option[value='"+n(s)+"']").text()
|
||
;a._changeSelectbox(t,s,i)})},_detachSelectbox:function(t){var s=this._getInst(t);if(!s)return!1;e("#sbHolder_"+s.uid).remove(),delete this._state[s.uid],e.data(t,"selectbox",null),e(t).show()},_changeSelectbox:function(t,s,o){var l,a,r=e(t.ownerDocument),c=this._getInst(t),d=this._get(c,"onChange"),p=r.find("#sbSelector_"+c.uid).text()===o&&r.find("#sbOptions_"+c.uid).find('a[rel="'+s+'"]').hasClass("active");p||(l=e(t).find("option[value='"+n(s)+"']"),(a=r.find("#sbSelector_"+c.uid)).text(o),i(c,a,l),r.find("#sbOptions_"+c.uid).find(".active").removeClass("active"),r.find("#sbOptions_"+c.uid).find('a[rel="'+s+'"]').addClass("active"),e(t).find("option").attr("selected",!1),l.attr("selected",!0),d?d.apply(c.input?c.input[0]:null,[s,c]):c.input&&c.input.trigger("change"))},_enableSelectbox:function(t){var s=this._getInst(t);if(!s||!s.isDisabled)return!1;e(t.ownerDocument).find("#sbHolder_"+s.uid).removeClass(s.settings.classHolderDisabled),s.isDisabled=!1,e.data(t,"selectbox",s)},_disableSelectbox:function(t){var s=this._getInst(t);if(!s||s.isDisabled)return!1;e(t.ownerDocument).find("#sbHolder_"+s.uid).addClass(s.settings.classHolderDisabled),s.isDisabled=!0,e.data(t,"selectbox",s)},_optionSelectbox:function(t,s,n){var i=this._getInst(t);return!!i&&(null==n?i[s]:(i[s]=n,void e.data(t,"selectbox",i)))},_openSelectbox:function(t){var s,n,i,o,l,a,r,c,d,p,u,h,f=this._getInst(t),b=this;!f||f.isOpen||f.isDisabled||(s=e(t.ownerDocument),n=e(t.ownerDocument.defaultView),i=s.find("#sbOptions_"+f.uid),o=parseInt(n.height(),10),l=parseInt(n.width(),10),a=s.find("#sbHolder_"+f.uid).offset(),r=n.scrollTop(),c=i.prev().height(),d=o-(a.top-r)-c/2,p=this._get(f,"onOpen"),h=null,(u=this._get(f,"beforeOpen"))&&(h=u()),"object"==typeof h&&null!==h?i.css(h):(d>50&&!f.settings.slidesUp?i.css({bottom:"auto",top:c+2+"px",maxHeight:d-c+"px"}):i.css({top:"auto",bottom:c+2+"px",maxHeight:a.top-r-c/2+"px"}),a.left+i.width()>l?i.css("left","-"+(i.width()-i.parent().width()+3)+"px"):i.css("left","-1px")),"fade"===f.settings.effect?i.fadeIn(f.settings.speed):i.slideDown(f.settings.speed),s.find("#sbToggle_"+f.uid).addClass(f.settings.classToggleOpen),s.find("#sbHolder_"+f.uid).addClass(f.settings.classHolderOpen),this._state[f.uid]=!0,f.isOpen=!0,p&&p.apply(f.input?f.input[0]:null,[f]),e.data(t,"selectbox",f),s.unbind("click.sbClose").one("click.sbClose",function(){b._closeSelectbox(t)}))},_closeSelectbox:function(t){var s,n,i=this._getInst(t);i&&i.isOpen&&(s=e(t.ownerDocument),n=this._get(i,"onClose"),s.find("#sbOptions_"+i.uid).hide(),s.find("#sbToggle_"+i.uid).removeClass(i.settings.classToggleOpen),s.find("#sbHolder_"+i.uid).removeClass(i.settings.classHolderOpen),this._state[i.uid]=!1,i.isOpen=!1,n&&n.apply(i.input?i.input[0]:null,[i]),e.data(t,"selectbox",i),s.unbind("click.sbClose"))},_newInst:function(e){return{id:e[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:e,uid:Math.floor(99999999*Math.random()),isOpen:!1,isDisabled:!1,isSelected:!1,settings:{}}},_getInst:function(t){try{return e.data(t,"selectbox")}catch(e){
|
||
throw"Missing instance data for this selectbox"}},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_getOptions:function(t,s,n,o,l){var a=!(!arguments[1]||!arguments[1].sub),r=!(!arguments[1]||!arguments[1].disabled),c=this;arguments[0].each(function(t){var s,d,p,u,h,f=e(this),b=e("<li>");f.is(":selected")&&(n.sbSelector.text(f.text()),i(n,n.sbSelector,f,!0),n.isSelected=!0),t===o-1&&b.addClass("last"),p=f.text(),u=f.data("custom-option-text"),h=void 0!==u?u:p,"__separator__"===f.val()?(s=e("<span>").addClass(n.settings.classSeparator)).appendTo(b):f.is(":disabled")||r?(s=e("<span>",{text:h}).addClass(n.settings.classDisabled),a&&s.addClass(n.settings.classSub),s.appendTo(b)):(s=e("<a>",{href:"#"+f.val(),rel:f.val(),text:h,class:"filter",click:function(t){t.preventDefault();var s=n.sbToggle;s.attr("id").split("_")[1],c._closeSelectbox(l),c._changeSelectbox(l,e(this).attr("rel"),p),s.focus()}}),f.is(":selected")&&s.addClass("active"),a&&s.addClass(n.settings.classSub),s.appendTo(b)),(d=f.data("custom-option-prepend"))&&s.prepend(d),b.addClass(f.attr("class")),b.appendTo(n.sbOptions)})},_fillList:function(t,s,n){var o=this,l=e(t),a=(l.find("optgroup"),l.find("option")),r=a.length;n||(n=0),l.children().slice(n).each(function(n){var i,l=e(this),a={};l.is("option")?o._getOptions(l,null,s,r,t):l.is("optgroup")&&(i=e("<li>"),e("<span>",{text:l.attr("label")}).addClass(s.settings.classGroup).appendTo(i),i.appendTo(s.sbOptions),l.is(":disabled")&&(a.disabled=!0),a.sub=!0,o._getOptions(l.find("option"),a,s,r,t))}),s.isSelected||(s.sbSelector.text(a.first().text()),i(s,s.sbSelector,a.first(),!0),s.isSelected=!0)}}),e.fn.selectbox=function(t){var s=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&"isDisabled"==t?e.selectbox["_"+t+"Selectbox"].apply(e.selectbox,[this[0]].concat(s)):"option"==t&&2==arguments.length&&"string"==typeof arguments[1]?e.selectbox["_"+t+"Selectbox"].apply(e.selectbox,[this[0]].concat(s)):this.each(function(){"string"==typeof t?e.selectbox["_"+t+"Selectbox"].apply(e.selectbox,[this].concat(s)):e.selectbox._attachSelectbox(this,t)})},e.selectbox=new s,e.selectbox.version="0.1.3"}(jQuery)},wmOI:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LEFT_ARROW=37,t.UP_ARROW=38,t.RIGHT_ARROW=39,t.DOWN_ARROW=40,t.ENTER=13,t.ESC=27,t.SPACE=32,t.SLASH=47}}]); |