@progress/kendo-angular-grid 21.4.1 → 22.0.0-develop.1
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/column-menu/column-menu-item-base.d.ts +1 -1
- package/columns/column-base.d.ts +1 -1
- package/common/toolbar-tool-base.directive.d.ts +1 -1
- package/editing/toolbar-editing-tool-base.directive.d.ts +1 -1
- package/editing-directives/editing-directive-base.d.ts +1 -1
- package/editing-directives/row-editing-directive-base.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-grid.mjs +666 -666
- package/filtering/base-filter-cell.component.d.ts +1 -1
- package/filtering/boolean-filter.component.d.ts +1 -1
- package/filtering/date-filter.component.d.ts +1 -1
- package/filtering/filter-host.directive.d.ts +1 -1
- package/filtering/filter-input-wrapper.component.d.ts +1 -1
- package/filtering/numeric-filter.component.d.ts +1 -1
- package/filtering/operators/filter-operator.base.d.ts +1 -1
- package/filtering/string-filter.component.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/package.json +28 -36
- package/schematics/ngAdd/index.js +7 -7
- package/selection/selection-default.d.ts +1 -1
- package/esm2022/adaptiveness/adaptive-mode.mjs +0 -5
- package/esm2022/adaptiveness/adaptive-renderer.component.mjs +0 -1270
- package/esm2022/aggregates/aggregate-types.mjs +0 -5
- package/esm2022/aggregates/selection-aggregate.service.mjs +0 -200
- package/esm2022/aggregates/status-bar-template.directive.mjs +0 -30
- package/esm2022/aggregates/status-bar.component.mjs +0 -70
- package/esm2022/column-menu/column-chooser-content.component.mjs +0 -318
- package/esm2022/column-menu/column-chooser.component.mjs +0 -230
- package/esm2022/column-menu/column-list-kb-nav.service.mjs +0 -40
- package/esm2022/column-menu/column-list.component.mjs +0 -478
- package/esm2022/column-menu/column-locked-change-event.mjs +0 -19
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +0 -89
- package/esm2022/column-menu/column-menu-autosize.component.mjs +0 -97
- package/esm2022/column-menu/column-menu-chooser.component.mjs +0 -151
- package/esm2022/column-menu/column-menu-container.component.mjs +0 -67
- package/esm2022/column-menu/column-menu-expandable-item.interface.mjs +0 -5
- package/esm2022/column-menu/column-menu-filter.component.mjs +0 -152
- package/esm2022/column-menu/column-menu-item-base.mjs +0 -44
- package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +0 -45
- package/esm2022/column-menu/column-menu-item.component.mjs +0 -514
- package/esm2022/column-menu/column-menu-item.directive.mjs +0 -164
- package/esm2022/column-menu/column-menu-lock.component.mjs +0 -118
- package/esm2022/column-menu/column-menu-position.component.mjs +0 -196
- package/esm2022/column-menu/column-menu-settings.interface.mjs +0 -5
- package/esm2022/column-menu/column-menu-sort.component.mjs +0 -119
- package/esm2022/column-menu/column-menu-stick.component.mjs +0 -120
- package/esm2022/column-menu/column-menu-template.directive.mjs +0 -47
- package/esm2022/column-menu/column-menu.component.mjs +0 -839
- package/esm2022/column-menu/column-menu.service.mjs +0 -71
- package/esm2022/column-menu/column-sticky-change-event.mjs +0 -19
- package/esm2022/column-menu/column-visibility-change-event.mjs +0 -19
- package/esm2022/column-menu/utils.mjs +0 -52
- package/esm2022/column-resizing/column-handle.directive.mjs +0 -499
- package/esm2022/column-resizing/column-resize.interface.mjs +0 -5
- package/esm2022/column-resizing/column-resizing.service.mjs +0 -214
- package/esm2022/column-resizing/table.directive.mjs +0 -141
- package/esm2022/columns/cell-rowspan.mjs +0 -5
- package/esm2022/columns/checkbox-column.component.mjs +0 -106
- package/esm2022/columns/column-base.mjs +0 -432
- package/esm2022/columns/column-common.mjs +0 -73
- package/esm2022/columns/column-group.component.mjs +0 -135
- package/esm2022/columns/column-list.mjs +0 -94
- package/esm2022/columns/column.component.mjs +0 -198
- package/esm2022/columns/columns-container.mjs +0 -101
- package/esm2022/columns/command-column.component.mjs +0 -80
- package/esm2022/columns/reorder-column.component.mjs +0 -114
- package/esm2022/columns/sort-settings.mjs +0 -18
- package/esm2022/columns/span-column.component.mjs +0 -195
- package/esm2022/common/adaptiveness.service.mjs +0 -72
- package/esm2022/common/cell-click-event-args.interface.mjs +0 -5
- package/esm2022/common/clipboard-types.mjs +0 -5
- package/esm2022/common/clipboard.directive.mjs +0 -197
- package/esm2022/common/clipboard.service.mjs +0 -221
- package/esm2022/common/column-info.service.mjs +0 -92
- package/esm2022/common/create-form-group.mjs +0 -5
- package/esm2022/common/data-layout-mode.mjs +0 -5
- package/esm2022/common/default-track-by.mjs +0 -13
- package/esm2022/common/dom-events.service.mjs +0 -27
- package/esm2022/common/error-messages.mjs +0 -64
- package/esm2022/common/event-emitter.mjs +0 -39
- package/esm2022/common/fetch-data-callback.mjs +0 -5
- package/esm2022/common/field-datatype.mjs +0 -5
- package/esm2022/common/filter-descriptor-differ.mjs +0 -69
- package/esm2022/common/filter-operator.interface.mjs +0 -5
- package/esm2022/common/grid-col-size.mjs +0 -5
- package/esm2022/common/id.service.mjs +0 -59
- package/esm2022/common/pager-settings.mjs +0 -20
- package/esm2022/common/preventable-event.mjs +0 -24
- package/esm2022/common/provider.service.mjs +0 -42
- package/esm2022/common/remove-confirmation.mjs +0 -5
- package/esm2022/common/resizable-settings.mjs +0 -9
- package/esm2022/common/single-popup.service.mjs +0 -158
- package/esm2022/common/size-options.mjs +0 -5
- package/esm2022/common/sort.service.mjs +0 -14
- package/esm2022/common/toolbar-tool-base.directive.mjs +0 -85
- package/esm2022/constants.mjs +0 -16
- package/esm2022/data/change-event-args.interface.mjs +0 -5
- package/esm2022/data/change-notification.service.mjs +0 -30
- package/esm2022/data/data-item.interface.mjs +0 -5
- package/esm2022/data/data-mapping.service.mjs +0 -136
- package/esm2022/data/data.collection.mjs +0 -87
- package/esm2022/data/data.iterators.mjs +0 -221
- package/esm2022/data/grid-item.interface.mjs +0 -5
- package/esm2022/data/group-footer-item.interface.mjs +0 -5
- package/esm2022/data/group-item.interface.mjs +0 -5
- package/esm2022/databinding.directive.mjs +0 -233
- package/esm2022/directives.mjs +0 -504
- package/esm2022/dragdrop/column-reorder-config.mjs +0 -5
- package/esm2022/dragdrop/column-reorder-event.mjs +0 -31
- package/esm2022/dragdrop/column-reorder.service.mjs +0 -20
- package/esm2022/dragdrop/common.mjs +0 -69
- package/esm2022/dragdrop/context-types.mjs +0 -5
- package/esm2022/dragdrop/drag-and-drop.service.mjs +0 -65
- package/esm2022/dragdrop/drag-hint.service.mjs +0 -137
- package/esm2022/dragdrop/draggable-column.directive.mjs +0 -137
- package/esm2022/dragdrop/drop-cue.service.mjs +0 -46
- package/esm2022/dragdrop/drop-target.directive.mjs +0 -71
- package/esm2022/editing/add-command-tool.directive.mjs +0 -59
- package/esm2022/editing/add-command.directive.mjs +0 -93
- package/esm2022/editing/add-event-args.interface.mjs +0 -5
- package/esm2022/editing/cancel-command-tool.directive.mjs +0 -64
- package/esm2022/editing/cancel-command.directive.mjs +0 -127
- package/esm2022/editing/cancel-event-args.interface.mjs +0 -5
- package/esm2022/editing/cell-close-event.mjs +0 -38
- package/esm2022/editing/edit-command-tool.directive.mjs +0 -60
- package/esm2022/editing/edit-command.directive.mjs +0 -124
- package/esm2022/editing/edit-event-args.interface.mjs +0 -5
- package/esm2022/editing/edit-row-options.interface.mjs +0 -5
- package/esm2022/editing/edit-template.directive.mjs +0 -43
- package/esm2022/editing/edit.service.mjs +0 -182
- package/esm2022/editing/form/dialog-form.component.mjs +0 -102
- package/esm2022/editing/form/form-formfield.component.mjs +0 -188
- package/esm2022/editing/form/form.component.mjs +0 -169
- package/esm2022/editing/form/index.mjs +0 -8
- package/esm2022/editing/form/models.mjs +0 -5
- package/esm2022/editing/local-data-changes.service.mjs +0 -18
- package/esm2022/editing/remove-command-tool.directive.mjs +0 -61
- package/esm2022/editing/remove-command.directive.mjs +0 -123
- package/esm2022/editing/remove-event-args.interface.mjs +0 -5
- package/esm2022/editing/save-command-tool.directive.mjs +0 -65
- package/esm2022/editing/save-command.directive.mjs +0 -126
- package/esm2022/editing/save-event-args.interface.mjs +0 -5
- package/esm2022/editing/toolbar-editing-tool-base.directive.mjs +0 -99
- package/esm2022/editing-directives/create-form-group-args.interface.mjs +0 -5
- package/esm2022/editing-directives/edit-service.interface.mjs +0 -5
- package/esm2022/editing-directives/editing-directive-base.mjs +0 -167
- package/esm2022/editing-directives/external-editing.directive.mjs +0 -151
- package/esm2022/editing-directives/in-cell-editing.directive.mjs +0 -97
- package/esm2022/editing-directives/local-edit.service.mjs +0 -64
- package/esm2022/editing-directives/local-row-edit.service.mjs +0 -13
- package/esm2022/editing-directives/reactive-editing.directive.mjs +0 -60
- package/esm2022/editing-directives/row-editing-directive-base.mjs +0 -53
- package/esm2022/editing-directives/template-editing.directive.mjs +0 -72
- package/esm2022/editing-directives/utils.mjs +0 -18
- package/esm2022/excel/excel-command-tool.directive.mjs +0 -58
- package/esm2022/excel/excel-command.directive.mjs +0 -98
- package/esm2022/excel/excel-export-event.mjs +0 -18
- package/esm2022/excel/excel.component.mjs +0 -223
- package/esm2022/excel/excel.module.mjs +0 -45
- package/esm2022/excel/excel.service.mjs +0 -29
- package/esm2022/filtering/base-filter-cell.component.mjs +0 -174
- package/esm2022/filtering/boolean-filter.component.mjs +0 -83
- package/esm2022/filtering/cell/autocomplete-filter-cell.component.mjs +0 -114
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +0 -113
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +0 -141
- package/esm2022/filtering/cell/filter-cell-component.factory.mjs +0 -19
- package/esm2022/filtering/cell/filter-cell-host.directive.mjs +0 -33
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +0 -242
- package/esm2022/filtering/cell/filter-cell-template.directive.mjs +0 -46
- package/esm2022/filtering/cell/filter-cell-wrapper.component.mjs +0 -74
- package/esm2022/filtering/cell/filter-cell.component.mjs +0 -91
- package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +0 -155
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +0 -127
- package/esm2022/filtering/date-filter.component.mjs +0 -172
- package/esm2022/filtering/filter-component.interface.mjs +0 -5
- package/esm2022/filtering/filter-host.directive.mjs +0 -58
- package/esm2022/filtering/filter-input-wrapper.component.mjs +0 -119
- package/esm2022/filtering/filter-input.directive.mjs +0 -123
- package/esm2022/filtering/filter-row.component.mjs +0 -131
- package/esm2022/filtering/filter.service.mjs +0 -44
- package/esm2022/filtering/filterable.mjs +0 -16
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +0 -167
- package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +0 -179
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +0 -212
- package/esm2022/filtering/menu/filter-menu-component.factory.mjs +0 -19
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +0 -418
- package/esm2022/filtering/menu/filter-menu-dropdownlist.directive.mjs +0 -44
- package/esm2022/filtering/menu/filter-menu-host.directive.mjs +0 -46
- package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +0 -158
- package/esm2022/filtering/menu/filter-menu-template.directive.mjs +0 -48
- package/esm2022/filtering/menu/filter-menu.component.mjs +0 -221
- package/esm2022/filtering/menu/filter-radio-button.directive.mjs +0 -34
- package/esm2022/filtering/menu/menu-tabbing.service.mjs +0 -22
- package/esm2022/filtering/menu/numeric-filter-menu-input.component.mjs +0 -184
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +0 -230
- package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +0 -107
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +0 -198
- package/esm2022/filtering/multicheckbox-filter.component.mjs +0 -324
- package/esm2022/filtering/numeric-filter.component.mjs +0 -145
- package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +0 -72
- package/esm2022/filtering/operators/after-filter-operator.component.mjs +0 -72
- package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +0 -72
- package/esm2022/filtering/operators/before-filter-operator.component.mjs +0 -72
- package/esm2022/filtering/operators/contains-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/eq-filter-operator.component.mjs +0 -111
- package/esm2022/filtering/operators/filter-operator.base.mjs +0 -101
- package/esm2022/filtering/operators/gt-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/gte-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +0 -110
- package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +0 -110
- package/esm2022/filtering/operators/lt-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/lte-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/neq-filter-operator.component.mjs +0 -110
- package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/string-filter.component.mjs +0 -90
- package/esm2022/grid.component.mjs +0 -4598
- package/esm2022/grid.module.mjs +0 -241
- package/esm2022/grouping/group-footer-template.directive.mjs +0 -44
- package/esm2022/grouping/group-header-column-template.directive.mjs +0 -45
- package/esm2022/grouping/group-header-template.directive.mjs +0 -46
- package/esm2022/grouping/group-header.component.mjs +0 -351
- package/esm2022/grouping/group-info.service.mjs +0 -43
- package/esm2022/grouping/group-key.interface.mjs +0 -5
- package/esm2022/grouping/group-panel.component.mjs +0 -487
- package/esm2022/grouping/group-rows-args.interface.mjs +0 -5
- package/esm2022/grouping/group-settings.mjs +0 -5
- package/esm2022/grouping/groups.service.mjs +0 -69
- package/esm2022/grouping/utils.mjs +0 -14
- package/esm2022/highlight/highlight-item.mjs +0 -5
- package/esm2022/highlight/highlight.directive.mjs +0 -132
- package/esm2022/index.mjs +0 -221
- package/esm2022/layout/browser-support.service.mjs +0 -94
- package/esm2022/layout/resizable.directive.mjs +0 -83
- package/esm2022/layout/resize.service.mjs +0 -29
- package/esm2022/layout/responsive.service.mjs +0 -34
- package/esm2022/layout/row-sync.mjs +0 -47
- package/esm2022/layout/sizing-options.service.mjs +0 -18
- package/esm2022/localization/custom-messages.component.mjs +0 -54
- package/esm2022/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/localization/messages.mjs +0 -895
- package/esm2022/navigation/default-focusable-element.mjs +0 -50
- package/esm2022/navigation/focus-group.mjs +0 -73
- package/esm2022/navigation/focus-root.mjs +0 -50
- package/esm2022/navigation/focusable-element.interface.mjs +0 -5
- package/esm2022/navigation/focusable.directive.mjs +0 -150
- package/esm2022/navigation/grid-focusable-element.mjs +0 -28
- package/esm2022/navigation/item-map.mjs +0 -59
- package/esm2022/navigation/logical-cell.directive.mjs +0 -224
- package/esm2022/navigation/logical-cell.interface.mjs +0 -5
- package/esm2022/navigation/logical-row.directive.mjs +0 -131
- package/esm2022/navigation/logical-row.interface.mjs +0 -5
- package/esm2022/navigation/navigable-settings.mjs +0 -5
- package/esm2022/navigation/navigation-cell.interface.mjs +0 -5
- package/esm2022/navigation/navigation-change.interface.mjs +0 -5
- package/esm2022/navigation/navigation-cursor.mjs +0 -224
- package/esm2022/navigation/navigation-metadata.mjs +0 -35
- package/esm2022/navigation/navigation-mode.mjs +0 -5
- package/esm2022/navigation/navigation-model.mjs +0 -138
- package/esm2022/navigation/navigation-row.interface.mjs +0 -5
- package/esm2022/navigation/navigation.service.mjs +0 -998
- package/esm2022/navigation/toolbar-tool-name.mjs +0 -18
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/pdf/export-element.mjs +0 -135
- package/esm2022/pdf/grid-query.mjs +0 -45
- package/esm2022/pdf/pdf-command-tool.directive.mjs +0 -60
- package/esm2022/pdf/pdf-command.directive.mjs +0 -98
- package/esm2022/pdf/pdf-export-event.mjs +0 -16
- package/esm2022/pdf/pdf-margin.component.mjs +0 -38
- package/esm2022/pdf/pdf-margin.interface.mjs +0 -5
- package/esm2022/pdf/pdf-template.directive.mjs +0 -43
- package/esm2022/pdf/pdf.component.mjs +0 -331
- package/esm2022/pdf/pdf.module.mjs +0 -47
- package/esm2022/pdf/pdf.service.mjs +0 -42
- package/esm2022/progress-kendo-angular-grid.mjs +0 -8
- package/esm2022/rendering/cell-loading.template.directive.mjs +0 -39
- package/esm2022/rendering/cell-template.directive.mjs +0 -44
- package/esm2022/rendering/cell.component.mjs +0 -717
- package/esm2022/rendering/common/cell-context.mjs +0 -13
- package/esm2022/rendering/common/col-group.component.mjs +0 -98
- package/esm2022/rendering/common/dom-queries.mjs +0 -162
- package/esm2022/rendering/common/field-accessor.pipe.mjs +0 -48
- package/esm2022/rendering/common/format.pipe.mjs +0 -37
- package/esm2022/rendering/common/loading.component.mjs +0 -60
- package/esm2022/rendering/common/row-args.mjs +0 -5
- package/esm2022/rendering/common/row-class.mjs +0 -5
- package/esm2022/rendering/common/spacer.component.mjs +0 -62
- package/esm2022/rendering/constants.mjs +0 -20
- package/esm2022/rendering/details/detail-collapse-event.mjs +0 -27
- package/esm2022/rendering/details/detail-expand-event.mjs +0 -27
- package/esm2022/rendering/details/detail-template.directive.mjs +0 -61
- package/esm2022/rendering/details/details.service.mjs +0 -56
- package/esm2022/rendering/details-expand.directive.mjs +0 -136
- package/esm2022/rendering/footer/footer-template.directive.mjs +0 -48
- package/esm2022/rendering/footer/footer.component.mjs +0 -266
- package/esm2022/rendering/grid-table.directive.mjs +0 -52
- package/esm2022/rendering/groups-expand.directive.mjs +0 -149
- package/esm2022/rendering/header/header-template.directive.mjs +0 -45
- package/esm2022/rendering/header/header.component.mjs +0 -1055
- package/esm2022/rendering/list.component.mjs +0 -1176
- package/esm2022/rendering/loading-template.directive.mjs +0 -38
- package/esm2022/rendering/no-records-template.directive.mjs +0 -38
- package/esm2022/rendering/rowspan.service.mjs +0 -24
- package/esm2022/rendering/table-body.component.mjs +0 -1250
- package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +0 -83
- package/esm2022/rendering/toolbar/toolbar-navigation.service.mjs +0 -58
- package/esm2022/rendering/toolbar/toolbar-position.mjs +0 -5
- package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +0 -55
- package/esm2022/rendering/toolbar/toolbar.component.mjs +0 -159
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-assistant.component.mjs +0 -272
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-request-response.service.mjs +0 -624
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-tool.directive.mjs +0 -273
- package/esm2022/rendering/toolbar/tools/ai-assistant/models.mjs +0 -43
- package/esm2022/rendering/toolbar/tools/ai-assistant/utils.mjs +0 -92
- package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +0 -238
- package/esm2022/rendering/toolbar/tools/filter-command-tool.directive.mjs +0 -219
- package/esm2022/rendering/toolbar/tools/filter-tool-wrapper.component.mjs +0 -151
- package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +0 -223
- package/esm2022/rendering/toolbar/tools/group-command-tool.directive.mjs +0 -208
- package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +0 -451
- package/esm2022/rendering/toolbar/tools/select-all-command-tool.directive.mjs +0 -93
- package/esm2022/rendering/toolbar/tools/sort-command-tool.directive.mjs +0 -222
- package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +0 -245
- package/esm2022/row-reordering/drag-handle-template.directive.mjs +0 -44
- package/esm2022/row-reordering/drag-hint-template.directive.mjs +0 -42
- package/esm2022/row-reordering/row-reorder.service.mjs +0 -280
- package/esm2022/row-reordering/types.mjs +0 -5
- package/esm2022/row-reordering/utils.mjs +0 -88
- package/esm2022/scrolling/content-scroll-event.mjs +0 -5
- package/esm2022/scrolling/row-height.service.mjs +0 -55
- package/esm2022/scrolling/scroll-bottom-event.mjs +0 -5
- package/esm2022/scrolling/scroll-request.service.mjs +0 -24
- package/esm2022/scrolling/scroll-sync.service.mjs +0 -80
- package/esm2022/scrolling/scroller.service.mjs +0 -254
- package/esm2022/scrolling/scrollmode.mjs +0 -5
- package/esm2022/scrolling/suspend.service.mjs +0 -17
- package/esm2022/selection/cell-selection.service.mjs +0 -349
- package/esm2022/selection/marquee.directive.mjs +0 -188
- package/esm2022/selection/pair-set.mjs +0 -158
- package/esm2022/selection/selectall-checkbox.directive.mjs +0 -143
- package/esm2022/selection/selection-checkbox.directive.mjs +0 -132
- package/esm2022/selection/selection-default.mjs +0 -208
- package/esm2022/selection/selection.directive.mjs +0 -53
- package/esm2022/selection/selection.service.mjs +0 -466
- package/esm2022/selection/types.mjs +0 -5
- package/esm2022/state-management/grid-state.models.mjs +0 -26
- package/esm2022/state-management/redo-command-tool.mjs +0 -74
- package/esm2022/state-management/undo-command-tool.mjs +0 -74
- package/esm2022/state-management/undo-redo.directive.mjs +0 -249
- package/esm2022/state-management/undo-redo.service.mjs +0 -21
- package/esm2022/state-management/undo-redo.stack.mjs +0 -238
- package/esm2022/utils.mjs +0 -216
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input } from '@angular/core';
|
|
6
|
-
import { ContextService } from '../common/provider.service';
|
|
7
|
-
import { isPresent } from '@progress/kendo-angular-common';
|
|
8
|
-
import { PairSet } from '../selection/pair-set';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../common/provider.service";
|
|
11
|
-
/**
|
|
12
|
-
* Stores the row and cell highlight state of the Grid.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```typescript
|
|
16
|
-
* <kendo-grid kendoGridHighlight="ProductID"></kendo-grid>
|
|
17
|
-
*
|
|
18
|
-
* <kendo-grid [kendoGridHighlight]="myKey"></kendo-grid>
|
|
19
|
-
* ```
|
|
20
|
-
* @remarks
|
|
21
|
-
* Applied to: {@link GridComponent}.
|
|
22
|
-
*/
|
|
23
|
-
export class HighlightDirective {
|
|
24
|
-
ctx;
|
|
25
|
-
/**
|
|
26
|
-
* Stores the highlighted items keys.
|
|
27
|
-
* @default []
|
|
28
|
-
*/
|
|
29
|
-
highlightedKeys = [];
|
|
30
|
-
/**
|
|
31
|
-
* Sets the item key to store in `highlightedKeys`. The Grid uses the row index as the default item key.
|
|
32
|
-
*/
|
|
33
|
-
highlightItemKey;
|
|
34
|
-
/**
|
|
35
|
-
* Sets the column key for a data cell. The Grid uses the column index as the default column key.
|
|
36
|
-
*/
|
|
37
|
-
highlightColumnKey;
|
|
38
|
-
rowHighlightState = new Set();
|
|
39
|
-
cellHighlightState = new PairSet();
|
|
40
|
-
constructor(ctx) {
|
|
41
|
-
this.ctx = ctx;
|
|
42
|
-
this.ctx.highlightDirective = this;
|
|
43
|
-
}
|
|
44
|
-
ngOnChanges(changes) {
|
|
45
|
-
if (isPresent(changes['highlightedKeys'])) {
|
|
46
|
-
this.setState(this.highlightedKeys);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
ngOnDestroy() {
|
|
50
|
-
this.reset();
|
|
51
|
-
this.ctx.highlightDirective = null;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* @hidden
|
|
55
|
-
*/
|
|
56
|
-
isRowHighlighted(row) {
|
|
57
|
-
return this.rowHighlightState.has(this.getItemKey(row));
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* @hidden
|
|
61
|
-
*/
|
|
62
|
-
isCellHighlighted(row, column, colIndex) {
|
|
63
|
-
const highlightItem = this.getHighlightItem(row, column, colIndex);
|
|
64
|
-
return this.cellHighlightState.has(highlightItem.itemKey, highlightItem.columnKey);
|
|
65
|
-
}
|
|
66
|
-
getItemKey(row) {
|
|
67
|
-
if (this.highlightItemKey) {
|
|
68
|
-
if (typeof this.highlightItemKey === "string") {
|
|
69
|
-
return row.data?.[this.highlightItemKey];
|
|
70
|
-
}
|
|
71
|
-
if (typeof this.highlightItemKey === "function") {
|
|
72
|
-
return this.highlightItemKey(row);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
return row.index;
|
|
76
|
-
}
|
|
77
|
-
getHighlightItem(row, col, colIndex) {
|
|
78
|
-
const itemIdentifiers = {};
|
|
79
|
-
itemIdentifiers.itemKey = this.getItemKey(row);
|
|
80
|
-
if (!isPresent(col) && !isPresent(colIndex)) {
|
|
81
|
-
return itemIdentifiers;
|
|
82
|
-
}
|
|
83
|
-
if (this.highlightColumnKey) {
|
|
84
|
-
if (typeof this.highlightColumnKey === "string") {
|
|
85
|
-
itemIdentifiers.columnKey = row.dataItem[this.highlightColumnKey];
|
|
86
|
-
}
|
|
87
|
-
if (typeof this.highlightColumnKey === "function") {
|
|
88
|
-
itemIdentifiers.columnKey = this.highlightColumnKey(col, colIndex);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return {
|
|
92
|
-
itemKey: itemIdentifiers.itemKey,
|
|
93
|
-
columnKey: itemIdentifiers.columnKey ? itemIdentifiers.columnKey : colIndex
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
setState(highlightedKeys) {
|
|
97
|
-
this.reset();
|
|
98
|
-
if (!highlightedKeys || highlightedKeys.length === 0) {
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
const rowHighlights = highlightedKeys.filter(item => !isPresent(item.columnKey));
|
|
102
|
-
const cellHighlights = highlightedKeys.filter(item => isPresent(item.columnKey));
|
|
103
|
-
if (cellHighlights.length > 0) {
|
|
104
|
-
this.cellHighlightState = new PairSet(cellHighlights, 'itemKey', 'columnKey');
|
|
105
|
-
}
|
|
106
|
-
if (rowHighlights.length > 0) {
|
|
107
|
-
rowHighlights.forEach(item => {
|
|
108
|
-
this.rowHighlightState.add(item.itemKey);
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
reset() {
|
|
113
|
-
this.rowHighlightState.clear();
|
|
114
|
-
this.cellHighlightState.clear();
|
|
115
|
-
}
|
|
116
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HighlightDirective, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
117
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: HighlightDirective, isStandalone: true, selector: "[kendoGridHighlight]", inputs: { highlightedKeys: "highlightedKeys", highlightItemKey: ["kendoGridHighlight", "highlightItemKey"], highlightColumnKey: "highlightColumnKey" }, usesOnChanges: true, ngImport: i0 });
|
|
118
|
-
}
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HighlightDirective, decorators: [{
|
|
120
|
-
type: Directive,
|
|
121
|
-
args: [{
|
|
122
|
-
selector: '[kendoGridHighlight]',
|
|
123
|
-
standalone: true
|
|
124
|
-
}]
|
|
125
|
-
}], ctorParameters: () => [{ type: i1.ContextService }], propDecorators: { highlightedKeys: [{
|
|
126
|
-
type: Input
|
|
127
|
-
}], highlightItemKey: [{
|
|
128
|
-
type: Input,
|
|
129
|
-
args: ["kendoGridHighlight"]
|
|
130
|
-
}], highlightColumnKey: [{
|
|
131
|
-
type: Input
|
|
132
|
-
}] } });
|
package/esm2022/index.mjs
DELETED
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export * from './directives';
|
|
6
|
-
export { GridModule } from './grid.module';
|
|
7
|
-
export { GridComponent } from './grid.component';
|
|
8
|
-
export { ColumnsContainer } from './columns/columns-container';
|
|
9
|
-
export { ColumnBase } from './columns/column-base';
|
|
10
|
-
export { ColumnComponent } from './columns/column.component';
|
|
11
|
-
export { CommandColumnComponent } from './columns/command-column.component';
|
|
12
|
-
export { SpanColumnComponent } from './columns/span-column.component';
|
|
13
|
-
export { ColumnGroupComponent } from './columns/column-group.component';
|
|
14
|
-
export { CheckboxColumnComponent } from './columns/checkbox-column.component';
|
|
15
|
-
export { RowReorderColumnComponent } from './columns/reorder-column.component';
|
|
16
|
-
export { RowDragHandleTemplateDirective } from './row-reordering/drag-handle-template.directive';
|
|
17
|
-
export { RowDragHintTemplateDirective } from './row-reordering/drag-hint-template.directive';
|
|
18
|
-
export { ToolbarComponent } from './rendering/toolbar/toolbar.component';
|
|
19
|
-
export { ToolbarTemplateDirective } from './rendering/toolbar/toolbar-template.directive';
|
|
20
|
-
export { GridToolbarFocusableDirective } from './rendering/toolbar/toolbar-focusable.directive';
|
|
21
|
-
export { GridToolbarNavigationService } from './rendering/toolbar/toolbar-navigation.service';
|
|
22
|
-
export { SortCommandToolbarDirective } from './rendering/toolbar/tools/sort-command-tool.directive';
|
|
23
|
-
export { FilterCommandToolbarDirective } from './rendering/toolbar/tools/filter-command-tool.directive';
|
|
24
|
-
export { GroupCommandToolbarDirective } from './rendering/toolbar/tools/group-command-tool.directive';
|
|
25
|
-
export { CellTemplateDirective } from './rendering/cell-template.directive';
|
|
26
|
-
export { CellLoadingTemplateDirective } from './rendering/cell-loading.template.directive';
|
|
27
|
-
export { LoadingTemplateDirective } from './rendering/loading-template.directive';
|
|
28
|
-
export { HeaderTemplateDirective } from './rendering/header/header-template.directive';
|
|
29
|
-
export { FooterTemplateDirective } from './rendering/footer/footer-template.directive';
|
|
30
|
-
export { GridSpacerComponent } from './rendering/common/spacer.component';
|
|
31
|
-
export { ExpandDetailsDirective } from './rendering/details-expand.directive';
|
|
32
|
-
export { StatusBarTemplateDirective } from './aggregates/status-bar-template.directive';
|
|
33
|
-
export { ExpandGroupDirective } from './rendering/groups-expand.directive';
|
|
34
|
-
export { defaultTrackBy } from './common/default-track-by';
|
|
35
|
-
export { DetailTemplateDirective } from './rendering/details/detail-template.directive';
|
|
36
|
-
export { DetailExpandEvent } from './rendering/details/detail-expand-event';
|
|
37
|
-
export { DomEventsService } from './common/dom-events.service';
|
|
38
|
-
export { IdService } from './common/id.service';
|
|
39
|
-
export { SortService } from './common/sort.service';
|
|
40
|
-
export { ChangeNotificationService } from './data/change-notification.service';
|
|
41
|
-
export { ColumnReorderService } from './dragdrop/column-reorder.service';
|
|
42
|
-
export { RowReorderService } from './row-reordering/row-reorder.service';
|
|
43
|
-
export { DragAndDropService } from './dragdrop/drag-and-drop.service';
|
|
44
|
-
export { DragHintService } from './dragdrop/drag-hint.service';
|
|
45
|
-
export { DropCueService } from './dragdrop/drop-cue.service';
|
|
46
|
-
export { EditService as EditServiceClass } from './editing/edit.service';
|
|
47
|
-
export { NumericFilterComponent } from './filtering/numeric-filter.component';
|
|
48
|
-
export { StringFilterComponent } from './filtering/string-filter.component';
|
|
49
|
-
export { MultiCheckboxFilterComponent } from './filtering/multicheckbox-filter.component';
|
|
50
|
-
export { GroupInfoService } from './grouping/group-info.service';
|
|
51
|
-
export { GroupsService } from './grouping/groups.service';
|
|
52
|
-
export { BrowserSupportService } from './layout/browser-support.service';
|
|
53
|
-
export { ResizeService } from './layout/resize.service';
|
|
54
|
-
export { ResponsiveService } from './layout/responsive.service';
|
|
55
|
-
export { FocusRoot } from './navigation/focus-root';
|
|
56
|
-
export { NavigationService } from './navigation/navigation.service';
|
|
57
|
-
export { CELL_CONTEXT } from './rendering/common/cell-context';
|
|
58
|
-
export { DetailsService } from './rendering/details/details.service';
|
|
59
|
-
export { DEFAULT_SCROLLER_FACTORY } from './rendering/list.component';
|
|
60
|
-
export { ScrollRequestService } from './scrolling/scroll-request.service';
|
|
61
|
-
export { ScrollSyncService } from './scrolling/scroll-sync.service';
|
|
62
|
-
export { CellSelectionService } from './selection/cell-selection.service';
|
|
63
|
-
export { CellSelectionAggregateService } from './aggregates/selection-aggregate.service';
|
|
64
|
-
export { SelectionService } from './selection/selection.service';
|
|
65
|
-
export { ColumnMenuService } from './column-menu/column-menu.service';
|
|
66
|
-
export { DetailCollapseEvent } from './rendering/details/detail-collapse-event';
|
|
67
|
-
export { GroupHeaderTemplateDirective } from './grouping/group-header-template.directive';
|
|
68
|
-
export { GroupHeaderColumnTemplateDirective } from './grouping/group-header-column-template.directive';
|
|
69
|
-
export { GroupFooterTemplateDirective } from './grouping/group-footer-template.directive';
|
|
70
|
-
export { ResizableContainerDirective } from './layout/resizable.directive';
|
|
71
|
-
export { NoRecordsTemplateDirective } from './rendering/no-records-template.directive';
|
|
72
|
-
export { DataBindingDirective } from './databinding.directive';
|
|
73
|
-
export { SelectionDirective } from './selection/selection.directive';
|
|
74
|
-
export { FilterService } from './filtering/filter.service';
|
|
75
|
-
export { ContextService } from './common/provider.service';
|
|
76
|
-
export { LocalDataChangesService } from './editing/local-data-changes.service';
|
|
77
|
-
export { FilterCellTemplateDirective } from './filtering/cell/filter-cell-template.directive';
|
|
78
|
-
export { FilterCellComponent } from './filtering/cell/filter-cell.component';
|
|
79
|
-
export { StringFilterCellComponent } from './filtering/cell/string-filter-cell.component';
|
|
80
|
-
export { DateFilterCellComponent } from './filtering/cell/date-filter-cell.component';
|
|
81
|
-
export { BaseFilterCellComponent } from './filtering/base-filter-cell.component';
|
|
82
|
-
export { FilterMenuTemplateDirective } from './filtering/menu/filter-menu-template.directive';
|
|
83
|
-
export { NumericFilterMenuComponent } from './filtering/menu/numeric-filter-menu.component';
|
|
84
|
-
export { StringFilterMenuComponent } from './filtering/menu/string-filter-menu.component';
|
|
85
|
-
export { DateFilterMenuComponent } from './filtering/menu/date-filter-menu.component';
|
|
86
|
-
export { BooleanFilterMenuComponent } from './filtering/menu/boolean-filter-menu.component';
|
|
87
|
-
export { FilterOperatorBase } from './filtering/operators/filter-operator.base';
|
|
88
|
-
export { BeforeEqFilterOperatorComponent } from './filtering/operators/before-eq-filter-operator.component';
|
|
89
|
-
export { BeforeFilterOperatorComponent } from './filtering/operators/before-filter-operator.component';
|
|
90
|
-
export { AfterEqFilterOperatorComponent } from './filtering/operators/after-eq-filter-operator.component';
|
|
91
|
-
export { AfterFilterOperatorComponent } from './filtering/operators/after-filter-operator.component';
|
|
92
|
-
export { ContainsFilterOperatorComponent } from './filtering/operators/contains-filter-operator.component';
|
|
93
|
-
export { DoesNotContainFilterOperatorComponent } from './filtering/operators/not-contains-filter-operator.component';
|
|
94
|
-
export { EndsWithFilterOperatorComponent } from './filtering/operators/ends-with-filter-operator.component';
|
|
95
|
-
export { EqualFilterOperatorComponent } from './filtering/operators/eq-filter-operator.component';
|
|
96
|
-
export { IsEmptyFilterOperatorComponent } from './filtering/operators/is-empty-filter-operator.component';
|
|
97
|
-
export { IsNotEmptyFilterOperatorComponent } from './filtering/operators/is-not-empty-filter-operator.component';
|
|
98
|
-
export { IsNotNullFilterOperatorComponent } from './filtering/operators/is-not-null-filter-operator.component';
|
|
99
|
-
export { IsNullFilterOperatorComponent } from './filtering/operators/isnull-filter-operator.component';
|
|
100
|
-
export { NotEqualFilterOperatorComponent } from './filtering/operators/neq-filter-operator.component';
|
|
101
|
-
export { StartsWithFilterOperatorComponent } from './filtering/operators/starts-with-filter-operator.component';
|
|
102
|
-
export { NumericFilterCellComponent } from './filtering/cell/numeric-filter-cell.component';
|
|
103
|
-
export { AutoCompleteFilterCellComponent } from './filtering/cell/autocomplete-filter-cell.component';
|
|
104
|
-
export { GreaterFilterOperatorComponent } from './filtering/operators/gt-filter-operator.component';
|
|
105
|
-
export { GreaterOrEqualToFilterOperatorComponent } from './filtering/operators/gte-filter-operator.component';
|
|
106
|
-
export { LessOrEqualToFilterOperatorComponent } from './filtering/operators/lte-filter-operator.component';
|
|
107
|
-
export { LessFilterOperatorComponent } from './filtering/operators/lt-filter-operator.component';
|
|
108
|
-
export * from './filtering/filterable';
|
|
109
|
-
export { TemplateEditingDirective } from './editing-directives/template-editing.directive';
|
|
110
|
-
export { ReactiveEditingDirective } from './editing-directives/reactive-editing.directive';
|
|
111
|
-
export { ExternalEditingDirective } from './editing-directives/external-editing.directive';
|
|
112
|
-
export { InCellEditingDirective } from './editing-directives/in-cell-editing.directive';
|
|
113
|
-
export { EditTemplateDirective } from './editing/edit-template.directive';
|
|
114
|
-
//Workaround for angular/angular#11889
|
|
115
|
-
export { ColGroupComponent } from './rendering/common/col-group.component';
|
|
116
|
-
export { HeaderComponent } from './rendering/header/header.component';
|
|
117
|
-
export { ListComponent } from './rendering/list.component';
|
|
118
|
-
export { FooterComponent } from './rendering/footer/footer.component';
|
|
119
|
-
export { TableBodyComponent } from './rendering/table-body.component';
|
|
120
|
-
export { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
121
|
-
export { LoadingComponent } from './rendering/common/loading.component';
|
|
122
|
-
//PDF
|
|
123
|
-
export { PDFModule } from './pdf/pdf.module';
|
|
124
|
-
export { PDFComponent } from './pdf/pdf.component';
|
|
125
|
-
export { PDFMarginComponent } from './pdf/pdf-margin.component';
|
|
126
|
-
export { PDFService } from './pdf/pdf.service';
|
|
127
|
-
export { PDFCommandToolbarDirective } from './pdf/pdf-command-tool.directive';
|
|
128
|
-
export { PDFTemplateDirective } from './pdf/pdf-template.directive';
|
|
129
|
-
export { PDFCommandDirective } from './pdf/pdf-command.directive';
|
|
130
|
-
//Excel
|
|
131
|
-
export { ExcelModule } from './excel/excel.module';
|
|
132
|
-
export { ExcelComponent } from './excel/excel.component';
|
|
133
|
-
export { ExcelService } from './excel/excel.service';
|
|
134
|
-
export { ExcelExportEvent } from './excel/excel-export-event';
|
|
135
|
-
export { ExcelCommandDirective } from './excel/excel-command.directive';
|
|
136
|
-
export { ExcelCommandToolbarDirective } from './excel/excel-command-tool.directive';
|
|
137
|
-
export { CellCloseEvent } from './editing/cell-close-event';
|
|
138
|
-
export { ColumnInfoService } from './common/column-info.service';
|
|
139
|
-
export { SuspendService } from './scrolling/suspend.service';
|
|
140
|
-
export { Skip } from './utils';
|
|
141
|
-
export { ColumnReorderEvent } from './dragdrop/column-reorder-event';
|
|
142
|
-
export { ColumnResizingService } from './column-resizing/column-resizing.service';
|
|
143
|
-
// KB Nav
|
|
144
|
-
export { FocusableDirective } from './navigation/focusable.directive';
|
|
145
|
-
export { ColumnVisibilityChangeEvent } from './column-menu/column-visibility-change-event';
|
|
146
|
-
export { ColumnMenuComponent } from './column-menu/column-menu.component';
|
|
147
|
-
export { ColumnLockedChangeEvent } from './column-menu/column-locked-change-event';
|
|
148
|
-
export { ColumnStickyChangeEvent } from './column-menu/column-sticky-change-event';
|
|
149
|
-
export { SinglePopupService, PopupCloseEvent } from './common/single-popup.service';
|
|
150
|
-
// Clipboard
|
|
151
|
-
export { GridClipboardDirective } from './common/clipboard.directive';
|
|
152
|
-
// State
|
|
153
|
-
export * from './state-management/grid-state.models';
|
|
154
|
-
export { UndoRedoDirective } from './state-management/undo-redo.directive';
|
|
155
|
-
export { UndoCommandToolbarDirective } from './state-management/undo-command-tool';
|
|
156
|
-
export { RedoCommandToolbarDirective } from './state-management/redo-command-tool';
|
|
157
|
-
export { HighlightDirective } from './highlight/highlight.directive';
|
|
158
|
-
// addresses error NG3001: Unsupported private class
|
|
159
|
-
export { ColumnMenuTemplateDirective } from './column-menu/column-menu-template.directive';
|
|
160
|
-
export { EditCommandDirective } from './editing/edit-command.directive';
|
|
161
|
-
export { CancelCommandDirective } from './editing/cancel-command.directive';
|
|
162
|
-
export { SaveCommandDirective } from './editing/save-command.directive';
|
|
163
|
-
export { RemoveCommandDirective } from './editing/remove-command.directive';
|
|
164
|
-
export { AddCommandDirective } from './editing/add-command.directive';
|
|
165
|
-
export { AddCommandToolbarDirective } from './editing/add-command-tool.directive';
|
|
166
|
-
export { ColumnChooserToolbarDirective } from './rendering/toolbar/tools/column-chooser-tool.directive';
|
|
167
|
-
export { AIAssistantToolbarDirective } from './rendering/toolbar/tools/ai-assistant/ai-tool.directive';
|
|
168
|
-
export { SelectAllToolbarToolComponent } from './rendering/toolbar/tools/select-all-command-tool.directive';
|
|
169
|
-
export { SaveCommandToolbarDirective } from './editing/save-command-tool.directive';
|
|
170
|
-
export { EditCommandToolbarDirective } from './editing/edit-command-tool.directive';
|
|
171
|
-
export { RemoveCommandToolbarDirective } from './editing/remove-command-tool.directive';
|
|
172
|
-
export { CancelCommandToolbarDirective } from './editing/cancel-command-tool.directive';
|
|
173
|
-
export { EditingDirectiveBase } from './editing-directives/editing-directive-base';
|
|
174
|
-
export { RowEditingDirectiveBase } from './editing-directives/row-editing-directive-base';
|
|
175
|
-
export { CellComponent } from './rendering/cell.component';
|
|
176
|
-
export { ColumnMenuItemDirective } from './column-menu/column-menu-item.directive';
|
|
177
|
-
export { ColumnMenuContainerComponent } from './column-menu/column-menu-container.component';
|
|
178
|
-
export { ColumnMenuStickComponent } from './column-menu/column-menu-stick.component';
|
|
179
|
-
export { ColumnMenuChooserComponent } from './column-menu/column-menu-chooser.component';
|
|
180
|
-
export { ColumnMenuFilterComponent } from './column-menu/column-menu-filter.component';
|
|
181
|
-
export { ColumnMenuLockComponent } from './column-menu/column-menu-lock.component';
|
|
182
|
-
export { ColumnMenuSortComponent } from './column-menu/column-menu-sort.component';
|
|
183
|
-
export { ColumnMenuAutoSizeColumnComponent } from './column-menu/column-menu-autosize.component';
|
|
184
|
-
export { ColumnMenuAutoSizeAllColumnsComponent } from './column-menu/column-menu-autosize-all.component';
|
|
185
|
-
export { ColumnMenuPositionComponent } from './column-menu/column-menu-position.component';
|
|
186
|
-
export { ColumnMenuItemContentTemplateDirective } from './column-menu/column-menu-item-content-template.directive';
|
|
187
|
-
export { ColumnMenuItemComponent } from './column-menu/column-menu-item.component';
|
|
188
|
-
export { ColumnListComponent } from './column-menu/column-list.component';
|
|
189
|
-
export { FilterMenuContainerComponent } from './filtering/menu/filter-menu-container.component';
|
|
190
|
-
export { FilterMenuInputWrapperComponent } from './filtering/menu/filter-menu-input-wrapper.component';
|
|
191
|
-
export { StringFilterMenuInputComponent } from './filtering/menu/string-filter-menu-input.component';
|
|
192
|
-
export { NumericFilterMenuInputComponent } from './filtering/menu/numeric-filter-menu-input.component';
|
|
193
|
-
export { BooleanFilterRadioButtonDirective } from './filtering/menu/filter-radio-button.directive';
|
|
194
|
-
export { DateFilterMenuInputComponent } from './filtering/menu/date-filter-menu-input.component';
|
|
195
|
-
export { FilterMenuHostDirective } from './filtering/menu/filter-menu-host.directive';
|
|
196
|
-
export { FilterMenuDropDownListDirective } from './filtering/menu/filter-menu-dropdownlist.directive';
|
|
197
|
-
export { FilterMenuComponent } from './filtering/menu/filter-menu.component';
|
|
198
|
-
export { FilterInputDirective } from './filtering/filter-input.directive';
|
|
199
|
-
export { FilterCellWrapperComponent } from './filtering/cell/filter-cell-wrapper.component';
|
|
200
|
-
export { FilterCellOperatorsComponent } from './filtering/cell/filter-cell-operators.component';
|
|
201
|
-
export { BooleanFilterComponent } from './filtering/boolean-filter.component';
|
|
202
|
-
export { BooleanFilterCellComponent } from './filtering/cell/boolean-filter-cell.component';
|
|
203
|
-
export { DateFilterComponent } from './filtering/date-filter.component';
|
|
204
|
-
export { FilterCellHostDirective } from './filtering/cell/filter-cell-host.directive';
|
|
205
|
-
export { ColumnChooserComponent } from './column-menu/column-chooser.component';
|
|
206
|
-
export { SelectionCheckboxDirective } from './selection/selection-checkbox.directive';
|
|
207
|
-
export { SelectAllCheckboxDirective } from './selection/selectall-checkbox.directive';
|
|
208
|
-
export { FilterRowComponent } from './filtering/filter-row.component';
|
|
209
|
-
export { ColumnHandleDirective } from './column-resizing/column-handle.directive';
|
|
210
|
-
export { LogicalCellDirective } from './navigation/logical-cell.directive';
|
|
211
|
-
export { LogicalRowDirective } from './navigation/logical-row.directive';
|
|
212
|
-
export { FieldAccessorPipe } from './rendering/common/field-accessor.pipe';
|
|
213
|
-
export { TableDirective } from './column-resizing/table.directive';
|
|
214
|
-
export { GroupHeaderComponent } from './grouping/group-header.component';
|
|
215
|
-
export { GroupPanelComponent } from './grouping/group-panel.component';
|
|
216
|
-
export { SizingOptionsService } from './layout/sizing-options.service';
|
|
217
|
-
export { GridTableDirective } from './rendering/grid-table.directive';
|
|
218
|
-
// Needed as it is an optional injection of the FilterService
|
|
219
|
-
export { MenuTabbingService } from './filtering/menu/menu-tabbing.service';
|
|
220
|
-
export * from './rendering/toolbar/tools/ai-assistant/models';
|
|
221
|
-
export { AdaptiveGridService } from './common/adaptiveness.service';
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable, NgZone, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
6
|
-
import { fromEvent } from 'rxjs';
|
|
7
|
-
import { auditTime } from 'rxjs/operators';
|
|
8
|
-
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
const canCreateElement = () => isDocumentAvailable() && document.createElement;
|
|
11
|
-
let cachedScrollbarWidth = null;
|
|
12
|
-
let cachedPixelRatio;
|
|
13
|
-
let cachedRtlScrollLeft = null;
|
|
14
|
-
function scrollbarWidth() {
|
|
15
|
-
if (cachedScrollbarWidth === null && canCreateElement()) {
|
|
16
|
-
cachedPixelRatio = window.devicePixelRatio || 1;
|
|
17
|
-
const div = document.createElement("div");
|
|
18
|
-
div.style.cssText = "overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block";
|
|
19
|
-
div.innerHTML = " ";
|
|
20
|
-
document.body.appendChild(div);
|
|
21
|
-
cachedScrollbarWidth = div.offsetWidth - div.scrollWidth;
|
|
22
|
-
document.body.removeChild(div);
|
|
23
|
-
}
|
|
24
|
-
return cachedScrollbarWidth;
|
|
25
|
-
}
|
|
26
|
-
function rtlScrollLeft() {
|
|
27
|
-
if (cachedRtlScrollLeft === null && canCreateElement()) {
|
|
28
|
-
const outer = document.createElement('div');
|
|
29
|
-
outer.style.direction = 'rtl';
|
|
30
|
-
outer.style.display = 'block';
|
|
31
|
-
outer.style.clear = 'both';
|
|
32
|
-
outer.style.width = '100px';
|
|
33
|
-
outer.style.visibility = 'hidden';
|
|
34
|
-
outer.style.position = 'absolute';
|
|
35
|
-
outer.style.left = '-10000px';
|
|
36
|
-
outer.style.overflow = 'scroll';
|
|
37
|
-
outer.style.zoom = '1';
|
|
38
|
-
const inner = document.createElement('div');
|
|
39
|
-
inner.style.width = '200px';
|
|
40
|
-
inner.style.height = '1px';
|
|
41
|
-
outer.append(inner);
|
|
42
|
-
document.body.appendChild(outer);
|
|
43
|
-
const initial = outer.scrollLeft;
|
|
44
|
-
outer.scrollLeft = -1;
|
|
45
|
-
cachedRtlScrollLeft = outer.scrollLeft < 0 ? outer.scrollLeft : initial;
|
|
46
|
-
document.body.removeChild(outer);
|
|
47
|
-
}
|
|
48
|
-
return cachedRtlScrollLeft;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
* move to kendo-common
|
|
53
|
-
*/
|
|
54
|
-
export class BrowserSupportService {
|
|
55
|
-
zone;
|
|
56
|
-
changeDetector;
|
|
57
|
-
changes = new EventEmitter();
|
|
58
|
-
subscriptions;
|
|
59
|
-
constructor(zone, changeDetector) {
|
|
60
|
-
this.zone = zone;
|
|
61
|
-
this.changeDetector = changeDetector;
|
|
62
|
-
if (typeof window === 'undefined') {
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
this.zone.runOutsideAngular(() => {
|
|
66
|
-
this.subscriptions = fromEvent(window, 'resize').pipe(auditTime(100)).subscribe(() => {
|
|
67
|
-
if (cachedPixelRatio !== window.devicePixelRatio) {
|
|
68
|
-
zone.run(() => {
|
|
69
|
-
cachedScrollbarWidth = null;
|
|
70
|
-
this.changes.emit();
|
|
71
|
-
this.changeDetector.markForCheck();
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
ngOnDestroy() {
|
|
78
|
-
if (this.subscriptions) {
|
|
79
|
-
this.subscriptions.unsubscribe();
|
|
80
|
-
this.subscriptions = null;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
get scrollbarWidth() {
|
|
84
|
-
return scrollbarWidth();
|
|
85
|
-
}
|
|
86
|
-
get rtlScrollLeft() {
|
|
87
|
-
return rtlScrollLeft();
|
|
88
|
-
}
|
|
89
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BrowserSupportService, deps: [{ token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
90
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BrowserSupportService });
|
|
91
|
-
}
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BrowserSupportService, decorators: [{
|
|
93
|
-
type: Injectable
|
|
94
|
-
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }] });
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';
|
|
6
|
-
import { ResizeService } from "./resize.service";
|
|
7
|
-
import { ContextService } from './../common/provider.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "./resize.service";
|
|
10
|
-
import * as i2 from "./../common/provider.service";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export class ResizableContainerDirective {
|
|
15
|
-
el;
|
|
16
|
-
renderer;
|
|
17
|
-
resizeService;
|
|
18
|
-
ctx;
|
|
19
|
-
_lockedWidth;
|
|
20
|
-
set lockedWidth(value) {
|
|
21
|
-
this._lockedWidth = value;
|
|
22
|
-
if (this.enabled) {
|
|
23
|
-
this.attachResize();
|
|
24
|
-
this.resize();
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
set kendoGridResizableContainer(enabled) {
|
|
28
|
-
const refresh = enabled !== this.enabled;
|
|
29
|
-
this.enabled = enabled;
|
|
30
|
-
if (refresh) {
|
|
31
|
-
this.attachResize();
|
|
32
|
-
this.resize();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
enabled = false;
|
|
36
|
-
resizeSubscription;
|
|
37
|
-
constructor(el, renderer, resizeService, ctx) {
|
|
38
|
-
this.el = el;
|
|
39
|
-
this.renderer = renderer;
|
|
40
|
-
this.resizeService = resizeService;
|
|
41
|
-
this.ctx = ctx;
|
|
42
|
-
}
|
|
43
|
-
ngOnDestroy() {
|
|
44
|
-
if (this.resizeSubscription) {
|
|
45
|
-
this.resizeSubscription.unsubscribe();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
attachResize() {
|
|
49
|
-
if (this.resizeSubscription && !this.enabled) {
|
|
50
|
-
this.resizeSubscription.unsubscribe();
|
|
51
|
-
this.resizeSubscription = null;
|
|
52
|
-
}
|
|
53
|
-
if (!this.resizeSubscription && this.enabled) {
|
|
54
|
-
this.resizeSubscription = this.resizeService.changes.subscribe(this.resize.bind(this));
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
resize() {
|
|
58
|
-
if (this.ctx.grid && this.ctx.grid.wrapper) {
|
|
59
|
-
const containerElement = this.ctx.grid.wrapper.nativeElement;
|
|
60
|
-
const width = Math.max(containerElement.clientWidth - this._lockedWidth, 0);
|
|
61
|
-
if (this.enabled && width > 0) {
|
|
62
|
-
this.renderer.setStyle(this.el.nativeElement, "width", width + "px");
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
this.renderer.setStyle(this.el.nativeElement, "width", "");
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResizableContainerDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ResizeService }, { token: i2.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
70
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ResizableContainerDirective, isStandalone: true, selector: "[kendoGridResizableContainer]", inputs: { lockedWidth: "lockedWidth", kendoGridResizableContainer: "kendoGridResizableContainer" }, ngImport: i0 });
|
|
71
|
-
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResizableContainerDirective, decorators: [{
|
|
73
|
-
type: Directive,
|
|
74
|
-
args: [{
|
|
75
|
-
selector: '[kendoGridResizableContainer]',
|
|
76
|
-
standalone: true
|
|
77
|
-
}]
|
|
78
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.ResizeService }, { type: i2.ContextService }], propDecorators: { lockedWidth: [{
|
|
79
|
-
type: Input,
|
|
80
|
-
args: ['lockedWidth']
|
|
81
|
-
}], kendoGridResizableContainer: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}] } });
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
6
|
-
import { Subject, Subscription } from "rxjs";
|
|
7
|
-
import { throttleTime } from 'rxjs/operators';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export class ResizeService {
|
|
13
|
-
resizeSubscription = new Subscription(() => { });
|
|
14
|
-
dispatcher = new Subject();
|
|
15
|
-
changes = this.dispatcher.asObservable().pipe(throttleTime(100));
|
|
16
|
-
connect(resizes) {
|
|
17
|
-
this.resizeSubscription.add(resizes.subscribe(this.dispatcher));
|
|
18
|
-
}
|
|
19
|
-
destroy() {
|
|
20
|
-
if (this.resizeSubscription) {
|
|
21
|
-
this.resizeSubscription.unsubscribe();
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResizeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResizeService });
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResizeService, decorators: [{
|
|
28
|
-
type: Injectable
|
|
29
|
-
}] });
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
const bootstrapToMedia = (media) => (({
|
|
8
|
-
"xs": "(max-width: 576px)",
|
|
9
|
-
"sm": "(min-width: 576px)",
|
|
10
|
-
"md": "(min-width: 768px)",
|
|
11
|
-
"lg": "(min-width: 992px)",
|
|
12
|
-
"xl": "(min-width: 1200px)"
|
|
13
|
-
})[media] || media);
|
|
14
|
-
const browserMatchMedia = (media) => window.matchMedia(media).matches;
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export class ResponsiveService {
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
matchMedia = browserMatchMedia;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
matchesMedia(media) {
|
|
27
|
-
return !media || this.matchMedia(bootstrapToMedia(media));
|
|
28
|
-
}
|
|
29
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResponsiveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
30
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResponsiveService });
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResponsiveService, decorators: [{
|
|
33
|
-
type: Injectable
|
|
34
|
-
}] });
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { isDocumentAvailable } from "@progress/kendo-angular-common";
|
|
6
|
-
const set = value => pair => pair.forEach(x => x.style.height = value);
|
|
7
|
-
const clearHeight = pairs => pairs
|
|
8
|
-
.filter(([left, right]) => left.style.height || right.style.height)
|
|
9
|
-
.forEach(set(""));
|
|
10
|
-
const zip = (arr1, arr2) => {
|
|
11
|
-
const result = [];
|
|
12
|
-
for (let idx = 0, len = arr1.length; idx < len; idx++) {
|
|
13
|
-
if (!arr2[idx]) {
|
|
14
|
-
break;
|
|
15
|
-
}
|
|
16
|
-
result.push([arr1[idx], arr2[idx]]);
|
|
17
|
-
}
|
|
18
|
-
return result;
|
|
19
|
-
};
|
|
20
|
-
const setHeight = heights => (row, idx) => set(`${heights[idx] + 1}px`)(row);
|
|
21
|
-
const getHeights = rows => rows.map(([left, right]) => {
|
|
22
|
-
const height = left.offsetHeight;
|
|
23
|
-
const offsetHeight2 = right.offsetHeight;
|
|
24
|
-
if (height < offsetHeight2) {
|
|
25
|
-
return offsetHeight2;
|
|
26
|
-
}
|
|
27
|
-
return height;
|
|
28
|
-
});
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
export const syncRowsHeight = (table1, table2) => {
|
|
33
|
-
if (!isDocumentAvailable()) {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const activeElement = document.activeElement;
|
|
37
|
-
const rows = zip(table1.rows, table2.rows);
|
|
38
|
-
clearHeight(rows);
|
|
39
|
-
const heights = getHeights(rows);
|
|
40
|
-
[table1, table2].forEach(x => x.style.display = 'none');
|
|
41
|
-
rows.forEach(setHeight(heights));
|
|
42
|
-
[table1, table2].forEach(x => x.style.display = '');
|
|
43
|
-
if (document.activeElement !== activeElement &&
|
|
44
|
-
(table1.contains(activeElement) || table2.contains(activeElement))) {
|
|
45
|
-
activeElement.focus();
|
|
46
|
-
}
|
|
47
|
-
};
|