@progress/kendo-angular-grid 23.0.0-develop.1 → 23.0.0-develop.11
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/common/column-info.service.d.ts +1 -1
- package/databinding.directive.d.ts +10 -1
- package/directives.d.ts +6 -3
- package/fesm2022/progress-kendo-angular-grid.mjs +2374 -83
- package/filtering/filter-row.component.d.ts +1 -1
- package/grid.component.d.ts +2 -2
- package/grid.module.d.ts +100 -97
- package/highlight/highlight.directive.d.ts +8 -2
- package/index.d.ts +4 -0
- package/localization/messages.d.ts +65 -1
- package/package-metadata.mjs +2 -2
- package/package.json +24 -24
- package/rendering/toolbar/tools/ai-assistant/ai-assistant.component.d.ts +2 -3
- package/rendering/toolbar/tools/smartbox/models.d.ts +71 -0
- package/rendering/toolbar/tools/smartbox/search.service.d.ts +24 -0
- package/rendering/toolbar/tools/smartbox/segmented-control/models.d.ts +36 -0
- package/rendering/toolbar/tools/smartbox/segmented-control/segmented-control.component.d.ts +45 -0
- package/rendering/toolbar/tools/smartbox/smartbox-component/common.d.ts +38 -0
- package/rendering/toolbar/tools/smartbox/smartbox-component/models.d.ts +177 -0
- package/rendering/toolbar/tools/smartbox/smartbox-component/smartbox.component.d.ts +154 -0
- package/rendering/toolbar/tools/smartbox/smartbox-history-item.template.d.ts +29 -0
- package/rendering/toolbar/tools/smartbox/smartbox-suggestion.template.d.ts +29 -0
- package/rendering/toolbar/tools/smartbox/smartbox-tool.component.d.ts +120 -0
- package/schematics/ngAdd/index.js +7 -7
|
@@ -0,0 +1,120 @@
|
|
|
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
|
+
/**
|
|
28
|
+
* Controls the visibility and settings of the Search mode. By default, the mode is enabled.
|
|
29
|
+
*
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
searchMode: boolean | GridSmartBoxSearchSettings;
|
|
33
|
+
/**
|
|
34
|
+
* Controls the visibility and settings of the Semantic Search mode. By default, the mode is disabled.
|
|
35
|
+
*
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
semanticSearchMode: boolean | GridSmartBoxSemanticSearchSettings;
|
|
39
|
+
/**
|
|
40
|
+
* Controls the visibility and settings of the AI Assistant mode. By default, the mode is disabled.
|
|
41
|
+
*
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
aiAssistantMode: boolean | GridSmartBoxAIAssistantSettings;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the initially active mode of the tool.
|
|
47
|
+
*
|
|
48
|
+
* @default 'search'
|
|
49
|
+
*/
|
|
50
|
+
activeMode: GridSmartBoxMode;
|
|
51
|
+
/**
|
|
52
|
+
* Controls the visibility and settings of the history for each mode.
|
|
53
|
+
*/
|
|
54
|
+
history: boolean | GridSmartBoxHistorySettings;
|
|
55
|
+
/**
|
|
56
|
+
* Sets the placeholder of the input element in the SmartBox and applies to all modes.
|
|
57
|
+
*/
|
|
58
|
+
placeholder: string;
|
|
59
|
+
/**
|
|
60
|
+
* Specifies the padding of the input.
|
|
61
|
+
*
|
|
62
|
+
* @default 'medium'
|
|
63
|
+
*/
|
|
64
|
+
size: GridSmartBoxSize;
|
|
65
|
+
/**
|
|
66
|
+
* Emits when the SmartBox tool opens.
|
|
67
|
+
*/
|
|
68
|
+
open: EventEmitter<any>;
|
|
69
|
+
/**
|
|
70
|
+
* Emits when the SmartBox tool closes.
|
|
71
|
+
*/
|
|
72
|
+
close: EventEmitter<any>;
|
|
73
|
+
/**
|
|
74
|
+
* Emits when the SmartBox tool input is focused.
|
|
75
|
+
*/
|
|
76
|
+
inputFocus: EventEmitter<any>;
|
|
77
|
+
/**
|
|
78
|
+
* Emits when the SmartBox tool input is blurred.
|
|
79
|
+
*/
|
|
80
|
+
inputBlur: EventEmitter<any>;
|
|
81
|
+
/**
|
|
82
|
+
* Emits before the SmartBox tool sends the AI request.
|
|
83
|
+
* - When you provide a `requestUrl`, you can handle the event to modify the request options.
|
|
84
|
+
* - When you do not provide a `requestUrl`, you can handle the event to perform an entirely custom request.
|
|
85
|
+
*/
|
|
86
|
+
aiAssistantPromptRequest: EventEmitter<GridSmartBoxRequestEvent>;
|
|
87
|
+
/**
|
|
88
|
+
* Emits when the SmartBox tool completes the AI request successfully.
|
|
89
|
+
* The event contains the response from the AI service and is preventable to allow stopping the default response handling.
|
|
90
|
+
*/
|
|
91
|
+
aiAssistantResponseSuccess: EventEmitter<GridSmartBoxResponseSuccessEvent>;
|
|
92
|
+
/**
|
|
93
|
+
* Emits when the SmartBox tool completes the AI request with an error.
|
|
94
|
+
* The event contains the error response from the AI service and is preventable to allow stopping the default error handling.
|
|
95
|
+
*/
|
|
96
|
+
aiAssistantResponseError: EventEmitter<GridSmartBoxResponseErrorEvent>;
|
|
97
|
+
/**
|
|
98
|
+
* Emits when the user clicks the Cancel button.
|
|
99
|
+
*/
|
|
100
|
+
aiAssistantCancelRequest: EventEmitter<undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* Emits when the user types in Search mode. The event contains the search query and the filter descriptors created based on the query.
|
|
103
|
+
*/
|
|
104
|
+
search: EventEmitter<GridSmartBoxSearchEvent>;
|
|
105
|
+
/**
|
|
106
|
+
* Emits when the user types in Semantic Search mode. The event contains the search query and the filter descriptors created based on the query.
|
|
107
|
+
*/
|
|
108
|
+
semanticSearch: EventEmitter<GridSmartBoxSemanticSearchEvent>;
|
|
109
|
+
/**
|
|
110
|
+
* Emits when the mode of the SmartBox tool changes. The event contains the new mode.
|
|
111
|
+
*/
|
|
112
|
+
modeChange: EventEmitter<GridSmartBoxMode>;
|
|
113
|
+
/**
|
|
114
|
+
* Indicates whether the SmartBox tool is in a loading state. Use this to show a loading indicator in the UI.
|
|
115
|
+
*/
|
|
116
|
+
loading: boolean;
|
|
117
|
+
constructor();
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartBoxToolbarToolComponent, never>;
|
|
119
|
+
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"; "modeChange": "modeChange"; }, ["promptSuggestionTemplate", "historyItemTemplate"], never, true, never>;
|
|
120
|
+
}
|
|
@@ -9,19 +9,19 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '23.0.0-develop.
|
|
13
|
-
'@progress/kendo-angular-navigation': '23.0.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '23.0.0-develop.11',
|
|
13
|
+
'@progress/kendo-angular-navigation': '23.0.0-develop.11',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '23.0.0-develop.
|
|
15
|
+
'@progress/kendo-angular-dialog': '23.0.0-develop.11',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
18
18
|
// peer dependency of kendo-angular-layout
|
|
19
|
-
'@progress/kendo-angular-progressbar': '23.0.0-develop.
|
|
19
|
+
'@progress/kendo-angular-progressbar': '23.0.0-develop.11',
|
|
20
20
|
// transitive peer dependencies from toolbar
|
|
21
|
-
'@progress/kendo-angular-indicators': '23.0.0-develop.
|
|
21
|
+
'@progress/kendo-angular-indicators': '23.0.0-develop.11',
|
|
22
22
|
// transitive peer dependencies from conversational-ui
|
|
23
|
-
'@progress/kendo-angular-menu': '23.0.0-develop.
|
|
24
|
-
'@progress/kendo-angular-upload': '23.0.0-develop.
|
|
23
|
+
'@progress/kendo-angular-menu': '23.0.0-develop.11',
|
|
24
|
+
'@progress/kendo-angular-upload': '23.0.0-develop.11'
|
|
25
25
|
} });
|
|
26
26
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
27
27
|
}
|