@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
|
@@ -144,9 +144,7 @@
|
|
|
144
144
|
list-style: none;
|
|
145
145
|
}
|
|
146
146
|
.e-treeview .e-list-item .e-ul {
|
|
147
|
-
margin: 2px 0 -2px;
|
|
148
147
|
padding: 0 0 0 20px;
|
|
149
|
-
margin: 0;
|
|
150
148
|
}
|
|
151
149
|
.e-treeview .e-list-item.e-disable > .e-text-content,
|
|
152
150
|
.e-treeview .e-list-item.e-disable > .e-fullrow {
|
|
@@ -183,7 +181,6 @@
|
|
|
183
181
|
-ms-user-select: none;
|
|
184
182
|
-webkit-user-select: none;
|
|
185
183
|
user-select: none;
|
|
186
|
-
border: 1px solid;
|
|
187
184
|
cursor: pointer;
|
|
188
185
|
margin: 0;
|
|
189
186
|
padding: 0 0 0 20px;
|
|
@@ -209,7 +206,7 @@
|
|
|
209
206
|
}
|
|
210
207
|
@supports (-webkit-overflow-scrolling: touch) {
|
|
211
208
|
.e-treeview .e-fullrow {
|
|
212
|
-
z-index:
|
|
209
|
+
z-index: 0;
|
|
213
210
|
}
|
|
214
211
|
}
|
|
215
212
|
.e-treeview .e-checkbox-wrapper {
|
|
@@ -250,6 +247,8 @@
|
|
|
250
247
|
}
|
|
251
248
|
.e-treeview .e-list-text .e-input-group .e-input {
|
|
252
249
|
height: 28px;
|
|
250
|
+
padding-top: 6px;
|
|
251
|
+
padding-bottom: 6px;
|
|
253
252
|
}
|
|
254
253
|
.e-treeview .e-navigable-text {
|
|
255
254
|
padding: 0;
|
|
@@ -887,6 +886,7 @@
|
|
|
887
886
|
.e-bigger .e-treeview .e-list-text,
|
|
888
887
|
.e-treeview.e-bigger .e-list-text {
|
|
889
888
|
font-size: 16px;
|
|
889
|
+
padding: 12px;
|
|
890
890
|
}
|
|
891
891
|
.e-bigger .e-treeview .e-icon-collapsible::before,
|
|
892
892
|
.e-bigger .e-treeview .e-icon-expandable::before,
|
|
@@ -108,9 +108,7 @@
|
|
|
108
108
|
list-style: none;
|
|
109
109
|
}
|
|
110
110
|
.e-treeview .e-list-item .e-ul {
|
|
111
|
-
margin: 2px 0 -2px;
|
|
112
111
|
padding: 0 0 0 20px;
|
|
113
|
-
margin: 2px 0 0;
|
|
114
112
|
}
|
|
115
113
|
.e-treeview .e-list-item.e-disable > .e-text-content,
|
|
116
114
|
.e-treeview .e-list-item.e-disable > .e-fullrow {
|
|
@@ -150,7 +148,6 @@
|
|
|
150
148
|
-ms-user-select: none;
|
|
151
149
|
-webkit-user-select: none;
|
|
152
150
|
user-select: none;
|
|
153
|
-
border: 1px solid;
|
|
154
151
|
cursor: pointer;
|
|
155
152
|
margin: 0;
|
|
156
153
|
padding: 0 0 0 20px;
|
|
@@ -175,7 +172,7 @@
|
|
|
175
172
|
}
|
|
176
173
|
@supports (-webkit-overflow-scrolling: touch) {
|
|
177
174
|
.e-treeview .e-fullrow {
|
|
178
|
-
z-index:
|
|
175
|
+
z-index: 0;
|
|
179
176
|
}
|
|
180
177
|
}
|
|
181
178
|
.e-treeview .e-checkbox-wrapper {
|
|
@@ -210,12 +207,15 @@
|
|
|
210
207
|
}
|
|
211
208
|
.e-treeview .e-list-text .e-input-group {
|
|
212
209
|
height: 30px;
|
|
213
|
-
margin-
|
|
210
|
+
margin-top: 4px;
|
|
211
|
+
margin-bottom: 4px;
|
|
214
212
|
min-width: 150px;
|
|
215
213
|
vertical-align: bottom;
|
|
216
214
|
}
|
|
217
215
|
.e-treeview .e-list-text .e-input-group .e-input {
|
|
218
216
|
height: 28px;
|
|
217
|
+
padding-top: 6px;
|
|
218
|
+
padding-bottom: 6px;
|
|
219
219
|
}
|
|
220
220
|
.e-treeview .e-navigable-text {
|
|
221
221
|
padding: 0 8px;
|
|
@@ -108,9 +108,7 @@
|
|
|
108
108
|
list-style: none;
|
|
109
109
|
}
|
|
110
110
|
.e-treeview .e-list-item .e-ul {
|
|
111
|
-
margin: 2px 0 -2px;
|
|
112
111
|
padding: 0 0 0 20px;
|
|
113
|
-
margin: 2px 0 0;
|
|
114
112
|
}
|
|
115
113
|
.e-treeview .e-list-item.e-disable > .e-text-content,
|
|
116
114
|
.e-treeview .e-list-item.e-disable > .e-fullrow {
|
|
@@ -150,7 +148,6 @@
|
|
|
150
148
|
-ms-user-select: none;
|
|
151
149
|
-webkit-user-select: none;
|
|
152
150
|
user-select: none;
|
|
153
|
-
border: 1px solid;
|
|
154
151
|
cursor: pointer;
|
|
155
152
|
margin: 0;
|
|
156
153
|
padding: 0 0 0 20px;
|
|
@@ -175,7 +172,7 @@
|
|
|
175
172
|
}
|
|
176
173
|
@supports (-webkit-overflow-scrolling: touch) {
|
|
177
174
|
.e-treeview .e-fullrow {
|
|
178
|
-
z-index:
|
|
175
|
+
z-index: 0;
|
|
179
176
|
}
|
|
180
177
|
}
|
|
181
178
|
.e-treeview .e-checkbox-wrapper {
|
|
@@ -210,12 +207,15 @@
|
|
|
210
207
|
}
|
|
211
208
|
.e-treeview .e-list-text .e-input-group {
|
|
212
209
|
height: 30px;
|
|
213
|
-
margin-
|
|
210
|
+
margin-top: 4px;
|
|
211
|
+
margin-bottom: 4px;
|
|
214
212
|
min-width: 150px;
|
|
215
213
|
vertical-align: bottom;
|
|
216
214
|
}
|
|
217
215
|
.e-treeview .e-list-text .e-input-group .e-input {
|
|
218
216
|
height: 28px;
|
|
217
|
+
padding-top: 6px;
|
|
218
|
+
padding-bottom: 6px;
|
|
219
219
|
}
|
|
220
220
|
.e-treeview .e-navigable-text {
|
|
221
221
|
padding: 0 8px;
|
|
@@ -128,9 +128,7 @@
|
|
|
128
128
|
list-style: none;
|
|
129
129
|
}
|
|
130
130
|
.e-treeview .e-list-item .e-ul {
|
|
131
|
-
margin: 2px 0 -2px;
|
|
132
131
|
padding: 0 0 0 20px;
|
|
133
|
-
margin: 0;
|
|
134
132
|
}
|
|
135
133
|
.e-treeview .e-list-item.e-disable > .e-text-content,
|
|
136
134
|
.e-treeview .e-list-item.e-disable > .e-fullrow {
|
|
@@ -153,6 +151,10 @@
|
|
|
153
151
|
.e-treeview .e-list-item .e-icons.e-icons-spinner::before {
|
|
154
152
|
content: none;
|
|
155
153
|
}
|
|
154
|
+
.e-treeview .e-list-item .e-text-content .e-list-text:has(> .e-input-group) {
|
|
155
|
+
padding-top: 4px;
|
|
156
|
+
padding-bottom: 4px;
|
|
157
|
+
}
|
|
156
158
|
.e-treeview .e-icons .e-spinner-pane {
|
|
157
159
|
position: relative;
|
|
158
160
|
}
|
|
@@ -167,7 +169,6 @@
|
|
|
167
169
|
-ms-user-select: none;
|
|
168
170
|
-webkit-user-select: none;
|
|
169
171
|
user-select: none;
|
|
170
|
-
border: 1px solid;
|
|
171
172
|
cursor: pointer;
|
|
172
173
|
margin: 0;
|
|
173
174
|
padding: 0 0 0 20px;
|
|
@@ -193,7 +194,7 @@
|
|
|
193
194
|
}
|
|
194
195
|
@supports (-webkit-overflow-scrolling: touch) {
|
|
195
196
|
.e-treeview .e-fullrow {
|
|
196
|
-
z-index:
|
|
197
|
+
z-index: 0;
|
|
197
198
|
}
|
|
198
199
|
}
|
|
199
200
|
.e-treeview .e-checkbox-wrapper {
|
|
@@ -228,13 +229,17 @@
|
|
|
228
229
|
vertical-align: middle;
|
|
229
230
|
}
|
|
230
231
|
.e-treeview .e-list-text .e-input-group {
|
|
231
|
-
height:
|
|
232
|
+
height: 32px;
|
|
232
233
|
margin-bottom: 0;
|
|
233
234
|
min-width: 150px;
|
|
234
235
|
vertical-align: bottom;
|
|
235
236
|
}
|
|
236
237
|
.e-treeview .e-list-text .e-input-group .e-input {
|
|
237
238
|
height: 28px;
|
|
239
|
+
padding-top: 6px;
|
|
240
|
+
padding-bottom: 6px;
|
|
241
|
+
line-height: 20px;
|
|
242
|
+
height: 32px;
|
|
238
243
|
}
|
|
239
244
|
.e-treeview .e-navigable-text {
|
|
240
245
|
padding: 10px 8px;
|
|
@@ -729,6 +734,13 @@
|
|
|
729
734
|
.e-treeview.e-bigger .e-list-text .e-input-group .e-input {
|
|
730
735
|
height: 36px;
|
|
731
736
|
}
|
|
737
|
+
.e-bigger .e-treeview .e-list-text .e-input-group .e-input,
|
|
738
|
+
.e-treeview.e-bigger .e-list-text .e-input-group .e-input {
|
|
739
|
+
height: 40px;
|
|
740
|
+
line-height: 24px;
|
|
741
|
+
padding-top: 8px;
|
|
742
|
+
padding-bottom: 8px;
|
|
743
|
+
}
|
|
732
744
|
.e-bigger .e-treeview .e-checkbox-wrapper,
|
|
733
745
|
.e-treeview.e-bigger .e-checkbox-wrapper {
|
|
734
746
|
margin: 0 0 0 12px;
|
|
@@ -1,285 +0,0 @@
|
|
|
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
|
-
}
|