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

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