@progress/kendo-angular-grid 21.4.1-develop.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,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 { QueryList } from '@angular/core';
|
|
6
|
-
import { sortColumns } from './column-common';
|
|
7
|
-
const forEachColumn = (list, callback) => {
|
|
8
|
-
list.forEach((column) => {
|
|
9
|
-
callback(column);
|
|
10
|
-
if (column.isColumnGroup && column.hasChildren) {
|
|
11
|
-
forEachColumn(column.childrenArray, callback);
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
const forEachLevel = (list, callback) => {
|
|
16
|
-
sortColumns(list)
|
|
17
|
-
.forEach((column) => {
|
|
18
|
-
callback(column);
|
|
19
|
-
if (column.isColumnGroup && column.hasChildren) {
|
|
20
|
-
forEachLevel(column.childrenArray, callback);
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
const filterHierarchy = (list, predicate) => {
|
|
25
|
-
const result = [];
|
|
26
|
-
sortColumns(list)
|
|
27
|
-
.forEach((column) => {
|
|
28
|
-
if (predicate(column)) {
|
|
29
|
-
if (column.isColumnGroup) {
|
|
30
|
-
const children = filterHierarchy(column.childrenArray, predicate);
|
|
31
|
-
if (children.length) {
|
|
32
|
-
result.push(column, ...children);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
else if (!column.isSpanColumn || filterHierarchy(column.childrenArray, predicate).length) {
|
|
36
|
-
result.push(column);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
return result.sort((a, b) => Number(b.locked) - Number(a.locked));
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
export class ColumnList {
|
|
46
|
-
columns;
|
|
47
|
-
static empty() {
|
|
48
|
-
return new ColumnList(new QueryList());
|
|
49
|
-
}
|
|
50
|
-
constructor(columns) {
|
|
51
|
-
this.columns = columns;
|
|
52
|
-
}
|
|
53
|
-
forEach(callback) {
|
|
54
|
-
forEachColumn(this.columns, callback);
|
|
55
|
-
}
|
|
56
|
-
filter(callback) {
|
|
57
|
-
const result = [];
|
|
58
|
-
forEachColumn(this.columns, (column) => {
|
|
59
|
-
if (callback(column)) {
|
|
60
|
-
result.push(column);
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
return result;
|
|
64
|
-
}
|
|
65
|
-
filterHierarchy(predicate) {
|
|
66
|
-
return filterHierarchy(this.columns.toArray(), predicate);
|
|
67
|
-
}
|
|
68
|
-
filterSort(callback) {
|
|
69
|
-
const result = [];
|
|
70
|
-
forEachLevel(this.columns.toArray(), (column) => {
|
|
71
|
-
if (callback(column)) {
|
|
72
|
-
result.push(column);
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
return result;
|
|
76
|
-
}
|
|
77
|
-
toArray() {
|
|
78
|
-
const result = [];
|
|
79
|
-
forEachColumn(this.columns, (column) => {
|
|
80
|
-
result.push(column);
|
|
81
|
-
});
|
|
82
|
-
return result;
|
|
83
|
-
}
|
|
84
|
-
rootColumns() {
|
|
85
|
-
return this.columns.toArray();
|
|
86
|
-
}
|
|
87
|
-
totalColumnLevels() {
|
|
88
|
-
let totalLevels = 0;
|
|
89
|
-
this.forEach(column => {
|
|
90
|
-
totalLevels = Math.max(column.level, totalLevels);
|
|
91
|
-
});
|
|
92
|
-
return totalLevels;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,198 +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 { forwardRef, Component, Input, ContentChild, SkipSelf, Host, Optional } from '@angular/core';
|
|
6
|
-
import { CellTemplateDirective } from '../rendering/cell-template.directive';
|
|
7
|
-
import { GroupHeaderTemplateDirective } from '../grouping/group-header-template.directive';
|
|
8
|
-
import { GroupHeaderColumnTemplateDirective } from '../grouping/group-header-column-template.directive';
|
|
9
|
-
import { EditTemplateDirective } from '../editing/edit-template.directive';
|
|
10
|
-
import { GroupFooterTemplateDirective } from '../grouping/group-footer-template.directive';
|
|
11
|
-
import { ColumnBase } from './column-base';
|
|
12
|
-
import { isPresent } from '../utils';
|
|
13
|
-
import { FilterCellTemplateDirective } from '../filtering/cell/filter-cell-template.directive';
|
|
14
|
-
import { FilterMenuTemplateDirective } from '../filtering/menu/filter-menu-template.directive';
|
|
15
|
-
import { IdService } from '../common/id.service';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
import * as i1 from "./column-base";
|
|
18
|
-
import * as i2 from "../common/id.service";
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
export function isColumnComponent(column) {
|
|
23
|
-
return isPresent(column?.field);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Represents a column in the Grid.
|
|
27
|
-
*
|
|
28
|
-
* Use the `kendo-grid-column` component to define columns in the Grid.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```html
|
|
32
|
-
* <kendo-grid [data]="gridData">
|
|
33
|
-
* <kendo-grid-column field="ProductID" title="Product ID"></kendo-grid-column>
|
|
34
|
-
* <kendo-grid-column field="ProductName" title="Product Name"></kendo-grid-column>
|
|
35
|
-
* <kendo-grid-column field="UnitPrice" title="Unit Price"></kendo-grid-column>
|
|
36
|
-
* </kendo-grid>
|
|
37
|
-
* ```
|
|
38
|
-
* @remarks
|
|
39
|
-
* Supported children components are: {@link StringFilterCellComponent}, {@link NumericFilterCellComponent}, {@link BooleanFilterCellComponent}, {@link DateFilterCellComponent}, {@link StringFilterMenuComponent}, {@link NumericFilterMenuComponent}, {@link BooleanFilterMenuComponent}, {@link DateFilterMenuComponent}, {@link FilterCellOperatorsComponent}, {@link ColumnMenuAutoSizeAllColumnsComponent}, {@link ColumnMenuAutoSizeColumnComponent}, {@link ColumnMenuChooserComponent}, {@link ColumnMenuComponent}, {@link ColumnMenuFilterComponent}, {@link ColumnMenuItemComponent}, {@link ColumnMenuLockComponent}, {@link ColumnMenuPositionComponent}, {@link ColumnMenuSortComponent}, {@link ColumnMenuStickComponent}.
|
|
40
|
-
*/
|
|
41
|
-
export class ColumnComponent extends ColumnBase {
|
|
42
|
-
/**
|
|
43
|
-
* Sets the field that the column binds to.
|
|
44
|
-
*/
|
|
45
|
-
field;
|
|
46
|
-
/**
|
|
47
|
-
* Sets the format for displaying the column value.
|
|
48
|
-
* For supported date and number formats, see the [Column Formats](slug:formats_columns_grid) article.
|
|
49
|
-
*/
|
|
50
|
-
format;
|
|
51
|
-
/**
|
|
52
|
-
* Enables sorting when the user clicks the column header. [See example](slug:sorting_grid).
|
|
53
|
-
* Emits the `sortChange` event.
|
|
54
|
-
*
|
|
55
|
-
* @default true
|
|
56
|
-
*/
|
|
57
|
-
sortable = true;
|
|
58
|
-
/**
|
|
59
|
-
* Allows dragging the column to the group panel.
|
|
60
|
-
* Set to `false` to group by this column only through the Grid API.
|
|
61
|
-
*
|
|
62
|
-
* @default true
|
|
63
|
-
*/
|
|
64
|
-
groupable = true;
|
|
65
|
-
/**
|
|
66
|
-
* Sets the editor type for the column. [See example](slug:inline_editing_grid#toc-using-reactive-forms).
|
|
67
|
-
* Used when the column enters edit mode.
|
|
68
|
-
*
|
|
69
|
-
* @default 'text'
|
|
70
|
-
*/
|
|
71
|
-
editor = 'text';
|
|
72
|
-
/**
|
|
73
|
-
* Sets the filter type for the filter row UI. [See example](slug:filtering_grid#toc-filter-data-types).
|
|
74
|
-
*
|
|
75
|
-
* @default 'text'
|
|
76
|
-
*/
|
|
77
|
-
filter = 'text';
|
|
78
|
-
/**
|
|
79
|
-
* Specifies the filter type for the filter menu UI.
|
|
80
|
-
*
|
|
81
|
-
* @default 'default'
|
|
82
|
-
*/
|
|
83
|
-
filterVariant = 'default';
|
|
84
|
-
/**
|
|
85
|
-
* Shows or hides the filter UI for this column. [See example](slug:filtering_grid).
|
|
86
|
-
*
|
|
87
|
-
* @default true
|
|
88
|
-
*/
|
|
89
|
-
filterable = true;
|
|
90
|
-
/**
|
|
91
|
-
* Sets whether the column is editable. [See example](slug:make_fields_uneditable_grid).
|
|
92
|
-
*
|
|
93
|
-
* @default true
|
|
94
|
-
*/
|
|
95
|
-
editable = true;
|
|
96
|
-
template;
|
|
97
|
-
groupHeaderTemplate;
|
|
98
|
-
groupHeaderColumnTemplate;
|
|
99
|
-
groupFooterTemplate;
|
|
100
|
-
editTemplate;
|
|
101
|
-
filterCellTemplate;
|
|
102
|
-
filterMenuTemplate;
|
|
103
|
-
constructor(parent, idService) {
|
|
104
|
-
super(parent, idService);
|
|
105
|
-
}
|
|
106
|
-
get templateRef() {
|
|
107
|
-
return this.template ? this.template.templateRef : undefined;
|
|
108
|
-
}
|
|
109
|
-
get groupHeaderTemplateRef() {
|
|
110
|
-
return this.groupHeaderTemplate ? this.groupHeaderTemplate.templateRef : undefined;
|
|
111
|
-
}
|
|
112
|
-
get groupHeaderColumnTemplateRef() {
|
|
113
|
-
return this.groupHeaderColumnTemplate ? this.groupHeaderColumnTemplate.templateRef : undefined;
|
|
114
|
-
}
|
|
115
|
-
get groupFooterTemplateRef() {
|
|
116
|
-
return this.groupFooterTemplate ? this.groupFooterTemplate.templateRef : undefined;
|
|
117
|
-
}
|
|
118
|
-
get editTemplateRef() {
|
|
119
|
-
return this.editTemplate ? this.editTemplate.templateRef : undefined;
|
|
120
|
-
}
|
|
121
|
-
get filterCellTemplateRef() {
|
|
122
|
-
return this.filterCellTemplate ? this.filterCellTemplate.templateRef : undefined;
|
|
123
|
-
}
|
|
124
|
-
get filterMenuTemplateRef() {
|
|
125
|
-
return this.filterMenuTemplate ? this.filterMenuTemplate.templateRef : undefined;
|
|
126
|
-
}
|
|
127
|
-
get displayTitle() {
|
|
128
|
-
return this.title === undefined ? this.field : this.title;
|
|
129
|
-
}
|
|
130
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.IdService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
131
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ColumnComponent, isStandalone: true, selector: "kendo-grid-column", inputs: { field: "field", format: "format", sortable: "sortable", groupable: "groupable", editor: "editor", filter: "filter", filterVariant: "filterVariant", filterable: "filterable", editable: "editable" }, providers: [
|
|
132
|
-
{
|
|
133
|
-
provide: ColumnBase,
|
|
134
|
-
useExisting: forwardRef(() => ColumnComponent)
|
|
135
|
-
}
|
|
136
|
-
], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "groupHeaderTemplate", first: true, predicate: GroupHeaderTemplateDirective, descendants: true }, { propertyName: "groupHeaderColumnTemplate", first: true, predicate: GroupHeaderColumnTemplateDirective, descendants: true }, { propertyName: "groupFooterTemplate", first: true, predicate: GroupFooterTemplateDirective, descendants: true }, { propertyName: "editTemplate", first: true, predicate: EditTemplateDirective, descendants: true }, { propertyName: "filterCellTemplate", first: true, predicate: FilterCellTemplateDirective, descendants: true }, { propertyName: "filterMenuTemplate", first: true, predicate: FilterMenuTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
137
|
-
}
|
|
138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
139
|
-
type: Component,
|
|
140
|
-
args: [{
|
|
141
|
-
providers: [
|
|
142
|
-
{
|
|
143
|
-
provide: ColumnBase,
|
|
144
|
-
useExisting: forwardRef(() => ColumnComponent)
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
selector: 'kendo-grid-column',
|
|
148
|
-
template: ``,
|
|
149
|
-
standalone: true
|
|
150
|
-
}]
|
|
151
|
-
}], ctorParameters: () => [{ type: i1.ColumnBase, decorators: [{
|
|
152
|
-
type: SkipSelf
|
|
153
|
-
}, {
|
|
154
|
-
type: Host
|
|
155
|
-
}, {
|
|
156
|
-
type: Optional
|
|
157
|
-
}] }, { type: i2.IdService, decorators: [{
|
|
158
|
-
type: Optional
|
|
159
|
-
}] }], propDecorators: { field: [{
|
|
160
|
-
type: Input
|
|
161
|
-
}], format: [{
|
|
162
|
-
type: Input
|
|
163
|
-
}], sortable: [{
|
|
164
|
-
type: Input
|
|
165
|
-
}], groupable: [{
|
|
166
|
-
type: Input
|
|
167
|
-
}], editor: [{
|
|
168
|
-
type: Input
|
|
169
|
-
}], filter: [{
|
|
170
|
-
type: Input
|
|
171
|
-
}], filterVariant: [{
|
|
172
|
-
type: Input
|
|
173
|
-
}], filterable: [{
|
|
174
|
-
type: Input
|
|
175
|
-
}], editable: [{
|
|
176
|
-
type: Input
|
|
177
|
-
}], template: [{
|
|
178
|
-
type: ContentChild,
|
|
179
|
-
args: [CellTemplateDirective, { static: false }]
|
|
180
|
-
}], groupHeaderTemplate: [{
|
|
181
|
-
type: ContentChild,
|
|
182
|
-
args: [GroupHeaderTemplateDirective, { static: false }]
|
|
183
|
-
}], groupHeaderColumnTemplate: [{
|
|
184
|
-
type: ContentChild,
|
|
185
|
-
args: [GroupHeaderColumnTemplateDirective, { static: false }]
|
|
186
|
-
}], groupFooterTemplate: [{
|
|
187
|
-
type: ContentChild,
|
|
188
|
-
args: [GroupFooterTemplateDirective, { static: false }]
|
|
189
|
-
}], editTemplate: [{
|
|
190
|
-
type: ContentChild,
|
|
191
|
-
args: [EditTemplateDirective, { static: false }]
|
|
192
|
-
}], filterCellTemplate: [{
|
|
193
|
-
type: ContentChild,
|
|
194
|
-
args: [FilterCellTemplateDirective, { static: false }]
|
|
195
|
-
}], filterMenuTemplate: [{
|
|
196
|
-
type: ContentChild,
|
|
197
|
-
args: [FilterMenuTemplateDirective, { static: false }]
|
|
198
|
-
}] } });
|
|
@@ -1,101 +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 { QueryList, EventEmitter } from '@angular/core';
|
|
6
|
-
import { isColumnGroupComponent } from './column-group.component';
|
|
7
|
-
import { columnsToRender, someLeafColumn } from './column-common';
|
|
8
|
-
const reset = (...lists) => {
|
|
9
|
-
let diff = false;
|
|
10
|
-
for (let idx = 0; idx < lists.length; idx++) {
|
|
11
|
-
const [list, columns] = lists[idx];
|
|
12
|
-
diff = diff || list.length !== columns.length;
|
|
13
|
-
list.reset(columns);
|
|
14
|
-
}
|
|
15
|
-
return diff;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export class ColumnsContainer {
|
|
21
|
-
columns;
|
|
22
|
-
allColumns = new QueryList();
|
|
23
|
-
leafColumns = new QueryList();
|
|
24
|
-
lockedColumns = new QueryList();
|
|
25
|
-
nonLockedColumns = new QueryList();
|
|
26
|
-
lockedLeafColumns = new QueryList();
|
|
27
|
-
nonLockedLeafColumns = new QueryList();
|
|
28
|
-
totalLevels = 0;
|
|
29
|
-
isStacked = false;
|
|
30
|
-
changes = new EventEmitter();
|
|
31
|
-
leafColumnsToRender = [];
|
|
32
|
-
lockedColumnsToRender = [];
|
|
33
|
-
nonLockedColumnsToRender = [];
|
|
34
|
-
hasGroupHeaderColumn = false;
|
|
35
|
-
hasGroupFooter = false;
|
|
36
|
-
hasFooter = false;
|
|
37
|
-
unlockedWidth = 0;
|
|
38
|
-
totalColumnsWidth = 0;
|
|
39
|
-
constructor(columns) {
|
|
40
|
-
this.columns = columns;
|
|
41
|
-
}
|
|
42
|
-
refresh() {
|
|
43
|
-
const currentLevels = this.totalLevels;
|
|
44
|
-
const leafColumns = new Array();
|
|
45
|
-
const lockedLeafColumns = new Array();
|
|
46
|
-
const nonLockedLeafColumns = new Array();
|
|
47
|
-
const lockedColumns = new Array();
|
|
48
|
-
const nonLockedColumns = new Array();
|
|
49
|
-
const allColumns = new Array();
|
|
50
|
-
const leafColumnsToRender = new Array();
|
|
51
|
-
const lockedColumnsToRender = new Array();
|
|
52
|
-
const nonLockedColumnsToRender = new Array();
|
|
53
|
-
let hasGroupHeaderColumn = false;
|
|
54
|
-
let hasGroupFooter = false;
|
|
55
|
-
let hasFooter = false;
|
|
56
|
-
let unlockedWidth = 0;
|
|
57
|
-
let leafIndex = 0;
|
|
58
|
-
this.totalLevels = 0;
|
|
59
|
-
this.columns().forEach(column => {
|
|
60
|
-
const containerLeafColumns = column.isLocked === true ? lockedLeafColumns : nonLockedLeafColumns;
|
|
61
|
-
const containerColumns = column.isLocked === true ? lockedColumns : nonLockedColumns;
|
|
62
|
-
const toRenderContainer = column.isLocked === true ? lockedColumnsToRender : nonLockedColumnsToRender;
|
|
63
|
-
if (!isColumnGroupComponent(column)) {
|
|
64
|
-
containerLeafColumns.push(column);
|
|
65
|
-
leafColumns.push(column);
|
|
66
|
-
leafColumnsToRender.push(...columnsToRender([column]));
|
|
67
|
-
toRenderContainer.push(...columnsToRender([column]));
|
|
68
|
-
hasGroupHeaderColumn = hasGroupHeaderColumn || someLeafColumn(leaf => Boolean(leaf.groupHeaderColumnTemplateRef), column);
|
|
69
|
-
hasGroupFooter = hasGroupFooter || someLeafColumn(leaf => Boolean(leaf.groupFooterTemplateRef), column);
|
|
70
|
-
hasFooter = hasFooter || someLeafColumn(leaf => Boolean(leaf.footerTemplateRef), column);
|
|
71
|
-
if (!column.isLocked) {
|
|
72
|
-
unlockedWidth += column.width || 0;
|
|
73
|
-
}
|
|
74
|
-
if (column.isSpanColumn) {
|
|
75
|
-
column.children.forEach(c => {
|
|
76
|
-
c.leafIndex = leafIndex++;
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
column.leafIndex = leafIndex++;
|
|
81
|
-
}
|
|
82
|
-
this.totalColumnsWidth += column.width || 0;
|
|
83
|
-
}
|
|
84
|
-
containerColumns.push(column);
|
|
85
|
-
allColumns.push(column);
|
|
86
|
-
this.totalLevels = column.level > this.totalLevels ? column.level : this.totalLevels;
|
|
87
|
-
});
|
|
88
|
-
this.hasGroupHeaderColumn = hasGroupHeaderColumn;
|
|
89
|
-
this.hasGroupFooter = hasGroupFooter;
|
|
90
|
-
this.hasFooter = hasFooter;
|
|
91
|
-
this.leafColumnsToRender = leafColumnsToRender;
|
|
92
|
-
this.lockedColumnsToRender = lockedColumnsToRender;
|
|
93
|
-
this.nonLockedColumnsToRender = nonLockedColumnsToRender;
|
|
94
|
-
this.unlockedWidth = unlockedWidth;
|
|
95
|
-
const changes = reset([this.leafColumns, leafColumns], [this.lockedLeafColumns, lockedLeafColumns], [this.nonLockedLeafColumns, nonLockedLeafColumns], [this.lockedColumns, lockedColumns], [this.allColumns, allColumns], [this.nonLockedColumns, nonLockedColumns]) || currentLevels !== this.totalLevels;
|
|
96
|
-
if (changes) {
|
|
97
|
-
this.changes.emit();
|
|
98
|
-
}
|
|
99
|
-
return changes;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
@@ -1,80 +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 { Component, forwardRef, ContentChild, SkipSelf, Host, Optional } from '@angular/core';
|
|
6
|
-
import { ColumnBase } from './column-base';
|
|
7
|
-
import { CellTemplateDirective } from '../rendering/cell-template.directive';
|
|
8
|
-
import { IdService } from '../common/id.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "./column-base";
|
|
11
|
-
import * as i2 from "../common/id.service";
|
|
12
|
-
/**
|
|
13
|
-
* Represents the command columns of the Grid. Define the content of the column inside an `<ng-template>` tag.
|
|
14
|
-
* For more information and examples, see the [Editing Action Buttons](slug:basics_editing_grid#editing-action-buttons) article.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-grid [data]="data">
|
|
19
|
-
* <kendo-grid-column field="ID"></kendo-grid-column>
|
|
20
|
-
* <kendo-grid-command-column title="command" [width]="220">
|
|
21
|
-
* <ng-template kendoGridCellTemplate>
|
|
22
|
-
* <button kendoGridEditCommand>Edit</button>
|
|
23
|
-
* <button kendoGridRemoveCommand>Remove</button>
|
|
24
|
-
* </ng-template>
|
|
25
|
-
* </kendo-grid-command-column>
|
|
26
|
-
* </kendo-grid>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export class CommandColumnComponent extends ColumnBase {
|
|
30
|
-
parent;
|
|
31
|
-
template;
|
|
32
|
-
constructor(parent, idService) {
|
|
33
|
-
super(parent, idService);
|
|
34
|
-
this.parent = parent;
|
|
35
|
-
}
|
|
36
|
-
get templateRef() {
|
|
37
|
-
return this.template ? this.template.templateRef : undefined;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Sets a function to determine the rowspan of each column cell.
|
|
41
|
-
*/
|
|
42
|
-
set cellRowspan(cellRowspan) {
|
|
43
|
-
super.cellRowspan = cellRowspan;
|
|
44
|
-
}
|
|
45
|
-
get cellRowspan() {
|
|
46
|
-
return super.cellRowspan;
|
|
47
|
-
}
|
|
48
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CommandColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.IdService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CommandColumnComponent, isStandalone: true, selector: "kendo-grid-command-column", providers: [
|
|
50
|
-
{
|
|
51
|
-
provide: ColumnBase,
|
|
52
|
-
useExisting: forwardRef(() => CommandColumnComponent)
|
|
53
|
-
}
|
|
54
|
-
], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
55
|
-
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CommandColumnComponent, decorators: [{
|
|
57
|
-
type: Component,
|
|
58
|
-
args: [{
|
|
59
|
-
providers: [
|
|
60
|
-
{
|
|
61
|
-
provide: ColumnBase,
|
|
62
|
-
useExisting: forwardRef(() => CommandColumnComponent)
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
selector: 'kendo-grid-command-column',
|
|
66
|
-
template: ``,
|
|
67
|
-
standalone: true
|
|
68
|
-
}]
|
|
69
|
-
}], ctorParameters: () => [{ type: i1.ColumnBase, decorators: [{
|
|
70
|
-
type: SkipSelf
|
|
71
|
-
}, {
|
|
72
|
-
type: Host
|
|
73
|
-
}, {
|
|
74
|
-
type: Optional
|
|
75
|
-
}] }, { type: i2.IdService, decorators: [{
|
|
76
|
-
type: Optional
|
|
77
|
-
}] }], propDecorators: { template: [{
|
|
78
|
-
type: ContentChild,
|
|
79
|
-
args: [CellTemplateDirective, { static: false }]
|
|
80
|
-
}] } });
|
|
@@ -1,114 +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 { Component, forwardRef, SkipSelf, Host, Optional, Input, ContentChildren, QueryList } from '@angular/core';
|
|
6
|
-
import { ColumnBase } from './column-base';
|
|
7
|
-
import { IdService } from '../common/id.service';
|
|
8
|
-
import { RowDragHandleTemplateDirective } from '../row-reordering/drag-handle-template.directive';
|
|
9
|
-
import { RowDragHintTemplateDirective } from '../row-reordering/drag-hint-template.directive';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "./column-base";
|
|
12
|
-
import * as i2 from "../common/id.service";
|
|
13
|
-
/**
|
|
14
|
-
* Represents the drag handle for reordering rows in the Grid. [See example](slug:reordering_rows_grid).
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-grid>
|
|
19
|
-
* <kendo-grid-rowreorder-column></kendo-grid-rowreorder-column>
|
|
20
|
-
* <kendo-grid-column field="ProductID"></kendo-grid-column>
|
|
21
|
-
* </kendo-grid>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export class RowReorderColumnComponent extends ColumnBase {
|
|
25
|
-
parent;
|
|
26
|
-
/**
|
|
27
|
-
* Defines the name for an existing font icon in the Kendo UI theme.
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
dragHandleIcon;
|
|
31
|
-
/**
|
|
32
|
-
* Defines an SVGIcon to be rendered as a drag handle.
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
dragHandleSVGIcon;
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
dragHandleTemplate = new QueryList();
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
dragHintTemplate = new QueryList();
|
|
44
|
-
/**
|
|
45
|
-
* @hidden
|
|
46
|
-
*/
|
|
47
|
-
isRowReorderColumn = true;
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
get rowDragHandleTemplateRef() {
|
|
52
|
-
const rowTemplate = this.dragHandleTemplate.first;
|
|
53
|
-
return rowTemplate ? rowTemplate.templateRef : undefined;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @hidden
|
|
57
|
-
*/
|
|
58
|
-
get rowDragHintTemplateRef() {
|
|
59
|
-
const rowTemplate = this.dragHintTemplate.first;
|
|
60
|
-
return rowTemplate ? rowTemplate.templateRef : undefined;
|
|
61
|
-
}
|
|
62
|
-
constructor(parent, idService) {
|
|
63
|
-
super(parent, idService);
|
|
64
|
-
this.parent = parent;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Sets a function to determine the rowspan of each column cell.
|
|
68
|
-
*/
|
|
69
|
-
set cellRowspan(cellRowspan) {
|
|
70
|
-
super.cellRowspan = cellRowspan;
|
|
71
|
-
}
|
|
72
|
-
get cellRowspan() {
|
|
73
|
-
return super.cellRowspan;
|
|
74
|
-
}
|
|
75
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RowReorderColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.IdService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
76
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RowReorderColumnComponent, isStandalone: true, selector: "kendo-grid-rowreorder-column", inputs: { dragHandleIcon: "dragHandleIcon", dragHandleSVGIcon: "dragHandleSVGIcon" }, providers: [
|
|
77
|
-
{
|
|
78
|
-
provide: ColumnBase,
|
|
79
|
-
useExisting: forwardRef(() => RowReorderColumnComponent)
|
|
80
|
-
}
|
|
81
|
-
], queries: [{ propertyName: "dragHandleTemplate", predicate: RowDragHandleTemplateDirective }, { propertyName: "dragHintTemplate", predicate: RowDragHintTemplateDirective }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
82
|
-
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RowReorderColumnComponent, decorators: [{
|
|
84
|
-
type: Component,
|
|
85
|
-
args: [{
|
|
86
|
-
providers: [
|
|
87
|
-
{
|
|
88
|
-
provide: ColumnBase,
|
|
89
|
-
useExisting: forwardRef(() => RowReorderColumnComponent)
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
selector: 'kendo-grid-rowreorder-column',
|
|
93
|
-
template: ``,
|
|
94
|
-
standalone: true
|
|
95
|
-
}]
|
|
96
|
-
}], ctorParameters: () => [{ type: i1.ColumnBase, decorators: [{
|
|
97
|
-
type: SkipSelf
|
|
98
|
-
}, {
|
|
99
|
-
type: Host
|
|
100
|
-
}, {
|
|
101
|
-
type: Optional
|
|
102
|
-
}] }, { type: i2.IdService, decorators: [{
|
|
103
|
-
type: Optional
|
|
104
|
-
}] }], propDecorators: { dragHandleIcon: [{
|
|
105
|
-
type: Input
|
|
106
|
-
}], dragHandleSVGIcon: [{
|
|
107
|
-
type: Input
|
|
108
|
-
}], dragHandleTemplate: [{
|
|
109
|
-
type: ContentChildren,
|
|
110
|
-
args: [RowDragHandleTemplateDirective, { descendants: false }]
|
|
111
|
-
}], dragHintTemplate: [{
|
|
112
|
-
type: ContentChildren,
|
|
113
|
-
args: [RowDragHintTemplateDirective, { descendants: false }]
|
|
114
|
-
}] } });
|
|
@@ -1,18 +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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
const DEFAULTS = {
|
|
9
|
-
allowUnsort: true,
|
|
10
|
-
mode: 'single',
|
|
11
|
-
showIndexes: true,
|
|
12
|
-
initialDirection: 'asc',
|
|
13
|
-
multiSortKey: 'none'
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export const normalize = (...settings) => Object.assign({}, DEFAULTS, ...settings);
|