@progress/kendo-angular-grid 23.0.0-develop.4 → 23.0.0-develop.5

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.
@@ -0,0 +1,71 @@
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 { HttpErrorResponse, HttpResponse } from "@angular/common/http";
6
+ import { SmartBoxAIAssistantSettings, SmartBoxHistorySettings, SmartBoxRequestEvent, SmartBoxResponseErrorEvent, SmartBoxResponseSuccessEvent, SmartBoxSearchEvent, SmartBoxSearchSettings, SmartBoxSemanticSearchEvent, SmartBoxSemanticSearchSettings } from "./smartbox-component/models";
7
+ /**
8
+ * Specifies the Grid SmartBox mode.
9
+ */
10
+ export type GridSmartBoxMode = 'search' | 'semanticSearch' | 'aiAssistant';
11
+ /**
12
+ * Defines the settings for the SmartBox tool Search mode.
13
+ */
14
+ export interface GridSmartBoxSearchSettings extends SmartBoxSearchSettings {
15
+ }
16
+ /**
17
+ * Defines the settings for the SmartBox tool Semantic Search mode.
18
+ */
19
+ export interface GridSmartBoxSemanticSearchSettings extends SmartBoxSemanticSearchSettings {
20
+ }
21
+ /**
22
+ * Defines the settings for the SmartBox tool AI Assistant mode.
23
+ */
24
+ export interface GridSmartBoxAIAssistantSettings extends SmartBoxAIAssistantSettings {
25
+ }
26
+ /**
27
+ * Defines the settings for the SmartBox tool history queries.
28
+ */
29
+ export interface GridSmartBoxHistorySettings extends SmartBoxHistorySettings {
30
+ }
31
+ /**
32
+ * Represents the event data when the AI Assistant request is initiated.
33
+ */
34
+ export interface GridSmartBoxRequestEvent extends SmartBoxRequestEvent {
35
+ }
36
+ /**
37
+ * Represents the event data when the AI Assistant request completes with an error.
38
+ */
39
+ export declare class GridSmartBoxResponseErrorEvent extends SmartBoxResponseErrorEvent {
40
+ /**
41
+ * @hidden
42
+ */
43
+ constructor(error: HttpErrorResponse);
44
+ }
45
+ /**
46
+ * Represents the event data when the AI Assistant request completes successfully.
47
+ */
48
+ export declare class GridSmartBoxResponseSuccessEvent extends SmartBoxResponseSuccessEvent {
49
+ /**
50
+ * @hidden
51
+ */
52
+ constructor(response: HttpResponse<any>);
53
+ }
54
+ /**
55
+ * Represents the event data when the user types in Search mode.
56
+ */
57
+ export declare class GridSmartBoxSearchEvent extends SmartBoxSearchEvent {
58
+ /**
59
+ * @hidden
60
+ */
61
+ constructor();
62
+ }
63
+ /**
64
+ * Represents the event data when the user types in Semantic Search mode.
65
+ */
66
+ export interface GridSmartBoxSemanticSearchEvent extends SmartBoxSemanticSearchEvent {
67
+ }
68
+ /**
69
+ * Specifies the padding of the SmartBox tool input element.
70
+ */
71
+ export type GridSmartBoxSize = 'small' | 'medium' | 'large';
@@ -0,0 +1,24 @@
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 { Subject } from 'rxjs';
6
+ import { CompositeFilterDescriptor } from '@progress/kendo-data-query';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare class SearchService {
12
+ /**
13
+ * Fires when the search descriptor is set.
14
+ */
15
+ changes: Subject<CompositeFilterDescriptor>;
16
+ /**
17
+ * Sets the search descriptor.
18
+ *
19
+ * @param {CompositeFilterDescriptor} value - The search descriptor to set.
20
+ */
21
+ search(value: CompositeFilterDescriptor): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchService, never>;
23
+ static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
24
+ }
@@ -0,0 +1,36 @@
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 { SVGIcon } from "@progress/kendo-svg-icons";
6
+ /**
7
+ * @hidden
8
+ *
9
+ * Defines the settings for a Button inside the SegmentedControlComponent.
10
+ */
11
+ export interface SegmentedButtonSettings {
12
+ /**
13
+ * Sets the name of an existing font icon in the Kendo UI theme.
14
+ */
15
+ icon?: string;
16
+ /**
17
+ * Sets an SVG icon to display inside the Button.
18
+ */
19
+ svgIcon?: SVGIcon;
20
+ /**
21
+ * Specifies the text content of the Button.
22
+ */
23
+ text?: string;
24
+ /**
25
+ * Specifies whether the Button is disabled.
26
+ */
27
+ disabled?: boolean;
28
+ /**
29
+ * Specifies whether the Button is selected.
30
+ */
31
+ selected?: boolean;
32
+ /**
33
+ * Sets an additional class on the internal Icon component of the button.
34
+ */
35
+ iconInnerCssClass?: string;
36
+ }
@@ -0,0 +1,45 @@
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 { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, Renderer2 } from '@angular/core';
6
+ import { ButtonSize } from '@progress/kendo-angular-buttons';
7
+ import { SegmentedButtonSettings } from './models';
8
+ import * as i0 from "@angular/core";
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare class SegmentedControlComponent implements AfterViewInit {
13
+ private renderer;
14
+ private wrapper;
15
+ private cdr;
16
+ private zone;
17
+ hostClasses: boolean;
18
+ hostRole: string;
19
+ thumb: ElementRef;
20
+ /**
21
+ * Specifies the collection of buttons that will be rendered inside the SegmentedControlComponent.
22
+ */
23
+ buttons: Array<SegmentedButtonSettings>;
24
+ /**
25
+ * Sets the padding of the control.
26
+ *
27
+ * @default 'medium'
28
+ */
29
+ set size(size: ButtonSize);
30
+ get size(): ButtonSize;
31
+ /**
32
+ * Fires when a button is clicked.
33
+ */
34
+ buttonClick: EventEmitter<SegmentedButtonSettings>;
35
+ ngAfterViewInit(): void;
36
+ handleClick(button: SegmentedButtonSettings, index: number): void;
37
+ getInnerIconClass(button: SegmentedButtonSettings): string;
38
+ constructor(renderer: Renderer2, wrapper: ElementRef, cdr: ChangeDetectorRef, zone: NgZone);
39
+ showSelectionIndicator(): void;
40
+ selectedButtonIndex: number;
41
+ private _size;
42
+ private handleSizeClass;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedControlComponent, "kendo-segmented-control", never, { "buttons": { "alias": "buttons"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
45
+ }
@@ -0,0 +1,38 @@
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 { SpeechToTextButtonSettings } from "@progress/kendo-angular-buttons";
6
+ import { SmartBoxAIAssistantSettings, SmartBoxHistorySettings, SmartBoxSearchSettings, SmartBoxSemanticSearchSettings, SmartBoxSize } from "./models";
7
+ /**
8
+ * @hidden
9
+ */
10
+ export declare const DEFAULT_HISTORY_SETTINGS: SmartBoxHistorySettings;
11
+ /**
12
+ * @hidden
13
+ */
14
+ export declare const STB_DEFAULT_SETTINGS: SpeechToTextButtonSettings;
15
+ /**
16
+ * @hidden
17
+ */
18
+ export declare const DEFAULT_SEARCH_SETTINGS: SmartBoxSearchSettings;
19
+ /**
20
+ * @hidden
21
+ */
22
+ export declare const DEFAULT_SEMANTIC_SEARCH_SETTINGS: SmartBoxSemanticSearchSettings;
23
+ /**
24
+ * @hidden
25
+ */
26
+ export declare const DEFAULT_AI_ASSISTANT_SETTINGS: SmartBoxAIAssistantSettings;
27
+ /**
28
+ * @hidden
29
+ */
30
+ export declare const DEFAULT_SIZE: SmartBoxSize;
31
+ /**
32
+ * @hidden
33
+ */
34
+ export declare const SIZES: {
35
+ small: string;
36
+ medium: string;
37
+ large: string;
38
+ };
@@ -0,0 +1,177 @@
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 { SpeechToTextButtonSettings } from "@progress/kendo-angular-buttons";
6
+ import { GridAIRequestData, GridAIRequestOptions } from "../../ai-assistant/models";
7
+ import { HttpErrorResponse, HttpResponse } from "@angular/common/http";
8
+ import { PreventableEvent } from "@progress/kendo-angular-common";
9
+ import { CompositeFilterDescriptor, FilterDescriptor } from "@progress/kendo-data-query";
10
+ /**
11
+ * @hidden
12
+ */
13
+ export interface SmartBoxSearchSettings {
14
+ /**
15
+ * Sets the settings for the history queries.
16
+ */
17
+ history?: boolean | SmartBoxHistorySettings;
18
+ /**
19
+ * The placeholder of the input in Search mode.
20
+ */
21
+ placeholder?: string;
22
+ /**
23
+ * Determines the delay in milliseconds between the user typing a new search value and the component emitting the **search** event. Default is `300`.
24
+ */
25
+ delay?: number;
26
+ /**
27
+ * Specifies whether the mode is enabled.
28
+ *
29
+ * @default true
30
+ */
31
+ enabled?: boolean;
32
+ /**
33
+ * Defines a list of fields which will be included in the search. If values for the property are not defined the grid will search in all column fields.
34
+ */
35
+ fields?: Array<string>;
36
+ }
37
+ /**
38
+ * @hidden
39
+ */
40
+ export interface SmartBoxSemanticSearchSettings {
41
+ /**
42
+ * Sets the settings for the history queries.
43
+ */
44
+ history?: boolean | SmartBoxHistorySettings;
45
+ /**
46
+ * The placeholder of the input in Semantic Search mode.
47
+ */
48
+ placeholder?: string;
49
+ /**
50
+ * Determines the delay in milliseconds between the user typing a new search value and the component emitting the **semanticSearch** event. Default is `500`.
51
+ */
52
+ delay?: number;
53
+ /**
54
+ * Specifies whether the mode is enabled.
55
+ *
56
+ * @default true
57
+ */
58
+ enabled?: boolean;
59
+ }
60
+ /**
61
+ * @hidden
62
+ */
63
+ export interface SmartBoxAIAssistantSettings {
64
+ /**
65
+ * Sets the settings for the history queries.
66
+ */
67
+ history?: boolean | SmartBoxHistorySettings;
68
+ /**
69
+ * The placeholder of the input in Semantic Search mode.
70
+ */
71
+ placeholder?: string;
72
+ /**
73
+ * Specifies whether the mode is enabled.
74
+ *
75
+ * @default true
76
+ */
77
+ enabled?: boolean;
78
+ /**
79
+ * Defines a list of prompts to be suggested.
80
+ */
81
+ promptSuggestions?: Array<string>;
82
+ /**
83
+ * The URL to which the SmartBox tool sends the AI request. When you set this property, the SmartBox tool sends and handles an HTTP request to the provided URL. You can handle the promptRequest event to modify the request options before the tool sends it. When you do not set this property, the SmartBox tool does not send an HTTP request. You should handle the **promptRequest** event to send and handle a custom HTTP request.
84
+ */
85
+ requestUrl?: string;
86
+ /**
87
+ * Configures the request options that the SmartBox tool sends with the AI request.
88
+ *
89
+ * @default { headers: new HttpHeaders({ 'Content-Type': 'application/json' }), role: 'user', method: 'POST', responseType: 'json', withCredentials: false }
90
+ */
91
+ requestOptions?: GridAIRequestOptions;
92
+ /**
93
+ * Sets the settings for the Speech to Text button.
94
+ */
95
+ speechToTextButton?: boolean | SpeechToTextButtonSettings;
96
+ }
97
+ /**
98
+ * @hidden
99
+ */
100
+ export interface SmartBoxHistorySettings {
101
+ /**
102
+ * Specifies the maximum number of history queries that will be rendered. Default is `5`.
103
+ */
104
+ size?: number;
105
+ /**
106
+ * Specifies the date format that is used to display the history queries timestamps.
107
+ */
108
+ timestampFormat?: string;
109
+ }
110
+ /**
111
+ * @hidden
112
+ */
113
+ export interface SmartBoxRequestEvent {
114
+ requestData: GridAIRequestData;
115
+ }
116
+ /**
117
+ * @hidden
118
+ */
119
+ export declare class SmartBoxResponseErrorEvent extends PreventableEvent {
120
+ /**
121
+ * The HTTP error response from the AI service.
122
+ */
123
+ error: HttpErrorResponse;
124
+ constructor(error: HttpErrorResponse);
125
+ }
126
+ /**
127
+ * @hidden
128
+ */
129
+ export declare class SmartBoxResponseSuccessEvent extends PreventableEvent {
130
+ /**
131
+ * The HTTP response from the AI service.
132
+ */
133
+ response: HttpResponse<any>;
134
+ constructor(response: HttpResponse<any>);
135
+ }
136
+ /**
137
+ * @hidden
138
+ */
139
+ export declare class SmartBoxSearchEvent extends PreventableEvent {
140
+ /**
141
+ * The user's input value.
142
+ */
143
+ searchValue: string;
144
+ /**
145
+ * The input-based filters that will be applied to the Grid.
146
+ */
147
+ filters: Array<FilterDescriptor> | Array<CompositeFilterDescriptor>;
148
+ /**
149
+ * The logic applied to the filters.
150
+ */
151
+ logic: 'or' | 'and';
152
+ /**
153
+ * @hidden
154
+ */
155
+ constructor();
156
+ }
157
+ /**
158
+ * @hidden
159
+ */
160
+ export interface SmartBoxSemanticSearchEvent {
161
+ /**
162
+ * The user's input value.
163
+ */
164
+ searchValue: string;
165
+ }
166
+ /**
167
+ * @hidden
168
+ */
169
+ export interface HistoryItem {
170
+ text: string;
171
+ timestamp: Date;
172
+ format: string;
173
+ }
174
+ /**
175
+ * @hidden
176
+ */
177
+ export type SmartBoxSize = 'small' | 'medium' | 'large';
@@ -0,0 +1,152 @@
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 { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges, TemplateRef } from '@angular/core';
6
+ import { SVGIcon } from '@progress/kendo-svg-icons';
7
+ import { PopupService } from '@progress/kendo-angular-popup';
8
+ import { SpeechToTextButtonSettings } from "@progress/kendo-angular-buttons";
9
+ import { IntlService } from '@progress/kendo-angular-intl';
10
+ import { HttpClient } from '@angular/common/http';
11
+ import { HistoryItem, SmartBoxAIAssistantSettings, SmartBoxHistorySettings, SmartBoxRequestEvent, SmartBoxResponseErrorEvent, SmartBoxResponseSuccessEvent, SmartBoxSearchEvent, SmartBoxSearchSettings, SmartBoxSemanticSearchEvent, SmartBoxSemanticSearchSettings, SmartBoxSize } from './models';
12
+ import { GridSmartBoxMode } from '../models';
13
+ import { SegmentedButtonSettings } from "../segmented-control/models";
14
+ import { ContextService } from '../../../../../common/provider.service';
15
+ import { GridAIRequestResponseService } from '../../ai-assistant/ai-request-response.service';
16
+ import { GridSmartBoxPromptSuggestionTemplateDirective } from '../smartbox-suggestion.template';
17
+ import { GridSmartBoxHistoryItemTemplateDirective } from '../smartbox-history-item.template';
18
+ import { ColumnInfoService } from '../../../../../common/column-info.service';
19
+ import { SearchService } from '../search.service';
20
+ import * as i0 from "@angular/core";
21
+ /**
22
+ * @hidden
23
+ */
24
+ export declare class SmartBoxComponent implements AfterViewInit, OnChanges, OnDestroy {
25
+ private popupService;
26
+ private wrapper;
27
+ private cdr;
28
+ private zone;
29
+ private intl;
30
+ private ctx;
31
+ private aiRequestResponseService;
32
+ private http;
33
+ private renderer;
34
+ private columnInfoService;
35
+ private searchService;
36
+ popupTemplate: TemplateRef<any>;
37
+ input: ElementRef;
38
+ innerWrapper: ElementRef;
39
+ set searchMode(mode: boolean | SmartBoxSearchSettings);
40
+ get searchMode(): SmartBoxSearchSettings;
41
+ set semanticSearchMode(mode: boolean | SmartBoxSemanticSearchSettings);
42
+ get semanticSearchMode(): SmartBoxSemanticSearchSettings;
43
+ set aiAssistantMode(mode: boolean | SmartBoxAIAssistantSettings);
44
+ get aiAssistantMode(): SmartBoxAIAssistantSettings;
45
+ set speechToTextButton(value: SpeechToTextButtonSettings | boolean);
46
+ get speechToTextButton(): SpeechToTextButtonSettings;
47
+ get searchHistorySettings(): SmartBoxHistorySettings;
48
+ get semanticSearchHistorySettings(): SmartBoxHistorySettings;
49
+ get aiAssistantHistorySettings(): SmartBoxHistorySettings;
50
+ get inputPlaceholder(): string;
51
+ set activeMode(value: GridSmartBoxMode);
52
+ get activeMode(): GridSmartBoxMode;
53
+ set history(value: boolean | SmartBoxHistorySettings);
54
+ get history(): SmartBoxHistorySettings;
55
+ placeholder: string;
56
+ set size(size: SmartBoxSize);
57
+ get size(): SmartBoxSize;
58
+ promptSuggestionTemplate: GridSmartBoxPromptSuggestionTemplateDirective;
59
+ historyItemTemplate: GridSmartBoxHistoryItemTemplateDirective;
60
+ loading: boolean;
61
+ open: EventEmitter<any>;
62
+ close: EventEmitter<any>;
63
+ focus: EventEmitter<any>;
64
+ blur: EventEmitter<any>;
65
+ aiAssistantPromptRequest: EventEmitter<SmartBoxRequestEvent>;
66
+ aiAssistantResponseSuccess: EventEmitter<SmartBoxResponseSuccessEvent>;
67
+ aiAssistantResponseError: EventEmitter<SmartBoxResponseErrorEvent>;
68
+ aiAssistantCancelRequest: EventEmitter<undefined>;
69
+ search: EventEmitter<SmartBoxSearchEvent>;
70
+ semanticSearch: EventEmitter<SmartBoxSemanticSearchEvent>;
71
+ constructor(popupService: PopupService, wrapper: ElementRef, cdr: ChangeDetectorRef, zone: NgZone, intl: IntlService, ctx: ContextService, aiRequestResponseService: GridAIRequestResponseService, http: HttpClient, renderer: Renderer2, columnInfoService: ColumnInfoService, searchService: SearchService);
72
+ ngOnChanges(changes: SimpleChanges): void;
73
+ ngAfterViewInit(): void;
74
+ ngOnDestroy(): void;
75
+ focusableId: string;
76
+ selectedView: GridSmartBoxMode;
77
+ isOpen: boolean;
78
+ checkIcon: SVGIcon;
79
+ clockArrowRotateIcon: SVGIcon;
80
+ fileClockOutlineIcon: SVGIcon;
81
+ searchIcon: SVGIcon;
82
+ zoomSparkleIcon: SVGIcon;
83
+ sparklesIcon: SVGIcon;
84
+ arrowUpOutlineIcon: SVGIcon;
85
+ stopSmIcon: SVGIcon;
86
+ xIcon: SVGIcon;
87
+ lightbulbOutlineIcon: SVGIcon;
88
+ searchListData: Array<{
89
+ text: string;
90
+ description: string;
91
+ selected: boolean;
92
+ }>;
93
+ aiAssistantHistory: HistoryItem[];
94
+ searchHistory: HistoryItem[];
95
+ semanticSearchHistory: HistoryItem[];
96
+ get segmentedControlButtons(): SegmentedButtonSettings[];
97
+ get prefixIconName(): string;
98
+ get prefixSVGIcon(): SVGIcon;
99
+ messageFor(message: string): string;
100
+ formatDate(date: Date, format: string): string;
101
+ onModeChange(button: SegmentedButtonSettings): void;
102
+ onSearchItemClick(item: any): void;
103
+ onListItemClick(item: string): void;
104
+ handleInput: (_event: any) => void;
105
+ handleInputValueChange(): void;
106
+ handleInputFocus: () => void;
107
+ handleInputBlur: () => void;
108
+ handleInputClick: () => void;
109
+ handleInputKeydown: (event: KeyboardEvent) => void;
110
+ onIconClick: () => void;
111
+ onIconMouseDown: (args: any) => void;
112
+ clearValue(event: any): void;
113
+ private _searchMode;
114
+ private _semanticSearchMode;
115
+ private _aiAssistantMode;
116
+ private _activeMode;
117
+ private _history;
118
+ private _size;
119
+ private _speechToTextButton;
120
+ private popupRef;
121
+ private popupMouseDownHandler;
122
+ private requestData;
123
+ private currentRequestSubscription;
124
+ private columns;
125
+ private leafColumns;
126
+ private searchTypingTimeout;
127
+ togglePopup(open: boolean): void;
128
+ onPromptSubmit(): void;
129
+ onSpeechToTextResult(event: any): void;
130
+ onSpeechToTextError(event: any): void;
131
+ get searchPlaceholder(): string;
132
+ get semanticSearchPlaceholder(): string;
133
+ get aiAssistantPlaceholder(): string;
134
+ get inputDisabled(): boolean;
135
+ private createPopup;
136
+ private destroyPopup;
137
+ private _toggle;
138
+ private clearTypingTimeout;
139
+ private sendPromptRequest;
140
+ handleResponseCancel(): void;
141
+ private unsubscribeCurrentRequest;
142
+ private get popupWidth();
143
+ private handleSizeClass;
144
+ private updateModeSettingsFromSharedInputs;
145
+ private updateSearchListData;
146
+ private updateSelectedView;
147
+ private updateHistoryData;
148
+ private processResponse;
149
+ private handleError;
150
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartBoxComponent, never>;
151
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartBoxComponent, "kendo-smartbox", never, { "searchMode": { "alias": "searchMode"; "required": false; }; "semanticSearchMode": { "alias": "semanticSearchMode"; "required": false; }; "aiAssistantMode": { "alias": "aiAssistantMode"; "required": false; }; "activeMode": { "alias": "activeMode"; "required": false; }; "history": { "alias": "history"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "size": { "alias": "size"; "required": false; }; "promptSuggestionTemplate": { "alias": "promptSuggestionTemplate"; "required": false; }; "historyItemTemplate": { "alias": "historyItemTemplate"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "open": "open"; "close": "close"; "focus": "focus"; "blur": "blur"; "aiAssistantPromptRequest": "aiAssistantPromptRequest"; "aiAssistantResponseSuccess": "aiAssistantResponseSuccess"; "aiAssistantResponseError": "aiAssistantResponseError"; "aiAssistantCancelRequest": "aiAssistantCancelRequest"; "search": "search"; "semanticSearch": "semanticSearch"; }, never, never, true, never>;
152
+ }
@@ -0,0 +1,30 @@
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
+ * @hidden
9
+ * Renders the history item content.
10
+ *
11
+ * To define the history item template, nest a `<ng-template>` tag with the `kendoGridSmartBoxHistoryItemTemplate` directive inside the component tag.
12
+ *
13
+ * The template context is set to the current history item. Use the `let-item` directive to reference the current history item.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <kendo-smartbox>
18
+ * <ng-template kendoGridSmartBoxHistoryItemTemplate let-item>
19
+ * <kendo-icon-wrapper name="clock" [svgIcon]="clockIcon"></kendo-icon-wrapper>
20
+ * <span>{{item.text}} ({{ item.timestamp | date: 'shortTime' }})</span>
21
+ * </ng-template>
22
+ * </kendo-smartbox>
23
+ * ```
24
+ */
25
+ export declare class GridSmartBoxHistoryItemTemplateDirective {
26
+ templateRef: TemplateRef<any>;
27
+ constructor(templateRef: TemplateRef<any>);
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridSmartBoxHistoryItemTemplateDirective, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridSmartBoxHistoryItemTemplateDirective, "[kendoGridSmartBoxHistoryItemTemplate]", never, {}, {}, never, never, true, never>;
30
+ }
@@ -0,0 +1,30 @@
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
+ * @hidden
9
+ * Renders the prompt suggestion content.
10
+ *
11
+ * To define the suggestion template, nest a `<ng-template>` tag with the `kendoGridSmartBoxPromptSuggestionTemplate` directive inside the component tag.
12
+ *
13
+ * The template context is set to the current suggestion. Use the `let-suggestion` directive to reference the current suggestion.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <kendo-smartbox>
18
+ * <ng-template kendoGridSmartBoxPromptSuggestionTemplate let-suggestion>
19
+ * <kendo-icon-wrapper name="sort-asc" [svgIcon]="sortAscIcon"></kendo-icon-wrapper>
20
+ * <span>{{suggestion}}</span>
21
+ * </ng-template>
22
+ * </kendo-smartbox>
23
+ * ```
24
+ */
25
+ export declare class GridSmartBoxPromptSuggestionTemplateDirective {
26
+ templateRef: TemplateRef<any>;
27
+ constructor(templateRef: TemplateRef<any>);
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridSmartBoxPromptSuggestionTemplateDirective, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridSmartBoxPromptSuggestionTemplateDirective, "[kendoGridSmartBoxPromptSuggestionTemplate]", never, {}, {}, never, never, true, never>;
30
+ }
@@ -0,0 +1,48 @@
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 } from '@angular/core';
6
+ import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
7
+ import { GridSmartBoxAIAssistantSettings, GridSmartBoxHistorySettings, GridSmartBoxMode, GridSmartBoxRequestEvent, GridSmartBoxResponseErrorEvent, GridSmartBoxResponseSuccessEvent, GridSmartBoxSearchEvent, GridSmartBoxSearchSettings, GridSmartBoxSemanticSearchEvent, GridSmartBoxSemanticSearchSettings, GridSmartBoxSize } from './models';
8
+ import { GridSmartBoxPromptSuggestionTemplateDirective } from './smartbox-suggestion.template';
9
+ import { GridSmartBoxHistoryItemTemplateDirective } from './smartbox-history-item.template';
10
+ import * as i0 from "@angular/core";
11
+ /**
12
+ * Represents the toolbar tool for showing a smart bar.
13
+ * Use this component inside a ToolbarComponent in the Grid.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <kendo-grid>
18
+ * <kendo-toolbar>
19
+ * <kendo-grid-smartbox-tool></kendo-grid-smartbox-tool>
20
+ * </kendo-toolbar>
21
+ * </kendo-grid>
22
+ * ```
23
+ */
24
+ export declare class SmartBoxToolbarToolComponent extends ToolBarToolComponent {
25
+ promptSuggestionTemplate: GridSmartBoxPromptSuggestionTemplateDirective;
26
+ historyItemTemplate: GridSmartBoxHistoryItemTemplateDirective;
27
+ searchMode: boolean | GridSmartBoxSearchSettings;
28
+ semanticSearchMode: boolean | GridSmartBoxSemanticSearchSettings;
29
+ aiAssistantMode: boolean | GridSmartBoxAIAssistantSettings;
30
+ activeMode: GridSmartBoxMode;
31
+ history: boolean | GridSmartBoxHistorySettings;
32
+ placeholder: string;
33
+ size: GridSmartBoxSize;
34
+ open: EventEmitter<any>;
35
+ close: EventEmitter<any>;
36
+ inputFocus: EventEmitter<any>;
37
+ inputBlur: EventEmitter<any>;
38
+ aiAssistantPromptRequest: EventEmitter<GridSmartBoxRequestEvent>;
39
+ aiAssistantResponseSuccess: EventEmitter<GridSmartBoxResponseSuccessEvent>;
40
+ aiAssistantResponseError: EventEmitter<GridSmartBoxResponseErrorEvent>;
41
+ aiAssistantCancelRequest: EventEmitter<undefined>;
42
+ search: EventEmitter<GridSmartBoxSearchEvent>;
43
+ semanticSearch: EventEmitter<GridSmartBoxSemanticSearchEvent>;
44
+ loading: boolean;
45
+ constructor();
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartBoxToolbarToolComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartBoxToolbarToolComponent, "kendo-grid-smartbox-tool", never, { "searchMode": { "alias": "searchMode"; "required": false; }; "semanticSearchMode": { "alias": "semanticSearchMode"; "required": false; }; "aiAssistantMode": { "alias": "aiAssistantMode"; "required": false; }; "activeMode": { "alias": "activeMode"; "required": false; }; "history": { "alias": "history"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "open": "open"; "close": "close"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; "aiAssistantPromptRequest": "aiAssistantPromptRequest"; "aiAssistantResponseSuccess": "aiAssistantResponseSuccess"; "aiAssistantResponseError": "aiAssistantResponseError"; "aiAssistantCancelRequest": "aiAssistantCancelRequest"; "search": "search"; "semanticSearch": "semanticSearch"; }, ["promptSuggestionTemplate", "historyItemTemplate"], never, true, never>;
48
+ }