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

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.
@@ -28,11 +28,17 @@ const identity = item => item;
28
28
  function loadView(view, subject) {
29
29
  view.loadData();
30
30
  if (view.loading) {
31
+ // Wait for view to load and fetch children.
31
32
  view.dataLoaded.pipe(take(1)).subscribe(() => {
32
33
  loadView(view, subject);
33
34
  });
34
35
  }
36
+ else if (!view._data) {
37
+ // Fetch children if root items are resolved immediately.
38
+ loadView(view, subject);
39
+ }
35
40
  else {
41
+ // Data loaded.
36
42
  subject.next(view);
37
43
  }
38
44
  }
package/esm2015/main.js CHANGED
@@ -96,10 +96,12 @@ export { SelectionChangeEvent } from './selection/selection-change-event';
96
96
  export { CellCloseEvent } from './editing/cell-close-event';
97
97
  export { SuspendService } from './scrolling/suspend.service';
98
98
  export { Skip } from './utils';
99
+ export { ColumnsContainer } from './columns/columns-container';
99
100
  export { ColumnReorderEvent } from './dragdrop/column-reorder-event';
100
101
  export { FocusableDirective } from './navigation/focusable.directive';
101
102
  export { ColumnVisibilityChangeEvent } from './column-menu/column-visibility-change-event';
102
103
  export { ColumnMenuComponent } from './column-menu/column-menu.component';
104
+ export { ColumnInfoService } from './common/column-info.service';
103
105
  export { SinglePopupService, PopupCloseEvent } from './common/single-popup.service';
104
106
  export { ExpandEvent } from './expand-state/expand-event';
105
107
  export { ExpandableDirective } from './expand-state/expandable.directive';
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-treelist',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1652698097,
12
+ publishDate: 1654095107,
13
13
  version: '',
14
14
  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'
15
15
  };
@@ -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: 1652698097,
45
+ publishDate: 1654095107,
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
  };
@@ -1297,11 +1297,17 @@ const identity$1 = item => item;
1297
1297
  function loadView(view, subject) {
1298
1298
  view.loadData();
1299
1299
  if (view.loading) {
1300
+ // Wait for view to load and fetch children.
1300
1301
  view.dataLoaded.pipe(take(1)).subscribe(() => {
1301
1302
  loadView(view, subject);
1302
1303
  });
1303
1304
  }
1305
+ else if (!view._data) {
1306
+ // Fetch children if root items are resolved immediately.
1307
+ loadView(view, subject);
1308
+ }
1304
1309
  else {
1310
+ // Data loaded.
1305
1311
  subject.next(view);
1306
1312
  }
1307
1313
  }
@@ -19941,5 +19947,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
19941
19947
  * Generated bundle index. Do not edit.
19942
19948
  */
19943
19949
 
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 };
19950
+ 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
19951
 
package/main.d.ts CHANGED
@@ -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-dev.202205161049",
3
+ "version": "5.0.2-dev.202206011453",
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",