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