@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
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Breadcrumb modules
3
+ */
4
+ export * from './breadcrumb';
5
+ export * from './breadcrumb-model';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Breadcrumb modules
3
+ */
4
+ export * from './breadcrumb';
5
+ export * from './breadcrumb-model';
@@ -0,0 +1,282 @@
1
+ import { Component, EventHandler, Collection, Property, Event, EmitType, formatUnit, INotifyPropertyChanged, NotifyPropertyChanges, Browser } from '@syncfusion/ej2-base';import { ChildProperty, addClass, removeClass, setStyleAttribute, attributes, getUniqueID, compile, getInstance, L10n } from '@syncfusion/ej2-base';import { append, closest, isNullOrUndefined, remove, classList, Touch, SwipeEventArgs, KeyboardEvents, KeyboardEventArgs, BaseEventArgs } from '@syncfusion/ej2-base';import { Button } from '@syncfusion/ej2-buttons';
2
+ import {CarouselAnimationEffect,CarouselIndicatorsType,CarouselButtonVisibility,CarouselSwipeMode,SlideChangingEventArgs,SlideChangedEventArgs} from "./carousel";
3
+ import {ComponentModel} from '@syncfusion/ej2-base';
4
+
5
+ /**
6
+ * Interface for a class CarouselItem
7
+ */
8
+ export interface CarouselItemModel {
9
+
10
+ /**
11
+ * Accepts single/multiple classes (separated by a space) to be used for individual carousel item customization.
12
+ *
13
+ * @default null
14
+ */
15
+ cssClass?: string;
16
+
17
+ /**
18
+ * Accepts the interval duration in milliseconds for individual carousel item transition.
19
+ *
20
+ * @default null
21
+ */
22
+ interval?: number;
23
+
24
+ /**
25
+ * Accepts the template for individual carousel item.
26
+ *
27
+ * @default null
28
+ * @angularType string | object
29
+ * @reactType string | function | JSX.Element
30
+ * @vueType string | function
31
+ * @aspType string
32
+ */
33
+ template?: string | Function;
34
+
35
+ /**
36
+ * Accepts HTML attributes/custom attributes to add in individual carousel item.
37
+ *
38
+ * @default null
39
+ */
40
+ htmlAttributes?: Record<string, string>;
41
+
42
+ }
43
+
44
+ /**
45
+ * Interface for a class Carousel
46
+ */
47
+ export interface CarouselModel extends ComponentModel{
48
+
49
+ /**
50
+ * Allows defining the collection of carousel item to be displayed on the Carousel.
51
+ *
52
+ * @default []
53
+ */
54
+ items?: CarouselItemModel[];
55
+
56
+ /**
57
+ * Specifies the type of animation effects. The possible values for this property as follows
58
+ * * `None`: The carousel item transition happens without animation.
59
+ * * `Slide`: The carousel item transition happens with slide animation.
60
+ * * `Fade`: The Carousel item transition happens with fade animation.
61
+ * * `Custom`: The Carousel item transition happens with custom animation.
62
+ *
63
+ * @default 'Slide'
64
+ */
65
+ animationEffect?: CarouselAnimationEffect;
66
+
67
+ /**
68
+ * Accepts the template for previous navigation button.
69
+ *
70
+ * @default null
71
+ * @angularType string | object
72
+ * @reactType string | function | JSX.Element
73
+ * @vueType string | function
74
+ * @aspType string
75
+ */
76
+ previousButtonTemplate?: string | Function;
77
+
78
+ /**
79
+ * Accepts the template for next navigation button.
80
+ *
81
+ * @default null
82
+ * @angularType string | object
83
+ * @reactType string | function | JSX.Element
84
+ * @vueType string | function
85
+ * @aspType string
86
+ */
87
+ nextButtonTemplate?: string | Function;
88
+
89
+ /**
90
+ * Accepts the template for indicator buttons.
91
+ *
92
+ * @default null
93
+ * @angularType string | object
94
+ * @reactType string | function | JSX.Element
95
+ * @vueType string | function
96
+ * @aspType string
97
+ */
98
+ indicatorsTemplate?: string | Function;
99
+
100
+ /**
101
+ * Accepts the template for play/pause button.
102
+ *
103
+ * @default null
104
+ * @angularType string | object
105
+ * @reactType string | function | JSX.Element
106
+ * @vueType string | function
107
+ * @aspType string
108
+ */
109
+ playButtonTemplate?: string | Function;
110
+
111
+ /**
112
+ * Accepts single/multiple classes (separated by a space) to be used for carousel customization.
113
+ *
114
+ * @default null
115
+ */
116
+ cssClass?: string;
117
+
118
+ /**
119
+ * Specifies the datasource for the carousel items.
120
+ *
121
+ * @isdatamanager false
122
+ * @default []
123
+ */
124
+ dataSource?: Record<string, any>[];
125
+
126
+ /**
127
+ * Specifies the template option for carousel items.
128
+ *
129
+ * @default null
130
+ * @angularType string | object
131
+ * @reactType string | function | JSX.Element
132
+ * @vueType string | function
133
+ * @aspType string
134
+ */
135
+ itemTemplate?: string | Function;
136
+
137
+ /**
138
+ * Specifies index of the current carousel item.
139
+ *
140
+ * @default 0
141
+ */
142
+ selectedIndex?: number;
143
+
144
+ /**
145
+ * Specifies the width of the Carousel in pixels/number/percentage. The number value is considered as pixels.
146
+ *
147
+ * @default '100%'
148
+ */
149
+ width?: string | number;
150
+
151
+ /**
152
+ * Specifies the height of the Carousel in pixels/number/percentage. The number value is considered as pixels.
153
+ *
154
+ * @default '100%'
155
+ */
156
+ height?: string | number;
157
+
158
+ /**
159
+ * Specifies the interval duration in milliseconds for carousel item transition.
160
+ *
161
+ * @default 5000
162
+ */
163
+ interval?: number;
164
+
165
+ /**
166
+ * Defines whether the slide transition is automatic or manual.
167
+ *
168
+ * @default true
169
+ */
170
+ autoPlay?: boolean;
171
+
172
+ /**
173
+ * Defines whether the slide transition gets pause on hover or not.
174
+ *
175
+ * @default true
176
+ */
177
+ pauseOnHover?: boolean;
178
+
179
+ /**
180
+ * Defines whether the slide transitions loop end or not. When set to false, the transition stops at last slide.
181
+ *
182
+ * @default true
183
+ */
184
+ loop?: boolean;
185
+
186
+ /**
187
+ * Defines whether to show play button or not.
188
+ *
189
+ * @default false
190
+ */
191
+ showPlayButton?: boolean;
192
+
193
+ /**
194
+ * Defines whether to enable swipe action in touch devices or not.
195
+ *
196
+ * @default true
197
+ */
198
+ enableTouchSwipe?: boolean;
199
+
200
+ /**
201
+ * Defines whether to enable keyboard actions or not.
202
+ *
203
+ * * @remarks
204
+ * If any form input component is placed on the carousel slide, interacting with it may cause
205
+ * the left/right arrow keys to navigate to other slides. Disabling keyboard interaction helps
206
+ * prevent this unintended navigation, leading to a smoother user experience.
207
+ *
208
+ * @default true
209
+ */
210
+ allowKeyboardInteraction?: boolean;
211
+
212
+ /**
213
+ * Defines whether to show the indicator positions or not. The indicator positions allow to know the current slide position of the carousel component.
214
+ *
215
+ * @default true
216
+ */
217
+ showIndicators?: boolean;
218
+
219
+ /**
220
+ * Specifies the type of indicators. The available values for this property are:
221
+ *
222
+ * * `Default`: Displays the indicators with a bullet design.
223
+ * * `Dynamic`: Applies a dynamic animation design to the indicators.
224
+ * * `Fraction`: Displays the slides numerically as indicators.
225
+ * * `Progress`: Represents the slides using a progress bar design.
226
+ *
227
+ * @default 'Default'
228
+ */
229
+ indicatorsType?: CarouselIndicatorsType;
230
+
231
+ /**
232
+ * Defines how to show the previous, next and play pause buttons visibility. The possible values for this property as follows
233
+ * * `Hidden`: Navigation buttons are hidden.
234
+ * * `Visible`: Navigation buttons are visible.
235
+ * * `VisibleOnHover`: Navigation buttons are visible only when we hover the carousel.
236
+ *
237
+ * @default 'Visible'
238
+ */
239
+ buttonsVisibility?: CarouselButtonVisibility;
240
+
241
+ /**
242
+ * Enables active slide with partial previous/next slides.
243
+ *
244
+ * Slide animation only applicable if the partialVisible is enabled.
245
+ *
246
+ * @default false
247
+ */
248
+ partialVisible?: boolean;
249
+
250
+ /**
251
+ * Specifies whether the slide transition should occur while performing swiping via touch/mouse.
252
+ * The slide swiping is enabled or disabled using bitwise operators. The swiping is disabled using ‘~’ bitwise operator.
253
+ * * Touch - Enables or disables the swiping action in touch interaction.
254
+ * * Mouse - Enables or disables the swiping action in mouse interaction.
255
+ *
256
+ * @default 'Touch'
257
+ * @aspNumberEnum
258
+ */
259
+ swipeMode?: CarouselSwipeMode;
260
+
261
+ /**
262
+ * Accepts HTML attributes/custom attributes to add in individual carousel item.
263
+ *
264
+ * @default null
265
+ */
266
+ htmlAttributes?: Record<string, string>;
267
+
268
+ /**
269
+ * The event will be fired before the slide change.
270
+ *
271
+ * @event slideChanging
272
+ */
273
+ slideChanging?: EmitType<SlideChangingEventArgs>;
274
+
275
+ /**
276
+ * The event will be fired after the slide changed.
277
+ *
278
+ * @event slideChanged
279
+ */
280
+ slideChanged?: EmitType<SlideChangedEventArgs>;
281
+
282
+ }