@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,331 +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, ContentChild, ContentChildren, ElementRef, NgZone, QueryList, Optional } from '@angular/core';
|
|
6
|
-
import { delay, take } from 'rxjs/operators';
|
|
7
|
-
import { SuspendService } from '../scrolling/suspend.service';
|
|
8
|
-
import { PDFService } from './pdf.service';
|
|
9
|
-
import { PDFMarginComponent } from './pdf-margin.component';
|
|
10
|
-
import { PDFTemplateDirective } from './pdf-template.directive';
|
|
11
|
-
import { exportElement, cloneNode } from './export-element';
|
|
12
|
-
import { GridQuery } from './grid-query';
|
|
13
|
-
import { ColumnBase } from '../columns/column-base';
|
|
14
|
-
import { PDFExportComponent } from '@progress/kendo-angular-pdf-export';
|
|
15
|
-
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
16
|
-
import { ContextService } from '../common/provider.service';
|
|
17
|
-
import { GridConfigurationErrorMessages } from '../common/error-messages';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
import * as i1 from "./pdf.service";
|
|
20
|
-
import * as i2 from "../scrolling/suspend.service";
|
|
21
|
-
import * as i3 from "../common/provider.service";
|
|
22
|
-
const createElement = (tagName, className) => {
|
|
23
|
-
const element = document.createElement(tagName);
|
|
24
|
-
if (className) {
|
|
25
|
-
element.className = className;
|
|
26
|
-
}
|
|
27
|
-
return element;
|
|
28
|
-
};
|
|
29
|
-
const createDiv = (className) => {
|
|
30
|
-
return createElement('div', className);
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Configures the settings for exporting the Grid to PDF. ([See example]({% slug pdfexport_grid %})).
|
|
34
|
-
*
|
|
35
|
-
* Use this component to customize PDF export options for the Grid.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```html
|
|
39
|
-
* <kendo-grid>
|
|
40
|
-
* <kendo-grid-pdf [allPages]="true" [delay]="100"></kendo-grid-pdf>
|
|
41
|
-
* </kendo-grid>
|
|
42
|
-
* ```
|
|
43
|
-
* @remarks
|
|
44
|
-
* Supported children components are: {@link PDFMarginComponent}.
|
|
45
|
-
*/
|
|
46
|
-
export class PDFComponent extends PDFExportComponent {
|
|
47
|
-
pdfService;
|
|
48
|
-
suspendService;
|
|
49
|
-
ngZone;
|
|
50
|
-
ctx;
|
|
51
|
-
/**
|
|
52
|
-
* Exports all Grid pages, starting from the first page.
|
|
53
|
-
*/
|
|
54
|
-
allPages;
|
|
55
|
-
/**
|
|
56
|
-
* Sets the delay in milliseconds before exporting the Grid content.
|
|
57
|
-
* Use this property when exporting complex components in Grid templates, such as charts or data-bound components with asynchronous data retrieval. ([See example]({% slug pdfexport_grid %}#toc-exporting-all-pages)).
|
|
58
|
-
*
|
|
59
|
-
* @default 0
|
|
60
|
-
*/
|
|
61
|
-
delay = 0;
|
|
62
|
-
columns = new QueryList();
|
|
63
|
-
/**
|
|
64
|
-
* @hidden
|
|
65
|
-
*/
|
|
66
|
-
marginComponent;
|
|
67
|
-
/**
|
|
68
|
-
* @hidden
|
|
69
|
-
*/
|
|
70
|
-
pageTemplateDirective;
|
|
71
|
-
progress;
|
|
72
|
-
component;
|
|
73
|
-
container;
|
|
74
|
-
skip;
|
|
75
|
-
pageSize;
|
|
76
|
-
originalHeight;
|
|
77
|
-
originalOverflow;
|
|
78
|
-
saveSubscription;
|
|
79
|
-
drawSubscription;
|
|
80
|
-
renderAllPages;
|
|
81
|
-
originalColumns;
|
|
82
|
-
restoreDOMVirtualization;
|
|
83
|
-
constructor(pdfService, suspendService, ngZone, element, ctx) {
|
|
84
|
-
super(element);
|
|
85
|
-
this.pdfService = pdfService;
|
|
86
|
-
this.suspendService = suspendService;
|
|
87
|
-
this.ngZone = ngZone;
|
|
88
|
-
this.ctx = ctx;
|
|
89
|
-
this.saveSubscription = pdfService.savePDF.subscribe(this.savePDF.bind(this));
|
|
90
|
-
this.drawSubscription = pdfService.drawPDF.subscribe(this.drawPDF.bind(this));
|
|
91
|
-
this.reset = this.reset.bind(this);
|
|
92
|
-
this.draw = this.draw.bind(this);
|
|
93
|
-
if (this.ctx) {
|
|
94
|
-
this.ctx.pdfComponent = this;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
ngOnDestroy() {
|
|
98
|
-
this.saveSubscription.unsubscribe();
|
|
99
|
-
this.drawSubscription.unsubscribe();
|
|
100
|
-
this.reset();
|
|
101
|
-
if (this.ctx?.pdfComponent === this) {
|
|
102
|
-
this.ctx.pdfComponent = undefined;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* @hidden
|
|
107
|
-
*/
|
|
108
|
-
saveAs() {
|
|
109
|
-
throw new Error(GridConfigurationErrorMessages.unsupportedMethod('saveAs', 'GridComponent.saveAsPDF'));
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* @hidden
|
|
113
|
-
*/
|
|
114
|
-
export() {
|
|
115
|
-
throw new Error(GridConfigurationErrorMessages.unsupportedMethod('export', 'GridComponent.drawPDF'));
|
|
116
|
-
}
|
|
117
|
-
savePDF(component) {
|
|
118
|
-
this.createPDF(component, this.draw);
|
|
119
|
-
}
|
|
120
|
-
drawPDF({ component, promise }) {
|
|
121
|
-
this.createPDF(component, () => {
|
|
122
|
-
this.createExportGroup(promise);
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
createPDF(component, callback) {
|
|
126
|
-
const pageSize = component.pageSize;
|
|
127
|
-
const total = component.view.total;
|
|
128
|
-
const columns = this.columns.toArray();
|
|
129
|
-
if (columns.length) {
|
|
130
|
-
this.originalColumns = component.columns.toArray();
|
|
131
|
-
}
|
|
132
|
-
this.component = component;
|
|
133
|
-
this.suspendService.scroll = true;
|
|
134
|
-
this.pdfService.exporting = true;
|
|
135
|
-
this.initProgress();
|
|
136
|
-
this.renderAllPages = this.allPages && pageSize < total;
|
|
137
|
-
if (component.isVirtual && component.pageable) {
|
|
138
|
-
component.scrollable = 'scrollable';
|
|
139
|
-
this.restoreDOMVirtualization = true;
|
|
140
|
-
if (!this.renderAllPages) {
|
|
141
|
-
this.changePage(component.skip, pageSize, callback, columns);
|
|
142
|
-
if (!(columns.length || component.virtualColumns)) {
|
|
143
|
-
return;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
if (this.renderAllPages) {
|
|
148
|
-
this.skip = component.skip;
|
|
149
|
-
this.pageSize = pageSize;
|
|
150
|
-
this.changePage(0, total, callback, columns);
|
|
151
|
-
}
|
|
152
|
-
else if (columns.length || component.virtualColumns) {
|
|
153
|
-
this.changeColumns(columns, callback);
|
|
154
|
-
}
|
|
155
|
-
else {
|
|
156
|
-
callback();
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
initProgress() {
|
|
160
|
-
if (!isDocumentAvailable()) {
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
const wrapperElement = this.component.wrapper.nativeElement;
|
|
164
|
-
const progress = this.progress = createDiv('k-loading-pdf-mask');
|
|
165
|
-
const overlay = cloneNode(wrapperElement);
|
|
166
|
-
progress.appendChild(overlay);
|
|
167
|
-
progress.appendChild(createDiv('k-loading-color'));
|
|
168
|
-
progress.appendChild(createElement('span', 'k-i-loading k-icon'));
|
|
169
|
-
this.originalHeight = wrapperElement.style.height;
|
|
170
|
-
this.originalOverflow = wrapperElement.style.overflow;
|
|
171
|
-
wrapperElement.style.height = wrapperElement.offsetHeight + 'px';
|
|
172
|
-
wrapperElement.style.overflow = 'hidden';
|
|
173
|
-
wrapperElement.appendChild(progress);
|
|
174
|
-
this.applyScroll(overlay);
|
|
175
|
-
}
|
|
176
|
-
applyScroll(overlay) {
|
|
177
|
-
const query = new GridQuery(this.component.wrapper.nativeElement);
|
|
178
|
-
const content = query.content();
|
|
179
|
-
if (content) {
|
|
180
|
-
const overlayQuery = new GridQuery(overlay);
|
|
181
|
-
const overlayContent = overlayQuery.content();
|
|
182
|
-
overlayContent.scrollTop = content.scrollTop;
|
|
183
|
-
overlayContent.scrollLeft = content.scrollLeft;
|
|
184
|
-
if (!this.ctx?.grid?.isStacked) {
|
|
185
|
-
const header = query.header();
|
|
186
|
-
const overlayHeader = overlayQuery.header();
|
|
187
|
-
if (header && overlayHeader) {
|
|
188
|
-
overlayHeader.scrollLeft = header.scrollLeft;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
const footer = query.footer();
|
|
192
|
-
const overlayFooter = overlayQuery.footer();
|
|
193
|
-
if (footer && overlayFooter) {
|
|
194
|
-
overlayFooter.scrollLeft = footer.scrollLeft;
|
|
195
|
-
}
|
|
196
|
-
const lockedContent = query.content(true);
|
|
197
|
-
if (lockedContent) {
|
|
198
|
-
const overlayLockedContent = overlayQuery.content(true);
|
|
199
|
-
overlayLockedContent.scrollTop = lockedContent.scrollTop;
|
|
200
|
-
overlayLockedContent.scrollLeft = lockedContent.scrollLeft;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
draw() {
|
|
205
|
-
this.createExportElement((element) => {
|
|
206
|
-
this.save(element, this.fileName);
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
createExportGroup(promise) {
|
|
210
|
-
this.createExportElement((element) => {
|
|
211
|
-
this.exportElement(element).then(group => promise.resolve(group));
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
createExportElement(callback) {
|
|
215
|
-
this.ngZone.runOutsideAngular(() => {
|
|
216
|
-
const container = this.container = createDiv('k-grid-pdf-export-element');
|
|
217
|
-
const element = exportElement(this.component.wrapper.nativeElement, this.ctx?.grid.size || 'medium');
|
|
218
|
-
container.appendChild(element);
|
|
219
|
-
document.body.appendChild(container);
|
|
220
|
-
callback(element);
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
drawOptions() {
|
|
224
|
-
const options = super.drawOptions();
|
|
225
|
-
options._destructive = true;
|
|
226
|
-
return options;
|
|
227
|
-
}
|
|
228
|
-
cleanup() {
|
|
229
|
-
super.cleanup();
|
|
230
|
-
this.pdfService.exporting = false;
|
|
231
|
-
if (this.component) {
|
|
232
|
-
const originalColumns = this.originalColumns;
|
|
233
|
-
delete this.originalColumns;
|
|
234
|
-
if (this.restoreDOMVirtualization) {
|
|
235
|
-
this.component.scrollable = 'virtual';
|
|
236
|
-
this.pdfService.restoreDOMVirtualization.emit();
|
|
237
|
-
this.restoreDOMVirtualization = false;
|
|
238
|
-
}
|
|
239
|
-
if (this.renderAllPages) {
|
|
240
|
-
this.changePage(this.skip, this.pageSize, this.reset, originalColumns);
|
|
241
|
-
}
|
|
242
|
-
else if (originalColumns || this.component.virtualColumns) {
|
|
243
|
-
this.changeColumns(originalColumns, this.reset);
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
this.reset();
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
this.reset();
|
|
251
|
-
}
|
|
252
|
-
this.removeContainer();
|
|
253
|
-
}
|
|
254
|
-
removeContainer() {
|
|
255
|
-
if (this.container) {
|
|
256
|
-
document.body.removeChild(this.container);
|
|
257
|
-
delete this.container;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
changePage(skip, _take, callback, columns) {
|
|
261
|
-
this.ngZone.run(() => {
|
|
262
|
-
this.pdfService.dataChanged.pipe(take(1)).subscribe(() => {
|
|
263
|
-
if ((columns && columns.length) || this.component.virtualColumns) {
|
|
264
|
-
this.changeColumns(columns, callback);
|
|
265
|
-
}
|
|
266
|
-
else {
|
|
267
|
-
this.onStable(callback);
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
this.component.notifyPageChange('pdf', { skip: skip, take: _take });
|
|
271
|
-
});
|
|
272
|
-
}
|
|
273
|
-
changeColumns(columns, callback) {
|
|
274
|
-
this.ngZone.run(() => {
|
|
275
|
-
this.onStable(callback);
|
|
276
|
-
if (columns && columns.length) {
|
|
277
|
-
this.component.columns.reset(columns);
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
}
|
|
281
|
-
reset() {
|
|
282
|
-
this.suspendService.scroll = false;
|
|
283
|
-
this.renderAllPages = false;
|
|
284
|
-
if (!this.component) {
|
|
285
|
-
return;
|
|
286
|
-
}
|
|
287
|
-
const wrapperElement = this.component.wrapper.nativeElement;
|
|
288
|
-
wrapperElement.removeChild(this.progress);
|
|
289
|
-
wrapperElement.style.height = this.originalHeight;
|
|
290
|
-
wrapperElement.style.overflow = this.originalOverflow;
|
|
291
|
-
delete this.progress;
|
|
292
|
-
delete this.component;
|
|
293
|
-
}
|
|
294
|
-
onStable(callback) {
|
|
295
|
-
// not sure if it is an actual scenario. occurs in the tests.
|
|
296
|
-
// onStable is triggered in the same pass without the change detection.
|
|
297
|
-
// thus, the callback is called before the changes are applied without the timeout.
|
|
298
|
-
setTimeout(() => {
|
|
299
|
-
let onStable = this.ngZone.onStable.asObservable().pipe(take(1));
|
|
300
|
-
if (this.delay > 0) {
|
|
301
|
-
onStable = onStable.pipe(delay(this.delay));
|
|
302
|
-
}
|
|
303
|
-
onStable.subscribe(callback);
|
|
304
|
-
}, 0);
|
|
305
|
-
}
|
|
306
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFComponent, deps: [{ token: i1.PDFService }, { token: i2.SuspendService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i3.ContextService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
307
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PDFComponent, isStandalone: true, selector: "kendo-grid-pdf", inputs: { allPages: "allPages", delay: "delay" }, queries: [{ propertyName: "marginComponent", first: true, predicate: PDFMarginComponent, descendants: true }, { propertyName: "pageTemplateDirective", first: true, predicate: PDFTemplateDirective, descendants: true }, { propertyName: "columns", predicate: ColumnBase }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
308
|
-
}
|
|
309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFComponent, decorators: [{
|
|
310
|
-
type: Component,
|
|
311
|
-
args: [{
|
|
312
|
-
selector: 'kendo-grid-pdf',
|
|
313
|
-
template: '',
|
|
314
|
-
standalone: true
|
|
315
|
-
}]
|
|
316
|
-
}], ctorParameters: () => [{ type: i1.PDFService }, { type: i2.SuspendService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i3.ContextService, decorators: [{
|
|
317
|
-
type: Optional
|
|
318
|
-
}] }], propDecorators: { allPages: [{
|
|
319
|
-
type: Input
|
|
320
|
-
}], delay: [{
|
|
321
|
-
type: Input
|
|
322
|
-
}], columns: [{
|
|
323
|
-
type: ContentChildren,
|
|
324
|
-
args: [ColumnBase]
|
|
325
|
-
}], marginComponent: [{
|
|
326
|
-
type: ContentChild,
|
|
327
|
-
args: [PDFMarginComponent, { static: false }]
|
|
328
|
-
}], pageTemplateDirective: [{
|
|
329
|
-
type: ContentChild,
|
|
330
|
-
args: [PDFTemplateDirective, { static: false }]
|
|
331
|
-
}] } });
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { IconsService, KENDO_ICONS } from '@progress/kendo-angular-icons';
|
|
7
|
-
import { KENDO_GRID_PDF_EXPORT } from '../directives';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@progress/kendo-angular-icons";
|
|
10
|
-
import * as i2 from "./pdf.component";
|
|
11
|
-
import * as i3 from "./pdf-margin.component";
|
|
12
|
-
import * as i4 from "./pdf-command.directive";
|
|
13
|
-
import * as i5 from "./pdf-template.directive";
|
|
14
|
-
import * as i6 from "./pdf-command-tool.directive";
|
|
15
|
-
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
16
|
-
/**
|
|
17
|
-
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the Grid PDF component.
|
|
18
|
-
* Use this module to enable PDF export in the Grid for NgModule-based applications.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import { NgModule } from '@angular/core';
|
|
23
|
-
* import { BrowserModule } from "@angular/platform-browser";
|
|
24
|
-
* import { GridModule, PDFModule } from '@progress/kendo-angular-grid';
|
|
25
|
-
* import { AppComponent } from './app.component';
|
|
26
|
-
*
|
|
27
|
-
* @NgModule({
|
|
28
|
-
* declarations: [AppComponent],
|
|
29
|
-
* imports: [BrowserModule, GridModule, PDFModule],
|
|
30
|
-
* bootstrap: [AppComponent]
|
|
31
|
-
* })
|
|
32
|
-
* export class AppModule {}
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export class PDFModule {
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
37
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: PDFModule, imports: [i1.IconComponent, i1.SVGIconComponent, i2.PDFComponent, i3.PDFMarginComponent, i4.PDFCommandDirective, i5.PDFTemplateDirective, i6.PDFCommandToolbarDirective], exports: [i2.PDFComponent, i3.PDFMarginComponent, i4.PDFCommandDirective, i5.PDFTemplateDirective, i6.PDFCommandToolbarDirective] });
|
|
38
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFModule, providers: [IconsService], imports: [KENDO_ICONS, i4.PDFCommandDirective] });
|
|
39
|
-
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFModule, decorators: [{
|
|
41
|
-
type: NgModule,
|
|
42
|
-
args: [{
|
|
43
|
-
imports: [...KENDO_ICONS, ...KENDO_GRID_PDF_EXPORT],
|
|
44
|
-
exports: [...KENDO_GRID_PDF_EXPORT],
|
|
45
|
-
providers: [IconsService]
|
|
46
|
-
}]
|
|
47
|
-
}] });
|
|
@@ -1,42 +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 { EventEmitter, Injectable, isDevMode } from '@angular/core';
|
|
6
|
-
import { GridConfigurationErrorMessages } from '../common/error-messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export class PDFService {
|
|
12
|
-
savePDF = new EventEmitter();
|
|
13
|
-
drawPDF = new EventEmitter();
|
|
14
|
-
exportClick = new EventEmitter();
|
|
15
|
-
dataChanged = new EventEmitter();
|
|
16
|
-
exporting;
|
|
17
|
-
restoreDOMVirtualization = new EventEmitter();
|
|
18
|
-
save(component) {
|
|
19
|
-
this.emitEvent(this.savePDF, component);
|
|
20
|
-
}
|
|
21
|
-
draw(component, promise) {
|
|
22
|
-
this.emitEvent(this.drawPDF, { component, promise });
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
emitEvent(emitter, args) {
|
|
28
|
-
if (emitter.observers.length === 0) {
|
|
29
|
-
if (isDevMode()) {
|
|
30
|
-
throw new Error(GridConfigurationErrorMessages.requiredModule('PDF', 'PDFModule', '<kendo-grid-pdf>'));
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
emitter.emit(args);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
38
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFService });
|
|
39
|
-
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFService, decorators: [{
|
|
41
|
-
type: Injectable
|
|
42
|
-
}] });
|
|
@@ -1,8 +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
|
-
* Generated bundle index. Do not edit.
|
|
7
|
-
*/
|
|
8
|
-
export * from './index';
|
|
@@ -1,39 +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 } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* The directive allows customizing the loading indicator for virtual scrolling cells in the Grid.
|
|
9
|
-
* Place an `<ng-template>` tag with the `kendoGridCellLoadingTemplate` directive inside `<kendo-grid>` to define the loading cell template. ([See example]({% slug virtualscrolling_grid %}#toc-custom-loading-skeleton)).
|
|
10
|
-
*
|
|
11
|
-
* The template context is set to the current column. You can use the following field:
|
|
12
|
-
* - `column`—The current column instance. This is the default context for any template variable that uses the `let-x` syntax (for example, `let-column`).
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-grid ... scrollable="virtual" [rowHeight]="36" [height]="450">
|
|
17
|
-
* <ng-template kendoGridCellLoadingTemplate let-column>
|
|
18
|
-
* ...
|
|
19
|
-
* </ng-template>
|
|
20
|
-
* </kendo-grid>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export class CellLoadingTemplateDirective {
|
|
24
|
-
templateRef;
|
|
25
|
-
constructor(templateRef) {
|
|
26
|
-
this.templateRef = templateRef;
|
|
27
|
-
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CellLoadingTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: CellLoadingTemplateDirective, isStandalone: true, selector: "[kendoGridCellLoadingTemplate]", ngImport: i0 });
|
|
30
|
-
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CellLoadingTemplateDirective, decorators: [{
|
|
32
|
-
type: Directive,
|
|
33
|
-
args: [{
|
|
34
|
-
selector: '[kendoGridCellLoadingTemplate]',
|
|
35
|
-
standalone: true
|
|
36
|
-
}]
|
|
37
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
38
|
-
type: Optional
|
|
39
|
-
}] }] });
|
|
@@ -1,44 +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 } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Lets you customize the content of Grid cells.
|
|
9
|
-
* Place an `<ng-template>` tag with the `kendoGridCellTemplate` directive inside a `<kendo-grid-column>` tag to define the cell template. ([See example](slug:templates_columns_grid#toc-cell-template)).
|
|
10
|
-
*
|
|
11
|
-
* The template context is set to the current data item. You can use these fields:
|
|
12
|
-
* - `columnIndex`—The current column index. Use `let-columnIndex="columnIndex"` in your template.
|
|
13
|
-
* - `rowIndex`—The current data row index. Use `let-rowIndex="rowIndex"` in your template.
|
|
14
|
-
* - `dataItem`—The current data item. This is the default context for any template variable that uses the `let-x` syntax, such as `let-dataItem`.
|
|
15
|
-
* - `column`—The current column instance. Use `let-column="column"` in your template.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```html
|
|
19
|
-
* <kendo-grid [data]="gridData" ...>
|
|
20
|
-
* <kendo-grid-column field="ProductName">
|
|
21
|
-
* <ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex" let-column="column">
|
|
22
|
-
* Data Row: {{rowIndex}}
|
|
23
|
-
* </ng-template>
|
|
24
|
-
* </kendo-grid-column>
|
|
25
|
-
* </kendo-grid>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export class CellTemplateDirective {
|
|
29
|
-
templateRef;
|
|
30
|
-
constructor(templateRef) {
|
|
31
|
-
this.templateRef = templateRef;
|
|
32
|
-
}
|
|
33
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
34
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: CellTemplateDirective, isStandalone: true, selector: "[kendoGridCellTemplate]", ngImport: i0 });
|
|
35
|
-
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CellTemplateDirective, decorators: [{
|
|
37
|
-
type: Directive,
|
|
38
|
-
args: [{
|
|
39
|
-
selector: '[kendoGridCellTemplate]',
|
|
40
|
-
standalone: true
|
|
41
|
-
}]
|
|
42
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
43
|
-
type: Optional
|
|
44
|
-
}] }] });
|