@progress/kendo-angular-grid 16.5.0 → 16.6.0-develop.2
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/aggregates/status-bar-template.directive.d.ts +1 -1
- package/aggregates/status-bar.component.d.ts +1 -1
- package/column-menu/column-chooser-item-checked.directive.d.ts +1 -1
- package/column-menu/column-chooser.component.d.ts +1 -1
- package/column-menu/column-list.component.d.ts +1 -1
- package/column-menu/column-menu-autosize-all.component.d.ts +1 -1
- 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-container.component.d.ts +1 -1
- package/column-menu/column-menu-filter.component.d.ts +1 -1
- package/column-menu/column-menu-item-content-template.directive.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-lock.component.d.ts +1 -1
- package/column-menu/column-menu-position.component.d.ts +1 -1
- package/column-menu/column-menu-sort.component.d.ts +1 -1
- package/column-menu/column-menu-stick.component.d.ts +1 -1
- package/column-menu/column-menu-template.directive.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/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-group.component.d.ts +1 -1
- package/columns/column.component.d.ts +1 -1
- package/columns/command-column.component.d.ts +1 -1
- package/columns/reorder-column.component.d.ts +1 -1
- package/columns/span-column.component.d.ts +1 -1
- package/common/cell-click-event-args.interface.d.ts +1 -1
- package/common/clipboard.directive.d.ts +1 -1
- package/databinding.directive.d.ts +1 -1
- package/directives.d.ts +260 -0
- package/dragdrop/draggable-column.directive.d.ts +1 -1
- package/dragdrop/drop-target.directive.d.ts +1 -1
- package/editing/add-command.directive.d.ts +1 -1
- package/editing/cancel-command.directive.d.ts +1 -1
- package/editing/edit-command.directive.d.ts +1 -1
- package/editing/edit-template.directive.d.ts +1 -1
- package/editing/remove-command.directive.d.ts +1 -1
- package/editing/save-command.directive.d.ts +1 -1
- package/editing-directives/in-cell-editing.directive.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +2 -2
- package/editing-directives/template-editing.directive.d.ts +1 -1
- package/esm2020/aggregates/status-bar-template.directive.mjs +3 -2
- package/esm2020/aggregates/status-bar.component.mjs +6 -4
- package/esm2020/column-menu/column-chooser-item-checked.directive.mjs +5 -2
- package/esm2020/column-menu/column-chooser.component.mjs +5 -5
- package/esm2020/column-menu/column-list.component.mjs +6 -5
- package/esm2020/column-menu/column-menu-autosize-all.component.mjs +7 -5
- package/esm2020/column-menu/column-menu-autosize.component.mjs +7 -5
- package/esm2020/column-menu/column-menu-chooser.component.mjs +8 -6
- package/esm2020/column-menu/column-menu-container.component.mjs +3 -2
- package/esm2020/column-menu/column-menu-filter.component.mjs +8 -6
- package/esm2020/column-menu/column-menu-item-content-template.directive.mjs +3 -2
- package/esm2020/column-menu/column-menu-item.component.mjs +7 -5
- package/esm2020/column-menu/column-menu-item.directive.mjs +5 -2
- package/esm2020/column-menu/column-menu-lock.component.mjs +6 -4
- package/esm2020/column-menu/column-menu-position.component.mjs +10 -8
- package/esm2020/column-menu/column-menu-sort.component.mjs +6 -4
- package/esm2020/column-menu/column-menu-stick.component.mjs +6 -4
- package/esm2020/column-menu/column-menu-template.directive.mjs +3 -2
- package/esm2020/column-menu/column-menu.component.mjs +26 -19
- package/esm2020/column-resizing/column-handle.directive.mjs +3 -2
- package/esm2020/column-resizing/table.directive.mjs +3 -2
- package/esm2020/columns/checkbox-column.component.mjs +3 -2
- package/esm2020/columns/column-group.component.mjs +3 -2
- package/esm2020/columns/column.component.mjs +3 -2
- package/esm2020/columns/command-column.component.mjs +3 -2
- package/esm2020/columns/reorder-column.component.mjs +3 -2
- package/esm2020/columns/span-column.component.mjs +3 -2
- package/esm2020/common/clipboard.directive.mjs +3 -2
- package/esm2020/databinding.directive.mjs +3 -2
- package/esm2020/directives.mjs +479 -0
- package/esm2020/dragdrop/draggable-column.directive.mjs +3 -2
- package/esm2020/dragdrop/drop-target.directive.mjs +3 -2
- package/esm2020/editing/add-command.directive.mjs +7 -5
- package/esm2020/editing/cancel-command.directive.mjs +7 -5
- package/esm2020/editing/edit-command.directive.mjs +7 -5
- package/esm2020/editing/edit-template.directive.mjs +3 -2
- package/esm2020/editing/remove-command.directive.mjs +7 -5
- package/esm2020/editing/save-command.directive.mjs +7 -5
- package/esm2020/editing-directives/in-cell-editing.directive.mjs +3 -2
- package/esm2020/editing-directives/reactive-editing.directive.mjs +4 -3
- package/esm2020/editing-directives/template-editing.directive.mjs +3 -2
- package/esm2020/excel/excel-command.directive.mjs +7 -5
- package/esm2020/excel/excel.component.mjs +3 -2
- package/esm2020/excel/excel.module.mjs +12 -10
- package/esm2020/filtering/cell/autocomplete-filter-cell.component.mjs +8 -6
- package/esm2020/filtering/cell/boolean-filter-cell.component.mjs +9 -7
- package/esm2020/filtering/cell/date-filter-cell.component.mjs +9 -7
- package/esm2020/filtering/cell/filter-cell-host.directive.mjs +3 -2
- package/esm2020/filtering/cell/filter-cell-operators.component.mjs +8 -7
- package/esm2020/filtering/cell/filter-cell-template.directive.mjs +3 -2
- package/esm2020/filtering/cell/filter-cell-wrapper.component.mjs +6 -4
- package/esm2020/filtering/cell/filter-cell.component.mjs +7 -5
- package/esm2020/filtering/cell/numeric-filter-cell.component.mjs +9 -7
- package/esm2020/filtering/cell/row-filtering.module.mjs +88 -57
- package/esm2020/filtering/cell/string-filter-cell.component.mjs +10 -7
- package/esm2020/filtering/filter-input.directive.mjs +3 -2
- package/esm2020/filtering/filter-row.component.mjs +8 -6
- package/esm2020/filtering/menu/boolean-filter-menu.component.mjs +7 -6
- package/esm2020/filtering/menu/date-filter-menu-input.component.mjs +8 -6
- package/esm2020/filtering/menu/date-filter-menu.component.mjs +9 -7
- package/esm2020/filtering/menu/filter-menu-container.component.mjs +9 -6
- package/esm2020/filtering/menu/filter-menu-dropdownlist.directive.mjs +5 -2
- package/esm2020/filtering/menu/filter-menu-host.directive.mjs +3 -2
- package/esm2020/filtering/menu/filter-menu-input-wrapper.component.mjs +6 -5
- package/esm2020/filtering/menu/filter-menu-template.directive.mjs +3 -2
- package/esm2020/filtering/menu/filter-menu.component.mjs +7 -5
- package/esm2020/filtering/menu/filter-menu.module.mjs +92 -70
- package/esm2020/filtering/menu/filter-radio-button.directive.mjs +5 -2
- package/esm2020/filtering/menu/numeric-filter-menu-input.component.mjs +8 -6
- package/esm2020/filtering/menu/numeric-filter-menu.component.mjs +9 -7
- package/esm2020/filtering/menu/string-filter-menu-input.component.mjs +9 -6
- package/esm2020/filtering/menu/string-filter-menu.component.mjs +9 -7
- package/esm2020/filtering/operators/after-eq-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/after-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/before-eq-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/before-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/contains-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/ends-with-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/eq-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/gt-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/gte-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/is-empty-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/is-not-empty-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/is-not-null-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/isnull-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/lt-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/lte-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/neq-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/not-contains-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/operators/starts-with-filter-operator.component.mjs +3 -2
- package/esm2020/filtering/shared-filtering.module.mjs +78 -137
- package/esm2020/grid.component.mjs +31 -25
- package/esm2020/grid.module.mjs +180 -237
- package/esm2020/grouping/group-footer-template.directive.mjs +3 -2
- package/esm2020/grouping/group-header-column-template.directive.mjs +3 -2
- package/esm2020/grouping/group-header-template.directive.mjs +3 -2
- package/esm2020/grouping/group-header.component.mjs +10 -8
- package/esm2020/grouping/group-panel.component.mjs +11 -10
- package/esm2020/grouping/group-scroll-binding.directive.mjs +3 -2
- package/esm2020/grouping/group.module.mjs +37 -37
- package/esm2020/index.mjs +1 -1
- package/esm2020/layout/resizable.directive.mjs +3 -2
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/navigation/focusable.directive.mjs +3 -2
- package/esm2020/navigation/logical-cell.directive.mjs +3 -2
- package/esm2020/navigation/logical-row.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pager/pager-dropdown.directive.mjs +5 -2
- package/esm2020/pager/pager-info.component.mjs +3 -2
- package/esm2020/pager/pager-input.component.mjs +8 -8
- package/esm2020/pager/pager-input.directive.mjs +5 -2
- package/esm2020/pager/pager-next-buttons.component.mjs +7 -5
- package/esm2020/pager/pager-numeric-buttons.component.mjs +8 -6
- package/esm2020/pager/pager-page-sizes.component.mjs +10 -8
- package/esm2020/pager/pager-prev-buttons.component.mjs +7 -5
- package/esm2020/pager/pager-template.directive.mjs +3 -2
- package/esm2020/pager/pager.component.mjs +10 -11
- package/esm2020/pager/pager.module.mjs +35 -81
- package/esm2020/pdf/pdf-command.directive.mjs +7 -5
- package/esm2020/pdf/pdf-margin.component.mjs +3 -2
- package/esm2020/pdf/pdf-template.directive.mjs +3 -2
- package/esm2020/pdf/pdf.component.mjs +3 -2
- package/esm2020/pdf/pdf.module.mjs +13 -28
- package/esm2020/rendering/body.module.mjs +72 -109
- package/esm2020/rendering/cell-loading.template.directive.mjs +3 -2
- package/esm2020/rendering/cell-template.directive.mjs +3 -2
- package/esm2020/rendering/cell.component.mjs +15 -11
- package/esm2020/rendering/common/col-group.component.mjs +6 -4
- package/esm2020/rendering/common/field-accessor.pipe.mjs +3 -2
- package/esm2020/rendering/common/loading.component.mjs +6 -4
- package/esm2020/rendering/common/spacer.component.mjs +3 -2
- package/esm2020/rendering/details/detail-template.directive.mjs +3 -2
- package/esm2020/rendering/details-expand.directive.mjs +3 -2
- package/esm2020/rendering/footer/footer-template.directive.mjs +3 -2
- package/esm2020/rendering/footer/footer.component.mjs +9 -7
- package/esm2020/rendering/footer/footer.module.mjs +24 -18
- package/esm2020/rendering/grid-table.directive.mjs +3 -2
- package/esm2020/rendering/groups-expand.directive.mjs +3 -2
- package/esm2020/rendering/header/header-template.directive.mjs +3 -2
- package/esm2020/rendering/header/header.component.mjs +19 -18
- package/esm2020/rendering/header/header.module.mjs +136 -47
- package/esm2020/rendering/list.component.mjs +12 -11
- package/esm2020/rendering/loading-template.directive.mjs +3 -2
- package/esm2020/rendering/no-records-template.directive.mjs +3 -2
- package/esm2020/rendering/table-body.component.mjs +15 -12
- package/esm2020/rendering/toolbar/toolbar-focusable.directive.mjs +3 -2
- package/esm2020/rendering/toolbar/toolbar-template.directive.mjs +3 -2
- package/esm2020/rendering/toolbar/toolbar.component.mjs +6 -4
- package/esm2020/selection/marquee.directive.mjs +3 -2
- package/esm2020/selection/selectall-checkbox.directive.mjs +4 -3
- package/esm2020/selection/selection-checkbox.directive.mjs +3 -2
- package/esm2020/selection/selection.directive.mjs +3 -2
- package/esm2020/shared.module.mjs +24 -80
- package/excel/excel-command.directive.d.ts +1 -1
- package/excel/excel.component.d.ts +1 -1
- package/excel/excel.module.d.ts +4 -4
- package/fesm2015/progress-kendo-angular-grid.mjs +23474 -23456
- package/fesm2020/progress-kendo-angular-grid.mjs +22569 -22551
- package/filtering/cell/autocomplete-filter-cell.component.d.ts +1 -1
- package/filtering/cell/boolean-filter-cell.component.d.ts +1 -1
- package/filtering/cell/date-filter-cell.component.d.ts +1 -1
- package/filtering/cell/filter-cell-host.directive.d.ts +1 -1
- package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
- package/filtering/cell/filter-cell-template.directive.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/row-filtering.module.d.ts +38 -3
- package/filtering/cell/string-filter-cell.component.d.ts +1 -1
- package/filtering/date-filter.component.d.ts +1 -1
- package/filtering/filter-input.directive.d.ts +1 -1
- package/filtering/filter-row.component.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 -1
- 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-template.directive.d.ts +1 -1
- package/filtering/menu/filter-menu.component.d.ts +1 -1
- package/filtering/menu/filter-menu.module.d.ts +52 -17
- 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 -1
- package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -1
- package/filtering/operators/after-eq-filter-operator.component.d.ts +1 -1
- package/filtering/operators/after-filter-operator.component.d.ts +1 -1
- package/filtering/operators/before-eq-filter-operator.component.d.ts +1 -1
- package/filtering/operators/before-filter-operator.component.d.ts +1 -1
- package/filtering/operators/contains-filter-operator.component.d.ts +1 -1
- package/filtering/operators/ends-with-filter-operator.component.d.ts +1 -1
- package/filtering/operators/eq-filter-operator.component.d.ts +1 -1
- package/filtering/operators/gt-filter-operator.component.d.ts +1 -1
- package/filtering/operators/gte-filter-operator.component.d.ts +1 -1
- package/filtering/operators/is-empty-filter-operator.component.d.ts +1 -1
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +1 -1
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +1 -1
- package/filtering/operators/isnull-filter-operator.component.d.ts +1 -1
- package/filtering/operators/lt-filter-operator.component.d.ts +1 -1
- package/filtering/operators/lte-filter-operator.component.d.ts +1 -1
- package/filtering/operators/neq-filter-operator.component.d.ts +1 -1
- package/filtering/operators/not-contains-filter-operator.component.d.ts +1 -1
- package/filtering/operators/starts-with-filter-operator.component.d.ts +1 -1
- package/filtering/shared-filtering.module.d.ts +38 -30
- package/grid.component.d.ts +3 -3
- package/grid.module.d.ts +131 -116
- package/grouping/group-footer-template.directive.d.ts +1 -1
- package/grouping/group-header-column-template.directive.d.ts +1 -1
- package/grouping/group-header-template.directive.d.ts +1 -1
- 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/grouping/group.module.d.ts +27 -12
- package/index.d.ts +1 -1
- package/layout/resizable.directive.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/logical-cell.directive.d.ts +1 -1
- package/navigation/logical-row.directive.d.ts +1 -1
- package/package.json +16 -16
- package/pager/pager-dropdown.directive.d.ts +1 -1
- package/pager/pager-info.component.d.ts +1 -1
- package/pager/pager-input.component.d.ts +1 -1
- package/pager/pager-input.directive.d.ts +1 -1
- package/pager/pager-next-buttons.component.d.ts +1 -1
- package/pager/pager-numeric-buttons.component.d.ts +1 -1
- package/pager/pager-page-sizes.component.d.ts +2 -2
- package/pager/pager-prev-buttons.component.d.ts +1 -1
- package/pager/pager-settings.d.ts +2 -2
- package/pager/pager-template.directive.d.ts +1 -1
- package/pager/pager.component.d.ts +1 -1
- package/pager/pager.module.d.ts +26 -19
- package/pdf/pdf-command.directive.d.ts +1 -1
- package/pdf/pdf-margin.component.d.ts +1 -1
- package/pdf/pdf-template.directive.d.ts +1 -1
- package/pdf/pdf.component.d.ts +1 -1
- package/pdf/pdf.module.d.ts +6 -6
- package/rendering/body.module.d.ts +39 -25
- package/rendering/cell-loading.template.directive.d.ts +1 -1
- package/rendering/cell-template.directive.d.ts +1 -1
- package/rendering/cell.component.d.ts +1 -1
- package/rendering/common/col-group.component.d.ts +1 -1
- package/rendering/common/field-accessor.pipe.d.ts +1 -1
- package/rendering/common/loading.component.d.ts +1 -1
- package/rendering/common/spacer.component.d.ts +1 -1
- package/rendering/details/detail-template.directive.d.ts +1 -1
- package/rendering/details-expand.directive.d.ts +1 -1
- package/rendering/footer/footer-template.directive.d.ts +1 -1
- package/rendering/footer/footer.component.d.ts +1 -1
- package/rendering/footer/footer.module.d.ts +19 -5
- package/rendering/grid-table.directive.d.ts +1 -1
- package/rendering/groups-expand.directive.d.ts +1 -1
- package/rendering/header/header-template.directive.d.ts +1 -1
- package/rendering/header/header.component.d.ts +1 -1
- package/rendering/header/header.module.d.ts +90 -13
- package/rendering/list.component.d.ts +1 -1
- package/rendering/loading-template.directive.d.ts +1 -1
- package/rendering/no-records-template.directive.d.ts +1 -1
- package/rendering/table-body.component.d.ts +1 -1
- package/rendering/toolbar/toolbar-focusable.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +4 -4
- package/scrolling/content-scroll-event.d.ts +1 -1
- package/selection/marquee.directive.d.ts +1 -1
- package/selection/selectall-checkbox.directive.d.ts +2 -2
- package/selection/selection-checkbox.directive.d.ts +1 -1
- package/selection/selection.directive.d.ts +1 -1
- package/shared.module.d.ts +4 -6
- package/column-menu/column-menu.module.d.ts +0 -35
- package/dragdrop/drag-and-drop.module.d.ts +0 -15
- package/esm2020/column-menu/column-menu.module.mjs +0 -113
- package/esm2020/dragdrop/drag-and-drop.module.mjs +0 -29
- package/esm2020/rendering/common/template-context.directive.mjs +0 -40
- package/rendering/common/template-context.directive.d.ts +0 -19
|
@@ -14,20 +14,18 @@ import { tap, filter, switchMapTo, takeUntil } from 'rxjs/operators';
|
|
|
14
14
|
import { arrowLeftIcon, arrowRightIcon, sortAscSmallIcon, sortDescSmallIcon } from '@progress/kendo-svg-icons';
|
|
15
15
|
import { ContextService } from '../common/provider.service';
|
|
16
16
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
17
|
+
import { ChipComponent, ChipListComponent } from '@progress/kendo-angular-buttons';
|
|
17
18
|
import { closest } from '../rendering/common/dom-queries';
|
|
18
|
-
import { Keys } from '@progress/kendo-angular-common';
|
|
19
|
+
import { DraggableDirective, EventsOutsideAngularDirective, Keys } from '@progress/kendo-angular-common';
|
|
20
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
21
|
+
import { DraggableColumnDirective } from '../dragdrop/draggable-column.directive';
|
|
22
|
+
import { NgIf, NgFor } from '@angular/common';
|
|
19
23
|
import * as i0 from "@angular/core";
|
|
20
24
|
import * as i1 from "../dragdrop/drag-hint.service";
|
|
21
25
|
import * as i2 from "../dragdrop/drop-cue.service";
|
|
22
26
|
import * as i3 from "./group-info.service";
|
|
23
27
|
import * as i4 from "../common/provider.service";
|
|
24
28
|
import * as i5 from "@progress/kendo-angular-popup";
|
|
25
|
-
import * as i6 from "@angular/common";
|
|
26
|
-
import * as i7 from "@progress/kendo-angular-common";
|
|
27
|
-
import * as i8 from "@progress/kendo-angular-icons";
|
|
28
|
-
import * as i9 from "../dragdrop/draggable-column.directive";
|
|
29
|
-
import * as i10 from "../dragdrop/drop-target.directive";
|
|
30
|
-
import * as i11 from "@progress/kendo-angular-buttons";
|
|
31
29
|
const withoutField = ({ field }) => isNullOrEmptyString(field);
|
|
32
30
|
const alreadyGrouped = ({ groups, field }) => groups.some(group => group.field === field);
|
|
33
31
|
const overSameTarget = ({ target, field }) => target.field === field;
|
|
@@ -150,6 +148,7 @@ export class GroupPanelComponent {
|
|
|
150
148
|
}
|
|
151
149
|
}
|
|
152
150
|
remove(group) {
|
|
151
|
+
this.destroyMenu();
|
|
153
152
|
this.change.emit(this.groups.filter(x => x.field !== group.field));
|
|
154
153
|
}
|
|
155
154
|
toggleMenu(chip, first, last, field) {
|
|
@@ -272,7 +271,7 @@ export class GroupPanelComponent {
|
|
|
272
271
|
}
|
|
273
272
|
}
|
|
274
273
|
GroupPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupPanelComponent, deps: [{ token: i1.DragHintService }, { token: i2.DropCueService }, { token: i3.GroupInfoService }, { token: i4.ContextService }, { token: i0.ChangeDetectorRef }, { token: i5.PopupService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
275
|
-
GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: { text: "text", navigable: "navigable", groups: "groups" }, outputs: { change: "change" }, host: { properties: { "class.k-grouping-header": "this.groupHeaderClass" } }, viewQueries: [{ propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true, read: TemplateRef, static: true }, { propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }], ngImport: i0, template: `
|
|
274
|
+
GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GroupPanelComponent, isStandalone: true, selector: "kendo-grid-group-panel", inputs: { text: "text", navigable: "navigable", groups: "groups" }, outputs: { change: "change" }, host: { properties: { "class.k-grouping-header": "this.groupHeaderClass" } }, viewQueries: [{ propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true, read: TemplateRef, static: true }, { propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }], ngImport: i0, template: `
|
|
276
275
|
<div
|
|
277
276
|
*ngIf="groups.length === 0"
|
|
278
277
|
class="k-grouping-drop-container"
|
|
@@ -350,7 +349,7 @@ GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
350
349
|
</li>
|
|
351
350
|
</ul>
|
|
352
351
|
</ng-template>
|
|
353
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
352
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { kind: "component", type: ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: ["selection", "size", "role", "navigable"], outputs: ["selectedChange", "remove"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarClass", "selected", "removable", "removeIcon", "removeSvgIcon", "hasMenu", "menuIcon", "menuSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "menuToggle", "contentClick"] }, { kind: "directive", type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
354
353
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupPanelComponent, decorators: [{
|
|
355
354
|
type: Component,
|
|
356
355
|
args: [{
|
|
@@ -434,7 +433,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
434
433
|
</li>
|
|
435
434
|
</ul>
|
|
436
435
|
</ng-template>
|
|
437
|
-
|
|
436
|
+
`,
|
|
437
|
+
standalone: true,
|
|
438
|
+
imports: [NgIf, DropTargetDirective, ChipListComponent, NgFor, ChipComponent, DraggableColumnDirective, DraggableDirective, EventsOutsideAngularDirective, IconWrapperComponent]
|
|
438
439
|
}]
|
|
439
440
|
}], ctorParameters: function () { return [{ type: i1.DragHintService }, { type: i2.DropCueService }, { type: i3.GroupInfoService }, { type: i4.ContextService }, { type: i0.ChangeDetectorRef }, { type: i5.PopupService }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { change: [{
|
|
440
441
|
type: Output
|
|
@@ -317,12 +317,13 @@ export class GroupBindingDirective extends DataBindingDirective {
|
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
GroupBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupBindingDirective, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.LocalDataChangesService }, { token: i2.ContextService }, { token: i3.GroupsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
320
|
-
GroupBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupBindingDirective, selector: "[kendoGridGroupBinding]", inputs: { kendoGridGroupBinding: "kendoGridGroupBinding", sort: "sort", filter: "filter", group: "group" }, exportAs: ["kendoGridGroupBinding"], usesInheritance: true, ngImport: i0 });
|
|
320
|
+
GroupBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupBindingDirective, isStandalone: true, selector: "[kendoGridGroupBinding]", inputs: { kendoGridGroupBinding: "kendoGridGroupBinding", sort: "sort", filter: "filter", group: "group" }, exportAs: ["kendoGridGroupBinding"], usesInheritance: true, ngImport: i0 });
|
|
321
321
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupBindingDirective, decorators: [{
|
|
322
322
|
type: Directive,
|
|
323
323
|
args: [{
|
|
324
324
|
selector: '[kendoGridGroupBinding]',
|
|
325
|
-
exportAs: 'kendoGridGroupBinding'
|
|
325
|
+
exportAs: 'kendoGridGroupBinding',
|
|
326
|
+
standalone: true
|
|
326
327
|
}]
|
|
327
328
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.LocalDataChangesService }, { type: i2.ContextService }, { type: i3.GroupsService }]; }, propDecorators: { kendoGridGroupBinding: [{
|
|
328
329
|
type: Input,
|
|
@@ -3,52 +3,52 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { GroupPanelComponent } from './group-panel.component';
|
|
12
|
-
import { SharedModule } from "../shared.module";
|
|
13
|
-
import { DragAndDropModule } from '../dragdrop/drag-and-drop.module';
|
|
14
|
-
import { ChipModule } from '@progress/kendo-angular-buttons';
|
|
15
|
-
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
6
|
+
import { KENDO_CHIPLIST } from '@progress/kendo-angular-buttons';
|
|
7
|
+
import { KENDO_POPUP, PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { KENDO_GRID_COLUMN_DRAGANDDROP, KENDO_GRID_GROUP_EXPORTS, KENDO_GRID_SHARED } from '../directives';
|
|
16
11
|
import * as i0 from "@angular/core";
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
import * as i1 from "../columns/column.component";
|
|
13
|
+
import * as i2 from "../columns/column-group.component";
|
|
14
|
+
import * as i3 from "../navigation/logical-cell.directive";
|
|
15
|
+
import * as i4 from "../navigation/logical-row.directive";
|
|
16
|
+
import * as i5 from "../navigation/focusable.directive";
|
|
17
|
+
import * as i6 from "../rendering/footer/footer-template.directive";
|
|
18
|
+
import * as i7 from "../rendering/common/col-group.component";
|
|
19
|
+
import * as i8 from "../layout/resizable.directive";
|
|
20
|
+
import * as i9 from "@progress/kendo-angular-common";
|
|
21
|
+
import * as i10 from "../rendering/common/field-accessor.pipe";
|
|
22
|
+
import * as i11 from "../rendering/details/detail-template.directive";
|
|
23
|
+
import * as i12 from "../columns/span-column.component";
|
|
24
|
+
import * as i13 from "../column-resizing/table.directive";
|
|
25
|
+
import * as i14 from "../rendering/common/loading.component";
|
|
26
|
+
import * as i15 from "../rendering/grid-table.directive";
|
|
27
|
+
import * as i16 from "../dragdrop/draggable-column.directive";
|
|
28
|
+
import * as i17 from "../dragdrop/drop-target.directive";
|
|
29
|
+
import * as i18 from "@progress/kendo-angular-buttons";
|
|
30
|
+
import * as i19 from "@progress/kendo-angular-popup";
|
|
31
|
+
import * as i20 from "./group-header-template.directive";
|
|
32
|
+
import * as i21 from "./group-header-column-template.directive";
|
|
33
|
+
import * as i22 from "./group-footer-template.directive";
|
|
34
|
+
import * as i23 from "./group-header.component";
|
|
35
|
+
import * as i24 from "./group-panel.component";
|
|
36
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
24
37
|
/**
|
|
25
38
|
* @hidden
|
|
39
|
+
*
|
|
40
|
+
* This module is deprecated and will be removed in a future major version release.
|
|
26
41
|
*/
|
|
27
42
|
export class GroupModule {
|
|
28
|
-
static exports() {
|
|
29
|
-
return [
|
|
30
|
-
GroupHeaderTemplateDirective,
|
|
31
|
-
GroupHeaderColumnTemplateDirective,
|
|
32
|
-
GroupFooterTemplateDirective
|
|
33
|
-
];
|
|
34
|
-
}
|
|
35
43
|
}
|
|
36
44
|
GroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
37
|
-
GroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: GroupModule,
|
|
38
|
-
|
|
39
|
-
GroupFooterTemplateDirective,
|
|
40
|
-
GroupHeaderComponent,
|
|
41
|
-
GroupPanelComponent], imports: [CommonModule, SharedModule, DragAndDropModule, ChipModule, PopupModule], exports: [GroupHeaderTemplateDirective,
|
|
42
|
-
GroupHeaderColumnTemplateDirective,
|
|
43
|
-
GroupFooterTemplateDirective,
|
|
44
|
-
GroupHeaderComponent,
|
|
45
|
-
GroupPanelComponent] });
|
|
46
|
-
GroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupModule, imports: [CommonModule, SharedModule, DragAndDropModule, ChipModule, PopupModule] });
|
|
45
|
+
GroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: GroupModule, imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i3.LogicalCellDirective, i4.LogicalRowDirective, i5.FocusableDirective, i6.FooterTemplateDirective, i7.ColGroupComponent, i8.ResizableContainerDirective, i9.TemplateContextDirective, i10.FieldAccessorPipe, i11.DetailTemplateDirective, i12.SpanColumnComponent, i13.TableDirective, i14.LoadingComponent, i15.GridTableDirective, i9.DraggableDirective, i16.DraggableColumnDirective, i17.DropTargetDirective, i18.ChipComponent, i18.ChipListComponent, i19.PopupComponent, i20.GroupHeaderTemplateDirective, i21.GroupHeaderColumnTemplateDirective, i22.GroupFooterTemplateDirective, i23.GroupHeaderComponent, i24.GroupPanelComponent], exports: [i20.GroupHeaderTemplateDirective, i21.GroupHeaderColumnTemplateDirective, i22.GroupFooterTemplateDirective, i23.GroupHeaderComponent, i24.GroupPanelComponent] });
|
|
46
|
+
GroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i7.ColGroupComponent, i12.SpanColumnComponent, i14.LoadingComponent, KENDO_CHIPLIST, KENDO_POPUP, i23.GroupHeaderComponent, i24.GroupPanelComponent] });
|
|
47
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupModule, decorators: [{
|
|
48
48
|
type: NgModule,
|
|
49
49
|
args: [{
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
exports: [...KENDO_GRID_GROUP_EXPORTS],
|
|
51
|
+
imports: [...KENDO_GRID_SHARED, ...KENDO_GRID_COLUMN_DRAGANDDROP, ...KENDO_CHIPLIST, ...KENDO_POPUP, ...KENDO_GRID_GROUP_EXPORTS],
|
|
52
|
+
providers: [IconsService, PopupService, ResizeBatchService]
|
|
53
53
|
}]
|
|
54
54
|
}] });
|
package/esm2020/index.mjs
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export * from './directives';
|
|
5
6
|
export { GridModule } from './grid.module';
|
|
6
7
|
export { SharedModule } from './shared.module';
|
|
7
8
|
export { GridComponent } from './grid.component';
|
|
@@ -64,7 +65,6 @@ export { GroupHeaderTemplateDirective } from './grouping/group-header-template.d
|
|
|
64
65
|
export { GroupHeaderColumnTemplateDirective } from './grouping/group-header-column-template.directive';
|
|
65
66
|
export { GroupFooterTemplateDirective } from './grouping/group-footer-template.directive';
|
|
66
67
|
export { ResizableContainerDirective } from './layout/resizable.directive';
|
|
67
|
-
export { TemplateContextDirective } from './rendering/common/template-context.directive';
|
|
68
68
|
export { NoRecordsTemplateDirective } from './rendering/no-records-template.directive';
|
|
69
69
|
export { DataBindingDirective } from './databinding.directive';
|
|
70
70
|
export { SelectionDirective } from './selection/selection.directive';
|
|
@@ -62,11 +62,12 @@ export class ResizableContainerDirective {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
ResizableContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizableContainerDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ResizeService }, { token: i2.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
65
|
-
ResizableContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: { lockedWidth: "lockedWidth", kendoGridResizableContainer: "kendoGridResizableContainer" }, ngImport: i0 });
|
|
65
|
+
ResizableContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ResizableContainerDirective, isStandalone: true, selector: "[kendoGridResizableContainer]", inputs: { lockedWidth: "lockedWidth", kendoGridResizableContainer: "kendoGridResizableContainer" }, ngImport: i0 });
|
|
66
66
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizableContainerDirective, decorators: [{
|
|
67
67
|
type: Directive,
|
|
68
68
|
args: [{
|
|
69
|
-
selector: '[kendoGridResizableContainer]'
|
|
69
|
+
selector: '[kendoGridResizableContainer]',
|
|
70
|
+
standalone: true
|
|
70
71
|
}]
|
|
71
72
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.ResizeService }, { type: i2.ContextService }]; }, propDecorators: { lockedWidth: [{
|
|
72
73
|
type: Input,
|
|
@@ -21,7 +21,7 @@ export class CustomMessagesComponent extends GridMessages {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-grid-messages", providers: [
|
|
24
|
+
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-grid-messages", providers: [
|
|
25
25
|
{
|
|
26
26
|
provide: GridMessages,
|
|
27
27
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
@@ -37,6 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
39
|
selector: 'kendo-grid-messages',
|
|
40
|
-
template:
|
|
40
|
+
template: ``,
|
|
41
|
+
standalone: true
|
|
41
42
|
}]
|
|
42
43
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -17,7 +17,7 @@ export class LocalizedMessagesDirective extends GridMessages {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoGridLocalizedMessages]", providers: [
|
|
20
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoGridLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: GridMessages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
32
32
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
-
selector: '[kendoGridLocalizedMessages]'
|
|
35
|
+
selector: '[kendoGridLocalizedMessages]',
|
|
36
|
+
standalone: true
|
|
36
37
|
}]
|
|
37
38
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -116,7 +116,7 @@ export class FocusableDirective {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusableDirective, deps: [{ token: CELL_CONTEXT, optional: true, skipSelf: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
119
|
-
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: { enabled: ["kendoGridFocusable", "enabled"] }, ngImport: i0 });
|
|
119
|
+
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FocusableDirective, isStandalone: true, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: { enabled: ["kendoGridFocusable", "enabled"] }, ngImport: i0 });
|
|
120
120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusableDirective, decorators: [{
|
|
121
121
|
type: Directive,
|
|
122
122
|
args: [{
|
|
@@ -126,7 +126,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
126
126
|
[kendoGridSaveCommand],
|
|
127
127
|
[kendoGridCancelCommand],
|
|
128
128
|
[kendoGridSelectionCheckbox]
|
|
129
|
-
|
|
129
|
+
`,
|
|
130
|
+
standalone: true
|
|
130
131
|
}]
|
|
131
132
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
132
133
|
type: Optional
|
|
@@ -139,7 +139,7 @@ export class LogicalCellDirective {
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
LogicalCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LogicalCellDirective, deps: [{ token: i1.FocusGroup }, { token: i0.ElementRef }, { token: i2.ColumnInfoService }, { token: i3.IdService }, { token: i4.NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: CELL_CONTEXT, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
142
|
-
LogicalCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: { logicalColIndex: "logicalColIndex", logicalRowIndex: "logicalRowIndex", logicalSlaveCell: "logicalSlaveCell", colIndex: "colIndex", colSpan: "colSpan", rowSpan: "rowSpan", groupItem: "groupItem", dataRowIndex: "dataRowIndex", dataItem: "dataItem", detailExpandCell: "detailExpandCell", headerLabelText: "headerLabelText" }, host: { properties: { "attr.id": "this.id", "attr.aria-colindex": "this.ariaColIndex" } }, providers: [{
|
|
142
|
+
LogicalCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LogicalCellDirective, isStandalone: true, selector: "[kendoGridLogicalCell]", inputs: { logicalColIndex: "logicalColIndex", logicalRowIndex: "logicalRowIndex", logicalSlaveCell: "logicalSlaveCell", colIndex: "colIndex", colSpan: "colSpan", rowSpan: "rowSpan", groupItem: "groupItem", dataRowIndex: "dataRowIndex", dataItem: "dataItem", detailExpandCell: "detailExpandCell", headerLabelText: "headerLabelText" }, host: { properties: { "attr.id": "this.id", "attr.aria-colindex": "this.ariaColIndex" } }, providers: [{
|
|
143
143
|
provide: FocusGroup,
|
|
144
144
|
deps: [FocusRoot],
|
|
145
145
|
useClass: FocusGroup
|
|
@@ -152,7 +152,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
152
152
|
deps: [FocusRoot],
|
|
153
153
|
useClass: FocusGroup
|
|
154
154
|
}],
|
|
155
|
-
selector: '[kendoGridLogicalCell]'
|
|
155
|
+
selector: '[kendoGridLogicalCell]',
|
|
156
|
+
standalone: true
|
|
156
157
|
}]
|
|
157
158
|
}], ctorParameters: function () { return [{ type: i1.FocusGroup }, { type: i0.ElementRef }, { type: i2.ColumnInfoService }, { type: i3.IdService }, { type: i4.NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
158
159
|
type: Optional
|
|
@@ -86,11 +86,12 @@ export class LogicalRowDirective {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
LogicalRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LogicalRowDirective, deps: [{ token: i1.IdService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
89
|
-
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem", totalColumns: "totalColumns" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "attr.data-kendo-grid-row-index": "this.rowIndex", "class.k-table-row": "this.tableRowClass", "attr.aria-owns": "this.ariaOwns" } }, usesOnChanges: true, ngImport: i0 });
|
|
89
|
+
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LogicalRowDirective, isStandalone: true, selector: "[kendoGridLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem", totalColumns: "totalColumns" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "attr.data-kendo-grid-row-index": "this.rowIndex", "class.k-table-row": "this.tableRowClass", "attr.aria-owns": "this.ariaOwns" } }, usesOnChanges: true, ngImport: i0 });
|
|
90
90
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LogicalRowDirective, decorators: [{
|
|
91
91
|
type: Directive,
|
|
92
92
|
args: [{
|
|
93
|
-
selector: '[kendoGridLogicalRow]'
|
|
93
|
+
selector: '[kendoGridLogicalRow]',
|
|
94
|
+
standalone: true
|
|
94
95
|
}]
|
|
95
96
|
}], ctorParameters: function () { return [{ type: i1.IdService }, { type: i2.NavigationService }]; }, propDecorators: { logicalRowIndex: [{
|
|
96
97
|
type: Input
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.
|
|
12
|
+
publishDate: 1721847179,
|
|
13
|
+
version: '16.6.0-develop.2',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -29,8 +29,11 @@ export class PagerDropDownListDirective {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
PagerDropDownListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerDropDownListDirective, deps: [{ token: i1.DropDownListComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32
|
-
PagerDropDownListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PagerDropDownListDirective, selector: "[kendoGridPagerDropDown]", ngImport: i0 });
|
|
32
|
+
PagerDropDownListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PagerDropDownListDirective, isStandalone: true, selector: "[kendoGridPagerDropDown]", ngImport: i0 });
|
|
33
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerDropDownListDirective, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
|
-
args: [{
|
|
35
|
+
args: [{
|
|
36
|
+
selector: '[kendoGridPagerDropDown]',
|
|
37
|
+
standalone: true
|
|
38
|
+
}]
|
|
36
39
|
}], ctorParameters: function () { return [{ type: i1.DropDownListComponent }]; } });
|
|
@@ -58,13 +58,14 @@ export class PagerInfoComponent extends PagerElementComponent {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
PagerInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInfoComponent, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
61
|
-
PagerInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerInfoComponent, selector: "kendo-pager-info", host: { properties: { "class.k-pager-info": "this.classes", "class.k-label": "this.classes" } }, usesInheritance: true, ngImport: i0, template: `{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
61
|
+
PagerInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerInfoComponent, isStandalone: true, selector: "kendo-pager-info", host: { properties: { "class.k-pager-info": "this.classes", "class.k-label": "this.classes" } }, usesInheritance: true, ngImport: i0, template: `{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
62
62
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInfoComponent, decorators: [{
|
|
63
63
|
type: Component,
|
|
64
64
|
args: [{
|
|
65
65
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
66
66
|
selector: 'kendo-pager-info',
|
|
67
|
-
template: `{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}
|
|
67
|
+
template: `{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}`,
|
|
68
|
+
standalone: true
|
|
68
69
|
}]
|
|
69
70
|
}], ctorParameters: function () { return [{ type: i1.ContextService }, { type: i0.ChangeDetectorRef }, { type: i2.PagerContextService }]; }, propDecorators: { classes: [{
|
|
70
71
|
type: HostBinding,
|
|
@@ -7,16 +7,14 @@ import { NumericTextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
|
7
7
|
import { Component, ChangeDetectorRef, ViewChild, NgZone } from '@angular/core';
|
|
8
8
|
import { PagerElementComponent } from './pager-element.component';
|
|
9
9
|
import { PagerContextService } from "./pager-context.service";
|
|
10
|
-
import { Keys } from '@progress/kendo-angular-common';
|
|
10
|
+
import { EventsOutsideAngularDirective, Keys } from '@progress/kendo-angular-common';
|
|
11
11
|
import { ContextService } from '../common/provider.service';
|
|
12
|
+
import { FocusableDirective } from '../navigation/focusable.directive';
|
|
13
|
+
import { PagerInputDirective } from './pager-input.directive';
|
|
12
14
|
import * as i0 from "@angular/core";
|
|
13
15
|
import * as i1 from "../common/provider.service";
|
|
14
16
|
import * as i2 from "./pager-context.service";
|
|
15
17
|
import * as i3 from "./../navigation/navigation.service";
|
|
16
|
-
import * as i4 from "@progress/kendo-angular-common";
|
|
17
|
-
import * as i5 from "@progress/kendo-angular-inputs";
|
|
18
|
-
import * as i6 from "../navigation/focusable.directive";
|
|
19
|
-
import * as i7 from "./pager-input.directive";
|
|
20
18
|
/**
|
|
21
19
|
* Displays an input element which allows the typing and rendering of page numbers ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
|
|
22
20
|
*/
|
|
@@ -81,7 +79,7 @@ export class PagerInputComponent extends PagerElementComponent {
|
|
|
81
79
|
}
|
|
82
80
|
}
|
|
83
81
|
PagerInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.ContextService }, { token: i2.PagerContextService }, { token: i0.NgZone }, { token: i3.NavigationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
84
|
-
PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerInputComponent, selector: "kendo-pager-input", viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
82
|
+
PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerInputComponent, isStandalone: true, selector: "kendo-pager-input", viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
85
83
|
<span class="k-pager-input k-label">
|
|
86
84
|
{{textFor('pagerPage')}}
|
|
87
85
|
<kendo-numerictextbox
|
|
@@ -105,7 +103,7 @@ PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
105
103
|
</kendo-numerictextbox>
|
|
106
104
|
{{textFor('pagerOf')}} {{totalPages}}
|
|
107
105
|
</span>
|
|
108
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
106
|
+
`, isInline: true, dependencies: [{ kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "directive", type: PagerInputDirective, selector: "[kendoGridPagerInput]" }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
109
107
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInputComponent, decorators: [{
|
|
110
108
|
type: Component,
|
|
111
109
|
args: [{
|
|
@@ -134,7 +132,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
134
132
|
</kendo-numerictextbox>
|
|
135
133
|
{{textFor('pagerOf')}} {{totalPages}}
|
|
136
134
|
</span>
|
|
137
|
-
|
|
135
|
+
`,
|
|
136
|
+
standalone: true,
|
|
137
|
+
imports: [NumericTextBoxComponent, PagerInputDirective, FocusableDirective, EventsOutsideAngularDirective]
|
|
138
138
|
}]
|
|
139
139
|
}], ctorParameters: function () { return [{ type: i1.ContextService }, { type: i2.PagerContextService }, { type: i0.NgZone }, { type: i3.NavigationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { numericInput: [{
|
|
140
140
|
type: ViewChild,
|
|
@@ -20,8 +20,11 @@ export class PagerInputDirective {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
PagerInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInputDirective, deps: [{ token: i1.NumericTextBoxComponent }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
-
PagerInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PagerInputDirective, selector: "[kendoGridPagerInput]", ngImport: i0 });
|
|
23
|
+
PagerInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PagerInputDirective, isStandalone: true, selector: "[kendoGridPagerInput]", ngImport: i0 });
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInputDirective, decorators: [{
|
|
25
25
|
type: Directive,
|
|
26
|
-
args: [{
|
|
26
|
+
args: [{
|
|
27
|
+
selector: '[kendoGridPagerInput]',
|
|
28
|
+
standalone: true
|
|
29
|
+
}]
|
|
27
30
|
}], ctorParameters: function () { return [{ type: i1.NumericTextBoxComponent }, { type: i0.Renderer2 }]; } });
|
|
@@ -7,12 +7,12 @@ import { Component, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/
|
|
|
7
7
|
import { PagerContextService } from "./pager-context.service";
|
|
8
8
|
import { PagerElementComponent } from './pager-element.component';
|
|
9
9
|
import { ContextService } from '../common/provider.service';
|
|
10
|
+
import { FocusableDirective } from '../navigation/focusable.directive';
|
|
11
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "../common/provider.service";
|
|
12
14
|
import * as i2 from "./pager-context.service";
|
|
13
15
|
import * as i3 from "./../navigation/navigation.service";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-buttons";
|
|
15
|
-
import * as i5 from "../navigation/focusable.directive";
|
|
16
16
|
/**
|
|
17
17
|
* Displays buttons for navigating to the next and to the last page ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
|
|
18
18
|
*/
|
|
@@ -39,7 +39,7 @@ export class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
PagerNextButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.ContextService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
-
PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerNextButtonsComponent, selector: "kendo-pager-next-buttons", usesInheritance: true, ngImport: i0, template: `
|
|
42
|
+
PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerNextButtonsComponent, isStandalone: true, selector: "kendo-pager-next-buttons", usesInheritance: true, ngImport: i0, template: `
|
|
43
43
|
<button
|
|
44
44
|
kendoButton
|
|
45
45
|
[kendoGridFocusable]="!disabled"
|
|
@@ -70,7 +70,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
70
70
|
[attr.aria-label]="textFor('pagerLastPage')"
|
|
71
71
|
(click)="currentPage !== totalPages ? changePage(totalPages-1) : false">
|
|
72
72
|
</button>
|
|
73
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
73
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
74
74
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNextButtonsComponent, decorators: [{
|
|
75
75
|
type: Component,
|
|
76
76
|
args: [{
|
|
@@ -107,6 +107,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
107
107
|
[attr.aria-label]="textFor('pagerLastPage')"
|
|
108
108
|
(click)="currentPage !== totalPages ? changePage(totalPages-1) : false">
|
|
109
109
|
</button>
|
|
110
|
-
|
|
110
|
+
`,
|
|
111
|
+
standalone: true,
|
|
112
|
+
imports: [ButtonComponent, FocusableDirective]
|
|
111
113
|
}]
|
|
112
114
|
}], ctorParameters: function () { return [{ type: i1.ContextService }, { type: i2.PagerContextService }, { type: i0.ChangeDetectorRef }, { type: i3.NavigationService }]; } });
|
|
@@ -6,12 +6,12 @@ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Inpu
|
|
|
6
6
|
import { ContextService } from '../common/provider.service';
|
|
7
7
|
import { PagerContextService } from './pager-context.service';
|
|
8
8
|
import { PagerElementComponent } from './pager-element.component';
|
|
9
|
+
import { NgClass, NgIf, NgFor } from '@angular/common';
|
|
10
|
+
import { FocusableDirective } from '../navigation/focusable.directive';
|
|
11
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
9
12
|
import * as i0 from "@angular/core";
|
|
10
13
|
import * as i1 from "../common/provider.service";
|
|
11
14
|
import * as i2 from "./pager-context.service";
|
|
12
|
-
import * as i3 from "@angular/common";
|
|
13
|
-
import * as i4 from "@progress/kendo-angular-buttons";
|
|
14
|
-
import * as i5 from "../navigation/focusable.directive";
|
|
15
15
|
/**
|
|
16
16
|
* Displays numeric buttons to enable navigation between the pages ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
|
|
17
17
|
*/
|
|
@@ -88,7 +88,7 @@ export class PagerNumericButtonsComponent extends PagerElementComponent {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
PagerNumericButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
91
|
-
PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerNumericButtonsComponent, selector: "kendo-pager-numeric-buttons", inputs: { buttonCount: "buttonCount" }, viewQueries: [{ propertyName: "selectElement", first: true, predicate: ["select"], descendants: true, read: ElementRef }, { propertyName: "numbersElement", first: true, predicate: ["numbers"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
91
|
+
PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerNumericButtonsComponent, isStandalone: true, selector: "kendo-pager-numeric-buttons", inputs: { buttonCount: "buttonCount" }, viewQueries: [{ propertyName: "selectElement", first: true, predicate: ["select"], descendants: true, read: ElementRef }, { propertyName: "numbersElement", first: true, predicate: ["numbers"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
92
92
|
<select
|
|
93
93
|
#select
|
|
94
94
|
class="k-dropdown-list k-dropdown k-picker k-picker-solid k-rounded-md"
|
|
@@ -162,7 +162,7 @@ PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
162
162
|
[attr.title]="pageLabel(end + 1)"
|
|
163
163
|
(click)="changePage(end)">...</button>
|
|
164
164
|
</div>
|
|
165
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
165
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
166
166
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNumericButtonsComponent, decorators: [{
|
|
167
167
|
type: Component,
|
|
168
168
|
args: [{
|
|
@@ -242,7 +242,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
242
242
|
[attr.title]="pageLabel(end + 1)"
|
|
243
243
|
(click)="changePage(end)">...</button>
|
|
244
244
|
</div>
|
|
245
|
-
|
|
245
|
+
`,
|
|
246
|
+
standalone: true,
|
|
247
|
+
imports: [FocusableDirective, NgClass, NgIf, NgFor, ButtonComponent]
|
|
246
248
|
}]
|
|
247
249
|
}], ctorParameters: function () { return [{ type: i1.ContextService }, { type: i0.ChangeDetectorRef }, { type: i2.PagerContextService }]; }, propDecorators: { selectElement: [{
|
|
248
250
|
type: ViewChild,
|
|
@@ -7,14 +7,14 @@ import { Component, ChangeDetectorRef, ChangeDetectionStrategy, HostBinding, Inp
|
|
|
7
7
|
import { PagerElementComponent } from './pager-element.component';
|
|
8
8
|
import { PagerContextService } from './pager-context.service';
|
|
9
9
|
import { ContextService } from '../common/provider.service';
|
|
10
|
+
import { FocusableDirective } from '../navigation/focusable.directive';
|
|
11
|
+
import { PagerDropDownListDirective } from './pager-dropdown.directive';
|
|
12
|
+
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
13
|
+
import { LabelComponent } from '@progress/kendo-angular-label';
|
|
10
14
|
import * as i0 from "@angular/core";
|
|
11
15
|
import * as i1 from "../common/provider.service";
|
|
12
16
|
import * as i2 from "./pager-context.service";
|
|
13
17
|
import * as i3 from "./../navigation/navigation.service";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-label";
|
|
15
|
-
import * as i5 from "@progress/kendo-angular-dropdowns";
|
|
16
|
-
import * as i6 from "../navigation/focusable.directive";
|
|
17
|
-
import * as i7 from "./pager-dropdown.directive";
|
|
18
18
|
/**
|
|
19
19
|
* Displays a drop-down list for the page size selection ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
|
|
20
20
|
*/
|
|
@@ -27,7 +27,7 @@ export class PagerPageSizesComponent extends PagerElementComponent {
|
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* The page sizes collection. Can be an Array of numbers and/or [`PageSizeItem`](slug:api_grid_pagesizeitem) objects
|
|
30
|
-
* ([see example](
|
|
30
|
+
* ([see example](slug:pager_template_grid))
|
|
31
31
|
*/
|
|
32
32
|
set pageSizes(pageSizes) {
|
|
33
33
|
let normalizedItems = [];
|
|
@@ -94,7 +94,7 @@ export class PagerPageSizesComponent extends PagerElementComponent {
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
PagerPageSizesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerPageSizesComponent, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
97
|
-
PagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerPageSizesComponent, selector: "kendo-pager-page-sizes", inputs: { pageSizes: "pageSizes" }, host: { properties: { "class.k-pager-sizes": "this.classes", "class.k-label": "this.classes" } }, usesInheritance: true, ngImport: i0, template: `
|
|
97
|
+
PagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerPageSizesComponent, isStandalone: true, selector: "kendo-pager-page-sizes", inputs: { pageSizes: "pageSizes" }, host: { properties: { "class.k-pager-sizes": "this.classes", "class.k-label": "this.classes" } }, usesInheritance: true, ngImport: i0, template: `
|
|
98
98
|
<kendo-dropdownlist
|
|
99
99
|
class="k-dropdown"
|
|
100
100
|
#dropdownlist
|
|
@@ -109,7 +109,7 @@ PagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
109
109
|
[value]="pageSize"
|
|
110
110
|
(valueChange)="pageSizeChange($event)"></kendo-dropdownlist>
|
|
111
111
|
<kendo-label [for]="dropdownlist" [text]="textFor('pagerItemsPerPage')"></kendo-label>
|
|
112
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
112
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: PagerDropDownListDirective, selector: "[kendoGridPagerDropDown]" }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
113
113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerPageSizesComponent, decorators: [{
|
|
114
114
|
type: Component,
|
|
115
115
|
args: [{
|
|
@@ -130,7 +130,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
130
130
|
[value]="pageSize"
|
|
131
131
|
(valueChange)="pageSizeChange($event)"></kendo-dropdownlist>
|
|
132
132
|
<kendo-label [for]="dropdownlist" [text]="textFor('pagerItemsPerPage')"></kendo-label>
|
|
133
|
-
|
|
133
|
+
`,
|
|
134
|
+
standalone: true,
|
|
135
|
+
imports: [DropDownListComponent, PagerDropDownListDirective, FocusableDirective, LabelComponent]
|
|
134
136
|
}]
|
|
135
137
|
}], ctorParameters: function () { return [{ type: i1.ContextService }, { type: i0.ChangeDetectorRef }, { type: i2.PagerContextService }, { type: i3.NavigationService }]; }, propDecorators: { pageSizes: [{
|
|
136
138
|
type: Input
|