@progress/kendo-react-grid 14.0.0-develop.1 → 14.0.0-develop.2
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/columnMenu/GridColumnMenuFilter.mjs +2 -2
- package/components/noRecords/GridNoRecordsContainer.mjs +1 -1
- package/constants/index.mjs +2 -2
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/hooks/index.d.ts +8 -0
- package/hooks/useGridAIRequest.d.ts +150 -0
- package/hooks/useGridAIRequest.js +8 -0
- package/hooks/useGridAIRequest.mjs +93 -0
- package/index.d.mts +3 -1
- package/index.d.ts +3 -1
- package/index.js +1 -1
- package/index.mjs +56 -50
- package/messages/index.d.ts +75 -0
- package/messages/index.js +2 -2
- package/messages/index.mjs +108 -78
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +1 -1
- package/package.json +19 -19
- package/toolbar-tools/GridToolbarAIAssistant.d.ts +2 -34
- package/toolbar-tools/GridToolbarAIAssistant.js +2 -2
- package/toolbar-tools/GridToolbarAIAssistant.mjs +167 -164
- package/toolbar-tools/GridToolbarFilter.mjs +5 -5
- package/toolbar-tools/smartbox/SegmentedControl.d.ts +13 -0
- package/toolbar-tools/smartbox/SegmentedControl.js +8 -0
- package/toolbar-tools/smartbox/SegmentedControl.mjs +109 -0
- package/toolbar-tools/smartbox/SmartBox.d.ts +20 -0
- package/toolbar-tools/smartbox/SmartBox.js +8 -0
- package/toolbar-tools/smartbox/SmartBox.mjs +380 -0
- package/toolbar-tools/smartbox/defaultConfigs.d.ts +30 -0
- package/toolbar-tools/smartbox/defaultConfigs.js +8 -0
- package/toolbar-tools/smartbox/defaultConfigs.mjs +36 -0
- package/toolbar-tools/smartbox/hooks/index.d.ts +17 -0
- package/toolbar-tools/smartbox/hooks/useDebounce.d.ts +11 -0
- package/toolbar-tools/smartbox/hooks/useDebounce.js +9 -0
- package/toolbar-tools/smartbox/hooks/useDebounce.mjs +21 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxGridState.d.ts +245 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxGridState.js +9 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxGridState.mjs +54 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxHistory.d.ts +80 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxHistory.js +9 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxHistory.mjs +66 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxInput.d.ts +96 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxLabels.d.ts +93 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxLabels.js +9 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxLabels.mjs +61 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxListData.d.ts +163 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxListData.js +9 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxListData.mjs +102 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxModes.d.ts +115 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxModes.js +9 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxModes.mjs +65 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxPopup.d.ts +56 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxPopup.js +9 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxPopup.mjs +25 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxSearch.d.ts +82 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxSearch.js +9 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxSearch.mjs +67 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxSegmentedControl.d.ts +70 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxSegmentedControl.js +9 -0
- package/toolbar-tools/smartbox/hooks/useSmartBoxSegmentedControl.mjs +57 -0
- package/toolbar-tools/smartbox/index.d.ts +10 -0
- package/toolbar-tools/smartbox/interfaces/SearchTypes.d.ts +45 -0
- package/toolbar-tools/smartbox/interfaces/SegmentedControlTypes.d.ts +66 -0
- package/toolbar-tools/smartbox/interfaces/SmartBoxTypes.d.ts +461 -0
- package/toolbar-tools/smartbox/interfaces/index.d.ts +11 -0
- package/toolbar-tools/smartbox/interfaces/utilTypes.d.ts +25 -0
- package/toolbar-tools/smartbox/listItemRenders.d.ts +165 -0
- package/toolbar-tools/smartbox/listItemRenders.js +8 -0
- package/toolbar-tools/smartbox/listItemRenders.mjs +68 -0
- package/toolbar-tools/smartbox/utils.d.ts +14 -0
- package/toolbar-tools/smartbox/utils.js +8 -0
- package/toolbar-tools/smartbox/utils.mjs +14 -0
package/hooks/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
export * from './useGridAIRequest.js';
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { AxiosResponse, AxiosRequestConfig } from 'axios';
|
|
9
|
+
import { GridAIState } from '../utils/handleAIResponse.js';
|
|
10
|
+
import { GridHandle } from '../interfaces/index.js';
|
|
11
|
+
/**
|
|
12
|
+
* Represents the request data structure for the Grid AI request.
|
|
13
|
+
*/
|
|
14
|
+
export interface GridAIRequestData {
|
|
15
|
+
/**
|
|
16
|
+
* The role or context for the AI request.
|
|
17
|
+
*/
|
|
18
|
+
role: string;
|
|
19
|
+
/**
|
|
20
|
+
* The array of column definitions with their field names.
|
|
21
|
+
*/
|
|
22
|
+
columns: Array<{
|
|
23
|
+
field: string;
|
|
24
|
+
id?: string;
|
|
25
|
+
values?: any[];
|
|
26
|
+
}>;
|
|
27
|
+
/**
|
|
28
|
+
* The headers object containing key-value pairs for the request.
|
|
29
|
+
*/
|
|
30
|
+
headers: Record<string, string>;
|
|
31
|
+
/**
|
|
32
|
+
* The prompt message sent to the AI assistant.
|
|
33
|
+
*/
|
|
34
|
+
promptMessage: string;
|
|
35
|
+
/**
|
|
36
|
+
* The request configuration options for the HTTP request.
|
|
37
|
+
*/
|
|
38
|
+
requestOptions: {
|
|
39
|
+
url?: string;
|
|
40
|
+
method?: string;
|
|
41
|
+
withCredentials?: boolean;
|
|
42
|
+
responseType?: string;
|
|
43
|
+
cancelToken?: any;
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Options for the useGridAIRequest hook.
|
|
49
|
+
*/
|
|
50
|
+
export interface UseGridAIRequestOptions {
|
|
51
|
+
/**
|
|
52
|
+
* The URL to send the AI request to.
|
|
53
|
+
*/
|
|
54
|
+
requestUrl?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Additional axios request options.
|
|
57
|
+
*/
|
|
58
|
+
requestOptions?: AxiosRequestConfig;
|
|
59
|
+
/**
|
|
60
|
+
* The role for the AI request. Defaults to 'user'.
|
|
61
|
+
*/
|
|
62
|
+
role?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The columns to include in the request.
|
|
65
|
+
*/
|
|
66
|
+
columns?: Array<{
|
|
67
|
+
field: string;
|
|
68
|
+
id?: string;
|
|
69
|
+
values?: any[];
|
|
70
|
+
}>;
|
|
71
|
+
/**
|
|
72
|
+
* The current grid state.
|
|
73
|
+
*/
|
|
74
|
+
gridState?: GridAIState;
|
|
75
|
+
/**
|
|
76
|
+
* Reference to grid methods.
|
|
77
|
+
*/
|
|
78
|
+
gridRef?: Pick<GridHandle, 'getLeafDataItems' | 'getTotal' | 'exportAsPdf' | 'props'> | null;
|
|
79
|
+
/**
|
|
80
|
+
* Callback fired before the request is sent.
|
|
81
|
+
*/
|
|
82
|
+
onPromptRequest?: (request: GridAIRequestData, isRetry?: boolean) => void;
|
|
83
|
+
/**
|
|
84
|
+
* Callback fired when the response is received successfully.
|
|
85
|
+
*/
|
|
86
|
+
onResponseSuccess?: (response: AxiosResponse<any>, promptMessage?: string, isRetry?: boolean) => void;
|
|
87
|
+
/**
|
|
88
|
+
* Callback fired when the response returns an error.
|
|
89
|
+
*/
|
|
90
|
+
onResponseError?: (error: any) => void;
|
|
91
|
+
/**
|
|
92
|
+
* Callback fired when the grid state should be updated.
|
|
93
|
+
*/
|
|
94
|
+
onStateChange?: (newState: GridAIState) => void;
|
|
95
|
+
/**
|
|
96
|
+
* Callback fired when messages are received from AI.
|
|
97
|
+
*/
|
|
98
|
+
onMessages?: (messages: string[], promptMessage?: string, isRetry?: boolean) => void;
|
|
99
|
+
/**
|
|
100
|
+
* Callback fired when PDF export is requested.
|
|
101
|
+
*/
|
|
102
|
+
onExportPdf?: () => void;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Return type for the useGridAIRequest hook.
|
|
106
|
+
*/
|
|
107
|
+
export interface UseGridAIRequestReturn {
|
|
108
|
+
/**
|
|
109
|
+
* Whether a request is currently loading.
|
|
110
|
+
*/
|
|
111
|
+
loading: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Whether a request is currently streaming.
|
|
114
|
+
*/
|
|
115
|
+
streaming: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Send a prompt request to the AI.
|
|
118
|
+
*/
|
|
119
|
+
sendRequest: (promptMessage: string, isRetry?: boolean) => void;
|
|
120
|
+
/**
|
|
121
|
+
* Cancel the current request.
|
|
122
|
+
*/
|
|
123
|
+
cancelRequest: () => void;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* A custom hook that encapsulates the AI request logic for the Grid.
|
|
127
|
+
* This hook can be used by both GridToolbarAIAssistant and SmartBox components.
|
|
128
|
+
*
|
|
129
|
+
* @param options - Configuration options for the hook
|
|
130
|
+
* @returns Object containing loading state and request methods
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* ```tsx
|
|
134
|
+
* const { loading, streaming, sendRequest, cancelRequest } = useGridAIRequest({
|
|
135
|
+
* requestUrl: '/api/ai/grid',
|
|
136
|
+
* columns: gridColumns,
|
|
137
|
+
* gridState: currentState,
|
|
138
|
+
* gridRef: gridRef.current,
|
|
139
|
+
* onStateChange: (newState) => setGridState(newState),
|
|
140
|
+
* onMessages: (messages) => console.log(messages)
|
|
141
|
+
* });
|
|
142
|
+
*
|
|
143
|
+
* // Send a request
|
|
144
|
+
* sendRequest('Sort by price descending');
|
|
145
|
+
*
|
|
146
|
+
* // Cancel if needed
|
|
147
|
+
* cancelRequest();
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
export declare function useGridAIRequest(options: UseGridAIRequestOptions): UseGridAIRequestReturn;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react"),C=require("axios"),E=require("../utils/handleAIResponse.js");function M(s){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const t in s)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(s,t);Object.defineProperty(o,t,a.get?a:{enumerable:!0,get:()=>s[t]})}}return o.default=s,Object.freeze(o)}const n=M(v);function D(s){const{requestUrl:o,requestOptions:t,role:a="user",columns:b=[],gridState:f,gridRef:d,onPromptRequest:p,onResponseSuccess:g,onResponseError:m,onStateChange:R,onMessages:h,onExportPdf:q}=s,[j,u]=n.useState(!1),[y,i]=n.useState(!1),S=n.useRef(null),O=n.useCallback((r,c,l)=>{if(i(!1),u(!1),f&&d){const e=E.handleAIResponse(r,f,d);R&&R(e.state),e.shouldExportPdf&&q&&q(),e.messages.length>0&&h&&h(e.messages,c,l)}g&&g(r,c,l)},[f,d,R,q,h,g]),k=n.useCallback(r=>{i(!1),u(!1),m&&m(r)},[m]),P=n.useCallback((r,c)=>{const l=C.CancelToken.source(),e={role:a||"user",columns:b||[],headers:{Accept:"*/*","Content-Type":"application/json"},promptMessage:r,requestOptions:{url:o,method:"POST",withCredentials:!1,responseType:"json",cancelToken:l.token,...t}};if(p&&p(e,c),e.requestOptions.url!==void 0){i(!0),u(!0);const{url:T,...x}=e.requestOptions;T&&(C(T,{...x,headers:e.headers,data:{columns:e.columns,contents:[{text:e.promptMessage}]},responseType:"json"}).then(A=>O(A,e.promptMessage,c)).catch(k),S.current=l)}},[a,b,o,t,p,O,k]),I=n.useCallback(()=>{S.current&&S.current.cancel("Request cancelled by user."),i(!1),u(!1)},[]);return{loading:j,streaming:y,sendRequest:P,cancelRequest:I}}exports.useGridAIRequest=D;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import * as s from "react";
|
|
9
|
+
import x from "axios";
|
|
10
|
+
import { handleAIResponse as v } from "../utils/handleAIResponse.mjs";
|
|
11
|
+
function w(b) {
|
|
12
|
+
const {
|
|
13
|
+
requestUrl: h,
|
|
14
|
+
requestOptions: R,
|
|
15
|
+
role: q = "user",
|
|
16
|
+
columns: S = [],
|
|
17
|
+
gridState: c,
|
|
18
|
+
gridRef: l,
|
|
19
|
+
onPromptRequest: u,
|
|
20
|
+
onResponseSuccess: i,
|
|
21
|
+
onResponseError: f,
|
|
22
|
+
onStateChange: p,
|
|
23
|
+
onMessages: d,
|
|
24
|
+
onExportPdf: m
|
|
25
|
+
} = b, [O, a] = s.useState(!1), [E, r] = s.useState(!1), g = s.useRef(null), k = s.useCallback(
|
|
26
|
+
(n, t, o) => {
|
|
27
|
+
if (r(!1), a(!1), c && l) {
|
|
28
|
+
const e = v(n, c, l);
|
|
29
|
+
p && p(e.state), e.shouldExportPdf && m && m(), e.messages.length > 0 && d && d(e.messages, t, o);
|
|
30
|
+
}
|
|
31
|
+
i && i(n, t, o);
|
|
32
|
+
},
|
|
33
|
+
[c, l, p, m, d, i]
|
|
34
|
+
), C = s.useCallback(
|
|
35
|
+
(n) => {
|
|
36
|
+
r(!1), a(!1), f && f(n);
|
|
37
|
+
},
|
|
38
|
+
[f]
|
|
39
|
+
), I = s.useCallback(
|
|
40
|
+
(n, t) => {
|
|
41
|
+
const o = x.CancelToken.source(), e = {
|
|
42
|
+
role: q || "user",
|
|
43
|
+
columns: S || [],
|
|
44
|
+
headers: {
|
|
45
|
+
Accept: "*/*",
|
|
46
|
+
"Content-Type": "application/json"
|
|
47
|
+
},
|
|
48
|
+
promptMessage: n,
|
|
49
|
+
requestOptions: {
|
|
50
|
+
url: h,
|
|
51
|
+
method: "POST",
|
|
52
|
+
withCredentials: !1,
|
|
53
|
+
responseType: "json",
|
|
54
|
+
cancelToken: o.token,
|
|
55
|
+
...R
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
if (u && u(e, t), e.requestOptions.url !== void 0) {
|
|
59
|
+
r(!0), a(!0);
|
|
60
|
+
const { url: T, ...j } = e.requestOptions;
|
|
61
|
+
T && (x(T, {
|
|
62
|
+
...j,
|
|
63
|
+
headers: e.headers,
|
|
64
|
+
data: {
|
|
65
|
+
columns: e.columns,
|
|
66
|
+
contents: [{ text: e.promptMessage }]
|
|
67
|
+
},
|
|
68
|
+
responseType: "json"
|
|
69
|
+
}).then((A) => k(A, e.promptMessage, t)).catch(C), g.current = o);
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
[
|
|
73
|
+
q,
|
|
74
|
+
S,
|
|
75
|
+
h,
|
|
76
|
+
R,
|
|
77
|
+
u,
|
|
78
|
+
k,
|
|
79
|
+
C
|
|
80
|
+
]
|
|
81
|
+
), P = s.useCallback(() => {
|
|
82
|
+
g.current && g.current.cancel("Request cancelled by user."), r(!1), a(!1);
|
|
83
|
+
}, []);
|
|
84
|
+
return {
|
|
85
|
+
loading: O,
|
|
86
|
+
streaming: E,
|
|
87
|
+
sendRequest: I,
|
|
88
|
+
cancelRequest: P
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
export {
|
|
92
|
+
w as useGridAIRequest
|
|
93
|
+
};
|
package/index.d.mts
CHANGED
|
@@ -76,6 +76,7 @@ import { GridColumnState } from './interfaces/GridColumnState.js';
|
|
|
76
76
|
import { CompositeHighlightDescriptor } from './interfaces/CompositeHighlightDescriptor.js';
|
|
77
77
|
import { GridHighlightDescriptor } from './interfaces/GridHighlightDescriptor.js';
|
|
78
78
|
import { handleAIResponse, GridAIState, GridAIResponseResult } from './utils/handleAIResponse.js';
|
|
79
|
+
import { useGridAIRequest, GridAIRequestData, UseGridAIRequestOptions, UseGridAIRequestReturn } from './hooks/useGridAIRequest.js';
|
|
79
80
|
import { GridAIAssistantCommand } from './interfaces/GridAIAssistantCommand.js';
|
|
80
81
|
import { GridAICommands } from './interfaces/GridAICommands.js';
|
|
81
82
|
export * from './interfaces/events.js';
|
|
@@ -88,5 +89,6 @@ export * from './contextMenu/enums.js';
|
|
|
88
89
|
export * from './GridSearchBox.js';
|
|
89
90
|
export * from './GridPdfExportButton.js';
|
|
90
91
|
export * from './GridCsvExportButton.js';
|
|
91
|
-
export
|
|
92
|
+
export * from './toolbar-tools/smartbox/index.js';
|
|
93
|
+
export { CompositeHighlightDescriptor, Grid, GridHandle, GridHighlightDescriptor, GridProps, GridColumn, GridColumnProps, GridColSpanProps, GridEditDialogProps, GridColumnChildrenProps, GridCellProps, GridColumnType, GridRowReorderEvent, GridDataType, GridRowReorderSettings, GridCell, GridEditCell, GridGroupCell, GridHierarchyCell, GridDetailRow, GridDetailRowProps, GridRow, GridRowProps, GridFilterCell, GridFilterCellProps, GridHeaderCell, GridHeaderCellProps, GridSelectionCell, GridColumnMenuProps, GridReorderDropPosition, GridColumnMenuSort, GridColumnMenuFilter, GridColumnMenuGroup, GridColumnMenuItem, GridColumnMenuItemContent, GridColumnMenuItemGroup, GridColumnMenuFilterUI, GridColumnMenuFilterUIProps, GridColumnMenuFilterCell, GridColumnMenuFilterCellProps, GridColumnMenuCheckboxFilter, GridColumnMenuCheckboxFilterProps, GridColumnMenuColumnsList, GridColumnMenuColumnsListProps, GridColumnMenuColumnsChooser, GridColumnMenuColumnsChooserProps, GridColumnMenuColumnProps, GridColumnState, GridRowType, GridToolbar, GridToolbarProps, GridToolbarAIAssistant, GridToolbarAIAssistantHandle, GridToolbarAIAssistantProps, GridToolbarAIAssistantRequestData, GridAIAssistantCommand, GridAICommands, GridAIPrompt, GridAIPromptProps, GridToolbarSpacer, GridToolbarSpacerProps, GridToolbarSeparator, GridToolbarSeparatorProps, GridToolbarCheckboxFilter, GridToolbarCheckboxFilterProps, GridToolbarColumnsChooser, GridToolbarColumnsChooserProps, GridToolbarFilter, GridToolbarFilterProps, GridToolbarSort, GridToolbarSortProps, GridToolbarGroup, GridToolbarGroupProps, GridNoRecords, GridNoRecordsProps, GridSortSettings, GridPagerSettings, GridGroupableSettings, GridFooterCellProps, GridSelectableMode, GridSelectableSettings, GridFilterOperators, GridFilterOperator, GridColumnMenuWrapper, GridColumnMenuWrapperProps, getSelectedState, setSelectedState, getSelectedStateFromKeyDown, GRID_COL_INDEX_ATTRIBUTE, GRID_ROW_INDEX_ATTRIBUTE, GRID_PREVENT_SELECTION_ELEMENT, GridCommonDragLogic, rootFilterOrDefault, filterGroupByField, isColumnMenuSortActive, isColumnMenuFilterActive, GridColumnMenuFilterProps, cellBoolDropdownChange, cellInputChange, cellOperatorChange, booleanFilterValues, operators, combineSmartFilters, parseFilterDates, GridRowSpannableSettings, handleAIResponse, GridAIState, GridAIResponseResult, GridCSVExportOptions, useGridAIRequest, GridAIRequestData, UseGridAIRequestOptions, UseGridAIRequestReturn };
|
|
92
94
|
export * from './interfaces/GridStackedLayoutSettings.js';
|
package/index.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ import { GridColumnState } from './interfaces/GridColumnState.js';
|
|
|
76
76
|
import { CompositeHighlightDescriptor } from './interfaces/CompositeHighlightDescriptor.js';
|
|
77
77
|
import { GridHighlightDescriptor } from './interfaces/GridHighlightDescriptor.js';
|
|
78
78
|
import { handleAIResponse, GridAIState, GridAIResponseResult } from './utils/handleAIResponse.js';
|
|
79
|
+
import { useGridAIRequest, GridAIRequestData, UseGridAIRequestOptions, UseGridAIRequestReturn } from './hooks/useGridAIRequest.js';
|
|
79
80
|
import { GridAIAssistantCommand } from './interfaces/GridAIAssistantCommand.js';
|
|
80
81
|
import { GridAICommands } from './interfaces/GridAICommands.js';
|
|
81
82
|
export * from './interfaces/events.js';
|
|
@@ -88,5 +89,6 @@ export * from './contextMenu/enums.js';
|
|
|
88
89
|
export * from './GridSearchBox.js';
|
|
89
90
|
export * from './GridPdfExportButton.js';
|
|
90
91
|
export * from './GridCsvExportButton.js';
|
|
91
|
-
export
|
|
92
|
+
export * from './toolbar-tools/smartbox/index.js';
|
|
93
|
+
export { CompositeHighlightDescriptor, Grid, GridHandle, GridHighlightDescriptor, GridProps, GridColumn, GridColumnProps, GridColSpanProps, GridEditDialogProps, GridColumnChildrenProps, GridCellProps, GridColumnType, GridRowReorderEvent, GridDataType, GridRowReorderSettings, GridCell, GridEditCell, GridGroupCell, GridHierarchyCell, GridDetailRow, GridDetailRowProps, GridRow, GridRowProps, GridFilterCell, GridFilterCellProps, GridHeaderCell, GridHeaderCellProps, GridSelectionCell, GridColumnMenuProps, GridReorderDropPosition, GridColumnMenuSort, GridColumnMenuFilter, GridColumnMenuGroup, GridColumnMenuItem, GridColumnMenuItemContent, GridColumnMenuItemGroup, GridColumnMenuFilterUI, GridColumnMenuFilterUIProps, GridColumnMenuFilterCell, GridColumnMenuFilterCellProps, GridColumnMenuCheckboxFilter, GridColumnMenuCheckboxFilterProps, GridColumnMenuColumnsList, GridColumnMenuColumnsListProps, GridColumnMenuColumnsChooser, GridColumnMenuColumnsChooserProps, GridColumnMenuColumnProps, GridColumnState, GridRowType, GridToolbar, GridToolbarProps, GridToolbarAIAssistant, GridToolbarAIAssistantHandle, GridToolbarAIAssistantProps, GridToolbarAIAssistantRequestData, GridAIAssistantCommand, GridAICommands, GridAIPrompt, GridAIPromptProps, GridToolbarSpacer, GridToolbarSpacerProps, GridToolbarSeparator, GridToolbarSeparatorProps, GridToolbarCheckboxFilter, GridToolbarCheckboxFilterProps, GridToolbarColumnsChooser, GridToolbarColumnsChooserProps, GridToolbarFilter, GridToolbarFilterProps, GridToolbarSort, GridToolbarSortProps, GridToolbarGroup, GridToolbarGroupProps, GridNoRecords, GridNoRecordsProps, GridSortSettings, GridPagerSettings, GridGroupableSettings, GridFooterCellProps, GridSelectableMode, GridSelectableSettings, GridFilterOperators, GridFilterOperator, GridColumnMenuWrapper, GridColumnMenuWrapperProps, getSelectedState, setSelectedState, getSelectedStateFromKeyDown, GRID_COL_INDEX_ATTRIBUTE, GRID_ROW_INDEX_ATTRIBUTE, GRID_PREVENT_SELECTION_ELEMENT, GridCommonDragLogic, rootFilterOrDefault, filterGroupByField, isColumnMenuSortActive, isColumnMenuFilterActive, GridColumnMenuFilterProps, cellBoolDropdownChange, cellInputChange, cellOperatorChange, booleanFilterValues, operators, combineSmartFilters, parseFilterDates, GridRowSpannableSettings, handleAIResponse, GridAIState, GridAIResponseResult, GridCSVExportOptions, useGridAIRequest, GridAIRequestData, UseGridAIRequestOptions, UseGridAIRequestReturn };
|
|
92
94
|
export * from './interfaces/GridStackedLayoutSettings.js';
|
package/index.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./Grid.js"),G=require("./GridColumn.js"),s=require("./columnMenu/GridColumnMenuWrapper.js"),C=require("./columnMenu/GridColumnMenuGroup.js"),l=require("./columnMenu/GridColumnMenuSort.js"),o=require("./columnMenu/GridColumnMenuFilter.js"),m=require("./columnMenu/GridColumnMenuFilterUI.js"),c=require("./columnMenu/GridColumnMenuFilterCell.js"),p=require("./columnMenu/GridColumnMenuCheckboxFilter.js"),M=require("./columnMenu/GridColumnMenuColumnsList.js"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./Grid.js"),G=require("./GridColumn.js"),s=require("./columnMenu/GridColumnMenuWrapper.js"),C=require("./columnMenu/GridColumnMenuGroup.js"),l=require("./columnMenu/GridColumnMenuSort.js"),o=require("./columnMenu/GridColumnMenuFilter.js"),m=require("./columnMenu/GridColumnMenuFilterUI.js"),c=require("./columnMenu/GridColumnMenuFilterCell.js"),p=require("./columnMenu/GridColumnMenuCheckboxFilter.js"),M=require("./columnMenu/GridColumnMenuColumnsList.js"),q=require("./columnMenu/GridColumnMenuColumnsChooser.js"),I=require("./cells/datacell/GridCell.js"),g=require("./cells/editcell/GridEditCell.js"),S=require("./cells/groupcell/GridGroupCell.js"),T=require("./cells/hierarchycell/GridHierarchyCell.js"),b=require("./cells/GridFilterCell.js"),F=require("./header/GridHeaderCell.js"),x=require("./cells/selectioncell/GridSelectionCell.js"),E=require("./rows/GridDetailRow.js"),R=require("./rows/GridRow.js"),h=require("./GridToolbar.js"),A=require("./toolbar-tools/GridToolbarSpacer.js"),P=require("./toolbar-tools/GridToolbarSeparator.js"),D=require("./toolbar-tools/GridToolbarCheckboxFilter.js"),B=require("./toolbar-tools/GridToolbarColumnsChooser.js"),_=require("./toolbar-tools/GridToolbarFilter.js"),N=require("./toolbar-tools/GridToolbarSort.js"),f=require("./toolbar-tools/GridToolbarGroup.js"),L=require("./toolbar-tools/GridToolbarAIAssistant.js"),O=require("./toolbar-tools/ai-tool/GridAIPrompt.js"),y=require("./components/noRecords/GridNoRecords.js"),v=require("./columnMenu/GridColumnMenuItem.js"),w=require("./columnMenu/GridColumnMenuItemContent.js"),k=require("./columnMenu/GridColumnMenuItemGroup.js"),t=require("./constants/index.js"),i=require("@progress/kendo-react-data-tools"),U=require("./drag/CommonDragLogic.js"),e=require("./filterCommon.js"),H=require("./utils/handleAIResponse.js"),W=require("./hooks/useGridAIRequest.js"),j=require("./interfaces/GridAICommands.js"),r=require("./messages/index.js"),n=require("./StatusBar.js"),u=require("./contextMenu/GridContextMenu.js"),d=require("./contextMenu/enums.js"),V=require("./GridSearchBox.js"),X=require("./GridPdfExportButton.js"),K=require("./GridCsvExportButton.js"),$=require("./toolbar-tools/smartbox/SegmentedControl.js"),z=require("./toolbar-tools/smartbox/SmartBox.js");exports.Grid=a.Grid;exports.GridColumn=G.GridColumn;exports.GridColumnMenuWrapper=s.GridColumnMenuWrapper;exports.GridColumnMenuGroup=C.GridColumnMenuGroup;exports.GridColumnMenuSort=l.GridColumnMenuSort;exports.isColumnMenuSortActive=l.isColumnMenuSortActive;exports.GridColumnMenuFilter=o.GridColumnMenuFilter;exports.filterGroupByField=o.filterGroupByField;exports.isColumnMenuFilterActive=o.isColumnMenuFilterActive;exports.rootFilterOrDefault=o.rootFilterOrDefault;exports.GridColumnMenuFilterUI=m.GridColumnMenuFilterUI;exports.GridColumnMenuFilterCell=c.GridColumnMenuFilterCell;exports.GridColumnMenuCheckboxFilter=p.GridColumnMenuCheckboxFilter;exports.GridColumnMenuColumnsList=M.GridColumnMenuColumnsList;exports.GridColumnMenuColumnsChooser=q.GridColumnMenuColumnsChooser;exports.GridCell=I.GridCell;exports.GridEditCell=g.GridEditCell;exports.GridGroupCell=S.GridGroupCell;exports.GridHierarchyCell=T.GridHierarchyCell;exports.GridFilterCell=b.GridFilterCell;exports.GridHeaderCell=F.GridHeaderCell;exports.GridSelectionCell=x.GridSelectionCell;exports.GridDetailRow=E.GridDetailRow;exports.GridRow=R.GridRow;exports.GridToolbar=h.GridToolbar;exports.GridToolbarSpacer=A.GridToolbarSpacer;exports.GridToolbarSeparator=P.GridToolbarSeparator;exports.GridToolbarCheckboxFilter=D.GridToolbarCheckboxFilter;exports.GridToolbarColumnsChooser=B.GridToolbarColumnsChooser;exports.GridToolbarFilter=_.GridToolbarFilter;exports.GridToolbarSort=N.GridToolbarSort;exports.GridToolbarGroup=f.GridToolbarGroup;exports.GridToolbarAIAssistant=L.GridToolbarAIAssistant;exports.GridAIPrompt=O.GridAIPrompt;exports.GridNoRecords=y.GridNoRecords;exports.GridColumnMenuItem=v.GridColumnMenuItem;exports.GridColumnMenuItemContent=w.GridColumnMenuItemContent;exports.GridColumnMenuItemGroup=k.GridColumnMenuItemGroup;exports.GRID_COL_INDEX_ATTRIBUTE=t.GRID_COL_INDEX_ATTRIBUTE;exports.GRID_PREVENT_SELECTION_ELEMENT=t.GRID_PREVENT_SELECTION_ELEMENT;exports.GRID_ROW_INDEX_ATTRIBUTE=t.GRID_ROW_INDEX_ATTRIBUTE;Object.defineProperty(exports,"getSelectedState",{enumerable:!0,get:()=>i.getSelectedState});Object.defineProperty(exports,"getSelectedStateFromKeyDown",{enumerable:!0,get:()=>i.getSelectedStateFromKeyDown});Object.defineProperty(exports,"setSelectedState",{enumerable:!0,get:()=>i.setSelectedState});exports.GridCommonDragLogic=U.CommonDragLogic;exports.booleanFilterValues=e.booleanFilterValues;exports.cellBoolDropdownChange=e.cellBoolDropdownChange;exports.cellInputChange=e.cellInputChange;exports.cellOperatorChange=e.cellOperatorChange;exports.combineSmartFilters=e.combineSmartFilters;exports.operators=e.operators;exports.parseFilterDates=e.parseFilterDates;exports.handleAIResponse=H.handleAIResponse;exports.useGridAIRequest=W.useGridAIRequest;exports.GridAICommands=j.GridAICommands;exports.gridMessages=r.messages;exports.pagerFirstPage=r.pagerFirstPage;exports.pagerInfo=r.pagerInfo;exports.pagerItemPerPage=r.pagerItemPerPage;exports.pagerLastPage=r.pagerLastPage;exports.pagerNextPage=r.pagerNextPage;exports.pagerPreviousPage=r.pagerPreviousPage;exports.StatusBar=n.StatusBar;exports.getStatusData=n.getStatusData;exports.leafColumns=n.leafColumns;exports.GridContextMenu=u.GridContextMenu;exports.contextMenuItemsMap=u.contextMenuItemsMap;exports.GridContextMenuAnchorPart=d.GridContextMenuAnchorPart;exports.GridContextMenuItemNames=d.GridContextMenuItemNames;exports.GridSearchBox=V.GridSearchBox;exports.GridPdfExportButton=X.GridPdfExportButton;exports.GridCsvExportButton=K.GridCsvExportButton;exports.SegmentedControl=$.SegmentedControl;exports.SmartBox=z.SmartBox;
|
package/index.mjs
CHANGED
|
@@ -7,61 +7,64 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Grid as e } from "./Grid.mjs";
|
|
9
9
|
import { GridColumn as m } from "./GridColumn.mjs";
|
|
10
|
-
import { GridColumnMenuWrapper as
|
|
10
|
+
import { GridColumnMenuWrapper as p } from "./columnMenu/GridColumnMenuWrapper.mjs";
|
|
11
11
|
import { GridColumnMenuGroup as n } from "./columnMenu/GridColumnMenuGroup.mjs";
|
|
12
12
|
import { GridColumnMenuSort as x, isColumnMenuSortActive as d } from "./columnMenu/GridColumnMenuSort.mjs";
|
|
13
13
|
import { GridColumnMenuFilter as u, filterGroupByField as G, isColumnMenuFilterActive as C, rootFilterOrDefault as s } from "./columnMenu/GridColumnMenuFilter.mjs";
|
|
14
14
|
import { GridColumnMenuFilterUI as I } from "./columnMenu/GridColumnMenuFilterUI.mjs";
|
|
15
15
|
import { GridColumnMenuFilterCell as c } from "./columnMenu/GridColumnMenuFilterCell.mjs";
|
|
16
|
-
import { GridColumnMenuCheckboxFilter as
|
|
16
|
+
import { GridColumnMenuCheckboxFilter as T } from "./columnMenu/GridColumnMenuCheckboxFilter.mjs";
|
|
17
17
|
import { GridColumnMenuColumnsList as E } from "./columnMenu/GridColumnMenuColumnsList.mjs";
|
|
18
18
|
import { GridColumnMenuColumnsChooser as D } from "./columnMenu/GridColumnMenuColumnsChooser.mjs";
|
|
19
|
-
import { GridCell as
|
|
20
|
-
import { GridEditCell as
|
|
21
|
-
import { GridGroupCell as
|
|
19
|
+
import { GridCell as h } from "./cells/datacell/GridCell.mjs";
|
|
20
|
+
import { GridEditCell as P } from "./cells/editcell/GridEditCell.mjs";
|
|
21
|
+
import { GridGroupCell as _ } from "./cells/groupcell/GridGroupCell.mjs";
|
|
22
22
|
import { GridHierarchyCell as L } from "./cells/hierarchycell/GridHierarchyCell.mjs";
|
|
23
23
|
import { GridFilterCell as v } from "./cells/GridFilterCell.mjs";
|
|
24
24
|
import { GridHeaderCell as y } from "./header/GridHeaderCell.mjs";
|
|
25
25
|
import { GridSelectionCell as k } from "./cells/selectioncell/GridSelectionCell.mjs";
|
|
26
26
|
import { GridDetailRow as V } from "./rows/GridDetailRow.mjs";
|
|
27
27
|
import { GridRow as X } from "./rows/GridRow.mjs";
|
|
28
|
-
import { GridToolbar as
|
|
28
|
+
import { GridToolbar as K } from "./GridToolbar.mjs";
|
|
29
29
|
import { GridToolbarSpacer as z } from "./toolbar-tools/GridToolbarSpacer.mjs";
|
|
30
30
|
import { GridToolbarSeparator as Q } from "./toolbar-tools/GridToolbarSeparator.mjs";
|
|
31
31
|
import { GridToolbarCheckboxFilter as Z } from "./toolbar-tools/GridToolbarCheckboxFilter.mjs";
|
|
32
32
|
import { GridToolbarColumnsChooser as rr } from "./toolbar-tools/GridToolbarColumnsChooser.mjs";
|
|
33
33
|
import { GridToolbarFilter as er } from "./toolbar-tools/GridToolbarFilter.mjs";
|
|
34
34
|
import { GridToolbarSort as mr } from "./toolbar-tools/GridToolbarSort.mjs";
|
|
35
|
-
import { GridToolbarGroup as
|
|
35
|
+
import { GridToolbarGroup as pr } from "./toolbar-tools/GridToolbarGroup.mjs";
|
|
36
36
|
import { GridToolbarAIAssistant as nr } from "./toolbar-tools/GridToolbarAIAssistant.mjs";
|
|
37
37
|
import { GridAIPrompt as xr } from "./toolbar-tools/ai-tool/GridAIPrompt.mjs";
|
|
38
38
|
import { GridNoRecords as fr } from "./components/noRecords/GridNoRecords.mjs";
|
|
39
39
|
import { GridColumnMenuItem as Gr } from "./columnMenu/GridColumnMenuItem.mjs";
|
|
40
40
|
import { GridColumnMenuItemContent as sr } from "./columnMenu/GridColumnMenuItemContent.mjs";
|
|
41
41
|
import { GridColumnMenuItemGroup as Ir } from "./columnMenu/GridColumnMenuItemGroup.mjs";
|
|
42
|
-
import { GRID_COL_INDEX_ATTRIBUTE as cr, GRID_PREVENT_SELECTION_ELEMENT as
|
|
42
|
+
import { GRID_COL_INDEX_ATTRIBUTE as cr, GRID_PREVENT_SELECTION_ELEMENT as Sr, GRID_ROW_INDEX_ATTRIBUTE as Tr } from "./constants/index.mjs";
|
|
43
43
|
import { getSelectedState as Er, getSelectedStateFromKeyDown as br, setSelectedState as Dr } from "@progress/kendo-react-data-tools";
|
|
44
|
-
import { CommonDragLogic as
|
|
45
|
-
import { booleanFilterValues as
|
|
44
|
+
import { CommonDragLogic as hr } from "./drag/CommonDragLogic.mjs";
|
|
45
|
+
import { booleanFilterValues as Pr, cellBoolDropdownChange as Br, cellInputChange as _r, cellOperatorChange as Nr, combineSmartFilters as Lr, operators as Or, parseFilterDates as vr } from "./filterCommon.mjs";
|
|
46
46
|
import { handleAIResponse as yr } from "./utils/handleAIResponse.mjs";
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
47
|
+
import { useGridAIRequest as kr } from "./hooks/useGridAIRequest.mjs";
|
|
48
|
+
import { GridAICommands as Vr } from "./interfaces/GridAICommands.mjs";
|
|
49
|
+
import { messages as Xr, pagerFirstPage as qr, pagerInfo as Kr, pagerItemPerPage as jr, pagerLastPage as zr, pagerNextPage as Jr, pagerPreviousPage as Qr } from "./messages/index.mjs";
|
|
50
|
+
import { StatusBar as Zr, getStatusData as $r, leafColumns as ro } from "./StatusBar.mjs";
|
|
51
|
+
import { GridContextMenu as eo, contextMenuItemsMap as to } from "./contextMenu/GridContextMenu.mjs";
|
|
52
|
+
import { GridContextMenuAnchorPart as lo, GridContextMenuItemNames as po } from "./contextMenu/enums.mjs";
|
|
53
|
+
import { GridSearchBox as no } from "./GridSearchBox.mjs";
|
|
54
|
+
import { GridPdfExportButton as xo } from "./GridPdfExportButton.mjs";
|
|
55
|
+
import { GridCsvExportButton as uo } from "./GridCsvExportButton.mjs";
|
|
56
|
+
import { SegmentedControl as Co } from "./toolbar-tools/smartbox/SegmentedControl.mjs";
|
|
57
|
+
import { SmartBox as go } from "./toolbar-tools/smartbox/SmartBox.mjs";
|
|
55
58
|
export {
|
|
56
59
|
cr as GRID_COL_INDEX_ATTRIBUTE,
|
|
57
|
-
|
|
58
|
-
|
|
60
|
+
Sr as GRID_PREVENT_SELECTION_ELEMENT,
|
|
61
|
+
Tr as GRID_ROW_INDEX_ATTRIBUTE,
|
|
59
62
|
e as Grid,
|
|
60
|
-
|
|
63
|
+
Vr as GridAICommands,
|
|
61
64
|
xr as GridAIPrompt,
|
|
62
|
-
|
|
65
|
+
h as GridCell,
|
|
63
66
|
m as GridColumn,
|
|
64
|
-
|
|
67
|
+
T as GridColumnMenuCheckboxFilter,
|
|
65
68
|
D as GridColumnMenuColumnsChooser,
|
|
66
69
|
E as GridColumnMenuColumnsList,
|
|
67
70
|
u as GridColumnMenuFilter,
|
|
@@ -72,56 +75,59 @@ export {
|
|
|
72
75
|
sr as GridColumnMenuItemContent,
|
|
73
76
|
Ir as GridColumnMenuItemGroup,
|
|
74
77
|
x as GridColumnMenuSort,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
p as GridColumnMenuWrapper,
|
|
79
|
+
hr as GridCommonDragLogic,
|
|
80
|
+
eo as GridContextMenu,
|
|
81
|
+
lo as GridContextMenuAnchorPart,
|
|
82
|
+
po as GridContextMenuItemNames,
|
|
83
|
+
uo as GridCsvExportButton,
|
|
81
84
|
V as GridDetailRow,
|
|
82
|
-
|
|
85
|
+
P as GridEditCell,
|
|
83
86
|
v as GridFilterCell,
|
|
84
|
-
|
|
87
|
+
_ as GridGroupCell,
|
|
85
88
|
y as GridHeaderCell,
|
|
86
89
|
L as GridHierarchyCell,
|
|
87
90
|
fr as GridNoRecords,
|
|
88
|
-
|
|
91
|
+
xo as GridPdfExportButton,
|
|
89
92
|
X as GridRow,
|
|
90
|
-
|
|
93
|
+
no as GridSearchBox,
|
|
91
94
|
k as GridSelectionCell,
|
|
92
|
-
|
|
95
|
+
K as GridToolbar,
|
|
93
96
|
nr as GridToolbarAIAssistant,
|
|
94
97
|
Z as GridToolbarCheckboxFilter,
|
|
95
98
|
rr as GridToolbarColumnsChooser,
|
|
96
99
|
er as GridToolbarFilter,
|
|
97
|
-
|
|
100
|
+
pr as GridToolbarGroup,
|
|
98
101
|
Q as GridToolbarSeparator,
|
|
99
102
|
mr as GridToolbarSort,
|
|
100
103
|
z as GridToolbarSpacer,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
Co as SegmentedControl,
|
|
105
|
+
go as SmartBox,
|
|
106
|
+
Zr as StatusBar,
|
|
107
|
+
Pr as booleanFilterValues,
|
|
108
|
+
Br as cellBoolDropdownChange,
|
|
109
|
+
_r as cellInputChange,
|
|
105
110
|
Nr as cellOperatorChange,
|
|
106
111
|
Lr as combineSmartFilters,
|
|
107
|
-
|
|
112
|
+
to as contextMenuItemsMap,
|
|
108
113
|
G as filterGroupByField,
|
|
109
114
|
Er as getSelectedState,
|
|
110
115
|
br as getSelectedStateFromKeyDown,
|
|
111
|
-
|
|
112
|
-
|
|
116
|
+
$r as getStatusData,
|
|
117
|
+
Xr as gridMessages,
|
|
113
118
|
yr as handleAIResponse,
|
|
114
119
|
C as isColumnMenuFilterActive,
|
|
115
120
|
d as isColumnMenuSortActive,
|
|
116
|
-
|
|
121
|
+
ro as leafColumns,
|
|
117
122
|
Or as operators,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
qr as pagerFirstPage,
|
|
124
|
+
Kr as pagerInfo,
|
|
125
|
+
jr as pagerItemPerPage,
|
|
126
|
+
zr as pagerLastPage,
|
|
127
|
+
Jr as pagerNextPage,
|
|
128
|
+
Qr as pagerPreviousPage,
|
|
124
129
|
vr as parseFilterDates,
|
|
125
130
|
s as rootFilterOrDefault,
|
|
126
|
-
Dr as setSelectedState
|
|
131
|
+
Dr as setSelectedState,
|
|
132
|
+
kr as useGridAIRequest
|
|
127
133
|
};
|
package/messages/index.d.ts
CHANGED
|
@@ -273,6 +273,66 @@ export declare const toolbarColumnsChooser = "grid.toolbarColumnsChooser";
|
|
|
273
273
|
* @hidden
|
|
274
274
|
*/
|
|
275
275
|
export declare const toolbarCheckboxFilter = "grid.toolbarCheckboxFilter";
|
|
276
|
+
/**
|
|
277
|
+
* @hidden
|
|
278
|
+
*/
|
|
279
|
+
export declare const smartBoxSearchPlaceholder = "grid.smartBoxSearchPlaceholder";
|
|
280
|
+
/**
|
|
281
|
+
* @hidden
|
|
282
|
+
*/
|
|
283
|
+
export declare const smartBoxSemanticSearchPlaceholder = "grid.smartBoxSemanticSearchPlaceholder";
|
|
284
|
+
/**
|
|
285
|
+
* @hidden
|
|
286
|
+
*/
|
|
287
|
+
export declare const smartBoxAIAssistantPlaceholder = "grid.smartBoxAIAssistantPlaceholder";
|
|
288
|
+
/**
|
|
289
|
+
* @hidden
|
|
290
|
+
*/
|
|
291
|
+
export declare const smartBoxSuggestedPrompts = "grid.smartBoxSuggestedPrompts";
|
|
292
|
+
/**
|
|
293
|
+
* @hidden
|
|
294
|
+
*/
|
|
295
|
+
export declare const smartBoxPreviouslySearched = "grid.smartBoxPreviouslySearched";
|
|
296
|
+
/**
|
|
297
|
+
* @hidden
|
|
298
|
+
*/
|
|
299
|
+
export declare const smartBoxPreviouslyAsked = "grid.smartBoxPreviouslyAsked";
|
|
300
|
+
/**
|
|
301
|
+
* @hidden
|
|
302
|
+
*/
|
|
303
|
+
export declare const smartBoxNoPreviousSearches = "grid.smartBoxNoPreviousSearches";
|
|
304
|
+
/**
|
|
305
|
+
* @hidden
|
|
306
|
+
*/
|
|
307
|
+
export declare const smartBoxNoPreviousPrompts = "grid.smartBoxNoPreviousPrompts";
|
|
308
|
+
/**
|
|
309
|
+
* @hidden
|
|
310
|
+
*/
|
|
311
|
+
export declare const smartBoxClearTitle = "grid.smartBoxClearTitle";
|
|
312
|
+
/**
|
|
313
|
+
* @hidden
|
|
314
|
+
*/
|
|
315
|
+
export declare const smartBoxSubmitPromptButton = "grid.smartBoxSubmitPromptButton";
|
|
316
|
+
/**
|
|
317
|
+
* @hidden
|
|
318
|
+
*/
|
|
319
|
+
export declare const smartBoxSpeechToTextButton = "grid.smartBoxSpeechToTextButton";
|
|
320
|
+
/**
|
|
321
|
+
* @hidden
|
|
322
|
+
*/
|
|
323
|
+
export declare const smartBoxSearchModeText = "grid.smartBoxSearchModeText";
|
|
324
|
+
/**
|
|
325
|
+
* @hidden
|
|
326
|
+
*/
|
|
327
|
+
export declare const smartBoxSearchModeDescription = "grid.smartBoxSearchModeDescription";
|
|
328
|
+
/**
|
|
329
|
+
* @hidden
|
|
330
|
+
*/
|
|
331
|
+
export declare const smartBoxSemanticSearchModeText = "grid.smartBoxSemanticSearchModeText";
|
|
332
|
+
/**
|
|
333
|
+
* @hidden
|
|
334
|
+
*/
|
|
335
|
+
export declare const smartBoxSemanticSearchModeDescription = "grid.smartBoxSemanticSearchModeDescription";
|
|
276
336
|
/**
|
|
277
337
|
* @hidden
|
|
278
338
|
*/
|
|
@@ -344,6 +404,21 @@ export declare const messages: {
|
|
|
344
404
|
"grid.columnMenuColumnChooserSelectedItems": string;
|
|
345
405
|
"grid.columnChooserApplyButton": string;
|
|
346
406
|
"grid.columnChooserResetButton": string;
|
|
407
|
+
"grid.smartBoxSearchPlaceholder": string;
|
|
408
|
+
"grid.smartBoxSemanticSearchPlaceholder": string;
|
|
409
|
+
"grid.smartBoxAIAssistantPlaceholder": string;
|
|
410
|
+
"grid.smartBoxSuggestedPrompts": string;
|
|
411
|
+
"grid.smartBoxPreviouslySearched": string;
|
|
412
|
+
"grid.smartBoxPreviouslyAsked": string;
|
|
413
|
+
"grid.smartBoxNoPreviousSearches": string;
|
|
414
|
+
"grid.smartBoxNoPreviousPrompts": string;
|
|
415
|
+
"grid.smartBoxClearTitle": string;
|
|
416
|
+
"grid.smartBoxSubmitPromptButton": string;
|
|
417
|
+
"grid.smartBoxSpeechToTextButton": string;
|
|
418
|
+
"grid.smartBoxSearchModeText": string;
|
|
419
|
+
"grid.smartBoxSearchModeDescription": string;
|
|
420
|
+
"grid.smartBoxSemanticSearchModeText": string;
|
|
421
|
+
"grid.smartBoxSemanticSearchModeDescription": string;
|
|
347
422
|
'grid.filterEqOperator': string;
|
|
348
423
|
'grid.filterNotEqOperator': string;
|
|
349
424
|
'grid.filterIsNullOperator': string;
|