Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-bootstrap-slider

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-bootstrap-slider - npm Package Compare versions

Comparing version 2.1.6 to 2.1.7

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="2.1.7"></a>
## [2.1.7](https://github.com/pimlie/vue-bootstrap-slider/compare/v2.1.6...v2.1.7) (2019-01-15)
### Bug Fixes
* use lodash es imports ([4f5a664](https://github.com/pimlie/vue-bootstrap-slider/commit/4f5a664))
<a name="2.1.6"></a>

@@ -7,0 +17,0 @@ ## [2.1.6](https://github.com/pimlie/vue-bootstrap-slider/compare/v2.1.5...v2.1.6) (2019-01-10)

2

dist/vue-bootstrap-slider.common.js

@@ -1,2 +0,2 @@

"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var Slider=_interopDefault(require("bootstrap-slider")),camelCase=_interopDefault(require("lodash.camelcase")),snakeCase=_interopDefault(require("lodash.snakecase")),throttle=_interopDefault(require("lodash.throttle")),props={min:{type:Number,default:0},max:{type:Number,default:10},step:{type:Number,default:1},precision:{type:Number},orientation:{type:String,default:"horizontal"},value:{type:[Number,Array],default:function(){return null}},range:{type:Boolean,default:!1},selection:{type:String,default:"before"},tooltip:{type:String,default:"show"},tooltipSplit:{type:Boolean,default:!1},tooltipPosition:{type:String},handle:{type:String,default:"round"},reversed:{type:Boolean,default:!1},rtl:{type:[Boolean,String],default:"auto"},formatter:{type:Function},naturalArrowKeys:{type:Boolean,default:!1},ticks:{type:Array,default:function(){return[]}},ticksPositions:{type:Array,default:function(){return[]}},ticksLabels:{type:Array,default:function(){return[]}},ticksSnapBounds:{type:Number,default:0},ticksTooltip:{type:Boolean,default:!1},scale:{type:String,default:"linear"},focus:{type:Boolean,default:!1},labelledby:{type:[String,Array],default:function(){return null}},rangeHighlights:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},triggerSlideEvent:{type:Boolean,default:!1},triggerChangeEvent:{type:Boolean,default:!1},debounce:{type:Number,default:0}},ignoreProps=["triggerSlideEvent","triggerChangeEvent","debounce"],watchers={disabled:function(e){e?this.slider.disable():this.slider.enable()},value:function(e){this.slider.setValue(e,this.triggerSlideEvent,this.triggerChangeEvent)}};Object.keys(props).forEach(function(e){watchers[e]||ignoreProps.includes(e)||(watchers[e]=function(t,r){this.slider&&t!==r&&(this.slider.setAttribute(e,t),this.refresh())})});var bFormSlider={name:"FormSlider",props:props,data:function(){return{slider:null,lastEvent:{}}},watch:watchers,mounted:function(){var e={};for(var t in this.$props){if(this.$props.hasOwnProperty(t))e["rangeHighlights"===t?t:snakeCase(t)]=this.$props[t]}e.enabled=!this.disabled,this.slider=new Slider(this.$refs.input,e),this.bindEvents()},beforeDestroy:function(){this.slider&&(this.slider.destroy(),delete this.slider)},methods:{refresh:throttle(function(){this.slider&&(this.slider.refresh({useCurrentValue:!0}),this.bindEvents())},10),bindEvents:function(){var e=this;["slide","slide-start","slide-stop","change","slide-enabled","slide-disabled"].forEach(function(t){("change"===t||e.$listeners[t])&&e.slider.on(camelCase(t),function(r){if(e.debounce>0){var i=(new Date).getTime();if(null!==e.lastEvent[t]&&i<=e.lastEvent[t]+e.debounce)return;e.lastEvent[t]=i}e.$emit(t,r),"change"===t&&e.$emit("input",r.newValue)})})}},render:function(e){return e("div",{staticClass:"d-inline-block"},[e("input",{ref:"input",attrs:{type:"text"}})])}},VuePlugin={install:function(e){e._vue_bootstrap_slider_installed||(e._vue_bootstrap_slider_installed=!0,e.component("bFormSlider",bFormSlider))}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(VuePlugin),module.exports=VuePlugin;
"use strict";function _interopDefault(r){return r&&"object"==typeof r&&"default"in r?r.default:r}var Slider=_interopDefault(require("bootstrap-slider")),commonjsGlobal="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},freeGlobal="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,_freeGlobal=freeGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=_freeGlobal||freeSelf||Function("return this")(),_root=root,Symbol=_root.Symbol,_Symbol=Symbol;function arrayMap(r,e){for(var t=-1,o=null==r?0:r.length,n=Array(o);++t<o;)n[t]=e(r[t],t,r);return n}var _arrayMap=arrayMap,isArray=Array.isArray,isArray_1=isArray,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=_Symbol?_Symbol.toStringTag:void 0;function getRawTag(r){var e=hasOwnProperty.call(r,symToStringTag),t=r[symToStringTag];try{r[symToStringTag]=void 0;var o=!0}catch(r){}var n=nativeObjectToString.call(r);return o&&(e?r[symToStringTag]=t:delete r[symToStringTag]),n}var _getRawTag=getRawTag,objectProto$1=Object.prototype,nativeObjectToString$1=objectProto$1.toString;function objectToString(r){return nativeObjectToString$1.call(r)}var _objectToString=objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag$1=_Symbol?_Symbol.toStringTag:void 0;function baseGetTag(r){return null==r?void 0===r?undefinedTag:nullTag:symToStringTag$1&&symToStringTag$1 in Object(r)?_getRawTag(r):_objectToString(r)}var _baseGetTag=baseGetTag;function isObjectLike(r){return null!=r&&"object"==typeof r}var isObjectLike_1=isObjectLike,symbolTag="[object Symbol]";function isSymbol(r){return"symbol"==typeof r||isObjectLike_1(r)&&_baseGetTag(r)==symbolTag}var isSymbol_1=isSymbol,INFINITY=1/0,symbolProto=_Symbol?_Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(r){if("string"==typeof r)return r;if(isArray_1(r))return _arrayMap(r,baseToString)+"";if(isSymbol_1(r))return symbolToString?symbolToString.call(r):"";var e=r+"";return"0"==e&&1/r==-INFINITY?"-0":e}var _baseToString=baseToString;function toString(r){return null==r?"":_baseToString(r)}var toString_1=toString;function baseSlice(r,e,t){var o=-1,n=r.length;e<0&&(e=-e>n?0:n+e),(t=t>n?n:t)<0&&(t+=n),n=e>t?0:t-e>>>0,e>>>=0;for(var a=Array(n);++o<n;)a[o]=r[o+e];return a}var _baseSlice=baseSlice;function castSlice(r,e,t){var o=r.length;return t=void 0===t?o:t,!e&&t>=o?r:_baseSlice(r,e,t)}var _castSlice=castSlice,rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange="\\ufe0e\\ufe0f",rsZWJ="\\u200d",reHasUnicode=RegExp("["+rsZWJ+rsAstralRange+rsComboRange+rsVarRange+"]");function hasUnicode(r){return reHasUnicode.test(r)}var _hasUnicode=hasUnicode;function asciiToArray(r){return r.split("")}var _asciiToArray=asciiToArray,rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$1="\\u0300-\\u036f",reComboHalfMarksRange$1="\\ufe20-\\ufe2f",rsComboSymbolsRange$1="\\u20d0-\\u20ff",rsComboRange$1=rsComboMarksRange$1+reComboHalfMarksRange$1+rsComboSymbolsRange$1,rsVarRange$1="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange$1+"]",rsCombo="["+rsComboRange$1+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange$1+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ$1="\\u200d",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange$1+"]?",rsOptJoin="(?:"+rsZWJ$1+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");function unicodeToArray(r){return r.match(reUnicode)||[]}var _unicodeToArray=unicodeToArray;function stringToArray(r){return _hasUnicode(r)?_unicodeToArray(r):_asciiToArray(r)}var _stringToArray=stringToArray;function createCaseFirst(r){return function(e){e=toString_1(e);var t=_hasUnicode(e)?_stringToArray(e):void 0,o=t?t[0]:e.charAt(0),n=t?_castSlice(t,1).join(""):e.slice(1);return o[r]()+n}}var _createCaseFirst=createCaseFirst,upperFirst=_createCaseFirst("toUpperCase"),upperFirst_1=upperFirst;function capitalize(r){return upperFirst_1(toString_1(r).toLowerCase())}var capitalize_1=capitalize;function arrayReduce(r,e,t,o){var n=-1,a=null==r?0:r.length;for(o&&a&&(t=r[++n]);++n<a;)t=e(t,r[n],n,r);return t}var _arrayReduce=arrayReduce;function basePropertyOf(r){return function(e){return null==r?void 0:r[e]}}var _basePropertyOf=basePropertyOf,deburredLetters={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},deburrLetter=_basePropertyOf(deburredLetters),_deburrLetter=deburrLetter,reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsComboMarksRange$2="\\u0300-\\u036f",reComboHalfMarksRange$2="\\ufe20-\\ufe2f",rsComboSymbolsRange$2="\\u20d0-\\u20ff",rsComboRange$2=rsComboMarksRange$2+reComboHalfMarksRange$2+rsComboSymbolsRange$2,rsCombo$1="["+rsComboRange$2+"]",reComboMark=RegExp(rsCombo$1,"g");function deburr(r){return(r=toString_1(r))&&r.replace(reLatin,_deburrLetter).replace(reComboMark,"")}var deburr_1=deburr,reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function asciiWords(r){return r.match(reAsciiWord)||[]}var _asciiWords=asciiWords,reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function hasUnicodeWord(r){return reHasUnicodeWord.test(r)}var _hasUnicodeWord=hasUnicodeWord,rsAstralRange$2="\\ud800-\\udfff",rsComboMarksRange$3="\\u0300-\\u036f",reComboHalfMarksRange$3="\\ufe20-\\ufe2f",rsComboSymbolsRange$3="\\u20d0-\\u20ff",rsComboRange$3=rsComboMarksRange$3+reComboHalfMarksRange$3+rsComboSymbolsRange$3,rsDingbatRange="\\u2700-\\u27bf",rsLowerRange="a-z\\xdf-\\xf6\\xf8-\\xff",rsMathOpRange="\\xac\\xb1\\xd7\\xf7",rsNonCharRange="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rsPunctuationRange="\\u2000-\\u206f",rsSpaceRange=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsUpperRange="A-Z\\xc0-\\xd6\\xd8-\\xde",rsVarRange$2="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos="['’]",rsBreak="["+rsBreakRange+"]",rsCombo$2="["+rsComboRange$3+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange$2+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz$1="\\ud83c[\\udffb-\\udfff]",rsModifier$1="(?:"+rsCombo$2+"|"+rsFitz$1+")",rsNonAstral$1="[^"+rsAstralRange$2+"]",rsRegional$1="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$1="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ$2="\\u200d",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",rsOptContrLower="(?:"+rsApos+"(?:d|ll|m|re|s|t|ve))?",rsOptContrUpper="(?:"+rsApos+"(?:D|LL|M|RE|S|T|VE))?",reOptMod$1=rsModifier$1+"?",rsOptVar$1="["+rsVarRange$2+"]?",rsOptJoin$1="(?:"+rsZWJ$2+"(?:"+[rsNonAstral$1,rsRegional$1,rsSurrPair$1].join("|")+")"+rsOptVar$1+reOptMod$1+")*",rsOrdLower="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsOrdUpper="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",rsSeq$1=rsOptVar$1+reOptMod$1+rsOptJoin$1,rsEmoji="(?:"+[rsDingbat,rsRegional$1,rsSurrPair$1].join("|")+")"+rsSeq$1,reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptContrLower+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+"+rsOptContrUpper+"(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+"+rsOptContrLower,rsUpper+"+"+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join("|"),"g");function unicodeWords(r){return r.match(reUnicodeWord)||[]}var _unicodeWords=unicodeWords;function words(r,e,t){return r=toString_1(r),void 0===(e=t?void 0:e)?_hasUnicodeWord(r)?_unicodeWords(r):_asciiWords(r):r.match(e)||[]}var words_1=words,rsApos$1="['’]",reApos=RegExp(rsApos$1,"g");function createCompounder(r){return function(e){return _arrayReduce(words_1(deburr_1(e).replace(reApos,"")),r,"")}}var _createCompounder=createCompounder,camelCase=_createCompounder(function(r,e,t){return e=e.toLowerCase(),r+(t?capitalize_1(e):e)}),camelCase_1=camelCase,snakeCase=_createCompounder(function(r,e,t){return r+(t?"_":"")+e.toLowerCase()}),snakeCase_1=snakeCase;function isObject(r){var e=typeof r;return null!=r&&("object"==e||"function"==e)}var isObject_1=isObject,now=function(){return _root.Date.now()},now_1=now,NAN=NaN,reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber(r){if("number"==typeof r)return r;if(isSymbol_1(r))return NAN;if(isObject_1(r)){var e="function"==typeof r.valueOf?r.valueOf():r;r=isObject_1(e)?e+"":e}if("string"!=typeof r)return 0===r?r:+r;r=r.replace(reTrim,"");var t=reIsBinary.test(r);return t||reIsOctal.test(r)?freeParseInt(r.slice(2),t?2:8):reIsBadHex.test(r)?NAN:+r}var toNumber_1=toNumber,FUNC_ERROR_TEXT="Expected a function",nativeMax=Math.max,nativeMin=Math.min;function debounce(r,e,t){var o,n,a,s,i,u,l=0,d=!1,f=!1,c=!0;if("function"!=typeof r)throw new TypeError(FUNC_ERROR_TEXT);function g(e){var t=o,a=n;return o=n=void 0,l=e,s=r.apply(a,t)}function b(r){var t=r-u;return void 0===u||t>=e||t<0||f&&r-l>=a}function p(){var r=now_1();if(b(r))return m(r);i=setTimeout(p,function(r){var t=e-(r-u);return f?nativeMin(t,a-(r-l)):t}(r))}function m(r){return i=void 0,c&&o?g(r):(o=n=void 0,s)}function y(){var r=now_1(),t=b(r);if(o=arguments,n=this,u=r,t){if(void 0===i)return function(r){return l=r,i=setTimeout(p,e),d?g(r):s}(u);if(f)return i=setTimeout(p,e),g(u)}return void 0===i&&(i=setTimeout(p,e)),s}return e=toNumber_1(e)||0,isObject_1(t)&&(d=!!t.leading,a=(f="maxWait"in t)?nativeMax(toNumber_1(t.maxWait)||0,e):a,c="trailing"in t?!!t.trailing:c),y.cancel=function(){void 0!==i&&clearTimeout(i),l=0,o=u=n=i=void 0},y.flush=function(){return void 0===i?s:m(now_1())},y}var debounce_1=debounce,FUNC_ERROR_TEXT$1="Expected a function";function throttle(r,e,t){var o=!0,n=!0;if("function"!=typeof r)throw new TypeError(FUNC_ERROR_TEXT$1);return isObject_1(t)&&(o="leading"in t?!!t.leading:o,n="trailing"in t?!!t.trailing:n),debounce_1(r,e,{leading:o,maxWait:e,trailing:n})}var throttle_1=throttle,props={min:{type:Number,default:0},max:{type:Number,default:10},step:{type:Number,default:1},precision:{type:Number},orientation:{type:String,default:"horizontal"},value:{type:[Number,Array],default:function(){return null}},range:{type:Boolean,default:!1},selection:{type:String,default:"before"},tooltip:{type:String,default:"show"},tooltipSplit:{type:Boolean,default:!1},tooltipPosition:{type:String},handle:{type:String,default:"round"},reversed:{type:Boolean,default:!1},rtl:{type:[Boolean,String],default:"auto"},formatter:{type:Function},naturalArrowKeys:{type:Boolean,default:!1},ticks:{type:Array,default:function(){return[]}},ticksPositions:{type:Array,default:function(){return[]}},ticksLabels:{type:Array,default:function(){return[]}},ticksSnapBounds:{type:Number,default:0},ticksTooltip:{type:Boolean,default:!1},scale:{type:String,default:"linear"},focus:{type:Boolean,default:!1},labelledby:{type:[String,Array],default:function(){return null}},rangeHighlights:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},triggerSlideEvent:{type:Boolean,default:!1},triggerChangeEvent:{type:Boolean,default:!1},debounce:{type:Number,default:0}},ignoreProps=["triggerSlideEvent","triggerChangeEvent","debounce"],watchers={disabled:function(r){r?this.slider.disable():this.slider.enable()},value:function(r){this.slider.setValue(r,this.triggerSlideEvent,this.triggerChangeEvent)}};Object.keys(props).forEach(function(r){watchers[r]||ignoreProps.includes(r)||(watchers[r]=function(e,t){this.slider&&e!==t&&(this.slider.setAttribute(r,e),this.refresh())})});var bFormSlider={name:"FormSlider",props:props,data:function(){return{slider:null,lastEvent:{}}},watch:watchers,mounted:function(){var r={};for(var e in this.$props){if(this.$props.hasOwnProperty(e))r["rangeHighlights"===e?e:snakeCase_1(e)]=this.$props[e]}r.enabled=!this.disabled,this.slider=new Slider(this.$refs.input,r),this.bindEvents()},beforeDestroy:function(){this.slider&&(this.slider.destroy(),delete this.slider)},methods:{refresh:throttle_1(function(){this.slider&&(this.slider.refresh({useCurrentValue:!0}),this.bindEvents())},10),bindEvents:function(){var r=this;["slide","slide-start","slide-stop","change","slide-enabled","slide-disabled"].forEach(function(e){("change"===e||r.$listeners[e])&&r.slider.on(camelCase_1(e),function(t){if(r.debounce>0){var o=(new Date).getTime();if(null!==r.lastEvent[e]&&o<=r.lastEvent[e]+r.debounce)return;r.lastEvent[e]=o}r.$emit(e,t),"change"===e&&r.$emit("input",t.newValue)})})}},render:function(r){return r("div",{staticClass:"d-inline-block"},[r("input",{ref:"input",attrs:{type:"text"}})])}},VuePlugin={install:function(r){r._vue_bootstrap_slider_installed||(r._vue_bootstrap_slider_installed=!0,r.component("bFormSlider",bFormSlider))}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(VuePlugin),module.exports=VuePlugin;
//# sourceMappingURL=vue-bootstrap-slider.common.js.map

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("bootstrap-slider")):"function"==typeof define&&define.amd?define(["bootstrap-slider"],t):(e=e||self).vueBootstrapSlider=t(e.Slider)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=1/0,u="[object Symbol]",r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,f="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="[\\ud800-\\udfff]",a="["+f+"]",d="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",l="\\d+",c="[\\u2700-\\u27bf]",s="[a-z\\xdf-\\xf6\\xf8-\\xff]",p="[^\\ud800-\\udfff"+f+l+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",x="\\ud83c[\\udffb-\\udfff]",b="[^\\ud800-\\udfff]",y="(?:\\ud83c[\\udde6-\\uddff]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",v="[A-Z\\xc0-\\xd6\\xd8-\\xde]",h="(?:"+s+"|"+p+")",m="(?:"+v+"|"+p+")",E="(?:"+d+"|"+x+")"+"?",j="[\\ufe0e\\ufe0f]?"+E+("(?:\\u200d(?:"+[b,y,g].join("|")+")[\\ufe0e\\ufe0f]?"+E+")*"),A="(?:"+[c,y,g].join("|")+")"+j,O="(?:"+[b+d+"?",d,y,g,o].join("|")+")",S=RegExp("['’]","g"),w=RegExp(d,"g"),z=RegExp(x+"(?="+x+")|"+O+j,"g"),L=RegExp([v+"?"+s+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,v,"$"].join("|")+")",m+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,v+h,"$"].join("|")+")",v+"?"+h+"+(?:['’](?:d|ll|m|re|s|t|ve))?",v+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",l,A].join("|"),"g"),I=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),T=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,U="object"==typeof t&&t&&t.Object===Object&&t,Z="object"==typeof self&&self&&self.Object===Object&&self,C=U||Z||Function("return this")();var N,R=(N={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(e){return null==N?void 0:N[e]});function $(e){return I.test(e)}function D(e){return $(e)?function(e){return e.match(z)||[]}(e):function(e){return e.split("")}(e)}var B=Object.prototype.toString,k=C.Symbol,V=k?k.prototype:void 0,_=V?V.toString:void 0;function G(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&B.call(e)==u}(e))return _?_.call(e):"";var t=e+"";return"0"==t&&1/e==-n?"-0":t}function F(e,t,n){var u=e.length;return n=void 0===n?u:n,!t&&n>=u?e:function(e,t,n){var u=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++u<r;)i[u]=e[u+t];return i}(e,t,n)}function H(e){return null==e?"":G(e)}var M,Y=(M=function(e,t,n){return t=t.toLowerCase(),e+(n?J(H(t).toLowerCase()):t)},function(e){return function(e,t,n,u){var r=-1,i=e?e.length:0;for(u&&i&&(n=e[++r]);++r<i;)n=t(n,e[r],r,e);return n}(function(e,t,n){return e=H(e),void 0===(t=n?void 0:t)?function(e){return T.test(e)}(e)?function(e){return e.match(L)||[]}(e):function(e){return e.match(r)||[]}(e):e.match(t)||[]}(function(e){return(e=H(e))&&e.replace(i,R).replace(w,"")}(e).replace(S,"")),M,"")});var W,J=(W="toUpperCase",function(e){var t=$(e=H(e))?D(e):void 0,n=t?t[0]:e.charAt(0),u=t?F(t,1).join(""):e.slice(1);return n[W]()+u});var P=Y,K=1/0,q="[object Symbol]",Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,X=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ee="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",te="["+ee+"]",ne="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",ue="\\d+",re="[\\u2700-\\u27bf]",ie="[^\\ud800-\\udfff"+ee+ue+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",fe="(?:\\ud83c[\\udde6-\\uddff]){2}",oe="[\\ud800-\\udbff][\\udc00-\\udfff]",ae="[A-Z\\xc0-\\xd6\\xd8-\\xde]",de="(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|"+ie+")",le="(?:"+ae+"|"+ie+")",ce="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",se="[\\ufe0e\\ufe0f]?"+ce+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",fe,oe].join("|")+")[\\ufe0e\\ufe0f]?"+ce+")*"),pe="(?:"+[re,fe,oe].join("|")+")"+se,xe=RegExp("['’]","g"),be=RegExp(ne,"g"),ye=RegExp([ae+"?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[te,ae,"$"].join("|")+")",le+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[te,ae+de,"$"].join("|")+")",ae+"?"+de+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ae+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",ue,pe].join("|"),"g"),ge=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ve="object"==typeof t&&t&&t.Object===Object&&t,he="object"==typeof self&&self&&self.Object===Object&&self,me=ve||he||Function("return this")();var Ee=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"});var je=Object.prototype.toString,Ae=me.Symbol,Oe=Ae?Ae.prototype:void 0,Se=Oe?Oe.toString:void 0;function we(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&je.call(e)==q}(e))return Se?Se.call(e):"";var t=e+"";return"0"==t&&1/e==-K?"-0":t}function ze(e){return null==e?"":we(e)}var Le=function(e){return function(t){return function(e,t,n,u){var r=-1,i=e?e.length:0;for(u&&i&&(n=e[++r]);++r<i;)n=t(n,e[r],r,e);return n}(function(e,t,n){return e=ze(e),void 0===(t=n?void 0:t)?function(e){return ge.test(e)}(e)?function(e){return e.match(ye)||[]}(e):function(e){return e.match(Q)||[]}(e):e.match(t)||[]}(function(e){return(e=ze(e))&&e.replace(X,Ee).replace(be,"")}(t).replace(xe,"")),e,"")}}(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Ie="Expected a function",Te=NaN,Ue="[object Symbol]",Ze=/^\s+|\s+$/g,Ce=/^[-+]0x[0-9a-f]+$/i,Ne=/^0b[01]+$/i,Re=/^0o[0-7]+$/i,$e=parseInt,De="object"==typeof t&&t&&t.Object===Object&&t,Be="object"==typeof self&&self&&self.Object===Object&&self,ke=De||Be||Function("return this")(),Ve=Object.prototype.toString,_e=Math.max,Ge=Math.min,Fe=function(){return ke.Date.now()};function He(e,t,n){var u,r,i,f,o,a,d=0,l=!1,c=!1,s=!0;if("function"!=typeof e)throw new TypeError(Ie);function p(t){var n=u,i=r;return u=r=void 0,d=t,f=e.apply(i,n)}function x(e){var n=e-a;return void 0===a||n>=t||n<0||c&&e-d>=i}function b(){var e=Fe();if(x(e))return y(e);o=setTimeout(b,function(e){var n=t-(e-a);return c?Ge(n,i-(e-d)):n}(e))}function y(e){return o=void 0,s&&u?p(e):(u=r=void 0,f)}function g(){var e=Fe(),n=x(e);if(u=arguments,r=this,a=e,n){if(void 0===o)return function(e){return d=e,o=setTimeout(b,t),l?p(e):f}(a);if(c)return o=setTimeout(b,t),p(a)}return void 0===o&&(o=setTimeout(b,t)),f}return t=Ye(t)||0,Me(n)&&(l=!!n.leading,i=(c="maxWait"in n)?_e(Ye(n.maxWait)||0,t):i,s="trailing"in n?!!n.trailing:s),g.cancel=function(){void 0!==o&&clearTimeout(o),d=0,u=a=r=o=void 0},g.flush=function(){return void 0===o?f:y(Fe())},g}function Me(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ye(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&Ve.call(e)==Ue}(e))return Te;if(Me(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Me(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Ze,"");var n=Ne.test(e);return n||Re.test(e)?$e(e.slice(2),n?2:8):Ce.test(e)?Te:+e}var We=function(e,t,n){var u=!0,r=!0;if("function"!=typeof e)throw new TypeError(Ie);return Me(n)&&(u="leading"in n?!!n.leading:u,r="trailing"in n?!!n.trailing:r),He(e,t,{leading:u,maxWait:t,trailing:r})},Je={min:{type:Number,default:0},max:{type:Number,default:10},step:{type:Number,default:1},precision:{type:Number},orientation:{type:String,default:"horizontal"},value:{type:[Number,Array],default:function(){return null}},range:{type:Boolean,default:!1},selection:{type:String,default:"before"},tooltip:{type:String,default:"show"},tooltipSplit:{type:Boolean,default:!1},tooltipPosition:{type:String},handle:{type:String,default:"round"},reversed:{type:Boolean,default:!1},rtl:{type:[Boolean,String],default:"auto"},formatter:{type:Function},naturalArrowKeys:{type:Boolean,default:!1},ticks:{type:Array,default:function(){return[]}},ticksPositions:{type:Array,default:function(){return[]}},ticksLabels:{type:Array,default:function(){return[]}},ticksSnapBounds:{type:Number,default:0},ticksTooltip:{type:Boolean,default:!1},scale:{type:String,default:"linear"},focus:{type:Boolean,default:!1},labelledby:{type:[String,Array],default:function(){return null}},rangeHighlights:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},triggerSlideEvent:{type:Boolean,default:!1},triggerChangeEvent:{type:Boolean,default:!1},debounce:{type:Number,default:0}},Pe=["triggerSlideEvent","triggerChangeEvent","debounce"],Ke={disabled:function(e){e?this.slider.disable():this.slider.enable()},value:function(e){this.slider.setValue(e,this.triggerSlideEvent,this.triggerChangeEvent)}};Object.keys(Je).forEach(function(e){Ke[e]||Pe.includes(e)||(Ke[e]=function(t,n){this.slider&&t!==n&&(this.slider.setAttribute(e,t),this.refresh())})});var qe={name:"FormSlider",props:Je,data:function(){return{slider:null,lastEvent:{}}},watch:Ke,mounted:function(){var t={};for(var n in this.$props){if(this.$props.hasOwnProperty(n))t["rangeHighlights"===n?n:Le(n)]=this.$props[n]}t.enabled=!this.disabled,this.slider=new e(this.$refs.input,t),this.bindEvents()},beforeDestroy:function(){this.slider&&(this.slider.destroy(),delete this.slider)},methods:{refresh:We(function(){this.slider&&(this.slider.refresh({useCurrentValue:!0}),this.bindEvents())},10),bindEvents:function(){var e=this;["slide","slide-start","slide-stop","change","slide-enabled","slide-disabled"].forEach(function(t){("change"===t||e.$listeners[t])&&e.slider.on(P(t),function(n){if(e.debounce>0){var u=(new Date).getTime();if(null!==e.lastEvent[t]&&u<=e.lastEvent[t]+e.debounce)return;e.lastEvent[t]=u}e.$emit(t,n),"change"===t&&e.$emit("input",n.newValue)})})}},render:function(e){return e("div",{staticClass:"d-inline-block"},[e("input",{ref:"input",attrs:{type:"text"}})])}},Qe={install:function(e){e._vue_bootstrap_slider_installed||(e._vue_bootstrap_slider_installed=!0,e.component("bFormSlider",qe))}};return"undefined"!=typeof window&&window.Vue&&window.Vue.use(Qe),Qe});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("bootstrap-slider")):"function"==typeof define&&define.amd?define(["bootstrap-slider"],t):(e=e||self).vueBootstrapSlider=t(e.Slider)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n="object"==typeof t&&t&&t.Object===Object&&t,r="object"==typeof self&&self&&self.Object===Object&&self,u=n||r||Function("return this")(),i=u.Symbol;var f=function(e,t){for(var n=-1,r=null==e?0:e.length,u=Array(r);++n<r;)u[n]=t(e[n],n,e);return u},o=Array.isArray,a=Object.prototype,d=a.hasOwnProperty,l=a.toString,s=i?i.toStringTag:void 0;var c=function(e){var t=d.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var u=l.call(e);return r&&(t?e[s]=n:delete e[s]),u},p=Object.prototype.toString;var v=function(e){return p.call(e)},y="[object Null]",g="[object Undefined]",b=i?i.toStringTag:void 0;var h=function(e){return null==e?void 0===e?g:y:b&&b in Object(e)?c(e):v(e)};var x=function(e){return null!=e&&"object"==typeof e},m="[object Symbol]";var E=function(e){return"symbol"==typeof e||x(e)&&h(e)==m},A=1/0,S=i?i.prototype:void 0,w=S?S.toString:void 0;var j=function e(t){if("string"==typeof t)return t;if(o(t))return f(t,e)+"";if(E(t))return w?w.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n};var O=function(e){return null==e?"":j(e)};var T=function(e,t,n){var r=-1,u=e.length;t<0&&(t=-t>u?0:u+t),(n=n>u?u:n)<0&&(n+=u),u=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(u);++r<u;)i[r]=e[r+t];return i};var N=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:T(e,t,n)},C=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var L=function(e){return C.test(e)};var $=function(e){return e.split("")},z="[\\ud800-\\udfff]",B="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",U="\\ud83c[\\udffb-\\udfff]",I="[^\\ud800-\\udfff]",R="(?:\\ud83c[\\udde6-\\uddff]){2}",Z="[\\ud800-\\udbff][\\udc00-\\udfff]",_="(?:"+B+"|"+U+")"+"?",D="[\\ufe0e\\ufe0f]?"+_+("(?:\\u200d(?:"+[I,R,Z].join("|")+")[\\ufe0e\\ufe0f]?"+_+")*"),k="(?:"+[I+B+"?",B,R,Z,z].join("|")+")",V=RegExp(U+"(?="+U+")|"+k+D,"g");var H=function(e){return e.match(V)||[]};var P=function(e){return L(e)?H(e):$(e)};var F=function(e){return function(t){t=O(t);var n=L(t)?P(t):void 0,r=n?n[0]:t.charAt(0),u=n?N(n,1).join(""):t.slice(1);return r[e]()+u}}("toUpperCase");var G=function(e){return F(O(e).toLowerCase())};var M=function(e,t,n,r){var u=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++u]);++u<i;)n=t(n,e[u],u,e);return n};var W=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Y=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,J=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var K=function(e){return(e=O(e))&&e.replace(Y,W).replace(J,"")},q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Q=function(e){return e.match(q)||[]},X=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var ee=function(e){return X.test(e)},te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ne="["+te+"]",re="\\d+",ue="[\\u2700-\\u27bf]",ie="[a-z\\xdf-\\xf6\\xf8-\\xff]",fe="[^\\ud800-\\udfff"+te+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",oe="(?:\\ud83c[\\udde6-\\uddff]){2}",ae="[\\ud800-\\udbff][\\udc00-\\udfff]",de="[A-Z\\xc0-\\xd6\\xd8-\\xde]",le="(?:"+ie+"|"+fe+")",se="(?:"+de+"|"+fe+")",ce="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",pe="[\\ufe0e\\ufe0f]?"+ce+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",oe,ae].join("|")+")[\\ufe0e\\ufe0f]?"+ce+")*"),ve="(?:"+[ue,oe,ae].join("|")+")"+pe,ye=RegExp([de+"?"+ie+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ne,de,"$"].join("|")+")",se+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ne,de+le,"$"].join("|")+")",de+"?"+le+"+(?:['’](?:d|ll|m|re|s|t|ve))?",de+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,ve].join("|"),"g");var ge=function(e){return e.match(ye)||[]};var be=function(e,t,n){return e=O(e),void 0===(t=n?void 0:t)?ee(e)?ge(e):Q(e):e.match(t)||[]},he=RegExp("['’]","g");var xe=function(e){return function(t){return M(be(K(t).replace(he,"")),e,"")}},me=xe(function(e,t,n){return t=t.toLowerCase(),e+(n?G(t):t)}),Ee=xe(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var Ae=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Se=function(){return u.Date.now()},we=NaN,je=/^\s+|\s+$/g,Oe=/^[-+]0x[0-9a-f]+$/i,Te=/^0b[01]+$/i,Ne=/^0o[0-7]+$/i,Ce=parseInt;var Le=function(e){if("number"==typeof e)return e;if(E(e))return we;if(Ae(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ae(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(je,"");var n=Te.test(e);return n||Ne.test(e)?Ce(e.slice(2),n?2:8):Oe.test(e)?we:+e},$e="Expected a function",ze=Math.max,Be=Math.min;var Ue=function(e,t,n){var r,u,i,f,o,a,d=0,l=!1,s=!1,c=!0;if("function"!=typeof e)throw new TypeError($e);function p(t){var n=r,i=u;return r=u=void 0,d=t,f=e.apply(i,n)}function v(e){var n=e-a;return void 0===a||n>=t||n<0||s&&e-d>=i}function y(){var e=Se();if(v(e))return g(e);o=setTimeout(y,function(e){var n=t-(e-a);return s?Be(n,i-(e-d)):n}(e))}function g(e){return o=void 0,c&&r?p(e):(r=u=void 0,f)}function b(){var e=Se(),n=v(e);if(r=arguments,u=this,a=e,n){if(void 0===o)return function(e){return d=e,o=setTimeout(y,t),l?p(e):f}(a);if(s)return o=setTimeout(y,t),p(a)}return void 0===o&&(o=setTimeout(y,t)),f}return t=Le(t)||0,Ae(n)&&(l=!!n.leading,i=(s="maxWait"in n)?ze(Le(n.maxWait)||0,t):i,c="trailing"in n?!!n.trailing:c),b.cancel=function(){void 0!==o&&clearTimeout(o),d=0,r=a=u=o=void 0},b.flush=function(){return void 0===o?f:g(Se())},b},Ie="Expected a function";var Re=function(e,t,n){var r=!0,u=!0;if("function"!=typeof e)throw new TypeError(Ie);return Ae(n)&&(r="leading"in n?!!n.leading:r,u="trailing"in n?!!n.trailing:u),Ue(e,t,{leading:r,maxWait:t,trailing:u})},Ze={min:{type:Number,default:0},max:{type:Number,default:10},step:{type:Number,default:1},precision:{type:Number},orientation:{type:String,default:"horizontal"},value:{type:[Number,Array],default:function(){return null}},range:{type:Boolean,default:!1},selection:{type:String,default:"before"},tooltip:{type:String,default:"show"},tooltipSplit:{type:Boolean,default:!1},tooltipPosition:{type:String},handle:{type:String,default:"round"},reversed:{type:Boolean,default:!1},rtl:{type:[Boolean,String],default:"auto"},formatter:{type:Function},naturalArrowKeys:{type:Boolean,default:!1},ticks:{type:Array,default:function(){return[]}},ticksPositions:{type:Array,default:function(){return[]}},ticksLabels:{type:Array,default:function(){return[]}},ticksSnapBounds:{type:Number,default:0},ticksTooltip:{type:Boolean,default:!1},scale:{type:String,default:"linear"},focus:{type:Boolean,default:!1},labelledby:{type:[String,Array],default:function(){return null}},rangeHighlights:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},triggerSlideEvent:{type:Boolean,default:!1},triggerChangeEvent:{type:Boolean,default:!1},debounce:{type:Number,default:0}},_e=["triggerSlideEvent","triggerChangeEvent","debounce"],De={disabled:function(e){e?this.slider.disable():this.slider.enable()},value:function(e){this.slider.setValue(e,this.triggerSlideEvent,this.triggerChangeEvent)}};Object.keys(Ze).forEach(function(e){De[e]||_e.includes(e)||(De[e]=function(t,n){this.slider&&t!==n&&(this.slider.setAttribute(e,t),this.refresh())})});var ke={name:"FormSlider",props:Ze,data:function(){return{slider:null,lastEvent:{}}},watch:De,mounted:function(){var t={};for(var n in this.$props){if(this.$props.hasOwnProperty(n))t["rangeHighlights"===n?n:Ee(n)]=this.$props[n]}t.enabled=!this.disabled,this.slider=new e(this.$refs.input,t),this.bindEvents()},beforeDestroy:function(){this.slider&&(this.slider.destroy(),delete this.slider)},methods:{refresh:Re(function(){this.slider&&(this.slider.refresh({useCurrentValue:!0}),this.bindEvents())},10),bindEvents:function(){var e=this;["slide","slide-start","slide-stop","change","slide-enabled","slide-disabled"].forEach(function(t){("change"===t||e.$listeners[t])&&e.slider.on(me(t),function(n){if(e.debounce>0){var r=(new Date).getTime();if(null!==e.lastEvent[t]&&r<=e.lastEvent[t]+e.debounce)return;e.lastEvent[t]=r}e.$emit(t,n),"change"===t&&e.$emit("input",n.newValue)})})}},render:function(e){return e("div",{staticClass:"d-inline-block"},[e("input",{ref:"input",attrs:{type:"text"}})])}},Ve={install:function(e){e._vue_bootstrap_slider_installed||(e._vue_bootstrap_slider_installed=!0,e.component("bFormSlider",ke))}};return"undefined"!=typeof window&&window.Vue&&window.Vue.use(Ve),Ve});
//# sourceMappingURL=vue-bootstrap-slider.js.map

@@ -12,7 +12,7 @@ "use strict";

var _lodash = _interopRequireDefault(require("lodash.camelcase"));
var _camelCase = _interopRequireDefault(require("lodash/camelCase"));
var _lodash2 = _interopRequireDefault(require("lodash.snakecase"));
var _snakeCase = _interopRequireDefault(require("lodash/snakeCase"));
var _lodash3 = _interopRequireDefault(require("lodash.throttle"));
var _throttle = _interopRequireDefault(require("lodash/throttle"));

@@ -39,3 +39,3 @@ var _properties = _interopRequireDefault(require("./properties"));

if (this.$props.hasOwnProperty(key)) {
var propskey = key === 'rangeHighlights' ? key : (0, _lodash2.default)(key);
var propskey = key === 'rangeHighlights' ? key : (0, _snakeCase.default)(key);
props[propskey] = this.$props[key];

@@ -56,3 +56,3 @@ }

methods: {
refresh: (0, _lodash3.default)(function () {
refresh: (0, _throttle.default)(function () {
if (this.slider) {

@@ -72,3 +72,3 @@ this.slider.refresh({

if (event === 'change' || _this.$listeners[event]) {
_this.slider.on((0, _lodash.default)(event), function (value) {
_this.slider.on((0, _camelCase.default)(event), function (value) {
if (_this.debounce > 0) {

@@ -75,0 +75,0 @@ var now = new Date().getTime();

import Slider from 'bootstrap-slider'
import camelCase from 'lodash.camelcase'
import snakeCase from 'lodash.snakecase'
import throttle from 'lodash.throttle'
import camelCase from 'lodash/camelCase'
import snakeCase from 'lodash/snakeCase'
import throttle from 'lodash/throttle'
import props from './properties'

@@ -6,0 +6,0 @@ import watch from './watchers'

{
"name": "vue-bootstrap-slider",
"version": "2.1.6",
"version": "2.1.7",
"description": "Vue bindings for seiyria/bootstrap-slider",

@@ -36,5 +36,3 @@ "author": "pimlie <pimlie@hotmail.com>",

"bootstrap-slider": "^10.6.0",
"lodash.camelcase": "^4.3.0",
"lodash.snakecase": "^4.1.1",
"lodash.throttle": "^4.1.1"
"lodash": "^4.17.11"
},

@@ -41,0 +39,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc