@progress/kendo-angular-treelist 17.0.0-develop.4 → 17.0.0-develop.41
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 +2 -2
- 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/{pager → common}/pager-settings.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 -17
- 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 +71 -59
- 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 -25
- 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 +33 -29
- 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/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +34 -28
- 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 +33 -26
- 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/{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 +23 -16
- 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/string-filter.component.mjs +20 -15
- package/{esm2020 → esm2022}/index.mjs +3 -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 +416 -0
- package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +10 -6
- 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 +46 -26
- package/{esm2020 → esm2022}/navigation/treelist-focusable-element.mjs +1 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- 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/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/cell.component.mjs +60 -54
- 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 +12 -7
- 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 +62 -44
- package/{esm2020 → esm2022}/rendering/list.component.mjs +84 -44
- package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/table-body.component.mjs +48 -21
- 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 +16 -14
- package/{esm2020 → esm2022}/treelist.component.mjs +619 -420
- package/esm2022/treelist.module.mjs +173 -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 +4097 -4025
- 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 +4 -17
- package/layout/resizable.directive.d.ts +1 -1
- package/localization/messages.d.ts +6 -2
- 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/navigation/navigation.service.d.ts +1 -1
- package/package.json +27 -32
- 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/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 +2 -2
- 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 +4 -3
- package/treelist.module.d.ts +60 -65
- package/utils.d.ts +1 -1
- package/constants.d.ts +0 -12
- package/esm2020/common/dom-events.service.mjs +0 -26
- package/esm2020/constants.mjs +0 -12
- package/esm2020/filtering/cell/row-filtering.module.mjs +0 -77
- package/esm2020/filtering/menu/filter-menu.module.mjs +0 -80
- package/esm2020/filtering/shared-filtering.module.mjs +0 -94
- package/esm2020/localization/messages.mjs +0 -138
- package/esm2020/pager/pager-context.service.mjs +0 -42
- package/esm2020/pager/pager-element.component.mjs +0 -103
- package/esm2020/pager/pager-info.component.mjs +0 -75
- package/esm2020/pager/pager-input.component.mjs +0 -144
- package/esm2020/pager/pager-next-buttons.component.mjs +0 -126
- package/esm2020/pager/pager-numeric-buttons.component.mjs +0 -244
- package/esm2020/pager/pager-page-sizes.component.mjs +0 -139
- package/esm2020/pager/pager-prev-buttons.component.mjs +0 -126
- package/esm2020/pager/pager-template.directive.mjs +0 -48
- package/esm2020/pager/pager.component.mjs +0 -415
- package/esm2020/pager/pager.module.mjs +0 -43
- package/esm2020/pager/pagesize-item.interface.mjs +0 -5
- package/esm2020/rendering/body.module.mjs +0 -40
- package/esm2020/rendering/header/header.module.mjs +0 -94
- package/esm2020/shared.module.mjs +0 -41
- package/esm2020/treelist.module.mjs +0 -176
- package/fesm2015/progress-kendo-angular-treelist.mjs +0 -21537
- package/filtering/cell/row-filtering.module.d.ts +0 -57
- package/filtering/menu/filter-menu.module.d.ts +0 -60
- package/filtering/shared-filtering.module.d.ts +0 -52
- package/pager/pager-context.service.d.ts +0 -32
- package/pager/pager-element.component.d.ts +0 -74
- package/pager/pager-info.component.d.ts +0 -43
- package/pager/pager-input.component.d.ts +0 -45
- package/pager/pager-next-buttons.component.d.ts +0 -36
- package/pager/pager-numeric-buttons.component.d.ts +0 -52
- package/pager/pager-page-sizes.component.d.ts +0 -48
- package/pager/pager-prev-buttons.component.d.ts +0 -32
- package/pager/pager-template.directive.d.ts +0 -38
- package/pager/pager.component.d.ts +0 -73
- package/pager/pager.module.d.ts +0 -27
- package/pager/pagesize-item.interface.d.ts +0 -14
- package/rendering/body.module.d.ts +0 -28
- package/rendering/header/header.module.d.ts +0 -84
- package/shared.module.d.ts +0 -29
- /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/pager → esm2022/common}/pager-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/remove-confirmation.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}/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
@@ -38,5 +38,5 @@ export declare class RemoveCommandDirective extends BaseCommandDirective {
|
|
38
38
|
constructor(editService: EditService, element: ElementRef, renderer: Renderer2, localization: LocalizationService, ngZone: NgZone);
|
39
39
|
protected onClick(): void;
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveCommandDirective, never>;
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RemoveCommandDirective, "[kendoTreeListRemoveCommand]", never, { "cellContext": "kendoTreeListRemoveCommand"; }, {}, never, ["*"], true, never>;
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoveCommandDirective, "[kendoTreeListRemoveCommand]", never, { "cellContext": { "alias": "kendoTreeListRemoveCommand"; "required": false; }; }, {}, never, ["*"], true, never>;
|
42
42
|
}
|
@@ -38,5 +38,5 @@ export declare class SaveCommandDirective extends BaseCommandDirective {
|
|
38
38
|
constructor(editService: EditService, element: ElementRef, renderer: Renderer2, localization: LocalizationService, ngZone: NgZone);
|
39
39
|
protected onClick(): void;
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SaveCommandDirective, never>;
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SaveCommandDirective, "[kendoTreeListSaveCommand]", never, { "cellContext": "kendoTreeListSaveCommand"; }, {}, never, ["*"], true, never>;
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SaveCommandDirective, "[kendoTreeListSaveCommand]", never, { "cellContext": { "alias": "kendoTreeListSaveCommand"; "required": false; }; }, {}, never, ["*"], true, never>;
|
42
42
|
}
|
@@ -55,5 +55,5 @@ export declare abstract class EditingDirectiveBase implements OnInit, OnDestroy
|
|
55
55
|
protected clean(): void;
|
56
56
|
protected onStateChange(): void;
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditingDirectiveBase, never>;
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EditingDirectiveBase, never, never, { "editService": "editService"; "newItemId": "newItemId"; "removeConfirmation": "removeConfirmation"; }, {}, never, never, false, never>;
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditingDirectiveBase, never, never, { "editService": { "alias": "editService"; "required": false; }; "newItemId": { "alias": "newItemId"; "required": false; }; "removeConfirmation": { "alias": "removeConfirmation"; "required": false; }; }, {}, never, never, false, never>;
|
59
59
|
}
|
@@ -27,5 +27,5 @@ export declare class InCellEditingDirective extends EditingDirectiveBase {
|
|
27
27
|
protected cellClickHandler(args: any): void;
|
28
28
|
protected cellCloseHandler(args: any): void;
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<InCellEditingDirective, never>;
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<InCellEditingDirective, "[kendoTreeListInCellEditing]", ["kendoTreeListInCellEditing"], { "createFormGroup": "kendoTreeListInCellEditing"; }, {}, never, never, true, never>;
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InCellEditingDirective, "[kendoTreeListInCellEditing]", ["kendoTreeListInCellEditing"], { "createFormGroup": { "alias": "kendoTreeListInCellEditing"; "required": false; }; }, {}, never, never, true, never>;
|
31
31
|
}
|
@@ -20,5 +20,5 @@ export declare class ReactiveEditingDirective extends RowEditingDirectiveBase {
|
|
20
20
|
protected createModel(args: any): any;
|
21
21
|
protected saveModel({ dataItem, formGroup, isNew }: any): any;
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReactiveEditingDirective, never>;
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ReactiveEditingDirective, "[kendoTreeListReactiveEditing]", ["kendoTreeListReactiveEditing"], { "createFormGroup": "kendoTreeListReactiveEditing"; }, {}, never, never, true, never>;
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ReactiveEditingDirective, "[kendoTreeListReactiveEditing]", ["kendoTreeListReactiveEditing"], { "createFormGroup": { "alias": "kendoTreeListReactiveEditing"; "required": false; }; }, {}, never, never, true, never>;
|
24
24
|
}
|
@@ -15,7 +15,6 @@ export declare class TemplateEditingDirective extends RowEditingDirectiveBase {
|
|
15
15
|
* The function that creates the `dataItem` for the new rows.
|
16
16
|
*/
|
17
17
|
createNewItem: Function;
|
18
|
-
protected dataItem: any;
|
19
18
|
protected originalValues: any;
|
20
19
|
constructor(treelist: TreeListComponent);
|
21
20
|
protected editHandler(args: any): void;
|
@@ -23,5 +22,5 @@ export declare class TemplateEditingDirective extends RowEditingDirectiveBase {
|
|
23
22
|
protected createModel(args: any): any;
|
24
23
|
protected saveModel(args: any): any;
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateEditingDirective, never>;
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateEditingDirective, "[kendoTreeListTemplateEditing]", ["kendoTreeListTemplateEditing"], { "createNewItem": "kendoTreeListTemplateEditing"; }, {}, never, never, true, never>;
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateEditingDirective, "[kendoTreeListTemplateEditing]", ["kendoTreeListTemplateEditing"], { "createNewItem": { "alias": "kendoTreeListTemplateEditing"; "required": false; }; }, {}, never, never, true, never>;
|
27
26
|
}
|
@@ -13,16 +13,8 @@ import * as i0 from "@angular/core";
|
|
13
13
|
import * as i1 from "./data-bound-tree-component";
|
14
14
|
import * as i2 from "./../row-reordering/row-reorder.service";
|
15
15
|
export class BaseBindingDirective {
|
16
|
-
|
17
|
-
|
18
|
-
this.rowReorderService = rowReorderService;
|
19
|
-
this.state = {};
|
20
|
-
this.cache = new Map();
|
21
|
-
this.originalData = [];
|
22
|
-
this.subscriptions = new Subscription();
|
23
|
-
this.component.fetchChildren = this.fetchChildren.bind(this);
|
24
|
-
this.component.hasChildren = this.hasChildren.bind(this);
|
25
|
-
}
|
16
|
+
component;
|
17
|
+
rowReorderService;
|
26
18
|
/**
|
27
19
|
* Defines the descriptors by which the data will be sorted.
|
28
20
|
*/
|
@@ -41,6 +33,18 @@ export class BaseBindingDirective {
|
|
41
33
|
set aggregate(value) {
|
42
34
|
this._aggregate = value;
|
43
35
|
}
|
36
|
+
state = {};
|
37
|
+
dataChanged;
|
38
|
+
cache = new Map();
|
39
|
+
originalData = [];
|
40
|
+
_aggregate;
|
41
|
+
subscriptions = new Subscription();
|
42
|
+
constructor(component, rowReorderService) {
|
43
|
+
this.component = component;
|
44
|
+
this.rowReorderService = rowReorderService;
|
45
|
+
this.component.fetchChildren = this.fetchChildren.bind(this);
|
46
|
+
this.component.hasChildren = this.hasChildren.bind(this);
|
47
|
+
}
|
44
48
|
/**
|
45
49
|
* @hidden
|
46
50
|
*/
|
@@ -158,10 +162,10 @@ export class BaseBindingDirective {
|
|
158
162
|
this.originalData = value || [];
|
159
163
|
this.dataChanged = true;
|
160
164
|
}
|
165
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseBindingDirective, deps: [{ token: i1.DataBoundTreeComponent }, { token: i2.RowReorderService }], target: i0.ɵɵFactoryTarget.Directive });
|
166
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseBindingDirective, inputs: { sort: "sort", filter: "filter", aggregate: "aggregate" }, usesOnChanges: true, ngImport: i0 });
|
161
167
|
}
|
162
|
-
|
163
|
-
BaseBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BaseBindingDirective, inputs: { sort: "sort", filter: "filter", aggregate: "aggregate" }, usesOnChanges: true, ngImport: i0 });
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseBindingDirective, decorators: [{
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseBindingDirective, decorators: [{
|
165
169
|
type: Directive,
|
166
170
|
args: [{}]
|
167
171
|
}], ctorParameters: function () { return [{ type: i1.DataBoundTreeComponent }, { type: i2.RowReorderService }]; }, propDecorators: { sort: [{
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
10
10
|
* An injection token used by the data binding directives to interface with the TreeList or the Gantt.
|
11
11
|
*/
|
12
12
|
export class DataBoundTreeComponent {
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBoundTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
14
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBoundTreeComponent });
|
13
15
|
}
|
14
|
-
|
15
|
-
DataBoundTreeComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DataBoundTreeComponent });
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DataBoundTreeComponent, decorators: [{
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBoundTreeComponent, decorators: [{
|
17
17
|
type: Injectable
|
18
18
|
}] });
|
@@ -23,19 +23,8 @@ const ROOT_ID = null;
|
|
23
23
|
* and [filtering]({% slug filtering_treelist %}) ([more information and examples]({% slug databinding_treelist %})).
|
24
24
|
*/
|
25
25
|
export class FlatBindingDirective extends BaseBindingDirective {
|
26
|
-
|
27
|
-
|
28
|
-
this.component = component;
|
29
|
-
this.rowReorderService = rowReorderService;
|
30
|
-
this.idGetter = getter('id');
|
31
|
-
this.idSetter = setter('id');
|
32
|
-
this.parentIdGetter = getter('parentId');
|
33
|
-
this.parentIdSetter = setter('parentId');
|
34
|
-
component.localEditService = new FlatEditService(this);
|
35
|
-
if (this.rowReorderService) {
|
36
|
-
this.rowReorderService.bindingDirective = this;
|
37
|
-
}
|
38
|
-
}
|
26
|
+
component;
|
27
|
+
rowReorderService;
|
39
28
|
/**
|
40
29
|
* The name of the field which contains the identifier of the parent node.
|
41
30
|
*/
|
@@ -58,6 +47,25 @@ export class FlatBindingDirective extends BaseBindingDirective {
|
|
58
47
|
get idField() {
|
59
48
|
return this._idField;
|
60
49
|
}
|
50
|
+
/**
|
51
|
+
* The array of data which will be used to populate the TreeList.
|
52
|
+
*/
|
53
|
+
data;
|
54
|
+
idGetter = getter('id');
|
55
|
+
idSetter = setter('id');
|
56
|
+
parentIdGetter = getter('parentId');
|
57
|
+
parentIdSetter = setter('parentId');
|
58
|
+
constructor(component, rowReorderService) {
|
59
|
+
super(component);
|
60
|
+
this.component = component;
|
61
|
+
this.rowReorderService = rowReorderService;
|
62
|
+
component.localEditService = new FlatEditService(this);
|
63
|
+
if (this.rowReorderService) {
|
64
|
+
this.rowReorderService.bindingDirective = this;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
_parentIdField;
|
68
|
+
_idField;
|
61
69
|
/**
|
62
70
|
* @hidden
|
63
71
|
*/
|
@@ -90,15 +98,15 @@ export class FlatBindingDirective extends BaseBindingDirective {
|
|
90
98
|
}
|
91
99
|
this.rebind();
|
92
100
|
}
|
101
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlatBindingDirective, deps: [{ token: i1.DataBoundTreeComponent }, { token: i2.RowReorderService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
102
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FlatBindingDirective, isStandalone: true, selector: "[kendoTreeListFlatBinding]", inputs: { parentIdField: "parentIdField", idField: "idField", data: ["kendoTreeListFlatBinding", "data"] }, providers: [
|
103
|
+
{
|
104
|
+
provide: RowReorderService,
|
105
|
+
useClass: FlatRowReorderService
|
106
|
+
}
|
107
|
+
], exportAs: ["kendoTreeListFlatBinding"], usesInheritance: true, ngImport: i0 });
|
93
108
|
}
|
94
|
-
|
95
|
-
FlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FlatBindingDirective, isStandalone: true, selector: "[kendoTreeListFlatBinding]", inputs: { parentIdField: "parentIdField", idField: "idField", data: ["kendoTreeListFlatBinding", "data"] }, providers: [
|
96
|
-
{
|
97
|
-
provide: RowReorderService,
|
98
|
-
useClass: FlatRowReorderService
|
99
|
-
}
|
100
|
-
], exportAs: ["kendoTreeListFlatBinding"], usesInheritance: true, ngImport: i0 });
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FlatBindingDirective, decorators: [{
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlatBindingDirective, decorators: [{
|
102
110
|
type: Directive,
|
103
111
|
args: [{
|
104
112
|
exportAs: 'kendoTreeListFlatBinding',
|
@@ -20,17 +20,8 @@ import * as i2 from "../row-reordering/row-reorder.service";
|
|
20
20
|
* and [filtering]({% slug filtering_treelist %}) ([more information and examples](slug:local_databinding_treelist#toc-binding-to-hierarchical-data-1)).
|
21
21
|
*/
|
22
22
|
export class HierarchyBindingDirective extends BaseBindingDirective {
|
23
|
-
|
24
|
-
|
25
|
-
this.component = component;
|
26
|
-
this.rowReorderService = rowReorderService;
|
27
|
-
this.childrenGetter = getter('items');
|
28
|
-
this.childrenSetter = setter('items');
|
29
|
-
component.localEditService = new HierarchyEditService(this);
|
30
|
-
if (this.rowReorderService) {
|
31
|
-
this.rowReorderService.bindingDirective = this;
|
32
|
-
}
|
33
|
-
}
|
23
|
+
component;
|
24
|
+
rowReorderService;
|
34
25
|
/**
|
35
26
|
* The name of the field which holds the child data items of the node.
|
36
27
|
*/
|
@@ -42,6 +33,22 @@ export class HierarchyBindingDirective extends BaseBindingDirective {
|
|
42
33
|
get childrenField() {
|
43
34
|
return this._childrenField;
|
44
35
|
}
|
36
|
+
/**
|
37
|
+
* The array of data which will be used to populate the TreeList.
|
38
|
+
*/
|
39
|
+
data;
|
40
|
+
childrenGetter = getter('items');
|
41
|
+
childrenSetter = setter('items');
|
42
|
+
constructor(component, rowReorderService) {
|
43
|
+
super(component);
|
44
|
+
this.component = component;
|
45
|
+
this.rowReorderService = rowReorderService;
|
46
|
+
component.localEditService = new HierarchyEditService(this);
|
47
|
+
if (this.rowReorderService) {
|
48
|
+
this.rowReorderService.bindingDirective = this;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
_childrenField;
|
45
52
|
/**
|
46
53
|
* @hidden
|
47
54
|
*/
|
@@ -64,15 +71,15 @@ export class HierarchyBindingDirective extends BaseBindingDirective {
|
|
64
71
|
this.rowReorderService.reorderRows(ev, this.originalData, this.childrenField);
|
65
72
|
this.rebind();
|
66
73
|
}
|
74
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HierarchyBindingDirective, deps: [{ token: i1.DataBoundTreeComponent }, { token: i2.RowReorderService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
75
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: HierarchyBindingDirective, isStandalone: true, selector: "[kendoTreeListHierarchyBinding]", inputs: { childrenField: "childrenField", data: ["kendoTreeListHierarchyBinding", "data"] }, providers: [
|
76
|
+
{
|
77
|
+
provide: RowReorderService,
|
78
|
+
useClass: HierarchicalRowReorderService
|
79
|
+
}
|
80
|
+
], exportAs: ["kendoTreeListHierarchyBinding"], usesInheritance: true, ngImport: i0 });
|
67
81
|
}
|
68
|
-
|
69
|
-
HierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HierarchyBindingDirective, isStandalone: true, selector: "[kendoTreeListHierarchyBinding]", inputs: { childrenField: "childrenField", data: ["kendoTreeListHierarchyBinding", "data"] }, providers: [
|
70
|
-
{
|
71
|
-
provide: RowReorderService,
|
72
|
-
useClass: HierarchicalRowReorderService
|
73
|
-
}
|
74
|
-
], exportAs: ["kendoTreeListHierarchyBinding"], usesInheritance: true, ngImport: i0 });
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HierarchyBindingDirective, decorators: [{
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HierarchyBindingDirective, decorators: [{
|
76
83
|
type: Directive,
|
77
84
|
args: [{
|
78
85
|
exportAs: 'kendoTreeListHierarchyBinding',
|
@@ -29,6 +29,28 @@ import * as i3 from "@progress/kendo-angular-popup";
|
|
29
29
|
* ```
|
30
30
|
*/
|
31
31
|
export class ColumnChooserComponent {
|
32
|
+
localization;
|
33
|
+
columnInfoService;
|
34
|
+
popupService;
|
35
|
+
ngZone;
|
36
|
+
renderer;
|
37
|
+
changeDetector;
|
38
|
+
/**
|
39
|
+
* Specifies if the changes in the visibility of the column will be immediately applied.
|
40
|
+
* @default false
|
41
|
+
*/
|
42
|
+
autoSync = false;
|
43
|
+
/**
|
44
|
+
* Specifies if all columns can be hidden.
|
45
|
+
* @default true
|
46
|
+
*/
|
47
|
+
allowHideAll = true;
|
48
|
+
get columns() {
|
49
|
+
return this.columnInfoService.leafNamedColumns;
|
50
|
+
}
|
51
|
+
columnsIcon = columnsIcon;
|
52
|
+
popupRef;
|
53
|
+
closeClick;
|
32
54
|
constructor(localization, columnInfoService, popupService, ngZone, renderer, changeDetector) {
|
33
55
|
this.localization = localization;
|
34
56
|
this.columnInfoService = columnInfoService;
|
@@ -36,20 +58,6 @@ export class ColumnChooserComponent {
|
|
36
58
|
this.ngZone = ngZone;
|
37
59
|
this.renderer = renderer;
|
38
60
|
this.changeDetector = changeDetector;
|
39
|
-
/**
|
40
|
-
* Specifies if the changes in the visibility of the column will be immediately applied.
|
41
|
-
* @default false
|
42
|
-
*/
|
43
|
-
this.autoSync = false;
|
44
|
-
/**
|
45
|
-
* Specifies if all columns can be hidden.
|
46
|
-
* @default true
|
47
|
-
*/
|
48
|
-
this.allowHideAll = true;
|
49
|
-
this.columnsIcon = columnsIcon;
|
50
|
-
}
|
51
|
-
get columns() {
|
52
|
-
return this.columnInfoService.leafNamedColumns;
|
53
61
|
}
|
54
62
|
ngOnDestroy() {
|
55
63
|
this.close();
|
@@ -112,9 +120,8 @@ export class ColumnChooserComponent {
|
|
112
120
|
this.closeClick = null;
|
113
121
|
}
|
114
122
|
}
|
115
|
-
}
|
116
|
-
|
117
|
-
ColumnChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColumnChooserComponent, isStandalone: true, selector: "kendo-treelist-column-chooser", inputs: { autoSync: "autoSync", allowHideAll: "allowHideAll" }, ngImport: i0, template: `
|
123
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnChooserComponent, deps: [{ token: i1.LocalizationService }, { token: i2.ColumnInfoService }, { token: i3.PopupService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
124
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnChooserComponent, isStandalone: true, selector: "kendo-treelist-column-chooser", inputs: { autoSync: "autoSync", allowHideAll: "allowHideAll" }, ngImport: i0, template: `
|
118
125
|
<button #anchor
|
119
126
|
kendoButton
|
120
127
|
type="button"
|
@@ -135,8 +142,9 @@ ColumnChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
135
142
|
(columnChange)="onChange($event)">
|
136
143
|
</kendo-treelist-columnlist>
|
137
144
|
</ng-template>
|
138
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
139
|
-
|
145
|
+
`, 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: "component", type: ColumnListComponent, selector: "kendo-treelist-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass"], outputs: ["reset", "apply", "columnChange"] }] });
|
146
|
+
}
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnChooserComponent, decorators: [{
|
140
148
|
type: Component,
|
141
149
|
args: [{
|
142
150
|
selector: 'kendo-treelist-column-chooser',
|
@@ -2,29 +2,24 @@
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
|
-
import { Component, HostBinding, Input, ElementRef, NgZone, Renderer2, Output, EventEmitter } from '@angular/core';
|
6
|
-
import { hasClasses } from '../rendering/common/dom-queries';
|
5
|
+
import { Component, HostBinding, Input, ElementRef, NgZone, Renderer2, Output, EventEmitter, QueryList, ViewChildren } from '@angular/core';
|
7
6
|
import { NgFor, NgIf, NgClass } from '@angular/common';
|
7
|
+
import { CheckBoxComponent } from '@progress/kendo-angular-inputs';
|
8
|
+
import { take } from 'rxjs/operators';
|
8
9
|
import * as i0 from "@angular/core";
|
9
10
|
/**
|
10
11
|
* @hidden
|
11
12
|
*/
|
12
13
|
export class ColumnListComponent {
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
this.renderer = renderer;
|
17
|
-
this.reset = new EventEmitter();
|
18
|
-
this.apply = new EventEmitter();
|
19
|
-
this.columnChange = new EventEmitter();
|
20
|
-
this.autoSync = true;
|
21
|
-
this.allowHideAll = false;
|
22
|
-
this.actionsClass = 'k-actions';
|
23
|
-
this.unlockedCount = 0;
|
24
|
-
}
|
14
|
+
element;
|
15
|
+
ngZone;
|
16
|
+
renderer;
|
25
17
|
get className() {
|
26
18
|
return true;
|
27
19
|
}
|
20
|
+
reset = new EventEmitter();
|
21
|
+
apply = new EventEmitter();
|
22
|
+
columnChange = new EventEmitter();
|
28
23
|
set columns(value) {
|
29
24
|
this._columns = value.filter(column => column.includeInChooser !== false);
|
30
25
|
this.allColumns = value;
|
@@ -33,6 +28,25 @@ export class ColumnListComponent {
|
|
33
28
|
get columns() {
|
34
29
|
return this._columns;
|
35
30
|
}
|
31
|
+
autoSync = true;
|
32
|
+
allowHideAll = false;
|
33
|
+
applyText;
|
34
|
+
resetText;
|
35
|
+
actionsClass = 'k-actions';
|
36
|
+
checkboxes;
|
37
|
+
hasLocked;
|
38
|
+
hasVisibleLocked;
|
39
|
+
unlockedCount = 0;
|
40
|
+
hasUnlockedFiltered;
|
41
|
+
hasFiltered;
|
42
|
+
_columns;
|
43
|
+
allColumns;
|
44
|
+
domSubscriptions;
|
45
|
+
constructor(element, ngZone, renderer) {
|
46
|
+
this.element = element;
|
47
|
+
this.ngZone = ngZone;
|
48
|
+
this.renderer = renderer;
|
49
|
+
}
|
36
50
|
isDisabled(column) {
|
37
51
|
return !(this.allowHideAll || this.hasFiltered || column.hidden || this.columns.find(current => current !== column && !current.hidden)) ||
|
38
52
|
(this.hasVisibleLocked && !this.hasUnlockedFiltered && this.unlockedCount === 1 && !column.locked && !column.hidden);
|
@@ -43,22 +57,26 @@ export class ColumnListComponent {
|
|
43
57
|
}
|
44
58
|
this.ngZone.runOutsideAngular(() => {
|
45
59
|
this.domSubscriptions = this.renderer.listen(this.element.nativeElement, 'click', (e) => {
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
this.
|
53
|
-
|
54
|
-
|
55
|
-
|
60
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
61
|
+
const closestItem = e.target.closest('.k-checkbox-wrap');
|
62
|
+
if (closestItem) {
|
63
|
+
if (this.autoSync) {
|
64
|
+
const checkbox = this.checkboxes.find(checkBox => checkBox.hostElement.nativeElement === closestItem);
|
65
|
+
const index = parseInt(closestItem.firstElementChild.getAttribute('data-index'), 10);
|
66
|
+
const column = this.columns[index];
|
67
|
+
const hidden = !checkbox.checkedState;
|
68
|
+
if (Boolean(column.hidden) !== hidden) {
|
69
|
+
this.ngZone.run(() => {
|
70
|
+
column.hidden = hidden;
|
71
|
+
this.columnChange.emit([column]);
|
72
|
+
});
|
73
|
+
}
|
74
|
+
}
|
75
|
+
else {
|
76
|
+
this.ngZone.run(() => this.updateDisabled());
|
56
77
|
}
|
57
78
|
}
|
58
|
-
|
59
|
-
this.updateDisabled();
|
60
|
-
}
|
61
|
-
}
|
79
|
+
});
|
62
80
|
});
|
63
81
|
});
|
64
82
|
}
|
@@ -68,17 +86,17 @@ export class ColumnListComponent {
|
|
68
86
|
}
|
69
87
|
}
|
70
88
|
cancelChanges() {
|
71
|
-
this.
|
72
|
-
|
89
|
+
this.checkboxes.forEach((item, index) => {
|
90
|
+
item.checkedState = !this.columns[index].hidden;
|
73
91
|
});
|
74
92
|
this.updateDisabled();
|
75
93
|
this.reset.emit();
|
76
94
|
}
|
77
95
|
applyChanges() {
|
78
96
|
const changed = [];
|
79
|
-
this.
|
97
|
+
this.checkboxes.forEach((item, index) => {
|
80
98
|
const column = this.columns[index];
|
81
|
-
const hidden = !
|
99
|
+
const hidden = !item.checkedState;
|
82
100
|
if (Boolean(column.hidden) !== hidden) {
|
83
101
|
column.hidden = hidden;
|
84
102
|
changed.push(column);
|
@@ -87,20 +105,13 @@ export class ColumnListComponent {
|
|
87
105
|
this.updateDisabled();
|
88
106
|
this.apply.emit(changed);
|
89
107
|
}
|
90
|
-
forEachCheckBox(callback) {
|
91
|
-
const checkboxes = this.element.nativeElement.getElementsByClassName('k-checkbox');
|
92
|
-
const length = checkboxes.length;
|
93
|
-
for (let idx = 0; idx < length; idx++) {
|
94
|
-
callback(checkboxes[idx], idx);
|
95
|
-
}
|
96
|
-
}
|
97
108
|
updateDisabled() {
|
98
109
|
if (this.allowHideAll && !this.hasLocked) {
|
99
110
|
return;
|
100
111
|
}
|
101
112
|
const checkedItems = [];
|
102
|
-
this.
|
103
|
-
if (checkbox.
|
113
|
+
this.checkboxes.forEach((checkbox, index) => {
|
114
|
+
if (checkbox.checkedState) {
|
104
115
|
checkedItems.push({ checkbox, index });
|
105
116
|
}
|
106
117
|
checkbox.disabled = false;
|
@@ -130,17 +141,15 @@ export class ColumnListComponent {
|
|
130
141
|
this.hasUnlockedFiltered = false;
|
131
142
|
}
|
132
143
|
}
|
133
|
-
}
|
134
|
-
|
135
|
-
ColumnListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColumnListComponent, isStandalone: true, selector: "kendo-treelist-columnlist", inputs: { columns: "columns", autoSync: "autoSync", allowHideAll: "allowHideAll", applyText: "applyText", resetText: "resetText", actionsClass: "actionsClass" }, outputs: { reset: "reset", apply: "apply", columnChange: "columnChange" }, host: { properties: { "class.k-column-list-wrapper": "this.className" } }, ngImport: i0, template: `
|
144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnListComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
145
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnListComponent, isStandalone: true, selector: "kendo-treelist-columnlist", inputs: { columns: "columns", autoSync: "autoSync", allowHideAll: "allowHideAll", applyText: "applyText", resetText: "resetText", actionsClass: "actionsClass" }, outputs: { reset: "reset", apply: "apply", columnChange: "columnChange" }, host: { properties: { "class.k-column-list-wrapper": "this.className" } }, viewQueries: [{ propertyName: "checkboxes", predicate: CheckBoxComponent, descendants: true }], ngImport: i0, template: `
|
136
146
|
<div class="k-column-list">
|
137
147
|
<label *ngFor="let column of columns; let index = index;" class='k-column-list-item'>
|
138
|
-
<
|
139
|
-
|
140
|
-
|
141
|
-
[
|
142
|
-
|
143
|
-
[disabled]="isDisabled(column)" />
|
148
|
+
<kendo-checkbox
|
149
|
+
[inputAttributes]="{'data-index': index.toString()}"
|
150
|
+
[checkedState]="!column.hidden"
|
151
|
+
[disabled]="isDisabled(column)"
|
152
|
+
></kendo-checkbox>
|
144
153
|
<span class="k-checkbox-label">{{ column.displayTitle }}</span>
|
145
154
|
</label>
|
146
155
|
</div>
|
@@ -158,20 +167,20 @@ ColumnListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
158
167
|
{{ applyText }}
|
159
168
|
</button>
|
160
169
|
</div>
|
161
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
162
|
-
|
170
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }] });
|
171
|
+
}
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnListComponent, decorators: [{
|
163
173
|
type: Component,
|
164
174
|
args: [{
|
165
175
|
selector: 'kendo-treelist-columnlist',
|
166
176
|
template: `
|
167
177
|
<div class="k-column-list">
|
168
178
|
<label *ngFor="let column of columns; let index = index;" class='k-column-list-item'>
|
169
|
-
<
|
170
|
-
|
171
|
-
|
172
|
-
[
|
173
|
-
|
174
|
-
[disabled]="isDisabled(column)" />
|
179
|
+
<kendo-checkbox
|
180
|
+
[inputAttributes]="{'data-index': index.toString()}"
|
181
|
+
[checkedState]="!column.hidden"
|
182
|
+
[disabled]="isDisabled(column)"
|
183
|
+
></kendo-checkbox>
|
175
184
|
<span class="k-checkbox-label">{{ column.displayTitle }}</span>
|
176
185
|
</label>
|
177
186
|
</div>
|
@@ -191,7 +200,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
191
200
|
</div>
|
192
201
|
`,
|
193
202
|
standalone: true,
|
194
|
-
imports: [NgFor, NgIf, NgClass]
|
203
|
+
imports: [NgFor, NgIf, NgClass, CheckBoxComponent]
|
195
204
|
}]
|
196
205
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { className: [{
|
197
206
|
type: HostBinding,
|
@@ -214,4 +223,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
214
223
|
type: Input
|
215
224
|
}], actionsClass: [{
|
216
225
|
type: Input
|
226
|
+
}], checkboxes: [{
|
227
|
+
type: ViewChildren,
|
228
|
+
args: [CheckBoxComponent]
|
217
229
|
}] } });
|