@progress/kendo-vue-data-tools 8.0.3-develop.2 → 8.0.3-develop.3
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/cells/FilterCell.d.ts +64 -0
- package/columnmenu/ColumnMenu.d.ts +67 -0
- package/columnmenu/ColumnMenuCheckboxFilter.d.ts +112 -0
- package/columnmenu/ColumnMenuContent.d.ts +61 -0
- package/columnmenu/ColumnMenuFilter.d.ts +122 -0
- package/columnmenu/ColumnMenuFilterCell.d.ts +65 -0
- package/columnmenu/ColumnMenuFilterOperators.d.ts +49 -0
- package/columnmenu/ColumnMenuFilterUI.d.ts +59 -0
- package/columnmenu/ColumnMenuItem.d.ts +68 -0
- package/columnmenu/ColumnMenuItemContent.d.ts +26 -0
- package/columnmenu/ColumnMenuItemGroup.d.ts +12 -0
- package/columnmenu/ColumnMenuOperators.d.ts +72 -0
- package/columnmenu/ColumnMenuSort.d.ts +46 -0
- package/columnmenu/index.d.ts +9 -0
- package/columnmenu/main.d.ts +9 -0
- package/detail-expansion/TableExpandableSettings.d.ts +12 -0
- package/detail-expansion/expandReducer.d.ts +31 -0
- package/detail-expansion/utils.d.ts +10 -0
- package/dist/cdn/js/kendo-vue-datatools.js +1 -1
- package/drag/ColumnDraggable.d.ts +34 -0
- package/drag/ColumnResize.d.ts +38 -0
- package/drag/ColumnResizer.d.ts +27 -0
- package/drag/CommonDragLogic.d.ts +43 -0
- package/drag/DragClue.d.ts +18 -0
- package/drag/DropClue.d.ts +17 -0
- package/editing/TableEditableSettings.d.ts +24 -0
- package/editing/editReducer.d.ts +62 -0
- package/editing/utils.d.ts +12 -0
- package/filter/Expression.d.ts +70 -0
- package/filter/FieldSettings.d.ts +29 -0
- package/filter/Filter.d.ts +102 -0
- package/filter/GroupFilters.d.ts +77 -0
- package/filter/GroupToolbar.d.ts +90 -0
- package/filter/filters/BooleanFilter.d.ts +75 -0
- package/filter/filters/DateFilter.d.ts +37 -0
- package/filter/filters/EnumFilter.d.ts +60 -0
- package/filter/filters/NumericFilter.d.ts +37 -0
- package/filter/filters/TextFilter.d.ts +54 -0
- package/filter/filters/main.d.ts +12 -0
- package/filter/main.d.ts +13 -0
- package/filter/operators.d.ts +80 -0
- package/filterCommon.d.ts +82 -0
- package/group-expansion/TableGroupExpandableSettings.d.ts +12 -0
- package/group-expansion/groupExpandReducer.d.ts +46 -0
- package/header/FilterRow.d.ts +55 -0
- package/header/Header.d.ts +70 -0
- package/header/HeaderCell.d.ts +34 -0
- package/header/HeaderRow.d.ts +125 -0
- package/header/HeaderSelectionCell.d.ts +34 -0
- package/header/HeaderTdElement.d.ts +49 -0
- package/header/HeaderThElement.d.ts +67 -0
- package/header/main.d.ts +18 -0
- package/header/utils/main.d.ts +90 -0
- package/index.d.mts +46 -2822
- package/index.d.ts +46 -2822
- package/index.js +1 -1
- package/index.mjs +38 -38
- package/interfaces/CellProps.d.ts +70 -0
- package/interfaces/ColumnMenuColumnProps.d.ts +20 -0
- package/interfaces/ColumnMenuExtendedFilterProps.d.ts +49 -0
- package/interfaces/ColumnMenuFilterBaseProps.d.ts +56 -0
- package/interfaces/ColumnMenuFilterProps.d.ts +34 -0
- package/interfaces/ColumnMenuFilterUIProps.d.ts +62 -0
- package/interfaces/ColumnMenuProps.d.ts +30 -0
- package/interfaces/ColumnMenuSortBaseProps.d.ts +35 -0
- package/interfaces/ColumnProps.d.ts +155 -0
- package/interfaces/FilterCellProps.d.ts +90 -0
- package/interfaces/FilterOperator.d.ts +20 -0
- package/interfaces/FilterOperators.d.ts +56 -0
- package/interfaces/HeaderCellProps.d.ts +48 -0
- package/interfaces/HeaderSelectionCellProps.d.ts +24 -0
- package/interfaces/SortSettings.d.ts +33 -0
- package/messages/main.d.ts +434 -0
- package/navigation/TableKeyboardNavigation.d.ts +78 -0
- package/navigation/TableKeyboardNavigationContextType.d.ts +14 -0
- package/navigation/TableKeyboardNavigationStateType.d.ts +17 -0
- package/navigation/constants.d.ts +61 -0
- package/navigation/utils.d.ts +168 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +18 -12
- package/pager/GridPagerSettings.d.ts +69 -0
- package/pager/Page.d.ts +20 -0
- package/pager/Pager.d.ts +135 -0
- package/pager/PagerInfo.d.ts +53 -0
- package/pager/PagerInput.d.ts +62 -0
- package/pager/PagerNavigationButton.d.ts +62 -0
- package/pager/PagerNumericButtons.d.ts +64 -0
- package/pager/PagerPageSizes.d.ts +72 -0
- package/pager/models/main.d.ts +94 -0
- package/selection/TableSelectableSettings.d.ts +38 -0
- package/selection/constants.d.ts +13 -0
- package/selection/events.d.ts +108 -0
- package/selection/utils.d.ts +73 -0
- package/selection/utils.mjs +7 -7
- package/utils/SearchField.d.ts +24 -0
- package/utils/data-operations.d.ts +32 -0
- package/utils/group-operations.d.ts +36 -0
- package/utils/main.d.ts +11 -0
- package/virtualization/columns.d.ts +22 -0
- package/virtualization/main.d.ts +8 -0
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 E=require("./drag/ColumnResize.js"),g=require("./drag/CommonDragLogic.js"),c=require("./drag/DragClue.js"),A=require("./drag/DropClue.js"),p=require("./cells/FilterCell.js"),i=require("./utils/data-operations.js"),n=require("./utils/group-operations.js"),e=require("./filterCommon.js"),T=require("./pager/Pager.js"),_=require("./pager/PagerInfo.js"),D=require("./pager/PagerInput.js"),O=require("./pager/PagerNavigationButton.js"),N=require("./pager/PagerNumericButtons.js"),C=require("./pager/PagerPageSizes.js"),m=require("./header/HeaderThElement.js"),B=require("./pager/GridPagerSettings.js"),t=require("./navigation/constants.js"),R=require("./navigation/TableKeyboardNavigation.js"),F=require("./navigation/utils.js"),l=require("./selection/constants.js"),r=require("./selection/utils.js"),S=require("./editing/utils.js"),s=require("./editing/editReducer.js"),I=require("./detail-expansion/utils.js"),d=require("./detail-expansion/expandReducer.js"),a=require("./group-expansion/groupExpandReducer.js"),q=require("./filter/filters/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./drag/ColumnResize.js"),g=require("./drag/CommonDragLogic.js"),c=require("./drag/DragClue.js"),A=require("./drag/DropClue.js"),p=require("./cells/FilterCell.js"),i=require("./utils/data-operations.js"),n=require("./utils/group-operations.js"),e=require("./filterCommon.js"),T=require("./pager/Pager.js"),_=require("./pager/PagerInfo.js"),D=require("./pager/PagerInput.js"),O=require("./pager/PagerNavigationButton.js"),N=require("./pager/PagerNumericButtons.js"),C=require("./pager/PagerPageSizes.js"),m=require("./header/HeaderThElement.js"),B=require("./pager/GridPagerSettings.js"),t=require("./navigation/constants.js"),R=require("./navigation/TableKeyboardNavigation.js"),F=require("./navigation/utils.js"),l=require("./selection/constants.js"),r=require("./selection/utils.js"),S=require("./editing/utils.js"),s=require("./editing/editReducer.js"),I=require("./detail-expansion/utils.js"),d=require("./detail-expansion/expandReducer.js"),a=require("./group-expansion/groupExpandReducer.js"),q=require("./filter/filters/BooleanFilter.js"),b=require("./interfaces/ColumnProps.js"),L=require("./filter/filters/DateFilter.js"),P=require("./filter/filters/EnumFilter.js"),x=require("./filter/Expression.js"),f=require("./filter/Filter.js"),y=require("./header/FilterRow.js"),K=require("./filter/GroupFilters.js"),H=require("./header/Header.js"),V=require("./header/HeaderCell.js"),v=require("./header/HeaderRow.js"),Y=require("./header/HeaderSelectionCell.js"),h=require("./header/HeaderTdElement.js"),G=require("./filter/filters/NumericFilter.js"),u=require("./filter/operators.js"),w=require("./filter/filters/TextFilter.js"),o=require("./header/utils/main.js"),U=require("./virtualization/columns.js");exports.ColumnResize=E.ColumnResize;exports.CommonDragLogic=g.CommonDragLogic;exports.DragClue=c.DragClue;exports.DropClue=A.DropClue;exports.FilterCell=p.FilterCell;exports.combineFilters=i.combineFilters;exports.filterBy=i.filterBy;exports.getSearchFromString=i.getSearchFromString;exports.getStringFromSearch=i.getStringFromSearch;exports.orderBy=i.orderBy;exports.getGroupIds=n.getGroupIds;exports.setExpandedState=n.setExpandedState;exports.setGroupIds=n.setGroupIds;exports.IsUnaryFilter=e.IsUnaryFilter;exports.booleanFilterValues=e.booleanFilterValues;exports.cellBoolDropdownChange=e.cellBoolDropdownChange;exports.cellInputChange=e.cellInputChange;exports.cellOperatorChange=e.cellOperatorChange;exports.defaultBooleanOperator=e.defaultBooleanOperator;exports.defaultHideSecondFilter=e.defaultHideSecondFilter;exports.filterLogicList=e.filterLogicList;exports.getDefaultOperator=e.getDefaultOperator;exports.getFilterType=e.getFilterType;exports.operatorMap=e.operatorMap;exports.operators=e.operators;exports.Pager=T.Pager;exports.PagerInfo=_.PagerInfo;exports.PagerInput=D.PagerInput;exports.PagerNavigationButton=O.PagerNavigationButton;exports.PagerNumericButtons=N.PagerNumericButtons;exports.PagerPageSizes=C.PagerPageSizes;exports.HeaderThElement=m.HeaderThElement;exports.normalize=B.normalize;exports.FOCUSABLE_ELEMENTS=t.FOCUSABLE_ELEMENTS;exports.KEYBOARD_NAV_DATA_BODY=t.KEYBOARD_NAV_DATA_BODY;exports.KEYBOARD_NAV_DATA_HEADER=t.KEYBOARD_NAV_DATA_HEADER;exports.KEYBOARD_NAV_DATA_ID=t.KEYBOARD_NAV_DATA_ID;exports.KEYBOARD_NAV_DATA_LEVEL=t.KEYBOARD_NAV_DATA_LEVEL;exports.KEYBOARD_NAV_DATA_SCOPE=t.KEYBOARD_NAV_DATA_SCOPE;exports.KEYBOARD_NAV_DATA_ZONE=t.KEYBOARD_NAV_DATA_ZONE;exports.KEYBOARD_NAV_FILTER_COL_SUFFIX=t.KEYBOARD_NAV_FILTER_COL_SUFFIX;exports.TABBABLE_ELEMENTS=t.TABBABLE_ELEMENTS;exports.tableKeyboardNavigationBodyAttributes=t.tableKeyboardNavigationBodyAttributes;exports.tableKeyboardNavigationHeaderAttributes=t.tableKeyboardNavigationHeaderAttributes;exports.tableKeyboardNavigationScopeAttributes=t.tableKeyboardNavigationScopeAttributes;exports.TableKeyboardNavigationProvider=R.TableKeyboardNavigationProvider;exports.tableKeyboardNavigationTools=F.tableKeyboardNavigationTools;exports.TABLE_COL_INDEX_ATTRIBUTE=l.TABLE_COL_INDEX_ATTRIBUTE;exports.TABLE_PREVENT_SELECTION_ELEMENT=l.TABLE_PREVENT_SELECTION_ELEMENT;exports.TABLE_ROW_INDEX_ATTRIBUTE=l.TABLE_ROW_INDEX_ATTRIBUTE;exports.closestTagName=r.closestTagName;exports.getColumnIndex=r.getColumnIndex;exports.getOffset=r.getOffset;exports.getRowIndex=r.getRowIndex;exports.getSelectedState=r.getSelectedState;exports.getSelectedStateFromKeyDown=r.getSelectedStateFromKeyDown;exports.getSelectionOptions=r.getSelectionOptions;exports.relativeContextElement=r.relativeContextElement;exports.setSelectedState=r.setSelectedState;exports.getEditableOptions=S.getEditableOptions;exports.EDIT_ACTION=s.EDIT_ACTION;exports.editReducer=s.editReducer;exports.getDetailExpandableOptions=I.getDetailExpandableOptions;exports.DETAIL_EXPAND_ACTION=d.DETAIL_EXPAND_ACTION;exports.detailExpandReducer=d.detailExpandReducer;exports.GROUP_EXPAND_ACTION=a.GROUP_EXPAND_ACTION;exports.findGroupExpand=a.findGroupExpand;exports.flatToTree=a.flatToTree;exports.getGroupExpandableOptions=a.getGroupExpandableOptions;exports.groupExpandReducer=a.groupExpandReducer;exports.isExpanded=a.isExpanded;exports.BooleanFilter=q.BooleanFilter;exports.ColumnDefaultProps=b.ColumnDefaultProps;exports.DateFilter=L.DateFilter;exports.EnumFilter=P.EnumFilter;exports.Expression=x.Expression;exports.Filter=f.Filter;exports.FilterRow=y.FilterRow;exports.GroupFilter=K.GroupFilter;exports.Header=H.Header;exports.HeaderCell=V.HeaderCell;exports.HeaderRow=v.HeaderRow;exports.HeaderSelectionCell=Y.HeaderSelectionCell;exports.HeaderTdElement=h.HeaderTdElement;exports.NumericFilter=G.NumericFilter;exports.Operators=u.Operators;exports.stringOperator=u.stringOperator;exports.unaryOperator=u.unaryOperator;exports.TextFilter=w.TextFilter;exports.getIndex=o.getIndex;exports.isRtl=o.isRtl;exports.mapColumns=o.mapColumns;exports.nextColumn=o.nextColumn;exports.readColumns=o.readColumns;exports.updateLeft=o.updateLeft;exports.updateRight=o.updateRight;exports.tableColumnsVirtualization=U.tableColumnsVirtualization;
|
package/index.mjs
CHANGED
|
@@ -31,27 +31,27 @@ import { EDIT_ACTION as be, editReducer as Le } from "./editing/editReducer.mjs"
|
|
|
31
31
|
import { getDetailExpandableOptions as Ke } from "./detail-expansion/utils.mjs";
|
|
32
32
|
import { DETAIL_EXPAND_ACTION as Ve, detailExpandReducer as He } from "./detail-expansion/expandReducer.mjs";
|
|
33
33
|
import { GROUP_EXPAND_ACTION as Ye, findGroupExpand as he, flatToTree as Ge, getGroupExpandableOptions as Ue, groupExpandReducer as we, isExpanded as Xe } from "./group-expansion/groupExpandReducer.mjs";
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
34
|
+
import { BooleanFilter as Me } from "./filter/filters/BooleanFilter.mjs";
|
|
35
|
+
import { ColumnDefaultProps as Ze } from "./interfaces/ColumnProps.mjs";
|
|
36
36
|
import { DateFilter as ke } from "./filter/filters/DateFilter.mjs";
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
37
|
+
import { EnumFilter as Je } from "./filter/filters/EnumFilter.mjs";
|
|
38
|
+
import { Expression as $e } from "./filter/Expression.mjs";
|
|
39
|
+
import { Filter as rr } from "./filter/Filter.mjs";
|
|
40
|
+
import { FilterRow as tr } from "./header/FilterRow.mjs";
|
|
41
41
|
import { GroupFilter as pr } from "./filter/GroupFilters.mjs";
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
42
|
+
import { Header as mr } from "./header/Header.mjs";
|
|
43
|
+
import { HeaderCell as nr } from "./header/HeaderCell.mjs";
|
|
44
|
+
import { HeaderRow as fr } from "./header/HeaderRow.mjs";
|
|
45
|
+
import { HeaderSelectionCell as dr } from "./header/HeaderSelectionCell.mjs";
|
|
46
|
+
import { HeaderTdElement as gr } from "./header/HeaderTdElement.mjs";
|
|
47
|
+
import { NumericFilter as ur } from "./filter/filters/NumericFilter.mjs";
|
|
48
|
+
import { Operators as sr, stringOperator as Dr, unaryOperator as Or } from "./filter/operators.mjs";
|
|
49
|
+
import { TextFilter as Br } from "./filter/filters/TextFilter.mjs";
|
|
50
|
+
import { getIndex as Rr, isRtl as Ir, mapColumns as Sr, nextColumn as cr, readColumns as Fr, updateLeft as br, updateRight as Lr } from "./header/utils/main.mjs";
|
|
51
51
|
import { tableColumnsVirtualization as Kr } from "./virtualization/columns.mjs";
|
|
52
52
|
export {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
Me as BooleanFilter,
|
|
54
|
+
Ze as ColumnDefaultProps,
|
|
55
55
|
o as ColumnResize,
|
|
56
56
|
a as CommonDragLogic,
|
|
57
57
|
Ve as DETAIL_EXPAND_ACTION,
|
|
@@ -59,19 +59,19 @@ export {
|
|
|
59
59
|
l as DragClue,
|
|
60
60
|
i as DropClue,
|
|
61
61
|
be as EDIT_ACTION,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
Je as EnumFilter,
|
|
63
|
+
$e as Expression,
|
|
64
64
|
J as FOCUSABLE_ELEMENTS,
|
|
65
|
-
|
|
65
|
+
rr as Filter,
|
|
66
66
|
x as FilterCell,
|
|
67
|
-
|
|
67
|
+
tr as FilterRow,
|
|
68
68
|
Ye as GROUP_EXPAND_ACTION,
|
|
69
69
|
pr as GroupFilter,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
mr as Header,
|
|
71
|
+
nr as HeaderCell,
|
|
72
|
+
fr as HeaderRow,
|
|
73
|
+
dr as HeaderSelectionCell,
|
|
74
|
+
gr as HeaderTdElement,
|
|
75
75
|
Z as HeaderThElement,
|
|
76
76
|
N as IsUnaryFilter,
|
|
77
77
|
Q as KEYBOARD_NAV_DATA_BODY,
|
|
@@ -81,8 +81,8 @@ export {
|
|
|
81
81
|
oe as KEYBOARD_NAV_DATA_SCOPE,
|
|
82
82
|
te as KEYBOARD_NAV_DATA_ZONE,
|
|
83
83
|
ae as KEYBOARD_NAV_FILTER_COL_SUFFIX,
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
ur as NumericFilter,
|
|
85
|
+
sr as Operators,
|
|
86
86
|
V as Pager,
|
|
87
87
|
v as PagerInfo,
|
|
88
88
|
h as PagerInput,
|
|
@@ -94,7 +94,7 @@ export {
|
|
|
94
94
|
ge as TABLE_PREVENT_SELECTION_ELEMENT,
|
|
95
95
|
_e as TABLE_ROW_INDEX_ATTRIBUTE,
|
|
96
96
|
xe as TableKeyboardNavigationProvider,
|
|
97
|
-
|
|
97
|
+
Br as TextFilter,
|
|
98
98
|
B as booleanFilterValues,
|
|
99
99
|
C as cellBoolDropdownChange,
|
|
100
100
|
R as cellInputChange,
|
|
@@ -116,7 +116,7 @@ export {
|
|
|
116
116
|
L as getFilterType,
|
|
117
117
|
Ue as getGroupExpandableOptions,
|
|
118
118
|
T as getGroupIds,
|
|
119
|
-
|
|
119
|
+
Rr as getIndex,
|
|
120
120
|
De as getOffset,
|
|
121
121
|
Oe as getRowIndex,
|
|
122
122
|
A as getSearchFromString,
|
|
@@ -126,25 +126,25 @@ export {
|
|
|
126
126
|
g as getStringFromSearch,
|
|
127
127
|
we as groupExpandReducer,
|
|
128
128
|
Xe as isExpanded,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
Ir as isRtl,
|
|
130
|
+
Sr as mapColumns,
|
|
131
|
+
cr as nextColumn,
|
|
132
132
|
k as normalize,
|
|
133
133
|
P as operatorMap,
|
|
134
134
|
K as operators,
|
|
135
135
|
_ as orderBy,
|
|
136
|
-
|
|
136
|
+
Fr as readColumns,
|
|
137
137
|
Re as relativeContextElement,
|
|
138
138
|
s as setExpandedState,
|
|
139
139
|
D as setGroupIds,
|
|
140
140
|
Ie as setSelectedState,
|
|
141
|
-
|
|
141
|
+
Dr as stringOperator,
|
|
142
142
|
Kr as tableColumnsVirtualization,
|
|
143
143
|
le as tableKeyboardNavigationBodyAttributes,
|
|
144
144
|
me as tableKeyboardNavigationHeaderAttributes,
|
|
145
145
|
ie as tableKeyboardNavigationScopeAttributes,
|
|
146
146
|
Ee as tableKeyboardNavigationTools,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
Or as unaryOperator,
|
|
148
|
+
br as updateLeft,
|
|
149
|
+
Lr as updateRight
|
|
150
150
|
};
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export interface CellProps {
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* The index to be applied to the `aria-colindex` attribute.
|
|
18
|
+
*/
|
|
19
|
+
ariaColumnIndex: number;
|
|
20
|
+
/**
|
|
21
|
+
* Indicates if the cell is selected.
|
|
22
|
+
*/
|
|
23
|
+
isSelected: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The expanded value of the cell.
|
|
26
|
+
*/
|
|
27
|
+
expanded?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The custom CSS classes of the cells.
|
|
30
|
+
*/
|
|
31
|
+
class?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The field to which the cell is bound.
|
|
34
|
+
*/
|
|
35
|
+
field?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The data item which corresponds to the current row.
|
|
38
|
+
*/
|
|
39
|
+
dataItem: any;
|
|
40
|
+
/**
|
|
41
|
+
* The format that is applied to the value before the value is displayed.
|
|
42
|
+
* Takes the `{0:format}` form where `format` is a standard number format, a custom number format,
|
|
43
|
+
* a standard date format, or a custom date format. For more information on the supported date and number formats,
|
|
44
|
+
* refer to the [kendo-intl](https://github.com/telerik/kendo-intl/blob/develop/docs/index.md) documentation.
|
|
45
|
+
*/
|
|
46
|
+
format?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The column span of the cell.
|
|
49
|
+
*/
|
|
50
|
+
colSpan?: number;
|
|
51
|
+
/**
|
|
52
|
+
* The event that is fired when the cell is selected.
|
|
53
|
+
*/
|
|
54
|
+
selectionChange?: (event: {
|
|
55
|
+
event: any;
|
|
56
|
+
}) => void;
|
|
57
|
+
/**
|
|
58
|
+
* The event that is fired when the cell value is changed.
|
|
59
|
+
*/
|
|
60
|
+
onChange?: (event: {
|
|
61
|
+
dataItem: any;
|
|
62
|
+
event: any;
|
|
63
|
+
field?: string;
|
|
64
|
+
value?: any;
|
|
65
|
+
}) => void;
|
|
66
|
+
/**
|
|
67
|
+
* A function for overriding the default rendering of the cell.
|
|
68
|
+
*/
|
|
69
|
+
render?: any;
|
|
70
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* The column props passed by the ColumnMenu.
|
|
10
|
+
*/
|
|
11
|
+
export interface ColumnMenuColumnProps {
|
|
12
|
+
/**
|
|
13
|
+
* The field to which the column is bound.
|
|
14
|
+
*/
|
|
15
|
+
field?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Defines the filter type that is displayed inside the filter row. Defaults to `text`.
|
|
18
|
+
*/
|
|
19
|
+
filter?: 'text' | 'numeric' | 'boolean' | 'date';
|
|
20
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { ColumnMenuFilterProps } from './ColumnMenuFilterProps';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface ColumnMenuExtendedFilterProps extends ColumnMenuFilterProps {
|
|
13
|
+
/**
|
|
14
|
+
* Allows you to control the expand state of the filter component.
|
|
15
|
+
*/
|
|
16
|
+
expanded?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Triggered on each subsequent expand state of the filter component.
|
|
19
|
+
*/
|
|
20
|
+
onExpandchange?: (nextExpandState: boolean) => void;
|
|
21
|
+
/**
|
|
22
|
+
* If set to `false`, the second filter operator and the input will be hidden.
|
|
23
|
+
*/
|
|
24
|
+
hideSecondFilter?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Specifies a Vue element that will be cloned and rendered inside the UI of the column-menu filter component.
|
|
27
|
+
*/
|
|
28
|
+
filterUI?: any;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export interface ColumnMenuBooleanFilterProps extends ColumnMenuExtendedFilterProps {
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
export interface ColumnMenuDateFilterProps extends ColumnMenuExtendedFilterProps {
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*/
|
|
43
|
+
export interface ColumnMenuNumericFilterProps extends ColumnMenuExtendedFilterProps {
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @hidden
|
|
47
|
+
*/
|
|
48
|
+
export interface ColumnMenuTextFilterProps extends ColumnMenuExtendedFilterProps {
|
|
49
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
9
|
+
import { PopupAnimation } from '@progress/kendo-vue-popup';
|
|
10
|
+
import { ColumnMenuColumnProps } from './ColumnMenuColumnProps';
|
|
11
|
+
import { FilterOperators } from './FilterOperators';
|
|
12
|
+
/**
|
|
13
|
+
* The props passed to the ColumnMenu filter component.
|
|
14
|
+
*/
|
|
15
|
+
export interface ColumnMenuFilterBaseProps {
|
|
16
|
+
/**
|
|
17
|
+
* Controls the ColumnMenu animation. By default, the opening and closing animations are enabled.
|
|
18
|
+
*/
|
|
19
|
+
animate?: boolean | PopupAnimation;
|
|
20
|
+
/**
|
|
21
|
+
* The current column options.
|
|
22
|
+
*/
|
|
23
|
+
column: ColumnMenuColumnProps;
|
|
24
|
+
/**
|
|
25
|
+
* The method that will be called to close the column menu.
|
|
26
|
+
*/
|
|
27
|
+
onClosemenu?: Function;
|
|
28
|
+
/**
|
|
29
|
+
* The current filter state of the .
|
|
30
|
+
*/
|
|
31
|
+
filter?: CompositeFilterDescriptor;
|
|
32
|
+
/**
|
|
33
|
+
* The filterable option of the column.
|
|
34
|
+
*/
|
|
35
|
+
filterable?: boolean | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* The filter operators for the filters.
|
|
38
|
+
*/
|
|
39
|
+
filterOperators: FilterOperators;
|
|
40
|
+
/**
|
|
41
|
+
* The template that can customize the check all checkbox item.
|
|
42
|
+
*/
|
|
43
|
+
checkAllItem?: string | object | Function | boolean;
|
|
44
|
+
/**
|
|
45
|
+
* The template that can customize the checkbox item.
|
|
46
|
+
*/
|
|
47
|
+
item?: string | object | Function | boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The trigger focus event.
|
|
50
|
+
*/
|
|
51
|
+
onFocus?: (e: any) => void;
|
|
52
|
+
/**
|
|
53
|
+
* The method that will be called to notify the parent about a filter change.
|
|
54
|
+
*/
|
|
55
|
+
onFilterchange?: (filter: CompositeFilterDescriptor | null, syntheticEvent: any) => any;
|
|
56
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
9
|
+
import { ColumnBaseProps } from './ColumnProps';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface ColumnMenuFilterProps {
|
|
14
|
+
/**
|
|
15
|
+
* The current column options.
|
|
16
|
+
*/
|
|
17
|
+
column: ColumnBaseProps;
|
|
18
|
+
/**
|
|
19
|
+
* The method that will be called to close the column menu.
|
|
20
|
+
*/
|
|
21
|
+
onCloseMenu?: Function;
|
|
22
|
+
/**
|
|
23
|
+
* The current filter state of the .
|
|
24
|
+
*/
|
|
25
|
+
filter?: CompositeFilterDescriptor;
|
|
26
|
+
/**
|
|
27
|
+
* The filterable option of the column.
|
|
28
|
+
*/
|
|
29
|
+
filterable?: boolean | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* The method that will be called to notify the parent about a filter change.
|
|
32
|
+
*/
|
|
33
|
+
onFilterchange?: (filter: CompositeFilterDescriptor | null, event: any) => any;
|
|
34
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { FilterCellProps } from './FilterCellProps';
|
|
9
|
+
/**
|
|
10
|
+
* The props that will be passed to the UI of the ColumnMenu filter component.
|
|
11
|
+
*/
|
|
12
|
+
export interface ColumnMenuFilterUIProps {
|
|
13
|
+
/**
|
|
14
|
+
* The options of the first filter.
|
|
15
|
+
*/
|
|
16
|
+
firstFilterProps: FilterCellProps;
|
|
17
|
+
/**
|
|
18
|
+
* The options of the second filter.
|
|
19
|
+
*/
|
|
20
|
+
secondFilterProps: FilterCellProps;
|
|
21
|
+
/**
|
|
22
|
+
* The current value of the filter logic.
|
|
23
|
+
*/
|
|
24
|
+
logicValue?: {
|
|
25
|
+
text: string;
|
|
26
|
+
operator: any;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The list of the filter logic options.
|
|
30
|
+
*/
|
|
31
|
+
logicData: {
|
|
32
|
+
text: string;
|
|
33
|
+
operator: any;
|
|
34
|
+
}[];
|
|
35
|
+
/**
|
|
36
|
+
* The method that will be called to notify the parent about a change in the filter logic.
|
|
37
|
+
*/
|
|
38
|
+
onLogicchange?: (e: any) => void;
|
|
39
|
+
/**
|
|
40
|
+
* The method that will be called to notify the parent about a change in the filter.
|
|
41
|
+
*/
|
|
42
|
+
onChange?: (e: any, filterIndex: number) => void;
|
|
43
|
+
/**
|
|
44
|
+
* The trigger focus event.
|
|
45
|
+
*/
|
|
46
|
+
onFocus?: (e: any) => void;
|
|
47
|
+
/**
|
|
48
|
+
* Indicates if the second filter will be hidden.
|
|
49
|
+
*/
|
|
50
|
+
hideSecondFilter?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The list of the default operators for the current filter type.
|
|
53
|
+
*/
|
|
54
|
+
operators: Array<{
|
|
55
|
+
text: string;
|
|
56
|
+
operator: any;
|
|
57
|
+
}>;
|
|
58
|
+
/**
|
|
59
|
+
* The method for rendering the cell.
|
|
60
|
+
*/
|
|
61
|
+
render?: any;
|
|
62
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { ColumnMenuFilterBaseProps } from './ColumnMenuFilterBaseProps';
|
|
9
|
+
import { ColumnMenuSortBaseProps } from './ColumnMenuSortBaseProps';
|
|
10
|
+
/**
|
|
11
|
+
* The props which the ColumnMenu passes to its children.
|
|
12
|
+
*/
|
|
13
|
+
export interface ColumnMenuProps extends ColumnMenuFilterBaseProps, ColumnMenuSortBaseProps {
|
|
14
|
+
/**
|
|
15
|
+
* The key of the column menu.
|
|
16
|
+
*/
|
|
17
|
+
key?: any;
|
|
18
|
+
/**
|
|
19
|
+
* The method for rendering the column menu.
|
|
20
|
+
*/
|
|
21
|
+
render?: any;
|
|
22
|
+
/**
|
|
23
|
+
* The opened column menu.
|
|
24
|
+
*/
|
|
25
|
+
opened?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The method that will be called to close the column menu.
|
|
28
|
+
*/
|
|
29
|
+
onClose?: Function;
|
|
30
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { SortDescriptor } from '@progress/kendo-data-query';
|
|
9
|
+
import { SortSettings } from './SortSettings';
|
|
10
|
+
import { ColumnMenuColumnProps } from './ColumnMenuColumnProps';
|
|
11
|
+
/**
|
|
12
|
+
* The props passed to the ColumnMenu sort component.
|
|
13
|
+
*/
|
|
14
|
+
export interface ColumnMenuSortBaseProps {
|
|
15
|
+
/**
|
|
16
|
+
* The current column options.
|
|
17
|
+
*/
|
|
18
|
+
column: ColumnMenuColumnProps;
|
|
19
|
+
/**
|
|
20
|
+
* The method that will be called to close the column menu.
|
|
21
|
+
*/
|
|
22
|
+
onClosemenu?: Function;
|
|
23
|
+
/**
|
|
24
|
+
* The sortable option of the column.
|
|
25
|
+
*/
|
|
26
|
+
sortable?: SortSettings;
|
|
27
|
+
/**
|
|
28
|
+
* The current sort state of the .
|
|
29
|
+
*/
|
|
30
|
+
sort?: SortDescriptor[];
|
|
31
|
+
/**
|
|
32
|
+
* The method that will be called to notify the parent about a sort change.
|
|
33
|
+
*/
|
|
34
|
+
onSortchange?: (descriptors: SortDescriptor[], e: any) => void;
|
|
35
|
+
}
|