vue-multiselect
Advanced tools
Comparing version 2.0.0-beta.10 to 2.0.0-beta.11
@@ -9,2 +9,42 @@ import deepClone from './utils' | ||
function filterOptions (options, search, label) { | ||
return label | ||
? options.filter(option => includes(option[label], search)) | ||
: options.filter(option => includes(option, search)) | ||
} | ||
function stripGroups (options) { | ||
return options.filter(option => !option.$isLabel) | ||
} | ||
function flattenOptions (values, label) { | ||
return (options) => | ||
options.reduce((prev, curr) => { | ||
if (curr[values] && curr[values].length) { | ||
prev.push({ | ||
$groupLabel: curr[label], | ||
$isLabel: true | ||
}) | ||
return prev.concat(curr[values]) | ||
} | ||
return prev.concat(curr) | ||
}, []) | ||
} | ||
function filterGroups (search, label, values, groupLabel) { | ||
return (groups) => | ||
groups.map(group => { | ||
const groupOptions = filterOptions(group[values], search, label) | ||
return groupOptions.length | ||
? { | ||
[groupLabel]: group[groupLabel], | ||
[values]: groupOptions | ||
} | ||
: [] | ||
}) | ||
} | ||
const flow = (...fns) => x => fns.reduce((v, f) => f(v), x) | ||
module.exports = { | ||
@@ -201,2 +241,32 @@ data () { | ||
default: 1000 | ||
}, | ||
/** | ||
* Name of the property containing | ||
* the group values | ||
* @default 1000 | ||
* @type {String} | ||
*/ | ||
groupValues: { | ||
type: String | ||
}, | ||
/** | ||
* Name of the property containing | ||
* the group label | ||
* @default 1000 | ||
* @type {String} | ||
*/ | ||
groupLabel: { | ||
type: String | ||
}, | ||
/** | ||
* Array of keyboard keys to block | ||
* when selecting | ||
* @default 1000 | ||
* @type {String} | ||
*/ | ||
blockKeys: { | ||
type: Array, | ||
default () { | ||
return [] | ||
} | ||
} | ||
@@ -209,14 +279,20 @@ }, | ||
filteredOptions () { | ||
let search = this.search || '' | ||
let options = this.hideSelected | ||
? this.options.filter(this.isNotSelected) | ||
: this.options | ||
let search = this.search.toLowerCase() || '' | ||
let options = this.options | ||
if (this.localSearch) { | ||
options = this.label | ||
? options.filter(option => includes(option[this.label], this.search)) | ||
: options.filter(option => includes(option, this.search)) | ||
options = this.groupValues | ||
? this.filterAndFlat(options, search, this.label) | ||
: filterOptions(options, search, this.label) | ||
options = this.hideSelected | ||
? options.filter(this.isNotSelected) | ||
: options | ||
} | ||
if (this.taggable && search.length && !this.isExistingOption(search)) { | ||
options.unshift({ isTag: true, label: search }) | ||
} | ||
return options.slice(0, this.optionsLimit) | ||
@@ -234,8 +310,9 @@ }, | ||
optionKeys () { | ||
const options = this.groupValues ? this.flatAndStrip(this.options) : this.options | ||
return this.label | ||
? this.options.map(element => element[this.label].toString().toLowerCase()) | ||
: this.options.map(element => element.toString().toLowerCase()) | ||
? options.map(element => element[this.label].toString().toLowerCase()) | ||
: options.map(element => element.toString().toLowerCase()) | ||
}, | ||
currentOptionLabel () { | ||
return this.getOptionLabel(this.internalValue) | ||
return this.getOptionLabel(this.internalValue) + '' | ||
} | ||
@@ -262,4 +339,26 @@ }, | ||
methods: { | ||
/** | ||
* Filters and then flattens the options list | ||
* @param {Array} | ||
* @returns {Array} returns a filtered and flat options list | ||
*/ | ||
filterAndFlat (options) { | ||
return flow( | ||
filterGroups(this.search, this.label, this.groupValues, this.groupLabel), | ||
flattenOptions(this.groupValues, this.groupLabel) | ||
)(options) | ||
}, | ||
/** | ||
* Flattens and then strips the group labels from the options list | ||
* @param {Array} | ||
* @returns {Array} returns a flat options list without group labels | ||
*/ | ||
flatAndStrip (options) { | ||
return flow( | ||
flattenOptions(this.groupValues, this.groupLabel), | ||
stripGroups | ||
)(options) | ||
}, | ||
updateSearch (query) { | ||
this.search = query.trim().toLowerCase() | ||
this.search = query.trim().toString() | ||
}, | ||
@@ -316,3 +415,3 @@ /** | ||
if (option.isTag) return option.label | ||
return this.customLabel(option, this.label) + '' | ||
return this.customLabel(option, this.label) || '' | ||
}, | ||
@@ -325,4 +424,6 @@ /** | ||
* @param {Object||String||Integer} option to select/deselect | ||
* @param {Boolean} block removing | ||
*/ | ||
select (option) { | ||
select (option, key) { | ||
if (this.blockKeys.indexOf(key) !== -1 || this.disabled) return | ||
if (this.max && this.multiple && this.internalValue.length === this.max) return | ||
@@ -335,3 +436,3 @@ if (option.isTag) { | ||
if (this.isSelected(option)) { | ||
this.removeElement(option) | ||
if (key !== 'Tab') this.removeElement(option) | ||
return | ||
@@ -345,3 +446,3 @@ } else { | ||
/* istanbul ignore else */ | ||
if (isSelected && !this.allowEmpty) return | ||
if (isSelected && (!this.allowEmpty || key === 'Tab')) return | ||
@@ -366,2 +467,3 @@ this.internalValue = isSelected ? null : option | ||
/* istanbul ignore else */ | ||
if (this.disabled) return | ||
if (!this.allowEmpty && this.internalValue.length <= 1) return | ||
@@ -385,2 +487,3 @@ | ||
/* istanbul ignore else */ | ||
if (this.blockKeys.indexOf('Delete') !== -1) return | ||
if (this.search.length === 0 && Array.isArray(this.internalValue)) { | ||
@@ -397,2 +500,3 @@ this.removeElement(this.internalValue[this.internalValue.length - 1]) | ||
if (this.isOpen) return | ||
if (this.disabled) return | ||
@@ -399,0 +503,0 @@ this.isOpen = true |
@@ -36,5 +36,6 @@ module.exports = { | ||
}, | ||
addPointerElement () { | ||
addPointerElement ({ key } = 'Enter') { | ||
if (this.filteredOptions[this.pointer].isLabel) return | ||
if (this.filteredOptions.length > 0) { | ||
this.select(this.filteredOptions[this.pointer]) | ||
this.select(this.filteredOptions[this.pointer], key) | ||
} | ||
@@ -41,0 +42,0 @@ this.pointerReset() |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueMultiselect=e():t.VueMultiselect=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.deepClone=e.pointerMixin=e.multiselectMixin=e.Multiselect=void 0;var r=n(80),o=i(r),s=n(28),l=i(s),a=n(29),u=i(a),c=n(30),f=i(c);e["default"]=o["default"],e.Multiselect=o["default"],e.multiselectMixin=l["default"],e.pointerMixin=u["default"],e.deepClone=f["default"]},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(56),r=n(15);t.exports=function(t){return i(r(t))}},function(t,e,n){t.exports=!n(9)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(6),r=n(13);t.exports=n(4)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(11),r=n(34),o=n(25),s=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(l){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(23)("wks"),r=n(14),o=n(1).Symbol,s="function"==typeof o,l=t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))};l.store=i},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var i=n(39),r=n(16);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(12);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(1),r=n(8),o=n(53),s=n(5),l="prototype",a=function(t,e,n){var u,c,f,p=t&a.F,d=t&a.G,h=t&a.S,m=t&a.P,g=t&a.B,v=t&a.W,b=d?r:r[e]||(r[e]={}),y=b[l],_=d?i:h?i[e]:(i[e]||{})[l];d&&(n=e);for(u in n)c=!p&&_&&void 0!==_[u],c&&u in b||(f=c?_[u]:n[u],b[u]=d&&"function"!=typeof _[u]?n[u]:g&&c?o(f,i):v&&_[u]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[l]=t[l],e}(f):m&&"function"==typeof f?o(Function.call,f):f,m&&((b.virtual||(b.virtual={}))[u]=f,t&a.R&&y&&!y[u]&&s(y,u,f)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(6).f,r=n(2),o=n(7)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(23)("keys"),r=n(14);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var i=n(1),r="__core-js_shared__",o=i[r]||(i[r]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(12);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(1),r=n(8),o=n(19),s=n(27),l=n(6).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||l(e,t,{value:s.f(t)})}},function(t,e,n){e.f=n(7)},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t,e){if(!t)return!1;var n=t.toString().toLowerCase();return-1!==n.indexOf(e)}var o=n(31),s=i(o),l=n(30),a=i(l);t.exports={data:function(){return{search:"",isOpen:!1,internalValue:this.value||0===this.value?(0,a["default"])(this.value):this.multiple?[]:null}},props:{localSearch:{type:Boolean,"default":!0},options:{type:Array,required:!0},multiple:{type:Boolean,"default":!1},value:{type:null,"default":null},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,"default":!0},clearOnSelect:{type:Boolean,"default":!0},hideSelected:{type:Boolean,"default":!1},placeholder:{type:String,"default":"Select option"},maxHeight:{type:Number,"default":300},allowEmpty:{type:Boolean,"default":!0},resetAfter:{type:Boolean,"default":!1},closeOnSelect:{type:Boolean,"default":!0},customLabel:{type:Function,"default":function(t,e){return e?t[e]:t}},taggable:{type:Boolean,"default":!1},tagPlaceholder:{type:String,"default":"Press enter to create a tag"},max:{type:Number},id:{"default":null},optionsLimit:{type:Number,"default":1e3}},created:function(){this.searchable&&this.adjustSearch()},computed:{filteredOptions:function(){var t=this,e=this.search||"",n=this.hideSelected?this.options.filter(this.isNotSelected):this.options;return this.localSearch&&(n=this.label?n.filter(function(e){return r(e[t.label],t.search)}):n.filter(function(e){return r(e,t.search)})),this.taggable&&e.length&&!this.isExistingOption(e)&&n.unshift({isTag:!0,label:e}),n.slice(0,this.optionsLimit)},valueKeys:function(){var t=this;return this.trackBy?this.multiple?this.internalValue.map(function(e){return e[t.trackBy]}):this.internalValue[this.trackBy]:this.internalValue},optionKeys:function(){var t=this;return this.label?this.options.map(function(e){return e[t.label].toString().toLowerCase()}):this.options.map(function(t){return t.toString().toLowerCase()})},currentOptionLabel:function(){return this.getOptionLabel(this.internalValue)}},watch:{internalValue:function(){this.resetAfter&&(this.internalValue=null,this.search=""),this.adjustSearch()},search:function(){this.search!==this.currentOptionLabel&&this.$emit("search-change",this.search,this.id)},value:function(){this.internalValue=(0,a["default"])(this.value)}},methods:{updateSearch:function(t){this.search=t.trim().toLowerCase()},isExistingOption:function(t){return this.options?this.optionKeys.indexOf(t)>-1:!1},isSelected:function(t){if(!this.internalValue)return!1;var e=this.trackBy?t[this.trackBy]:t;return this.multiple?this.valueKeys.indexOf(e)>-1:this.valueKeys===e},isNotSelected:function(t){return!this.isSelected(t)},getOptionLabel:function(t){return t||0===t?t.isTag?t.label:this.customLabel(t,this.label)+"":""},select:function(t){if(!this.max||!this.multiple||this.internalValue.length!==this.max)if(t.isTag)this.$emit("tag",t.label,this.id),this.search="";else{if(this.multiple){if(this.isSelected(t))return void this.removeElement(t);this.internalValue.push(t)}else{var e=this.isSelected(t);if(e&&!this.allowEmpty)return;this.internalValue=e?null:t}this.$emit("select",(0,a["default"])(t),this.id),this.$emit("input",(0,a["default"])(this.internalValue),this.id),this.closeOnSelect&&this.deactivate()}},removeElement:function(t){if(this.allowEmpty||!(this.internalValue.length<=1)){var e=this.multiple&&"object"===("undefined"==typeof t?"undefined":(0,s["default"])(t))?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);this.internalValue.splice(e,1),this.$emit("remove",(0,a["default"])(t),this.id),this.$emit("input",(0,a["default"])(this.internalValue),this.id)}},removeLastElement:function(){0===this.search.length&&Array.isArray(this.internalValue)&&this.removeElement(this.internalValue[this.internalValue.length-1])},activate:function(){this.isOpen||(this.isOpen=!0,this.searchable?(this.search="",this.$refs.search.focus()):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?(this.$refs.search.blur(),this.adjustSearch()):this.$el.blur(),this.$emit("close",(0,a["default"])(this.internalValue),this.id))},adjustSearch:function(){this.searchable&&this.clearOnSelect&&(this.search=this.multiple?"":this.currentOptionLabel)},toggle:function(){this.isOpen?this.deactivate():this.activate()}}}},function(t,e){"use strict";t.exports={data:function(){return{pointer:0,visibleElements:this.maxHeight/40}},props:{showPointer:{type:Boolean,"default":!0}},computed:{pointerPosition:function(){return 40*this.pointer}},watch:{filteredOptions:function(){this.pointerAdjust()}},methods:{optionHighlight:function(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},addPointerElement:function(){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer]),this.pointerReset()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-40*this.visibleElements&&(this.$refs.list.scrollTop=this.pointerPosition-40*(this.visibleElements-1)))},pointerBackward:function(){this.pointer>0&&(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition))},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0)},pointerSet:function(t){this.pointer=t}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}var r=n(44),o=i(r),s=n(31),l=i(s),a=function u(t){if(Array.isArray(t))return t.map(u);if(t&&"object"===("undefined"==typeof t?"undefined":(0,l["default"])(t))){for(var e={},n=(0,o["default"])(t),i=0,r=n.length;r>i;i++){var s=n[i];e[s]=u(t[s])}return e}return t};t.exports=a},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(46),o=i(r),s=n(45),l=i(s),a="function"==typeof l["default"]&&"symbol"==typeof o["default"]?function(t){return typeof t}:function(t){return t&&"function"==typeof l["default"]&&t.constructor===l["default"]?"symbol":typeof t};e["default"]="function"==typeof l["default"]&&"symbol"===a(o["default"])?function(t){return"undefined"==typeof t?"undefined":a(t)}:function(t){return t&&"function"==typeof l["default"]&&t.constructor===l["default"]?"symbol":"undefined"==typeof t?"undefined":a(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(12),r=n(1).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){t.exports=!n(4)&&!n(9)(function(){return 7!=Object.defineProperty(n(33)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var i=n(19),r=n(17),o=n(40),s=n(5),l=n(2),a=n(18),u=n(58),c=n(21),f=n(65),p=n(7)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",g="values",v=function(){return this};t.exports=function(t,e,n,b,y,_,x){u(n,e,b);var w,O,S,k=function(t){if(!d&&t in E)return E[t];switch(t){case m:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",P=y==g,C=!1,E=t.prototype,L=E[p]||E[h]||y&&E[y],M=L||k(y),T=y?P?k("entries"):M:void 0,A="Array"==e?E.entries||L:L;if(A&&(S=f(A.call(new t)),S!==Object.prototype&&(c(S,j,!0),i||l(S,p)||s(S,p,v))),P&&L&&L.name!==g&&(C=!0,M=function(){return L.call(this)}),i&&!x||!d&&!C&&E[p]||s(E,p,M),a[e]=M,a[j]=v,y)if(w={values:P?M:k(g),keys:_?M:k(m),entries:T},x)for(O in w)O in E||o(E,O,w[O]);else r(r.P+r.F*(d||C),e,w);return w}},function(t,e,n){var i=n(11),r=n(62),o=n(16),s=n(22)("IE_PROTO"),l=function(){},a="prototype",u=function(){var t,e=n(33)("iframe"),i=o.length,r=">";for(e.style.display="none",n(55).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object</script"+r),t.close(),u=t.F;i--;)delete u[a][o[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(l[a]=i(t),n=new l,l[a]=null,n[s]=t):n=u(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(39),r=n(16).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(2),r=n(3),o=n(52)(!1),s=n(22)("IE_PROTO");t.exports=function(t,e){var n,l=r(t),a=0,u=[];for(n in l)n!=s&&i(l,n)&&u.push(n);for(;e.length>a;)i(l,n=e[a++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){t.exports=n(5)},function(t,e,n){var i=n(15);t.exports=function(t){return Object(i(t))}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={functional:!0,render:function(t,e){return e.props.optionFunction(t,e.props.option,e.props.label)},props:{optionFunction:{type:Function,required:!0},label:{required:!0},option:{}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=i(r),s=n(29),l=i(s),a=n(42),u=i(a);e["default"]={name:"vue-multiselect",components:{MultiselectOption:u["default"]},mixins:[o["default"],l["default"]],props:{selectLabel:{type:String,"default":"Press enter to select"},selectedLabel:{type:String,"default":"Selected"},deselectLabel:{type:String,"default":"Press enter to remove"},showLabels:{type:Boolean,"default":!0},limit:{type:Number,"default":99999},limitText:{type:Function,"default":function(t){return"and "+t+" more"}},loading:{type:Boolean,"default":!1},disabled:{type:Boolean,"default":!1},optionFunction:{type:Function,"default":function(t,e,n){return t("span",{},n)}}},computed:{visibleValue:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""}}}},function(t,e,n){t.exports={"default":n(47),__esModule:!0}},function(t,e,n){t.exports={"default":n(48),__esModule:!0}},function(t,e,n){t.exports={"default":n(49),__esModule:!0}},function(t,e,n){n(71),t.exports=n(8).Object.keys},function(t,e,n){n(74),n(72),n(75),n(76),t.exports=n(8).Symbol},function(t,e,n){n(73),n(77),t.exports=n(27).f("iterator")},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var i=n(3),r=n(69),o=n(68);t.exports=function(t){return function(e,n,s){var l,a=i(e),u=r(a.length),c=o(s,u);if(t&&n!=n){for(;u>c;)if(l=a[c++],l!=l)return!0}else for(;u>c;c++)if((t||c in a)&&a[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){var i=n(50);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(10),r=n(38),o=n(20);t.exports=function(t){var e=i(t),n=r.f;if(n)for(var s,l=n(t),a=o.f,u=0;l.length>u;)a.call(t,s=l[u++])&&e.push(s);return e}},function(t,e,n){t.exports=n(1).document&&document.documentElement},function(t,e,n){var i=n(32);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){var i=n(32);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){"use strict";var i=n(36),r=n(13),o=n(21),s={};n(5)(s,n(7)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var i=n(10),r=n(3);t.exports=function(t,e){for(var n,o=r(t),s=i(o),l=s.length,a=0;l>a;)if(o[n=s[a++]]===e)return n}},function(t,e,n){var i=n(14)("meta"),r=n(12),o=n(2),s=n(6).f,l=0,a=Object.isExtensible||function(){return!0},u=!n(9)(function(){return a(Object.preventExtensions({}))}),c=function(t){s(t,i,{value:{i:"O"+ ++l,w:{}}})},f=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!a(t))return"F";if(!e)return"E";c(t)}return t[i].i},p=function(t,e){if(!o(t,i)){if(!a(t))return!0;if(!e)return!1;c(t)}return t[i].w},d=function(t){return u&&h.NEED&&a(t)&&!o(t,i)&&c(t),t},h=t.exports={KEY:i,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(t,e,n){var i=n(6),r=n(11),o=n(10);t.exports=n(4)?Object.defineProperties:function(t,e){r(t);for(var n,s=o(e),l=s.length,a=0;l>a;)i.f(t,n=s[a++],e[n]);return t}},function(t,e,n){var i=n(20),r=n(13),o=n(3),s=n(25),l=n(2),a=n(34),u=Object.getOwnPropertyDescriptor;e.f=n(4)?u:function(t,e){if(t=o(t),e=s(e,!0),a)try{return u(t,e)}catch(n){}return l(t,e)?r(!i.f.call(t,e),t[e]):void 0}},function(t,e,n){var i=n(3),r=n(37).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(t){try{return r(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?l(t):r(i(t))}},function(t,e,n){var i=n(2),r=n(41),o=n(22)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var i=n(17),r=n(8),o=n(9);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],s={};s[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var i=n(24),r=n(15);t.exports=function(t){return function(e,n){var o,s,l=String(r(e)),a=i(n),u=l.length;return 0>a||a>=u?t?"":void 0:(o=l.charCodeAt(a),55296>o||o>56319||a+1===u||(s=l.charCodeAt(a+1))<56320||s>57343?t?l.charAt(a):o:t?l.slice(a,a+2):(o-55296<<10)+(s-56320)+65536)}}},function(t,e,n){var i=n(24),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),0>t?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(24),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){"use strict";var i=n(51),r=n(59),o=n(18),s=n(3);t.exports=n(35)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(41),r=n(10);n(66)("keys",function(){return function(t){return r(i(t))}})},function(t,e){},function(t,e,n){"use strict";var i=n(67)(!0);n(35)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var i=n(1),r=n(2),o=n(4),s=n(17),l=n(40),a=n(61).KEY,u=n(9),c=n(23),f=n(21),p=n(14),d=n(7),h=n(27),m=n(26),g=n(60),v=n(54),b=n(57),y=n(11),_=n(3),x=n(25),w=n(13),O=n(36),S=n(64),k=n(63),j=n(6),P=n(10),C=k.f,E=j.f,L=S.f,M=i.Symbol,T=i.JSON,A=T&&T.stringify,B="prototype",F=d("_hidden"),V=d("toPrimitive"),N={}.propertyIsEnumerable,D=c("symbol-registry"),$=c("symbols"),R=c("op-symbols"),I=Object[B],z="function"==typeof M,K=i.QObject,H=!K||!K[B]||!K[B].findChild,W=o&&u(function(){return 7!=O(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=C(I,e);i&&delete I[e],E(t,e,n),i&&t!==I&&E(I,e,i)}:E,J=function(t){var e=$[t]=O(M[B]);return e._k=t,e},q=z&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},U=function(t,e,n){return t===I&&U(R,e,n),y(t),e=x(e,!0),y(n),r($,e)?(n.enumerable?(r(t,F)&&t[F][e]&&(t[F][e]=!1),n=O(n,{enumerable:w(0,!1)})):(r(t,F)||E(t,F,w(1,{})),t[F][e]=!0),W(t,e,n)):E(t,e,n)},G=function(t,e){y(t);for(var n,i=v(e=_(e)),r=0,o=i.length;o>r;)U(t,n=i[r++],e[n]);return t},Y=function(t,e){return void 0===e?O(t):G(O(t),e)},Q=function(t){var e=N.call(this,t=x(t,!0));return this===I&&r($,t)&&!r(R,t)?!1:e||!r(this,t)||!r($,t)||r(this,F)&&this[F][t]?e:!0},X=function(t,e){if(t=_(t),e=x(e,!0),t!==I||!r($,e)||r(R,e)){var n=C(t,e);return!n||!r($,e)||r(t,F)&&t[F][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=L(_(t)),i=[],o=0;n.length>o;)r($,e=n[o++])||e==F||e==a||i.push(e);return i},tt=function(t){for(var e,n=t===I,i=L(n?R:_(t)),o=[],s=0;i.length>s;)r($,e=i[s++])&&(n?r(I,e):!0)&&o.push($[e]);return o};z||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===I&&e.call(R,n),r(this,F)&&r(this[F],t)&&(this[F][t]=!1),W(this,t,w(1,n))};return o&&H&&W(I,t,{configurable:!0,set:e}),J(t)},l(M[B],"toString",function(){return this._k}),k.f=X,j.f=U,n(37).f=S.f=Z,n(20).f=Q,n(38).f=tt,o&&!n(19)&&l(I,"propertyIsEnumerable",Q,!0),h.f=function(t){return J(d(t))}),s(s.G+s.W+s.F*!z,{Symbol:M});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var et=P(d.store),nt=0;et.length>nt;)m(et[nt++]);s(s.S+s.F*!z,"Symbol",{"for":function(t){return r(D,t+="")?D[t]:D[t]=M(t)},keyFor:function(t){if(q(t))return g(D,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){H=!0},useSimple:function(){H=!1}}),s(s.S+s.F*!z,"Object",{create:Y,defineProperty:U,defineProperties:G,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),T&&s(s.S+s.F*(!z||u(function(){var t=M();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!q(t)){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);return e=i[1],"function"==typeof e&&(n=e),!n&&b(e)||(e=function(t,e){return n&&(e=n.call(this,t,e)),q(e)?void 0:e}),i[1]=e,A.apply(T,i)}}}),M[B][V]||n(5)(M[B],V,M[B].valueOf),f(M,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},function(t,e,n){n(26)("asyncIterator")},function(t,e,n){n(26)("observable")},function(t,e,n){n(70);for(var i=n(1),r=n(5),o=n(18),s=n(7)("toStringTag"),l=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],a=0;5>a;a++){var u=l[a],c=i[u],f=c&&c.prototype;f&&!f[s]&&r(f,s,u),o[u]=o.Array}},function(t,e,n){e=t.exports=n(79)(),e.push([t.id,'fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{position:absolute;right:1px;top:1px;width:48px;height:35px;background:#fff;display:block}.multiselect__spinner:after,.multiselect__spinner:before{position:absolute;content:"";top:50%;left:50%;margin:-8px 0 0 -8px;width:16px;height:16px;border-radius:100%;border-color:#41b883 transparent transparent;border-style:solid;border-width:2px;box-shadow:0 0 0 1px transparent}.multiselect__spinner:before{animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation-iteration-count:infinite}.multiselect__spinner:after{animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{transition:opacity .4s ease-in-out;opacity:1}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:14px}.multiselect{box-sizing:content-box;display:block;position:relative;width:100%;min-height:40px;text-align:left;color:#35495e}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:none}.multiselect--disabled{pointer-events:none;opacity:.6}.multiselect--active{z-index:50}.multiselect--active .multiselect__current,.multiselect--active .multiselect__input,.multiselect--active .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect__input,.multiselect__single{position:relative;display:inline-block;min-height:20px;line-height:20px;border:none;border-radius:5px;background:#fff;padding:1px 0 0 5px;width:100%;transition:border .1s ease;box-sizing:border-box;margin-bottom:8px}.multiselect__tag~.multiselect__input{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:none}.multiselect__single{padding-left:6px;margin-bottom:8px}.multiselect__tags{min-height:40px;display:block;padding:8px 40px 0 8px;border-radius:5px;border:1px solid #e8e8e8;background:#fff}.multiselect__tag{position:relative;display:inline-block;padding:4px 26px 4px 10px;border-radius:5px;margin-right:10px;color:#fff;line-height:1;background:#41b883;margin-bottom:8px;white-space:nowrap}.multiselect__tag-icon{cursor:pointer;margin-left:7px;position:absolute;right:0;top:0;bottom:0;font-weight:700;font-style:initial;width:22px;text-align:center;line-height:22px;transition:all .2s ease;border-radius:5px}.multiselect__tag-icon:after{content:"\\D7";color:#266d4d;font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{min-height:40px;overflow:hidden;padding:8px 12px 0;padding-right:30px;white-space:nowrap;border-radius:5px;border:1px solid #e8e8e8}.multiselect__current,.multiselect__select{line-height:16px;box-sizing:border-box;display:block;margin:0;text-decoration:none;cursor:pointer}.multiselect__select{position:absolute;width:40px;height:38px;right:1px;top:1px;padding:4px 8px;text-align:center;transition:transform .2s ease}.multiselect__select:before{position:relative;right:0;top:65%;color:#999;margin-top:4px;border-style:solid;border-width:5px 5px 0;border-color:#999 transparent transparent;content:""}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content{position:absolute;list-style:none;display:block;background:#fff;width:100%;max-height:240px;overflow:auto;padding:0;margin:0;border:1px solid #e8e8e8;border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;z-index:50}.multiselect__content::webkit-scrollbar{display:none}.multiselect__option{display:block;padding:12px;min-height:40px;line-height:16px;text-decoration:none;text-transform:none;vertical-align:middle;position:relative;cursor:pointer;white-space:nowrap}.multiselect__option:after{top:0;right:0;position:absolute;line-height:40px;padding-right:12px;padding-left:20px}.multiselect__option--highlight{background:#41b883;outline:none;color:#fff}.multiselect__option--highlight:after{content:attr(data-select);background:#41b883;color:#fff}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{content:attr(data-selected);color:silver}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect--disabled{background:#ededed;pointer-events:none}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select,.multiselect__option--disabled{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{cursor:text;pointer-events:none}.multiselect__option--disabled:visited{color:#a6a6a6}.multiselect__option--disabled:focus,.multiselect__option--disabled:hover{background:#3dad7b}.multiselect-enter-active,.multiselect-leave-active{transition:all .3s ease}.multiselect-enter,.multiselect-leave-active{opacity:0;max-height:0!important}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}',""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},function(t,e,n){var i,r;n(83),i=n(43);var o=n(81);r=i=i||{},"object"!=typeof i["default"]&&"function"!=typeof i["default"]||(r=i=i["default"]),"function"==typeof r&&(r=r.options),r.render=o.render,r.staticRenderFns=o.staticRenderFns,t.exports=i},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"multiselect","class":{"multiselect--active":isOpen,"multiselect--disabled":disabled},attrs:{tabindex:"0"},on:{focus:function(t){activate()},blur:function(t){searchable?!1:deactivate()},keydown:[function(t){40===t.keyCode&&t.target===t.currentTarget&&(t.preventDefault(),pointerForward())},function(t){38===t.keyCode&&t.target===t.currentTarget&&(t.preventDefault(),pointerBackward())},function(t){13===t.keyCode&&(t.stopPropagation(),t.preventDefault(),t.target===t.currentTarget&&addPointerElement())},function(t){9===t.keyCode&&(t.stopPropagation(),t.preventDefault(),t.target===t.currentTarget&&addPointerElement())}],keyup:function(t){27===t.keyCode&&deactivate()}}},[_h("div",{staticClass:"multiselect__select",on:{mousedown:function(t){t.preventDefault(),toggle()}}})," ",_h("div",{ref:"tags",staticClass:"multiselect__tags"},[_l(visibleValue,function(t){return _h("span",{staticClass:"multiselect__tag",attrs:{onmousedown:"event.preventDefault()"}},[_h("span",{domProps:{textContent:_s(getOptionLabel(t))}})," ",_h("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keydown:function(e){13===e.keyCode&&(e.preventDefault(),removeElement(t))},mousedown:function(e){e.preventDefault(),removeElement(t)}}})])})," ",internalValue&&internalValue.length>limit?[_h("strong",{domProps:{textContent:_s(limitText(internalValue.length-limit))}})]:_e()," ",_h("transition",{attrs:{name:"multiselect__loading"}},[_h("div",{directives:[{name:"show",value:loading,expression:"loading"}],staticClass:"multiselect__spinner"})])," ",searchable?_h("input",{ref:"search",staticClass:"multiselect__input",attrs:{name:"search",type:"text",autocomplete:"off",placeholder:placeholder,disabled:disabled},domProps:{value:search},on:{input:function(t){updateSearch(t.target.value)},focus:function(t){t.preventDefault(),activate()},blur:function(t){t.preventDefault(),deactivate()},keyup:[function(t){27===t.keyCode&&deactivate()},function(t){40===t.keyCode&&pointerForward()},function(t){38===t.keyCode&&pointerBackward()}],keydown:[function(t){13===t.keyCode&&(t.stopPropagation(),t.preventDefault(),t.target===t.currentTarget&&addPointerElement())},function(t){9===t.keyCode&&(t.stopPropagation(),t.preventDefault(),t.target===t.currentTarget&&addPointerElement())},function(t){8!==t.keyCode&&46!==t.keyCode||removeLastElement()}]}}):_e()," ",searchable||multiple?_e():_h("span",{staticClass:"multiselect__single",domProps:{textContent:_s(currentOptionLabel||placeholder)}})])," ",_h("transition",{attrs:{name:"multiselect"}},[_h("ul",{directives:[{name:"show",value:isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content",style:{maxHeight:maxHeight+"px"}},[_t("beforeList")," ",multiple&&max===internalValue.length?_h("li",[_h("span",{staticClass:"multiselect__option"},[_t("maxElements",["Maximum of "+_s(max)+" options selected. First remove a selected option to select another."])])]):_e()," ",!max||internalValue.length<max?[_l(filteredOptions,function(t,e){ | ||
return _h("li",{key:e},[_h("span",{staticClass:"multiselect__option","class":optionHighlight(e,t),attrs:{tabindex:"0","data-select":t.isTag?tagPlaceholder:selectLabelText,"data-selected":selectedLabelText,"data-deselect":deselectLabelText},on:{mousedown:function(e){e.preventDefault(),select(t)},mouseenter:function(t){pointerSet(e)}}},[_h("multiselect-option",{attrs:{"option-function":optionFunction,label:getOptionLabel(t),option:t}})])])})]:_e()," ",_h("li",{directives:[{name:"show",value:0===filteredOptions.length&&search,expression:"filteredOptions.length === 0 && search"}]},[_h("span",{staticClass:"multiselect__option"},[_t("noResult",["No elements found. Consider changing the search query."])])])," ",_t("afterList")])])])},staticRenderFns:[]}},function(t,e,n){function i(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=f[i.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](i.parts[o]);for(;o<i.parts.length;o++)r.parts.push(a(i.parts[o],e))}else{for(var s=[],o=0;o<i.parts.length;o++)s.push(a(i.parts[o],e));f[i.id]={id:i.id,refs:1,parts:s}}}}function r(t){for(var e=[],n={},i=0;i<t.length;i++){var r=t[i],o=r[0],s=r[1],l=r[2],a=r[3],u={css:s,media:l,sourceMap:a};n[o]?n[o].parts.push(u):e.push(n[o]={id:o,parts:[u]})}return e}function o(t,e){var n=h(),i=v[v.length-1];if("top"===t.insertAt)i?i.nextSibling?n.insertBefore(e,i.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),v.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function s(t){t.parentNode.removeChild(t);var e=v.indexOf(t);e>=0&&v.splice(e,1)}function l(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function a(t,e){var n,i,r;if(e.singleton){var o=g++;n=m||(m=l(e)),i=u.bind(null,n,o,!1),r=u.bind(null,n,o,!0)}else n=l(e),i=c.bind(null,n),r=function(){s(n)};return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function u(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function c(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f={},p=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},d=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=p(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,g=0,v=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=d()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=r(t);return i(n,e),function(t){for(var o=[],s=0;s<n.length;s++){var l=n[s],a=f[l.id];a.refs--,o.push(a)}if(t){var u=r(t);i(u,e)}for(var s=0;s<o.length;s++){var a=o[s];if(0===a.refs){for(var c=0;c<a.parts.length;c++)a.parts[c]();delete f[a.id]}}}};var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){var i=n(78);"string"==typeof i&&(i=[[t.id,i,""]]);n(82)(i,{});i.locals&&(t.exports=i.locals)}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueMultiselect=e():t.VueMultiselect=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.deepClone=e.pointerMixin=e.multiselectMixin=e.Multiselect=void 0;var r=n(84),o=i(r),s=n(28),l=i(s),u=n(29),a=i(u),c=n(30),f=i(c);e.default=o.default,e.Multiselect=o.default,e.multiselectMixin=l.default,e.pointerMixin=a.default,e.deepClone=f.default},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){t.exports=!n(9)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(11),r=n(34),o=n(25),s=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(59),r=n(16);t.exports=function(t){return i(r(t))}},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(4),r=n(14);t.exports=n(2)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(23)("wks"),r=n(15),o=n(1).Symbol,s="function"==typeof o,l=t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))};l.store=i},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(39),r=n(17);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(13);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var i=n(1),r=n(6),o=n(56),s=n(7),l="prototype",u=function(t,e,n){var a,c,f,p=t&u.F,d=t&u.G,h=t&u.S,m=t&u.P,v=t&u.B,b=t&u.W,g=d?r:r[e]||(r[e]={}),y=g[l],_=d?i:h?i[e]:(i[e]||{})[l];d&&(n=e);for(a in n)c=!p&&_&&void 0!==_[a],c&&a in g||(f=c?_[a]:n[a],g[a]=d&&"function"!=typeof _[a]?n[a]:v&&c?o(f,i):b&&_[a]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[l]=t[l],e}(f):m&&"function"==typeof f?o(Function.call,f):f,m&&((g.virtual||(g.virtual={}))[a]=f,t&u.R&&y&&!y[a]&&s(y,a,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(4).f,r=n(3),o=n(8)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(23)("keys"),r=n(15);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var i=n(1),r="__core-js_shared__",o=i[r]||(i[r]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(13);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(1),r=n(6),o=n(19),s=n(27),l=n(4).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||l(e,t,{value:s.f(t)})}},function(t,e,n){e.f=n(8)},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!t)return!1;var n=t.toString().toLowerCase();return n.indexOf(e)!==-1}function o(t,e,n){return n?t.filter(function(t){return r(t[n],e)}):t.filter(function(t){return r(t,e)})}function s(t){return t.filter(function(t){return!t.$isLabel})}function l(t,e){return function(n){return n.reduce(function(n,i){return i[t]&&i[t].length?(n.push({$groupLabel:i[e],$isLabel:!0}),n.concat(i[t])):n.concat(i)},[])}}function u(t,e,n,i){return function(r){return r.map(function(r){var s,l=o(r[n],t,e);return l.length?(s={},(0,p.default)(s,i,r[i]),(0,p.default)(s,n,l),s):[]})}}var a=n(31),c=i(a),f=n(48),p=i(f),d=n(30),h=i(d),m=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce(function(t,e){return e(t)},t)}};t.exports={data:function(){return{search:"",isOpen:!1,internalValue:this.value||0===this.value?(0,h.default)(this.value):this.multiple?[]:null}},props:{localSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},value:{type:null,default:null},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},maxHeight:{type:Number,default:300},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:function(t,e){return e?t[e]:t}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},max:{type:Number},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},blockKeys:{type:Array,default:function(){return[]}}},created:function(){this.searchable&&this.adjustSearch()},computed:{filteredOptions:function(){var t=this.search.toLowerCase()||"",e=this.options;return this.localSearch&&(e=this.groupValues?this.filterAndFlat(e,t,this.label):o(e,t,this.label),e=this.hideSelected?e.filter(this.isNotSelected):e),this.taggable&&t.length&&!this.isExistingOption(t)&&e.unshift({isTag:!0,label:t}),e.slice(0,this.optionsLimit)},valueKeys:function(){var t=this;return this.trackBy?this.multiple?this.internalValue.map(function(e){return e[t.trackBy]}):this.internalValue[this.trackBy]:this.internalValue},optionKeys:function(){var t=this,e=this.groupValues?this.flatAndStrip(this.options):this.options;return this.label?e.map(function(e){return e[t.label].toString().toLowerCase()}):e.map(function(t){return t.toString().toLowerCase()})},currentOptionLabel:function(){return this.getOptionLabel(this.internalValue)+""}},watch:{internalValue:function(){this.resetAfter&&(this.internalValue=null,this.search=""),this.adjustSearch()},search:function(){this.search!==this.currentOptionLabel&&this.$emit("search-change",this.search,this.id)},value:function(){this.internalValue=(0,h.default)(this.value)}},methods:{filterAndFlat:function(t){return m(u(this.search,this.label,this.groupValues,this.groupLabel),l(this.groupValues,this.groupLabel))(t)},flatAndStrip:function(t){return m(l(this.groupValues,this.groupLabel),s)(t)},updateSearch:function(t){this.search=t.trim().toString()},isExistingOption:function(t){return!!this.options&&this.optionKeys.indexOf(t)>-1},isSelected:function(t){if(!this.internalValue)return!1;var e=this.trackBy?t[this.trackBy]:t;return this.multiple?this.valueKeys.indexOf(e)>-1:this.valueKeys===e},isNotSelected:function(t){return!this.isSelected(t)},getOptionLabel:function(t){return t||0===t?t.isTag?t.label:this.customLabel(t,this.label)||"":""},select:function(t,e){if(!(this.blockKeys.indexOf(e)!==-1||this.disabled||this.max&&this.multiple&&this.internalValue.length===this.max))if(t.isTag)this.$emit("tag",t.label,this.id),this.search="";else{if(this.multiple){if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.internalValue.push(t)}else{var n=this.isSelected(t);if(n&&(!this.allowEmpty||"Tab"===e))return;this.internalValue=n?null:t}this.$emit("select",(0,h.default)(t),this.id),this.$emit("input",(0,h.default)(this.internalValue),this.id),this.closeOnSelect&&this.deactivate()}},removeElement:function(t){if(!this.disabled&&(this.allowEmpty||!(this.internalValue.length<=1))){var e=this.multiple&&"object"===("undefined"==typeof t?"undefined":(0,c.default)(t))?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);this.internalValue.splice(e,1),this.$emit("remove",(0,h.default)(t),this.id),this.$emit("input",(0,h.default)(this.internalValue),this.id)}},removeLastElement:function(){this.blockKeys.indexOf("Delete")===-1&&0===this.search.length&&Array.isArray(this.internalValue)&&this.removeElement(this.internalValue[this.internalValue.length-1])},activate:function(){this.isOpen||this.disabled||(this.isOpen=!0,this.searchable?(this.search="",this.$refs.search.focus()):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?(this.$refs.search.blur(),this.adjustSearch()):this.$el.blur(),this.$emit("close",(0,h.default)(this.internalValue),this.id))},adjustSearch:function(){this.searchable&&this.clearOnSelect&&(this.search=this.multiple?"":this.currentOptionLabel)},toggle:function(){this.isOpen?this.deactivate():this.activate()}}}},function(t,e){"use strict";t.exports={data:function(){return{pointer:0,visibleElements:this.maxHeight/40}},props:{showPointer:{type:Boolean,default:!0}},computed:{pointerPosition:function(){return 40*this.pointer}},watch:{filteredOptions:function(){this.pointerAdjust()}},methods:{optionHighlight:function(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},addPointerElement:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter",e=t.key;this.filteredOptions[this.pointer].isLabel||(this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset())},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-40*this.visibleElements&&(this.$refs.list.scrollTop=this.pointerPosition-40*(this.visibleElements-1)))},pointerBackward:function(){this.pointer>0&&(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition))},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0)},pointerSet:function(t){this.pointer=t}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var r=n(45),o=i(r),s=n(31),l=i(s),u=function t(e){if(Array.isArray(e))return e.map(t);if(e&&"object"===("undefined"==typeof e?"undefined":(0,l.default)(e))){for(var n={},i=(0,o.default)(e),r=0,s=i.length;r<s;r++){var u=i[r];n[u]=t(e[u])}return n}return e};t.exports=u},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(47),o=i(r),s=n(46),l=i(s),u="function"==typeof l.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof l.default&&t.constructor===l.default&&t!==l.default.prototype?"symbol":typeof t};e.default="function"==typeof l.default&&"symbol"===u(o.default)?function(t){return"undefined"==typeof t?"undefined":u(t)}:function(t){return t&&"function"==typeof l.default&&t.constructor===l.default&&t!==l.default.prototype?"symbol":"undefined"==typeof t?"undefined":u(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(13),r=n(1).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){t.exports=!n(2)&&!n(9)(function(){return 7!=Object.defineProperty(n(33)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var i=n(19),r=n(12),o=n(40),s=n(7),l=n(3),u=n(18),a=n(61),c=n(21),f=n(68),p=n(8)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",v="values",b=function(){return this};t.exports=function(t,e,n,g,y,_,x){a(n,e,g);var w,O,S,k=function(t){if(!d&&t in P)return P[t];switch(t){case m:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",C=y==v,L=!1,P=t.prototype,E=P[p]||P[h]||y&&P[y],M=E||k(y),T=y?C?k("entries"):M:void 0,A="Array"==e?P.entries||E:E;if(A&&(S=f(A.call(new t)),S!==Object.prototype&&(c(S,j,!0),i||l(S,p)||s(S,p,b))),C&&E&&E.name!==v&&(L=!0,M=function(){return E.call(this)}),i&&!x||!d&&!L&&P[p]||s(P,p,M),u[e]=M,u[j]=b,y)if(w={values:C?M:k(v),keys:_?M:k(m),entries:T},x)for(O in w)O in P||o(P,O,w[O]);else r(r.P+r.F*(d||L),e,w);return w}},function(t,e,n){var i=n(11),r=n(65),o=n(17),s=n(22)("IE_PROTO"),l=function(){},u="prototype",a=function(){var t,e=n(33)("iframe"),i=o.length,r="<",s=">";for(e.style.display="none",n(58).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+s+"document.F=Object"+r+"/script"+s),t.close(),a=t.F;i--;)delete a[u][o[i]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(l[u]=i(t),n=new l,l[u]=null,n[s]=t):n=a(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(39),r=n(17).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(3),r=n(5),o=n(55)(!1),s=n(22)("IE_PROTO");t.exports=function(t,e){var n,l=r(t),u=0,a=[];for(n in l)n!=s&&i(l,n)&&a.push(n);for(;e.length>u;)i(l,n=e[u++])&&(~o(a,n)||a.push(n));return a}},function(t,e,n){t.exports=n(7)},function(t,e,n){var i=n(16);t.exports=function(t){return Object(i(t))}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={functional:!0,render:function(t,e){return e.props.optionFunction(t,e.props.option,e.props.label)},props:{optionFunction:{type:Function,required:!0},label:{required:!0},option:{}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=i(r),s=n(29),l=i(s),u=n(42),a=i(u);e.default={name:"vue-multiselect",components:{MultiselectOption:a.default},mixins:[o.default,l.default],props:{selectLabel:{type:String,default:"Press enter to select"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},limitText:{type:Function,default:function(t){return"and "+t+" more"}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},optionFunction:{type:Function,default:function(t,e,n){return t("span",{},n)}}},computed:{visibleValue:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""}}}},function(t,e,n){t.exports={default:n(49),__esModule:!0}},function(t,e,n){t.exports={default:n(50),__esModule:!0}},function(t,e,n){t.exports={default:n(51),__esModule:!0}},function(t,e,n){t.exports={default:n(52),__esModule:!0}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(44),o=i(r);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){n(74);var i=n(6).Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},function(t,e,n){n(75),t.exports=n(6).Object.keys},function(t,e,n){n(78),n(76),n(79),n(80),t.exports=n(6).Symbol},function(t,e,n){n(77),n(81),t.exports=n(27).f("iterator")},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var i=n(5),r=n(72),o=n(71);t.exports=function(t){return function(e,n,s){var l,u=i(e),a=r(u.length),c=o(s,a);if(t&&n!=n){for(;a>c;)if(l=u[c++],l!=l)return!0}else for(;a>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){var i=n(53);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(10),r=n(38),o=n(20);t.exports=function(t){var e=i(t),n=r.f;if(n)for(var s,l=n(t),u=o.f,a=0;l.length>a;)u.call(t,s=l[a++])&&e.push(s);return e}},function(t,e,n){t.exports=n(1).document&&document.documentElement},function(t,e,n){var i=n(32);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){var i=n(32);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){"use strict";var i=n(36),r=n(14),o=n(21),s={};n(7)(s,n(8)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var i=n(10),r=n(5);t.exports=function(t,e){for(var n,o=r(t),s=i(o),l=s.length,u=0;l>u;)if(o[n=s[u++]]===e)return n}},function(t,e,n){var i=n(15)("meta"),r=n(13),o=n(3),s=n(4).f,l=0,u=Object.isExtensible||function(){return!0},a=!n(9)(function(){return u(Object.preventExtensions({}))}),c=function(t){s(t,i,{value:{i:"O"+ ++l,w:{}}})},f=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!u(t))return"F";if(!e)return"E";c(t)}return t[i].i},p=function(t,e){if(!o(t,i)){if(!u(t))return!0;if(!e)return!1;c(t)}return t[i].w},d=function(t){return a&&h.NEED&&u(t)&&!o(t,i)&&c(t),t},h=t.exports={KEY:i,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(t,e,n){var i=n(4),r=n(11),o=n(10);t.exports=n(2)?Object.defineProperties:function(t,e){r(t);for(var n,s=o(e),l=s.length,u=0;l>u;)i.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var i=n(20),r=n(14),o=n(5),s=n(25),l=n(3),u=n(34),a=Object.getOwnPropertyDescriptor;e.f=n(2)?a:function(t,e){if(t=o(t),e=s(e,!0),u)try{return a(t,e)}catch(t){}if(l(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(5),r=n(37).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(t){try{return r(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?l(t):r(i(t))}},function(t,e,n){var i=n(3),r=n(41),o=n(22)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var i=n(12),r=n(6),o=n(9);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],s={};s[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var i=n(24),r=n(16);t.exports=function(t){return function(e,n){var o,s,l=String(r(e)),u=i(n),a=l.length;return u<0||u>=a?t?"":void 0:(o=l.charCodeAt(u),o<55296||o>56319||u+1===a||(s=l.charCodeAt(u+1))<56320||s>57343?t?l.charAt(u):o:t?l.slice(u,u+2):(o-55296<<10)+(s-56320)+65536)}}},function(t,e,n){var i=n(24),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(24),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){"use strict";var i=n(54),r=n(62),o=n(18),s=n(5);t.exports=n(35)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(12);i(i.S+i.F*!n(2),"Object",{defineProperty:n(4).f})},function(t,e,n){var i=n(41),r=n(10);n(69)("keys",function(){return function(t){return r(i(t))}})},function(t,e){},function(t,e,n){"use strict";var i=n(70)(!0);n(35)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var i=n(1),r=n(3),o=n(2),s=n(12),l=n(40),u=n(64).KEY,a=n(9),c=n(23),f=n(21),p=n(15),d=n(8),h=n(27),m=n(26),v=n(63),b=n(57),g=n(60),y=n(11),_=n(5),x=n(25),w=n(14),O=n(36),S=n(67),k=n(66),j=n(4),C=n(10),L=k.f,P=j.f,E=S.f,M=i.Symbol,T=i.JSON,A=T&&T.stringify,V="prototype",F=d("_hidden"),B=d("toPrimitive"),N={}.propertyIsEnumerable,$=c("symbol-registry"),D=c("symbols"),R=c("op-symbols"),I=Object[V],K="function"==typeof M,z=i.QObject,H=!z||!z[V]||!z[V].findChild,W=o&&a(function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=L(I,e);i&&delete I[e],P(t,e,n),i&&t!==I&&P(I,e,i)}:P,J=function(t){var e=D[t]=O(M[V]);return e._k=t,e},q=K&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},U=function(t,e,n){return t===I&&U(R,e,n),y(t),e=x(e,!0),y(n),r(D,e)?(n.enumerable?(r(t,F)&&t[F][e]&&(t[F][e]=!1),n=O(n,{enumerable:w(0,!1)})):(r(t,F)||P(t,F,w(1,{})),t[F][e]=!0),W(t,e,n)):P(t,e,n)},G=function(t,e){y(t);for(var n,i=b(e=_(e)),r=0,o=i.length;o>r;)U(t,n=i[r++],e[n]);return t},Y=function(t,e){return void 0===e?O(t):G(O(t),e)},Q=function(t){var e=N.call(this,t=x(t,!0));return!(this===I&&r(D,t)&&!r(R,t))&&(!(e||!r(this,t)||!r(D,t)||r(this,F)&&this[F][t])||e)},X=function(t,e){if(t=_(t),e=x(e,!0),t!==I||!r(D,e)||r(R,e)){var n=L(t,e);return!n||!r(D,e)||r(t,F)&&t[F][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=E(_(t)),i=[],o=0;n.length>o;)r(D,e=n[o++])||e==F||e==u||i.push(e);return i},tt=function(t){for(var e,n=t===I,i=E(n?R:_(t)),o=[],s=0;i.length>s;)!r(D,e=i[s++])||n&&!r(I,e)||o.push(D[e]);return o};K||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===I&&e.call(R,n),r(this,F)&&r(this[F],t)&&(this[F][t]=!1),W(this,t,w(1,n))};return o&&H&&W(I,t,{configurable:!0,set:e}),J(t)},l(M[V],"toString",function(){return this._k}),k.f=X,j.f=U,n(37).f=S.f=Z,n(20).f=Q,n(38).f=tt,o&&!n(19)&&l(I,"propertyIsEnumerable",Q,!0),h.f=function(t){return J(d(t))}),s(s.G+s.W+s.F*!K,{Symbol:M});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var et=C(d.store),nt=0;et.length>nt;)m(et[nt++]);s(s.S+s.F*!K,"Symbol",{for:function(t){return r($,t+="")?$[t]:$[t]=M(t)},keyFor:function(t){if(q(t))return v($,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){H=!0},useSimple:function(){H=!1}}),s(s.S+s.F*!K,"Object",{create:Y,defineProperty:U,defineProperties:G,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),T&&s(s.S+s.F*(!K||a(function(){var t=M();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!q(t)){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);return e=i[1],"function"==typeof e&&(n=e),!n&&g(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!q(e))return e}),i[1]=e,A.apply(T,i)}}}),M[V][B]||n(7)(M[V],B,M[V].valueOf),f(M,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},function(t,e,n){n(26)("asyncIterator")},function(t,e,n){n(26)("observable")},function(t,e,n){n(73);for(var i=n(1),r=n(7),o=n(18),s=n(8)("toStringTag"),l=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var a=l[u],c=i[a],f=c&&c.prototype;f&&!f[s]&&r(f,s,a),o[a]=o.Array}},function(t,e,n){e=t.exports=n(83)(),e.push([t.id,'fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{position:absolute;right:1px;top:1px;width:48px;height:35px;background:#fff;display:block}.multiselect__spinner:after,.multiselect__spinner:before{position:absolute;content:"";top:50%;left:50%;margin:-8px 0 0 -8px;width:16px;height:16px;border-radius:100%;border-color:#41b883 transparent transparent;border-style:solid;border-width:2px;box-shadow:0 0 0 1px transparent}.multiselect__spinner:before{animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation-iteration-count:infinite}.multiselect__spinner:after{animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{transition:opacity .4s ease-in-out;opacity:1}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:14px;touch-action:manipulation}.multiselect{box-sizing:content-box;display:block;position:relative;width:100%;min-height:40px;text-align:left;color:#35495e}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:none}.multiselect--disabled{pointer-events:none;opacity:.6}.multiselect--active{z-index:50}.multiselect--active .multiselect__current,.multiselect--active .multiselect__input,.multiselect--active .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect__input,.multiselect__single{position:relative;display:inline-block;min-height:20px;line-height:20px;border:none;border-radius:5px;background:#fff;padding:1px 0 0 5px;width:100%;transition:border .1s ease;box-sizing:border-box;margin-bottom:8px}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:none}.multiselect__single{padding-left:6px;margin-bottom:8px}.multiselect__tags{min-height:40px;display:block;padding:8px 40px 0 8px;border-radius:5px;border:1px solid #e8e8e8;background:#fff}.multiselect__tag{position:relative;display:inline-block;padding:4px 26px 4px 10px;border-radius:5px;margin-right:10px;color:#fff;line-height:1;background:#41b883;margin-bottom:8px;white-space:nowrap}.multiselect__tag-icon{cursor:pointer;margin-left:7px;position:absolute;right:0;top:0;bottom:0;font-weight:700;font-style:normal;width:22px;text-align:center;line-height:22px;transition:all .2s ease;border-radius:5px}.multiselect__tag-icon:after{content:"\\D7";color:#266d4d;font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{min-height:40px;overflow:hidden;padding:8px 12px 0;padding-right:30px;white-space:nowrap;border-radius:5px;border:1px solid #e8e8e8}.multiselect__current,.multiselect__select{line-height:16px;box-sizing:border-box;display:block;margin:0;text-decoration:none;cursor:pointer}.multiselect__select{position:absolute;width:40px;height:38px;right:1px;top:1px;padding:4px 8px;text-align:center;transition:transform .2s ease}.multiselect__select:before{position:relative;right:0;top:65%;color:#999;margin-top:4px;border-style:solid;border-width:5px 5px 0;border-color:#999 transparent transparent;content:""}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content{position:absolute;list-style:none;display:block;background:#fff;width:100%;max-height:240px;overflow:auto;padding:0;margin:0;border:1px solid #e8e8e8;border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;z-index:50}.multiselect__content::webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{display:block;padding:12px;min-height:40px;line-height:16px;text-decoration:none;text-transform:none;vertical-align:middle;position:relative;cursor:pointer;white-space:nowrap}.multiselect__option:after{top:0;right:0;position:absolute;line-height:40px;padding-right:12px;padding-left:20px}.multiselect__option--highlight{background:#41b883;outline:none;color:#fff}.multiselect__option--highlight:after{content:attr(data-select);background:#41b883;color:#fff}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{content:attr(data-selected);color:silver}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect--disabled{background:#ededed;pointer-events:none}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select,.multiselect__option--disabled{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{cursor:text;pointer-events:none}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede!important}.multiselect-enter-active,.multiselect-leave-active{transition:all .3s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}',""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},function(t,e,n){var i,r;n(87),i=n(43);var o=n(85);r=i=i||{},"object"!=typeof i.default&&"function"!=typeof i.default||(r=i=i.default),"function"==typeof r&&(r=r.options),r.render=o.render,r.staticRenderFns=o.staticRenderFns,t.exports=i},function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("div",{staticClass:"multiselect",class:{"multiselect--active":t.isOpen,"multiselect--disabled":t.disabled},attrs:{tabindex:t.searchable?-1:0},on:{focus:function(e){t.activate()},blur:function(e){!t.searchable&&t.deactivate()},keydown:[function(e){t._k(e.keyCode,"down",40)||e.target===e.currentTarget&&(e.preventDefault(),t.pointerForward())},function(e){t._k(e.keyCode,"up",38)||e.target===e.currentTarget&&(e.preventDefault(),t.pointerBackward())},function(e){t._k(e.keyCode,"enter",13)&&t._k(e.keyCode,"tab",9)||(e.stopPropagation(),e.target===e.currentTarget&&t.addPointerElement(e))}],keyup:function(e){t._k(e.keyCode,"esc",27)||t.deactivate()}}},[e("div",{staticClass:"multiselect__select",on:{mousedown:function(e){e.preventDefault(),t.toggle()}}}),t._v(" "),e("div",{ref:"tags",staticClass:"multiselect__tags"},[t._l(t.visibleValue,function(n){return e("span",{staticClass:"multiselect__tag",attrs:{onmousedown:"event.preventDefault()"}},[e("span",{domProps:{textContent:t._s(t.getOptionLabel(n))}}),t._v(" "),e("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keydown:function(e){t._k(e.keyCode,"enter",13)||(e.preventDefault(),t.removeElement(n))},mousedown:function(e){e.preventDefault(), | ||
t.removeElement(n)}}})])}),t._v(" "),t.internalValue&&t.internalValue.length>t.limit?[e("strong",{domProps:{textContent:t._s(t.limitText(t.internalValue.length-t.limit))}})]:t._e(),t._v(" "),e("transition",{attrs:{name:"multiselect__loading"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"multiselect__spinner"})]),t._v(" "),t.searchable?e("input",{ref:"search",staticClass:"multiselect__input",attrs:{type:"text",autocomplete:"off",placeholder:t.placeholder,disabled:t.disabled},domProps:{value:t.search},on:{input:function(e){t.updateSearch(e.target.value)},focus:function(e){e.preventDefault(),t.activate()},blur:function(e){e.preventDefault(),t.deactivate()},keyup:function(e){t._k(e.keyCode,"esc",27)||t.deactivate()},keydown:[function(e){t._k(e.keyCode,"down",40)||(e.preventDefault(),t.pointerForward())},function(e){t._k(e.keyCode,"up",38)||(e.preventDefault(),t.pointerBackward())},function(e){t._k(e.keyCode,"enter",13)&&t._k(e.keyCode,"tab",9)||(e.stopPropagation(),e.target===e.currentTarget&&t.addPointerElement(e))},function(e){t._k(e.keyCode,"delete",[8,46])||t.removeLastElement()}]}}):t._e(),t._v(" "),t.searchable?t._e():e("span",{staticClass:"multiselect__single",domProps:{textContent:t._s(t.currentOptionLabel||t.placeholder)}})],!0),t._v(" "),e("transition",{attrs:{name:"multiselect"}},[e("ul",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content",style:{maxHeight:t.maxHeight+"px"}},[t._t("beforeList"),t._v(" "),t.multiple&&t.max===t.internalValue.length?e("li",[e("span",{staticClass:"multiselect__option"},[t._t("maxElements",[t._v("Maximum of "+t._s(t.max)+" options selected. First remove a selected option to select another.")])],!0)]):t._e(),t._v(" "),!t.max||t.internalValue.length<t.max?t._l(t.filteredOptions,function(n,i){return e("li",{key:i,staticClass:"multiselect__element"},[n.$isLabel?t._e():e("span",{staticClass:"multiselect__option",class:t.optionHighlight(i,n),attrs:{tabindex:"0","data-select":n.isTag?t.tagPlaceholder:t.selectLabelText,"data-selected":t.selectedLabelText,"data-deselect":t.deselectLabelText},on:{mousedown:function(e){e.preventDefault(),t.select(n)},mouseenter:function(e){t.pointerSet(i)}}},[e("multiselect-option",{attrs:{"option-function":t.optionFunction,label:t.getOptionLabel(n),option:n}})]),t._v(" "),n.$isLabel?e("span",{staticClass:"multiselect__option multiselect__option--disabled",class:t.optionHighlight(i,n)},[t._v("\n "+t._s(n.$groupLabel)+"\n ")]):t._e()])}):t._e(),t._v(" "),e("li",{directives:[{name:"show",rawName:"v-show",value:0===t.filteredOptions.length&&t.search,expression:"filteredOptions.length === 0 && search"}]},[e("span",{staticClass:"multiselect__option"},[t._t("noResult",[t._v("No elements found. Consider changing the search query.")])],!0)]),t._v(" "),t._t("afterList")],!0)])])},staticRenderFns:[]}},function(t,e,n){function i(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=f[i.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](i.parts[o]);for(;o<i.parts.length;o++)r.parts.push(u(i.parts[o],e))}else{for(var s=[],o=0;o<i.parts.length;o++)s.push(u(i.parts[o],e));f[i.id]={id:i.id,refs:1,parts:s}}}}function r(t){for(var e=[],n={},i=0;i<t.length;i++){var r=t[i],o=r[0],s=r[1],l=r[2],u=r[3],a={css:s,media:l,sourceMap:u};n[o]?n[o].parts.push(a):e.push(n[o]={id:o,parts:[a]})}return e}function o(t,e){var n=h(),i=b[b.length-1];if("top"===t.insertAt)i?i.nextSibling?n.insertBefore(e,i.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),b.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function s(t){t.parentNode.removeChild(t);var e=b.indexOf(t);e>=0&&b.splice(e,1)}function l(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t,e){var n,i,r;if(e.singleton){var o=v++;n=m||(m=l(e)),i=a.bind(null,n,o,!1),r=a.bind(null,n,o,!0)}else n=l(e),i=c.bind(null,n),r=function(){s(n)};return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function a(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=g(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function c(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f={},p=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},d=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=p(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,v=0,b=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=d()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=r(t);return i(n,e),function(t){for(var o=[],s=0;s<n.length;s++){var l=n[s],u=f[l.id];u.refs--,o.push(u)}if(t){var a=r(t);i(a,e)}for(var s=0;s<o.length;s++){var u=o[s];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete f[u.id]}}}};var g=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){var i=n(82);"string"==typeof i&&(i=[[t.id,i,""]]);n(86)(i,{});i.locals&&(t.exports=i.locals)}])}); |
{ | ||
"name": "vue-multiselect", | ||
"version": "2.0.0-beta.10", | ||
"version": "2.0.0-beta.11", | ||
"description": "Multiselect component for vue.js", | ||
@@ -27,15 +27,2 @@ "author": "Damian Dulisz <damian.dulisz@monterail.com>", | ||
}, | ||
"browserify": { | ||
"transform": [ | ||
"vueify", | ||
[ | ||
"babelify", | ||
{ | ||
"presets": [ | ||
"es2015" | ||
] | ||
} | ||
] | ||
] | ||
}, | ||
"devDependencies": { | ||
@@ -95,7 +82,8 @@ "babel-core": "^6.7.7", | ||
"url-loader": "^0.5.7", | ||
"vue": "^2.0.0-rc.6", | ||
"vue": "2.1.6", | ||
"vue-hot-reload-api": "^1.2.0", | ||
"vue-html-loader": "^1.0.0", | ||
"vue-loader": "^9.3.2", | ||
"vue-loader": "^10.0.0", | ||
"vue-style-loader": "^1.0.0", | ||
"vue-template-compiler": "2.1.6", | ||
"webpack": "^1.13.0", | ||
@@ -102,0 +90,0 @@ "webpack-dev-middleware": "^1.4.0", |
@@ -26,2 +26,3 @@ # vue-multiselect ![Build Status](https://circleci.com/gh/monterail/vue-multiselect/tree/2.0.svg?style=shield&circle-token=5c931ff28fd12587610f835472becdd514d09cef) | ||
* `:selected` has changed to `:value` for the same reason | ||
* Browserify users: if you wish to import `.vue` files, please add `vueify` transform. | ||
@@ -28,0 +29,0 @@ ## Install & basic usage |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
758
467
80311
63
9