@progress/kendo-angular-grid 24.2.2 → 25.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/fesm2022/progress-kendo-angular-grid.mjs +711 -711
- package/index.d.ts +14651 -272
- package/package-metadata.mjs +2 -2
- package/package.json +29 -29
- package/schematics/ngAdd/index.js +7 -7
- package/adaptiveness/adaptive-mode.d.ts +0 -8
- package/adaptiveness/adaptive-renderer.component.d.ts +0 -89
- package/aggregates/aggregate-types.d.ts +0 -58
- package/aggregates/selection-aggregate.service.d.ts +0 -43
- package/aggregates/status-bar-template.directive.d.ts +0 -21
- package/aggregates/status-bar.component.d.ts +0 -23
- package/column-menu/column-chooser-content.component.d.ts +0 -61
- package/column-menu/column-chooser.component.d.ts +0 -86
- package/column-menu/column-list-kb-nav.service.d.ts +0 -22
- package/column-menu/column-list.component.d.ts +0 -78
- package/column-menu/column-locked-change-event.d.ts +0 -18
- package/column-menu/column-menu-autosize-all.component.d.ts +0 -48
- package/column-menu/column-menu-autosize.component.d.ts +0 -52
- package/column-menu/column-menu-chooser.component.d.ts +0 -73
- package/column-menu/column-menu-container.component.d.ts +0 -21
- package/column-menu/column-menu-expandable-item.interface.d.ts +0 -14
- package/column-menu/column-menu-filter.component.d.ts +0 -76
- package/column-menu/column-menu-item-base.d.ts +0 -34
- package/column-menu/column-menu-item-content-template.directive.d.ts +0 -34
- package/column-menu/column-menu-item.component.d.ts +0 -140
- package/column-menu/column-menu-item.directive.d.ts +0 -76
- package/column-menu/column-menu-lock.component.d.ts +0 -55
- package/column-menu/column-menu-position.component.d.ts +0 -89
- package/column-menu/column-menu-settings.interface.d.ts +0 -58
- package/column-menu/column-menu-sort.component.d.ts +0 -50
- package/column-menu/column-menu-stick.component.d.ts +0 -57
- package/column-menu/column-menu-template.directive.d.ts +0 -36
- package/column-menu/column-menu.component.d.ts +0 -189
- package/column-menu/column-menu.service.d.ts +0 -64
- package/column-menu/column-sticky-change-event.d.ts +0 -18
- package/column-menu/column-visibility-change-event.d.ts +0 -18
- package/column-menu/utils.d.ts +0 -44
- package/column-resizing/column-handle.directive.d.ts +0 -60
- package/column-resizing/column-resize.interface.d.ts +0 -75
- package/column-resizing/column-resizing.service.d.ts +0 -43
- package/column-resizing/table.directive.d.ts +0 -34
- package/columns/cell-rowspan.d.ts +0 -14
- package/columns/checkbox-column.component.d.ts +0 -53
- package/columns/column-base.d.ts +0 -322
- package/columns/column-common.d.ts +0 -53
- package/columns/column-group.component.d.ts +0 -75
- package/columns/column-list.d.ts +0 -21
- package/columns/column.component.d.ts +0 -112
- package/columns/columns-container.d.ts +0 -31
- package/columns/command-column.component.d.ts +0 -41
- package/columns/pin-column.component.d.ts +0 -45
- package/columns/reorder-column.component.d.ts +0 -64
- package/columns/sort-settings.d.ts +0 -80
- package/columns/span-column.component.d.ts +0 -122
- package/common/adaptiveness.service.d.ts +0 -50
- package/common/cell-click-event-args.interface.d.ts +0 -44
- package/common/clipboard-types.d.ts +0 -98
- package/common/clipboard.directive.d.ts +0 -53
- package/common/clipboard.service.d.ts +0 -28
- package/common/column-info.service.d.ts +0 -38
- package/common/create-form-group.d.ts +0 -12
- package/common/data-layout-mode.d.ts +0 -24
- package/common/default-track-by.d.ts +0 -9
- package/common/dom-events.service.d.ts +0 -24
- package/common/error-messages.d.ts +0 -20
- package/common/event-emitter.d.ts +0 -13
- package/common/fetch-data-callback.d.ts +0 -14
- package/common/field-datatype.d.ts +0 -9
- package/common/filter-descriptor-differ.d.ts +0 -13
- package/common/filter-operator.interface.d.ts +0 -11
- package/common/grid-col-size.d.ts +0 -13
- package/common/id.service.d.ts +0 -24
- package/common/pager-settings.d.ts +0 -105
- package/common/preventable-event.d.ts +0 -20
- package/common/provider.service.d.ts +0 -41
- package/common/remove-confirmation.d.ts +0 -21
- package/common/resizable-settings.d.ts +0 -26
- package/common/single-popup.service.d.ts +0 -64
- package/common/size-options.d.ts +0 -9
- package/common/sort.service.d.ts +0 -13
- package/common/toolbar-tool-base.directive.d.ts +0 -27
- package/constants.d.ts +0 -16
- package/csv/csv-command-tool.directive.d.ts +0 -38
- package/csv/csv-command.directive.d.ts +0 -38
- package/csv/csv-export-event.d.ts +0 -15
- package/csv/csv.component.d.ts +0 -132
- package/csv/csv.module.d.ts +0 -32
- package/csv/csv.service.d.ts +0 -16
- package/data/change-event-args.interface.d.ts +0 -44
- package/data/change-notification.service.d.ts +0 -18
- package/data/data-item.interface.d.ts +0 -34
- package/data/data-mapping.service.d.ts +0 -48
- package/data/data.collection.d.ts +0 -47
- package/data/data.iterators.d.ts +0 -85
- package/data/grid-item.interface.d.ts +0 -16
- package/data/group-footer-item.interface.d.ts +0 -31
- package/data/group-item.interface.d.ts +0 -30
- package/databinding.directive.d.ts +0 -124
- package/directives.d.ts +0 -285
- package/dragdrop/column-reorder-config.d.ts +0 -13
- package/dragdrop/column-reorder-event.d.ts +0 -27
- package/dragdrop/column-reorder.service.d.ts +0 -15
- package/dragdrop/common.d.ts +0 -38
- package/dragdrop/context-types.d.ts +0 -17
- package/dragdrop/drag-and-drop.service.d.ts +0 -23
- package/dragdrop/drag-hint.service.d.ts +0 -34
- package/dragdrop/draggable-column.directive.d.ts +0 -39
- package/dragdrop/drop-cue.service.d.ts +0 -18
- package/dragdrop/drop-target.directive.d.ts +0 -26
- package/editing/add-command-tool.directive.d.ts +0 -38
- package/editing/add-command.directive.d.ts +0 -34
- package/editing/add-event-args.interface.d.ts +0 -10
- package/editing/cancel-command-tool.directive.d.ts +0 -38
- package/editing/cancel-command.directive.d.ts +0 -54
- package/editing/cancel-event-args.interface.d.ts +0 -16
- package/editing/cell-close-event.d.ts +0 -37
- package/editing/edit-command-tool.directive.d.ts +0 -39
- package/editing/edit-command.directive.d.ts +0 -53
- package/editing/edit-event-args.interface.d.ts +0 -26
- package/editing/edit-row-options.interface.d.ts +0 -24
- package/editing/edit-template.directive.d.ts +0 -32
- package/editing/edit.service.d.ts +0 -71
- package/editing/form/dialog-form.component.d.ts +0 -27
- package/editing/form/form-formfield.component.d.ts +0 -24
- package/editing/form/form.component.d.ts +0 -28
- package/editing/form/index.d.ts +0 -8
- package/editing/form/models.d.ts +0 -202
- package/editing/local-data-changes.service.d.ts +0 -15
- package/editing/remove-command-tool.directive.d.ts +0 -40
- package/editing/remove-command.directive.d.ts +0 -51
- package/editing/remove-event-args.interface.d.ts +0 -11
- package/editing/save-command-tool.directive.d.ts +0 -39
- package/editing/save-command.directive.d.ts +0 -53
- package/editing/save-event-args.interface.d.ts +0 -16
- package/editing/toolbar-editing-tool-base.directive.d.ts +0 -30
- package/editing-directives/create-form-group-args.interface.d.ts +0 -10
- package/editing-directives/edit-service.interface.d.ts +0 -33
- package/editing-directives/editing-directive-base.d.ts +0 -63
- package/editing-directives/external-editing.directive.d.ts +0 -55
- package/editing-directives/in-cell-editing.directive.d.ts +0 -41
- package/editing-directives/local-edit.service.d.ts +0 -22
- package/editing-directives/local-row-edit.service.d.ts +0 -11
- package/editing-directives/reactive-editing.directive.d.ts +0 -32
- package/editing-directives/row-editing-directive-base.d.ts +0 -25
- package/editing-directives/template-editing.directive.d.ts +0 -36
- package/editing-directives/utils.d.ts +0 -9
- package/excel/excel-command-tool.directive.d.ts +0 -38
- package/excel/excel-command.directive.d.ts +0 -38
- package/excel/excel-export-event.d.ts +0 -15
- package/excel/excel.component.d.ts +0 -90
- package/excel/excel.module.d.ts +0 -33
- package/excel/excel.service.d.ts +0 -16
- package/filtering/base-filter-cell.component.d.ts +0 -81
- package/filtering/boolean-filter.component.d.ts +0 -47
- package/filtering/cell/autocomplete-filter-cell.component.d.ts +0 -33
- package/filtering/cell/boolean-filter-cell.component.d.ts +0 -44
- package/filtering/cell/date-filter-cell.component.d.ts +0 -51
- package/filtering/cell/filter-cell-component.factory.d.ts +0 -12
- package/filtering/cell/filter-cell-host.directive.d.ts +0 -17
- package/filtering/cell/filter-cell-operators.component.d.ts +0 -117
- package/filtering/cell/filter-cell-template.directive.d.ts +0 -35
- package/filtering/cell/filter-cell-wrapper.component.d.ts +0 -21
- package/filtering/cell/filter-cell.component.d.ts +0 -25
- package/filtering/cell/numeric-filter-cell.component.d.ts +0 -61
- package/filtering/cell/string-filter-cell.component.d.ts +0 -56
- package/filtering/date-filter.component.d.ts +0 -104
- package/filtering/filter-component.interface.d.ts +0 -13
- package/filtering/filter-host.directive.d.ts +0 -35
- package/filtering/filter-input-wrapper.component.d.ts +0 -39
- package/filtering/filter-input.directive.d.ts +0 -35
- package/filtering/filter-row.component.d.ts +0 -34
- package/filtering/filter.service.d.ts +0 -34
- package/filtering/filterable.d.ts +0 -56
- package/filtering/menu/boolean-filter-menu.component.d.ts +0 -76
- package/filtering/menu/date-filter-menu-input.component.d.ts +0 -49
- package/filtering/menu/date-filter-menu.component.d.ts +0 -64
- package/filtering/menu/filter-menu-component.factory.d.ts +0 -12
- package/filtering/menu/filter-menu-container.component.d.ts +0 -88
- package/filtering/menu/filter-menu-dropdownlist.directive.d.ts +0 -19
- package/filtering/menu/filter-menu-host.directive.d.ts +0 -22
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +0 -53
- package/filtering/menu/filter-menu-template.directive.d.ts +0 -37
- package/filtering/menu/filter-menu.component.d.ts +0 -63
- package/filtering/menu/filter-radio-button.directive.d.ts +0 -19
- package/filtering/menu/menu-tabbing.service.d.ts +0 -18
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +0 -73
- package/filtering/menu/numeric-filter-menu.component.d.ts +0 -82
- package/filtering/menu/string-filter-menu-input.component.d.ts +0 -32
- package/filtering/menu/string-filter-menu.component.d.ts +0 -78
- package/filtering/multicheckbox-filter.component.d.ts +0 -50
- package/filtering/numeric-filter.component.d.ts +0 -85
- package/filtering/operators/after-eq-filter-operator.component.d.ts +0 -49
- package/filtering/operators/after-filter-operator.component.d.ts +0 -49
- package/filtering/operators/before-eq-filter-operator.component.d.ts +0 -49
- package/filtering/operators/before-filter-operator.component.d.ts +0 -49
- package/filtering/operators/contains-filter-operator.component.d.ts +0 -42
- package/filtering/operators/ends-with-filter-operator.component.d.ts +0 -42
- package/filtering/operators/eq-filter-operator.component.d.ts +0 -90
- package/filtering/operators/filter-operator.base.d.ts +0 -44
- package/filtering/operators/gt-filter-operator.component.d.ts +0 -42
- package/filtering/operators/gte-filter-operator.component.d.ts +0 -42
- package/filtering/operators/is-empty-filter-operator.component.d.ts +0 -42
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +0 -42
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +0 -89
- package/filtering/operators/isnull-filter-operator.component.d.ts +0 -89
- package/filtering/operators/lt-filter-operator.component.d.ts +0 -42
- package/filtering/operators/lte-filter-operator.component.d.ts +0 -42
- package/filtering/operators/neq-filter-operator.component.d.ts +0 -89
- package/filtering/operators/not-contains-filter-operator.component.d.ts +0 -42
- package/filtering/operators/starts-with-filter-operator.component.d.ts +0 -42
- package/filtering/string-filter.component.d.ts +0 -48
- package/grid.component.d.ts +0 -1156
- package/grid.module.d.ts +0 -179
- package/grouping/group-footer-template.directive.d.ts +0 -33
- package/grouping/group-header-column-template.directive.d.ts +0 -34
- package/grouping/group-header-template.directive.d.ts +0 -35
- package/grouping/group-header.component.d.ts +0 -52
- package/grouping/group-info.service.d.ts +0 -21
- package/grouping/group-key.interface.d.ts +0 -29
- package/grouping/group-panel.component.d.ts +0 -75
- package/grouping/group-rows-args.interface.d.ts +0 -23
- package/grouping/group-settings.d.ts +0 -38
- package/grouping/groups.service.d.ts +0 -36
- package/grouping/sticky-groups/models.d.ts +0 -24
- package/grouping/sticky-groups/sticky-group-container.component.d.ts +0 -114
- package/grouping/sticky-groups/sticky-groups-utils.d.ts +0 -71
- package/grouping/sticky-groups/sticky-groups.service.d.ts +0 -132
- package/grouping/utils.d.ts +0 -10
- package/highlight/highlight-item.d.ts +0 -17
- package/highlight/highlight.directive.d.ts +0 -62
- package/layout/resizable.directive.d.ts +0 -28
- package/layout/resize.service.d.ts +0 -18
- package/layout/responsive.service.d.ts +0 -20
- package/layout/row-sync.d.ts +0 -8
- package/layout/sizing-options.service.d.ts +0 -15
- package/localization/custom-messages.component.d.ts +0 -28
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -744
- package/navigation/default-focusable-element.d.ts +0 -22
- package/navigation/focus-group.d.ts +0 -35
- package/navigation/focus-root.d.ts +0 -25
- package/navigation/focusable-element.interface.d.ts +0 -37
- package/navigation/focusable.directive.d.ts +0 -73
- package/navigation/grid-focusable-element.d.ts +0 -18
- package/navigation/item-map.d.ts +0 -19
- package/navigation/logical-cell.directive.d.ts +0 -59
- package/navigation/logical-cell.interface.d.ts +0 -20
- package/navigation/logical-row.directive.d.ts +0 -36
- package/navigation/logical-row.interface.d.ts +0 -13
- package/navigation/navigable-settings.d.ts +0 -31
- package/navigation/navigation-cell.interface.d.ts +0 -52
- package/navigation/navigation-change.interface.d.ts +0 -13
- package/navigation/navigation-cursor.d.ts +0 -50
- package/navigation/navigation-metadata.d.ts +0 -24
- package/navigation/navigation-mode.d.ts +0 -43
- package/navigation/navigation-model.d.ts +0 -27
- package/navigation/navigation-row.interface.d.ts +0 -36
- package/navigation/navigation.service.d.ts +0 -156
- package/navigation/skip-cell-navigation.d.ts +0 -12
- package/navigation/toolbar-tool-name.d.ts +0 -19
- package/package-metadata.d.ts +0 -9
- package/pdf/export-element.d.ts +0 -11
- package/pdf/grid-query.d.ts +0 -26
- package/pdf/pdf-command-tool.directive.d.ts +0 -39
- package/pdf/pdf-command.directive.d.ts +0 -38
- package/pdf/pdf-export-event.d.ts +0 -14
- package/pdf/pdf-margin.component.d.ts +0 -29
- package/pdf/pdf-margin.interface.d.ts +0 -11
- package/pdf/pdf-template.directive.d.ts +0 -32
- package/pdf/pdf.component.d.ts +0 -94
- package/pdf/pdf.module.d.ts +0 -35
- package/pdf/pdf.service.d.ts +0 -25
- package/rendering/cell-loading.template.directive.d.ts +0 -28
- package/rendering/cell-template.directive.d.ts +0 -33
- package/rendering/cell.component.d.ts +0 -107
- package/rendering/common/cell-context.d.ts +0 -26
- package/rendering/common/col-group.component.d.ts +0 -31
- package/rendering/common/dom-queries.d.ts +0 -64
- package/rendering/common/field-accessor.pipe.d.ts +0 -18
- package/rendering/common/format.pipe.d.ts +0 -17
- package/rendering/common/loading.component.d.ts +0 -19
- package/rendering/common/row-args.d.ts +0 -19
- package/rendering/common/row-class.d.ts +0 -60
- package/rendering/common/spacer.component.d.ts +0 -37
- package/rendering/constants.d.ts +0 -20
- package/rendering/details/detail-collapse-event.d.ts +0 -24
- package/rendering/details/detail-expand-event.d.ts +0 -24
- package/rendering/details/detail-template.directive.d.ts +0 -49
- package/rendering/details/details.service.d.ts +0 -28
- package/rendering/details-expand.directive.d.ts +0 -71
- package/rendering/footer/footer-template.directive.d.ts +0 -37
- package/rendering/footer/footer.component.d.ts +0 -42
- package/rendering/grid-table.directive.d.ts +0 -19
- package/rendering/groups-expand.directive.d.ts +0 -59
- package/rendering/header/header-template.directive.d.ts +0 -34
- package/rendering/header/header.component.d.ts +0 -142
- package/rendering/list.component.d.ts +0 -263
- package/rendering/loading-template.directive.d.ts +0 -29
- package/rendering/no-records-template.directive.d.ts +0 -27
- package/rendering/rowspan.service.d.ts +0 -14
- package/rendering/table-body.component.d.ts +0 -135
- package/rendering/toolbar/toolbar-focusable.directive.d.ts +0 -41
- package/rendering/toolbar/toolbar-navigation.service.d.ts +0 -23
- package/rendering/toolbar/toolbar-position.d.ts +0 -22
- package/rendering/toolbar/toolbar-template.directive.d.ts +0 -37
- package/rendering/toolbar/toolbar.component.d.ts +0 -36
- package/rendering/toolbar/tools/ai-assistant/ai-assistant.component.d.ts +0 -50
- package/rendering/toolbar/tools/ai-assistant/ai-request-response.service.d.ts +0 -61
- package/rendering/toolbar/tools/ai-assistant/ai-tool.directive.d.ts +0 -115
- package/rendering/toolbar/tools/ai-assistant/models.d.ts +0 -203
- package/rendering/toolbar/tools/ai-assistant/utils.d.ts +0 -28
- package/rendering/toolbar/tools/column-chooser-tool.directive.d.ts +0 -81
- package/rendering/toolbar/tools/filter-command-tool.directive.d.ts +0 -64
- package/rendering/toolbar/tools/filter-tool-wrapper.component.d.ts +0 -42
- package/rendering/toolbar/tools/filter-toolbar-tool.component.d.ts +0 -52
- package/rendering/toolbar/tools/group-command-tool.directive.d.ts +0 -53
- package/rendering/toolbar/tools/group-toolbar-tool.component.d.ts +0 -61
- package/rendering/toolbar/tools/select-all-command-tool.directive.d.ts +0 -36
- package/rendering/toolbar/tools/smartbox/models.d.ts +0 -71
- package/rendering/toolbar/tools/smartbox/search.service.d.ts +0 -32
- package/rendering/toolbar/tools/smartbox/smartbox-component/common.d.ts +0 -38
- package/rendering/toolbar/tools/smartbox/smartbox-component/models.d.ts +0 -177
- package/rendering/toolbar/tools/smartbox/smartbox-component/smartbox.component.d.ts +0 -157
- package/rendering/toolbar/tools/smartbox/smartbox-history-item.template.d.ts +0 -29
- package/rendering/toolbar/tools/smartbox/smartbox-suggestion.template.d.ts +0 -29
- package/rendering/toolbar/tools/smartbox/smartbox-tool.component.d.ts +0 -120
- package/rendering/toolbar/tools/sort-command-tool.directive.d.ts +0 -62
- package/rendering/toolbar/tools/sort-toolbar-tool.component.d.ts +0 -57
- package/row-pinning/pinned-row-tracking.service.d.ts +0 -64
- package/row-pinning/row-pin-container.component.d.ts +0 -56
- package/row-pinning/row-pin.service.d.ts +0 -28
- package/row-pinning/types.d.ts +0 -42
- package/row-reordering/drag-handle-template.directive.d.ts +0 -33
- package/row-reordering/drag-hint-template.directive.d.ts +0 -31
- package/row-reordering/row-reorder.service.d.ts +0 -69
- package/row-reordering/types.d.ts +0 -48
- package/row-reordering/utils.d.ts +0 -78
- package/scrolling/content-scroll-event.d.ts +0 -37
- package/scrolling/row-height.service.d.ts +0 -18
- package/scrolling/scroll-bottom-event.d.ts +0 -14
- package/scrolling/scroll-request.service.d.ts +0 -47
- package/scrolling/scroll-sync.service.d.ts +0 -35
- package/scrolling/scroller.service.d.ts +0 -76
- package/scrolling/scrollmode.d.ts +0 -18
- package/scrolling/suspend.service.d.ts +0 -13
- package/selection/cell-selection.service.d.ts +0 -74
- package/selection/marquee.directive.d.ts +0 -38
- package/selection/pair-set.d.ts +0 -78
- package/selection/selectall-checkbox.directive.d.ts +0 -60
- package/selection/selection-checkbox.directive.d.ts +0 -52
- package/selection/selection-default.d.ts +0 -89
- package/selection/selection.directive.d.ts +0 -35
- package/selection/selection.service.d.ts +0 -79
- package/selection/types.d.ts +0 -174
- package/state-management/grid-state.models.d.ts +0 -71
- package/state-management/redo-command-tool.d.ts +0 -46
- package/state-management/undo-command-tool.d.ts +0 -46
- package/state-management/undo-redo.directive.d.ts +0 -73
- package/state-management/undo-redo.service.d.ts +0 -17
- package/state-management/undo-redo.stack.d.ts +0 -106
- package/utils.d.ts +0 -119
|
@@ -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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Lets you customize the item shown when the Grid has no data.
|
|
9
|
-
* Place an `<ng-template>` tag with the `kendoGridNoRecordsTemplate` directive inside `<kendo-grid>` to define the no-records template. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/no-records-template)).
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <kendo-grid [data]="data">
|
|
14
|
-
* <ng-template kendoGridNoRecordsTemplate>
|
|
15
|
-
* There are no products. <a href="#" (click)="refresh()">Click here to refresh.</a>
|
|
16
|
-
* </ng-template>
|
|
17
|
-
* <kendo-grid-column field="ProductID"></kendo-grid-column>
|
|
18
|
-
* <kendo-grid-column field="ProductName"></kendo-grid-column>
|
|
19
|
-
* </kendo-grid>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare class NoRecordsTemplateDirective {
|
|
23
|
-
templateRef: TemplateRef<any>;
|
|
24
|
-
constructor(templateRef: TemplateRef<any>);
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NoRecordsTemplateDirective, [{ optional: true; }]>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NoRecordsTemplateDirective, "[kendoGridNoRecordsTemplate]", never, {}, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -1,14 +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 declare class RowspanService {
|
|
9
|
-
private skipCells;
|
|
10
|
-
addCells(rowIndex: number, colIndex: number, rowspan: number): void;
|
|
11
|
-
reset(): void;
|
|
12
|
-
shouldSkip(rowIndex: number, colIndex: number): boolean;
|
|
13
|
-
private cellExists;
|
|
14
|
-
}
|
|
@@ -1,135 +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 { SimpleChange, NgZone, Renderer2, ElementRef, OnInit, OnDestroy, OnChanges, DoCheck, TrackByFunction, TemplateRef } from '@angular/core';
|
|
6
|
-
import { GroupDescriptor } from '@progress/kendo-data-query';
|
|
7
|
-
import { ColumnBase } from '../columns/column-base';
|
|
8
|
-
import { DetailTemplateDirective } from './details/detail-template.directive';
|
|
9
|
-
import { GroupsService } from '../grouping/groups.service';
|
|
10
|
-
import { ChangeNotificationService } from '../data/change-notification.service';
|
|
11
|
-
import { NoRecordsTemplateDirective } from './no-records-template.directive';
|
|
12
|
-
import { EditService } from '../editing/edit.service';
|
|
13
|
-
import { RowClassFn, RowStickyFn } from './common/row-class';
|
|
14
|
-
import { SelectableSettings } from '../selection/types';
|
|
15
|
-
import { DomEventsService } from '../common/dom-events.service';
|
|
16
|
-
import { SelectionService } from "../selection/selection.service";
|
|
17
|
-
import { ColumnInfoService } from "../common/column-info.service";
|
|
18
|
-
import { FilterableSettings } from '../filtering/filterable';
|
|
19
|
-
import { NavigationService } from '../navigation/navigation.service';
|
|
20
|
-
import { GridItem } from '../data/grid-item.interface';
|
|
21
|
-
import { DetailsService } from './details/details.service';
|
|
22
|
-
import { CellSelectionService } from '../selection/cell-selection.service';
|
|
23
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
24
|
-
import { ContextService } from '../common/provider.service';
|
|
25
|
-
import { ColumnsContainer } from '../columns/columns-container';
|
|
26
|
-
import { RowArgs } from './common/row-args';
|
|
27
|
-
import * as i0 from "@angular/core";
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges, DoCheck {
|
|
32
|
-
detailsService: DetailsService;
|
|
33
|
-
groupsService: GroupsService;
|
|
34
|
-
private changeNotification;
|
|
35
|
-
editService: EditService;
|
|
36
|
-
private ctx;
|
|
37
|
-
private ngZone;
|
|
38
|
-
private renderer;
|
|
39
|
-
private element;
|
|
40
|
-
private domEvents;
|
|
41
|
-
selectionService: SelectionService;
|
|
42
|
-
cellSelectionService: CellSelectionService;
|
|
43
|
-
private columnInfoService;
|
|
44
|
-
private navigationService;
|
|
45
|
-
columns: Array<ColumnBase>;
|
|
46
|
-
allColumns: Array<ColumnBase>;
|
|
47
|
-
groups: Array<GroupDescriptor>;
|
|
48
|
-
detailTemplate: DetailTemplateDirective;
|
|
49
|
-
noRecordsTemplate: NoRecordsTemplateDirective;
|
|
50
|
-
rowsToRender: Array<GridItem & {
|
|
51
|
-
showDetailRow?: boolean;
|
|
52
|
-
cells?: any[];
|
|
53
|
-
isExpanded?: boolean;
|
|
54
|
-
showDataItem?: boolean;
|
|
55
|
-
isHighlighted?: boolean;
|
|
56
|
-
}>;
|
|
57
|
-
skip: number;
|
|
58
|
-
selectable: SelectableSettings | boolean;
|
|
59
|
-
filterable: FilterableSettings;
|
|
60
|
-
noRecordsText: string;
|
|
61
|
-
isLocked: boolean;
|
|
62
|
-
isLoading: boolean;
|
|
63
|
-
isVirtual: boolean;
|
|
64
|
-
cellLoadingTemplate: TemplateRef<any>;
|
|
65
|
-
skipGroupDecoration: boolean;
|
|
66
|
-
lockedColumnsCount: number;
|
|
67
|
-
totalColumnsCount: number;
|
|
68
|
-
virtualColumns: boolean;
|
|
69
|
-
trackBy: TrackByFunction<GridItem>;
|
|
70
|
-
rowSticky: RowStickyFn;
|
|
71
|
-
totalColumns: ColumnsContainer;
|
|
72
|
-
rowClass: RowClassFn;
|
|
73
|
-
rowHeight: number;
|
|
74
|
-
detailRowHeight: number;
|
|
75
|
-
isPinContainer: boolean;
|
|
76
|
-
pinPosition: 'top' | 'bottom' | null;
|
|
77
|
-
hostClass: boolean;
|
|
78
|
-
groupHeaderSlaveCellsCount: number;
|
|
79
|
-
groupHeaderColumns: any[];
|
|
80
|
-
private cachedDataRows;
|
|
81
|
-
private clickSubscription;
|
|
82
|
-
private touchSubscription;
|
|
83
|
-
private l10nSubscription;
|
|
84
|
-
private cellKeydownSubscription;
|
|
85
|
-
private clickTimeout;
|
|
86
|
-
private minusIcon;
|
|
87
|
-
private plusIcon;
|
|
88
|
-
constructor(detailsService: DetailsService, groupsService: GroupsService, changeNotification: ChangeNotificationService, editService: EditService, ctx: ContextService, ngZone: NgZone, renderer: Renderer2, element: ElementRef, domEvents: DomEventsService, selectionService: SelectionService, cellSelectionService: CellSelectionService, columnInfoService: ColumnInfoService, navigationService: NavigationService);
|
|
89
|
-
get newDataItem(): any;
|
|
90
|
-
unlockedColumnsCount(item?: any): number;
|
|
91
|
-
isAriaSelected(item: any, column: ColumnBase): string;
|
|
92
|
-
toggleRow(index: number, dataItem: any): boolean;
|
|
93
|
-
detailButtonIconName(viewItem: any): string;
|
|
94
|
-
detailButtonSvgIcon(viewItem: any): SVGIcon;
|
|
95
|
-
detailButtonTitle(viewItem: any): any;
|
|
96
|
-
isOdd(item: any): boolean;
|
|
97
|
-
isSelectable(args: RowArgs): boolean;
|
|
98
|
-
isRowSelected(item: any): boolean;
|
|
99
|
-
isRowSelectable(args: RowArgs): boolean;
|
|
100
|
-
trackByWrapper(index: number, item: GridItem): any;
|
|
101
|
-
trackByColumns(index: number, item: any): any;
|
|
102
|
-
ngDoCheck(): void;
|
|
103
|
-
ngAfterViewChecked(): void;
|
|
104
|
-
ngOnChanges(changes: {
|
|
105
|
-
[propertyName: string]: SimpleChange;
|
|
106
|
-
}): void;
|
|
107
|
-
logicalRowIndex(rowIndex: number): number;
|
|
108
|
-
addRowLogicalIndex(): number;
|
|
109
|
-
logicalColIndex(column: any): number;
|
|
110
|
-
ngOnInit(): void;
|
|
111
|
-
ngOnDestroy(): void;
|
|
112
|
-
isEditingCell(index: number, column: any): boolean;
|
|
113
|
-
isEditingRow(index: number): boolean;
|
|
114
|
-
isRowPinned(dataItem: any): boolean;
|
|
115
|
-
get isStackedMode(): boolean;
|
|
116
|
-
get hasGroupHeaderColumn(): boolean;
|
|
117
|
-
get columnsContainer(): any;
|
|
118
|
-
get columnsSpan(): number;
|
|
119
|
-
get allColumnsSpan(): number;
|
|
120
|
-
get colSpan(): number;
|
|
121
|
-
get footerColumns(): ColumnBase[];
|
|
122
|
-
addStickyColumnStyles(column: ColumnBase): {
|
|
123
|
-
[key: string]: any;
|
|
124
|
-
};
|
|
125
|
-
resizeHandler(): void;
|
|
126
|
-
get hasDetailTemplate(): boolean;
|
|
127
|
-
private clickHandler;
|
|
128
|
-
private emitCellClick;
|
|
129
|
-
private cellKeydownHandler;
|
|
130
|
-
private cellClickArgs;
|
|
131
|
-
private eventTarget;
|
|
132
|
-
private applyStickyRowsStyling;
|
|
133
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent, never>;
|
|
134
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent, "[kendoGridTableBody]", never, { "columns": { "alias": "columns"; "required": false; }; "allColumns": { "alias": "allColumns"; "required": false; }; "groups": { "alias": "groups"; "required": false; }; "detailTemplate": { "alias": "detailTemplate"; "required": false; }; "noRecordsTemplate": { "alias": "noRecordsTemplate"; "required": false; }; "rowsToRender": { "alias": "rowsToRender"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "noRecordsText": { "alias": "noRecordsText"; "required": false; }; "isLocked": { "alias": "isLocked"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isVirtual": { "alias": "isVirtual"; "required": false; }; "cellLoadingTemplate": { "alias": "cellLoadingTemplate"; "required": false; }; "skipGroupDecoration": { "alias": "skipGroupDecoration"; "required": false; }; "lockedColumnsCount": { "alias": "lockedColumnsCount"; "required": false; }; "totalColumnsCount": { "alias": "totalColumnsCount"; "required": false; }; "virtualColumns": { "alias": "virtualColumns"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "rowSticky": { "alias": "rowSticky"; "required": false; }; "totalColumns": { "alias": "totalColumns"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "detailRowHeight": { "alias": "detailRowHeight"; "required": false; }; "isPinContainer": { "alias": "isPinContainer"; "required": false; }; "pinPosition": { "alias": "pinPosition"; "required": false; }; }, {}, never, never, true, never>;
|
|
135
|
-
}
|
|
@@ -1,41 +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 { ElementRef } from '@angular/core';
|
|
6
|
-
import { ContextService } from '../../common/provider.service';
|
|
7
|
-
import { ToolbarPosition } from './toolbar-position';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Adds keyboard navigation support to toolbar elements in the Grid.
|
|
11
|
-
*
|
|
12
|
-
* Apply this directive to toolbar elements that should be focusable and navigable with the keyboard.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-toolbar>
|
|
17
|
-
* <button kendoGridToolbarFocusable>Button</button>
|
|
18
|
-
* </kendo-toolbar>
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* This directive is related to accessibility.
|
|
23
|
-
*/
|
|
24
|
-
export declare class GridToolbarFocusableDirective {
|
|
25
|
-
private host;
|
|
26
|
-
private ctx;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
get element(): HTMLElement;
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
get toolbarPosition(): ToolbarPosition;
|
|
35
|
-
constructor(host: ElementRef, ctx: ContextService);
|
|
36
|
-
ngAfterViewInit(): void;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
private get isToolbarNavigable();
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridToolbarFocusableDirective, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GridToolbarFocusableDirective, " [kendoGridToolbarFocusable], [kendoGridAddCommand], [kendoGridCancelCommand], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridExcelCommand], [kendoGridPDFCommand] ", never, {}, {}, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -1,23 +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 { Renderer2 } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class GridToolbarNavigationService {
|
|
11
|
-
private renderer;
|
|
12
|
-
toolbarElement: HTMLElement;
|
|
13
|
-
navigableElements: any[];
|
|
14
|
-
currentActiveIndex: number;
|
|
15
|
-
private defaultFocusableSelector;
|
|
16
|
-
constructor(renderer: Renderer2);
|
|
17
|
-
notify(): void;
|
|
18
|
-
private findNavigableElements;
|
|
19
|
-
focus(): void;
|
|
20
|
-
updateFocus(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridToolbarNavigationService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GridToolbarNavigationService>;
|
|
23
|
-
}
|
|
@@ -1,22 +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
|
-
* Configures the `position` property for the Grid Toolbar Template. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/toolbar/toolbar-template#setting-the-toolbar-position).
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
* * `top`—Shows the Toolbar at the top of the Grid.
|
|
10
|
-
* * `bottom`—Shows the Toolbar at the bottom of the Grid.
|
|
11
|
-
* * `both`—Shows the Toolbar at the top and bottom of the Grid.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-grid>
|
|
16
|
-
* <ng-template kendoGridToolbarTemplate position="bottom" let-position="position">
|
|
17
|
-
* <button (click)="onClick()">Custom action</button>
|
|
18
|
-
* </ng-template>
|
|
19
|
-
* </kendo-grid>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export type ToolbarPosition = 'top' | 'bottom' | 'both';
|
|
@@ -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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the toolbar template of the Grid.
|
|
9
|
-
*
|
|
10
|
-
* The template context provides:
|
|
11
|
-
* - `position`—The position where the toolbar template renders. Possible values: `top`, `bottom`, and `both`.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-grid [data]="gridData" style="height: 200px">
|
|
16
|
-
* <ng-template kendoGridToolbarTemplate [position]="position" let-position="position">
|
|
17
|
-
* <button (click)="onClick()">Custom action</button>
|
|
18
|
-
* </ng-template>
|
|
19
|
-
* <kendo-grid-column field="ProductName">
|
|
20
|
-
* </kendo-grid-column>
|
|
21
|
-
* </kendo-grid>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare class ToolbarTemplateDirective {
|
|
25
|
-
templateRef: TemplateRef<any>;
|
|
26
|
-
_position: 'top' | 'bottom' | 'both';
|
|
27
|
-
/**
|
|
28
|
-
* Sets the position of the toolbar. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/toolbar/toolbar-template#setting-the-toolbar-position)).
|
|
29
|
-
*
|
|
30
|
-
* @default 'top'
|
|
31
|
-
*/
|
|
32
|
-
set position(position: 'top' | 'bottom' | 'both');
|
|
33
|
-
get position(): 'top' | 'bottom' | 'both';
|
|
34
|
-
constructor(templateRef: TemplateRef<any>);
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarTemplateDirective, [{ optional: true; }]>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarTemplateDirective, "[kendoGridToolbarTemplate]", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
-
}
|
|
@@ -1,36 +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 { TemplateRef, ElementRef } from '@angular/core';
|
|
6
|
-
import { GridSize } from '../../common/size-options';
|
|
7
|
-
import { ContextService } from './../../common/provider.service';
|
|
8
|
-
import { ToolbarPosition } from './toolbar-position';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class ToolbarComponent {
|
|
14
|
-
private ctx;
|
|
15
|
-
private wrapper;
|
|
16
|
-
context: any;
|
|
17
|
-
role: string;
|
|
18
|
-
hostClasses: boolean;
|
|
19
|
-
get sizeSmallClass(): boolean;
|
|
20
|
-
get sizeMediumClass(): boolean;
|
|
21
|
-
set position(value: ToolbarPosition);
|
|
22
|
-
set size(size: GridSize);
|
|
23
|
-
get size(): GridSize;
|
|
24
|
-
clickHandler(ev: MouseEvent): void;
|
|
25
|
-
arrowLeftListener(): void;
|
|
26
|
-
arrowRightListener(): void;
|
|
27
|
-
homeKeyListener(e: KeyboardEvent): void;
|
|
28
|
-
endKeyListener(e: KeyboardEvent): void;
|
|
29
|
-
navigable: boolean;
|
|
30
|
-
get toolbarTemplateRef(): TemplateRef<any>;
|
|
31
|
-
private _size;
|
|
32
|
-
private navigationService;
|
|
33
|
-
constructor(ctx: ContextService, wrapper: ElementRef);
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "kendo-grid-toolbar", never, { "position": { "alias": "position"; "required": false; }; "size": { "alias": "size"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -1,50 +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 { OnDestroy, AfterViewInit } from '@angular/core';
|
|
6
|
-
import { AIPromptComponent, PromptRequestEvent } from '@progress/kendo-angular-conversational-ui';
|
|
7
|
-
import { HttpClient } from '@angular/common/http';
|
|
8
|
-
import { ContextService } from './../../../../common/provider.service';
|
|
9
|
-
import { ColumnInfoService } from './../../../../common/column-info.service';
|
|
10
|
-
import { AIAssistantToolbarDirective } from './ai-tool.directive';
|
|
11
|
-
import { GridAIAssistantPromptSettings, GridAIRequestOptions } from './models';
|
|
12
|
-
import { GridAIRequestResponseService } from './ai-request-response.service';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare class AiAssistantComponent implements OnDestroy, AfterViewInit {
|
|
18
|
-
private http;
|
|
19
|
-
private ctx;
|
|
20
|
-
private columnInfoService;
|
|
21
|
-
private aiRequestResponseService;
|
|
22
|
-
aiPrompt: AIPromptComponent;
|
|
23
|
-
activeView: number;
|
|
24
|
-
requestUrl: string;
|
|
25
|
-
requestOptions: GridAIRequestOptions;
|
|
26
|
-
aiPromptSettings: GridAIAssistantPromptSettings;
|
|
27
|
-
aiToolDirective: AIAssistantToolbarDirective;
|
|
28
|
-
streaming: boolean;
|
|
29
|
-
disabledGenerateButton: boolean;
|
|
30
|
-
private lastMessage;
|
|
31
|
-
private requestData;
|
|
32
|
-
private currentRequestSubscription;
|
|
33
|
-
private loadingOutput;
|
|
34
|
-
private columns;
|
|
35
|
-
private leafColumns;
|
|
36
|
-
private idCounter;
|
|
37
|
-
constructor(http: HttpClient, ctx: ContextService, columnInfoService: ColumnInfoService, aiRequestResponseService: GridAIRequestResponseService);
|
|
38
|
-
ngAfterViewInit(): void;
|
|
39
|
-
ngOnDestroy(): void;
|
|
40
|
-
message(message: string): string;
|
|
41
|
-
cancelRequest(): void;
|
|
42
|
-
onPromptRequest(ev: PromptRequestEvent): void;
|
|
43
|
-
private sendPromptRequest;
|
|
44
|
-
private processResponse;
|
|
45
|
-
private handleError;
|
|
46
|
-
private deleteLoadingOutput;
|
|
47
|
-
private unsubscribeCurrentRequest;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AiAssistantComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AiAssistantComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
50
|
-
}
|
|
@@ -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 { NgZone } from '@angular/core';
|
|
6
|
-
import { ColumnInfoService } from './../../../../common/column-info.service';
|
|
7
|
-
import { ContextService } from './../../../../common/provider.service';
|
|
8
|
-
import { GridAICommand } from './models';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*
|
|
13
|
-
* Service that builds AI requests and processes AI responses for the Grid.
|
|
14
|
-
* Used internally by both the Grid component and the AI Assistant tool.
|
|
15
|
-
*/
|
|
16
|
-
export declare class GridAIRequestResponseService {
|
|
17
|
-
private ctx;
|
|
18
|
-
private columnInfoService;
|
|
19
|
-
private zone;
|
|
20
|
-
constructor(ctx: ContextService, columnInfoService: ColumnInfoService, zone: NgZone);
|
|
21
|
-
/**
|
|
22
|
-
* Builds the request body for the AI service based on the Grid's column structure.
|
|
23
|
-
* Returns a column descriptor tree that includes column metadata for the AI service.
|
|
24
|
-
*/
|
|
25
|
-
buildRequestBody(promptMessage: string, role?: string): any;
|
|
26
|
-
/**
|
|
27
|
-
* Builds a nested column descriptor tree based on the Grid's column structure.
|
|
28
|
-
* Includes root columns and their nested children (for ColumnGroup and SpanColumn).
|
|
29
|
-
*/
|
|
30
|
-
private buildColumnDescriptors;
|
|
31
|
-
/**
|
|
32
|
-
* Processes AI response commands and applies them to the Grid.
|
|
33
|
-
* Returns an array of display messages for each command.
|
|
34
|
-
*/
|
|
35
|
-
processCommands(commands: GridAICommand[], columns: {
|
|
36
|
-
field: string;
|
|
37
|
-
}[], leafColumns: any[]): string[];
|
|
38
|
-
private executeCommands;
|
|
39
|
-
private processArrayResponse;
|
|
40
|
-
private runExportWithFileName;
|
|
41
|
-
private processPageCommand;
|
|
42
|
-
private processPageSizeCommand;
|
|
43
|
-
private emitGridPageChange;
|
|
44
|
-
private ensurePageSizeOption;
|
|
45
|
-
private getCurrentPageSizeValue;
|
|
46
|
-
private getTotalItemsCount;
|
|
47
|
-
private getSelectionInstance;
|
|
48
|
-
private updateLastMessage;
|
|
49
|
-
private isColumnCommand;
|
|
50
|
-
private getColumnReplacement;
|
|
51
|
-
private replaceQuotedColumnId;
|
|
52
|
-
private getHighlightItems;
|
|
53
|
-
private processSelectionResponse;
|
|
54
|
-
private mapHighlightItemsToSelection;
|
|
55
|
-
private applySelectionState;
|
|
56
|
-
private processHighlightResponse;
|
|
57
|
-
private processFilterResponse;
|
|
58
|
-
private changeColumnPosition;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridAIRequestResponseService, never>;
|
|
60
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GridAIRequestResponseService>;
|
|
61
|
-
}
|
|
@@ -1,115 +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 { NgZone, AfterViewInit, OnInit, OnDestroy, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
6
|
-
import { RefreshService, ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
|
-
import { ContextService } from '../../../../common/provider.service';
|
|
9
|
-
import { ToolbarToolBase } from '../../../../common/toolbar-tool-base.directive';
|
|
10
|
-
import { WindowService } from '@progress/kendo-angular-dialog';
|
|
11
|
-
import { GridAIAssistantPromptSettings, GridAIAssistantWindowSettings, GridAIRequestOptions, GridAIAssistantResponseSuccessEvent, GridAIAssistantResponseErrorEvent, GridAIAssistantRequestEvent, GridAIAssistantOpenEvent } from './models';
|
|
12
|
-
import { PromptOutput } from '@progress/kendo-angular-conversational-ui';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* Represents an AI Assistant tool of the Grid.
|
|
16
|
-
* Use this directive on any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```html-no-run
|
|
20
|
-
* <kendo-grid>
|
|
21
|
-
* <kendo-toolbar>
|
|
22
|
-
* <kendo-toolbar-button kendoGridAIAssistantTool></kendo-toolbar-button>
|
|
23
|
-
* </kendo-toolbar>
|
|
24
|
-
* </kendo-grid>
|
|
25
|
-
* ```
|
|
26
|
-
* @remarks
|
|
27
|
-
* Applied to: {@link ToolBarButtonComponent}.
|
|
28
|
-
*/
|
|
29
|
-
export declare class AIAssistantToolbarDirective extends ToolbarToolBase implements OnInit, AfterViewInit, OnDestroy {
|
|
30
|
-
private windowService;
|
|
31
|
-
host: ToolBarButtonComponent;
|
|
32
|
-
ctx: ContextService;
|
|
33
|
-
zone: NgZone;
|
|
34
|
-
private refresh;
|
|
35
|
-
/**
|
|
36
|
-
* The URL to which the AI Assistant tool sends the AI request.
|
|
37
|
-
* - When you set this property, the AI Assistant tool sends and handles an HTTP request to the provided `requestUrl`. You can handle the `promptRequest` event to modify the request options before the tool sends it.
|
|
38
|
-
* - When you do not set this property, the AI Assistant tool does not send an HTTP request. You should handle the `promptRequest` event to send and handle a custom HTTP request.
|
|
39
|
-
*/
|
|
40
|
-
requestUrl?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Configures the request options that the AI Assistant tool sends with the AI request.
|
|
43
|
-
*
|
|
44
|
-
* @default { headers: new HttpHeaders({ 'Content-Type': 'application/json' }), role: 'user', method: 'POST', responseType: 'json', withCredentials: false }
|
|
45
|
-
*/
|
|
46
|
-
requestOptions?: GridAIRequestOptions;
|
|
47
|
-
/**
|
|
48
|
-
* Configures the initial settings for the AI Assistant Window when opened.
|
|
49
|
-
*/
|
|
50
|
-
aiWindowSettings: GridAIAssistantWindowSettings;
|
|
51
|
-
/**
|
|
52
|
-
* Configures the initial settings for the AI Prompt component that the AI Assistant Window component uses when opened.
|
|
53
|
-
*/
|
|
54
|
-
aiPromptSettings: GridAIAssistantPromptSettings;
|
|
55
|
-
/**
|
|
56
|
-
* Determines whether to close the AI Assistant Window automatically after a successful request.
|
|
57
|
-
* @default true
|
|
58
|
-
*/
|
|
59
|
-
autoClose: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Determines whether to keep the AI Prompt's outputs after closing the AI Assistant Window.
|
|
62
|
-
* @default false
|
|
63
|
-
*/
|
|
64
|
-
keepOutputHistory: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Emits an event before the AI Assistant tool sends the AI request.
|
|
67
|
-
* - When you provide a `requestUrl`, you can handle the event to modify the request options.
|
|
68
|
-
* - When you do not provide a `requestUrl`, you can handle the event to perform an entirely custom request.
|
|
69
|
-
*/
|
|
70
|
-
promptRequest: EventEmitter<GridAIAssistantRequestEvent>;
|
|
71
|
-
/**
|
|
72
|
-
* Emits an event when the user clicks the cancel button.
|
|
73
|
-
*/
|
|
74
|
-
cancelRequest: EventEmitter<undefined>;
|
|
75
|
-
/**
|
|
76
|
-
* Emits an event when the AI Assistant tool completes the AI request successfully.
|
|
77
|
-
* The event contains the response from the AI service and is preventable to allow stopping the default response handling.
|
|
78
|
-
*/
|
|
79
|
-
responseSuccess: EventEmitter<GridAIAssistantResponseSuccessEvent>;
|
|
80
|
-
/**
|
|
81
|
-
* Emits an event when the AI Assistant tool completes the AI request with an error.
|
|
82
|
-
* The event contains the error response from the AI service and is preventable to allow stopping the default error handling.
|
|
83
|
-
*/
|
|
84
|
-
responseError: EventEmitter<GridAIAssistantResponseErrorEvent>;
|
|
85
|
-
/**
|
|
86
|
-
* Emits an event when the AI Assistant tool closes.
|
|
87
|
-
*/
|
|
88
|
-
close: EventEmitter<undefined>;
|
|
89
|
-
/**
|
|
90
|
-
* Emits an event when the AI Assistant tool opens.
|
|
91
|
-
*/
|
|
92
|
-
open: EventEmitter<GridAIAssistantOpenEvent>;
|
|
93
|
-
tableWizardIcon: SVGIcon;
|
|
94
|
-
emitOpenClose: boolean;
|
|
95
|
-
promptOutputs: PromptOutput[];
|
|
96
|
-
private windowRef;
|
|
97
|
-
private subs;
|
|
98
|
-
private defaultAiPromptSettings;
|
|
99
|
-
constructor(windowService: WindowService, host: ToolBarButtonComponent, ctx: ContextService, zone: NgZone, refresh: RefreshService, cdr: ChangeDetectorRef);
|
|
100
|
-
ngOnInit(): void;
|
|
101
|
-
ngAfterViewInit(): void;
|
|
102
|
-
ngOnDestroy(): void;
|
|
103
|
-
/**
|
|
104
|
-
* @hidden
|
|
105
|
-
*/
|
|
106
|
-
onClick(): void;
|
|
107
|
-
/**
|
|
108
|
-
* Toggles the AI Assistant window.
|
|
109
|
-
*/
|
|
110
|
-
toggleWindow(): void;
|
|
111
|
-
private openWindow;
|
|
112
|
-
private closeWindow;
|
|
113
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AIAssistantToolbarDirective, never>;
|
|
114
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AIAssistantToolbarDirective, "[kendoGridAIAssistantTool]", never, { "requestUrl": { "alias": "requestUrl"; "required": false; }; "requestOptions": { "alias": "requestOptions"; "required": false; }; "aiWindowSettings": { "alias": "aiWindowSettings"; "required": false; }; "aiPromptSettings": { "alias": "aiPromptSettings"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "keepOutputHistory": { "alias": "keepOutputHistory"; "required": false; }; }, { "promptRequest": "promptRequest"; "cancelRequest": "cancelRequest"; "responseSuccess": "responseSuccess"; "responseError": "responseError"; "close": "close"; "open": "open"; }, never, never, true, never>;
|
|
115
|
-
}
|