@progress/kendo-angular-treelist 17.0.0-develop.9 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binding-directives/base-binding.directive.d.ts +1 -1
- package/binding-directives/flat-binding.directive.d.ts +1 -1
- package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
- package/column-menu/column-chooser.component.d.ts +1 -1
- package/column-menu/column-list.component.d.ts +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 +26 -18
- 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 +53 -33
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-wrapper.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/cell/filter-cell.component.mjs +11 -8
- package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +23 -17
- package/{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 +85 -45
- 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 +15 -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 +4095 -4024
- 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 +4 -4
- 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
@@ -37,17 +37,26 @@ const pipe = (...fns) => data => fns.reduce((state, fn) => state ? fn(state) : 0
|
|
37
37
|
* @hidden
|
38
38
|
*/
|
39
39
|
export class TableDirective {
|
40
|
+
element;
|
41
|
+
renderer;
|
42
|
+
service;
|
43
|
+
zone;
|
44
|
+
cdr;
|
45
|
+
locked = false;
|
46
|
+
virtualColumns;
|
47
|
+
get minWidth() {
|
48
|
+
return this.firstResize ? 0 : null;
|
49
|
+
}
|
50
|
+
originalWidth;
|
51
|
+
firstResize = false;
|
52
|
+
subscription;
|
53
|
+
autoFitSubscription;
|
40
54
|
constructor(element, renderer, service, zone, cdr) {
|
41
55
|
this.element = element;
|
42
56
|
this.renderer = renderer;
|
43
57
|
this.service = service;
|
44
58
|
this.zone = zone;
|
45
59
|
this.cdr = cdr;
|
46
|
-
this.locked = false;
|
47
|
-
this.firstResize = false;
|
48
|
-
}
|
49
|
-
get minWidth() {
|
50
|
-
return this.firstResize ? 0 : null;
|
51
60
|
}
|
52
61
|
ngOnInit() {
|
53
62
|
const obs = this.service
|
@@ -102,10 +111,10 @@ export class TableDirective {
|
|
102
111
|
}
|
103
112
|
return Math.max(header, data);
|
104
113
|
}
|
114
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ColumnResizingService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
115
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TableDirective, isStandalone: true, selector: "[kendoTreeListResizableTable]", inputs: { locked: "locked", virtualColumns: "virtualColumns" }, host: { properties: { "style.min-width": "this.minWidth" } }, ngImport: i0 });
|
105
116
|
}
|
106
|
-
|
107
|
-
TableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TableDirective, isStandalone: true, selector: "[kendoTreeListResizableTable]", inputs: { locked: "locked", virtualColumns: "virtualColumns" }, host: { properties: { "style.min-width": "this.minWidth" } }, ngImport: i0 });
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TableDirective, decorators: [{
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableDirective, decorators: [{
|
109
118
|
type: Directive,
|
110
119
|
args: [{
|
111
120
|
selector: '[kendoTreeListResizableTable]',
|
@@ -11,26 +11,41 @@ import * as i1 from "./column-base";
|
|
11
11
|
* Represents the checkbox for selecting rows in the TreeList. [See example](slug:treelist_row_selection#toc-select-all-checkbox).
|
12
12
|
*/
|
13
13
|
export class CheckboxColumnComponent extends ColumnBase {
|
14
|
+
parent;
|
15
|
+
/**
|
16
|
+
* Determines whether a select-all checkbox will be displayed in the header.
|
17
|
+
*/
|
18
|
+
showSelectAll;
|
19
|
+
/**
|
20
|
+
* Determines whether checkbox click should select / unselect all children
|
21
|
+
*/
|
22
|
+
checkChildren;
|
23
|
+
/**
|
24
|
+
* Defines whether the expanded indicator should be rendered in the column.
|
25
|
+
* @default false
|
26
|
+
*/
|
27
|
+
expandable;
|
28
|
+
/*
|
29
|
+
* @hidden
|
30
|
+
*/
|
31
|
+
isCheckboxColumn = true;
|
32
|
+
template;
|
14
33
|
constructor(parent) {
|
15
34
|
super(parent);
|
16
35
|
this.parent = parent;
|
17
|
-
/*
|
18
|
-
* @hidden
|
19
|
-
*/
|
20
|
-
this.isCheckboxColumn = true;
|
21
36
|
}
|
22
37
|
get templateRef() {
|
23
38
|
return this.template ? this.template.templateRef : undefined;
|
24
39
|
}
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
41
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CheckboxColumnComponent, isStandalone: true, selector: "kendo-treelist-checkbox-column", inputs: { showSelectAll: "showSelectAll", checkChildren: "checkChildren", expandable: "expandable" }, providers: [
|
42
|
+
{
|
43
|
+
provide: ColumnBase,
|
44
|
+
useExisting: forwardRef(() => CheckboxColumnComponent)
|
45
|
+
}
|
46
|
+
], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
25
47
|
}
|
26
|
-
|
27
|
-
CheckboxColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CheckboxColumnComponent, isStandalone: true, selector: "kendo-treelist-checkbox-column", inputs: { showSelectAll: "showSelectAll", checkChildren: "checkChildren", expandable: "expandable" }, providers: [
|
28
|
-
{
|
29
|
-
provide: ColumnBase,
|
30
|
-
useExisting: forwardRef(() => CheckboxColumnComponent)
|
31
|
-
}
|
32
|
-
], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckboxColumnComponent, decorators: [{
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxColumnComponent, decorators: [{
|
34
49
|
type: Component,
|
35
50
|
args: [{
|
36
51
|
providers: [
|
@@ -26,78 +26,18 @@ const isColumnContainer = column => column.isColumnGroup || isSpanColumn(column)
|
|
26
26
|
* The base class for the column components of the TreeList.
|
27
27
|
*/
|
28
28
|
export class ColumnBase {
|
29
|
+
parent;
|
30
|
+
optionChanges;
|
29
31
|
/**
|
30
32
|
* @hidden
|
31
33
|
*/
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
/**
|
40
|
-
* The column index after reordering.
|
41
|
-
* The orderIndex` is a read-only property. Setting this field does not affect column order.
|
42
|
-
* @default 0
|
43
|
-
*/
|
44
|
-
this.orderIndex = 0;
|
45
|
-
/**
|
46
|
-
* @hidden
|
47
|
-
*/
|
48
|
-
this.isColumnGroup = false;
|
49
|
-
/**
|
50
|
-
* @hidden
|
51
|
-
*/
|
52
|
-
this.isSpanColumn = false;
|
53
|
-
/**
|
54
|
-
* Indicates whether the column is resizable.
|
55
|
-
* @default true
|
56
|
-
*/
|
57
|
-
this.resizable = true;
|
58
|
-
/**
|
59
|
-
* Indicates whether the column is reorderable.
|
60
|
-
* @default true
|
61
|
-
*/
|
62
|
-
this.reorderable = true;
|
63
|
-
/**
|
64
|
-
* The width (in pixels) below which the user is not able to resize the column by using the UI.
|
65
|
-
* @default 10
|
66
|
-
*/
|
67
|
-
this.minResizableWidth = 10;
|
68
|
-
this._locked = false;
|
69
|
-
/**
|
70
|
-
* Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
|
71
|
-
* @default true
|
72
|
-
*/
|
73
|
-
this.lockable = true;
|
74
|
-
/**
|
75
|
-
* Specifies if the column menu will be shown for the column.
|
76
|
-
* @default true
|
77
|
-
*/
|
78
|
-
this.columnMenu = true;
|
79
|
-
/**
|
80
|
-
* Specifies if the column will be included in the column-chooser list.
|
81
|
-
* @default true
|
82
|
-
*/
|
83
|
-
this.includeInChooser = true;
|
84
|
-
/**
|
85
|
-
* Allows setting the `role` attribute for the table cells (excluding the footer and header ones) of the column.
|
86
|
-
* @default "gridcell"
|
87
|
-
*/
|
88
|
-
this.tableCellsRole = 'gridcell';
|
89
|
-
/**
|
90
|
-
* @hidden
|
91
|
-
*/
|
92
|
-
this.headerTemplates = new QueryList();
|
93
|
-
/**
|
94
|
-
* @hidden
|
95
|
-
*/
|
96
|
-
this.columnMenuTemplates = new QueryList();
|
97
|
-
if (parent && !isColumnContainer(parent)) {
|
98
|
-
throw new Error('Columns can be nested only inside ColumnGroupComponent');
|
99
|
-
}
|
100
|
-
}
|
34
|
+
matchesMedia = true;
|
35
|
+
/**
|
36
|
+
* The column index after reordering.
|
37
|
+
* The orderIndex` is a read-only property. Setting this field does not affect column order.
|
38
|
+
* @default 0
|
39
|
+
*/
|
40
|
+
orderIndex = 0;
|
101
41
|
/**
|
102
42
|
* @hidden
|
103
43
|
*/
|
@@ -110,6 +50,34 @@ export class ColumnBase {
|
|
110
50
|
get leafIndex() {
|
111
51
|
return this._leafIndex;
|
112
52
|
}
|
53
|
+
_leafIndex;
|
54
|
+
/**
|
55
|
+
* @hidden
|
56
|
+
*/
|
57
|
+
isColumnGroup = false;
|
58
|
+
/**
|
59
|
+
* @hidden
|
60
|
+
*/
|
61
|
+
isSpanColumn = false;
|
62
|
+
/**
|
63
|
+
* Indicates whether the column is resizable.
|
64
|
+
* @default true
|
65
|
+
*/
|
66
|
+
resizable = true;
|
67
|
+
/**
|
68
|
+
* Indicates whether the column is reorderable.
|
69
|
+
* @default true
|
70
|
+
*/
|
71
|
+
reorderable = true;
|
72
|
+
/**
|
73
|
+
* The width (in pixels) below which the user is not able to resize the column by using the UI.
|
74
|
+
* @default 10
|
75
|
+
*/
|
76
|
+
minResizableWidth = 10;
|
77
|
+
/**
|
78
|
+
* The title of the column.
|
79
|
+
*/
|
80
|
+
title;
|
113
81
|
/**
|
114
82
|
* The width of the column (in pixels).
|
115
83
|
*/
|
@@ -117,6 +85,10 @@ export class ColumnBase {
|
|
117
85
|
this._width = parseInt(value, 10);
|
118
86
|
}
|
119
87
|
get width() { return this._width; }
|
88
|
+
/**
|
89
|
+
* Indicates whether the column will be resized during initialization so that it fits its header and row content.
|
90
|
+
*/
|
91
|
+
autoSize;
|
120
92
|
/**
|
121
93
|
* Toggles the locked (frozen) state of the columns ([more information and example](slug:locked_columns_treelist)).
|
122
94
|
*
|
@@ -128,6 +100,91 @@ export class ColumnBase {
|
|
128
100
|
get locked() {
|
129
101
|
return this._locked;
|
130
102
|
}
|
103
|
+
_locked = false;
|
104
|
+
/**
|
105
|
+
* Sets the visibility of the column ([see example](slug:hidden_columns_treelist#toc-using-the-built-in-options)).
|
106
|
+
*
|
107
|
+
* @default false
|
108
|
+
*/
|
109
|
+
hidden;
|
110
|
+
/**
|
111
|
+
* Sets the condition that needs to be satisfied for a column to remain visible ([see example](slug:responsive_treelist#toc-columns)).
|
112
|
+
* If you set the `hidden` property, the behavior of `media` is overridden.
|
113
|
+
*/
|
114
|
+
media;
|
115
|
+
/**
|
116
|
+
* Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
|
117
|
+
* @default true
|
118
|
+
*/
|
119
|
+
lockable = true;
|
120
|
+
/**
|
121
|
+
* Specifies if the column menu will be shown for the column.
|
122
|
+
* @default true
|
123
|
+
*/
|
124
|
+
columnMenu = true;
|
125
|
+
/**
|
126
|
+
* Specifies if the column will be included in the column-chooser list.
|
127
|
+
* @default true
|
128
|
+
*/
|
129
|
+
includeInChooser = true;
|
130
|
+
/**
|
131
|
+
* Allows setting the `role` attribute for the table cells (excluding the footer and header ones) of the column.
|
132
|
+
* @default "gridcell"
|
133
|
+
*/
|
134
|
+
tableCellsRole = 'gridcell';
|
135
|
+
/**
|
136
|
+
* Sets the custom styles for the table cells (excluding the footer and header ones) of the column. Under the hood,
|
137
|
+
* to apply the property, the `style` option uses the
|
138
|
+
* [NgStyle](link:site.data.urls.angular['ngstyleapi']) directive. [See example](slug:styling_treelist_columns).
|
139
|
+
*/
|
140
|
+
style;
|
141
|
+
/**
|
142
|
+
* Sets the custom styles for the header cell of the column. Under the hood, to apply the property,
|
143
|
+
* the `headerStyle` option uses the
|
144
|
+
* [NgStyle](link:site.data.urls.angular['ngstyleapi']) directive. [See example](slug:styling_treelist_columns).
|
145
|
+
*/
|
146
|
+
headerStyle;
|
147
|
+
/**
|
148
|
+
* Sets the custom styles for the footer cell of the column. Under the hood, to apply the property,
|
149
|
+
* the `footerStyle` option uses the
|
150
|
+
* [NgStyle](link:site.data.urls.angular['ngstyleapi']) directive. [See example](slug:styling_treelist_columns).
|
151
|
+
*/
|
152
|
+
footerStyle;
|
153
|
+
/**
|
154
|
+
* Sets the custom CSS classes to the column cells. Under the hood, to apply the property, the `class` option uses the
|
155
|
+
* [NgClass](link:site.data.urls.angular['ngclassapi']) directive.
|
156
|
+
* To customize header and footer column cells, use the [`headerClass`]({% slug api_treelist_columncomponent %}#toc-headerclass)
|
157
|
+
* and [`footerClass`]({% slug api_treelist_columncomponent %}#toc-footerclass) inputs.
|
158
|
+
*/
|
159
|
+
cssClass;
|
160
|
+
/**
|
161
|
+
* Sets the custom CSS classes to the column header cell. Under the hood, to apply the property,
|
162
|
+
* the `headerClass` option uses the
|
163
|
+
* [NgClass](link:site.data.urls.angular['ngclassapi']) directive. [See example](slug:styling_treelist_columns).
|
164
|
+
*/
|
165
|
+
headerClass;
|
166
|
+
/**
|
167
|
+
* Sets the custom CSS classes to the column footer cell. Under the hood, to apply the property,
|
168
|
+
* the `footerClass` option uses the
|
169
|
+
* [NgClass](link:site.data.urls.angular['ngclassapi']) directive. [See example](slug:styling_treelist_columns).
|
170
|
+
*/
|
171
|
+
footerClass;
|
172
|
+
/**
|
173
|
+
* @hidden
|
174
|
+
*/
|
175
|
+
headerTemplates = new QueryList();
|
176
|
+
/**
|
177
|
+
* @hidden
|
178
|
+
*/
|
179
|
+
footerTemplate;
|
180
|
+
/**
|
181
|
+
* @hidden
|
182
|
+
*/
|
183
|
+
columnMenuTemplates = new QueryList();
|
184
|
+
/**
|
185
|
+
* @hidden
|
186
|
+
*/
|
187
|
+
resizeStartWidth;
|
131
188
|
/**
|
132
189
|
* @hidden
|
133
190
|
*/
|
@@ -143,6 +200,7 @@ export class ColumnBase {
|
|
143
200
|
get isLocked() {
|
144
201
|
return this.parent ? this.parent.isLocked : this.locked;
|
145
202
|
}
|
203
|
+
_width;
|
146
204
|
/**
|
147
205
|
* @hidden
|
148
206
|
*/
|
@@ -193,15 +251,25 @@ export class ColumnBase {
|
|
193
251
|
get isEditable() {
|
194
252
|
return false;
|
195
253
|
}
|
254
|
+
/**
|
255
|
+
* @hidden
|
256
|
+
*/
|
257
|
+
constructor(parent, optionChanges) {
|
258
|
+
this.parent = parent;
|
259
|
+
this.optionChanges = optionChanges;
|
260
|
+
if (parent && !isColumnContainer(parent)) {
|
261
|
+
throw new Error('Columns can be nested only inside ColumnGroupComponent');
|
262
|
+
}
|
263
|
+
}
|
196
264
|
ngOnChanges(_changes) {
|
197
265
|
if (this.optionChanges) {
|
198
266
|
this.optionChanges.columnChanged();
|
199
267
|
}
|
200
268
|
}
|
269
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }, { token: i1.OptionChangesService }], target: i0.ɵɵFactoryTarget.Directive });
|
270
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ColumnBase, inputs: { resizable: "resizable", reorderable: "reorderable", minResizableWidth: "minResizableWidth", title: "title", width: "width", autoSize: "autoSize", locked: "locked", hidden: "hidden", media: "media", lockable: "lockable", columnMenu: "columnMenu", includeInChooser: "includeInChooser", tableCellsRole: "tableCellsRole", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "headerTemplates", predicate: HeaderTemplateDirective }, { propertyName: "columnMenuTemplates", predicate: ColumnMenuTemplateDirective }], usesOnChanges: true, ngImport: i0 });
|
201
271
|
}
|
202
|
-
|
203
|
-
ColumnBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnBase, inputs: { resizable: "resizable", reorderable: "reorderable", minResizableWidth: "minResizableWidth", title: "title", width: "width", autoSize: "autoSize", locked: "locked", hidden: "hidden", media: "media", lockable: "lockable", columnMenu: "columnMenu", includeInChooser: "includeInChooser", tableCellsRole: "tableCellsRole", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "headerTemplates", predicate: HeaderTemplateDirective }, { propertyName: "columnMenuTemplates", predicate: ColumnMenuTemplateDirective }], usesOnChanges: true, ngImport: i0 });
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnBase, decorators: [{
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnBase, decorators: [{
|
205
273
|
type: Directive,
|
206
274
|
args: [{}]
|
207
275
|
}], ctorParameters: function () { return [{ type: ColumnBase }, { type: i1.OptionChangesService }]; }, propDecorators: { resizable: [{
|
@@ -30,20 +30,24 @@ export function isColumnGroupComponent(column) {
|
|
30
30
|
* ```
|
31
31
|
*/
|
32
32
|
export class ColumnGroupComponent extends ColumnBase {
|
33
|
+
/**
|
34
|
+
* @hidden
|
35
|
+
*/
|
36
|
+
includeInChooser = false;
|
37
|
+
/**
|
38
|
+
* @hidden
|
39
|
+
*/
|
40
|
+
isColumnGroup = true;
|
41
|
+
/**
|
42
|
+
* @hidden
|
43
|
+
*/
|
44
|
+
minResizableWidth = 10;
|
45
|
+
/**
|
46
|
+
* @hidden
|
47
|
+
*/
|
48
|
+
children;
|
33
49
|
constructor(parent, optionChanges) {
|
34
50
|
super(parent, optionChanges);
|
35
|
-
/**
|
36
|
-
* @hidden
|
37
|
-
*/
|
38
|
-
this.includeInChooser = false;
|
39
|
-
/**
|
40
|
-
* @hidden
|
41
|
-
*/
|
42
|
-
this.isColumnGroup = true;
|
43
|
-
/**
|
44
|
-
* @hidden
|
45
|
-
*/
|
46
|
-
this.minResizableWidth = 10;
|
47
51
|
if (parent && parent.isSpanColumn) {
|
48
52
|
throw new Error('ColumnGroupComponent cannot be nested inside SpanColumnComponent');
|
49
53
|
}
|
@@ -79,15 +83,15 @@ export class ColumnGroupComponent extends ColumnBase {
|
|
79
83
|
get firstChild() {
|
80
84
|
return this.children.find(column => column !== this);
|
81
85
|
}
|
86
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnGroupComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
87
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnGroupComponent, isStandalone: true, selector: "kendo-treelist-column-group", providers: [
|
88
|
+
{
|
89
|
+
provide: ColumnBase,
|
90
|
+
useExisting: forwardRef(() => ColumnGroupComponent)
|
91
|
+
}
|
92
|
+
], queries: [{ propertyName: "children", predicate: ColumnBase }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
82
93
|
}
|
83
|
-
|
84
|
-
ColumnGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColumnGroupComponent, isStandalone: true, selector: "kendo-treelist-column-group", providers: [
|
85
|
-
{
|
86
|
-
provide: ColumnBase,
|
87
|
-
useExisting: forwardRef(() => ColumnGroupComponent)
|
88
|
-
}
|
89
|
-
], queries: [{ propertyName: "children", predicate: ColumnBase }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnGroupComponent, decorators: [{
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnGroupComponent, decorators: [{
|
91
95
|
type: Component,
|
92
96
|
args: [{
|
93
97
|
providers: [
|
@@ -43,12 +43,13 @@ const filterHierarchy = (list, predicate) => {
|
|
43
43
|
* @hidden
|
44
44
|
*/
|
45
45
|
export class ColumnList {
|
46
|
-
|
47
|
-
this.columns = columns;
|
48
|
-
}
|
46
|
+
columns;
|
49
47
|
static empty() {
|
50
48
|
return new ColumnList(new QueryList());
|
51
49
|
}
|
50
|
+
constructor(columns) {
|
51
|
+
this.columns = columns;
|
52
|
+
}
|
52
53
|
forEach(callback) {
|
53
54
|
forEachColumn(this.columns, callback);
|
54
55
|
}
|
@@ -31,38 +31,56 @@ export function isColumnComponent(column) {
|
|
31
31
|
* ```
|
32
32
|
*/
|
33
33
|
export class ColumnComponent extends ColumnBase {
|
34
|
+
/**
|
35
|
+
* Defines whether the expanded indicator should be rendered in the column.
|
36
|
+
* @default false
|
37
|
+
*/
|
38
|
+
expandable;
|
39
|
+
/**
|
40
|
+
* The field to which the column is bound.
|
41
|
+
*/
|
42
|
+
field;
|
43
|
+
/**
|
44
|
+
* The format that is applied to the value before it is displayed. For more information on the supported date and number formats,
|
45
|
+
* refer to the [Column Formats](slug:formats_columns_treelist) documentation article.
|
46
|
+
*/
|
47
|
+
format;
|
48
|
+
/**
|
49
|
+
* Allows the column headers to be clicked and the `sortChange` event emitted.
|
50
|
+
* You have to handle the `sortChange` event yourself and sort the data.
|
51
|
+
*/
|
52
|
+
sortable = true;
|
53
|
+
/**
|
54
|
+
* Defines the editor type ([see example]({% slug editing_reactive_forms_treelist %}#toc-setup)).
|
55
|
+
* Used when the column enters the edit mode. [See example](slug:editing_reactive_forms_treelist).
|
56
|
+
*
|
57
|
+
* @default 'text'
|
58
|
+
*/
|
59
|
+
editor = 'text';
|
60
|
+
/**
|
61
|
+
* Defines the filter type that is displayed inside the filter row.
|
62
|
+
*
|
63
|
+
* @default 'text'
|
64
|
+
*/
|
65
|
+
filter = 'text';
|
66
|
+
/**
|
67
|
+
* Defines if a filter UI will be displayed for this column.
|
68
|
+
*
|
69
|
+
* @default true
|
70
|
+
*/
|
71
|
+
filterable = true;
|
72
|
+
/**
|
73
|
+
* Defines whether the column is editable.
|
74
|
+
*
|
75
|
+
* @default true
|
76
|
+
*/
|
77
|
+
editable = true;
|
78
|
+
template;
|
79
|
+
editTemplate;
|
80
|
+
filterCellTemplate;
|
81
|
+
filterMenuTemplate;
|
34
82
|
constructor(parent, optionChanges) {
|
35
83
|
super(parent, optionChanges);
|
36
|
-
/**
|
37
|
-
* Allows the column headers to be clicked and the `sortChange` event emitted.
|
38
|
-
* You have to handle the `sortChange` event yourself and sort the data.
|
39
|
-
*/
|
40
|
-
this.sortable = true;
|
41
|
-
/**
|
42
|
-
* Defines the editor type ([see example]({% slug editing_reactive_forms_treelist %}#toc-setup)).
|
43
|
-
* Used when the column enters the edit mode. [See example](slug:editing_reactive_forms_treelist).
|
44
|
-
*
|
45
|
-
* @default 'text'
|
46
|
-
*/
|
47
|
-
this.editor = 'text';
|
48
|
-
/**
|
49
|
-
* Defines the filter type that is displayed inside the filter row.
|
50
|
-
*
|
51
|
-
* @default 'text'
|
52
|
-
*/
|
53
|
-
this.filter = 'text';
|
54
|
-
/**
|
55
|
-
* Defines if a filter UI will be displayed for this column.
|
56
|
-
*
|
57
|
-
* @default true
|
58
|
-
*/
|
59
|
-
this.filterable = true;
|
60
|
-
/**
|
61
|
-
* Defines whether the column is editable.
|
62
|
-
*
|
63
|
-
* @default true
|
64
|
-
*/
|
65
|
-
this.editable = true;
|
66
84
|
}
|
67
85
|
get templateRef() {
|
68
86
|
return this.template ? this.template.templateRef : undefined;
|
@@ -85,15 +103,15 @@ export class ColumnComponent extends ColumnBase {
|
|
85
103
|
get isEditable() {
|
86
104
|
return this.editable !== false;
|
87
105
|
}
|
106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
107
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnComponent, isStandalone: true, selector: "kendo-treelist-column", inputs: { expandable: "expandable", field: "field", format: "format", sortable: "sortable", editor: "editor", filter: "filter", filterable: "filterable", editable: "editable" }, providers: [
|
108
|
+
{
|
109
|
+
provide: ColumnBase,
|
110
|
+
useExisting: forwardRef(() => ColumnComponent)
|
111
|
+
}
|
112
|
+
], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "editTemplate", first: true, predicate: EditTemplateDirective, descendants: true }, { propertyName: "filterCellTemplate", first: true, predicate: FilterCellTemplateDirective, descendants: true }, { propertyName: "filterMenuTemplate", first: true, predicate: FilterMenuTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
88
113
|
}
|
89
|
-
|
90
|
-
ColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColumnComponent, isStandalone: true, selector: "kendo-treelist-column", inputs: { expandable: "expandable", field: "field", format: "format", sortable: "sortable", editor: "editor", filter: "filter", filterable: "filterable", editable: "editable" }, providers: [
|
91
|
-
{
|
92
|
-
provide: ColumnBase,
|
93
|
-
useExisting: forwardRef(() => ColumnComponent)
|
94
|
-
}
|
95
|
-
], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "editTemplate", first: true, predicate: EditTemplateDirective, descendants: true }, { propertyName: "filterCellTemplate", first: true, predicate: FilterCellTemplateDirective, descendants: true }, { propertyName: "filterMenuTemplate", first: true, predicate: FilterMenuTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnComponent, decorators: [{
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnComponent, decorators: [{
|
97
115
|
type: Component,
|
98
116
|
args: [{
|
99
117
|
providers: [
|
@@ -18,21 +18,22 @@ const reset = (...lists) => {
|
|
18
18
|
* @hidden
|
19
19
|
*/
|
20
20
|
export class ColumnsContainer {
|
21
|
+
columns;
|
22
|
+
allColumns = new QueryList();
|
23
|
+
leafColumns = new QueryList();
|
24
|
+
lockedColumns = new QueryList();
|
25
|
+
nonLockedColumns = new QueryList();
|
26
|
+
lockedLeafColumns = new QueryList();
|
27
|
+
nonLockedLeafColumns = new QueryList();
|
28
|
+
totalLevels = 0;
|
29
|
+
changes = new EventEmitter();
|
30
|
+
leafColumnsToRender = [];
|
31
|
+
lockedColumnsToRender = [];
|
32
|
+
nonLockedColumnsToRender = [];
|
33
|
+
hasFooter = false;
|
34
|
+
unlockedWidth = 0;
|
21
35
|
constructor(columns) {
|
22
36
|
this.columns = columns;
|
23
|
-
this.allColumns = new QueryList();
|
24
|
-
this.leafColumns = new QueryList();
|
25
|
-
this.lockedColumns = new QueryList();
|
26
|
-
this.nonLockedColumns = new QueryList();
|
27
|
-
this.lockedLeafColumns = new QueryList();
|
28
|
-
this.nonLockedLeafColumns = new QueryList();
|
29
|
-
this.totalLevels = 0;
|
30
|
-
this.changes = new EventEmitter();
|
31
|
-
this.leafColumnsToRender = [];
|
32
|
-
this.lockedColumnsToRender = [];
|
33
|
-
this.nonLockedColumnsToRender = [];
|
34
|
-
this.hasFooter = false;
|
35
|
-
this.unlockedWidth = 0;
|
36
37
|
}
|
37
38
|
refresh() {
|
38
39
|
const currentLevels = this.totalLevels;
|
@@ -35,23 +35,25 @@ import * as i2 from "../common/option-changes.service";
|
|
35
35
|
* ```
|
36
36
|
*/
|
37
37
|
export class CommandColumnComponent extends ColumnBase {
|
38
|
+
parent;
|
39
|
+
template;
|
40
|
+
isCommand = true;
|
38
41
|
constructor(parent, optionChanges) {
|
39
42
|
super(parent, optionChanges);
|
40
43
|
this.parent = parent;
|
41
|
-
this.isCommand = true;
|
42
44
|
}
|
43
45
|
get templateRef() {
|
44
46
|
return this.template ? this.template.templateRef : undefined;
|
45
47
|
}
|
48
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CommandColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
|
49
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CommandColumnComponent, isStandalone: true, selector: "kendo-treelist-command-column", providers: [
|
50
|
+
{
|
51
|
+
provide: ColumnBase,
|
52
|
+
useExisting: forwardRef(() => CommandColumnComponent)
|
53
|
+
}
|
54
|
+
], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
46
55
|
}
|
47
|
-
|
48
|
-
CommandColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CommandColumnComponent, isStandalone: true, selector: "kendo-treelist-command-column", providers: [
|
49
|
-
{
|
50
|
-
provide: ColumnBase,
|
51
|
-
useExisting: forwardRef(() => CommandColumnComponent)
|
52
|
-
}
|
53
|
-
], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommandColumnComponent, decorators: [{
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CommandColumnComponent, decorators: [{
|
55
57
|
type: Component,
|
56
58
|
args: [{
|
57
59
|
providers: [
|
@@ -10,23 +10,24 @@ import * as i1 from "./column-base";
|
|
10
10
|
* Represents the drag handle for reordering rows in the TreeList.
|
11
11
|
*/
|
12
12
|
export class RowReorderColumnComponent extends ColumnBase {
|
13
|
+
parent;
|
14
|
+
/**
|
15
|
+
* @hidden
|
16
|
+
*/
|
17
|
+
isRowReorderColumn = true;
|
13
18
|
constructor(parent) {
|
14
19
|
super(parent);
|
15
20
|
this.parent = parent;
|
16
|
-
/**
|
17
|
-
* @hidden
|
18
|
-
*/
|
19
|
-
this.isRowReorderColumn = true;
|
20
21
|
}
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RowReorderColumnComponent, isStandalone: true, selector: "kendo-treelist-rowreorder-column", providers: [
|
24
|
+
{
|
25
|
+
provide: ColumnBase,
|
26
|
+
useExisting: forwardRef(() => RowReorderColumnComponent)
|
27
|
+
}
|
28
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
21
29
|
}
|
22
|
-
|
23
|
-
RowReorderColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RowReorderColumnComponent, isStandalone: true, selector: "kendo-treelist-rowreorder-column", providers: [
|
24
|
-
{
|
25
|
-
provide: ColumnBase,
|
26
|
-
useExisting: forwardRef(() => RowReorderColumnComponent)
|
27
|
-
}
|
28
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderColumnComponent, decorators: [{
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderColumnComponent, decorators: [{
|
30
31
|
type: Component,
|
31
32
|
args: [{
|
32
33
|
providers: [
|