Skip to content

Commit

Permalink
chore(prepare-release): release 0.11.6
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenVinke committed Jun 27, 2016
1 parent 5ce1883 commit b068df9
Show file tree
Hide file tree
Showing 9 changed files with 130 additions and 120 deletions.
24 changes: 12 additions & 12 deletions dist/amd/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ declare module 'aurelia-kendoui-bridge' {
import 'kendo.datetimepicker.min';
import 'kendo.dataviz.diagram.min';
import 'kendo.draganddrop.min';
import 'kendo.dropdownlist.min';
import 'kendo.virtuallist.min';
import 'kendo.draganddrop.min';
import 'kendo.draganddrop.min';
import 'kendo.dropdownlist.min';
import 'kendo.virtuallist.min';
import 'kendo.editor.min';
import 'kendo.colorpicker.min';

Expand Down Expand Up @@ -692,30 +692,30 @@ declare module 'aurelia-kendoui-bridge' {
beforeInitialize(options?: any): any;
detached(): any;
}
export class DropDownList {
kNoValueBinding: any;
kEnabled: any;
kReadOnly: any;
templates: any;
constructor(element?: any, widgetBase?: any, viewResources?: any);
export class DropTargetArea {
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 DropTargetArea {
export class DropTarget {
constructor(element?: any, widgetBase?: any);
bind(ctx?: any): any;
attached(): any;
recreate(): any;
detached(): any;
}
export class DropTarget {
constructor(element?: any, widgetBase?: any);
export class DropDownList {
kNoValueBinding: any;
kEnabled: any;
kReadOnly: any;
templates: any;
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 Editor {
Expand Down
24 changes: 12 additions & 12 deletions dist/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ declare module 'aurelia-kendoui-bridge' {
import 'kendo.datetimepicker.min';
import 'kendo.dataviz.diagram.min';
import 'kendo.draganddrop.min';
import 'kendo.dropdownlist.min';
import 'kendo.virtuallist.min';
import 'kendo.draganddrop.min';
import 'kendo.draganddrop.min';
import 'kendo.dropdownlist.min';
import 'kendo.virtuallist.min';
import 'kendo.editor.min';
import 'kendo.colorpicker.min';

Expand Down Expand Up @@ -688,30 +688,30 @@ declare module 'aurelia-kendoui-bridge' {
beforeInitialize(options?: any): any;
detached(): any;
}
export class DropDownList {
kNoValueBinding: any;
kEnabled: any;
kReadOnly: any;
templates: any;
constructor(element?: any, widgetBase?: any, viewResources?: any);
export class DropTargetArea {
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 DropTargetArea {
export class DropTarget {
constructor(element?: any, widgetBase?: any);
bind(ctx?: any): any;
attached(): any;
recreate(): any;
detached(): any;
}
export class DropTarget {
constructor(element?: any, widgetBase?: any);
export class DropDownList {
kNoValueBinding: any;
kEnabled: any;
kReadOnly: any;
templates: any;
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 Editor {
Expand Down
94 changes: 47 additions & 47 deletions dist/aurelia-kendoui-bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -2083,78 +2083,53 @@ export class Draggabke {
}
}

import 'kendo.dropdownlist.min';
import 'kendo.virtuallist.min';

@customElement(`${constants.elementPrefix}drop-down-list`)
@generateBindables('kendoDropDownList')
@inject(Element, WidgetBase, ViewResources)
export class DropDownList {
import 'kendo.draganddrop.min';

@bindable kNoValueBinding = false;
@bindable kEnabled;
@bindable kReadOnly;
@children(`${constants.elementPrefix}template`) templates = [];
@customAttribute(`${constants.attributePrefix}drop-target-area`)
@generateBindables('kendoDropTargetArea')
@inject(Element, WidgetBase)
export class DropTargetArea {

constructor(element, widgetBase, viewResources) {
constructor(element, widgetBase) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoDropDownList')
.linkViewModel(this)
.useViewResources(viewResources)
.bindToKendo('kEnabled', 'enable')
.bindToKendo('kReadOnly', 'readonly');
.control('kendoDropTargetArea')
.linkViewModel(this);
}

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

attached() {
if (!this.kNoValueBinding) {
this.widgetBase.useValueBinding();
}

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

recreate() {
let selectNode = getSelectNode(this.element);
this.widgetBase.useTemplates(this, 'kendoDropDownList', this.templates);

this.kWidget = this.widgetBase.createWidget({
rootElement: this.element,
element: selectNode.length > 0 ? selectNode[0] : this.element,
element: this.element,
parentCtx: this.$parent
});
}

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

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

function getSelectNode(element) {
return element.querySelectorAll('select');
}

import 'kendo.draganddrop.min';

@customAttribute(`${constants.attributePrefix}drop-target-area`)
@generateBindables('kendoDropTargetArea')
@customAttribute(`${constants.attributePrefix}drop-target`)
@generateBindables('kendoDropTarget')
@inject(Element, WidgetBase)
export class DropTargetArea {
export class DropTarget {

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

Expand All @@ -2180,42 +2155,67 @@ export class DropTargetArea {
}
}

import 'kendo.draganddrop.min';
import 'kendo.dropdownlist.min';
import 'kendo.virtuallist.min';

@customAttribute(`${constants.attributePrefix}drop-target`)
@generateBindables('kendoDropTarget')
@inject(Element, WidgetBase)
export class DropTarget {
@customElement(`${constants.elementPrefix}drop-down-list`)
@generateBindables('kendoDropDownList')
@inject(Element, WidgetBase, ViewResources)
export class DropDownList {

constructor(element, widgetBase) {
@bindable kNoValueBinding = false;
@bindable kEnabled;
@bindable kReadOnly;
@children(`${constants.elementPrefix}template`) templates = [];

constructor(element, widgetBase, viewResources) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoDropTarget')
.linkViewModel(this);
.control('kendoDropDownList')
.linkViewModel(this)
.useViewResources(viewResources)
.bindToKendo('kEnabled', 'enable')
.bindToKendo('kReadOnly', 'readonly');
}

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

attached() {
if (!this.kNoValueBinding) {
this.widgetBase.useValueBinding();
}

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

recreate() {
let selectNode = getSelectNode(this.element);
this.widgetBase.useTemplates(this, 'kendoDropDownList', this.templates);

this.kWidget = this.widgetBase.createWidget({
element: this.element,
rootElement: this.element,
element: selectNode.length > 0 ? selectNode[0] : this.element,
parentCtx: this.$parent
});
}

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

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

function getSelectNode(element) {
return element.querySelectorAll('select');
}

import 'kendo.editor.min';

@customAttribute(`${constants.attributePrefix}rich-editor`)
Expand Down
24 changes: 12 additions & 12 deletions dist/commonjs/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ declare module 'aurelia-kendoui-bridge' {
import 'kendo.datetimepicker.min';
import 'kendo.dataviz.diagram.min';
import 'kendo.draganddrop.min';
import 'kendo.dropdownlist.min';
import 'kendo.virtuallist.min';
import 'kendo.draganddrop.min';
import 'kendo.draganddrop.min';
import 'kendo.dropdownlist.min';
import 'kendo.virtuallist.min';
import 'kendo.editor.min';
import 'kendo.colorpicker.min';

Expand Down Expand Up @@ -692,30 +692,30 @@ declare module 'aurelia-kendoui-bridge' {
beforeInitialize(options?: any): any;
detached(): any;
}
export class DropDownList {
kNoValueBinding: any;
kEnabled: any;
kReadOnly: any;
templates: any;
constructor(element?: any, widgetBase?: any, viewResources?: any);
export class DropTargetArea {
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 DropTargetArea {
export class DropTarget {
constructor(element?: any, widgetBase?: any);
bind(ctx?: any): any;
attached(): any;
recreate(): any;
detached(): any;
}
export class DropTarget {
constructor(element?: any, widgetBase?: any);
export class DropDownList {
kNoValueBinding: any;
kEnabled: any;
kReadOnly: any;
templates: any;
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 Editor {
Expand Down
24 changes: 12 additions & 12 deletions dist/dev/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ declare module 'aurelia-kendoui-bridge' {
import 'kendo.datetimepicker.min';
import 'kendo.dataviz.diagram.min';
import 'kendo.draganddrop.min';
import 'kendo.dropdownlist.min';
import 'kendo.virtuallist.min';
import 'kendo.draganddrop.min';
import 'kendo.draganddrop.min';
import 'kendo.dropdownlist.min';
import 'kendo.virtuallist.min';
import 'kendo.editor.min';
import 'kendo.colorpicker.min';

Expand Down Expand Up @@ -692,30 +692,30 @@ declare module 'aurelia-kendoui-bridge' {
beforeInitialize(options?: any): any;
detached(): any;
}
export class DropDownList {
kNoValueBinding: any;
kEnabled: any;
kReadOnly: any;
templates: any;
constructor(element?: any, widgetBase?: any, viewResources?: any);
export class DropTargetArea {
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 DropTargetArea {
export class DropTarget {
constructor(element?: any, widgetBase?: any);
bind(ctx?: any): any;
attached(): any;
recreate(): any;
detached(): any;
}
export class DropTarget {
constructor(element?: any, widgetBase?: any);
export class DropDownList {
kNoValueBinding: any;
kEnabled: any;
kReadOnly: any;
templates: any;
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 Editor {
Expand Down
Loading

0 comments on commit b068df9

Please sign in to comment.