Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

VSlider.js.map 27KB

1
  1. {"version":3,"sources":["../../../src/components/VSlider/VSlider.js"],"names":[],"mappings":";;;AACA,OAAO,8CAAP;AAEA;AACA,SAAS,gBAAT,QAAiC,gBAAjC;AAEA;AACA,OAAO,MAAP,MAAmB,WAAnB;AAEA;AACA,OAAO,YAAP,MAAyB,gCAAzB;AAEA;AACA,SACE,oBADF,EAEE,aAFF,EAGE,WAHF,EAIE,QAJF,EAKE,SALF,QAMO,oBANP;AAOA,SAAS,WAAT,QAA4B,oBAA5B;AACA,OAAO,QAAP,MAAqB,uBAArB;AAEA;AACA,eAAe,OAAO,MAAP,CAAc;AAC3B,UAAM,UADqB;AAG3B,gBAAY,EAAE,0BAAF,EAHe;AAK3B,YAAQ,CAAC,QAAD,CALmB;AAO3B,WAAO;AACL,qBAAa,OADR;AAEL,sBAAc,OAFT;AAGL,eAAO,MAHF;AAIL,aAAK;AACH,kBAAM,CAAC,MAAD,EAAS,MAAT,CADH;AAEH,qBAAS;AAFN,SAJA;AAQL,aAAK;AACH,kBAAM,CAAC,MAAD,EAAS,MAAT,CADH;AAEH,qBAAS;AAFN,SARA;AAYL,cAAM;AACJ,kBAAM,CAAC,MAAD,EAAS,MAAT,CADF;AAEJ,qBAAS;AAFL,SAZD;AAgBL,eAAO;AACL,kBAAM,CAAC,OAAD,EAAU,MAAV,CADD;AAEL,qBAAS,KAFJ;AAGL,uBAAW;AAAA,uBAAK,OAAO,CAAP,KAAa,SAAb,IAA0B,MAAM,QAArC;AAAA;AAHN,SAhBF;AAqBL,oBAAY;AACV,kBAAM,KADI;AAEV,qBAAS;AAAA,uBAAO,EAAP;AAAA;AAFC,SArBP;AAyBL,kBAAU;AACR,kBAAM,CAAC,MAAD,EAAS,MAAT,CADE;AAER,qBAAS;AAFD,SAzBL;AA6BL,oBAAY;AACV,kBAAM,MADI;AAEV,qBAAS;AAFC,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AY,MAAZ,GAAqB,YAAY,OAAZ,CAAoB,GAApB,CAArB,GAAgD,CADpC,GAEb,CAFJ;AAGA,gBAAM,SAAS,KAAK,GAAL,GAAW,KAAK,WAA/B;AAEA,gBAAM,WAAW,KAAK,KAAL,CAAW,CAAC,QAAQ,MAAT,IAAmB,KAAK,WAAnC,IAAkD,KAAK,WAAvD,GAAqE,MAAtF;AAEA,mBAAO,WAAW,KAAK,GAAL,CAAS,KAAK,GAAL,CAAS,QAAT,EAAmB,KAAK,GAAxB,CAAT,EAAuC,KAAK,GAA5C,EAAiD,OAAjD,CAAyD,QAAzD,CAAX,CAAP;AACD,SApSM;AAqSP,wBArSO,4BAqSW,KArSX,EAqSgB;AACrB,iBAAK,aAAL,GAAqB,KAArB;AACD;AAvSM;AAtMkB,CAAd,CAAf","sourcesContent":["// Styles\nimport '../../stylus/components/_sliders.styl'\n\n// Components\nimport { VScaleTransition } from '../transitions'\n\n// Extensions\nimport VInput from '../VInput'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\n\n// Utilities\nimport {\n addOnceEventListener,\n convertToUnit,\n createRange,\n keyCodes,\n deepEqual\n} from '../../util/helpers'\nimport { consoleWarn } from '../../util/console'\nimport Loadable from '../../mixins/loadable'\n\n/* @vue/component */\nexport default VInput.extend({\n name: 'v-slider',\n\n directives: { ClickOutside },\n\n mixins: [Loadable],\n\n props: {\n alwaysDirty: Boolean,\n inverseLabel: Boolean,\n label: String,\n min: {\n type: [Number, String],\n default: 0\n },\n max: {\n type: [Number, String],\n default: 100\n },\n step: {\n type: [Number, String],\n default: 1\n },\n ticks: {\n type: [Boolean, String],\n default: false,\n validator: v => typeof v === 'boolean' || v === 'always'\n },\n tickLabels: {\n type: Array,\n default: () => ([])\n },\n tickSize: {\n type: [Number, String],\n default: 1\n },\n thumbColor: {\n type: String,\n default: null\n },\n thumbLabel: {\n type: [Boolean, String],\n default: null,\n validator: v => typeof v === 'boolean' || v === 'always'\n },\n thumbSize: {\n type: [Number, String],\n default: 32\n },\n trackColor: {\n type: String,\n default: null\n },\n value: [Number, String]\n },\n\n data: vm => ({\n app: {},\n isActive: false,\n keyPressed: 0,\n lazyValue: typeof vm.value !== 'undefined' ? vm.value : Number(vm.min),\n oldValue: null\n }),\n\n computed: {\n classes () {\n return {\n 'v-input--slider': true,\n 'v-input--slider--ticks': this.showTicks,\n 'v-input--slider--inverse-label': this.inverseLabel,\n 'v-input--slider--ticks-labels': this.tickLabels.length > 0,\n 'v-input--slider--thumb-label': this.thumbLabel ||\n this.$scopedSlots.thumbLabel\n }\n },\n showTicks () {\n return this.tickLabels.length > 0 ||\n (!this.disabled && this.stepNumeric && !!this.ticks)\n },\n showThumbLabel () {\n return !this.disabled && (\n !!this.thumbLabel ||\n this.thumbLabel === '' ||\n this.$scopedSlots['thumb-label']\n )\n },\n computedColor () {\n if (this.disabled) return null\n return this.validationState || this.color || 'primary'\n },\n computedTrackColor () {\n return this.disabled ? null : (this.trackColor || null)\n },\n computedThumbColor () {\n if (this.disabled || !this.isDirty) return null\n return this.validationState || this.thumbColor || this.color || 'primary'\n },\n internalValue: {\n get () {\n return this.lazyValue\n },\n set (val) {\n const { min, max } = this\n\n // Round value to ensure the\n // entire slider range can\n // be selected with step\n const value = this.roundValue(Math.min(Math.max(val, min), max))\n\n if (value === this.lazyValue) return\n\n this.lazyValue = value\n\n this.$emit('input', value)\n this.validate()\n }\n },\n stepNumeric () {\n return this.step > 0 ? parseFloat(this.step) : 0\n },\n trackFillStyles () {\n const left = this.$vuetify.rtl ? 'auto' : 0\n const right = this.$vuetify.rtl ? 0 : 'auto'\n let width = `${this.inputWidth}%`\n\n if (this.disabled) width = `calc(${this.inputWidth}% - 8px)`\n\n return {\n transition: this.trackTransition,\n left,\n right,\n width\n }\n },\n trackPadding () {\n return (\n this.isActive ||\n this.inputWidth > 0 ||\n this.disabled\n ) ? 0 : 7\n },\n trackStyles () {\n const trackPadding = this.disabled ? `calc(${this.inputWidth}% + 8px)` : `${this.trackPadding}px`\n const left = this.$vuetify.rtl ? 'auto' : trackPadding\n const right = this.$vuetify.rtl ? trackPadding : 'auto'\n const width = this.disabled\n ? `calc(${100 - this.inputWidth}% - 8px)`\n : '100%'\n\n return {\n transition: this.trackTransition,\n left,\n right,\n width\n }\n },\n tickStyles () {\n const size = Number(this.tickSize)\n\n return {\n 'border-width': `${size}px`,\n 'border-radius': size > 1 ? '50%' : null,\n transform: size > 1 ? `translateX(-${size}px) translateY(-${size - 1}px)` : null\n }\n },\n trackTransition () {\n return this.keyPressed >= 2 ? 'none' : ''\n },\n numTicks () {\n return Math.ceil((this.max - this.min) / this.stepNumeric)\n },\n inputWidth () {\n return (this.roundValue(this.internalValue) - this.min) / (this.max - this.min) * 100\n },\n isDirty () {\n return this.internalValue > this.min ||\n this.alwaysDirty\n }\n },\n\n watch: {\n min (val) {\n val > this.internalValue && this.$emit('input', parseFloat(val))\n },\n max (val) {\n val < this.internalValue && this.$emit('input', parseFloat(val))\n },\n value (val) {\n this.internalValue = val\n }\n },\n\n mounted () {\n // Without a v-app, iOS does not work with body selectors\n this.app = document.querySelector('[data-app]') ||\n consoleWarn('Missing v-app or a non-body wrapping element with the [data-app] attribute', this)\n },\n\n methods: {\n genDefaultSlot () {\n const children = [this.genLabel()]\n const slider = this.genSlider()\n this.inverseLabel\n ? children.unshift(slider)\n : children.push(slider)\n\n children.push(this.genProgress())\n\n return children\n },\n genListeners () {\n return {\n blur: this.onBlur,\n click: this.onSliderClick,\n focus: this.onFocus,\n keydown: this.onKeyDown,\n keyup: this.onKeyUp\n }\n },\n genInput () {\n return this.$createElement('input', {\n attrs: {\n 'aria-label': this.label,\n name: this.name,\n role: 'slider',\n tabindex: this.disabled ? -1 : this.$attrs.tabindex,\n value: this.internalValue,\n readonly: true,\n 'aria-readonly': String(this.readonly),\n 'aria-valuemin': this.min,\n 'aria-valuemax': this.max,\n 'aria-valuenow': this.internalValue,\n ...this.$attrs\n },\n on: this.genListeners(),\n ref: 'input'\n })\n },\n genSlider () {\n return this.$createElement('div', {\n staticClass: 'v-slider',\n 'class': {\n 'v-slider--is-active': this.isActive\n },\n directives: [{\n name: 'click-outside',\n value: this.onBlur\n }]\n }, this.genChildren())\n },\n genChildren () {\n return [\n this.genInput(),\n this.genTrackContainer(),\n this.genSteps(),\n this.genThumbContainer(\n this.internalValue,\n this.inputWidth,\n this.isFocused || this.isActive,\n this.onThumbMouseDown\n )\n ]\n },\n genSteps () {\n if (!this.step || !this.showTicks) return null\n\n const ticks = createRange(this.numTicks + 1).map(i => {\n const children = []\n\n if (this.tickLabels[i]) {\n children.push(this.$createElement('span', this.tickLabels[i]))\n }\n\n return this.$createElement('span', {\n key: i,\n staticClass: 'v-slider__ticks',\n class: {\n 'v-slider__ticks--always-show': this.ticks === 'always' ||\n this.tickLabels.length > 0\n },\n style: {\n ...this.tickStyles,\n left: `${i * (100 / this.numTicks)}%`\n }\n }, children)\n })\n\n return this.$createElement('div', {\n staticClass: 'v-slider__ticks-container'\n }, ticks)\n },\n genThumb () {\n return this.$createElement('div', this.setBackgroundColor(this.computedThumbColor, {\n staticClass: 'v-slider__thumb'\n }))\n },\n genThumbContainer (value, valueWidth, isActive, onDrag) {\n const children = [this.genThumb()]\n\n const thumbLabelContent = this.getLabel(value)\n this.showThumbLabel && children.push(this.genThumbLabel(thumbLabelContent))\n\n return this.$createElement('div', this.setTextColor(this.computedThumbColor, {\n staticClass: 'v-slider__thumb-container',\n 'class': {\n 'v-slider__thumb-container--is-active': isActive,\n 'v-slider__thumb-container--show-label': this.showThumbLabel\n },\n style: {\n transition: this.trackTransition,\n left: `${this.$vuetify.rtl ? 100 - valueWidth : valueWidth}%`\n },\n on: {\n touchstart: onDrag,\n mousedown: onDrag\n }\n }), children)\n },\n genThumbLabel (content) {\n const size = convertToUnit(this.thumbSize)\n\n return this.$createElement(VScaleTransition, {\n props: { origin: 'bottom center' }\n }, [\n this.$createElement('div', {\n staticClass: 'v-slider__thumb-label__container',\n directives: [\n {\n name: 'show',\n value: this.isFocused || this.isActive || this.thumbLabel === 'always'\n }\n ]\n }, [\n this.$createElement('div', this.setBackgroundColor(this.computedThumbColor, {\n staticClass: 'v-slider__thumb-label',\n style: {\n height: size,\n width: size\n }\n }), [content])\n ])\n ])\n },\n genTrackContainer () {\n const children = [\n this.$createElement('div', this.setBackgroundColor(this.computedTrackColor, {\n staticClass: 'v-slider__track',\n style: this.trackStyles\n })),\n this.$createElement('div', this.setBackgroundColor(this.computedColor, {\n staticClass: 'v-slider__track-fill',\n style: this.trackFillStyles\n }))\n ]\n\n return this.$createElement('div', {\n staticClass: 'v-slider__track__container',\n ref: 'track'\n }, children)\n },\n getLabel (value) {\n return this.$scopedSlots['thumb-label']\n ? this.$scopedSlots['thumb-label']({ value })\n : this.$createElement('span', value)\n },\n onBlur (e) {\n if (this.keyPressed === 2) return\n\n this.isActive = false\n this.isFocused = false\n this.$emit('blur', e)\n },\n onFocus (e) {\n this.isFocused = true\n this.$emit('focus', e)\n },\n onThumbMouseDown (e) {\n this.oldValue = this.internalValue\n this.keyPressed = 2\n const options = { passive: true }\n this.isActive = true\n this.isFocused = false\n\n if ('touches' in e) {\n this.app.addEventListener('touchmove', this.onMouseMove, options)\n addOnceEventListener(this.app, 'touchend', this.onSliderMouseUp)\n } else {\n this.app.addEventListener('mousemove', this.onMouseMove, options)\n addOnceEventListener(this.app, 'mouseup', this.onSliderMouseUp)\n }\n\n this.$emit('start', this.internalValue)\n },\n onSliderMouseUp () {\n this.keyPressed = 0\n const options = { passive: true }\n this.isActive = false\n this.isFocused = false\n this.app.removeEventListener('touchmove', this.onMouseMove, options)\n this.app.removeEventListener('mousemove', this.onMouseMove, options)\n\n this.$emit('end', this.internalValue)\n if (!deepEqual(this.oldValue, this.internalValue)) {\n this.$emit('change', this.internalValue)\n }\n },\n onMouseMove (e) {\n const { value, isInsideTrack } = this.parseMouseMove(e)\n\n if (isInsideTrack) {\n this.setInternalValue(value)\n }\n },\n onKeyDown (e) {\n if (this.disabled || this.readonly) return\n\n const value = this.parseKeyDown(e)\n\n if (value == null) return\n\n this.setInternalValue(value)\n this.$emit('change', value)\n },\n onKeyUp () {\n this.keyPressed = 0\n },\n onSliderClick (e) {\n this.isFocused = true\n this.onMouseMove(e)\n this.$emit('change', this.internalValue)\n },\n parseMouseMove (e) {\n const {\n left: offsetLeft,\n width: trackWidth\n } = this.$refs.track.getBoundingClientRect()\n const clientX = 'touches' in e ? e.touches[0].clientX : e.clientX\n // It is possible for left to be NaN, force to number\n let left = Math.min(Math.max((clientX - offsetLeft) / trackWidth, 0), 1) || 0\n\n if (this.$vuetify.rtl) left = 1 - left\n\n const isInsideTrack = clientX >= offsetLeft - 8 && clientX <= offsetLeft + trackWidth + 8\n const value = parseFloat(this.min) + left * (this.max - this.min)\n\n return { value, isInsideTrack }\n },\n parseKeyDown (e, value = this.internalValue) {\n if (this.disabled) return\n\n const { pageup, pagedown, end, home, left, right, down, up } = keyCodes\n\n if (![pageup, pagedown, end, home, left, right, down, up].includes(e.keyCode)) return\n\n e.preventDefault()\n const step = this.stepNumeric || 1\n const steps = (this.max - this.min) / step\n if ([left, right, down, up].includes(e.keyCode)) {\n this.keyPressed += 1\n\n const increase = this.$vuetify.rtl ? [left, up] : [right, up]\n const direction = increase.includes(e.keyCode) ? 1 : -1\n const multiplier = e.shiftKey ? 3 : (e.ctrlKey ? 2 : 1)\n\n value = value + (direction * step * multiplier)\n } else if (e.keyCode === home) {\n value = parseFloat(this.min)\n } else if (e.keyCode === end) {\n value = parseFloat(this.max)\n } else /* if (e.keyCode === keyCodes.pageup || e.keyCode === pagedown) */ {\n // Page up/down\n const direction = e.keyCode === pagedown ? 1 : -1\n value = value - (direction * step * (steps > 100 ? steps / 10 : 10))\n }\n\n return value\n },\n roundValue (value) {\n if (!this.stepNumeric) return value\n // Format input value using the same number\n // of decimals places as in the step prop\n const trimmedStep = this.step.toString().trim()\n const decimals = trimmedStep.indexOf('.') > -1\n ? (trimmedStep.length - trimmedStep.indexOf('.') - 1)\n : 0\n const offset = this.min % this.stepNumeric\n\n const newValue = Math.round((value - offset) / this.stepNumeric) * this.stepNumeric + offset\n\n return parseFloat(Math.max(Math.min(newValue, this.max), this.min).toFixed(decimals))\n },\n setInternalValue (value) {\n this.internalValue = value\n }\n }\n})\n"],"sourceRoot":""}