1 line
53 KiB
JSON
1 line
53 KiB
JSON
{"ast":null,"code":"import React, { Component } from 'react';\nimport { DomHandler, classNames } from 'primereact/utils';\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nvar Slider = /*#__PURE__*/function (_Component) {\n _inherits(Slider, _Component);\n\n var _super = _createSuper(Slider);\n\n function Slider(props) {\n var _this;\n\n _classCallCheck(this, Slider);\n\n _this = _super.call(this, props);\n _this.onBarClick = _this.onBarClick.bind(_assertThisInitialized(_this));\n _this.onKeyDown = _this.onKeyDown.bind(_assertThisInitialized(_this));\n _this.handleIndex = 0;\n return _this;\n }\n\n _createClass(Slider, [{\n key: \"value\",\n get: function get() {\n return this.props.range ? this.props.value || [0, 100] : this.props.value || 0;\n }\n }, {\n key: \"spin\",\n value: function spin(event, dir) {\n var value = this.props.range ? this.value[this.handleIndex] : this.value;\n var step = (this.props.step || 1) * dir;\n this.updateValue(event, value + step);\n event.preventDefault();\n }\n }, {\n key: \"onDragStart\",\n value: function onDragStart(event, index) {\n if (this.props.disabled) {\n return;\n }\n\n this.dragging = true;\n this.updateDomData();\n this.sliderHandleClick = true;\n this.handleIndex = index; //event.preventDefault();\n }\n }, {\n key: \"onMouseDown\",\n value: function onMouseDown(event, index) {\n this.bindDragListeners();\n this.onDragStart(event, index);\n }\n }, {\n key: \"onTouchStart\",\n value: function onTouchStart(event, index) {\n this.bindTouchListeners();\n this.onDragStart(event, index);\n }\n }, {\n key: \"onKeyDown\",\n value: function onKeyDown(event, index) {\n if (this.props.disabled) {\n return;\n }\n\n this.handleIndex = index;\n var key = event.key;\n\n if (key === 'ArrowRight' || key === 'ArrowUp') {\n this.spin(event, 1);\n } else if (key === 'ArrowLeft' || key === 'ArrowDown') {\n this.spin(event, -1);\n }\n }\n }, {\n key: \"onBarClick\",\n value: function onBarClick(event) {\n if (this.props.disabled) {\n return;\n }\n\n if (!this.sliderHandleClick) {\n this.updateDomData();\n var value = this.setValue(event);\n\n if (this.props.onSlideEnd) {\n this.props.onSlideEnd({\n originalEvent: event,\n value: value\n });\n }\n }\n\n this.sliderHandleClick = false;\n }\n }, {\n key: \"onDrag\",\n value: function onDrag(event) {\n if (this.dragging) {\n this.setValue(event);\n event.preventDefault();\n }\n }\n }, {\n key: \"onDragEnd\",\n value: function onDragEnd(event) {\n if (this.dragging) {\n this.dragging = false;\n\n if (this.props.onSlideEnd) {\n this.props.onSlideEnd({\n originalEvent: event,\n value: this.props.value\n });\n }\n\n this.unbindDragListeners();\n this.unbindTouchListeners();\n }\n }\n }, {\n key: \"bindDragListeners\",\n value: function bindDragListeners() {\n if (!this.dragListener) {\n this.dragListener = this.onDrag.bind(this);\n document.addEventListener('mousemove', this.dragListener);\n }\n\n if (!this.dragEndListener) {\n this.dragEndListener = this.onDragEnd.bind(this);\n document.addEventListener('mouseup', this.dragEndListener);\n }\n }\n }, {\n key: \"unbindDragListeners\",\n value: function unbindDragListeners() {\n if (this.dragListener) {\n document.removeEventListener('mousemove', this.dragListener);\n this.dragListener = null;\n }\n\n if (this.dragEndListener) {\n document.removeEventListener('mouseup', this.dragEndListener);\n this.dragEndListener = null;\n }\n }\n }, {\n key: \"bindTouchListeners\",\n value: function bindTouchListeners() {\n if (!this.dragListener) {\n this.dragListener = this.onDrag.bind(this);\n document.addEventListener('touchmove', this.dragListener);\n }\n\n if (!this.dragEndListener) {\n this.dragEndListener = this.onDragEnd.bind(this);\n document.addEventListener('touchend', this.dragEndListener);\n }\n }\n }, {\n key: \"unbindTouchListeners\",\n value: function unbindTouchListeners() {\n if (this.dragListener) {\n document.removeEventListener('touchmove', this.dragListener);\n this.dragListener = null;\n }\n\n if (this.dragEndListener) {\n document.removeEventListener('touchend', this.dragEndListener);\n this.dragEndListener = null;\n }\n }\n }, {\n key: \"updateDomData\",\n value: function updateDomData() {\n var rect = this.el.getBoundingClientRect();\n this.initX = rect.left + DomHandler.getWindowScrollLeft();\n this.initY = rect.top + DomHandler.getWindowScrollTop();\n this.barWidth = this.el.offsetWidth;\n this.barHeight = this.el.offsetHeight;\n }\n }, {\n key: \"setValue\",\n value: function setValue(event) {\n var handleValue;\n var pageX = event.touches ? event.touches[0].pageX : event.pageX;\n var pageY = event.touches ? event.touches[0].pageY : event.pageY;\n if (this.props.orientation === 'horizontal') handleValue = (pageX - this.initX) * 100 / this.barWidth;else handleValue = (this.initY + this.barHeight - pageY) * 100 / this.barHeight;\n var newValue = (this.props.max - this.props.min) * (handleValue / 100) + this.props.min;\n\n if (this.props.step) {\n var oldValue = this.props.range ? this.value[this.handleIndex] : this.value;\n var diff = newValue - oldValue;\n if (diff < 0) newValue = oldValue + Math.ceil(newValue / this.props.step - oldValue / this.props.step) * this.props.step;else if (diff > 0) newValue = oldValue + Math.floor(newValue / this.props.step - oldValue / this.props.step) * this.props.step;\n } else {\n newValue = Math.floor(newValue);\n }\n\n return this.updateValue(event, newValue);\n }\n }, {\n key: \"updateValue\",\n value: function updateValue(event, value) {\n var parsedValue = parseFloat(value.toFixed(10));\n var newValue = parsedValue;\n\n if (this.props.range) {\n if (this.handleIndex === 0) {\n if (parsedValue < this.props.min) parsedValue = this.props.min;else if (parsedValue > this.value[1]) parsedValue = this.value[1];\n } else {\n if (parsedValue > this.props.max) parsedValue = this.props.max;else if (parsedValue < this.value[0]) parsedValue = this.value[0];\n }\n\n newValue = _toConsumableArray(this.value);\n newValue[this.handleIndex] = parsedValue;\n\n if (this.props.onChange) {\n this.props.onChange({\n originalEvent: event,\n value: newValue\n });\n }\n } else {\n if (parsedValue < this.props.min) parsedValue = this.props.min;else if (parsedValue > this.props.max) parsedValue = this.props.max;\n newValue = parsedValue;\n\n if (this.props.onChange) {\n this.props.onChange({\n originalEvent: event,\n value: newValue\n });\n }\n }\n\n return newValue;\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.unbindDragListeners();\n this.unbindTouchListeners();\n }\n }, {\n key: \"renderHandle\",\n value: function renderHandle(leftValue, bottomValue, index) {\n var _this2 = this;\n\n var handleClassName = classNames('p-slider-handle', {\n 'p-slider-handle-start': index === 0,\n 'p-slider-handle-end': index === 1,\n 'p-slider-handle-active': this.handleIndex === index\n });\n return /*#__PURE__*/React.createElement(\"span\", {\n onMouseDown: function onMouseDown(event) {\n return _this2.onMouseDown(event, index);\n },\n onTouchStart: function onTouchStart(event) {\n return _this2.onTouchStart(event, index);\n },\n onKeyDown: function onKeyDown(event) {\n return _this2.onKeyDown(event, index);\n },\n tabIndex: this.props.tabIndex,\n className: handleClassName,\n style: {\n transition: this.dragging ? 'none' : null,\n left: leftValue !== null && leftValue + '%',\n bottom: bottomValue && bottomValue + '%'\n },\n role: \"slider\",\n \"aria-valuemin\": this.props.min,\n \"aria-valuemax\": this.props.max,\n \"aria-valuenow\": leftValue || bottomValue,\n \"aria-labelledby\": this.props.ariaLabelledBy\n });\n }\n }, {\n key: \"renderRangeSlider\",\n value: function renderRangeSlider() {\n var values = this.value;\n var horizontal = this.props.orientation === 'horizontal';\n var handleValueStart = (values[0] < this.props.min ? 0 : values[0] - this.props.min) * 100 / (this.props.max - this.props.min);\n var handleValueEnd = (values[1] > this.props.max ? 100 : values[1] - this.props.min) * 100 / (this.props.max - this.props.min);\n var rangeStartHandle = horizontal ? this.renderHandle(handleValueStart, null, 0) : this.renderHandle(null, handleValueStart, 0);\n var rangeEndHandle = horizontal ? this.renderHandle(handleValueEnd, null, 1) : this.renderHandle(null, handleValueEnd, 1);\n var rangeStyle = horizontal ? {\n left: handleValueStart + '%',\n width: handleValueEnd - handleValueStart + '%'\n } : {\n bottom: handleValueStart + '%',\n height: handleValueEnd - handleValueStart + '%'\n };\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-slider-range\",\n style: rangeStyle\n }), rangeStartHandle, rangeEndHandle);\n }\n }, {\n key: \"renderSingleSlider\",\n value: function renderSingleSlider() {\n var value = this.value;\n var handleValue;\n if (value < this.props.min) handleValue = 0;else if (value > this.props.max) handleValue = 100;else handleValue = (value - this.props.min) * 100 / (this.props.max - this.props.min);\n var rangeStyle = this.props.orientation === 'horizontal' ? {\n width: handleValue + '%'\n } : {\n height: handleValue + '%'\n };\n var handle = this.props.orientation === 'horizontal' ? this.renderHandle(handleValue, null, null) : this.renderHandle(null, handleValue, null);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-slider-range\",\n style: rangeStyle\n }), handle);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n var className = classNames('p-slider p-component', this.props.className, {\n 'p-disabled': this.props.disabled,\n 'p-slider-horizontal': this.props.orientation === 'horizontal',\n 'p-slider-vertical': this.props.orientation === 'vertical'\n });\n var content = this.props.range ? this.renderRangeSlider() : this.renderSingleSlider();\n return /*#__PURE__*/React.createElement(\"div\", {\n id: this.props.id,\n ref: function ref(el) {\n return _this3.el = el;\n },\n style: this.props.style,\n className: className,\n onClick: this.onBarClick\n }, content);\n }\n }]);\n\n return Slider;\n}(Component);\n\n_defineProperty(Slider, \"defaultProps\", {\n id: null,\n value: null,\n min: 0,\n max: 100,\n orientation: 'horizontal',\n step: null,\n range: false,\n style: null,\n className: null,\n disabled: false,\n tabIndex: 0,\n ariaLabelledBy: null,\n onChange: null,\n onSlideEnd: null\n});\n\nexport { Slider };","map":{"version":3,"names":["React","Component","DomHandler","classNames","_arrayLikeToArray","arr","len","length","i","arr2","Array","_arrayWithoutHoles","isArray","_iterableToArray","iter","Symbol","iterator","from","_unsupportedIterableToArray","o","minLen","n","Object","prototype","toString","call","slice","constructor","name","test","_nonIterableSpread","TypeError","_toConsumableArray","_classCallCheck","instance","Constructor","_defineProperties","target","props","descriptor","enumerable","configurable","writable","defineProperty","key","_createClass","protoProps","staticProps","_assertThisInitialized","self","ReferenceError","_setPrototypeOf","p","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","value","_typeof","obj","_possibleConstructorReturn","_getPrototypeOf","getPrototypeOf","_defineProperty","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","result","NewTarget","Reflect","construct","arguments","apply","sham","Proxy","Boolean","valueOf","e","Slider","_Component","_super","_this","onBarClick","bind","onKeyDown","handleIndex","get","range","spin","event","dir","step","updateValue","preventDefault","onDragStart","index","disabled","dragging","updateDomData","sliderHandleClick","onMouseDown","bindDragListeners","onTouchStart","bindTouchListeners","setValue","onSlideEnd","originalEvent","onDrag","onDragEnd","unbindDragListeners","unbindTouchListeners","dragListener","document","addEventListener","dragEndListener","removeEventListener","rect","el","getBoundingClientRect","initX","left","getWindowScrollLeft","initY","top","getWindowScrollTop","barWidth","offsetWidth","barHeight","offsetHeight","handleValue","pageX","touches","pageY","orientation","newValue","max","min","oldValue","diff","Math","ceil","floor","parsedValue","parseFloat","toFixed","onChange","componentWillUnmount","renderHandle","leftValue","bottomValue","_this2","handleClassName","createElement","tabIndex","className","style","transition","bottom","role","ariaLabelledBy","renderRangeSlider","values","horizontal","handleValueStart","handleValueEnd","rangeStartHandle","rangeEndHandle","rangeStyle","width","height","Fragment","renderSingleSlider","handle","render","_this3","content","id","ref","onClick"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/primereact/slider/slider.esm.js"],"sourcesContent":["import React, { Component } from 'react';\nimport { DomHandler, classNames } from 'primereact/utils';\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nvar Slider = /*#__PURE__*/function (_Component) {\n _inherits(Slider, _Component);\n\n var _super = _createSuper(Slider);\n\n function Slider(props) {\n var _this;\n\n _classCallCheck(this, Slider);\n\n _this = _super.call(this, props);\n _this.onBarClick = _this.onBarClick.bind(_assertThisInitialized(_this));\n _this.onKeyDown = _this.onKeyDown.bind(_assertThisInitialized(_this));\n _this.handleIndex = 0;\n return _this;\n }\n\n _createClass(Slider, [{\n key: \"value\",\n get: function get() {\n return this.props.range ? this.props.value || [0, 100] : this.props.value || 0;\n }\n }, {\n key: \"spin\",\n value: function spin(event, dir) {\n var value = this.props.range ? this.value[this.handleIndex] : this.value;\n var step = (this.props.step || 1) * dir;\n this.updateValue(event, value + step);\n event.preventDefault();\n }\n }, {\n key: \"onDragStart\",\n value: function onDragStart(event, index) {\n if (this.props.disabled) {\n return;\n }\n\n this.dragging = true;\n this.updateDomData();\n this.sliderHandleClick = true;\n this.handleIndex = index; //event.preventDefault();\n }\n }, {\n key: \"onMouseDown\",\n value: function onMouseDown(event, index) {\n this.bindDragListeners();\n this.onDragStart(event, index);\n }\n }, {\n key: \"onTouchStart\",\n value: function onTouchStart(event, index) {\n this.bindTouchListeners();\n this.onDragStart(event, index);\n }\n }, {\n key: \"onKeyDown\",\n value: function onKeyDown(event, index) {\n if (this.props.disabled) {\n return;\n }\n\n this.handleIndex = index;\n var key = event.key;\n\n if (key === 'ArrowRight' || key === 'ArrowUp') {\n this.spin(event, 1);\n } else if (key === 'ArrowLeft' || key === 'ArrowDown') {\n this.spin(event, -1);\n }\n }\n }, {\n key: \"onBarClick\",\n value: function onBarClick(event) {\n if (this.props.disabled) {\n return;\n }\n\n if (!this.sliderHandleClick) {\n this.updateDomData();\n var value = this.setValue(event);\n\n if (this.props.onSlideEnd) {\n this.props.onSlideEnd({\n originalEvent: event,\n value: value\n });\n }\n }\n\n this.sliderHandleClick = false;\n }\n }, {\n key: \"onDrag\",\n value: function onDrag(event) {\n if (this.dragging) {\n this.setValue(event);\n event.preventDefault();\n }\n }\n }, {\n key: \"onDragEnd\",\n value: function onDragEnd(event) {\n if (this.dragging) {\n this.dragging = false;\n\n if (this.props.onSlideEnd) {\n this.props.onSlideEnd({\n originalEvent: event,\n value: this.props.value\n });\n }\n\n this.unbindDragListeners();\n this.unbindTouchListeners();\n }\n }\n }, {\n key: \"bindDragListeners\",\n value: function bindDragListeners() {\n if (!this.dragListener) {\n this.dragListener = this.onDrag.bind(this);\n document.addEventListener('mousemove', this.dragListener);\n }\n\n if (!this.dragEndListener) {\n this.dragEndListener = this.onDragEnd.bind(this);\n document.addEventListener('mouseup', this.dragEndListener);\n }\n }\n }, {\n key: \"unbindDragListeners\",\n value: function unbindDragListeners() {\n if (this.dragListener) {\n document.removeEventListener('mousemove', this.dragListener);\n this.dragListener = null;\n }\n\n if (this.dragEndListener) {\n document.removeEventListener('mouseup', this.dragEndListener);\n this.dragEndListener = null;\n }\n }\n }, {\n key: \"bindTouchListeners\",\n value: function bindTouchListeners() {\n if (!this.dragListener) {\n this.dragListener = this.onDrag.bind(this);\n document.addEventListener('touchmove', this.dragListener);\n }\n\n if (!this.dragEndListener) {\n this.dragEndListener = this.onDragEnd.bind(this);\n document.addEventListener('touchend', this.dragEndListener);\n }\n }\n }, {\n key: \"unbindTouchListeners\",\n value: function unbindTouchListeners() {\n if (this.dragListener) {\n document.removeEventListener('touchmove', this.dragListener);\n this.dragListener = null;\n }\n\n if (this.dragEndListener) {\n document.removeEventListener('touchend', this.dragEndListener);\n this.dragEndListener = null;\n }\n }\n }, {\n key: \"updateDomData\",\n value: function updateDomData() {\n var rect = this.el.getBoundingClientRect();\n this.initX = rect.left + DomHandler.getWindowScrollLeft();\n this.initY = rect.top + DomHandler.getWindowScrollTop();\n this.barWidth = this.el.offsetWidth;\n this.barHeight = this.el.offsetHeight;\n }\n }, {\n key: \"setValue\",\n value: function setValue(event) {\n var handleValue;\n var pageX = event.touches ? event.touches[0].pageX : event.pageX;\n var pageY = event.touches ? event.touches[0].pageY : event.pageY;\n if (this.props.orientation === 'horizontal') handleValue = (pageX - this.initX) * 100 / this.barWidth;else handleValue = (this.initY + this.barHeight - pageY) * 100 / this.barHeight;\n var newValue = (this.props.max - this.props.min) * (handleValue / 100) + this.props.min;\n\n if (this.props.step) {\n var oldValue = this.props.range ? this.value[this.handleIndex] : this.value;\n var diff = newValue - oldValue;\n if (diff < 0) newValue = oldValue + Math.ceil(newValue / this.props.step - oldValue / this.props.step) * this.props.step;else if (diff > 0) newValue = oldValue + Math.floor(newValue / this.props.step - oldValue / this.props.step) * this.props.step;\n } else {\n newValue = Math.floor(newValue);\n }\n\n return this.updateValue(event, newValue);\n }\n }, {\n key: \"updateValue\",\n value: function updateValue(event, value) {\n var parsedValue = parseFloat(value.toFixed(10));\n var newValue = parsedValue;\n\n if (this.props.range) {\n if (this.handleIndex === 0) {\n if (parsedValue < this.props.min) parsedValue = this.props.min;else if (parsedValue > this.value[1]) parsedValue = this.value[1];\n } else {\n if (parsedValue > this.props.max) parsedValue = this.props.max;else if (parsedValue < this.value[0]) parsedValue = this.value[0];\n }\n\n newValue = _toConsumableArray(this.value);\n newValue[this.handleIndex] = parsedValue;\n\n if (this.props.onChange) {\n this.props.onChange({\n originalEvent: event,\n value: newValue\n });\n }\n } else {\n if (parsedValue < this.props.min) parsedValue = this.props.min;else if (parsedValue > this.props.max) parsedValue = this.props.max;\n newValue = parsedValue;\n\n if (this.props.onChange) {\n this.props.onChange({\n originalEvent: event,\n value: newValue\n });\n }\n }\n\n return newValue;\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.unbindDragListeners();\n this.unbindTouchListeners();\n }\n }, {\n key: \"renderHandle\",\n value: function renderHandle(leftValue, bottomValue, index) {\n var _this2 = this;\n\n var handleClassName = classNames('p-slider-handle', {\n 'p-slider-handle-start': index === 0,\n 'p-slider-handle-end': index === 1,\n 'p-slider-handle-active': this.handleIndex === index\n });\n return /*#__PURE__*/React.createElement(\"span\", {\n onMouseDown: function onMouseDown(event) {\n return _this2.onMouseDown(event, index);\n },\n onTouchStart: function onTouchStart(event) {\n return _this2.onTouchStart(event, index);\n },\n onKeyDown: function onKeyDown(event) {\n return _this2.onKeyDown(event, index);\n },\n tabIndex: this.props.tabIndex,\n className: handleClassName,\n style: {\n transition: this.dragging ? 'none' : null,\n left: leftValue !== null && leftValue + '%',\n bottom: bottomValue && bottomValue + '%'\n },\n role: \"slider\",\n \"aria-valuemin\": this.props.min,\n \"aria-valuemax\": this.props.max,\n \"aria-valuenow\": leftValue || bottomValue,\n \"aria-labelledby\": this.props.ariaLabelledBy\n });\n }\n }, {\n key: \"renderRangeSlider\",\n value: function renderRangeSlider() {\n var values = this.value;\n var horizontal = this.props.orientation === 'horizontal';\n var handleValueStart = (values[0] < this.props.min ? 0 : values[0] - this.props.min) * 100 / (this.props.max - this.props.min);\n var handleValueEnd = (values[1] > this.props.max ? 100 : values[1] - this.props.min) * 100 / (this.props.max - this.props.min);\n var rangeStartHandle = horizontal ? this.renderHandle(handleValueStart, null, 0) : this.renderHandle(null, handleValueStart, 0);\n var rangeEndHandle = horizontal ? this.renderHandle(handleValueEnd, null, 1) : this.renderHandle(null, handleValueEnd, 1);\n var rangeStyle = horizontal ? {\n left: handleValueStart + '%',\n width: handleValueEnd - handleValueStart + '%'\n } : {\n bottom: handleValueStart + '%',\n height: handleValueEnd - handleValueStart + '%'\n };\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-slider-range\",\n style: rangeStyle\n }), rangeStartHandle, rangeEndHandle);\n }\n }, {\n key: \"renderSingleSlider\",\n value: function renderSingleSlider() {\n var value = this.value;\n var handleValue;\n if (value < this.props.min) handleValue = 0;else if (value > this.props.max) handleValue = 100;else handleValue = (value - this.props.min) * 100 / (this.props.max - this.props.min);\n var rangeStyle = this.props.orientation === 'horizontal' ? {\n width: handleValue + '%'\n } : {\n height: handleValue + '%'\n };\n var handle = this.props.orientation === 'horizontal' ? this.renderHandle(handleValue, null, null) : this.renderHandle(null, handleValue, null);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-slider-range\",\n style: rangeStyle\n }), handle);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n var className = classNames('p-slider p-component', this.props.className, {\n 'p-disabled': this.props.disabled,\n 'p-slider-horizontal': this.props.orientation === 'horizontal',\n 'p-slider-vertical': this.props.orientation === 'vertical'\n });\n var content = this.props.range ? this.renderRangeSlider() : this.renderSingleSlider();\n return /*#__PURE__*/React.createElement(\"div\", {\n id: this.props.id,\n ref: function ref(el) {\n return _this3.el = el;\n },\n style: this.props.style,\n className: className,\n onClick: this.onBarClick\n }, content);\n }\n }]);\n\n return Slider;\n}(Component);\n\n_defineProperty(Slider, \"defaultProps\", {\n id: null,\n value: null,\n min: 0,\n max: 100,\n orientation: 'horizontal',\n step: null,\n range: false,\n style: null,\n className: null,\n disabled: false,\n tabIndex: 0,\n ariaLabelledBy: null,\n onChange: null,\n onSlideEnd: null\n});\n\nexport { Slider };\n"],"mappings":"AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,SAASC,UAAT,EAAqBC,UAArB,QAAuC,kBAAvC;;AAEA,SAASC,iBAAT,CAA2BC,GAA3B,EAAgCC,GAAhC,EAAqC;EACnC,IAAIA,GAAG,IAAI,IAAP,IAAeA,GAAG,GAAGD,GAAG,CAACE,MAA7B,EAAqCD,GAAG,GAAGD,GAAG,CAACE,MAAV;;EAErC,KAAK,IAAIC,CAAC,GAAG,CAAR,EAAWC,IAAI,GAAG,IAAIC,KAAJ,CAAUJ,GAAV,CAAvB,EAAuCE,CAAC,GAAGF,GAA3C,EAAgDE,CAAC,EAAjD,EAAqD;IACnDC,IAAI,CAACD,CAAD,CAAJ,GAAUH,GAAG,CAACG,CAAD,CAAb;EACD;;EAED,OAAOC,IAAP;AACD;;AAED,SAASE,kBAAT,CAA4BN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