@progress/kendo-angular-treelist 5.0.1 → 5.0.2-dev.202206011546

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.
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { Directive, Optional, EventEmitter, Injectable, QueryList, Component, Input, ContentChildren, ContentChild, InjectionToken, forwardRef, SkipSelf, Host, isDevMode, SecurityContext, HostBinding, Output, Inject, Self, ViewChild, HostListener, ViewChildren, Pipe, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
6
+ import { Directive, Optional, EventEmitter, Injectable, QueryList, Input, ContentChildren, ContentChild, InjectionToken, forwardRef, Component, SkipSelf, Host, isDevMode, SecurityContext, HostBinding, Output, Inject, Self, ViewChild, HostListener, ViewChildren, Pipe, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
7
7
  import * as i4 from '@angular/common';
8
8
  import { CommonModule } from '@angular/common';
9
9
  import * as i3$2 from '@angular/forms';
@@ -42,7 +42,7 @@ const packageMetadata = {
42
42
  name: '@progress/kendo-angular-treelist',
43
43
  productName: 'Kendo UI for Angular',
44
44
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
45
- publishDate: 1652971441,
45
+ publishDate: 1654098319,
46
46
  version: '',
47
47
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
48
48
  };
@@ -459,13 +459,11 @@ class ColumnBase {
459
459
  }
460
460
  }
461
461
  }
462
- ColumnBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }, { token: OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
463
- ColumnBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ColumnBase, selector: "ng-component", inputs: { resizable: "resizable", reorderable: "reorderable", minResizableWidth: "minResizableWidth", title: "title", width: "width", autoSize: "autoSize", locked: "locked", hidden: "hidden", media: "media", lockable: "lockable", columnMenu: "columnMenu", includeInChooser: "includeInChooser", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "headerTemplates", predicate: HeaderTemplateDirective }, { propertyName: "columnMenuTemplates", predicate: ColumnMenuTemplateDirective }], usesOnChanges: true, ngImport: i0, template: ``, isInline: true });
462
+ ColumnBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }, { token: OptionChangesService }], target: i0.ɵɵFactoryTarget.Directive });
463
+ ColumnBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ColumnBase, inputs: { resizable: "resizable", reorderable: "reorderable", minResizableWidth: "minResizableWidth", title: "title", width: "width", autoSize: "autoSize", locked: "locked", hidden: "hidden", media: "media", lockable: "lockable", columnMenu: "columnMenu", includeInChooser: "includeInChooser", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "headerTemplates", predicate: HeaderTemplateDirective }, { propertyName: "columnMenuTemplates", predicate: ColumnMenuTemplateDirective }], usesOnChanges: true, ngImport: i0 });
464
464
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColumnBase, decorators: [{
465
- type: Component,
466
- args: [{
467
- template: ``
468
- }]
465
+ type: Directive,
466
+ args: [{}]
469
467
  }], ctorParameters: function () { return [{ type: ColumnBase }, { type: OptionChangesService }]; }, propDecorators: { resizable: [{
470
468
  type: Input
471
469
  }], reorderable: [{
@@ -1297,11 +1295,17 @@ const identity$1 = item => item;
1297
1295
  function loadView(view, subject) {
1298
1296
  view.loadData();
1299
1297
  if (view.loading) {
1298
+ // Wait for view to load and fetch children.
1300
1299
  view.dataLoaded.pipe(take(1)).subscribe(() => {
1301
1300
  loadView(view, subject);
1302
1301
  });
1303
1302
  }
1303
+ else if (!view._data) {
1304
+ // Fetch children if root items are resolved immediately.
1305
+ loadView(view, subject);
1306
+ }
1304
1307
  else {
1308
+ // Data loaded.
1305
1309
  subject.next(view);
1306
1310
  }
1307
1311
  }
@@ -5224,13 +5228,11 @@ class FilterOperatorBase {
5224
5228
  }
5225
5229
  }
5226
5230
  }
5227
- FilterOperatorBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterOperatorBase, deps: [{ token: 'filterOperator' }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
5228
- FilterOperatorBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FilterOperatorBase, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: '', isInline: true });
5231
+ FilterOperatorBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterOperatorBase, deps: [{ token: 'filterOperator' }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
5232
+ FilterOperatorBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FilterOperatorBase, inputs: { text: "text" }, ngImport: i0 });
5229
5233
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterOperatorBase, decorators: [{
5230
- type: Component,
5231
- args: [{
5232
- template: ''
5233
- }]
5234
+ type: Directive,
5235
+ args: [{}]
5234
5236
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
5235
5237
  type: Inject,
5236
5238
  args: ['filterOperator']
@@ -5312,8 +5314,7 @@ const localizeOperators = operators => localization => Object.keys(operators).ma
5312
5314
  value: operators[key]
5313
5315
  }));
5314
5316
  /**
5315
- * An abstract base class for the filter-cell component ([see example]({% slug reusablecustomfilters_grid %}#toc-filter-row)).
5316
- * @hidden
5317
+ * An abstract base class for the filter-cell component ([see example]({% slug reusablecustomfilters_treelist %}#toc-row-filtering)).
5317
5318
  */
5318
5319
  class BaseFilterCellComponent {
5319
5320
  constructor(filterService) {
@@ -5372,13 +5373,11 @@ class BaseFilterCellComponent {
5372
5373
  this.filterService.filter(filter);
5373
5374
  }
5374
5375
  }
5375
- BaseFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseFilterCellComponent, deps: [{ token: FilterService }], target: i0.ɵɵFactoryTarget.Component });
5376
- BaseFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BaseFilterCellComponent, selector: "ng-component", inputs: { operators: "operators" }, host: { properties: { "class.k-filtercell": "this.hostClasses" } }, queries: [{ propertyName: "operatorList", predicate: FilterOperatorBase }], ngImport: i0, template: '', isInline: true });
5376
+ BaseFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseFilterCellComponent, deps: [{ token: FilterService }], target: i0.ɵɵFactoryTarget.Directive });
5377
+ BaseFilterCellComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BaseFilterCellComponent, inputs: { operators: "operators" }, host: { properties: { "class.k-filtercell": "this.hostClasses" } }, queries: [{ propertyName: "operatorList", predicate: FilterOperatorBase }], ngImport: i0 });
5377
5378
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseFilterCellComponent, decorators: [{
5378
- type: Component,
5379
- args: [{
5380
- template: ''
5381
- }]
5379
+ type: Directive,
5380
+ args: [{}]
5382
5381
  }], ctorParameters: function () { return [{ type: FilterService }]; }, propDecorators: { hostClasses: [{
5383
5382
  type: HostBinding,
5384
5383
  args: ['class.k-filtercell']
@@ -5557,13 +5556,11 @@ class StringFilterComponent extends BaseFilterCellComponent {
5557
5556
  }
5558
5557
  }
5559
5558
  }
5560
- StringFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StringFilterComponent, deps: [{ token: FilterService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
5561
- StringFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: StringFilterComponent, selector: "ng-component", inputs: { column: "column", filter: "filter", operator: "operator" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
5559
+ StringFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StringFilterComponent, deps: [{ token: FilterService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
5560
+ StringFilterComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: StringFilterComponent, inputs: { column: "column", filter: "filter", operator: "operator" }, usesInheritance: true, ngImport: i0 });
5562
5561
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StringFilterComponent, decorators: [{
5563
- type: Component,
5564
- args: [{
5565
- template: ``
5566
- }]
5562
+ type: Directive,
5563
+ args: [{}]
5567
5564
  }], ctorParameters: function () { return [{ type: FilterService }, { type: i1$1.LocalizationService }]; }, propDecorators: { column: [{
5568
5565
  type: Input
5569
5566
  }], filter: [{
@@ -5731,13 +5728,11 @@ class FilterInputWrapperComponent extends BaseFilterCellComponent {
5731
5728
  }
5732
5729
  }
5733
5730
  }
5734
- FilterInputWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterInputWrapperComponent, deps: [{ token: FilterService }], target: i0.ɵɵFactoryTarget.Component });
5735
- FilterInputWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FilterInputWrapperComponent, selector: "ng-component", inputs: { column: "column", filter: "filter", defaultOperator: "defaultOperator" }, queries: [{ propertyName: "input", first: true, predicate: FilterInputDirective, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
5731
+ FilterInputWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterInputWrapperComponent, deps: [{ token: FilterService }], target: i0.ɵɵFactoryTarget.Directive });
5732
+ FilterInputWrapperComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FilterInputWrapperComponent, inputs: { column: "column", filter: "filter", defaultOperator: "defaultOperator" }, queries: [{ propertyName: "input", first: true, predicate: FilterInputDirective, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
5736
5733
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterInputWrapperComponent, decorators: [{
5737
- type: Component,
5738
- args: [{
5739
- template: ''
5740
- }]
5734
+ type: Directive,
5735
+ args: [{}]
5741
5736
  }], ctorParameters: function () { return [{ type: FilterService }]; }, propDecorators: { column: [{
5742
5737
  type: Input
5743
5738
  }], filter: [{
@@ -6086,13 +6081,11 @@ class NumericFilterComponent extends BaseFilterCellComponent {
6086
6081
  }
6087
6082
  }
6088
6083
  }
6089
- NumericFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumericFilterComponent, deps: [{ token: FilterService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
6090
- NumericFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: NumericFilterComponent, selector: "ng-component", inputs: { column: "column", filter: "filter", operator: "operator", step: "step", min: "min", max: "max", spinners: "spinners", decimals: "decimals", format: "format" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
6084
+ NumericFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumericFilterComponent, deps: [{ token: FilterService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
6085
+ NumericFilterComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: NumericFilterComponent, inputs: { column: "column", filter: "filter", operator: "operator", step: "step", min: "min", max: "max", spinners: "spinners", decimals: "decimals", format: "format" }, usesInheritance: true, ngImport: i0 });
6091
6086
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumericFilterComponent, decorators: [{
6092
- type: Component,
6093
- args: [{
6094
- template: ''
6095
- }]
6087
+ type: Directive,
6088
+ args: [{}]
6096
6089
  }], ctorParameters: function () { return [{ type: FilterService }, { type: i1$1.LocalizationService }]; }, propDecorators: { column: [{
6097
6090
  type: Input
6098
6091
  }], filter: [{
@@ -6458,13 +6451,11 @@ class DateFilterComponent extends BaseFilterCellComponent {
6458
6451
  }
6459
6452
  }
6460
6453
  }
6461
- DateFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateFilterComponent, deps: [{ token: FilterService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
6462
- DateFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateFilterComponent, selector: "ng-component", inputs: { column: "column", filter: "filter", operator: "operator", format: "format", min: "min", max: "max", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", activeView: "activeView", bottomView: "bottomView", topView: "topView", weekNumber: "weekNumber" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
6454
+ DateFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateFilterComponent, deps: [{ token: FilterService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
6455
+ DateFilterComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DateFilterComponent, inputs: { column: "column", filter: "filter", operator: "operator", format: "format", min: "min", max: "max", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", activeView: "activeView", bottomView: "bottomView", topView: "topView", weekNumber: "weekNumber" }, usesInheritance: true, ngImport: i0 });
6463
6456
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateFilterComponent, decorators: [{
6464
- type: Component,
6465
- args: [{
6466
- template: ''
6467
- }]
6457
+ type: Directive,
6458
+ args: [{}]
6468
6459
  }], ctorParameters: function () { return [{ type: FilterService }, { type: i1$1.LocalizationService }]; }, propDecorators: { column: [{
6469
6460
  type: Input
6470
6461
  }], filter: [{
@@ -6830,13 +6821,11 @@ class BooleanFilterComponent extends BaseFilterCellComponent {
6830
6821
  this.defaultItem = { text: this.localization.get("filterBooleanAll"), value: null };
6831
6822
  }
6832
6823
  }
6833
- BooleanFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BooleanFilterComponent, deps: [{ token: FilterService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
6834
- BooleanFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BooleanFilterComponent, selector: "ng-component", inputs: { column: "column", filter: "filter" }, host: { properties: { "class.k-filtercell-boolean": "this.hostClasses" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
6824
+ BooleanFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BooleanFilterComponent, deps: [{ token: FilterService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
6825
+ BooleanFilterComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BooleanFilterComponent, inputs: { column: "column", filter: "filter" }, host: { properties: { "class.k-filtercell-boolean": "this.hostClasses" } }, usesInheritance: true, ngImport: i0 });
6835
6826
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BooleanFilterComponent, decorators: [{
6836
- type: Component,
6837
- args: [{
6838
- template: ''
6839
- }]
6827
+ type: Directive,
6828
+ args: [{}]
6840
6829
  }], ctorParameters: function () { return [{ type: FilterService }, { type: i1$1.LocalizationService }]; }, propDecorators: { hostClasses: [{
6841
6830
  type: HostBinding,
6842
6831
  args: ['class.k-filtercell-boolean']
@@ -7318,13 +7307,11 @@ class ColumnMenuItemBase {
7318
7307
  this.service.close();
7319
7308
  }
7320
7309
  }
7321
- ColumnMenuItemBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColumnMenuItemBase, deps: [], target: i0.ɵɵFactoryTarget.Component });
7322
- ColumnMenuItemBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ColumnMenuItemBase, selector: "ng-component", inputs: { service: "service" }, host: { properties: { "class.k-columnmenu-item-wrapper": "this.hostClass" } }, ngImport: i0, template: '', isInline: true });
7310
+ ColumnMenuItemBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColumnMenuItemBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
7311
+ ColumnMenuItemBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ColumnMenuItemBase, inputs: { service: "service" }, host: { properties: { "class.k-columnmenu-item-wrapper": "this.hostClass" } }, ngImport: i0 });
7323
7312
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColumnMenuItemBase, decorators: [{
7324
- type: Component,
7325
- args: [{
7326
- template: ''
7327
- }]
7313
+ type: Directive,
7314
+ args: [{}]
7328
7315
  }], propDecorators: { service: [{
7329
7316
  type: Input
7330
7317
  }], hostClass: [{
@@ -12173,13 +12160,11 @@ class PagerElementComponent {
12173
12160
  }
12174
12161
  }
12175
12162
  }
12176
- PagerElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1$1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
12177
- PagerElementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PagerElementComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true });
12163
+ PagerElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1$1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
12164
+ PagerElementComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: PagerElementComponent, ngImport: i0 });
12178
12165
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PagerElementComponent, decorators: [{
12179
- type: Component,
12180
- args: [{
12181
- template: ''
12182
- }]
12166
+ type: Directive,
12167
+ args: [{}]
12183
12168
  }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }]; } });
12184
12169
 
12185
12170
  // eslint-disable no-access-missing-member
@@ -19941,5 +19926,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
19941
19926
  * Generated bundle index. Do not edit.
19942
19927
  */
19943
19928
 
19944
- export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseCommandDirective, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, CancelCommandDirective, CellCloseEvent, CellComponent, CellTemplateDirective, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuLockComponent, ColumnMenuSortComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnVisibilityChangeEvent, CommandColumnComponent, ContainsFilterOperatorComponent, CustomMessagesComponent, DataBoundTreeComponent, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DoesNotContainFilterOperatorComponent, EditCommandDirective, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandEvent, ExpandableDirective, ExpandableTreeComponent, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FlatBindingDirective, FocusableDirective, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, HeaderComponent, HeaderModule, HeaderTemplateDirective, HierarchyBindingDirective, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, LevelItemsPipe, ListComponent, LoadingComponent, LogicalCellDirective, LogicalRowDirective, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PagerComponent, PagerInfoComponent, PagerInputComponent, PagerModule, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RemoveCommandDirective, ResizableContainerDirective, RowEditingDirectiveBase, RowFilterModule, SaveCommandDirective, SelectableDirective, SelectionChangeEvent, SharedFilterModule, SharedModule, SinglePopupService, Skip, SpanColumnComponent, StartsWithFilterOperatorComponent, StringFilterCellComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateContextDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, TreeListComponent, TreeListModule, TreeListSpacerComponent };
19929
+ export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseCommandDirective, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, CancelCommandDirective, CellCloseEvent, CellComponent, CellTemplateDirective, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuLockComponent, ColumnMenuSortComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, CustomMessagesComponent, DataBoundTreeComponent, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DoesNotContainFilterOperatorComponent, EditCommandDirective, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandEvent, ExpandableDirective, ExpandableTreeComponent, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FlatBindingDirective, FocusableDirective, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, HeaderComponent, HeaderModule, HeaderTemplateDirective, HierarchyBindingDirective, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, LevelItemsPipe, ListComponent, LoadingComponent, LogicalCellDirective, LogicalRowDirective, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PagerComponent, PagerInfoComponent, PagerInputComponent, PagerModule, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RemoveCommandDirective, ResizableContainerDirective, RowEditingDirectiveBase, RowFilterModule, SaveCommandDirective, SelectableDirective, SelectionChangeEvent, SharedFilterModule, SharedModule, SinglePopupService, Skip, SpanColumnComponent, StartsWithFilterOperatorComponent, StringFilterCellComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateContextDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, TreeListComponent, TreeListModule, TreeListSpacerComponent };
19945
19930
 
@@ -44,8 +44,7 @@ export declare const localizeOperators: (operators: any) => (localization: any)
44
44
  value: any;
45
45
  }[];
46
46
  /**
47
- * An abstract base class for the filter-cell component ([see example]({% slug reusablecustomfilters_grid %}#toc-filter-row)).
48
- * @hidden
47
+ * An abstract base class for the filter-cell component ([see example]({% slug reusablecustomfilters_treelist %}#toc-row-filtering)).
49
48
  */
50
49
  export declare abstract class BaseFilterCellComponent implements AfterContentInit, OnDestroy {
51
50
  protected filterService: FilterService;
@@ -69,5 +68,5 @@ export declare abstract class BaseFilterCellComponent implements AfterContentIni
69
68
  protected updateFilter(filter: FilterDescriptor): CompositeFilterDescriptor;
70
69
  protected applyFilter(filter: CompositeFilterDescriptor): void;
71
70
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseFilterCellComponent, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseFilterCellComponent, "ng-component", never, { "operators": "operators"; }, {}, ["operatorList"], never>;
71
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseFilterCellComponent, never, never, { "operators": "operators"; }, {}, ["operatorList"]>;
73
72
  }
@@ -58,5 +58,5 @@ export declare class BooleanFilterComponent extends BaseFilterCellComponent impl
58
58
  ngOnDestroy(): void;
59
59
  protected localizationChange(): void;
60
60
  static ɵfac: i0.ɵɵFactoryDeclaration<BooleanFilterComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<BooleanFilterComponent, "ng-component", never, { "column": "column"; "filter": "filter"; }, {}, never, never>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BooleanFilterComponent, never, never, { "column": "column"; "filter": "filter"; }, {}, never>;
62
62
  }
@@ -115,5 +115,5 @@ export declare class DateFilterComponent extends BaseFilterCellComponent impleme
115
115
  ngOnDestroy(): void;
116
116
  protected localizationChange(): void;
117
117
  static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterComponent, never>;
118
- static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterComponent, "ng-component", never, { "column": "column"; "filter": "filter"; "operator": "operator"; "format": "format"; "min": "min"; "max": "max"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "weekNumber": "weekNumber"; }, {}, never, never>;
118
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DateFilterComponent, never, never, { "column": "column"; "filter": "filter"; "operator": "operator"; "format": "format"; "min": "min"; "max": "max"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "weekNumber": "weekNumber"; }, {}, never>;
119
119
  }
@@ -36,5 +36,5 @@ export declare abstract class FilterInputWrapperComponent extends BaseFilterCell
36
36
  [propertyName: string]: SimpleChange;
37
37
  }): void;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterInputWrapperComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterInputWrapperComponent, "ng-component", never, { "column": "column"; "filter": "filter"; "defaultOperator": "defaultOperator"; }, {}, ["input"], never>;
39
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FilterInputWrapperComponent, never, never, { "column": "column"; "filter": "filter"; "defaultOperator": "defaultOperator"; }, {}, ["input"]>;
40
40
  }
@@ -94,5 +94,5 @@ export declare abstract class NumericFilterComponent extends BaseFilterCellCompo
94
94
  ngOnDestroy(): void;
95
95
  protected localizationChange(): void;
96
96
  static ɵfac: i0.ɵɵFactoryDeclaration<NumericFilterComponent, never>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<NumericFilterComponent, "ng-component", never, { "column": "column"; "filter": "filter"; "operator": "operator"; "step": "step"; "min": "min"; "max": "max"; "spinners": "spinners"; "decimals": "decimals"; "format": "format"; }, {}, never, never>;
97
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NumericFilterComponent, never, never, { "column": "column"; "filter": "filter"; "operator": "operator"; "step": "step"; "min": "min"; "max": "max"; "spinners": "spinners"; "decimals": "decimals"; "format": "format"; }, {}, never>;
98
98
  }
@@ -37,5 +37,5 @@ export declare class FilterOperatorBase {
37
37
  };
38
38
  protected refreshText(): void;
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterOperatorBase, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterOperatorBase, "ng-component", never, { "text": "text"; }, {}, never, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FilterOperatorBase, never, never, { "text": "text"; }, {}, never>;
41
41
  }
@@ -51,5 +51,5 @@ export declare abstract class StringFilterComponent extends BaseFilterCellCompon
51
51
  ngOnDestroy(): void;
52
52
  protected localizationChange(): void;
53
53
  static ɵfac: i0.ɵɵFactoryDeclaration<StringFilterComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<StringFilterComponent, "ng-component", never, { "column": "column"; "filter": "filter"; "operator": "operator"; }, {}, never, never>;
54
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StringFilterComponent, never, never, { "column": "column"; "filter": "filter"; "operator": "operator"; }, {}, never>;
55
55
  }
package/main.d.ts CHANGED
@@ -20,7 +20,7 @@ export { CellTemplateDirective } from './rendering/cell-template.directive';
20
20
  export { HeaderTemplateDirective } from './rendering/header/header-template.directive';
21
21
  export { FooterTemplateDirective } from './rendering/footer-template.directive';
22
22
  export { PagerTemplateDirective } from './pager/pager-template.directive';
23
- export { PagerSettings } from './pager/pager-settings';
23
+ export { PagerSettings, PagerType } from './pager/pager-settings';
24
24
  export { TreeListDataResult } from './data/data.collection';
25
25
  export { PageChangeEvent, DataStateChangeEvent } from './data/change-event-args.interface';
26
26
  export { DataItem } from './data/data-item.interface';
@@ -119,6 +119,7 @@ export { ScrollBottomEvent } from './scrolling/scroll-bottom-event';
119
119
  export { ContentScrollEvent } from './scrolling/content-scroll-event';
120
120
  export { SuspendService } from './scrolling/suspend.service';
121
121
  export { Skip } from './utils';
122
+ export { ColumnsContainer } from './columns/columns-container';
122
123
  export { ColumnResizeArgs } from './column-resizing/column-resize.interface';
123
124
  export { ColumnReorderEvent } from './dragdrop/column-reorder-event';
124
125
  export { ColumnReorderConfig } from './dragdrop/column-reorder-config';
@@ -128,6 +129,7 @@ export { NavigationRow } from './navigation/navigation-row.interface';
128
129
  export { ColumnMenuSettings } from './column-menu/column-menu-settings.interface';
129
130
  export { ColumnVisibilityChangeEvent } from './column-menu/column-visibility-change-event';
130
131
  export { ColumnMenuComponent } from './column-menu/column-menu.component';
132
+ export { ColumnInfoService } from './common/column-info.service';
131
133
  export { SinglePopupService, PopupCloseEvent } from './common/single-popup.service';
132
134
  export { ScrollRequest } from './scrolling/scroll-request.service';
133
135
  export { ExpandEvent } from './expand-state/expand-event';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-treelist",
3
- "version": "5.0.1",
3
+ "version": "5.0.2-dev.202206011546",
4
4
  "description": "Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -61,5 +61,5 @@ export declare abstract class PagerElementComponent implements OnInit, OnDestroy
61
61
  protected abstract onChanges(changes: PagerContextChanges): void;
62
62
  ngOnDestroy(): void;
63
63
  static ɵfac: i0.ɵɵFactoryDeclaration<PagerElementComponent, never>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<PagerElementComponent, "ng-component", never, {}, {}, never, never>;
64
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PagerElementComponent, never, never, {}, {}, never>;
65
65
  }
@@ -11,19 +11,19 @@ export interface SelectableSettings {
11
11
  *
12
12
  * @default "row"
13
13
  */
14
- mode: 'cell' | 'row';
14
+ mode?: 'cell' | 'row';
15
15
  /**
16
16
  * Specifies if multiple selection is enabled.
17
17
  *
18
18
  * @default false
19
19
  */
20
- multiple: boolean;
20
+ multiple?: boolean;
21
21
  /**
22
22
  * Specifies the drag selection options.
23
23
  *
24
24
  * @default true
25
25
  */
26
- drag: boolean | {
26
+ drag?: boolean | {
27
27
  snap: boolean;
28
28
  };
29
29
  /**
@@ -35,7 +35,7 @@ export interface SelectableSettings {
35
35
  *
36
36
  * @default true
37
37
  */
38
- enabled: boolean;
38
+ enabled?: boolean;
39
39
  /**
40
40
  * Setting this option to `true` prevents the end user from selecting and deselecting items.
41
41
  * When the selection functionality is enabled and `readonly` is set to `true`,
@@ -44,5 +44,5 @@ export interface SelectableSettings {
44
44
  *
45
45
  * @default false
46
46
  */
47
- readonly: boolean;
47
+ readonly?: boolean;
48
48
  }