wg-backend-django/dell-env/lib/python3.11/site-packages/dash/dcc/async-slider.js

3 lines
117 KiB
JavaScript
Raw Normal View History

2023-10-30 03:40:43 -04:00
/*! For license information please see async-slider.js.LICENSE.txt */
"use strict";(self.webpackChunkdash_core_components=self.webpackChunkdash_core_components||[]).push([[154],{66602:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});var r=n(99196),o=n.n(r),i=n(84214),a=n(59550),u=n(61158),l=(n(82588),n(14475)),s=n(95474);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){var r,o,i;r=e,o=t,i=n[t],(o=h(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,h(r.key),r)}}function h(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var g=["min","max","allowCross","pushable","disabled","count","dots","included","tooltip","vertical","id"],y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(h,e);var t,n,r,s,f=(r=h,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(r);if(s){var n=m(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function h(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),(t=f.call(this,e)).DashSlider=e.tooltip?(0,a.u7)(a.e6):a.e6,t._computeStyle=(0,u.Z)(),t.state={value:e.value},t}return t=h,(n=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.tooltip!==this.props.tooltip&&(this.DashSlider=e.tooltip?(0,a.u7)(a.e6):a.e6),e.value!==this.props.value&&(this.props.setProps({drag_value:e.value}),this.setState({value:e.value}))}},{key:"UNSAFE_componentWillMount",value:function(){null!==this.props.value&&(this.props.setProps({drag_value:this.props.value}),this.setState({value:this.props.value}))}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.className,a=n.id,u=n.loading_state,s=n.setProps,f=n.tooltip,d=n.updatemode,h=n.vertical,v=n.verticalHeight,m=n.min,y=n.max,b=n.marks,A=n.step,w=this.state.value;return f&&f.always_visible?delete(e=(0,i.yGi)("visible",f.always_visible,f)).always_visible:e=f,o().createElement("div",{id:a,"data-dash-is-loading":u&&u.is_loading||void 0,class
//# sourceMappingURL=async-slider.js.map