@syncfusion/ej2-navigations 31.1.17 → 31.1.20
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-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +1 -0
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +1 -0
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +14 -67
- package/src/treeview/treeview.js +1 -0
- package/styles/bds-lite.css +7 -6
- package/styles/bds.css +7 -6
- package/styles/bootstrap-dark-lite.css +6 -3
- package/styles/bootstrap-dark.css +6 -3
- package/styles/bootstrap-lite.css +6 -3
- package/styles/bootstrap.css +6 -3
- package/styles/bootstrap4-lite.css +13 -9
- package/styles/bootstrap4.css +24 -13
- package/styles/bootstrap5-dark-lite.css +6 -5
- package/styles/bootstrap5-dark.css +16 -7
- package/styles/bootstrap5-lite.css +6 -5
- package/styles/bootstrap5.3-lite.css +23 -10
- package/styles/bootstrap5.3.css +34 -13
- package/styles/bootstrap5.css +16 -7
- package/styles/fabric-dark-lite.css +6 -3
- package/styles/fabric-dark.css +6 -3
- package/styles/fabric-lite.css +6 -3
- package/styles/fabric.css +6 -3
- package/styles/fluent-dark-lite.css +16 -12
- package/styles/fluent-dark.css +26 -15
- package/styles/fluent-lite.css +16 -12
- package/styles/fluent.css +26 -15
- package/styles/fluent2-lite.css +6 -4
- package/styles/fluent2.css +6 -4
- package/styles/highcontrast-light-lite.css +4 -4
- package/styles/highcontrast-light.css +4 -4
- package/styles/highcontrast-lite.css +14 -10
- package/styles/highcontrast.css +26 -13
- package/styles/material-dark-lite.css +19 -13
- package/styles/material-dark.css +39 -17
- package/styles/material-lite.css +19 -10
- package/styles/material.css +36 -13
- package/styles/material3-dark-lite.css +4 -4
- package/styles/material3-dark.css +5 -4
- package/styles/material3-lite.css +4 -4
- package/styles/material3.css +5 -4
- package/styles/menu/_bootstrap-dark-definition.scss +1 -0
- package/styles/menu/_bootstrap-definition.scss +1 -0
- package/styles/menu/_fluent-definition.scss +1 -1
- package/styles/menu/_fluent2-definition.scss +1 -1
- package/styles/menu/_layout.scss +7 -1
- package/styles/menu/bds.css +1 -0
- package/styles/menu/bootstrap-dark.css +1 -0
- package/styles/menu/bootstrap.css +1 -0
- package/styles/menu/bootstrap4.css +1 -0
- package/styles/menu/bootstrap5-dark.css +1 -0
- package/styles/menu/bootstrap5.3.css +1 -0
- package/styles/menu/bootstrap5.css +1 -0
- package/styles/menu/fabric-dark.css +1 -0
- package/styles/menu/fabric.css +1 -0
- package/styles/menu/fluent-dark.css +2 -1
- package/styles/menu/fluent.css +2 -1
- package/styles/menu/fluent2.css +2 -1
- package/styles/menu/highcontrast-light.css +1 -0
- package/styles/menu/highcontrast.css +1 -0
- package/styles/menu/material-dark.css +1 -0
- package/styles/menu/material.css +1 -0
- package/styles/menu/material3-dark.css +1 -0
- package/styles/menu/material3.css +1 -0
- package/styles/menu/tailwind-dark.css +1 -0
- package/styles/menu/tailwind.css +1 -0
- package/styles/menu/tailwind3.css +1 -0
- package/styles/tailwind-dark-lite.css +6 -5
- package/styles/tailwind-dark.css +6 -5
- package/styles/tailwind-lite.css +6 -5
- package/styles/tailwind.css +6 -5
- package/styles/tailwind3-lite.css +11 -5
- package/styles/tailwind3.css +18 -5
- package/styles/treeview/_bds-definition.scss +1 -1
- package/styles/treeview/_bigger.scss +91 -0
- package/styles/treeview/_bootstrap4-definition.scss +7 -7
- package/styles/treeview/_bootstrap5-definition.scss +2 -2
- package/styles/treeview/_bootstrap5.3-definition.scss +8 -8
- package/styles/treeview/_fluent-definition.scss +6 -6
- package/styles/treeview/_highcontrast-definition.scss +6 -6
- package/styles/treeview/_layout.scss +67 -16
- package/styles/treeview/_material-dark-definition.scss +7 -7
- package/styles/treeview/_material-definition.scss +6 -6
- package/styles/treeview/_tailwind3-definition.scss +1 -1
- package/styles/treeview/_theme.scss +7 -2
- package/styles/treeview/bds.css +6 -6
- package/styles/treeview/bootstrap-dark.css +5 -3
- package/styles/treeview/bootstrap.css +5 -3
- package/styles/treeview/bootstrap4.css +23 -13
- package/styles/treeview/bootstrap5-dark.css +15 -7
- package/styles/treeview/bootstrap5.3.css +33 -13
- package/styles/treeview/bootstrap5.css +15 -7
- package/styles/treeview/fabric-dark.css +5 -3
- package/styles/treeview/fabric.css +5 -3
- package/styles/treeview/fluent-dark.css +24 -14
- package/styles/treeview/fluent.css +24 -14
- package/styles/treeview/fluent2.css +4 -3
- package/styles/treeview/highcontrast-light.css +3 -4
- package/styles/treeview/highcontrast.css +25 -13
- package/styles/treeview/material-dark.css +38 -17
- package/styles/treeview/material.css +35 -13
- package/styles/treeview/material3-dark.css +4 -4
- package/styles/treeview/material3.css +4 -4
- package/styles/treeview/tailwind-dark.css +5 -5
- package/styles/treeview/tailwind.css +5 -5
- package/styles/treeview/tailwind3.css +17 -5
- package/dist/ts/accordion/accordion-model.d.ts +0 -285
- package/dist/ts/accordion/accordion.d.ts +0 -458
- package/dist/ts/accordion/accordion.ts +0 -1580
- package/dist/ts/accordion/index.d.ts +0 -5
- package/dist/ts/accordion/index.ts +0 -5
- package/dist/ts/appbar/appbar-model.d.ts +0 -76
- package/dist/ts/appbar/appbar.d.ts +0 -115
- package/dist/ts/appbar/appbar.ts +0 -281
- package/dist/ts/appbar/index.d.ts +0 -3
- package/dist/ts/appbar/index.ts +0 -3
- package/dist/ts/breadcrumb/breadcrumb-model.d.ts +0 -170
- package/dist/ts/breadcrumb/breadcrumb.d.ts +0 -297
- package/dist/ts/breadcrumb/breadcrumb.ts +0 -959
- package/dist/ts/breadcrumb/index.d.ts +0 -5
- package/dist/ts/breadcrumb/index.ts +0 -5
- package/dist/ts/carousel/carousel-model.d.ts +0 -282
- package/dist/ts/carousel/carousel.d.ts +0 -439
- package/dist/ts/carousel/carousel.ts +0 -1633
- package/dist/ts/carousel/index.d.ts +0 -3
- package/dist/ts/carousel/index.ts +0 -3
- package/dist/ts/common/h-scroll-model.d.ts +0 -16
- package/dist/ts/common/h-scroll.d.ts +0 -105
- package/dist/ts/common/h-scroll.ts +0 -481
- package/dist/ts/common/index.d.ts +0 -9
- package/dist/ts/common/index.ts +0 -10
- package/dist/ts/common/menu-base-model.d.ts +0 -308
- package/dist/ts/common/menu-base.d.ts +0 -558
- package/dist/ts/common/menu-base.ts +0 -2736
- package/dist/ts/common/menu-scroll.d.ts +0 -29
- package/dist/ts/common/menu-scroll.ts +0 -105
- package/dist/ts/common/v-scroll-model.d.ts +0 -16
- package/dist/ts/common/v-scroll.d.ts +0 -106
- package/dist/ts/common/v-scroll.ts +0 -454
- package/dist/ts/context-menu/context-menu-model.d.ts +0 -47
- package/dist/ts/context-menu/context-menu.d.ts +0 -102
- package/dist/ts/context-menu/context-menu.ts +0 -165
- package/dist/ts/context-menu/index.d.ts +0 -5
- package/dist/ts/context-menu/index.ts +0 -5
- package/dist/ts/index.d.ts +0 -16
- package/dist/ts/index.ts +0 -16
- package/dist/ts/menu/index.d.ts +0 -5
- package/dist/ts/menu/index.ts +0 -5
- package/dist/ts/menu/menu-model.d.ts +0 -70
- package/dist/ts/menu/menu.d.ts +0 -127
- package/dist/ts/menu/menu.ts +0 -313
- package/dist/ts/sidebar/index.d.ts +0 -5
- package/dist/ts/sidebar/index.ts +0 -5
- package/dist/ts/sidebar/sidebar-model.d.ts +0 -200
- package/dist/ts/sidebar/sidebar.d.ts +0 -336
- package/dist/ts/sidebar/sidebar.ts +0 -907
- package/dist/ts/stepper/index.d.ts +0 -3
- package/dist/ts/stepper/index.ts +0 -3
- package/dist/ts/stepper/stepper-model.d.ts +0 -159
- package/dist/ts/stepper/stepper.d.ts +0 -381
- package/dist/ts/stepper/stepper.ts +0 -1350
- package/dist/ts/stepper-base/index.d.ts +0 -5
- package/dist/ts/stepper-base/index.ts +0 -6
- package/dist/ts/stepper-base/stepper-base-model.d.ts +0 -124
- package/dist/ts/stepper-base/stepper-base.d.ts +0 -187
- package/dist/ts/stepper-base/stepper-base.ts +0 -290
- package/dist/ts/tab/index.d.ts +0 -5
- package/dist/ts/tab/index.ts +0 -5
- package/dist/ts/tab/tab-model.d.ts +0 -408
- package/dist/ts/tab/tab.d.ts +0 -715
- package/dist/ts/tab/tab.ts +0 -2842
- package/dist/ts/toolbar/index.d.ts +0 -5
- package/dist/ts/toolbar/index.ts +0 -5
- package/dist/ts/toolbar/toolbar-model.d.ts +0 -294
- package/dist/ts/toolbar/toolbar.d.ts +0 -541
- package/dist/ts/toolbar/toolbar.ts +0 -2646
- package/dist/ts/treeview/index.d.ts +0 -5
- package/dist/ts/treeview/index.ts +0 -5
- package/dist/ts/treeview/treeview-model.d.ts +0 -637
- package/dist/ts/treeview/treeview.d.ts +0 -1518
- package/dist/ts/treeview/treeview.ts +0 -6780
|
@@ -1,308 +0,0 @@
|
|
|
1
|
-
import { Component, Property, ChildProperty, NotifyPropertyChanges, INotifyPropertyChanged, AnimationModel, isBlazor } from '@syncfusion/ej2-base';import { Event, EventHandler, EmitType, BaseEventArgs, KeyboardEvents, KeyboardEventArgs, Touch, TapEventArgs } from '@syncfusion/ej2-base';import { Animation, AnimationOptions, TouchEventArgs, MouseEventArgs } from '@syncfusion/ej2-base';import { Browser, Collection, setValue, getValue, getUniqueID, getInstance, isNullOrUndefined } from '@syncfusion/ej2-base';import { select, selectAll, closest, detach, append, rippleEffect, isVisible, Complex, addClass, removeClass } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions } from '@syncfusion/ej2-lists';import { getZindexPartial, calculatePosition, OffsetPosition, isCollide, fit, Popup } from '@syncfusion/ej2-popups';import { SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { getScrollableParent } from '@syncfusion/ej2-popups';import { HScroll } from '../common/h-scroll';import { VScroll } from '../common/v-scroll';import { addScrolling, destroyScroll } from '../common/menu-scroll';
|
|
2
|
-
import {MenuEffect,MenuEventArgs,BeforeOpenCloseMenuEventArgs,OpenCloseMenuEventArgs} from "./menu-base";
|
|
3
|
-
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Interface for a class FieldSettings
|
|
7
|
-
*/
|
|
8
|
-
export interface FieldSettingsModel {
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the itemId field for Menu item.
|
|
12
|
-
*
|
|
13
|
-
* @default 'id'
|
|
14
|
-
*/
|
|
15
|
-
itemId?: string | string[];
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Specifies the parentId field for Menu item.
|
|
19
|
-
*
|
|
20
|
-
* @default 'parentId'
|
|
21
|
-
*/
|
|
22
|
-
parentId?: string | string[];
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Specifies the text field for Menu item.
|
|
26
|
-
*
|
|
27
|
-
* @default 'text'
|
|
28
|
-
*/
|
|
29
|
-
text?: string | string[];
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Specifies the css icon field for Menu item.
|
|
33
|
-
*
|
|
34
|
-
* @default 'iconCss'
|
|
35
|
-
*/
|
|
36
|
-
iconCss?: string | string[];
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Specifies the Url field for Menu item.
|
|
40
|
-
*
|
|
41
|
-
* @default 'url'
|
|
42
|
-
*/
|
|
43
|
-
url?: string | string[];
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Specifies the separator field for Menu item.
|
|
47
|
-
*
|
|
48
|
-
* @default 'separator'
|
|
49
|
-
*/
|
|
50
|
-
separator?: string | string[];
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Specifies the children field for Menu item.
|
|
54
|
-
*
|
|
55
|
-
* @default 'items'
|
|
56
|
-
*/
|
|
57
|
-
children?: string | string[];
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Interface for a class MenuItem
|
|
63
|
-
*/
|
|
64
|
-
export interface MenuItemModel {
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Defines class/multiple classes separated by a space for the menu Item that is used to include an icon.
|
|
68
|
-
* Menu Item can include font icon and sprite image.
|
|
69
|
-
*
|
|
70
|
-
* @default null
|
|
71
|
-
*/
|
|
72
|
-
iconCss?: string;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Specifies the id for menu item.
|
|
76
|
-
*
|
|
77
|
-
* @default ''
|
|
78
|
-
*/
|
|
79
|
-
id?: string;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Specifies separator between the menu items. Separator are either horizontal or vertical lines used to group menu items.
|
|
83
|
-
*
|
|
84
|
-
* @default false
|
|
85
|
-
*/
|
|
86
|
-
separator?: boolean;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Specifies the sub menu items that is the array of MenuItem model.
|
|
90
|
-
*
|
|
91
|
-
* @default []
|
|
92
|
-
*/
|
|
93
|
-
items?: MenuItemModel[];
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Specifies text for menu item.
|
|
97
|
-
*
|
|
98
|
-
* @default ''
|
|
99
|
-
*/
|
|
100
|
-
text?: string;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Specifies url for menu item that creates the anchor link to navigate to the url provided.
|
|
104
|
-
*
|
|
105
|
-
* @default ''
|
|
106
|
-
*/
|
|
107
|
-
url?: string;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Specifies the htmlAttributes property to support adding custom attributes to the menu items in the menu component.
|
|
111
|
-
*
|
|
112
|
-
* @default null
|
|
113
|
-
*/
|
|
114
|
-
htmlAttributes?: Record<string, string>;
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Interface for a class MenuAnimationSettings
|
|
120
|
-
*/
|
|
121
|
-
export interface MenuAnimationSettingsModel {
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Specifies the effect that shown in the sub menu transform.
|
|
125
|
-
* The possible effects are:
|
|
126
|
-
* * None: Specifies the sub menu transform with no animation effect.
|
|
127
|
-
* * SlideDown: Specifies the sub menu transform with slide down effect.
|
|
128
|
-
* * ZoomIn: Specifies the sub menu transform with zoom in effect.
|
|
129
|
-
* * FadeIn: Specifies the sub menu transform with fade in effect.
|
|
130
|
-
*
|
|
131
|
-
* @default 'SlideDown'
|
|
132
|
-
* @aspType Syncfusion.EJ2.Navigations.MenuEffect
|
|
133
|
-
* @blazorType Syncfusion.EJ2.Navigations.MenuEffect
|
|
134
|
-
* @isEnumeration true
|
|
135
|
-
*/
|
|
136
|
-
effect?: MenuEffect;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Specifies the time duration to transform object.
|
|
140
|
-
*
|
|
141
|
-
* @default 400
|
|
142
|
-
*/
|
|
143
|
-
duration?: number;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Specifies the easing effect applied while transform.
|
|
147
|
-
*
|
|
148
|
-
* @default 'ease'
|
|
149
|
-
*/
|
|
150
|
-
easing?: string;
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Interface for a class MenuBase
|
|
156
|
-
* @private
|
|
157
|
-
*/
|
|
158
|
-
export interface MenuBaseModel extends ComponentModel{
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* Triggers while rendering each menu item.
|
|
162
|
-
*
|
|
163
|
-
* @event beforeItemRender
|
|
164
|
-
* @blazorProperty 'OnItemRender'
|
|
165
|
-
*/
|
|
166
|
-
beforeItemRender?: EmitType<MenuEventArgs>;
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Triggers before opening the menu item.
|
|
170
|
-
*
|
|
171
|
-
* @event beforeOpen
|
|
172
|
-
* @blazorProperty 'OnOpen'
|
|
173
|
-
*/
|
|
174
|
-
beforeOpen?: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* Triggers while opening the menu item.
|
|
178
|
-
*
|
|
179
|
-
* @event onOpen
|
|
180
|
-
* @blazorProperty 'Opened'
|
|
181
|
-
*/
|
|
182
|
-
onOpen?: EmitType<OpenCloseMenuEventArgs>;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Triggers before closing the menu.
|
|
186
|
-
*
|
|
187
|
-
* @event beforeClose
|
|
188
|
-
* @blazorProperty 'OnClose'
|
|
189
|
-
*/
|
|
190
|
-
beforeClose?: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Triggers while closing the menu.
|
|
194
|
-
*
|
|
195
|
-
* @event onClose
|
|
196
|
-
* @blazorProperty 'Closed'
|
|
197
|
-
*/
|
|
198
|
-
onClose?: EmitType<OpenCloseMenuEventArgs>;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Triggers while selecting menu item.
|
|
202
|
-
*
|
|
203
|
-
* @event select
|
|
204
|
-
* @blazorProperty 'ItemSelected'
|
|
205
|
-
*/
|
|
206
|
-
select?: EmitType<MenuEventArgs>;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Triggers once the component rendering is completed.
|
|
210
|
-
*
|
|
211
|
-
* @event created
|
|
212
|
-
* @blazorProperty 'Created'
|
|
213
|
-
*/
|
|
214
|
-
created?: EmitType<Event>;
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Defines class/multiple classes separated by a space in the Menu wrapper.
|
|
218
|
-
*
|
|
219
|
-
* @default ''
|
|
220
|
-
*/
|
|
221
|
-
cssClass?: string;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* If hoverDelay is set by particular number, the menu will open after that period.
|
|
225
|
-
*
|
|
226
|
-
* @default 0
|
|
227
|
-
*/
|
|
228
|
-
hoverDelay?: number;
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Specifies whether to show the sub menu or not on click.
|
|
232
|
-
* When set to true, the sub menu will open only on mouse click.
|
|
233
|
-
*
|
|
234
|
-
* @default false
|
|
235
|
-
*/
|
|
236
|
-
showItemOnClick?: boolean;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Specifies target element selector in which the ContextMenu should be opened.
|
|
240
|
-
* Specifies target element to open/close Menu while click in Hamburger mode.
|
|
241
|
-
*
|
|
242
|
-
* @default ''
|
|
243
|
-
* @private
|
|
244
|
-
*/
|
|
245
|
-
target?: string;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Specifies the filter selector for elements inside the target in that the context menu will be opened.
|
|
249
|
-
* Not applicable to Menu component.
|
|
250
|
-
*
|
|
251
|
-
* @default ''
|
|
252
|
-
* @private
|
|
253
|
-
*/
|
|
254
|
-
filter?: string;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Specifies the template for Menu item.
|
|
258
|
-
* Not applicable to ContextMenu component.
|
|
259
|
-
*
|
|
260
|
-
* @default null
|
|
261
|
-
* @aspType string
|
|
262
|
-
* @private
|
|
263
|
-
*/
|
|
264
|
-
template?: string | Function;
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* Specifies whether to enable / disable the scrollable option in Menu.
|
|
268
|
-
* Not applicable to ContextMenu component.
|
|
269
|
-
*
|
|
270
|
-
* @default false
|
|
271
|
-
* @private
|
|
272
|
-
*/
|
|
273
|
-
enableScrolling?: boolean;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Specifies whether to enable the rendering of untrusted HTML values in the Context Menu component.
|
|
277
|
-
* If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
|
|
278
|
-
*
|
|
279
|
-
* @default true
|
|
280
|
-
*/
|
|
281
|
-
enableHtmlSanitizer?: boolean;
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* Specifies mapping fields from the dataSource.
|
|
285
|
-
* Not applicable to ContextMenu component.
|
|
286
|
-
*
|
|
287
|
-
* @default { itemId: "id", text: "text", parentId: "parentId", iconCss: "iconCss", url: "url", separator: "separator",
|
|
288
|
-
* children: "items" }
|
|
289
|
-
* @private
|
|
290
|
-
*/
|
|
291
|
-
// eslint:disable-next-line
|
|
292
|
-
fields?: FieldSettingsModel;
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* Specifies menu items with its properties which will be rendered as Menu.
|
|
296
|
-
*
|
|
297
|
-
* @default []
|
|
298
|
-
*/
|
|
299
|
-
items?: MenuItemModel[] | { [key: string]: Object }[];
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Specifies the animation settings for the sub menu open.
|
|
303
|
-
*
|
|
304
|
-
* @default { duration: 400, easing: 'ease', effect: 'SlideDown' }
|
|
305
|
-
*/
|
|
306
|
-
animationSettings?: MenuAnimationSettingsModel;
|
|
307
|
-
|
|
308
|
-
}
|