@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
@@ -58,7 +58,7 @@ const elementAt = (index, elements, elementOffset) => {
|
|
58
58
|
elementIdx += offset;
|
59
59
|
}
|
60
60
|
};
|
61
|
-
const rowAt = (index, rows) => elementAt(index, rows, row => row.hasAttribute('data-
|
61
|
+
const rowAt = (index, rows) => elementAt(index, rows, row => row.hasAttribute('data-treelist-view-index') ? 1 : 0);
|
62
62
|
const cellAt = (index, cells) => elementAt(index, cells, cell => !hasClasses(cell, NON_DATA_CELL_CLASSES) ? parseInt(cell.getAttribute('colSpan'), 10) || 1 : 0);
|
63
63
|
const EMPTY_OBJECT = {};
|
64
64
|
/**
|
@@ -98,48 +98,67 @@ const bufferSize = 1;
|
|
98
98
|
* @hidden
|
99
99
|
*/
|
100
100
|
export class ListComponent {
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
this.columnInfo = columnInfo;
|
116
|
-
this.skip = 0;
|
117
|
-
this.columns = new ColumnsContainer(() => []);
|
118
|
-
this.trackBy = defaultTrackBy;
|
119
|
-
this.contentScroll = new EventEmitter();
|
120
|
-
this.pageChange = new EventEmitter();
|
121
|
-
this.scrollBottom = new EventEmitter();
|
122
|
-
this.columnsStartIdx = 0;
|
123
|
-
this.resizeSensors = new QueryList();
|
124
|
-
this.subscriptions = new Subscription();
|
125
|
-
this.dispatcher = new Subject();
|
126
|
-
this.containerScrollTop = 0;
|
127
|
-
this.scrollLeft = 0;
|
128
|
-
this.rtl = false;
|
129
|
-
this.scroller = scrollerFactory(this.dispatcher);
|
130
|
-
this.subscriptions = scrollRequestService.requests.subscribe(x => this.scrollTo(x));
|
131
|
-
}
|
101
|
+
changeNotification;
|
102
|
+
suspendService;
|
103
|
+
ngZone;
|
104
|
+
renderer;
|
105
|
+
scrollSyncService;
|
106
|
+
resizeService;
|
107
|
+
editService;
|
108
|
+
supportService;
|
109
|
+
navigationService;
|
110
|
+
localization;
|
111
|
+
columnResizingService;
|
112
|
+
changeDetector;
|
113
|
+
pdfService;
|
114
|
+
columnInfo;
|
132
115
|
get hostClass() {
|
133
116
|
return true;
|
134
117
|
}
|
135
118
|
get hostRole() {
|
136
119
|
return 'presentation';
|
137
120
|
}
|
121
|
+
view;
|
122
|
+
total;
|
123
|
+
rowHeight;
|
124
|
+
take;
|
125
|
+
skip = 0;
|
126
|
+
columns = new ColumnsContainer(() => []);
|
127
|
+
noRecordsTemplate;
|
128
|
+
filterable;
|
129
|
+
rowClass;
|
130
|
+
loading;
|
131
|
+
trackBy = defaultTrackBy;
|
132
|
+
virtualColumns;
|
133
|
+
isVirtual;
|
134
|
+
expandIcons;
|
135
|
+
contentScroll = new EventEmitter();
|
136
|
+
pageChange = new EventEmitter();
|
137
|
+
scrollBottom = new EventEmitter();
|
138
|
+
totalHeight;
|
139
|
+
columnsStartIdx = 0;
|
138
140
|
get totalWidth() {
|
139
141
|
if (this.virtualColumns && this.columns.unlockedWidth) {
|
140
142
|
return this.columns.unlockedWidth;
|
141
143
|
}
|
142
144
|
}
|
145
|
+
container;
|
146
|
+
table;
|
147
|
+
lockedContainer;
|
148
|
+
lockedTable;
|
149
|
+
resizeSensors = new QueryList();
|
150
|
+
scroller;
|
151
|
+
subscriptions = new Subscription();
|
152
|
+
scrollerSubscription;
|
153
|
+
dispatcher = new Subject();
|
154
|
+
rowHeightService;
|
155
|
+
skipScroll;
|
156
|
+
rebind;
|
157
|
+
containerScrollTop = 0;
|
158
|
+
viewportColumns;
|
159
|
+
columnsEndIdx;
|
160
|
+
viewportColumnsWidth;
|
161
|
+
scrollLeft = 0;
|
143
162
|
get lockedLeafColumns() {
|
144
163
|
return this.columns.lockedLeafColumns;
|
145
164
|
}
|
@@ -167,6 +186,27 @@ export class ListComponent {
|
|
167
186
|
get isLocked() {
|
168
187
|
return this.lockedLeafColumns.length > 0;
|
169
188
|
}
|
189
|
+
rtl = false;
|
190
|
+
columnUpdateFrame;
|
191
|
+
hasLockedContainer;
|
192
|
+
constructor(scrollerFactory, changeNotification, suspendService, ngZone, renderer, scrollSyncService, resizeService, editService, supportService, navigationService, scrollRequestService, localization, columnResizingService, changeDetector, pdfService, columnInfo) {
|
193
|
+
this.changeNotification = changeNotification;
|
194
|
+
this.suspendService = suspendService;
|
195
|
+
this.ngZone = ngZone;
|
196
|
+
this.renderer = renderer;
|
197
|
+
this.scrollSyncService = scrollSyncService;
|
198
|
+
this.resizeService = resizeService;
|
199
|
+
this.editService = editService;
|
200
|
+
this.supportService = supportService;
|
201
|
+
this.navigationService = navigationService;
|
202
|
+
this.localization = localization;
|
203
|
+
this.columnResizingService = columnResizingService;
|
204
|
+
this.changeDetector = changeDetector;
|
205
|
+
this.pdfService = pdfService;
|
206
|
+
this.columnInfo = columnInfo;
|
207
|
+
this.scroller = scrollerFactory(this.dispatcher);
|
208
|
+
this.subscriptions = scrollRequestService.requests.subscribe(x => this.scrollTo(x));
|
209
|
+
}
|
170
210
|
ngOnInit() {
|
171
211
|
this.init();
|
172
212
|
this.subscriptions.add(this.ngZone.runOutsideAngular(this.handleRowSync.bind(this)));
|
@@ -516,14 +556,13 @@ export class ListComponent {
|
|
516
556
|
}
|
517
557
|
return element.offsetLeft;
|
518
558
|
}
|
519
|
-
}
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
}
|
526
|
-
], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "table", first: true, predicate: ["table"], descendants: true, static: true }, { propertyName: "lockedContainer", first: true, predicate: ["lockedContainer"], descendants: true }, { propertyName: "lockedTable", first: true, predicate: ["lockedTable"], descendants: true }, { propertyName: "resizeSensors", predicate: ResizeSensorComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
559
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: i1.ChangeNotificationService }, { token: i2.SuspendService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i3.ScrollSyncService }, { token: i4.ResizeService }, { token: i5.EditService }, { token: i6.BrowserSupportService }, { token: i7.NavigationService }, { token: i8.ScrollRequestService }, { token: i9.LocalizationService }, { token: i10.ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: i11.PDFService }, { token: i12.ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
560
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ListComponent, isStandalone: true, selector: "kendo-treelist-list", inputs: { view: "view", total: "total", rowHeight: "rowHeight", take: "take", skip: "skip", columns: "columns", noRecordsTemplate: "noRecordsTemplate", filterable: "filterable", rowClass: "rowClass", loading: "loading", trackBy: "trackBy", virtualColumns: "virtualColumns", isVirtual: "isVirtual", expandIcons: "expandIcons" }, outputs: { contentScroll: "contentScroll", pageChange: "pageChange", scrollBottom: "scrollBottom" }, host: { properties: { "class.k-grid-container": "this.hostClass", "attr.role": "this.hostRole" } }, providers: [
|
561
|
+
{
|
562
|
+
provide: SCROLLER_FACTORY_TOKEN,
|
563
|
+
useValue: DEFAULT_SCROLLER_FACTORY
|
564
|
+
}
|
565
|
+
], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "table", first: true, predicate: ["table"], descendants: true, static: true }, { propertyName: "lockedContainer", first: true, predicate: ["lockedContainer"], descendants: true }, { propertyName: "lockedTable", first: true, predicate: ["lockedTable"], descendants: true }, { propertyName: "resizeSensors", predicate: ResizeSensorComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
527
566
|
<div #lockedContainer class="k-grid-content-locked" role="presentation"
|
528
567
|
*ngIf="isLocked" [style.width.px]="lockedWidth"
|
529
568
|
[kendoEventsOutsideAngular]="{
|
@@ -533,7 +572,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
533
572
|
DOMMouseScroll: lockedMousewheel
|
534
573
|
}"
|
535
574
|
[scope]="this">
|
536
|
-
<div role="presentation"
|
575
|
+
<div role="presentation">
|
537
576
|
<table
|
538
577
|
kendoTreeListResizableTable
|
539
578
|
[locked]="true"
|
@@ -572,7 +611,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
572
611
|
[kendoTreeListResizableContainer]="lockedLeafColumns.length > 0"
|
573
612
|
[lockedWidth]="lockedWidth + 1"
|
574
613
|
>
|
575
|
-
<div role="presentation"
|
614
|
+
<div role="presentation">
|
576
615
|
<table
|
577
616
|
[style.width.px]="nonLockedWidth"
|
578
617
|
#table
|
@@ -614,7 +653,8 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
614
653
|
<div *ngIf="loading" kendoTreeListLoading>
|
615
654
|
</div>
|
616
655
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: TableDirective, selector: "[kendoTreeListResizableTable]", inputs: ["locked", "virtualColumns"] }, { kind: "component", type: ColGroupComponent, selector: "[kendoTreeListColGroup]", inputs: ["columns"] }, { kind: "component", type: TableBodyComponent, selector: "[kendoTreeListTableBody]", inputs: ["columns", "allColumns", "noRecordsTemplate", "view", "skip", "filterable", "noRecordsText", "isLocked", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "expandIcons", "trackBy", "totalColumns", "rowClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "directive", type: ResizableContainerDirective, selector: "[kendoTreeListResizableContainer]", inputs: ["lockedWidth", "kendoTreeListResizableContainer"] }, { kind: "component", type: LoadingComponent, selector: "[kendoTreeListLoading]" }] });
|
617
|
-
|
656
|
+
}
|
657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListComponent, decorators: [{
|
618
658
|
type: Component,
|
619
659
|
args: [{
|
620
660
|
providers: [
|
@@ -634,7 +674,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
634
674
|
DOMMouseScroll: lockedMousewheel
|
635
675
|
}"
|
636
676
|
[scope]="this">
|
637
|
-
<div role="presentation"
|
677
|
+
<div role="presentation">
|
638
678
|
<table
|
639
679
|
kendoTreeListResizableTable
|
640
680
|
[locked]="true"
|
@@ -673,7 +713,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
673
713
|
[kendoTreeListResizableContainer]="lockedLeafColumns.length > 0"
|
674
714
|
[lockedWidth]="lockedWidth + 1"
|
675
715
|
>
|
676
|
-
<div role="presentation"
|
716
|
+
<div role="presentation">
|
677
717
|
<table
|
678
718
|
[style.width.px]="nonLockedWidth"
|
679
719
|
#table
|
@@ -22,13 +22,14 @@ import * as i0 from "@angular/core";
|
|
22
22
|
* ```
|
23
23
|
*/
|
24
24
|
export class NoRecordsTemplateDirective {
|
25
|
+
templateRef;
|
25
26
|
constructor(templateRef) {
|
26
27
|
this.templateRef = templateRef;
|
27
28
|
}
|
29
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NoRecordsTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
30
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NoRecordsTemplateDirective, isStandalone: true, selector: "[kendoTreeListNoRecordsTemplate]", ngImport: i0 });
|
28
31
|
}
|
29
|
-
|
30
|
-
NoRecordsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NoRecordsTemplateDirective, isStandalone: true, selector: "[kendoTreeListNoRecordsTemplate]", ngImport: i0 });
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NoRecordsTemplateDirective, decorators: [{
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NoRecordsTemplateDirective, decorators: [{
|
32
33
|
type: Directive,
|
33
34
|
args: [{
|
34
35
|
selector: '[kendoTreeListNoRecordsTemplate]',
|
@@ -46,6 +46,43 @@ const columnCellIndex = (cell, cells) => {
|
|
46
46
|
* @hidden
|
47
47
|
*/
|
48
48
|
export class TableBodyComponent {
|
49
|
+
changeNotification;
|
50
|
+
editService;
|
51
|
+
localization;
|
52
|
+
ngZone;
|
53
|
+
renderer;
|
54
|
+
element;
|
55
|
+
domEvents;
|
56
|
+
columnInfoService;
|
57
|
+
navigationService;
|
58
|
+
expandState;
|
59
|
+
selection;
|
60
|
+
hostClass = true;
|
61
|
+
columns = [];
|
62
|
+
allColumns;
|
63
|
+
noRecordsTemplate;
|
64
|
+
view;
|
65
|
+
skip = 0;
|
66
|
+
filterable;
|
67
|
+
noRecordsText;
|
68
|
+
isLocked = false;
|
69
|
+
lockedColumnsCount = 0;
|
70
|
+
totalColumnsCount = 0;
|
71
|
+
virtualColumns;
|
72
|
+
expandIcons;
|
73
|
+
trackBy = defaultTrackBy;
|
74
|
+
totalColumns;
|
75
|
+
noneIcon = {
|
76
|
+
name: 'none',
|
77
|
+
content: '',
|
78
|
+
viewBox: '0 0 24 24'
|
79
|
+
};
|
80
|
+
clickSubscription;
|
81
|
+
l10nSubscription;
|
82
|
+
cellKeydownSubscription;
|
83
|
+
clickTimeout;
|
84
|
+
headerOffset;
|
85
|
+
rowClass = () => null;
|
49
86
|
constructor(changeNotification, editService, localization, ngZone, renderer, element, domEvents, columnInfoService, navigationService, expandState, selection) {
|
50
87
|
this.changeNotification = changeNotification;
|
51
88
|
this.editService = editService;
|
@@ -58,23 +95,10 @@ export class TableBodyComponent {
|
|
58
95
|
this.navigationService = navigationService;
|
59
96
|
this.expandState = expandState;
|
60
97
|
this.selection = selection;
|
61
|
-
this.hostClass = true;
|
62
|
-
this.columns = [];
|
63
|
-
this.skip = 0;
|
64
|
-
this.noRecordsText = this.localization.get('noRecords');
|
65
|
-
this.isLocked = false;
|
66
|
-
this.lockedColumnsCount = 0;
|
67
|
-
this.totalColumnsCount = 0;
|
68
|
-
this.trackBy = defaultTrackBy;
|
69
|
-
this.noneIcon = {
|
70
|
-
name: 'none',
|
71
|
-
content: '',
|
72
|
-
viewBox: '0 0 24 24'
|
73
|
-
};
|
74
|
-
this.rowClass = () => null;
|
75
98
|
this.cellKeydownSubscription = this.navigationService.cellKeydown.subscribe((args) => this.cellKeydownHandler(args));
|
76
99
|
this.trackByWrapper = this.trackByWrapper.bind(this);
|
77
100
|
this.trackByColumns = this.trackByColumns.bind(this);
|
101
|
+
this.noRecordsText = this.localization.get('noRecords');
|
78
102
|
this.selection.registerTable(this);
|
79
103
|
}
|
80
104
|
get newDataItem() {
|
@@ -328,7 +352,7 @@ export class TableBodyComponent {
|
|
328
352
|
}
|
329
353
|
checkboxClick(cell, row, eventArg) {
|
330
354
|
const isCheckboxCell = hasClasses(cell, 'k-checkbox-cell');
|
331
|
-
const isCheckbox =
|
355
|
+
const isCheckbox = eventArg.target.closest('.k-checkbox-wrap');
|
332
356
|
if (isCheckboxCell && !isCheckbox && this.selection.settings.checkboxOnly) {
|
333
357
|
return;
|
334
358
|
}
|
@@ -336,7 +360,8 @@ export class TableBodyComponent {
|
|
336
360
|
this.selection.enabled && this.selection.rowSelection) {
|
337
361
|
const args = this.cellClickArgs(cell, row, eventArg);
|
338
362
|
this.selection.checkboxClick(args);
|
339
|
-
|
363
|
+
const isChecked = isCheckbox?.firstElementChild.classList.contains('k-checked');
|
364
|
+
if (isChecked !== this.selection.isRowSelected(args.dataItem)) {
|
340
365
|
eventArg.preventDefault();
|
341
366
|
}
|
342
367
|
return true;
|
@@ -348,9 +373,8 @@ export class TableBodyComponent {
|
|
348
373
|
const viewItem = this.view.at(viewIndex);
|
349
374
|
return viewItem;
|
350
375
|
}
|
351
|
-
}
|
352
|
-
|
353
|
-
TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TableBodyComponent, isStandalone: true, selector: "[kendoTreeListTableBody]", inputs: { columns: "columns", allColumns: "allColumns", noRecordsTemplate: "noRecordsTemplate", view: "view", skip: "skip", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", expandIcons: "expandIcons", trackBy: "trackBy", totalColumns: "totalColumns", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
376
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableBodyComponent, deps: [{ token: i1.ChangeNotificationService }, { token: i2.EditService }, { token: i3.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i4.DomEventsService }, { token: i5.ColumnInfoService }, { token: i6.NavigationService }, { token: i7.ExpandStateService }, { token: i8.SelectionService }], target: i0.ɵɵFactoryTarget.Component });
|
377
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TableBodyComponent, isStandalone: true, selector: "[kendoTreeListTableBody]", inputs: { columns: "columns", allColumns: "allColumns", noRecordsTemplate: "noRecordsTemplate", view: "view", skip: "skip", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", expandIcons: "expandIcons", trackBy: "trackBy", totalColumns: "totalColumns", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
354
378
|
<tr *ngIf="!hasData" class="k-grid-norecords">
|
355
379
|
<td [attr.colspan]="colSpan" class="k-table-td">
|
356
380
|
<ng-container *ngIf="noRecordsTemplate?.templateRef" [ngTemplateOutlet]="noRecordsTemplate.templateRef">
|
@@ -388,6 +412,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
388
412
|
[level]="item.level"
|
389
413
|
[hasChildren]="item.hasChildren"
|
390
414
|
[isExpanded]="item.expanded"
|
415
|
+
[rowIndex]="item.rowIndex"
|
391
416
|
[loading]="item.loading"
|
392
417
|
[isNew]="item.isNew"
|
393
418
|
[selected]="item.selected"
|
@@ -448,8 +473,9 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
448
473
|
</td>
|
449
474
|
</tr>
|
450
475
|
</ng-container>
|
451
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "isNew", "totalColumns"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CellComponent, selector: "[kendoTreeListCell]", inputs: ["column", "columnIndex", "isNew", "level", "hasChildren", "isExpanded", "loading", "expandIcons", "selected", "dataItem", "viewItem"] }, { kind: "directive", type: LogicalCellDirective, selector: "[kendoTreeListLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "column", "colIndex", "colSpan", "rowSpan", "dataRowIndex", "dataItem", "expandable"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "pipe", type: LevelItemsPipe, name: "levelItems" }] });
|
452
|
-
|
476
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "isNew", "totalColumns"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CellComponent, selector: "[kendoTreeListCell]", inputs: ["column", "columnIndex", "isNew", "level", "hasChildren", "isExpanded", "loading", "expandIcons", "rowIndex", "selected", "dataItem", "viewItem"] }, { kind: "directive", type: LogicalCellDirective, selector: "[kendoTreeListLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "column", "colIndex", "colSpan", "rowSpan", "dataRowIndex", "dataItem", "expandable"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "pipe", type: LevelItemsPipe, name: "levelItems" }] });
|
477
|
+
}
|
478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableBodyComponent, decorators: [{
|
453
479
|
type: Component,
|
454
480
|
args: [{
|
455
481
|
selector: '[kendoTreeListTableBody]',
|
@@ -491,6 +517,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
491
517
|
[level]="item.level"
|
492
518
|
[hasChildren]="item.hasChildren"
|
493
519
|
[isExpanded]="item.expanded"
|
520
|
+
[rowIndex]="item.rowIndex"
|
494
521
|
[loading]="item.loading"
|
495
522
|
[isNew]="item.isNew"
|
496
523
|
[selected]="item.selected"
|
@@ -12,10 +12,8 @@ import * as i1 from "../../common/provider.service";
|
|
12
12
|
* keyboard navigation.
|
13
13
|
*/
|
14
14
|
export class TreeListToolbarFocusableDirective {
|
15
|
-
|
16
|
-
|
17
|
-
this.ctx = ctx;
|
18
|
-
}
|
15
|
+
host;
|
16
|
+
ctx;
|
19
17
|
/**
|
20
18
|
* @hidden
|
21
19
|
*/
|
@@ -28,6 +26,10 @@ export class TreeListToolbarFocusableDirective {
|
|
28
26
|
get toolbarPosition() {
|
29
27
|
return isDocumentAvailable() && this.host.nativeElement.closest('.k-toolbar')?.getAttribute('position');
|
30
28
|
}
|
29
|
+
constructor(host, ctx) {
|
30
|
+
this.host = host;
|
31
|
+
this.ctx = ctx;
|
32
|
+
}
|
31
33
|
ngAfterViewInit() {
|
32
34
|
if (!isDocumentAvailable() || !this.toolbarPosition) {
|
33
35
|
return;
|
@@ -43,10 +45,10 @@ export class TreeListToolbarFocusableDirective {
|
|
43
45
|
this.ctx[`${this.toolbarPosition}ToolbarNavigation`].navigableElements = elements.filter(el => el !== this.element);
|
44
46
|
this.ctx[`${this.toolbarPosition}ToolbarNavigation`].notify();
|
45
47
|
}
|
48
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
|
49
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TreeListToolbarFocusableDirective, isStandalone: true, selector: "\n [kendoTreeListToolbarFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListCancelCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListExcelCommand],\n [kendoTreeListPDFCommand]\n ", ngImport: i0 });
|
46
50
|
}
|
47
|
-
|
48
|
-
TreeListToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TreeListToolbarFocusableDirective, isStandalone: true, selector: "\n [kendoTreeListToolbarFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListCancelCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListExcelCommand],\n [kendoTreeListPDFCommand]\n ", ngImport: i0 });
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListToolbarFocusableDirective, decorators: [{
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListToolbarFocusableDirective, decorators: [{
|
50
52
|
type: Directive,
|
51
53
|
args: [{
|
52
54
|
selector: `
|
@@ -9,11 +9,10 @@ import * as i0 from "@angular/core";
|
|
9
9
|
* @hidden
|
10
10
|
*/
|
11
11
|
export class TreeListToolbarNavigationService {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
this.defaultFocusableSelector = `
|
12
|
+
renderer;
|
13
|
+
navigableElements = [];
|
14
|
+
currentActiveIndex = 0;
|
15
|
+
defaultFocusableSelector = `
|
17
16
|
[kendoTreeListToolbarFocusable],
|
18
17
|
[kendoTreeListAddCommand],
|
19
18
|
[kendoTreeListCancelCommand],
|
@@ -23,6 +22,8 @@ export class TreeListToolbarNavigationService {
|
|
23
22
|
[kendoTreeListExcelCommand],
|
24
23
|
[kendoTreeListPDFCommand]
|
25
24
|
`;
|
25
|
+
constructor(renderer) {
|
26
|
+
this.renderer = renderer;
|
26
27
|
}
|
27
28
|
notify() {
|
28
29
|
// ensure focusable elements are in the same order as in the DOM
|
@@ -45,9 +46,9 @@ export class TreeListToolbarNavigationService {
|
|
45
46
|
this.navigableElements[this.currentActiveIndex].focus();
|
46
47
|
}
|
47
48
|
}
|
49
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListToolbarNavigationService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
50
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListToolbarNavigationService });
|
48
51
|
}
|
49
|
-
|
50
|
-
TreeListToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListToolbarNavigationService });
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListToolbarNavigationService, decorators: [{
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListToolbarNavigationService, decorators: [{
|
52
53
|
type: Injectable
|
53
54
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; } });
|
@@ -24,11 +24,9 @@ import * as i1 from "../../common/option-changes.service";
|
|
24
24
|
* ```
|
25
25
|
*/
|
26
26
|
export class ToolbarTemplateDirective {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
this._position = "top";
|
31
|
-
}
|
27
|
+
templateRef;
|
28
|
+
optionChanges;
|
29
|
+
_position = "top";
|
32
30
|
/**
|
33
31
|
* The position of the toolbar ([see example](slug:toolbartemplate_treelist#toc-setting-the-toolbar-position)).
|
34
32
|
* The group panel or header and the second one below the pager.
|
@@ -41,10 +39,14 @@ export class ToolbarTemplateDirective {
|
|
41
39
|
get position() {
|
42
40
|
return this._position;
|
43
41
|
}
|
42
|
+
constructor(templateRef, optionChanges) {
|
43
|
+
this.templateRef = templateRef;
|
44
|
+
this.optionChanges = optionChanges;
|
45
|
+
}
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i1.OptionChangesService }], target: i0.ɵɵFactoryTarget.Directive });
|
47
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarTemplateDirective, isStandalone: true, selector: "[kendoTreeListToolbarTemplate]", inputs: { position: "position" }, ngImport: i0 });
|
44
48
|
}
|
45
|
-
|
46
|
-
ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarTemplateDirective, isStandalone: true, selector: "[kendoTreeListToolbarTemplate]", inputs: { position: "position" }, ngImport: i0 });
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
|
48
50
|
type: Directive,
|
49
51
|
args: [{
|
50
52
|
selector: '[kendoTreeListToolbarTemplate]',
|
@@ -14,21 +14,26 @@ import * as i1 from "./../../common/provider.service";
|
|
14
14
|
* @hidden
|
15
15
|
*/
|
16
16
|
export class ToolbarComponent {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
this.context = {};
|
23
|
-
this.subs = new Subscription();
|
24
|
-
this.navigationService = this.ctx[`${this.elem.nativeElement.getAttribute('position')}ToolbarNavigation`];
|
25
|
-
}
|
17
|
+
elem;
|
18
|
+
renderer;
|
19
|
+
ctx;
|
20
|
+
hostRole = 'toolbar';
|
21
|
+
context = {};
|
26
22
|
set position(value) {
|
27
23
|
this.context.position = value;
|
28
24
|
}
|
25
|
+
navigable;
|
29
26
|
get toolbarTemplateRef() {
|
30
27
|
return this.ctx.treelist.toolbarTemplate ? this.ctx.treelist.toolbarTemplate.templateRef : undefined;
|
31
28
|
}
|
29
|
+
subs = new Subscription();
|
30
|
+
navigationService;
|
31
|
+
constructor(elem, renderer, ctx) {
|
32
|
+
this.elem = elem;
|
33
|
+
this.renderer = renderer;
|
34
|
+
this.ctx = ctx;
|
35
|
+
this.navigationService = this.ctx[`${this.elem.nativeElement.getAttribute('position')}ToolbarNavigation`];
|
36
|
+
}
|
32
37
|
ngAfterViewInit() {
|
33
38
|
const element = this.elem.nativeElement;
|
34
39
|
this.subs.add(this.renderer.listen(element, 'keydown', event => this.onKeyDown(event)));
|
@@ -55,9 +60,8 @@ export class ToolbarComponent {
|
|
55
60
|
}
|
56
61
|
this.navigationService.updateFocus();
|
57
62
|
}
|
58
|
-
}
|
59
|
-
|
60
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarComponent, isStandalone: true, selector: "kendo-treelist-toolbar", inputs: { position: "position", navigable: "navigable" }, host: { properties: { "attr.role": "this.hostRole" } }, ngImport: i0, template: `
|
63
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
64
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarComponent, isStandalone: true, selector: "kendo-treelist-toolbar", inputs: { position: "position", navigable: "navigable" }, host: { properties: { "attr.role": "this.hostRole" } }, ngImport: i0, template: `
|
61
65
|
<ng-template
|
62
66
|
*ngIf="toolbarTemplateRef"
|
63
67
|
[ngTemplateOutlet]="toolbarTemplateRef"
|
@@ -65,7 +69,8 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
65
69
|
>
|
66
70
|
</ng-template>
|
67
71
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
68
|
-
|
72
|
+
}
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarComponent, decorators: [{
|
69
74
|
type: Component,
|
70
75
|
args: [{
|
71
76
|
selector: 'kendo-treelist-toolbar',
|
@@ -40,9 +40,9 @@ export class FlatRowReorderService extends RowReorderService {
|
|
40
40
|
}
|
41
41
|
collection.splice(dropTargetIdx, 0, draggedDataItem);
|
42
42
|
}
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlatRowReorderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
44
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlatRowReorderService });
|
43
45
|
}
|
44
|
-
|
45
|
-
FlatRowReorderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FlatRowReorderService });
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FlatRowReorderService, decorators: [{
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlatRowReorderService, decorators: [{
|
47
47
|
type: Injectable
|
48
48
|
}] });
|
@@ -47,9 +47,9 @@ export class HierarchicalRowReorderService extends RowReorderService {
|
|
47
47
|
dropTargetItem[field].unshift(draggedItem);
|
48
48
|
}
|
49
49
|
}
|
50
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HierarchicalRowReorderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
51
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HierarchicalRowReorderService });
|
50
52
|
}
|
51
|
-
|
52
|
-
HierarchicalRowReorderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HierarchicalRowReorderService });
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HierarchicalRowReorderService, decorators: [{
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HierarchicalRowReorderService, decorators: [{
|
54
54
|
type: Injectable
|
55
55
|
}] });
|
@@ -10,14 +10,19 @@ import * as i0 from "@angular/core";
|
|
10
10
|
* @hidden
|
11
11
|
*/
|
12
12
|
export class RowReorderService {
|
13
|
+
renderer;
|
14
|
+
defaultSelectors = defaultSelectors;
|
15
|
+
dragTarget = null;
|
16
|
+
dropTarget = null;
|
17
|
+
view;
|
18
|
+
bindingDirective;
|
19
|
+
offsetY;
|
20
|
+
dropIndicator;
|
21
|
+
lastDropPosition = dropPosition.forbidden;
|
22
|
+
hintElement = null;
|
23
|
+
rowReorder = new EventEmitter();
|
13
24
|
constructor(renderer) {
|
14
25
|
this.renderer = renderer;
|
15
|
-
this.defaultSelectors = defaultSelectors;
|
16
|
-
this.dragTarget = null;
|
17
|
-
this.dropTarget = null;
|
18
|
-
this.lastDropPosition = dropPosition.forbidden;
|
19
|
-
this.hintElement = null;
|
20
|
-
this.rowReorder = new EventEmitter();
|
21
26
|
}
|
22
27
|
press(ev) {
|
23
28
|
this.dragTarget = ev.dragTarget;
|
@@ -213,10 +218,10 @@ export class RowReorderService {
|
|
213
218
|
this.renderer.removeStyle(this.dropIndicator, 'display');
|
214
219
|
}
|
215
220
|
}
|
221
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
222
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderService });
|
216
223
|
}
|
217
|
-
|
218
|
-
RowReorderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderService });
|
219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderService, decorators: [{
|
224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderService, decorators: [{
|
220
225
|
type: Injectable
|
221
226
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { rowReorder: [{
|
222
227
|
type: Output
|