@progress/kendo-angular-grid 17.0.0-develop.4 → 17.0.0-develop.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -36
- package/aggregates/aggregate-types.d.ts +1 -1
- package/aggregates/status-bar.component.d.ts +1 -1
- package/column-menu/column-chooser-item-checked.directive.d.ts +5 -4
- 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-autosize.component.d.ts +1 -1
- package/column-menu/column-menu-chooser.component.d.ts +1 -1
- package/column-menu/column-menu-filter.component.d.ts +1 -1
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item.component.d.ts +1 -1
- package/column-menu/column-menu-item.directive.d.ts +1 -1
- package/column-menu/column-menu-position.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/reorder-column.component.d.ts +1 -1
- package/columns/sort-settings.d.ts +2 -2
- package/columns/span-column.component.d.ts +1 -1
- package/common/clipboard-types.d.ts +2 -2
- package/common/clipboard.directive.d.ts +1 -1
- package/common/create-form-group.d.ts +1 -1
- package/common/fetch-data-callback.d.ts +1 -1
- package/{pager → common}/pager-settings.d.ts +15 -2
- package/common/remove-confirmation.d.ts +1 -1
- package/common/size-options.d.ts +1 -1
- package/data/data.iterators.d.ts +1 -1
- package/data/grid-item.interface.d.ts +1 -1
- package/databinding.directive.d.ts +1 -1
- package/directives.d.ts +8 -21
- 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 +39 -0
- package/editing/edit.service.d.ts +3 -3
- 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/template-editing.directive.d.ts +1 -1
- package/{esm2020 → esm2022}/aggregates/selection-aggregate.service.mjs +20 -17
- package/{esm2020 → esm2022}/aggregates/status-bar-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/aggregates/status-bar.component.mjs +10 -8
- package/esm2022/column-menu/column-chooser-item-checked.directive.mjs +45 -0
- package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +36 -24
- package/{esm2020 → esm2022}/column-menu/column-list-kb-nav.service.mjs +6 -4
- package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +108 -96
- package/{esm2020 → esm2022}/column-menu/column-locked-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-menu/column-menu-autosize-all.component.mjs +6 -5
- package/{esm2020 → esm2022}/column-menu/column-menu-autosize.component.mjs +10 -5
- package/{esm2020 → esm2022}/column-menu/column-menu-chooser.component.mjs +33 -29
- package/{esm2020 → esm2022}/column-menu/column-menu-container.component.mjs +8 -5
- package/{esm2020 → esm2022}/column-menu/column-menu-filter.component.mjs +28 -26
- 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 +73 -42
- package/{esm2020 → esm2022}/column-menu/column-menu-item.directive.mjs +38 -28
- package/{esm2020 → esm2022}/column-menu/column-menu-lock.component.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-position.component.mjs +38 -28
- package/{esm2020 → esm2022}/column-menu/column-menu-sort.component.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-stick.component.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/column-menu/column-menu.component.mjs +97 -63
- package/{esm2020 → esm2022}/column-menu/column-menu.service.mjs +34 -10
- package/{esm2020 → esm2022}/column-menu/column-sticky-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-menu/column-visibility-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-resizing/column-handle.directive.mjs +23 -15
- 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 +24 -16
- package/{esm2020 → esm2022}/columns/column-base.mjs +188 -84
- package/{esm2020 → esm2022}/columns/column-group.component.mjs +29 -20
- package/{esm2020 → esm2022}/columns/column-list.mjs +4 -3
- package/{esm2020 → esm2022}/columns/column.component.mjs +62 -46
- package/{esm2020 → esm2022}/columns/columns-container.mjs +16 -15
- package/{esm2020 → esm2022}/columns/command-column.component.mjs +10 -8
- package/{esm2020 → esm2022}/columns/reorder-column.component.mjs +23 -12
- package/{esm2020 → esm2022}/columns/span-column.component.mjs +49 -29
- package/esm2022/common/clipboard.directive.mjs +190 -0
- package/{esm2020 → esm2022}/common/clipboard.service.mjs +12 -9
- package/{esm2020 → esm2022}/common/column-info.service.mjs +10 -10
- package/esm2022/common/dom-events.service.mjs +26 -0
- package/{esm2020 → esm2022}/common/error-messages.mjs +4 -1
- package/{esm2020 → esm2022}/common/event-emitter.mjs +1 -0
- package/{esm2020 → esm2022}/common/id.service.mjs +4 -3
- package/{esm2020 → esm2022}/common/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/common/provider.service.mjs +10 -3
- package/{esm2020 → esm2022}/common/single-popup.service.mjs +21 -10
- 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 +5 -0
- package/{esm2020 → esm2022}/data/data.iterators.mjs +16 -1
- package/{esm2020 → esm2022}/databinding.directive.mjs +24 -16
- package/{esm2020 → esm2022}/directives.mjs +8 -30
- 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 +64 -0
- package/{esm2020 → esm2022}/editing/add-command.directive.mjs +9 -8
- package/{esm2020 → esm2022}/editing/cancel-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing/cell-close-event.mjs +21 -4
- package/{esm2020 → esm2022}/editing/edit-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing/edit-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/editing/edit.service.mjs +13 -8
- package/{esm2020 → esm2022}/editing/local-data-changes.service.mjs +5 -6
- package/{esm2020 → esm2022}/editing/remove-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing/save-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +17 -9
- package/{esm2020 → esm2022}/editing-directives/in-cell-editing.directive.mjs +10 -3
- package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +2 -0
- package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +9 -3
- package/{esm2020 → esm2022}/editing-directives/row-editing-directive-base.mjs +4 -3
- package/{esm2020 → esm2022}/editing-directives/template-editing.directive.mjs +11 -3
- package/esm2022/excel/excel-command-tool.directive.mjs +66 -0
- package/{esm2020 → esm2022}/excel/excel-command.directive.mjs +11 -10
- package/{esm2020 → esm2022}/excel/excel-export-event.mjs +1 -0
- package/{esm2020 → esm2022}/excel/excel.component.mjs +66 -12
- package/{esm2020 → esm2022}/excel/excel.module.mjs +9 -7
- package/{esm2020 → esm2022}/excel/excel.service.mjs +5 -7
- package/{esm2020 → esm2022}/filtering/base-filter-cell.component.mjs +22 -11
- package/{esm2020 → esm2022}/filtering/boolean-filter.component.mjs +24 -32
- package/{esm2020 → esm2022}/filtering/cell/autocomplete-filter-cell.component.mjs +18 -15
- package/{esm2020 → esm2022}/filtering/cell/boolean-filter-cell.component.mjs +10 -8
- package/{esm2020 → esm2022}/filtering/cell/date-filter-cell.component.mjs +25 -23
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-host.directive.mjs +3 -3
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-operators.component.mjs +60 -39
- 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 +9 -9
- package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +25 -18
- package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +27 -19
- package/{esm2020 → esm2022}/filtering/date-filter.component.mjs +64 -38
- 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 +20 -13
- package/{esm2020 → esm2022}/filtering/filter-row.component.mjs +17 -15
- package/{esm2020 → esm2022}/filtering/filter.service.mjs +14 -10
- package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +33 -23
- package/{esm2020 → esm2022}/filtering/menu/date-filter-menu-input.component.mjs +24 -5
- package/{esm2020 → esm2022}/filtering/menu/date-filter-menu.component.mjs +26 -21
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-container.component.mjs +46 -20
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-dropdownlist.directive.mjs +11 -9
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-host.directive.mjs +5 -3
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-input-wrapper.component.mjs +14 -8
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/filtering/menu/filter-menu.component.mjs +27 -6
- package/{esm2020 → esm2022}/filtering/menu/filter-radio-button.directive.mjs +7 -3
- package/{esm2020 → esm2022}/filtering/menu/menu-tabbing.service.mjs +9 -8
- package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +51 -15
- package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +42 -37
- package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +25 -16
- package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +36 -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}/grid.component.mjs +650 -400
- package/esm2022/grid.module.mjs +216 -0
- package/{esm2020 → esm2022}/grouping/group-footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/grouping/group-header-column-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/grouping/group-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/grouping/group-header.component.mjs +25 -16
- package/{esm2020 → esm2022}/grouping/group-info.service.mjs +1 -3
- package/{esm2020 → esm2022}/grouping/group-panel.component.mjs +71 -53
- package/{esm2020 → esm2022}/grouping/group-scroll-binding.directive.mjs +11 -9
- package/{esm2020 → esm2022}/grouping/groups.service.mjs +6 -7
- package/{esm2020 → esm2022}/index.mjs +6 -24
- 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}/layout/sizing-options.service.mjs +4 -6
- 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 +591 -0
- package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +10 -6
- package/{esm2020 → esm2022}/navigation/focus-group.mjs +10 -9
- package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
- package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +23 -17
- package/{esm2020 → esm2022}/navigation/grid-focusable-element.mjs +1 -0
- package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
- package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +38 -23
- package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +18 -12
- package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
- package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +12 -4
- package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
- package/{esm2020 → esm2022}/navigation/navigation.service.mjs +49 -29
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/pdf/grid-query.mjs +4 -0
- package/esm2022/pdf/pdf-command-tool.directive.mjs +66 -0
- package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
- package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
- package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
- package/{esm2020 → esm2022}/pdf/pdf.component.mjs +39 -12
- package/{esm2020 → esm2022}/pdf/pdf.module.mjs +5 -4
- package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
- package/{esm2020 → esm2022}/rendering/cell-loading.template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/cell.component.mjs +64 -75
- package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +8 -9
- package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +10 -8
- package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +12 -7
- package/{esm2020 → esm2022}/rendering/details/detail-collapse-event.mjs +8 -0
- package/{esm2020 → esm2022}/rendering/details/detail-expand-event.mjs +8 -0
- package/{esm2020 → esm2022}/rendering/details/detail-template.directive.mjs +8 -7
- package/{esm2020 → esm2022}/rendering/details/details.service.mjs +6 -7
- package/{esm2020 → esm2022}/rendering/details-expand.directive.mjs +28 -25
- package/{esm2020 → esm2022}/rendering/footer/footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/footer/footer.component.mjs +19 -15
- package/{esm2020 → esm2022}/rendering/grid-table.directive.mjs +9 -8
- package/{esm2020 → esm2022}/rendering/groups-expand.directive.mjs +21 -18
- package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/header/header.component.mjs +78 -55
- package/{esm2020 → esm2022}/rendering/list.component.mjs +99 -52
- package/{esm2020 → esm2022}/rendering/loading-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/table-body.component.mjs +60 -29
- 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 +8 -7
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +26 -12
- package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -10
- package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +5 -2
- 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 -1
- package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
- package/{esm2020 → esm2022}/selection/cell-selection.service.mjs +31 -20
- package/{esm2020 → esm2022}/selection/marquee.directive.mjs +16 -4
- package/{esm2020 → esm2022}/selection/pair-set.mjs +16 -16
- package/{esm2020 → esm2022}/selection/selectall-checkbox.directive.mjs +40 -32
- package/{esm2020 → esm2022}/selection/selection-checkbox.directive.mjs +30 -14
- package/{esm2020 → esm2022}/selection/selection-default.mjs +46 -25
- package/{esm2020 → esm2022}/selection/selection.directive.mjs +4 -3
- package/{esm2020 → esm2022}/selection/selection.service.mjs +31 -18
- package/excel/excel-command-tool.directive.d.ts +41 -0
- package/excel/excel-command.directive.d.ts +1 -1
- package/excel/excel.component.d.ts +1 -1
- package/excel/excel.module.d.ts +3 -2
- package/{fesm2020 → fesm2022}/progress-kendo-angular-grid.mjs +5325 -5034
- package/filtering/base-filter-cell.component.d.ts +5 -1
- package/filtering/boolean-filter.component.d.ts +2 -17
- 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 -1
- package/filtering/filterable.d.ts +1 -1
- package/filtering/menu/boolean-filter-menu.component.d.ts +3 -2
- 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-dropdownlist.directive.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 -1
- 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/grid.component.d.ts +5 -6
- package/grid.module.d.ts +94 -101
- package/grouping/group-header.component.d.ts +1 -1
- package/grouping/group-panel.component.d.ts +1 -1
- package/grouping/group-scroll-binding.directive.d.ts +1 -1
- package/index.d.ts +7 -27
- package/layout/resizable.directive.d.ts +1 -1
- package/localization/messages.d.ts +10 -6
- 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/navigable-settings.d.ts +2 -2
- package/navigation/navigation.service.d.ts +1 -1
- package/package.json +29 -33
- package/pdf/pdf-command-tool.directive.d.ts +41 -0
- package/pdf/pdf.component.d.ts +1 -1
- package/pdf/pdf.module.d.ts +2 -1
- package/rendering/cell.component.d.ts +1 -1
- package/rendering/common/cell-context.d.ts +1 -1
- package/rendering/common/col-group.component.d.ts +1 -1
- package/rendering/common/loading.component.d.ts +1 -1
- package/rendering/common/row-class.d.ts +4 -4
- package/rendering/common/spacer.component.d.ts +1 -1
- package/rendering/details/detail-template.directive.d.ts +2 -2
- package/rendering/details-expand.directive.d.ts +1 -1
- package/rendering/footer/footer.component.d.ts +1 -1
- package/rendering/grid-table.directive.d.ts +1 -1
- package/rendering/groups-expand.directive.d.ts +1 -1
- package/rendering/header/header.component.d.ts +1 -1
- package/rendering/list.component.d.ts +1 -1
- package/rendering/table-body.component.d.ts +1 -1
- package/rendering/toolbar/toolbar-position.d.ts +1 -1
- package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar.component.d.ts +2 -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/cell-selection.service.d.ts +1 -1
- package/selection/selectall-checkbox.directive.d.ts +6 -7
- package/selection/selection-checkbox.directive.d.ts +5 -4
- package/selection/selection-default.d.ts +1 -1
- package/selection/selection.service.d.ts +1 -1
- package/selection/types.d.ts +4 -4
- package/utils.d.ts +1 -1
- package/esm2020/column-menu/column-chooser-item-checked.directive.mjs +0 -39
- package/esm2020/common/clipboard.directive.mjs +0 -186
- package/esm2020/common/dom-events.service.mjs +0 -28
- package/esm2020/filtering/cell/row-filtering.module.mjs +0 -112
- package/esm2020/filtering/menu/filter-menu.module.mjs +0 -116
- package/esm2020/filtering/shared-filtering.module.mjs +0 -92
- package/esm2020/grid.module.mjs +0 -219
- package/esm2020/grouping/group.module.mjs +0 -53
- package/esm2020/localization/messages.mjs +0 -187
- package/esm2020/pager/pager-context.service.mjs +0 -41
- package/esm2020/pager/pager-dropdown.directive.mjs +0 -39
- package/esm2020/pager/pager-element.component.mjs +0 -109
- package/esm2020/pager/pager-info.component.mjs +0 -76
- package/esm2020/pager/pager-input.component.mjs +0 -142
- package/esm2020/pager/pager-input.directive.mjs +0 -30
- package/esm2020/pager/pager-next-buttons.component.mjs +0 -114
- package/esm2020/pager/pager-numeric-buttons.component.mjs +0 -257
- package/esm2020/pager/pager-page-sizes.component.mjs +0 -145
- package/esm2020/pager/pager-prev-buttons.component.mjs +0 -116
- package/esm2020/pager/pager-template.directive.mjs +0 -48
- package/esm2020/pager/pager.component.mjs +0 -457
- package/esm2020/pager/pager.module.mjs +0 -51
- package/esm2020/pager/pagesize-item.interface.mjs +0 -5
- package/esm2020/rendering/body.module.mjs +0 -88
- package/esm2020/rendering/footer/footer.module.mjs +0 -41
- package/esm2020/rendering/header/header.module.mjs +0 -152
- package/esm2020/shared.module.mjs +0 -41
- package/fesm2015/progress-kendo-angular-grid.mjs +0 -28466
- package/filtering/cell/row-filtering.module.d.ts +0 -59
- package/filtering/menu/filter-menu.module.d.ts +0 -63
- package/filtering/shared-filtering.module.d.ts +0 -49
- package/grouping/group.module.d.ts +0 -38
- package/pager/pager-context.service.d.ts +0 -30
- package/pager/pager-dropdown.directive.d.ts +0 -18
- package/pager/pager-element.component.d.ts +0 -79
- package/pager/pager-info.component.d.ts +0 -43
- package/pager/pager-input.component.d.ts +0 -45
- package/pager/pager-input.directive.d.ts +0 -18
- package/pager/pager-next-buttons.component.d.ts +0 -28
- package/pager/pager-numeric-buttons.component.d.ts +0 -52
- package/pager/pager-page-sizes.component.d.ts +0 -49
- package/pager/pager-prev-buttons.component.d.ts +0 -28
- package/pager/pager-template.directive.d.ts +0 -38
- package/pager/pager.component.d.ts +0 -80
- package/pager/pager.module.d.ts +0 -37
- package/pager/pagesize-item.interface.d.ts +0 -14
- package/rendering/body.module.d.ts +0 -50
- package/rendering/footer/footer.module.d.ts +0 -30
- package/rendering/header/header.module.d.ts +0 -101
- package/shared.module.d.ts +0 -29
- /package/{esm2020 → esm2022}/aggregates/aggregate-types.mjs +0 -0
- /package/{esm2020 → esm2022}/column-menu/column-menu-expandable-item.interface.mjs +0 -0
- /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/clipboard-types.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/fetch-data-callback.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}/common/size-options.mjs +0 -0
- /package/{esm2020 → esm2022}/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/grid-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/group-footer-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/group-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/edit-row-options.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-row-edit.service.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/utils.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}/grouping/group-key.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/group-rows-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/group-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/virtual-group-result.interface.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/navigable-settings.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-grid.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/cell-context.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/row-args.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/toolbar/toolbar-position.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/types.mjs +0 -0
- /package/{esm2020 → esm2022}/utils.mjs +0 -0
|
@@ -104,45 +104,52 @@ const bufferSize = 1;
|
|
|
104
104
|
* @hidden
|
|
105
105
|
*/
|
|
106
106
|
export class ListComponent {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
107
|
+
changeNotification;
|
|
108
|
+
suspendService;
|
|
109
|
+
groupsService;
|
|
110
|
+
ngZone;
|
|
111
|
+
renderer;
|
|
112
|
+
scrollSyncService;
|
|
113
|
+
resizeService;
|
|
114
|
+
editService;
|
|
115
|
+
supportService;
|
|
116
|
+
navigationService;
|
|
117
|
+
ctx;
|
|
118
|
+
columnResizingService;
|
|
119
|
+
changeDetector;
|
|
120
|
+
pdfService;
|
|
121
|
+
columnInfo;
|
|
122
|
+
hostClass = true;
|
|
123
|
+
hostRole = 'presentation';
|
|
124
|
+
data;
|
|
125
|
+
groups = [];
|
|
126
|
+
total;
|
|
127
|
+
rowHeight;
|
|
128
|
+
stickyRowHeight;
|
|
129
|
+
detailRowHeight;
|
|
130
|
+
take;
|
|
131
|
+
skip = 0;
|
|
132
|
+
columns = new ColumnsContainer(() => []);
|
|
133
|
+
detailTemplate;
|
|
134
|
+
noRecordsTemplate;
|
|
135
|
+
selectable = false;
|
|
136
|
+
groupable = false;
|
|
137
|
+
filterable;
|
|
138
|
+
rowClass;
|
|
139
|
+
rowSticky;
|
|
140
|
+
loading;
|
|
141
|
+
trackBy = defaultTrackBy;
|
|
142
|
+
virtualColumns;
|
|
143
|
+
isVirtual;
|
|
144
|
+
cellLoadingTemplate;
|
|
145
|
+
loadingTemplate;
|
|
146
|
+
sort = new Array();
|
|
147
|
+
size = 'medium';
|
|
148
|
+
contentScroll = new EventEmitter();
|
|
149
|
+
pageChange = new EventEmitter();
|
|
150
|
+
scrollBottom = new EventEmitter();
|
|
151
|
+
totalHeight;
|
|
152
|
+
columnsStartIdx = 0;
|
|
146
153
|
get showFooter() {
|
|
147
154
|
return this.groupable && this.groupable.showFooter;
|
|
148
155
|
}
|
|
@@ -151,6 +158,23 @@ export class ListComponent {
|
|
|
151
158
|
return this.columns.unlockedWidth;
|
|
152
159
|
}
|
|
153
160
|
}
|
|
161
|
+
container;
|
|
162
|
+
lockedContainer;
|
|
163
|
+
lockedTable;
|
|
164
|
+
table;
|
|
165
|
+
resizeSensors = new QueryList();
|
|
166
|
+
scroller;
|
|
167
|
+
subscriptions;
|
|
168
|
+
scrollerSubscription;
|
|
169
|
+
dispatcher = new Subject();
|
|
170
|
+
rowHeightService;
|
|
171
|
+
skipScroll;
|
|
172
|
+
rebind;
|
|
173
|
+
containerScrollTop = 0;
|
|
174
|
+
viewportColumns;
|
|
175
|
+
columnsEndIdx;
|
|
176
|
+
viewportColumnsWidth;
|
|
177
|
+
scrollLeft = 0;
|
|
154
178
|
get lockedLeafColumns() {
|
|
155
179
|
return this.columns.lockedLeafColumns;
|
|
156
180
|
}
|
|
@@ -179,6 +203,29 @@ export class ListComponent {
|
|
|
179
203
|
get isLocked() {
|
|
180
204
|
return this.lockedLeafColumns.length > 0;
|
|
181
205
|
}
|
|
206
|
+
rtl = false;
|
|
207
|
+
columnUpdateFrame;
|
|
208
|
+
hasLockedContainer;
|
|
209
|
+
constructor(scrollerFactory, detailsService, changeNotification, suspendService, groupsService, ngZone, renderer, scrollSyncService, resizeService, editService, supportService, navigationService, scrollRequestService, ctx, columnResizingService, changeDetector, pdfService, columnInfo) {
|
|
210
|
+
this.changeNotification = changeNotification;
|
|
211
|
+
this.suspendService = suspendService;
|
|
212
|
+
this.groupsService = groupsService;
|
|
213
|
+
this.ngZone = ngZone;
|
|
214
|
+
this.renderer = renderer;
|
|
215
|
+
this.scrollSyncService = scrollSyncService;
|
|
216
|
+
this.resizeService = resizeService;
|
|
217
|
+
this.editService = editService;
|
|
218
|
+
this.supportService = supportService;
|
|
219
|
+
this.navigationService = navigationService;
|
|
220
|
+
this.ctx = ctx;
|
|
221
|
+
this.columnResizingService = columnResizingService;
|
|
222
|
+
this.changeDetector = changeDetector;
|
|
223
|
+
this.pdfService = pdfService;
|
|
224
|
+
this.columnInfo = columnInfo;
|
|
225
|
+
this.scroller = scrollerFactory(this.dispatcher);
|
|
226
|
+
this.subscriptions = detailsService.changes.subscribe(x => this.detailExpand(x));
|
|
227
|
+
this.subscriptions.add(scrollRequestService.requests.subscribe(req => isPresent(req.adjustIndex) ? this.scrollTo(req.request, req.adjustIndex) : this.scrollToItem(req.request)));
|
|
228
|
+
}
|
|
182
229
|
ngOnInit() {
|
|
183
230
|
this.init();
|
|
184
231
|
this.subscriptions.add(this.ngZone.runOutsideAngular(this.handleRowSync.bind(this)));
|
|
@@ -605,14 +652,13 @@ export class ListComponent {
|
|
|
605
652
|
}
|
|
606
653
|
return element.offsetLeft;
|
|
607
654
|
}
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
}
|
|
615
|
-
], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "lockedContainer", first: true, predicate: ["lockedContainer"], descendants: true }, { propertyName: "lockedTable", first: true, predicate: ["lockedTable"], descendants: true }, { propertyName: "table", first: true, predicate: ["table"], descendants: true, static: true }, { propertyName: "resizeSensors", predicate: ResizeSensorComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
655
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: i1.DetailsService }, { token: i2.ChangeNotificationService }, { token: i3.SuspendService }, { token: i4.GroupsService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i5.ScrollSyncService }, { token: i6.ResizeService }, { token: i7.EditService }, { token: i8.BrowserSupportService }, { token: i9.NavigationService }, { token: i10.ScrollRequestService }, { token: i11.ContextService }, { token: i12.ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: i13.PDFService }, { token: i14.ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
656
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ListComponent, isStandalone: true, selector: "kendo-grid-list", inputs: { data: "data", groups: "groups", total: "total", rowHeight: "rowHeight", stickyRowHeight: "stickyRowHeight", detailRowHeight: "detailRowHeight", take: "take", skip: "skip", columns: "columns", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", selectable: "selectable", groupable: "groupable", filterable: "filterable", rowClass: "rowClass", rowSticky: "rowSticky", loading: "loading", trackBy: "trackBy", virtualColumns: "virtualColumns", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", loadingTemplate: "loadingTemplate", sort: "sort", size: "size" }, outputs: { contentScroll: "contentScroll", pageChange: "pageChange", scrollBottom: "scrollBottom" }, host: { properties: { "class.k-grid-container": "this.hostClass", "attr.role": "this.hostRole" } }, providers: [
|
|
657
|
+
{
|
|
658
|
+
provide: SCROLLER_FACTORY_TOKEN,
|
|
659
|
+
useValue: DEFAULT_SCROLLER_FACTORY
|
|
660
|
+
}
|
|
661
|
+
], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "lockedContainer", first: true, predicate: ["lockedContainer"], descendants: true }, { propertyName: "lockedTable", first: true, predicate: ["lockedTable"], descendants: true }, { propertyName: "table", first: true, predicate: ["table"], descendants: true, static: true }, { propertyName: "resizeSensors", predicate: ResizeSensorComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
616
662
|
<div #lockedContainer class="k-grid-content-locked" role="presentation"
|
|
617
663
|
*ngIf="isLocked" [style.width.px]="lockedWidth" tabindex="-1"
|
|
618
664
|
[kendoEventsOutsideAngular]="{
|
|
@@ -623,7 +669,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
623
669
|
}"
|
|
624
670
|
[scope]="this"
|
|
625
671
|
>
|
|
626
|
-
<div role="presentation"
|
|
672
|
+
<div role="presentation">
|
|
627
673
|
<table
|
|
628
674
|
kendoGridResizableTable
|
|
629
675
|
[locked]="true"
|
|
@@ -672,7 +718,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
672
718
|
[kendoGridResizableContainer]="lockedLeafColumns.length > 0"
|
|
673
719
|
[lockedWidth]="lockedWidth + 1"
|
|
674
720
|
>
|
|
675
|
-
<div role="presentation"
|
|
721
|
+
<div role="presentation">
|
|
676
722
|
<table
|
|
677
723
|
[style.width.px]="nonLockedWidth"
|
|
678
724
|
#table
|
|
@@ -724,7 +770,8 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
724
770
|
</div>
|
|
725
771
|
</div>
|
|
726
772
|
`, 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: "[kendoGridResizableTable]", inputs: ["locked", "virtualColumns"] }, { kind: "directive", type: GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { kind: "component", type: ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { kind: "component", type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "totalColumns", "rowClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "directive", type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }] });
|
|
727
|
-
|
|
773
|
+
}
|
|
774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListComponent, decorators: [{
|
|
728
775
|
type: Component,
|
|
729
776
|
args: [{
|
|
730
777
|
providers: [
|
|
@@ -745,7 +792,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
745
792
|
}"
|
|
746
793
|
[scope]="this"
|
|
747
794
|
>
|
|
748
|
-
<div role="presentation"
|
|
795
|
+
<div role="presentation">
|
|
749
796
|
<table
|
|
750
797
|
kendoGridResizableTable
|
|
751
798
|
[locked]="true"
|
|
@@ -794,7 +841,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
794
841
|
[kendoGridResizableContainer]="lockedLeafColumns.length > 0"
|
|
795
842
|
[lockedWidth]="lockedWidth + 1"
|
|
796
843
|
>
|
|
797
|
-
<div role="presentation"
|
|
844
|
+
<div role="presentation">
|
|
798
845
|
<table
|
|
799
846
|
[style.width.px]="nonLockedWidth"
|
|
800
847
|
#table
|
|
@@ -10,13 +10,14 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* ([see example](slug:loadingtemplate_grid)).
|
|
11
11
|
*/
|
|
12
12
|
export class LoadingTemplateDirective {
|
|
13
|
+
templateRef;
|
|
13
14
|
constructor(templateRef) {
|
|
14
15
|
this.templateRef = templateRef;
|
|
15
16
|
}
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoadingTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LoadingTemplateDirective, isStandalone: true, selector: "[kendoGridLoadingTemplate]", ngImport: i0 });
|
|
16
19
|
}
|
|
17
|
-
|
|
18
|
-
LoadingTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LoadingTemplateDirective, isStandalone: true, selector: "[kendoGridLoadingTemplate]", ngImport: i0 });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoadingTemplateDirective, decorators: [{
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoadingTemplateDirective, decorators: [{
|
|
20
21
|
type: Directive,
|
|
21
22
|
args: [{
|
|
22
23
|
selector: '[kendoGridLoadingTemplate]',
|
|
@@ -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: "[kendoGridNoRecordsTemplate]", ngImport: i0 });
|
|
28
31
|
}
|
|
29
|
-
|
|
30
|
-
NoRecordsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NoRecordsTemplateDirective, isStandalone: true, selector: "[kendoGridNoRecordsTemplate]", 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: '[kendoGridNoRecordsTemplate]',
|
|
@@ -58,6 +58,52 @@ const columnCellIndex = (cell, cells) => {
|
|
|
58
58
|
* @hidden
|
|
59
59
|
*/
|
|
60
60
|
export class TableBodyComponent {
|
|
61
|
+
detailsService;
|
|
62
|
+
groupsService;
|
|
63
|
+
changeNotification;
|
|
64
|
+
editService;
|
|
65
|
+
ctx;
|
|
66
|
+
ngZone;
|
|
67
|
+
renderer;
|
|
68
|
+
element;
|
|
69
|
+
domEvents;
|
|
70
|
+
selectionService;
|
|
71
|
+
cellSelectionService;
|
|
72
|
+
columnInfoService;
|
|
73
|
+
navigationService;
|
|
74
|
+
columns = [];
|
|
75
|
+
allColumns;
|
|
76
|
+
groups = [];
|
|
77
|
+
detailTemplate;
|
|
78
|
+
noRecordsTemplate;
|
|
79
|
+
data;
|
|
80
|
+
skip = 0;
|
|
81
|
+
selectable;
|
|
82
|
+
filterable;
|
|
83
|
+
noRecordsText;
|
|
84
|
+
isLocked = false;
|
|
85
|
+
isLoading;
|
|
86
|
+
isVirtual;
|
|
87
|
+
cellLoadingTemplate;
|
|
88
|
+
skipGroupDecoration = false;
|
|
89
|
+
showGroupFooters = false;
|
|
90
|
+
lockedColumnsCount = 0;
|
|
91
|
+
totalColumnsCount = 0;
|
|
92
|
+
virtualColumns;
|
|
93
|
+
trackBy = defaultTrackBy;
|
|
94
|
+
rowSticky;
|
|
95
|
+
totalColumns;
|
|
96
|
+
hostClass = true;
|
|
97
|
+
groupHeaderSlaveCellsCount;
|
|
98
|
+
groupHeaderColumns;
|
|
99
|
+
clickSubscription;
|
|
100
|
+
touchSubscription;
|
|
101
|
+
l10nSubscription;
|
|
102
|
+
cellKeydownSubscription;
|
|
103
|
+
clickTimeout;
|
|
104
|
+
minusIcon = minusIcon;
|
|
105
|
+
plusIcon = plusIcon;
|
|
106
|
+
rowClass = () => null;
|
|
61
107
|
constructor(detailsService, groupsService, changeNotification, editService, ctx, ngZone, renderer, element, domEvents, selectionService, cellSelectionService, columnInfoService, navigationService) {
|
|
62
108
|
this.detailsService = detailsService;
|
|
63
109
|
this.groupsService = groupsService;
|
|
@@ -72,20 +118,7 @@ export class TableBodyComponent {
|
|
|
72
118
|
this.cellSelectionService = cellSelectionService;
|
|
73
119
|
this.columnInfoService = columnInfoService;
|
|
74
120
|
this.navigationService = navigationService;
|
|
75
|
-
this.columns = [];
|
|
76
|
-
this.groups = [];
|
|
77
|
-
this.skip = 0;
|
|
78
121
|
this.noRecordsText = this.ctx.localization.get('noRecords');
|
|
79
|
-
this.isLocked = false;
|
|
80
|
-
this.skipGroupDecoration = false;
|
|
81
|
-
this.showGroupFooters = false;
|
|
82
|
-
this.lockedColumnsCount = 0;
|
|
83
|
-
this.totalColumnsCount = 0;
|
|
84
|
-
this.trackBy = defaultTrackBy;
|
|
85
|
-
this.hostClass = true;
|
|
86
|
-
this.minusIcon = minusIcon;
|
|
87
|
-
this.plusIcon = plusIcon;
|
|
88
|
-
this.rowClass = () => null;
|
|
89
122
|
this.cellKeydownSubscription = this.navigationService.cellKeydown.subscribe((args) => this.cellKeydownHandler(args));
|
|
90
123
|
this.trackByWrapper = this.trackByWrapper.bind(this);
|
|
91
124
|
this.trackByColumns = this.trackByColumns.bind(this);
|
|
@@ -409,9 +442,8 @@ export class TableBodyComponent {
|
|
|
409
442
|
});
|
|
410
443
|
}
|
|
411
444
|
}
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TableBodyComponent, isStandalone: true, selector: "[kendoGridTableBody]", inputs: { columns: "columns", allColumns: "allColumns", groups: "groups", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", data: "data", skip: "skip", selectable: "selectable", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", isLoading: "isLoading", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", skipGroupDecoration: "skipGroupDecoration", showGroupFooters: "showGroupFooters", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", trackBy: "trackBy", rowSticky: "rowSticky", totalColumns: "totalColumns", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
445
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableBodyComponent, deps: [{ token: i1.DetailsService }, { token: i2.GroupsService }, { token: i3.ChangeNotificationService }, { token: i4.EditService }, { token: i5.ContextService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i6.DomEventsService }, { token: i7.SelectionService }, { token: i8.CellSelectionService }, { token: i9.ColumnInfoService }, { token: i10.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
446
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TableBodyComponent, isStandalone: true, selector: "[kendoGridTableBody]", inputs: { columns: "columns", allColumns: "allColumns", groups: "groups", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", data: "data", skip: "skip", selectable: "selectable", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", isLoading: "isLoading", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", skipGroupDecoration: "skipGroupDecoration", showGroupFooters: "showGroupFooters", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", trackBy: "trackBy", rowSticky: "rowSticky", totalColumns: "totalColumns", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
415
447
|
<ng-container *ngIf="editService.hasNewItem">
|
|
416
448
|
<tr class="k-grid-add-row k-grid-edit-row k-master-row"
|
|
417
449
|
kendoGridLogicalRow
|
|
@@ -421,7 +453,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
421
453
|
[logicalSlaveCellsCount]="unlockedColumnsCount()"
|
|
422
454
|
[totalColumns]="totalColumns">
|
|
423
455
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
424
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups" role="presentation"></td>
|
|
456
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
|
|
425
457
|
</ng-container>
|
|
426
458
|
<td class="k-hierarchy-cell k-table-td"
|
|
427
459
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -498,12 +530,13 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
498
530
|
[class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"
|
|
499
531
|
[ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
|
|
500
532
|
[class.k-master-row]="true"
|
|
533
|
+
[class.k-expanded]="isDataItem(item) && isExpanded(item)"
|
|
501
534
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
502
535
|
[attr.aria-selected]="lockedColumnsCount < 1 ? isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item) : undefined"
|
|
503
536
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
504
537
|
[class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)">
|
|
505
538
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
506
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups" role="presentation"></td>
|
|
539
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
|
|
507
540
|
</ng-container>
|
|
508
541
|
<td class="k-hierarchy-cell k-table-td"
|
|
509
542
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -547,7 +580,6 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
547
580
|
[attr.aria-selected]="lockedColumnsCount < 1 && isSelectable({ dataItem: item.data, index: $any(item).index }) ? isAriaSelected(item, column) : undefined"
|
|
548
581
|
[class.k-grid-content-sticky]="column.sticky"
|
|
549
582
|
[class.k-touch-action-none]="isSelectable({ dataItem: item.data, index: $any(item).index }) && $any(selectable).drag"
|
|
550
|
-
[class.k-touch-action-auto]="!(isSelectable({ dataItem: item.data, index: $any(item).index }) && $any(selectable).drag)"
|
|
551
583
|
[ngClass]="column.cssClass"
|
|
552
584
|
[class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
|
|
553
585
|
[ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
|
|
@@ -562,7 +594,6 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
562
594
|
detailTemplate.showIf(item.data, $any(item).index) &&
|
|
563
595
|
isExpanded(item)"
|
|
564
596
|
class="k-detail-row"
|
|
565
|
-
[class.k-alt]="isOdd(item)"
|
|
566
597
|
kendoGridLogicalRow
|
|
567
598
|
[dataRowIndex]="$any(item).index"
|
|
568
599
|
[dataItem]="item.data"
|
|
@@ -570,7 +601,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
570
601
|
[logicalSlaveRow]="false"
|
|
571
602
|
[logicalCellsCount]="1"
|
|
572
603
|
>
|
|
573
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups"></td>
|
|
604
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups"></td>
|
|
574
605
|
<td class="k-hierarchy-cell k-table-td"></td>
|
|
575
606
|
<td class="k-detail-cell k-table-td"
|
|
576
607
|
[attr.colspan]="columnsSpan"
|
|
@@ -605,7 +636,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
605
636
|
[logicalCellsCount]="columns.length"
|
|
606
637
|
[logicalSlaveCellsCount]="unlockedColumnsCount(item)">
|
|
607
638
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
608
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups"></td>
|
|
639
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups"></td>
|
|
609
640
|
</ng-container>
|
|
610
641
|
<td class="k-hierarchy-cell k-table-td"
|
|
611
642
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -636,7 +667,8 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
636
667
|
</ng-container>
|
|
637
668
|
<kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>
|
|
638
669
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "totalColumns"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { kind: "component", type: CellComponent, selector: "[kendoGridCell]", inputs: ["column", "columnIndex", "isNew", "isLoading", "isVirtual", "loadingTemplate", "rowIndex", "dataItem"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: ["rowIndex", "logicalRowIndex", "item", "skipGroupDecoration", "hasDetails", "totalColumnsCount", "hasGroupHeaderColumn", "groupHeaderColumns", "columns", "groups"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
639
|
-
|
|
670
|
+
}
|
|
671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableBodyComponent, decorators: [{
|
|
640
672
|
type: Component,
|
|
641
673
|
args: [{
|
|
642
674
|
selector: '[kendoGridTableBody]',
|
|
@@ -650,7 +682,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
650
682
|
[logicalSlaveCellsCount]="unlockedColumnsCount()"
|
|
651
683
|
[totalColumns]="totalColumns">
|
|
652
684
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
653
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups" role="presentation"></td>
|
|
685
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
|
|
654
686
|
</ng-container>
|
|
655
687
|
<td class="k-hierarchy-cell k-table-td"
|
|
656
688
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -727,12 +759,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
727
759
|
[class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"
|
|
728
760
|
[ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
|
|
729
761
|
[class.k-master-row]="true"
|
|
762
|
+
[class.k-expanded]="isDataItem(item) && isExpanded(item)"
|
|
730
763
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
731
764
|
[attr.aria-selected]="lockedColumnsCount < 1 ? isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item) : undefined"
|
|
732
765
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
733
766
|
[class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)">
|
|
734
767
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
735
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups" role="presentation"></td>
|
|
768
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
|
|
736
769
|
</ng-container>
|
|
737
770
|
<td class="k-hierarchy-cell k-table-td"
|
|
738
771
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -776,7 +809,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
776
809
|
[attr.aria-selected]="lockedColumnsCount < 1 && isSelectable({ dataItem: item.data, index: $any(item).index }) ? isAriaSelected(item, column) : undefined"
|
|
777
810
|
[class.k-grid-content-sticky]="column.sticky"
|
|
778
811
|
[class.k-touch-action-none]="isSelectable({ dataItem: item.data, index: $any(item).index }) && $any(selectable).drag"
|
|
779
|
-
[class.k-touch-action-auto]="!(isSelectable({ dataItem: item.data, index: $any(item).index }) && $any(selectable).drag)"
|
|
780
812
|
[ngClass]="column.cssClass"
|
|
781
813
|
[class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
|
|
782
814
|
[ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
|
|
@@ -791,7 +823,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
791
823
|
detailTemplate.showIf(item.data, $any(item).index) &&
|
|
792
824
|
isExpanded(item)"
|
|
793
825
|
class="k-detail-row"
|
|
794
|
-
[class.k-alt]="isOdd(item)"
|
|
795
826
|
kendoGridLogicalRow
|
|
796
827
|
[dataRowIndex]="$any(item).index"
|
|
797
828
|
[dataItem]="item.data"
|
|
@@ -799,7 +830,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
799
830
|
[logicalSlaveRow]="false"
|
|
800
831
|
[logicalCellsCount]="1"
|
|
801
832
|
>
|
|
802
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups"></td>
|
|
833
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups"></td>
|
|
803
834
|
<td class="k-hierarchy-cell k-table-td"></td>
|
|
804
835
|
<td class="k-detail-cell k-table-td"
|
|
805
836
|
[attr.colspan]="columnsSpan"
|
|
@@ -834,7 +865,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
834
865
|
[logicalCellsCount]="columns.length"
|
|
835
866
|
[logicalSlaveCellsCount]="unlockedColumnsCount(item)">
|
|
836
867
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
837
|
-
<td class="k-group-cell k-table-td" *ngFor="let g of groups"></td>
|
|
868
|
+
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups"></td>
|
|
838
869
|
</ng-container>
|
|
839
870
|
<td class="k-hierarchy-cell k-table-td"
|
|
840
871
|
*ngIf="detailTemplate?.templateRef"
|
|
@@ -12,10 +12,8 @@ import * as i1 from "../../common/provider.service";
|
|
|
12
12
|
* keyboard navigation.
|
|
13
13
|
*/
|
|
14
14
|
export class GridToolbarFocusableDirective {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
this.ctx = ctx;
|
|
18
|
-
}
|
|
15
|
+
host;
|
|
16
|
+
ctx;
|
|
19
17
|
/**
|
|
20
18
|
* @hidden
|
|
21
19
|
*/
|
|
@@ -28,6 +26,10 @@ export class GridToolbarFocusableDirective {
|
|
|
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 GridToolbarFocusableDirective {
|
|
|
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: GridToolbarFocusableDirective, 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: GridToolbarFocusableDirective, isStandalone: true, selector: "\n [kendoGridToolbarFocusable],\n [kendoGridAddCommand],\n [kendoGridCancelCommand],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridExcelCommand],\n [kendoGridPDFCommand]\n ", ngImport: i0 });
|
|
46
50
|
}
|
|
47
|
-
|
|
48
|
-
GridToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GridToolbarFocusableDirective, isStandalone: true, selector: "\n [kendoGridToolbarFocusable],\n [kendoGridAddCommand],\n [kendoGridCancelCommand],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridExcelCommand],\n [kendoGridPDFCommand]\n ", ngImport: i0 });
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridToolbarFocusableDirective, decorators: [{
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridToolbarFocusableDirective, 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 GridToolbarNavigationService {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
this.defaultFocusableSelector = `
|
|
12
|
+
renderer;
|
|
13
|
+
navigableElements = [];
|
|
14
|
+
currentActiveIndex = 0;
|
|
15
|
+
defaultFocusableSelector = `
|
|
17
16
|
[kendogridtoolbarfocusable],
|
|
18
17
|
[kendogridaddcommand],
|
|
19
18
|
[kendogridcancelcommand],
|
|
@@ -23,6 +22,8 @@ export class GridToolbarNavigationService {
|
|
|
23
22
|
[kendogridexcelcommand],
|
|
24
23
|
[kendogridpdfcommand]
|
|
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 GridToolbarNavigationService {
|
|
|
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: GridToolbarNavigationService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
50
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridToolbarNavigationService });
|
|
48
51
|
}
|
|
49
|
-
|
|
50
|
-
GridToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridToolbarNavigationService });
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridToolbarNavigationService, decorators: [{
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridToolbarNavigationService, decorators: [{
|
|
52
53
|
type: Injectable
|
|
53
54
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; } });
|
|
@@ -22,10 +22,8 @@ import * as i0 from "@angular/core";
|
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
export class ToolbarTemplateDirective {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
this._position = 'top';
|
|
28
|
-
}
|
|
25
|
+
templateRef;
|
|
26
|
+
_position = 'top';
|
|
29
27
|
/**
|
|
30
28
|
* The position of the toolbar ([see example]({% slug toolbartemplate_grid %}#toc-setting-the-toolbar-position)).
|
|
31
29
|
*
|
|
@@ -37,10 +35,13 @@ export class ToolbarTemplateDirective {
|
|
|
37
35
|
get position() {
|
|
38
36
|
return this._position;
|
|
39
37
|
}
|
|
38
|
+
constructor(templateRef) {
|
|
39
|
+
this.templateRef = templateRef;
|
|
40
|
+
}
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
42
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarTemplateDirective, isStandalone: true, selector: "[kendoGridToolbarTemplate]", inputs: { position: "position" }, ngImport: i0 });
|
|
40
43
|
}
|
|
41
|
-
|
|
42
|
-
ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarTemplateDirective, isStandalone: true, selector: "[kendoGridToolbarTemplate]", inputs: { position: "position" }, ngImport: i0 });
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
|
|
44
45
|
type: Directive,
|
|
45
46
|
args: [{
|
|
46
47
|
selector: '[kendoGridToolbarTemplate]',
|