@syncfusion/ej2-dropdowns 18.2.44-4568 → 18.2.44-4569

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 (169) hide show
  1. package/.eslintrc.json +244 -0
  2. package/CHANGELOG.md +1524 -1524
  3. package/README.md +118 -118
  4. package/dist/ej2-dropdowns.umd.min.js +1 -1
  5. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-dropdowns.es2015.js +99 -60
  7. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  8. package/dist/es6/ej2-dropdowns.es5.js +191 -151
  9. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  10. package/dist/global/ej2-dropdowns.min.js +1 -1
  11. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  12. package/dist/ts/auto-complete/auto-complete.ts +527 -0
  13. package/dist/ts/combo-box/combo-box.ts +957 -0
  14. package/dist/ts/common/highlight-search.ts +47 -0
  15. package/dist/ts/common/incremental-search.ts +81 -0
  16. package/dist/ts/drop-down-base/drop-down-base.ts +1572 -0
  17. package/dist/ts/drop-down-list/drop-down-list.ts +2993 -0
  18. package/dist/ts/drop-down-tree/drop-down-tree.ts +3066 -0
  19. package/dist/ts/list-box/list-box.ts +2317 -0
  20. package/dist/ts/multi-select/checkbox-selection.ts +528 -0
  21. package/dist/ts/multi-select/float-label.ts +155 -0
  22. package/dist/ts/multi-select/interface.ts +66 -0
  23. package/dist/ts/multi-select/multi-select.ts +4216 -0
  24. package/helpers/e2e/index.js +3 -3
  25. package/license +2 -2
  26. package/package.json +77 -78
  27. package/src/auto-complete/auto-complete-model.d.ts +179 -179
  28. package/src/auto-complete/auto-complete.js +19 -19
  29. package/src/combo-box/combo-box-model.d.ts +212 -212
  30. package/src/combo-box/combo-box.js +19 -19
  31. package/src/drop-down-base/drop-down-base-model.d.ts +191 -191
  32. package/src/drop-down-base/drop-down-base.js +19 -19
  33. package/src/drop-down-list/drop-down-list-model.d.ts +222 -222
  34. package/src/drop-down-list/drop-down-list.js +19 -19
  35. package/src/drop-down-tree/drop-down-tree-model.d.ts +344 -344
  36. package/src/drop-down-tree/drop-down-tree.js +19 -19
  37. package/src/list-box/list-box-model.d.ts +156 -156
  38. package/src/list-box/list-box.js +19 -19
  39. package/src/multi-select/multi-select-model.d.ts +452 -452
  40. package/src/multi-select/multi-select.d.ts +2 -0
  41. package/src/multi-select/multi-select.js +73 -36
  42. package/styles/_all.scss +3 -3
  43. package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
  44. package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
  45. package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
  46. package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
  47. package/styles/auto-complete/_material-dark-definition.scss +2 -2
  48. package/styles/bootstrap-dark.css +13 -16
  49. package/styles/bootstrap.css +12 -15
  50. package/styles/bootstrap4.css +6 -10
  51. package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
  52. package/styles/combo-box/_bootstrap4-definition.scss +11 -11
  53. package/styles/combo-box/_fabric-dark-definition.scss +2 -2
  54. package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
  55. package/styles/combo-box/_material-dark-definition.scss +2 -2
  56. package/styles/drop-down-base/_all.scss +2 -2
  57. package/styles/drop-down-base/_bootstrap-dark-definition.scss +64 -64
  58. package/styles/drop-down-base/_bootstrap-definition.scss +64 -64
  59. package/styles/drop-down-base/_bootstrap4-definition.scss +78 -78
  60. package/styles/drop-down-base/_definition.scss +23 -23
  61. package/styles/drop-down-base/_fabric-dark-definition.scss +68 -68
  62. package/styles/drop-down-base/_fabric-definition.scss +66 -66
  63. package/styles/drop-down-base/_highcontrast-definition.scss +82 -82
  64. package/styles/drop-down-base/_highcontrast-light-definition.scss +81 -81
  65. package/styles/drop-down-base/_layout.scss +108 -108
  66. package/styles/drop-down-base/_material-dark-definition.scss +67 -67
  67. package/styles/drop-down-base/_material-definition.scss +65 -65
  68. package/styles/drop-down-base/_theme.scss +242 -242
  69. package/styles/drop-down-list/_all.scss +2 -2
  70. package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
  71. package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
  72. package/styles/drop-down-list/_bootstrap4-definition.scss +184 -184
  73. package/styles/drop-down-list/_fabric-dark-definition.scss +127 -127
  74. package/styles/drop-down-list/_fabric-definition.scss +122 -122
  75. package/styles/drop-down-list/_highcontrast-definition.scss +131 -131
  76. package/styles/drop-down-list/_highcontrast-light-definition.scss +133 -133
  77. package/styles/drop-down-list/_layout.scss +218 -218
  78. package/styles/drop-down-list/_material-dark-definition.scss +143 -143
  79. package/styles/drop-down-list/_material-definition.scss +166 -166
  80. package/styles/drop-down-list/_theme.scss +10 -10
  81. package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
  82. package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
  83. package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
  84. package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
  85. package/styles/drop-down-list/icons/_fabric.scss +14 -14
  86. package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
  87. package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
  88. package/styles/drop-down-list/icons/_material-dark.scss +14 -14
  89. package/styles/drop-down-list/icons/_material.scss +14 -14
  90. package/styles/drop-down-list/material.css +9 -0
  91. package/styles/drop-down-tree/_all.scss +2 -2
  92. package/styles/drop-down-tree/_bootstrap-dark-definition.scss +61 -61
  93. package/styles/drop-down-tree/_bootstrap-definition.scss +61 -61
  94. package/styles/drop-down-tree/_bootstrap4-definition.scss +62 -62
  95. package/styles/drop-down-tree/_fabric-dark-definition.scss +62 -62
  96. package/styles/drop-down-tree/_fabric-definition.scss +62 -62
  97. package/styles/drop-down-tree/_highcontrast-definition.scss +62 -62
  98. package/styles/drop-down-tree/_highcontrast-light-definition.scss +62 -62
  99. package/styles/drop-down-tree/_layout.scss +437 -437
  100. package/styles/drop-down-tree/_material-dark-definition.scss +60 -60
  101. package/styles/drop-down-tree/_material-definition.scss +60 -60
  102. package/styles/drop-down-tree/_theme.scss +68 -68
  103. package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
  104. package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
  105. package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
  106. package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
  107. package/styles/drop-down-tree/icons/_fabric.scss +11 -11
  108. package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
  109. package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
  110. package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
  111. package/styles/drop-down-tree/icons/_material.scss +11 -11
  112. package/styles/drop-down-tree/material.css +9 -0
  113. package/styles/fabric-dark.css +2 -5
  114. package/styles/fabric.css +1 -4
  115. package/styles/highcontrast-light.css +2 -5
  116. package/styles/highcontrast.css +2 -7
  117. package/styles/list-box/_all.scss +2 -2
  118. package/styles/list-box/_bootstrap-dark-definition.scss +118 -118
  119. package/styles/list-box/_bootstrap-definition.scss +112 -112
  120. package/styles/list-box/_bootstrap4-definition.scss +118 -118
  121. package/styles/list-box/_fabric-dark-definition.scss +118 -118
  122. package/styles/list-box/_fabric-definition.scss +112 -112
  123. package/styles/list-box/_highcontrast-definition.scss +112 -112
  124. package/styles/list-box/_highcontrast-light-definition.scss +118 -118
  125. package/styles/list-box/_layout.scss +458 -458
  126. package/styles/list-box/_material-dark-definition.scss +118 -118
  127. package/styles/list-box/_material-definition.scss +112 -112
  128. package/styles/list-box/_theme.scss +273 -273
  129. package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
  130. package/styles/list-box/icons/_bootstrap.scss +25 -25
  131. package/styles/list-box/icons/_bootstrap4.scss +25 -25
  132. package/styles/list-box/icons/_fabric-dark.scss +25 -25
  133. package/styles/list-box/icons/_fabric.scss +25 -25
  134. package/styles/list-box/icons/_highcontrast-light.scss +25 -25
  135. package/styles/list-box/icons/_highcontrast.scss +25 -25
  136. package/styles/list-box/icons/_material-dark.scss +25 -25
  137. package/styles/list-box/icons/_material.scss +25 -25
  138. package/styles/material-dark.css +8 -11
  139. package/styles/material.css +34 -10
  140. package/styles/multi-select/_all.scss +2 -2
  141. package/styles/multi-select/_bootstrap-dark-definition.scss +171 -171
  142. package/styles/multi-select/_bootstrap-definition.scss +166 -166
  143. package/styles/multi-select/_bootstrap4-definition.scss +233 -233
  144. package/styles/multi-select/_fabric-dark-definition.scss +170 -170
  145. package/styles/multi-select/_fabric-definition.scss +167 -167
  146. package/styles/multi-select/_highcontrast-definition.scss +257 -259
  147. package/styles/multi-select/_highcontrast-light-definition.scss +258 -258
  148. package/styles/multi-select/_layout.scss +1153 -1153
  149. package/styles/multi-select/_material-dark-definition.scss +186 -186
  150. package/styles/multi-select/_material-definition.scss +191 -191
  151. package/styles/multi-select/_theme.scss +384 -389
  152. package/styles/multi-select/bootstrap-dark.css +13 -16
  153. package/styles/multi-select/bootstrap.css +12 -15
  154. package/styles/multi-select/bootstrap4.css +6 -10
  155. package/styles/multi-select/fabric-dark.css +2 -5
  156. package/styles/multi-select/fabric.css +1 -4
  157. package/styles/multi-select/highcontrast-light.css +2 -5
  158. package/styles/multi-select/highcontrast.css +2 -7
  159. package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
  160. package/styles/multi-select/icons/_bootstrap.scss +26 -26
  161. package/styles/multi-select/icons/_bootstrap4.scss +37 -37
  162. package/styles/multi-select/icons/_fabric-dark.scss +26 -26
  163. package/styles/multi-select/icons/_fabric.scss +26 -26
  164. package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
  165. package/styles/multi-select/icons/_highcontrast.scss +26 -26
  166. package/styles/multi-select/icons/_material-dark.scss +26 -26
  167. package/styles/multi-select/icons/_material.scss +324 -324
  168. package/styles/multi-select/material-dark.css +8 -11
  169. package/styles/multi-select/material.css +16 -10
@@ -1,458 +1,458 @@
1
- @include export-module('listbox-layout') {
2
- // sass-lint:disable no-vendor-prefixes
3
- #{&}.e-listbox-wrapper {
4
- -webkit-overflow-scrolling: touch;
5
- border: $listview-border-size solid;
6
- cursor: pointer;
7
- display: block;
8
- overflow: auto;
9
- position: relative;
10
- user-select: none;
11
- width: 100%;
12
-
13
- * {
14
- box-sizing: border-box;
15
- }
16
-
17
- &:focus {
18
- outline: none;
19
- }
20
-
21
- &.e-disabled {
22
- cursor: default;
23
- pointer-events: none;
24
- }
25
-
26
- &:not(.e-list-template) .e-list-item,
27
- .e-list-nrt,
28
- .e-selectall-parent {
29
- height: $listview-item-height;
30
- line-height: $listview-item-line-height;
31
- padding: $listview-item-padding;
32
- position: relative;
33
- }
34
-
35
- &.e-filter-list {
36
- overflow: inherit;
37
-
38
- & .e-list-parent {
39
- overflow: auto;
40
- }
41
- }
42
-
43
- .e-list-parent {
44
- height: 100%;
45
- min-height: $listview-item-height;
46
- }
47
-
48
- & .e-list-item {
49
- border-bottom: $listview-border-size solid;
50
- outline: none;
51
-
52
- &.e-disabled {
53
- pointer-events: none;
54
- }
55
- }
56
-
57
- .e-disable {
58
- opacity: .7;
59
- }
60
-
61
- & .e-list-parent {
62
- margin: 0;
63
- padding: 0;
64
- }
65
-
66
- & .e-list-header .e-text.header {
67
- display: none;
68
- }
69
-
70
- & .e-icon-back {
71
- margin-top: $listview-icon-back-margin;
72
- }
73
-
74
- & .e-list-header .e-headertemplate-text.nested-header {
75
- display: none;
76
- }
77
-
78
- & .e-list-header {
79
- align-items: center;
80
- border-bottom: 1px solid;
81
- display: flex;
82
- font-weight: $listview-header-font-weight;
83
- height: $listview-header-height;
84
- padding: 0 $listview-header-text-padding;
85
- }
86
-
87
- & .e-has-header > .e-view {
88
- top: 45px;
89
- }
90
-
91
- & .e-but-back {
92
- cursor: pointer;
93
- padding-right: $listview-back-padding-right;
94
- }
95
-
96
- & .e-list-group-item:first-child {
97
- border: 0;
98
- border-bottom: $listview-group-first-border-bottom solid $listview-border-bottom-color;
99
- }
100
-
101
- & .e-list-group-item {
102
- border-bottom: $listview-group-border-bottom solid $listview-border-bottom-color;
103
- border-top: $listview-group-border-top solid;
104
- font-weight: 600;
105
- height: $listview-groupheader-item-height;
106
- line-height: $listview-groupheader-item-line-height;
107
- padding: $listview-item-padding;
108
- }
109
-
110
- & .e-icon-collapsible {
111
- cursor: pointer;
112
- font-size: 12px;
113
- position: absolute;
114
- right: 0%;
115
- top: 50%;
116
- transform: translateY(-50%);
117
- }
118
-
119
- & .e-text-content {
120
- height: 100%;
121
- position: relative;
122
- vertical-align: middle;
123
- }
124
-
125
- & .e-text-content * {
126
- display: inline-block;
127
- vertical-align: middle;
128
- }
129
-
130
- & .e-text-content.e-checkbox .e-list-text {
131
- width: calc(100% - 40px);
132
- }
133
-
134
- & .e-text-content.e-checkbox.e-checkbox-left .e-list-icon + .e-list-text {
135
- width: calc(100% - 90px);
136
- }
137
-
138
- & .e-text-content.e-checkbox.e-checkbox-right .e-list-icon + .e-list-text {
139
- width: calc(100% - 80px);
140
- }
141
-
142
- & .e-list-item.e-checklist.e-has-child {
143
- .e-text-content.e-checkbox.e-checkbox-right {
144
- .e-list-icon + .e-list-text {
145
- width: calc(100% - 92px);
146
- }
147
- }
148
- }
149
-
150
- & .e-checkbox .e-checkbox-left {
151
- margin: $listview-checkbox-left-margin;
152
- }
153
-
154
- & .e-checkbox .e-checkbox-right {
155
- margin: $listview-checkbox-right-margin;
156
- }
157
-
158
- & .e-list-text {
159
- cursor: pointer;
160
- display: inline-block;
161
- overflow: hidden;
162
- text-overflow: ellipsis;
163
- vertical-align: top;
164
- white-space: nowrap;
165
- width: 100%;
166
- }
167
-
168
- & .e-list-icon + .e-list-text {
169
- width: calc(100% - 60px);
170
- }
171
-
172
- & .e-icon-wrapper .e-list-text {
173
- width: calc(100% - 60px);
174
- }
175
-
176
- & .e-icon-wrapper.e-text-content.e-checkbox .e-list-text {
177
- width: calc(100% - 60px);
178
- }
179
-
180
- & .e-list-icon {
181
- height: 30px;
182
- margin-right: $listview-icon-margin-right;
183
- width: 30px;
184
- }
185
-
186
- & .e-content {
187
- overflow: hidden;
188
- position: relative;
189
- }
190
-
191
- & .e-list-header .e-text {
192
- cursor: pointer;
193
- text-indent: 0;
194
- }
195
-
196
- & .e-text .e-headertext {
197
- display: inline-block;
198
- line-height: $listview-header-line-height;
199
- }
200
-
201
- &.e-rtl {
202
- direction: rtl;
203
-
204
- & .e-list-icon {
205
- margin-left: 16px;
206
- margin-right: 0;
207
- }
208
-
209
- & .e-icon-collapsible {
210
- left: 0%;
211
- right: initial;
212
- top: 50%;
213
- transform: translateY(-50%) rotate(180deg);
214
- }
215
-
216
- & .e-list-header .e-text {
217
- cursor: pointer;
218
- }
219
-
220
- & .e-but-back {
221
- transform: rotate(180deg);
222
- }
223
-
224
- & .e-icon-back {
225
- margin-top: $listview-rtl-icon-back-margin;
226
- }
227
-
228
- & .e-checkbox .e-checkbox-left {
229
- margin: $listview-rtl-checkbox-left-margin;
230
- }
231
-
232
- & .e-checkbox .e-checkbox-right {
233
- margin: $listview-rtl-checkbox-right-margin;
234
- }
235
-
236
- .e-checkbox-wrapper {
237
- margin: $listview-rtl-checkbox-left-margin;
238
- }
239
- }
240
-
241
- .e-list-item .e-list-badge {
242
- align-items: center;
243
- background-color: $badge-bgcolor;
244
- border: 1px solid $badge-color;
245
- border-radius: 50%;
246
- color: $badge-color;
247
- display: flex;
248
- font-size: 12px;
249
- height: 22px;
250
- justify-content: center;
251
- position: absolute;
252
- right: -10px;
253
- top: -10px;
254
- width: 22px;
255
- }
256
-
257
- .e-checkbox-wrapper {
258
- margin: $listview-checkbox-left-margin;
259
- text-indent: 0;
260
- vertical-align: middle;
261
- }
262
-
263
- &.e-right {
264
- .e-checkbox-wrapper {
265
- position: absolute;
266
- right: 0;
267
- top: 30%;
268
- }
269
- }
270
-
271
- .e-input-group {
272
- padding: 4px 8px;
273
- }
274
-
275
- .e-input-focus {
276
- padding: 4px 4px 4px 8px;
277
- }
278
-
279
- .e-hidden-select {
280
- height: 1px;
281
- opacity: 0;
282
- position: absolute;
283
- width: 100%;
284
- }
285
-
286
- .e-placeholder {
287
- background-color: $badge-bgcolor;
288
- display: block;
289
- height: 1px;
290
- }
291
-
292
- .e-sortableclone {
293
- z-index: 10000;
294
-
295
- &.e-ripple {
296
- overflow: visible;
297
- }
298
- }
299
- }
300
-
301
- ejs-listbox {
302
- display: block;
303
- }
304
-
305
- #{&}.e-listboxtool-wrapper {
306
- cursor: pointer;
307
- display: flex;
308
-
309
- * {
310
- box-sizing: border-box;
311
- }
312
-
313
- &.e-disabled {
314
- cursor: default;
315
- pointer-events: none;
316
- }
317
-
318
- .e-listbox-wrapper {
319
- flex: 1;
320
- }
321
-
322
- &.e-right {
323
- .e-listbox-tool {
324
- margin-left: 15px;
325
- }
326
- }
327
-
328
- &.e-left {
329
- .e-listbox-tool {
330
- margin-right: 15px;
331
- }
332
- }
333
-
334
- .e-listbox-tool {
335
- border: 1px solid $listbox-border-color;
336
- overflow: auto;
337
- padding: 8px;
338
-
339
- .e-btn {
340
- display: list-item;
341
- list-style-type: none;
342
- margin-bottom: 10px;
343
- }
344
- }
345
- }
346
-
347
- #{&}.e-rtl.e-listboxtool-wrapper {
348
- &.e-right {
349
- .e-listbox-tool {
350
- margin-right: 15px;
351
- }
352
- }
353
-
354
- &.e-left {
355
- .e-listbox-tool {
356
- margin-left: 15px;
357
- }
358
- }
359
- }
360
-
361
- .e-bigger #{&}.e-listbox-wrapper,
362
- #{&}.e-listbox-wrapper.e-bigger {
363
- @if ($skin-name == 'bootstrap4') {
364
- font-size: 16px;
365
- }
366
-
367
- .e-list-item {
368
- border-bottom: $listview-border-bottom solid $listview-border-bottom-color;
369
- border-left: $listview-border-left solid $listview-border-left-color;
370
- border-right: $listview-border-right solid $listview-border-right-color;
371
- border-top: $listview-border-top solid $listview-border-top-color;
372
- }
373
-
374
- &:not(.e-list-template) .e-list-item,
375
- .e-selectall-parent {
376
- height: $listview-touch-item-height;
377
- line-height: $listview-touch-item-line-height;
378
- position: relative;
379
- @if ($skin-name == 'bootstrap4') {
380
- padding: 12px 20px;
381
- }
382
- }
383
-
384
- .e-list-parent {
385
- min-height: $listview-touch-item-height;
386
- }
387
-
388
- .e-text-content {
389
- font-size: $listview-touch-item-font-size;
390
- }
391
-
392
- .e-list-group-item {
393
- height: $listview-touch-groupheader-height;
394
- line-height: $listview-touch-groupheader-line-height;
395
- @if ($skin-name == 'bootstrap4') {
396
- font-size: 16px;
397
- padding: 12px 20px;
398
- }
399
- }
400
-
401
- .e-list-header {
402
- align-items: center;
403
- display: flex;
404
- font-weight: $listview-touch-header-font-weight;
405
- height: $listview-touch-header-height;
406
- @if ($skin-name == 'bootstrap4') {
407
- font-size: 20px;
408
- line-height: 1.2;
409
- padding: 0 0 0 20px;
410
- }
411
- }
412
-
413
- .e-list-header .e-text.header {
414
- display: none;
415
- }
416
-
417
- .e-list-header .e-headertemplate-text.nested-header {
418
- display: none;
419
- }
420
-
421
- .e-list-header .e-text {
422
- font-size: $listview-touch-header-font-size;
423
- }
424
-
425
- .e-but-back {
426
- @if ($skin-name == 'bootstrap4') {
427
- margin-top: -3px;
428
- padding-right: 12px;
429
- }
430
- }
431
-
432
- .e-list-icon {
433
- @if ($skin-name == 'bootstrap4') {
434
- margin-right: 12px;
435
- }
436
- }
437
-
438
- .e-icon-collapsible {
439
- @if ($skin-name == 'bootstrap4') {
440
- font-size: 12px;
441
- }
442
- }
443
-
444
- .e-checkbox-wrapper {
445
- @if ($skin-name == 'bootstrap4') {
446
- margin: 0 12px 0 0;
447
- }
448
- }
449
-
450
- &.e-rtl {
451
- .e-checkbox-wrapper {
452
- @if ($skin-name == 'bootstrap4') {
453
- margin: 0 0 0 12px;
454
- }
455
- }
456
- }
457
- }
458
- }
1
+ @include export-module('listbox-layout') {
2
+ // sass-lint:disable no-vendor-prefixes
3
+ #{&}.e-listbox-wrapper {
4
+ -webkit-overflow-scrolling: touch;
5
+ border: $listview-border-size solid;
6
+ cursor: pointer;
7
+ display: block;
8
+ overflow: auto;
9
+ position: relative;
10
+ user-select: none;
11
+ width: 100%;
12
+
13
+ * {
14
+ box-sizing: border-box;
15
+ }
16
+
17
+ &:focus {
18
+ outline: none;
19
+ }
20
+
21
+ &.e-disabled {
22
+ cursor: default;
23
+ pointer-events: none;
24
+ }
25
+
26
+ &:not(.e-list-template) .e-list-item,
27
+ .e-list-nrt,
28
+ .e-selectall-parent {
29
+ height: $listview-item-height;
30
+ line-height: $listview-item-line-height;
31
+ padding: $listview-item-padding;
32
+ position: relative;
33
+ }
34
+
35
+ &.e-filter-list {
36
+ overflow: inherit;
37
+
38
+ & .e-list-parent {
39
+ overflow: auto;
40
+ }
41
+ }
42
+
43
+ .e-list-parent {
44
+ height: 100%;
45
+ min-height: $listview-item-height;
46
+ }
47
+
48
+ & .e-list-item {
49
+ border-bottom: $listview-border-size solid;
50
+ outline: none;
51
+
52
+ &.e-disabled {
53
+ pointer-events: none;
54
+ }
55
+ }
56
+
57
+ .e-disable {
58
+ opacity: .7;
59
+ }
60
+
61
+ & .e-list-parent {
62
+ margin: 0;
63
+ padding: 0;
64
+ }
65
+
66
+ & .e-list-header .e-text.header {
67
+ display: none;
68
+ }
69
+
70
+ & .e-icon-back {
71
+ margin-top: $listview-icon-back-margin;
72
+ }
73
+
74
+ & .e-list-header .e-headertemplate-text.nested-header {
75
+ display: none;
76
+ }
77
+
78
+ & .e-list-header {
79
+ align-items: center;
80
+ border-bottom: 1px solid;
81
+ display: flex;
82
+ font-weight: $listview-header-font-weight;
83
+ height: $listview-header-height;
84
+ padding: 0 $listview-header-text-padding;
85
+ }
86
+
87
+ & .e-has-header > .e-view {
88
+ top: 45px;
89
+ }
90
+
91
+ & .e-but-back {
92
+ cursor: pointer;
93
+ padding-right: $listview-back-padding-right;
94
+ }
95
+
96
+ & .e-list-group-item:first-child {
97
+ border: 0;
98
+ border-bottom: $listview-group-first-border-bottom solid $listview-border-bottom-color;
99
+ }
100
+
101
+ & .e-list-group-item {
102
+ border-bottom: $listview-group-border-bottom solid $listview-border-bottom-color;
103
+ border-top: $listview-group-border-top solid;
104
+ font-weight: 600;
105
+ height: $listview-groupheader-item-height;
106
+ line-height: $listview-groupheader-item-line-height;
107
+ padding: $listview-item-padding;
108
+ }
109
+
110
+ & .e-icon-collapsible {
111
+ cursor: pointer;
112
+ font-size: 12px;
113
+ position: absolute;
114
+ right: 0%;
115
+ top: 50%;
116
+ transform: translateY(-50%);
117
+ }
118
+
119
+ & .e-text-content {
120
+ height: 100%;
121
+ position: relative;
122
+ vertical-align: middle;
123
+ }
124
+
125
+ & .e-text-content * {
126
+ display: inline-block;
127
+ vertical-align: middle;
128
+ }
129
+
130
+ & .e-text-content.e-checkbox .e-list-text {
131
+ width: calc(100% - 40px);
132
+ }
133
+
134
+ & .e-text-content.e-checkbox.e-checkbox-left .e-list-icon + .e-list-text {
135
+ width: calc(100% - 90px);
136
+ }
137
+
138
+ & .e-text-content.e-checkbox.e-checkbox-right .e-list-icon + .e-list-text {
139
+ width: calc(100% - 80px);
140
+ }
141
+
142
+ & .e-list-item.e-checklist.e-has-child {
143
+ .e-text-content.e-checkbox.e-checkbox-right {
144
+ .e-list-icon + .e-list-text {
145
+ width: calc(100% - 92px);
146
+ }
147
+ }
148
+ }
149
+
150
+ & .e-checkbox .e-checkbox-left {
151
+ margin: $listview-checkbox-left-margin;
152
+ }
153
+
154
+ & .e-checkbox .e-checkbox-right {
155
+ margin: $listview-checkbox-right-margin;
156
+ }
157
+
158
+ & .e-list-text {
159
+ cursor: pointer;
160
+ display: inline-block;
161
+ overflow: hidden;
162
+ text-overflow: ellipsis;
163
+ vertical-align: top;
164
+ white-space: nowrap;
165
+ width: 100%;
166
+ }
167
+
168
+ & .e-list-icon + .e-list-text {
169
+ width: calc(100% - 60px);
170
+ }
171
+
172
+ & .e-icon-wrapper .e-list-text {
173
+ width: calc(100% - 60px);
174
+ }
175
+
176
+ & .e-icon-wrapper.e-text-content.e-checkbox .e-list-text {
177
+ width: calc(100% - 60px);
178
+ }
179
+
180
+ & .e-list-icon {
181
+ height: 30px;
182
+ margin-right: $listview-icon-margin-right;
183
+ width: 30px;
184
+ }
185
+
186
+ & .e-content {
187
+ overflow: hidden;
188
+ position: relative;
189
+ }
190
+
191
+ & .e-list-header .e-text {
192
+ cursor: pointer;
193
+ text-indent: 0;
194
+ }
195
+
196
+ & .e-text .e-headertext {
197
+ display: inline-block;
198
+ line-height: $listview-header-line-height;
199
+ }
200
+
201
+ &.e-rtl {
202
+ direction: rtl;
203
+
204
+ & .e-list-icon {
205
+ margin-left: 16px;
206
+ margin-right: 0;
207
+ }
208
+
209
+ & .e-icon-collapsible {
210
+ left: 0%;
211
+ right: initial;
212
+ top: 50%;
213
+ transform: translateY(-50%) rotate(180deg);
214
+ }
215
+
216
+ & .e-list-header .e-text {
217
+ cursor: pointer;
218
+ }
219
+
220
+ & .e-but-back {
221
+ transform: rotate(180deg);
222
+ }
223
+
224
+ & .e-icon-back {
225
+ margin-top: $listview-rtl-icon-back-margin;
226
+ }
227
+
228
+ & .e-checkbox .e-checkbox-left {
229
+ margin: $listview-rtl-checkbox-left-margin;
230
+ }
231
+
232
+ & .e-checkbox .e-checkbox-right {
233
+ margin: $listview-rtl-checkbox-right-margin;
234
+ }
235
+
236
+ .e-checkbox-wrapper {
237
+ margin: $listview-rtl-checkbox-left-margin;
238
+ }
239
+ }
240
+
241
+ .e-list-item .e-list-badge {
242
+ align-items: center;
243
+ background-color: $badge-bgcolor;
244
+ border: 1px solid $badge-color;
245
+ border-radius: 50%;
246
+ color: $badge-color;
247
+ display: flex;
248
+ font-size: 12px;
249
+ height: 22px;
250
+ justify-content: center;
251
+ position: absolute;
252
+ right: -10px;
253
+ top: -10px;
254
+ width: 22px;
255
+ }
256
+
257
+ .e-checkbox-wrapper {
258
+ margin: $listview-checkbox-left-margin;
259
+ text-indent: 0;
260
+ vertical-align: middle;
261
+ }
262
+
263
+ &.e-right {
264
+ .e-checkbox-wrapper {
265
+ position: absolute;
266
+ right: 0;
267
+ top: 30%;
268
+ }
269
+ }
270
+
271
+ .e-input-group {
272
+ padding: 4px 8px;
273
+ }
274
+
275
+ .e-input-focus {
276
+ padding: 4px 4px 4px 8px;
277
+ }
278
+
279
+ .e-hidden-select {
280
+ height: 1px;
281
+ opacity: 0;
282
+ position: absolute;
283
+ width: 100%;
284
+ }
285
+
286
+ .e-placeholder {
287
+ background-color: $badge-bgcolor;
288
+ display: block;
289
+ height: 1px;
290
+ }
291
+
292
+ .e-sortableclone {
293
+ z-index: 10000;
294
+
295
+ &.e-ripple {
296
+ overflow: visible;
297
+ }
298
+ }
299
+ }
300
+
301
+ ejs-listbox {
302
+ display: block;
303
+ }
304
+
305
+ #{&}.e-listboxtool-wrapper {
306
+ cursor: pointer;
307
+ display: flex;
308
+
309
+ * {
310
+ box-sizing: border-box;
311
+ }
312
+
313
+ &.e-disabled {
314
+ cursor: default;
315
+ pointer-events: none;
316
+ }
317
+
318
+ .e-listbox-wrapper {
319
+ flex: 1;
320
+ }
321
+
322
+ &.e-right {
323
+ .e-listbox-tool {
324
+ margin-left: 15px;
325
+ }
326
+ }
327
+
328
+ &.e-left {
329
+ .e-listbox-tool {
330
+ margin-right: 15px;
331
+ }
332
+ }
333
+
334
+ .e-listbox-tool {
335
+ border: 1px solid $listbox-border-color;
336
+ overflow: auto;
337
+ padding: 8px;
338
+
339
+ .e-btn {
340
+ display: list-item;
341
+ list-style-type: none;
342
+ margin-bottom: 10px;
343
+ }
344
+ }
345
+ }
346
+
347
+ #{&}.e-rtl.e-listboxtool-wrapper {
348
+ &.e-right {
349
+ .e-listbox-tool {
350
+ margin-right: 15px;
351
+ }
352
+ }
353
+
354
+ &.e-left {
355
+ .e-listbox-tool {
356
+ margin-left: 15px;
357
+ }
358
+ }
359
+ }
360
+
361
+ .e-bigger #{&}.e-listbox-wrapper,
362
+ #{&}.e-listbox-wrapper.e-bigger {
363
+ @if ($skin-name == 'bootstrap4') {
364
+ font-size: 16px;
365
+ }
366
+
367
+ .e-list-item {
368
+ border-bottom: $listview-border-bottom solid $listview-border-bottom-color;
369
+ border-left: $listview-border-left solid $listview-border-left-color;
370
+ border-right: $listview-border-right solid $listview-border-right-color;
371
+ border-top: $listview-border-top solid $listview-border-top-color;
372
+ }
373
+
374
+ &:not(.e-list-template) .e-list-item,
375
+ .e-selectall-parent {
376
+ height: $listview-touch-item-height;
377
+ line-height: $listview-touch-item-line-height;
378
+ position: relative;
379
+ @if ($skin-name == 'bootstrap4') {
380
+ padding: 12px 20px;
381
+ }
382
+ }
383
+
384
+ .e-list-parent {
385
+ min-height: $listview-touch-item-height;
386
+ }
387
+
388
+ .e-text-content {
389
+ font-size: $listview-touch-item-font-size;
390
+ }
391
+
392
+ .e-list-group-item {
393
+ height: $listview-touch-groupheader-height;
394
+ line-height: $listview-touch-groupheader-line-height;
395
+ @if ($skin-name == 'bootstrap4') {
396
+ font-size: 16px;
397
+ padding: 12px 20px;
398
+ }
399
+ }
400
+
401
+ .e-list-header {
402
+ align-items: center;
403
+ display: flex;
404
+ font-weight: $listview-touch-header-font-weight;
405
+ height: $listview-touch-header-height;
406
+ @if ($skin-name == 'bootstrap4') {
407
+ font-size: 20px;
408
+ line-height: 1.2;
409
+ padding: 0 0 0 20px;
410
+ }
411
+ }
412
+
413
+ .e-list-header .e-text.header {
414
+ display: none;
415
+ }
416
+
417
+ .e-list-header .e-headertemplate-text.nested-header {
418
+ display: none;
419
+ }
420
+
421
+ .e-list-header .e-text {
422
+ font-size: $listview-touch-header-font-size;
423
+ }
424
+
425
+ .e-but-back {
426
+ @if ($skin-name == 'bootstrap4') {
427
+ margin-top: -3px;
428
+ padding-right: 12px;
429
+ }
430
+ }
431
+
432
+ .e-list-icon {
433
+ @if ($skin-name == 'bootstrap4') {
434
+ margin-right: 12px;
435
+ }
436
+ }
437
+
438
+ .e-icon-collapsible {
439
+ @if ($skin-name == 'bootstrap4') {
440
+ font-size: 12px;
441
+ }
442
+ }
443
+
444
+ .e-checkbox-wrapper {
445
+ @if ($skin-name == 'bootstrap4') {
446
+ margin: 0 12px 0 0;
447
+ }
448
+ }
449
+
450
+ &.e-rtl {
451
+ .e-checkbox-wrapper {
452
+ @if ($skin-name == 'bootstrap4') {
453
+ margin: 0 0 0 12px;
454
+ }
455
+ }
456
+ }
457
+ }
458
+ }