@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,13 +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 { InjectionToken } from '@angular/core';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export const CELL_CONTEXT = new InjectionToken('grid-cell-context');
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export const EMPTY_CELL_CONTEXT = {};
|
|
@@ -1,98 +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, Input } from '@angular/core';
|
|
6
|
-
import { DetailTemplateDirective } from '../details/detail-template.directive';
|
|
7
|
-
import { ColumnBase } from "../../columns/column-base";
|
|
8
|
-
import { columnsToRender } from '../../columns/column-common';
|
|
9
|
-
import { isNullOrEmptyString, isTruthy } from '../../utils';
|
|
10
|
-
import { ContextService } from '../../common/provider.service';
|
|
11
|
-
import { isPresent } from '@progress/kendo-angular-common';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "../../common/provider.service";
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export class ColGroupComponent {
|
|
18
|
-
ctx;
|
|
19
|
-
columns = [];
|
|
20
|
-
groups = [];
|
|
21
|
-
detailTemplate;
|
|
22
|
-
sort = new Array();
|
|
23
|
-
constructor(ctx) {
|
|
24
|
-
this.ctx = ctx;
|
|
25
|
-
}
|
|
26
|
-
getColumnWidth(column) {
|
|
27
|
-
const columnWidth = isPresent(column.width) ? `${column.width}px` : undefined;
|
|
28
|
-
return this.isStacked ? '100%' : columnWidth;
|
|
29
|
-
}
|
|
30
|
-
get columnsToRender() {
|
|
31
|
-
return this.isStacked ? [new ColumnBase()] : columnsToRender(this.columns);
|
|
32
|
-
}
|
|
33
|
-
get isStacked() {
|
|
34
|
-
return this.ctx.grid?.isStacked;
|
|
35
|
-
}
|
|
36
|
-
trackBy(index) {
|
|
37
|
-
return index;
|
|
38
|
-
}
|
|
39
|
-
isSorted(column) {
|
|
40
|
-
const state = this.sortDescriptor(column.field);
|
|
41
|
-
return this.isSortable(column) && (state.dir === 'asc' || state.dir === 'desc');
|
|
42
|
-
}
|
|
43
|
-
getColumnComponent(column) {
|
|
44
|
-
return column;
|
|
45
|
-
}
|
|
46
|
-
isSortable(column) {
|
|
47
|
-
return !isNullOrEmptyString(column.field) && isTruthy(column.sortable);
|
|
48
|
-
}
|
|
49
|
-
sortDescriptor(field) {
|
|
50
|
-
return this.sort.find(item => item.field === field) || { field };
|
|
51
|
-
}
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ColGroupComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ColGroupComponent, isStandalone: true, selector: "[kendoGridColGroup]", inputs: { columns: "columns", groups: "groups", detailTemplate: "detailTemplate", sort: "sort" }, ngImport: i0, template: `
|
|
54
|
-
<ng-container>
|
|
55
|
-
@for (g of groups; track g) {
|
|
56
|
-
<col [class.k-group-col]="true" />
|
|
57
|
-
}
|
|
58
|
-
@if (detailTemplate?.templateRef && !isStacked) {
|
|
59
|
-
<col [class.k-hierarchy-col]="true"/>
|
|
60
|
-
}
|
|
61
|
-
@for (column of columnsToRender; track $index) {
|
|
62
|
-
<col
|
|
63
|
-
[style.width]="getColumnWidth(column)"
|
|
64
|
-
[class.k-sorted]="isSorted(getColumnComponent(column))"/>
|
|
65
|
-
}
|
|
66
|
-
</ng-container>
|
|
67
|
-
`, isInline: true });
|
|
68
|
-
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ColGroupComponent, decorators: [{
|
|
70
|
-
type: Component,
|
|
71
|
-
args: [{
|
|
72
|
-
selector: '[kendoGridColGroup]',
|
|
73
|
-
template: `
|
|
74
|
-
<ng-container>
|
|
75
|
-
@for (g of groups; track g) {
|
|
76
|
-
<col [class.k-group-col]="true" />
|
|
77
|
-
}
|
|
78
|
-
@if (detailTemplate?.templateRef && !isStacked) {
|
|
79
|
-
<col [class.k-hierarchy-col]="true"/>
|
|
80
|
-
}
|
|
81
|
-
@for (column of columnsToRender; track $index) {
|
|
82
|
-
<col
|
|
83
|
-
[style.width]="getColumnWidth(column)"
|
|
84
|
-
[class.k-sorted]="isSorted(getColumnComponent(column))"/>
|
|
85
|
-
}
|
|
86
|
-
</ng-container>
|
|
87
|
-
`,
|
|
88
|
-
standalone: true
|
|
89
|
-
}]
|
|
90
|
-
}], ctorParameters: () => [{ type: i1.ContextService }], propDecorators: { columns: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}], groups: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], detailTemplate: [{
|
|
95
|
-
type: Input
|
|
96
|
-
}], sort: [{
|
|
97
|
-
type: Input
|
|
98
|
-
}] } });
|
|
@@ -1,162 +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 focusableRegex = /^(?:a|input|select|option|textarea|button|object)$/i;
|
|
7
|
-
const NODE_NAME_PREDICATES = {};
|
|
8
|
-
const toClassList = (classNames) => String(classNames).trim().split(' ');
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export const hasClasses = (element, classNames) => {
|
|
13
|
-
const namesList = toClassList(classNames);
|
|
14
|
-
return Boolean(toClassList(element.className).find((className) => namesList.indexOf(className) >= 0));
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export const matchesClasses = (classNames) => (element) => hasClasses(element, classNames);
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
export const matchesNodeName = (nodeName) => {
|
|
24
|
-
if (!NODE_NAME_PREDICATES[nodeName]) {
|
|
25
|
-
NODE_NAME_PREDICATES[nodeName] = (element) => String(element.nodeName).toLowerCase() === nodeName.toLowerCase();
|
|
26
|
-
}
|
|
27
|
-
return NODE_NAME_PREDICATES[nodeName];
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
export const closest = (node, predicate) => {
|
|
33
|
-
while (node && !predicate(node)) {
|
|
34
|
-
node = node.parentNode;
|
|
35
|
-
}
|
|
36
|
-
return node;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
export const closestInScope = (node, predicate, scope) => {
|
|
42
|
-
while (node && node !== scope && !predicate(node)) {
|
|
43
|
-
node = node.parentNode;
|
|
44
|
-
}
|
|
45
|
-
if (node !== scope) {
|
|
46
|
-
return node;
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
export const contains = (parent, node, matchSelf = false) => {
|
|
53
|
-
const outside = !closest(node, (child) => child === parent);
|
|
54
|
-
if (outside) {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
const el = closest(node, (child) => child === node);
|
|
58
|
-
return el && (matchSelf || el !== parent);
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* @hidden
|
|
62
|
-
*/
|
|
63
|
-
export const isVisible = (element) => {
|
|
64
|
-
if (!isDocumentAvailable()) {
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
const rect = element.getBoundingClientRect();
|
|
68
|
-
const hasSize = rect.width > 0 && rect.height > 0;
|
|
69
|
-
const hasPosition = rect.x !== 0 && rect.y !== 0;
|
|
70
|
-
// Elements can have zero size due to styling, but they will still count as visible.
|
|
71
|
-
// For example, the selection checkbox has no size, but is made visible through styling.
|
|
72
|
-
return (hasSize || hasPosition) && window.getComputedStyle(element).visibility !== 'hidden';
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* @hidden
|
|
76
|
-
*/
|
|
77
|
-
export const isFocusable = (element) => {
|
|
78
|
-
if (!element.tagName) {
|
|
79
|
-
return false;
|
|
80
|
-
}
|
|
81
|
-
const tagName = element.tagName.toLowerCase();
|
|
82
|
-
const hasTabIndex = Boolean(element.getAttribute('tabIndex'));
|
|
83
|
-
const focusable = !element.disabled && focusableRegex.test(tagName);
|
|
84
|
-
return focusable || hasTabIndex;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
export const isFocusableWithTabKey = (element, checkVisibility = true) => {
|
|
90
|
-
if (!isFocusable(element)) {
|
|
91
|
-
return false;
|
|
92
|
-
}
|
|
93
|
-
const visible = !checkVisibility || isVisible(element);
|
|
94
|
-
const ariaHidden = element.getAttribute('aria-hidden') === 'true';
|
|
95
|
-
const tabIndex = element.getAttribute('tabIndex');
|
|
96
|
-
return visible && !ariaHidden && tabIndex !== '-1';
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* @hidden
|
|
100
|
-
*/
|
|
101
|
-
export const findElement = (node, predicate, matchSelf = true) => {
|
|
102
|
-
if (!node) {
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
if (matchSelf && predicate(node)) {
|
|
106
|
-
return node;
|
|
107
|
-
}
|
|
108
|
-
node = node.firstChild;
|
|
109
|
-
while (node) {
|
|
110
|
-
if (node.nodeType === 1) {
|
|
111
|
-
const element = findElement(node, predicate);
|
|
112
|
-
if (element) {
|
|
113
|
-
return element;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
node = node.nextSibling;
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* @hidden
|
|
121
|
-
*/
|
|
122
|
-
export const findLastElement = (node, predicate, matchSelf = true) => {
|
|
123
|
-
let last = null;
|
|
124
|
-
findElement(node, (node) => {
|
|
125
|
-
if (predicate(node)) {
|
|
126
|
-
last = node;
|
|
127
|
-
}
|
|
128
|
-
return false;
|
|
129
|
-
}, matchSelf);
|
|
130
|
-
return last;
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* @hidden
|
|
134
|
-
*/
|
|
135
|
-
export const findFocusable = (element, checkVisibility = true) => {
|
|
136
|
-
return findElement(element, (node) => isFocusableWithTabKey(node, checkVisibility));
|
|
137
|
-
};
|
|
138
|
-
/**
|
|
139
|
-
* @hidden
|
|
140
|
-
*/
|
|
141
|
-
export const findFocusableChild = (element, checkVisibility = true) => {
|
|
142
|
-
return findElement(element, (node) => isFocusableWithTabKey(node, checkVisibility), false);
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* @hidden
|
|
146
|
-
*/
|
|
147
|
-
export const findLastFocusableChild = (element, checkVisibility = true) => {
|
|
148
|
-
return findLastElement(element, (node) => isFocusableWithTabKey(node, checkVisibility), false);
|
|
149
|
-
};
|
|
150
|
-
/**
|
|
151
|
-
* @hidden
|
|
152
|
-
*/
|
|
153
|
-
export function rtlScrollPosition(position, element, initial) {
|
|
154
|
-
let result = position;
|
|
155
|
-
if (initial < 0) {
|
|
156
|
-
result = -position;
|
|
157
|
-
}
|
|
158
|
-
else if (initial > 0) {
|
|
159
|
-
result = element.scrollWidth - element.offsetWidth - position;
|
|
160
|
-
}
|
|
161
|
-
return result;
|
|
162
|
-
}
|
|
@@ -1,48 +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 { Pipe } from '@angular/core';
|
|
6
|
-
import { getter } from '@progress/kendo-common';
|
|
7
|
-
import { isString, isNullOrEmptyString } from '../../utils';
|
|
8
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "@progress/kendo-angular-intl";
|
|
11
|
-
const FORMAT_REGEX = /\{\d+:?/;
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export class FieldAccessorPipe {
|
|
16
|
-
intlService;
|
|
17
|
-
constructor(intlService) {
|
|
18
|
-
this.intlService = intlService;
|
|
19
|
-
}
|
|
20
|
-
transform(dataItem, fieldName, format) {
|
|
21
|
-
if (!isNullOrEmptyString(fieldName)) {
|
|
22
|
-
const value = getter(fieldName)(dataItem);
|
|
23
|
-
if (!isNullOrEmptyString(format)) {
|
|
24
|
-
return this.formatValue(format, value);
|
|
25
|
-
}
|
|
26
|
-
return value;
|
|
27
|
-
}
|
|
28
|
-
return dataItem;
|
|
29
|
-
}
|
|
30
|
-
formatValue(format, value) {
|
|
31
|
-
const intl = this.intlService;
|
|
32
|
-
if (isString(format) && FORMAT_REGEX.exec(format)) {
|
|
33
|
-
return intl.format(format, value);
|
|
34
|
-
}
|
|
35
|
-
return intl.toString(value, format);
|
|
36
|
-
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FieldAccessorPipe, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
38
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: FieldAccessorPipe, isStandalone: true, name: "valueOf", pure: false });
|
|
39
|
-
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FieldAccessorPipe, decorators: [{
|
|
41
|
-
type: Pipe,
|
|
42
|
-
args: [{
|
|
43
|
-
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
44
|
-
name: 'valueOf',
|
|
45
|
-
pure: false,
|
|
46
|
-
standalone: true
|
|
47
|
-
}]
|
|
48
|
-
}], ctorParameters: () => [{ type: i1.IntlService }] });
|
|
@@ -1,37 +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 { Pipe } from '@angular/core';
|
|
6
|
-
import { isString } from '../../utils';
|
|
7
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@progress/kendo-angular-intl";
|
|
10
|
-
const FORMAT_REGEX = /\{\d+:?/;
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export class FormatPipe {
|
|
15
|
-
intlService;
|
|
16
|
-
constructor(intlService) {
|
|
17
|
-
this.intlService = intlService;
|
|
18
|
-
}
|
|
19
|
-
transform(value, format) {
|
|
20
|
-
const intl = this.intlService;
|
|
21
|
-
if (isString(format) && FORMAT_REGEX.exec(format)) {
|
|
22
|
-
return intl.format(format, value);
|
|
23
|
-
}
|
|
24
|
-
return intl.toString(value, format);
|
|
25
|
-
}
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormatPipe, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
27
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: FormatPipe, isStandalone: true, name: "format", pure: false });
|
|
28
|
-
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormatPipe, decorators: [{
|
|
30
|
-
type: Pipe,
|
|
31
|
-
args: [{
|
|
32
|
-
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
33
|
-
name: 'format',
|
|
34
|
-
pure: false,
|
|
35
|
-
standalone: true
|
|
36
|
-
}]
|
|
37
|
-
}], ctorParameters: () => [{ type: i1.IntlService }] });
|
|
@@ -1,60 +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, HostBinding, Input } from '@angular/core';
|
|
6
|
-
import { ContextService } from '../../common/provider.service';
|
|
7
|
-
import { LoadingTemplateDirective } from '../loading-template.directive';
|
|
8
|
-
import { NgTemplateOutlet } from '@angular/common';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../../common/provider.service";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export class LoadingComponent {
|
|
15
|
-
ctx;
|
|
16
|
-
hostClass = true;
|
|
17
|
-
loadingTemplate;
|
|
18
|
-
get loadingText() {
|
|
19
|
-
return this.ctx.localization.get('loading');
|
|
20
|
-
}
|
|
21
|
-
constructor(ctx) {
|
|
22
|
-
this.ctx = ctx;
|
|
23
|
-
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LoadingComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: LoadingComponent, isStandalone: true, selector: "[kendoGridLoading]", inputs: { loadingTemplate: "loadingTemplate" }, host: { properties: { "class.k-loading-mask": "this.hostClass" } }, ngImport: i0, template: `
|
|
26
|
-
@if (!loadingTemplate) {
|
|
27
|
-
<span class="k-loading-text">{{ loadingText }}</span>
|
|
28
|
-
<div class="k-loading-image"></div>
|
|
29
|
-
<div class="k-loading-color"></div>
|
|
30
|
-
}
|
|
31
|
-
@if (loadingTemplate) {
|
|
32
|
-
<ng-template [ngTemplateOutlet]="loadingTemplate?.templateRef">
|
|
33
|
-
</ng-template>
|
|
34
|
-
}
|
|
35
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
36
|
-
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
38
|
-
type: Component,
|
|
39
|
-
args: [{
|
|
40
|
-
selector: '[kendoGridLoading]',
|
|
41
|
-
template: `
|
|
42
|
-
@if (!loadingTemplate) {
|
|
43
|
-
<span class="k-loading-text">{{ loadingText }}</span>
|
|
44
|
-
<div class="k-loading-image"></div>
|
|
45
|
-
<div class="k-loading-color"></div>
|
|
46
|
-
}
|
|
47
|
-
@if (loadingTemplate) {
|
|
48
|
-
<ng-template [ngTemplateOutlet]="loadingTemplate?.templateRef">
|
|
49
|
-
</ng-template>
|
|
50
|
-
}
|
|
51
|
-
`,
|
|
52
|
-
standalone: true,
|
|
53
|
-
imports: [NgTemplateOutlet]
|
|
54
|
-
}]
|
|
55
|
-
}], ctorParameters: () => [{ type: i1.ContextService }], propDecorators: { hostClass: [{
|
|
56
|
-
type: HostBinding,
|
|
57
|
-
args: ['class.k-loading-mask']
|
|
58
|
-
}], loadingTemplate: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}] } });
|
|
@@ -1,5 +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 {};
|
|
@@ -1,5 +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 {};
|
|
@@ -1,62 +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, HostBinding, Input } from '@angular/core';
|
|
6
|
-
import { isPresent } from '../../utils';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the Kendo UI GridSpacer component for Angular.
|
|
10
|
-
* Used to give additional white space between the Pager inner elements,
|
|
11
|
-
* and provides a way for customizing the spacer width.
|
|
12
|
-
* It can also be used in any flex container within the Grid
|
|
13
|
-
* ([see example](slug:toolbartemplate_grid#toc-defining-the-spacing-between-toolbar-elements)).
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <kendo-grid [data]="data">
|
|
18
|
-
* <ng-template kendoGridToolbarTemplate>
|
|
19
|
-
* <kendo-grid-spacer></kendo-grid-spacer>
|
|
20
|
-
* <button type="button" kendoGridExcelCommand [svgIcon]="fileExcelIcon"> Export to Excel </button>
|
|
21
|
-
* <kendo-grid-spacer></kendo-grid-spacer>
|
|
22
|
-
* </ng-template>
|
|
23
|
-
* <kendo-grid-column field="ProductName" title="Product Name"></kendo-grid-column>
|
|
24
|
-
* </kendo-grid>
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export class GridSpacerComponent {
|
|
28
|
-
hostClass = true;
|
|
29
|
-
get sizedClass() {
|
|
30
|
-
return isPresent(this.width);
|
|
31
|
-
}
|
|
32
|
-
get flexBasisStyle() {
|
|
33
|
-
return this.width;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the width of the GridSpacer.
|
|
37
|
-
* Accepts string values for the [CSS `flex-basis`](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis) property.
|
|
38
|
-
* If not set, the GridSpacer takes all available space.
|
|
39
|
-
*/
|
|
40
|
-
width;
|
|
41
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GridSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: GridSpacerComponent, isStandalone: true, selector: "kendo-grid-spacer", inputs: { width: "width" }, host: { properties: { "class.k-spacer": "this.hostClass", "class.k-spacer-sized": "this.sizedClass", "style.flexBasis": "this.flexBasisStyle" } }, ngImport: i0, template: ``, isInline: true });
|
|
43
|
-
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GridSpacerComponent, decorators: [{
|
|
45
|
-
type: Component,
|
|
46
|
-
args: [{
|
|
47
|
-
selector: 'kendo-grid-spacer',
|
|
48
|
-
template: ``,
|
|
49
|
-
standalone: true
|
|
50
|
-
}]
|
|
51
|
-
}], propDecorators: { hostClass: [{
|
|
52
|
-
type: HostBinding,
|
|
53
|
-
args: ['class.k-spacer']
|
|
54
|
-
}], sizedClass: [{
|
|
55
|
-
type: HostBinding,
|
|
56
|
-
args: ['class.k-spacer-sized']
|
|
57
|
-
}], flexBasisStyle: [{
|
|
58
|
-
type: HostBinding,
|
|
59
|
-
args: ['style.flexBasis']
|
|
60
|
-
}], width: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}] } });
|
|
@@ -1,20 +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
|
-
export const NON_DATA_CELL_CLASSES = 'k-hierarchy-cell k-detail-cell k-group-cell';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export const NON_DATA_ROW_CLASSES = 'k-grouping-row k-group-footer k-detail-row k-grid-norecords';
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export const IGNORE_TARGET_CLASSSES = 'k-icon k-svg-icon';
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export const IGNORE_CONTAINER_CLASSES = 'k-grid k-grid-ignore-click';
|
|
@@ -1,27 +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 { PreventableEvent } from '../../common/preventable-event';
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the `detailCollapse` event.
|
|
8
|
-
*
|
|
9
|
-
* The event fires when a detail row collapses.
|
|
10
|
-
*/
|
|
11
|
-
export class DetailCollapseEvent extends PreventableEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The `dataItem` for the collapsed row.
|
|
14
|
-
*/
|
|
15
|
-
dataItem;
|
|
16
|
-
/**
|
|
17
|
-
* The index of the collapsed row.
|
|
18
|
-
*/
|
|
19
|
-
index;
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
constructor(args) {
|
|
24
|
-
super();
|
|
25
|
-
Object.assign(this, args);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +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 { PreventableEvent } from '../../common/preventable-event';
|
|
6
|
-
/**
|
|
7
|
-
* Provides the arguments for the `detailExpand` event.
|
|
8
|
-
*
|
|
9
|
-
* The event fires when a detail row expands.
|
|
10
|
-
*/
|
|
11
|
-
export class DetailExpandEvent extends PreventableEvent {
|
|
12
|
-
/**
|
|
13
|
-
* Represents the `dataItem` for the expanded row.
|
|
14
|
-
*/
|
|
15
|
-
dataItem;
|
|
16
|
-
/**
|
|
17
|
-
* Represents the index of the expanded row.
|
|
18
|
-
*/
|
|
19
|
-
index;
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
constructor(args) {
|
|
24
|
-
super();
|
|
25
|
-
Object.assign(this, args);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,61 +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, TemplateRef, Optional, Input } from '@angular/core';
|
|
6
|
-
import { GridConfigurationErrorMessages } from '../../common/error-messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the detail template of the Grid ([more information and examples]({% slug detailrowtemplate_grid %})).
|
|
10
|
-
* Nest an `<ng-template>` tag with the `kendoGridDetailTemplate` directive inside a `<kendo-grid>` tag to define the detail template.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <kendo-grid [data]="data" selectable="true" style="height: 160px">
|
|
15
|
-
* <kendo-grid-column field="ProductName"></kendo-grid-column>
|
|
16
|
-
* <ng-template kendoGridDetailTemplate let-dataItem>
|
|
17
|
-
* @if (dataItem.Category) {
|
|
18
|
-
* <div>
|
|
19
|
-
* <header>{{dataItem.Category?.CategoryName}}</header>
|
|
20
|
-
* <span>{{dataItem.Category?.Description}}</span>
|
|
21
|
-
* </div>
|
|
22
|
-
* }
|
|
23
|
-
* </ng-template>
|
|
24
|
-
* </kendo-grid>
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export class DetailTemplateDirective {
|
|
29
|
-
templateRef;
|
|
30
|
-
/**
|
|
31
|
-
* Sets a function to decide if the detail row and the **Expand** or **Collapse** button display for a data item.
|
|
32
|
-
* The function receives the data item and its index.
|
|
33
|
-
*/
|
|
34
|
-
set showIf(fn) {
|
|
35
|
-
if (typeof fn !== 'function') {
|
|
36
|
-
throw new Error(GridConfigurationErrorMessages.functionType('showIf', fn));
|
|
37
|
-
}
|
|
38
|
-
this._condition = fn;
|
|
39
|
-
}
|
|
40
|
-
get showIf() {
|
|
41
|
-
return this._condition;
|
|
42
|
-
}
|
|
43
|
-
constructor(templateRef) {
|
|
44
|
-
this.templateRef = templateRef;
|
|
45
|
-
}
|
|
46
|
-
_condition = () => true;
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DetailTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
48
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: DetailTemplateDirective, isStandalone: true, selector: "[kendoGridDetailTemplate]", inputs: { showIf: ["kendoGridDetailTemplateShowIf", "showIf"] }, ngImport: i0 });
|
|
49
|
-
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DetailTemplateDirective, decorators: [{
|
|
51
|
-
type: Directive,
|
|
52
|
-
args: [{
|
|
53
|
-
selector: '[kendoGridDetailTemplate]',
|
|
54
|
-
standalone: true
|
|
55
|
-
}]
|
|
56
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
57
|
-
type: Optional
|
|
58
|
-
}] }], propDecorators: { showIf: [{
|
|
59
|
-
type: Input,
|
|
60
|
-
args: ["kendoGridDetailTemplateShowIf"]
|
|
61
|
-
}] } });
|