@colijnit/corecomponents_v12 12.0.37 → 12.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/bundles/colijnit-corecomponents_v12.umd.js +141 -20
  2. package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
  3. package/colijnit-corecomponents_v12.d.ts +5 -3
  4. package/colijnit-corecomponents_v12.metadata.json +1 -1
  5. package/esm2015/colijnit-corecomponents_v12.js +6 -4
  6. package/esm2015/lib/components/base/base-input.component.js +4 -3
  7. package/esm2015/lib/components/drop-down-list/drop-down-list.component.js +2 -1
  8. package/esm2015/lib/components/filter-item/filter-item.component.js +5 -2
  9. package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +2 -1
  10. package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +9 -10
  11. package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +3 -1
  12. package/esm2015/lib/components/simple-grid/simple-grid.component.js +3 -3
  13. package/esm2015/lib/components/simple-grid/simple-grid.module.js +4 -2
  14. package/esm2015/lib/directives/observe-visibility/observe-visibility.directive.js +80 -0
  15. package/esm2015/lib/directives/observe-visibility/observe-visibility.module.js +15 -0
  16. package/esm2015/public-api.js +1 -1
  17. package/fesm2015/colijnit-corecomponents_v12.js +114 -17
  18. package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
  19. package/lib/components/filter-item/filter-item.component.d.ts +1 -0
  20. package/lib/components/input-number-picker/input-number-picker.component.d.ts +2 -0
  21. package/lib/components/simple-grid/base-simple-grid.component.d.ts +1 -0
  22. package/lib/directives/observe-visibility/observe-visibility.directive.d.ts +16 -0
  23. package/lib/directives/observe-visibility/observe-visibility.module.d.ts +2 -0
  24. package/package.json +1 -1
@@ -4870,7 +4870,7 @@
4870
4870
  var _this = this;
4871
4871
  if (this.elementRef && this.elementRef.nativeElement) {
4872
4872
  //try to find input element
4873
- this.input = this._findInputNode(this.elementRef.nativeElement.children);
4873
+ this._findInputNode(this.elementRef.nativeElement.children);
4874
4874
  if (this.input) {
4875
4875
  this.input.addEventListener('blur', function (event) { return _this.doBlur(event); });
4876
4876
  this.input.addEventListener('focus', function (event) { return _this.doFocus(event); });
@@ -4881,7 +4881,8 @@
4881
4881
  for (var i = 0; i < nodes.length; i++) {
4882
4882
  var node = nodes[i];
4883
4883
  if (node instanceof HTMLInputElement || node instanceof HTMLTextAreaElement) {
4884
- return node;
4884
+ this.input = node;
4885
+ break;
4885
4886
  }
4886
4887
  else if (node.children.length > 0) {
4887
4888
  this._findInputNode(node.children);
@@ -5394,7 +5395,7 @@
5394
5395
  DropDownListComponent.decorators = [
5395
5396
  { type: core.Component, args: [{
5396
5397
  selector: "co-drop-down-list",
5397
- template: "\n <ejs-dropdownlist\n [dataSource]=\"collection\"\n [value]=\"model\"\n [fields]=\"fields\"\n [placeholder]=\"placeholder\"\n [readonly]=\"readonly\"\n [itemTemplate]=\"itemTemplate\"\n [headerTemplate]=\"headerTemplate\"\n [valueTemplate]=\"valueTemplate\"\n [ngModel]=\"model\"\n (ngModelChange)=\"modelChange.emit($event)\"\n (valueChange)=\"handleValueChanged($event)\"\n showClearButton=\"true\"\n floatLabelType=\"Auto\"\n >\n </ejs-dropdownlist>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
5398
+ template: "\n <ejs-dropdownlist\n [dataSource]=\"collection\"\n [value]=\"model\"\n [fields]=\"fields\"\n [placeholder]=\"placeholder\"\n [readonly]=\"readonly\"\n [itemTemplate]=\"itemTemplate\"\n [headerTemplate]=\"headerTemplate\"\n [valueTemplate]=\"valueTemplate\"\n [disabled]=\"disabled\"\n [ngModel]=\"model\"\n (ngModelChange)=\"modelChange.emit($event)\"\n (valueChange)=\"handleValueChanged($event)\"\n showClearButton=\"true\"\n floatLabelType=\"Auto\"\n >\n </ejs-dropdownlist>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
5398
5399
  providers: [
5399
5400
  ej2AngularDropdowns.CheckBoxSelectionService,
5400
5401
  {
@@ -6034,7 +6035,7 @@
6034
6035
  InputCheckboxComponent.decorators = [
6035
6036
  { type: core.Component, args: [{
6036
6037
  selector: "co-input-checkbox",
6037
- template: "\n <ejs-checkbox [label]=\"label\"\n [name]=\"name\"\n [cssClass]=\"cssClass\"\n [ngModel]=\"model\"\n (ngModelChange)=\"handleModelChange($event)\"\n ></ejs-checkbox>\n ",
6038
+ template: "\n <ejs-checkbox [label]=\"label\"\n [name]=\"name\"\n [cssClass]=\"cssClass\"\n [ngModel]=\"model\"\n [disabled]=\"disabled\"\n (ngModelChange)=\"handleModelChange($event)\"\n ></ejs-checkbox>\n ",
6038
6039
  providers: [{
6039
6040
  provide: COMPONENT_INTERFACE_NAME,
6040
6041
  useExisting: core.forwardRef(function () { return InputCheckboxComponent; })
@@ -6927,17 +6928,19 @@
6927
6928
  });
6928
6929
  return _this;
6929
6930
  }
6930
- Object.defineProperty(InputNumberPickerComponent.prototype, "min", {
6931
+ Object.defineProperty(InputNumberPickerComponent.prototype, "model", {
6932
+ get: function () {
6933
+ return _super.prototype.model;
6934
+ },
6931
6935
  // @override
6932
- // @Input()
6933
- // public set model(model: number) {
6934
- // super.model = model;
6935
- // this.numberLogic.value = model;
6936
- // }
6937
- //
6938
- // public get model(): number {
6939
- // return this.numberLogic.value;
6940
- // }
6936
+ set: function (model) {
6937
+ this.setValue(model, true);
6938
+ _super.prototype.model = model;
6939
+ },
6940
+ enumerable: false,
6941
+ configurable: true
6942
+ });
6943
+ Object.defineProperty(InputNumberPickerComponent.prototype, "min", {
6941
6944
  set: function (min) {
6942
6945
  this.numberLogic.min = min;
6943
6946
  },
@@ -7146,6 +7149,7 @@
7146
7149
  { type: FormInputUserModelChangeListenerService }
7147
7150
  ]; };
7148
7151
  InputNumberPickerComponent.propDecorators = {
7152
+ model: [{ type: core.Input }],
7149
7153
  min: [{ type: core.Input }],
7150
7154
  step: [{ type: core.Input }],
7151
7155
  max: [{ type: core.Input }],
@@ -9275,6 +9279,7 @@
9275
9279
  this.selectRow = new core.EventEmitter();
9276
9280
  this.dblClickRow = new core.EventEmitter();
9277
9281
  this.saveRow = new core.EventEmitter();
9282
+ this.rowVisible = new core.EventEmitter();
9278
9283
  this.columns = [];
9279
9284
  this.headerColumns = [];
9280
9285
  this._data = [];
@@ -9406,6 +9411,7 @@
9406
9411
  selectRow: [{ type: core.Output }],
9407
9412
  dblClickRow: [{ type: core.Output }],
9408
9413
  saveRow: [{ type: core.Output }],
9414
+ rowVisible: [{ type: core.Output }],
9409
9415
  handleMouseMove: [{ type: core.HostListener, args: ['document:mousemove', ['$event'],] }],
9410
9416
  handleMouseUp: [{ type: core.HostListener, args: ['document:mouseup', ['$event'],] }]
9411
9417
  };
@@ -9687,7 +9693,7 @@
9687
9693
  SimpleGridComponent.decorators = [
9688
9694
  { type: core.Component, args: [{
9689
9695
  selector: "co-simple-grid",
9690
- template: "\n <co-grid-toolbar *ngIf=\"inlineEdit && showToolbar\"\n (addClick)=\"addRow()\"\n (editClick)=\"editRow($event)\"\n (saveClick)=\"validateAndSave()\"\n (cancelClick)=\"cancelEditRow()\"\n ></co-grid-toolbar>\n <table class=\"simple-grid-table\">\n <colgroup>\n <col *ngFor=\"let column of headerColumns; let index = index\" [attr.width]=\"column.width\">\n </colgroup>\n <thead>\n <tr>\n <th scope=\"col\" #headerCell class=\"simple-grid-column-header\" *ngFor=\"let column of headerColumns; let index = index\">\n <div class=\"simple-grid-column-header-wrapper\" [class.resizable]=\"resizable\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\">\n <ng-container *ngIf=\"column.headerTemplate; else noHeaderTemplate\">\n <ng-container [ngTemplateOutlet]=\"column.headerTemplate\"></ng-container>\n </ng-container>\n <ng-template #noHeaderTemplate>\n <div class=\"simple-grid-column-header-label\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\"\n [textContent]=\"column.headerText || '&nbsp;'\"\n ></div>\n </ng-template>\n <div *ngIf=\"resizable && column.resizable\" class=\"simple-grid-column-sizer\"\n (mousedown)=\"handleSizerMouseDown($event, column)\"\n ></div>\n </div>\n </th>\n </tr>\n </thead>\n <tbody #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"simple-grid-drag-drop-list\"\n [cdkDropListDisabled]=\"!dragDropEnabled\"\n [cdkDropListData]=\"data\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\">\n <tr class=\"simple-grid-row\" [class.selected]=\"rowIndex === selectedRowIndex && !editing\"\n [class.editing]=\"rowIndex === editRowIndex\" *ngFor=\"let row of data; let rowIndex = index\" cdkDrag\n (click)=\"handleClickRow($event, rowIndex)\" (dblclick)=\"handleDblClickRow($event, rowIndex)\">\n <co-form class=\"simple-grid-row-form\">\n <ng-container *ngIf=\"isSingleColumnRow(row)\">\n <td class=\"simple-grid-single-column-cell\" [attr.colspan]=\"headerColumns.length\">\n <co-simple-grid-cell\n [column]=\"columns[singleColumnIndex(row)]\"\n [row]=\"row\"\n [editMode]=\"false\"\n ></co-simple-grid-cell>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!isSingleColumnRow(row)\">\n <ng-container *ngFor=\"let column of headerColumns; let columnIndex = index\">\n <td class=\"simple-grid-column-cell\" *ngIf=\"columnIndex !== singleColumnIndex(row)\">\n <co-simple-grid-cell\n [column]=\"column\"\n [row]=\"row\"\n [editMode]=\"inlineEdit && editing && rowIndex === editRowIndex\"\n [fieldEditMode]=\"editCellIndex === columnIndex\"\n (cellClick)=\"handleCellClick(columnIndex)\"\n ></co-simple-grid-cell>\n <div *ngIf=\"column.resizable\" class=\"simple-grid-column-sizer-placeholder\"></div>\n </td>\n </ng-container>\n </ng-container>\n </co-form>\n </tr>\n </tbody>\n </table>\n ",
9696
+ template: "\n <co-grid-toolbar *ngIf=\"inlineEdit && showToolbar\"\n (addClick)=\"addRow()\"\n (editClick)=\"editRow($event)\"\n (saveClick)=\"validateAndSave()\"\n (cancelClick)=\"cancelEditRow()\"\n ></co-grid-toolbar>\n <table class=\"simple-grid-table\">\n <colgroup>\n <col *ngFor=\"let column of headerColumns; let index = index\" [attr.width]=\"column.width\">\n </colgroup>\n <thead>\n <tr>\n <th scope=\"col\" #headerCell class=\"simple-grid-column-header\" *ngFor=\"let column of headerColumns; let index = index\">\n <div class=\"simple-grid-column-header-wrapper\" [class.resizable]=\"resizable\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\">\n <ng-container *ngIf=\"column.headerTemplate; else noHeaderTemplate\">\n <ng-container [ngTemplateOutlet]=\"column.headerTemplate\"></ng-container>\n </ng-container>\n <ng-template #noHeaderTemplate>\n <div class=\"simple-grid-column-header-label\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\"\n [textContent]=\"column.headerText || '&nbsp;'\"\n ></div>\n </ng-template>\n <div *ngIf=\"resizable && column.resizable\" class=\"simple-grid-column-sizer\"\n (mousedown)=\"handleSizerMouseDown($event, column)\"\n ></div>\n </div>\n </th>\n </tr>\n </thead>\n <tbody #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"simple-grid-drag-drop-list\"\n [cdkDropListDisabled]=\"!dragDropEnabled\"\n [cdkDropListData]=\"data\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\">\n <tr class=\"simple-grid-row\" [class.selected]=\"rowIndex === selectedRowIndex && !editing\" observeVisibility\n [class.editing]=\"rowIndex === editRowIndex\" *ngFor=\"let row of data; let rowIndex = index\" cdkDrag\n (click)=\"handleClickRow($event, rowIndex)\" (dblclick)=\"handleDblClickRow($event, rowIndex)\" (visible)=\"rowVisible.next(row)\">\n <co-form class=\"simple-grid-row-form\">\n <ng-container *ngIf=\"isSingleColumnRow(row)\">\n <td class=\"simple-grid-single-column-cell\" [attr.colspan]=\"headerColumns.length\">\n <co-simple-grid-cell\n [column]=\"columns[singleColumnIndex(row)]\"\n [row]=\"row\"\n [editMode]=\"false\"\n ></co-simple-grid-cell>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!isSingleColumnRow(row)\">\n <ng-container *ngFor=\"let column of headerColumns; let columnIndex = index\">\n <td class=\"simple-grid-column-cell\" *ngIf=\"columnIndex !== singleColumnIndex(row)\">\n <co-simple-grid-cell\n [column]=\"column\"\n [row]=\"row\"\n [editMode]=\"inlineEdit && editing && rowIndex === editRowIndex\"\n [fieldEditMode]=\"editCellIndex === columnIndex\"\n (cellClick)=\"handleCellClick(columnIndex)\"\n ></co-simple-grid-cell>\n <div *ngIf=\"column.resizable\" class=\"simple-grid-column-sizer-placeholder\"></div>\n </td>\n </ng-container>\n </ng-container>\n </co-form>\n </tr>\n </tbody>\n </table>\n ",
9691
9697
  providers: [
9692
9698
  FormMasterService
9693
9699
  ],
@@ -9856,6 +9862,115 @@
9856
9862
  handleClick: [{ type: core.HostListener, args: ['click', ['$event'],] }]
9857
9863
  };
9858
9864
 
9865
+ var ObserveVisibilityDirective = /** @class */ (function () {
9866
+ function ObserveVisibilityDirective(_element) {
9867
+ this._element = _element;
9868
+ this.debounceTime = 0;
9869
+ this.threshold = 0;
9870
+ this.visible = new core.EventEmitter();
9871
+ this._subject = new rxjs.Subject();
9872
+ }
9873
+ ObserveVisibilityDirective.prototype.ngOnInit = function () {
9874
+ this._createObserver();
9875
+ };
9876
+ ObserveVisibilityDirective.prototype.ngAfterViewInit = function () {
9877
+ this._startObservingElements();
9878
+ };
9879
+ ObserveVisibilityDirective.prototype.ngOnDestroy = function () {
9880
+ if (this._observer) {
9881
+ this._observer.disconnect();
9882
+ this._observer = undefined;
9883
+ }
9884
+ this._subject.next();
9885
+ this._subject.complete();
9886
+ };
9887
+ ObserveVisibilityDirective.prototype._isVisible = function (element) {
9888
+ var _this = this;
9889
+ return new Promise(function (resolve) {
9890
+ var observer = new IntersectionObserver(function (_a) {
9891
+ var _b = __read(_a, 1), entry = _b[0];
9892
+ resolve(entry.isIntersecting && entry.intersectionRatio >= _this.threshold);
9893
+ observer.disconnect();
9894
+ });
9895
+ observer.observe(element);
9896
+ });
9897
+ };
9898
+ ObserveVisibilityDirective.prototype._createObserver = function () {
9899
+ var _this = this;
9900
+ var options = {
9901
+ rootMargin: '0px',
9902
+ threshold: this.threshold,
9903
+ };
9904
+ var isIntersecting = function (entry) { return entry.isIntersecting || entry.intersectionRatio > 0; };
9905
+ this._observer = new IntersectionObserver(function (entries, observer) {
9906
+ entries.forEach(function (entry) {
9907
+ if (isIntersecting(entry)) {
9908
+ _this._subject.next({ entry: entry, observer: observer });
9909
+ }
9910
+ });
9911
+ }, options);
9912
+ };
9913
+ ObserveVisibilityDirective.prototype._startObservingElements = function () {
9914
+ var _this = this;
9915
+ if (!this._observer) {
9916
+ return;
9917
+ }
9918
+ this._observer.observe(this._element.nativeElement);
9919
+ this._subject
9920
+ .pipe(operators.delay(this.debounceTime), operators.filter(Boolean))
9921
+ .subscribe(function (_a) {
9922
+ var entry = _a.entry, observer = _a.observer;
9923
+ return __awaiter(_this, void 0, void 0, function () {
9924
+ var target, isStillVisible;
9925
+ return __generator(this, function (_a) {
9926
+ switch (_a.label) {
9927
+ case 0:
9928
+ target = entry.target;
9929
+ return [4 /*yield*/, this._isVisible(target)];
9930
+ case 1:
9931
+ isStillVisible = _a.sent();
9932
+ if (isStillVisible) {
9933
+ this.visible.emit(target);
9934
+ observer.unobserve(target);
9935
+ }
9936
+ return [2 /*return*/];
9937
+ }
9938
+ });
9939
+ });
9940
+ });
9941
+ };
9942
+ return ObserveVisibilityDirective;
9943
+ }());
9944
+ ObserveVisibilityDirective.decorators = [
9945
+ { type: core.Directive, args: [{
9946
+ selector: '[observeVisibility]',
9947
+ },] }
9948
+ ];
9949
+ ObserveVisibilityDirective.ctorParameters = function () { return [
9950
+ { type: core.ElementRef }
9951
+ ]; };
9952
+ ObserveVisibilityDirective.propDecorators = {
9953
+ debounceTime: [{ type: core.Input }],
9954
+ threshold: [{ type: core.Input }],
9955
+ visible: [{ type: core.Output }]
9956
+ };
9957
+
9958
+ var ObserveVisibilityModule = /** @class */ (function () {
9959
+ function ObserveVisibilityModule() {
9960
+ }
9961
+ return ObserveVisibilityModule;
9962
+ }());
9963
+ ObserveVisibilityModule.decorators = [
9964
+ { type: core.NgModule, args: [{
9965
+ declarations: [
9966
+ ObserveVisibilityDirective
9967
+ ],
9968
+ exports: [
9969
+ ObserveVisibilityDirective
9970
+ ]
9971
+ },] }
9972
+ ];
9973
+
9859
9974
  var SimpleGridModule = /** @class */ (function () {
9860
9975
  function SimpleGridModule() {
9861
9976
  }
@@ -9868,7 +9983,8 @@
9868
9983
  dragDrop.DragDropModule,
9869
9984
  GridToolbarModule,
9870
9985
  InputTextModule,
9871
- FormModule
9986
+ FormModule,
9987
+ ObserveVisibilityModule
9872
9988
  ],
9873
9989
  declarations: [
9874
9990
  SimpleGridComponent,
@@ -9898,6 +10014,7 @@
9898
10014
  this.showLessLabel = 'Show less';
9899
10015
  this.noResultsLabel = "No results";
9900
10016
  this.collectionChange = new core.EventEmitter();
10017
+ this.filterTextChange = new core.EventEmitter();
9901
10018
  this.filteredCollection = [];
9902
10019
  this.limitTo = 10;
9903
10020
  this.filterText = "";
@@ -9944,6 +10061,7 @@
9944
10061
  // Applies filter to the collection.
9945
10062
  FilterItemComponent.prototype.applyFilter = function (text) {
9946
10063
  var _a, _b;
10064
+ this.filterTextChange.emit(text);
9947
10065
  if (!this.collection) {
9948
10066
  return [];
9949
10067
  }
@@ -9967,7 +10085,7 @@
9967
10085
  FilterItemComponent.decorators = [
9968
10086
  { type: core.Component, args: [{
9969
10087
  selector: "co-filter-item",
9970
- template: "\n <div class=\"co-filter-item-header\">\n <co-collapsible\n [headerTitle]=\"placeholder\"\n [expandButtonLast]=\"true\"\n [iconData]=\"iconService.getIcon(icons.ArrowPointDown)\"\n [expanded]=\"expanded\"\n >\n <div class=\"co-filter-item-collapsable-content\">\n <div class=\"co-filter-item-custom-content\" *ngIf=\"customContent; else collectionContent\">\n <ng-content></ng-content>\n </div>\n <ng-template #collectionContent>\n <div class=\"co-filter-item-collection-content\">\n <co-input-text\n *ngIf=\"collection?.length > 10\"\n [placeholder]=\"searchPlaceholder\"\n [(model)]=\"filterText\"\n (modelChange)=\"applyFilter($event)\"\n >\n </co-input-text>\n <div class=\"no-results\" *ngIf=\"filteredCollection?.length === 0\">\n <span [textContent]=\"noResultsLabel\"></span>\n </div>\n <div class=\"co-filter-item-collection-results\">\n <div class=\"co-filter-item-collection-result-items\"\n *ngFor=\"let option of filteredCollection; let index = index\">\n <div class=\"co-filter-item-collection-result-item\" *ngIf=\"index < limitTo || showAllResults\">\n <co-input-checkbox [label]=\"option.description\"\n [(model)]=\"option.checked\"\n (modelChange)=\"collectionChange.emit(collection)\"\n ></co-input-checkbox>\n <div class=\"co-filter-item-amount\" *ngIf=\"option.count\"\n [textContent]=\"option.count.toString() | append: ')' | prepend: ' ('\"\n ></div>\n </div>\n\n </div>\n </div>\n <div class=\"co-filter-show-more-or-less\" *ngIf=\"!showAllResults\">\n <div class=\"co-filter-show-more clickable\"\n *ngIf=\"moreToShow()\">\n <a (click)=\"increaseLimit()\">\n <co-icon [iconData]=\"iconService.getIcon(icons.ArrowPointDown)\"></co-icon>\n <span [textContent]=\"showMoreLabel\"></span>\n </a>\n </div>\n <div class=\"co-filter-show-less clickable\"\n *ngIf=\"lessToShow()\">\n <a (click)=\"setToInitialLimit()\">\n <co-icon [iconData]=\"iconService.getIcon(icons.ArrowPointUp)\"></co-icon>\n <span [textContent]=\"showLessLabel\"></span>\n </a>\n </div>\n </div>\n </div>\n </ng-template>\n </div>\n </co-collapsible>\n </div>\n\n ",
10088
+ template: "\n <div class=\"co-filter-item-header\">\n <co-collapsible\n [headerTitle]=\"placeholder\"\n [expandButtonLast]=\"true\"\n [iconData]=\"iconService.getIcon(icons.ArrowPointDown)\"\n [expanded]=\"expanded\"\n >\n <div class=\"co-filter-item-collapsable-content\">\n <div class=\"co-filter-item-custom-content\" *ngIf=\"customContent; else collectionContent\">\n <ng-content></ng-content>\n </div>\n <ng-template #collectionContent>\n <div class=\"co-filter-item-collection-content\">\n <co-input-text\n *ngIf=\"collection?.length > 10\"\n [placeholder]=\"searchPlaceholder\"\n [(model)]=\"filterText\"\n (modelChange)=\"applyFilter(filterText)\"\n >\n </co-input-text>\n <div class=\"no-results\" *ngIf=\"filteredCollection?.length === 0\">\n <span [textContent]=\"noResultsLabel\"></span>\n </div>\n <div class=\"co-filter-item-collection-results\">\n <div class=\"co-filter-item-collection-result-items\"\n *ngFor=\"let option of filteredCollection; let index = index\">\n <div class=\"co-filter-item-collection-result-item\" *ngIf=\"index < limitTo || showAllResults\">\n <co-input-checkbox [label]=\"option.description\"\n [(model)]=\"option.checked\"\n (modelChange)=\"collectionChange.emit(collection)\"\n ></co-input-checkbox>\n <div class=\"co-filter-item-amount\" *ngIf=\"option.count\"\n [textContent]=\"option.count.toString() | append: ')' | prepend: ' ('\"\n ></div>\n </div>\n\n </div>\n </div>\n <div class=\"co-filter-show-more-or-less\" *ngIf=\"!showAllResults\">\n <div class=\"co-filter-show-more clickable\"\n *ngIf=\"moreToShow()\">\n <a (click)=\"increaseLimit()\">\n <co-icon [iconData]=\"iconService.getIcon(icons.ArrowPointDown)\"></co-icon>\n <span [textContent]=\"showMoreLabel\"></span>\n </a>\n </div>\n <div class=\"co-filter-show-less clickable\"\n *ngIf=\"lessToShow()\">\n <a (click)=\"setToInitialLimit()\">\n <co-icon [iconData]=\"iconService.getIcon(icons.ArrowPointUp)\"></co-icon>\n <span [textContent]=\"showLessLabel\"></span>\n </a>\n </div>\n </div>\n </div>\n </ng-template>\n </div>\n </co-collapsible>\n </div>\n\n ",
9971
10089
  encapsulation: core.ViewEncapsulation.None
9972
10090
  },] }
9973
10091
  ];
@@ -9986,6 +10104,7 @@
9986
10104
  showLessLabel: [{ type: core.Input }],
9987
10105
  noResultsLabel: [{ type: core.Input }],
9988
10106
  collectionChange: [{ type: core.Output }],
10107
+ filterTextChange: [{ type: core.Output }],
9989
10108
  showClass: [{ type: core.HostBinding, args: ["class.co-filter-item",] }]
9990
10109
  };
9991
10110
 
@@ -10149,8 +10268,10 @@
10149
10268
  exports.TileModule = TileModule;
10150
10269
  exports["ɵa"] = RippleModule;
10151
10270
  exports["ɵb"] = MD_RIPPLE_GLOBAL_OPTIONS;
10152
- exports["ɵba"] = PrependPipeModule;
10153
- exports["ɵbb"] = PrependPipe;
10271
+ exports["ɵba"] = ObserveVisibilityDirective;
10272
+ exports["ɵbb"] = SimpleGridCellComponent;
10273
+ exports["ɵbc"] = PrependPipeModule;
10274
+ exports["ɵbd"] = PrependPipe;
10154
10275
  exports["ɵc"] = CoRippleDirective;
10155
10276
  exports["ɵd"] = CoViewportRulerService;
10156
10277
  exports["ɵe"] = CoScrollDispatcherService;
@@ -10174,7 +10295,7 @@
10174
10295
  exports["ɵw"] = CommitButtonsComponent;
10175
10296
  exports["ɵx"] = PopupShowerService;
10176
10297
  exports["ɵy"] = BaseSimpleGridComponent;
10177
- exports["ɵz"] = SimpleGridCellComponent;
10298
+ exports["ɵz"] = ObserveVisibilityModule;
10178
10299
 
10179
10300
  Object.defineProperty(exports, '__esModule', { value: true });
10180
10301