diff --git a/dist/amd/aurelia-kendoui-bridge.d.ts b/dist/amd/aurelia-kendoui-bridge.d.ts index 16b607f2..42abf7dc 100644 --- a/dist/amd/aurelia-kendoui-bridge.d.ts +++ b/dist/amd/aurelia-kendoui-bridge.d.ts @@ -1,7 +1,3 @@ -declare module 'aurelia-binding' { -export class Lexer {} -export class ParserImplementation {} -} declare module 'aurelia-kendoui-bridge' { import 'jquery'; import * as LogManager from 'aurelia-logging'; @@ -32,9 +28,7 @@ declare module 'aurelia-kendoui-bridge' { import { bindingMode, EventManager, - createOverrideContext, - Lexer, - ParserImplementation + createOverrideContext } from 'aurelia-binding'; import { TaskQueue @@ -117,8 +111,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.slider.min'; import 'kendo.sortable.min'; import 'kendo.splitter.min'; - import 'kendo.spreadsheet.min'; import 'kendo.mobile.switch.min'; + import 'kendo.spreadsheet.min'; import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; @@ -453,20 +447,6 @@ declare module 'aurelia-kendoui-bridge' { */ cleanupView(element?: any): any; } - export class TemplateGatherer { - controlProperties: ControlProperties; - constructor(controlProperties: ControlProperties, util: Util, config: KendoConfigBuilder); - - /*** - * parses array of ak-template view-models (@children) - * - * this function sets the property 'test' on the viewmodel to the template - * @param target the viewModel with template properties - * @param kendoGrid or GridColumn, properties are retrieved from bindables.js - * @param templates array of ak-template view-models - */ - useTemplates(target?: any, controlName?: any, templates?: any): any; - } export class Template { template: any; for: any; @@ -935,20 +915,20 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Spreadsheet { + export class Switch { + kEnabled: any; constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } - export class Switch { - kEnabled: any; + export class Spreadsheet { constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class TabStrip { diff --git a/dist/aurelia-kendoui-bridge.d.ts b/dist/aurelia-kendoui-bridge.d.ts index f9a5366b..42abf7dc 100644 --- a/dist/aurelia-kendoui-bridge.d.ts +++ b/dist/aurelia-kendoui-bridge.d.ts @@ -28,9 +28,7 @@ declare module 'aurelia-kendoui-bridge' { import { bindingMode, EventManager, - createOverrideContext, - Lexer, - ParserImplementation + createOverrideContext } from 'aurelia-binding'; import { TaskQueue @@ -113,8 +111,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.slider.min'; import 'kendo.sortable.min'; import 'kendo.splitter.min'; - import 'kendo.spreadsheet.min'; import 'kendo.mobile.switch.min'; + import 'kendo.spreadsheet.min'; import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; @@ -449,20 +447,6 @@ declare module 'aurelia-kendoui-bridge' { */ cleanupView(element?: any): any; } - export class TemplateGatherer { - controlProperties: ControlProperties; - constructor(controlProperties: ControlProperties, util: Util, config: KendoConfigBuilder); - - /*** - * parses array of ak-template view-models (@children) - * - * this function sets the property 'test' on the viewmodel to the template - * @param target the viewModel with template properties - * @param kendoGrid or GridColumn, properties are retrieved from bindables.js - * @param templates array of ak-template view-models - */ - useTemplates(target?: any, controlName?: any, templates?: any): any; - } export class Template { template: any; for: any; @@ -931,20 +915,20 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Spreadsheet { + export class Switch { + kEnabled: any; constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } - export class Switch { - kEnabled: any; + export class Spreadsheet { constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class TabStrip { diff --git a/dist/aurelia-kendoui-bridge.js b/dist/aurelia-kendoui-bridge.js index b4542da4..3bb3479a 100644 --- a/dist/aurelia-kendoui-bridge.js +++ b/dist/aurelia-kendoui-bridge.js @@ -4,7 +4,7 @@ import {RepeatStrategyLocator,ArrayRepeatStrategy} from 'aurelia-templating-reso import {inject,Container,transient} from 'aurelia-dependency-injection'; import {customElement,ViewResources,customAttribute,bindable,BindableProperty,HtmlBehaviorResource,TemplatingEngine,noView,processContent,TargetInstruction} from 'aurelia-templating'; import {metadata} from 'aurelia-metadata'; -import {bindingMode,EventManager,createOverrideContext,Lexer,ParserImplementation} from 'aurelia-binding'; +import {bindingMode,EventManager,createOverrideContext} from 'aurelia-binding'; import {TaskQueue} from 'aurelia-task-queue'; /** @@ -1360,77 +1360,6 @@ export class TemplateCompiler { } } -@inject(ControlProperties, Util, KendoConfigBuilder) -export class TemplateGatherer { - - controlProperties: ControlProperties; - - constructor(controlProperties: ControlProperties, util: Util, config: KendoConfigBuilder) { - this.controlProperties = controlProperties; - this.config = config; - this.util = util; - } - - /*** - * parses array of ak-template view-models (@children) - * - * this function sets the property 'test' on the viewmodel to the template - * @param target the viewModel with template properties - * @param kendoGrid or GridColumn, properties are retrieved from bindables.js - * @param templates array of ak-template view-models - */ - useTemplates(target, controlName, templates) { - let templateProps = this.controlProperties.getTemplateProperties(controlName); - - if (!templates) { - templates = []; - } - - templates.forEach(c => { - if (!c.for) { - throw new Error('Templating support is not enabled. Call .kendoTemplateSupport() in main.js or import common/template via require'); - } - - if (templateProps.indexOf(c.for) === -1) { - if (c.for.indexOf('.') === -1) { - throw new Error('Invalid template property name: "' + c.for + '", valid values are: ' + templateProps.join(', ')); - } - } - - if (this.util.hasValue(c.template)) { - let template = c.template; - - if (this.config.templateCallback) { - template = this.config.templateCallback(target, c, c.template); - } - - // now we must parse the expression inside for="" on the ak-template - // and set the template on the wrapper object - // get a ParserImplementation for the expression inside for="editable.template" - let parser = new ParserImplementation(new Lexer(), c.for); - // get the expression (generates a tree of AccessMembers) - let expression = parser.parseExpression(); - // when the user uses "editable.template" it must be set as "kEditable.template" - // so here we iterate through the tree until we get to the last object (the first part of the expression) - let iterator = expression; - while (iterator) { - if (!iterator.object) { - // convert "editable" to "kEditable" - iterator.name = this.util.getBindablePropertyName(iterator.name); - } - iterator = iterator.object; - } - // get the scope of the widget instance - let scope = createOverrideContext(target, {}); - // set the value on the object based on the expression - // so if the expression is "a.b.c" and the template is "abcd" - // it will set { a: { b: { c: 'abcd' }}} - expression.assign(scope, c.kendoTemplate ? template : () => template); - } - }); - } -} - @customElement(`${constants.elementPrefix}template`) @noView() @processContent((compiler, resources, element, instruction) => { @@ -3478,18 +3407,22 @@ export class Splitter { } } -import 'kendo.spreadsheet.min'; +import 'kendo.mobile.switch.min'; -@customElement(`${constants.elementPrefix}spreadsheet`) -@generateBindables('kendoSpreadsheet') +@customAttribute(`${constants.attributePrefix}switch`) +@generateBindables('kendoMobileSwitch') @inject(Element, WidgetBase) -export class Spreadsheet { +export class Switch { + + @bindable kEnabled; constructor(element, widgetBase) { this.element = element; this.widgetBase = widgetBase - .control('kendoSpreadsheet') - .linkViewModel(this); + .control('kendoMobileSwitch') + .linkViewModel(this) + .bindToKendo('kEnabled', 'enable') + .useValueBinding('kChecked', 'check'); } bind(ctx) { @@ -3509,27 +3442,27 @@ export class Spreadsheet { }); } + propertyChanged(property, newValue, oldValue) { + this.widgetBase.handlePropertyChanged(this.kWidget, property, newValue, oldValue); + } + detached() { this.widgetBase.destroy(this.kWidget); } } -import 'kendo.mobile.switch.min'; +import 'kendo.spreadsheet.min'; -@customAttribute(`${constants.attributePrefix}switch`) -@generateBindables('kendoMobileSwitch') +@customElement(`${constants.elementPrefix}spreadsheet`) +@generateBindables('kendoSpreadsheet') @inject(Element, WidgetBase) -export class Switch { - - @bindable kEnabled; +export class Spreadsheet { constructor(element, widgetBase) { this.element = element; this.widgetBase = widgetBase - .control('kendoMobileSwitch') - .linkViewModel(this) - .bindToKendo('kEnabled', 'enable') - .useValueBinding('kChecked', 'check'); + .control('kendoSpreadsheet') + .linkViewModel(this); } bind(ctx) { @@ -3549,10 +3482,6 @@ export class Switch { }); } - propertyChanged(property, newValue, oldValue) { - this.widgetBase.handlePropertyChanged(this.kWidget, property, newValue, oldValue); - } - detached() { this.widgetBase.destroy(this.kWidget); } diff --git a/dist/commonjs/aurelia-kendoui-bridge.d.ts b/dist/commonjs/aurelia-kendoui-bridge.d.ts index 16b607f2..42abf7dc 100644 --- a/dist/commonjs/aurelia-kendoui-bridge.d.ts +++ b/dist/commonjs/aurelia-kendoui-bridge.d.ts @@ -1,7 +1,3 @@ -declare module 'aurelia-binding' { -export class Lexer {} -export class ParserImplementation {} -} declare module 'aurelia-kendoui-bridge' { import 'jquery'; import * as LogManager from 'aurelia-logging'; @@ -32,9 +28,7 @@ declare module 'aurelia-kendoui-bridge' { import { bindingMode, EventManager, - createOverrideContext, - Lexer, - ParserImplementation + createOverrideContext } from 'aurelia-binding'; import { TaskQueue @@ -117,8 +111,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.slider.min'; import 'kendo.sortable.min'; import 'kendo.splitter.min'; - import 'kendo.spreadsheet.min'; import 'kendo.mobile.switch.min'; + import 'kendo.spreadsheet.min'; import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; @@ -453,20 +447,6 @@ declare module 'aurelia-kendoui-bridge' { */ cleanupView(element?: any): any; } - export class TemplateGatherer { - controlProperties: ControlProperties; - constructor(controlProperties: ControlProperties, util: Util, config: KendoConfigBuilder); - - /*** - * parses array of ak-template view-models (@children) - * - * this function sets the property 'test' on the viewmodel to the template - * @param target the viewModel with template properties - * @param kendoGrid or GridColumn, properties are retrieved from bindables.js - * @param templates array of ak-template view-models - */ - useTemplates(target?: any, controlName?: any, templates?: any): any; - } export class Template { template: any; for: any; @@ -935,20 +915,20 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Spreadsheet { + export class Switch { + kEnabled: any; constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } - export class Switch { - kEnabled: any; + export class Spreadsheet { constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class TabStrip { diff --git a/dist/dev/aurelia-kendoui-bridge.d.ts b/dist/dev/aurelia-kendoui-bridge.d.ts index 16b607f2..42abf7dc 100644 --- a/dist/dev/aurelia-kendoui-bridge.d.ts +++ b/dist/dev/aurelia-kendoui-bridge.d.ts @@ -1,7 +1,3 @@ -declare module 'aurelia-binding' { -export class Lexer {} -export class ParserImplementation {} -} declare module 'aurelia-kendoui-bridge' { import 'jquery'; import * as LogManager from 'aurelia-logging'; @@ -32,9 +28,7 @@ declare module 'aurelia-kendoui-bridge' { import { bindingMode, EventManager, - createOverrideContext, - Lexer, - ParserImplementation + createOverrideContext } from 'aurelia-binding'; import { TaskQueue @@ -117,8 +111,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.slider.min'; import 'kendo.sortable.min'; import 'kendo.splitter.min'; - import 'kendo.spreadsheet.min'; import 'kendo.mobile.switch.min'; + import 'kendo.spreadsheet.min'; import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; @@ -453,20 +447,6 @@ declare module 'aurelia-kendoui-bridge' { */ cleanupView(element?: any): any; } - export class TemplateGatherer { - controlProperties: ControlProperties; - constructor(controlProperties: ControlProperties, util: Util, config: KendoConfigBuilder); - - /*** - * parses array of ak-template view-models (@children) - * - * this function sets the property 'test' on the viewmodel to the template - * @param target the viewModel with template properties - * @param kendoGrid or GridColumn, properties are retrieved from bindables.js - * @param templates array of ak-template view-models - */ - useTemplates(target?: any, controlName?: any, templates?: any): any; - } export class Template { template: any; for: any; @@ -935,20 +915,20 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Spreadsheet { + export class Switch { + kEnabled: any; constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } - export class Switch { - kEnabled: any; + export class Spreadsheet { constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class TabStrip { diff --git a/dist/dev/common/decorators.js b/dist/dev/common/decorators.js index c06cf92f..50057dbe 100644 --- a/dist/dev/common/decorators.js +++ b/dist/dev/common/decorators.js @@ -4,6 +4,62 @@ System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia- "use strict"; var BindableProperty, HtmlBehaviorResource, Container, metadata, bindingMode, TaskQueue, ControlProperties, Util; + function generateBindables(controlName) { + var extraProperties = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1]; + + return function (target, key, descriptor) { + var behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target); + var container = Container.instance || new Container(); + var controlProperties = container.get(ControlProperties); + var util = container.get(Util); + var optionKeys = controlProperties.getProperties(controlName, extraProperties); + + optionKeys.push('widget'); + optionKeys.push('options'); + optionKeys.push('noInit'); + + for (var i = 0; i < optionKeys.length; i++) { + var option = optionKeys[i]; + + var nameOrConfigOrTarget = { + name: util.getBindablePropertyName(option) + }; + + if (option === 'widget') { + nameOrConfigOrTarget.defaultBindingMode = bindingMode.twoWay; + } + + var prop = new BindableProperty(nameOrConfigOrTarget); + prop.registerWith(target, behaviorResource, descriptor); + } + }; + } + + _export('generateBindables', generateBindables); + + function delayed() { + return function (target, key, descriptor) { + var taskQueue = (Container.instance || new Container()).get(TaskQueue); + var ptr = descriptor.value; + + descriptor.value = function () { + var _this = this; + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + taskQueue.queueTask(function () { + return ptr.apply(_this, args); + }); + }; + + return descriptor; + }; + } + + _export('delayed', delayed); + return { setters: [function (_aureliaTemplating) { BindableProperty = _aureliaTemplating.BindableProperty; @@ -21,63 +77,7 @@ System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia- }, function (_util) { Util = _util.Util; }], - execute: function () { - function generateBindables(controlName) { - var extraProperties = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1]; - - return function (target, key, descriptor) { - var behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target); - var container = Container.instance || new Container(); - var controlProperties = container.get(ControlProperties); - var util = container.get(Util); - var optionKeys = controlProperties.getProperties(controlName, extraProperties); - - optionKeys.push('widget'); - optionKeys.push('options'); - optionKeys.push('noInit'); - - for (var i = 0; i < optionKeys.length; i++) { - var option = optionKeys[i]; - - var nameOrConfigOrTarget = { - name: util.getBindablePropertyName(option) - }; - - if (option === 'widget') { - nameOrConfigOrTarget.defaultBindingMode = bindingMode.twoWay; - } - - var prop = new BindableProperty(nameOrConfigOrTarget); - prop.registerWith(target, behaviorResource, descriptor); - } - }; - } - - _export('generateBindables', generateBindables); - - function delayed() { - return function (target, key, descriptor) { - var taskQueue = (Container.instance || new Container()).get(TaskQueue); - var ptr = descriptor.value; - - descriptor.value = function () { - var _this = this; - - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - taskQueue.queueTask(function () { - return ptr.apply(_this, args); - }); - }; - - return descriptor; - }; - } - - _export('delayed', delayed); - } + execute: function () {} }; }); //# sourceMappingURL=../dist/dev/common/decorators.js.map diff --git a/dist/dev/dist/dev/common/decorators.js.map b/dist/dev/dist/dev/common/decorators.js.map index 1da60e23..ab9eb1c9 100644 --- a/dist/dev/dist/dev/common/decorators.js.map +++ b/dist/dev/dist/dev/common/decorators.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/decorators.js"],"names":[],"mappings":";;;;;;;;AAAQ,sB,sBAAA,gB;AAAkB,0B,sBAAA,oB;;AAClB,e,+BAAA,S;;AACA,c,oBAAA,Q;;AACA,iB,mBAAA,W;;AACA,e,qBAAA,S;;AACA,uB,sBAAA,iB;;AACA,U,SAAA,I;;;AAOD,eAAS,iBAAT,CAA2B,WAA3B,EAAsE;AAAA,YAAtB,eAAsB,yDAAJ,EAAI;;AAC3E,eAAO,UAAS,MAAT,EAAiB,GAAjB,EAAsB,UAAtB,EAAkC;AAGvC,cAAI,mBAAmB,SAAS,cAAT,CAAwB,SAAS,QAAjC,EAA2C,oBAA3C,EAAiE,MAAjE,CAAvB;AACA,cAAI,YAAa,UAAU,QAAV,IAAsB,IAAI,SAAJ,EAAvC;AACA,cAAI,oBAAoB,UAAU,GAAV,CAAc,iBAAd,CAAxB;AACA,cAAI,OAAO,UAAU,GAAV,CAAc,IAAd,CAAX;AACA,cAAI,aAAa,kBAAkB,aAAlB,CAAgC,WAAhC,EAA6C,eAA7C,CAAjB;;AAEA,qBAAW,IAAX,CAAgB,QAAhB;AACA,qBAAW,IAAX,CAAgB,SAAhB;AACA,qBAAW,IAAX,CAAgB,QAAhB;;AAEA,eAAK,IAAI,IAAI,CAAb,EAAgB,IAAI,WAAW,MAA/B,EAAuC,GAAvC,EAA4C;AAC1C,gBAAI,SAAS,WAAW,CAAX,CAAb;;AAGA,gBAAI,uBAAuB;AACzB,oBAAM,KAAK,uBAAL,CAA6B,MAA7B;AADmB,aAA3B;;AAIA,gBAAI,WAAW,QAAf,EAAyB;AACvB,mCAAqB,kBAArB,GAA0C,YAAY,MAAtD;AACD;;AAED,gBAAI,OAAO,IAAI,gBAAJ,CAAqB,oBAArB,CAAX;AACA,iBAAK,YAAL,CAAkB,MAAlB,EAA0B,gBAA1B,EAA4C,UAA5C;AACD;AACF,SA5BD;AA6BD;;;;AAGM,eAAS,OAAT,GAAmB;AACxB,eAAO,UAAS,MAAT,EAAiB,GAAjB,EAAsB,UAAtB,EAAkC;AACvC,cAAI,YAAY,CAAC,UAAU,QAAV,IAAsB,IAAI,SAAJ,EAAvB,EAAwC,GAAxC,CAA4C,SAA5C,CAAhB;AACA,cAAI,MAAM,WAAW,KAArB;;AAEA,qBAAW,KAAX,GAAmB,YAAkB;AAAA;;AAAA,8CAAN,IAAM;AAAN,kBAAM;AAAA;;AACnC,sBAAU,SAAV,CAAoB;AAAA,qBAAM,IAAI,KAAJ,QAAgB,IAAhB,CAAN;AAAA,aAApB;AACD,WAFD;;AAIA,iBAAO,UAAP;AACD,SATD;AAUD","file":"common/decorators.js","sourceRoot":"/source/","sourcesContent":["import {BindableProperty, HtmlBehaviorResource} from 'aurelia-templating';\r\nimport {Container} from 'aurelia-dependency-injection';\r\nimport {metadata} from 'aurelia-metadata';\r\nimport {bindingMode} from 'aurelia-binding';\r\nimport {TaskQueue} from 'aurelia-task-queue';\r\nimport {ControlProperties} from './control-properties';\r\nimport {Util} from './util';\r\n\r\n/**\r\n* Creates a BindableProperty for every option defined in a Kendo control\r\n* in the option property of a Kendo control\r\n* @param controlName The Kendo control of which the options should be converted into bindable properties\r\n*/\r\nexport function generateBindables(controlName: string, extraProperties = []) {\r\n return function(target, key, descriptor) {\r\n // get or create the HtmlBehaviorResource\r\n // on which we're going to create the BindableProperty's\r\n let behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target);\r\n let container = (Container.instance || new Container());\r\n let controlProperties = container.get(ControlProperties);\r\n let util = container.get(Util);\r\n let optionKeys = controlProperties.getProperties(controlName, extraProperties);\r\n\r\n optionKeys.push('widget');\r\n optionKeys.push('options');\r\n optionKeys.push('noInit');\r\n\r\n for (let i = 0; i < optionKeys.length; i++) {\r\n let option = optionKeys[i];\r\n\r\n // set the name of the bindable property to the option\r\n let nameOrConfigOrTarget = {\r\n name: util.getBindablePropertyName(option)\r\n };\r\n\r\n if (option === 'widget') {\r\n nameOrConfigOrTarget.defaultBindingMode = bindingMode.twoWay;\r\n }\r\n\r\n let prop = new BindableProperty(nameOrConfigOrTarget);\r\n prop.registerWith(target, behaviorResource, descriptor);\r\n }\r\n };\r\n}\r\n\r\n\r\nexport function delayed() {\r\n return function(target, key, descriptor) {\r\n let taskQueue = (Container.instance || new Container()).get(TaskQueue);\r\n let ptr = descriptor.value;\r\n\r\n descriptor.value = function(...args) {\r\n taskQueue.queueTask(() => ptr.apply(this, args));\r\n };\r\n\r\n return descriptor;\r\n };\r\n}\r\n"]} \ No newline at end of file +{"version":3,"sources":["common/decorators.js"],"names":[],"mappings":";;;;;;AAaO,WAAS,iBAAT,CAA2B,WAA3B,EAAsE;AAAA,QAAtB,eAAsB,yDAAJ,EAAI;;AAC3E,WAAO,UAAS,MAAT,EAAiB,GAAjB,EAAsB,UAAtB,EAAkC;AAGvC,UAAI,mBAAmB,SAAS,cAAT,CAAwB,SAAS,QAAjC,EAA2C,oBAA3C,EAAiE,MAAjE,CAAvB;AACA,UAAI,YAAa,UAAU,QAAV,IAAsB,IAAI,SAAJ,EAAvC;AACA,UAAI,oBAAoB,UAAU,GAAV,CAAc,iBAAd,CAAxB;AACA,UAAI,OAAO,UAAU,GAAV,CAAc,IAAd,CAAX;AACA,UAAI,aAAa,kBAAkB,aAAlB,CAAgC,WAAhC,EAA6C,eAA7C,CAAjB;;AAEA,iBAAW,IAAX,CAAgB,QAAhB;AACA,iBAAW,IAAX,CAAgB,SAAhB;AACA,iBAAW,IAAX,CAAgB,QAAhB;;AAEA,WAAK,IAAI,IAAI,CAAb,EAAgB,IAAI,WAAW,MAA/B,EAAuC,GAAvC,EAA4C;AAC1C,YAAI,SAAS,WAAW,CAAX,CAAb;;AAGA,YAAI,uBAAuB;AACzB,gBAAM,KAAK,uBAAL,CAA6B,MAA7B;AADmB,SAA3B;;AAIA,YAAI,WAAW,QAAf,EAAyB;AACvB,+BAAqB,kBAArB,GAA0C,YAAY,MAAtD;AACD;;AAED,YAAI,OAAO,IAAI,gBAAJ,CAAqB,oBAArB,CAAX;AACA,aAAK,YAAL,CAAkB,MAAlB,EAA0B,gBAA1B,EAA4C,UAA5C;AACD;AACF,KA5BD;AA6BD;;+BA9Be,iB;;AAiCT,WAAS,OAAT,GAAmB;AACxB,WAAO,UAAS,MAAT,EAAiB,GAAjB,EAAsB,UAAtB,EAAkC;AACvC,UAAI,YAAY,CAAC,UAAU,QAAV,IAAsB,IAAI,SAAJ,EAAvB,EAAwC,GAAxC,CAA4C,SAA5C,CAAhB;AACA,UAAI,MAAM,WAAW,KAArB;;AAEA,iBAAW,KAAX,GAAmB,YAAkB;AAAA;;AAAA,0CAAN,IAAM;AAAN,cAAM;AAAA;;AACnC,kBAAU,SAAV,CAAoB;AAAA,iBAAM,IAAI,KAAJ,QAAgB,IAAhB,CAAN;AAAA,SAApB;AACD,OAFD;;AAIA,aAAO,UAAP;AACD,KATD;AAUD;;qBAXe,O;;;;AA9CR,sB,sBAAA,gB;AAAkB,0B,sBAAA,oB;;AAClB,e,+BAAA,S;;AACA,c,oBAAA,Q;;AACA,iB,mBAAA,W;;AACA,e,qBAAA,S;;AACA,uB,sBAAA,iB;;AACA,U,SAAA,I","file":"common/decorators.js","sourceRoot":"/source/","sourcesContent":["import {BindableProperty, HtmlBehaviorResource} from 'aurelia-templating';\r\nimport {Container} from 'aurelia-dependency-injection';\r\nimport {metadata} from 'aurelia-metadata';\r\nimport {bindingMode} from 'aurelia-binding';\r\nimport {TaskQueue} from 'aurelia-task-queue';\r\nimport {ControlProperties} from './control-properties';\r\nimport {Util} from './util';\r\n\r\n/**\r\n* Creates a BindableProperty for every option defined in a Kendo control\r\n* in the option property of a Kendo control\r\n* @param controlName The Kendo control of which the options should be converted into bindable properties\r\n*/\r\nexport function generateBindables(controlName: string, extraProperties = []) {\r\n return function(target, key, descriptor) {\r\n // get or create the HtmlBehaviorResource\r\n // on which we're going to create the BindableProperty's\r\n let behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target);\r\n let container = (Container.instance || new Container());\r\n let controlProperties = container.get(ControlProperties);\r\n let util = container.get(Util);\r\n let optionKeys = controlProperties.getProperties(controlName, extraProperties);\r\n\r\n optionKeys.push('widget');\r\n optionKeys.push('options');\r\n optionKeys.push('noInit');\r\n\r\n for (let i = 0; i < optionKeys.length; i++) {\r\n let option = optionKeys[i];\r\n\r\n // set the name of the bindable property to the option\r\n let nameOrConfigOrTarget = {\r\n name: util.getBindablePropertyName(option)\r\n };\r\n\r\n if (option === 'widget') {\r\n nameOrConfigOrTarget.defaultBindingMode = bindingMode.twoWay;\r\n }\r\n\r\n let prop = new BindableProperty(nameOrConfigOrTarget);\r\n prop.registerWith(target, behaviorResource, descriptor);\r\n }\r\n };\r\n}\r\n\r\n\r\nexport function delayed() {\r\n return function(target, key, descriptor) {\r\n let taskQueue = (Container.instance || new Container()).get(TaskQueue);\r\n let ptr = descriptor.value;\r\n\r\n descriptor.value = function(...args) {\r\n taskQueue.queueTask(() => ptr.apply(this, args));\r\n };\r\n\r\n return descriptor;\r\n };\r\n}\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/index.js.map b/dist/dev/dist/dev/index.js.map index 67eb9d18..acac364e 100644 --- a/dist/dev/dist/dev/index.js.map +++ b/dist/dev/dist/dev/index.js.map @@ -1 +1 @@ -{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;;AAAQ,wB,kBAAA,kB;;AACA,2B,+BAAA,qB;AAAuB,yB,+BAAA,mB;;;iBAyBvB,iB,qBAAA,iB;iBAAmB,O,qBAAA,O;;;;;AArBpB,eAAS,SAAT,CAAmB,OAAnB,EAA4B,cAA5B,EAA4C;AACjD,YAAI,UAAU,QAAQ,SAAR,CAAkB,GAAlB,CAAsB,kBAAtB,CAAd;;AAEA,YAAI,mBAAmB,SAAnB,IAAgC,OAAO,cAAP,KAA2B,UAA/D,EAA2E;AACzE,yBAAe,OAAf;AACD;;AAGD,YAAI,YAAY,QAAQ,SAAxB;;AAEA,YAAI,UAAU,MAAV,GAAmB,CAAvB,EAA0B;AACxB,kBAAQ,eAAR,CAAwB,SAAxB;AACD;;AAED,YAAI,QAAQ,sBAAZ,EAAoC;AAClC,cAAI,wBAAwB,QAAQ,SAAR,CAAkB,GAAlB,CAAsB,qBAAtB,CAA5B;AACA,gCAAsB,WAAtB,CAAkC;AAAA,mBAAS,iBAAiB,MAAM,IAAN,CAAW,eAArC;AAAA,WAAlC,EAAwF,IAAI,mBAAJ,EAAxF;AACD;AACF","file":"index.js","sourceRoot":"/source/","sourcesContent":["import {KendoConfigBuilder} from './config-builder';\r\nimport {RepeatStrategyLocator, ArrayRepeatStrategy} from 'aurelia-templating-resources';\r\nimport 'jquery';\r\nimport 'kendo.data.min';\r\n\r\nexport function configure(aurelia, configCallback) {\r\n let builder = aurelia.container.get(KendoConfigBuilder);\r\n\r\n if (configCallback !== undefined && typeof(configCallback) === 'function') {\r\n configCallback(builder);\r\n }\r\n\r\n // Pull the data off the builder\r\n let resources = builder.resources;\r\n\r\n if (resources.length > 0) {\r\n aurelia.globalResources(resources);\r\n }\r\n\r\n if (builder.registerRepeatStrategy) {\r\n let repeatStrategyLocator = aurelia.container.get(RepeatStrategyLocator);\r\n repeatStrategyLocator.addStrategy(items => items instanceof kendo.data.ObservableArray, new ArrayRepeatStrategy());\r\n }\r\n}\r\n\r\n// build-index-remove start\r\nexport {generateBindables, delayed} from './common/decorators';\r\n// build-index-remove end\r\n"]} \ No newline at end of file +{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;AAKO,WAAS,SAAT,CAAmB,OAAnB,EAA4B,cAA5B,EAA4C;AACjD,QAAI,UAAU,QAAQ,SAAR,CAAkB,GAAlB,CAAsB,kBAAtB,CAAd;;AAEA,QAAI,mBAAmB,SAAnB,IAAgC,OAAO,cAAP,KAA2B,UAA/D,EAA2E;AACzE,qBAAe,OAAf;AACD;;AAGD,QAAI,YAAY,QAAQ,SAAxB;;AAEA,QAAI,UAAU,MAAV,GAAmB,CAAvB,EAA0B;AACxB,cAAQ,eAAR,CAAwB,SAAxB;AACD;;AAED,QAAI,QAAQ,sBAAZ,EAAoC;AAClC,UAAI,wBAAwB,QAAQ,SAAR,CAAkB,GAAlB,CAAsB,qBAAtB,CAA5B;AACA,4BAAsB,WAAtB,CAAkC;AAAA,eAAS,iBAAiB,MAAM,IAAN,CAAW,eAArC;AAAA,OAAlC,EAAwF,IAAI,mBAAJ,EAAxF;AACD;AACF;;uBAlBe,S;;;;AALR,wB,kBAAA,kB;;AACA,2B,+BAAA,qB;AAAuB,yB,+BAAA,mB;;;iBAyBvB,iB,qBAAA,iB;iBAAmB,O,qBAAA,O","file":"index.js","sourceRoot":"/source/","sourcesContent":["import {KendoConfigBuilder} from './config-builder';\r\nimport {RepeatStrategyLocator, ArrayRepeatStrategy} from 'aurelia-templating-resources';\r\nimport 'jquery';\r\nimport 'kendo.data.min';\r\n\r\nexport function configure(aurelia, configCallback) {\r\n let builder = aurelia.container.get(KendoConfigBuilder);\r\n\r\n if (configCallback !== undefined && typeof(configCallback) === 'function') {\r\n configCallback(builder);\r\n }\r\n\r\n // Pull the data off the builder\r\n let resources = builder.resources;\r\n\r\n if (resources.length > 0) {\r\n aurelia.globalResources(resources);\r\n }\r\n\r\n if (builder.registerRepeatStrategy) {\r\n let repeatStrategyLocator = aurelia.container.get(RepeatStrategyLocator);\r\n repeatStrategyLocator.addStrategy(items => items instanceof kendo.data.ObservableArray, new ArrayRepeatStrategy());\r\n }\r\n}\r\n\r\n// build-index-remove start\r\nexport {generateBindables, delayed} from './common/decorators';\r\n// build-index-remove end\r\n"]} \ No newline at end of file diff --git a/dist/dev/index.js b/dist/dev/index.js index b78fa7af..316c20bf 100644 --- a/dist/dev/index.js +++ b/dist/dev/index.js @@ -4,6 +4,29 @@ System.register(['./config-builder', 'aurelia-templating-resources', 'jquery', ' "use strict"; var KendoConfigBuilder, RepeatStrategyLocator, ArrayRepeatStrategy; + function configure(aurelia, configCallback) { + var builder = aurelia.container.get(KendoConfigBuilder); + + if (configCallback !== undefined && typeof configCallback === 'function') { + configCallback(builder); + } + + var resources = builder.resources; + + if (resources.length > 0) { + aurelia.globalResources(resources); + } + + if (builder.registerRepeatStrategy) { + var repeatStrategyLocator = aurelia.container.get(RepeatStrategyLocator); + repeatStrategyLocator.addStrategy(function (items) { + return items instanceof kendo.data.ObservableArray; + }, new ArrayRepeatStrategy()); + } + } + + _export('configure', configure); + return { setters: [function (_configBuilder) { KendoConfigBuilder = _configBuilder.KendoConfigBuilder; @@ -17,30 +40,7 @@ System.register(['./config-builder', 'aurelia-templating-resources', 'jquery', ' _export(_exportObj); }], - execute: function () { - function configure(aurelia, configCallback) { - var builder = aurelia.container.get(KendoConfigBuilder); - - if (configCallback !== undefined && typeof configCallback === 'function') { - configCallback(builder); - } - - var resources = builder.resources; - - if (resources.length > 0) { - aurelia.globalResources(resources); - } - - if (builder.registerRepeatStrategy) { - var repeatStrategyLocator = aurelia.container.get(RepeatStrategyLocator); - repeatStrategyLocator.addStrategy(function (items) { - return items instanceof kendo.data.ObservableArray; - }, new ArrayRepeatStrategy()); - } - } - - _export('configure', configure); - } + execute: function () {} }; }); //# sourceMappingURL=dist/dev/index.js.map diff --git a/dist/es6/aurelia-kendoui-bridge.d.ts b/dist/es6/aurelia-kendoui-bridge.d.ts index 16b607f2..42abf7dc 100644 --- a/dist/es6/aurelia-kendoui-bridge.d.ts +++ b/dist/es6/aurelia-kendoui-bridge.d.ts @@ -1,7 +1,3 @@ -declare module 'aurelia-binding' { -export class Lexer {} -export class ParserImplementation {} -} declare module 'aurelia-kendoui-bridge' { import 'jquery'; import * as LogManager from 'aurelia-logging'; @@ -32,9 +28,7 @@ declare module 'aurelia-kendoui-bridge' { import { bindingMode, EventManager, - createOverrideContext, - Lexer, - ParserImplementation + createOverrideContext } from 'aurelia-binding'; import { TaskQueue @@ -117,8 +111,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.slider.min'; import 'kendo.sortable.min'; import 'kendo.splitter.min'; - import 'kendo.spreadsheet.min'; import 'kendo.mobile.switch.min'; + import 'kendo.spreadsheet.min'; import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; @@ -453,20 +447,6 @@ declare module 'aurelia-kendoui-bridge' { */ cleanupView(element?: any): any; } - export class TemplateGatherer { - controlProperties: ControlProperties; - constructor(controlProperties: ControlProperties, util: Util, config: KendoConfigBuilder); - - /*** - * parses array of ak-template view-models (@children) - * - * this function sets the property 'test' on the viewmodel to the template - * @param target the viewModel with template properties - * @param kendoGrid or GridColumn, properties are retrieved from bindables.js - * @param templates array of ak-template view-models - */ - useTemplates(target?: any, controlName?: any, templates?: any): any; - } export class Template { template: any; for: any; @@ -935,20 +915,20 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Spreadsheet { + export class Switch { + kEnabled: any; constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } - export class Switch { - kEnabled: any; + export class Spreadsheet { constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class TabStrip { diff --git a/dist/system/aurelia-kendoui-bridge.d.ts b/dist/system/aurelia-kendoui-bridge.d.ts index 16b607f2..42abf7dc 100644 --- a/dist/system/aurelia-kendoui-bridge.d.ts +++ b/dist/system/aurelia-kendoui-bridge.d.ts @@ -1,7 +1,3 @@ -declare module 'aurelia-binding' { -export class Lexer {} -export class ParserImplementation {} -} declare module 'aurelia-kendoui-bridge' { import 'jquery'; import * as LogManager from 'aurelia-logging'; @@ -32,9 +28,7 @@ declare module 'aurelia-kendoui-bridge' { import { bindingMode, EventManager, - createOverrideContext, - Lexer, - ParserImplementation + createOverrideContext } from 'aurelia-binding'; import { TaskQueue @@ -117,8 +111,8 @@ declare module 'aurelia-kendoui-bridge' { import 'kendo.slider.min'; import 'kendo.sortable.min'; import 'kendo.splitter.min'; - import 'kendo.spreadsheet.min'; import 'kendo.mobile.switch.min'; + import 'kendo.spreadsheet.min'; import 'kendo.tabstrip.min'; import 'kendo.timepicker.min'; import 'kendo.toolbar.min'; @@ -453,20 +447,6 @@ declare module 'aurelia-kendoui-bridge' { */ cleanupView(element?: any): any; } - export class TemplateGatherer { - controlProperties: ControlProperties; - constructor(controlProperties: ControlProperties, util: Util, config: KendoConfigBuilder); - - /*** - * parses array of ak-template view-models (@children) - * - * this function sets the property 'test' on the viewmodel to the template - * @param target the viewModel with template properties - * @param kendoGrid or GridColumn, properties are retrieved from bindables.js - * @param templates array of ak-template view-models - */ - useTemplates(target?: any, controlName?: any, templates?: any): any; - } export class Template { template: any; for: any; @@ -935,20 +915,20 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; detached(): any; } - export class Spreadsheet { + export class Switch { + kEnabled: any; constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } - export class Switch { - kEnabled: any; + export class Spreadsheet { constructor(element?: any, widgetBase?: any); bind(ctx?: any): any; attached(): any; recreate(): any; - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class TabStrip { diff --git a/dist/system/common/decorators.js b/dist/system/common/decorators.js index c4fab440..160e2244 100644 --- a/dist/system/common/decorators.js +++ b/dist/system/common/decorators.js @@ -4,6 +4,62 @@ System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia- "use strict"; var BindableProperty, HtmlBehaviorResource, Container, metadata, bindingMode, TaskQueue, ControlProperties, Util; + function generateBindables(controlName) { + var extraProperties = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1]; + + return function (target, key, descriptor) { + var behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target); + var container = Container.instance || new Container(); + var controlProperties = container.get(ControlProperties); + var util = container.get(Util); + var optionKeys = controlProperties.getProperties(controlName, extraProperties); + + optionKeys.push('widget'); + optionKeys.push('options'); + optionKeys.push('noInit'); + + for (var i = 0; i < optionKeys.length; i++) { + var option = optionKeys[i]; + + var nameOrConfigOrTarget = { + name: util.getBindablePropertyName(option) + }; + + if (option === 'widget') { + nameOrConfigOrTarget.defaultBindingMode = bindingMode.twoWay; + } + + var prop = new BindableProperty(nameOrConfigOrTarget); + prop.registerWith(target, behaviorResource, descriptor); + } + }; + } + + _export('generateBindables', generateBindables); + + function delayed() { + return function (target, key, descriptor) { + var taskQueue = (Container.instance || new Container()).get(TaskQueue); + var ptr = descriptor.value; + + descriptor.value = function () { + var _this = this; + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + taskQueue.queueTask(function () { + return ptr.apply(_this, args); + }); + }; + + return descriptor; + }; + } + + _export('delayed', delayed); + return { setters: [function (_aureliaTemplating) { BindableProperty = _aureliaTemplating.BindableProperty; @@ -21,62 +77,6 @@ System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia- }, function (_util) { Util = _util.Util; }], - execute: function () { - function generateBindables(controlName) { - var extraProperties = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1]; - - return function (target, key, descriptor) { - var behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target); - var container = Container.instance || new Container(); - var controlProperties = container.get(ControlProperties); - var util = container.get(Util); - var optionKeys = controlProperties.getProperties(controlName, extraProperties); - - optionKeys.push('widget'); - optionKeys.push('options'); - optionKeys.push('noInit'); - - for (var i = 0; i < optionKeys.length; i++) { - var option = optionKeys[i]; - - var nameOrConfigOrTarget = { - name: util.getBindablePropertyName(option) - }; - - if (option === 'widget') { - nameOrConfigOrTarget.defaultBindingMode = bindingMode.twoWay; - } - - var prop = new BindableProperty(nameOrConfigOrTarget); - prop.registerWith(target, behaviorResource, descriptor); - } - }; - } - - _export('generateBindables', generateBindables); - - function delayed() { - return function (target, key, descriptor) { - var taskQueue = (Container.instance || new Container()).get(TaskQueue); - var ptr = descriptor.value; - - descriptor.value = function () { - var _this = this; - - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - taskQueue.queueTask(function () { - return ptr.apply(_this, args); - }); - }; - - return descriptor; - }; - } - - _export('delayed', delayed); - } + execute: function () {} }; }); \ No newline at end of file diff --git a/dist/system/index.js b/dist/system/index.js index 134fe983..5a1a1eb1 100644 --- a/dist/system/index.js +++ b/dist/system/index.js @@ -4,6 +4,29 @@ System.register(['./config-builder', 'aurelia-templating-resources', 'jquery', ' "use strict"; var KendoConfigBuilder, RepeatStrategyLocator, ArrayRepeatStrategy; + function configure(aurelia, configCallback) { + var builder = aurelia.container.get(KendoConfigBuilder); + + if (configCallback !== undefined && typeof configCallback === 'function') { + configCallback(builder); + } + + var resources = builder.resources; + + if (resources.length > 0) { + aurelia.globalResources(resources); + } + + if (builder.registerRepeatStrategy) { + var repeatStrategyLocator = aurelia.container.get(RepeatStrategyLocator); + repeatStrategyLocator.addStrategy(function (items) { + return items instanceof kendo.data.ObservableArray; + }, new ArrayRepeatStrategy()); + } + } + + _export('configure', configure); + return { setters: [function (_configBuilder) { KendoConfigBuilder = _configBuilder.KendoConfigBuilder; @@ -17,29 +40,6 @@ System.register(['./config-builder', 'aurelia-templating-resources', 'jquery', ' _export(_exportObj); }], - execute: function () { - function configure(aurelia, configCallback) { - var builder = aurelia.container.get(KendoConfigBuilder); - - if (configCallback !== undefined && typeof configCallback === 'function') { - configCallback(builder); - } - - var resources = builder.resources; - - if (resources.length > 0) { - aurelia.globalResources(resources); - } - - if (builder.registerRepeatStrategy) { - var repeatStrategyLocator = aurelia.container.get(RepeatStrategyLocator); - repeatStrategyLocator.addStrategy(function (items) { - return items instanceof kendo.data.ObservableArray; - }, new ArrayRepeatStrategy()); - } - } - - _export('configure', configure); - } + execute: function () {} }; }); \ No newline at end of file diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index db5b02e2..82cf21ff 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,13 @@ + +## [0.12.2](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/compare/0.12.1...v0.12.2) (2016-08-17) + + +### Bug Fixes + +* **dts:** exclude template-gatherer from typescript definition ([25fedf2](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/commit/25fedf2)) + + + ## [0.12.1](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/compare/0.12.0...v0.12.1) (2016-08-10) diff --git a/package.json b/package.json index 8ff85cfe..6ad5112f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-kendoui-bridge", - "version": "0.12.1", + "version": "0.12.2", "registry": "github", "description": "A set of Telerik KendoUI wrappers for Aurelia allowing developers to easily use KendoUI components in their Aurelia application.", "keywords": [