Skip to content

Commit

Permalink
chore(prepare-release): release 1.0.0-beta.1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenVinke committed Aug 11, 2016
1 parent f277cfe commit 4881a13
Show file tree
Hide file tree
Showing 22 changed files with 193 additions and 183 deletions.
30 changes: 15 additions & 15 deletions dist/amd/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ declare module 'aurelia-kendoui-bridge' {
transient
} from 'aurelia-dependency-injection';
import {
customAttribute,
customElement,
ViewResources,
customAttribute,
bindable,
BindableProperty,
HtmlBehaviorResource,
Expand Down Expand Up @@ -157,19 +157,19 @@ declare module 'aurelia-kendoui-bridge' {
}
export function configure(aurelia?: any, configCallback?: any): any;
export let version: any;
export class Barcode {
constructor(element?: any, widgetBase?: any);
export class AutoComplete {
constructor(element?: any, widgetBase?: any, viewResources?: any);
bind(ctx?: any): any;
attached(): any;
recreate(): any;
propertyChanged(property?: any, newValue?: any, oldValue?: any): any;
detached(): any;
}
export class AutoComplete {
constructor(element?: any, widgetBase?: any, viewResources?: any);
export class Barcode {
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 Button {
Expand Down Expand Up @@ -865,6 +865,15 @@ declare module 'aurelia-kendoui-bridge' {
recreate(): any;
detached(): any;
}
export class Slider {
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 Sortable {
constructor(element?: any, widgetBase?: any);
bind(ctx?: any): any;
Expand Down Expand Up @@ -971,15 +980,6 @@ declare module 'aurelia-kendoui-bridge' {
recreate(): any;
detached(): any;
}
export class Slider {
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 kendoToStringValueConverter {
toView(value?: any, format?: any, language?: any): any;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/common/control-properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ define(['exports', './bindables', 'aurelia-dependency-injection', './util'], fun
};

ControlProperties.prototype.getWidgetProperties = function getWidgetProperties(controlName) {
if (kendo.jQuery.fn[controlName]) {
if (kendo && kendo.jQuery.fn[controlName]) {
return Object.keys(kendo.jQuery.fn[controlName].widget.prototype.options);
}

Expand Down
2 changes: 1 addition & 1 deletion dist/amd/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ define(['exports'], function (exports) {
Object.defineProperty(exports, "__esModule", {
value: true
});
var version = exports.version = '1.0.0-beta.1.0.7';
var version = exports.version = '1.0.0-beta.1.0.8';
});
30 changes: 15 additions & 15 deletions dist/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ declare module 'aurelia-kendoui-bridge' {
transient
} from 'aurelia-dependency-injection';
import {
customAttribute,
customElement,
ViewResources,
customAttribute,
bindable,
BindableProperty,
HtmlBehaviorResource,
Expand Down Expand Up @@ -153,19 +153,19 @@ declare module 'aurelia-kendoui-bridge' {
}
export function configure(aurelia?: any, configCallback?: any): any;
export let version: any;
export class Barcode {
constructor(element?: any, widgetBase?: any);
export class AutoComplete {
constructor(element?: any, widgetBase?: any, viewResources?: any);
bind(ctx?: any): any;
attached(): any;
recreate(): any;
propertyChanged(property?: any, newValue?: any, oldValue?: any): any;
detached(): any;
}
export class AutoComplete {
constructor(element?: any, widgetBase?: any, viewResources?: any);
export class Barcode {
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 Button {
Expand Down Expand Up @@ -861,6 +861,15 @@ declare module 'aurelia-kendoui-bridge' {
recreate(): any;
detached(): any;
}
export class Slider {
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 Sortable {
constructor(element?: any, widgetBase?: any);
bind(ctx?: any): any;
Expand Down Expand Up @@ -967,15 +976,6 @@ declare module 'aurelia-kendoui-bridge' {
recreate(): any;
detached(): any;
}
export class Slider {
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 kendoToStringValueConverter {
toView(value?: any, format?: any, language?: any): any;
}
Expand Down
158 changes: 79 additions & 79 deletions dist/aurelia-kendoui-bridge.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as LogManager from 'aurelia-logging';
import {RepeatStrategyLocator,ArrayRepeatStrategy} from 'aurelia-templating-resources';
import {inject,Container,transient} from 'aurelia-dependency-injection';
import {customAttribute,customElement,ViewResources,bindable,BindableProperty,HtmlBehaviorResource,TemplatingEngine,noView,processContent,TargetInstruction} from 'aurelia-templating';
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 {TaskQueue} from 'aurelia-task-queue';
Expand Down Expand Up @@ -500,41 +500,7 @@ export function configure(aurelia, configCallback) {



export let version = '1.0.0-beta.1.0.7';
@customAttribute(`${constants.attributePrefix}barcode`)
@generateBindables('kendoBarcode')
@inject(Element, WidgetBase)
export class Barcode {

constructor(element, widgetBase) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoBarcode')
.linkViewModel(this);
}

bind(ctx) {
this.$parent = ctx;
}

attached() {
if (!this.kNoInit) {
this.recreate();
}
}

recreate() {
this.kWidget = this.widgetBase.createWidget({
element: this.element,
parentCtx: this.$parent
});
}

detached() {
this.widgetBase.destroy(this.kWidget);
}
}

export let version = '1.0.0-beta.1.0.8';
@customElement(`${constants.elementPrefix}autocomplete`)
@generateBindables('kendoAutoComplete')
@inject(Element, WidgetBase, ViewResources)
Expand Down Expand Up @@ -589,6 +555,40 @@ export class AutoComplete {
}
}

@customAttribute(`${constants.attributePrefix}barcode`)
@generateBindables('kendoBarcode')
@inject(Element, WidgetBase)
export class Barcode {

constructor(element, widgetBase) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoBarcode')
.linkViewModel(this);
}

bind(ctx) {
this.$parent = ctx;
}

attached() {
if (!this.kNoInit) {
this.recreate();
}
}

recreate() {
this.kWidget = this.widgetBase.createWidget({
element: this.element,
parentCtx: this.$parent
});
}

detached() {
this.widgetBase.destroy(this.kWidget);
}
}

@customAttribute(`${constants.attributePrefix}button`)
@generateBindables('kendoButton')
@inject(Element, WidgetBase)
Expand Down Expand Up @@ -1054,7 +1054,7 @@ export class ControlProperties {
* @param controlName the name of the kendo control (kendoGrid, kendoButton)
*/
getWidgetProperties(controlName: string): string[] {
if (kendo.jQuery.fn[controlName]) {
if (kendo && kendo.jQuery.fn[controlName]) {
return Object.keys(kendo.jQuery.fn[controlName].widget.prototype.options);
}

Expand Down Expand Up @@ -3412,6 +3412,48 @@ function isInitFromDiv(element) {
return element.querySelectorAll('div').length > 0;
}

@customAttribute(`${constants.attributePrefix}slider`)
@generateBindables('kendoSlider')
@inject(Element, WidgetBase)
export class Slider {

@bindable kEnabled;

constructor(element, widgetBase) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoSlider')
.linkViewModel(this)
.bindToKendo('kEnabled', 'enable')
.useValueBinding();
}

bind(ctx) {
this.$parent = ctx;
}

attached() {
if (!this.kNoInit) {
this.recreate();
}
}

recreate() {
this.kWidget = this.widgetBase.createWidget({
element: this.element,
parentCtx: this.$parent
});
}

propertyChanged(property, newValue, oldValue) {
this.widgetBase.handlePropertyChanged(this.kWidget, property, newValue, oldValue);
}

detached() {
this.widgetBase.destroy(this.kWidget);
}
}

@customAttribute(`${constants.attributePrefix}sortable`)
@generateBindables('kendoSortable')
@inject(Element, WidgetBase)
Expand Down Expand Up @@ -3961,48 +4003,6 @@ export class Validator {
}
}

@customAttribute(`${constants.attributePrefix}slider`)
@generateBindables('kendoSlider')
@inject(Element, WidgetBase)
export class Slider {

@bindable kEnabled;

constructor(element, widgetBase) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoSlider')
.linkViewModel(this)
.bindToKendo('kEnabled', 'enable')
.useValueBinding();
}

bind(ctx) {
this.$parent = ctx;
}

attached() {
if (!this.kNoInit) {
this.recreate();
}
}

recreate() {
this.kWidget = this.widgetBase.createWidget({
element: this.element,
parentCtx: this.$parent
});
}

propertyChanged(property, newValue, oldValue) {
this.widgetBase.handlePropertyChanged(this.kWidget, property, newValue, oldValue);
}

detached() {
this.widgetBase.destroy(this.kWidget);
}
}

export class kendoToStringValueConverter {
toView(value, format, language) {
return kendo.toString(value, format, language);
Expand Down
Loading

0 comments on commit 4881a13

Please sign in to comment.