@progress/kendo-angular-grid 20.1.2-develop.2 → 21.0.0-develop.11
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/codemods/template-transformer/index.js +1 -2
- package/codemods/utils.js +2 -2
- package/codemods/v20/grid-kendogridgroupbinding.js +1 -1
- package/column-resizing/column-resizing.service.d.ts +1 -0
- package/data/data-item.interface.d.ts +1 -1
- package/esm2022/adaptiveness/adaptive-renderer.component.mjs +4 -4
- package/esm2022/aggregates/selection-aggregate.service.mjs +4 -4
- package/esm2022/aggregates/status-bar-template.directive.mjs +4 -4
- package/esm2022/aggregates/status-bar.component.mjs +4 -4
- package/esm2022/column-menu/column-chooser-content.component.mjs +5 -5
- package/esm2022/column-menu/column-chooser.component.mjs +4 -4
- package/esm2022/column-menu/column-list-kb-nav.service.mjs +4 -4
- package/esm2022/column-menu/column-list.component.mjs +5 -5
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +4 -4
- package/esm2022/column-menu/column-menu-autosize.component.mjs +4 -4
- package/esm2022/column-menu/column-menu-chooser.component.mjs +4 -4
- package/esm2022/column-menu/column-menu-container.component.mjs +5 -5
- package/esm2022/column-menu/column-menu-filter.component.mjs +4 -4
- package/esm2022/column-menu/column-menu-item-base.mjs +3 -3
- package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +5 -5
- package/esm2022/column-menu/column-menu-item.component.mjs +4 -4
- package/esm2022/column-menu/column-menu-item.directive.mjs +4 -4
- package/esm2022/column-menu/column-menu-lock.component.mjs +4 -4
- package/esm2022/column-menu/column-menu-position.component.mjs +4 -4
- package/esm2022/column-menu/column-menu-sort.component.mjs +4 -4
- package/esm2022/column-menu/column-menu-stick.component.mjs +4 -4
- package/esm2022/column-menu/column-menu-template.directive.mjs +5 -5
- package/esm2022/column-menu/column-menu.component.mjs +5 -5
- package/esm2022/column-menu/column-menu.service.mjs +4 -4
- package/esm2022/column-resizing/column-handle.directive.mjs +5 -5
- package/esm2022/column-resizing/column-resizing.service.mjs +58 -4
- package/esm2022/column-resizing/table.directive.mjs +4 -4
- package/esm2022/columns/checkbox-column.component.mjs +5 -5
- package/esm2022/columns/column-base.mjs +4 -4
- package/esm2022/columns/column-group.component.mjs +5 -5
- package/esm2022/columns/column.component.mjs +5 -5
- package/esm2022/columns/command-column.component.mjs +5 -5
- package/esm2022/columns/reorder-column.component.mjs +5 -5
- package/esm2022/columns/span-column.component.mjs +5 -5
- package/esm2022/common/adaptiveness.service.mjs +4 -4
- package/esm2022/common/clipboard.directive.mjs +4 -4
- package/esm2022/common/clipboard.service.mjs +4 -4
- package/esm2022/common/column-info.service.mjs +3 -3
- package/esm2022/common/dom-events.service.mjs +3 -3
- package/esm2022/common/id.service.mjs +4 -4
- package/esm2022/common/provider.service.mjs +4 -4
- package/esm2022/common/single-popup.service.mjs +4 -4
- package/esm2022/common/toolbar-tool-base.directive.mjs +5 -5
- package/esm2022/data/change-notification.service.mjs +4 -4
- package/esm2022/data/data-mapping.service.mjs +4 -4
- package/esm2022/databinding.directive.mjs +4 -4
- package/esm2022/dragdrop/column-reorder.service.mjs +3 -3
- package/esm2022/dragdrop/drag-and-drop.service.mjs +3 -3
- package/esm2022/dragdrop/drag-hint.service.mjs +4 -4
- package/esm2022/dragdrop/draggable-column.directive.mjs +5 -5
- package/esm2022/dragdrop/drop-cue.service.mjs +3 -3
- package/esm2022/dragdrop/drop-target.directive.mjs +4 -4
- package/esm2022/editing/add-command-tool.directive.mjs +4 -4
- package/esm2022/editing/add-command.directive.mjs +4 -4
- package/esm2022/editing/cancel-command-tool.directive.mjs +4 -4
- package/esm2022/editing/cancel-command.directive.mjs +5 -5
- package/esm2022/editing/edit-command-tool.directive.mjs +4 -4
- package/esm2022/editing/edit-command.directive.mjs +5 -5
- package/esm2022/editing/edit-template.directive.mjs +5 -5
- package/esm2022/editing/edit.service.mjs +5 -5
- package/esm2022/editing/form/dialog-form.component.mjs +4 -4
- package/esm2022/editing/form/form-formfield.component.mjs +4 -4
- package/esm2022/editing/form/form.component.mjs +3 -3
- package/esm2022/editing/local-data-changes.service.mjs +3 -3
- package/esm2022/editing/remove-command-tool.directive.mjs +4 -4
- package/esm2022/editing/remove-command.directive.mjs +5 -5
- package/esm2022/editing/save-command-tool.directive.mjs +4 -4
- package/esm2022/editing/save-command.directive.mjs +5 -5
- package/esm2022/editing/toolbar-editing-tool-base.directive.mjs +5 -5
- package/esm2022/editing-directives/editing-directive-base.mjs +4 -4
- package/esm2022/editing-directives/external-editing.directive.mjs +4 -4
- package/esm2022/editing-directives/in-cell-editing.directive.mjs +4 -4
- package/esm2022/editing-directives/reactive-editing.directive.mjs +4 -4
- package/esm2022/editing-directives/row-editing-directive-base.mjs +3 -3
- package/esm2022/editing-directives/template-editing.directive.mjs +4 -4
- package/esm2022/excel/excel-command-tool.directive.mjs +4 -4
- package/esm2022/excel/excel-command.directive.mjs +4 -4
- package/esm2022/excel/excel.component.mjs +4 -4
- package/esm2022/excel/excel.module.mjs +4 -4
- package/esm2022/excel/excel.service.mjs +3 -3
- package/esm2022/filtering/base-filter-cell.component.mjs +4 -4
- package/esm2022/filtering/boolean-filter.component.mjs +4 -4
- package/esm2022/filtering/cell/autocomplete-filter-cell.component.mjs +4 -4
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +4 -4
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +4 -4
- package/esm2022/filtering/cell/filter-cell-host.directive.mjs +4 -4
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +4 -4
- package/esm2022/filtering/cell/filter-cell-template.directive.mjs +5 -5
- package/esm2022/filtering/cell/filter-cell-wrapper.component.mjs +4 -4
- package/esm2022/filtering/cell/filter-cell.component.mjs +3 -3
- package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +4 -4
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +4 -4
- package/esm2022/filtering/date-filter.component.mjs +4 -4
- package/esm2022/filtering/filter-host.directive.mjs +4 -4
- package/esm2022/filtering/filter-input-wrapper.component.mjs +4 -4
- package/esm2022/filtering/filter-input.directive.mjs +5 -5
- package/esm2022/filtering/filter-row.component.mjs +4 -4
- package/esm2022/filtering/filter.service.mjs +5 -5
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +4 -4
- package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +4 -4
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +4 -4
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +5 -5
- package/esm2022/filtering/menu/filter-menu-dropdownlist.directive.mjs +4 -4
- package/esm2022/filtering/menu/filter-menu-host.directive.mjs +4 -4
- package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +4 -4
- package/esm2022/filtering/menu/filter-menu-template.directive.mjs +5 -5
- package/esm2022/filtering/menu/filter-menu.component.mjs +5 -5
- package/esm2022/filtering/menu/filter-radio-button.directive.mjs +4 -4
- package/esm2022/filtering/menu/menu-tabbing.service.mjs +3 -3
- package/esm2022/filtering/menu/numeric-filter-menu-input.component.mjs +4 -4
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +4 -4
- package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +4 -4
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +4 -4
- package/esm2022/filtering/multicheckbox-filter.component.mjs +4 -4
- package/esm2022/filtering/numeric-filter.component.mjs +4 -4
- package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/after-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/before-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/contains-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/eq-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/filter-operator.base.mjs +5 -5
- package/esm2022/filtering/operators/gt-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/gte-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/lt-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/lte-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/neq-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +4 -4
- package/esm2022/filtering/string-filter.component.mjs +4 -4
- package/esm2022/grid.component.mjs +22 -4
- package/esm2022/grid.module.mjs +4 -4
- package/esm2022/grouping/group-footer-template.directive.mjs +5 -5
- package/esm2022/grouping/group-header-column-template.directive.mjs +5 -5
- package/esm2022/grouping/group-header-template.directive.mjs +5 -5
- package/esm2022/grouping/group-header.component.mjs +4 -4
- package/esm2022/grouping/group-panel.component.mjs +4 -4
- package/esm2022/grouping/groups.service.mjs +3 -3
- package/esm2022/highlight/highlight.directive.mjs +4 -4
- package/esm2022/layout/browser-support.service.mjs +4 -4
- package/esm2022/layout/resizable.directive.mjs +4 -4
- package/esm2022/layout/resize.service.mjs +3 -3
- package/esm2022/layout/responsive.service.mjs +3 -3
- package/esm2022/layout/sizing-options.service.mjs +3 -3
- package/esm2022/localization/custom-messages.component.mjs +4 -4
- package/esm2022/localization/localized-messages.directive.mjs +4 -4
- package/esm2022/localization/messages.mjs +3 -3
- package/esm2022/navigation/focus-group.mjs +4 -4
- package/esm2022/navigation/focus-root.mjs +5 -5
- package/esm2022/navigation/focusable.directive.mjs +5 -5
- package/esm2022/navigation/logical-cell.directive.mjs +5 -5
- package/esm2022/navigation/logical-row.directive.mjs +4 -4
- package/esm2022/navigation/navigation.service.mjs +6 -6
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command-tool.directive.mjs +4 -4
- package/esm2022/pdf/pdf-command.directive.mjs +4 -4
- package/esm2022/pdf/pdf-margin.component.mjs +3 -3
- package/esm2022/pdf/pdf-template.directive.mjs +5 -5
- package/esm2022/pdf/pdf.component.mjs +5 -5
- package/esm2022/pdf/pdf.module.mjs +4 -4
- package/esm2022/pdf/pdf.service.mjs +3 -3
- package/esm2022/rendering/cell-loading.template.directive.mjs +5 -5
- package/esm2022/rendering/cell-template.directive.mjs +5 -5
- package/esm2022/rendering/cell.component.mjs +5 -5
- package/esm2022/rendering/common/col-group.component.mjs +4 -4
- package/esm2022/rendering/common/field-accessor.pipe.mjs +4 -4
- package/esm2022/rendering/common/format.pipe.mjs +4 -4
- package/esm2022/rendering/common/loading.component.mjs +4 -4
- package/esm2022/rendering/common/spacer.component.mjs +3 -3
- package/esm2022/rendering/details/detail-template.directive.mjs +5 -5
- package/esm2022/rendering/details/details.service.mjs +3 -3
- package/esm2022/rendering/details-expand.directive.mjs +4 -4
- package/esm2022/rendering/footer/footer-template.directive.mjs +5 -5
- package/esm2022/rendering/footer/footer.component.mjs +4 -4
- package/esm2022/rendering/grid-table.directive.mjs +4 -4
- package/esm2022/rendering/groups-expand.directive.mjs +4 -4
- package/esm2022/rendering/header/header-template.directive.mjs +5 -5
- package/esm2022/rendering/header/header.component.mjs +4 -4
- package/esm2022/rendering/list.component.mjs +5 -5
- package/esm2022/rendering/loading-template.directive.mjs +4 -4
- package/esm2022/rendering/no-records-template.directive.mjs +5 -5
- package/esm2022/rendering/table-body.component.mjs +4 -4
- package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +4 -4
- package/esm2022/rendering/toolbar/toolbar-navigation.service.mjs +4 -4
- package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +5 -5
- package/esm2022/rendering/toolbar/toolbar.component.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-assistant.component.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-tool.directive.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/filter-command-tool.directive.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/filter-tool-wrapper.component.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/group-command-tool.directive.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/select-all-command-tool.directive.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/sort-command-tool.directive.mjs +4 -4
- package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +4 -4
- package/esm2022/row-reordering/drag-handle-template.directive.mjs +5 -5
- package/esm2022/row-reordering/drag-hint-template.directive.mjs +5 -5
- package/esm2022/row-reordering/row-reorder.service.mjs +4 -4
- package/esm2022/scrolling/scroll-request.service.mjs +3 -3
- package/esm2022/scrolling/scroll-sync.service.mjs +4 -4
- package/esm2022/scrolling/suspend.service.mjs +3 -3
- package/esm2022/selection/cell-selection.service.mjs +4 -4
- package/esm2022/selection/marquee.directive.mjs +4 -4
- package/esm2022/selection/selectall-checkbox.directive.mjs +5 -5
- package/esm2022/selection/selection-checkbox.directive.mjs +6 -6
- package/esm2022/selection/selection-default.mjs +4 -4
- package/esm2022/selection/selection.directive.mjs +4 -4
- package/esm2022/selection/selection.service.mjs +4 -4
- package/esm2022/state-management/redo-command-tool.mjs +5 -5
- package/esm2022/state-management/undo-command-tool.mjs +5 -5
- package/esm2022/state-management/undo-redo.directive.mjs +4 -4
- package/esm2022/state-management/undo-redo.service.mjs +3 -3
- package/fesm2022/progress-kendo-angular-grid.mjs +976 -904
- package/filtering/filterable.d.ts +1 -1
- package/grid.component.d.ts +8 -0
- package/package.json +29 -26
- package/schematics/ngAdd/index.js +10 -5
|
@@ -183,16 +183,16 @@ export class Selection {
|
|
|
183
183
|
this.rowSelectionState = new Set(selectedKeys);
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
187
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
186
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Selection, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
187
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: Selection, selector: "kendo-grid-selection-base", inputs: { selectedKeys: "selectedKeys", rangeSelectionStartRow: "rangeSelectionStartRow", rangeSelectionStartColumnIndex: "rangeSelectionStartColumnIndex", selectionKey: ["kendoGridSelectBy", "selectionKey"], columnKey: "columnKey" }, outputs: { selectedKeysChange: "selectedKeysChange" }, usesOnChanges: true, ngImport: i0 });
|
|
188
188
|
}
|
|
189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Selection, decorators: [{
|
|
190
190
|
type: Directive,
|
|
191
191
|
args: [{
|
|
192
192
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
193
193
|
selector: 'kendo-grid-selection-base'
|
|
194
194
|
}]
|
|
195
|
-
}], ctorParameters:
|
|
195
|
+
}], ctorParameters: () => [{ type: i1.ContextService }, { type: i0.ChangeDetectorRef }], propDecorators: { selectedKeys: [{
|
|
196
196
|
type: Input
|
|
197
197
|
}], rangeSelectionStartRow: [{
|
|
198
198
|
type: Input
|
|
@@ -41,13 +41,13 @@ export class SelectionDirective extends Selection {
|
|
|
41
41
|
ngOnDestroy() {
|
|
42
42
|
super.destroy();
|
|
43
43
|
}
|
|
44
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
45
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
44
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectionDirective, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
45
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: SelectionDirective, isStandalone: true, selector: "[kendoGridSelectBy]", usesInheritance: true, ngImport: i0 });
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectionDirective, decorators: [{
|
|
48
48
|
type: Directive,
|
|
49
49
|
args: [{
|
|
50
50
|
selector: '[kendoGridSelectBy]',
|
|
51
51
|
standalone: true
|
|
52
52
|
}]
|
|
53
|
-
}], ctorParameters:
|
|
53
|
+
}], ctorParameters: () => [{ type: i1.ContextService }, { type: i0.ChangeDetectorRef }] });
|
|
@@ -458,9 +458,9 @@ export class SelectionService {
|
|
|
458
458
|
this.currentSelection[row.index] = row;
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
462
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
461
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectionService, deps: [{ token: i1.DomEventsService }, { token: i2.CellSelectionAggregateService }, { token: i3.LocalDataChangesService }, { token: i4.NavigationService }, { token: i5.ContextService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
462
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectionService });
|
|
463
463
|
}
|
|
464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectionService, decorators: [{
|
|
465
465
|
type: Injectable
|
|
466
|
-
}], ctorParameters:
|
|
466
|
+
}], ctorParameters: () => [{ type: i1.DomEventsService }, { type: i2.CellSelectionAggregateService }, { type: i3.LocalDataChangesService }, { type: i4.NavigationService }, { type: i5.ContextService }] });
|
|
@@ -60,15 +60,15 @@ export class RedoCommandToolbarDirective {
|
|
|
60
60
|
*/
|
|
61
61
|
onClick(e) {
|
|
62
62
|
e.preventDefault();
|
|
63
|
-
this.undoRedoService.onRedo.next();
|
|
63
|
+
this.undoRedoService.onRedo.next(undefined);
|
|
64
64
|
}
|
|
65
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
66
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RedoCommandToolbarDirective, deps: [{ token: i1.UndoRedoService }, { token: i2.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
66
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: RedoCommandToolbarDirective, isStandalone: true, selector: "[kendoGridRedoTool]", ngImport: i0 });
|
|
67
67
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RedoCommandToolbarDirective, decorators: [{
|
|
69
69
|
type: Directive,
|
|
70
70
|
args: [{
|
|
71
71
|
selector: '[kendoGridRedoTool]',
|
|
72
72
|
standalone: true,
|
|
73
73
|
}]
|
|
74
|
-
}], ctorParameters:
|
|
74
|
+
}], ctorParameters: () => [{ type: i1.UndoRedoService }, { type: i2.ToolBarButtonComponent }] });
|
|
@@ -60,15 +60,15 @@ export class UndoCommandToolbarDirective {
|
|
|
60
60
|
*/
|
|
61
61
|
onClick(e) {
|
|
62
62
|
e.preventDefault();
|
|
63
|
-
this.undoRedoService.onUndo.next();
|
|
63
|
+
this.undoRedoService.onUndo.next(undefined);
|
|
64
64
|
}
|
|
65
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
66
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UndoCommandToolbarDirective, deps: [{ token: i1.UndoRedoService }, { token: i2.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
66
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: UndoCommandToolbarDirective, isStandalone: true, selector: "[kendoGridUndoTool]", ngImport: i0 });
|
|
67
67
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UndoCommandToolbarDirective, decorators: [{
|
|
69
69
|
type: Directive,
|
|
70
70
|
args: [{
|
|
71
71
|
selector: '[kendoGridUndoTool]',
|
|
72
72
|
standalone: true,
|
|
73
73
|
}]
|
|
74
|
-
}], ctorParameters:
|
|
74
|
+
}], ctorParameters: () => [{ type: i1.UndoRedoService }, { type: i2.ToolBarButtonComponent }] });
|
|
@@ -225,10 +225,10 @@ export class UndoRedoDirective {
|
|
|
225
225
|
isDataStateChangeEvent(event) {
|
|
226
226
|
return event && ['skip', 'take', 'sort', 'filter', 'group'].some(prop => prop in event);
|
|
227
227
|
}
|
|
228
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
229
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
228
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UndoRedoDirective, deps: [{ token: i1.GridComponent }, { token: i2.EditService }, { token: i3.UndoRedoService }, { token: i4.ChangeNotificationService }, { token: i5.ContextService }, { token: i6.LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
229
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: UndoRedoDirective, isStandalone: true, selector: "[kendoGridUndoRedo]", inputs: { maxStoredStates: "maxStoredStates", itemIdKey: "itemIdKey" }, outputs: { onUndo: "undo", onRedo: "redo" }, providers: [UndoRedoService], exportAs: ["kendoGridUndoRedo"], ngImport: i0 });
|
|
230
230
|
}
|
|
231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UndoRedoDirective, decorators: [{
|
|
232
232
|
type: Directive,
|
|
233
233
|
args: [{
|
|
234
234
|
selector: '[kendoGridUndoRedo]',
|
|
@@ -236,7 +236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
236
236
|
exportAs: 'kendoGridUndoRedo',
|
|
237
237
|
providers: [UndoRedoService]
|
|
238
238
|
}]
|
|
239
|
-
}], ctorParameters:
|
|
239
|
+
}], ctorParameters: () => [{ type: i1.GridComponent }, { type: i2.EditService }, { type: i3.UndoRedoService }, { type: i4.ChangeNotificationService }, { type: i5.ContextService }, { type: i6.LocalDataChangesService }], propDecorators: { maxStoredStates: [{
|
|
240
240
|
type: Input
|
|
241
241
|
}], itemIdKey: [{
|
|
242
242
|
type: Input
|
|
@@ -13,9 +13,9 @@ export class UndoRedoService {
|
|
|
13
13
|
onUndo = new Subject();
|
|
14
14
|
onRedo = new Subject();
|
|
15
15
|
stackEndReached = new Subject();
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UndoRedoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UndoRedoService });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UndoRedoService, decorators: [{
|
|
20
20
|
type: Injectable
|
|
21
21
|
}] });
|