Skip to content

Commit

Permalink
chore(prepare-release:) 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Arne Deruwe committed Jun 9, 2021
1 parent c0d050d commit 70999de
Show file tree
Hide file tree
Showing 33 changed files with 702 additions and 14 deletions.
12 changes: 12 additions & 0 deletions dist/amd/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ declare module 'aurelia-kendoui-bridge' {
kendoDropDownTree(): KendoConfigBuilder;
kendoDropTarget(): KendoConfigBuilder;
kendoEditor(): KendoConfigBuilder;
kendoFilter(): KendoConfigBuilder;
kendoFilterMenu(): KendoConfigBuilder;
kendoFlatColorPicker(): KendoConfigBuilder;
kendoGantt(): KendoConfigBuilder;
Expand Down Expand Up @@ -745,6 +746,17 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class Filter {
kEnabled: any;
constructor(element?: any, widgetBase?: any, container?: 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 FilterMenu {
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
7 changes: 6 additions & 1 deletion dist/amd/config-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal'], function (exports, _aureli
};

KendoConfigBuilder.prototype.pro = function pro() {
this.core().kendoBarcode().kendoChart().kendoChat().kendoDiagram().kendoDropDownTree().kendoEditor().kendoFilterMenu().kendoGantt().kendoGrid().kendoMap().kendoLinearGauge().kendoPager().kendoPivotGrid().kendoQRCode().kendoRadialGauge().kendoScheduler().kendoTreeList().kendoTreeView().kendoUpload();
this.core().kendoBarcode().kendoChart().kendoChat().kendoDiagram().kendoDropDownTree().kendoEditor().kendoFilter().kendoFilterMenu().kendoGantt().kendoGrid().kendoMap().kendoLinearGauge().kendoPager().kendoPivotGrid().kendoQRCode().kendoRadialGauge().kendoScheduler().kendoTreeList().kendoTreeView().kendoUpload();

return this;
};
Expand Down Expand Up @@ -212,6 +212,11 @@ define(['exports', 'aurelia-logging', 'aurelia-pal'], function (exports, _aureli
return this;
};

KendoConfigBuilder.prototype.kendoFilter = function kendoFilter() {
this.resources.push(_aureliaPal.PLATFORM.moduleName('./filter/filter'));
return this;
};

KendoConfigBuilder.prototype.kendoFilterMenu = function kendoFilterMenu() {
this.resources.push(_aureliaPal.PLATFORM.moduleName('./filter-menu/filter-menu'));
return this;
Expand Down
3 changes: 3 additions & 0 deletions dist/amd/filter/filter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<slot></slot>
</template>
105 changes: 105 additions & 0 deletions dist/amd/filter/filter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../common/widget-base', '../common/decorators', '../common/constants'], function (exports, _aureliaDependencyInjection, _aureliaTemplating, _widgetBase, _decorators, _constants) {
'use strict';

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Filter = undefined;

function _initDefineProp(target, property, descriptor, context) {
if (!descriptor) return;
Object.defineProperty(target, property, {
enumerable: descriptor.enumerable,
configurable: descriptor.configurable,
writable: descriptor.writable,
value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
});
}

function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}

function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
var desc = {};
Object['ke' + 'ys'](descriptor).forEach(function (key) {
desc[key] = descriptor[key];
});
desc.enumerable = !!desc.enumerable;
desc.configurable = !!desc.configurable;

if ('value' in desc || desc.initializer) {
desc.writable = true;
}

desc = decorators.slice().reverse().reduce(function (desc, decorator) {
return decorator(target, property, desc) || desc;
}, desc);

if (context && desc.initializer !== void 0) {
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
desc.initializer = undefined;
}

if (desc.initializer === void 0) {
Object['define' + 'Property'](target, property, desc);
desc = null;
}

return desc;
}

function _initializerWarningHelper(descriptor, context) {
throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.');
}

var _dec, _dec2, _dec3, _class, _desc, _value, _class2, _descriptor;

var Filter = exports.Filter = (_dec = (0, _aureliaTemplating.customElement)(_constants.constants.elementPrefix + 'filter'), _dec2 = (0, _decorators.generateBindables)('kendoFilter'), _dec3 = (0, _aureliaDependencyInjection.inject)(Element, _widgetBase.WidgetBase, _aureliaDependencyInjection.Container), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () {
function Filter(element, widgetBase, container) {
_classCallCheck(this, Filter);

_initDefineProp(this, 'kEnabled', _descriptor, this);

this.element = element;
this.widgetBase = widgetBase.control('kendoFilter').linkViewModel(this).useElement(this.element).useContainer(container);
}

Filter.prototype.subscribe = function subscribe(event, callback) {
return this.widgetBase.subscribe(event, callback);
};

Filter.prototype.bind = function bind(ctx, overrideCtx) {
this.widgetBase.useParentCtx(overrideCtx);
};

Filter.prototype.attached = function attached() {
if (!this.kNoInit) {
this.recreate();
}
};

Filter.prototype.recreate = function recreate() {
this.kWidget = this.widgetBase.recreate();
};

Filter.prototype.propertyChanged = function propertyChanged(property, newValue, oldValue) {
this.widgetBase.handlePropertyChanged(this.kWidget, property, newValue, oldValue);
};

Filter.prototype.destroy = function destroy() {
this.widgetBase.destroy(this.kWidget);
};

Filter.prototype.detached = function detached() {
this.destroy();
};

return Filter;
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'kEnabled', [_aureliaTemplating.bindable], {
enumerable: true,
initializer: null
})), _class2)) || _class) || _class) || _class);
});
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.10.0';
var version = exports.version = '1.11.0';
});
12 changes: 12 additions & 0 deletions dist/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ declare module 'aurelia-kendoui-bridge' {
kendoDropDownTree(): KendoConfigBuilder;
kendoDropTarget(): KendoConfigBuilder;
kendoEditor(): KendoConfigBuilder;
kendoFilter(): KendoConfigBuilder;
kendoFilterMenu(): KendoConfigBuilder;
kendoFlatColorPicker(): KendoConfigBuilder;
kendoGantt(): KendoConfigBuilder;
Expand Down Expand Up @@ -745,6 +746,17 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class Filter {
kEnabled: any;
constructor(element?: any, widgetBase?: any, container?: 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 FilterMenu {
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
59 changes: 58 additions & 1 deletion dist/aurelia-kendoui-bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export class KendoConfigBuilder {
.kendoDiagram()
.kendoDropDownTree()
.kendoEditor()
.kendoFilter()
.kendoFilterMenu()
.kendoGantt()
.kendoGrid()
Expand Down Expand Up @@ -276,6 +277,11 @@ export class KendoConfigBuilder {
return this;
}

kendoFilter(): KendoConfigBuilder {
this.resources.push(PLATFORM.moduleName('./filter/filter'));
return this;
}

kendoFilterMenu(): KendoConfigBuilder {
this.resources.push(PLATFORM.moduleName('./filter-menu/filter-menu'));
return this;
Expand Down Expand Up @@ -548,7 +554,7 @@ export function configure(aurelia, configCallback) {



export let version = '1.10.0';
export let version = '1.11.0';
@customElement(`${constants.elementPrefix}autocomplete`)
@generateBindables('kendoAutoComplete')
@inject(Element, WidgetBase, Container)
Expand Down Expand Up @@ -2773,6 +2779,57 @@ export class Editor {
}
}

@customElement(`${constants.elementPrefix}filter`)
@generateBindables('kendoFilter')
@inject(Element, WidgetBase, Container)
export class Filter {
@bindable kEnabled;

constructor(element, widgetBase, container) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoFilter')
.linkViewModel(this)
.useElement(this.element)
.useContainer(container);
}

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();
}
}

@customAttribute(`${constants.attributePrefix}filter-menu`)
@generateBindables('kendoFilterMenu')
@inject(Element, WidgetBase)
Expand Down
12 changes: 12 additions & 0 deletions dist/commonjs/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ declare module 'aurelia-kendoui-bridge' {
kendoDropDownTree(): KendoConfigBuilder;
kendoDropTarget(): KendoConfigBuilder;
kendoEditor(): KendoConfigBuilder;
kendoFilter(): KendoConfigBuilder;
kendoFilterMenu(): KendoConfigBuilder;
kendoFlatColorPicker(): KendoConfigBuilder;
kendoGantt(): KendoConfigBuilder;
Expand Down Expand Up @@ -745,6 +746,17 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class Filter {
kEnabled: any;
constructor(element?: any, widgetBase?: any, container?: 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 FilterMenu {
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
7 changes: 6 additions & 1 deletion dist/commonjs/config-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var KendoConfigBuilder = exports.KendoConfigBuilder = function () {
};

KendoConfigBuilder.prototype.pro = function pro() {
this.core().kendoBarcode().kendoChart().kendoChat().kendoDiagram().kendoDropDownTree().kendoEditor().kendoFilterMenu().kendoGantt().kendoGrid().kendoMap().kendoLinearGauge().kendoPager().kendoPivotGrid().kendoQRCode().kendoRadialGauge().kendoScheduler().kendoTreeList().kendoTreeView().kendoUpload();
this.core().kendoBarcode().kendoChart().kendoChat().kendoDiagram().kendoDropDownTree().kendoEditor().kendoFilter().kendoFilterMenu().kendoGantt().kendoGrid().kendoMap().kendoLinearGauge().kendoPager().kendoPivotGrid().kendoQRCode().kendoRadialGauge().kendoScheduler().kendoTreeList().kendoTreeView().kendoUpload();

return this;
};
Expand Down Expand Up @@ -196,6 +196,11 @@ var KendoConfigBuilder = exports.KendoConfigBuilder = function () {
return this;
};

KendoConfigBuilder.prototype.kendoFilter = function kendoFilter() {
this.resources.push(_aureliaPal.PLATFORM.moduleName('./filter/filter'));
return this;
};

KendoConfigBuilder.prototype.kendoFilterMenu = function kendoFilterMenu() {
this.resources.push(_aureliaPal.PLATFORM.moduleName('./filter-menu/filter-menu'));
return this;
Expand Down
3 changes: 3 additions & 0 deletions dist/commonjs/filter/filter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<slot></slot>
</template>
Loading

0 comments on commit 70999de

Please sign in to comment.