You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP →

@acpaas-ui/ngx-utils

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acpaas-ui/ngx-utils - npm Package Compare versions

Comparing version

to
4.2.0

@@ -5,2 +5,3 @@ /**

export * from './public-api';
export { IntervalModel as ɵd } from './lib/interval/classes/interval.model';
export { BrowserWindowRef as ɵb, WindowRef as ɵa, windowFactory as ɵc } from './lib/window/services/window.service';

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"FilterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":13,"character":4}],"declarations":[{"__symbolic":"reference","name":"CheckboxFilterComponent"},{"__symbolic":"reference","name":"InputFilterComponent"},{"__symbolic":"reference","name":"SelectFilterComponent"}],"providers":[{"__symbolic":"reference","name":"FilterService"}],"exports":[{"__symbolic":"reference","name":"CheckboxFilterComponent"},{"__symbolic":"reference","name":"InputFilterComponent"},{"__symbolic":"reference","name":"SelectFilterComponent"}]}]}],"members":{}},"CheckboxFilterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"aui-checkbox-filter","template":"<ul *ngIf=\"filter && filter.options && filter.id\" class=\"a-list a-list--reset aui-checkbox-filter\">\n <li *ngFor=\"let option of options.controls; let i = index;\">\n <form [formGroup]=\"form\">\n <div class=\"a-input\">\n <div class=\"a-input__checkbox\">\n <input [formControl]=\"option\" [id]=\"filter.options[i].id\" [name]=\"filter.options[i].name\"\n type=\"checkbox\"/>\n <label [for]=\"filter.options[i].id\">{{ filter.options[i].name }}</label>\n </div>\n </div>\n </form>\n </li>\n</ul>\n"}]}],"members":{"filter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":18,"character":35}]}],"ngOnInit":[{"__symbolic":"method"}],"buildCheckboxes":[{"__symbolic":"method"}],"onFilter":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"InputFilterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"aui-input-filter","template":"<div class=\"a-input has-icon-right aui-input-filter\">\n <ng-container *ngIf=\"filter\">\n <div class=\"a-input__wrapper\">\n <input (ngModelChange)=\"onFilter(value)\" [(ngModel)]=\"value\" [attr.aria-label]=\"filter.name\" [id]=\"filter.id\"\n [placeholder]=\"filter.name\" type=\"text\">\n <span class=\"fa fa-search\"></span>\n </div>\n </ng-container>\n</div>\n"}]}],"members":{"filter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":9,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"onFilter":[{"__symbolic":"method"}]}},"SelectFilterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"aui-select-filter","template":"<div class=\"a-input has-icon-right aui-select-filter\">\n <ng-container *ngIf=\"filter && filter.options && filter.id\">\n <label [for]=\"filter.id\" class=\"a-input__label a-input__label--inline\">{{ filter.name }}: </label>\n <div class=\"a-input__wrapper a-input__wrapper--inline\">\n <select [formControl]=\"select\" [id]=\"filter.id\" [name]=\"filter.id\">\n <option *ngFor=\"let option of filter.options\" [value]=\"option.id\">{{ option.name }}</option>\n </select>\n <span class=\"fa fa-angle-down\"></span>\n </div>\n </ng-container>\n</div>\n"}]}],"members":{"filter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"onFilter":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"Filter":{"__symbolic":"class","members":{"parseData":[{"__symbolic":"method"}]}},"FilterService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"filterData":[{"__symbolic":"method"}]}},"FilterComponent":{"__symbolic":"interface"},"InterpolateLabelPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":5,"character":1},"arguments":[{"name":"interpolateLabel"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"PluralizeLabelPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":4,"character":1},"arguments":[{"name":"pluralizeLabel"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"Label":{"__symbolic":"interface"},"Labels":{"__symbolic":"interface"},"interpolate":{"__symbolic":"error","message":"Lambda not supported","line":2,"character":27,"module":"./lib/labels/utils/interpolation"},"LabelsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"PluralizeLabelPipe"},{"__symbolic":"reference","name":"InterpolateLabelPipe"}],"exports":[{"__symbolic":"reference","name":"PluralizeLabelPipe"},{"__symbolic":"reference","name":"InterpolateLabelPipe"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","members":{}},"ɵb":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵa"},"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"ɵc":{"__symbolic":"function"},"WINDOW_PROVIDERS":[{"provide":{"__symbolic":"reference","name":"ɵa"},"useClass":{"__symbolic":"reference","name":"ɵb"}},{"provide":{"__symbolic":"reference","name":"WINDOW"},"useFactory":{"__symbolic":"reference","name":"ɵc"},"deps":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":42,"character":20}]}],"WINDOW":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":26},"arguments":["WindowToken"]},"WindowModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"providers":[{"__symbolic":"reference","name":"WINDOW_PROVIDERS"}]}]}],"members":{}}},"origins":{"FilterModule":"./lib/filter/filter.module","CheckboxFilterComponent":"./lib/filter/components/checkbox-filter/checkbox-filter.component","InputFilterComponent":"./lib/filter/components/input-filter/input-filter.component","SelectFilterComponent":"./lib/filter/components/select-filter/select-filter.component","Filter":"./lib/filter/classes/filter.class","FilterService":"./lib/filter/services/filter.service","FilterComponent":"./lib/filter/types/filter.types","InterpolateLabelPipe":"./lib/labels/pipes/interpolate-label.pipe","PluralizeLabelPipe":"./lib/labels/pipes/pluralize-label.pipe","Label":"./lib/labels/types/labels.types","Labels":"./lib/labels/types/labels.types","interpolate":"./lib/labels/utils/interpolation","LabelsModule":"./lib/labels/labels.module","ɵa":"./lib/window/services/window.service","ɵb":"./lib/window/services/window.service","ɵc":"./lib/window/services/window.service","WINDOW_PROVIDERS":"./lib/window/services/window.service","WINDOW":"./lib/window/services/window.service","WindowModule":"./lib/window/window.module"},"importAs":"@acpaas-ui/ngx-utils"}
{"__symbolic":"module","version":4,"exports":[{"export":[{"name":"Interval","as":"Interval"}],"from":"./lib/interval/types"}],"metadata":{"FilterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":13,"character":4}],"declarations":[{"__symbolic":"reference","name":"CheckboxFilterComponent"},{"__symbolic":"reference","name":"InputFilterComponent"},{"__symbolic":"reference","name":"SelectFilterComponent"}],"providers":[{"__symbolic":"reference","name":"FilterService"}],"exports":[{"__symbolic":"reference","name":"CheckboxFilterComponent"},{"__symbolic":"reference","name":"InputFilterComponent"},{"__symbolic":"reference","name":"SelectFilterComponent"}]}]}],"members":{}},"CheckboxFilterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"aui-checkbox-filter","template":"<ul *ngIf=\"filter && filter.options && filter.id\" class=\"a-list a-list--reset aui-checkbox-filter\">\n <li *ngFor=\"let option of options.controls; let i = index;\">\n <form [formGroup]=\"form\">\n <div class=\"a-input\">\n <div class=\"a-input__checkbox\">\n <input [formControl]=\"option\" [id]=\"filter.options[i].id\" [name]=\"filter.options[i].name\"\n type=\"checkbox\"/>\n <label [for]=\"filter.options[i].id\">{{ filter.options[i].name }}</label>\n </div>\n </div>\n </form>\n </li>\n</ul>\n"}]}],"members":{"filter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":18,"character":35}]}],"ngOnInit":[{"__symbolic":"method"}],"buildCheckboxes":[{"__symbolic":"method"}],"onFilter":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"InputFilterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"aui-input-filter","template":"<div class=\"a-input has-icon-right aui-input-filter\">\n <ng-container *ngIf=\"filter\">\n <div class=\"a-input__wrapper\">\n <input (ngModelChange)=\"onFilter(value)\" [(ngModel)]=\"value\" [attr.aria-label]=\"filter.name\" [id]=\"filter.id\"\n [placeholder]=\"filter.name\" type=\"text\">\n <span class=\"fa fa-search\"></span>\n </div>\n </ng-container>\n</div>\n"}]}],"members":{"filter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":9,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"onFilter":[{"__symbolic":"method"}]}},"SelectFilterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"aui-select-filter","template":"<div class=\"a-input has-icon-right aui-select-filter\">\n <ng-container *ngIf=\"filter && filter.options && filter.id\">\n <label [for]=\"filter.id\" class=\"a-input__label a-input__label--inline\">{{ filter.name }}: </label>\n <div class=\"a-input__wrapper a-input__wrapper--inline\">\n <select [formControl]=\"select\" [id]=\"filter.id\" [name]=\"filter.id\">\n <option *ngFor=\"let option of filter.options\" [value]=\"option.id\">{{ option.name }}</option>\n </select>\n <span class=\"fa fa-angle-down\"></span>\n </div>\n </ng-container>\n</div>\n"}]}],"members":{"filter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"onFilter":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"Filter":{"__symbolic":"class","members":{"parseData":[{"__symbolic":"method"}]}},"FilterService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"filterData":[{"__symbolic":"method"}]}},"FilterComponent":{"__symbolic":"interface"},"InterpolateLabelPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":5,"character":1},"arguments":[{"name":"interpolateLabel"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"PluralizeLabelPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":4,"character":1},"arguments":[{"name":"pluralizeLabel"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"Label":{"__symbolic":"interface"},"Labels":{"__symbolic":"interface"},"interpolate":{"__symbolic":"error","message":"Lambda not supported","line":2,"character":27,"module":"./lib/labels/utils/interpolation"},"LabelsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"PluralizeLabelPipe"},{"__symbolic":"reference","name":"InterpolateLabelPipe"}],"exports":[{"__symbolic":"reference","name":"PluralizeLabelPipe"},{"__symbolic":"reference","name":"InterpolateLabelPipe"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","members":{}},"ɵb":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵa"},"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"ɵc":{"__symbolic":"function"},"WINDOW_PROVIDERS":[{"provide":{"__symbolic":"reference","name":"ɵa"},"useClass":{"__symbolic":"reference","name":"ɵb"}},{"provide":{"__symbolic":"reference","name":"WINDOW"},"useFactory":{"__symbolic":"reference","name":"ɵc"},"deps":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":42,"character":20}]}],"WINDOW":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":26},"arguments":["WindowToken"]},"WindowModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"providers":[{"__symbolic":"reference","name":"WINDOW_PROVIDERS"}]}]}],"members":{}},"IntervalBuilder":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Unsupported import syntax","module":"./lib/interval/classes/interval.builder"}]}],"openInterval":[{"__symbolic":"method"}],"leftOpenInterval":[{"__symbolic":"method"}],"rightOpenInterval":[{"__symbolic":"method"}],"closedInterval":[{"__symbolic":"method"}],"bounded":[{"__symbolic":"method"}],"unbounded":[{"__symbolic":"method"}],"not":[{"__symbolic":"method"}],"build":[{"__symbolic":"method"}]},"statics":{"dateInterval":{"__symbolic":"function","parameters":["min","max"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"IntervalBuilder"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"DateInterval"},"arguments":[{"__symbolic":"reference","name":"min"},{"__symbolic":"reference","name":"max"}]}]}},"genericInterval":{"__symbolic":"function","parameters":["min","max"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"IntervalBuilder"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"GenericInterval"},"arguments":[{"__symbolic":"reference","name":"min"},{"__symbolic":"reference","name":"max"}]}]}},"numberInterval":{"__symbolic":"function","parameters":["min","max"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"IntervalBuilder"},"member":"genericInterval"},"arguments":[{"__symbolic":"reference","name":"min"},{"__symbolic":"reference","name":"max"}]}}}},"GenericInterval":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵd"},"members":{"checkIsInRange":[{"__symbolic":"method"}],"isInRange":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"DateInterval":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵd"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[null,null]}],"checkIsInRange":[{"__symbolic":"method"}],"isInRange":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]},"statics":{"isSameOrAfter":{"__symbolic":"function","parameters":["one","two"],"value":{"__symbolic":"binop","operator":">=","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"two"},"member":"getTime"}},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"one"},"member":"getTime"}}}},"isSameOrBefore":{"__symbolic":"function","parameters":["one","two"],"value":{"__symbolic":"binop","operator":"<=","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"two"},"member":"getTime"}},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"one"},"member":"getTime"}}}},"isAfter":{"__symbolic":"function","parameters":["one","two"],"value":{"__symbolic":"binop","operator":">","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"two"},"member":"getTime"}},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"one"},"member":"getTime"}}}},"isBefore":{"__symbolic":"function","parameters":["one","two"],"value":{"__symbolic":"binop","operator":"<","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"two"},"member":"getTime"}},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"one"},"member":"getTime"}}}}}},"ɵd":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":8,"character":35,"context":{"typeName":"T"},"module":"./lib/interval/classes/interval.model"},{"__symbolic":"error","message":"Could not resolve type","line":8,"character":60,"context":{"typeName":"T"},"module":"./lib/interval/classes/interval.model"}]}],"isInRange":[{"__symbolic":"method"}]}}},"origins":{"FilterModule":"./lib/filter/filter.module","CheckboxFilterComponent":"./lib/filter/components/checkbox-filter/checkbox-filter.component","InputFilterComponent":"./lib/filter/components/input-filter/input-filter.component","SelectFilterComponent":"./lib/filter/components/select-filter/select-filter.component","Filter":"./lib/filter/classes/filter.class","FilterService":"./lib/filter/services/filter.service","FilterComponent":"./lib/filter/types/filter.types","InterpolateLabelPipe":"./lib/labels/pipes/interpolate-label.pipe","PluralizeLabelPipe":"./lib/labels/pipes/pluralize-label.pipe","Label":"./lib/labels/types/labels.types","Labels":"./lib/labels/types/labels.types","interpolate":"./lib/labels/utils/interpolation","LabelsModule":"./lib/labels/labels.module","ɵa":"./lib/window/services/window.service","ɵb":"./lib/window/services/window.service","ɵc":"./lib/window/services/window.service","WINDOW_PROVIDERS":"./lib/window/services/window.service","WINDOW":"./lib/window/services/window.service","WindowModule":"./lib/window/window.module","IntervalBuilder":"./lib/interval/classes/interval.builder","GenericInterval":"./lib/interval/classes/generic.interval","DateInterval":"./lib/interval/classes/date.interval","ɵd":"./lib/interval/classes/interval.model"},"importAs":"@acpaas-ui/ngx-utils"}

@@ -818,8 +818,397 @@ (function (global, factory) {

/**
* @fileoverview added by tsickle
* Generated from: lib/interval/classes/interval.model.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @abstract
* @template T
*/
var /**
* @abstract
* @template T
*/
IntervalModel = /** @class */ (function () {
function IntervalModel(min, max) {
this.min = min;
this.max = max;
this.bound = 'bounded';
this.meaning = 'OR';
}
return IntervalModel;
}());
if (false) {
/** @type {?} */
IntervalModel.prototype.bound;
/** @type {?} */
IntervalModel.prototype.type;
/** @type {?} */
IntervalModel.prototype.meaning;
/** @type {?} */
IntervalModel.prototype.min;
/** @type {?} */
IntervalModel.prototype.max;
/**
* @abstract
* @param {?} value
* @return {?}
*/
IntervalModel.prototype.isInRange = function (value) { };
}
/**
* @fileoverview added by tsickle
* Generated from: lib/interval/classes/generic.interval.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var GenericInterval = /** @class */ (function (_super) {
__extends(GenericInterval, _super);
function GenericInterval() {
return _super !== null && _super.apply(this, arguments) || this;
}
/**
* @private
* @param {?} value
* @return {?}
*/
GenericInterval.prototype.checkIsInRange = /**
* @private
* @param {?} value
* @return {?}
*/
function (value) {
switch (this.type) {
case 'closed':
return value >= this.min && value <= this.max;
case 'open':
return value > this.min && value < this.max;
case 'leftopen':
if (this.bound === 'bounded') {
return value > this.min && value <= this.max;
}
else if (this.bound === 'unbounded') {
return value <= this.max;
}
return false;
case 'rightopen':
if (this.bound === 'bounded') {
return value >= this.min && value < this.max;
}
else if (this.bound === 'unbounded') {
return value >= this.min;
}
return false;
default:
return false;
}
};
/**
* @param {?} value
* @return {?}
*/
GenericInterval.prototype.isInRange = /**
* @param {?} value
* @return {?}
*/
function (value) {
return this.meaning === 'OR' ? this.checkIsInRange(value) : !this.checkIsInRange(value);
};
/**
* @return {?}
*/
GenericInterval.prototype.toString = /**
* @return {?}
*/
function () {
return String("\n " + (this.type === 'closed' || this.type === 'rightopen' ? '[' : ']') + "\n " + (this.bound === 'unbounded' && this.type === 'leftopen' ? '-infinity' : this.min) + "\n ,\n " + (this.bound === 'unbounded' && this.type === 'rightopen' ? '+infinity' : this.max) + "\n " + (this.type === 'closed' || this.type === 'leftopen' ? ']' : '[') + "\n ").replace(/\n/g, '').replace(/ /g, '').trim();
};
return GenericInterval;
}(IntervalModel));
/**
* @fileoverview added by tsickle
* Generated from: lib/interval/classes/date.interval.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var DateInterval = /** @class */ (function (_super) {
__extends(DateInterval, _super);
function DateInterval(min, max) {
var _this = _super.call(this, min, max) || this;
if (!min && !max) {
throw new Error('Error creating date interval, please provide at least min or max.');
}
else if (!min) {
_this.bound = 'unbounded';
_this.type = 'leftopen';
}
else if (!max) {
_this.bound = 'unbounded';
_this.type = 'rightopen';
}
return _this;
}
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
DateInterval.isSameOrAfter = /**
* @param {?} one
* @param {?} two
* @return {?}
*/
function (one, two) {
return two.getTime() >= one.getTime();
};
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
DateInterval.isSameOrBefore = /**
* @param {?} one
* @param {?} two
* @return {?}
*/
function (one, two) {
return two.getTime() <= one.getTime();
};
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
DateInterval.isAfter = /**
* @param {?} one
* @param {?} two
* @return {?}
*/
function (one, two) {
return two.getTime() > one.getTime();
};
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
DateInterval.isBefore = /**
* @param {?} one
* @param {?} two
* @return {?}
*/
function (one, two) {
return two.getTime() < one.getTime();
};
/**
* @private
* @param {?} value
* @return {?}
*/
DateInterval.prototype.checkIsInRange = /**
* @private
* @param {?} value
* @return {?}
*/
function (value) {
switch (this.type) {
case 'closed':
return DateInterval.isSameOrAfter(this.min, value) && DateInterval.isSameOrBefore(this.max, value);
case 'open':
return DateInterval.isAfter(this.min, value) && DateInterval.isBefore(this.max, value);
case 'leftopen':
if (this.bound === 'bounded') {
return DateInterval.isAfter(this.min, value) && DateInterval.isSameOrBefore(this.max, value);
}
else if (this.bound === 'unbounded') {
return DateInterval.isSameOrBefore(this.max, value);
}
return false;
case 'rightopen':
if (this.bound === 'bounded') {
return DateInterval.isSameOrAfter(this.min, value) && DateInterval.isBefore(this.max, value);
}
else if (this.bound === 'unbounded') {
return DateInterval.isSameOrAfter(this.min, value);
}
return false;
default:
return false;
}
};
/**
* @param {?} value
* @return {?}
*/
DateInterval.prototype.isInRange = /**
* @param {?} value
* @return {?}
*/
function (value) {
return this.meaning === 'OR' ? this.checkIsInRange(value) : !this.checkIsInRange(value);
};
/**
* @return {?}
*/
DateInterval.prototype.toString = /**
* @return {?}
*/
function () {
return String("\n " + (this.type === 'closed' || this.type === 'rightopen' ? '[' : ']') + "\n " + (this.bound === 'unbounded' && this.type === 'leftopen' ? '-infinity' : this.min.toISOString()) + "\n ,\n " + (this.bound === 'unbounded' && this.type === 'rightopen' ? '+infinity' : this.max.toISOString()) + "\n " + (this.type === 'closed' || this.type === 'leftopen' ? ']' : '[') + "\n ").replace(/\n/g, '').replace(/ /g, '').trim();
};
return DateInterval;
}(IntervalModel));
/**
* @fileoverview added by tsickle
* Generated from: lib/interval/classes/interval.builder.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @template T
*/
var /**
* @template T
*/
IntervalBuilder = /** @class */ (function () {
function IntervalBuilder(model) {
this.model = model;
}
/**
* @param {?} min
* @param {?} max
* @return {?}
*/
IntervalBuilder.dateInterval = /**
* @param {?} min
* @param {?} max
* @return {?}
*/
function (min, max) {
return new IntervalBuilder(new DateInterval(min, max));
};
/**
* @param {?} min
* @param {?} max
* @return {?}
*/
IntervalBuilder.genericInterval = /**
* @param {?} min
* @param {?} max
* @return {?}
*/
function (min, max) {
return new IntervalBuilder(new GenericInterval(min, max));
};
/**
* @param {?} min
* @param {?} max
* @return {?}
*/
IntervalBuilder.numberInterval = /**
* @param {?} min
* @param {?} max
* @return {?}
*/
function (min, max) {
return IntervalBuilder.genericInterval(min, max);
};
/**
* @return {?}
*/
IntervalBuilder.prototype.openInterval = /**
* @return {?}
*/
function () {
this.model.type = 'open';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.leftOpenInterval = /**
* @return {?}
*/
function () {
this.model.type = 'leftopen';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.rightOpenInterval = /**
* @return {?}
*/
function () {
this.model.type = 'rightopen';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.closedInterval = /**
* @return {?}
*/
function () {
this.model.type = 'closed';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.bounded = /**
* @return {?}
*/
function () {
this.model.bound = 'bounded';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.unbounded = /**
* @return {?}
*/
function () {
this.model.bound = 'unbounded';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.not = /**
* @return {?}
*/
function () {
this.model.meaning = 'NOR';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.build = /**
* @return {?}
*/
function () {
return this.model;
};
return IntervalBuilder;
}());
if (false) {
/**
* @type {?}
* @private
*/
IntervalBuilder.prototype.model;
}
exports.CheckboxFilterComponent = CheckboxFilterComponent;
exports.DateInterval = DateInterval;
exports.Filter = Filter;
exports.FilterModule = FilterModule;
exports.FilterService = FilterService;
exports.GenericInterval = GenericInterval;
exports.InputFilterComponent = InputFilterComponent;
exports.InterpolateLabelPipe = InterpolateLabelPipe;
exports.IntervalBuilder = IntervalBuilder;
exports.LabelsModule = LabelsModule;

@@ -835,2 +1224,3 @@ exports.PluralizeLabelPipe = PluralizeLabelPipe;

exports.ɵc = windowFactory;
exports.ɵd = IntervalModel;

@@ -837,0 +1227,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@angular/forms"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@acpaas-ui/ngx-utils",["exports","@angular/core","@angular/common","@angular/forms","rxjs","rxjs/operators"],e):e(((t=t||self)["acpaas-ui"]=t["acpaas-ui"]||{},t["acpaas-ui"]["ngx-utils"]={}),t.ng.core,t.ng.common,t.ng.forms,t.rxjs,t.rxjs.operators)}(this,(function(t,e,n,r,o,i){"use strict";
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@angular/forms"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@acpaas-ui/ngx-utils",["exports","@angular/core","@angular/common","@angular/forms","rxjs","rxjs/operators"],e):e(((t=t||self)["acpaas-ui"]=t["acpaas-ui"]||{},t["acpaas-ui"]["ngx-utils"]={}),t.ng.core,t.ng.common,t.ng.forms,t.rxjs,t.rxjs.operators)}(this,(function(t,e,n,r,i,o){"use strict";
/*! *****************************************************************************

@@ -15,3 +15,3 @@ Copyright (c) Microsoft Corporation. All rights reserved.

and limitations under the License.
***************************************************************************** */var a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}var l=function(){function t(){}return t.prototype.filterData=function(t,e){return e.forEach((function(e){t=e.parseData(t)})),t},t.decorators=[{type:e.Injectable}],t}(),p=function(){function t(t){this.formBuilder=t,this.update=new e.EventEmitter,this.destroy$=new o.Subject}return t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({options:this.buildCheckboxes(this.filter.options)}),this.filter&&(this.value=this.filter.value),this.options.valueChanges.pipe(i.map((function(e){return e.map((function(e,n){return!0===e?t.filter.options[n]:null}))})),i.map((function(t){return t.filter((function(t){return null!==t}))})),i.tap((function(e){return t.value=e})),i.tap((function(e){return t.update.next(e)})),i.takeUntil(this.destroy$)).subscribe()},t.prototype.buildCheckboxes=function(t){var e=this;return new r.FormArray(function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(u(arguments[e]));return t}(t.map((function(t){return e.formBuilder.control(t.checked)}))))},Object.defineProperty(t.prototype,"options",{get:function(){return this.form.get("options")},enumerable:!0,configurable:!0}),t.prototype.onFilter=function(t){this.update.emit(t)},t.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},t.decorators=[{type:e.Component,args:[{selector:"aui-checkbox-filter",template:'<ul *ngIf="filter && filter.options && filter.id" class="a-list a-list--reset aui-checkbox-filter">\n <li *ngFor="let option of options.controls; let i = index;">\n <form [formGroup]="form">\n <div class="a-input">\n <div class="a-input__checkbox">\n <input [formControl]="option" [id]="filter.options[i].id" [name]="filter.options[i].name"\n type="checkbox"/>\n <label [for]="filter.options[i].id">{{ filter.options[i].name }}</label>\n </div>\n </div>\n </form>\n </li>\n</ul>\n'}]}],t.ctorParameters=function(){return[{type:r.FormBuilder}]},t.propDecorators={filter:[{type:e.Input}],update:[{type:e.Output}]},t}();var s=function(){function t(){this.update=new e.EventEmitter}return t.prototype.ngOnInit=function(){this.filter&&(this.value=this.filter.value)},t.prototype.onFilter=function(t){this.update.emit(t)},t.decorators=[{type:e.Component,args:[{selector:"aui-input-filter",template:'<div class="a-input has-icon-right aui-input-filter">\n <ng-container *ngIf="filter">\n <div class="a-input__wrapper">\n <input (ngModelChange)="onFilter(value)" [(ngModel)]="value" [attr.aria-label]="filter.name" [id]="filter.id"\n [placeholder]="filter.name" type="text">\n <span class="fa fa-search"></span>\n </div>\n </ng-container>\n</div>\n'}]}],t.propDecorators={filter:[{type:e.Input}],update:[{type:e.Output}]},t}();var c=function(){function t(){this.update=new e.EventEmitter,this.select=new r.FormControl,this.destroy$=new o.Subject}return t.prototype.ngOnInit=function(){var t=this;this.filter&&this.filter.value&&(this.value=this.filter.value,this.select.setValue(this.filter.value.id)),this.select.valueChanges.pipe(i.map((function(e){return t.filter.options.find((function(t){return t.id===e}))})),i.tap((function(e){return t.update.next(e)})),i.takeUntil(this.destroy$)).subscribe()},t.prototype.onFilter=function(t){this.update.emit(t)},t.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},t.decorators=[{type:e.Component,args:[{selector:"aui-select-filter",template:'<div class="a-input has-icon-right aui-select-filter">\n <ng-container *ngIf="filter && filter.options && filter.id">\n <label [for]="filter.id" class="a-input__label a-input__label--inline">{{ filter.name }}: </label>\n <div class="a-input__wrapper a-input__wrapper--inline">\n <select [formControl]="select" [id]="filter.id" [name]="filter.id">\n <option *ngFor="let option of filter.options" [value]="option.id">{{ option.name }}</option>\n </select>\n <span class="fa fa-angle-down"></span>\n </div>\n </ng-container>\n</div>\n'}]}],t.propDecorators={filter:[{type:e.Input}],update:[{type:e.Output}]},t}();var f=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.FormsModule,r.ReactiveFormsModule],declarations:[p,s,c],providers:[l],exports:[p,s,c]}]}],t}(),d=function(){function t(){}return t.prototype.parseData=function(t){return this.parse(t,this.value)},t}();var m=function(t,e){if(!e)return t;var n=new RegExp("%{("+Object.keys(e).map((function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")})).join("|")+")}","g");return t.replace(n,(function(t,n){return e[n]?String(e[n]):""}))},h=function(){function t(){}return t.prototype.transform=function(t,e){return e&&t?m(t,e):t},t.decorators=[{type:e.Pipe,args:[{name:"interpolateLabel"}]}],t}(),y=function(){function t(){}return t.prototype.transform=function(t,e){return t&&"string"!=typeof t?1===e?t.singular:t.plural:t},t.decorators=[{type:e.Pipe,args:[{name:"pluralizeLabel"}]}],t}(),g=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[y,h],exports:[y,h]}]}],t}(),v=new e.InjectionToken("WindowToken"),b=function(){function t(){}return Object.defineProperty(t.prototype,"nativeWindow",{get:function(){throw new Error("Not implemented.")},enumerable:!0,configurable:!0}),t}(),x=function(t){function e(){return t.call(this)||this}return function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),Object.defineProperty(e.prototype,"nativeWindow",{get:function(){return window},enumerable:!0,configurable:!0}),e}(b);function w(t,e){return n.isPlatformBrowser(e)?t.nativeWindow:{}}var _=[{provide:b,useClass:x},{provide:v,useFactory:w,deps:[b,e.PLATFORM_ID]}],O=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{providers:[_]}]}],t}();t.CheckboxFilterComponent=p,t.Filter=d,t.FilterModule=f,t.FilterService=l,t.InputFilterComponent=s,t.InterpolateLabelPipe=h,t.LabelsModule=g,t.PluralizeLabelPipe=y,t.SelectFilterComponent=c,t.WINDOW=v,t.WINDOW_PROVIDERS=_,t.WindowModule=O,t.interpolate=m,t.ɵa=b,t.ɵb=x,t.ɵc=w,Object.defineProperty(t,"__esModule",{value:!0})}));
***************************************************************************** */var u=function(t,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function s(t,e){function n(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)u.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return u}var p=function(){function t(){}return t.prototype.filterData=function(t,e){return e.forEach((function(e){t=e.parseData(t)})),t},t.decorators=[{type:e.Injectable}],t}(),l=function(){function t(t){this.formBuilder=t,this.update=new e.EventEmitter,this.destroy$=new i.Subject}return t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({options:this.buildCheckboxes(this.filter.options)}),this.filter&&(this.value=this.filter.value),this.options.valueChanges.pipe(o.map((function(e){return e.map((function(e,n){return!0===e?t.filter.options[n]:null}))})),o.map((function(t){return t.filter((function(t){return null!==t}))})),o.tap((function(e){return t.value=e})),o.tap((function(e){return t.update.next(e)})),o.takeUntil(this.destroy$)).subscribe()},t.prototype.buildCheckboxes=function(t){var e=this;return new r.FormArray(function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}(t.map((function(t){return e.formBuilder.control(t.checked)}))))},Object.defineProperty(t.prototype,"options",{get:function(){return this.form.get("options")},enumerable:!0,configurable:!0}),t.prototype.onFilter=function(t){this.update.emit(t)},t.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},t.decorators=[{type:e.Component,args:[{selector:"aui-checkbox-filter",template:'<ul *ngIf="filter && filter.options && filter.id" class="a-list a-list--reset aui-checkbox-filter">\n <li *ngFor="let option of options.controls; let i = index;">\n <form [formGroup]="form">\n <div class="a-input">\n <div class="a-input__checkbox">\n <input [formControl]="option" [id]="filter.options[i].id" [name]="filter.options[i].name"\n type="checkbox"/>\n <label [for]="filter.options[i].id">{{ filter.options[i].name }}</label>\n </div>\n </div>\n </form>\n </li>\n</ul>\n'}]}],t.ctorParameters=function(){return[{type:r.FormBuilder}]},t.propDecorators={filter:[{type:e.Input}],update:[{type:e.Output}]},t}();var c=function(){function t(){this.update=new e.EventEmitter}return t.prototype.ngOnInit=function(){this.filter&&(this.value=this.filter.value)},t.prototype.onFilter=function(t){this.update.emit(t)},t.decorators=[{type:e.Component,args:[{selector:"aui-input-filter",template:'<div class="a-input has-icon-right aui-input-filter">\n <ng-container *ngIf="filter">\n <div class="a-input__wrapper">\n <input (ngModelChange)="onFilter(value)" [(ngModel)]="value" [attr.aria-label]="filter.name" [id]="filter.id"\n [placeholder]="filter.name" type="text">\n <span class="fa fa-search"></span>\n </div>\n </ng-container>\n</div>\n'}]}],t.propDecorators={filter:[{type:e.Input}],update:[{type:e.Output}]},t}();var f=function(){function t(){this.update=new e.EventEmitter,this.select=new r.FormControl,this.destroy$=new i.Subject}return t.prototype.ngOnInit=function(){var t=this;this.filter&&this.filter.value&&(this.value=this.filter.value,this.select.setValue(this.filter.value.id)),this.select.valueChanges.pipe(o.map((function(e){return t.filter.options.find((function(t){return t.id===e}))})),o.tap((function(e){return t.update.next(e)})),o.takeUntil(this.destroy$)).subscribe()},t.prototype.onFilter=function(t){this.update.emit(t)},t.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},t.decorators=[{type:e.Component,args:[{selector:"aui-select-filter",template:'<div class="a-input has-icon-right aui-select-filter">\n <ng-container *ngIf="filter && filter.options && filter.id">\n <label [for]="filter.id" class="a-input__label a-input__label--inline">{{ filter.name }}: </label>\n <div class="a-input__wrapper a-input__wrapper--inline">\n <select [formControl]="select" [id]="filter.id" [name]="filter.id">\n <option *ngFor="let option of filter.options" [value]="option.id">{{ option.name }}</option>\n </select>\n <span class="fa fa-angle-down"></span>\n </div>\n </ng-container>\n</div>\n'}]}],t.propDecorators={filter:[{type:e.Input}],update:[{type:e.Output}]},t}();var d=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.FormsModule,r.ReactiveFormsModule],declarations:[l,c,f],providers:[p],exports:[l,c,f]}]}],t}(),h=function(){function t(){}return t.prototype.parseData=function(t){return this.parse(t,this.value)},t}();var m=function(t,e){if(!e)return t;var n=new RegExp("%{("+Object.keys(e).map((function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")})).join("|")+")}","g");return t.replace(n,(function(t,n){return e[n]?String(e[n]):""}))},y=function(){function t(){}return t.prototype.transform=function(t,e){return e&&t?m(t,e):t},t.decorators=[{type:e.Pipe,args:[{name:"interpolateLabel"}]}],t}(),g=function(){function t(){}return t.prototype.transform=function(t,e){return t&&"string"!=typeof t?1===e?t.singular:t.plural:t},t.decorators=[{type:e.Pipe,args:[{name:"pluralizeLabel"}]}],t}(),b=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[g,y],exports:[g,y]}]}],t}(),v=new e.InjectionToken("WindowToken"),I=function(){function t(){}return Object.defineProperty(t.prototype,"nativeWindow",{get:function(){throw new Error("Not implemented.")},enumerable:!0,configurable:!0}),t}(),x=function(t){function e(){return t.call(this)||this}return s(e,t),Object.defineProperty(e.prototype,"nativeWindow",{get:function(){return window},enumerable:!0,configurable:!0}),e}(I);function O(t,e){return n.isPlatformBrowser(e)?t.nativeWindow:{}}var w=[{provide:I,useClass:x},{provide:v,useFactory:O,deps:[I,e.PLATFORM_ID]}],S=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{providers:[w]}]}],t}(),_=function(t,e){this.min=t,this.max=e,this.bound="bounded",this.meaning="OR"};var j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.checkIsInRange=function(t){switch(this.type){case"closed":return t>=this.min&&t<=this.max;case"open":return t>this.min&&t<this.max;case"leftopen":return"bounded"===this.bound?t>this.min&&t<=this.max:"unbounded"===this.bound&&t<=this.max;case"rightopen":return"bounded"===this.bound?t>=this.min&&t<this.max:"unbounded"===this.bound&&t>=this.min;default:return!1}},e.prototype.isInRange=function(t){return"OR"===this.meaning?this.checkIsInRange(t):!this.checkIsInRange(t)},e.prototype.toString=function(){return String("\n "+("closed"===this.type||"rightopen"===this.type?"[":"]")+"\n "+("unbounded"===this.bound&&"leftopen"===this.type?"-infinity":this.min)+"\n ,\n "+("unbounded"===this.bound&&"rightopen"===this.type?"+infinity":this.max)+"\n "+("closed"===this.type||"leftopen"===this.type?"]":"[")+"\n ").replace(/\n/g,"").replace(/ /g,"").trim()},e}(_),k=function(t){function e(e,n){var r=t.call(this,e,n)||this;if(!e&&!n)throw new Error("Error creating date interval, please provide at least min or max.");return e?n||(r.bound="unbounded",r.type="rightopen"):(r.bound="unbounded",r.type="leftopen"),r}return s(e,t),e.isSameOrAfter=function(t,e){return e.getTime()>=t.getTime()},e.isSameOrBefore=function(t,e){return e.getTime()<=t.getTime()},e.isAfter=function(t,e){return e.getTime()>t.getTime()},e.isBefore=function(t,e){return e.getTime()<t.getTime()},e.prototype.checkIsInRange=function(t){switch(this.type){case"closed":return e.isSameOrAfter(this.min,t)&&e.isSameOrBefore(this.max,t);case"open":return e.isAfter(this.min,t)&&e.isBefore(this.max,t);case"leftopen":return"bounded"===this.bound?e.isAfter(this.min,t)&&e.isSameOrBefore(this.max,t):"unbounded"===this.bound&&e.isSameOrBefore(this.max,t);case"rightopen":return"bounded"===this.bound?e.isSameOrAfter(this.min,t)&&e.isBefore(this.max,t):"unbounded"===this.bound&&e.isSameOrAfter(this.min,t);default:return!1}},e.prototype.isInRange=function(t){return"OR"===this.meaning?this.checkIsInRange(t):!this.checkIsInRange(t)},e.prototype.toString=function(){return String("\n "+("closed"===this.type||"rightopen"===this.type?"[":"]")+"\n "+("unbounded"===this.bound&&"leftopen"===this.type?"-infinity":this.min.toISOString())+"\n ,\n "+("unbounded"===this.bound&&"rightopen"===this.type?"+infinity":this.max.toISOString())+"\n "+("closed"===this.type||"leftopen"===this.type?"]":"[")+"\n ").replace(/\n/g,"").replace(/ /g,"").trim()},e}(_),F=function(){function t(t){this.model=t}return t.dateInterval=function(e,n){return new t(new k(e,n))},t.genericInterval=function(e,n){return new t(new j(e,n))},t.numberInterval=function(e,n){return t.genericInterval(e,n)},t.prototype.openInterval=function(){return this.model.type="open",this},t.prototype.leftOpenInterval=function(){return this.model.type="leftopen",this},t.prototype.rightOpenInterval=function(){return this.model.type="rightopen",this},t.prototype.closedInterval=function(){return this.model.type="closed",this},t.prototype.bounded=function(){return this.model.bound="bounded",this},t.prototype.unbounded=function(){return this.model.bound="unbounded",this},t.prototype.not=function(){return this.model.meaning="NOR",this},t.prototype.build=function(){return this.model},t}();t.CheckboxFilterComponent=l,t.DateInterval=k,t.Filter=h,t.FilterModule=d,t.FilterService=p,t.GenericInterval=j,t.InputFilterComponent=c,t.InterpolateLabelPipe=y,t.IntervalBuilder=F,t.LabelsModule=b,t.PluralizeLabelPipe=g,t.SelectFilterComponent=f,t.WINDOW=v,t.WINDOW_PROVIDERS=w,t.WindowModule=S,t.interpolate=m,t.ɵa=I,t.ɵb=x,t.ɵc=O,t.ɵd=_,Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=acpaas-ui-ngx-utils.umd.min.js.map

@@ -9,4 +9,5 @@ /**

*/
export { FilterModule, CheckboxFilterComponent, InputFilterComponent, SelectFilterComponent, Filter, FilterService, InterpolateLabelPipe, PluralizeLabelPipe, interpolate, LabelsModule, WINDOW_PROVIDERS, WINDOW, WindowModule } from './public-api';
export { FilterModule, CheckboxFilterComponent, InputFilterComponent, SelectFilterComponent, Filter, FilterService, InterpolateLabelPipe, PluralizeLabelPipe, interpolate, LabelsModule, WINDOW_PROVIDERS, WINDOW, WindowModule, IntervalBuilder, GenericInterval, DateInterval } from './public-api';
export { IntervalModel as ɵd } from './lib/interval/classes/interval.model';
export { BrowserWindowRef as ɵb, WindowRef as ɵa, windowFactory as ɵc } from './lib/window/services/window.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNwYWFzLXVpLW5neC11dGlscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY3BhYXMtdWkvbmd4LXV0aWxzLyIsInNvdXJjZXMiOlsiYWNwYWFzLXVpLW5neC11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLHVPQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsZ0JBQWdCLElBQUksRUFBRSxFQUFDLFNBQVMsSUFBSSxFQUFFLEVBQUMsYUFBYSxJQUFJLEVBQUUsRUFBQyxNQUFNLHNDQUFzQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leH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HMvaW50ZXJwb2xhdGlvbic7XG5leHBvcnQge0xhYmVsc01vZHVsZX0gZnJvbSAnLi9saWIvbGFiZWxzL2xhYmVscy5tb2R1bGUnO1xuXG4vKlxuV0lORE9XXG4gKi9cbmV4cG9ydCB7V0lORE9XX1BST1ZJREVSUywgV0lORE9XfSBmcm9tICcuL2xpYi93aW5kb3cvc2VydmljZXMvd2luZG93LnNlcnZpY2UnO1xuZXhwb3J0IHtXaW5kb3dNb2R1bGV9IGZyb20gJy4vbGliL3dpbmRvdy93aW5kb3cubW9kdWxlJztcbiJdfQ==
/*
INTERVAL
*/
export { IntervalBuilder } from './lib/interval/classes/interval.builder';
export { GenericInterval } from './lib/interval/classes/generic.interval';
export { DateInterval } from './lib/interval/classes/date.interval';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY3BhYXMtdWkvbmd4LXV0aWxzLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUdBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSw0QkFBNEIsQ0FBQztBQUN4RCxPQUFPLEVBQUMsdUJBQXVCLEVBQUMsTUFBTSxtRUFBbUUsQ0FBQztBQUMxRyxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSw2REFBNkQsQ0FBQztBQUNqRyxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSwrREFBK0QsQ0FBQztBQUNwRyxPQUFPLEVBQUMsTUFBTSxFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFDekQsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLHNDQUFzQyxDQUFDOzs7O0FBTW5FLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLDJDQUEyQyxDQUFDO0FBQy9FLE9BQU8sRUFBQyxrQkFBa0I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XMvZ2VuZXJpYy5pbnRlcnZhbCc7XG5leHBvcnQge0RhdGVJbnRlcnZhbH0gZnJvbSAnLi9saWIvaW50ZXJ2YWwvY2xhc3Nlcy9kYXRlLmludGVydmFsJztcbmV4cG9ydCB7SW50ZXJ2YWx9IGZyb20gJy4vbGliL2ludGVydmFsL3R5cGVzJztcbiJdfQ==

@@ -9,4 +9,5 @@ /**

*/
export { FilterModule, CheckboxFilterComponent, InputFilterComponent, SelectFilterComponent, Filter, FilterService, InterpolateLabelPipe, PluralizeLabelPipe, interpolate, LabelsModule, WINDOW_PROVIDERS, WINDOW, WindowModule } from './public-api';
export { FilterModule, CheckboxFilterComponent, InputFilterComponent, SelectFilterComponent, Filter, FilterService, InterpolateLabelPipe, PluralizeLabelPipe, interpolate, LabelsModule, WINDOW_PROVIDERS, WINDOW, WindowModule, IntervalBuilder, GenericInterval, DateInterval } from './public-api';
export { IntervalModel as ɵd } from './lib/interval/classes/interval.model';
export { BrowserWindowRef as ɵb, WindowRef as ɵa, windowFactory as ɵc } from './lib/window/services/window.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNwYWFzLXVpLW5neC11dGlscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY3BhYXMtdWkvbmd4LXV0aWxzLyIsInNvdXJjZXMiOlsiYWNwYWFzLXVpLW5neC11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLHVPQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsZ0JBQWdCLElBQUksRUFBRSxFQUFDLFNBQVMsSUFBSSxFQUFFLEVBQUMsYUFBYSxJQUFJLEVBQUUsRUFBQyxNQUFNLHNDQUFzQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuXG5leHBvcnQge0Jyb3dzZXJXaW5kb3dSZWYgYXMgybViLFdpbmRvd1JlZiBhcyDJtWEsd2luZG93RmFjdG9yeSBhcyDJtWN9IGZyb20gJy4vbGliL3dpbmRvdy9zZXJ2aWNlcy93aW5kb3cuc2VydmljZSc7Il19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNwYWFzLXVpLW5neC11dGlscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY3BhYXMtdWkvbmd4LXV0aWxzLyIsInNvdXJjZXMiOlsiYWNwYWFzLXVpLW5neC11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLHVSQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsYUFBYSxJQUFJLEVBQUUsRUFBQyxNQUFNLHVDQUF1QyxDQUFDO0FBQzFFLE9BQU8sRUFBQyxnQkFBZ0IsSUFBSSxFQUFFLEVBQUMsU0FBUyxJQUFJLEVBQUUsRUFBQyxhQUFhLElBQUksRUFBRSxFQUFDLE1BQU0sc0NBQXNDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7SW50ZXJ2YWxNb2RlbCBhcyDJtWR9IGZyb20gJy4vbGliL2ludGVydmFsL2NsYXNzZXMvaW50ZXJ2YWwubW9kZWwnO1xuZXhwb3J0IHtCcm93c2VyV2luZG93UmVmIGFzIMm1YixXaW5kb3dSZWYgYXMgybVhLHdpbmRvd0ZhY3RvcnkgYXMgybVjfSBmcm9tICcuL2xpYi93aW5kb3cvc2VydmljZXMvd2luZG93LnNlcnZpY2UnOyJdfQ==

@@ -27,2 +27,8 @@ /**

export { WindowModule } from './lib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xhdGlvbic7XG5leHBvcnQge0xhYmVsc01vZHVsZX0gZnJvbSAnLi9saWIvbGFiZWxzL2xhYmVscy5tb2R1bGUnO1xuXG4vKlxuV0lORE9XXG4gKi9cbmV4cG9ydCB7V0lORE9XX1BST1ZJREVSUywgV0lORE9XfSBmcm9tICcuL2xpYi93aW5kb3cvc2VydmljZXMvd2luZG93LnNlcnZpY2UnO1xuZXhwb3J0IHtXaW5kb3dNb2R1bGV9IGZyb20gJy4vbGliL3dpbmRvdy93aW5kb3cubW9kdWxlJztcbiJdfQ==
/*
INTERVAL
*/
export { IntervalBuilder } from './lib/interval/classes/interval.builder';
export { GenericInterval } from './lib/interval/classes/generic.interval';
export { DateInterval } from './lib/interval/classes/date.interval';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY3BhYXMtdWkvbmd4LXV0aWxzLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUdBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSw0QkFBNEIsQ0FBQztBQUN4RCxPQUFPLEVBQUMsdUJBQXVCLEVBQUMsTUFBTSxtRUFBbUUsQ0FBQztBQUMxRyxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSw2REFBNkQsQ0FBQztBQUNqRyxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSwrREFBK0QsQ0FBQztBQUNwRyxPQUFPLEVBQUMsTUFBTSxFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFDekQsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLHNDQUFzQyxDQUFDOzs7O0FBTW5FLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLDJDQUEyQyxDQUFDO0FBQy9FLE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFN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y5pbnRlcnZhbCc7XG5leHBvcnQge0RhdGVJbnRlcnZhbH0gZnJvbSAnLi9saWIvaW50ZXJ2YWwvY2xhc3Nlcy9kYXRlLmludGVydmFsJztcbmV4cG9ydCB7SW50ZXJ2YWx9IGZyb20gJy4vbGliL2ludGVydmFsL3R5cGVzJztcbiJdfQ==

@@ -509,2 +509,311 @@ import { Injectable, EventEmitter, Component, Input, Output, NgModule, Pipe, InjectionToken, PLATFORM_ID } from '@angular/core';

* @fileoverview added by tsickle
* Generated from: lib/interval/classes/interval.model.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @abstract
* @template T
*/
class IntervalModel {
/**
* @param {?} min
* @param {?} max
*/
constructor(min, max) {
this.min = min;
this.max = max;
this.bound = 'bounded';
this.meaning = 'OR';
}
}
if (false) {
/** @type {?} */
IntervalModel.prototype.bound;
/** @type {?} */
IntervalModel.prototype.type;
/** @type {?} */
IntervalModel.prototype.meaning;
/** @type {?} */
IntervalModel.prototype.min;
/** @type {?} */
IntervalModel.prototype.max;
/**
* @abstract
* @param {?} value
* @return {?}
*/
IntervalModel.prototype.isInRange = function (value) { };
}
/**
* @fileoverview added by tsickle
* Generated from: lib/interval/classes/generic.interval.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class GenericInterval extends IntervalModel {
/**
* @private
* @param {?} value
* @return {?}
*/
checkIsInRange(value) {
switch (this.type) {
case 'closed':
return value >= this.min && value <= this.max;
case 'open':
return value > this.min && value < this.max;
case 'leftopen':
if (this.bound === 'bounded') {
return value > this.min && value <= this.max;
}
else if (this.bound === 'unbounded') {
return value <= this.max;
}
return false;
case 'rightopen':
if (this.bound === 'bounded') {
return value >= this.min && value < this.max;
}
else if (this.bound === 'unbounded') {
return value >= this.min;
}
return false;
default:
return false;
}
}
/**
* @param {?} value
* @return {?}
*/
isInRange(value) {
return this.meaning === 'OR' ? this.checkIsInRange(value) : !this.checkIsInRange(value);
}
/**
* @return {?}
*/
toString() {
return String(`
${this.type === 'closed' || this.type === 'rightopen' ? '[' : ']'}
${this.bound === 'unbounded' && this.type === 'leftopen' ? '-infinity' : this.min}
,
${this.bound === 'unbounded' && this.type === 'rightopen' ? '+infinity' : this.max}
${this.type === 'closed' || this.type === 'leftopen' ? ']' : '['}
`).replace(/\n/g, '').replace(/ /g, '').trim();
}
}
/**
* @fileoverview added by tsickle
* Generated from: lib/interval/classes/date.interval.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class DateInterval extends IntervalModel {
/**
* @param {?} min
* @param {?} max
*/
constructor(min, max) {
super(min, max);
if (!min && !max) {
throw new Error('Error creating date interval, please provide at least min or max.');
}
else if (!min) {
this.bound = 'unbounded';
this.type = 'leftopen';
}
else if (!max) {
this.bound = 'unbounded';
this.type = 'rightopen';
}
}
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
static isSameOrAfter(one, two) {
return two.getTime() >= one.getTime();
}
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
static isSameOrBefore(one, two) {
return two.getTime() <= one.getTime();
}
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
static isAfter(one, two) {
return two.getTime() > one.getTime();
}
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
static isBefore(one, two) {
return two.getTime() < one.getTime();
}
/**
* @private
* @param {?} value
* @return {?}
*/
checkIsInRange(value) {
switch (this.type) {
case 'closed':
return DateInterval.isSameOrAfter(this.min, value) && DateInterval.isSameOrBefore(this.max, value);
case 'open':
return DateInterval.isAfter(this.min, value) && DateInterval.isBefore(this.max, value);
case 'leftopen':
if (this.bound === 'bounded') {
return DateInterval.isAfter(this.min, value) && DateInterval.isSameOrBefore(this.max, value);
}
else if (this.bound === 'unbounded') {
return DateInterval.isSameOrBefore(this.max, value);
}
return false;
case 'rightopen':
if (this.bound === 'bounded') {
return DateInterval.isSameOrAfter(this.min, value) && DateInterval.isBefore(this.max, value);
}
else if (this.bound === 'unbounded') {
return DateInterval.isSameOrAfter(this.min, value);
}
return false;
default:
return false;
}
}
/**
* @param {?} value
* @return {?}
*/
isInRange(value) {
return this.meaning === 'OR' ? this.checkIsInRange(value) : !this.checkIsInRange(value);
}
/**
* @return {?}
*/
toString() {
return String(`
${this.type === 'closed' || this.type === 'rightopen' ? '[' : ']'}
${this.bound === 'unbounded' && this.type === 'leftopen' ? '-infinity' : this.min.toISOString()}
,
${this.bound === 'unbounded' && this.type === 'rightopen' ? '+infinity' : this.max.toISOString()}
${this.type === 'closed' || this.type === 'leftopen' ? ']' : '['}
`).replace(/\n/g, '').replace(/ /g, '').trim();
}
}
/**
* @fileoverview added by tsickle
* Generated from: lib/interval/classes/interval.builder.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @template T
*/
class IntervalBuilder {
/**
* @param {?} model
*/
constructor(model) {
this.model = model;
}
/**
* @param {?} min
* @param {?} max
* @return {?}
*/
static dateInterval(min, max) {
return new IntervalBuilder(new DateInterval(min, max));
}
/**
* @param {?} min
* @param {?} max
* @return {?}
*/
static genericInterval(min, max) {
return new IntervalBuilder(new GenericInterval(min, max));
}
/**
* @param {?} min
* @param {?} max
* @return {?}
*/
static numberInterval(min, max) {
return IntervalBuilder.genericInterval(min, max);
}
/**
* @return {?}
*/
openInterval() {
this.model.type = 'open';
return this;
}
/**
* @return {?}
*/
leftOpenInterval() {
this.model.type = 'leftopen';
return this;
}
/**
* @return {?}
*/
rightOpenInterval() {
this.model.type = 'rightopen';
return this;
}
/**
* @return {?}
*/
closedInterval() {
this.model.type = 'closed';
return this;
}
/**
* @return {?}
*/
bounded() {
this.model.bound = 'bounded';
return this;
}
/**
* @return {?}
*/
unbounded() {
this.model.bound = 'unbounded';
return this;
}
/**
* @return {?}
*/
not() {
this.model.meaning = 'NOR';
return this;
}
/**
* @return {?}
*/
build() {
return this.model;
}
}
if (false) {
/**
* @type {?}
* @private
*/
IntervalBuilder.prototype.model;
}
/**
* @fileoverview added by tsickle
* Generated from: public-api.ts

@@ -520,3 +829,3 @@ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc

export { CheckboxFilterComponent, Filter, FilterModule, FilterService, InputFilterComponent, InterpolateLabelPipe, LabelsModule, PluralizeLabelPipe, SelectFilterComponent, WINDOW, WINDOW_PROVIDERS, WindowModule, interpolate, WindowRef as ɵa, BrowserWindowRef as ɵb, windowFactory as ɵc };
export { CheckboxFilterComponent, DateInterval, Filter, FilterModule, FilterService, GenericInterval, InputFilterComponent, InterpolateLabelPipe, IntervalBuilder, LabelsModule, PluralizeLabelPipe, SelectFilterComponent, WINDOW, WINDOW_PROVIDERS, WindowModule, interpolate, WindowRef as ɵa, BrowserWindowRef as ɵb, windowFactory as ɵc, IntervalModel as ɵd };
//# sourceMappingURL=acpaas-ui-ngx-utils.js.map

@@ -607,2 +607,388 @@ import { Injectable, EventEmitter, Component, Input, Output, NgModule, Pipe, InjectionToken, PLATFORM_ID } from '@angular/core';

* @fileoverview added by tsickle
* Generated from: lib/interval/classes/interval.model.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @abstract
* @template T
*/
var /**
* @abstract
* @template T
*/
IntervalModel = /** @class */ (function () {
function IntervalModel(min, max) {
this.min = min;
this.max = max;
this.bound = 'bounded';
this.meaning = 'OR';
}
return IntervalModel;
}());
if (false) {
/** @type {?} */
IntervalModel.prototype.bound;
/** @type {?} */
IntervalModel.prototype.type;
/** @type {?} */
IntervalModel.prototype.meaning;
/** @type {?} */
IntervalModel.prototype.min;
/** @type {?} */
IntervalModel.prototype.max;
/**
* @abstract
* @param {?} value
* @return {?}
*/
IntervalModel.prototype.isInRange = function (value) { };
}
/**
* @fileoverview added by tsickle
* Generated from: lib/interval/classes/generic.interval.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var GenericInterval = /** @class */ (function (_super) {
__extends(GenericInterval, _super);
function GenericInterval() {
return _super !== null && _super.apply(this, arguments) || this;
}
/**
* @private
* @param {?} value
* @return {?}
*/
GenericInterval.prototype.checkIsInRange = /**
* @private
* @param {?} value
* @return {?}
*/
function (value) {
switch (this.type) {
case 'closed':
return value >= this.min && value <= this.max;
case 'open':
return value > this.min && value < this.max;
case 'leftopen':
if (this.bound === 'bounded') {
return value > this.min && value <= this.max;
}
else if (this.bound === 'unbounded') {
return value <= this.max;
}
return false;
case 'rightopen':
if (this.bound === 'bounded') {
return value >= this.min && value < this.max;
}
else if (this.bound === 'unbounded') {
return value >= this.min;
}
return false;
default:
return false;
}
};
/**
* @param {?} value
* @return {?}
*/
GenericInterval.prototype.isInRange = /**
* @param {?} value
* @return {?}
*/
function (value) {
return this.meaning === 'OR' ? this.checkIsInRange(value) : !this.checkIsInRange(value);
};
/**
* @return {?}
*/
GenericInterval.prototype.toString = /**
* @return {?}
*/
function () {
return String("\n " + (this.type === 'closed' || this.type === 'rightopen' ? '[' : ']') + "\n " + (this.bound === 'unbounded' && this.type === 'leftopen' ? '-infinity' : this.min) + "\n ,\n " + (this.bound === 'unbounded' && this.type === 'rightopen' ? '+infinity' : this.max) + "\n " + (this.type === 'closed' || this.type === 'leftopen' ? ']' : '[') + "\n ").replace(/\n/g, '').replace(/ /g, '').trim();
};
return GenericInterval;
}(IntervalModel));
/**
* @fileoverview added by tsickle
* Generated from: lib/interval/classes/date.interval.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var DateInterval = /** @class */ (function (_super) {
__extends(DateInterval, _super);
function DateInterval(min, max) {
var _this = _super.call(this, min, max) || this;
if (!min && !max) {
throw new Error('Error creating date interval, please provide at least min or max.');
}
else if (!min) {
_this.bound = 'unbounded';
_this.type = 'leftopen';
}
else if (!max) {
_this.bound = 'unbounded';
_this.type = 'rightopen';
}
return _this;
}
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
DateInterval.isSameOrAfter = /**
* @param {?} one
* @param {?} two
* @return {?}
*/
function (one, two) {
return two.getTime() >= one.getTime();
};
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
DateInterval.isSameOrBefore = /**
* @param {?} one
* @param {?} two
* @return {?}
*/
function (one, two) {
return two.getTime() <= one.getTime();
};
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
DateInterval.isAfter = /**
* @param {?} one
* @param {?} two
* @return {?}
*/
function (one, two) {
return two.getTime() > one.getTime();
};
/**
* @param {?} one
* @param {?} two
* @return {?}
*/
DateInterval.isBefore = /**
* @param {?} one
* @param {?} two
* @return {?}
*/
function (one, two) {
return two.getTime() < one.getTime();
};
/**
* @private
* @param {?} value
* @return {?}
*/
DateInterval.prototype.checkIsInRange = /**
* @private
* @param {?} value
* @return {?}
*/
function (value) {
switch (this.type) {
case 'closed':
return DateInterval.isSameOrAfter(this.min, value) && DateInterval.isSameOrBefore(this.max, value);
case 'open':
return DateInterval.isAfter(this.min, value) && DateInterval.isBefore(this.max, value);
case 'leftopen':
if (this.bound === 'bounded') {
return DateInterval.isAfter(this.min, value) && DateInterval.isSameOrBefore(this.max, value);
}
else if (this.bound === 'unbounded') {
return DateInterval.isSameOrBefore(this.max, value);
}
return false;
case 'rightopen':
if (this.bound === 'bounded') {
return DateInterval.isSameOrAfter(this.min, value) && DateInterval.isBefore(this.max, value);
}
else if (this.bound === 'unbounded') {
return DateInterval.isSameOrAfter(this.min, value);
}
return false;
default:
return false;
}
};
/**
* @param {?} value
* @return {?}
*/
DateInterval.prototype.isInRange = /**
* @param {?} value
* @return {?}
*/
function (value) {
return this.meaning === 'OR' ? this.checkIsInRange(value) : !this.checkIsInRange(value);
};
/**
* @return {?}
*/
DateInterval.prototype.toString = /**
* @return {?}
*/
function () {
return String("\n " + (this.type === 'closed' || this.type === 'rightopen' ? '[' : ']') + "\n " + (this.bound === 'unbounded' && this.type === 'leftopen' ? '-infinity' : this.min.toISOString()) + "\n ,\n " + (this.bound === 'unbounded' && this.type === 'rightopen' ? '+infinity' : this.max.toISOString()) + "\n " + (this.type === 'closed' || this.type === 'leftopen' ? ']' : '[') + "\n ").replace(/\n/g, '').replace(/ /g, '').trim();
};
return DateInterval;
}(IntervalModel));
/**
* @fileoverview added by tsickle
* Generated from: lib/interval/classes/interval.builder.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @template T
*/
var /**
* @template T
*/
IntervalBuilder = /** @class */ (function () {
function IntervalBuilder(model) {
this.model = model;
}
/**
* @param {?} min
* @param {?} max
* @return {?}
*/
IntervalBuilder.dateInterval = /**
* @param {?} min
* @param {?} max
* @return {?}
*/
function (min, max) {
return new IntervalBuilder(new DateInterval(min, max));
};
/**
* @param {?} min
* @param {?} max
* @return {?}
*/
IntervalBuilder.genericInterval = /**
* @param {?} min
* @param {?} max
* @return {?}
*/
function (min, max) {
return new IntervalBuilder(new GenericInterval(min, max));
};
/**
* @param {?} min
* @param {?} max
* @return {?}
*/
IntervalBuilder.numberInterval = /**
* @param {?} min
* @param {?} max
* @return {?}
*/
function (min, max) {
return IntervalBuilder.genericInterval(min, max);
};
/**
* @return {?}
*/
IntervalBuilder.prototype.openInterval = /**
* @return {?}
*/
function () {
this.model.type = 'open';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.leftOpenInterval = /**
* @return {?}
*/
function () {
this.model.type = 'leftopen';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.rightOpenInterval = /**
* @return {?}
*/
function () {
this.model.type = 'rightopen';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.closedInterval = /**
* @return {?}
*/
function () {
this.model.type = 'closed';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.bounded = /**
* @return {?}
*/
function () {
this.model.bound = 'bounded';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.unbounded = /**
* @return {?}
*/
function () {
this.model.bound = 'unbounded';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.not = /**
* @return {?}
*/
function () {
this.model.meaning = 'NOR';
return this;
};
/**
* @return {?}
*/
IntervalBuilder.prototype.build = /**
* @return {?}
*/
function () {
return this.model;
};
return IntervalBuilder;
}());
if (false) {
/**
* @type {?}
* @private
*/
IntervalBuilder.prototype.model;
}
/**
* @fileoverview added by tsickle
* Generated from: public-api.ts

@@ -618,3 +1004,3 @@ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc

export { CheckboxFilterComponent, Filter, FilterModule, FilterService, InputFilterComponent, InterpolateLabelPipe, LabelsModule, PluralizeLabelPipe, SelectFilterComponent, WINDOW, WINDOW_PROVIDERS, WindowModule, interpolate, WindowRef as ɵa, BrowserWindowRef as ɵb, windowFactory as ɵc };
export { CheckboxFilterComponent, DateInterval, Filter, FilterModule, FilterService, GenericInterval, InputFilterComponent, InterpolateLabelPipe, IntervalBuilder, LabelsModule, PluralizeLabelPipe, SelectFilterComponent, WINDOW, WINDOW_PROVIDERS, WindowModule, interpolate, WindowRef as ɵa, BrowserWindowRef as ɵb, windowFactory as ɵc, IntervalModel as ɵd };
//# sourceMappingURL=acpaas-ui-ngx-utils.js.map
{
"name": "@acpaas-ui/ngx-utils",
"version": "4.0.0",
"version": "4.2.0",
"publishConfig": {

@@ -13,3 +13,3 @@ "access": "public"

},
"gitHead": "75f09c90cb666f5fb02f9d997f5aeea3d50ac9e7",
"gitHead": "b1b6b1d6135110d611b36dbff7ae87ff8425c0c2",
"main": "bundles/acpaas-ui-ngx-utils.umd.js",

@@ -16,0 +16,0 @@ "module": "fesm5/acpaas-ui-ngx-utils.js",

@@ -15,1 +15,5 @@ export { FilterModule } from './lib/filter/filter.module';

export { WindowModule } from './lib/window/window.module';
export { IntervalBuilder } from './lib/interval/classes/interval.builder';
export { GenericInterval } from './lib/interval/classes/generic.interval';
export { DateInterval } from './lib/interval/classes/date.interval';
export { Interval } from './lib/interval/types';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet