Skip to content

Commit

Permalink
chore(prepare-release): release 1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenVinke committed Aug 5, 2017
1 parent 8aec884 commit b9b0d8a
Show file tree
Hide file tree
Showing 277 changed files with 227 additions and 570 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 @@ -853,18 +853,6 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class NumericTextBox {
kEnabled: any;
kReadOnly: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
bind(ctx?: any, overrideCtx?: any): any;
attached(): any;
recreate(): any;
propertyChanged(property?: any, newValue?: any, oldValue?: any): any;
destroy(): any;
detached(): any;
}
export class NotificationTemplate {
template: any;
type: any;
Expand All @@ -880,6 +868,18 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class NumericTextBox {
kEnabled: any;
kReadOnly: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
bind(ctx?: any, overrideCtx?: any): any;
attached(): any;
recreate(): any;
propertyChanged(property?: any, newValue?: any, oldValue?: any): any;
destroy(): any;
detached(): any;
}
export class PanelBar {
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/multiselect/multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../com
};

Multiselect.prototype.propertyChanged = function propertyChanged(property, newValue, oldValue) {
if (property !== 'kValue' || this.kWidget.input.val() === '') {
if (property !== 'kValue' || this.kWidget.input.val() === '' || this.kWidget.input.val() === this.kWidget.options.placeholder) {
this.widgetBase.handlePropertyChanged(this.kWidget, property, newValue, oldValue);
}
};
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.6.3';
var version = exports.version = '1.6.4';
});
24 changes: 12 additions & 12 deletions dist/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -853,18 +853,6 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class NumericTextBox {
kEnabled: any;
kReadOnly: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
bind(ctx?: any, overrideCtx?: any): any;
attached(): any;
recreate(): any;
propertyChanged(property?: any, newValue?: any, oldValue?: any): any;
destroy(): any;
detached(): any;
}
export class NotificationTemplate {
template: any;
type: any;
Expand All @@ -880,6 +868,18 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class NumericTextBox {
kEnabled: any;
kReadOnly: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
bind(ctx?: any, overrideCtx?: any): any;
attached(): any;
recreate(): any;
propertyChanged(property?: any, newValue?: any, oldValue?: any): any;
destroy(): any;
detached(): any;
}
export class PanelBar {
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
102 changes: 51 additions & 51 deletions dist/aurelia-kendoui-bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ export function configure(aurelia, configCallback) {



export let version = '1.6.3';
export let version = '1.6.4';
@customElement(`${constants.elementPrefix}autocomplete`)
@generateBindables('kendoAutoComplete')
@inject(Element, WidgetBase, Container)
Expand Down Expand Up @@ -3309,7 +3309,7 @@ export class Multiselect {

propertyChanged(property, newValue, oldValue) {
// do not process value changes when user input is present
if (property !== 'kValue' || this.kWidget.input.val() === '') {
if (property !== 'kValue' || this.kWidget.input.val() === '' || this.kWidget.input.val() === this.kWidget.options.placeholder) {
this.widgetBase.handlePropertyChanged(this.kWidget, property, newValue, oldValue);
}
}
Expand All @@ -3327,55 +3327,6 @@ function getSelectNode(element) {
return element.querySelectorAll('select');
}

@customAttribute(`${constants.attributePrefix}numerictextbox`)
@generateBindables('kendoNumericTextBox')
@inject(Element, WidgetBase)
export class NumericTextBox {
@bindable kEnabled;
@bindable kReadOnly;

constructor(element, widgetBase) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoNumericTextBox')
.linkViewModel(this)
.useElement(this.element)
.useValueBinding()
.bindToKendo('kEnabled', 'enable')
.bindToKendo('kReadOnly', 'readonly');
}

subscribe(event, callback) {
return this.widgetBase.subscribe(event, callback);
}

bind(ctx, overrideCtx) {
this.widgetBase.useParentCtx(overrideCtx);
}

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

recreate() {
this.kWidget = this.widgetBase.recreate();
}

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

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

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

@customElement(`${constants.elementPrefix}notification-template`)
@noView()
@processContent((compiler, resources, element, instruction) => {
Expand Down Expand Up @@ -3448,6 +3399,55 @@ export class Notification {
}
}

@customAttribute(`${constants.attributePrefix}numerictextbox`)
@generateBindables('kendoNumericTextBox')
@inject(Element, WidgetBase)
export class NumericTextBox {
@bindable kEnabled;
@bindable kReadOnly;

constructor(element, widgetBase) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoNumericTextBox')
.linkViewModel(this)
.useElement(this.element)
.useValueBinding()
.bindToKendo('kEnabled', 'enable')
.bindToKendo('kReadOnly', 'readonly');
}

subscribe(event, callback) {
return this.widgetBase.subscribe(event, callback);
}

bind(ctx, overrideCtx) {
this.widgetBase.useParentCtx(overrideCtx);
}

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

recreate() {
this.kWidget = this.widgetBase.recreate();
}

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

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

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

@customElement(`${constants.elementPrefix}panel-bar`)
@generateBindables('kendoPanelBar')
@inject(Element, WidgetBase)
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 @@ -853,18 +853,6 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class NumericTextBox {
kEnabled: any;
kReadOnly: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
bind(ctx?: any, overrideCtx?: any): any;
attached(): any;
recreate(): any;
propertyChanged(property?: any, newValue?: any, oldValue?: any): any;
destroy(): any;
detached(): any;
}
export class NotificationTemplate {
template: any;
type: any;
Expand All @@ -880,6 +868,18 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class NumericTextBox {
kEnabled: any;
kReadOnly: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
bind(ctx?: any, overrideCtx?: any): any;
attached(): any;
recreate(): any;
propertyChanged(property?: any, newValue?: any, oldValue?: any): any;
destroy(): any;
detached(): any;
}
export class PanelBar {
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/multiselect/multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ var Multiselect = exports.Multiselect = (_dec = (0, _aureliaTemplating.customEle
};

Multiselect.prototype.propertyChanged = function propertyChanged(property, newValue, oldValue) {
if (property !== 'kValue' || this.kWidget.input.val() === '') {
if (property !== 'kValue' || this.kWidget.input.val() === '' || this.kWidget.input.val() === this.kWidget.options.placeholder) {
this.widgetBase.handlePropertyChanged(this.kWidget, property, newValue, oldValue);
}
};
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
var version = exports.version = '1.6.3';
var version = exports.version = '1.6.4';
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 @@ -853,18 +853,6 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class NumericTextBox {
kEnabled: any;
kReadOnly: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
bind(ctx?: any, overrideCtx?: any): any;
attached(): any;
recreate(): any;
propertyChanged(property?: any, newValue?: any, oldValue?: any): any;
destroy(): any;
detached(): any;
}
export class NotificationTemplate {
template: any;
type: any;
Expand All @@ -880,6 +868,18 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class NumericTextBox {
kEnabled: any;
kReadOnly: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
bind(ctx?: any, overrideCtx?: any): any;
attached(): any;
recreate(): any;
propertyChanged(property?: any, newValue?: any, oldValue?: any): any;
destroy(): any;
detached(): any;
}
export class PanelBar {
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
2 changes: 0 additions & 2 deletions dist/dev/autocomplete/autocomplete.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/barcode/barcode.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/button/button.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/buttongroup/buttongroup.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/calendar/calendar.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/chart/chart.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/chart/sparkline.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/chart/stock.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/chart/treemap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/colorpalette/colorpalette.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/colorpicker/colorpicker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/combobox/combobox.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/common/bindables.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/dev/common/constants.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b9b0d8a

Please sign in to comment.