@syncfusion/ej2-ribbon 31.1.17 → 31.1.22
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/ej2-ribbon.umd.min.js +3 -3
- package/dist/ej2-ribbon.umd.min.js.map +1 -1
- package/dist/es6/ej2-ribbon.es2015.js +24 -5
- package/dist/es6/ej2-ribbon.es2015.js.map +1 -1
- package/dist/es6/ej2-ribbon.es5.js +24 -5
- package/dist/es6/ej2-ribbon.es5.js.map +1 -1
- package/dist/global/ej2-ribbon.min.js +3 -3
- package/dist/global/ej2-ribbon.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +17 -53
- package/src/ribbon/base/ribbon-model.d.ts +1 -1
- package/src/ribbon/base/ribbon.js +14 -5
- package/src/ribbon/items/ribbon-splitbutton.js +11 -0
- package/styles/bds-lite.css +9 -0
- package/styles/bds.css +9 -0
- package/styles/bootstrap-dark-lite.css +9 -0
- package/styles/bootstrap-dark.css +9 -0
- package/styles/bootstrap-lite.css +9 -0
- package/styles/bootstrap.css +9 -0
- package/styles/bootstrap4-lite.css +17 -0
- package/styles/bootstrap4.css +17 -0
- package/styles/bootstrap5-dark-lite.css +9 -0
- package/styles/bootstrap5-dark.css +9 -0
- package/styles/bootstrap5-lite.css +9 -0
- package/styles/bootstrap5.3-lite.css +9 -0
- package/styles/bootstrap5.3.css +9 -0
- package/styles/bootstrap5.css +9 -0
- package/styles/fabric-dark-lite.css +9 -0
- package/styles/fabric-dark.css +9 -0
- package/styles/fabric-lite.css +9 -0
- package/styles/fabric.css +9 -0
- package/styles/fluent-dark-lite.css +9 -0
- package/styles/fluent-dark.css +9 -0
- package/styles/fluent-lite.css +9 -0
- package/styles/fluent.css +9 -0
- package/styles/fluent2-lite.css +11 -2
- package/styles/fluent2.css +11 -2
- package/styles/highcontrast-light-lite.css +9 -0
- package/styles/highcontrast-light.css +9 -0
- package/styles/highcontrast-lite.css +9 -0
- package/styles/highcontrast.css +9 -0
- package/styles/material-dark-lite.css +9 -0
- package/styles/material-dark.css +9 -0
- package/styles/material-lite.css +9 -0
- package/styles/material.css +9 -0
- package/styles/material3-dark-lite.css +9 -0
- package/styles/material3-dark.css +9 -0
- package/styles/material3-lite.css +9 -0
- package/styles/material3.css +9 -0
- package/styles/ribbon/_fluent2-definition.scss +2 -2
- package/styles/ribbon/_layout.scss +7 -0
- package/styles/ribbon/bds.css +9 -0
- package/styles/ribbon/bootstrap-dark.css +9 -0
- package/styles/ribbon/bootstrap.css +9 -0
- package/styles/ribbon/bootstrap4.css +17 -0
- package/styles/ribbon/bootstrap5-dark.css +9 -0
- package/styles/ribbon/bootstrap5.3.css +9 -0
- package/styles/ribbon/bootstrap5.css +9 -0
- package/styles/ribbon/fabric-dark.css +9 -0
- package/styles/ribbon/fabric.css +9 -0
- package/styles/ribbon/fluent-dark.css +9 -0
- package/styles/ribbon/fluent.css +9 -0
- package/styles/ribbon/fluent2.css +11 -2
- package/styles/ribbon/highcontrast-light.css +9 -0
- package/styles/ribbon/highcontrast.css +9 -0
- package/styles/ribbon/material-dark.css +9 -0
- package/styles/ribbon/material.css +9 -0
- package/styles/ribbon/material3-dark.css +9 -0
- package/styles/ribbon/material3.css +9 -0
- package/styles/ribbon/tailwind-dark.css +9 -0
- package/styles/ribbon/tailwind.css +9 -0
- package/styles/ribbon/tailwind3.css +9 -0
- package/styles/tailwind-dark-lite.css +9 -0
- package/styles/tailwind-dark.css +9 -0
- package/styles/tailwind-lite.css +9 -0
- package/styles/tailwind.css +9 -0
- package/styles/tailwind3-lite.css +9 -0
- package/styles/tailwind3.css +9 -0
- package/dist/ts/index.d.ts +0 -1
- package/dist/ts/index.ts +0 -3
- package/dist/ts/ribbon/base/constant.d.ts +0 -201
- package/dist/ts/ribbon/base/constant.ts +0 -204
- package/dist/ts/ribbon/base/index.d.ts +0 -8
- package/dist/ts/ribbon/base/index.ts +0 -8
- package/dist/ts/ribbon/base/interface.d.ts +0 -398
- package/dist/ts/ribbon/base/interface.ts +0 -424
- package/dist/ts/ribbon/base/ribbon-model.d.ts +0 -195
- package/dist/ts/ribbon/base/ribbon.d.ts +0 -608
- package/dist/ts/ribbon/base/ribbon.ts +0 -4896
- package/dist/ts/ribbon/base/utils.d.ts +0 -139
- package/dist/ts/ribbon/base/utils.ts +0 -341
- package/dist/ts/ribbon/index.d.ts +0 -7
- package/dist/ts/ribbon/index.ts +0 -7
- package/dist/ts/ribbon/items/index.d.ts +0 -8
- package/dist/ts/ribbon/items/index.ts +0 -8
- package/dist/ts/ribbon/items/ribbon-button.d.ts +0 -64
- package/dist/ts/ribbon/items/ribbon-button.ts +0 -160
- package/dist/ts/ribbon/items/ribbon-checkbox.d.ts +0 -55
- package/dist/ts/ribbon/items/ribbon-checkbox.ts +0 -130
- package/dist/ts/ribbon/items/ribbon-colorpicker.d.ts +0 -72
- package/dist/ts/ribbon/items/ribbon-colorpicker.ts +0 -228
- package/dist/ts/ribbon/items/ribbon-combobox.d.ts +0 -77
- package/dist/ts/ribbon/items/ribbon-combobox.ts +0 -201
- package/dist/ts/ribbon/items/ribbon-dropdown.d.ts +0 -128
- package/dist/ts/ribbon/items/ribbon-dropdown.ts +0 -400
- package/dist/ts/ribbon/items/ribbon-gallery.d.ts +0 -97
- package/dist/ts/ribbon/items/ribbon-gallery.ts +0 -773
- package/dist/ts/ribbon/items/ribbon-groupbutton.d.ts +0 -73
- package/dist/ts/ribbon/items/ribbon-groupbutton.ts +0 -531
- package/dist/ts/ribbon/items/ribbon-splitbutton.d.ts +0 -85
- package/dist/ts/ribbon/items/ribbon-splitbutton.ts +0 -257
- package/dist/ts/ribbon/models/index.d.ts +0 -42
- package/dist/ts/ribbon/models/index.ts +0 -44
- package/dist/ts/ribbon/models/ribbon-back-button-model.d.ts +0 -29
- package/dist/ts/ribbon/models/ribbon-back-button.d.ts +0 -24
- package/dist/ts/ribbon/models/ribbon-back-button.ts +0 -31
- package/dist/ts/ribbon/models/ribbon-back-stage-settings-model.d.ts +0 -83
- package/dist/ts/ribbon/models/ribbon-back-stage-settings.d.ts +0 -81
- package/dist/ts/ribbon/models/ribbon-back-stage-settings.ts +0 -109
- package/dist/ts/ribbon/models/ribbon-backstage-item-model.d.ts +0 -69
- package/dist/ts/ribbon/models/ribbon-backstage-item.d.ts +0 -80
- package/dist/ts/ribbon/models/ribbon-backstage-item.ts +0 -102
- package/dist/ts/ribbon/models/ribbon-button-settings-model.d.ts +0 -64
- package/dist/ts/ribbon/models/ribbon-button-settings.d.ts +0 -63
- package/dist/ts/ribbon/models/ribbon-button-settings.ts +0 -80
- package/dist/ts/ribbon/models/ribbon-checkbox-settings-model.d.ts +0 -57
- package/dist/ts/ribbon/models/ribbon-checkbox-settings.d.ts +0 -58
- package/dist/ts/ribbon/models/ribbon-checkbox-settings.ts +0 -74
- package/dist/ts/ribbon/models/ribbon-collection-model.d.ts +0 -30
- package/dist/ts/ribbon/models/ribbon-collection.d.ts +0 -33
- package/dist/ts/ribbon/models/ribbon-collection.ts +0 -45
- package/dist/ts/ribbon/models/ribbon-colorpicker-settings-model.d.ts +0 -137
- package/dist/ts/ribbon/models/ribbon-colorpicker-settings.d.ts +0 -129
- package/dist/ts/ribbon/models/ribbon-colorpicker-settings.ts +0 -165
- package/dist/ts/ribbon/models/ribbon-combobox-settings-model.d.ts +0 -275
- package/dist/ts/ribbon/models/ribbon-combobox-settings.d.ts +0 -257
- package/dist/ts/ribbon/models/ribbon-combobox-settings.ts +0 -313
- package/dist/ts/ribbon/models/ribbon-contextual-tab-settings-model.d.ts +0 -30
- package/dist/ts/ribbon/models/ribbon-contextual-tab-settings.d.ts +0 -33
- package/dist/ts/ribbon/models/ribbon-contextual-tab-settings.ts +0 -44
- package/dist/ts/ribbon/models/ribbon-dropdown-settings-model.d.ts +0 -114
- package/dist/ts/ribbon/models/ribbon-dropdown-settings.d.ts +0 -107
- package/dist/ts/ribbon/models/ribbon-dropdown-settings.ts +0 -139
- package/dist/ts/ribbon/models/ribbon-file-menu-settings-model.d.ts +0 -123
- package/dist/ts/ribbon/models/ribbon-file-menu-settings.d.ts +0 -173
- package/dist/ts/ribbon/models/ribbon-file-menu-settings.ts +0 -220
- package/dist/ts/ribbon/models/ribbon-gallery-group-model.d.ts +0 -44
- package/dist/ts/ribbon/models/ribbon-gallery-group.d.ts +0 -38
- package/dist/ts/ribbon/models/ribbon-gallery-group.ts +0 -50
- package/dist/ts/ribbon/models/ribbon-gallery-item-model.d.ts +0 -43
- package/dist/ts/ribbon/models/ribbon-gallery-item.d.ts +0 -38
- package/dist/ts/ribbon/models/ribbon-gallery-item.ts +0 -47
- package/dist/ts/ribbon/models/ribbon-gallery-settings-model.d.ts +0 -108
- package/dist/ts/ribbon/models/ribbon-gallery-settings.d.ts +0 -95
- package/dist/ts/ribbon/models/ribbon-gallery-settings.ts +0 -123
- package/dist/ts/ribbon/models/ribbon-group-button-item-model.d.ts +0 -64
- package/dist/ts/ribbon/models/ribbon-group-button-item.d.ts +0 -65
- package/dist/ts/ribbon/models/ribbon-group-button-item.ts +0 -85
- package/dist/ts/ribbon/models/ribbon-group-button-settings-model.d.ts +0 -32
- package/dist/ts/ribbon/models/ribbon-group-button-settings.d.ts +0 -29
- package/dist/ts/ribbon/models/ribbon-group-button-settings.ts +0 -38
- package/dist/ts/ribbon/models/ribbon-group-model.d.ts +0 -112
- package/dist/ts/ribbon/models/ribbon-group.d.ts +0 -105
- package/dist/ts/ribbon/models/ribbon-group.ts +0 -138
- package/dist/ts/ribbon/models/ribbon-item-model.d.ts +0 -144
- package/dist/ts/ribbon/models/ribbon-item.d.ts +0 -141
- package/dist/ts/ribbon/models/ribbon-item.ts +0 -190
- package/dist/ts/ribbon/models/ribbon-splitbutton-settings-model.d.ts +0 -114
- package/dist/ts/ribbon/models/ribbon-splitbutton-settings.d.ts +0 -107
- package/dist/ts/ribbon/models/ribbon-splitbutton-settings.ts +0 -140
- package/dist/ts/ribbon/models/ribbon-tab-model.d.ts +0 -44
- package/dist/ts/ribbon/models/ribbon-tab.d.ts +0 -45
- package/dist/ts/ribbon/models/ribbon-tab.ts +0 -61
- package/dist/ts/ribbon/models/ribbon-tooltip-model.d.ts +0 -43
- package/dist/ts/ribbon/models/ribbon-tooltip.d.ts +0 -36
- package/dist/ts/ribbon/models/ribbon-tooltip.ts +0 -47
- package/dist/ts/ribbon/modules/index.d.ts +0 -4
- package/dist/ts/ribbon/modules/index.ts +0 -5
- package/dist/ts/ribbon/modules/ribbon-backstage.d.ts +0 -117
- package/dist/ts/ribbon/modules/ribbon-backstage.ts +0 -620
- package/dist/ts/ribbon/modules/ribbon-contextualtab.d.ts +0 -27
- package/dist/ts/ribbon/modules/ribbon-contextualtab.ts +0 -93
- package/dist/ts/ribbon/modules/ribbon-filemenu.d.ts +0 -96
- package/dist/ts/ribbon/modules/ribbon-filemenu.ts +0 -353
- package/dist/ts/ribbon/modules/ribbon-keytip.d.ts +0 -56
- package/dist/ts/ribbon/modules/ribbon-keytip.ts +0 -580
|
@@ -1,275 +0,0 @@
|
|
|
1
|
-
import { ChildProperty, Event, EmitType, Property, Complex } from '@syncfusion/ej2-base';import { BeforeOpenEventArgs, ChangeEventArgs, FieldSettings, FieldSettingsModel, FilteringEventArgs, FilterType, PopupEventArgs } from '@syncfusion/ej2-dropdowns';import { SelectEventArgs, SortOrder } from '@syncfusion/ej2-lists';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Interface for a class RibbonComboBoxSettings
|
|
5
|
-
*/
|
|
6
|
-
export interface RibbonComboBoxSettingsModel {
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Specifies whether to show the filter bar (search box) of the combobox.
|
|
10
|
-
* The filter action retrieves matched items through the filtering event based on the characters typed in the search TextBox.
|
|
11
|
-
* If no match is found, the value of the noRecordsTemplate property will be displayed.
|
|
12
|
-
*
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
allowFiltering?: boolean;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Specifies whether to suggest a first matched item in input when searching.
|
|
19
|
-
* No action happens when no matches found.
|
|
20
|
-
*
|
|
21
|
-
* @default true
|
|
22
|
-
*/
|
|
23
|
-
autofill?: boolean;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Defines the CSS class to customize the appearance of the combobox.
|
|
27
|
-
*
|
|
28
|
-
* @default ''
|
|
29
|
-
*/
|
|
30
|
-
cssClass?: string;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Specifies the label text for the overflow item.
|
|
34
|
-
*
|
|
35
|
-
* @default ''
|
|
36
|
-
*/
|
|
37
|
-
label?: string;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Defines the list of items to shown in the combobox.
|
|
41
|
-
*
|
|
42
|
-
* @default []
|
|
43
|
-
*/
|
|
44
|
-
dataSource?: { [key: string]: Object }[] | string[] | number[] | boolean[];
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Specifies the mapping for the columns of the data table bind to the combobox.
|
|
48
|
-
* * text - Maps the text column from data table for each list item.
|
|
49
|
-
* * value - Maps the value column from data table for each list item.
|
|
50
|
-
* * iconCss - Maps the icon class column from data table for each list item.
|
|
51
|
-
* * groupBy - Group the list items with it's related items by mapping groupBy field.
|
|
52
|
-
*
|
|
53
|
-
* @default {text: null, value: null, iconCss: null, groupBy: null}
|
|
54
|
-
*/
|
|
55
|
-
fields?: FieldSettingsModel;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Specifies filter type to be considered on search action.
|
|
59
|
-
* The `FilterType` and its supported data types are
|
|
60
|
-
*
|
|
61
|
-
* <table>
|
|
62
|
-
* <tr>
|
|
63
|
-
* <td colSpan=1 rowSpan=1>
|
|
64
|
-
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
65
|
-
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
66
|
-
* Supported Types<br/></td></tr>
|
|
67
|
-
* <tr>
|
|
68
|
-
* <td colSpan=1 rowSpan=1>
|
|
69
|
-
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
70
|
-
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
71
|
-
* String<br/></td></tr>
|
|
72
|
-
* <tr>
|
|
73
|
-
* <td colSpan=1 rowSpan=1>
|
|
74
|
-
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
75
|
-
* Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
76
|
-
* <br/>String<br/></td></tr>
|
|
77
|
-
* <tr>
|
|
78
|
-
* <td colSpan=1 rowSpan=1>
|
|
79
|
-
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
80
|
-
* Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
81
|
-
* <br/>String<br/></td></tr>
|
|
82
|
-
* </table>
|
|
83
|
-
*
|
|
84
|
-
* @default Contains
|
|
85
|
-
*/
|
|
86
|
-
filterType?: FilterType;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Specifies the template content for the footer container of the popup list.
|
|
90
|
-
*
|
|
91
|
-
* @default null
|
|
92
|
-
* @angularType string | object
|
|
93
|
-
* @reactType string | function | JSX.Element
|
|
94
|
-
* @vueType string | function
|
|
95
|
-
* @aspType string
|
|
96
|
-
*/
|
|
97
|
-
footerTemplate?: string | Function;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Specifies the template content for the group headers present in the popup list.
|
|
101
|
-
*
|
|
102
|
-
* @default null
|
|
103
|
-
* @angularType string | object
|
|
104
|
-
* @reactType string | function | JSX.Element
|
|
105
|
-
* @vueType string | function
|
|
106
|
-
* @aspType string
|
|
107
|
-
*/
|
|
108
|
-
groupTemplate?: string | Function;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Specifies the template content for the header container of the popup list.
|
|
112
|
-
*
|
|
113
|
-
* @default null
|
|
114
|
-
* @angularType string | object
|
|
115
|
-
* @reactType string | function | JSX.Element
|
|
116
|
-
* @vueType string | function
|
|
117
|
-
* @aspType string
|
|
118
|
-
*/
|
|
119
|
-
headerTemplate?: string | Function;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Specifies the index of the selected item in the combobox.
|
|
123
|
-
*
|
|
124
|
-
* @default null
|
|
125
|
-
*/
|
|
126
|
-
index?: number;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Specifies the template content for each list item present in the popup.
|
|
130
|
-
*
|
|
131
|
-
* @default null
|
|
132
|
-
* @angularType string | object
|
|
133
|
-
* @reactType string | function | JSX.Element
|
|
134
|
-
* @vueType string | function
|
|
135
|
-
* @aspType string
|
|
136
|
-
*/
|
|
137
|
-
itemTemplate?: string | Function;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Specifies the template content for the popup list of combobox when no data is available.
|
|
141
|
-
*
|
|
142
|
-
* @default 'No records found'
|
|
143
|
-
* @angularType string | object
|
|
144
|
-
* @reactType string | function | JSX.Element
|
|
145
|
-
* @vueType string | function
|
|
146
|
-
* @aspType string
|
|
147
|
-
*/
|
|
148
|
-
noRecordsTemplate?: string | Function;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Specifies a short hint that describes the expected value of the combobox.
|
|
152
|
-
*
|
|
153
|
-
* @default null
|
|
154
|
-
*/
|
|
155
|
-
placeholder?: string;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Specifies the height of the popup list.
|
|
159
|
-
*
|
|
160
|
-
* @default '300px'
|
|
161
|
-
* @aspType string
|
|
162
|
-
*/
|
|
163
|
-
popupHeight?: string | number;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Specifies the width of the popup list.
|
|
167
|
-
* By default, the popup width sets based on the width of the combobox.
|
|
168
|
-
*
|
|
169
|
-
* @default '100%'
|
|
170
|
-
* @aspType string
|
|
171
|
-
*/
|
|
172
|
-
popupWidth?: string | number;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Specifies whether to show or hide the clear button.
|
|
176
|
-
* When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.
|
|
177
|
-
*
|
|
178
|
-
* @default true
|
|
179
|
-
*/
|
|
180
|
-
showClearButton?: boolean;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Specifies the order in which the data source needs to be sorted. The available type of sort orders are
|
|
184
|
-
* * `None` - The data source is not sorted.
|
|
185
|
-
* * `Ascending` - The data source is sorted in ascending order.
|
|
186
|
-
* * `Descending` - The data source is sorted in descending order.
|
|
187
|
-
*
|
|
188
|
-
* @default null
|
|
189
|
-
* @asptype object
|
|
190
|
-
* @aspjsonconverterignore
|
|
191
|
-
*/
|
|
192
|
-
sortOrder?: SortOrder;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Defines the display text of the selected item in the combobox.
|
|
196
|
-
*
|
|
197
|
-
* @default null
|
|
198
|
-
*
|
|
199
|
-
*/
|
|
200
|
-
text?: string;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Defines the value of the selected item in the combobox.
|
|
204
|
-
*
|
|
205
|
-
* @default null
|
|
206
|
-
* @isGenericType true
|
|
207
|
-
*/
|
|
208
|
-
value?: number | string | boolean;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Specifies the width of the combobox.
|
|
212
|
-
* By default, the combobox width sets based on the width of its parent container.
|
|
213
|
-
*
|
|
214
|
-
* @default '150px'
|
|
215
|
-
* @aspType string
|
|
216
|
-
*/
|
|
217
|
-
width?: string | number;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* Specifies additional HTML attributes to be applied to the combobox.
|
|
221
|
-
*
|
|
222
|
-
* @default {}
|
|
223
|
-
*/
|
|
224
|
-
htmlAttributes?: { [key: string]: string };
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Event triggers before opening the popup.
|
|
228
|
-
*
|
|
229
|
-
* @event beforeOpen
|
|
230
|
-
*/
|
|
231
|
-
beforeOpen?: EmitType<BeforeOpenEventArgs>;
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Event triggers when an item in a popup is selected or when the model value is changed by user.
|
|
235
|
-
*
|
|
236
|
-
* @event change
|
|
237
|
-
*/
|
|
238
|
-
change?: EmitType<ChangeEventArgs>;
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Event triggers when the popup is closed.
|
|
242
|
-
*
|
|
243
|
-
* @event close
|
|
244
|
-
*/
|
|
245
|
-
close?: EmitType<PopupEventArgs>;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Event triggers once the combobox is created.
|
|
249
|
-
*
|
|
250
|
-
* @event created
|
|
251
|
-
*/
|
|
252
|
-
created?: EmitType<Event>;
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Event triggers on typing a character in the combobox.
|
|
256
|
-
*
|
|
257
|
-
* @event filtering
|
|
258
|
-
*/
|
|
259
|
-
filtering?: EmitType<FilteringEventArgs>;
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Event triggers when the popup is opened
|
|
263
|
-
*
|
|
264
|
-
* @event open
|
|
265
|
-
*/
|
|
266
|
-
open?: EmitType<PopupEventArgs>;
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* Event triggers when an item in the popup is selected.
|
|
270
|
-
*
|
|
271
|
-
* @event select
|
|
272
|
-
*/
|
|
273
|
-
select?: EmitType<SelectEventArgs>;
|
|
274
|
-
|
|
275
|
-
}
|
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
import { ChildProperty, EmitType } from '@syncfusion/ej2-base';
|
|
2
|
-
import { BeforeOpenEventArgs, ChangeEventArgs, FieldSettingsModel, FilteringEventArgs, FilterType, PopupEventArgs } from '@syncfusion/ej2-dropdowns';
|
|
3
|
-
import { SelectEventArgs, SortOrder } from '@syncfusion/ej2-lists';
|
|
4
|
-
/**
|
|
5
|
-
* Defines the ribbon combobox item.
|
|
6
|
-
*/
|
|
7
|
-
export declare class RibbonComboBoxSettings extends ChildProperty<RibbonComboBoxSettings> {
|
|
8
|
-
/**
|
|
9
|
-
* Specifies whether to show the filter bar (search box) of the combobox.
|
|
10
|
-
* The filter action retrieves matched items through the filtering event based on the characters typed in the search TextBox.
|
|
11
|
-
* If no match is found, the value of the noRecordsTemplate property will be displayed.
|
|
12
|
-
*
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
allowFiltering: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Specifies whether to suggest a first matched item in input when searching.
|
|
18
|
-
* No action happens when no matches found.
|
|
19
|
-
*
|
|
20
|
-
* @default true
|
|
21
|
-
*/
|
|
22
|
-
autofill: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Defines the CSS class to customize the appearance of the combobox.
|
|
25
|
-
*
|
|
26
|
-
* @default ''
|
|
27
|
-
*/
|
|
28
|
-
cssClass: string;
|
|
29
|
-
/**
|
|
30
|
-
* Specifies the label text for the overflow item.
|
|
31
|
-
*
|
|
32
|
-
* @default ''
|
|
33
|
-
*/
|
|
34
|
-
label: string;
|
|
35
|
-
/**
|
|
36
|
-
* Defines the list of items to shown in the combobox.
|
|
37
|
-
*
|
|
38
|
-
* @default []
|
|
39
|
-
*/
|
|
40
|
-
dataSource: {
|
|
41
|
-
[key: string]: Object;
|
|
42
|
-
}[] | string[] | number[] | boolean[];
|
|
43
|
-
/**
|
|
44
|
-
* Specifies the mapping for the columns of the data table bind to the combobox.
|
|
45
|
-
* * text - Maps the text column from data table for each list item.
|
|
46
|
-
* * value - Maps the value column from data table for each list item.
|
|
47
|
-
* * iconCss - Maps the icon class column from data table for each list item.
|
|
48
|
-
* * groupBy - Group the list items with it's related items by mapping groupBy field.
|
|
49
|
-
*
|
|
50
|
-
* @default {text: null, value: null, iconCss: null, groupBy: null}
|
|
51
|
-
*/
|
|
52
|
-
fields: FieldSettingsModel;
|
|
53
|
-
/**
|
|
54
|
-
* Specifies filter type to be considered on search action.
|
|
55
|
-
* The `FilterType` and its supported data types are
|
|
56
|
-
*
|
|
57
|
-
* <table>
|
|
58
|
-
* <tr>
|
|
59
|
-
* <td colSpan=1 rowSpan=1>
|
|
60
|
-
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
61
|
-
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
62
|
-
* Supported Types<br/></td></tr>
|
|
63
|
-
* <tr>
|
|
64
|
-
* <td colSpan=1 rowSpan=1>
|
|
65
|
-
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
66
|
-
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
67
|
-
* String<br/></td></tr>
|
|
68
|
-
* <tr>
|
|
69
|
-
* <td colSpan=1 rowSpan=1>
|
|
70
|
-
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
71
|
-
* Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
72
|
-
* <br/>String<br/></td></tr>
|
|
73
|
-
* <tr>
|
|
74
|
-
* <td colSpan=1 rowSpan=1>
|
|
75
|
-
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
76
|
-
* Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
77
|
-
* <br/>String<br/></td></tr>
|
|
78
|
-
* </table>
|
|
79
|
-
*
|
|
80
|
-
* @default Contains
|
|
81
|
-
*/
|
|
82
|
-
filterType: FilterType;
|
|
83
|
-
/**
|
|
84
|
-
* Specifies the template content for the footer container of the popup list.
|
|
85
|
-
*
|
|
86
|
-
* @default null
|
|
87
|
-
* @angularType string | object
|
|
88
|
-
* @reactType string | function | JSX.Element
|
|
89
|
-
* @vueType string | function
|
|
90
|
-
* @aspType string
|
|
91
|
-
*/
|
|
92
|
-
footerTemplate: string | Function;
|
|
93
|
-
/**
|
|
94
|
-
* Specifies the template content for the group headers present in the popup list.
|
|
95
|
-
*
|
|
96
|
-
* @default null
|
|
97
|
-
* @angularType string | object
|
|
98
|
-
* @reactType string | function | JSX.Element
|
|
99
|
-
* @vueType string | function
|
|
100
|
-
* @aspType string
|
|
101
|
-
*/
|
|
102
|
-
groupTemplate: string | Function;
|
|
103
|
-
/**
|
|
104
|
-
* Specifies the template content for the header container of the popup list.
|
|
105
|
-
*
|
|
106
|
-
* @default null
|
|
107
|
-
* @angularType string | object
|
|
108
|
-
* @reactType string | function | JSX.Element
|
|
109
|
-
* @vueType string | function
|
|
110
|
-
* @aspType string
|
|
111
|
-
*/
|
|
112
|
-
headerTemplate: string | Function;
|
|
113
|
-
/**
|
|
114
|
-
* Specifies the index of the selected item in the combobox.
|
|
115
|
-
*
|
|
116
|
-
* @default null
|
|
117
|
-
*/
|
|
118
|
-
index: number;
|
|
119
|
-
/**
|
|
120
|
-
* Specifies the template content for each list item present in the popup.
|
|
121
|
-
*
|
|
122
|
-
* @default null
|
|
123
|
-
* @angularType string | object
|
|
124
|
-
* @reactType string | function | JSX.Element
|
|
125
|
-
* @vueType string | function
|
|
126
|
-
* @aspType string
|
|
127
|
-
*/
|
|
128
|
-
itemTemplate: string | Function;
|
|
129
|
-
/**
|
|
130
|
-
* Specifies the template content for the popup list of combobox when no data is available.
|
|
131
|
-
*
|
|
132
|
-
* @default 'No records found'
|
|
133
|
-
* @angularType string | object
|
|
134
|
-
* @reactType string | function | JSX.Element
|
|
135
|
-
* @vueType string | function
|
|
136
|
-
* @aspType string
|
|
137
|
-
*/
|
|
138
|
-
noRecordsTemplate: string | Function;
|
|
139
|
-
/**
|
|
140
|
-
* Specifies a short hint that describes the expected value of the combobox.
|
|
141
|
-
*
|
|
142
|
-
* @default null
|
|
143
|
-
*/
|
|
144
|
-
placeholder: string;
|
|
145
|
-
/**
|
|
146
|
-
* Specifies the height of the popup list.
|
|
147
|
-
*
|
|
148
|
-
* @default '300px'
|
|
149
|
-
* @aspType string
|
|
150
|
-
*/
|
|
151
|
-
popupHeight: string | number;
|
|
152
|
-
/**
|
|
153
|
-
* Specifies the width of the popup list.
|
|
154
|
-
* By default, the popup width sets based on the width of the combobox.
|
|
155
|
-
*
|
|
156
|
-
* @default '100%'
|
|
157
|
-
* @aspType string
|
|
158
|
-
*/
|
|
159
|
-
popupWidth: string | number;
|
|
160
|
-
/**
|
|
161
|
-
* Specifies whether to show or hide the clear button.
|
|
162
|
-
* When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.
|
|
163
|
-
*
|
|
164
|
-
* @default true
|
|
165
|
-
*/
|
|
166
|
-
showClearButton: boolean;
|
|
167
|
-
/**
|
|
168
|
-
* Specifies the order in which the data source needs to be sorted. The available type of sort orders are
|
|
169
|
-
* * `None` - The data source is not sorted.
|
|
170
|
-
* * `Ascending` - The data source is sorted in ascending order.
|
|
171
|
-
* * `Descending` - The data source is sorted in descending order.
|
|
172
|
-
*
|
|
173
|
-
* @default null
|
|
174
|
-
* @asptype object
|
|
175
|
-
* @aspjsonconverterignore
|
|
176
|
-
*/
|
|
177
|
-
sortOrder: SortOrder;
|
|
178
|
-
/**
|
|
179
|
-
* Defines the display text of the selected item in the combobox.
|
|
180
|
-
*
|
|
181
|
-
* @default null
|
|
182
|
-
*
|
|
183
|
-
*/
|
|
184
|
-
text: string;
|
|
185
|
-
/**
|
|
186
|
-
* Defines the value of the selected item in the combobox.
|
|
187
|
-
*
|
|
188
|
-
* @default null
|
|
189
|
-
* @isGenericType true
|
|
190
|
-
*/
|
|
191
|
-
value: number | string | boolean;
|
|
192
|
-
/**
|
|
193
|
-
* Specifies the width of the combobox.
|
|
194
|
-
* By default, the combobox width sets based on the width of its parent container.
|
|
195
|
-
*
|
|
196
|
-
* @default '150px'
|
|
197
|
-
* @aspType string
|
|
198
|
-
*/
|
|
199
|
-
width: string | number;
|
|
200
|
-
/**
|
|
201
|
-
* Specifies additional HTML attributes to be applied to the combobox.
|
|
202
|
-
*
|
|
203
|
-
* @default {}
|
|
204
|
-
*/
|
|
205
|
-
htmlAttributes: {
|
|
206
|
-
[key: string]: string;
|
|
207
|
-
};
|
|
208
|
-
/**
|
|
209
|
-
* Event triggers before opening the popup.
|
|
210
|
-
*
|
|
211
|
-
* @event beforeOpen
|
|
212
|
-
*/
|
|
213
|
-
beforeOpen: EmitType<BeforeOpenEventArgs>;
|
|
214
|
-
/**
|
|
215
|
-
* Event triggers when an item in a popup is selected or when the model value is changed by user.
|
|
216
|
-
*
|
|
217
|
-
* @event change
|
|
218
|
-
*/
|
|
219
|
-
change: EmitType<ChangeEventArgs>;
|
|
220
|
-
/**
|
|
221
|
-
* Event triggers when the popup is closed.
|
|
222
|
-
*
|
|
223
|
-
* @event close
|
|
224
|
-
*/
|
|
225
|
-
close: EmitType<PopupEventArgs>;
|
|
226
|
-
/**
|
|
227
|
-
* Event triggers once the combobox is created.
|
|
228
|
-
*
|
|
229
|
-
* @event created
|
|
230
|
-
*/
|
|
231
|
-
created: EmitType<Event>;
|
|
232
|
-
/**
|
|
233
|
-
* Event triggers on typing a character in the combobox.
|
|
234
|
-
*
|
|
235
|
-
* @event filtering
|
|
236
|
-
*/
|
|
237
|
-
filtering: EmitType<FilteringEventArgs>;
|
|
238
|
-
/**
|
|
239
|
-
* Event triggers when the popup is opened
|
|
240
|
-
*
|
|
241
|
-
* @event open
|
|
242
|
-
*/
|
|
243
|
-
open: EmitType<PopupEventArgs>;
|
|
244
|
-
/**
|
|
245
|
-
* Event triggers when an item in the popup is selected.
|
|
246
|
-
*
|
|
247
|
-
* @event select
|
|
248
|
-
*/
|
|
249
|
-
select: EmitType<SelectEventArgs>;
|
|
250
|
-
/**
|
|
251
|
-
* @param {Object} prop - Gets the property of combobox.
|
|
252
|
-
* @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
|
|
253
|
-
* @returns {void}
|
|
254
|
-
* @private
|
|
255
|
-
*/
|
|
256
|
-
setProperties(prop: Object, muteOnChange: boolean): void;
|
|
257
|
-
}
|