@progress/kendo-angular-treelist 19.1.2-develop.4 → 19.1.2-develop.5
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/base-binding.directive.d.ts +6 -3
- package/binding-directives/flat-binding.directive.d.ts +7 -8
- package/binding-directives/hierarchy-binding.directive.d.ts +13 -6
- package/column-menu/column-chooser.component.d.ts +5 -8
- package/column-menu/column-locked-change-event.d.ts +4 -2
- package/column-menu/column-menu-autosize-all.component.d.ts +3 -5
- package/column-menu/column-menu-autosize.component.d.ts +5 -7
- package/column-menu/column-menu-chooser.component.d.ts +15 -6
- package/column-menu/column-menu-expandable-item.interface.d.ts +4 -3
- package/column-menu/column-menu-filter.component.d.ts +14 -4
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item-content-template.directive.d.ts +3 -5
- package/column-menu/column-menu-item.component.d.ts +7 -10
- package/column-menu/column-menu-item.directive.d.ts +23 -1
- package/column-menu/column-menu-lock.component.d.ts +14 -4
- package/column-menu/column-menu-settings.interface.d.ts +5 -5
- package/column-menu/column-menu-sort.component.d.ts +12 -2
- package/column-menu/column-menu-template.directive.d.ts +3 -5
- package/column-menu/column-menu.component.d.ts +14 -2
- package/column-menu/column-menu.service.d.ts +1 -2
- package/column-menu/column-visibility-change-event.d.ts +2 -2
- package/column-resizing/column-resize.interface.d.ts +3 -2
- package/columns/checkbox-column.component.d.ts +16 -4
- package/columns/column-base.d.ts +15 -28
- package/columns/column-group.component.d.ts +1 -2
- package/columns/column.component.d.ts +22 -18
- package/columns/command-column.component.d.ts +3 -4
- package/columns/rowreorder-column.component.d.ts +9 -1
- package/columns/sort-settings.d.ts +5 -23
- package/columns/span-column.component.d.ts +11 -16
- package/common/cell-click-event-args.interface.d.ts +4 -3
- package/common/create-form-group.d.ts +2 -1
- package/common/pager-settings.d.ts +7 -8
- package/common/remove-confirmation.d.ts +1 -1
- package/common/single-popup.service.d.ts +7 -6
- package/data/change-event-args.interface.d.ts +6 -7
- package/data/data-item.interface.d.ts +5 -5
- package/data/data.collection.d.ts +4 -3
- package/data/treelist-item.interface.d.ts +2 -2
- package/directives.d.ts +10 -9
- package/dragdrop/column-reorder-config.d.ts +3 -2
- package/dragdrop/column-reorder-event.d.ts +4 -6
- package/editing/add-command-tool.directive.d.ts +9 -12
- package/editing/add-command.directive.d.ts +5 -9
- package/editing/add-event-args.interface.d.ts +3 -2
- package/editing/cancel-command.directive.d.ts +5 -8
- package/editing/cancel-event-args.interface.d.ts +1 -1
- package/editing/cell-close-event.d.ts +5 -5
- package/editing/edit-command.directive.d.ts +5 -9
- package/editing/edit-event-args.interface.d.ts +4 -3
- package/editing/edit-template.directive.d.ts +2 -4
- package/editing/remove-command.directive.d.ts +5 -8
- package/editing/remove-event-args.interface.d.ts +3 -2
- package/editing/save-command.directive.d.ts +5 -8
- package/editing/save-event-args.interface.d.ts +4 -3
- package/editing-directives/create-form-group-args.interface.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +13 -5
- package/editing-directives/editing-directive-base.d.ts +3 -3
- package/editing-directives/in-cell-editing.directive.d.ts +12 -2
- package/editing-directives/reactive-editing.directive.d.ts +12 -2
- package/editing-directives/template-editing.directive.d.ts +13 -3
- package/esm2022/binding-directives/base-binding.directive.mjs +6 -3
- package/esm2022/binding-directives/flat-binding.directive.mjs +7 -8
- package/esm2022/binding-directives/hierarchy-binding.directive.mjs +13 -6
- package/esm2022/column-menu/column-chooser.component.mjs +5 -8
- package/esm2022/column-menu/column-locked-change-event.mjs +4 -2
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +3 -5
- package/esm2022/column-menu/column-menu-autosize.component.mjs +5 -7
- package/esm2022/column-menu/column-menu-chooser.component.mjs +15 -6
- package/esm2022/column-menu/column-menu-filter.component.mjs +14 -4
- package/esm2022/column-menu/column-menu-item-base.mjs +1 -1
- package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +3 -5
- package/esm2022/column-menu/column-menu-item.component.mjs +7 -10
- package/esm2022/column-menu/column-menu-item.directive.mjs +23 -1
- package/esm2022/column-menu/column-menu-lock.component.mjs +14 -4
- package/esm2022/column-menu/column-menu-sort.component.mjs +12 -2
- package/esm2022/column-menu/column-menu-template.directive.mjs +3 -5
- package/esm2022/column-menu/column-menu.component.mjs +14 -2
- package/esm2022/column-menu/column-menu.service.mjs +1 -2
- package/esm2022/column-menu/column-visibility-change-event.mjs +2 -2
- package/esm2022/columns/checkbox-column.component.mjs +16 -4
- package/esm2022/columns/column-base.mjs +15 -28
- package/esm2022/columns/column-group.component.mjs +1 -2
- package/esm2022/columns/column.component.mjs +22 -18
- package/esm2022/columns/command-column.component.mjs +3 -4
- package/esm2022/columns/rowreorder-column.component.mjs +9 -1
- package/esm2022/columns/span-column.component.mjs +11 -16
- package/esm2022/common/single-popup.service.mjs +7 -6
- package/esm2022/directives.mjs +10 -9
- package/esm2022/dragdrop/column-reorder-event.mjs +4 -6
- package/esm2022/editing/add-command-tool.directive.mjs +9 -12
- package/esm2022/editing/add-command.directive.mjs +5 -9
- package/esm2022/editing/cancel-command.directive.mjs +5 -8
- package/esm2022/editing/cell-close-event.mjs +5 -5
- package/esm2022/editing/edit-command.directive.mjs +5 -9
- package/esm2022/editing/edit-template.directive.mjs +2 -4
- package/esm2022/editing/remove-command.directive.mjs +5 -8
- package/esm2022/editing/save-command.directive.mjs +5 -8
- package/esm2022/editing-directives/editing-directive-base.mjs +3 -3
- package/esm2022/editing-directives/in-cell-editing.directive.mjs +12 -2
- package/esm2022/editing-directives/reactive-editing.directive.mjs +12 -2
- package/esm2022/editing-directives/template-editing.directive.mjs +13 -3
- package/esm2022/excel/excel-command-tool.directive.mjs +9 -11
- package/esm2022/excel/excel-command.directive.mjs +3 -7
- package/esm2022/excel/excel.component.mjs +22 -16
- package/esm2022/excel/excel.module.mjs +2 -2
- package/esm2022/expand-state/expand-event.mjs +3 -3
- package/esm2022/expand-state/expandable.directive.mjs +8 -5
- package/esm2022/filtering/base-filter-cell.component.mjs +3 -1
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +1 -0
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +5 -3
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +2 -1
- package/esm2022/filtering/cell/filter-cell-template.directive.mjs +18 -3
- package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +7 -5
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +7 -7
- package/esm2022/filtering/date-filter.component.mjs +8 -3
- package/esm2022/filtering/filter.service.mjs +2 -4
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +3 -3
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +6 -3
- package/esm2022/filtering/menu/filter-menu-template.directive.mjs +18 -2
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +9 -5
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +6 -4
- package/esm2022/filtering/numeric-filter.component.mjs +3 -3
- package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/after-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/before-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/contains-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/eq-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/filter-operator.base.mjs +1 -1
- package/esm2022/filtering/operators/gt-filter-operator.component.mjs +28 -2
- package/esm2022/filtering/operators/gte-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/lt-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/lte-filter-operator.component.mjs +28 -2
- package/esm2022/filtering/operators/neq-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/string-filter.component.mjs +1 -1
- package/esm2022/localization/custom-messages.component.mjs +11 -2
- package/esm2022/navigation/focusable.directive.mjs +4 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command-tool.directive.mjs +11 -9
- package/esm2022/pdf/pdf-command.directive.mjs +2 -2
- package/esm2022/pdf/pdf-export-event.mjs +3 -1
- package/esm2022/pdf/pdf-margin.component.mjs +10 -5
- package/esm2022/pdf/pdf-template.directive.mjs +2 -2
- package/esm2022/pdf/pdf.component.mjs +12 -2
- package/esm2022/pdf/pdf.module.mjs +6 -6
- package/esm2022/rendering/cell-template.directive.mjs +8 -9
- package/esm2022/rendering/common/spacer.component.mjs +16 -5
- package/esm2022/rendering/footer-template.directive.mjs +10 -12
- package/esm2022/rendering/header/header-template.directive.mjs +4 -4
- package/esm2022/rendering/no-records-template.directive.mjs +2 -2
- package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +13 -2
- package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +4 -6
- package/esm2022/selection/selectable.directive.mjs +12 -0
- package/esm2022/selection/selection-change-event.mjs +1 -1
- package/esm2022/treelist.component.mjs +145 -109
- package/esm2022/treelist.module.mjs +6 -8
- package/esm2022/utils.mjs +1 -1
- package/excel/excel-command-tool.directive.d.ts +9 -11
- package/excel/excel-command.directive.d.ts +3 -7
- package/excel/excel-export-data.interface.d.ts +4 -4
- package/excel/excel.component.d.ts +22 -16
- package/excel/excel.module.d.ts +2 -2
- package/expand-state/expand-event.d.ts +3 -3
- package/expand-state/expandable-tree-component.d.ts +4 -6
- package/expand-state/expandable.directive.d.ts +8 -5
- package/fesm2022/progress-kendo-angular-treelist.mjs +1470 -574
- package/filtering/base-filter-cell.component.d.ts +3 -1
- package/filtering/cell/boolean-filter-cell.component.d.ts +1 -0
- package/filtering/cell/date-filter-cell.component.d.ts +5 -3
- package/filtering/cell/filter-cell-operators.component.d.ts +2 -1
- package/filtering/cell/filter-cell-template.directive.d.ts +18 -3
- package/filtering/cell/numeric-filter-cell.component.d.ts +7 -5
- package/filtering/cell/string-filter-cell.component.d.ts +7 -7
- package/filtering/date-filter.component.d.ts +8 -3
- package/filtering/filter.service.d.ts +2 -4
- package/filtering/filterable.d.ts +3 -2
- package/filtering/menu/boolean-filter-menu.component.d.ts +3 -3
- package/filtering/menu/date-filter-menu.component.d.ts +6 -3
- package/filtering/menu/filter-menu-template.directive.d.ts +18 -2
- package/filtering/menu/numeric-filter-menu.component.d.ts +9 -5
- package/filtering/menu/string-filter-menu.component.d.ts +6 -4
- package/filtering/numeric-filter.component.d.ts +3 -3
- package/filtering/operators/after-eq-filter-operator.component.d.ts +27 -1
- package/filtering/operators/after-filter-operator.component.d.ts +27 -1
- package/filtering/operators/before-eq-filter-operator.component.d.ts +27 -1
- package/filtering/operators/before-filter-operator.component.d.ts +27 -1
- package/filtering/operators/contains-filter-operator.component.d.ts +28 -1
- package/filtering/operators/ends-with-filter-operator.component.d.ts +28 -1
- package/filtering/operators/eq-filter-operator.component.d.ts +76 -1
- package/filtering/operators/filter-operator.base.d.ts +1 -1
- package/filtering/operators/gt-filter-operator.component.d.ts +30 -0
- package/filtering/operators/gte-filter-operator.component.d.ts +27 -1
- package/filtering/operators/is-empty-filter-operator.component.d.ts +28 -1
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +28 -1
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +76 -1
- package/filtering/operators/isnull-filter-operator.component.d.ts +76 -1
- package/filtering/operators/lt-filter-operator.component.d.ts +27 -1
- package/filtering/operators/lte-filter-operator.component.d.ts +30 -0
- package/filtering/operators/neq-filter-operator.component.d.ts +76 -1
- package/filtering/operators/not-contains-filter-operator.component.d.ts +28 -1
- package/filtering/operators/starts-with-filter-operator.component.d.ts +28 -1
- package/filtering/string-filter.component.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +11 -2
- package/navigation/focusable-element.interface.d.ts +7 -11
- package/navigation/focusable.directive.d.ts +4 -4
- package/navigation/navigation-cell.interface.d.ts +5 -5
- package/navigation/navigation-row.interface.d.ts +4 -5
- package/package.json +18 -18
- package/pdf/pdf-command-tool.directive.d.ts +11 -9
- package/pdf/pdf-command.directive.d.ts +2 -2
- package/pdf/pdf-export-event.d.ts +3 -1
- package/pdf/pdf-margin.component.d.ts +10 -5
- package/pdf/pdf-margin.interface.d.ts +1 -1
- package/pdf/pdf-template.directive.d.ts +2 -2
- package/pdf/pdf.component.d.ts +12 -2
- package/pdf/pdf.module.d.ts +6 -6
- package/rendering/cell-template.directive.d.ts +8 -9
- package/rendering/common/row-class.d.ts +4 -7
- package/rendering/common/spacer.component.d.ts +16 -5
- package/rendering/footer-template.directive.d.ts +10 -12
- package/rendering/header/header-template.directive.d.ts +4 -4
- package/rendering/no-records-template.directive.d.ts +2 -2
- package/rendering/toolbar/toolbar-focusable.directive.d.ts +13 -2
- package/rendering/toolbar/toolbar-template.directive.d.ts +4 -6
- package/row-reordering/types.d.ts +4 -1
- package/schematics/ngAdd/index.js +3 -3
- package/scrolling/content-scroll-event.d.ts +2 -0
- package/scrolling/scroll-bottom-event.d.ts +2 -0
- package/scrolling/scroll-request.service.d.ts +3 -3
- package/scrolling/scrollmode.d.ts +3 -3
- package/selection/is-selected.d.ts +5 -4
- package/selection/selectable-settings.d.ts +6 -6
- package/selection/selectable.directive.d.ts +12 -0
- package/selection/selection-change-event.d.ts +2 -2
- package/treelist.component.d.ts +143 -107
- package/treelist.module.d.ts +6 -8
package/directives.d.ts
CHANGED
@@ -107,27 +107,27 @@ import { PDFCommandToolbarDirective } from './pdf/pdf-command-tool.directive';
|
|
107
107
|
import { ColumnMenuItemDirective } from './column-menu/column-menu-item.directive';
|
108
108
|
/**
|
109
109
|
* @hidden
|
110
|
-
* Utility array that contains the former Shared module exports
|
110
|
+
* Utility array that contains the former Shared module exports.
|
111
111
|
*/
|
112
112
|
export declare const SHARED_EXPORTS: readonly [typeof ColumnComponent, typeof ColumnGroupComponent, typeof LogicalCellDirective, typeof LogicalRowDirective, typeof FocusableDirective, typeof ColGroupComponent, typeof ResizableContainerDirective, typeof TemplateContextDirective, typeof FieldAccessorPipe, typeof SpanColumnComponent, typeof LoadingComponent, typeof FilterCellOperatorsComponent, typeof CheckboxColumnComponent, typeof RowReorderColumnComponent];
|
113
113
|
/**
|
114
114
|
* @hidden
|
115
|
-
* Utility array that contains the Body module exports
|
115
|
+
* Utility array that contains the Body module exports.
|
116
116
|
*/
|
117
117
|
export declare const BODY_EXPORTS: readonly [typeof CommandColumnComponent, typeof CellTemplateDirective, typeof CellComponent, typeof NoRecordsTemplateDirective, typeof EditTemplateDirective, typeof EditCommandDirective, typeof CancelCommandDirective, typeof SaveCommandDirective, typeof RemoveCommandDirective, typeof AddCommandDirective, typeof AddCommandToolbarDirective, typeof FooterTemplateDirective];
|
118
118
|
/**
|
119
119
|
* @hidden
|
120
|
-
* Utility array that contains the Header module exports
|
120
|
+
* Utility array that contains the Header module exports.
|
121
121
|
*/
|
122
122
|
export declare const HEADER_EXPORTS: readonly [typeof HeaderComponent, typeof HeaderTemplateDirective, typeof ColumnHandleDirective];
|
123
123
|
/**
|
124
124
|
* @hidden
|
125
|
-
* Utility array that contains the former SharedFilter module exports
|
125
|
+
* Utility array that contains the former SharedFilter module exports.
|
126
126
|
*/
|
127
127
|
export declare const SHARED_FILTER_EXPORTS: readonly [typeof FilterCellOperatorsComponent, typeof ContainsFilterOperatorComponent, typeof DoesNotContainFilterOperatorComponent, typeof EndsWithFilterOperatorComponent, typeof EqualFilterOperatorComponent, typeof IsEmptyFilterOperatorComponent, typeof IsNotEmptyFilterOperatorComponent, typeof IsNotNullFilterOperatorComponent, typeof IsNullFilterOperatorComponent, typeof NotEqualFilterOperatorComponent, typeof StartsWithFilterOperatorComponent, typeof GreaterFilterOperatorComponent, typeof GreaterOrEqualToFilterOperatorComponent, typeof LessFilterOperatorComponent, typeof LessOrEqualToFilterOperatorComponent, typeof AfterFilterOperatorComponent, typeof AfterEqFilterOperatorComponent, typeof BeforeEqFilterOperatorComponent, typeof BeforeFilterOperatorComponent, typeof FilterInputDirective, typeof ColumnComponent, typeof ColumnGroupComponent, typeof LogicalCellDirective, typeof LogicalRowDirective, typeof FocusableDirective, typeof ColGroupComponent, typeof ResizableContainerDirective, typeof TemplateContextDirective, typeof FieldAccessorPipe, typeof SpanColumnComponent, typeof LoadingComponent, typeof FilterCellOperatorsComponent, typeof CheckboxColumnComponent, typeof RowReorderColumnComponent];
|
128
128
|
/**
|
129
129
|
* @hidden
|
130
|
-
* Utility array that contains the former ColumnMenu module exports
|
130
|
+
* Utility array that contains the former ColumnMenu module exports.
|
131
131
|
*/
|
132
132
|
export declare const ROW_FILTER_EXPORTS: readonly [typeof FilterRowComponent, typeof FilterCellComponent, typeof FilterCellTemplateDirective, typeof StringFilterCellComponent, typeof NumericFilterCellComponent, typeof AutoCompleteFilterCellComponent, typeof BooleanFilterCellComponent, typeof FilterCellHostDirective, typeof FilterCellWrapperComponent, typeof DateFilterCellComponent, typeof FilterCellOperatorsComponent, typeof ContainsFilterOperatorComponent, typeof DoesNotContainFilterOperatorComponent, typeof EndsWithFilterOperatorComponent, typeof EqualFilterOperatorComponent, typeof IsEmptyFilterOperatorComponent, typeof IsNotEmptyFilterOperatorComponent, typeof IsNotNullFilterOperatorComponent, typeof IsNullFilterOperatorComponent, typeof NotEqualFilterOperatorComponent, typeof StartsWithFilterOperatorComponent, typeof GreaterFilterOperatorComponent, typeof GreaterOrEqualToFilterOperatorComponent, typeof LessFilterOperatorComponent, typeof LessOrEqualToFilterOperatorComponent, typeof AfterFilterOperatorComponent, typeof AfterEqFilterOperatorComponent, typeof BeforeEqFilterOperatorComponent, typeof BeforeFilterOperatorComponent, typeof FilterInputDirective, typeof ColumnComponent, typeof ColumnGroupComponent, typeof LogicalCellDirective, typeof LogicalRowDirective, typeof FocusableDirective, typeof ColGroupComponent, typeof ResizableContainerDirective, typeof TemplateContextDirective, typeof FieldAccessorPipe, typeof SpanColumnComponent, typeof LoadingComponent, typeof FilterCellOperatorsComponent, typeof CheckboxColumnComponent, typeof RowReorderColumnComponent];
|
133
133
|
/**
|
@@ -137,20 +137,21 @@ export declare const ROW_FILTER_EXPORTS: readonly [typeof FilterRowComponent, ty
|
|
137
137
|
export declare const FILTER_MENU_EXPORTS: readonly [typeof FilterMenuComponent, typeof FilterMenuContainerComponent, typeof FilterMenuInputWrapperComponent, typeof StringFilterMenuInputComponent, typeof StringFilterMenuComponent, typeof FilterMenuTemplateDirective, typeof NumericFilterMenuComponent, typeof NumericFilterMenuInputComponent, typeof DateFilterMenuInputComponent, typeof DateFilterMenuComponent, typeof FilterMenuHostDirective, typeof BooleanFilterMenuComponent, typeof BooleanFilterRadioButtonDirective];
|
138
138
|
/**
|
139
139
|
* @hidden
|
140
|
-
* Utility array that contains the former ColumnMenu module exports
|
140
|
+
* Utility array that contains the former ColumnMenu module exports.
|
141
141
|
*/
|
142
142
|
export declare const COLUMN_MENU_EXPORTS: readonly [typeof ColumnChooserComponent, typeof ColumnMenuChooserComponent, typeof ColumnMenuFilterComponent, typeof ColumnMenuItemComponent, typeof ColumnMenuItemContentTemplateDirective, typeof ColumnMenuSortComponent, typeof ColumnMenuComponent, typeof ColumnMenuLockComponent, typeof ColumnMenuTemplateDirective, typeof ColumnMenuItemDirective];
|
143
143
|
/**
|
144
144
|
* @hidden
|
145
|
-
* Utility array that contains the Excel module exports
|
145
|
+
* Utility array that contains the Excel module exports.
|
146
146
|
*/
|
147
147
|
export declare const KENDO_TREELIST_EXCEL_EXPORT: readonly [typeof ExcelComponent, typeof ExcelCommandDirective, typeof ExcelCommandToolbarDirective, typeof ExcelColumnComponent, typeof ExcelColumnGroupComponent, typeof ExcelFooterTemplateDirective, typeof ExcelGroupFooterTemplateDirective, typeof ExcelGroupHeaderColumnTemplateDirective, typeof ExcelGroupHeaderTemplateDirective];
|
148
148
|
/**
|
149
149
|
* @hidden
|
150
|
-
* Utility array that contains the PDF module exports
|
150
|
+
* Utility array that contains the PDF module exports.
|
151
151
|
*/
|
152
152
|
export declare const KENDO_TREELIST_PDF_EXPORT: readonly [typeof PDFComponent, typeof PDFMarginComponent, typeof PDFCommandDirective, typeof PDFTemplateDirective, typeof PDFCommandToolbarDirective];
|
153
153
|
/**
|
154
|
-
* Utility array that contains all `@progress/kendo-angular-treelist
|
154
|
+
* Utility array that contains all `@progress/kendo-angular-treelist`-related components and directives.
|
155
|
+
* Use it to import all TreeList components and directives into a standalone Angular application.
|
155
156
|
*/
|
156
157
|
export declare const KENDO_TREELIST: readonly [typeof TreeListComponent, typeof ToolbarTemplateDirective, typeof ToolbarComponent, typeof TreeListSpacerComponent, typeof CustomMessagesComponent, typeof TemplateEditingDirective, typeof ReactiveEditingDirective, typeof InCellEditingDirective, typeof HierarchyBindingDirective, typeof FlatBindingDirective, typeof ExpandableDirective, typeof SelectableDirective, typeof TreeListToolbarFocusableDirective, typeof ColumnComponent, typeof ColumnGroupComponent, typeof LogicalCellDirective, typeof LogicalRowDirective, typeof FocusableDirective, typeof ColGroupComponent, typeof ResizableContainerDirective, typeof TemplateContextDirective, typeof FieldAccessorPipe, typeof SpanColumnComponent, typeof LoadingComponent, typeof FilterCellOperatorsComponent, typeof CheckboxColumnComponent, typeof RowReorderColumnComponent, typeof CommandColumnComponent, typeof CellTemplateDirective, typeof CellComponent, typeof NoRecordsTemplateDirective, typeof EditTemplateDirective, typeof EditCommandDirective, typeof CancelCommandDirective, typeof SaveCommandDirective, typeof RemoveCommandDirective, typeof AddCommandDirective, typeof AddCommandToolbarDirective, typeof FooterTemplateDirective, typeof HeaderComponent, typeof HeaderTemplateDirective, typeof ColumnHandleDirective, typeof FilterRowComponent, typeof FilterCellComponent, typeof FilterCellTemplateDirective, typeof StringFilterCellComponent, typeof NumericFilterCellComponent, typeof AutoCompleteFilterCellComponent, typeof BooleanFilterCellComponent, typeof FilterCellHostDirective, typeof FilterCellWrapperComponent, typeof DateFilterCellComponent, typeof FilterCellOperatorsComponent, typeof ContainsFilterOperatorComponent, typeof DoesNotContainFilterOperatorComponent, typeof EndsWithFilterOperatorComponent, typeof EqualFilterOperatorComponent, typeof IsEmptyFilterOperatorComponent, typeof IsNotEmptyFilterOperatorComponent, typeof IsNotNullFilterOperatorComponent, typeof IsNullFilterOperatorComponent, typeof NotEqualFilterOperatorComponent, typeof StartsWithFilterOperatorComponent, typeof GreaterFilterOperatorComponent, typeof GreaterOrEqualToFilterOperatorComponent, typeof LessFilterOperatorComponent, typeof LessOrEqualToFilterOperatorComponent, typeof AfterFilterOperatorComponent, typeof AfterEqFilterOperatorComponent, typeof BeforeEqFilterOperatorComponent, typeof BeforeFilterOperatorComponent, typeof FilterInputDirective, typeof ColumnComponent, typeof ColumnGroupComponent, typeof LogicalCellDirective, typeof LogicalRowDirective, typeof FocusableDirective, typeof ColGroupComponent, typeof ResizableContainerDirective, typeof TemplateContextDirective, typeof FieldAccessorPipe, typeof SpanColumnComponent, typeof LoadingComponent, typeof FilterCellOperatorsComponent, typeof CheckboxColumnComponent, typeof RowReorderColumnComponent, typeof FilterMenuComponent, typeof FilterMenuContainerComponent, typeof FilterMenuInputWrapperComponent, typeof StringFilterMenuInputComponent, typeof StringFilterMenuComponent, typeof FilterMenuTemplateDirective, typeof NumericFilterMenuComponent, typeof NumericFilterMenuInputComponent, typeof DateFilterMenuInputComponent, typeof DateFilterMenuComponent, typeof FilterMenuHostDirective, typeof BooleanFilterMenuComponent, typeof BooleanFilterRadioButtonDirective, typeof ColumnChooserComponent, typeof ColumnMenuChooserComponent, typeof ColumnMenuFilterComponent, typeof ColumnMenuItemComponent, typeof ColumnMenuItemContentTemplateDirective, typeof ColumnMenuSortComponent, typeof ColumnMenuComponent, typeof ColumnMenuLockComponent, typeof ColumnMenuTemplateDirective, typeof ColumnMenuItemDirective, typeof ExcelComponent, typeof ExcelCommandDirective, typeof ExcelCommandToolbarDirective, typeof ExcelColumnComponent, typeof ExcelColumnGroupComponent, typeof ExcelFooterTemplateDirective, typeof ExcelGroupFooterTemplateDirective, typeof ExcelGroupHeaderColumnTemplateDirective, typeof ExcelGroupHeaderTemplateDirective, typeof PDFComponent, typeof PDFMarginComponent, typeof PDFCommandDirective, typeof PDFTemplateDirective, typeof PDFCommandToolbarDirective];
|
@@ -3,11 +3,12 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
/**
|
6
|
-
*
|
6
|
+
* Provides additional configuration for the [`reorderColumn`](slug:api_treelist_treelistcomponent#toc-reordercolumn) method. Use this interface to control the position of the reordered column.
|
7
|
+
*
|
7
8
|
*/
|
8
9
|
export interface ColumnReorderConfig {
|
9
10
|
/**
|
10
|
-
* Indicates whether the reordered column
|
11
|
+
* Indicates whether the reordered column is positioned before or after the destination index.
|
11
12
|
*/
|
12
13
|
before: boolean;
|
13
14
|
}
|
@@ -5,21 +5,19 @@
|
|
5
5
|
import { PreventableEvent } from '../common/preventable-event';
|
6
6
|
import { ColumnBase } from '../columns/column-base';
|
7
7
|
/**
|
8
|
-
*
|
8
|
+
* Provides arguments for the `columnReorder` event. Use this event to access the reordered column and its new and old indexes.
|
9
9
|
*/
|
10
10
|
export declare class ColumnReorderEvent extends PreventableEvent {
|
11
11
|
/**
|
12
|
-
*
|
12
|
+
* Specifies the reordered column.
|
13
13
|
*/
|
14
14
|
readonly column: ColumnBase;
|
15
15
|
/**
|
16
|
-
* The new index of the column.
|
17
|
-
* Relative to the collection of columns.
|
16
|
+
* The new index of the column, relative to the collection of columns.
|
18
17
|
*/
|
19
18
|
readonly newIndex: number;
|
20
19
|
/**
|
21
|
-
* The original index of the column before reordering.
|
22
|
-
* Relative to the collection of columns.
|
20
|
+
* The original index of the column before reordering, relative to the collection of columns.
|
23
21
|
*/
|
24
22
|
readonly oldIndex: number;
|
25
23
|
/**
|
@@ -6,21 +6,18 @@ import { EditService } from './edit.service';
|
|
6
6
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
|
-
* Represents the command for adding a new item to the TreeList.
|
10
|
-
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
11
|
-
* ToolbarComponent used in the TreeList.
|
12
|
-
*
|
13
|
-
* When the user clicks the toolbar button that is associated with the directive, the
|
14
|
-
* [add]({% slug api_treelist_treelistcomponent %}#toc-add) event is triggered.
|
9
|
+
* 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`]({% slug api_treelist_treelistcomponent %}#toc-add) event is triggered.
|
15
10
|
*
|
16
11
|
* @example
|
17
|
-
* ```html
|
18
|
-
* <kendo-
|
19
|
-
*
|
20
|
-
*
|
21
|
-
*
|
22
|
-
* </kendo-
|
12
|
+
* ```html
|
13
|
+
* <kendo-treelist>
|
14
|
+
* <kendo-toolbar>
|
15
|
+
* <kendo-toolbar-button text="Add new" kendoTreeListAddTool></kendo-toolbar-button>
|
16
|
+
* </kendo-toolbar>
|
17
|
+
* </kendo-treelist>
|
23
18
|
* ```
|
19
|
+
* @remarks
|
20
|
+
* Applied to: {@link ToolBarButtonComponent}
|
24
21
|
*/
|
25
22
|
export declare class AddCommandToolbarDirective {
|
26
23
|
private editService;
|
@@ -8,17 +8,13 @@ import { EditService } from './edit.service';
|
|
8
8
|
import { BaseCommandDirective } from './base-command.directive';
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
/**
|
11
|
-
* Represents the command for adding a new item to the TreeList.
|
12
|
-
* `button` element inside a [`ToolbarTemplate`](slug:toolbartemplate_treelist) or
|
13
|
-
* inside a [`CommandColumnComponent`]({% slug api_treelist_commandcolumncomponent %}).
|
11
|
+
* Represents the command for adding a new item to the TreeList. Apply this directive to any `button` element inside a [`ToolbarTemplate`](slug:toolbartemplate_treelist) or inside a [`CommandColumnComponent`]({% slug api_treelist_commandcolumncomponent %}).
|
14
12
|
*
|
15
|
-
* When
|
16
|
-
* [`add`]({% slug api_treelist_treelistcomponent %}#toc-add) event is triggered
|
17
|
-
* ([see example](slug:custom_editors_editing_treelist)).
|
13
|
+
* When the user clicks a button with this directive, the [`add`]({% slug api_treelist_treelistcomponent %}#toc-add) event is triggered ([see example](slug:custom_editors_editing_treelist)).
|
18
14
|
*
|
19
|
-
*
|
15
|
+
* The button with `kendoTreeListAddCommand` is automatically hidden when the row is in edit mode.
|
20
16
|
*
|
21
|
-
* When
|
17
|
+
* When used in the command column, the directive takes the `cellContext` from the cell template as input.
|
22
18
|
*
|
23
19
|
* @example
|
24
20
|
* ```html
|
@@ -33,7 +29,7 @@ import * as i0 from "@angular/core";
|
|
33
29
|
*/
|
34
30
|
export declare class AddCommandDirective extends BaseCommandDirective {
|
35
31
|
/**
|
36
|
-
*
|
32
|
+
* Provides the `cellContext` to the template.
|
37
33
|
*/
|
38
34
|
cellContext: any;
|
39
35
|
commandClass: boolean;
|
@@ -4,11 +4,12 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { EditEvent } from "./edit-event-args.interface";
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Provides arguments for the `add` event. Use this interface to access the parent data item when adding a new row to the TreeList.
|
8
|
+
*
|
8
9
|
*/
|
9
10
|
export interface AddEvent extends EditEvent {
|
10
11
|
/**
|
11
|
-
*
|
12
|
+
* Specifies the data item of the parent row, if any.
|
12
13
|
*/
|
13
14
|
parent: any;
|
14
15
|
}
|
@@ -8,14 +8,11 @@ import { EditService } from './edit.service';
|
|
8
8
|
import { BaseCommandDirective } from './base-command.directive';
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
/**
|
11
|
-
* Represents the `cancel` command of the TreeList.
|
12
|
-
* element inside a [`CommandColumnComponent`]({% slug api_treelist_commandcolumncomponent %}).
|
13
|
-
* When an associated button with the directive is clicked, the
|
14
|
-
* [`cancel`]({% slug api_treelist_treelistcomponent %}#toc-cancel) event
|
15
|
-
* is triggered ([see example](slug:custom_editors_editing_treelist)).
|
11
|
+
* Represents the `cancel` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`]({% slug api_treelist_commandcolumncomponent %}).
|
16
12
|
*
|
17
|
-
* When the
|
18
|
-
*
|
13
|
+
* When the user clicks a button with this directive, the [`cancel`]({% slug api_treelist_treelistcomponent %}#toc-cancel) event is triggered ([see example](slug:custom_editors_editing_treelist)).
|
14
|
+
*
|
15
|
+
* 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.
|
19
16
|
*
|
20
17
|
* @example
|
21
18
|
* ```html
|
@@ -30,7 +27,7 @@ import * as i0 from "@angular/core";
|
|
30
27
|
*/
|
31
28
|
export declare class CancelCommandDirective extends BaseCommandDirective {
|
32
29
|
/**
|
33
|
-
*
|
30
|
+
* Provides the `cellContext` to the template.
|
34
31
|
*/
|
35
32
|
cellContext: any;
|
36
33
|
commandClass: boolean;
|
@@ -4,6 +4,6 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { SaveEvent } from "./save-event-args.interface";
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Provides arguments for the `cancel` event. Use this type to access the event data when cancelling editing in the TreeList. [See example](slug:editing_reactive_forms_treelist#toc-cancelling-editing).
|
8
8
|
*/
|
9
9
|
export type CancelEvent = SaveEvent;
|
@@ -6,7 +6,8 @@ import { PreventableEvent } from '../common/preventable-event';
|
|
6
6
|
import { EditEvent } from "./edit-event-args.interface";
|
7
7
|
import type { TreeListComponent } from "../treelist.component";
|
8
8
|
/**
|
9
|
-
*
|
9
|
+
* Provides arguments for the `cellClose` event.
|
10
|
+
*
|
10
11
|
*/
|
11
12
|
export declare class CellCloseEvent extends PreventableEvent implements EditEvent {
|
12
13
|
isNew: boolean;
|
@@ -17,16 +18,15 @@ export declare class CellCloseEvent extends PreventableEvent implements EditEven
|
|
17
18
|
*/
|
18
19
|
action: string;
|
19
20
|
/**
|
20
|
-
*
|
21
|
+
* Specifies the TreeList column that will be closed.
|
21
22
|
*/
|
22
23
|
column: any;
|
23
24
|
/**
|
24
|
-
*
|
25
|
+
* Provides the [`FormGroup`](link:site.data.urls.angular['formgroupapi']) used to edit the cell that will be closed.
|
25
26
|
*/
|
26
27
|
formGroup: any;
|
27
28
|
/**
|
28
|
-
*
|
29
|
-
* May not be present if `cellClose` was caused by an API call.
|
29
|
+
* Provides the DOM event that caused the `cellClose` event. May not be present if `cellClose` was caused by an API call.
|
30
30
|
*/
|
31
31
|
originalEvent: any;
|
32
32
|
constructor(options: any);
|
@@ -8,14 +8,11 @@ import { EditService } from './edit.service';
|
|
8
8
|
import { BaseCommandDirective } from './base-command.directive';
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
/**
|
11
|
-
* Represents the `edit` command of the TreeList.
|
12
|
-
* element inside a [`CommandColumnComponent`]({% slug api_treelist_commandcolumncomponent %}).
|
13
|
-
* When an associated button with the directive is clicked, the
|
14
|
-
* [`edit`]({% slug api_treelist_treelistcomponent %}#toc-edit) event
|
15
|
-
* is triggered ([see example](slug:custom_editors_editing_treelist)).
|
11
|
+
* Represents the `edit` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`]({% slug api_treelist_commandcolumncomponent %}).
|
16
12
|
*
|
17
|
-
* When the
|
18
|
-
*
|
13
|
+
* When the user clicks a button with this directive, the [`edit`]({% slug api_treelist_treelistcomponent %}#toc-edit) event is triggered ([see example](slug:custom_editors_editing_treelist)).
|
14
|
+
*
|
15
|
+
* 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.
|
19
16
|
*
|
20
17
|
* @example
|
21
18
|
* ```html
|
@@ -27,11 +24,10 @@ import * as i0 from "@angular/core";
|
|
27
24
|
* </kendo-treelist-command-column>
|
28
25
|
* </kendo-treelist>
|
29
26
|
* ```
|
30
|
-
*
|
31
27
|
*/
|
32
28
|
export declare class EditCommandDirective extends BaseCommandDirective {
|
33
29
|
/**
|
34
|
-
*
|
30
|
+
* Provides the `cellContext` to the template.
|
35
31
|
*/
|
36
32
|
cellContext: any;
|
37
33
|
commandClass: boolean;
|
@@ -4,11 +4,12 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import type { TreeListComponent } from "../treelist.component";
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Provides arguments for the [`edit`](slug:api_treelist_treelistcomponent#toc-edit) event. Use this interface to access the data item, its state, and the TreeList component instance when editing a row.
|
8
|
+
*
|
8
9
|
*/
|
9
10
|
export interface EditEvent {
|
10
11
|
/**
|
11
|
-
*
|
12
|
+
* Specifies the data item.
|
12
13
|
*/
|
13
14
|
dataItem: any;
|
14
15
|
/**
|
@@ -16,7 +17,7 @@ export interface EditEvent {
|
|
16
17
|
*/
|
17
18
|
isNew: boolean;
|
18
19
|
/**
|
19
|
-
*
|
20
|
+
* Provides the `TreeListComponent` instance.
|
20
21
|
*/
|
21
22
|
sender: TreeListComponent;
|
22
23
|
}
|
@@ -5,15 +5,13 @@
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
|
-
* Represents the column edit-cell template of the TreeList ([see example](
|
9
|
-
* Helps to customize the content of the edited cells. To define the cell template, nest an `<ng-template>`
|
10
|
-
* tag with the `kendoTreeListEditTemplate` directive inside a `<kendo-treelist-column>` tag.
|
8
|
+
* Represents the column edit-cell template of the TreeList ([see example](slug:editing_template_forms_treelist)). 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.
|
11
9
|
*
|
12
10
|
* The template context contains the following fields:
|
13
11
|
* - `column`—The current column instance.
|
14
12
|
* - `dataItem`—The current data item.
|
15
13
|
* - `cellContext`—An object used to pass context information to built-in directives.
|
16
|
-
* - `formGroup`—The current [`FormGroup`](link:site.data.urls.angular['formgroupapi']). If you use the TreeList inside [Template-Driven Forms](link:site.data.urls.angular['forms']), `formGroup`
|
14
|
+
* - `formGroup`—The current [`FormGroup`](link:site.data.urls.angular['formgroupapi']). If you use the TreeList inside [Template-Driven Forms](link:site.data.urls.angular['forms']), `formGroup` is `undefined`.
|
17
15
|
* - `isNew`—The state of the current item.
|
18
16
|
* - `rowIndex`—The current row index. If inside a new item row, `rowIndex` is `-1`.
|
19
17
|
*
|
@@ -8,14 +8,11 @@ import { EditService } from './edit.service';
|
|
8
8
|
import { BaseCommandDirective } from './base-command.directive';
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
/**
|
11
|
-
* Represents the `remove` command of the TreeList.
|
12
|
-
* inside a [`CommandColumnComponent`]({% slug api_treelist_commandcolumncomponent %}).
|
13
|
-
* When an associated button with the directive is clicked, the
|
14
|
-
* [`remove` event]({% slug api_treelist_treelistcomponent %}#toc-remove)
|
15
|
-
* is triggered ([see example]({% slug editing_reactive_forms_treelist %})).
|
11
|
+
* Represents the `remove` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`]({% slug api_treelist_commandcolumncomponent %}).
|
16
12
|
*
|
17
|
-
*
|
18
|
-
*
|
13
|
+
* When the user clicks a button with this directive, the [`remove` event]({% slug api_treelist_treelistcomponent %}#toc-remove) is triggered ([see example]({% slug editing_reactive_forms_treelist %})).
|
14
|
+
*
|
15
|
+
* 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.
|
19
16
|
*
|
20
17
|
* @example
|
21
18
|
* ```html
|
@@ -30,7 +27,7 @@ import * as i0 from "@angular/core";
|
|
30
27
|
*/
|
31
28
|
export declare class RemoveCommandDirective extends BaseCommandDirective {
|
32
29
|
/**
|
33
|
-
*
|
30
|
+
* Provides the `cellContext` to the template.
|
34
31
|
*/
|
35
32
|
cellContext: any;
|
36
33
|
commandClass: boolean;
|
@@ -4,11 +4,12 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { EditEvent } from "./edit-event-args.interface";
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Provides arguments for the [`remove`](slug:api_treelist_treelistcomponent#toc-remove) event. Use this interface to access the parent data item when removing a row from the TreeList.
|
8
|
+
*
|
8
9
|
*/
|
9
10
|
export interface RemoveEvent extends EditEvent {
|
10
11
|
/**
|
11
|
-
*
|
12
|
+
* Specifies the data item of the parent row, if any.
|
12
13
|
*/
|
13
14
|
parent: any;
|
14
15
|
}
|
@@ -8,14 +8,11 @@ import { EditService } from './edit.service';
|
|
8
8
|
import { BaseCommandDirective } from './base-command.directive';
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
/**
|
11
|
-
* Represents the `save` command of the TreeList.
|
12
|
-
* element inside a [`CommandColumnComponent`]({% slug api_treelist_commandcolumncomponent %}).
|
13
|
-
* When an associated button with the directive is clicked, the
|
14
|
-
* [`save`]({% slug api_treelist_treelistcomponent %}#toc-save) event
|
15
|
-
* is triggered ([see example]({% slug editing_treelist %})).
|
11
|
+
* Represents the `save` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`]({% slug api_treelist_commandcolumncomponent %}).
|
16
12
|
*
|
17
|
-
* When the
|
18
|
-
*
|
13
|
+
* When the user clicks a button with this directive, the [`save`]({% slug api_treelist_treelistcomponent %}#toc-save) event is triggered ([see example]({% slug editing_treelist %})).
|
14
|
+
*
|
15
|
+
* 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.
|
19
16
|
*
|
20
17
|
* @example
|
21
18
|
* ```html
|
@@ -30,7 +27,7 @@ import * as i0 from "@angular/core";
|
|
30
27
|
*/
|
31
28
|
export declare class SaveCommandDirective extends BaseCommandDirective {
|
32
29
|
/**
|
33
|
-
*
|
30
|
+
* Provides the `cellContext` to the template.
|
34
31
|
*/
|
35
32
|
cellContext: any;
|
36
33
|
commandClass: boolean;
|
@@ -5,15 +5,16 @@
|
|
5
5
|
import { EditEvent } from "./edit-event-args.interface";
|
6
6
|
import { FormGroup } from "@angular/forms";
|
7
7
|
/**
|
8
|
-
*
|
8
|
+
* Provides arguments for the [`save`](slug:api_treelist_treelistcomponent#toc-save) event. Use this interface to access the form group and parent data item when saving a row in the TreeList.
|
9
|
+
*
|
9
10
|
*/
|
10
11
|
export interface SaveEvent extends EditEvent {
|
11
12
|
/**
|
12
|
-
*
|
13
|
+
* Specifies the edited `formGroup` instance.
|
13
14
|
*/
|
14
15
|
formGroup: FormGroup;
|
15
16
|
/**
|
16
|
-
*
|
17
|
+
* Specifies the data item of the parent row, if any.
|
17
18
|
*/
|
18
19
|
parent: any;
|
19
20
|
}
|
@@ -4,6 +4,6 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { EditEvent } from "../editing/edit-event-args.interface";
|
6
6
|
/**
|
7
|
-
* The argument
|
7
|
+
* The argument passed to the `createFormGroup` function.
|
8
8
|
*/
|
9
9
|
export type CreateFormGroupArgs = EditEvent;
|
@@ -3,24 +3,32 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
/**
|
6
|
-
* The interface
|
6
|
+
* The interface for the `editService` that you can set to the
|
7
7
|
* [editing directives]({% slug editing_directives_treelist %}#toc-custom-service) of the TreeList.
|
8
8
|
*/
|
9
9
|
export interface EditService {
|
10
10
|
/**
|
11
|
-
*
|
11
|
+
* Creates a new item.
|
12
|
+
* @param item The item to create.
|
13
|
+
* @param parent The parent item, if any.
|
14
|
+
* @param id The unique identifier, if any.
|
12
15
|
*/
|
13
16
|
create(item: any, parent?: any, id?: any): void;
|
14
17
|
/**
|
15
|
-
*
|
18
|
+
* Updates the items for an existing item.
|
19
|
+
* @param item The item to update.
|
16
20
|
*/
|
17
21
|
update(item: any): void;
|
18
22
|
/**
|
19
|
-
*
|
23
|
+
* Removes an existing item.
|
24
|
+
* @param item The item to remove.
|
25
|
+
* @param parent The parent item, if any.
|
20
26
|
*/
|
21
27
|
remove(item: any, parent?: any): void;
|
22
28
|
/**
|
23
|
-
*
|
29
|
+
* Sets new values to an item.
|
30
|
+
* @param target The item to update.
|
31
|
+
* @param source The values to assign.
|
24
32
|
*/
|
25
33
|
assignValues(target: any, source: any): void;
|
26
34
|
}
|
@@ -14,19 +14,19 @@ import * as i0 from "@angular/core";
|
|
14
14
|
export declare abstract class EditingDirectiveBase implements OnInit, OnDestroy {
|
15
15
|
protected treelist: TreeListComponent;
|
16
16
|
/**
|
17
|
-
* The edit service that
|
17
|
+
* The edit service that handles the operations.
|
18
18
|
*/
|
19
19
|
set editService(value: EditService);
|
20
20
|
get editService(): EditService;
|
21
21
|
/**
|
22
|
-
* Gets or sets a function that
|
22
|
+
* Gets or sets a function that determines the unique identifier
|
23
23
|
* for new items. The function receives the `item` and its `parent` as parameters
|
24
24
|
* and must return an ID.
|
25
25
|
*/
|
26
26
|
set newItemId(callback: (item: any, parent?: any) => any);
|
27
27
|
get newItemId(): (item: any, parent?: any) => any;
|
28
28
|
/**
|
29
|
-
* A function that
|
29
|
+
* A function that confirms if the `dataItem` will be removed.
|
30
30
|
*/
|
31
31
|
removeConfirmation: RemoveConfirmationCallback;
|
32
32
|
protected subscriptions: Subscription;
|
@@ -7,8 +7,18 @@ import { TreeListComponent } from '../treelist.component';
|
|
7
7
|
import { CreateFormGroup } from '../common/create-form-group';
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
/**
|
10
|
-
* A directive
|
11
|
-
* editing with Reactive Forms
|
10
|
+
* A directive that encapsulates the editing operations of the TreeList when using the in-cell
|
11
|
+
* editing with Reactive Forms. [See example](slug:editing_directives_treelist#toc-in-cell-editing-directive).
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* ```html
|
15
|
+
* <kendo-treelist [kendoTreeListInCellEditing]="createFormGroup">
|
16
|
+
* <kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
|
17
|
+
* <kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
|
18
|
+
* </kendo-treelist>
|
19
|
+
* ```
|
20
|
+
* @remarks
|
21
|
+
* Applied to: {@link TreeListComponent}.
|
12
22
|
*/
|
13
23
|
export declare class InCellEditingDirective extends EditingDirectiveBase {
|
14
24
|
protected treelist: TreeListComponent;
|
@@ -7,8 +7,18 @@ import { TreeListComponent } from '../treelist.component';
|
|
7
7
|
import { CreateFormGroup } from '../common/create-form-group';
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
/**
|
10
|
-
* A directive
|
11
|
-
* Reactive Forms
|
10
|
+
* A directive that encapsulates the editing operations of the TreeList when using the
|
11
|
+
* Reactive Forms. [See example](slug:editing_directives_treelist#toc-reactive-editing-directive).
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* ```html
|
15
|
+
* <kendo-treelist [kendoTreeListReactiveEditing]="createFormGroup">
|
16
|
+
* <kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
|
17
|
+
* <kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
|
18
|
+
* </kendo-treelist>
|
19
|
+
* ```
|
20
|
+
* @remarks
|
21
|
+
* Applied to: {@link TreeListComponent}.
|
12
22
|
*/
|
13
23
|
export declare class ReactiveEditingDirective extends RowEditingDirectiveBase {
|
14
24
|
protected treelist: TreeListComponent;
|
@@ -6,13 +6,23 @@ import { RowEditingDirectiveBase } from './row-editing-directive-base';
|
|
6
6
|
import { TreeListComponent } from '../treelist.component';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
|
-
* A directive
|
10
|
-
*
|
9
|
+
* A directive that encapsulates the editing operations of the TreeList when using
|
10
|
+
* Template-Driven Angular Forms. [See example](slug:editing_directives_treelist#toc-template-editing-directive).
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* ```html
|
14
|
+
* <kendo-treelist [kendoTreeListTemplateEditing]="createNewItem">
|
15
|
+
* <kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
|
16
|
+
* <kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
|
17
|
+
* </kendo-treelist>
|
18
|
+
* ```
|
19
|
+
* @remarks
|
20
|
+
* Applied to: {@link TreeListComponent}.
|
11
21
|
*/
|
12
22
|
export declare class TemplateEditingDirective extends RowEditingDirectiveBase {
|
13
23
|
protected treelist: TreeListComponent;
|
14
24
|
/**
|
15
|
-
* The function that creates the `dataItem` for
|
25
|
+
* The function that creates the `dataItem` for new rows.
|
16
26
|
*/
|
17
27
|
createNewItem: Function;
|
18
28
|
protected originalValues: any;
|
@@ -12,23 +12,26 @@ import { RowReorderService } from './../row-reordering/row-reorder.service';
|
|
12
12
|
import * as i0 from "@angular/core";
|
13
13
|
import * as i1 from "./data-bound-tree-component";
|
14
14
|
import * as i2 from "./../row-reordering/row-reorder.service";
|
15
|
+
/**
|
16
|
+
* @hidden
|
17
|
+
*/
|
15
18
|
export class BaseBindingDirective {
|
16
19
|
component;
|
17
20
|
rowReorderService;
|
18
21
|
/**
|
19
|
-
*
|
22
|
+
* Sets the descriptors that sort the data.
|
20
23
|
*/
|
21
24
|
set sort(value) {
|
22
25
|
this.component.sort = this.state.sort = value;
|
23
26
|
}
|
24
27
|
/**
|
25
|
-
*
|
28
|
+
* Sets the descriptor that filters the data.
|
26
29
|
*/
|
27
30
|
set filter(value) {
|
28
31
|
this.component.filter = this.state.filter = value;
|
29
32
|
}
|
30
33
|
/**
|
31
|
-
*
|
34
|
+
* Sets the descriptor that aggregates the data.
|
32
35
|
*/
|
33
36
|
set aggregate(value) {
|
34
37
|
this._aggregate = value;
|