@progress/kendo-react-dropdowns 6.1.1 → 7.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/es/AutoComplete → AutoComplete}/AutoComplete.d.ts +12 -8
- package/{dist/npm/AutoComplete → AutoComplete}/AutoCompleteProps.d.ts +4 -1
- package/{dist/es/ComboBox → ComboBox}/ComboBox.d.ts +12 -8
- package/{dist/es/ComboBox → ComboBox}/ComboBoxProps.d.ts +4 -1
- package/{dist/es/DropDownList → DropDownList}/DropDownList.d.ts +9 -5
- package/{dist/es/DropDownList → DropDownList}/DropDownListProps.d.ts +4 -1
- package/{dist/es/DropDownTree → DropDownTree}/DropDownTree.d.ts +4 -0
- package/{dist/npm/DropDownTree → DropDownTree}/DropDownTreeProps.d.ts +4 -1
- package/DropDownTree/ListNoData.d.ts +10 -0
- package/DropDownTree/useDropdownWidth.d.ts +9 -0
- package/LICENSE.md +1 -1
- package/{dist/es/MultiColumnComboBox → MultiColumnComboBox}/MultiColumnComboBox.d.ts +4 -0
- package/{dist/npm/MultiSelect → MultiSelect}/MultiSelect.d.ts +9 -5
- package/{dist/es/MultiSelect → MultiSelect}/MultiSelectProps.d.ts +4 -1
- package/{dist/npm/MultiSelect → MultiSelect}/TagList.d.ts +5 -1
- package/{dist/es/MultiSelectTree → MultiSelectTree}/MultiSelectTree.d.ts +4 -0
- package/{dist/es/MultiSelectTree → MultiSelectTree}/MultiSelectTreeProps.d.ts +5 -1
- package/{dist/npm/MultiSelectTree → MultiSelectTree}/utils.d.ts +5 -1
- package/{dist/npm/common → common}/AdaptiveMode.d.ts +5 -1
- package/common/ClearButton.d.ts +18 -0
- package/{dist/npm/common → common}/DropDownBase.d.ts +5 -1
- package/{dist/es/common → common}/GroupStickyHeader.d.ts +5 -1
- package/{dist/es/common → common}/List.d.ts +7 -3
- package/common/ListContainer.d.ts +22 -0
- package/common/ListDefaultItem.d.ts +20 -0
- package/{dist/npm/common → common}/ListFilter.d.ts +4 -0
- package/{dist/npm/common → common}/ListGroupItem.d.ts +5 -1
- package/{dist/npm/common → common}/ListItem.d.ts +5 -1
- package/common/MultiColumnList.d.ts +9 -0
- package/common/Navigation.d.ts +17 -0
- package/{dist/es/common → common}/SearchBar.d.ts +5 -1
- package/{dist/npm/common → common}/VirtualScroll.d.ts +4 -1
- package/common/constants.d.ts +8 -0
- package/{dist/es/common → common}/events.d.ts +4 -1
- package/{dist/npm/common → common}/filterDescriptor.d.ts +4 -0
- package/{dist/es/common → common}/settings.d.ts +5 -2
- package/{dist/npm/common → common}/utils.d.ts +4 -0
- package/dist/cdn/js/kendo-react-dropdowns.js +5 -1
- package/index.d.ts +29 -0
- package/index.js +5 -0
- package/index.mjs +4383 -0
- package/{dist/npm/messages → messages}/index.d.ts +4 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +34 -62
- package/about.md +0 -3
- package/dist/es/AutoComplete/AutoComplete.js +0 -652
- package/dist/es/AutoComplete/AutoCompleteProps.d.ts +0 -243
- package/dist/es/AutoComplete/AutoCompleteProps.js +0 -2
- package/dist/es/ComboBox/ComboBox.js +0 -915
- package/dist/es/ComboBox/ComboBoxProps.js +0 -2
- package/dist/es/DropDownList/DropDownList.js +0 -887
- package/dist/es/DropDownList/DropDownListProps.js +0 -2
- package/dist/es/DropDownTree/DropDownTree.js +0 -540
- package/dist/es/DropDownTree/DropDownTreeProps.d.ts +0 -294
- package/dist/es/DropDownTree/DropDownTreeProps.js +0 -2
- package/dist/es/DropDownTree/ListNoData.d.ts +0 -6
- package/dist/es/DropDownTree/ListNoData.js +0 -8
- package/dist/es/DropDownTree/useDropdownWidth.d.ts +0 -5
- package/dist/es/DropDownTree/useDropdownWidth.js +0 -13
- package/dist/es/MultiColumnComboBox/MultiColumnComboBox.js +0 -213
- package/dist/es/MultiSelect/MultiSelect.d.ts +0 -256
- package/dist/es/MultiSelect/MultiSelect.js +0 -1110
- package/dist/es/MultiSelect/MultiSelectProps.js +0 -2
- package/dist/es/MultiSelect/TagList.d.ts +0 -38
- package/dist/es/MultiSelect/TagList.js +0 -39
- package/dist/es/MultiSelectTree/MultiSelectTree.js +0 -619
- package/dist/es/MultiSelectTree/MultiSelectTreeProps.js +0 -2
- package/dist/es/MultiSelectTree/utils.d.ts +0 -17
- package/dist/es/MultiSelectTree/utils.js +0 -191
- package/dist/es/common/AdaptiveMode.d.ts +0 -21
- package/dist/es/common/AdaptiveMode.js +0 -45
- package/dist/es/common/ClearButton.d.ts +0 -14
- package/dist/es/common/ClearButton.js +0 -39
- package/dist/es/common/DropDownBase.d.ts +0 -175
- package/dist/es/common/DropDownBase.js +0 -297
- package/dist/es/common/GroupStickyHeader.js +0 -34
- package/dist/es/common/List.js +0 -75
- package/dist/es/common/ListContainer.d.ts +0 -18
- package/dist/es/common/ListContainer.js +0 -43
- package/dist/es/common/ListDefaultItem.d.ts +0 -16
- package/dist/es/common/ListDefaultItem.js +0 -36
- package/dist/es/common/ListFilter.d.ts +0 -19
- package/dist/es/common/ListFilter.js +0 -37
- package/dist/es/common/ListGroupItem.d.ts +0 -33
- package/dist/es/common/ListGroupItem.js +0 -33
- package/dist/es/common/ListItem.d.ts +0 -61
- package/dist/es/common/ListItem.js +0 -44
- package/dist/es/common/MultiColumnList.d.ts +0 -6
- package/dist/es/common/MultiColumnList.js +0 -22
- package/dist/es/common/Navigation.d.ts +0 -13
- package/dist/es/common/Navigation.js +0 -34
- package/dist/es/common/SearchBar.js +0 -62
- package/dist/es/common/VirtualScroll.d.ts +0 -42
- package/dist/es/common/VirtualScroll.js +0 -161
- package/dist/es/common/constants.d.ts +0 -4
- package/dist/es/common/constants.js +0 -4
- package/dist/es/common/events.js +0 -1
- package/dist/es/common/filterDescriptor.d.ts +0 -41
- package/dist/es/common/filterDescriptor.js +0 -2
- package/dist/es/common/settings.js +0 -8
- package/dist/es/common/utils.d.ts +0 -62
- package/dist/es/common/utils.js +0 -194
- package/dist/es/main.d.ts +0 -25
- package/dist/es/main.js +0 -19
- package/dist/es/messages/index.d.ts +0 -40
- package/dist/es/messages/index.js +0 -41
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/npm/AutoComplete/AutoComplete.d.ts +0 -230
- package/dist/npm/AutoComplete/AutoComplete.js +0 -655
- package/dist/npm/AutoComplete/AutoCompleteProps.js +0 -3
- package/dist/npm/ComboBox/ComboBox.d.ts +0 -248
- package/dist/npm/ComboBox/ComboBox.js +0 -918
- package/dist/npm/ComboBox/ComboBoxProps.d.ts +0 -313
- package/dist/npm/ComboBox/ComboBoxProps.js +0 -3
- package/dist/npm/DropDownList/DropDownList.d.ts +0 -258
- package/dist/npm/DropDownList/DropDownList.js +0 -890
- package/dist/npm/DropDownList/DropDownListProps.d.ts +0 -326
- package/dist/npm/DropDownList/DropDownListProps.js +0 -3
- package/dist/npm/DropDownTree/DropDownTree.d.ts +0 -70
- package/dist/npm/DropDownTree/DropDownTree.js +0 -543
- package/dist/npm/DropDownTree/DropDownTreeProps.js +0 -3
- package/dist/npm/DropDownTree/ListNoData.d.ts +0 -6
- package/dist/npm/DropDownTree/ListNoData.js +0 -12
- package/dist/npm/DropDownTree/useDropdownWidth.d.ts +0 -5
- package/dist/npm/DropDownTree/useDropdownWidth.js +0 -17
- package/dist/npm/MultiColumnComboBox/MultiColumnComboBox.d.ts +0 -287
- package/dist/npm/MultiColumnComboBox/MultiColumnComboBox.js +0 -216
- package/dist/npm/MultiSelect/MultiSelect.js +0 -1113
- package/dist/npm/MultiSelect/MultiSelectProps.d.ts +0 -314
- package/dist/npm/MultiSelect/MultiSelectProps.js +0 -3
- package/dist/npm/MultiSelect/TagList.js +0 -41
- package/dist/npm/MultiSelectTree/MultiSelectTree.d.ts +0 -81
- package/dist/npm/MultiSelectTree/MultiSelectTree.js +0 -622
- package/dist/npm/MultiSelectTree/MultiSelectTreeProps.d.ts +0 -320
- package/dist/npm/MultiSelectTree/MultiSelectTreeProps.js +0 -3
- package/dist/npm/MultiSelectTree/utils.js +0 -196
- package/dist/npm/common/AdaptiveMode.js +0 -49
- package/dist/npm/common/ClearButton.d.ts +0 -14
- package/dist/npm/common/ClearButton.js +0 -41
- package/dist/npm/common/DropDownBase.js +0 -299
- package/dist/npm/common/GroupStickyHeader.d.ts +0 -24
- package/dist/npm/common/GroupStickyHeader.js +0 -36
- package/dist/npm/common/List.d.ts +0 -45
- package/dist/npm/common/List.js +0 -77
- package/dist/npm/common/ListContainer.d.ts +0 -18
- package/dist/npm/common/ListContainer.js +0 -45
- package/dist/npm/common/ListDefaultItem.d.ts +0 -16
- package/dist/npm/common/ListDefaultItem.js +0 -38
- package/dist/npm/common/ListFilter.js +0 -39
- package/dist/npm/common/ListGroupItem.js +0 -35
- package/dist/npm/common/ListItem.js +0 -46
- package/dist/npm/common/MultiColumnList.d.ts +0 -6
- package/dist/npm/common/MultiColumnList.js +0 -26
- package/dist/npm/common/Navigation.d.ts +0 -13
- package/dist/npm/common/Navigation.js +0 -37
- package/dist/npm/common/SearchBar.d.ts +0 -43
- package/dist/npm/common/SearchBar.js +0 -64
- package/dist/npm/common/VirtualScroll.js +0 -163
- package/dist/npm/common/constants.d.ts +0 -4
- package/dist/npm/common/constants.js +0 -7
- package/dist/npm/common/events.d.ts +0 -73
- package/dist/npm/common/events.js +0 -2
- package/dist/npm/common/filterDescriptor.js +0 -3
- package/dist/npm/common/settings.d.ts +0 -114
- package/dist/npm/common/settings.js +0 -11
- package/dist/npm/common/utils.js +0 -211
- package/dist/npm/main.d.ts +0 -25
- package/dist/npm/main.js +0 -62
- package/dist/npm/messages/index.js +0 -44
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
- package/dist/systemjs/kendo-react-dropdowns.js +0 -1
- package/e2e-next/combobox.basic.ts +0 -24
- package/e2e-next/dropdownlist.basic.tests.ts +0 -24
- package/e2e-next/dropdowntree.basic.tests.ts +0 -24
- package/e2e-next/multicolumncombobox.basic.tests.ts +0 -24
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { FormComponentProps } from '@progress/kendo-react-common';
|
|
3
|
-
import { ItemRenderProps } from '@progress/kendo-react-treeview';
|
|
4
|
-
import { FilterChangeEvent, OpenEvent, CloseEvent, FocusEvent, BlurEvent, DropdownEvent, CancelEvent } from '../common/events';
|
|
5
|
-
import { DropDownsPopupSettings } from '../common/settings';
|
|
6
|
-
import { TagData } from '../MultiSelect/TagList';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the Object which is passed to the
|
|
9
|
-
* [`ref`](https://reactjs.org/docs/refs-and-the-dom.html) callback of the MultiSelectTree component.
|
|
10
|
-
*/
|
|
11
|
-
export interface MultiSelectTreeHandle {
|
|
12
|
-
/**
|
|
13
|
-
* The current element or `null` if there is no one.
|
|
14
|
-
*/
|
|
15
|
-
element: HTMLElement | null;
|
|
16
|
-
/**
|
|
17
|
-
* The props of the MultiSelectTree component.
|
|
18
|
-
*/
|
|
19
|
-
props: MultiSelectTreeProps;
|
|
20
|
-
/**
|
|
21
|
-
* The focus function.
|
|
22
|
-
*/
|
|
23
|
-
focus: () => void;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Represents the object of the `onFilterChange` MultiSelectTree event.
|
|
27
|
-
*/
|
|
28
|
-
export interface MultiSelectTreeFilterChangeEvent extends FilterChangeEvent<MultiSelectTreeHandle> {
|
|
29
|
-
}
|
|
30
|
-
export declare type MultiSelectTreeChangeEventOperation = 'clear' | 'delete' | 'toggle';
|
|
31
|
-
/**
|
|
32
|
-
* Represents the object of the `onChange` MultiSelectTree event.
|
|
33
|
-
*/
|
|
34
|
-
export interface MultiSelectTreeChangeEvent extends DropdownEvent<MultiSelectTreeHandle> {
|
|
35
|
-
/**
|
|
36
|
-
* The items related to current operation.
|
|
37
|
-
*/
|
|
38
|
-
items: any[];
|
|
39
|
-
/**
|
|
40
|
-
* Describes the current operation:
|
|
41
|
-
* * `clear` - clear button is clicked and value is cleared. Null value is retured.
|
|
42
|
-
* * `delete` - tag is deleted using keyboard or mouse. The items contained in current tag are returned.
|
|
43
|
-
* * `toggle` - item in TreeView is toggled. Single item is returned.
|
|
44
|
-
*/
|
|
45
|
-
operation: MultiSelectTreeChangeEventOperation;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Represents the object of the `onOpen` MultiSelectTree event.
|
|
49
|
-
*/
|
|
50
|
-
export interface MultiSelectTreeOpenEvent extends OpenEvent<MultiSelectTreeHandle> {
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Represents the object of the `onClose` MultiSelectTree event.
|
|
54
|
-
*/
|
|
55
|
-
export interface MultiSelectTreeCloseEvent extends CloseEvent<MultiSelectTreeHandle> {
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Represents the object of the `onFocus` MultiSelectTree event.
|
|
59
|
-
*/
|
|
60
|
-
export interface MultiSelectTreeFocusEvent extends FocusEvent<MultiSelectTreeHandle> {
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Represents the object of the `onBlur` MultiSelectTree event.
|
|
64
|
-
*/
|
|
65
|
-
export interface MultiSelectTreeBlurEvent extends BlurEvent<MultiSelectTreeHandle> {
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Represents the object of the `onCancel` MultiSelectTree event.
|
|
69
|
-
*/
|
|
70
|
-
export interface MultiSelectTreeCancelEvent extends CancelEvent<MultiSelectTreeHandle> {
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Represents the object of the `onExpandChange` MultiSelectTree event.
|
|
74
|
-
*/
|
|
75
|
-
export interface MultiSelectTreeExpandEvent extends DropdownEvent<MultiSelectTreeHandle> {
|
|
76
|
-
item: any;
|
|
77
|
-
level: number[];
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* The props of component that will be used for rendering each of the MultiSelectTree items
|
|
81
|
-
* ([see example]({% slug customrendering_multiselecttree %}#toc-items-and-value-element)).
|
|
82
|
-
*/
|
|
83
|
-
export interface MultiSelectTreeItemProps extends ItemRenderProps {
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* The props of component that will be used for rendering each of the MultiSelectTree tags
|
|
87
|
-
*/
|
|
88
|
-
export interface MultiSelectTreeTagProps {
|
|
89
|
-
tagData: TagData;
|
|
90
|
-
guid: string;
|
|
91
|
-
focusedTag?: TagData;
|
|
92
|
-
onTagDelete: (items: Array<any>, event: React.MouseEvent<HTMLSpanElement>) => void;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* The props of the `ListNoData` component ([see example]({% slug customrendering_multiselecttree %}#toc-no-data)).
|
|
96
|
-
*/
|
|
97
|
-
export interface MultiSelectTreeListNoDataProps {
|
|
98
|
-
children?: React.ReactNode;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Represents the props of the [KendoReact MultiSelectTree component]({% slug overview_multiselecttree %}).
|
|
102
|
-
*/
|
|
103
|
-
export interface MultiSelectTreeProps extends FormComponentProps {
|
|
104
|
-
/**
|
|
105
|
-
* Sets the data of the MultiSelectTree ([see example]({% slug overview_multiselecttree %})).
|
|
106
|
-
*/
|
|
107
|
-
data?: any[];
|
|
108
|
-
/**
|
|
109
|
-
* Sets the opened state of the MultiSelectTree.
|
|
110
|
-
*/
|
|
111
|
-
opened?: boolean;
|
|
112
|
-
/**
|
|
113
|
-
* The styles that are applied to the MultiSelectTree.
|
|
114
|
-
*/
|
|
115
|
-
style?: React.CSSProperties;
|
|
116
|
-
/**
|
|
117
|
-
* Sets the value of the MultiSelectTree. It can either be of the primitive (string, numbers) or of the complex (objects) type.
|
|
118
|
-
*/
|
|
119
|
-
value?: Array<any>;
|
|
120
|
-
/**
|
|
121
|
-
* The hint that is displayed when the MultiSelectTree is empty.
|
|
122
|
-
*/
|
|
123
|
-
placeholder?: string;
|
|
124
|
-
/**
|
|
125
|
-
* Sets the key for comparing the data items of the MultiSelectTree ([see example]({% slug overview_multiselecttree %})).
|
|
126
|
-
* If `dataItemKey` is not set, the MultiSelectTree compares the items by reference.
|
|
127
|
-
*/
|
|
128
|
-
dataItemKey: string;
|
|
129
|
-
/**
|
|
130
|
-
* Sets additional classes to the MultiSelectTree.
|
|
131
|
-
*/
|
|
132
|
-
className?: string;
|
|
133
|
-
/**
|
|
134
|
-
* Sets the disabled state of the MultiSelectTree.
|
|
135
|
-
*/
|
|
136
|
-
disabled?: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* Represents the `dir` HTML attribute.
|
|
139
|
-
*/
|
|
140
|
-
dir?: string;
|
|
141
|
-
/**
|
|
142
|
-
* Renders a floating label for the MultiSelectTree.
|
|
143
|
-
*/
|
|
144
|
-
label?: string;
|
|
145
|
-
/**
|
|
146
|
-
* Specifies the id of the component.
|
|
147
|
-
*/
|
|
148
|
-
id?: string;
|
|
149
|
-
/**
|
|
150
|
-
* Sets the tags of the MultiSelect ([see example]({% slug customtags_multiselect %})).
|
|
151
|
-
*/
|
|
152
|
-
tags?: Array<TagData>;
|
|
153
|
-
/**
|
|
154
|
-
* Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
|
|
155
|
-
* For example these elements could contain error or hint message.
|
|
156
|
-
*/
|
|
157
|
-
ariaDescribedBy?: string;
|
|
158
|
-
/**
|
|
159
|
-
* Identifies the element(s) which will label the component.
|
|
160
|
-
*/
|
|
161
|
-
ariaLabelledBy?: string;
|
|
162
|
-
/**
|
|
163
|
-
* Enables the filtering functionality of the MultiSelectTree ([more information and examples]({% slug filtering_multiselecttree %})).
|
|
164
|
-
*/
|
|
165
|
-
filterable?: boolean;
|
|
166
|
-
/**
|
|
167
|
-
* Sets the value of filtering input.
|
|
168
|
-
* Useful for making the filtering input a [controlled component](https://reactjs.org/docs/forms.html#controlled-components).
|
|
169
|
-
*/
|
|
170
|
-
filter?: string;
|
|
171
|
-
/**
|
|
172
|
-
* Sets the loading state of the MultiSelectTree ([see example]({% slug filtering_multiselecttree %}#toc-visualize-filtering)).
|
|
173
|
-
*/
|
|
174
|
-
loading?: boolean;
|
|
175
|
-
/**
|
|
176
|
-
* Specifies the `tabIndex` of the MultiSelectTree.
|
|
177
|
-
*/
|
|
178
|
-
tabIndex?: number;
|
|
179
|
-
/**
|
|
180
|
-
* Specifies the `accessKey` of the MultiSelectTree.
|
|
181
|
-
*/
|
|
182
|
-
accessKey?: string;
|
|
183
|
-
/**
|
|
184
|
-
* Sets the data item field that represents the item text ([see example]({% slug overview_multiselecttree %})).
|
|
185
|
-
*/
|
|
186
|
-
textField: string;
|
|
187
|
-
/**
|
|
188
|
-
* Specifies the name of the field which will provide a Boolean representation of the checked state of the item.
|
|
189
|
-
*/
|
|
190
|
-
checkField?: string;
|
|
191
|
-
/**
|
|
192
|
-
* Specifies the name of the field which will provide a Boolean representation of the checked indeterminaet state of the item.
|
|
193
|
-
*/
|
|
194
|
-
checkIndeterminateField?: string;
|
|
195
|
-
/**
|
|
196
|
-
* Specifies the name of the field which will provide a Boolean representation of the expanded state of the item.
|
|
197
|
-
*/
|
|
198
|
-
expandField?: string;
|
|
199
|
-
/**
|
|
200
|
-
* Specifies the name of the field which will provide an array representation of the item subitems.
|
|
201
|
-
* Defaults to 'items'.
|
|
202
|
-
*/
|
|
203
|
-
subItemsField?: string;
|
|
204
|
-
/**
|
|
205
|
-
* Configures the popup of the MultiSelectTree.
|
|
206
|
-
*/
|
|
207
|
-
popupSettings?: DropDownsPopupSettings;
|
|
208
|
-
/**
|
|
209
|
-
* Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://reactjs.org/docs/forms.html#the-select-tag) element.
|
|
210
|
-
*
|
|
211
|
-
* @example
|
|
212
|
-
* ```jsx-no-run
|
|
213
|
-
* class App extends React.Component {
|
|
214
|
-
* render() {
|
|
215
|
-
* return (
|
|
216
|
-
* <form>
|
|
217
|
-
* <MultiSelectTree
|
|
218
|
-
* data={[ { text: "Austria", id: 1 } , { text: "Belarus", id: 2 } ]}
|
|
219
|
-
* valueMap={value => value && value.id}
|
|
220
|
-
* />
|
|
221
|
-
* <button type="submit">Submit</button>
|
|
222
|
-
* </form>
|
|
223
|
-
* );
|
|
224
|
-
* }
|
|
225
|
-
* }
|
|
226
|
-
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
227
|
-
* ```
|
|
228
|
-
*/
|
|
229
|
-
valueMap?: (value: Array<any>) => any;
|
|
230
|
-
/**
|
|
231
|
-
* Fires each time the popup of the MultiSelectTree is about to open.
|
|
232
|
-
*/
|
|
233
|
-
onOpen?: (event: MultiSelectTreeOpenEvent) => void;
|
|
234
|
-
/**
|
|
235
|
-
* Fires each time the popup of the MultiSelectTree is about to close.
|
|
236
|
-
*/
|
|
237
|
-
onClose?: (event: MultiSelectTreeCloseEvent) => void;
|
|
238
|
-
/**
|
|
239
|
-
* Fires each time the user focuses the MultiSelectTree.
|
|
240
|
-
*/
|
|
241
|
-
onFocus?: (event: MultiSelectTreeFocusEvent) => void;
|
|
242
|
-
/**
|
|
243
|
-
* Fires each time the MultiSelectTree gets blurred.
|
|
244
|
-
*/
|
|
245
|
-
onBlur?: (event: MultiSelectTreeBlurEvent) => void;
|
|
246
|
-
/**
|
|
247
|
-
* Fires each time the value of the MultiSelectTree is about to change ([see examples]({% slug overview_multiselecttree %})).
|
|
248
|
-
*/
|
|
249
|
-
onChange?: (event: MultiSelectTreeChangeEvent) => void;
|
|
250
|
-
/**
|
|
251
|
-
* Fires each time the popup of the MultiSelectTree is about to cancel in ([adaptive mode]({% slug adaptive_rendering_multiselecttree %})).
|
|
252
|
-
*/
|
|
253
|
-
onCancel?: (event: MultiSelectTreeCancelEvent) => void;
|
|
254
|
-
/**
|
|
255
|
-
* Fires each time the user types in the filter input
|
|
256
|
-
* ([see example]({% slug filtering_multiselecttree %}#toc-basic-configuration)).
|
|
257
|
-
* You can filter the source based on the passed filtration value.
|
|
258
|
-
*/
|
|
259
|
-
onFilterChange?: (event: MultiSelectTreeFilterChangeEvent) => void;
|
|
260
|
-
/**
|
|
261
|
-
* Fires when the expanding or collapsing of an item is requested ([see examples]({% slug overview_multiselecttree %})).
|
|
262
|
-
*/
|
|
263
|
-
onExpandChange?: (event: any) => void;
|
|
264
|
-
/**
|
|
265
|
-
* Defines the component that will be used for rendering each of the MultiSelectTree items
|
|
266
|
-
* ([see example]({% slug customrendering_multiselecttree %}#toc-items-and-value-element)).
|
|
267
|
-
*/
|
|
268
|
-
item?: React.ComponentType<MultiSelectTreeItemProps>;
|
|
269
|
-
/**
|
|
270
|
-
* Defines the component that will be rendered in the MultiSelectTree popup when no data is available
|
|
271
|
-
* ([see example]({% slug customrendering_multiselecttree %}#toc-no-data)).
|
|
272
|
-
*/
|
|
273
|
-
listNoData?: React.ComponentType<MultiSelectTreeListNoDataProps>;
|
|
274
|
-
tag?: React.ComponentType<MultiSelectTreeTagProps>;
|
|
275
|
-
/**
|
|
276
|
-
* Configures the `size` of the MultiSelectTree.
|
|
277
|
-
*
|
|
278
|
-
* The available options are:
|
|
279
|
-
* - small
|
|
280
|
-
* - medium
|
|
281
|
-
* - large
|
|
282
|
-
* - null—Does not set a size `className`.
|
|
283
|
-
*
|
|
284
|
-
* @default `medium`
|
|
285
|
-
*/
|
|
286
|
-
size?: null | 'small' | 'medium' | 'large';
|
|
287
|
-
/**
|
|
288
|
-
* Configures the `roundness` of the MultiSelectTree.
|
|
289
|
-
*
|
|
290
|
-
* The available options are:
|
|
291
|
-
* - small
|
|
292
|
-
* - medium
|
|
293
|
-
* - large
|
|
294
|
-
* - full
|
|
295
|
-
* - null—Does not set a rounded `className`.
|
|
296
|
-
*
|
|
297
|
-
* @default `medium`
|
|
298
|
-
*/
|
|
299
|
-
rounded?: null | 'small' | 'medium' | 'large' | 'full';
|
|
300
|
-
/**
|
|
301
|
-
* Configures the `fillMode` of the MultiSelectTree.
|
|
302
|
-
*
|
|
303
|
-
* The available options are:
|
|
304
|
-
* - solid
|
|
305
|
-
* - flat
|
|
306
|
-
* - outline
|
|
307
|
-
* - null—Does not set a fillMode `className`.
|
|
308
|
-
*
|
|
309
|
-
* @default `solid`
|
|
310
|
-
*/
|
|
311
|
-
fillMode?: null | 'solid' | 'flat' | 'outline';
|
|
312
|
-
/**
|
|
313
|
-
* Providing different rendering of the popup element based on the screen dimensions.
|
|
314
|
-
*/
|
|
315
|
-
adaptive?: boolean;
|
|
316
|
-
/**
|
|
317
|
-
* Specifies the text that is rendered as title in the adaptive popup.
|
|
318
|
-
*/
|
|
319
|
-
adaptiveTitle?: string | React.ReactNode;
|
|
320
|
-
}
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
3
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
4
|
-
if (ar || !(i in from)) {
|
|
5
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
6
|
-
ar[i] = from[i];
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.getMultiSelectTreeValue = exports.getValueMap = void 0;
|
|
13
|
-
var kendo_react_common_1 = require("@progress/kendo-react-common");
|
|
14
|
-
/** @hidden */
|
|
15
|
-
var getValueMap = function (value, idGetter) {
|
|
16
|
-
var map = {};
|
|
17
|
-
if (value && value.length) {
|
|
18
|
-
value.forEach(function (item) {
|
|
19
|
-
map[idGetter(item)] = true;
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
return map;
|
|
23
|
-
};
|
|
24
|
-
exports.getValueMap = getValueMap;
|
|
25
|
-
/**
|
|
26
|
-
* Get MultiSelectTree new value from the component `onChange` event.
|
|
27
|
-
*
|
|
28
|
-
* @param {any[]} data
|
|
29
|
-
* @param {object} options
|
|
30
|
-
* @returns {any[]}
|
|
31
|
-
*/
|
|
32
|
-
var getMultiSelectTreeValue = function (data, options) {
|
|
33
|
-
var items = options.items, dataItemKey = options.dataItemKey, value = options.value, _a = options.subItemsField, subItemsField = _a === void 0 ? 'items' : _a, operation = options.operation;
|
|
34
|
-
var idGetter = (0, kendo_react_common_1.getter)(dataItemKey);
|
|
35
|
-
var valueMap = (0, exports.getValueMap)(value, idGetter);
|
|
36
|
-
if (operation === 'clear') {
|
|
37
|
-
return [];
|
|
38
|
-
}
|
|
39
|
-
else if (operation === 'delete') {
|
|
40
|
-
var deletedItemsMap_1 = (0, exports.getValueMap)(items, idGetter);
|
|
41
|
-
return value.filter(function (item) { return !deletedItemsMap_1[idGetter(item)]; });
|
|
42
|
-
}
|
|
43
|
-
// operation === 'toggle'
|
|
44
|
-
var selectedItem = items[0];
|
|
45
|
-
var selectedId = idGetter(selectedItem);
|
|
46
|
-
var subItemGetter = (0, kendo_react_common_1.getter)(subItemsField);
|
|
47
|
-
var stack = __spreadArray([], data, true);
|
|
48
|
-
var context = [];
|
|
49
|
-
var parents = [];
|
|
50
|
-
var foundItem;
|
|
51
|
-
while (stack.length) {
|
|
52
|
-
var currentItem = stack.pop();
|
|
53
|
-
if (selectedId === idGetter(currentItem)) {
|
|
54
|
-
parents = context.map(function (contextItem) { return contextItem.item; });
|
|
55
|
-
foundItem = currentItem;
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
if (context &&
|
|
60
|
-
context.length &&
|
|
61
|
-
context[context.length - 1].parentPosition === stack.length) {
|
|
62
|
-
context.pop();
|
|
63
|
-
}
|
|
64
|
-
var subItems = subItemGetter(currentItem);
|
|
65
|
-
if (subItems && subItems.length) {
|
|
66
|
-
context.push({ item: currentItem, parentPosition: stack.length });
|
|
67
|
-
stack.push.apply(stack, subItems);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
var childrenStack = __spreadArray([], (subItemGetter(foundItem) || []), true);
|
|
72
|
-
var children = [];
|
|
73
|
-
while (childrenStack.length) {
|
|
74
|
-
var currentItem = childrenStack.pop();
|
|
75
|
-
children.push(currentItem);
|
|
76
|
-
var subItems = subItemGetter(currentItem);
|
|
77
|
-
if (subItems && subItems.length) {
|
|
78
|
-
childrenStack.push.apply(childrenStack, subItems);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
var isChecked = !valueMap[selectedId];
|
|
82
|
-
var newValue = [];
|
|
83
|
-
if (isChecked) {
|
|
84
|
-
newValue.push.apply(newValue, value);
|
|
85
|
-
newValue.push(foundItem);
|
|
86
|
-
newValue.push.apply(newValue, children.filter(function (item) { return !valueMap[idGetter(item)]; }));
|
|
87
|
-
var parentCandidates = parents.filter(function (item) { return !valueMap[idGetter(item)]; });
|
|
88
|
-
var newValueMap_1 = (0, exports.getValueMap)(newValue, idGetter);
|
|
89
|
-
for (var i = parentCandidates.length - 1; i > -1; i--) {
|
|
90
|
-
var candidate = parentCandidates[i];
|
|
91
|
-
var subItems = subItemGetter(candidate);
|
|
92
|
-
var checkedChildrenLength = subItems.filter(function (item) { return newValueMap_1[idGetter(item)]; }).length;
|
|
93
|
-
if (checkedChildrenLength < subItems.length) {
|
|
94
|
-
break;
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
newValue.push(candidate);
|
|
98
|
-
newValueMap_1[idGetter(candidate)] = true;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
var foundId_1 = idGetter(foundItem);
|
|
104
|
-
var childrenMap_1 = (0, exports.getValueMap)(children, idGetter);
|
|
105
|
-
var parentsMap_1 = (0, exports.getValueMap)(parents, idGetter);
|
|
106
|
-
newValue.push.apply(newValue, (value
|
|
107
|
-
.filter(function (item) {
|
|
108
|
-
var itemId = idGetter(item);
|
|
109
|
-
return !childrenMap_1[itemId] && foundId_1 !== itemId && !parentsMap_1[itemId];
|
|
110
|
-
})));
|
|
111
|
-
}
|
|
112
|
-
return newValue;
|
|
113
|
-
};
|
|
114
|
-
exports.getMultiSelectTreeValue = getMultiSelectTreeValue;
|
|
115
|
-
// /** @hidden */
|
|
116
|
-
// const mapCheckAndIntermidiate = (
|
|
117
|
-
// data,
|
|
118
|
-
// options: {
|
|
119
|
-
// valueMap: {[dataItemKey: string]: boolean};
|
|
120
|
-
// callback?: (item: any) => any;
|
|
121
|
-
// idGetter: (item: any) => any;
|
|
122
|
-
// subItemGetter: (item: any) => any;
|
|
123
|
-
// subItemSetter: (item: any, value: any) => void;
|
|
124
|
-
// checkSetter: (item: any, value: any) => void;
|
|
125
|
-
// checkIndeterminateSetter: (item: any, value: any) => void;
|
|
126
|
-
// }
|
|
127
|
-
// ) => {
|
|
128
|
-
// const {
|
|
129
|
-
// idGetter,
|
|
130
|
-
// subItemGetter,
|
|
131
|
-
// subItemSetter,
|
|
132
|
-
// checkSetter,
|
|
133
|
-
// checkIndeterminateSetter
|
|
134
|
-
// } = options;
|
|
135
|
-
// if (!data || !data.length) { return [data, false];}
|
|
136
|
-
// let hasChecked = false;
|
|
137
|
-
// const newData = [...data].map(dataItem => {
|
|
138
|
-
// const [children, hasCheckedChildren] = mapCheckAndIntermidiate(subItemGetter(dataItem), options);
|
|
139
|
-
// const isChecked = options.valueMap[idGetter(dataItem)];
|
|
140
|
-
// if (isChecked || hasCheckedChildren) {
|
|
141
|
-
// hasChecked = true;
|
|
142
|
-
// }
|
|
143
|
-
// const newItem = { ...dataItem };
|
|
144
|
-
// subItemSetter(newItem, children);
|
|
145
|
-
// checkSetter(newItem, isChecked);
|
|
146
|
-
// checkIndeterminateSetter(newItem, !isChecked && hasCheckedChildren);
|
|
147
|
-
// return options.callback ? options.callback(newItem) : newItem;
|
|
148
|
-
// });
|
|
149
|
-
// return [newData, hasChecked];
|
|
150
|
-
// };
|
|
151
|
-
// /**
|
|
152
|
-
// *
|
|
153
|
-
// * @param data
|
|
154
|
-
// * @param options
|
|
155
|
-
// * @returns
|
|
156
|
-
// */
|
|
157
|
-
// /**
|
|
158
|
-
// * Creates a new array with the results of calling the provided callback function
|
|
159
|
-
// * on every element in the provided data tree. The new tree items have their `check` and `checkIndeterminate` fields set based on provided value.
|
|
160
|
-
// *
|
|
161
|
-
// * @param {any[]} tree - The data tree.
|
|
162
|
-
// * @param {object} options - The options used to map the tree items like check and checkIndeterminateField fields
|
|
163
|
-
// * @returns {any[]} - The new data tree.
|
|
164
|
-
// */
|
|
165
|
-
// export const mapMultiSelectTreeData = (
|
|
166
|
-
// tree,
|
|
167
|
-
// options: {
|
|
168
|
-
// checkField?: string;
|
|
169
|
-
// checkIndeterminateField?: string;
|
|
170
|
-
// subItemsField?: string;
|
|
171
|
-
// dataItemKey: string;
|
|
172
|
-
// value: Array<any>;
|
|
173
|
-
// callback?: (item) => any;
|
|
174
|
-
// }
|
|
175
|
-
// ) => {
|
|
176
|
-
// const {
|
|
177
|
-
// subItemsField = 'items',
|
|
178
|
-
// checkField = 'checkField',
|
|
179
|
-
// checkIndeterminateField = 'checkIndeterminateField',
|
|
180
|
-
// callback
|
|
181
|
-
// } = options;
|
|
182
|
-
// const idGetter = getter(options.dataItemKey);
|
|
183
|
-
// const [result] = mapCheckAndIntermidiate(
|
|
184
|
-
// tree,
|
|
185
|
-
// {
|
|
186
|
-
// callback,
|
|
187
|
-
// valueMap: getValueMap(options.value, idGetter),
|
|
188
|
-
// idGetter,
|
|
189
|
-
// subItemGetter: getter(subItemsField),
|
|
190
|
-
// subItemSetter: setter(subItemsField),
|
|
191
|
-
// checkSetter: setter(checkField),
|
|
192
|
-
// checkIndeterminateSetter: setter(checkIndeterminateField)
|
|
193
|
-
// }
|
|
194
|
-
// );
|
|
195
|
-
// return result;
|
|
196
|
-
// };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.AdaptiveMode = void 0;
|
|
15
|
-
var React = require("react");
|
|
16
|
-
var kendo_react_layout_1 = require("@progress/kendo-react-layout");
|
|
17
|
-
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
18
|
-
var kendo_react_buttons_1 = require("@progress/kendo-react-buttons");
|
|
19
|
-
/** @hidden */
|
|
20
|
-
var MOBILE_SMALL_DEVISE = 500;
|
|
21
|
-
/** @hidden */
|
|
22
|
-
var AdaptiveMode = function (props) {
|
|
23
|
-
var footer = props.footer, children = props.children, _a = props.windowWidth, windowWidth = _a === void 0 ? 0 : _a, navigatable = props.navigatable, navigatableElements = props.navigatableElements, expand = props.expand, animation = props.animation, onClose = props.onClose, adaptiveTitle = props.adaptiveTitle, mobileFilter = props.mobileFilter;
|
|
24
|
-
var defaultProps = {
|
|
25
|
-
navigatable: navigatable || false,
|
|
26
|
-
navigatableElements: navigatableElements || [],
|
|
27
|
-
expand: expand,
|
|
28
|
-
animation: animation === false ? false : true,
|
|
29
|
-
onClose: onClose,
|
|
30
|
-
animationStyles: windowWidth <= MOBILE_SMALL_DEVISE ? { top: 0, width: '100%', height: '100%' } : undefined,
|
|
31
|
-
className: windowWidth <= MOBILE_SMALL_DEVISE
|
|
32
|
-
? 'k-adaptive-actionsheet k-actionsheet-fullscreen'
|
|
33
|
-
: 'k-adaptive-actionsheet k-actionsheet-bottom'
|
|
34
|
-
};
|
|
35
|
-
return (React.createElement(kendo_react_layout_1.ActionSheet, __assign({}, defaultProps),
|
|
36
|
-
React.createElement(kendo_react_layout_1.ActionSheetHeader, { className: 'k-text-center' },
|
|
37
|
-
React.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" },
|
|
38
|
-
React.createElement("div", { className: "k-actionsheet-title" },
|
|
39
|
-
React.createElement("div", null, adaptiveTitle)),
|
|
40
|
-
React.createElement("div", { className: "k-actionsheet-actions" },
|
|
41
|
-
React.createElement(kendo_react_buttons_1.Button, { tabIndex: 0, "aria-label": "Cancel", "aria-disabled": "false", type: "button", fillMode: "flat", icon: 'x', svgIcon: kendo_svg_icons_1.xIcon, onClick: onClose }))),
|
|
42
|
-
mobileFilter &&
|
|
43
|
-
React.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, mobileFilter)),
|
|
44
|
-
children,
|
|
45
|
-
footer && React.createElement(kendo_react_layout_1.ActionSheetFooter, { className: 'k-actions k-actions-stretched' },
|
|
46
|
-
React.createElement(kendo_react_buttons_1.Button, { size: "large", tabIndex: 0, "aria-label": footer.cancelText, "aria-disabled": "false", type: "button", onClick: footer.onCancel }, footer.cancelText),
|
|
47
|
-
React.createElement(kendo_react_buttons_1.Button, { tabIndex: 0, themeColor: "primary", size: "large", "aria-label": footer.applyText, "aria-disabled": "false", type: "button", onClick: footer.onApply }, footer.applyText))));
|
|
48
|
-
};
|
|
49
|
-
exports.AdaptiveMode = AdaptiveMode;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* @hidden
|
|
4
|
-
*/
|
|
5
|
-
export interface ClearButtonProps {
|
|
6
|
-
onClick?: React.MouseEventHandler<HTMLSpanElement>;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export default class ClearButton extends React.Component<ClearButtonProps> {
|
|
12
|
-
onMouseDown: (e: any) => any;
|
|
13
|
-
render(): JSX.Element;
|
|
14
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
var React = require("react");
|
|
19
|
-
var kendo_react_intl_1 = require("@progress/kendo-react-intl");
|
|
20
|
-
var messages_1 = require("../messages");
|
|
21
|
-
var kendo_react_common_1 = require("@progress/kendo-react-common");
|
|
22
|
-
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
var ClearButton = /** @class */ (function (_super) {
|
|
27
|
-
__extends(ClearButton, _super);
|
|
28
|
-
function ClearButton() {
|
|
29
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
30
|
-
_this.onMouseDown = function (e) { return e.preventDefault(); };
|
|
31
|
-
return _this;
|
|
32
|
-
}
|
|
33
|
-
ClearButton.prototype.render = function () {
|
|
34
|
-
var title = (0, kendo_react_intl_1.provideLocalizationService)(this).toLanguageString(messages_1.clear, messages_1.messages[messages_1.clear]);
|
|
35
|
-
return (React.createElement("span", { className: "k-clear-value", role: "button", onClick: this.props.onClick, onMouseDown: this.onMouseDown, tabIndex: -1, title: title, key: "clearbutton" },
|
|
36
|
-
React.createElement(kendo_react_common_1.IconWrap, { name: 'x', icon: kendo_svg_icons_1.xIcon })));
|
|
37
|
-
};
|
|
38
|
-
return ClearButton;
|
|
39
|
-
}(React.Component));
|
|
40
|
-
exports.default = ClearButton;
|
|
41
|
-
(0, kendo_react_intl_1.registerForLocalization)(ClearButton);
|