@progress/kendo-angular-treelist 22.1.0-develop.9 → 23.0.0-develop.10
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.
- package/binding-directives/flat-binding.directive.d.ts +2 -2
- package/binding-directives/hierarchy-binding.directive.d.ts +2 -2
- package/column-menu/column-chooser.component.d.ts +1 -1
- package/column-menu/column-menu-autosize-all.component.d.ts +3 -3
- package/column-menu/column-menu-autosize.component.d.ts +3 -3
- package/column-menu/column-menu-chooser.component.d.ts +3 -3
- package/column-menu/column-menu-expandable-item.interface.d.ts +1 -1
- package/column-menu/column-menu-filter.component.d.ts +2 -2
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item-content-template.directive.d.ts +1 -1
- package/column-menu/column-menu-item.component.d.ts +4 -4
- package/column-menu/column-menu-item.directive.d.ts +1 -1
- package/column-menu/column-menu-lock.component.d.ts +2 -2
- package/column-menu/column-menu-settings.interface.d.ts +3 -3
- package/column-menu/column-menu-sort.component.d.ts +2 -2
- package/column-menu/column-menu-template.directive.d.ts +1 -1
- package/column-menu/column-menu.component.d.ts +3 -3
- package/column-menu/column-menu.service.d.ts +1 -1
- package/column-resizing/column-resize.interface.d.ts +1 -1
- package/columns/checkbox-column.component.d.ts +1 -1
- package/columns/column-base.d.ts +17 -10
- package/columns/column-group.component.d.ts +1 -1
- package/columns/column.component.d.ts +2 -2
- package/columns/command-column.component.d.ts +5 -5
- package/columns/span-column.component.d.ts +2 -2
- package/common/column-info.service.d.ts +1 -1
- package/common/pager-settings.d.ts +1 -1
- package/common/single-popup.service.d.ts +1 -1
- package/data/change-event-args.interface.d.ts +2 -2
- package/data/data.collection.d.ts +1 -1
- package/data/treelist-item.interface.d.ts +1 -1
- package/dragdrop/column-reorder-config.d.ts +1 -1
- package/editing/add-command-tool.directive.d.ts +1 -1
- package/editing/add-command.directive.d.ts +2 -2
- package/editing/cancel-command.directive.d.ts +2 -2
- package/editing/cancel-event-args.interface.d.ts +1 -1
- package/editing/edit-command.directive.d.ts +2 -2
- package/editing/edit-event-args.interface.d.ts +1 -1
- package/editing/edit-template.directive.d.ts +1 -1
- package/editing/remove-command.directive.d.ts +2 -2
- package/editing/remove-event-args.interface.d.ts +1 -1
- package/editing/save-command.directive.d.ts +2 -2
- package/editing/save-event-args.interface.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +1 -1
- package/editing-directives/in-cell-editing.directive.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/editing-directives/template-editing.directive.d.ts +1 -1
- package/excel/excel-command-tool.directive.d.ts +1 -1
- package/excel/excel-command.directive.d.ts +2 -2
- package/excel/excel-export-data.interface.d.ts +1 -1
- package/excel/excel-export-event.d.ts +1 -1
- package/excel/excel.component.d.ts +4 -4
- package/expand-state/expand-event.d.ts +1 -1
- package/expand-state/expandable.directive.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-treelist.mjs +511 -393
- package/filtering/base-filter-cell.component.d.ts +1 -1
- package/filtering/cell/boolean-filter-cell.component.d.ts +1 -1
- package/filtering/cell/date-filter-cell.component.d.ts +1 -1
- package/filtering/cell/filter-cell-template.directive.d.ts +1 -1
- package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
- package/filtering/cell/string-filter-cell.component.d.ts +1 -1
- package/filtering/date-filter.component.d.ts +1 -1
- package/filtering/filter.service.d.ts +1 -1
- package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
- package/filtering/menu/date-filter-menu.component.d.ts +1 -1
- package/filtering/menu/filter-menu-container.component.d.ts +5 -1
- package/filtering/menu/filter-menu-template.directive.d.ts +1 -1
- package/filtering/menu/numeric-filter-menu.component.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -1
- package/filtering/operators/after-eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/after-filter-operator.component.d.ts +2 -2
- package/filtering/operators/before-eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/before-filter-operator.component.d.ts +2 -2
- package/filtering/operators/contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/ends-with-filter-operator.component.d.ts +2 -2
- package/filtering/operators/eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/gt-filter-operator.component.d.ts +2 -2
- package/filtering/operators/gte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +2 -2
- package/filtering/operators/isnull-filter-operator.component.d.ts +2 -2
- package/filtering/operators/lt-filter-operator.component.d.ts +2 -2
- package/filtering/operators/lte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/neq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/not-contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/starts-with-filter-operator.component.d.ts +2 -2
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/messages.d.ts +7 -7
- package/navigation/focus-group.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/navigation.service.d.ts +6 -2
- package/package-metadata.mjs +2 -2
- package/package.json +20 -20
- package/pdf/pdf-command-tool.directive.d.ts +2 -2
- package/pdf/pdf-command.directive.d.ts +3 -3
- package/pdf/pdf-margin.interface.d.ts +1 -1
- package/pdf/pdf.component.d.ts +1 -1
- package/rendering/cell-template.directive.d.ts +1 -1
- package/rendering/common/row-class.d.ts +2 -2
- package/rendering/common/spacer.component.d.ts +1 -1
- package/rendering/footer-template.directive.d.ts +2 -2
- package/rendering/header/header-template.directive.d.ts +3 -3
- package/rendering/no-records-template.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar-template.directive.d.ts +2 -2
- package/schematics/ngAdd/index.js +3 -3
- package/scrolling/content-scroll-event.d.ts +1 -1
- package/scrolling/scroll-bottom-event.d.ts +1 -1
- package/scrolling/scrollmode.d.ts +1 -1
- package/selection/is-selected.d.ts +1 -1
- package/selection/selectable-settings.d.ts +5 -5
- package/selection/selectable.directive.d.ts +2 -2
- package/selection/selection-change-event.d.ts +1 -1
- package/treelist.component.d.ts +40 -40
|
@@ -50,12 +50,12 @@ const packageMetadata = {
|
|
|
50
50
|
productCode: 'KENDOUIANGULAR',
|
|
51
51
|
productCodes: ['KENDOUIANGULAR'],
|
|
52
52
|
publishDate: 0,
|
|
53
|
-
version: '
|
|
53
|
+
version: '23.0.0-develop.10',
|
|
54
54
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* Represents the column cell template of the TreeList ([more information and example](
|
|
58
|
+
* Represents the column cell template of the TreeList ([more information and example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/templates#cell-template)).
|
|
59
59
|
* Use this directive to customize the content of the cells. To define the cell template, nest an `<ng-template>` tag with the `kendoTreeListCellTemplate` directive inside a `<kendo-treelist-column>` tag.
|
|
60
60
|
*
|
|
61
61
|
* The template context is set to the current data item and provides the following fields:
|
|
@@ -99,7 +99,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
99
99
|
}] }] });
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
|
-
* Represents the column edit-cell template of the TreeList ([see example](
|
|
102
|
+
* Represents the column edit-cell template of the TreeList ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/template-forms)). Use this directive to customize the content of edited cells. To define the cell template, nest an `<ng-template>` tag with the `kendoTreeListEditTemplate` directive inside a `<kendo-treelist-column>` tag.
|
|
103
103
|
*
|
|
104
104
|
* The template context contains the following fields:
|
|
105
105
|
* - `column`—The current column instance.
|
|
@@ -143,7 +143,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
143
143
|
* To define the content template, nest an `<ng-template>` tag with the `kendoTreeListColumnMenuTemplate` directive inside the `kendo-treelist` or the `<kendo-treelist-column>` component.
|
|
144
144
|
*
|
|
145
145
|
* The template context is passed through the following fields:
|
|
146
|
-
* - `service`—Represents the [ColumnMenuService](
|
|
146
|
+
* - `service`—Represents the [ColumnMenuService](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice).
|
|
147
147
|
* - `column`—Represents the TreeList column.
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
@@ -200,13 +200,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
200
200
|
}] });
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
|
-
* Represents the column footer cell template of the TreeList ([more information and example](
|
|
203
|
+
* Represents the column footer cell template of the TreeList ([more information and example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/templates#footer-template)).
|
|
204
204
|
* Use this directive to customize the table footer cell for the column.
|
|
205
205
|
* To define a footer template, nest an `<ng-template>` tag with the `kendoTreeListFooterTemplate` directive inside the `<kendo-treelist-column>` tag.
|
|
206
206
|
*
|
|
207
207
|
* The template context is set to the aggregate values and provides the following fields:
|
|
208
208
|
* - `aggregates`—The aggregates for the level items.
|
|
209
|
-
* - `column`—Defines an instance of the [`ColumnComponent`](
|
|
209
|
+
* - `column`—Defines an instance of the [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent) option.
|
|
210
210
|
* - `columnIndex`—Defines the current column index.
|
|
211
211
|
* - `field`—The name of the column field, if set.
|
|
212
212
|
* - `items`—The data items on this level.
|
|
@@ -241,13 +241,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* Represents the column header cell template of the TreeList
|
|
244
|
-
* ([more information and example](
|
|
244
|
+
* ([more information and example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/templates#header-template)).
|
|
245
245
|
* Use this directive to customize the table header cell for the column.
|
|
246
246
|
* To define a header template, nest an `<ng-template>` tag with the
|
|
247
|
-
* [`kendoTreeListHeaderTemplate`](
|
|
247
|
+
* [`kendoTreeListHeaderTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/headertemplatedirective) directive inside the `<kendo-treelist-column>` tag.
|
|
248
248
|
*
|
|
249
249
|
* The template context is set to the current column and provides the following fields:
|
|
250
|
-
* - `column`—Defines an instance of the [`ColumnComponent`](
|
|
250
|
+
* - `column`—Defines an instance of the [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent) option.
|
|
251
251
|
* - `columnIndex`—Defines the current column index.
|
|
252
252
|
*
|
|
253
253
|
* @example
|
|
@@ -346,6 +346,13 @@ class ColumnBase {
|
|
|
346
346
|
* @default true
|
|
347
347
|
*/
|
|
348
348
|
reorderable = true;
|
|
349
|
+
/**
|
|
350
|
+
* Sets the distance in pixels by which the column width is adjusted during keyboard navigation resizing.
|
|
351
|
+
* Used when resizing columns with `Alt/Option + Left/Right Arrow` keyboard shortcuts.
|
|
352
|
+
*
|
|
353
|
+
* @default 10
|
|
354
|
+
*/
|
|
355
|
+
resizeStep = 10;
|
|
349
356
|
/**
|
|
350
357
|
* Sets the minimum width (in pixels) for resizing the column using the UI.
|
|
351
358
|
* @default 10
|
|
@@ -367,7 +374,7 @@ class ColumnBase {
|
|
|
367
374
|
*/
|
|
368
375
|
autoSize;
|
|
369
376
|
/**
|
|
370
|
-
* Toggles the locked (frozen) state of the columns ([more information and example](
|
|
377
|
+
* Toggles the locked (frozen) state of the columns ([more information and example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/locked)).
|
|
371
378
|
* @default false
|
|
372
379
|
*/
|
|
373
380
|
set locked(value) {
|
|
@@ -378,12 +385,12 @@ class ColumnBase {
|
|
|
378
385
|
}
|
|
379
386
|
_locked = false;
|
|
380
387
|
/**
|
|
381
|
-
* Sets the visibility of the column ([see example](
|
|
388
|
+
* Sets the visibility of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/hidden#using-the-built-in-options)).
|
|
382
389
|
* @default false
|
|
383
390
|
*/
|
|
384
391
|
hidden;
|
|
385
392
|
/**
|
|
386
|
-
* Sets the condition that must be satisfied for a column to remain visible ([see example](
|
|
393
|
+
* Sets the condition that must be satisfied for a column to remain visible ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/responsive#columns)).
|
|
387
394
|
* If you set the `hidden` property, the behavior of `media` is overridden.
|
|
388
395
|
*/
|
|
389
396
|
media;
|
|
@@ -408,29 +415,29 @@ class ColumnBase {
|
|
|
408
415
|
*/
|
|
409
416
|
tableCellsRole = 'gridcell';
|
|
410
417
|
/**
|
|
411
|
-
* Sets custom styles for the table cells (excluding the footer and header) of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](
|
|
418
|
+
* Sets custom styles for the table cells (excluding the footer and header) of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/columns).
|
|
412
419
|
*/
|
|
413
420
|
style;
|
|
414
421
|
/**
|
|
415
|
-
* Sets custom styles for the header cell of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example.](
|
|
422
|
+
* Sets custom styles for the header cell of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example.](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/columns)
|
|
416
423
|
*/
|
|
417
424
|
headerStyle;
|
|
418
425
|
/**
|
|
419
|
-
* Sets custom styles for the footer cell of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example.](
|
|
426
|
+
* Sets custom styles for the footer cell of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example.](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/columns)
|
|
420
427
|
*/
|
|
421
428
|
footerStyle;
|
|
422
429
|
/**
|
|
423
|
-
* Sets custom CSS classes to the column cells. Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. To customize header and footer column cells, use the [`headerClass`](
|
|
430
|
+
* Sets custom CSS classes to the column cells. Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. To customize header and footer column cells, use the [`headerClass`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#headerclass) and [`footerClass`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#footerclass) inputs.
|
|
424
431
|
*/
|
|
425
432
|
cssClass;
|
|
426
433
|
/**
|
|
427
|
-
* Sets custom CSS classes to the column header cell. Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](
|
|
434
|
+
* Sets custom CSS classes to the column header cell. Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/columns).
|
|
428
435
|
*/
|
|
429
436
|
headerClass;
|
|
430
437
|
/**
|
|
431
438
|
* Sets the custom CSS classes to the column footer cell. Under the hood, to apply the property,
|
|
432
439
|
* the `footerClass` option uses the
|
|
433
|
-
* [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](
|
|
440
|
+
* [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/columns).
|
|
434
441
|
*/
|
|
435
442
|
footerClass;
|
|
436
443
|
/**
|
|
@@ -533,7 +540,7 @@ class ColumnBase {
|
|
|
533
540
|
}
|
|
534
541
|
}
|
|
535
542
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }, { token: OptionChangesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
536
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: ColumnBase, isStandalone: true, 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", tableCellsRole: "tableCellsRole", 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 });
|
|
543
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: ColumnBase, isStandalone: true, inputs: { resizable: "resizable", reorderable: "reorderable", resizeStep: "resizeStep", minResizableWidth: "minResizableWidth", title: "title", width: "width", autoSize: "autoSize", locked: "locked", hidden: "hidden", media: "media", lockable: "lockable", columnMenu: "columnMenu", includeInChooser: "includeInChooser", tableCellsRole: "tableCellsRole", 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 });
|
|
537
544
|
}
|
|
538
545
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ColumnBase, decorators: [{
|
|
539
546
|
type: Directive,
|
|
@@ -542,6 +549,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
542
549
|
type: Input
|
|
543
550
|
}], reorderable: [{
|
|
544
551
|
type: Input
|
|
552
|
+
}], resizeStep: [{
|
|
553
|
+
type: Input
|
|
545
554
|
}], minResizableWidth: [{
|
|
546
555
|
type: Input
|
|
547
556
|
}], title: [{
|
|
@@ -698,7 +707,7 @@ const isColumnEditable = (column, formGroup) => column.isEditable !== false &&
|
|
|
698
707
|
/**
|
|
699
708
|
* Represents the filter-cell template for the TreeList.
|
|
700
709
|
* Use this directive to customize the filter row cell for a column.
|
|
701
|
-
* See [custom filter row components](
|
|
710
|
+
* See [custom filter row components](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#custom-filters).
|
|
702
711
|
*
|
|
703
712
|
* The template context is set to the filter descriptor and provides the following fields:
|
|
704
713
|
* - `column`—The current column instance. Use as an alias for a template variable with `let-column="column"`.
|
|
@@ -740,7 +749,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
740
749
|
* Represents the filter-menu template for the TreeList filter menu.
|
|
741
750
|
*
|
|
742
751
|
* Use this directive to provide a custom template for the filter menu in a TreeList column
|
|
743
|
-
* ([see example](
|
|
752
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-menu#custom-filter-menu-components)).
|
|
744
753
|
*
|
|
745
754
|
* @example
|
|
746
755
|
* ```html
|
|
@@ -812,7 +821,7 @@ class ColumnComponent extends ColumnBase {
|
|
|
812
821
|
*/
|
|
813
822
|
field;
|
|
814
823
|
/**
|
|
815
|
-
* Sets the format applied to the value before display. For supported date and number formats, see the [Column Formats](
|
|
824
|
+
* Sets the format applied to the value before display. For supported date and number formats, see the [Column Formats](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/formats) article.
|
|
816
825
|
*/
|
|
817
826
|
format;
|
|
818
827
|
/**
|
|
@@ -821,7 +830,7 @@ class ColumnComponent extends ColumnBase {
|
|
|
821
830
|
*/
|
|
822
831
|
sortable = true;
|
|
823
832
|
/**
|
|
824
|
-
* Sets the editor type ([see example](
|
|
833
|
+
* Sets the editor type ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/reactive-forms#setup)). Used when the column enters edit mode. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/reactive-forms).
|
|
825
834
|
* @default 'text'
|
|
826
835
|
*/
|
|
827
836
|
editor = 'text';
|
|
@@ -933,7 +942,7 @@ function isSpanColumnComponent(column) {
|
|
|
933
942
|
}
|
|
934
943
|
/**
|
|
935
944
|
* Represents a column that spans multiple data cells while keeping individual header and footer cells.
|
|
936
|
-
* Use this component to create flexible layouts and retain built-in UI for [sorting](
|
|
945
|
+
* Use this component to create flexible layouts and retain built-in UI for [sorting](https://www.telerik.com/kendo-angular-ui/components/treelist/sorting/basics) and [filtering](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics).
|
|
937
946
|
* Wrap the columns to merge inside the `<kendo-treelist-span-column>` tag.
|
|
938
947
|
*
|
|
939
948
|
* @example
|
|
@@ -1041,7 +1050,7 @@ class SpanColumnComponent extends ColumnBase {
|
|
|
1041
1050
|
return this.childColumns.filter(c => c.isVisible).length;
|
|
1042
1051
|
}
|
|
1043
1052
|
/**
|
|
1044
|
-
* Toggles the locked (frozen) state of the columns. Locked columns are visible at all times during horizontal scrolling. [See example](
|
|
1053
|
+
* Toggles the locked (frozen) state of the columns. Locked columns are visible at all times during horizontal scrolling. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/locked).
|
|
1045
1054
|
* @default false
|
|
1046
1055
|
*/
|
|
1047
1056
|
set locked(value) {
|
|
@@ -1187,7 +1196,7 @@ function isColumnGroupComponent(column) {
|
|
|
1187
1196
|
return column.isColumnGroup;
|
|
1188
1197
|
}
|
|
1189
1198
|
/**
|
|
1190
|
-
* Represents the column group header of the TreeList. ([More information and examples](
|
|
1199
|
+
* Represents the column group header of the TreeList. ([More information and examples](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/headers)).
|
|
1191
1200
|
*
|
|
1192
1201
|
* @example
|
|
1193
1202
|
* ```html
|
|
@@ -2187,7 +2196,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2187
2196
|
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
2188
2197
|
|
|
2189
2198
|
/**
|
|
2190
|
-
* Represents the no-records template of the TreeList ([see example](
|
|
2199
|
+
* Represents the no-records template of the TreeList ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/no-records-template)). Use this directive to customize the
|
|
2191
2200
|
* appearance of the item that is displayed when no data is present. To define the no-records template,
|
|
2192
2201
|
* nest an `<ng-template>` tag with the `kendoTreeListNoRecordsTemplate` directive inside `<kendo-treelist>`.
|
|
2193
2202
|
*
|
|
@@ -2282,7 +2291,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2282
2291
|
}] });
|
|
2283
2292
|
|
|
2284
2293
|
/**
|
|
2285
|
-
* Represents a service to set the filter descriptor for the TreeList. ([See example](
|
|
2294
|
+
* Represents a service to set the filter descriptor for the TreeList. ([See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-menu)).
|
|
2286
2295
|
*/
|
|
2287
2296
|
class FilterService {
|
|
2288
2297
|
/**
|
|
@@ -2524,7 +2533,7 @@ class ColumnList {
|
|
|
2524
2533
|
}
|
|
2525
2534
|
|
|
2526
2535
|
/**
|
|
2527
|
-
* Represents the toolbar template of the TreeList ([see example](
|
|
2536
|
+
* Represents the toolbar template of the TreeList ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/toolbar/toolbar-template)).
|
|
2528
2537
|
*
|
|
2529
2538
|
* The template context has the following field:
|
|
2530
2539
|
* - `position`—The position at which the toolbar template is rendered. The possible values are `top`, `bottom`, and `both`.
|
|
@@ -2544,7 +2553,7 @@ class ToolbarTemplateDirective {
|
|
|
2544
2553
|
_position = "top";
|
|
2545
2554
|
/**
|
|
2546
2555
|
* Sets the position of the toolbar. The value can be `top`, `bottom`, or `both`.
|
|
2547
|
-
* Controls whether the toolbar appears above, below, or on both sides of the TreeList. [See example.](
|
|
2556
|
+
* Controls whether the toolbar appears above, below, or on both sides of the TreeList. [See example.](https://www.telerik.com/kendo-angular-ui/components/treelist/toolbar/toolbar-template#setting-the-toolbar-position)
|
|
2548
2557
|
* @default 'top'
|
|
2549
2558
|
*/
|
|
2550
2559
|
set position(position) {
|
|
@@ -3020,7 +3029,7 @@ const DEFAULT_POPUP_CLASS = 'k-grid-filter-popup';
|
|
|
3020
3029
|
/**
|
|
3021
3030
|
* Represents the service used for the popups of the filter and column menus.
|
|
3022
3031
|
* Use this service to manage popup opening, closing, and event handling.
|
|
3023
|
-
* ([See example](
|
|
3032
|
+
* ([See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-menu#filter-menu-with-popup)).
|
|
3024
3033
|
*/
|
|
3025
3034
|
class SinglePopupService {
|
|
3026
3035
|
popupService;
|
|
@@ -3531,7 +3540,7 @@ class DefaultFocusableElement {
|
|
|
3531
3540
|
* A focus group may contain focusable elements, such as rows, cells and input elements.
|
|
3532
3541
|
*
|
|
3533
3542
|
* Elements are added to the focus group by tagging them with the `kendoTreeListFocusable` directive.
|
|
3534
|
-
* See [Controlling the Focus](
|
|
3543
|
+
* See [Controlling the Focus](https://www.telerik.com/kendo-angular-ui/components/treelist/keyboard-navigation#controlling-the-focus).
|
|
3535
3544
|
*
|
|
3536
3545
|
* @hidden
|
|
3537
3546
|
*/
|
|
@@ -3624,7 +3633,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3624
3633
|
}], ctorParameters: () => [{ type: FocusRoot }] });
|
|
3625
3634
|
|
|
3626
3635
|
/**
|
|
3627
|
-
* Represents a directive that controls how focusable cell elements receive focus in a [navigable TreeList](
|
|
3636
|
+
* Represents a directive that controls how focusable cell elements receive focus in a [navigable TreeList](https://www.telerik.com/kendo-angular-ui/components/treelist/keyboard-navigation).
|
|
3628
3637
|
*
|
|
3629
3638
|
* Use this directive to manage focus behavior for cell elements. Pass the `cellContext` from the cell template as input.
|
|
3630
3639
|
*
|
|
@@ -4198,7 +4207,7 @@ class TreeListFocusableElement {
|
|
|
4198
4207
|
}
|
|
4199
4208
|
|
|
4200
4209
|
/**
|
|
4201
|
-
* Arguments for the TreeList expand and collapse events. [See example](
|
|
4210
|
+
* Arguments for the TreeList expand and collapse events. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/expanded-state).
|
|
4202
4211
|
*/
|
|
4203
4212
|
class ExpandEvent extends PreventableEvent {
|
|
4204
4213
|
/**
|
|
@@ -4690,6 +4699,7 @@ class NavigationService {
|
|
|
4690
4699
|
selectionService;
|
|
4691
4700
|
changeDetector;
|
|
4692
4701
|
ctx;
|
|
4702
|
+
resizeService;
|
|
4693
4703
|
focusableParent;
|
|
4694
4704
|
changes;
|
|
4695
4705
|
cellKeydown = new EventEmitter();
|
|
@@ -4715,6 +4725,27 @@ class NavigationService {
|
|
|
4715
4725
|
});
|
|
4716
4726
|
}
|
|
4717
4727
|
}
|
|
4728
|
+
get isColumnResizable() {
|
|
4729
|
+
const allColumns = Array.from(this.ctx.treelist.columnsContainer.allColumns);
|
|
4730
|
+
const column = allColumns.find((col) => col.level === this.activeCell.rowIndex && col.leafIndex === this.activeCell.colIndex);
|
|
4731
|
+
if (!column?.parent) {
|
|
4732
|
+
if (column?.isColumnGroup) {
|
|
4733
|
+
return this.activeCell.colIndex + this.activeCell.colSpan !== this.ctx.treelist.columnsContainer.leafColumnsToRender.length;
|
|
4734
|
+
}
|
|
4735
|
+
else {
|
|
4736
|
+
return this.activeCell.colIndex !== this.ctx.treelist.columnsContainer.leafColumnsToRender.length - 1;
|
|
4737
|
+
}
|
|
4738
|
+
}
|
|
4739
|
+
else {
|
|
4740
|
+
const columnGroup = column.parent;
|
|
4741
|
+
const columnGroupChildren = Array.from(columnGroup.children).sort((a, b) => a.orderIndex - b.orderIndex);
|
|
4742
|
+
const columnIndexInsideGroup = columnGroupChildren.indexOf(column);
|
|
4743
|
+
if (column.isReordered || column.orderIndex > 0 || (column.isReordered && column.orderIndex === 0)) {
|
|
4744
|
+
return (column.orderIndex - columnGroupChildren[0]['orderIndex']) !== columnGroupChildren.length - 1;
|
|
4745
|
+
}
|
|
4746
|
+
return columnIndexInsideGroup !== columnGroupChildren.length - 1;
|
|
4747
|
+
}
|
|
4748
|
+
}
|
|
4718
4749
|
viewport;
|
|
4719
4750
|
columnViewport;
|
|
4720
4751
|
activeRowIndex = 0;
|
|
@@ -4730,7 +4761,7 @@ class NavigationService {
|
|
|
4730
4761
|
get activeDataRow() {
|
|
4731
4762
|
return Math.max(0, this.activeRowIndex - this.meta.headerRows);
|
|
4732
4763
|
}
|
|
4733
|
-
constructor(zone, domEvents, pagerContextService, scrollRequestService, focusRoot, editService, localization, expandState, selectionService, changeDetector, ctx, focusableParent) {
|
|
4764
|
+
constructor(zone, domEvents, pagerContextService, scrollRequestService, focusRoot, editService, localization, expandState, selectionService, changeDetector, ctx, resizeService, focusableParent) {
|
|
4734
4765
|
this.zone = zone;
|
|
4735
4766
|
this.domEvents = domEvents;
|
|
4736
4767
|
this.pagerContextService = pagerContextService;
|
|
@@ -4742,6 +4773,7 @@ class NavigationService {
|
|
|
4742
4773
|
this.selectionService = selectionService;
|
|
4743
4774
|
this.changeDetector = changeDetector;
|
|
4744
4775
|
this.ctx = ctx;
|
|
4776
|
+
this.resizeService = resizeService;
|
|
4745
4777
|
this.focusableParent = focusableParent;
|
|
4746
4778
|
this.changes = this.cursor.changes;
|
|
4747
4779
|
}
|
|
@@ -4986,6 +5018,46 @@ class NavigationService {
|
|
|
4986
5018
|
});
|
|
4987
5019
|
}
|
|
4988
5020
|
}
|
|
5021
|
+
columnResize(increaseWidth) {
|
|
5022
|
+
const column = this.ctx.treelist.columnsContainer.allColumns.find((col) => col.level === this.activeCell.rowIndex && col.leafIndex === this.activeCell.colIndex);
|
|
5023
|
+
if (!column?.resizable) {
|
|
5024
|
+
return;
|
|
5025
|
+
}
|
|
5026
|
+
const rtl = this.ctx.localization.rtl;
|
|
5027
|
+
const step = column.resizeStep || 10;
|
|
5028
|
+
const shouldIncrease = rtl ? !increaseWidth : increaseWidth;
|
|
5029
|
+
const delta = shouldIncrease ? step : -step;
|
|
5030
|
+
// Get the actual rendered width from the DOM header cell
|
|
5031
|
+
// Fall back to column.width if header cell is not found
|
|
5032
|
+
let currentWidth = column.width || 0;
|
|
5033
|
+
const headerCell = this.meta.treelistElement.nativeElement.querySelector(`.k-treelist-header tr:nth-child(${this.activeCell.rowIndex + 1}) th:nth-child(${this.activeCell.colIndex + 1})`);
|
|
5034
|
+
if (headerCell) {
|
|
5035
|
+
const rect = headerCell.getBoundingClientRect();
|
|
5036
|
+
if (rect.width > 0) {
|
|
5037
|
+
currentWidth = rect.width;
|
|
5038
|
+
}
|
|
5039
|
+
}
|
|
5040
|
+
// If still no width, use resizeStartWidth or default
|
|
5041
|
+
if (!currentWidth) {
|
|
5042
|
+
currentWidth = column.resizeStartWidth || 0;
|
|
5043
|
+
}
|
|
5044
|
+
if (!currentWidth) {
|
|
5045
|
+
return;
|
|
5046
|
+
}
|
|
5047
|
+
const newWidth = currentWidth + delta;
|
|
5048
|
+
const minWidth = column.minResizableWidth || 10;
|
|
5049
|
+
if (newWidth < minWidth) {
|
|
5050
|
+
return;
|
|
5051
|
+
}
|
|
5052
|
+
// Set resizeStartWidth before calling resizeColumns so the column-handle directive can calculate the new width correctly
|
|
5053
|
+
column.resizeStartWidth = currentWidth;
|
|
5054
|
+
// The resizeColumns method expects a percentage value relative to the current column width.
|
|
5055
|
+
// Convert pixel delta to percentage for consistency with the existing mouse-based resizing logic.
|
|
5056
|
+
const deltaPercent = (delta / currentWidth) * 100;
|
|
5057
|
+
this.resizeService.start(column);
|
|
5058
|
+
this.resizeService.resizeColumns(deltaPercent);
|
|
5059
|
+
this.resizeService.end();
|
|
5060
|
+
}
|
|
4989
5061
|
onCursorKeydown(args) {
|
|
4990
5062
|
let preventDefault = false;
|
|
4991
5063
|
const modifier = args.ctrlKey || args.metaKey;
|
|
@@ -5027,6 +5099,13 @@ class NavigationService {
|
|
|
5027
5099
|
}
|
|
5028
5100
|
break;
|
|
5029
5101
|
case Keys.ArrowRight:
|
|
5102
|
+
if (args.altKey && !args.shiftKey && !args.ctrlKey && !args.metaKey &&
|
|
5103
|
+
row.index < this.meta.headerRows &&
|
|
5104
|
+
this.ctx.treelist.resizable) {
|
|
5105
|
+
this.columnResize(true);
|
|
5106
|
+
preventDefault = true;
|
|
5107
|
+
break;
|
|
5108
|
+
}
|
|
5030
5109
|
if (args.altKey) {
|
|
5031
5110
|
this.zone.run(() => {
|
|
5032
5111
|
this.expandState.expand(row.dataItem);
|
|
@@ -5041,6 +5120,13 @@ class NavigationService {
|
|
|
5041
5120
|
}
|
|
5042
5121
|
break;
|
|
5043
5122
|
case Keys.ArrowLeft:
|
|
5123
|
+
if (args.altKey && !args.shiftKey && !args.ctrlKey && !args.metaKey &&
|
|
5124
|
+
row.index < this.meta.headerRows &&
|
|
5125
|
+
this.ctx.treelist.resizable) {
|
|
5126
|
+
this.columnResize(false);
|
|
5127
|
+
preventDefault = true;
|
|
5128
|
+
break;
|
|
5129
|
+
}
|
|
5044
5130
|
if (args.altKey) {
|
|
5045
5131
|
this.zone.run(() => {
|
|
5046
5132
|
this.expandState.collapse(row.dataItem);
|
|
@@ -5275,12 +5361,12 @@ class NavigationService {
|
|
|
5275
5361
|
this.leaveCell();
|
|
5276
5362
|
this.cursor.reset();
|
|
5277
5363
|
}
|
|
5278
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NavigationService, deps: [{ token: i0.NgZone }, { token: DomEventsService }, { token: i107.PagerContextService }, { token: ScrollRequestService }, { token: FocusRoot }, { token: EditService }, { token: i1$1.LocalizationService }, { token: ExpandStateService }, { token: SelectionService }, { token: i0.ChangeDetectorRef }, { token: ContextService }, { token: FocusableDirective, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5364
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NavigationService, deps: [{ token: i0.NgZone }, { token: DomEventsService }, { token: i107.PagerContextService }, { token: ScrollRequestService }, { token: FocusRoot }, { token: EditService }, { token: i1$1.LocalizationService }, { token: ExpandStateService }, { token: SelectionService }, { token: i0.ChangeDetectorRef }, { token: ContextService }, { token: ColumnResizingService }, { token: FocusableDirective, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5279
5365
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NavigationService });
|
|
5280
5366
|
}
|
|
5281
5367
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NavigationService, decorators: [{
|
|
5282
5368
|
type: Injectable
|
|
5283
|
-
}], ctorParameters: () => [{ type: i0.NgZone }, { type: DomEventsService }, { type: i107.PagerContextService }, { type: ScrollRequestService }, { type: FocusRoot }, { type: EditService }, { type: i1$1.LocalizationService }, { type: ExpandStateService }, { type: SelectionService }, { type: i0.ChangeDetectorRef }, { type: ContextService }, { type: FocusableDirective, decorators: [{
|
|
5369
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: DomEventsService }, { type: i107.PagerContextService }, { type: ScrollRequestService }, { type: FocusRoot }, { type: EditService }, { type: i1$1.LocalizationService }, { type: ExpandStateService }, { type: SelectionService }, { type: i0.ChangeDetectorRef }, { type: ContextService }, { type: ColumnResizingService }, { type: FocusableDirective, decorators: [{
|
|
5284
5370
|
type: Optional
|
|
5285
5371
|
}] }] });
|
|
5286
5372
|
|
|
@@ -8471,7 +8557,7 @@ class ListComponent {
|
|
|
8471
8557
|
kendoTreeListResizableTable
|
|
8472
8558
|
[locked]="true"
|
|
8473
8559
|
#lockedTable
|
|
8474
|
-
class="k-table k-grid-table
|
|
8560
|
+
class="k-table k-grid-table"
|
|
8475
8561
|
role="presentation"
|
|
8476
8562
|
[style.width.px]="lockedWidth">
|
|
8477
8563
|
<colgroup
|
|
@@ -8515,7 +8601,7 @@ class ListComponent {
|
|
|
8515
8601
|
#table
|
|
8516
8602
|
kendoTreeListResizableTable
|
|
8517
8603
|
[virtualColumns]="virtualColumns"
|
|
8518
|
-
class="k-table k-grid-table
|
|
8604
|
+
class="k-table k-grid-table"
|
|
8519
8605
|
role="presentation">
|
|
8520
8606
|
<colgroup
|
|
8521
8607
|
kendoTreeListColGroup
|
|
@@ -8588,7 +8674,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
8588
8674
|
kendoTreeListResizableTable
|
|
8589
8675
|
[locked]="true"
|
|
8590
8676
|
#lockedTable
|
|
8591
|
-
class="k-table k-grid-table
|
|
8677
|
+
class="k-table k-grid-table"
|
|
8592
8678
|
role="presentation"
|
|
8593
8679
|
[style.width.px]="lockedWidth">
|
|
8594
8680
|
<colgroup
|
|
@@ -8632,7 +8718,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
8632
8718
|
#table
|
|
8633
8719
|
kendoTreeListResizableTable
|
|
8634
8720
|
[virtualColumns]="virtualColumns"
|
|
8635
|
-
class="k-table k-grid-table
|
|
8721
|
+
class="k-table k-grid-table"
|
|
8636
8722
|
role="presentation">
|
|
8637
8723
|
<colgroup
|
|
8638
8724
|
kendoTreeListColGroup
|
|
@@ -9259,7 +9345,7 @@ const localizeOperators = operators => localization => Object.keys(operators).ma
|
|
|
9259
9345
|
/**
|
|
9260
9346
|
* An abstract base class for the filter-cell component in the TreeList.
|
|
9261
9347
|
* Use this class to implement custom filter cell components.
|
|
9262
|
-
* [See example](
|
|
9348
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#custom-filter-row-components).
|
|
9263
9349
|
*/
|
|
9264
9350
|
class BaseFilterCellComponent {
|
|
9265
9351
|
filterService;
|
|
@@ -9921,7 +10007,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
9921
10007
|
/**
|
|
9922
10008
|
* Represents a string-filter cell component.
|
|
9923
10009
|
* Use this component to filter string values in the TreeList.
|
|
9924
|
-
* See the article about the [built-in filter components](
|
|
10010
|
+
* See the article about the [built-in filter components](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#built-in-filter-row-components).
|
|
9925
10011
|
*
|
|
9926
10012
|
* @example
|
|
9927
10013
|
* ```html
|
|
@@ -10150,7 +10236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
10150
10236
|
/**
|
|
10151
10237
|
* Represents a numeric filter cell.
|
|
10152
10238
|
* Use this component to filter numeric values in the TreeList.
|
|
10153
|
-
* See the article about the [built-in filter components](
|
|
10239
|
+
* See the article about the [built-in filter components](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#built-in-filter-row-components).
|
|
10154
10240
|
*
|
|
10155
10241
|
* @example
|
|
10156
10242
|
* ```html
|
|
@@ -10358,7 +10444,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
10358
10444
|
/**
|
|
10359
10445
|
* Represents a Boolean filter-cell component.
|
|
10360
10446
|
* Use this component to filter Boolean values in the TreeList.
|
|
10361
|
-
* See the article about the [built-in filter components](
|
|
10447
|
+
* See the article about the [built-in filter components](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#built-in-filter-row-components).
|
|
10362
10448
|
*
|
|
10363
10449
|
* @example
|
|
10364
10450
|
* ```html
|
|
@@ -10511,7 +10597,7 @@ class DateFilterComponent extends BaseFilterCellComponent {
|
|
|
10511
10597
|
max;
|
|
10512
10598
|
/**
|
|
10513
10599
|
* Defines the descriptions of the format sections in the input field.
|
|
10514
|
-
* [See possible format options](
|
|
10600
|
+
* [See possible format options](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/placeholders#format-sections-description).
|
|
10515
10601
|
* @type {DateInputFormatPlaceholder}
|
|
10516
10602
|
*/
|
|
10517
10603
|
formatPlaceholder;
|
|
@@ -10613,7 +10699,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
10613
10699
|
/**
|
|
10614
10700
|
* Represents a date-filter cell component.
|
|
10615
10701
|
* Use this component to filter date values in the TreeList.
|
|
10616
|
-
* See the article about the [built-in filter components](
|
|
10702
|
+
* See the article about the [built-in filter components](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#built-in-filter-row-components).
|
|
10617
10703
|
*
|
|
10618
10704
|
* @example
|
|
10619
10705
|
* ```html
|
|
@@ -11062,7 +11148,11 @@ class ColumnHandleDirective {
|
|
|
11062
11148
|
this.column.width = headerWidth(this.element);
|
|
11063
11149
|
}
|
|
11064
11150
|
initState() {
|
|
11065
|
-
|
|
11151
|
+
// Use existing resizeStartWidth if already set (for keyboard resizing),
|
|
11152
|
+
// otherwise measure from DOM element (for mouse resizing)
|
|
11153
|
+
if (!this.column.resizeStartWidth) {
|
|
11154
|
+
this.column.resizeStartWidth = headerWidth(this.element);
|
|
11155
|
+
}
|
|
11066
11156
|
this.service.resizedColumn({
|
|
11067
11157
|
column: this.column,
|
|
11068
11158
|
oldWidth: this.column.resizeStartWidth
|
|
@@ -11123,7 +11213,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
11123
11213
|
}] } });
|
|
11124
11214
|
|
|
11125
11215
|
/**
|
|
11126
|
-
* Represents the service passed to the [`ColumnMenuTemplate`](
|
|
11216
|
+
* Represents the service passed to the [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive.
|
|
11127
11217
|
*
|
|
11128
11218
|
* @example
|
|
11129
11219
|
* ```html
|
|
@@ -11190,11 +11280,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
11190
11280
|
*/
|
|
11191
11281
|
const ColumnMenuErrorMessages = {
|
|
11192
11282
|
autoSizeColumn: `The auto size column does not work with enabled virtual columns.
|
|
11193
|
-
See https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu/#
|
|
11283
|
+
See https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu/#autosize-column-item.`,
|
|
11194
11284
|
autoSizeAllColumns: `The auto size all columns does not work with enabled virtual columns.
|
|
11195
|
-
See https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu/#
|
|
11285
|
+
See https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu/#autosize-all-columns-item.`,
|
|
11196
11286
|
serviceInput: `The service input of the predefined column menu components is mandatory.
|
|
11197
|
-
See https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu/#
|
|
11287
|
+
See https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu/#customizing-the-content.`
|
|
11198
11288
|
};
|
|
11199
11289
|
|
|
11200
11290
|
/**
|
|
@@ -11202,7 +11292,7 @@ const ColumnMenuErrorMessages = {
|
|
|
11202
11292
|
*/
|
|
11203
11293
|
class ColumnMenuItemBase {
|
|
11204
11294
|
/**
|
|
11205
|
-
* Represents the [`ColumnMenuService`](
|
|
11295
|
+
* Represents the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice) instance.
|
|
11206
11296
|
* Requires a mandatory input.
|
|
11207
11297
|
*/
|
|
11208
11298
|
service;
|
|
@@ -11481,7 +11571,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
11481
11571
|
|
|
11482
11572
|
/**
|
|
11483
11573
|
* Represents the Kendo UI string-filter menu component for the TreeList. Use this component to filter string values using a filter menu popup.
|
|
11484
|
-
* [See example](
|
|
11574
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-menu#built-in-filter-menu-components).
|
|
11485
11575
|
*
|
|
11486
11576
|
* @example
|
|
11487
11577
|
* ```html
|
|
@@ -11788,7 +11878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
11788
11878
|
|
|
11789
11879
|
/**
|
|
11790
11880
|
* Represents the Kendo UI numeric-filter menu component for the TreeList. Use this component to filter numeric values using a filter menu popup.
|
|
11791
|
-
* [See example](
|
|
11881
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-menu#built-in-filter-menu-components).
|
|
11792
11882
|
*
|
|
11793
11883
|
* @example
|
|
11794
11884
|
* ```html
|
|
@@ -12153,7 +12243,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12153
12243
|
}] } });
|
|
12154
12244
|
|
|
12155
12245
|
/**
|
|
12156
|
-
* Represents the Kendo UI date-filter menu component for Angular TreeList. Use this component to filter date fields in the TreeList. [See example](
|
|
12246
|
+
* Represents the Kendo UI date-filter menu component for Angular TreeList. Use this component to filter date fields in the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-menu#built-in-filter-menu-components).
|
|
12157
12247
|
*
|
|
12158
12248
|
* @example
|
|
12159
12249
|
* ```html
|
|
@@ -12374,7 +12464,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12374
12464
|
}] } });
|
|
12375
12465
|
|
|
12376
12466
|
/**
|
|
12377
|
-
* Represents the Kendo UI Boolean-filter menu component for Angular TreeList. Use this component to filter boolean fields in the TreeList. [See example](
|
|
12467
|
+
* Represents the Kendo UI Boolean-filter menu component for Angular TreeList. Use this component to filter boolean fields in the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-menu#built-in-filter-menu-components).
|
|
12378
12468
|
*
|
|
12379
12469
|
* @example
|
|
12380
12470
|
* ```html
|
|
@@ -12615,7 +12705,12 @@ class FilterMenuContainerComponent {
|
|
|
12615
12705
|
* The column with which the filter is associated.
|
|
12616
12706
|
* @type {ColumnComponent}
|
|
12617
12707
|
*/
|
|
12618
|
-
column
|
|
12708
|
+
set column(value) {
|
|
12709
|
+
this._column = value;
|
|
12710
|
+
}
|
|
12711
|
+
get column() {
|
|
12712
|
+
return this._column;
|
|
12713
|
+
}
|
|
12619
12714
|
/**
|
|
12620
12715
|
* @hidden
|
|
12621
12716
|
*/
|
|
@@ -12653,10 +12748,12 @@ class FilterMenuContainerComponent {
|
|
|
12653
12748
|
}
|
|
12654
12749
|
resetButton;
|
|
12655
12750
|
filterButton;
|
|
12751
|
+
_column;
|
|
12656
12752
|
_childFilter;
|
|
12657
12753
|
subscription;
|
|
12658
12754
|
_templateContext = {};
|
|
12659
12755
|
_filter;
|
|
12756
|
+
_clearDisabled = true;
|
|
12660
12757
|
constructor(parentService, childService, localization, cd, menuTabbingService) {
|
|
12661
12758
|
this.parentService = parentService;
|
|
12662
12759
|
this.childService = childService;
|
|
@@ -12682,6 +12779,12 @@ class FilterMenuContainerComponent {
|
|
|
12682
12779
|
get disabled() {
|
|
12683
12780
|
return !this.childFilter.filters.some(validFilters);
|
|
12684
12781
|
}
|
|
12782
|
+
get clearDisabled() {
|
|
12783
|
+
if (!this.column || !this.filter) {
|
|
12784
|
+
return true;
|
|
12785
|
+
}
|
|
12786
|
+
return !filtersByField(this.filter, this.column.field).length;
|
|
12787
|
+
}
|
|
12685
12788
|
get templateContext() {
|
|
12686
12789
|
this._templateContext.column = this.column;
|
|
12687
12790
|
this._templateContext.filter = this.childFilter;
|
|
@@ -12707,6 +12810,9 @@ class FilterMenuContainerComponent {
|
|
|
12707
12810
|
return false;
|
|
12708
12811
|
}
|
|
12709
12812
|
reset() {
|
|
12813
|
+
if (this.clearDisabled) {
|
|
12814
|
+
return;
|
|
12815
|
+
}
|
|
12710
12816
|
const root = this.filter || {
|
|
12711
12817
|
filters: [],
|
|
12712
12818
|
logic: "and"
|
|
@@ -12768,10 +12874,14 @@ class FilterMenuContainerComponent {
|
|
|
12768
12874
|
class="k-button-rectangle"
|
|
12769
12875
|
[disabled]="disabled"
|
|
12770
12876
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
12771
|
-
<button kendoButton
|
|
12772
|
-
#resetButton
|
|
12877
|
+
<button #resetButton kendoButton
|
|
12773
12878
|
type="reset"
|
|
12774
12879
|
class="k-button-rectangle"
|
|
12880
|
+
[class.k-disabled]="clearDisabled"
|
|
12881
|
+
[attr.aria-disabled]="clearDisabled"
|
|
12882
|
+
(click)="reset()"
|
|
12883
|
+
(keydown.space)="clearDisabled ? $event.preventDefault() : reset()"
|
|
12884
|
+
(keydown.enter)="clearDisabled ? $event.preventDefault() : reset()"
|
|
12775
12885
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
12776
12886
|
</div>
|
|
12777
12887
|
</div>
|
|
@@ -12818,10 +12928,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12818
12928
|
class="k-button-rectangle"
|
|
12819
12929
|
[disabled]="disabled"
|
|
12820
12930
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
12821
|
-
<button kendoButton
|
|
12822
|
-
#resetButton
|
|
12931
|
+
<button #resetButton kendoButton
|
|
12823
12932
|
type="reset"
|
|
12824
12933
|
class="k-button-rectangle"
|
|
12934
|
+
[class.k-disabled]="clearDisabled"
|
|
12935
|
+
[attr.aria-disabled]="clearDisabled"
|
|
12936
|
+
(click)="reset()"
|
|
12937
|
+
(keydown.space)="clearDisabled ? $event.preventDefault() : reset()"
|
|
12938
|
+
(keydown.enter)="clearDisabled ? $event.preventDefault() : reset()"
|
|
12825
12939
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
12826
12940
|
</div>
|
|
12827
12941
|
</div>
|
|
@@ -12855,7 +12969,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12855
12969
|
}] } });
|
|
12856
12970
|
|
|
12857
12971
|
/**
|
|
12858
|
-
* Represents the content template for the [`kendo-treelist-columnmenu-item`](
|
|
12972
|
+
* Represents the content template for the [`kendo-treelist-columnmenu-item`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuitemcomponent) component.
|
|
12859
12973
|
* Use this directive to specify the content of a column menu item.
|
|
12860
12974
|
* To define the content template, nest an `<ng-template>` tag with the `kendoTreeListColumnMenuItemContentTemplate` directive inside a `<kendo-treelist-columnmenu-item>`.
|
|
12861
12975
|
*
|
|
@@ -12893,7 +13007,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12893
13007
|
}] }] });
|
|
12894
13008
|
|
|
12895
13009
|
/**
|
|
12896
|
-
* Represents an item you can place inside a [`ColumnMenuTemplate`](
|
|
13010
|
+
* Represents an item you can place inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive.
|
|
12897
13011
|
*
|
|
12898
13012
|
* @example
|
|
12899
13013
|
* ```html
|
|
@@ -12918,11 +13032,11 @@ class ColumnMenuItemComponent {
|
|
|
12918
13032
|
*/
|
|
12919
13033
|
collapse = new EventEmitter();
|
|
12920
13034
|
/**
|
|
12921
|
-
* Sets the name of the [font icon](
|
|
13035
|
+
* Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list) rendered for the item.
|
|
12922
13036
|
*/
|
|
12923
13037
|
icon;
|
|
12924
13038
|
/**
|
|
12925
|
-
* Sets the name of the [SVG icon](
|
|
13039
|
+
* Sets the name of the [SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) rendered for the item.
|
|
12926
13040
|
*/
|
|
12927
13041
|
svgIcon;
|
|
12928
13042
|
/**
|
|
@@ -12942,7 +13056,7 @@ class ColumnMenuItemComponent {
|
|
|
12942
13056
|
*/
|
|
12943
13057
|
expanded;
|
|
12944
13058
|
/**
|
|
12945
|
-
* Provides the [ColumnMenuService](
|
|
13059
|
+
* Provides the [ColumnMenuService](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice) instance.
|
|
12946
13060
|
* Required to include the item in the column menu keyboard navigation sequence.
|
|
12947
13061
|
*/
|
|
12948
13062
|
service;
|
|
@@ -13002,9 +13116,9 @@ class ColumnMenuItemComponent {
|
|
|
13002
13116
|
[attr.aria-controls]="expanded ? contentId : undefined">
|
|
13003
13117
|
<kendo-icon-wrapper
|
|
13004
13118
|
[name]="icon"
|
|
13005
|
-
[svgIcon]="svgIcon"></kendo-icon-wrapper
|
|
13006
|
-
{{ text }}
|
|
13007
|
-
|
|
13119
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper><!-- avoid extra spaces in the rendered HTML
|
|
13120
|
+
-->{{ text }}<!--
|
|
13121
|
+
-->@if (contentTemplate) {
|
|
13008
13122
|
<span class="k-spacer"></span>
|
|
13009
13123
|
}
|
|
13010
13124
|
@if (contentTemplate) {
|
|
@@ -13023,7 +13137,7 @@ class ColumnMenuItemComponent {
|
|
|
13023
13137
|
</div>
|
|
13024
13138
|
}
|
|
13025
13139
|
}
|
|
13026
|
-
|
|
13140
|
+
|
|
13027
13141
|
<ng-template #content>
|
|
13028
13142
|
<div
|
|
13029
13143
|
class="k-columnmenu-item"
|
|
@@ -13036,9 +13150,9 @@ class ColumnMenuItemComponent {
|
|
|
13036
13150
|
[attr.aria-controls]="expanded ? contentId : undefined">
|
|
13037
13151
|
<kendo-icon-wrapper
|
|
13038
13152
|
[name]="icon"
|
|
13039
|
-
|
|
13040
|
-
{{ text }}
|
|
13041
|
-
|
|
13153
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper><!-- avoid extra spaces in the rendered HTML
|
|
13154
|
+
-->{{ text }}<!--
|
|
13155
|
+
-->@if (contentTemplate) {
|
|
13042
13156
|
<span class="k-spacer"></span>
|
|
13043
13157
|
}
|
|
13044
13158
|
@if (contentTemplate) {
|
|
@@ -13125,9 +13239,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13125
13239
|
[attr.aria-controls]="expanded ? contentId : undefined">
|
|
13126
13240
|
<kendo-icon-wrapper
|
|
13127
13241
|
[name]="icon"
|
|
13128
|
-
[svgIcon]="svgIcon"></kendo-icon-wrapper
|
|
13129
|
-
{{ text }}
|
|
13130
|
-
|
|
13242
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper><!-- avoid extra spaces in the rendered HTML
|
|
13243
|
+
-->{{ text }}<!--
|
|
13244
|
+
-->@if (contentTemplate) {
|
|
13131
13245
|
<span class="k-spacer"></span>
|
|
13132
13246
|
}
|
|
13133
13247
|
@if (contentTemplate) {
|
|
@@ -13146,7 +13260,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13146
13260
|
</div>
|
|
13147
13261
|
}
|
|
13148
13262
|
}
|
|
13149
|
-
|
|
13263
|
+
|
|
13150
13264
|
<ng-template #content>
|
|
13151
13265
|
<div
|
|
13152
13266
|
class="k-columnmenu-item"
|
|
@@ -13159,9 +13273,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13159
13273
|
[attr.aria-controls]="expanded ? contentId : undefined">
|
|
13160
13274
|
<kendo-icon-wrapper
|
|
13161
13275
|
[name]="icon"
|
|
13162
|
-
|
|
13163
|
-
{{ text }}
|
|
13164
|
-
|
|
13276
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper><!-- avoid extra spaces in the rendered HTML
|
|
13277
|
+
-->{{ text }}<!--
|
|
13278
|
+
-->@if (contentTemplate) {
|
|
13165
13279
|
<span class="k-spacer"></span>
|
|
13166
13280
|
}
|
|
13167
13281
|
@if (contentTemplate) {
|
|
@@ -13212,9 +13326,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13212
13326
|
/**
|
|
13213
13327
|
* Represents the column-menu item for editing column filters in the TreeList.
|
|
13214
13328
|
*
|
|
13215
|
-
* Render this component inside a [`ColumnMenuTemplate`](
|
|
13329
|
+
* Render this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive.
|
|
13216
13330
|
*
|
|
13217
|
-
* To register the component as a known column menu item, set the [`ColumnMenuService`](
|
|
13331
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice)
|
|
13218
13332
|
* that the template passes to the `service` input of the `kendo-treelist-columnmenu-filter` component.
|
|
13219
13333
|
*
|
|
13220
13334
|
* @example
|
|
@@ -13669,7 +13783,7 @@ class ColumnListComponent {
|
|
|
13669
13783
|
<button
|
|
13670
13784
|
#applyButton
|
|
13671
13785
|
type="button"
|
|
13672
|
-
class="k-button k-button-
|
|
13786
|
+
class="k-button k-button-primary k-button-rectangle"
|
|
13673
13787
|
(click)="applyChanges()"
|
|
13674
13788
|
(keydown.enter)="$event.preventDefault(); $event.stopPropagation(); applyChanges();"
|
|
13675
13789
|
(keydown.space)="$event.preventDefault(); $event.stopPropagation(); applyChanges();">{{ applyText }}</button>
|
|
@@ -13677,7 +13791,7 @@ class ColumnListComponent {
|
|
|
13677
13791
|
#resetButton
|
|
13678
13792
|
type="button"
|
|
13679
13793
|
(keydown.tab)="onTab($event)"
|
|
13680
|
-
class="k-button k-button-
|
|
13794
|
+
class="k-button k-button-rectangle"
|
|
13681
13795
|
(click)="cancelChanges()"
|
|
13682
13796
|
(keydown.enter)="$event.preventDefault(); $event.stopPropagation(); cancelChanges();"
|
|
13683
13797
|
(keydown.space)="$event.preventDefault(); $event.stopPropagation(); cancelChanges();">{{ resetText }}</button>
|
|
@@ -13716,7 +13830,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13716
13830
|
<button
|
|
13717
13831
|
#applyButton
|
|
13718
13832
|
type="button"
|
|
13719
|
-
class="k-button k-button-
|
|
13833
|
+
class="k-button k-button-primary k-button-rectangle"
|
|
13720
13834
|
(click)="applyChanges()"
|
|
13721
13835
|
(keydown.enter)="$event.preventDefault(); $event.stopPropagation(); applyChanges();"
|
|
13722
13836
|
(keydown.space)="$event.preventDefault(); $event.stopPropagation(); applyChanges();">{{ applyText }}</button>
|
|
@@ -13724,7 +13838,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13724
13838
|
#resetButton
|
|
13725
13839
|
type="button"
|
|
13726
13840
|
(keydown.tab)="onTab($event)"
|
|
13727
|
-
class="k-button k-button-
|
|
13841
|
+
class="k-button k-button-rectangle"
|
|
13728
13842
|
(click)="cancelChanges()"
|
|
13729
13843
|
(keydown.enter)="$event.preventDefault(); $event.stopPropagation(); cancelChanges();"
|
|
13730
13844
|
(keydown.space)="$event.preventDefault(); $event.stopPropagation(); cancelChanges();">{{ resetText }}</button>
|
|
@@ -13779,10 +13893,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13779
13893
|
|
|
13780
13894
|
/**
|
|
13781
13895
|
*
|
|
13782
|
-
* Represents the Kendo UI for Angular TreeList column-menu item for chaging the visibility of the columns. [See example](
|
|
13896
|
+
* Represents the Kendo UI for Angular TreeList column-menu item for chaging the visibility of the columns. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu#column-chooser-item).
|
|
13783
13897
|
*
|
|
13784
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
13785
|
-
* Set the [`ColumnMenuService`](
|
|
13898
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive to enable the feature.
|
|
13899
|
+
* Set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice) and `column` inputs using the values passed by the template.
|
|
13786
13900
|
*
|
|
13787
13901
|
* @example
|
|
13788
13902
|
* ```html
|
|
@@ -13930,9 +14044,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13930
14044
|
/**
|
|
13931
14045
|
* Represents the column-menu item that lets you lock or unlock columns.
|
|
13932
14046
|
*
|
|
13933
|
-
* Render this component inside a [`ColumnMenuTemplate`](
|
|
14047
|
+
* Render this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive.
|
|
13934
14048
|
*
|
|
13935
|
-
* To register the component as a known column menu item, set the [`ColumnMenuService`](
|
|
14049
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice)
|
|
13936
14050
|
* that the template passes to the `service` input of the `kendo-treelist-columnmenu-lock` component.
|
|
13937
14051
|
*
|
|
13938
14052
|
* @example
|
|
@@ -14030,9 +14144,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14030
14144
|
/**
|
|
14031
14145
|
* Represents the column-menu item for sorting TreeList columns.
|
|
14032
14146
|
*
|
|
14033
|
-
* Render this component inside a [`ColumnMenuTemplate`](
|
|
14147
|
+
* Render this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive.
|
|
14034
14148
|
*
|
|
14035
|
-
* To register the component as a known column menu item, set the [`ColumnMenuService`](
|
|
14149
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice)
|
|
14036
14150
|
* that the template passes to the `service` input of the `kendo-treelist-columnmenu-sort` component.
|
|
14037
14151
|
*
|
|
14038
14152
|
* @example
|
|
@@ -14131,7 +14245,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14131
14245
|
|
|
14132
14246
|
/**
|
|
14133
14247
|
* Provides keyboard navigation support for TreeList column menu items.
|
|
14134
|
-
* Use this directive to manage focus and tab order for custom column menu items ([see example](
|
|
14248
|
+
* Use this directive to manage focus and tab order for custom column menu items ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu#customizing-the-content)).
|
|
14135
14249
|
*
|
|
14136
14250
|
* @example
|
|
14137
14251
|
* ```html
|
|
@@ -14317,10 +14431,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14317
14431
|
}] } });
|
|
14318
14432
|
|
|
14319
14433
|
/**
|
|
14320
|
-
* Represents the Kendo UI TreeList column-menu item for resizing all columns to fit the widest header or cell content without wrapping. [See example](
|
|
14434
|
+
* Represents the Kendo UI TreeList column-menu item for resizing all columns to fit the widest header or cell content without wrapping. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu#autosize-all-columns-item).
|
|
14321
14435
|
*
|
|
14322
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
14323
|
-
* Register the component as a known column menu item by setting the [`ColumnMenuService`](
|
|
14436
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive to enable the feature.
|
|
14437
|
+
* Register the component as a known column menu item by setting the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice) to the `service` input. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu#customizing-the-content).
|
|
14324
14438
|
*
|
|
14325
14439
|
* @example
|
|
14326
14440
|
* ```html
|
|
@@ -14383,10 +14497,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14383
14497
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
14384
14498
|
|
|
14385
14499
|
/**
|
|
14386
|
-
* Represents the Kendo UI for Angular TreeList column-menu item for resizing a specified column to fit the header or cell content without wrapping. [See example](
|
|
14500
|
+
* Represents the Kendo UI for Angular TreeList column-menu item for resizing a specified column to fit the header or cell content without wrapping. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu#customizing-the-content).
|
|
14387
14501
|
*
|
|
14388
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
14389
|
-
* Set the [`ColumnMenuService`](
|
|
14502
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive to enable the feature.
|
|
14503
|
+
* Set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice) and `column` inputs using the values passed by the template.
|
|
14390
14504
|
*
|
|
14391
14505
|
* @example
|
|
14392
14506
|
* ```html
|
|
@@ -14460,7 +14574,7 @@ const POPUP_CLASSES = 'k-grid-columnmenu-popup k-column-menu';
|
|
|
14460
14574
|
let id$1 = 0;
|
|
14461
14575
|
const getId$1 = (treelistId) => `${treelistId}-column-menu-${id$1++}`;
|
|
14462
14576
|
/**
|
|
14463
|
-
* Represents the [column menu](
|
|
14577
|
+
* Represents the [column menu](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu) component of the TreeList.
|
|
14464
14578
|
* Use this component to display and manage column menu options for a TreeList column.
|
|
14465
14579
|
*
|
|
14466
14580
|
* @example
|
|
@@ -14499,12 +14613,12 @@ class ColumnMenuComponent {
|
|
|
14499
14613
|
settings = {};
|
|
14500
14614
|
/**
|
|
14501
14615
|
* The descriptors by which the data is sorted.
|
|
14502
|
-
* Typically bound to the same value as [TreeListComponent.sort](
|
|
14616
|
+
* Typically bound to the same value as [TreeListComponent.sort](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#sort).
|
|
14503
14617
|
*/
|
|
14504
14618
|
sort;
|
|
14505
14619
|
/**
|
|
14506
14620
|
* The descriptor by which the data is filtered.
|
|
14507
|
-
* Typically bound to the same value as [TreeListComponent.filter](
|
|
14621
|
+
* Typically bound to the same value as [TreeListComponent.filter](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#filter).
|
|
14508
14622
|
*/
|
|
14509
14623
|
filter;
|
|
14510
14624
|
/**
|
|
@@ -14747,7 +14861,7 @@ class ColumnMenuComponent {
|
|
|
14747
14861
|
>
|
|
14748
14862
|
</kendo-treelist-columnmenu-autosize-column>
|
|
14749
14863
|
}
|
|
14750
|
-
|
|
14864
|
+
|
|
14751
14865
|
@if (hasAutoSizeAllColumns) {
|
|
14752
14866
|
<kendo-treelist-columnmenu-autosize-all-columns
|
|
14753
14867
|
#autoSizeAllColumnsItem
|
|
@@ -14836,7 +14950,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14836
14950
|
>
|
|
14837
14951
|
</kendo-treelist-columnmenu-autosize-column>
|
|
14838
14952
|
}
|
|
14839
|
-
|
|
14953
|
+
|
|
14840
14954
|
@if (hasAutoSizeAllColumns) {
|
|
14841
14955
|
<kendo-treelist-columnmenu-autosize-all-columns
|
|
14842
14956
|
#autoSizeAllColumnsItem
|
|
@@ -15342,18 +15456,25 @@ class HeaderComponent {
|
|
|
15342
15456
|
const isReorderingKeyShortcut = isLeftOrRightArrow && isCtrlOrMeta;
|
|
15343
15457
|
if (isReorderingKeyShortcut && this.isReorderable(column)) {
|
|
15344
15458
|
args.preventDefault();
|
|
15345
|
-
const
|
|
15459
|
+
const allColumns = sortColumns(this.columnInfoService.list().toArray()).filter(col => col.level === column.level);
|
|
15460
|
+
const columnsCount = allColumns.length;
|
|
15346
15461
|
const reorderDirection = code === Keys.ArrowLeft ? -1 : 1;
|
|
15347
15462
|
const rtlMultiplier = this.contextService.localization.rtl ? -1 : 1;
|
|
15348
15463
|
const reorderDirectionOffset = reorderDirection * rtlMultiplier;
|
|
15349
|
-
const
|
|
15464
|
+
const oldIndex = allColumns.indexOf(column);
|
|
15465
|
+
let newIndex = oldIndex + reorderDirectionOffset;
|
|
15466
|
+
let targetColumn = allColumns[newIndex];
|
|
15467
|
+
while (isPresent(targetColumn) && targetColumn.hidden) {
|
|
15468
|
+
targetColumn = allColumns[newIndex + reorderDirectionOffset];
|
|
15469
|
+
newIndex += reorderDirectionOffset;
|
|
15470
|
+
}
|
|
15350
15471
|
const normalizedNewIndex = Math.min(Math.max(0, newIndex), columnsCount - 1);
|
|
15351
15472
|
const treelistInstance = this.contextService.treelist;
|
|
15352
15473
|
treelistInstance.reorderColumn(column, normalizedNewIndex, { before: reorderDirectionOffset < 0 });
|
|
15353
15474
|
treelistInstance.columnReorder.emit(new ColumnReorderEvent({
|
|
15354
15475
|
column,
|
|
15355
15476
|
newIndex: normalizedNewIndex,
|
|
15356
|
-
oldIndex
|
|
15477
|
+
oldIndex
|
|
15357
15478
|
}));
|
|
15358
15479
|
return;
|
|
15359
15480
|
}
|
|
@@ -15730,6 +15851,7 @@ class HeaderComponent {
|
|
|
15730
15851
|
kendoDropTarget
|
|
15731
15852
|
kendoDraggable
|
|
15732
15853
|
kendoDraggableColumn
|
|
15854
|
+
(keydown)="onHeaderKeydown(getColumnComponent(column), $event)"
|
|
15733
15855
|
[enableDrag]="shouldActivate(column)"
|
|
15734
15856
|
[context]="{
|
|
15735
15857
|
type: 'columnGroup',
|
|
@@ -15959,6 +16081,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
15959
16081
|
kendoDropTarget
|
|
15960
16082
|
kendoDraggable
|
|
15961
16083
|
kendoDraggableColumn
|
|
16084
|
+
(keydown)="onHeaderKeydown(getColumnComponent(column), $event)"
|
|
15962
16085
|
[enableDrag]="shouldActivate(column)"
|
|
15963
16086
|
[context]="{
|
|
15964
16087
|
type: 'columnGroup',
|
|
@@ -16128,7 +16251,7 @@ class ToolbarComponent {
|
|
|
16128
16251
|
this.navigationService.updateFocus();
|
|
16129
16252
|
}
|
|
16130
16253
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ToolbarComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16131
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ToolbarComponent, isStandalone: true, selector: "kendo-treelist-toolbar", inputs: { position: "position", navigable: "navigable" }, host: { properties: { "attr.role": "this.hostRole", "class.k-grid-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses"
|
|
16254
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ToolbarComponent, isStandalone: true, selector: "kendo-treelist-toolbar", inputs: { position: "position", navigable: "navigable" }, host: { properties: { "attr.role": "this.hostRole", "class.k-grid-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses" } }, ngImport: i0, template: `
|
|
16132
16255
|
@if (toolbarTemplateRef) {
|
|
16133
16256
|
<ng-template
|
|
16134
16257
|
[ngTemplateOutlet]="toolbarTemplateRef"
|
|
@@ -16163,12 +16286,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
16163
16286
|
}, {
|
|
16164
16287
|
type: HostBinding,
|
|
16165
16288
|
args: ['class.k-toolbar']
|
|
16166
|
-
}, {
|
|
16167
|
-
type: HostBinding,
|
|
16168
|
-
args: ['class.k-toolbar-solid']
|
|
16169
|
-
}, {
|
|
16170
|
-
type: HostBinding,
|
|
16171
|
-
args: ['class.k-toolbar-md']
|
|
16172
16289
|
}], position: [{
|
|
16173
16290
|
type: Input
|
|
16174
16291
|
}], navigable: [{
|
|
@@ -16255,7 +16372,7 @@ class Messages extends ComponentMessages {
|
|
|
16255
16372
|
* To allow reordering the column name and the localizable part, the `filterInputLabel` accepts a string with a
|
|
16256
16373
|
* placeholder for the column name, for example, **filter for {columnName}**. The `{columnName}` placeholder will be replaced
|
|
16257
16374
|
* internally with the current column name, and the resulting label will be rendered as **filter for Product Name**.
|
|
16258
|
-
* [See example](
|
|
16375
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
16259
16376
|
*/
|
|
16260
16377
|
filterInputLabel;
|
|
16261
16378
|
/**
|
|
@@ -16267,7 +16384,7 @@ class Messages extends ComponentMessages {
|
|
|
16267
16384
|
* To allow reordering the column name and the localizable part, the `filterCellOperatorLabel` accepts a string with a
|
|
16268
16385
|
* placeholder for the column name, for example, **Filter operators for {columnName}**. The `{columnName}` placeholder will be replaced
|
|
16269
16386
|
* internally with the current column name, and the resulting label will be rendered as **Filter operators for Product Name**.
|
|
16270
|
-
* [See example](
|
|
16387
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/globalization#custom-messages).
|
|
16271
16388
|
*/
|
|
16272
16389
|
filterCellOperatorLabel;
|
|
16273
16390
|
/**
|
|
@@ -16279,7 +16396,7 @@ class Messages extends ComponentMessages {
|
|
|
16279
16396
|
* To allow reordering the column name and the localizable part, the `booleanFilterCellLabel` accepts a string with a
|
|
16280
16397
|
* placeholder for the column name, for example, **Boolean Filter operator for {columnName}**. The `{columnName}` placeholder will be replaced
|
|
16281
16398
|
* internally with the current column name, and the resulting label will be rendered as **Boolean Filter operator for Product Name**.
|
|
16282
|
-
* [See example](
|
|
16399
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/globalization#custom-messages).
|
|
16283
16400
|
*/
|
|
16284
16401
|
booleanFilterCellLabel;
|
|
16285
16402
|
/**
|
|
@@ -16407,7 +16524,7 @@ class Messages extends ComponentMessages {
|
|
|
16407
16524
|
* To allow reordering the column name and the localizable part, the `filterMenuOperatorsDropDownLabel` accepts a string with a
|
|
16408
16525
|
* placeholder for the column name, for example, **filter operators for {columnName**'. The `{columnName}` placeholder will be replaced
|
|
16409
16526
|
* internally with the current column name, and the resulting label will be rendered as **filter operators for Product Name**.
|
|
16410
|
-
* [See example](
|
|
16527
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/globalization#custom-messages).
|
|
16411
16528
|
*/
|
|
16412
16529
|
filterMenuOperatorsDropDownLabel;
|
|
16413
16530
|
/**
|
|
@@ -16419,7 +16536,7 @@ class Messages extends ComponentMessages {
|
|
|
16419
16536
|
* To allow reordering the column name and the localizable part, the `filterMenuLogicDropDownLabel` accepts a string with a
|
|
16420
16537
|
* placeholder for the column name, for example, **filter logic for {columnName}**. The `{columnName}` placeholder will be replaced
|
|
16421
16538
|
* internally with the current column name, and the resulting label will be rendered as **filter logic for Product Name**.
|
|
16422
|
-
* [See example](
|
|
16539
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/globalization#custom-messages).
|
|
16423
16540
|
*/
|
|
16424
16541
|
filterMenuLogicDropDownLabel;
|
|
16425
16542
|
/**
|
|
@@ -16438,7 +16555,7 @@ class Messages extends ComponentMessages {
|
|
|
16438
16555
|
* To allow reordering the column name and the localizable part, the `columnMenu` accepts a string with a
|
|
16439
16556
|
* placeholder for the column name, for example, **menu for {columnName}**. The `{columnName}` placeholder will be replaced
|
|
16440
16557
|
* internally with the current column name, and the resulting title will be rendered as **menu for Product Name**.
|
|
16441
|
-
* [See example](
|
|
16558
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
16442
16559
|
*/
|
|
16443
16560
|
columnMenu;
|
|
16444
16561
|
/**
|
|
@@ -16528,7 +16645,7 @@ class Messages extends ComponentMessages {
|
|
|
16528
16645
|
* To allow reordering the column name and the localizable part, the `filterMenuTitle` accepts a string with a
|
|
16529
16646
|
* placeholder for the column name, for example, **filter for {columnName}**. The `{columnName}` placeholder will be replaced
|
|
16530
16647
|
* internally with the current column name, and the resulting title will be rendered as **filter for Product Name**.
|
|
16531
|
-
* [See example](
|
|
16648
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/globalization#custom-messages).
|
|
16532
16649
|
*/
|
|
16533
16650
|
filterMenuTitle;
|
|
16534
16651
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -16809,7 +16926,7 @@ class TreeListComponent {
|
|
|
16809
16926
|
ariaLabel;
|
|
16810
16927
|
/**
|
|
16811
16928
|
* Sets the data for the TreeList. When you provide an array, the TreeList gets the total count automatically
|
|
16812
|
-
* ([more information and example](
|
|
16929
|
+
* ([more information and example](https://www.telerik.com/kendo-angular-ui/components/treelist/data-binding/basics)).
|
|
16813
16930
|
*/
|
|
16814
16931
|
set data(value) {
|
|
16815
16932
|
this.view.reset();
|
|
@@ -16827,7 +16944,7 @@ class TreeListComponent {
|
|
|
16827
16944
|
return this.loadedData;
|
|
16828
16945
|
}
|
|
16829
16946
|
/**
|
|
16830
|
-
* Sets the page size for the TreeList when [paging](
|
|
16947
|
+
* Sets the page size for the TreeList when [paging](https://www.telerik.com/kendo-angular-ui/components/treelist/paging/basics) is enabled.
|
|
16831
16948
|
*
|
|
16832
16949
|
* @default 10
|
|
16833
16950
|
*/
|
|
@@ -16840,13 +16957,13 @@ class TreeListComponent {
|
|
|
16840
16957
|
height;
|
|
16841
16958
|
/**
|
|
16842
16959
|
* Sets the actual height of each TreeList row (`tr`) element in the DOM.
|
|
16843
|
-
* The [virtual scrolling functionality](
|
|
16960
|
+
* The [virtual scrolling functionality](https://www.telerik.com/kendo-angular-ui/components/treelist/scroll-modes) requires this setting.
|
|
16844
16961
|
* Set the `rowHeight` option to match the exact pixel height of the `tr` element in the DOM.
|
|
16845
16962
|
*/
|
|
16846
16963
|
rowHeight;
|
|
16847
16964
|
/**
|
|
16848
16965
|
* Sets the number of records that the pager skips.
|
|
16849
|
-
* The [paging](
|
|
16966
|
+
* The [paging](https://www.telerik.com/kendo-angular-ui/components/treelist/paging/basics) functionality requires this setting.
|
|
16850
16967
|
*/
|
|
16851
16968
|
get skip() {
|
|
16852
16969
|
return this._skip;
|
|
@@ -16864,7 +16981,7 @@ class TreeListComponent {
|
|
|
16864
16981
|
*/
|
|
16865
16982
|
scrollable = 'scrollable';
|
|
16866
16983
|
/**
|
|
16867
|
-
* Sets the descriptors for sorting the data ([see example](
|
|
16984
|
+
* Sets the descriptors for sorting the data ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/sorting/basics)).
|
|
16868
16985
|
*/
|
|
16869
16986
|
set sort(value) {
|
|
16870
16987
|
if (isArray(value)) {
|
|
@@ -16882,7 +16999,7 @@ class TreeListComponent {
|
|
|
16882
16999
|
*/
|
|
16883
17000
|
trackBy = defaultTrackBy;
|
|
16884
17001
|
/**
|
|
16885
|
-
* Sets the descriptor for filtering the data ([see examples](
|
|
17002
|
+
* Sets the descriptor for filtering the data ([see examples](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics)).
|
|
16886
17003
|
*/
|
|
16887
17004
|
filter;
|
|
16888
17005
|
/**
|
|
@@ -16952,19 +17069,19 @@ class TreeListComponent {
|
|
|
16952
17069
|
return this.selectionService.enableMarquee;
|
|
16953
17070
|
}
|
|
16954
17071
|
/**
|
|
16955
|
-
* Enables the [filtering](
|
|
17072
|
+
* Enables the [filtering](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics) of TreeList columns that have their `field` option set.
|
|
16956
17073
|
*
|
|
16957
17074
|
* @default false
|
|
16958
17075
|
*/
|
|
16959
17076
|
filterable = false;
|
|
16960
17077
|
/**
|
|
16961
|
-
* Enables the [sorting](
|
|
17078
|
+
* Enables the [sorting](https://www.telerik.com/kendo-angular-ui/components/treelist/sorting/basics) of TreeList columns that have their `field` option set.
|
|
16962
17079
|
*
|
|
16963
17080
|
* @default false
|
|
16964
17081
|
*/
|
|
16965
17082
|
sortable = false;
|
|
16966
17083
|
/**
|
|
16967
|
-
* Configures the pager for the TreeList ([see example](
|
|
17084
|
+
* Configures the pager for the TreeList ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/paging/basics)).
|
|
16968
17085
|
*
|
|
16969
17086
|
* @default false
|
|
16970
17087
|
*/
|
|
@@ -16983,7 +17100,7 @@ class TreeListComponent {
|
|
|
16983
17100
|
* Determines whether TreeList columns resize during initialization to fit their headers and row content.
|
|
16984
17101
|
* Columns with `autoSize` set to `false` are excluded.
|
|
16985
17102
|
* To dynamically update the column width to match new content,
|
|
16986
|
-
* refer to [this example](
|
|
17103
|
+
* refer to [this example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/resizing).
|
|
16987
17104
|
*
|
|
16988
17105
|
* @default false
|
|
16989
17106
|
*/
|
|
@@ -17014,26 +17131,26 @@ class TreeListComponent {
|
|
|
17014
17131
|
}
|
|
17015
17132
|
/**
|
|
17016
17133
|
* When set to `true`, you can resize columns by dragging the edges (resize handles) of their header cells
|
|
17017
|
-
* ([see example](
|
|
17134
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/resizing)).
|
|
17018
17135
|
*
|
|
17019
17136
|
* @default false
|
|
17020
17137
|
*/
|
|
17021
17138
|
resizable = false;
|
|
17022
17139
|
/**
|
|
17023
17140
|
* When set to `true`, you can reorder columns by dragging their header cells
|
|
17024
|
-
* ([see example](
|
|
17141
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/reordering)).
|
|
17025
17142
|
*
|
|
17026
17143
|
* @default false
|
|
17027
17144
|
*/
|
|
17028
17145
|
reorderable = false;
|
|
17029
17146
|
/**
|
|
17030
|
-
* Determines whether the TreeList displays the loading indicator ([see example](
|
|
17147
|
+
* Determines whether the TreeList displays the loading indicator ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/data-binding/basics)).
|
|
17031
17148
|
*
|
|
17032
17149
|
* @default false
|
|
17033
17150
|
*/
|
|
17034
17151
|
loading = false;
|
|
17035
17152
|
/**
|
|
17036
|
-
* Determines whether the column menu of the columns displays ([see example](
|
|
17153
|
+
* Determines whether the column menu of the columns displays ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu)).
|
|
17037
17154
|
*
|
|
17038
17155
|
* @default false
|
|
17039
17156
|
*/
|
|
@@ -17041,7 +17158,7 @@ class TreeListComponent {
|
|
|
17041
17158
|
/**
|
|
17042
17159
|
* Determines whether the TreeList hides the header. The header is visible by default.
|
|
17043
17160
|
*
|
|
17044
|
-
* The header includes column headers and the [filter row](
|
|
17161
|
+
* The header includes column headers and the [filter row](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row).
|
|
17045
17162
|
*
|
|
17046
17163
|
* @default false
|
|
17047
17164
|
*/
|
|
@@ -17076,7 +17193,7 @@ class TreeListComponent {
|
|
|
17076
17193
|
this.selectionService.isSelected = value;
|
|
17077
17194
|
}
|
|
17078
17195
|
/**
|
|
17079
|
-
* Enables the [row reordering](
|
|
17196
|
+
* Enables the [row reordering](https://www.telerik.com/kendo-angular-ui/components/treelist/row-reordering) of the TreeList.
|
|
17080
17197
|
*
|
|
17081
17198
|
* @default false
|
|
17082
17199
|
*/
|
|
@@ -17107,12 +17224,12 @@ class TreeListComponent {
|
|
|
17107
17224
|
*/
|
|
17108
17225
|
filterChange = new EventEmitter();
|
|
17109
17226
|
/**
|
|
17110
|
-
* Fires when the page of the TreeList changes ([see example](
|
|
17227
|
+
* Fires when the page of the TreeList changes ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/paging/basics)).
|
|
17111
17228
|
* You have to handle the event and page the data.
|
|
17112
17229
|
*/
|
|
17113
17230
|
pageChange = new EventEmitter();
|
|
17114
17231
|
/**
|
|
17115
|
-
* Fires when the sorting of the TreeList changes ([see example](
|
|
17232
|
+
* Fires when the sorting of the TreeList changes ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/sorting/basics)).
|
|
17116
17233
|
* You have to handle the event and sort the data.
|
|
17117
17234
|
*/
|
|
17118
17235
|
sortChange = new EventEmitter();
|
|
@@ -17122,35 +17239,35 @@ class TreeListComponent {
|
|
|
17122
17239
|
dataStateChange = new EventEmitter();
|
|
17123
17240
|
/**
|
|
17124
17241
|
* Fires when you click the **Edit** command button to edit a row
|
|
17125
|
-
* ([see example](
|
|
17242
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/template-forms#editing-records)).
|
|
17126
17243
|
*/
|
|
17127
17244
|
edit = new EventEmitter();
|
|
17128
17245
|
/**
|
|
17129
17246
|
* Fires when you click the **Cancel** command button to close a row
|
|
17130
|
-
* ([see example](
|
|
17247
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/template-forms#cancelling-editing)).
|
|
17131
17248
|
*/
|
|
17132
17249
|
cancel = new EventEmitter();
|
|
17133
17250
|
/**
|
|
17134
17251
|
* Fires when you click the **Save** command button to save changes in a row
|
|
17135
|
-
* ([see example](
|
|
17252
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/template-forms#saving-records)).
|
|
17136
17253
|
*/
|
|
17137
17254
|
save = new EventEmitter();
|
|
17138
17255
|
/**
|
|
17139
17256
|
* Fires when you click the **Remove** command button to remove a row
|
|
17140
|
-
* ([see example](
|
|
17257
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/template-forms#removing-records)).
|
|
17141
17258
|
*/
|
|
17142
17259
|
remove = new EventEmitter();
|
|
17143
17260
|
/**
|
|
17144
17261
|
* Fires when you click the **Add** command button to add a new row
|
|
17145
|
-
* ([see example](
|
|
17262
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/template-forms#adding-records)).
|
|
17146
17263
|
*/
|
|
17147
17264
|
add = new EventEmitter();
|
|
17148
17265
|
/**
|
|
17149
|
-
* Fires when you leave an edited cell ([see example](
|
|
17266
|
+
* Fires when you leave an edited cell ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/editing-in-cell#basic-concepts)).
|
|
17150
17267
|
*/
|
|
17151
17268
|
cellClose = new EventEmitter();
|
|
17152
17269
|
/**
|
|
17153
|
-
* Fires when you click a cell ([see example](
|
|
17270
|
+
* Fires when you click a cell ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/editing-in-cell#basic-concepts)).
|
|
17154
17271
|
*/
|
|
17155
17272
|
cellClick = new EventEmitter();
|
|
17156
17273
|
/**
|
|
@@ -17179,7 +17296,7 @@ class TreeListComponent {
|
|
|
17179
17296
|
columnLockedChange = new EventEmitter();
|
|
17180
17297
|
/**
|
|
17181
17298
|
* Fires when you scroll to the last record on the page and enables endless scrolling
|
|
17182
|
-
* ([see example](
|
|
17299
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/scroll-modes#endless-scrolling)).
|
|
17183
17300
|
* You have to handle the event and page the data.
|
|
17184
17301
|
*/
|
|
17185
17302
|
scrollBottom = new EventEmitter();
|
|
@@ -17205,7 +17322,7 @@ class TreeListComponent {
|
|
|
17205
17322
|
expandStateChange = new EventEmitter();
|
|
17206
17323
|
/**
|
|
17207
17324
|
* Fires when you drop the dragged row and reordering occurs.
|
|
17208
|
-
* Emits the [RowReorderEvent](
|
|
17325
|
+
* Emits the [RowReorderEvent](https://www.telerik.com/kendo-angular-ui/components/treelist/api/rowreorderevent).
|
|
17209
17326
|
*/
|
|
17210
17327
|
rowReorder = new EventEmitter();
|
|
17211
17328
|
/**
|
|
@@ -17695,7 +17812,7 @@ class TreeListComponent {
|
|
|
17695
17812
|
}
|
|
17696
17813
|
}
|
|
17697
17814
|
/**
|
|
17698
|
-
* Switches the specified table row to edit mode ([see example](
|
|
17815
|
+
* Switches the specified table row to edit mode ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/template-forms#editing-records)).
|
|
17699
17816
|
*
|
|
17700
17817
|
* @param dataItem The data item that you will edit.
|
|
17701
17818
|
* @param group - The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
|
@@ -17716,7 +17833,7 @@ class TreeListComponent {
|
|
|
17716
17833
|
});
|
|
17717
17834
|
}
|
|
17718
17835
|
/**
|
|
17719
|
-
* Closes the editor for a given row ([see example](
|
|
17836
|
+
* Closes the editor for a given row ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/template-forms#cancelling-editing)).
|
|
17720
17837
|
*
|
|
17721
17838
|
* @param dataItem The data item that you will switch out of edit mode.
|
|
17722
17839
|
* @param isNew Determines whether the data item is new.
|
|
@@ -17732,7 +17849,7 @@ class TreeListComponent {
|
|
|
17732
17849
|
}
|
|
17733
17850
|
}
|
|
17734
17851
|
/**
|
|
17735
|
-
* Creates a new row editor ([see example](
|
|
17852
|
+
* Creates a new row editor ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/template-forms#adding-records)).
|
|
17736
17853
|
*
|
|
17737
17854
|
* @param group The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that describes
|
|
17738
17855
|
* the edit form. If called with a data item, it builds the `FormGroup` from the data item fields.
|
|
@@ -17777,10 +17894,10 @@ class TreeListComponent {
|
|
|
17777
17894
|
}
|
|
17778
17895
|
/**
|
|
17779
17896
|
* Closes the current cell in edit mode and fires
|
|
17780
|
-
* the [`cellClose`](
|
|
17897
|
+
* the [`cellClose`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#cellclose) event.
|
|
17781
17898
|
*
|
|
17782
17899
|
* @return {boolean} A Boolean value that indicates whether the edited cell closed.
|
|
17783
|
-
* A `false` value indicates that the [`cellClose`](
|
|
17900
|
+
* A `false` value indicates that the [`cellClose`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#cellclose) event was prevented.
|
|
17784
17901
|
*/
|
|
17785
17902
|
closeCell() {
|
|
17786
17903
|
return !this.editService.closeCell();
|
|
@@ -17809,14 +17926,14 @@ class TreeListComponent {
|
|
|
17809
17926
|
return this.editService.isEditing() && this.editService.isEditingCell();
|
|
17810
17927
|
}
|
|
17811
17928
|
/**
|
|
17812
|
-
* Starts the PDF export ([see example](
|
|
17929
|
+
* Starts the PDF export ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/pdf-export)).
|
|
17813
17930
|
*/
|
|
17814
17931
|
saveAsPDF() {
|
|
17815
17932
|
this.pdfService.save(this);
|
|
17816
17933
|
}
|
|
17817
17934
|
/**
|
|
17818
|
-
* Exports the TreeList element to a Drawing [`Group`](
|
|
17819
|
-
* ([see example](
|
|
17935
|
+
* Exports the TreeList element to a Drawing [`Group`](https://www.telerik.com/kendo-angular-ui/components/drawing/api/group) by using the `kendo-treelist-pdf` component options.
|
|
17936
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/pdf-export#exporting-multiple-treelists-to-the-same-pdf)).
|
|
17820
17937
|
*
|
|
17821
17938
|
* @return {Promise} A promise that resolves with the Drawing `Group`.
|
|
17822
17939
|
*/
|
|
@@ -17826,7 +17943,7 @@ class TreeListComponent {
|
|
|
17826
17943
|
return promise;
|
|
17827
17944
|
}
|
|
17828
17945
|
/**
|
|
17829
|
-
* Starts the Excel export ([see example](
|
|
17946
|
+
* Starts the Excel export ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/excel-export)).
|
|
17830
17947
|
*/
|
|
17831
17948
|
saveAsExcel() {
|
|
17832
17949
|
this.excelService.save(this);
|
|
@@ -17836,7 +17953,7 @@ class TreeListComponent {
|
|
|
17836
17953
|
* so that the whole text fits without wrapping. This method expects the TreeList
|
|
17837
17954
|
* to be resizable (set `resizable` to `true`).
|
|
17838
17955
|
* Execute this method only
|
|
17839
|
-
* after the TreeList is already populated with data. [See example](
|
|
17956
|
+
* after the TreeList is already populated with data. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/resizing#auto-fitting-the-content).
|
|
17840
17957
|
*/
|
|
17841
17958
|
autoFitColumn(column) {
|
|
17842
17959
|
this.columnResizingService.autoFit(column);
|
|
@@ -17846,11 +17963,14 @@ class TreeListComponent {
|
|
|
17846
17963
|
* If you do not specify columns, `autoFitColumns` applies to all columns.
|
|
17847
17964
|
*
|
|
17848
17965
|
* This method requires the TreeList to be resizable (set `resizable` to `true`).
|
|
17849
|
-
* [See example](
|
|
17966
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/resizing#auto-fitting-the-content).
|
|
17850
17967
|
*/
|
|
17851
|
-
autoFitColumns(columns
|
|
17968
|
+
autoFitColumns(columns) {
|
|
17852
17969
|
let cols;
|
|
17853
|
-
if (columns
|
|
17970
|
+
if (!isPresent(columns)) {
|
|
17971
|
+
cols = this.columnsContainer.leafColumns?.toArray() || [];
|
|
17972
|
+
}
|
|
17973
|
+
else if (columns instanceof QueryList) {
|
|
17854
17974
|
cols = columns.toArray();
|
|
17855
17975
|
}
|
|
17856
17976
|
else {
|
|
@@ -18016,8 +18136,8 @@ class TreeListComponent {
|
|
|
18016
18136
|
* Updates the state of the current view without reloading the data.
|
|
18017
18137
|
*
|
|
18018
18138
|
* Checks all currently rendered items for changes and
|
|
18019
|
-
* triggers re-evaluation of the [isExpanded](#
|
|
18020
|
-
* [isSelected](#
|
|
18139
|
+
* triggers re-evaluation of the [isExpanded](#isexpanded) and
|
|
18140
|
+
* [isSelected](#isSelected) callbacks.
|
|
18021
18141
|
*/
|
|
18022
18142
|
updateView() {
|
|
18023
18143
|
if (this.rowReorderable) {
|
|
@@ -18406,7 +18526,8 @@ class TreeListComponent {
|
|
|
18406
18526
|
this.navigationService.metadata = this.navigationMetadata();
|
|
18407
18527
|
}
|
|
18408
18528
|
applyAutoSize() {
|
|
18409
|
-
const
|
|
18529
|
+
const leafColumns = this.columnsContainer.leafColumns?.toArray() || [];
|
|
18530
|
+
const cols = leafColumns.filter((c) => this.autoSize ? c.autoSize !== false : c.autoSize);
|
|
18410
18531
|
if (cols.length > 0) {
|
|
18411
18532
|
this.ngZone.onStable.pipe(take(1)).subscribe(_ => this.autoFitColumns(cols));
|
|
18412
18533
|
}
|
|
@@ -18481,7 +18602,7 @@ class TreeListComponent {
|
|
|
18481
18602
|
this.dropTargetContainer?.notify();
|
|
18482
18603
|
}
|
|
18483
18604
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TreeListComponent, deps: [{ token: BrowserSupportService }, { token: i0.ElementRef }, { token: ChangeNotificationService }, { token: EditService }, { token: FilterService }, { token: PDFService }, { token: ResponsiveService }, { token: i0.Renderer2 }, { token: ExcelService }, { token: i0.NgZone }, { token: ScrollSyncService }, { token: DomEventsService }, { token: ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: ColumnReorderService }, { token: ColumnInfoService }, { token: NavigationService }, { token: SortService }, { token: ScrollRequestService }, { token: ExpandStateService }, { token: OptionChangesService }, { token: SelectionService }, { token: i1$1.LocalizationService }, { token: ContextService }, { token: RowReorderService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18484
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: TreeListComponent, isStandalone: true, selector: "kendo-treelist", inputs: { ariaLabel: ["aria-label", "ariaLabel"], data: "data", pageSize: "pageSize", height: "height", rowHeight: "rowHeight", skip: "skip", scrollable: "scrollable", sort: "sort", trackBy: "trackBy", filter: "filter", virtualColumns: "virtualColumns", filterable: "filterable", sortable: "sortable", pageable: "pageable", navigable: "navigable", autoSize: "autoSize", rowClass: "rowClass", resizable: "resizable", reorderable: "reorderable", loading: "loading", columnMenu: "columnMenu", hideHeader: "hideHeader", idField: "idField", selectable: "selectable", isSelected: "isSelected", rowReorderable: "rowReorderable", columnsRef: ["columns", "columnsRef"], fetchChildren: "fetchChildren", hasChildren: "hasChildren", isExpanded: "isExpanded" }, outputs: { selectionChange: "selectionChange", filterChange: "filterChange", pageChange: "pageChange", sortChange: "sortChange", dataStateChange: "dataStateChange", edit: "edit", cancel: "cancel", save: "save", remove: "remove", add: "add", cellClose: "cellClose", cellClick: "cellClick", pdfExport: "pdfExport", excelExport: "excelExport", columnResize: "columnResize", columnReorder: "columnReorder", columnVisibilityChange: "columnVisibilityChange", columnLockedChange: "columnLockedChange", scrollBottom: "scrollBottom", contentScroll: "contentScroll", expandEvent: "expand", collapseEvent: "collapse", expandStateChange: "expandStateChange", rowReorder: "rowReorder" }, host: { properties: { "attr.dir": "this.dir", "class.k-grid": "this.hostClasses", "class.k-
|
|
18605
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: TreeListComponent, isStandalone: true, selector: "kendo-treelist", inputs: { ariaLabel: ["aria-label", "ariaLabel"], data: "data", pageSize: "pageSize", height: "height", rowHeight: "rowHeight", skip: "skip", scrollable: "scrollable", sort: "sort", trackBy: "trackBy", filter: "filter", virtualColumns: "virtualColumns", filterable: "filterable", sortable: "sortable", pageable: "pageable", navigable: "navigable", autoSize: "autoSize", rowClass: "rowClass", resizable: "resizable", reorderable: "reorderable", loading: "loading", columnMenu: "columnMenu", hideHeader: "hideHeader", idField: "idField", selectable: "selectable", isSelected: "isSelected", rowReorderable: "rowReorderable", columnsRef: ["columns", "columnsRef"], fetchChildren: "fetchChildren", hasChildren: "hasChildren", isExpanded: "isExpanded" }, outputs: { selectionChange: "selectionChange", filterChange: "filterChange", pageChange: "pageChange", sortChange: "sortChange", dataStateChange: "dataStateChange", edit: "edit", cancel: "cancel", save: "save", remove: "remove", add: "add", cellClose: "cellClose", cellClick: "cellClick", pdfExport: "pdfExport", excelExport: "excelExport", columnResize: "columnResize", columnReorder: "columnReorder", columnVisibilityChange: "columnVisibilityChange", columnLockedChange: "columnLockedChange", scrollBottom: "scrollBottom", contentScroll: "contentScroll", expandEvent: "expand", collapseEvent: "collapse", expandStateChange: "expandStateChange", rowReorder: "rowReorder" }, host: { properties: { "attr.dir": "this.dir", "class.k-grid": "this.hostClasses", "class.k-treelist": "this.hostClasses", "class.k-grid-lockedcolumns": "this.lockedClasses", "class.k-grid-virtual": "this.virtualClasses", "class.k-grid-no-scrollbar": "this.noScrollbarClass" } }, providers: [
|
|
18485
18606
|
BrowserSupportService,
|
|
18486
18607
|
LocalizationService,
|
|
18487
18608
|
ColumnInfoService,
|
|
@@ -18529,202 +18650,202 @@ class TreeListComponent {
|
|
|
18529
18650
|
<ng-container kendoTreeListLocalizedMessages
|
|
18530
18651
|
i18n-noRecords="kendo.treelist.noRecords|The label visible in the TreeList when there are no records"
|
|
18531
18652
|
noRecords="No records available."
|
|
18532
|
-
|
|
18653
|
+
|
|
18533
18654
|
i18n-pagerLabel="kendo.treelist.pagerLabel|The label for the TreeList pager"
|
|
18534
18655
|
pagerLabel="{{ 'Page navigation, page {currentPage} of {totalPages}' }}"
|
|
18535
|
-
|
|
18656
|
+
|
|
18536
18657
|
i18n-pagerFirstPage="kendo.treelist.pagerFirstPage|The label for the first page button in TreeList pager"
|
|
18537
18658
|
pagerFirstPage="Go to the first page"
|
|
18538
|
-
|
|
18659
|
+
|
|
18539
18660
|
i18n-pagerPreviousPage="kendo.treelist.pagerPreviousPage|The label for the previous page button in TreeList pager"
|
|
18540
18661
|
pagerPreviousPage="Go to the previous page"
|
|
18541
|
-
|
|
18662
|
+
|
|
18542
18663
|
i18n-pagerNextPage="kendo.treelist.pagerNextPage|The label for the next page button in TreeList pager"
|
|
18543
18664
|
pagerNextPage="Go to the next page"
|
|
18544
|
-
|
|
18665
|
+
|
|
18545
18666
|
i18n-pagerLastPage="kendo.treelist.pagerLastPage|The label for the last page button in TreeList pager"
|
|
18546
18667
|
pagerLastPage="Go to the last page"
|
|
18547
|
-
|
|
18668
|
+
|
|
18548
18669
|
i18n-pagerPage="kendo.treelist.pagerPage|The label before the current page number in the TreeList pager"
|
|
18549
18670
|
pagerPage="Page"
|
|
18550
|
-
|
|
18671
|
+
|
|
18551
18672
|
i18n-pagerOf="kendo.treelist.pagerOf|The label before the total pages number in the TreeList pager"
|
|
18552
18673
|
pagerOf="of"
|
|
18553
|
-
|
|
18674
|
+
|
|
18554
18675
|
i18n-pagerPageNumberInputTitle="kendo.treelist.pagerPageNumberInputTitle|The label for the pager input in the Treelist pager"
|
|
18555
18676
|
pagerPageNumberInputTitle="Page Number"
|
|
18556
|
-
|
|
18677
|
+
|
|
18557
18678
|
i18n-pagerItemsPerPage="kendo.treelist.pagerItemsPerPage|The label for the page size chooser in the TreeList pager"
|
|
18558
18679
|
pagerItemsPerPage="items per page"
|
|
18559
|
-
|
|
18680
|
+
|
|
18560
18681
|
i18n-pagerItemsTotal="kendo.treelist.pagerItemsTotal|The label after the total items count in the TreeList pager"
|
|
18561
18682
|
pagerItemsTotal="items total"
|
|
18562
|
-
|
|
18683
|
+
|
|
18563
18684
|
i18n-pagerInputLabel="kendo.treelist.pagerInputLabel|The text of the aria-label attribute applied to the input element for entering the page number"
|
|
18564
18685
|
pagerInputLabel="Type a page number"
|
|
18565
|
-
|
|
18686
|
+
|
|
18566
18687
|
i18n-filterCellOperatorLabel="kendo.treelist.filterCellOperatorLabel|The label of the filter cell operators dropdown"
|
|
18567
18688
|
filterCellOperatorLabel="{{ 'Filter cell operators for {columnName}' }}"
|
|
18568
|
-
|
|
18689
|
+
|
|
18569
18690
|
i18n-booleanFilterCellLabel="kendo.treelist.booleanFilterCellLabel|The label of the boolean filter cell dropdown"
|
|
18570
18691
|
booleanFilterCellLabel="{{ 'Boolean filter cell for {columnName}' }}"
|
|
18571
|
-
|
|
18692
|
+
|
|
18572
18693
|
i18n-filter="kendo.treelist.filter|The label of the filter cell or icon"
|
|
18573
18694
|
filter="Filter"
|
|
18574
|
-
|
|
18695
|
+
|
|
18575
18696
|
i18n-filterEqOperator="kendo.treelist.filterEqOperator|The text of the equal filter operator"
|
|
18576
18697
|
filterEqOperator="Is equal to"
|
|
18577
|
-
|
|
18698
|
+
|
|
18578
18699
|
i18n-filterNotEqOperator="kendo.treelist.filterNotEqOperator|The text of the not equal filter operator"
|
|
18579
18700
|
filterNotEqOperator="Is not equal to"
|
|
18580
|
-
|
|
18701
|
+
|
|
18581
18702
|
i18n-filterIsNullOperator="kendo.treelist.filterIsNullOperator|The text of the is null filter operator"
|
|
18582
18703
|
filterIsNullOperator="Is null"
|
|
18583
|
-
|
|
18704
|
+
|
|
18584
18705
|
i18n-filterIsNotNullOperator="kendo.treelist.filterIsNotNullOperator|The text of the is not null filter operator"
|
|
18585
18706
|
filterIsNotNullOperator="Is not null"
|
|
18586
|
-
|
|
18707
|
+
|
|
18587
18708
|
i18n-filterIsEmptyOperator="kendo.treelist.filterIsEmptyOperator|The text of the is empty filter operator"
|
|
18588
18709
|
filterIsEmptyOperator="Is empty"
|
|
18589
|
-
|
|
18710
|
+
|
|
18590
18711
|
i18n-filterIsNotEmptyOperator="kendo.treelist.filterIsNotEmptyOperator|The text of the is not empty filter operator"
|
|
18591
18712
|
filterIsNotEmptyOperator="Is not empty"
|
|
18592
|
-
|
|
18713
|
+
|
|
18593
18714
|
i18n-filterStartsWithOperator="kendo.treelist.filterStartsWithOperator|The text of the starts with filter operator"
|
|
18594
18715
|
filterStartsWithOperator="Starts with"
|
|
18595
|
-
|
|
18716
|
+
|
|
18596
18717
|
i18n-filterContainsOperator="kendo.treelist.filterContainsOperator|The text of the contains filter operator"
|
|
18597
18718
|
filterContainsOperator="Contains"
|
|
18598
|
-
|
|
18719
|
+
|
|
18599
18720
|
i18n-filterNotContainsOperator="kendo.treelist.filterNotContainsOperator|The text of the does not contain filter operator"
|
|
18600
18721
|
filterNotContainsOperator="Does not contain"
|
|
18601
|
-
|
|
18722
|
+
|
|
18602
18723
|
i18n-filterEndsWithOperator="kendo.treelist.filterEndsWithOperator|The text of the ends with filter operator"
|
|
18603
18724
|
filterEndsWithOperator="Ends with"
|
|
18604
|
-
|
|
18725
|
+
|
|
18605
18726
|
i18n-filterGteOperator="kendo.treelist.filterGteOperator|The text of the greater than or equal filter operator"
|
|
18606
18727
|
filterGteOperator="Is greater than or equal to"
|
|
18607
|
-
|
|
18728
|
+
|
|
18608
18729
|
i18n-filterGtOperator="kendo.treelist.filterGtOperator|The text of the greater than filter operator"
|
|
18609
18730
|
filterGtOperator="Is greater than"
|
|
18610
|
-
|
|
18731
|
+
|
|
18611
18732
|
i18n-filterLteOperator="kendo.treelist.filterLteOperator|The text of the less than or equal filter operator"
|
|
18612
18733
|
filterLteOperator="Is less than or equal to"
|
|
18613
|
-
|
|
18734
|
+
|
|
18614
18735
|
i18n-filterLtOperator="kendo.treelist.filterLtOperator|The text of the less than filter operator"
|
|
18615
18736
|
filterLtOperator="Is less than"
|
|
18616
|
-
|
|
18737
|
+
|
|
18617
18738
|
i18n-filterIsTrue="kendo.treelist.filterIsTrue|The text of the IsTrue boolean filter option"
|
|
18618
18739
|
filterIsTrue="Is True"
|
|
18619
|
-
|
|
18740
|
+
|
|
18620
18741
|
i18n-filterIsFalse="kendo.treelist.filterIsFalse|The text of the IsFalse boolean filter option"
|
|
18621
18742
|
filterIsFalse="Is False"
|
|
18622
|
-
|
|
18743
|
+
|
|
18623
18744
|
i18n-filterBooleanAll="kendo.treelist.filterBooleanAll|The text of the (All) boolean filter option"
|
|
18624
18745
|
filterBooleanAll="(All)"
|
|
18625
|
-
|
|
18746
|
+
|
|
18626
18747
|
i18n-filterAfterOrEqualOperator="kendo.treelist.filterAfterOrEqualOperator|The text of the after or equal date filter operator"
|
|
18627
18748
|
filterAfterOrEqualOperator="Is after or equal to"
|
|
18628
|
-
|
|
18749
|
+
|
|
18629
18750
|
i18n-filterAfterOperator="kendo.treelist.filterAfterOperator|The text of the after date filter operator"
|
|
18630
18751
|
filterAfterOperator="Is after"
|
|
18631
|
-
|
|
18752
|
+
|
|
18632
18753
|
i18n-filterBeforeOperator="kendo.treelist.filterBeforeOperator|The text of the before date filter operator"
|
|
18633
18754
|
filterBeforeOperator="Is before"
|
|
18634
|
-
|
|
18755
|
+
|
|
18635
18756
|
i18n-filterBeforeOrEqualOperator="kendo.treelist.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"
|
|
18636
18757
|
filterBeforeOrEqualOperator="Is before or equal to"
|
|
18637
|
-
|
|
18758
|
+
|
|
18638
18759
|
i18n-filterFilterButton="kendo.treelist.filterFilterButton|The text of the filter button"
|
|
18639
18760
|
filterFilterButton="Filter"
|
|
18640
|
-
|
|
18761
|
+
|
|
18641
18762
|
i18n-filterClearButton="kendo.treelist.filterClearButton|The text of the clear filter button"
|
|
18642
18763
|
filterClearButton="Clear"
|
|
18643
|
-
|
|
18764
|
+
|
|
18644
18765
|
i18n-filterAndLogic="kendo.treelist.filterAndLogic|The text of the And filter logic"
|
|
18645
18766
|
filterAndLogic="And"
|
|
18646
|
-
|
|
18767
|
+
|
|
18647
18768
|
i18n-filterOrLogic="kendo.treelist.filterOrLogic|The text of the Or filter logic"
|
|
18648
18769
|
filterOrLogic="Or"
|
|
18649
|
-
|
|
18770
|
+
|
|
18650
18771
|
i18n-filterDateToday="kendo.treelist.filterDateToday|The text of the Today button of the Date filter."
|
|
18651
18772
|
filterDateToday="TODAY"
|
|
18652
|
-
|
|
18773
|
+
|
|
18653
18774
|
i18n-filterDateToggle="kendo.treelist.filterDateToggle|The title of the Toggle button of the Date filter."
|
|
18654
18775
|
filterDateToggle="Toggle Calendar"
|
|
18655
|
-
|
|
18776
|
+
|
|
18656
18777
|
i18n-filterNumericDecrement="kendo.treelist.filterNumericDecrement|The title of the Decrement button of the Numeric filter."
|
|
18657
18778
|
filterNumericDecrement="Decrement"
|
|
18658
|
-
|
|
18779
|
+
|
|
18659
18780
|
i18n-filterNumericIncrement="kendo.treelist.filterNumericIncrement|The title of the Increment button of the Numeric filter."
|
|
18660
18781
|
filterNumericIncrement="Increment"
|
|
18661
|
-
|
|
18782
|
+
|
|
18662
18783
|
i18n-loading="kendo.treelist.loading|The loading text"
|
|
18663
18784
|
loading="Loading"
|
|
18664
|
-
|
|
18785
|
+
|
|
18665
18786
|
i18n-filterInputLabel="kendo.treelist.filterInputLabel|The label of the filter row and menu inputs"
|
|
18666
18787
|
filterInputLabel="{{ '{columnName} Filter' }}"
|
|
18667
|
-
|
|
18788
|
+
|
|
18668
18789
|
i18n-filterMenuLogicDropDownLabel="kendo.treelist.filterMenuLogicDropDownLabel|The label of the filter menu logic dropdown"
|
|
18669
18790
|
filterMenuLogicDropDownLabel="{{ '{columnName} Filter Logic' }}"
|
|
18670
|
-
|
|
18791
|
+
|
|
18671
18792
|
i18n-filterMenuOperatorsDropDownLabel="kendo.treelist.filterMenuOperatorsDropDownLabel|The label of the filter menu operators dropdown"
|
|
18672
18793
|
filterMenuOperatorsDropDownLabel="{{ '{columnName} Filter Operators' }}"
|
|
18673
|
-
|
|
18794
|
+
|
|
18674
18795
|
i18n-filterMenuTitle="kendo.treelist.filterMenuTitle|The title of the filter menu icon"
|
|
18675
18796
|
filterMenuTitle="{{ '{columnName} Filter Menu' }}"
|
|
18676
|
-
|
|
18797
|
+
|
|
18677
18798
|
i18n-columnMenu="kendo.treelist.columnMenu|The title of the column menu icon"
|
|
18678
18799
|
columnMenu="{{ '{columnName} Column Menu' }}"
|
|
18679
|
-
|
|
18800
|
+
|
|
18680
18801
|
i18n-columns="kendo.treelist.columns|The text shown in the column menu for the columns item"
|
|
18681
18802
|
columns="Columns"
|
|
18682
|
-
|
|
18803
|
+
|
|
18683
18804
|
i18n-lock="kendo.treelist.lock|The text shown in the column menu for the lock item"
|
|
18684
18805
|
lock="Lock"
|
|
18685
|
-
|
|
18806
|
+
|
|
18686
18807
|
i18n-unlock="kendo.treelist.unlock|The text shown in the column menu for the unlock item"
|
|
18687
18808
|
unlock="Unlock"
|
|
18688
|
-
|
|
18809
|
+
|
|
18689
18810
|
i18n-sortable="kendo.treelist.sortable|The label of the sort icon"
|
|
18690
18811
|
sortable="Sortable"
|
|
18691
|
-
|
|
18812
|
+
|
|
18692
18813
|
i18n-sortAscending="kendo.treelist.sortAscending|The text shown in the column menu for the sort ascending item"
|
|
18693
18814
|
sortAscending="Sort Ascending"
|
|
18694
|
-
|
|
18815
|
+
|
|
18695
18816
|
i18n-sortDescending="kendo.treelist.sortDescending|The text shown in the column menu for the sort descending item"
|
|
18696
18817
|
sortDescending="Sort Descending"
|
|
18697
|
-
|
|
18818
|
+
|
|
18698
18819
|
i18n-sortedDefault="kendo.treelist.sortedDefault|The status announcement when a column is no longer sorted"
|
|
18699
18820
|
sortedDefault="Not Sorted"
|
|
18700
|
-
|
|
18821
|
+
|
|
18701
18822
|
i18n-columnsApply="kendo.treelist.columnsApply|The text shown in the column menu or column chooser for the columns apply button"
|
|
18702
18823
|
columnsApply="Apply"
|
|
18703
|
-
|
|
18824
|
+
|
|
18704
18825
|
i18n-columnsReset="kendo.treelist.columnsReset|The text shown in the column menu or column chooser for the columns reset button"
|
|
18705
18826
|
columnsReset="Reset"
|
|
18706
|
-
|
|
18827
|
+
|
|
18707
18828
|
i18n-pagerSelectPage="kendo.treelist.pagerSelectPage|The text of the title and aria-label attributes applied to the page chooser in the TreeList Pager"
|
|
18708
18829
|
pagerSelectPage="Select page"
|
|
18709
|
-
|
|
18830
|
+
|
|
18710
18831
|
i18n-topToolbarLabel="kendo.treelist.topToolbarLabel|The label of the TreeList top toolbar"
|
|
18711
18832
|
topToolbarLabel="Top toolbar"
|
|
18712
|
-
|
|
18833
|
+
|
|
18713
18834
|
i18n-bottomToolbarLabel="kendo.treelist.bottomToolbarLabel|The label of the TreeList bottom toolbar"
|
|
18714
18835
|
bottomToolbarLabel="Bottom toolbar"
|
|
18715
|
-
|
|
18836
|
+
|
|
18716
18837
|
i18n-dragRowHandleLabel="kendo.treelist.dragRowHandleLabel|The label for the TreeList drag row handle"
|
|
18717
18838
|
dragRowHandleLabel="Drag row"
|
|
18718
|
-
|
|
18839
|
+
|
|
18719
18840
|
i18n-selectRowCheckboxLabel="kendo.treelist.selectRowCheckboxLabel|The label for the select row checkbox"
|
|
18720
18841
|
selectRowCheckboxLabel="Select row"
|
|
18721
|
-
|
|
18842
|
+
|
|
18722
18843
|
i18n-selectAllRowsCheckboxLabel="kendo.treelist.selectAllRowsCheckboxLabel|The label for the select all rows checkbox"
|
|
18723
18844
|
selectAllRowsCheckboxLabel="Select all rows"
|
|
18724
|
-
|
|
18845
|
+
|
|
18725
18846
|
i18n-autosizeAllColumns="kendo.treelist.autosizeAllColumns|The text shown in the column menu for the autosize all columns item"
|
|
18726
18847
|
autosizeAllColumns="Autosize All Columns"
|
|
18727
|
-
|
|
18848
|
+
|
|
18728
18849
|
i18n-autosizeThisColumn="kendo.treelist.autosizeThisColumn|The text shown in the column menu for the autosize this column item"
|
|
18729
18850
|
autosizeThisColumn="Autosize This Column"
|
|
18730
18851
|
>
|
|
@@ -18779,7 +18900,7 @@ class TreeListComponent {
|
|
|
18779
18900
|
[locked]="true"
|
|
18780
18901
|
role="presentation"
|
|
18781
18902
|
[style.width.px]="lockedWidth"
|
|
18782
|
-
class="k-grid-header-table k-table
|
|
18903
|
+
class="k-grid-header-table k-table">
|
|
18783
18904
|
<colgroup
|
|
18784
18905
|
kendoTreeListColGroup
|
|
18785
18906
|
[columns]="$any(lockedLeafColumns)">
|
|
@@ -18812,7 +18933,7 @@ class TreeListComponent {
|
|
|
18812
18933
|
[style.width.px]="nonLockedWidth"
|
|
18813
18934
|
kendoTreeListResizableTable
|
|
18814
18935
|
[virtualColumns]="virtualColumns"
|
|
18815
|
-
class="k-grid-header-table k-table
|
|
18936
|
+
class="k-grid-header-table k-table">
|
|
18816
18937
|
<colgroup
|
|
18817
18938
|
kendoTreeListColGroup
|
|
18818
18939
|
[columns]="headerLeafColumns">
|
|
@@ -18869,7 +18990,7 @@ class TreeListComponent {
|
|
|
18869
18990
|
}
|
|
18870
18991
|
@if (!isScrollable) {
|
|
18871
18992
|
<table
|
|
18872
|
-
class="k-table k-
|
|
18993
|
+
class="k-table k-grid-header-table"
|
|
18873
18994
|
role="presentation"
|
|
18874
18995
|
[style.table-layout]="resizable ? 'fixed' : null"
|
|
18875
18996
|
kendoTreeListResizableTable>
|
|
@@ -18963,7 +19084,7 @@ class TreeListComponent {
|
|
|
18963
19084
|
[attr.aria-controls]="ariaRootId">
|
|
18964
19085
|
</kendo-treelist-toolbar>
|
|
18965
19086
|
}
|
|
18966
|
-
|
|
19087
|
+
|
|
18967
19088
|
<ng-template #defaultHint>
|
|
18968
19089
|
<kendo-icon-wrapper
|
|
18969
19090
|
[name]="getHintSettings('hintIcon')"
|
|
@@ -18972,7 +19093,7 @@ class TreeListComponent {
|
|
|
18972
19093
|
</kendo-icon-wrapper>
|
|
18973
19094
|
{{hintText}}
|
|
18974
19095
|
</ng-template>
|
|
18975
|
-
|
|
19096
|
+
|
|
18976
19097
|
<ng-template #defaultPager>
|
|
18977
19098
|
<div class="k-pager-numbers-wrap">
|
|
18978
19099
|
@if (normalizedPageableSettings.previousNext) {
|
|
@@ -19073,202 +19194,202 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
19073
19194
|
<ng-container kendoTreeListLocalizedMessages
|
|
19074
19195
|
i18n-noRecords="kendo.treelist.noRecords|The label visible in the TreeList when there are no records"
|
|
19075
19196
|
noRecords="No records available."
|
|
19076
|
-
|
|
19197
|
+
|
|
19077
19198
|
i18n-pagerLabel="kendo.treelist.pagerLabel|The label for the TreeList pager"
|
|
19078
19199
|
pagerLabel="{{ 'Page navigation, page {currentPage} of {totalPages}' }}"
|
|
19079
|
-
|
|
19200
|
+
|
|
19080
19201
|
i18n-pagerFirstPage="kendo.treelist.pagerFirstPage|The label for the first page button in TreeList pager"
|
|
19081
19202
|
pagerFirstPage="Go to the first page"
|
|
19082
|
-
|
|
19203
|
+
|
|
19083
19204
|
i18n-pagerPreviousPage="kendo.treelist.pagerPreviousPage|The label for the previous page button in TreeList pager"
|
|
19084
19205
|
pagerPreviousPage="Go to the previous page"
|
|
19085
|
-
|
|
19206
|
+
|
|
19086
19207
|
i18n-pagerNextPage="kendo.treelist.pagerNextPage|The label for the next page button in TreeList pager"
|
|
19087
19208
|
pagerNextPage="Go to the next page"
|
|
19088
|
-
|
|
19209
|
+
|
|
19089
19210
|
i18n-pagerLastPage="kendo.treelist.pagerLastPage|The label for the last page button in TreeList pager"
|
|
19090
19211
|
pagerLastPage="Go to the last page"
|
|
19091
|
-
|
|
19212
|
+
|
|
19092
19213
|
i18n-pagerPage="kendo.treelist.pagerPage|The label before the current page number in the TreeList pager"
|
|
19093
19214
|
pagerPage="Page"
|
|
19094
|
-
|
|
19215
|
+
|
|
19095
19216
|
i18n-pagerOf="kendo.treelist.pagerOf|The label before the total pages number in the TreeList pager"
|
|
19096
19217
|
pagerOf="of"
|
|
19097
|
-
|
|
19218
|
+
|
|
19098
19219
|
i18n-pagerPageNumberInputTitle="kendo.treelist.pagerPageNumberInputTitle|The label for the pager input in the Treelist pager"
|
|
19099
19220
|
pagerPageNumberInputTitle="Page Number"
|
|
19100
|
-
|
|
19221
|
+
|
|
19101
19222
|
i18n-pagerItemsPerPage="kendo.treelist.pagerItemsPerPage|The label for the page size chooser in the TreeList pager"
|
|
19102
19223
|
pagerItemsPerPage="items per page"
|
|
19103
|
-
|
|
19224
|
+
|
|
19104
19225
|
i18n-pagerItemsTotal="kendo.treelist.pagerItemsTotal|The label after the total items count in the TreeList pager"
|
|
19105
19226
|
pagerItemsTotal="items total"
|
|
19106
|
-
|
|
19227
|
+
|
|
19107
19228
|
i18n-pagerInputLabel="kendo.treelist.pagerInputLabel|The text of the aria-label attribute applied to the input element for entering the page number"
|
|
19108
19229
|
pagerInputLabel="Type a page number"
|
|
19109
|
-
|
|
19230
|
+
|
|
19110
19231
|
i18n-filterCellOperatorLabel="kendo.treelist.filterCellOperatorLabel|The label of the filter cell operators dropdown"
|
|
19111
19232
|
filterCellOperatorLabel="{{ 'Filter cell operators for {columnName}' }}"
|
|
19112
|
-
|
|
19233
|
+
|
|
19113
19234
|
i18n-booleanFilterCellLabel="kendo.treelist.booleanFilterCellLabel|The label of the boolean filter cell dropdown"
|
|
19114
19235
|
booleanFilterCellLabel="{{ 'Boolean filter cell for {columnName}' }}"
|
|
19115
|
-
|
|
19236
|
+
|
|
19116
19237
|
i18n-filter="kendo.treelist.filter|The label of the filter cell or icon"
|
|
19117
19238
|
filter="Filter"
|
|
19118
|
-
|
|
19239
|
+
|
|
19119
19240
|
i18n-filterEqOperator="kendo.treelist.filterEqOperator|The text of the equal filter operator"
|
|
19120
19241
|
filterEqOperator="Is equal to"
|
|
19121
|
-
|
|
19242
|
+
|
|
19122
19243
|
i18n-filterNotEqOperator="kendo.treelist.filterNotEqOperator|The text of the not equal filter operator"
|
|
19123
19244
|
filterNotEqOperator="Is not equal to"
|
|
19124
|
-
|
|
19245
|
+
|
|
19125
19246
|
i18n-filterIsNullOperator="kendo.treelist.filterIsNullOperator|The text of the is null filter operator"
|
|
19126
19247
|
filterIsNullOperator="Is null"
|
|
19127
|
-
|
|
19248
|
+
|
|
19128
19249
|
i18n-filterIsNotNullOperator="kendo.treelist.filterIsNotNullOperator|The text of the is not null filter operator"
|
|
19129
19250
|
filterIsNotNullOperator="Is not null"
|
|
19130
|
-
|
|
19251
|
+
|
|
19131
19252
|
i18n-filterIsEmptyOperator="kendo.treelist.filterIsEmptyOperator|The text of the is empty filter operator"
|
|
19132
19253
|
filterIsEmptyOperator="Is empty"
|
|
19133
|
-
|
|
19254
|
+
|
|
19134
19255
|
i18n-filterIsNotEmptyOperator="kendo.treelist.filterIsNotEmptyOperator|The text of the is not empty filter operator"
|
|
19135
19256
|
filterIsNotEmptyOperator="Is not empty"
|
|
19136
|
-
|
|
19257
|
+
|
|
19137
19258
|
i18n-filterStartsWithOperator="kendo.treelist.filterStartsWithOperator|The text of the starts with filter operator"
|
|
19138
19259
|
filterStartsWithOperator="Starts with"
|
|
19139
|
-
|
|
19260
|
+
|
|
19140
19261
|
i18n-filterContainsOperator="kendo.treelist.filterContainsOperator|The text of the contains filter operator"
|
|
19141
19262
|
filterContainsOperator="Contains"
|
|
19142
|
-
|
|
19263
|
+
|
|
19143
19264
|
i18n-filterNotContainsOperator="kendo.treelist.filterNotContainsOperator|The text of the does not contain filter operator"
|
|
19144
19265
|
filterNotContainsOperator="Does not contain"
|
|
19145
|
-
|
|
19266
|
+
|
|
19146
19267
|
i18n-filterEndsWithOperator="kendo.treelist.filterEndsWithOperator|The text of the ends with filter operator"
|
|
19147
19268
|
filterEndsWithOperator="Ends with"
|
|
19148
|
-
|
|
19269
|
+
|
|
19149
19270
|
i18n-filterGteOperator="kendo.treelist.filterGteOperator|The text of the greater than or equal filter operator"
|
|
19150
19271
|
filterGteOperator="Is greater than or equal to"
|
|
19151
|
-
|
|
19272
|
+
|
|
19152
19273
|
i18n-filterGtOperator="kendo.treelist.filterGtOperator|The text of the greater than filter operator"
|
|
19153
19274
|
filterGtOperator="Is greater than"
|
|
19154
|
-
|
|
19275
|
+
|
|
19155
19276
|
i18n-filterLteOperator="kendo.treelist.filterLteOperator|The text of the less than or equal filter operator"
|
|
19156
19277
|
filterLteOperator="Is less than or equal to"
|
|
19157
|
-
|
|
19278
|
+
|
|
19158
19279
|
i18n-filterLtOperator="kendo.treelist.filterLtOperator|The text of the less than filter operator"
|
|
19159
19280
|
filterLtOperator="Is less than"
|
|
19160
|
-
|
|
19281
|
+
|
|
19161
19282
|
i18n-filterIsTrue="kendo.treelist.filterIsTrue|The text of the IsTrue boolean filter option"
|
|
19162
19283
|
filterIsTrue="Is True"
|
|
19163
|
-
|
|
19284
|
+
|
|
19164
19285
|
i18n-filterIsFalse="kendo.treelist.filterIsFalse|The text of the IsFalse boolean filter option"
|
|
19165
19286
|
filterIsFalse="Is False"
|
|
19166
|
-
|
|
19287
|
+
|
|
19167
19288
|
i18n-filterBooleanAll="kendo.treelist.filterBooleanAll|The text of the (All) boolean filter option"
|
|
19168
19289
|
filterBooleanAll="(All)"
|
|
19169
|
-
|
|
19290
|
+
|
|
19170
19291
|
i18n-filterAfterOrEqualOperator="kendo.treelist.filterAfterOrEqualOperator|The text of the after or equal date filter operator"
|
|
19171
19292
|
filterAfterOrEqualOperator="Is after or equal to"
|
|
19172
|
-
|
|
19293
|
+
|
|
19173
19294
|
i18n-filterAfterOperator="kendo.treelist.filterAfterOperator|The text of the after date filter operator"
|
|
19174
19295
|
filterAfterOperator="Is after"
|
|
19175
|
-
|
|
19296
|
+
|
|
19176
19297
|
i18n-filterBeforeOperator="kendo.treelist.filterBeforeOperator|The text of the before date filter operator"
|
|
19177
19298
|
filterBeforeOperator="Is before"
|
|
19178
|
-
|
|
19299
|
+
|
|
19179
19300
|
i18n-filterBeforeOrEqualOperator="kendo.treelist.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"
|
|
19180
19301
|
filterBeforeOrEqualOperator="Is before or equal to"
|
|
19181
|
-
|
|
19302
|
+
|
|
19182
19303
|
i18n-filterFilterButton="kendo.treelist.filterFilterButton|The text of the filter button"
|
|
19183
19304
|
filterFilterButton="Filter"
|
|
19184
|
-
|
|
19305
|
+
|
|
19185
19306
|
i18n-filterClearButton="kendo.treelist.filterClearButton|The text of the clear filter button"
|
|
19186
19307
|
filterClearButton="Clear"
|
|
19187
|
-
|
|
19308
|
+
|
|
19188
19309
|
i18n-filterAndLogic="kendo.treelist.filterAndLogic|The text of the And filter logic"
|
|
19189
19310
|
filterAndLogic="And"
|
|
19190
|
-
|
|
19311
|
+
|
|
19191
19312
|
i18n-filterOrLogic="kendo.treelist.filterOrLogic|The text of the Or filter logic"
|
|
19192
19313
|
filterOrLogic="Or"
|
|
19193
|
-
|
|
19314
|
+
|
|
19194
19315
|
i18n-filterDateToday="kendo.treelist.filterDateToday|The text of the Today button of the Date filter."
|
|
19195
19316
|
filterDateToday="TODAY"
|
|
19196
|
-
|
|
19317
|
+
|
|
19197
19318
|
i18n-filterDateToggle="kendo.treelist.filterDateToggle|The title of the Toggle button of the Date filter."
|
|
19198
19319
|
filterDateToggle="Toggle Calendar"
|
|
19199
|
-
|
|
19320
|
+
|
|
19200
19321
|
i18n-filterNumericDecrement="kendo.treelist.filterNumericDecrement|The title of the Decrement button of the Numeric filter."
|
|
19201
19322
|
filterNumericDecrement="Decrement"
|
|
19202
|
-
|
|
19323
|
+
|
|
19203
19324
|
i18n-filterNumericIncrement="kendo.treelist.filterNumericIncrement|The title of the Increment button of the Numeric filter."
|
|
19204
19325
|
filterNumericIncrement="Increment"
|
|
19205
|
-
|
|
19326
|
+
|
|
19206
19327
|
i18n-loading="kendo.treelist.loading|The loading text"
|
|
19207
19328
|
loading="Loading"
|
|
19208
|
-
|
|
19329
|
+
|
|
19209
19330
|
i18n-filterInputLabel="kendo.treelist.filterInputLabel|The label of the filter row and menu inputs"
|
|
19210
19331
|
filterInputLabel="{{ '{columnName} Filter' }}"
|
|
19211
|
-
|
|
19332
|
+
|
|
19212
19333
|
i18n-filterMenuLogicDropDownLabel="kendo.treelist.filterMenuLogicDropDownLabel|The label of the filter menu logic dropdown"
|
|
19213
19334
|
filterMenuLogicDropDownLabel="{{ '{columnName} Filter Logic' }}"
|
|
19214
|
-
|
|
19335
|
+
|
|
19215
19336
|
i18n-filterMenuOperatorsDropDownLabel="kendo.treelist.filterMenuOperatorsDropDownLabel|The label of the filter menu operators dropdown"
|
|
19216
19337
|
filterMenuOperatorsDropDownLabel="{{ '{columnName} Filter Operators' }}"
|
|
19217
|
-
|
|
19338
|
+
|
|
19218
19339
|
i18n-filterMenuTitle="kendo.treelist.filterMenuTitle|The title of the filter menu icon"
|
|
19219
19340
|
filterMenuTitle="{{ '{columnName} Filter Menu' }}"
|
|
19220
|
-
|
|
19341
|
+
|
|
19221
19342
|
i18n-columnMenu="kendo.treelist.columnMenu|The title of the column menu icon"
|
|
19222
19343
|
columnMenu="{{ '{columnName} Column Menu' }}"
|
|
19223
|
-
|
|
19344
|
+
|
|
19224
19345
|
i18n-columns="kendo.treelist.columns|The text shown in the column menu for the columns item"
|
|
19225
19346
|
columns="Columns"
|
|
19226
|
-
|
|
19347
|
+
|
|
19227
19348
|
i18n-lock="kendo.treelist.lock|The text shown in the column menu for the lock item"
|
|
19228
19349
|
lock="Lock"
|
|
19229
|
-
|
|
19350
|
+
|
|
19230
19351
|
i18n-unlock="kendo.treelist.unlock|The text shown in the column menu for the unlock item"
|
|
19231
19352
|
unlock="Unlock"
|
|
19232
|
-
|
|
19353
|
+
|
|
19233
19354
|
i18n-sortable="kendo.treelist.sortable|The label of the sort icon"
|
|
19234
19355
|
sortable="Sortable"
|
|
19235
|
-
|
|
19356
|
+
|
|
19236
19357
|
i18n-sortAscending="kendo.treelist.sortAscending|The text shown in the column menu for the sort ascending item"
|
|
19237
19358
|
sortAscending="Sort Ascending"
|
|
19238
|
-
|
|
19359
|
+
|
|
19239
19360
|
i18n-sortDescending="kendo.treelist.sortDescending|The text shown in the column menu for the sort descending item"
|
|
19240
19361
|
sortDescending="Sort Descending"
|
|
19241
|
-
|
|
19362
|
+
|
|
19242
19363
|
i18n-sortedDefault="kendo.treelist.sortedDefault|The status announcement when a column is no longer sorted"
|
|
19243
19364
|
sortedDefault="Not Sorted"
|
|
19244
|
-
|
|
19365
|
+
|
|
19245
19366
|
i18n-columnsApply="kendo.treelist.columnsApply|The text shown in the column menu or column chooser for the columns apply button"
|
|
19246
19367
|
columnsApply="Apply"
|
|
19247
|
-
|
|
19368
|
+
|
|
19248
19369
|
i18n-columnsReset="kendo.treelist.columnsReset|The text shown in the column menu or column chooser for the columns reset button"
|
|
19249
19370
|
columnsReset="Reset"
|
|
19250
|
-
|
|
19371
|
+
|
|
19251
19372
|
i18n-pagerSelectPage="kendo.treelist.pagerSelectPage|The text of the title and aria-label attributes applied to the page chooser in the TreeList Pager"
|
|
19252
19373
|
pagerSelectPage="Select page"
|
|
19253
|
-
|
|
19374
|
+
|
|
19254
19375
|
i18n-topToolbarLabel="kendo.treelist.topToolbarLabel|The label of the TreeList top toolbar"
|
|
19255
19376
|
topToolbarLabel="Top toolbar"
|
|
19256
|
-
|
|
19377
|
+
|
|
19257
19378
|
i18n-bottomToolbarLabel="kendo.treelist.bottomToolbarLabel|The label of the TreeList bottom toolbar"
|
|
19258
19379
|
bottomToolbarLabel="Bottom toolbar"
|
|
19259
|
-
|
|
19380
|
+
|
|
19260
19381
|
i18n-dragRowHandleLabel="kendo.treelist.dragRowHandleLabel|The label for the TreeList drag row handle"
|
|
19261
19382
|
dragRowHandleLabel="Drag row"
|
|
19262
|
-
|
|
19383
|
+
|
|
19263
19384
|
i18n-selectRowCheckboxLabel="kendo.treelist.selectRowCheckboxLabel|The label for the select row checkbox"
|
|
19264
19385
|
selectRowCheckboxLabel="Select row"
|
|
19265
|
-
|
|
19386
|
+
|
|
19266
19387
|
i18n-selectAllRowsCheckboxLabel="kendo.treelist.selectAllRowsCheckboxLabel|The label for the select all rows checkbox"
|
|
19267
19388
|
selectAllRowsCheckboxLabel="Select all rows"
|
|
19268
|
-
|
|
19389
|
+
|
|
19269
19390
|
i18n-autosizeAllColumns="kendo.treelist.autosizeAllColumns|The text shown in the column menu for the autosize all columns item"
|
|
19270
19391
|
autosizeAllColumns="Autosize All Columns"
|
|
19271
|
-
|
|
19392
|
+
|
|
19272
19393
|
i18n-autosizeThisColumn="kendo.treelist.autosizeThisColumn|The text shown in the column menu for the autosize this column item"
|
|
19273
19394
|
autosizeThisColumn="Autosize This Column"
|
|
19274
19395
|
>
|
|
@@ -19323,7 +19444,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
19323
19444
|
[locked]="true"
|
|
19324
19445
|
role="presentation"
|
|
19325
19446
|
[style.width.px]="lockedWidth"
|
|
19326
|
-
class="k-grid-header-table k-table
|
|
19447
|
+
class="k-grid-header-table k-table">
|
|
19327
19448
|
<colgroup
|
|
19328
19449
|
kendoTreeListColGroup
|
|
19329
19450
|
[columns]="$any(lockedLeafColumns)">
|
|
@@ -19356,7 +19477,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
19356
19477
|
[style.width.px]="nonLockedWidth"
|
|
19357
19478
|
kendoTreeListResizableTable
|
|
19358
19479
|
[virtualColumns]="virtualColumns"
|
|
19359
|
-
class="k-grid-header-table k-table
|
|
19480
|
+
class="k-grid-header-table k-table">
|
|
19360
19481
|
<colgroup
|
|
19361
19482
|
kendoTreeListColGroup
|
|
19362
19483
|
[columns]="headerLeafColumns">
|
|
@@ -19413,7 +19534,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
19413
19534
|
}
|
|
19414
19535
|
@if (!isScrollable) {
|
|
19415
19536
|
<table
|
|
19416
|
-
class="k-table k-
|
|
19537
|
+
class="k-table k-grid-header-table"
|
|
19417
19538
|
role="presentation"
|
|
19418
19539
|
[style.table-layout]="resizable ? 'fixed' : null"
|
|
19419
19540
|
kendoTreeListResizableTable>
|
|
@@ -19507,7 +19628,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
19507
19628
|
[attr.aria-controls]="ariaRootId">
|
|
19508
19629
|
</kendo-treelist-toolbar>
|
|
19509
19630
|
}
|
|
19510
|
-
|
|
19631
|
+
|
|
19511
19632
|
<ng-template #defaultHint>
|
|
19512
19633
|
<kendo-icon-wrapper
|
|
19513
19634
|
[name]="getHintSettings('hintIcon')"
|
|
@@ -19516,7 +19637,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
19516
19637
|
</kendo-icon-wrapper>
|
|
19517
19638
|
{{hintText}}
|
|
19518
19639
|
</ng-template>
|
|
19519
|
-
|
|
19640
|
+
|
|
19520
19641
|
<ng-template #defaultPager>
|
|
19521
19642
|
<div class="k-pager-numbers-wrap">
|
|
19522
19643
|
@if (normalizedPageableSettings.previousNext) {
|
|
@@ -19678,9 +19799,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
19678
19799
|
}], hostClasses: [{
|
|
19679
19800
|
type: HostBinding,
|
|
19680
19801
|
args: ['class.k-grid']
|
|
19681
|
-
}, {
|
|
19682
|
-
type: HostBinding,
|
|
19683
|
-
args: ['class.k-grid-md']
|
|
19684
19802
|
}, {
|
|
19685
19803
|
type: HostBinding,
|
|
19686
19804
|
args: ['class.k-treelist']
|
|
@@ -19736,7 +19854,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
19736
19854
|
|
|
19737
19855
|
/**
|
|
19738
19856
|
* Overrides the default component messages with custom messages.
|
|
19739
|
-
* [See example](
|
|
19857
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/globalization#custom-messages).
|
|
19740
19858
|
*
|
|
19741
19859
|
* @example
|
|
19742
19860
|
* ```html
|
|
@@ -20011,7 +20129,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
20011
20129
|
|
|
20012
20130
|
/**
|
|
20013
20131
|
* A directive that encapsulates the editing operations of the TreeList when using
|
|
20014
|
-
* Template-Driven Angular Forms. [See example](
|
|
20132
|
+
* Template-Driven Angular Forms. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/editing-directives#template-editing-directive).
|
|
20015
20133
|
*
|
|
20016
20134
|
* @example
|
|
20017
20135
|
* ```html
|
|
@@ -20109,7 +20227,7 @@ const insertNewItem = (newItem, originalData, treelist, parent) => {
|
|
|
20109
20227
|
|
|
20110
20228
|
/**
|
|
20111
20229
|
* A directive that encapsulates the editing operations of the TreeList when using the
|
|
20112
|
-
* Reactive Forms. [See example](
|
|
20230
|
+
* Reactive Forms. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/editing-directives#reactive-editing-directive).
|
|
20113
20231
|
*
|
|
20114
20232
|
* @example
|
|
20115
20233
|
* ```html
|
|
@@ -20161,7 +20279,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
20161
20279
|
|
|
20162
20280
|
/**
|
|
20163
20281
|
* A directive that encapsulates the editing operations of the TreeList when using the in-cell
|
|
20164
|
-
* editing with Reactive Forms. [See example](
|
|
20282
|
+
* editing with Reactive Forms. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/editing-directives#in-cell-editing-directive).
|
|
20165
20283
|
*
|
|
20166
20284
|
* @example
|
|
20167
20285
|
* ```html
|
|
@@ -20499,8 +20617,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
20499
20617
|
/**
|
|
20500
20618
|
* Represents the Kendo UI for Angular TreeList hierarchy binding directive.
|
|
20501
20619
|
* Use this directive to bind the TreeList to a tree of objects using a field that holds child data items.
|
|
20502
|
-
* Handles in-memory data operations [sorting](
|
|
20503
|
-
* and [filtering](
|
|
20620
|
+
* Handles in-memory data operations [sorting](https://www.telerik.com/kendo-angular-ui/components/treelist/sorting/basics), [aggregation](https://www.telerik.com/kendo-angular-ui/components/treelist/aggregates)
|
|
20621
|
+
* and [filtering](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics). [More information and examples.](https://www.telerik.com/kendo-angular-ui/components/treelist/data-binding/local-data#binding-to-hierarchical-data-1)
|
|
20504
20622
|
*
|
|
20505
20623
|
* @example
|
|
20506
20624
|
* ```html
|
|
@@ -20682,8 +20800,8 @@ const ROOT_ID = null;
|
|
|
20682
20800
|
/**
|
|
20683
20801
|
* Represents the Kendo for Angular UI TreeList flat binding directive.
|
|
20684
20802
|
* Use this directive to bind the TreeList to a flat array of objects using `idField` and `parentIdField` to define the hierarchy.
|
|
20685
|
-
* Handles in-memory data operations [sorting](
|
|
20686
|
-
* and [filtering](
|
|
20803
|
+
* Handles in-memory data operations [sorting](https://www.telerik.com/kendo-angular-ui/components/treelist/sorting/basics), [aggregation](https://www.telerik.com/kendo-angular-ui/components/treelist/aggregates)
|
|
20804
|
+
* and [filtering](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics). [More information and examples](https://www.telerik.com/kendo-angular-ui/components/treelist/data-binding/basics).
|
|
20687
20805
|
*
|
|
20688
20806
|
*/
|
|
20689
20807
|
class FlatBindingDirective extends BaseBindingDirective {
|
|
@@ -20795,7 +20913,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
20795
20913
|
}] } });
|
|
20796
20914
|
|
|
20797
20915
|
/**
|
|
20798
|
-
* A directive which controls the expanded state of items in the TreeList. [See example](
|
|
20916
|
+
* A directive which controls the expanded state of items in the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/expanded-state#built-in-directive).
|
|
20799
20917
|
*
|
|
20800
20918
|
* @example
|
|
20801
20919
|
* ```html
|
|
@@ -20906,7 +21024,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
20906
21024
|
|
|
20907
21025
|
const defaultColumnKeyGetter = (_column, columnIndex) => columnIndex;
|
|
20908
21026
|
/**
|
|
20909
|
-
* A directive which controls the selection state. [See example](
|
|
21027
|
+
* A directive which controls the selection state. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/selection).
|
|
20910
21028
|
*
|
|
20911
21029
|
* @example
|
|
20912
21030
|
* ```html
|
|
@@ -21118,7 +21236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
21118
21236
|
/**
|
|
21119
21237
|
* Represents the Kendo UI TreeListSpacer component for Angular.
|
|
21120
21238
|
* Use this component to add extra white space between Pager inner elements or to customize the spacer width.
|
|
21121
|
-
* You can also use it in any flex container within the TreeList. [See example](
|
|
21239
|
+
* You can also use it in any flex container within the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/toolbar/toolbar-template#defining-the-spacing-between-toolbar-elements).
|
|
21122
21240
|
*
|
|
21123
21241
|
* @example
|
|
21124
21242
|
* ```html
|
|
@@ -21171,7 +21289,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
21171
21289
|
}] } });
|
|
21172
21290
|
|
|
21173
21291
|
/**
|
|
21174
|
-
* Represents the checkbox column for selecting rows in the TreeList. [See example](
|
|
21292
|
+
* Represents the checkbox column for selecting rows in the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/selection/row-selection#select-all-checkbox).
|
|
21175
21293
|
*
|
|
21176
21294
|
* @example
|
|
21177
21295
|
* ```html
|
|
@@ -21303,13 +21421,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
21303
21421
|
/**
|
|
21304
21422
|
* Represents the command column of the TreeList. Define the content of the column inside an `<ng-template>` tag.
|
|
21305
21423
|
* For more information and examples on using the passed fields and command directives, see
|
|
21306
|
-
* [editing the TreeList in Angular Reactive Forms](
|
|
21424
|
+
* [editing the TreeList in Angular Reactive Forms](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/reactive-forms).
|
|
21307
21425
|
*
|
|
21308
21426
|
* Usually, the template contains CRUD command directives such as:
|
|
21309
|
-
* - [`EditCommandDirective`](
|
|
21310
|
-
* - [`RemoveCommandDirective`](
|
|
21311
|
-
* - [`CancelCommandDirective`](
|
|
21312
|
-
* - [`SaveCommandDirective`](
|
|
21427
|
+
* - [`EditCommandDirective`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/editcommanddirective)
|
|
21428
|
+
* - [`RemoveCommandDirective`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/removecommanddirective)
|
|
21429
|
+
* - [`CancelCommandDirective`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/cancelcommanddirective)
|
|
21430
|
+
* - [`SaveCommandDirective`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/savecommanddirective)
|
|
21313
21431
|
*
|
|
21314
21432
|
* @example
|
|
21315
21433
|
* ```html
|
|
@@ -21451,9 +21569,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
21451
21569
|
}] } });
|
|
21452
21570
|
|
|
21453
21571
|
/**
|
|
21454
|
-
* Represents the `edit` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](
|
|
21572
|
+
* Represents the `edit` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
|
|
21455
21573
|
*
|
|
21456
|
-
* When the user clicks a button with this directive, the [`edit`](
|
|
21574
|
+
* When the user clicks a button with this directive, the [`edit`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#edit) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editors)).
|
|
21457
21575
|
*
|
|
21458
21576
|
* The button with `kendoTreeListEditCommand` is automatically hidden when the row is in edit mode. The directive takes the `cellContext` from the cell template as input.
|
|
21459
21577
|
*
|
|
@@ -21535,9 +21653,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
21535
21653
|
}] } });
|
|
21536
21654
|
|
|
21537
21655
|
/**
|
|
21538
|
-
* Represents the `cancel` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](
|
|
21656
|
+
* Represents the `cancel` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
|
|
21539
21657
|
*
|
|
21540
|
-
* When the user clicks a button with this directive, the [`cancel`](
|
|
21658
|
+
* When the user clicks a button with this directive, the [`cancel`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#cancel) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editors)).
|
|
21541
21659
|
*
|
|
21542
21660
|
* The button with `kendoTreeListCancelCommand` is automatically hidden when the row is not in edit mode. The directive takes the `cellContext` from the cell template as input.
|
|
21543
21661
|
*
|
|
@@ -21620,9 +21738,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
21620
21738
|
}] } });
|
|
21621
21739
|
|
|
21622
21740
|
/**
|
|
21623
|
-
* Represents the `save` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](
|
|
21741
|
+
* Represents the `save` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
|
|
21624
21742
|
*
|
|
21625
|
-
* When the user clicks a button with this directive, the [`save`](
|
|
21743
|
+
* When the user clicks a button with this directive, the [`save`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#save) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing)).
|
|
21626
21744
|
*
|
|
21627
21745
|
* The button with `kendoTreeListSaveCommand` is automatically hidden when the row is not in edit mode. The directive takes the `cellContext` from the cell template as input.
|
|
21628
21746
|
*
|
|
@@ -21704,9 +21822,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
21704
21822
|
}] } });
|
|
21705
21823
|
|
|
21706
21824
|
/**
|
|
21707
|
-
* Represents the `remove` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](
|
|
21825
|
+
* Represents the `remove` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
|
|
21708
21826
|
*
|
|
21709
|
-
* When the user clicks a button with this directive, the [`remove` event](
|
|
21827
|
+
* When the user clicks a button with this directive, the [`remove` event](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#remove) is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/reactive-forms)).
|
|
21710
21828
|
*
|
|
21711
21829
|
* The button with `kendoTreeListRemoveCommand` is automatically hidden when the row is in edit mode. The directive takes the `cellContext` from the cell template as input.
|
|
21712
21830
|
*
|
|
@@ -21788,9 +21906,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
21788
21906
|
}] } });
|
|
21789
21907
|
|
|
21790
21908
|
/**
|
|
21791
|
-
* Represents the command for adding a new item to the TreeList. Apply this directive to any `button` element inside a [`ToolbarTemplate`](
|
|
21909
|
+
* Represents the command for adding a new item to the TreeList. Apply this directive to any `button` element inside a [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/toolbar/toolbar-template) or inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
|
|
21792
21910
|
*
|
|
21793
|
-
* When the user clicks a button with this directive, the [`add`](
|
|
21911
|
+
* When the user clicks a button with this directive, the [`add`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#add) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editors)).
|
|
21794
21912
|
*
|
|
21795
21913
|
* The button with `kendoTreeListAddCommand` is automatically hidden when the row is in edit mode.
|
|
21796
21914
|
*
|
|
@@ -21971,8 +22089,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
21971
22089
|
/**
|
|
21972
22090
|
* Represents the `Contains` (**Contains**) filter operator for the TreeList.
|
|
21973
22091
|
* Use this operator to filter values that contain a specific substring.
|
|
21974
|
-
* [See example](
|
|
21975
|
-
* For more information and examples, refer to the article on setting [default filter operators](
|
|
22092
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#using-the-built-in-directives).
|
|
22093
|
+
* For more information and examples, refer to the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
21976
22094
|
*
|
|
21977
22095
|
* @example
|
|
21978
22096
|
* ```html Filter Cell
|
|
@@ -22027,8 +22145,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22027
22145
|
/**
|
|
22028
22146
|
* Represents the `DoesNotContain` (**Does not contain**) filter operator for the TreeList.
|
|
22029
22147
|
* Use this operator to filter values that do not contain a specific substring.
|
|
22030
|
-
* [See example](
|
|
22031
|
-
* For more information and examples, refer to the article on setting [default filter operators](
|
|
22148
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#using-the-built-in-directives).
|
|
22149
|
+
* For more information and examples, refer to the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22032
22150
|
*
|
|
22033
22151
|
* @example
|
|
22034
22152
|
* ```html Filter Cell
|
|
@@ -22083,8 +22201,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22083
22201
|
/**
|
|
22084
22202
|
* Represents the `EndsWith` (**Ends with**) string filter operator for the TreeList.
|
|
22085
22203
|
* Use this operator to filter values that end with a specific substring.
|
|
22086
|
-
* [See example](
|
|
22087
|
-
* For more information and examples, refer to the article on setting [default filter operators](
|
|
22204
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#using-the-built-in-directives).
|
|
22205
|
+
* For more information and examples, refer to the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22088
22206
|
*
|
|
22089
22207
|
* @example
|
|
22090
22208
|
* ```html Filter Cell
|
|
@@ -22139,8 +22257,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22139
22257
|
/**
|
|
22140
22258
|
* Represents the `Equal` (**Is equal to**) filter operator for the TreeList.
|
|
22141
22259
|
* Use this operator to filter values that are equal to a specific value.
|
|
22142
|
-
* [See example](
|
|
22143
|
-
* For more information and examples, refer to the article on setting [default filter operators](
|
|
22260
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#using-the-built-in-directives).
|
|
22261
|
+
* For more information and examples, refer to the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22144
22262
|
*
|
|
22145
22263
|
* @example
|
|
22146
22264
|
* ```html String Filter Cell
|
|
@@ -22243,8 +22361,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22243
22361
|
/**
|
|
22244
22362
|
* Represents the `IsEmpty` (**Is empty**) filter operator for the TreeList.
|
|
22245
22363
|
* Use this operator to filter values that are empty.
|
|
22246
|
-
* [See example](
|
|
22247
|
-
* For more information and examples, refer to the article on setting [default filter operators](
|
|
22364
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#using-the-built-in-directives).
|
|
22365
|
+
* For more information and examples, refer to the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22248
22366
|
*
|
|
22249
22367
|
* @example
|
|
22250
22368
|
* ```html Filter Cell
|
|
@@ -22299,8 +22417,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22299
22417
|
/**
|
|
22300
22418
|
* Represents the `IsNotEmpty` (**Is not empty**) filter operator for the TreeList.
|
|
22301
22419
|
* Use this operator to filter values that are not empty.
|
|
22302
|
-
* [See example](
|
|
22303
|
-
* For more information and examples, refer to the article on setting [default filter operators](
|
|
22420
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#using-the-built-in-directives).
|
|
22421
|
+
* For more information and examples, refer to the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22304
22422
|
*
|
|
22305
22423
|
* @example
|
|
22306
22424
|
* ```html Filter Cell
|
|
@@ -22355,8 +22473,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22355
22473
|
/**
|
|
22356
22474
|
* Represents the `IsNotNull` (**Is not null**) filter operator for the TreeList.
|
|
22357
22475
|
* Use this operator to filter values that are not null.
|
|
22358
|
-
* [See example](
|
|
22359
|
-
* For more information and examples, refer to the article on setting [default filter operators](
|
|
22476
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#using-the-built-in-directives).
|
|
22477
|
+
* For more information and examples, refer to the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22360
22478
|
*
|
|
22361
22479
|
* @example
|
|
22362
22480
|
* ```html String Filter Cell
|
|
@@ -22459,8 +22577,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22459
22577
|
/**
|
|
22460
22578
|
* Represents the `IsNull` (**Is null**) filter operator for the TreeList.
|
|
22461
22579
|
* Use this operator to filter values that are null.
|
|
22462
|
-
* [See example](
|
|
22463
|
-
* For more information and examples, refer to the article on setting [default filter operators](
|
|
22580
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#using-the-built-in-directives).
|
|
22581
|
+
* For more information and examples, refer to the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22464
22582
|
*
|
|
22465
22583
|
* @example
|
|
22466
22584
|
* ```html String Filter Cell
|
|
@@ -22563,8 +22681,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22563
22681
|
/**
|
|
22564
22682
|
* Represents the `NotEqual` (**Is not equal to**) filter operator for the TreeList.
|
|
22565
22683
|
* Use this operator to filter values that are not equal to a specific value.
|
|
22566
|
-
* [See example](
|
|
22567
|
-
* For more information and examples, refer to the article on setting [default filter operators](
|
|
22684
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#using-the-built-in-directives).
|
|
22685
|
+
* For more information and examples, refer to the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22568
22686
|
*
|
|
22569
22687
|
* @example
|
|
22570
22688
|
* ```html String Filter Cell
|
|
@@ -22667,8 +22785,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22667
22785
|
/**
|
|
22668
22786
|
* Represents the `StartsWith` (**Starts with**) filter operator for the TreeList.
|
|
22669
22787
|
* Use this operator to filter values that start with a specific substring.
|
|
22670
|
-
* [See example](
|
|
22671
|
-
* For more information and examples, refer to the article on setting [default filter operators](
|
|
22788
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#using-the-built-in-directives).
|
|
22789
|
+
* For more information and examples, refer to the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22672
22790
|
*
|
|
22673
22791
|
* @example
|
|
22674
22792
|
* ```html Filter Cell
|
|
@@ -22721,9 +22839,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22721
22839
|
}], ctorParameters: () => [{ type: i1$1.LocalizationService }] });
|
|
22722
22840
|
|
|
22723
22841
|
/**
|
|
22724
|
-
* Represents the `Greater` (**Is greater than**) [numeric filter operator](
|
|
22842
|
+
* Represents the `Greater` (**Is greater than**) [numeric filter operator](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#numeric-filter) for the TreeList.
|
|
22725
22843
|
* Use this operator to filter values that are greater than a specific value.
|
|
22726
|
-
* [See example](
|
|
22844
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22727
22845
|
*
|
|
22728
22846
|
* @example
|
|
22729
22847
|
* ```html Filter Cell
|
|
@@ -22776,9 +22894,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22776
22894
|
}], ctorParameters: () => [{ type: i1$1.LocalizationService }] });
|
|
22777
22895
|
|
|
22778
22896
|
/**
|
|
22779
|
-
* Represents the `GreaterOrEqualTo` (**Is greater than or equal to**) [numeric filter operator](
|
|
22897
|
+
* Represents the `GreaterOrEqualTo` (**Is greater than or equal to**) [numeric filter operator](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#numeric-filter) for the TreeList.
|
|
22780
22898
|
* Use this operator to filter values that are greater than or equal to a specific value.
|
|
22781
|
-
* [See example](
|
|
22899
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22782
22900
|
*
|
|
22783
22901
|
* @example
|
|
22784
22902
|
* ```html Filter Cell
|
|
@@ -22831,9 +22949,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22831
22949
|
}], ctorParameters: () => [{ type: i1$1.LocalizationService }] });
|
|
22832
22950
|
|
|
22833
22951
|
/**
|
|
22834
|
-
* Represents the `Less` (**Is less than**) [numeric filter operator](
|
|
22952
|
+
* Represents the `Less` (**Is less than**) [numeric filter operator](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#numeric-filter) for the TreeList.
|
|
22835
22953
|
* Use this operator to filter values that are less than a specific value.
|
|
22836
|
-
* [See example](
|
|
22954
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22837
22955
|
*
|
|
22838
22956
|
* @example
|
|
22839
22957
|
* ```html Filter Cell
|
|
@@ -22886,9 +23004,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22886
23004
|
}], ctorParameters: () => [{ type: i1$1.LocalizationService }] });
|
|
22887
23005
|
|
|
22888
23006
|
/**
|
|
22889
|
-
* Represents the `LessOrEqualTo` (**Is less than or equal to**) [numeric filter operator](
|
|
23007
|
+
* Represents the `LessOrEqualTo` (**Is less than or equal to**) [numeric filter operator](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#numeric-filter) for the TreeList.
|
|
22890
23008
|
* Use this operator to filter values that are less than or equal to a specific value.
|
|
22891
|
-
* [See example](
|
|
23009
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22892
23010
|
*
|
|
22893
23011
|
* @example
|
|
22894
23012
|
* ```html Filter Cell
|
|
@@ -22941,9 +23059,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22941
23059
|
}], ctorParameters: () => [{ type: i1$1.LocalizationService }] });
|
|
22942
23060
|
|
|
22943
23061
|
/**
|
|
22944
|
-
* Represents the `Greater` (**Is after**) [date filter operator](
|
|
23062
|
+
* Represents the `Greater` (**Is after**) [date filter operator](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#date-filter) for the TreeList.
|
|
22945
23063
|
* Use this operator to filter dates that are after a specific value.
|
|
22946
|
-
* [See example](
|
|
23064
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
22947
23065
|
*
|
|
22948
23066
|
* @example
|
|
22949
23067
|
* ```html Filter Cell
|
|
@@ -23005,9 +23123,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23005
23123
|
}], ctorParameters: () => [{ type: i1$1.LocalizationService }] });
|
|
23006
23124
|
|
|
23007
23125
|
/**
|
|
23008
|
-
* Represents the `GreaterOrEqualTo` (**Is after or equal to**) [date filter operator](
|
|
23126
|
+
* Represents the `GreaterOrEqualTo` (**Is after or equal to**) [date filter operator](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#date-filter) for the TreeList.
|
|
23009
23127
|
* Use this operator to filter dates that are after or equal to a specific value.
|
|
23010
|
-
* [See example](
|
|
23128
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
23011
23129
|
*
|
|
23012
23130
|
* @example
|
|
23013
23131
|
* ```html Filter Cell
|
|
@@ -23069,9 +23187,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23069
23187
|
}], ctorParameters: () => [{ type: i1$1.LocalizationService }] });
|
|
23070
23188
|
|
|
23071
23189
|
/**
|
|
23072
|
-
* Represents the `LessOrEqualTo` (**Is before or equal to**) [date filter operator](
|
|
23190
|
+
* Represents the `LessOrEqualTo` (**Is before or equal to**) [date filter operator](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#date-filter) for the TreeList.
|
|
23073
23191
|
* Use this operator to filter dates that are before or equal to a specific value.
|
|
23074
|
-
* [See example](
|
|
23192
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
23075
23193
|
*
|
|
23076
23194
|
* @example
|
|
23077
23195
|
* ```html Filter Cell
|
|
@@ -23133,9 +23251,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23133
23251
|
}], ctorParameters: () => [{ type: i1$1.LocalizationService }] });
|
|
23134
23252
|
|
|
23135
23253
|
/**
|
|
23136
|
-
* Represents the `Less than` (**Is before**) [date filter operator](
|
|
23254
|
+
* Represents the `Less than` (**Is before**) [date filter operator](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics#date-filter) for the TreeList.
|
|
23137
23255
|
* Use this operator to filter dates that are before a specific value.
|
|
23138
|
-
* [See example](
|
|
23256
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-row#setting-the-default-filter-operator).
|
|
23139
23257
|
*
|
|
23140
23258
|
* @example
|
|
23141
23259
|
* ```html Filer Cell
|
|
@@ -23198,7 +23316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23198
23316
|
|
|
23199
23317
|
/**
|
|
23200
23318
|
* Represents the Kendo UI for Angular TreeList column chooser component.
|
|
23201
|
-
* Use this component to let users show or hide columns in the TreeList. To display the column chooser outside the Column Menu, add it inside the [`ToolbarTemplate`](
|
|
23319
|
+
* Use this component to let users show or hide columns in the TreeList. To display the column chooser outside the Column Menu, add it inside the [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/toolbartemplatedirective) directive.
|
|
23202
23320
|
*
|
|
23203
23321
|
* @example
|
|
23204
23322
|
* ```html
|
|
@@ -23402,7 +23520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23402
23520
|
}] } });
|
|
23403
23521
|
|
|
23404
23522
|
/**
|
|
23405
|
-
* Arguments for the `excelExport` event. [See example](
|
|
23523
|
+
* Arguments for the `excelExport` event. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/excel-export#customizing-generated-workbooks).
|
|
23406
23524
|
*/
|
|
23407
23525
|
class ExcelExportEvent extends PreventableEvent {
|
|
23408
23526
|
workbook;
|
|
@@ -23471,7 +23589,7 @@ const componentColumns = (component) => {
|
|
|
23471
23589
|
return orderBy(columns, [{ field: 'locked', dir: 'desc' }]);
|
|
23472
23590
|
};
|
|
23473
23591
|
/**
|
|
23474
|
-
* Configures the settings for exporting the TreeList to Excel. [See example](
|
|
23592
|
+
* Configures the settings for exporting the TreeList to Excel. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/excel-export).
|
|
23475
23593
|
*
|
|
23476
23594
|
* @example
|
|
23477
23595
|
* ```html
|
|
@@ -23510,13 +23628,13 @@ class ExcelComponent {
|
|
|
23510
23628
|
* Use a proxy if the browser cannot save files locally.
|
|
23511
23629
|
*
|
|
23512
23630
|
* Optionally, set up a proxy to reduce memory usage. This avoids copying the file contents into memory,
|
|
23513
|
-
* but transmits it over the network instead. For this use case, set [forceProxy](#
|
|
23631
|
+
* but transmits it over the network instead. For this use case, set [forceProxy](#forceproxy) to `true`
|
|
23514
23632
|
* to skip client-side saving even in browsers that support it.
|
|
23515
23633
|
*
|
|
23516
|
-
* The proxy receives a POST request with specific parameters in the request body. [See example](
|
|
23634
|
+
* The proxy receives a POST request with specific parameters in the request body. [See example](https://www.telerik.com/kendo-angular-ui/components/file-saver/server-proxy#implementations).
|
|
23517
23635
|
* The proxy returns the decoded file with the `"Content-Disposition"` header set to `attachment; filename="<fileName.xslx>"`.
|
|
23518
23636
|
*
|
|
23519
|
-
* For details on server-side proxy usage and implementation, see the [File Saver](
|
|
23637
|
+
* For details on server-side proxy usage and implementation, see the [File Saver](https://www.telerik.com/kendo-angular-ui/components/file-saver) documentation.
|
|
23520
23638
|
*/
|
|
23521
23639
|
proxyURL;
|
|
23522
23640
|
/**
|
|
@@ -23672,8 +23790,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23672
23790
|
}] } });
|
|
23673
23791
|
|
|
23674
23792
|
/**
|
|
23675
|
-
* Represents the `export-to-Excel` command of the TreeList. Apply this directive to any `button` element inside a [`ToolbarTemplate`](
|
|
23676
|
-
* When the user clicks a button with this directive, the [`excelExport`](
|
|
23793
|
+
* Represents the `export-to-Excel` command of the TreeList. Apply this directive to any `button` element inside a [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/toolbar/toolbar-template).
|
|
23794
|
+
* When the user clicks a button with this directive, the [`excelExport`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#excelexport) event fires ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/excel-export)).
|
|
23677
23795
|
*
|
|
23678
23796
|
* @example
|
|
23679
23797
|
* ```html
|
|
@@ -23759,7 +23877,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23759
23877
|
/**
|
|
23760
23878
|
* Represents the `export-to-Excel` toolbar tool of the TreeList. Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent used in the TreeList.
|
|
23761
23879
|
*
|
|
23762
|
-
* When the user clicks a button with this directive, the [excelExport](
|
|
23880
|
+
* When the user clicks a button with this directive, the [excelExport](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#excelexport) event fires ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/excel-export)).
|
|
23763
23881
|
*
|
|
23764
23882
|
* @example
|
|
23765
23883
|
* ```html
|
|
@@ -23949,7 +24067,7 @@ const wrapTable = (table) => {
|
|
|
23949
24067
|
return;
|
|
23950
24068
|
}
|
|
23951
24069
|
const wrapper = document.createElement('div');
|
|
23952
|
-
wrapper.className = 'k-grid
|
|
24070
|
+
wrapper.className = 'k-grid';
|
|
23953
24071
|
wrapper.appendChild(table);
|
|
23954
24072
|
return wrapper;
|
|
23955
24073
|
};
|
|
@@ -23979,7 +24097,7 @@ const setFirstCellClass = (header, headers) => {
|
|
|
23979
24097
|
};
|
|
23980
24098
|
const createTable = (colGroups, headers, bodies, footers) => {
|
|
23981
24099
|
const table = document.createElement('table');
|
|
23982
|
-
table.classList.add('k-table'
|
|
24100
|
+
table.classList.add('k-table');
|
|
23983
24101
|
const colGroup = colGroups[0].cloneNode(true);
|
|
23984
24102
|
for (let idx = 1; idx < colGroups.length; idx++) {
|
|
23985
24103
|
appendNodes(colGroup, colGroups[idx].querySelectorAll('col'));
|
|
@@ -24054,7 +24172,7 @@ const createDiv = (className) => {
|
|
|
24054
24172
|
return createElement('div', className);
|
|
24055
24173
|
};
|
|
24056
24174
|
/**
|
|
24057
|
-
* Configures the settings for exporting TreeList to PDF ([see example](
|
|
24175
|
+
* Configures the settings for exporting TreeList to PDF ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/pdf-export)).
|
|
24058
24176
|
*
|
|
24059
24177
|
* @example
|
|
24060
24178
|
* ```html
|
|
@@ -24295,10 +24413,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
24295
24413
|
/**
|
|
24296
24414
|
* Represents the `export-to-PDF` command of the TreeList.
|
|
24297
24415
|
* Apply this directive to any `button` element inside a
|
|
24298
|
-
* [`ToolbarTemplate`](
|
|
24416
|
+
* [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/toolbar/toolbar-template).
|
|
24299
24417
|
* When you click a button that contains the directive, the
|
|
24300
|
-
* [`pdfExport`](
|
|
24301
|
-
* fires ([see example](
|
|
24418
|
+
* [`pdfExport`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#pdfexport) event
|
|
24419
|
+
* fires ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/pdf-export)).
|
|
24302
24420
|
*
|
|
24303
24421
|
* @example
|
|
24304
24422
|
* ```html
|
|
@@ -24382,7 +24500,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
24382
24500
|
}] } });
|
|
24383
24501
|
|
|
24384
24502
|
/**
|
|
24385
|
-
* Represents the command for adding a new item to the TreeList. Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent. When the user clicks the toolbar button associated with the directive, the [`add`](
|
|
24503
|
+
* Represents the command for adding a new item to the TreeList. Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent. When the user clicks the toolbar button associated with the directive, the [`add`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#add) event is triggered.
|
|
24386
24504
|
*
|
|
24387
24505
|
* @example
|
|
24388
24506
|
* ```html
|
|
@@ -24436,8 +24554,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
24436
24554
|
* ToolbarComponent.
|
|
24437
24555
|
*
|
|
24438
24556
|
* When you click the toolbar button that contains the directive, the
|
|
24439
|
-
* [`pdfExport`](
|
|
24440
|
-
* fires ([see example](
|
|
24557
|
+
* [`pdfExport`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#pdfexport) event
|
|
24558
|
+
* fires ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/export/pdf-export)).
|
|
24441
24559
|
*
|
|
24442
24560
|
* @example
|
|
24443
24561
|
* ```html
|