@progress/kendo-angular-treelist 17.0.0-develop.21 → 17.0.0-develop.22
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 +1 -1
- package/binding-directives/flat-binding.directive.d.ts +1 -1
- package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
- package/column-menu/column-chooser.component.d.ts +1 -1
- package/column-menu/column-list.component.d.ts +1 -1
- package/column-menu/column-menu-chooser.component.d.ts +1 -1
- package/column-menu/column-menu-filter.component.d.ts +1 -1
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item.component.d.ts +1 -1
- package/column-menu/column-menu.component.d.ts +1 -1
- package/column-resizing/column-handle.directive.d.ts +1 -1
- package/column-resizing/column-resize.interface.d.ts +3 -3
- package/column-resizing/table.directive.d.ts +1 -1
- package/columns/checkbox-column.component.d.ts +1 -1
- package/columns/column-base.d.ts +1 -1
- package/columns/column.component.d.ts +1 -1
- package/columns/sort-settings.d.ts +2 -2
- package/columns/span-column.component.d.ts +13 -13
- package/common/create-form-group.d.ts +1 -1
- package/common/provider.service.d.ts +0 -1
- package/common/remove-confirmation.d.ts +1 -1
- package/data/treelist-item.interface.d.ts +1 -1
- package/dragdrop/context-types.d.ts +1 -1
- package/dragdrop/draggable-column.directive.d.ts +1 -1
- package/dragdrop/drop-target.directive.d.ts +1 -1
- package/editing/add-command.directive.d.ts +1 -1
- package/editing/cancel-command.directive.d.ts +1 -1
- package/editing/cancel-event-args.interface.d.ts +1 -1
- package/editing/edit-command.directive.d.ts +1 -1
- package/editing/edit.service.d.ts +3 -3
- package/editing/remove-command.directive.d.ts +1 -1
- package/editing/save-command.directive.d.ts +1 -1
- package/editing-directives/create-form-group-args.interface.d.ts +1 -1
- package/editing-directives/editing-directive-base.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/row-editing-directive-base.d.ts +0 -1
- package/editing-directives/template-editing.directive.d.ts +1 -2
- package/{esm2020 → esm2022}/binding-directives/base-binding.directive.mjs +17 -13
- package/{esm2020 → esm2022}/binding-directives/data-bound-tree-component.mjs +3 -3
- package/{esm2020 → esm2022}/binding-directives/flat-binding.directive.mjs +29 -21
- package/{esm2020 → esm2022}/binding-directives/hierarchy-binding.directive.mjs +26 -19
- package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +26 -18
- package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +28 -16
- package/{esm2020 → esm2022}/column-menu/column-locked-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-menu/column-menu-chooser.component.mjs +28 -25
- package/{esm2020 → esm2022}/column-menu/column-menu-filter.component.mjs +23 -22
- package/{esm2020 → esm2022}/column-menu/column-menu-item-base.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-item-content-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/column-menu/column-menu-item.component.mjs +67 -42
- package/{esm2020 → esm2022}/column-menu/column-menu-lock.component.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-sort.component.mjs +8 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/column-menu/column-menu.component.mjs +49 -25
- package/{esm2020 → esm2022}/column-menu/column-menu.service.mjs +23 -9
- package/{esm2020 → esm2022}/column-menu/column-visibility-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-resizing/column-handle.directive.mjs +21 -14
- package/{esm2020 → esm2022}/column-resizing/column-resizing.service.mjs +8 -8
- package/{esm2020 → esm2022}/column-resizing/table.directive.mjs +17 -8
- package/{esm2020 → esm2022}/columns/checkbox-column.component.mjs +27 -12
- package/{esm2020 → esm2022}/columns/column-base.mjs +140 -72
- package/{esm2020 → esm2022}/columns/column-group.component.mjs +24 -20
- package/{esm2020 → esm2022}/columns/column-list.mjs +4 -3
- package/{esm2020 → esm2022}/columns/column.component.mjs +56 -38
- package/{esm2020 → esm2022}/columns/columns-container.mjs +14 -13
- package/{esm2020 → esm2022}/columns/command-column.component.mjs +11 -9
- package/{esm2020 → esm2022}/columns/rowreorder-column.component.mjs +13 -12
- package/{esm2020 → esm2022}/columns/span-column.component.mjs +64 -29
- package/{esm2020 → esm2022}/common/column-info.service.mjs +8 -9
- package/esm2022/common/dom-events.service.mjs +24 -0
- package/{esm2020 → esm2022}/common/id.service.mjs +4 -3
- package/{esm2020 → esm2022}/common/option-changes.service.mjs +5 -7
- package/{esm2020 → esm2022}/common/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/common/provider.service.mjs +8 -6
- package/{esm2020 → esm2022}/common/single-popup.service.mjs +19 -8
- package/{esm2020 → esm2022}/common/sort.service.mjs +1 -3
- package/{esm2020 → esm2022}/data/change-notification.service.mjs +6 -4
- package/{esm2020 → esm2022}/data/data.collection.mjs +45 -23
- package/{esm2020 → esm2022}/dragdrop/column-reorder-event.mjs +14 -0
- package/{esm2020 → esm2022}/dragdrop/column-reorder.service.mjs +4 -6
- package/{esm2020 → esm2022}/dragdrop/drag-and-drop.service.mjs +6 -8
- package/{esm2020 → esm2022}/dragdrop/drag-hint.service.mjs +7 -4
- package/{esm2020 → esm2022}/dragdrop/draggable-column.directive.mjs +22 -13
- package/{esm2020 → esm2022}/dragdrop/drop-cue.service.mjs +4 -3
- package/{esm2020 → esm2022}/dragdrop/drop-target.directive.mjs +10 -8
- package/{esm2020 → esm2022}/editing/add-command-tool.directive.mjs +6 -4
- package/{esm2020 → esm2022}/editing/add-command.directive.mjs +10 -6
- package/{esm2020 → esm2022}/editing/base-command.directive.mjs +9 -8
- package/{esm2020 → esm2022}/editing/cancel-command.directive.mjs +10 -6
- package/{esm2020 → esm2022}/editing/cell-close-event.mjs +20 -4
- package/{esm2020 → esm2022}/editing/edit-command.directive.mjs +10 -6
- package/{esm2020 → esm2022}/editing/edit-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/editing/edit.service.mjs +18 -13
- package/{esm2020 → esm2022}/editing/remove-command.directive.mjs +10 -6
- package/{esm2020 → esm2022}/editing/save-command.directive.mjs +10 -6
- package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +17 -7
- package/{esm2020 → esm2022}/editing-directives/flat-edit.service.mjs +1 -0
- package/{esm2020 → esm2022}/editing-directives/hierarchy-edit.service.mjs +1 -0
- package/{esm2020 → esm2022}/editing-directives/in-cell-editing.directive.mjs +8 -3
- package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +8 -3
- package/{esm2020 → esm2022}/editing-directives/row-editing-directive-base.mjs +3 -3
- package/{esm2020 → esm2022}/editing-directives/template-editing.directive.mjs +9 -3
- package/{esm2020 → esm2022}/excel/excel-command-tool.directive.mjs +6 -4
- package/{esm2020 → esm2022}/excel/excel-command.directive.mjs +10 -9
- package/{esm2020 → esm2022}/excel/excel-export-event.mjs +1 -0
- package/{esm2020 → esm2022}/excel/excel.component.mjs +71 -22
- package/{esm2020 → esm2022}/excel/excel.module.mjs +4 -4
- package/{esm2020 → esm2022}/excel/excel.service.mjs +7 -8
- package/{esm2020 → esm2022}/expand-state/expand-event.mjs +12 -0
- package/{esm2020 → esm2022}/expand-state/expand-state.service.mjs +5 -7
- package/{esm2020 → esm2022}/expand-state/expandable-tree-component.mjs +3 -3
- package/{esm2020 → esm2022}/expand-state/expandable.directive.mjs +23 -19
- package/{esm2020 → esm2022}/filtering/base-filter-cell.component.mjs +18 -7
- package/{esm2020 → esm2022}/filtering/boolean-filter.component.mjs +31 -24
- package/{esm2020 → esm2022}/filtering/cell/autocomplete-filter-cell.component.mjs +15 -13
- package/{esm2020 → esm2022}/filtering/cell/boolean-filter-cell.component.mjs +5 -4
- package/{esm2020 → esm2022}/filtering/cell/date-filter-cell.component.mjs +11 -10
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-host.directive.mjs +3 -3
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-operators.component.mjs +53 -33
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-wrapper.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/cell/filter-cell.component.mjs +11 -8
- package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +23 -17
- package/esm2022/filtering/cell/row-filtering.module.mjs +77 -0
- package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +23 -18
- package/{esm2020 → esm2022}/filtering/date-filter.component.mjs +64 -39
- package/{esm2020 → esm2022}/filtering/filter-host.directive.mjs +8 -3
- package/{esm2020 → esm2022}/filtering/filter-input-wrapper.component.mjs +11 -8
- package/{esm2020 → esm2022}/filtering/filter-input.directive.mjs +21 -13
- package/{esm2020 → esm2022}/filtering/filter-row.component.mjs +11 -8
- package/{esm2020 → esm2022}/filtering/filter.service.mjs +7 -9
- package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +22 -15
- package/{esm2020 → esm2022}/filtering/menu/date-filter-menu-input.component.mjs +21 -5
- package/{esm2020 → esm2022}/filtering/menu/date-filter-menu.component.mjs +22 -21
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-container.component.mjs +28 -16
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-host.directive.mjs +4 -3
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-input-wrapper.component.mjs +9 -7
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/filtering/menu/filter-menu.component.mjs +20 -8
- package/esm2022/filtering/menu/filter-menu.module.mjs +80 -0
- package/{esm2020 → esm2022}/filtering/menu/filter-radio-button.directive.mjs +7 -3
- package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +43 -17
- package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +32 -31
- package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +12 -5
- package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +32 -21
- package/{esm2020 → esm2022}/filtering/numeric-filter.component.mjs +51 -28
- package/{esm2020 → esm2022}/filtering/operators/after-eq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/after-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/before-eq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/before-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/contains-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/ends-with-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/eq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/filter-operator.base.mjs +15 -10
- package/{esm2020 → esm2022}/filtering/operators/gt-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/gte-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/is-empty-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/is-not-empty-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/is-not-null-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/isnull-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/lt-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/lte-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/neq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/not-contains-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/starts-with-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/shared-filtering.module.mjs +18 -18
- package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
- package/{esm2020 → esm2022}/layout/browser-support.service.mjs +7 -4
- package/{esm2020 → esm2022}/layout/resizable.directive.mjs +16 -10
- package/{esm2020 → esm2022}/layout/resize.service.mjs +6 -8
- package/{esm2020 → esm2022}/layout/responsive.service.mjs +7 -9
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/localization/messages.mjs +410 -0
- package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +8 -5
- package/{esm2020 → esm2022}/navigation/focus-group.mjs +12 -11
- package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
- package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +18 -10
- package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
- package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +35 -22
- package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +19 -13
- package/{esm2020 → esm2022}/navigation/model-cell.mjs +11 -0
- package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
- package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +13 -6
- package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
- package/{esm2020 → esm2022}/navigation/navigation.service.mjs +44 -24
- package/{esm2020 → esm2022}/navigation/treelist-focusable-element.mjs +1 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/pager/pager-context.service.mjs +6 -4
- package/{esm2020 → esm2022}/pager/pager-element.component.mjs +24 -16
- package/{esm2020 → esm2022}/pager/pager-info.component.mjs +8 -7
- package/{esm2020 → esm2022}/pager/pager-input.component.mjs +43 -39
- package/{esm2020 → esm2022}/pager/pager-next-buttons.component.mjs +13 -8
- package/{esm2020 → esm2022}/pager/pager-numeric-buttons.component.mjs +18 -8
- package/{esm2020 → esm2022}/pager/pager-page-sizes.component.mjs +12 -10
- package/{esm2020 → esm2022}/pager/pager-prev-buttons.component.mjs +5 -4
- package/{esm2020 → esm2022}/pager/pager-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/pager/pager.component.mjs +84 -70
- package/esm2022/pager/pager.module.mjs +43 -0
- package/{esm2020 → esm2022}/pdf/pdf-command-tool.directive.mjs +6 -4
- package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
- package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
- package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
- package/{esm2020 → esm2022}/pdf/pdf.component.mjs +24 -4
- package/{esm2020 → esm2022}/pdf/pdf.module.mjs +4 -4
- package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
- package/{esm2020 → esm2022}/pdf/treelist-query.mjs +4 -0
- package/{esm2020 → esm2022}/rendering/body.module.mjs +4 -4
- package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/cell.component.mjs +38 -25
- package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +5 -7
- package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/common/level-items.pipe.mjs +3 -3
- package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +9 -8
- package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +11 -6
- package/{esm2020 → esm2022}/rendering/footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/header/header.component.mjs +47 -28
- package/{esm2020 → esm2022}/rendering/header/header.module.mjs +4 -4
- package/{esm2020 → esm2022}/rendering/list.component.mjs +80 -40
- package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/table-body.component.mjs +42 -18
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar-focusable.directive.mjs +9 -7
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar-navigation.service.mjs +9 -8
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar-template.directive.mjs +10 -8
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +18 -13
- package/{esm2020 → esm2022}/row-reordering/flat-reorder.service.mjs +3 -3
- package/{esm2020 → esm2022}/row-reordering/hierarchical-reorder.service.mjs +3 -3
- package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -9
- package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +2 -0
- package/{esm2020 → esm2022}/scrolling/scroll-request.service.mjs +4 -6
- package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +10 -8
- package/{esm2020 → esm2022}/scrolling/scroller.service.mjs +12 -2
- package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
- package/{esm2020 → esm2022}/selection/marquee.directive.mjs +18 -7
- package/{esm2020 → esm2022}/selection/selectable.directive.mjs +23 -17
- package/{esm2020 → esm2022}/selection/selection-change-event.mjs +12 -0
- package/{esm2020 → esm2022}/selection/selection-state.mjs +2 -6
- package/{esm2020 → esm2022}/selection/selection.service.mjs +15 -14
- package/{esm2020 → esm2022}/shared.module.mjs +4 -4
- package/{esm2020 → esm2022}/treelist.component.mjs +462 -390
- package/esm2022/treelist.module.mjs +178 -0
- package/excel/excel.component.d.ts +1 -1
- package/expand-state/expandable.directive.d.ts +1 -1
- package/{fesm2020 → fesm2022}/progress-kendo-angular-treelist.mjs +3819 -2455
- package/filtering/base-filter-cell.component.d.ts +5 -1
- package/filtering/boolean-filter.component.d.ts +2 -7
- package/filtering/cell/autocomplete-filter-cell.component.d.ts +2 -7
- package/filtering/cell/date-filter-cell.component.d.ts +1 -1
- package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
- package/filtering/cell/filter-cell-wrapper.component.d.ts +1 -1
- package/filtering/cell/filter-cell.component.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 +2 -11
- package/filtering/filter-host.directive.d.ts +2 -2
- package/filtering/filter-input-wrapper.component.d.ts +1 -2
- package/filtering/filter-input.directive.d.ts +1 -1
- package/filtering/filter-row.component.d.ts +1 -2
- package/filtering/filterable.d.ts +1 -1
- package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
- package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/date-filter-menu.component.d.ts +1 -7
- package/filtering/menu/filter-menu-container.component.d.ts +1 -1
- package/filtering/menu/filter-menu-host.directive.d.ts +1 -1
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +1 -1
- package/filtering/menu/filter-menu.component.d.ts +1 -4
- package/filtering/menu/filter-radio-button.directive.d.ts +1 -1
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/numeric-filter-menu.component.d.ts +1 -7
- package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -7
- package/filtering/numeric-filter.component.d.ts +2 -11
- package/filtering/operators/filter-operator.base.d.ts +1 -1
- package/filtering/string-filter.component.d.ts +2 -11
- package/layout/resizable.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/logical-cell.directive.d.ts +1 -1
- package/navigation/logical-row.directive.d.ts +1 -1
- package/package.json +25 -31
- package/pager/pager-context.service.d.ts +1 -1
- package/pager/pager-next-buttons.component.d.ts +1 -1
- package/pager/pager-numeric-buttons.component.d.ts +1 -1
- package/pager/pager-page-sizes.component.d.ts +1 -1
- package/pager/pager-settings.d.ts +1 -1
- package/pager/pager.component.d.ts +1 -1
- package/pdf/pdf-margin.interface.d.ts +1 -1
- package/pdf/pdf.component.d.ts +1 -7
- package/rendering/cell.component.d.ts +1 -1
- package/rendering/common/col-group.component.d.ts +1 -1
- package/rendering/common/row-class.d.ts +2 -2
- package/rendering/common/spacer.component.d.ts +1 -1
- package/rendering/header/header.component.d.ts +1 -1
- package/rendering/list.component.d.ts +1 -1
- package/rendering/table-body.component.d.ts +1 -1
- package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar.component.d.ts +1 -1
- package/row-reordering/types.d.ts +1 -1
- package/schematics/ngAdd/index.js +3 -3
- package/scrolling/scroll-sync.service.d.ts +1 -1
- package/scrolling/scroller.service.d.ts +1 -1
- package/scrolling/scrollmode.d.ts +1 -1
- package/selection/is-selected.d.ts +1 -1
- package/selection/selectable.directive.d.ts +1 -1
- package/treelist.component.d.ts +1 -1
- package/utils.d.ts +1 -1
- package/esm2020/common/dom-events.service.mjs +0 -26
- package/esm2020/filtering/cell/row-filtering.module.mjs +0 -77
- package/esm2020/filtering/menu/filter-menu.module.mjs +0 -80
- package/esm2020/localization/messages.mjs +0 -138
- package/esm2020/pager/pager.module.mjs +0 -43
- package/esm2020/treelist.module.mjs +0 -178
- package/fesm2015/progress-kendo-angular-treelist.mjs +0 -21713
- /package/{esm2020 → esm2022}/column-menu/column-menu-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/column-menu/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resizing/column-resize.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/columns/column-common.mjs +0 -0
- /package/{esm2020 → esm2022}/columns/sort-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/cell-click-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/create-form-group.mjs +0 -0
- /package/{esm2020 → esm2022}/common/default-track-by.mjs +0 -0
- /package/{esm2020 → esm2022}/common/filter-descriptor-differ.mjs +0 -0
- /package/{esm2020 → esm2022}/common/filter-operator.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/remove-confirmation.mjs +0 -0
- /package/{esm2020 → esm2022}/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/treelist-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/dragdrop/column-reorder-config.mjs +0 -0
- /package/{esm2020 → esm2022}/dragdrop/common.mjs +0 -0
- /package/{esm2020 → esm2022}/dragdrop/context-types.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/add-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/cancel-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/edit-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/remove-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/save-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/create-form-group-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/excel/excel-export-data.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/cell/filter-cell-component.factory.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/filter-component.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/filterable.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/menu/filter-menu-component.factory.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/layout/row-sync.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/logical-cell.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/logical-row.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-cell.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-change.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-mode.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-row.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/pager/pager-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/pager/pagesize-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/export-element.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/pdf-margin.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-treelist.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/row-reordering/types.mjs +0 -0
- /package/{esm2020 → esm2022}/row-reordering/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/content-scroll-event.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/scroll-bottom-event.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/scrollmode.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/is-selected.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/selectable-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -9,9 +9,11 @@ import * as i0 from "@angular/core";
|
|
9
9
|
* @hidden
|
10
10
|
*/
|
11
11
|
export class ChangeNotificationService {
|
12
|
+
ngZone;
|
13
|
+
changes = new EventEmitter();
|
14
|
+
subscription;
|
12
15
|
constructor(ngZone) {
|
13
16
|
this.ngZone = ngZone;
|
14
|
-
this.changes = new EventEmitter();
|
15
17
|
}
|
16
18
|
notify() {
|
17
19
|
if (!this.subscription || this.subscription.closed) {
|
@@ -20,9 +22,9 @@ export class ChangeNotificationService {
|
|
20
22
|
.subscribe(() => this.changes.emit());
|
21
23
|
}
|
22
24
|
}
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChangeNotificationService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
26
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChangeNotificationService });
|
23
27
|
}
|
24
|
-
|
25
|
-
ChangeNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChangeNotificationService });
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChangeNotificationService, decorators: [{
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChangeNotificationService, decorators: [{
|
27
29
|
type: Injectable
|
28
30
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
@@ -44,11 +44,10 @@ function loadView(view, subject) {
|
|
44
44
|
}
|
45
45
|
const LOADING = 'loading';
|
46
46
|
class ViewRange {
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
}
|
47
|
+
skip;
|
48
|
+
pageSize;
|
49
|
+
pageable;
|
50
|
+
expandAll;
|
52
51
|
static create(options) {
|
53
52
|
const { skip, pageSize, pageable, isVirtual } = options;
|
54
53
|
let rangeType = ViewRange;
|
@@ -62,6 +61,11 @@ class ViewRange {
|
|
62
61
|
}
|
63
62
|
return new rangeType(skip, pageSize, pageable);
|
64
63
|
}
|
64
|
+
constructor(skip, pageSize, pageable) {
|
65
|
+
this.skip = skip;
|
66
|
+
this.pageSize = pageSize;
|
67
|
+
this.pageable = pageable;
|
68
|
+
}
|
65
69
|
inRange(_index, _rowIndex) {
|
66
70
|
return true;
|
67
71
|
}
|
@@ -76,9 +80,9 @@ function isPagerSettings(pageable) {
|
|
76
80
|
return typeof pageable === 'object';
|
77
81
|
}
|
78
82
|
class PagerRange extends ViewRange {
|
83
|
+
expandAll = true;
|
79
84
|
constructor(skip, pageSize, pageable) {
|
80
85
|
super(skip, pageSize, pageable);
|
81
|
-
this.expandAll = true;
|
82
86
|
if (isPagerSettings(pageable)) {
|
83
87
|
this.expandAll = pageable.countChildren !== false;
|
84
88
|
}
|
@@ -110,14 +114,26 @@ class VirtualRange extends ViewRange {
|
|
110
114
|
* @hidden
|
111
115
|
*/
|
112
116
|
export class ViewItemFactory {
|
117
|
+
expandState;
|
118
|
+
editState;
|
119
|
+
selectionState;
|
120
|
+
loaded;
|
121
|
+
fieldAccessor;
|
122
|
+
observables = [];
|
123
|
+
rowIndex = 0;
|
124
|
+
rootLevel;
|
125
|
+
fetchChildren;
|
126
|
+
hasChildren;
|
127
|
+
idGetter;
|
128
|
+
hasFooter;
|
129
|
+
viewRange;
|
130
|
+
offsetFirst;
|
113
131
|
constructor(expandState, editState, selectionState, loaded, fieldAccessor, rootItem) {
|
114
132
|
this.expandState = expandState;
|
115
133
|
this.editState = editState;
|
116
134
|
this.selectionState = selectionState;
|
117
135
|
this.loaded = loaded;
|
118
136
|
this.fieldAccessor = fieldAccessor;
|
119
|
-
this.observables = [];
|
120
|
-
this.rowIndex = 0;
|
121
137
|
const options = this.fieldAccessor();
|
122
138
|
this.fetchChildren = options.fetchChildren;
|
123
139
|
this.hasChildren = options.hasChildren;
|
@@ -276,21 +292,21 @@ export class ViewItemFactory {
|
|
276
292
|
* @hidden
|
277
293
|
*/
|
278
294
|
export class ViewCollection {
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
295
|
+
fieldAccessor;
|
296
|
+
expandState;
|
297
|
+
editState;
|
298
|
+
selectionState;
|
299
|
+
childrenLoaded = new EventEmitter();
|
300
|
+
dataLoaded = new EventEmitter();
|
301
|
+
resetPage = new EventEmitter();
|
302
|
+
total = 0;
|
303
|
+
totalVisible = 0;
|
304
|
+
loaded = new Map();
|
305
|
+
loading = false;
|
306
|
+
_totalRows = 0;
|
307
|
+
loadingCount = 0;
|
308
|
+
childrenSubscription;
|
309
|
+
_data;
|
294
310
|
static loadView(options) {
|
295
311
|
const subject = new BehaviorSubject(null);
|
296
312
|
const viewFields = () => Object.assign({
|
@@ -318,6 +334,12 @@ export class ViewCollection {
|
|
318
334
|
}
|
319
335
|
return this._data;
|
320
336
|
}
|
337
|
+
constructor(fieldAccessor, expandState, editState, selectionState) {
|
338
|
+
this.fieldAccessor = fieldAccessor;
|
339
|
+
this.expandState = expandState;
|
340
|
+
this.editState = editState;
|
341
|
+
this.selectionState = selectionState;
|
342
|
+
}
|
321
343
|
get length() {
|
322
344
|
return this.data.length;
|
323
345
|
}
|
@@ -7,6 +7,20 @@ import { PreventableEvent } from '../common/preventable-event';
|
|
7
7
|
* Arguments for the `columnReorder` event.
|
8
8
|
*/
|
9
9
|
export class ColumnReorderEvent extends PreventableEvent {
|
10
|
+
/**
|
11
|
+
* The reordered column.
|
12
|
+
*/
|
13
|
+
column;
|
14
|
+
/**
|
15
|
+
* The new index of the column.
|
16
|
+
* Relative to the collection of columns.
|
17
|
+
*/
|
18
|
+
newIndex;
|
19
|
+
/**
|
20
|
+
* The original index of the column before reordering.
|
21
|
+
* Relative to the collection of columns.
|
22
|
+
*/
|
23
|
+
oldIndex;
|
10
24
|
/**
|
11
25
|
* @hidden
|
12
26
|
*/
|
@@ -8,15 +8,13 @@ import * as i0 from "@angular/core";
|
|
8
8
|
* @hidden
|
9
9
|
*/
|
10
10
|
export class ColumnReorderService {
|
11
|
-
|
12
|
-
this.changes = new EventEmitter();
|
13
|
-
}
|
11
|
+
changes = new EventEmitter();
|
14
12
|
reorder(e) {
|
15
13
|
this.changes.emit(e);
|
16
14
|
}
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnReorderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
16
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnReorderService });
|
17
17
|
}
|
18
|
-
|
19
|
-
ColumnReorderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnReorderService });
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnReorderService, decorators: [{
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnReorderService, decorators: [{
|
21
19
|
type: Injectable
|
22
20
|
}] });
|
@@ -9,11 +9,9 @@ import * as i0 from "@angular/core";
|
|
9
9
|
* @hidden
|
10
10
|
*/
|
11
11
|
export class DragAndDropService {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
this.lastTarget = null;
|
16
|
-
}
|
12
|
+
changes = new EventEmitter();
|
13
|
+
register = [];
|
14
|
+
lastTarget = null;
|
17
15
|
add(target) {
|
18
16
|
this.register.push(target);
|
19
17
|
}
|
@@ -54,9 +52,9 @@ export class DragAndDropService {
|
|
54
52
|
const comparer = contains.bind(null, element);
|
55
53
|
return this.register.find(({ element: { nativeElement } }) => comparer(nativeElement));
|
56
54
|
}
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragAndDropService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
56
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragAndDropService });
|
57
57
|
}
|
58
|
-
|
59
|
-
DragAndDropService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropService });
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropService, decorators: [{
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragAndDropService, decorators: [{
|
61
59
|
type: Injectable
|
62
60
|
}] });
|
@@ -65,10 +65,13 @@ const fontIconsMarkup = (safeTitle) => `
|
|
65
65
|
* @hidden
|
66
66
|
*/
|
67
67
|
export class DragHintService {
|
68
|
+
santizer;
|
69
|
+
iconsService;
|
70
|
+
dom;
|
71
|
+
cancelIcon = cancelIcon;
|
68
72
|
constructor(santizer, iconsService) {
|
69
73
|
this.santizer = santizer;
|
70
74
|
this.iconsService = iconsService;
|
71
|
-
this.cancelIcon = cancelIcon;
|
72
75
|
}
|
73
76
|
create(title) {
|
74
77
|
if (!isDocumentAvailable()) {
|
@@ -118,9 +121,9 @@ export class DragHintService {
|
|
118
121
|
get isSVG() {
|
119
122
|
return (this.iconsService.iconSettings?.type || this.iconsService.changes.value.type) === 'svg';
|
120
123
|
}
|
124
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragHintService, deps: [{ token: i1.DomSanitizer }, { token: i2.IconsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
125
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragHintService });
|
121
126
|
}
|
122
|
-
|
123
|
-
DragHintService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragHintService });
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragHintService, decorators: [{
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragHintService, decorators: [{
|
125
128
|
type: Injectable
|
126
129
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i2.IconsService }]; } });
|
@@ -37,6 +37,25 @@ const hideThenShow = (element, cont) => {
|
|
37
37
|
* @hidden
|
38
38
|
*/
|
39
39
|
export class DraggableColumnDirective {
|
40
|
+
draggable;
|
41
|
+
element;
|
42
|
+
zone;
|
43
|
+
service;
|
44
|
+
hint;
|
45
|
+
cue;
|
46
|
+
nav;
|
47
|
+
renderer;
|
48
|
+
context = {};
|
49
|
+
set enableDrag(enabled) {
|
50
|
+
this.enabled = enabled;
|
51
|
+
this.updateTouchAction();
|
52
|
+
}
|
53
|
+
drag = new EventEmitter();
|
54
|
+
get hostClass() {
|
55
|
+
return this.enabled;
|
56
|
+
}
|
57
|
+
subscriptions = new Subscription();
|
58
|
+
enabled;
|
40
59
|
constructor(draggable, element, zone, service, hint, cue, nav, renderer) {
|
41
60
|
this.draggable = draggable;
|
42
61
|
this.element = element;
|
@@ -46,16 +65,6 @@ export class DraggableColumnDirective {
|
|
46
65
|
this.cue = cue;
|
47
66
|
this.nav = nav;
|
48
67
|
this.renderer = renderer;
|
49
|
-
this.context = {};
|
50
|
-
this.drag = new EventEmitter();
|
51
|
-
this.subscriptions = new Subscription();
|
52
|
-
}
|
53
|
-
set enableDrag(enabled) {
|
54
|
-
this.enabled = enabled;
|
55
|
-
this.updateTouchAction();
|
56
|
-
}
|
57
|
-
get hostClass() {
|
58
|
-
return this.enabled;
|
59
68
|
}
|
60
69
|
ngOnInit() {
|
61
70
|
this.subscriptions.add(this.zone.runOutsideAngular(() => this.draggable.kendoPress.pipe(filter(_ => this.enabled), filter(({ originalEvent: { target } }) => target === this.element.nativeElement || skipButtons(target)), tap((e) => {
|
@@ -109,10 +118,10 @@ export class DraggableColumnDirective {
|
|
109
118
|
}
|
110
119
|
this.renderer.setStyle(this.element.nativeElement, 'touch-action', this.enabled ? 'none' : '');
|
111
120
|
}
|
121
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DraggableColumnDirective, deps: [{ token: i1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i2.DragAndDropService }, { token: i3.DragHintService }, { token: i4.DropCueService }, { token: i5.NavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
122
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DraggableColumnDirective, isStandalone: true, selector: "[kendoDraggableColumn]", inputs: { context: "context", enableDrag: "enableDrag" }, outputs: { drag: "drag" }, host: { properties: { "class.k-grid-draggable-header": "this.hostClass" } }, ngImport: i0 });
|
112
123
|
}
|
113
|
-
|
114
|
-
DraggableColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableColumnDirective, isStandalone: true, selector: "[kendoDraggableColumn]", inputs: { context: "context", enableDrag: "enableDrag" }, outputs: { drag: "drag" }, host: { properties: { "class.k-grid-draggable-header": "this.hostClass" } }, ngImport: i0 });
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableColumnDirective, decorators: [{
|
124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DraggableColumnDirective, decorators: [{
|
116
125
|
type: Directive,
|
117
126
|
args: [{
|
118
127
|
selector: '[kendoDraggableColumn]',
|
@@ -10,6 +10,7 @@ import * as i0 from "@angular/core";
|
|
10
10
|
* @hidden
|
11
11
|
*/
|
12
12
|
export class DropCueService {
|
13
|
+
dom;
|
13
14
|
create() {
|
14
15
|
if (!isDocumentAvailable()) {
|
15
16
|
return;
|
@@ -37,9 +38,9 @@ export class DropCueService {
|
|
37
38
|
const width = this.dom.offsetWidth / 2;
|
38
39
|
this.dom.style.left = left - width + 'px';
|
39
40
|
}
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropCueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
42
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropCueService });
|
40
43
|
}
|
41
|
-
|
42
|
-
DropCueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropCueService });
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropCueService, decorators: [{
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropCueService, decorators: [{
|
44
45
|
type: Injectable
|
45
46
|
}] });
|
@@ -12,14 +12,16 @@ import * as i1 from "./drag-and-drop.service";
|
|
12
12
|
* @hidden
|
13
13
|
*/
|
14
14
|
export class DropTargetDirective {
|
15
|
+
element;
|
16
|
+
service;
|
17
|
+
context = {};
|
18
|
+
enter = new EventEmitter();
|
19
|
+
leave = new EventEmitter();
|
20
|
+
drop = new EventEmitter();
|
21
|
+
subscriptions = new Subscription();
|
15
22
|
constructor(element, service) {
|
16
23
|
this.element = element;
|
17
24
|
this.service = service;
|
18
|
-
this.context = {};
|
19
|
-
this.enter = new EventEmitter();
|
20
|
-
this.leave = new EventEmitter();
|
21
|
-
this.drop = new EventEmitter();
|
22
|
-
this.subscriptions = new Subscription();
|
23
25
|
}
|
24
26
|
ngOnInit() {
|
25
27
|
this.service.add(this);
|
@@ -49,10 +51,10 @@ export class DropTargetDirective {
|
|
49
51
|
draggable: e.draggable
|
50
52
|
};
|
51
53
|
}
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropTargetDirective, deps: [{ token: i0.ElementRef }, { token: i1.DragAndDropService }], target: i0.ɵɵFactoryTarget.Directive });
|
55
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DropTargetDirective, isStandalone: true, selector: "[kendoDropTarget]", inputs: { context: "context" }, outputs: { enter: "enter", leave: "leave", drop: "drop" }, ngImport: i0 });
|
52
56
|
}
|
53
|
-
|
54
|
-
DropTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropTargetDirective, isStandalone: true, selector: "[kendoDropTarget]", inputs: { context: "context" }, outputs: { enter: "enter", leave: "leave", drop: "drop" }, ngImport: i0 });
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropTargetDirective, decorators: [{
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropTargetDirective, decorators: [{
|
56
58
|
type: Directive,
|
57
59
|
args: [{
|
58
60
|
selector: '[kendoDropTarget]',
|
@@ -28,10 +28,12 @@ import * as i2 from "@progress/kendo-angular-toolbar";
|
|
28
28
|
* ```
|
29
29
|
*/
|
30
30
|
export class AddCommandToolbarDirective {
|
31
|
+
editService;
|
32
|
+
host;
|
33
|
+
clickSub = new Subscription();
|
31
34
|
constructor(editService, host) {
|
32
35
|
this.editService = editService;
|
33
36
|
this.host = host;
|
34
|
-
this.clickSub = new Subscription();
|
35
37
|
}
|
36
38
|
ngOnInit() {
|
37
39
|
this.clickSub = this.host.click.subscribe(e => this.onClick(e));
|
@@ -49,10 +51,10 @@ export class AddCommandToolbarDirective {
|
|
49
51
|
e.preventDefault();
|
50
52
|
this.editService.beginAdd();
|
51
53
|
}
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandToolbarDirective, deps: [{ token: i1.EditService }, { token: i2.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
55
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AddCommandToolbarDirective, isStandalone: true, selector: "[kendoTreeListAddTool]", ngImport: i0 });
|
52
56
|
}
|
53
|
-
|
54
|
-
AddCommandToolbarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AddCommandToolbarDirective, isStandalone: true, selector: "[kendoTreeListAddTool]", ngImport: i0 });
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AddCommandToolbarDirective, decorators: [{
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandToolbarDirective, decorators: [{
|
56
58
|
type: Directive,
|
57
59
|
args: [{
|
58
60
|
selector: '[kendoTreeListAddTool]',
|
@@ -36,17 +36,20 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
36
36
|
* ```
|
37
37
|
*/
|
38
38
|
export class AddCommandDirective extends BaseCommandDirective {
|
39
|
+
/**
|
40
|
+
* The `cellContext` provided to the template.
|
41
|
+
*/
|
42
|
+
cellContext;
|
43
|
+
commandClass = true;
|
44
|
+
readVisible = true;
|
39
45
|
constructor(editService, element, renderer, localization, ngZone) {
|
40
46
|
super(editService, element, renderer, localization, ngZone);
|
41
|
-
this.commandClass = true;
|
42
|
-
this.readVisible = true;
|
43
47
|
}
|
44
48
|
onClick() {
|
45
49
|
this.editService.beginAdd(this.dataItem);
|
46
50
|
}
|
47
|
-
}
|
48
|
-
|
49
|
-
AddCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AddCommandDirective, isStandalone: true, selector: "[kendoTreeListAddCommand]", inputs: { cellContext: ["kendoTreeListAddCommand", "cellContext"] }, host: { properties: { "class.k-grid-add-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
52
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AddCommandDirective, isStandalone: true, selector: "[kendoTreeListAddCommand]", inputs: { cellContext: ["kendoTreeListAddCommand", "cellContext"] }, host: { properties: { "class.k-grid-add-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
|
50
53
|
<kendo-icon-wrapper
|
51
54
|
*ngIf="icon || svgIcon"
|
52
55
|
innerCssClass="k-button-icon"
|
@@ -58,7 +61,8 @@ AddCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
58
61
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
59
62
|
<span class="k-button-text"><ng-content></ng-content></span>
|
60
63
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
61
|
-
|
64
|
+
}
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandDirective, decorators: [{
|
62
66
|
type: Component,
|
63
67
|
args: [{
|
64
68
|
selector: '[kendoTreeListAddCommand]',
|
@@ -15,10 +15,7 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
15
15
|
* @hidden
|
16
16
|
*/
|
17
17
|
export class BaseCommandDirective extends Button {
|
18
|
-
|
19
|
-
super(element, renderer, null, localization, ngZone);
|
20
|
-
this.editService = editService;
|
21
|
-
}
|
18
|
+
editService;
|
22
19
|
/**
|
23
20
|
* @hidden
|
24
21
|
*/
|
@@ -42,9 +39,12 @@ export class BaseCommandDirective extends Button {
|
|
42
39
|
e.preventDefault();
|
43
40
|
this.onClick();
|
44
41
|
}
|
45
|
-
|
46
|
-
|
47
|
-
|
42
|
+
constructor(editService, element, renderer, localization, ngZone) {
|
43
|
+
super(element, renderer, null, localization, ngZone);
|
44
|
+
this.editService = editService;
|
45
|
+
}
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
47
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BaseCommandDirective, isStandalone: true, selector: "[kendoTreeListBaseCommand]", host: { listeners: { "click": "clickHandler($event)" }, properties: { "style.display": "this.visible" } }, usesInheritance: true, ngImport: i0, template: `
|
48
48
|
<kendo-icon-wrapper
|
49
49
|
*ngIf="icon || svgIcon"
|
50
50
|
innerCssClass="k-button-icon"
|
@@ -56,7 +56,8 @@ BaseCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
56
56
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
57
57
|
<span class="k-button-text"><ng-content></ng-content></span>
|
58
58
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
59
|
-
|
59
|
+
}
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseCommandDirective, decorators: [{
|
60
61
|
type: Component,
|
61
62
|
args: [{
|
62
63
|
selector: '[kendoTreeListBaseCommand]',
|
@@ -33,10 +33,14 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
33
33
|
* ```
|
34
34
|
*/
|
35
35
|
export class CancelCommandDirective extends BaseCommandDirective {
|
36
|
+
/**
|
37
|
+
* The `cellContext` provided to the template.
|
38
|
+
*/
|
39
|
+
cellContext;
|
40
|
+
commandClass = true;
|
41
|
+
readVisible = false;
|
36
42
|
constructor(editService, element, renderer, localization, ngZone) {
|
37
43
|
super(editService, element, renderer, localization, ngZone);
|
38
|
-
this.commandClass = true;
|
39
|
-
this.readVisible = false;
|
40
44
|
}
|
41
45
|
onClick() {
|
42
46
|
if (this.cellContext) {
|
@@ -44,9 +48,8 @@ export class CancelCommandDirective extends BaseCommandDirective {
|
|
44
48
|
this.editService.endEdit(viewItem.data, viewItem.isNew);
|
45
49
|
}
|
46
50
|
}
|
47
|
-
}
|
48
|
-
|
49
|
-
CancelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CancelCommandDirective, isStandalone: true, selector: "[kendoTreeListCancelCommand]", inputs: { cellContext: ["kendoTreeListCancelCommand", "cellContext"] }, host: { properties: { "class.k-grid-cancel-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CancelCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
52
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CancelCommandDirective, isStandalone: true, selector: "[kendoTreeListCancelCommand]", inputs: { cellContext: ["kendoTreeListCancelCommand", "cellContext"] }, host: { properties: { "class.k-grid-cancel-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
|
50
53
|
<kendo-icon-wrapper
|
51
54
|
*ngIf="icon || svgIcon"
|
52
55
|
innerCssClass="k-button-icon"
|
@@ -58,7 +61,8 @@ CancelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
58
61
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
59
62
|
<span class="k-button-text"><ng-content></ng-content></span>
|
60
63
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
61
|
-
|
64
|
+
}
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CancelCommandDirective, decorators: [{
|
62
66
|
type: Component,
|
63
67
|
args: [{
|
64
68
|
selector: '[kendoTreeListCancelCommand]',
|
@@ -7,12 +7,28 @@ import { PreventableEvent } from '../common/preventable-event';
|
|
7
7
|
* Arguments for the `cellClose` event.
|
8
8
|
*/
|
9
9
|
export class CellCloseEvent extends PreventableEvent {
|
10
|
+
isNew;
|
11
|
+
dataItem;
|
12
|
+
sender;
|
13
|
+
/**
|
14
|
+
* @hidden
|
15
|
+
*/
|
16
|
+
action = 'cellClose';
|
17
|
+
/**
|
18
|
+
* The TreeList column that will be closed.
|
19
|
+
*/
|
20
|
+
column;
|
21
|
+
/**
|
22
|
+
* The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that is used to edit the cell which will be closed.
|
23
|
+
*/
|
24
|
+
formGroup;
|
25
|
+
/**
|
26
|
+
* The DOM event that caused the `cellClose` event.
|
27
|
+
* May not be present if `cellClose` was caused by an API call.
|
28
|
+
*/
|
29
|
+
originalEvent;
|
10
30
|
constructor(options) {
|
11
31
|
super();
|
12
|
-
/**
|
13
|
-
* @hidden
|
14
|
-
*/
|
15
|
-
this.action = 'cellClose';
|
16
32
|
Object.assign(this, options);
|
17
33
|
}
|
18
34
|
}
|
@@ -34,19 +34,22 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
34
34
|
*
|
35
35
|
*/
|
36
36
|
export class EditCommandDirective extends BaseCommandDirective {
|
37
|
+
/**
|
38
|
+
* The `cellContext` provided to the template.
|
39
|
+
*/
|
40
|
+
cellContext;
|
41
|
+
commandClass = true;
|
42
|
+
readVisible = true;
|
37
43
|
constructor(editService, element, renderer, localization, ngZone) {
|
38
44
|
super(editService, element, renderer, localization, ngZone);
|
39
|
-
this.commandClass = true;
|
40
|
-
this.readVisible = true;
|
41
45
|
}
|
42
46
|
onClick() {
|
43
47
|
if (this.cellContext) {
|
44
48
|
this.editService.beginEdit(this.dataItem);
|
45
49
|
}
|
46
50
|
}
|
47
|
-
}
|
48
|
-
|
49
|
-
EditCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditCommandDirective, isStandalone: true, selector: "[kendoTreeListEditCommand]", inputs: { cellContext: ["kendoTreeListEditCommand", "cellContext"] }, host: { properties: { "class.k-grid-edit-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
52
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditCommandDirective, isStandalone: true, selector: "[kendoTreeListEditCommand]", inputs: { cellContext: ["kendoTreeListEditCommand", "cellContext"] }, host: { properties: { "class.k-grid-edit-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
|
50
53
|
<kendo-icon-wrapper
|
51
54
|
*ngIf="icon || svgIcon"
|
52
55
|
innerCssClass="k-button-icon"
|
@@ -58,7 +61,8 @@ EditCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
58
61
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
59
62
|
<span class="k-button-text"><ng-content></ng-content></span>
|
60
63
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
61
|
-
|
64
|
+
}
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditCommandDirective, decorators: [{
|
62
66
|
type: Component,
|
63
67
|
args: [{
|
64
68
|
selector: '[kendoTreeListEditCommand]',
|
@@ -29,13 +29,14 @@ import * as i0 from "@angular/core";
|
|
29
29
|
* ```
|
30
30
|
*/
|
31
31
|
export class EditTemplateDirective {
|
32
|
+
templateRef;
|
32
33
|
constructor(templateRef) {
|
33
34
|
this.templateRef = templateRef;
|
34
35
|
}
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
37
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditTemplateDirective, isStandalone: true, selector: "[kendoTreeListEditTemplate]", ngImport: i0 });
|
35
38
|
}
|
36
|
-
|
37
|
-
EditTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditTemplateDirective, isStandalone: true, selector: "[kendoTreeListEditTemplate]", ngImport: i0 });
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditTemplateDirective, decorators: [{
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditTemplateDirective, decorators: [{
|
39
40
|
type: Directive,
|
40
41
|
args: [{
|
41
42
|
selector: '[kendoTreeListEditTemplate]',
|