@syncfusion/ej2-navigations 30.2.7 → 31.1.17

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 (162) hide show
  1. package/dist/ej2-navigations.min.js +1 -1
  2. package/dist/ej2-navigations.umd.min.js +1 -1
  3. package/dist/ej2-navigations.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  5. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  6. package/dist/global/ej2-navigations.min.js +1 -1
  7. package/dist/global/ej2-navigations.min.js.map +1 -1
  8. package/dist/global/index.d.ts +1 -1
  9. package/dist/ts/accordion/accordion-model.d.ts +285 -0
  10. package/dist/ts/accordion/accordion.d.ts +458 -0
  11. package/dist/ts/accordion/accordion.ts +1580 -0
  12. package/dist/ts/accordion/index.d.ts +5 -0
  13. package/dist/ts/accordion/index.ts +5 -0
  14. package/dist/ts/appbar/appbar-model.d.ts +76 -0
  15. package/dist/ts/appbar/appbar.d.ts +115 -0
  16. package/dist/ts/appbar/appbar.ts +281 -0
  17. package/dist/ts/appbar/index.d.ts +3 -0
  18. package/dist/ts/appbar/index.ts +3 -0
  19. package/dist/ts/breadcrumb/breadcrumb-model.d.ts +170 -0
  20. package/dist/ts/breadcrumb/breadcrumb.d.ts +297 -0
  21. package/dist/ts/breadcrumb/breadcrumb.ts +959 -0
  22. package/dist/ts/breadcrumb/index.d.ts +5 -0
  23. package/dist/ts/breadcrumb/index.ts +5 -0
  24. package/dist/ts/carousel/carousel-model.d.ts +282 -0
  25. package/dist/ts/carousel/carousel.d.ts +439 -0
  26. package/dist/ts/carousel/carousel.ts +1633 -0
  27. package/dist/ts/carousel/index.d.ts +3 -0
  28. package/dist/ts/carousel/index.ts +3 -0
  29. package/dist/ts/common/h-scroll-model.d.ts +16 -0
  30. package/dist/ts/common/h-scroll.d.ts +105 -0
  31. package/dist/ts/common/h-scroll.ts +481 -0
  32. package/dist/ts/common/index.d.ts +9 -0
  33. package/dist/ts/common/index.ts +10 -0
  34. package/dist/ts/common/menu-base-model.d.ts +308 -0
  35. package/dist/ts/common/menu-base.d.ts +558 -0
  36. package/dist/ts/common/menu-base.ts +2736 -0
  37. package/dist/ts/common/menu-scroll.d.ts +29 -0
  38. package/dist/ts/common/menu-scroll.ts +105 -0
  39. package/dist/ts/common/v-scroll-model.d.ts +16 -0
  40. package/dist/ts/common/v-scroll.d.ts +106 -0
  41. package/dist/ts/common/v-scroll.ts +454 -0
  42. package/dist/ts/context-menu/context-menu-model.d.ts +47 -0
  43. package/dist/ts/context-menu/context-menu.d.ts +102 -0
  44. package/dist/ts/context-menu/context-menu.ts +165 -0
  45. package/dist/ts/context-menu/index.d.ts +5 -0
  46. package/dist/ts/context-menu/index.ts +5 -0
  47. package/dist/ts/index.d.ts +16 -0
  48. package/dist/ts/index.ts +16 -0
  49. package/dist/ts/menu/index.d.ts +5 -0
  50. package/dist/ts/menu/index.ts +5 -0
  51. package/dist/ts/menu/menu-model.d.ts +70 -0
  52. package/dist/ts/menu/menu.d.ts +127 -0
  53. package/dist/ts/menu/menu.ts +313 -0
  54. package/dist/ts/sidebar/index.d.ts +5 -0
  55. package/dist/ts/sidebar/index.ts +5 -0
  56. package/dist/ts/sidebar/sidebar-model.d.ts +200 -0
  57. package/dist/ts/sidebar/sidebar.d.ts +336 -0
  58. package/dist/ts/sidebar/sidebar.ts +907 -0
  59. package/dist/ts/stepper/index.d.ts +3 -0
  60. package/dist/ts/stepper/index.ts +3 -0
  61. package/dist/ts/stepper/stepper-model.d.ts +159 -0
  62. package/dist/ts/stepper/stepper.d.ts +381 -0
  63. package/dist/ts/stepper/stepper.ts +1350 -0
  64. package/dist/ts/stepper-base/index.d.ts +5 -0
  65. package/dist/ts/stepper-base/index.ts +6 -0
  66. package/dist/ts/stepper-base/stepper-base-model.d.ts +124 -0
  67. package/dist/ts/stepper-base/stepper-base.d.ts +187 -0
  68. package/dist/ts/stepper-base/stepper-base.ts +290 -0
  69. package/dist/ts/tab/index.d.ts +5 -0
  70. package/dist/ts/tab/index.ts +5 -0
  71. package/dist/ts/tab/tab-model.d.ts +408 -0
  72. package/dist/ts/tab/tab.d.ts +715 -0
  73. package/dist/ts/tab/tab.ts +2842 -0
  74. package/dist/ts/toolbar/index.d.ts +5 -0
  75. package/dist/ts/toolbar/index.ts +5 -0
  76. package/dist/ts/toolbar/toolbar-model.d.ts +294 -0
  77. package/dist/ts/toolbar/toolbar.d.ts +541 -0
  78. package/dist/ts/toolbar/toolbar.ts +2646 -0
  79. package/dist/ts/treeview/index.d.ts +5 -0
  80. package/dist/ts/treeview/index.ts +5 -0
  81. package/dist/ts/treeview/treeview-model.d.ts +637 -0
  82. package/dist/ts/treeview/treeview.d.ts +1518 -0
  83. package/dist/ts/treeview/treeview.ts +6780 -0
  84. package/package.json +70 -17
  85. package/src/context-menu/context-menu-model.d.ts +1 -1
  86. package/src/context-menu/context-menu.js +1 -1
  87. package/styles/accordion/_bootstrap-dark-definition.scss +1 -1
  88. package/styles/accordion/_bootstrap-definition.scss +1 -1
  89. package/styles/accordion/bootstrap-dark.css +1 -1
  90. package/styles/accordion/bootstrap.css +1 -1
  91. package/styles/bds-lite.css +1 -1
  92. package/styles/bds.css +1 -1
  93. package/styles/bootstrap-dark-lite.css +2 -2
  94. package/styles/bootstrap-dark.css +2 -2
  95. package/styles/bootstrap-lite.css +2 -2
  96. package/styles/bootstrap.css +2 -2
  97. package/styles/bootstrap4-lite.css +1 -1
  98. package/styles/bootstrap4.css +1 -1
  99. package/styles/bootstrap5-dark-lite.css +1 -1
  100. package/styles/bootstrap5-dark.css +1 -1
  101. package/styles/bootstrap5-lite.css +1 -1
  102. package/styles/bootstrap5.3-lite.css +1 -1
  103. package/styles/bootstrap5.3.css +9 -1
  104. package/styles/bootstrap5.css +1 -1
  105. package/styles/fabric-dark-lite.css +1 -1
  106. package/styles/fabric-dark.css +1 -1
  107. package/styles/fabric-lite.css +1 -1
  108. package/styles/fabric.css +1 -1
  109. package/styles/fluent-dark-lite.css +1 -1
  110. package/styles/fluent-dark.css +1 -1
  111. package/styles/fluent-lite.css +1 -1
  112. package/styles/fluent.css +1 -1
  113. package/styles/fluent2-lite.css +4 -1
  114. package/styles/fluent2.css +4 -1
  115. package/styles/h-scroll/_layout.scss +1 -1
  116. package/styles/h-scroll/bds.css +1 -1
  117. package/styles/h-scroll/bootstrap-dark.css +1 -1
  118. package/styles/h-scroll/bootstrap.css +1 -1
  119. package/styles/h-scroll/bootstrap4.css +1 -1
  120. package/styles/h-scroll/bootstrap5-dark.css +1 -1
  121. package/styles/h-scroll/bootstrap5.3.css +1 -1
  122. package/styles/h-scroll/bootstrap5.css +1 -1
  123. package/styles/h-scroll/fabric-dark.css +1 -1
  124. package/styles/h-scroll/fabric.css +1 -1
  125. package/styles/h-scroll/fluent-dark.css +1 -1
  126. package/styles/h-scroll/fluent.css +1 -1
  127. package/styles/h-scroll/fluent2.css +1 -1
  128. package/styles/h-scroll/highcontrast-light.css +1 -1
  129. package/styles/h-scroll/highcontrast.css +1 -1
  130. package/styles/h-scroll/material-dark.css +1 -1
  131. package/styles/h-scroll/material.css +1 -1
  132. package/styles/h-scroll/material3-dark.css +1 -1
  133. package/styles/h-scroll/material3.css +1 -1
  134. package/styles/h-scroll/tailwind-dark.css +1 -1
  135. package/styles/h-scroll/tailwind.css +1 -1
  136. package/styles/h-scroll/tailwind3.css +1 -1
  137. package/styles/highcontrast-light-lite.css +1 -1
  138. package/styles/highcontrast-light.css +1 -1
  139. package/styles/highcontrast-lite.css +1 -1
  140. package/styles/highcontrast.css +1 -1
  141. package/styles/material-dark-lite.css +1 -1
  142. package/styles/material-dark.css +1 -1
  143. package/styles/material-lite.css +1 -1
  144. package/styles/material.css +1 -1
  145. package/styles/material3-dark-lite.css +1 -1
  146. package/styles/material3-dark.css +1 -7
  147. package/styles/material3-lite.css +1 -1
  148. package/styles/material3.css +1 -7
  149. package/styles/tailwind-dark-lite.css +1 -1
  150. package/styles/tailwind-dark.css +1 -1
  151. package/styles/tailwind-lite.css +1 -1
  152. package/styles/tailwind.css +1 -1
  153. package/styles/tailwind3-lite.css +1 -1
  154. package/styles/tailwind3.css +1 -1
  155. package/styles/toolbar/_layout.scss +1 -1
  156. package/styles/treeview/_bigger.scss +2 -2
  157. package/styles/treeview/_bootstrap5.3-definition.scss +1 -0
  158. package/styles/treeview/_layout.scss +3 -0
  159. package/styles/treeview/bootstrap5.3.css +8 -0
  160. package/styles/treeview/fluent2.css +3 -0
  161. package/styles/treeview/material3-dark.css +0 -6
  162. package/styles/treeview/material3.css +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 30.2.7
3
+ * version : 31.1.17
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
@@ -0,0 +1,285 @@
1
+ import { Component, EventHandler, Property, Event, EmitType, AnimationModel, KeyboardEvents, rippleEffect, animationMode } from '@syncfusion/ej2-base';import { KeyboardEventArgs, BaseEventArgs, Effect, getUniqueID, compile as templateCompiler } from '@syncfusion/ej2-base';import { isVisible, closest, attributes, detach, select, addClass, removeClass, append } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Collection, Animation } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, Complex } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, formatUnit, selectAll, SanitizeHtmlHelper, isRippleEnabled } from '@syncfusion/ej2-base';
2
+ import {ExpandMode,AccordionClickArgs,ExpandEventArgs,ExpandedEventArgs} from "./accordion";
3
+ import {ComponentModel} from '@syncfusion/ej2-base';
4
+
5
+ /**
6
+ * Interface for a class AccordionActionSettings
7
+ */
8
+ export interface AccordionActionSettingsModel {
9
+
10
+ /**
11
+ * Specifies the type of animation.
12
+ *
13
+ * @default 'SlideDown'
14
+ * @aspType string
15
+ */
16
+ effect?: 'None' | Effect;
17
+
18
+ /**
19
+ * Specifies the duration to animate.
20
+ *
21
+ * @default 400
22
+ */
23
+ duration?: number;
24
+
25
+ /**
26
+ * Specifies the animation timing function.
27
+ *
28
+ * @default 'linear'
29
+ */
30
+ easing?: string;
31
+
32
+ }
33
+
34
+ /**
35
+ * Interface for a class AccordionAnimationSettings
36
+ */
37
+ export interface AccordionAnimationSettingsModel {
38
+
39
+ /**
40
+ * Specifies the animation to appear while collapsing the Accordion item.
41
+ *
42
+ * @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
43
+ */
44
+ collapse?: AccordionActionSettingsModel;
45
+
46
+ /**
47
+ * Specifies the animation to appear while expanding the Accordion item.
48
+ *
49
+ * @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
50
+ */
51
+ expand?: AccordionActionSettingsModel;
52
+
53
+ }
54
+
55
+ /**
56
+ * Interface for a class AccordionItem
57
+ */
58
+ export interface AccordionItemModel {
59
+
60
+ /**
61
+ * Sets the text content to be displayed for the Accordion item.
62
+ * You can set the content of the Accordion item using `content` property.
63
+ * It also supports to include the title as `HTML element`, `string`, or `query selector`.
64
+ * ```typescript
65
+ * let accordionObj: Accordion = new Accordion( {
66
+ * items: [
67
+ * { header: 'Accordion Header', content: 'Accordion Content' },
68
+ * { header: '<div>Accordion Header</div>', content: '<div>Accordion Content</div>' },
69
+ * { header: '#headerContent', content: '#panelContent' }]
70
+ * });
71
+ * accordionObj.appendTo('#accordion');
72
+ * ```
73
+ *
74
+ * @default null
75
+ */
76
+ content?: string;
77
+
78
+ /**
79
+ * Sets the header text to be displayed for the Accordion item.
80
+ * You can set the title of the Accordion item using `header` property.
81
+ * It also supports to include the title as `HTML element`, `string`, or `query selector`.
82
+ * ```typescript
83
+ * let accordionObj: Accordion = new Accordion( {
84
+ * items: [
85
+ * { header: 'Accordion Header', content: 'Accordion Content' },
86
+ * { header: '<div>Accordion Header</div>', content: '<div>Accordion Content</div>' },
87
+ * { header: '#headerContent', content: '#panelContent' }]
88
+ * });
89
+ * accordionObj.appendTo('#accordion');
90
+ * ```
91
+ *
92
+ * @default null
93
+ */
94
+ header?: string;
95
+
96
+ /**
97
+ * Defines single/multiple classes (separated by a space) are to be used for Accordion item customization.
98
+ *
99
+ * @default null
100
+ */
101
+ cssClass?: string;
102
+
103
+ /**
104
+ * Defines an icon with the given custom CSS class that is to be rendered before the header text.
105
+ * Add the css classes to the `iconCss` property and write the css styles to the defined class to set images/icons.
106
+ * Adding icon is applicable only to the header.
107
+ * ```typescript
108
+ * let accordionObj: Accordion = new Accordion( {
109
+ * items: [
110
+ * { header: 'Accordion Header', iconCss: 'e-app-icon' }]
111
+ * });
112
+ * accordionObj.appendTo('#accordion');
113
+ * ```
114
+ * ```css
115
+ * .e-app-icon::before {
116
+ * content: "\e710";
117
+ * }
118
+ * ```
119
+ *
120
+ * @default null
121
+ */
122
+ iconCss?: string;
123
+
124
+ /**
125
+ * Sets the expand (true) or collapse (false) state of the Accordion item. By default, all the items are in a collapsed state.
126
+ *
127
+ * @default false
128
+ */
129
+ expanded?: boolean;
130
+
131
+ /**
132
+ * Sets false to hide an accordion item.
133
+ *
134
+ * @default true
135
+ */
136
+ visible?: boolean;
137
+
138
+ /**
139
+ * Sets true to disable an accordion item.
140
+ *
141
+ * @default false
142
+ */
143
+ disabled?: boolean;
144
+
145
+ /**
146
+ * Sets unique ID to accordion item.
147
+ *
148
+ * @default null
149
+ */
150
+ id?: string;
151
+
152
+ }
153
+
154
+ /**
155
+ * Interface for a class Accordion
156
+ */
157
+ export interface AccordionModel extends ComponentModel{
158
+
159
+ /**
160
+ * An array of item that is used to specify Accordion items.
161
+ * ```typescript
162
+ * let accordionObj: Accordion = new Accordion( {
163
+ * items: [
164
+ * { header: 'Accordion Header', content: 'Accordion Content' }]
165
+ * });
166
+ * accordionObj.appendTo('#accordion');
167
+ * ```
168
+ *
169
+ * @default []
170
+ */
171
+ items?: AccordionItemModel[];
172
+
173
+ /**
174
+ * Specifies the datasource for the accordion items.
175
+ *
176
+ * @isdatamanager false
177
+ * @default []
178
+ */
179
+ dataSource?: Object[];
180
+
181
+ /**
182
+ * Specifies the template option for accordion items.
183
+ *
184
+ * @default null
185
+ * @angularType string | object
186
+ * @reactType string | function | JSX.Element
187
+ * @vueType string | function
188
+ * @aspType string
189
+ */
190
+ itemTemplate?: string | Function;
191
+
192
+ /**
193
+ * Specifies the header title template option for accordion items.
194
+ *
195
+ * @default null
196
+ * @angularType string | object
197
+ * @reactType string | function | JSX.Element
198
+ * @vueType string | function
199
+ * @aspType string
200
+ */
201
+ headerTemplate?: string | Function;
202
+
203
+ /**
204
+ * Specifies the width of the Accordion in pixels/number/percentage. Number value is considered as pixels.
205
+ *
206
+ * @default '100%'
207
+ */
208
+ width?: string | number;
209
+
210
+ /**
211
+ * Specifies the height of the Accordion in pixels/number/percentage. Number value is considered as pixels.
212
+ *
213
+ * @default 'auto'
214
+ */
215
+ height?: string | number;
216
+
217
+ /**
218
+ * Specifies the expanded items at initial load.
219
+ *
220
+ * @default []
221
+ */
222
+ expandedIndices?: number[];
223
+
224
+ /**
225
+ * Specifies the options to expand single or multiple panel at a time.
226
+ * The possible values are:
227
+ * * `Single`: Sets to expand only one Accordion item at a time.
228
+ * * `Multiple`: Sets to expand more than one Accordion item at a time.
229
+ *
230
+ * @default 'Multiple'
231
+ */
232
+ expandMode?: ExpandMode;
233
+
234
+ /**
235
+ * Specifies whether to enable the rendering of untrusted HTML values in the Accordion component.
236
+ * When this property is enabled, the component will sanitize any suspected untrusted strings and scripts before rendering them.
237
+ *
238
+ * @default true
239
+ */
240
+ enableHtmlSanitizer?: boolean;
241
+
242
+ /**
243
+ * Specifies the animation configuration settings for expanding and collapsing the panel.
244
+ *
245
+ * @default { expand: { effect: 'SlideDown', duration: 400, easing: 'linear' },
246
+ * collapse: { effect: 'SlideUp', duration: 400, easing: 'linear' }}
247
+ */
248
+ animation?: AccordionAnimationSettingsModel;
249
+
250
+ /**
251
+ * The event will be fired while clicking anywhere within the Accordion.
252
+ *
253
+ * @event clicked
254
+ */
255
+ clicked?: EmitType<AccordionClickArgs>;
256
+
257
+ /**
258
+ * The event will be fired before the item gets collapsed/expanded.
259
+ *
260
+ * @event expanding
261
+ */
262
+ expanding?: EmitType<ExpandEventArgs>;
263
+
264
+ /**
265
+ * The event will be fired after the item gets collapsed/expanded.
266
+ *
267
+ * @event expanded
268
+ */
269
+ expanded?: EmitType<ExpandedEventArgs>;
270
+
271
+ /**
272
+ * The event will be fired once the control rendering is completed.
273
+ *
274
+ * @event created
275
+ */
276
+ created?: EmitType<Event>;
277
+
278
+ /**
279
+ * The event will be fired when the control gets destroyed.
280
+ *
281
+ * @event destroyed
282
+ */
283
+ destroyed?: EmitType<Event>;
284
+
285
+ }