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

@progress/kendo-dropdowns-vue-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-dropdowns-vue-wrapper - npm Package Compare versions

Comparing version 2017.3.1026-dev.11021032 to 2017.3.1026-dev.11021043

22

dist/cdn/kendo-dropdowns-vue-wrapper.js

@@ -433,4 +433,3 @@ var KendoDropdownsVueWrapper =

if (childSlot.tag && childSlot.tag.indexOf(name) !== -1) {
var itemOptions = this.parseOptions(childSlot.componentInstance);
items.push(itemOptions);
items.push(childSlot.componentOptions.propsData);
}

@@ -474,19 +473,20 @@ }

},
parseOptions: function parseOptions(component) {
var that = component || this;
parseOptions: function parseOptions() {
var _this = this;
var options = {};
for (var key in that.$options.propsData) {
var propOptions = that.$options.props[key];
for (var key in this.$options.propsData) {
var propOptions = this.$options.props[key];
var compositeProps = propOptions.kComposite;
if (!compositeProps) {
options[key] = that.$options.propsData[key];
options[key] = this.$options.propsData[key];
} else {
this.addCompositeProperty(options, compositeProps.split('.'), that.$props[key]);
this.addCompositeProperty(options, compositeProps.split('.'), this.$props[key]);
}
}
Object.keys(that.$props).forEach(function (event) {
if (that.$listeners && that.$listeners[event.toLowerCase()]) {
options[event] = that.$listeners[event.toLowerCase()];
Object.keys(this.$props).forEach(function (event) {
if (_this.$listeners && _this.$listeners[event.toLowerCase()]) {
options[event] = _this.$listeners[event.toLowerCase()];
}

@@ -493,0 +493,0 @@ });

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

var KendoDropdownsVueWrapper=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.KendoBaseInputComponent=t.KendoBaseDatasourceComponent=t.KendoBaseComponent=void 0;var i=n(10),a=o(i),r=n(11),u=o(r),d=n(12),l=o(d);t.KendoBaseComponent=a.default,t.KendoBaseDatasourceComponent=u.default,t.KendoBaseInputComponent=l.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{animationCloseEffects:{type:String,kComposite:"animation.close.effects"},animationCloseDuration:{type:Number,kComposite:"animation.close.duration"},animationOpenEffects:{type:String,kComposite:"animation.open.effects"},animationOpenDuration:{type:Number,kComposite:"animation.open.duration"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{virtualItemHeight:{type:Number,kComposite:"virtual.itemHeight"},virtualMapValueTo:{type:String,kComposite:"virtual.mapValueTo"},virtualValueMapper:{type:Function,kComposite:"virtual.valueMapper"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{popupAppendTo:{type:String,kComposite:"popup.appendTo"},popupOrigin:{type:String,kComposite:"popup.origin"},popupPosition:{type:String,kComposite:"popup.position"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default={name:"kendo-autocomplete",mixins:[i.default]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(14),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default={name:"kendo-dropdownlist",mixins:[i.default]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(16),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default={name:"kendo-combobox",mixins:[i.default]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default={name:"kendo-multiselect",mixins:[i.default]}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.KendoDropdownsInstaller=t.KendoMultiSelect=t.KendoComboBox=t.KendoDropDownList=t.KendoAutoComplete=void 0;var i=n(4),a=o(i),r=n(5),u=o(r),d=n(6),l=o(d),s=n(7),c=o(s),p=n(20),f=o(p);t.KendoAutoComplete=a.default,t.KendoDropDownList=u.default,t.KendoComboBox=l.default,t.KendoMultiSelect=c.default,t.KendoDropdownsInstaller=f.default},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(13),r=o(a),u=n(1),d=o(u),l=n(2),s=o(l);t.default={props:r.default,template:'<div><input ref="kendoautocomplete"/><slot name="kendo-datasource"></slot></div>',mixins:[i.KendoBaseComponent,i.KendoBaseDatasourceComponent,d.default,s.default],model:{event:"changemodel"},mounted:function(){var e=this,t=e.$refs.kendoautocomplete||e.$el;kendo.jQuery(t).kendoAutoComplete(e.widgetOptions),e.$emit("kendowidgetready",e.kendoWidget()),e.kendoWidget().bind("change",function(){e.$emit("changemodel",t.value)})},methods:{kendoWidget:function(){var e=this.$refs.kendoautocomplete||this.$el;return kendo.jQuery(e).getKendoAutoComplete()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default={template:"<div></div>",props:{disabled:Boolean,readonly:Boolean},created:function(){this.resolveWidgetOptions(),this.$on("kendowidgetready",this.ready)},beforeDestroy:function(){this.kendoWidget()&&this.kendoWidget().destroy&&this.kendoWidget().destroy()},mounted:function(){for(var e in this.$options.propsData){var t=this;"value"===e?t.$watch(e,function(e){t.changeValue(e)}):"disabled"===e?t.$watch(e,function(e){t.makeDisabled(e)}):"readonly"===e?t.$watch(e,function(e){t.makeReadonly(e)}):t.$watch(e,function(){t.resolveWidgetOptions(),t.kendoWidget().setOptions&&t.kendoWidget().setOptions(t.widgetOptions)})}},methods:{resolveChildren:function(e,t){if(!this.widgetOptions[e]&&this.$slots.default){var n=[],o=!0,i=!1,a=void 0;try{for(var r,u=this.$slots.default[Symbol.iterator]();!(o=(r=u.next()).done);o=!0){var d=r.value;if(d.tag&&-1!==d.tag.indexOf(t)){var l=this.parseOptions(d.componentInstance);n.push(l)}}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}this.widgetOptions[e]=n}},makeDisabled:function(e){this.kendoWidget().enable&&this.kendoWidget().enable(!e)},makeReadonly:function(e){this.kendoWidget().readonly&&this.kendoWidget().readonly(e)},changeValue:function(e){this.kendoWidget().value&&this.kendoWidget().value(e)},resolveWidgetOptions:function(){this.widgetOptions=this.parseOptions()},parseOptions:function(e){var t=e||this,n={};for(var o in t.$options.propsData){var i=t.$options.props[o],a=i.kComposite;a?this.addCompositeProperty(n,a.split("."),t.$props[o]):n[o]=t.$options.propsData[o]}return Object.keys(t.$props).forEach(function(e){t.$listeners&&t.$listeners[e.toLowerCase()]&&(n[e]=t.$listeners[e.toLowerCase()])}),n},addCompositeProperty:function(e,t,n){var i=t.pop();t.reduce(function(e,t){return e[t]="object"===o(e[t])?e[t]||{}:{},e[t]},e)[i]=n},ready:function(){this.$options.propsData.disabled&&this.makeDisabled(!0),this.$options.propsData.readonly&&this.makeReadonly(!0),kendo.jQuery(this.$el).find(".k-v-delete").remove()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={template:"<div></div>",props:{dataSourceRef:String},methods:{findDataSource:function(){var e,t=!0,n=!1,o=void 0;try{for(var i,a=this.$children[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var r=i.value;if(this.$children.length&&r.kendoDataSource){e=r.kendoDataSource;break}}}catch(e){n=!0,o=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}return e},setInnerDataSource:function(){var e=this.findDataSource();if(e)this.widgetOptions.dataSource=e;else{var t=this.$parent.$refs[this.dataSourceRef];t&&(this.attachEvents(t),this.widgetOptions.dataSource=t.kendoDataSource)}},setDataSource:function(e){var t=this.$parent.$refs[e];this.kendoWidget().setDataSource&&t&&this.kendoWidget().setDataSource(t.kendoDataSource)},attachEvents:function(e){e.kendoDataSource&&(e.kendoDataSource.bind("change",function(t){e.$emit("change",t)}),e.kendoDataSource.bind("error",function(t){e.$emit("error",t)}),e.kendoDataSource.bind("push",function(t){e.$emit("push",t)}),e.kendoDataSource.bind("requestEnd",function(t){e.$emit("requestend",t)}),e.kendoDataSource.bind("requestStart",function(t){e.$emit("requeststart",t)}),e.kendoDataSource.bind("sync",function(t){e.$emit("sync",t)}))}},mounted:function(){var e=this;e.$watch("dataSourceRef",function(t){e.setDataSource(t)}),e.$watch("dataSource",function(t){e.setDataSource(t)}),e.setInnerDataSource()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={template:'<input ref="valueInput" :value="value" />',model:{event:"changemodel"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={animation:Boolean|Object,autoWidth:Boolean,dataSource:Object|Array,clearButton:Boolean,dataTextField:String,delay:Number,enable:Boolean,enforceMinLength:Boolean,filter:String,fixedGroupTemplate:String|Function,footerTemplate:String|Function,groupTemplate:String|Function,height:Number,highlightFirst:Boolean,ignoreCase:Boolean,minLength:Number,noDataTemplate:String|Function,placeholder:String,popup:Object,separator:String|Array,suggest:Boolean,headerTemplate:String|Function,template:String|Function,value:String,valuePrimitive:Boolean,virtual:Boolean|Object,change:Function,close:Function,dataBound:Function,filtering:Function,open:Function,select:Function}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(15),r=o(a),u=n(1),d=o(u),l=n(3),s=o(l),c=n(2),p=o(c);t.default={props:r.default,template:'<div><input ref="kendodropdownlist"/><slot name="kendo-datasource"></slot></div>',mixins:[i.KendoBaseComponent,i.KendoBaseDatasourceComponent,d.default,s.default,p.default],model:{event:"changemodel"},mounted:function(){var e=this,t=e.$el||e.$refs.kendodropdownlist;kendo.jQuery(t).kendoDropDownList(e.widgetOptions),e.$emit("kendowidgetready",e.kendoWidget()),e.kendoWidget().bind("change",function(){e.$emit("changemodel",t.value)})},methods:{kendoWidget:function(){var e=this.$el||this.$refs.kendodropdownlist;return kendo.jQuery(e).getKendoDropDownList()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={animation:Boolean|Object,autoBind:Boolean,autoWidth:Boolean,cascadeFrom:String,cascadeFromField:String,dataSource:Object|Array,dataTextField:String,dataValueField:String,delay:Number,enable:Boolean,enforceMinLength:Boolean,filter:String,fixedGroupTemplate:String|Function,footerTemplate:String|Function,groupTemplate:String|Function,height:Number,ignoreCase:Boolean,index:Number,minLength:Number,noDataTemplate:String|Function,popup:Object,optionLabel:String|Object,optionLabelTemplate:String|Function,headerTemplate:String|Function,template:String|Function,valueTemplate:String|Function,text:String,value:String,valuePrimitive:Boolean,virtual:Boolean|Object,change:Function,close:Function,dataBound:Function,filtering:Function,open:Function,select:Function,cascade:Function}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(17),r=o(a),u=n(1),d=o(u),l=n(3),s=o(l),c=n(2),p=o(c);t.default={template:'<div><input ref="kendocombobox"/><slot name="kendo-datasource"></slot></div>',props:r.default,mixins:[i.KendoBaseComponent,i.KendoBaseDatasourceComponent,d.default,s.default,p.default],model:{event:"changemodel"},mounted:function(){var e=this,t=e.$el||e.$refs.kendocombobox;kendo.jQuery(t).kendoComboBox(e.widgetOptions),e.$emit("kendowidgetready",e.kendoWidget()),e.kendoWidget().bind("change",function(){e.$emit("changemodel",t.value)})},methods:{kendoWidget:function(){var e=this.$el||this.$refs.kendocombobox;return kendo.jQuery(e).getKendoComboBox()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={animation:Object,autoBind:Boolean,autoWidth:Boolean,cascadeFrom:String,cascadeFromField:String,clearButton:Boolean,dataSource:Object|Array,dataTextField:String,dataValueField:String,delay:Number,enable:Boolean,enforceMinLength:Boolean,filter:String,fixedGroupTemplate:String|Function,footerTemplate:String|Function,groupTemplate:String|Function,height:Number,highlightFirst:Boolean,ignoreCase:Boolean,index:Number,minLength:Number,noDataTemplate:String|Function,placeholder:String,popup:Object,suggest:Boolean,syncValueAndText:Boolean,headerTemplate:String|Function,template:String|Function,text:String,value:String,valuePrimitive:Boolean,virtual:Boolean|Object,change:Function,close:Function,dataBound:Function,filtering:Function,open:Function,select:Function,cascade:Function}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(19),r=o(a),u=n(1),d=o(u),l=n(3),s=o(l),c=n(2),p=o(c);t.default={props:r.default,template:'<div><select ref="kendomultiselect"/><slot name="kendo-datasource"></slot></div>',mixins:[i.KendoBaseComponent,i.KendoBaseDatasourceComponent,d.default,s.default,p.default],mounted:function(){var e=this,t=e.$refs.kendomultiselect||e.$el;kendo.jQuery(t).kendoMultiSelect(e.widgetOptions),e.$emit("kendowidgetready",e.kendoWidget()),e.kendoWidget().bind("change",function(){e.$emit("changemodel",e.kendoWidget().value())})},methods:{kendoWidget:function(){var e=this.$refs.kendomultiselect||this.$el;return kendo.jQuery(e).getKendoMultiSelect()}},model:{event:"changemodel"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={animation:Boolean|Object,autoBind:Boolean,autoClose:Boolean,autoWidth:Boolean,clearButton:Boolean,dataSource:Object|Array,dataTextField:String,dataValueField:String,delay:Number,enable:Boolean,enforceMinLength:Boolean,filter:String,fixedGroupTemplate:String|Function,footerTemplate:String|Function,groupTemplate:String|Function,height:Number,highlightFirst:Boolean,ignoreCase:Boolean,minLength:Number,maxSelectedItems:Number,noDataTemplate:String|Function,placeholder:String,popup:Object,headerTemplate:String|Function,itemTemplate:String|Function,tagTemplate:String|Function,tagMode:String,value:Array,valuePrimitive:Boolean,virtual:Boolean|Object,change:Function,close:Function,dataBound:Function,filtering:Function,open:Function,select:Function,deselect:Function}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n(4),u=o(r),d=n(5),l=o(d),s=n(6),c=o(s),p=n(7),f=o(p),m=function(){function e(){i(this,e)}return a(e,null,[{key:"install",value:function(e){e.component(u.default.name,u.default),e.component(l.default.name,l.default),e.component(c.default.name,c.default),e.component(f.default.name,f.default)}}]),e}();t.default=m,"undefined"!=typeof window&&window.Vue&&window.Vue.use(m)}]);
var KendoDropdownsVueWrapper=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.KendoBaseInputComponent=t.KendoBaseDatasourceComponent=t.KendoBaseComponent=void 0;var i=n(10),a=o(i),r=n(11),u=o(r),d=n(12),l=o(d);t.KendoBaseComponent=a.default,t.KendoBaseDatasourceComponent=u.default,t.KendoBaseInputComponent=l.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{animationCloseEffects:{type:String,kComposite:"animation.close.effects"},animationCloseDuration:{type:Number,kComposite:"animation.close.duration"},animationOpenEffects:{type:String,kComposite:"animation.open.effects"},animationOpenDuration:{type:Number,kComposite:"animation.open.duration"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{virtualItemHeight:{type:Number,kComposite:"virtual.itemHeight"},virtualMapValueTo:{type:String,kComposite:"virtual.mapValueTo"},virtualValueMapper:{type:Function,kComposite:"virtual.valueMapper"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{popupAppendTo:{type:String,kComposite:"popup.appendTo"},popupOrigin:{type:String,kComposite:"popup.origin"},popupPosition:{type:String,kComposite:"popup.position"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default={name:"kendo-autocomplete",mixins:[i.default]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(14),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default={name:"kendo-dropdownlist",mixins:[i.default]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(16),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default={name:"kendo-combobox",mixins:[i.default]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default={name:"kendo-multiselect",mixins:[i.default]}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.KendoDropdownsInstaller=t.KendoMultiSelect=t.KendoComboBox=t.KendoDropDownList=t.KendoAutoComplete=void 0;var i=n(4),a=o(i),r=n(5),u=o(r),d=n(6),l=o(d),s=n(7),c=o(s),p=n(20),f=o(p);t.KendoAutoComplete=a.default,t.KendoDropDownList=u.default,t.KendoComboBox=l.default,t.KendoMultiSelect=c.default,t.KendoDropdownsInstaller=f.default},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(13),r=o(a),u=n(1),d=o(u),l=n(2),s=o(l);t.default={props:r.default,template:'<div><input ref="kendoautocomplete"/><slot name="kendo-datasource"></slot></div>',mixins:[i.KendoBaseComponent,i.KendoBaseDatasourceComponent,d.default,s.default],model:{event:"changemodel"},mounted:function(){var e=this,t=e.$refs.kendoautocomplete||e.$el;kendo.jQuery(t).kendoAutoComplete(e.widgetOptions),e.$emit("kendowidgetready",e.kendoWidget()),e.kendoWidget().bind("change",function(){e.$emit("changemodel",t.value)})},methods:{kendoWidget:function(){var e=this.$refs.kendoautocomplete||this.$el;return kendo.jQuery(e).getKendoAutoComplete()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default={template:"<div></div>",props:{disabled:Boolean,readonly:Boolean},created:function(){this.resolveWidgetOptions(),this.$on("kendowidgetready",this.ready)},beforeDestroy:function(){this.kendoWidget()&&this.kendoWidget().destroy&&this.kendoWidget().destroy()},mounted:function(){for(var e in this.$options.propsData){var t=this;"value"===e?t.$watch(e,function(e){t.changeValue(e)}):"disabled"===e?t.$watch(e,function(e){t.makeDisabled(e)}):"readonly"===e?t.$watch(e,function(e){t.makeReadonly(e)}):t.$watch(e,function(){t.resolveWidgetOptions(),t.kendoWidget().setOptions&&t.kendoWidget().setOptions(t.widgetOptions)})}},methods:{resolveChildren:function(e,t){if(!this.widgetOptions[e]&&this.$slots.default){var n=[],o=!0,i=!1,a=void 0;try{for(var r,u=this.$slots.default[Symbol.iterator]();!(o=(r=u.next()).done);o=!0){var d=r.value;d.tag&&-1!==d.tag.indexOf(t)&&n.push(d.componentOptions.propsData)}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}this.widgetOptions[e]=n}},makeDisabled:function(e){this.kendoWidget().enable&&this.kendoWidget().enable(!e)},makeReadonly:function(e){this.kendoWidget().readonly&&this.kendoWidget().readonly(e)},changeValue:function(e){this.kendoWidget().value&&this.kendoWidget().value(e)},resolveWidgetOptions:function(){this.widgetOptions=this.parseOptions()},parseOptions:function(){var e=this,t={};for(var n in this.$options.propsData){var o=this.$options.props[n],i=o.kComposite;i?this.addCompositeProperty(t,i.split("."),this.$props[n]):t[n]=this.$options.propsData[n]}return Object.keys(this.$props).forEach(function(n){e.$listeners&&e.$listeners[n.toLowerCase()]&&(t[n]=e.$listeners[n.toLowerCase()])}),t},addCompositeProperty:function(e,t,n){var i=t.pop();t.reduce(function(e,t){return e[t]="object"===o(e[t])?e[t]||{}:{},e[t]},e)[i]=n},ready:function(){this.$options.propsData.disabled&&this.makeDisabled(!0),this.$options.propsData.readonly&&this.makeReadonly(!0),kendo.jQuery(this.$el).find(".k-v-delete").remove()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={template:"<div></div>",props:{dataSourceRef:String},methods:{findDataSource:function(){var e,t=!0,n=!1,o=void 0;try{for(var i,a=this.$children[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var r=i.value;if(this.$children.length&&r.kendoDataSource){e=r.kendoDataSource;break}}}catch(e){n=!0,o=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}return e},setInnerDataSource:function(){var e=this.findDataSource();if(e)this.widgetOptions.dataSource=e;else{var t=this.$parent.$refs[this.dataSourceRef];t&&(this.attachEvents(t),this.widgetOptions.dataSource=t.kendoDataSource)}},setDataSource:function(e){var t=this.$parent.$refs[e];this.kendoWidget().setDataSource&&t&&this.kendoWidget().setDataSource(t.kendoDataSource)},attachEvents:function(e){e.kendoDataSource&&(e.kendoDataSource.bind("change",function(t){e.$emit("change",t)}),e.kendoDataSource.bind("error",function(t){e.$emit("error",t)}),e.kendoDataSource.bind("push",function(t){e.$emit("push",t)}),e.kendoDataSource.bind("requestEnd",function(t){e.$emit("requestend",t)}),e.kendoDataSource.bind("requestStart",function(t){e.$emit("requeststart",t)}),e.kendoDataSource.bind("sync",function(t){e.$emit("sync",t)}))}},mounted:function(){var e=this;e.$watch("dataSourceRef",function(t){e.setDataSource(t)}),e.$watch("dataSource",function(t){e.setDataSource(t)}),e.setInnerDataSource()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={template:'<input ref="valueInput" :value="value" />',model:{event:"changemodel"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={animation:Boolean|Object,autoWidth:Boolean,dataSource:Object|Array,clearButton:Boolean,dataTextField:String,delay:Number,enable:Boolean,enforceMinLength:Boolean,filter:String,fixedGroupTemplate:String|Function,footerTemplate:String|Function,groupTemplate:String|Function,height:Number,highlightFirst:Boolean,ignoreCase:Boolean,minLength:Number,noDataTemplate:String|Function,placeholder:String,popup:Object,separator:String|Array,suggest:Boolean,headerTemplate:String|Function,template:String|Function,value:String,valuePrimitive:Boolean,virtual:Boolean|Object,change:Function,close:Function,dataBound:Function,filtering:Function,open:Function,select:Function}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(15),r=o(a),u=n(1),d=o(u),l=n(3),s=o(l),c=n(2),p=o(c);t.default={props:r.default,template:'<div><input ref="kendodropdownlist"/><slot name="kendo-datasource"></slot></div>',mixins:[i.KendoBaseComponent,i.KendoBaseDatasourceComponent,d.default,s.default,p.default],model:{event:"changemodel"},mounted:function(){var e=this,t=e.$el||e.$refs.kendodropdownlist;kendo.jQuery(t).kendoDropDownList(e.widgetOptions),e.$emit("kendowidgetready",e.kendoWidget()),e.kendoWidget().bind("change",function(){e.$emit("changemodel",t.value)})},methods:{kendoWidget:function(){var e=this.$el||this.$refs.kendodropdownlist;return kendo.jQuery(e).getKendoDropDownList()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={animation:Boolean|Object,autoBind:Boolean,autoWidth:Boolean,cascadeFrom:String,cascadeFromField:String,dataSource:Object|Array,dataTextField:String,dataValueField:String,delay:Number,enable:Boolean,enforceMinLength:Boolean,filter:String,fixedGroupTemplate:String|Function,footerTemplate:String|Function,groupTemplate:String|Function,height:Number,ignoreCase:Boolean,index:Number,minLength:Number,noDataTemplate:String|Function,popup:Object,optionLabel:String|Object,optionLabelTemplate:String|Function,headerTemplate:String|Function,template:String|Function,valueTemplate:String|Function,text:String,value:String,valuePrimitive:Boolean,virtual:Boolean|Object,change:Function,close:Function,dataBound:Function,filtering:Function,open:Function,select:Function,cascade:Function}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(17),r=o(a),u=n(1),d=o(u),l=n(3),s=o(l),c=n(2),p=o(c);t.default={template:'<div><input ref="kendocombobox"/><slot name="kendo-datasource"></slot></div>',props:r.default,mixins:[i.KendoBaseComponent,i.KendoBaseDatasourceComponent,d.default,s.default,p.default],model:{event:"changemodel"},mounted:function(){var e=this,t=e.$el||e.$refs.kendocombobox;kendo.jQuery(t).kendoComboBox(e.widgetOptions),e.$emit("kendowidgetready",e.kendoWidget()),e.kendoWidget().bind("change",function(){e.$emit("changemodel",t.value)})},methods:{kendoWidget:function(){var e=this.$el||this.$refs.kendocombobox;return kendo.jQuery(e).getKendoComboBox()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={animation:Object,autoBind:Boolean,autoWidth:Boolean,cascadeFrom:String,cascadeFromField:String,clearButton:Boolean,dataSource:Object|Array,dataTextField:String,dataValueField:String,delay:Number,enable:Boolean,enforceMinLength:Boolean,filter:String,fixedGroupTemplate:String|Function,footerTemplate:String|Function,groupTemplate:String|Function,height:Number,highlightFirst:Boolean,ignoreCase:Boolean,index:Number,minLength:Number,noDataTemplate:String|Function,placeholder:String,popup:Object,suggest:Boolean,syncValueAndText:Boolean,headerTemplate:String|Function,template:String|Function,text:String,value:String,valuePrimitive:Boolean,virtual:Boolean|Object,change:Function,close:Function,dataBound:Function,filtering:Function,open:Function,select:Function,cascade:Function}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(19),r=o(a),u=n(1),d=o(u),l=n(3),s=o(l),c=n(2),p=o(c);t.default={props:r.default,template:'<div><select ref="kendomultiselect"/><slot name="kendo-datasource"></slot></div>',mixins:[i.KendoBaseComponent,i.KendoBaseDatasourceComponent,d.default,s.default,p.default],mounted:function(){var e=this,t=e.$refs.kendomultiselect||e.$el;kendo.jQuery(t).kendoMultiSelect(e.widgetOptions),e.$emit("kendowidgetready",e.kendoWidget()),e.kendoWidget().bind("change",function(){e.$emit("changemodel",e.kendoWidget().value())})},methods:{kendoWidget:function(){var e=this.$refs.kendomultiselect||this.$el;return kendo.jQuery(e).getKendoMultiSelect()}},model:{event:"changemodel"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={animation:Boolean|Object,autoBind:Boolean,autoClose:Boolean,autoWidth:Boolean,clearButton:Boolean,dataSource:Object|Array,dataTextField:String,dataValueField:String,delay:Number,enable:Boolean,enforceMinLength:Boolean,filter:String,fixedGroupTemplate:String|Function,footerTemplate:String|Function,groupTemplate:String|Function,height:Number,highlightFirst:Boolean,ignoreCase:Boolean,minLength:Number,maxSelectedItems:Number,noDataTemplate:String|Function,placeholder:String,popup:Object,headerTemplate:String|Function,itemTemplate:String|Function,tagTemplate:String|Function,tagMode:String,value:Array,valuePrimitive:Boolean,virtual:Boolean|Object,change:Function,close:Function,dataBound:Function,filtering:Function,open:Function,select:Function,deselect:Function}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n(4),u=o(r),d=n(5),l=o(d),s=n(6),c=o(s),p=n(7),f=o(p),m=function(){function e(){i(this,e)}return a(e,null,[{key:"install",value:function(e){e.component(u.default.name,u.default),e.component(l.default.name,l.default),e.component(c.default.name,c.default),e.component(f.default.name,f.default)}}]),e}();t.default=m,"undefined"!=typeof window&&window.Vue&&window.Vue.use(m)}]);
//# sourceMappingURL=kendo-dropdowns-vue-wrapper.min.js.map
{
"name": "@progress/kendo-dropdowns-vue-wrapper",
"version": "2017.3.1026-dev.11021032",
"version": "2017.3.1026-dev.11021043",
"description": "Kendo UI DropDowns wrapper for Vue.js",

@@ -30,3 +30,3 @@ "main": "./dist/npm/index.js",

"dependencies": {
"@progress/kendo-base-components-vue-wrapper": "2017.3.1026-dev.11021032"
"@progress/kendo-base-components-vue-wrapper": "2017.3.1026-dev.11021043"
},

@@ -33,0 +33,0 @@ "peerDependencies": {

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