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.0.1 to 2.1.0

es/properties.js

16

CHANGELOG.md

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

<a name="2.1.0"></a>
# [2.1.0](https://github.com/pimlie/vue-bootstrap-slider/compare/v2.0.1...v2.1.0) (2018-12-18)
### Bug Fixes
* re-set value after refresh ([acdcf4e](https://github.com/pimlie/vue-bootstrap-slider/commit/acdcf4e))
* typo ([afdc706](https://github.com/pimlie/vue-bootstrap-slider/commit/afdc706))
### Features
* dont use unnecessary mixins in component ([86f66e3](https://github.com/pimlie/vue-bootstrap-slider/commit/86f66e3))
<a name="2.0.1"></a>

@@ -7,0 +23,0 @@ ## [2.0.1](https://github.com/pimlie/vue-bootstrap-slider/compare/v2.0.0...v2.0.1) (2018-11-29)

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")),commonjsGlobal="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},INFINITY=1/0,symbolTag="[object Symbol]",reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f\\ufe20-\\ufe23",rsComboSymbolsRange="\\u20d0-\\u20f0",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="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos="['’]",rsBreak="["+rsBreakRange+"]",rsCombo="["+rsComboMarksRange+rsComboSymbolsRange+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ="\\u200d",rsLowerMisc="(?:"+rsLower+"|"+rsMisc+")",rsUpperMisc="(?:"+rsUpper+"|"+rsMisc+")",rsOptLowerContr="(?:"+rsApos+"(?:d|ll|m|re|s|t|ve))?",rsOptUpperContr="(?:"+rsApos+"(?:D|LL|M|RE|S|T|VE))?",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,reApos=RegExp(rsApos,"g"),reComboMark=RegExp(rsCombo,"g"),reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptLowerContr+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsUpperMisc+"+"+rsOptUpperContr+"(?="+[rsBreak,rsUpper+rsLowerMisc,"$"].join("|")+")",rsUpper+"?"+rsLowerMisc+"+"+rsOptLowerContr,rsUpper+"+"+rsOptUpperContr,rsDigits,rsEmoji].join("|"),"g"),reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,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","ſ":"ss"},freeGlobal="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();function arrayReduce(e,t,r,i){var s=-1,o=e?e.length:0;for(i&&o&&(r=e[++s]);++s<o;)r=t(r,e[s],s,e);return r}function asciiWords(e){return e.match(reAsciiWord)||[]}function basePropertyOf(e){return function(t){return null==e?void 0:e[t]}}var deburrLetter=basePropertyOf(deburredLetters);function hasUnicodeWord(e){return reHasUnicodeWord.test(e)}function unicodeWords(e){return e.match(reUnicodeWord)||[]}var objectProto=Object.prototype,objectToString=objectProto.toString,Symbol=root.Symbol,symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(e){if("string"==typeof e)return e;if(isSymbol(e))return symbolToString?symbolToString.call(e):"";var t=e+"";return"0"==t&&1/e==-INFINITY?"-0":t}function createCompounder(e){return function(t){return arrayReduce(words(deburr(t).replace(reApos,"")),e,"")}}function isObjectLike(e){return!!e&&"object"==typeof e}function isSymbol(e){return"symbol"==typeof e||isObjectLike(e)&&objectToString.call(e)==symbolTag}function toString(e){return null==e?"":baseToString(e)}function deburr(e){return(e=toString(e))&&e.replace(reLatin,deburrLetter).replace(reComboMark,"")}var snakeCase=createCompounder(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});function words(e,t,r){return e=toString(e),void 0===(t=r?void 0:t)?hasUnicodeWord(e)?unicodeWords(e):asciiWords(e):e.match(t)||[]}var lodash_snakecase=snakeCase,FUNC_ERROR_TEXT="Expected a function",NAN=NaN,symbolTag$1="[object Symbol]",reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt,freeGlobal$1="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,freeSelf$1="object"==typeof self&&self&&self.Object===Object&&self,root$1=freeGlobal$1||freeSelf$1||Function("return this")(),objectProto$1=Object.prototype,objectToString$1=objectProto$1.toString,nativeMax=Math.max,nativeMin=Math.min,now=function(){return root$1.Date.now()};function debounce(e,t,r){var i,s,o,n,a,u,l=0,f=!1,d=!1,c=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);function b(t){var r=i,o=s;return i=s=void 0,l=t,n=e.apply(o,r)}function p(e){var r=e-u;return void 0===u||r>=t||r<0||d&&e-l>=o}function h(){var e=now();if(p(e))return g(e);a=setTimeout(h,function(e){var r=t-(e-u);return d?nativeMin(r,o-(e-l)):r}(e))}function g(e){return a=void 0,c&&i?b(e):(i=s=void 0,n)}function m(){var e=now(),r=p(e);if(i=arguments,s=this,u=e,r){if(void 0===a)return function(e){return l=e,a=setTimeout(h,t),f?b(e):n}(u);if(d)return a=setTimeout(h,t),b(u)}return void 0===a&&(a=setTimeout(h,t)),n}return t=toNumber(t)||0,isObject(r)&&(f=!!r.leading,o=(d="maxWait"in r)?nativeMax(toNumber(r.maxWait)||0,t):o,c="trailing"in r?!!r.trailing:c),m.cancel=function(){void 0!==a&&clearTimeout(a),l=0,i=u=s=a=void 0},m.flush=function(){return void 0===a?n:g(now())},m}function throttle(e,t,r){var i=!0,s=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);return isObject(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),debounce(e,t,{leading:i,maxWait:t,trailing:s})}function isObject(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function isObjectLike$1(e){return!!e&&"object"==typeof e}function isSymbol$1(e){return"symbol"==typeof e||isObjectLike$1(e)&&objectToString$1.call(e)==symbolTag$1}function toNumber(e){if("number"==typeof e)return e;if(isSymbol$1(e))return NAN;if(isObject(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=isObject(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(reTrim,"");var r=reIsBinary.test(e);return r||reIsOctal.test(e)?freeParseInt(e.slice(2),r?2:8):reIsBadHex.test(e)?NAN:+e}var lodash_throttle=throttle,props={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: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}}},watch={watch:{min:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("min",e),this.refresh())},max:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("max",e),this.refresh())},step:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("step",e),this.refresh())},precision:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("precision",e),this.refresh())},orientation:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("orientation",e),this.refresh())},range:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("range",e),this.refresh())},selection:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("selection",e),this.refresh())},tooltip:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("tooltip",e),this.refresh())},tooltipSplit:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("tooltipSplit",e),this.refresh())},tooltipPosition:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("tooltipPosition",e),this.refresh())},handle:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("handle",e),this.refresh())},reversed:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("reversed",e),this.refresh())},rtl:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("rtl",e),this.refresh())},formatter:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("formatter",e),this.refresh())},naturalArrowKeys:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("naturalArrowKeys",e),this.refresh())},ticks:function(e,t){this.slider&&(this.slider.setAttribute("ticks",e),this.refresh())},ticksPositions:function(e,t){this.slider&&(this.slider.setAttribute("ticksPositions",e),this.refresh())},ticksLabels:function(e,t){this.slider&&(this.slider.setAttribute("ticksLabels",e),this.refresh())},ticksSnapBounds:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("ticksSnapBounds",e),this.refresh())},ticksTooltip:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("ticksTooltip",e),this.refresh())},scale:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("scale",e),this.refresh())},focus:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("focus",e),this.refresh())},labelledby:function(e,t){this.slider&&(this.slider.setAttribute("labelledby",e),this.refresh())},rangeHighlights:function(e,t){this.slider&&(this.slider.setAttribute("rangeHighlights",e),this.refresh())},disabled:function(e){e?this.slider.disable():this.slider.enable()},value:function(e){this.slider.setValue(e,this.triggerSlideEvent,this.triggerChangeEvent)}}},bFormSlider={name:"FormSlider",mixins:[props,watch],data:function(){return{slider:null,lastEvent:{}}},mounted:function(){var e={};for(var t in this.$props){if(this.$props.hasOwnProperty(t))e["rangeHighlights"===t?t:lodash_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:lodash_throttle(function(){this.slider.refresh(),this.bindEvents()},10),bindEvents:function(){var e=this;["slide","slideStart","slideStop","change","slideEnabled","slideDisabled"].forEach(function(t){("change"===t||e._events[t])&&e.slider.on(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(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var Slider=_interopDefault(require("bootstrap-slider")),commonjsGlobal="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},INFINITY=1/0,symbolTag="[object Symbol]",reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f\\ufe20-\\ufe23",rsComboSymbolsRange="\\u20d0-\\u20f0",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="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos="['’]",rsBreak="["+rsBreakRange+"]",rsCombo="["+rsComboMarksRange+rsComboSymbolsRange+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ="\\u200d",rsLowerMisc="(?:"+rsLower+"|"+rsMisc+")",rsUpperMisc="(?:"+rsUpper+"|"+rsMisc+")",rsOptLowerContr="(?:"+rsApos+"(?:d|ll|m|re|s|t|ve))?",rsOptUpperContr="(?:"+rsApos+"(?:D|LL|M|RE|S|T|VE))?",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,reApos=RegExp(rsApos,"g"),reComboMark=RegExp(rsCombo,"g"),reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptLowerContr+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsUpperMisc+"+"+rsOptUpperContr+"(?="+[rsBreak,rsUpper+rsLowerMisc,"$"].join("|")+")",rsUpper+"?"+rsLowerMisc+"+"+rsOptLowerContr,rsUpper+"+"+rsOptUpperContr,rsDigits,rsEmoji].join("|"),"g"),reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,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","ſ":"ss"},freeGlobal="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();function arrayReduce(e,t,r,i){var s=-1,o=e?e.length:0;for(i&&o&&(r=e[++s]);++s<o;)r=t(r,e[s],s,e);return r}function asciiWords(e){return e.match(reAsciiWord)||[]}function basePropertyOf(e){return function(t){return null==e?void 0:e[t]}}var deburrLetter=basePropertyOf(deburredLetters);function hasUnicodeWord(e){return reHasUnicodeWord.test(e)}function unicodeWords(e){return e.match(reUnicodeWord)||[]}var objectProto=Object.prototype,objectToString=objectProto.toString,Symbol=root.Symbol,symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(e){if("string"==typeof e)return e;if(isSymbol(e))return symbolToString?symbolToString.call(e):"";var t=e+"";return"0"==t&&1/e==-INFINITY?"-0":t}function createCompounder(e){return function(t){return arrayReduce(words(deburr(t).replace(reApos,"")),e,"")}}function isObjectLike(e){return!!e&&"object"==typeof e}function isSymbol(e){return"symbol"==typeof e||isObjectLike(e)&&objectToString.call(e)==symbolTag}function toString(e){return null==e?"":baseToString(e)}function deburr(e){return(e=toString(e))&&e.replace(reLatin,deburrLetter).replace(reComboMark,"")}var snakeCase=createCompounder(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});function words(e,t,r){return e=toString(e),void 0===(t=r?void 0:t)?hasUnicodeWord(e)?unicodeWords(e):asciiWords(e):e.match(t)||[]}var lodash_snakecase=snakeCase,FUNC_ERROR_TEXT="Expected a function",NAN=NaN,symbolTag$1="[object Symbol]",reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt,freeGlobal$1="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,freeSelf$1="object"==typeof self&&self&&self.Object===Object&&self,root$1=freeGlobal$1||freeSelf$1||Function("return this")(),objectProto$1=Object.prototype,objectToString$1=objectProto$1.toString,nativeMax=Math.max,nativeMin=Math.min,now=function(){return root$1.Date.now()};function debounce(e,t,r){var i,s,o,n,a,l,u=0,f=!1,d=!1,c=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);function b(t){var r=i,o=s;return i=s=void 0,u=t,n=e.apply(o,r)}function h(e){var r=e-l;return void 0===l||r>=t||r<0||d&&e-u>=o}function p(){var e=now();if(h(e))return g(e);a=setTimeout(p,function(e){var r=t-(e-l);return d?nativeMin(r,o-(e-u)):r}(e))}function g(e){return a=void 0,c&&i?b(e):(i=s=void 0,n)}function y(){var e=now(),r=h(e);if(i=arguments,s=this,l=e,r){if(void 0===a)return function(e){return u=e,a=setTimeout(p,t),f?b(e):n}(l);if(d)return a=setTimeout(p,t),b(l)}return void 0===a&&(a=setTimeout(p,t)),n}return t=toNumber(t)||0,isObject(r)&&(f=!!r.leading,o=(d="maxWait"in r)?nativeMax(toNumber(r.maxWait)||0,t):o,c="trailing"in r?!!r.trailing:c),y.cancel=function(){void 0!==a&&clearTimeout(a),u=0,i=l=s=a=void 0},y.flush=function(){return void 0===a?n:g(now())},y}function throttle(e,t,r){var i=!0,s=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);return isObject(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),debounce(e,t,{leading:i,maxWait:t,trailing:s})}function isObject(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function isObjectLike$1(e){return!!e&&"object"==typeof e}function isSymbol$1(e){return"symbol"==typeof e||isObjectLike$1(e)&&objectToString$1.call(e)==symbolTag$1}function toNumber(e){if("number"==typeof e)return e;if(isSymbol$1(e))return NAN;if(isObject(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=isObject(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(reTrim,"");var r=reIsBinary.test(e);return r||reIsOctal.test(e)?freeParseInt(e.slice(2),r?2:8):reIsBadHex.test(e)?NAN:+e}var lodash_throttle=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}},watch={min:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("min",e),this.refresh())},max:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("max",e),this.refresh())},step:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("step",e),this.refresh())},precision:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("precision",e),this.refresh())},orientation:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("orientation",e),this.refresh())},range:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("range",e),this.refresh())},selection:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("selection",e),this.refresh())},tooltip:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("tooltip",e),this.refresh())},tooltipSplit:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("tooltipSplit",e),this.refresh())},tooltipPosition:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("tooltipPosition",e),this.refresh())},handle:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("handle",e),this.refresh())},reversed:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("reversed",e),this.refresh())},rtl:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("rtl",e),this.refresh())},formatter:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("formatter",e),this.refresh())},naturalArrowKeys:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("naturalArrowKeys",e),this.refresh())},ticks:function(e,t){this.slider&&(this.slider.setAttribute("ticks",e),this.refresh())},ticksPositions:function(e,t){this.slider&&(this.slider.setAttribute("ticksPositions",e),this.refresh())},ticksLabels:function(e,t){this.slider&&(this.slider.setAttribute("ticksLabels",e),this.refresh())},ticksSnapBounds:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("ticksSnapBounds",e),this.refresh())},ticksTooltip:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("ticksTooltip",e),this.refresh())},scale:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("scale",e),this.refresh())},focus:function(e,t){this.slider&&e!==t&&(this.slider.setAttribute("focus",e),this.refresh())},labelledby:function(e,t){this.slider&&(this.slider.setAttribute("labelledby",e),this.refresh())},rangeHighlights:function(e,t){this.slider&&(this.slider.setAttribute("rangeHighlights",e),this.refresh())},disabled:function(e){e?this.slider.disable():this.slider.enable()},value:function(e){this.slider.setValue(e,this.triggerSlideEvent,this.triggerChangeEvent)}},bFormSlider={name:"FormSlider",props:props,data:function(){return{slider:null,lastEvent:{}}},watch:watch,mounted:function(){var e={};for(var t in this.$props){if(this.$props.hasOwnProperty(t))e["rangeHighlights"===t?t:lodash_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:lodash_throttle(function(){this.slider.refresh(),this.slider.getValue()!==this.value&&this.slider.setValue(this.value,this.triggerSlideEvent,this.triggerChangeEvent),this.bindEvents()},10),bindEvents:function(){var e=this;["slide","slideStart","slideStop","change","slideEnabled","slideDisabled"].forEach(function(t){("change"===t||e._events[t])&&e.slider.on(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;
//# sourceMappingURL=vue-bootstrap-slider.common.js.map

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

import Slider from"bootstrap-slider";import snakeCase from"lodash.snakecase";import throttle from"lodash.throttle";var props={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: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}}},watch={watch:{min:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("min",t),this.refresh())},max:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("max",t),this.refresh())},step:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("step",t),this.refresh())},precision:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("precision",t),this.refresh())},orientation:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("orientation",t),this.refresh())},range:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("range",t),this.refresh())},selection:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("selection",t),this.refresh())},tooltip:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltip",t),this.refresh())},tooltipSplit:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltipSplit",t),this.refresh())},tooltipPosition:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltipPosition",t),this.refresh())},handle:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("handle",t),this.refresh())},reversed:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("reversed",t),this.refresh())},rtl:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("rtl",t),this.refresh())},formatter:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("formatter",t),this.refresh())},naturalArrowKeys:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("naturalArrowKeys",t),this.refresh())},ticks:function(t,e){this.slider&&(this.slider.setAttribute("ticks",t),this.refresh())},ticksPositions:function(t,e){this.slider&&(this.slider.setAttribute("ticksPositions",t),this.refresh())},ticksLabels:function(t,e){this.slider&&(this.slider.setAttribute("ticksLabels",t),this.refresh())},ticksSnapBounds:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("ticksSnapBounds",t),this.refresh())},ticksTooltip:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("ticksTooltip",t),this.refresh())},scale:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("scale",t),this.refresh())},focus:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("focus",t),this.refresh())},labelledby:function(t,e){this.slider&&(this.slider.setAttribute("labelledby",t),this.refresh())},rangeHighlights:function(t,e){this.slider&&(this.slider.setAttribute("rangeHighlights",t),this.refresh())},disabled:function(t){t?this.slider.disable():this.slider.enable()},value:function(t){this.slider.setValue(t,this.triggerSlideEvent,this.triggerChangeEvent)}}},bFormSlider={name:"FormSlider",mixins:[props,watch],data:function(){return{slider:null,lastEvent:{}}},mounted:function(){var t={};for(var e in this.$props){if(this.$props.hasOwnProperty(e))t["rangeHighlights"===e?e:snakeCase(e)]=this.$props[e]}t.enabled=!this.disabled,this.slider=new Slider(this.$refs.input,t),this.bindEvents()},beforeDestroy:function(){this.slider&&(this.slider.destroy(),delete this.slider)},methods:{refresh:throttle(function(){this.slider.refresh(),this.bindEvents()},10),bindEvents:function(){var t=this;["slide","slideStart","slideStop","change","slideEnabled","slideDisabled"].forEach(function(e){("change"===e||t._events[e])&&t.slider.on(e,function(i){if(t.debounce>0){var s=(new Date).getTime();if(null!==t.lastEvent[e]&&s<=t.lastEvent[e]+t.debounce)return;t.lastEvent[e]=s}t.$emit(e,i),"change"===e&&t.$emit("input",i.newValue)})})}},render:function(t){return t("div",{staticClass:"d-inline-block"},[t("input",{ref:"input",attrs:{type:"text"}})])}},VuePlugin={install:function(t){t._vue_bootstrap_slider_installed||(t._vue_bootstrap_slider_installed=!0,t.component("bFormSlider",bFormSlider))}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(VuePlugin);export default VuePlugin;
import Slider from"bootstrap-slider";import snakeCase from"lodash.snakecase";import throttle from"lodash.throttle";var 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}},watch={min:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("min",t),this.refresh())},max:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("max",t),this.refresh())},step:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("step",t),this.refresh())},precision:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("precision",t),this.refresh())},orientation:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("orientation",t),this.refresh())},range:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("range",t),this.refresh())},selection:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("selection",t),this.refresh())},tooltip:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltip",t),this.refresh())},tooltipSplit:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltipSplit",t),this.refresh())},tooltipPosition:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltipPosition",t),this.refresh())},handle:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("handle",t),this.refresh())},reversed:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("reversed",t),this.refresh())},rtl:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("rtl",t),this.refresh())},formatter:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("formatter",t),this.refresh())},naturalArrowKeys:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("naturalArrowKeys",t),this.refresh())},ticks:function(t,e){this.slider&&(this.slider.setAttribute("ticks",t),this.refresh())},ticksPositions:function(t,e){this.slider&&(this.slider.setAttribute("ticksPositions",t),this.refresh())},ticksLabels:function(t,e){this.slider&&(this.slider.setAttribute("ticksLabels",t),this.refresh())},ticksSnapBounds:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("ticksSnapBounds",t),this.refresh())},ticksTooltip:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("ticksTooltip",t),this.refresh())},scale:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("scale",t),this.refresh())},focus:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("focus",t),this.refresh())},labelledby:function(t,e){this.slider&&(this.slider.setAttribute("labelledby",t),this.refresh())},rangeHighlights:function(t,e){this.slider&&(this.slider.setAttribute("rangeHighlights",t),this.refresh())},disabled:function(t){t?this.slider.disable():this.slider.enable()},value:function(t){this.slider.setValue(t,this.triggerSlideEvent,this.triggerChangeEvent)}},bFormSlider={name:"FormSlider",props:props,data:function(){return{slider:null,lastEvent:{}}},watch:watch,mounted:function(){var t={};for(var e in this.$props){if(this.$props.hasOwnProperty(e))t["rangeHighlights"===e?e:snakeCase(e)]=this.$props[e]}t.enabled=!this.disabled,this.slider=new Slider(this.$refs.input,t),this.bindEvents()},beforeDestroy:function(){this.slider&&(this.slider.destroy(),delete this.slider)},methods:{refresh:throttle(function(){this.slider.refresh(),this.slider.getValue()!==this.value&&this.slider.setValue(this.value,this.triggerSlideEvent,this.triggerChangeEvent),this.bindEvents()},10),bindEvents:function(){var t=this;["slide","slideStart","slideStop","change","slideEnabled","slideDisabled"].forEach(function(e){("change"===e||t._events[e])&&t.slider.on(e,function(i){if(t.debounce>0){var s=(new Date).getTime();if(null!==t.lastEvent[e]&&s<=t.lastEvent[e]+t.debounce)return;t.lastEvent[e]=s}t.$emit(e,i),"change"===e&&t.$emit("input",i.newValue)})})}},render:function(t){return t("div",{staticClass:"d-inline-block"},[t("input",{ref:"input",attrs:{type:"text"}})])}},VuePlugin={install:function(t){t._vue_bootstrap_slider_installed||(t._vue_bootstrap_slider_installed=!0,t.component("bFormSlider",bFormSlider))}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(VuePlugin);export default VuePlugin;
//# sourceMappingURL=vue-bootstrap-slider.esm.js.map

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

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("bootstrap-slider")):"function"==typeof define&&define.amd?define(["bootstrap-slider"],e):t.vueBootstrapSlider=e(t.Slider)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=1/0,r="[object Symbol]",n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,u="\\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="["+u+"]",f="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",l="\\d+",d="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",c="[^\\ud800-\\udfff"+u+l+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",b="[A-Z\\xc0-\\xd6\\xd8-\\xde]",y="(?:"+a+"|"+c+")",g="(?:"+b+"|"+c+")",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",x="[\\ufe0e\\ufe0f]?"+v+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",h,p].join("|")+")[\\ufe0e\\ufe0f]?"+v+")*"),m="(?:"+[d,h,p].join("|")+")"+x,A=RegExp("['’]","g"),S=RegExp(f,"g"),E=RegExp([b+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[o,b,"$"].join("|")+")",g+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[o,b+y,"$"].join("|")+")",b+"?"+y+"+(?:['’](?:d|ll|m|re|s|t|ve))?",b+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",l,m].join("|"),"g"),j=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,w="object"==typeof e&&e&&e.Object===Object&&e,O="object"==typeof self&&self&&self.Object===Object&&self,k=w||O||Function("return this")();var T,N=(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"},function(t){return null==T?void 0:T[t]});var B,L=Object.prototype.toString,$=k.Symbol,z=$?$.prototype:void 0,I=z?z.toString:void 0;function U(t){if("string"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&L.call(t)==r}(t))return I?I.call(t):"";var e=t+"";return"0"==e&&1/t==-i?"-0":e}function Z(t){return null==t?"":U(t)}var _=(B=function(t,e,i){return t+(i?"_":"")+e.toLowerCase()},function(t){return function(t,e,i,r){var n=-1,s=t?t.length:0;for(r&&s&&(i=t[++n]);++n<s;)i=e(i,t[n],n,t);return i}(function(t,e,i){return t=Z(t),void 0===(e=i?void 0:e)?function(t){return j.test(t)}(t)?function(t){return t.match(E)||[]}(t):function(t){return t.match(n)||[]}(t):t.match(e)||[]}(function(t){return(t=Z(t))&&t.replace(s,N).replace(S,"")}(t).replace(A,"")),B,"")}),C="Expected a function",D=NaN,P="[object Symbol]",R=/^\s+|\s+$/g,H=/^[-+]0x[0-9a-f]+$/i,V=/^0b[01]+$/i,F=/^0o[0-7]+$/i,G=parseInt,K="object"==typeof e&&e&&e.Object===Object&&e,M="object"==typeof self&&self&&self.Object===Object&&self,W=K||M||Function("return this")(),Y=Object.prototype.toString,J=Math.max,q=Math.min,Q=function(){return W.Date.now()};function X(t,e,i){var r,n,s,u,o,f,l=0,d=!1,a=!1,c=!0;if("function"!=typeof t)throw new TypeError(C);function h(e){var i=r,s=n;return r=n=void 0,l=e,u=t.apply(s,i)}function p(t){var i=t-f;return void 0===f||i>=e||i<0||a&&t-l>=s}function b(){var t=Q();if(p(t))return y(t);o=setTimeout(b,function(t){var i=e-(t-f);return a?q(i,s-(t-l)):i}(t))}function y(t){return o=void 0,c&&r?h(t):(r=n=void 0,u)}function g(){var t=Q(),i=p(t);if(r=arguments,n=this,f=t,i){if(void 0===o)return function(t){return l=t,o=setTimeout(b,e),d?h(t):u}(f);if(a)return o=setTimeout(b,e),h(f)}return void 0===o&&(o=setTimeout(b,e)),u}return e=et(e)||0,tt(i)&&(d=!!i.leading,s=(a="maxWait"in i)?J(et(i.maxWait)||0,e):s,c="trailing"in i?!!i.trailing:c),g.cancel=function(){void 0!==o&&clearTimeout(o),l=0,r=f=n=o=void 0},g.flush=function(){return void 0===o?u:y(Q())},g}function tt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function et(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Y.call(t)==P}(t))return D;if(tt(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=tt(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(R,"");var i=V.test(t);return i||F.test(t)?G(t.slice(2),i?2:8):H.test(t)?D:+t}var it={name:"FormSlider",mixins:[{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: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}}},{watch:{min:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("min",t),this.refresh())},max:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("max",t),this.refresh())},step:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("step",t),this.refresh())},precision:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("precision",t),this.refresh())},orientation:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("orientation",t),this.refresh())},range:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("range",t),this.refresh())},selection:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("selection",t),this.refresh())},tooltip:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltip",t),this.refresh())},tooltipSplit:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltipSplit",t),this.refresh())},tooltipPosition:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltipPosition",t),this.refresh())},handle:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("handle",t),this.refresh())},reversed:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("reversed",t),this.refresh())},rtl:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("rtl",t),this.refresh())},formatter:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("formatter",t),this.refresh())},naturalArrowKeys:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("naturalArrowKeys",t),this.refresh())},ticks:function(t,e){this.slider&&(this.slider.setAttribute("ticks",t),this.refresh())},ticksPositions:function(t,e){this.slider&&(this.slider.setAttribute("ticksPositions",t),this.refresh())},ticksLabels:function(t,e){this.slider&&(this.slider.setAttribute("ticksLabels",t),this.refresh())},ticksSnapBounds:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("ticksSnapBounds",t),this.refresh())},ticksTooltip:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("ticksTooltip",t),this.refresh())},scale:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("scale",t),this.refresh())},focus:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("focus",t),this.refresh())},labelledby:function(t,e){this.slider&&(this.slider.setAttribute("labelledby",t),this.refresh())},rangeHighlights:function(t,e){this.slider&&(this.slider.setAttribute("rangeHighlights",t),this.refresh())},disabled:function(t){t?this.slider.disable():this.slider.enable()},value:function(t){this.slider.setValue(t,this.triggerSlideEvent,this.triggerChangeEvent)}}}],data:function(){return{slider:null,lastEvent:{}}},mounted:function(){var e={};for(var i in this.$props){if(this.$props.hasOwnProperty(i))e["rangeHighlights"===i?i:_(i)]=this.$props[i]}e.enabled=!this.disabled,this.slider=new t(this.$refs.input,e),this.bindEvents()},beforeDestroy:function(){this.slider&&(this.slider.destroy(),delete this.slider)},methods:{refresh:function(t,e,i){var r=!0,n=!0;if("function"!=typeof t)throw new TypeError(C);return tt(i)&&(r="leading"in i?!!i.leading:r,n="trailing"in i?!!i.trailing:n),X(t,e,{leading:r,maxWait:e,trailing:n})}(function(){this.slider.refresh(),this.bindEvents()},10),bindEvents:function(){var t=this;["slide","slideStart","slideStop","change","slideEnabled","slideDisabled"].forEach(function(e){("change"===e||t._events[e])&&t.slider.on(e,function(i){if(t.debounce>0){var r=(new Date).getTime();if(null!==t.lastEvent[e]&&r<=t.lastEvent[e]+t.debounce)return;t.lastEvent[e]=r}t.$emit(e,i),"change"===e&&t.$emit("input",i.newValue)})})}},render:function(t){return t("div",{staticClass:"d-inline-block"},[t("input",{ref:"input",attrs:{type:"text"}})])}},rt={install:function(t){t._vue_bootstrap_slider_installed||(t._vue_bootstrap_slider_installed=!0,t.component("bFormSlider",it))}};return"undefined"!=typeof window&&window.Vue&&window.Vue.use(rt),rt});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("bootstrap-slider")):"function"==typeof define&&define.amd?define(["bootstrap-slider"],e):t.vueBootstrapSlider=e(t.Slider)}("undefined"!=typeof self?self:this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=1/0,r="[object Symbol]",n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,u="\\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="["+u+"]",f="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",l="\\d+",d="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",c="[^\\ud800-\\udfff"+u+l+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",b="[A-Z\\xc0-\\xd6\\xd8-\\xde]",y="(?:"+a+"|"+c+")",g="(?:"+b+"|"+c+")",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",x="[\\ufe0e\\ufe0f]?"+v+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",h,p].join("|")+")[\\ufe0e\\ufe0f]?"+v+")*"),A="(?:"+[d,h,p].join("|")+")"+x,m=RegExp("['’]","g"),S=RegExp(f,"g"),E=RegExp([b+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[o,b,"$"].join("|")+")",g+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[o,b+y,"$"].join("|")+")",b+"?"+y+"+(?:['’](?:d|ll|m|re|s|t|ve))?",b+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",l,A].join("|"),"g"),j=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,w="object"==typeof e&&e&&e.Object===Object&&e,O="object"==typeof self&&self&&self.Object===Object&&self,k=w||O||Function("return this")();var T,B=(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"},function(t){return null==T?void 0:T[t]});var N,L=Object.prototype.toString,$=k.Symbol,z=$?$.prototype:void 0,I=z?z.toString:void 0;function C(t){if("string"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&L.call(t)==r}(t))return I?I.call(t):"";var e=t+"";return"0"==e&&1/t==-i?"-0":e}function U(t){return null==t?"":C(t)}var Z=(N=function(t,e,i){return t+(i?"_":"")+e.toLowerCase()},function(t){return function(t,e,i,r){var n=-1,s=t?t.length:0;for(r&&s&&(i=t[++n]);++n<s;)i=e(i,t[n],n,t);return i}(function(t,e,i){return t=U(t),void 0===(e=i?void 0:e)?function(t){return j.test(t)}(t)?function(t){return t.match(E)||[]}(t):function(t){return t.match(n)||[]}(t):t.match(e)||[]}(function(t){return(t=U(t))&&t.replace(s,B).replace(S,"")}(t).replace(m,"")),N,"")}),_="Expected a function",D=NaN,P="[object Symbol]",R=/^\s+|\s+$/g,V=/^[-+]0x[0-9a-f]+$/i,H=/^0b[01]+$/i,F=/^0o[0-7]+$/i,G=parseInt,K="object"==typeof e&&e&&e.Object===Object&&e,M="object"==typeof self&&self&&self.Object===Object&&self,W=K||M||Function("return this")(),Y=Object.prototype.toString,J=Math.max,q=Math.min,Q=function(){return W.Date.now()};function X(t,e,i){var r,n,s,u,o,f,l=0,d=!1,a=!1,c=!0;if("function"!=typeof t)throw new TypeError(_);function h(e){var i=r,s=n;return r=n=void 0,l=e,u=t.apply(s,i)}function p(t){var i=t-f;return void 0===f||i>=e||i<0||a&&t-l>=s}function b(){var t=Q();if(p(t))return y(t);o=setTimeout(b,function(t){var i=e-(t-f);return a?q(i,s-(t-l)):i}(t))}function y(t){return o=void 0,c&&r?h(t):(r=n=void 0,u)}function g(){var t=Q(),i=p(t);if(r=arguments,n=this,f=t,i){if(void 0===o)return function(t){return l=t,o=setTimeout(b,e),d?h(t):u}(f);if(a)return o=setTimeout(b,e),h(f)}return void 0===o&&(o=setTimeout(b,e)),u}return e=et(e)||0,tt(i)&&(d=!!i.leading,s=(a="maxWait"in i)?J(et(i.maxWait)||0,e):s,c="trailing"in i?!!i.trailing:c),g.cancel=function(){void 0!==o&&clearTimeout(o),l=0,r=f=n=o=void 0},g.flush=function(){return void 0===o?u:y(Q())},g}function tt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function et(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Y.call(t)==P}(t))return D;if(tt(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=tt(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(R,"");var i=H.test(t);return i||F.test(t)?G(t.slice(2),i?2:8):V.test(t)?D:+t}var it={name:"FormSlider",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}},data:function(){return{slider:null,lastEvent:{}}},watch:{min:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("min",t),this.refresh())},max:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("max",t),this.refresh())},step:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("step",t),this.refresh())},precision:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("precision",t),this.refresh())},orientation:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("orientation",t),this.refresh())},range:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("range",t),this.refresh())},selection:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("selection",t),this.refresh())},tooltip:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltip",t),this.refresh())},tooltipSplit:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltipSplit",t),this.refresh())},tooltipPosition:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("tooltipPosition",t),this.refresh())},handle:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("handle",t),this.refresh())},reversed:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("reversed",t),this.refresh())},rtl:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("rtl",t),this.refresh())},formatter:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("formatter",t),this.refresh())},naturalArrowKeys:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("naturalArrowKeys",t),this.refresh())},ticks:function(t,e){this.slider&&(this.slider.setAttribute("ticks",t),this.refresh())},ticksPositions:function(t,e){this.slider&&(this.slider.setAttribute("ticksPositions",t),this.refresh())},ticksLabels:function(t,e){this.slider&&(this.slider.setAttribute("ticksLabels",t),this.refresh())},ticksSnapBounds:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("ticksSnapBounds",t),this.refresh())},ticksTooltip:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("ticksTooltip",t),this.refresh())},scale:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("scale",t),this.refresh())},focus:function(t,e){this.slider&&t!==e&&(this.slider.setAttribute("focus",t),this.refresh())},labelledby:function(t,e){this.slider&&(this.slider.setAttribute("labelledby",t),this.refresh())},rangeHighlights:function(t,e){this.slider&&(this.slider.setAttribute("rangeHighlights",t),this.refresh())},disabled:function(t){t?this.slider.disable():this.slider.enable()},value:function(t){this.slider.setValue(t,this.triggerSlideEvent,this.triggerChangeEvent)}},mounted:function(){var e={};for(var i in this.$props){if(this.$props.hasOwnProperty(i))e["rangeHighlights"===i?i:Z(i)]=this.$props[i]}e.enabled=!this.disabled,this.slider=new t(this.$refs.input,e),this.bindEvents()},beforeDestroy:function(){this.slider&&(this.slider.destroy(),delete this.slider)},methods:{refresh:function(t,e,i){var r=!0,n=!0;if("function"!=typeof t)throw new TypeError(_);return tt(i)&&(r="leading"in i?!!i.leading:r,n="trailing"in i?!!i.trailing:n),X(t,e,{leading:r,maxWait:e,trailing:n})}(function(){this.slider.refresh(),this.slider.getValue()!==this.value&&this.slider.setValue(this.value,this.triggerSlideEvent,this.triggerChangeEvent),this.bindEvents()},10),bindEvents:function(){var t=this;["slide","slideStart","slideStop","change","slideEnabled","slideDisabled"].forEach(function(e){("change"===e||t._events[e])&&t.slider.on(e,function(i){if(t.debounce>0){var r=(new Date).getTime();if(null!==t.lastEvent[e]&&r<=t.lastEvent[e]+t.debounce)return;t.lastEvent[e]=r}t.$emit(e,i),"change"===e&&t.$emit("input",i.newValue)})})}},render:function(t){return t("div",{staticClass:"d-inline-block"},[t("input",{ref:"input",attrs:{type:"text"}})])}},rt={install:function(t){t._vue_bootstrap_slider_installed||(t._vue_bootstrap_slider_installed=!0,t.component("bFormSlider",it))}};return"undefined"!=typeof window&&window.Vue&&window.Vue.use(rt),rt});
//# sourceMappingURL=vue-bootstrap-slider.js.map

@@ -16,8 +16,10 @@ "use strict";

var _mixins = require("./mixins");
var _properties = _interopRequireDefault(require("./properties"));
var _watchers = _interopRequireDefault(require("./watchers"));
// @vue/component
var _default = {
name: 'FormSlider',
mixins: [_mixins.props, _mixins.watch],
props: _properties.default,
data: function data() {

@@ -29,2 +31,3 @@ return {

},
watch: _watchers.default,
mounted: function mounted() {

@@ -53,2 +56,8 @@ var props = {};

this.slider.refresh();
if (this.slider.getValue() !== this.value) {
// a refresh copies options but not state, so set value again
this.slider.setValue(this.value, this.triggerSlideEvent, this.triggerChangeEvent);
}
this.bindEvents();

@@ -55,0 +64,0 @@ }, 10),

"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {

@@ -7,292 +9,16 @@ value: true

exports.default = exports.watch = exports.props = void 0;
var _properties = _interopRequireDefault(require("./properties"));
var _watchers = _interopRequireDefault(require("./watchers"));
var props = {
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 _default() {
return null;
}
},
range: {
type: Boolean,
default: false
},
selection: {
type: String,
default: 'before'
},
tooltip: {
type: String,
default: 'show'
},
tooltipSplit: {
type: Boolean,
default: false
},
tooltipPosition: {
type: String
},
handle: {
type: String,
default: 'round'
},
reversed: {
type: Boolean,
default: false
},
rtl: {
type: String,
default: 'auto'
},
formatter: {
type: Function
},
naturalArrowKeys: {
type: Boolean,
default: false
},
ticks: {
type: Array,
default: function _default() {
return [];
}
},
ticksPositions: {
type: Array,
default: function _default() {
return [];
}
},
ticksLabels: {
type: Array,
default: function _default() {
return [];
}
},
ticksSnapBounds: {
type: Number,
default: 0
},
ticksTooltip: {
type: Boolean,
default: false
},
scale: {
type: String,
default: 'linear'
},
focus: {
type: Boolean,
default: false
},
labelledby: {
type: [String, Array],
default: function _default() {
return null;
}
},
rangeHighlights: {
type: Array,
default: function _default() {
return [];
}
},
disabled: {
type: Boolean,
default: false
},
triggerSlideEvent: {
type: Boolean,
default: false
},
triggerChangeEvent: {
type: Boolean,
default: false
},
debounce: {
type: Number,
default: 0
}
}
props: _properties.default
};
exports.props = props;
var watch = {
watch: {
min: function min(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('min', value);
this.refresh();
}
},
max: function max(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('max', value);
this.refresh();
}
},
step: function step(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('step', value);
this.refresh();
}
},
precision: function precision(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('precision', value);
this.refresh();
}
},
orientation: function orientation(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('orientation', value);
this.refresh();
}
},
range: function range(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('range', value);
this.refresh();
}
},
selection: function selection(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('selection', value);
this.refresh();
}
},
tooltip: function tooltip(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('tooltip', value);
this.refresh();
}
},
tooltipSplit: function tooltipSplit(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('tooltipSplit', value);
this.refresh();
}
},
tooltipPosition: function tooltipPosition(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('tooltipPosition', value);
this.refresh();
}
},
handle: function handle(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('handle', value);
this.refresh();
}
},
reversed: function reversed(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('reversed', value);
this.refresh();
}
},
rtl: function rtl(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('rtl', value);
this.refresh();
}
},
formatter: function formatter(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('formatter', value);
this.refresh();
}
},
naturalArrowKeys: function naturalArrowKeys(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('naturalArrowKeys', value);
this.refresh();
}
},
ticks: function ticks(value, oldValue) {
if (this.slider) {
this.slider.setAttribute('ticks', value);
this.refresh();
}
},
ticksPositions: function ticksPositions(value, oldValue) {
if (this.slider) {
this.slider.setAttribute('ticksPositions', value);
this.refresh();
}
},
ticksLabels: function ticksLabels(value, oldValue) {
if (this.slider) {
this.slider.setAttribute('ticksLabels', value);
this.refresh();
}
},
ticksSnapBounds: function ticksSnapBounds(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('ticksSnapBounds', value);
this.refresh();
}
},
ticksTooltip: function ticksTooltip(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('ticksTooltip', value);
this.refresh();
}
},
scale: function scale(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('scale', value);
this.refresh();
}
},
focus: function focus(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('focus', value);
this.refresh();
}
},
labelledby: function labelledby(value, oldValue) {
if (this.slider) {
this.slider.setAttribute('labelledby', value);
this.refresh();
}
},
rangeHighlights: function rangeHighlights(value, oldValue) {
if (this.slider) {
this.slider.setAttribute('rangeHighlights', value);
this.refresh();
}
},
disabled: function disabled(value) {
if (value) {
this.slider.disable();
} else {
this.slider.enable();
}
},
value: function value(_value) {
this.slider.setValue(_value, this.triggerSlideEvent, this.triggerChangeEvent);
}
}
watch: _watchers.default
};
exports.watch = watch;
var _default2 = props;
exports.default = _default2;
var _default = props;
exports.default = _default;
import Slider from 'bootstrap-slider'
import snakeCase from 'lodash.snakecase'
import throttle from 'lodash.throttle'
import { props, watch } from './mixins'
import props from './properties'
import watch from './watchers'

@@ -9,6 +10,3 @@ // @vue/component

name: 'FormSlider',
mixins: [
props,
watch
],
props,
data() {

@@ -20,2 +18,3 @@ return {

},
watch,
mounted() {

@@ -43,2 +42,6 @@ const props = {}

this.slider.refresh()
if (this.slider.getValue() !== this.value) {
// a refresh copies options but not state, so set value again
this.slider.setValue(this.value, this.triggerSlideEvent, this.triggerChangeEvent)
}
this.bindEvents()

@@ -45,0 +48,0 @@ }, 10),

@@ -0,278 +1,12 @@

import properties from './properties'
import watchers from './watchers'
export const props = {
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: () => null
},
range: {
type: Boolean,
default: false
},
selection: {
type: String,
default: 'before'
},
tooltip: {
type: String,
default: 'show'
},
tooltipSplit: {
type: Boolean,
default: false
},
tooltipPosition: {
type: String
},
handle: {
type: String,
default: 'round'
},
reversed: {
type: Boolean,
default: false
},
rtl: {
type: String,
default: 'auto'
},
formatter: {
type: Function
},
naturalArrowKeys: {
type: Boolean,
default: false
},
ticks: {
type: Array,
default: () => []
},
ticksPositions: {
type: Array,
default: () => []
},
ticksLabels: {
type: Array,
default: () => []
},
ticksSnapBounds: {
type: Number,
default: 0
},
ticksTooltip: {
type: Boolean,
default: false
},
scale: {
type: String,
default: 'linear'
},
focus: {
type: Boolean,
default: false
},
labelledby: {
type: [String, Array],
default: () => null
},
rangeHighlights: {
type: Array,
default: () => []
},
disabled: {
type: Boolean,
default: false
},
triggerSlideEvent: {
type: Boolean,
default: false
},
triggerChangeEvent: {
type: Boolean,
default: false
},
debounce: {
type: Number,
default: 0
}
}
props: properties
}
export const watch = {
watch: {
min(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('min', value)
this.refresh()
}
},
max(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('max', value)
this.refresh()
}
},
step(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('step', value)
this.refresh()
}
},
precision(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('precision', value)
this.refresh()
}
},
orientation(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('orientation', value)
this.refresh()
}
},
range(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('range', value)
this.refresh()
}
},
selection(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('selection', value)
this.refresh()
}
},
tooltip(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('tooltip', value)
this.refresh()
}
},
tooltipSplit(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('tooltipSplit', value)
this.refresh()
}
},
tooltipPosition(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('tooltipPosition', value)
this.refresh()
}
},
handle(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('handle', value)
this.refresh()
}
},
reversed(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('reversed', value)
this.refresh()
}
},
rtl(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('rtl', value)
this.refresh()
}
},
formatter(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('formatter', value)
this.refresh()
}
},
naturalArrowKeys(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('naturalArrowKeys', value)
this.refresh()
}
},
ticks(value, oldValue) {
if (this.slider) {
this.slider.setAttribute('ticks', value)
this.refresh()
}
},
ticksPositions(value, oldValue) {
if (this.slider) {
this.slider.setAttribute('ticksPositions', value)
this.refresh()
}
},
ticksLabels(value, oldValue) {
if (this.slider) {
this.slider.setAttribute('ticksLabels', value)
this.refresh()
}
},
ticksSnapBounds(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('ticksSnapBounds', value)
this.refresh()
}
},
ticksTooltip(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('ticksTooltip', value)
this.refresh()
}
},
scale(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('scale', value)
this.refresh()
}
},
focus(value, oldValue) {
if (this.slider && value !== oldValue) {
this.slider.setAttribute('focus', value)
this.refresh()
}
},
labelledby(value, oldValue) {
if (this.slider) {
this.slider.setAttribute('labelledby', value)
this.refresh()
}
},
rangeHighlights(value, oldValue) {
if (this.slider) {
this.slider.setAttribute('rangeHighlights', value)
this.refresh()
}
},
disabled(value) {
if (value) {
this.slider.disable()
} else {
this.slider.enable()
}
},
value(value) {
this.slider.setValue(value, this.triggerSlideEvent, this.triggerChangeEvent)
}
}
watch: watchers
}
export default props
{
"name": "vue-bootstrap-slider",
"version": "2.0.1",
"version": "2.1.0",
"description": "Vue bindings for seiyria/bootstrap-slider",

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

"dependencies": {
"bootstrap-slider": "^10.3.1",
"bootstrap-slider": "^10.4.2",
"lodash.snakecase": "^4.1.1",

@@ -41,6 +41,6 @@ "lodash.throttle": "^4.1.1"

"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.6",
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.2",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@nuxtjs/eslint-config": "^0.0.1",

@@ -52,16 +52,16 @@ "babel-core": "^7.0.0-bridge.0",

"bootstrap": "^4.1.3",
"eslint": "^5.9.0",
"eslint": "^5.10.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^22.1.0",
"eslint-plugin-jest": "^22.1.2",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^4.7.1",
"eslint-plugin-vue": "^5.0.0",
"jest": "^23.6.0",
"lodash.camelcase": "^4.3.0",
"rollup": "^0.67.3",
"rollup-plugin-buble": "^0.19.4",
"rollup": "^0.68.0",
"rollup-plugin-buble": "^0.19.6",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-terser": "^3.0.0",

@@ -72,6 +72,6 @@ "rollup-plugin-vue": "^4.3.2",

"uglify-es": "^3.3.10",
"vue": "^2.5.17",
"vue-jest": "^3.0.1",
"vue-template-compiler": "^2.5.17"
"vue": "^2.5.21",
"vue-jest": "^3.0.2",
"vue-template-compiler": "^2.5.21"
}
}

@@ -7,2 +7,4 @@ # Vue.js Bootstrap Slider

Click [here](https://pimlie.github.io/vue-bootstrap-slider/example.html) for a live example
## How to install

@@ -48,8 +50,6 @@ Install from npm with:

> See also [example.html](https://raw.githubusercontent.com/pimlie/vue-bootstrap-slider/master/example.html)
```html
<template>
<div>
<b-form-slider :value="value"/>
<b-form-slider :value="value"></b-form-slider>
<p>Slider has value {{ value }}</p>

@@ -56,0 +56,0 @@ </div>

Sorry, the diff of this file is not supported yet

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