@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.
Files changed (188) hide show
  1. package/dist/ej2-navigations.min.js +2 -2
  2. package/dist/ej2-navigations.umd.min.js +2 -2
  3. package/dist/ej2-navigations.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-navigations.es2015.js +1 -0
  5. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es5.js +1 -0
  7. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  8. package/dist/global/ej2-navigations.min.js +2 -2
  9. package/dist/global/ej2-navigations.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +14 -67
  12. package/src/treeview/treeview.js +1 -0
  13. package/styles/bds-lite.css +7 -6
  14. package/styles/bds.css +7 -6
  15. package/styles/bootstrap-dark-lite.css +6 -3
  16. package/styles/bootstrap-dark.css +6 -3
  17. package/styles/bootstrap-lite.css +6 -3
  18. package/styles/bootstrap.css +6 -3
  19. package/styles/bootstrap4-lite.css +13 -9
  20. package/styles/bootstrap4.css +24 -13
  21. package/styles/bootstrap5-dark-lite.css +6 -5
  22. package/styles/bootstrap5-dark.css +16 -7
  23. package/styles/bootstrap5-lite.css +6 -5
  24. package/styles/bootstrap5.3-lite.css +23 -10
  25. package/styles/bootstrap5.3.css +34 -13
  26. package/styles/bootstrap5.css +16 -7
  27. package/styles/fabric-dark-lite.css +6 -3
  28. package/styles/fabric-dark.css +6 -3
  29. package/styles/fabric-lite.css +6 -3
  30. package/styles/fabric.css +6 -3
  31. package/styles/fluent-dark-lite.css +16 -12
  32. package/styles/fluent-dark.css +26 -15
  33. package/styles/fluent-lite.css +16 -12
  34. package/styles/fluent.css +26 -15
  35. package/styles/fluent2-lite.css +6 -4
  36. package/styles/fluent2.css +6 -4
  37. package/styles/highcontrast-light-lite.css +4 -4
  38. package/styles/highcontrast-light.css +4 -4
  39. package/styles/highcontrast-lite.css +14 -10
  40. package/styles/highcontrast.css +26 -13
  41. package/styles/material-dark-lite.css +19 -13
  42. package/styles/material-dark.css +39 -17
  43. package/styles/material-lite.css +19 -10
  44. package/styles/material.css +36 -13
  45. package/styles/material3-dark-lite.css +4 -4
  46. package/styles/material3-dark.css +5 -4
  47. package/styles/material3-lite.css +4 -4
  48. package/styles/material3.css +5 -4
  49. package/styles/menu/_bootstrap-dark-definition.scss +1 -0
  50. package/styles/menu/_bootstrap-definition.scss +1 -0
  51. package/styles/menu/_fluent-definition.scss +1 -1
  52. package/styles/menu/_fluent2-definition.scss +1 -1
  53. package/styles/menu/_layout.scss +7 -1
  54. package/styles/menu/bds.css +1 -0
  55. package/styles/menu/bootstrap-dark.css +1 -0
  56. package/styles/menu/bootstrap.css +1 -0
  57. package/styles/menu/bootstrap4.css +1 -0
  58. package/styles/menu/bootstrap5-dark.css +1 -0
  59. package/styles/menu/bootstrap5.3.css +1 -0
  60. package/styles/menu/bootstrap5.css +1 -0
  61. package/styles/menu/fabric-dark.css +1 -0
  62. package/styles/menu/fabric.css +1 -0
  63. package/styles/menu/fluent-dark.css +2 -1
  64. package/styles/menu/fluent.css +2 -1
  65. package/styles/menu/fluent2.css +2 -1
  66. package/styles/menu/highcontrast-light.css +1 -0
  67. package/styles/menu/highcontrast.css +1 -0
  68. package/styles/menu/material-dark.css +1 -0
  69. package/styles/menu/material.css +1 -0
  70. package/styles/menu/material3-dark.css +1 -0
  71. package/styles/menu/material3.css +1 -0
  72. package/styles/menu/tailwind-dark.css +1 -0
  73. package/styles/menu/tailwind.css +1 -0
  74. package/styles/menu/tailwind3.css +1 -0
  75. package/styles/tailwind-dark-lite.css +6 -5
  76. package/styles/tailwind-dark.css +6 -5
  77. package/styles/tailwind-lite.css +6 -5
  78. package/styles/tailwind.css +6 -5
  79. package/styles/tailwind3-lite.css +11 -5
  80. package/styles/tailwind3.css +18 -5
  81. package/styles/treeview/_bds-definition.scss +1 -1
  82. package/styles/treeview/_bigger.scss +91 -0
  83. package/styles/treeview/_bootstrap4-definition.scss +7 -7
  84. package/styles/treeview/_bootstrap5-definition.scss +2 -2
  85. package/styles/treeview/_bootstrap5.3-definition.scss +8 -8
  86. package/styles/treeview/_fluent-definition.scss +6 -6
  87. package/styles/treeview/_highcontrast-definition.scss +6 -6
  88. package/styles/treeview/_layout.scss +67 -16
  89. package/styles/treeview/_material-dark-definition.scss +7 -7
  90. package/styles/treeview/_material-definition.scss +6 -6
  91. package/styles/treeview/_tailwind3-definition.scss +1 -1
  92. package/styles/treeview/_theme.scss +7 -2
  93. package/styles/treeview/bds.css +6 -6
  94. package/styles/treeview/bootstrap-dark.css +5 -3
  95. package/styles/treeview/bootstrap.css +5 -3
  96. package/styles/treeview/bootstrap4.css +23 -13
  97. package/styles/treeview/bootstrap5-dark.css +15 -7
  98. package/styles/treeview/bootstrap5.3.css +33 -13
  99. package/styles/treeview/bootstrap5.css +15 -7
  100. package/styles/treeview/fabric-dark.css +5 -3
  101. package/styles/treeview/fabric.css +5 -3
  102. package/styles/treeview/fluent-dark.css +24 -14
  103. package/styles/treeview/fluent.css +24 -14
  104. package/styles/treeview/fluent2.css +4 -3
  105. package/styles/treeview/highcontrast-light.css +3 -4
  106. package/styles/treeview/highcontrast.css +25 -13
  107. package/styles/treeview/material-dark.css +38 -17
  108. package/styles/treeview/material.css +35 -13
  109. package/styles/treeview/material3-dark.css +4 -4
  110. package/styles/treeview/material3.css +4 -4
  111. package/styles/treeview/tailwind-dark.css +5 -5
  112. package/styles/treeview/tailwind.css +5 -5
  113. package/styles/treeview/tailwind3.css +17 -5
  114. package/dist/ts/accordion/accordion-model.d.ts +0 -285
  115. package/dist/ts/accordion/accordion.d.ts +0 -458
  116. package/dist/ts/accordion/accordion.ts +0 -1580
  117. package/dist/ts/accordion/index.d.ts +0 -5
  118. package/dist/ts/accordion/index.ts +0 -5
  119. package/dist/ts/appbar/appbar-model.d.ts +0 -76
  120. package/dist/ts/appbar/appbar.d.ts +0 -115
  121. package/dist/ts/appbar/appbar.ts +0 -281
  122. package/dist/ts/appbar/index.d.ts +0 -3
  123. package/dist/ts/appbar/index.ts +0 -3
  124. package/dist/ts/breadcrumb/breadcrumb-model.d.ts +0 -170
  125. package/dist/ts/breadcrumb/breadcrumb.d.ts +0 -297
  126. package/dist/ts/breadcrumb/breadcrumb.ts +0 -959
  127. package/dist/ts/breadcrumb/index.d.ts +0 -5
  128. package/dist/ts/breadcrumb/index.ts +0 -5
  129. package/dist/ts/carousel/carousel-model.d.ts +0 -282
  130. package/dist/ts/carousel/carousel.d.ts +0 -439
  131. package/dist/ts/carousel/carousel.ts +0 -1633
  132. package/dist/ts/carousel/index.d.ts +0 -3
  133. package/dist/ts/carousel/index.ts +0 -3
  134. package/dist/ts/common/h-scroll-model.d.ts +0 -16
  135. package/dist/ts/common/h-scroll.d.ts +0 -105
  136. package/dist/ts/common/h-scroll.ts +0 -481
  137. package/dist/ts/common/index.d.ts +0 -9
  138. package/dist/ts/common/index.ts +0 -10
  139. package/dist/ts/common/menu-base-model.d.ts +0 -308
  140. package/dist/ts/common/menu-base.d.ts +0 -558
  141. package/dist/ts/common/menu-base.ts +0 -2736
  142. package/dist/ts/common/menu-scroll.d.ts +0 -29
  143. package/dist/ts/common/menu-scroll.ts +0 -105
  144. package/dist/ts/common/v-scroll-model.d.ts +0 -16
  145. package/dist/ts/common/v-scroll.d.ts +0 -106
  146. package/dist/ts/common/v-scroll.ts +0 -454
  147. package/dist/ts/context-menu/context-menu-model.d.ts +0 -47
  148. package/dist/ts/context-menu/context-menu.d.ts +0 -102
  149. package/dist/ts/context-menu/context-menu.ts +0 -165
  150. package/dist/ts/context-menu/index.d.ts +0 -5
  151. package/dist/ts/context-menu/index.ts +0 -5
  152. package/dist/ts/index.d.ts +0 -16
  153. package/dist/ts/index.ts +0 -16
  154. package/dist/ts/menu/index.d.ts +0 -5
  155. package/dist/ts/menu/index.ts +0 -5
  156. package/dist/ts/menu/menu-model.d.ts +0 -70
  157. package/dist/ts/menu/menu.d.ts +0 -127
  158. package/dist/ts/menu/menu.ts +0 -313
  159. package/dist/ts/sidebar/index.d.ts +0 -5
  160. package/dist/ts/sidebar/index.ts +0 -5
  161. package/dist/ts/sidebar/sidebar-model.d.ts +0 -200
  162. package/dist/ts/sidebar/sidebar.d.ts +0 -336
  163. package/dist/ts/sidebar/sidebar.ts +0 -907
  164. package/dist/ts/stepper/index.d.ts +0 -3
  165. package/dist/ts/stepper/index.ts +0 -3
  166. package/dist/ts/stepper/stepper-model.d.ts +0 -159
  167. package/dist/ts/stepper/stepper.d.ts +0 -381
  168. package/dist/ts/stepper/stepper.ts +0 -1350
  169. package/dist/ts/stepper-base/index.d.ts +0 -5
  170. package/dist/ts/stepper-base/index.ts +0 -6
  171. package/dist/ts/stepper-base/stepper-base-model.d.ts +0 -124
  172. package/dist/ts/stepper-base/stepper-base.d.ts +0 -187
  173. package/dist/ts/stepper-base/stepper-base.ts +0 -290
  174. package/dist/ts/tab/index.d.ts +0 -5
  175. package/dist/ts/tab/index.ts +0 -5
  176. package/dist/ts/tab/tab-model.d.ts +0 -408
  177. package/dist/ts/tab/tab.d.ts +0 -715
  178. package/dist/ts/tab/tab.ts +0 -2842
  179. package/dist/ts/toolbar/index.d.ts +0 -5
  180. package/dist/ts/toolbar/index.ts +0 -5
  181. package/dist/ts/toolbar/toolbar-model.d.ts +0 -294
  182. package/dist/ts/toolbar/toolbar.d.ts +0 -541
  183. package/dist/ts/toolbar/toolbar.ts +0 -2646
  184. package/dist/ts/treeview/index.d.ts +0 -5
  185. package/dist/ts/treeview/index.ts +0 -5
  186. package/dist/ts/treeview/treeview-model.d.ts +0 -637
  187. package/dist/ts/treeview/treeview.d.ts +0 -1518
  188. package/dist/ts/treeview/treeview.ts +0 -6780
@@ -1,458 +0,0 @@
1
- import { Component, EmitType } from '@syncfusion/ej2-base';
2
- import { BaseEventArgs, Effect } from '@syncfusion/ej2-base';
3
- import { INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';
4
- import { AccordionModel, AccordionItemModel, AccordionAnimationSettingsModel, AccordionActionSettingsModel } from './accordion-model';
5
- /**
6
- * Specifies the option to expand single or multiple panel at a time.
7
- * ```props
8
- * Single :- Only one Accordion item can be expanded at a time.
9
- * Multiple :- Multiple Accordion items can be expanded simultaneously.
10
- * ```
11
- */
12
- export declare type ExpandMode = 'Single' | 'Multiple';
13
- /** An interface that holds options to control the accordion click action. */
14
- export interface AccordionClickArgs extends BaseEventArgs {
15
- /** Defines the current Accordion Item Object. */
16
- item?: AccordionItemModel;
17
- /**
18
- * Defines the current Event arguments.
19
- */
20
- originalEvent?: Event;
21
- /**
22
- * Defines whether to cancel the Accordion click action.
23
- * When set to `true`, the default click behavior will be prevented,
24
- * preventing any action associated with the Accordion item click (such as expanding or collapsing the item).
25
- * When set to `false` or omitted, the default click behavior will proceed as normal.
26
- */
27
- cancel?: boolean;
28
- }
29
- /** An interface that holds options to control the expanding item action. */
30
- export interface ExpandEventArgs extends BaseEventArgs {
31
- /** Defines the current Accordion Item Object. */
32
- item?: AccordionItemModel;
33
- /** Defines the current Accordion Item Element. */
34
- element?: HTMLElement;
35
- /** Defines the expand/collapse state. */
36
- isExpanded?: boolean;
37
- /** Defines the prevent action. */
38
- cancel?: boolean;
39
- /** Defines the Accordion Item Index */
40
- index?: number;
41
- /** Defines the Accordion Item Content */
42
- content?: HTMLElement;
43
- }
44
- /** An interface that holds options to control the expanded item action. */
45
- export interface ExpandedEventArgs extends BaseEventArgs {
46
- /** Defines the current Accordion Item Object. */
47
- item?: AccordionItemModel;
48
- /** Defines the current Accordion Item Element. */
49
- element?: HTMLElement;
50
- /** Defines the expand/collapse state. */
51
- isExpanded?: boolean;
52
- /** Defines the Accordion Item Index */
53
- index?: number;
54
- /** Defines the Accordion Item Content */
55
- content?: HTMLElement;
56
- }
57
- /**
58
- * Objects used for configuring the Accordion expanding item action properties.
59
- */
60
- export declare class AccordionActionSettings extends ChildProperty<AccordionActionSettings> {
61
- /**
62
- * Specifies the type of animation.
63
- *
64
- * @default 'SlideDown'
65
- * @aspType string
66
- */
67
- effect: 'None' | Effect;
68
- /**
69
- * Specifies the duration to animate.
70
- *
71
- * @default 400
72
- */
73
- duration: number;
74
- /**
75
- * Specifies the animation timing function.
76
- *
77
- * @default 'linear'
78
- */
79
- easing: string;
80
- }
81
- /**
82
- * Objects used for configuring the Accordion animation properties.
83
- */
84
- export declare class AccordionAnimationSettings extends ChildProperty<AccordionAnimationSettings> {
85
- /**
86
- * Specifies the animation to appear while collapsing the Accordion item.
87
- *
88
- * @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
89
- */
90
- collapse: AccordionActionSettingsModel;
91
- /**
92
- * Specifies the animation to appear while expanding the Accordion item.
93
- *
94
- * @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
95
- */
96
- expand: AccordionActionSettingsModel;
97
- }
98
- /**
99
- * An item object that is used to configure Accordion items.
100
- */
101
- export declare class AccordionItem extends ChildProperty<AccordionItem> {
102
- /**
103
- * Sets the text content to be displayed for the Accordion item.
104
- * You can set the content of the Accordion item using `content` property.
105
- * It also supports to include the title as `HTML element`, `string`, or `query selector`.
106
- * ```typescript
107
- * let accordionObj: Accordion = new Accordion( {
108
- * items: [
109
- * { header: 'Accordion Header', content: 'Accordion Content' },
110
- * { header: '<div>Accordion Header</div>', content: '<div>Accordion Content</div>' },
111
- * { header: '#headerContent', content: '#panelContent' }]
112
- * });
113
- * accordionObj.appendTo('#accordion');
114
- * ```
115
- *
116
- * @default null
117
- */
118
- content: string;
119
- /**
120
- * Sets the header text to be displayed for the Accordion item.
121
- * You can set the title of the Accordion item using `header` property.
122
- * It also supports to include the title as `HTML element`, `string`, or `query selector`.
123
- * ```typescript
124
- * let accordionObj: Accordion = new Accordion( {
125
- * items: [
126
- * { header: 'Accordion Header', content: 'Accordion Content' },
127
- * { header: '<div>Accordion Header</div>', content: '<div>Accordion Content</div>' },
128
- * { header: '#headerContent', content: '#panelContent' }]
129
- * });
130
- * accordionObj.appendTo('#accordion');
131
- * ```
132
- *
133
- * @default null
134
- */
135
- header: string;
136
- /**
137
- * Defines single/multiple classes (separated by a space) are to be used for Accordion item customization.
138
- *
139
- * @default null
140
- */
141
- cssClass: string;
142
- /**
143
- * Defines an icon with the given custom CSS class that is to be rendered before the header text.
144
- * Add the css classes to the `iconCss` property and write the css styles to the defined class to set images/icons.
145
- * Adding icon is applicable only to the header.
146
- * ```typescript
147
- * let accordionObj: Accordion = new Accordion( {
148
- * items: [
149
- * { header: 'Accordion Header', iconCss: 'e-app-icon' }]
150
- * });
151
- * accordionObj.appendTo('#accordion');
152
- * ```
153
- * ```css
154
- * .e-app-icon::before {
155
- * content: "\e710";
156
- * }
157
- * ```
158
- *
159
- * @default null
160
- */
161
- iconCss: string;
162
- /**
163
- * Sets the expand (true) or collapse (false) state of the Accordion item. By default, all the items are in a collapsed state.
164
- *
165
- * @default false
166
- */
167
- expanded: boolean;
168
- /**
169
- * Sets false to hide an accordion item.
170
- *
171
- * @default true
172
- */
173
- visible: boolean;
174
- /**
175
- * Sets true to disable an accordion item.
176
- *
177
- * @default false
178
- */
179
- disabled: boolean;
180
- /**
181
- * Sets unique ID to accordion item.
182
- *
183
- * @default null
184
- */
185
- id: string;
186
- }
187
- /**
188
- * The Accordion is a vertically collapsible content panel that displays one or more panels at a time within the available space.
189
- * ```html
190
- * <div id='accordion'/>
191
- * <script>
192
- * var accordionObj = new Accordion();
193
- * accordionObj.appendTo('#accordion');
194
- * </script>
195
- * ```
196
- */
197
- export declare class Accordion extends Component<HTMLElement> implements INotifyPropertyChanged {
198
- private lastActiveItemId;
199
- private trgtEle;
200
- private ctrlTem;
201
- private keyModule;
202
- private initExpand;
203
- private isNested;
204
- private isDestroy;
205
- private templateEle;
206
- private headerTemplateFn;
207
- private itemTemplateFn;
208
- private removeRippleEffect;
209
- /**
210
- * Contains the keyboard configuration of the Accordion.
211
- */
212
- private keyConfigs;
213
- /**
214
- * An array of item that is used to specify Accordion items.
215
- * ```typescript
216
- * let accordionObj: Accordion = new Accordion( {
217
- * items: [
218
- * { header: 'Accordion Header', content: 'Accordion Content' }]
219
- * });
220
- * accordionObj.appendTo('#accordion');
221
- * ```
222
- *
223
- * @default []
224
- */
225
- items: AccordionItemModel[];
226
- /**
227
- * Specifies the datasource for the accordion items.
228
- *
229
- * @isdatamanager false
230
- * @default []
231
- */
232
- dataSource: Object[];
233
- /**
234
- * Specifies the template option for accordion items.
235
- *
236
- * @default null
237
- * @angularType string | object
238
- * @reactType string | function | JSX.Element
239
- * @vueType string | function
240
- * @aspType string
241
- */
242
- itemTemplate: string | Function;
243
- /**
244
- * Specifies the header title template option for accordion items.
245
- *
246
- * @default null
247
- * @angularType string | object
248
- * @reactType string | function | JSX.Element
249
- * @vueType string | function
250
- * @aspType string
251
- */
252
- headerTemplate: string | Function;
253
- /**
254
- * Specifies the width of the Accordion in pixels/number/percentage. Number value is considered as pixels.
255
- *
256
- * @default '100%'
257
- */
258
- width: string | number;
259
- /**
260
- * Specifies the height of the Accordion in pixels/number/percentage. Number value is considered as pixels.
261
- *
262
- * @default 'auto'
263
- */
264
- height: string | number;
265
- /**
266
- * Specifies the expanded items at initial load.
267
- *
268
- * @default []
269
- */
270
- expandedIndices: number[];
271
- /**
272
- * Specifies the options to expand single or multiple panel at a time.
273
- * The possible values are:
274
- * * `Single`: Sets to expand only one Accordion item at a time.
275
- * * `Multiple`: Sets to expand more than one Accordion item at a time.
276
- *
277
- * @default 'Multiple'
278
- */
279
- expandMode: ExpandMode;
280
- /**
281
- * Specifies whether to enable the rendering of untrusted HTML values in the Accordion component.
282
- * When this property is enabled, the component will sanitize any suspected untrusted strings and scripts before rendering them.
283
- *
284
- * @default true
285
- */
286
- enableHtmlSanitizer: boolean;
287
- /**
288
- * Specifies the animation configuration settings for expanding and collapsing the panel.
289
- *
290
- * @default { expand: { effect: 'SlideDown', duration: 400, easing: 'linear' },
291
- * collapse: { effect: 'SlideUp', duration: 400, easing: 'linear' }}
292
- */
293
- animation: AccordionAnimationSettingsModel;
294
- /**
295
- * The event will be fired while clicking anywhere within the Accordion.
296
- *
297
- * @event clicked
298
- */
299
- clicked: EmitType<AccordionClickArgs>;
300
- /**
301
- * The event will be fired before the item gets collapsed/expanded.
302
- *
303
- * @event expanding
304
- */
305
- expanding: EmitType<ExpandEventArgs>;
306
- /**
307
- * The event will be fired after the item gets collapsed/expanded.
308
- *
309
- * @event expanded
310
- */
311
- expanded: EmitType<ExpandedEventArgs>;
312
- /**
313
- * The event will be fired once the control rendering is completed.
314
- *
315
- * @event created
316
- */
317
- created: EmitType<Event>;
318
- /**
319
- * The event will be fired when the control gets destroyed.
320
- *
321
- * @event destroyed
322
- */
323
- destroyed: EmitType<Event>;
324
- /**
325
- * Initializes a new instance of the Accordion class.
326
- *
327
- * @param {AccordionModel} options - Specifies Accordion model properties as options.
328
- * @param {string | HTMLElement} element - Specifies the element that is rendered as an Accordion.
329
- */
330
- constructor(options?: AccordionModel, element?: string | HTMLElement);
331
- /**
332
- * Removes the control from the DOM and also removes all its related events.
333
- *
334
- * @returns {void}
335
- */
336
- destroy(): void;
337
- protected preRender(): void;
338
- private add;
339
- private remove;
340
- /**
341
- * To initialize the control rendering
342
- *
343
- * @private
344
- * @returns {void}
345
- */
346
- protected render(): void;
347
- private initialize;
348
- private renderControl;
349
- private wireFocusEvents;
350
- private unWireEvents;
351
- private wireEvents;
352
- private templateParser;
353
- private initializeHeaderTemplate;
354
- private initializeItemTemplate;
355
- private getHeaderTemplate;
356
- private getItemTemplate;
357
- private focusIn;
358
- private focusOut;
359
- private ctrlTemplate;
360
- private toggleIconGenerate;
361
- private initItemExpand;
362
- private renderItems;
363
- private clickHandler;
364
- private afterContentRender;
365
- private eleMoveFocus;
366
- private keyActionHandler;
367
- private headerEleGenerate;
368
- private renderInnerItem;
369
- private angularnativeCondiCheck;
370
- private fetchElement;
371
- private ariaAttrUpdate;
372
- private contentRendering;
373
- private expand;
374
- private expandAnimation;
375
- private expandProgress;
376
- private expandedItemsPush;
377
- private getIndexByItem;
378
- private getItemElements;
379
- private expandedItemsPop;
380
- private collapse;
381
- private collapseAnimation;
382
- private collapseProgress;
383
- /**
384
- * Returns the current module name.
385
- *
386
- * @returns {string} - It returns the current module name.
387
- * @private
388
- */
389
- protected getModuleName(): string;
390
- private getItems;
391
- /**
392
- * Adds new item to the Accordion with the specified index of the Accordion.
393
- *
394
- * @param {AccordionItemModel | AccordionItemModel[] | Object | Object[]} item - Item array that is to be added to the Accordion.
395
- * @param {number} index - Number value that determines where the item should be added.
396
- * By default, item is added at the last index if the index is not specified.
397
- * @returns {void}
398
- */
399
- addItem(item: AccordionItemModel | AccordionItemModel[] | Object | Object[], index?: number): void;
400
- private expandedItemRefresh;
401
- /**
402
- * Dynamically removes item from Accordion.
403
- *
404
- * @param {number} index - Number value that determines which item should be removed.
405
- * @returns {void}.
406
- */
407
- removeItem(index: number): void;
408
- /**
409
- * Sets focus to the specified index item header in Accordion.
410
- *
411
- * @param {number} index - Number value that determines which item should be focused.
412
- * @returns {void}.
413
- */
414
- select(index: number): void;
415
- /**
416
- * Shows or hides the specified item from Accordion.
417
- *
418
- * @param {number} index - Number value that determines which item should be hidden/shown.
419
- * @param {boolean} isHidden - Boolean value that determines the action either hide (true) or show (false). Default value is false.
420
- * If the `isHidden` value is false, the item is shown or else item it is hidden.
421
- * @returns {void}.
422
- */
423
- hideItem(index: number, isHidden?: boolean): void;
424
- /**
425
- * Enables/Disables the specified Accordion item.
426
- *
427
- * @param {number} index - Number value that determines which item should be enabled/disabled.
428
- * @param {boolean} isEnable - Boolean value that determines the action as enable (true) or disable (false).
429
- * If the `isEnable` value is true, the item is enabled or else it is disabled.
430
- * @returns {void}.
431
- */
432
- enableItem(index: number, isEnable: boolean): void;
433
- /**
434
- * Expands/Collapses the specified Accordion item.
435
- *
436
- * @param {boolean} isExpand - Boolean value that determines the action as expand or collapse.
437
- * @param {number} index - Number value that determines which item should be expanded/collapsed.`index` is optional parameter.
438
- * Without Specifying index, based on the `isExpand` value all Accordion item can be expanded or collapsed.
439
- * @returns {void}.
440
- */
441
- expandItem(isExpand: boolean, index?: number): void;
442
- private itemExpand;
443
- private destroyItems;
444
- private restoreContent;
445
- private updateItem;
446
- private setTemplate;
447
- private clearAccordionTemplate;
448
- protected getPersistData(): string;
449
- /**
450
- * Gets called when the model property changes.The data that describes the old and new values of the property that changed.
451
- *
452
- * @param {AccordionModel} newProp - It contains the new value of data.
453
- * @param {AccordionModel} oldProp - It contains the old value of data.
454
- * @returns {void}
455
- * @private
456
- */
457
- onPropertyChanged(newProp: AccordionModel, oldProp: AccordionModel): void;
458
- }