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