Files
ai/charting_library/bundles/37.39f9db9142205c486897.js
jenkins@nwork.local 649cefa032 Release v19.029 (from 40dd8ca8)
Fixes tradingview/charting_library#614
Fixes tradingview/charting_library#2701
Fixes tradingview/charting_library#2858
Fixes tradingview/charting_library#4019
Fixes tradingview/charting_library#4056
Fixes tradingview/charting_library#4116
Fixes tradingview/charting_library#4473
Fixes tradingview/charting_library#4674
Fixes tradingview/charting_library#4742
Fixes tradingview/charting_library#4746
Fixes tradingview/charting_library#4764
Fixes tradingview/charting_library#4769
Fixes tradingview/charting_library#4986
Fixes tradingview/charting_library#5022
Fixes tradingview/charting_library#5082
Fixes tradingview/charting_library#5228
Fixes tradingview/charting_library#5305
Fixes tradingview/charting_library#5312
Fixes tradingview/charting_library#5354
Fixes tradingview/charting_library#5397
Fixes tradingview/charting_library#5410
Fixes tradingview/charting_library#5429
Fixes tradingview/charting_library#5433
Fixes tradingview/charting_library#5455
Fixes tradingview/charting_library#5466
Fixes tradingview/charting_library#5470
Fixes tradingview/charting_library#5486
Fixes tradingview/charting_library#5488
Fixes tradingview/charting_library#5491
Fixes tradingview/charting_library#5494
Fixes tradingview/charting_library#5531
Fixes tradingview/charting_library#5557
Fixes tradingview/charting_library#5581
Fixes tradingview/charting_library#5598
Fixes tradingview/charting_library#5611
Fixes tradingview/charting_library#5638
Fixes tradingview/charting_library#5706
2021-06-04 12:50:20 +00:00

3 lines
8.6 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{"5YsI":function(e,t,r){e.exports={button:"button-13wlLwhJ",hover:"hover-3L87f6Kw",arrow:"arrow-2pXEy7ej",arrowWrap:"arrowWrap-r5l5nQXU",isOpened:"isOpened-1939ai3F"}},"82wv":function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o=r("mrSG"),n=r("q1tI"),i=r("TSYQ"),a=r("9dlw"),c=r("ML8+"),s=r("QpNh"),l=r("mkWe"),u=r("Sn4D"),d=r("Iksw"),p=r("5YsI"),h=function(e){function t(t){var r=e.call(this,t)||this;return r._wrapperRef=null,r._controller=n.createRef(),r._handleWrapperRef=function(e){r._wrapperRef=e,r.props.reference&&r.props.reference(e)},r._handleClick=function(e){e.target instanceof Node&&e.currentTarget.contains(e.target)&&(r._handleToggleDropdown(),r.props.onClick&&r.props.onClick(e,!r.state.isOpened))},r._handleToggleDropdown=function(e){var t=r.props,o=t.onClose,n=t.onOpen,i=r.state.isOpened,a="boolean"==typeof e?e:!i;r.setState({isOpened:a}),a&&n&&n(),!a&&o&&o()},r._handleClose=function(){r.close()},r.state={isOpened:!1},r}return Object(o.c)(t,e),t.prototype.render=function(){var e,t=this.props,r=t.id,p=t.arrow,h=t.children,v=t.content,f=t.isDisabled,m=t.isDrawer,w=t.drawerPosition,b=void 0===w?"Bottom":w,D=t.isShowTooltip,g=t.minWidth,O=t.title,E=t.className,N=t.menuClassName,T=t.hotKey,k=t.theme,C=this.state.isOpened,x=i(E,k.button,((e={})["apply-common-tooltip"]=D||!f,e[k.isDisabled]=f,e[k.isOpened]=C,e)),S=C&&m&&b,L={horizontalMargin:this.props.horizontalMargin||0,verticalMargin:this.props.verticalMargin||2,verticalAttachEdge:this.props.verticalAttachEdge,horizontalAttachEdge:this.props.horizontalAttachEdge,verticalDropDirection:this.props.verticalDropDirection,horizontalDropDirection:this.props.horizontalDropDirection};return n.createElement("div",Object(o.a)({id:r,className:x,onClick:f?void 0:this._handleClick,title:O,"data-tooltip-hotkey":T,ref:this._handleWrapperRef,"data-role":"button"},Object(s.a)(this.props)),v,p&&n.createElement("div",{className:k.arrow},n.createElement("div",{className:k.arrowWrap},n.createElement(c.a,{dropped:C}))),S?n.createElement(l.b,null,n.createElement(u.a,{onClose:this._handleClose,position:b},h)):n.createElement(a.a,{controller:this._controller,closeOnClickOutside:this.props.closeOnClickOutside,doNotCloseOn:this,isOpened:C,minWidth:g,onClose:this._handleClose,position:Object(d.c)(this._wrapperRef,L),className:N},h))},t.prototype.close=function(){this._handleToggleDropdown(!1)},t.prototype.update=function(){null!==this._controller.current&&this._controller.current.update()},t.defaultProps={arrow:!0,closeOnClickOutside:!0,theme:p},t}(n.PureComponent)},Iksw:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return l}));var o,n,i,a,c=r("Eyy1");!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(o||(o={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(n||(n={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(i||(i={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",
e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));var s={verticalAttachEdge:o.Bottom,horizontalAttachEdge:n.Left,verticalDropDirection:i.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0};function l(e,t){return function(r,l){var u=Object(c.ensureNotNull)(e).getBoundingClientRect(),d=t.verticalAttachEdge,p=void 0===d?s.verticalAttachEdge:d,h=t.verticalDropDirection,v=void 0===h?s.verticalDropDirection:h,f=t.horizontalAttachEdge,m=void 0===f?s.horizontalAttachEdge:f,w=t.horizontalDropDirection,b=void 0===w?s.horizontalDropDirection:w,D=t.horizontalMargin,g=void 0===D?s.horizontalMargin:D,O=t.verticalMargin,E=void 0===O?s.verticalMargin:O,N=p===o.Top?-1*E:E,T=m===n.Right?u.right:u.left,k=p===o.Top?u.top:u.bottom;return{x:T-(b===a.FromRightToLeft?r:0)+g,y:k-(v===i.FromBottomToTop?l:0)+N}}}},"ML8+":function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o=r("q1tI"),n=r("TSYQ"),i=r("Iivm"),a=r("cvzQ"),c=r("R4+T");function s(e){var t,r=e.dropped,s=e.className;return o.createElement(i.a,{className:n(s,a.icon,(t={},t[a.dropped]=r,t)),icon:c})}},QpNh:function(e,t,r){"use strict";function o(e){for(var t={},r=0,o=Object.entries(e).filter(n);r<o.length;r++){var i=o[r],a=i[0],c=i[1];t[a]=c}return t}function n(e){var t=e[0],r=e[1];return 0===t.indexOf("data-")&&"string"==typeof r}r.d(t,"a",(function(){return o}))},"R4+T":function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},R5JZ:function(e,t,r){"use strict";function o(e,t,r,o,n){function i(n){if(!(e>n.timeStamp)){var i=n.target;void 0!==r&&null!==t&&null!==i&&i.ownerDocument===o&&(t.contains(i)||r(n))}}return n.click&&o.addEventListener("click",i,!1),n.mouseDown&&o.addEventListener("mousedown",i,!1),n.touchEnd&&o.addEventListener("touchend",i,!1),n.touchStart&&o.addEventListener("touchstart",i,!1),function(){o.removeEventListener("click",i,!1),o.removeEventListener("mousedown",i,!1),o.removeEventListener("touchend",i,!1),o.removeEventListener("touchstart",i,!1)}}r.d(t,"a",(function(){return o}))},Sn4D:function(e,t,r){"use strict";r.d(t,"a",(function(){return v}));var o=r("q1tI"),n=r.n(o),i=r("Eyy1"),a=r("TSYQ"),c=r("x0D+"),s=r("Nkvk"),l=r("AiMB"),u=r("mkWe"),d=r("qFKp"),p=r("X0gx"),h=r("sHQ4");function v(e){var t=e.position,r=e.onClose,v=e.children,f=e.className,m=e.theme,w=void 0===m?h:m,b=Object(i.ensureNotNull)(Object(o.useContext)(u.a)),D=Object(o.useState)(0),g=D[0],O=D[1],E=Object(o.useRef)(null),N=Object(o.useContext)(p.a);return Object(o.useEffect)((function(){var e;return null===(e=E.current)||void 0===e||e.focus({preventScroll:!0}),N.subscribe(b,r),Object(s.setFixedBodyState)(!0),d.CheckMobile.iOS()&&Object(c.disableBodyScroll)(Object(i.ensureNotNull)(E.current)),O(b.addDrawer()),function(){N.unsubscribe(b,r);var e=b.removeDrawer();d.CheckMobile.iOS()&&Object(c.enableBodyScroll)(Object(i.ensureNotNull)(E.current)),
0===e&&Object(s.setFixedBodyState)(!1)}}),[]),n.a.createElement(l.a,null,n.a.createElement("div",{className:a(h.wrap,h["position"+t])},g===b.currentDrawer&&n.a.createElement("div",{className:h.backdrop,onClick:r}),n.a.createElement("div",{className:a(h.drawer,w.drawer,h["position"+t],f),ref:function(e){E.current=e},tabIndex:-1,onScroll:function(e){e.stopPropagation()}},v)))}},bQ7Y:function(e,t,r){e.exports={button:"button-2ioYhFEY",hover:"hover-yHQNmTbI",isInteractive:"isInteractive-20uLObIc",isGrouped:"isGrouped-2BBXQnbO",isActive:"isActive-22S-lGpa",isOpened:"isOpened-p-Ume5l9",isDisabled:"isDisabled-1_tmrLfP",text:"text-1sK7vbvh",icon:"icon-beK_KS0k"}},cvzQ:function(e,t,r){e.exports={icon:"icon-3yfDkFjY",dropped:"dropped-50rfOQ8V"}},mkWe:function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return c}));var o=r("mrSG"),n=r("q1tI"),i=r.n(n),a=function(e){function t(t){var r=e.call(this,t)||this;return r._addDrawer=function(){var e=r.state.currentDrawer+1;return r.setState({currentDrawer:e}),e},r._removeDrawer=function(){var e=r.state.currentDrawer-1;return r.setState({currentDrawer:e}),e},r.state={currentDrawer:0},r}return Object(o.c)(t,e),t.prototype.render=function(){return i.a.createElement(c.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)},t}(i.a.PureComponent),c=i.a.createContext(null)},sHQ4:function(e,t,r){e.exports={wrap:"wrap-3vvdSnDX",positionBottom:"positionBottom-3zJf6Byh",backdrop:"backdrop-1knaw_yl",drawer:"drawer-1_nJUEiM",positionLeft:"positionLeft-2wxVhi9G"}},tU7i:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return l}));var o=r("mrSG"),n=r("q1tI"),i=r("TSYQ"),a=r("Iivm"),c=r("bQ7Y"),s=c,l=n.forwardRef((function(e,t){var r,s=e.icon,l=e.isActive,u=e.isOpened,d=e.isDisabled,p=e.isGrouped,h=e.isHovered,v=e.onClick,f=e.text,m=e.textBeforeIcon,w=e.title,b=e.theme,D=void 0===b?c:b,g=e.className,O=e.forceInteractive,E=Object(o.e)(e,["icon","isActive","isOpened","isDisabled","isGrouped","isHovered","onClick","text","textBeforeIcon","title","theme","className","forceInteractive"]),N=i(g,D.button,w&&"apply-common-tooltip",((r={})[D.isActive]=l,r[D.isOpened]=u,r[D.isInteractive]=(O||Boolean(v))&&!d,r[D.isDisabled]=d,r[D.isGrouped]=p,r[D.hover]=h,r)),T=s&&("string"==typeof s?n.createElement(a.a,{className:D.icon,icon:s}):n.cloneElement(s,{className:i(D.icon,s.props.className)}));return n.createElement("div",Object(o.a)({},E,{ref:t,"data-role":"button",className:N,onClick:d?void 0:v,title:w}),m&&f&&n.createElement("div",{className:i("js-button-text",D.text)},f),T,!m&&f&&n.createElement("div",{className:i("js-button-text",D.text)},f))}))}}]);