@progress/kendo-angular-treelist 17.0.0-develop.3 → 17.0.0-develop.30
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/README.md +48 -19
- 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/directives.d.ts +7 -4
- 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-tool.directive.d.ts +38 -0
- 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 +27 -19
- 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}/directives.mjs +8 -2
- 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/esm2022/editing/add-command-tool.directive.mjs +63 -0
- 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/esm2022/excel/excel-command-tool.directive.mjs +66 -0
- 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 +5 -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 +54 -34
- 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}/index.mjs +3 -0
- 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 +14 -9
- package/{esm2020 → esm2022}/pager/pager-numeric-buttons.component.mjs +19 -9
- package/{esm2020 → esm2022}/pager/pager-page-sizes.component.mjs +12 -10
- package/{esm2020 → esm2022}/pager/pager-prev-buttons.component.mjs +6 -5
- 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/esm2022/pdf/pdf-command-tool.directive.mjs +66 -0
- 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 +6 -5
- package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
- package/{esm2020 → esm2022}/pdf/treelist-query.mjs +4 -0
- package/esm2022/rendering/body.module.mjs +41 -0
- package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/cell.component.mjs +41 -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 +45 -19
- 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 +474 -394
- package/esm2022/treelist.module.mjs +178 -0
- package/excel/excel-command-tool.directive.d.ts +41 -0
- package/excel/excel.component.d.ts +1 -1
- package/excel/excel.module.d.ts +3 -2
- package/expand-state/expandable.directive.d.ts +1 -1
- package/{fesm2020 → fesm2022}/progress-kendo-angular-treelist.mjs +4012 -2474
- 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/index.d.ts +3 -0
- 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 +26 -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-command-tool.directive.d.ts +41 -0
- package/pdf/pdf-margin.interface.d.ts +1 -1
- package/pdf/pdf.component.d.ts +1 -7
- package/pdf/pdf.module.d.ts +3 -2
- package/rendering/body.module.d.ts +6 -5
- package/rendering/cell.component.d.ts +2 -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/treelist.module.d.ts +67 -65
- 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/rendering/body.module.mjs +0 -40
- package/esm2020/treelist.module.mjs +0 -176
- package/fesm2015/progress-kendo-angular-treelist.mjs +0 -21537
- /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}/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}/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
@@ -18,16 +18,17 @@ function nextId() {
|
|
18
18
|
* @hidden
|
19
19
|
*/
|
20
20
|
export class LogicalRowDirective {
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
21
|
+
idService;
|
22
|
+
navigation;
|
23
|
+
logicalRowIndex;
|
24
|
+
logicalSlaveRow = false;
|
25
|
+
logicalCellsCount;
|
26
|
+
logicalSlaveCellsCount = 0;
|
27
|
+
dataRowIndex = -1;
|
28
|
+
dataItem;
|
29
|
+
isNew = false;
|
30
|
+
totalColumns;
|
31
|
+
uid = nextId();
|
31
32
|
get hostRole() {
|
32
33
|
return this.logicalSlaveRow ? 'presentation' : 'row';
|
33
34
|
}
|
@@ -64,6 +65,11 @@ export class LogicalRowDirective {
|
|
64
65
|
}
|
65
66
|
return ids.join(' ');
|
66
67
|
}
|
68
|
+
tableRowClass = true;
|
69
|
+
constructor(idService, navigation) {
|
70
|
+
this.idService = idService;
|
71
|
+
this.navigation = navigation;
|
72
|
+
}
|
67
73
|
ngOnChanges(changes) {
|
68
74
|
if (!this.navigation.enabled || this.logicalSlaveRow) {
|
69
75
|
return;
|
@@ -86,10 +92,10 @@ export class LogicalRowDirective {
|
|
86
92
|
get columnsArray() {
|
87
93
|
return this.totalColumns?.allColumns.toArray() || [];
|
88
94
|
}
|
95
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LogicalRowDirective, deps: [{ token: i1.IdService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
96
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LogicalRowDirective, isStandalone: true, selector: "[kendoTreeListLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem", isNew: "isNew", totalColumns: "totalColumns" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "attr.data-kendo-treelist-row-index": "this.rowIndex", "attr.aria-owns": "this.ariaOwns", "class.k-table-row": "this.tableRowClass" } }, usesOnChanges: true, ngImport: i0 });
|
89
97
|
}
|
90
|
-
|
91
|
-
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LogicalRowDirective, isStandalone: true, selector: "[kendoTreeListLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem", isNew: "isNew", totalColumns: "totalColumns" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "attr.data-kendo-treelist-row-index": "this.rowIndex", "attr.aria-owns": "this.ariaOwns", "class.k-table-row": "this.tableRowClass" } }, usesOnChanges: true, ngImport: i0 });
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LogicalRowDirective, decorators: [{
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LogicalRowDirective, decorators: [{
|
93
99
|
type: Directive,
|
94
100
|
args: [{
|
95
101
|
selector: '[kendoTreeListLogicalRow]',
|
@@ -6,6 +6,17 @@
|
|
6
6
|
* @hidden
|
7
7
|
*/
|
8
8
|
export class ModelCell {
|
9
|
+
uid;
|
10
|
+
column;
|
11
|
+
colIndex;
|
12
|
+
rowIndex;
|
13
|
+
colSpan;
|
14
|
+
rowSpan;
|
15
|
+
dataRowIndex;
|
16
|
+
dataItem;
|
17
|
+
parent;
|
18
|
+
focusGroup;
|
19
|
+
expandable;
|
9
20
|
constructor(modelRow, cell) {
|
10
21
|
this.uid = cell.uid;
|
11
22
|
this.column = cell.column;
|
@@ -7,14 +7,13 @@ import { Subject } from 'rxjs';
|
|
7
7
|
* @hidden
|
8
8
|
*/
|
9
9
|
export class NavigationCursor {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
}
|
10
|
+
model;
|
11
|
+
changes = new Subject();
|
12
|
+
metadata;
|
13
|
+
activeRow = 0;
|
14
|
+
activeCol = 0;
|
15
|
+
virtualCol = 0;
|
16
|
+
virtualRow = 0;
|
18
17
|
get row() {
|
19
18
|
return this.model.findRow(this.activeRow);
|
20
19
|
}
|
@@ -31,6 +30,9 @@ export class NavigationCursor {
|
|
31
30
|
}
|
32
31
|
return -1;
|
33
32
|
}
|
33
|
+
constructor(model) {
|
34
|
+
this.model = model;
|
35
|
+
}
|
34
36
|
/**
|
35
37
|
* Assumes and announces a new cursor position.
|
36
38
|
*/
|
@@ -6,6 +6,19 @@
|
|
6
6
|
* @hidden
|
7
7
|
*/
|
8
8
|
export class NavigationMetadata {
|
9
|
+
view;
|
10
|
+
headerRows;
|
11
|
+
isVirtual;
|
12
|
+
hasPager;
|
13
|
+
treelistElement;
|
14
|
+
virtualColumns;
|
15
|
+
columns;
|
16
|
+
get maxLogicalRowIndex() {
|
17
|
+
return this.headerRows + this.dataRows - 1;
|
18
|
+
}
|
19
|
+
get dataRows() {
|
20
|
+
return this.view.totalRows;
|
21
|
+
}
|
9
22
|
constructor(view, headerRows, isVirtual, hasPager, treelistElement, virtualColumns, columns) {
|
10
23
|
this.view = view;
|
11
24
|
this.headerRows = headerRows;
|
@@ -15,10 +28,4 @@ export class NavigationMetadata {
|
|
15
28
|
this.virtualColumns = virtualColumns;
|
16
29
|
this.columns = columns;
|
17
30
|
}
|
18
|
-
get maxLogicalRowIndex() {
|
19
|
-
return this.headerRows + this.dataRows - 1;
|
20
|
-
}
|
21
|
-
get dataRows() {
|
22
|
-
return this.view.totalRows;
|
23
|
-
}
|
24
31
|
}
|
@@ -10,9 +10,7 @@ import { ModelCell } from './model-cell';
|
|
10
10
|
* Contains information for the currently rendered rows and cells.
|
11
11
|
*/
|
12
12
|
export class NavigationModel {
|
13
|
-
|
14
|
-
this.rows = new ItemMap();
|
15
|
-
}
|
13
|
+
rows = new ItemMap();
|
16
14
|
get firstRow() {
|
17
15
|
return this.rows.first;
|
18
16
|
}
|
@@ -66,6 +66,8 @@ const isPrintableCharacter = (str) => str.length === 1 && str.match(/\S/);
|
|
66
66
|
* @hidden
|
67
67
|
*/
|
68
68
|
export class NavigationViewport {
|
69
|
+
firstItemIndex;
|
70
|
+
lastItemIndex;
|
69
71
|
constructor(firstItemIndex, lastItemIndex) {
|
70
72
|
this.firstItemIndex = firstItemIndex;
|
71
73
|
this.lastItemIndex = lastItemIndex;
|
@@ -84,27 +86,19 @@ export class NavigationViewport {
|
|
84
86
|
* @hidden
|
85
87
|
*/
|
86
88
|
export class NavigationService {
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
this.activeRowIndex = 0;
|
101
|
-
this.alive = false;
|
102
|
-
this.active = true;
|
103
|
-
this.mode = 0 /* NavigationMode.Standby */;
|
104
|
-
this.model = new NavigationModel();
|
105
|
-
this.cursor = new NavigationCursor(this.model);
|
106
|
-
this.changes = this.cursor.changes;
|
107
|
-
}
|
89
|
+
zone;
|
90
|
+
domEvents;
|
91
|
+
pagerContextService;
|
92
|
+
scrollRequestService;
|
93
|
+
focusRoot;
|
94
|
+
editService;
|
95
|
+
localization;
|
96
|
+
expandState;
|
97
|
+
selectionService;
|
98
|
+
changeDetector;
|
99
|
+
focusableParent;
|
100
|
+
changes;
|
101
|
+
cellKeydown = new EventEmitter();
|
108
102
|
set metadata(value) {
|
109
103
|
this.meta = value;
|
110
104
|
this.cursor.metadata = value;
|
@@ -127,9 +121,35 @@ export class NavigationService {
|
|
127
121
|
});
|
128
122
|
}
|
129
123
|
}
|
124
|
+
viewport;
|
125
|
+
columnViewport;
|
126
|
+
activeRowIndex = 0;
|
127
|
+
alive = false;
|
128
|
+
active = true;
|
129
|
+
mode = 0 /* NavigationMode.Standby */;
|
130
|
+
model = new NavigationModel();
|
131
|
+
cursor = new NavigationCursor(this.model);
|
132
|
+
meta;
|
133
|
+
subs;
|
134
|
+
pendingRowIndex;
|
135
|
+
virtualCell;
|
130
136
|
get activeDataRow() {
|
131
137
|
return Math.max(0, this.activeRowIndex - this.meta.headerRows);
|
132
138
|
}
|
139
|
+
constructor(zone, domEvents, pagerContextService, scrollRequestService, focusRoot, editService, localization, expandState, selectionService, changeDetector, focusableParent) {
|
140
|
+
this.zone = zone;
|
141
|
+
this.domEvents = domEvents;
|
142
|
+
this.pagerContextService = pagerContextService;
|
143
|
+
this.scrollRequestService = scrollRequestService;
|
144
|
+
this.focusRoot = focusRoot;
|
145
|
+
this.editService = editService;
|
146
|
+
this.localization = localization;
|
147
|
+
this.expandState = expandState;
|
148
|
+
this.selectionService = selectionService;
|
149
|
+
this.changeDetector = changeDetector;
|
150
|
+
this.focusableParent = focusableParent;
|
151
|
+
this.changes = this.cursor.changes;
|
152
|
+
}
|
133
153
|
init(meta) {
|
134
154
|
this.alive = true;
|
135
155
|
this.focusRoot.active = true;
|
@@ -608,10 +628,10 @@ export class NavigationService {
|
|
608
628
|
this.leaveCell();
|
609
629
|
this.cursor.reset();
|
610
630
|
}
|
631
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, deps: [{ token: i0.NgZone }, { token: i1.DomEventsService }, { token: i2.PagerContextService }, { token: i3.ScrollRequestService }, { token: i4.FocusRoot }, { token: i5.EditService }, { token: i6.LocalizationService }, { token: i7.ExpandStateService }, { token: i8.SelectionService }, { token: i0.ChangeDetectorRef }, { token: i9.FocusableDirective, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
632
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService });
|
611
633
|
}
|
612
|
-
|
613
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService });
|
614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, decorators: [{
|
634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, decorators: [{
|
615
635
|
type: Injectable
|
616
636
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.DomEventsService }, { type: i2.PagerContextService }, { type: i3.ScrollRequestService }, { type: i4.FocusRoot }, { type: i5.EditService }, { type: i6.LocalizationService }, { type: i7.ExpandStateService }, { type: i8.SelectionService }, { type: i0.ChangeDetectorRef }, { type: i9.FocusableDirective, decorators: [{
|
617
637
|
type: Optional
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
9
9
|
name: '@progress/kendo-angular-treelist',
|
10
10
|
productName: 'Kendo UI for Angular',
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
12
|
-
publishDate:
|
13
|
-
version: '17.0.0-develop.
|
12
|
+
publishDate: 1730389056,
|
13
|
+
version: '17.0.0-develop.30',
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
15
15
|
};
|
@@ -7,10 +7,12 @@ import { Subject } from "rxjs";
|
|
7
7
|
* @hidden
|
8
8
|
*/
|
9
9
|
export class PagerContextService {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
total;
|
11
|
+
skip;
|
12
|
+
pageSize;
|
13
|
+
allCount;
|
14
|
+
changes = new Subject();
|
15
|
+
pageChange = new Subject();
|
14
16
|
get currentPage() {
|
15
17
|
return this.skip / this.pageSize;
|
16
18
|
}
|
@@ -13,19 +13,17 @@ import * as i2 from "./pager-context.service";
|
|
13
13
|
* @hidden
|
14
14
|
*/
|
15
15
|
export class PagerElementComponent {
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
this.caretAltToRightIcon = caretAltToRightIcon;
|
28
|
-
}
|
16
|
+
localization;
|
17
|
+
pagerContext;
|
18
|
+
cd;
|
19
|
+
total;
|
20
|
+
skip;
|
21
|
+
pageSize;
|
22
|
+
allCount;
|
23
|
+
caretAltLeftIcon = caretAltLeftIcon;
|
24
|
+
caretAltToLeftIcon = caretAltToLeftIcon;
|
25
|
+
caretAltRightIcon = caretAltRightIcon;
|
26
|
+
caretAltToRightIcon = caretAltToRightIcon;
|
29
27
|
/**
|
30
28
|
* @hidden
|
31
29
|
*
|
@@ -46,6 +44,16 @@ export class PagerElementComponent {
|
|
46
44
|
get totalPages() {
|
47
45
|
return Math.ceil((this.total || 0) / this.pageSize);
|
48
46
|
}
|
47
|
+
subscriptions;
|
48
|
+
constructor(localization, pagerContext, cd) {
|
49
|
+
this.localization = localization;
|
50
|
+
this.pagerContext = pagerContext;
|
51
|
+
this.cd = cd;
|
52
|
+
this.total = this.pagerContext.total;
|
53
|
+
this.skip = this.pagerContext.skip;
|
54
|
+
this.pageSize = this.pagerContext.pageSize;
|
55
|
+
this.allCount = this.pagerContext.allCount;
|
56
|
+
}
|
49
57
|
/**
|
50
58
|
* @hidden
|
51
59
|
*
|
@@ -94,10 +102,10 @@ export class PagerElementComponent {
|
|
94
102
|
get nextArrowSVGIcons() {
|
95
103
|
return !this.localization.rtl ? [this.caretAltRightIcon, this.caretAltToRightIcon] : [this.caretAltLeftIcon, this.caretAltToLeftIcon];
|
96
104
|
}
|
105
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
106
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PagerElementComponent, ngImport: i0 });
|
97
107
|
}
|
98
|
-
|
99
|
-
PagerElementComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PagerElementComponent, ngImport: i0 });
|
100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerElementComponent, decorators: [{
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerElementComponent, decorators: [{
|
101
109
|
type: Directive,
|
102
110
|
args: [{}]
|
103
111
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PagerContextService }, { type: i0.ChangeDetectorRef }]; } });
|
@@ -14,10 +14,7 @@ import * as i2 from "./pager-context.service";
|
|
14
14
|
* Displays information about the current page and the total number of records ([see example](slug:pager_template_treelist)).
|
15
15
|
*/
|
16
16
|
export class PagerInfoComponent extends PagerElementComponent {
|
17
|
-
|
18
|
-
super(localization, pagerContext, cd);
|
19
|
-
this.pagerContext = pagerContext;
|
20
|
-
}
|
17
|
+
pagerContext;
|
21
18
|
/**
|
22
19
|
* @hidden
|
23
20
|
*
|
@@ -48,6 +45,10 @@ export class PagerInfoComponent extends PagerElementComponent {
|
|
48
45
|
get classes() {
|
49
46
|
return true;
|
50
47
|
}
|
48
|
+
constructor(localization, cd, pagerContext) {
|
49
|
+
super(localization, pagerContext, cd);
|
50
|
+
this.pagerContext = pagerContext;
|
51
|
+
}
|
51
52
|
onChanges({ allCount, total, skip, pageSize }) {
|
52
53
|
this.total = total;
|
53
54
|
this.skip = skip;
|
@@ -55,10 +56,10 @@ export class PagerInfoComponent extends PagerElementComponent {
|
|
55
56
|
this.allCount = allCount;
|
56
57
|
this.cd.markForCheck();
|
57
58
|
}
|
59
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInfoComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
|
60
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerInfoComponent, isStandalone: true, selector: "kendo-treelist-pager-info", host: { properties: { "class.k-pager-info": "this.classes", "class.k-label": "this.classes" } }, usesInheritance: true, ngImport: i0, template: `{{textFor('pagerPage')}} {{currentPageText}} {{textFor('pagerOf')}} {{maxPage}} ({{allCount}} {{textFor('pagerItemsTotal')}})`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
58
61
|
}
|
59
|
-
|
60
|
-
PagerInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerInfoComponent, isStandalone: true, selector: "kendo-treelist-pager-info", host: { properties: { "class.k-pager-info": "this.classes", "class.k-label": "this.classes" } }, usesInheritance: true, ngImport: i0, template: `{{textFor('pagerPage')}} {{currentPageText}} {{textFor('pagerOf')}} {{maxPage}} ({{allCount}} {{textFor('pagerItemsTotal')}})`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInfoComponent, decorators: [{
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInfoComponent, decorators: [{
|
62
63
|
type: Component,
|
63
64
|
args: [{
|
64
65
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
@@ -19,49 +19,53 @@ import * as i3 from "../navigation/navigation.service";
|
|
19
19
|
* Displays an input element which allows the typing and rendering of page numbers.
|
20
20
|
*/
|
21
21
|
export class PagerInputComponent extends PagerElementComponent {
|
22
|
+
pagerContext;
|
23
|
+
navigationService;
|
24
|
+
zone;
|
25
|
+
numericInput;
|
22
26
|
constructor(localization, pagerContext, navigationService, zone, cd) {
|
23
27
|
super(localization, pagerContext, cd);
|
24
28
|
this.pagerContext = pagerContext;
|
25
29
|
this.navigationService = navigationService;
|
26
30
|
this.zone = zone;
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
this.changePage(incomingValue - 1);
|
41
|
-
});
|
42
|
-
}
|
43
|
-
}
|
44
|
-
};
|
45
|
-
/**
|
46
|
-
* @hidden
|
47
|
-
*
|
48
|
-
* @param {string} value
|
49
|
-
*
|
50
|
-
* @memberOf PagerInputComponent
|
51
|
-
*/
|
52
|
-
this.handleBlur = () => {
|
53
|
-
const inputValue = this.numericInput.value;
|
54
|
-
if (!inputValue) {
|
55
|
-
this.numericInput.writeValue(this.current);
|
56
|
-
return;
|
57
|
-
}
|
58
|
-
if (inputValue !== this.current) {
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* @hidden
|
34
|
+
*
|
35
|
+
* @param {string} value
|
36
|
+
*
|
37
|
+
* @memberOf PagerInputComponent
|
38
|
+
*/
|
39
|
+
handleKeyDown = (event) => {
|
40
|
+
const incomingValue = this.numericInput.value || this.current;
|
41
|
+
if (event.keyCode === Keys.Enter) {
|
42
|
+
event.preventDefault();
|
43
|
+
if (incomingValue !== this.current) {
|
59
44
|
this.zone.run(() => {
|
60
|
-
this.changePage(
|
45
|
+
this.changePage(incomingValue - 1);
|
61
46
|
});
|
62
47
|
}
|
63
|
-
}
|
64
|
-
}
|
48
|
+
}
|
49
|
+
};
|
50
|
+
/**
|
51
|
+
* @hidden
|
52
|
+
*
|
53
|
+
* @param {string} value
|
54
|
+
*
|
55
|
+
* @memberOf PagerInputComponent
|
56
|
+
*/
|
57
|
+
handleBlur = () => {
|
58
|
+
const inputValue = this.numericInput.value;
|
59
|
+
if (!inputValue) {
|
60
|
+
this.numericInput.writeValue(this.current);
|
61
|
+
return;
|
62
|
+
}
|
63
|
+
if (inputValue !== this.current) {
|
64
|
+
this.zone.run(() => {
|
65
|
+
this.changePage(inputValue - 1);
|
66
|
+
});
|
67
|
+
}
|
68
|
+
};
|
65
69
|
/**
|
66
70
|
* @hidden
|
67
71
|
*/
|
@@ -77,9 +81,8 @@ export class PagerInputComponent extends PagerElementComponent {
|
|
77
81
|
this.pageSize = pageSize;
|
78
82
|
this.cd.markForCheck();
|
79
83
|
}
|
80
|
-
}
|
81
|
-
|
82
|
-
PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerInputComponent, isStandalone: true, selector: "kendo-treelist-pager-input", viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
84
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i3.NavigationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
85
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerInputComponent, isStandalone: true, selector: "kendo-treelist-pager-input", viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
83
86
|
<span class="k-pager-input k-label">
|
84
87
|
{{textFor('pagerPage')}}
|
85
88
|
<kendo-numerictextbox
|
@@ -105,7 +108,8 @@ PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
105
108
|
{{textFor('pagerOf')}} {{totalPages}}
|
106
109
|
</span>
|
107
110
|
`, isInline: true, dependencies: [{ kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
108
|
-
|
111
|
+
}
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInputComponent, decorators: [{
|
109
113
|
type: Component,
|
110
114
|
args: [{
|
111
115
|
selector: 'kendo-treelist-pager-input',
|
@@ -18,10 +18,7 @@ import * as i3 from "../navigation/navigation.service";
|
|
18
18
|
* Displays buttons for navigating to the next and to the last page ([see example](slug:pager_template_treelist)).
|
19
19
|
*/
|
20
20
|
export class PagerNextButtonsComponent extends PagerElementComponent {
|
21
|
-
|
22
|
-
super(localization, pagerContext, cd);
|
23
|
-
this.navigationService = navigationService;
|
24
|
-
}
|
21
|
+
navigationService;
|
25
22
|
/**
|
26
23
|
* @hidden
|
27
24
|
*
|
@@ -32,6 +29,14 @@ export class PagerNextButtonsComponent extends PagerElementComponent {
|
|
32
29
|
get disabled() {
|
33
30
|
return this.currentPage === this.totalPages || !this.total;
|
34
31
|
}
|
32
|
+
/**
|
33
|
+
* @hidden
|
34
|
+
*/
|
35
|
+
navigable;
|
36
|
+
constructor(localization, pagerContext, cd, navigationService) {
|
37
|
+
super(localization, pagerContext, cd);
|
38
|
+
this.navigationService = navigationService;
|
39
|
+
}
|
35
40
|
/**
|
36
41
|
* @hidden
|
37
42
|
*/
|
@@ -47,9 +52,8 @@ export class PagerNextButtonsComponent extends PagerElementComponent {
|
|
47
52
|
this.pageSize = pageSize;
|
48
53
|
this.cd.markForCheck();
|
49
54
|
}
|
50
|
-
}
|
51
|
-
|
52
|
-
PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerNextButtonsComponent, isStandalone: true, selector: "kendo-treelist-pager-next-buttons", inputs: { navigable: "navigable" }, usesInheritance: true, ngImport: i0, template: `
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerNextButtonsComponent, isStandalone: true, selector: "kendo-treelist-pager-next-buttons", inputs: { navigable: "navigable" }, usesInheritance: true, ngImport: i0, template: `
|
53
57
|
<button
|
54
58
|
kendoButton
|
55
59
|
type="button"
|
@@ -80,8 +84,9 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
80
84
|
[attr.aria-label]="textFor('pagerLastPage')"
|
81
85
|
(click)="onButtonClick('lastPage')">
|
82
86
|
</button>
|
83
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
84
|
-
|
87
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
88
|
+
}
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNextButtonsComponent, decorators: [{
|
85
90
|
type: Component,
|
86
91
|
args: [{
|
87
92
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
@@ -17,10 +17,16 @@ import * as i2 from "./pager-context.service";
|
|
17
17
|
* Displays numeric buttons to enable navigation between the pages ([see example](slug:pager_template_treelist)).
|
18
18
|
*/
|
19
19
|
export class PagerNumericButtonsComponent extends PagerElementComponent {
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
pagerContext;
|
21
|
+
selectElement;
|
22
|
+
numbersElement;
|
23
|
+
/**
|
24
|
+
* The count of the displayed buttons.
|
25
|
+
*
|
26
|
+
* @type {number}
|
27
|
+
* @memberOf PagerNumericButtonsComponent
|
28
|
+
*/
|
29
|
+
buttonCount;
|
24
30
|
/**
|
25
31
|
* @hidden
|
26
32
|
*
|
@@ -53,6 +59,10 @@ export class PagerNumericButtonsComponent extends PagerElementComponent {
|
|
53
59
|
}
|
54
60
|
return 1;
|
55
61
|
}
|
62
|
+
constructor(localization, cd, pagerContext) {
|
63
|
+
super(localization, pagerContext, cd);
|
64
|
+
this.pagerContext = pagerContext;
|
65
|
+
}
|
56
66
|
/**
|
57
67
|
* @hidden
|
58
68
|
*/
|
@@ -87,9 +97,8 @@ export class PagerNumericButtonsComponent extends PagerElementComponent {
|
|
87
97
|
this.pageSize = pageSize;
|
88
98
|
this.cd.markForCheck();
|
89
99
|
}
|
90
|
-
}
|
91
|
-
|
92
|
-
PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerNumericButtonsComponent, isStandalone: true, selector: "kendo-treelist-pager-numeric-buttons", inputs: { buttonCount: "buttonCount" }, viewQueries: [{ propertyName: "selectElement", first: true, predicate: ["select"], descendants: true, read: ElementRef }, { propertyName: "numbersElement", first: true, predicate: ["numbers"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
|
101
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerNumericButtonsComponent, isStandalone: true, selector: "kendo-treelist-pager-numeric-buttons", inputs: { buttonCount: "buttonCount" }, viewQueries: [{ propertyName: "selectElement", first: true, predicate: ["select"], descendants: true, read: ElementRef }, { propertyName: "numbersElement", first: true, predicate: ["numbers"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
93
102
|
<select
|
94
103
|
class="k-dropdown-list k-dropdown k-picker k-picker-solid k-picker-md k-rounded-md"
|
95
104
|
kendoTreeListFocusable
|
@@ -156,8 +165,9 @@ PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
156
165
|
[attr.title]="pageLabel(end + 1)"
|
157
166
|
(click)="changePage(end)">...</button>
|
158
167
|
</div>
|
159
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
160
|
-
|
168
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
169
|
+
}
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNumericButtonsComponent, decorators: [{
|
161
171
|
type: Component,
|
162
172
|
args: [{
|
163
173
|
changeDetection: ChangeDetectionStrategy.OnPush,
|