tom-select-rails 2.2.1 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tom-select-rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.complete.js +691 -859
  4. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.complete.js.map +1 -1
  5. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.js +487 -723
  6. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.js.map +1 -1
  7. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.popular.js +512 -743
  8. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.popular.js.map +1 -1
  9. data/vendor/assets/javascripts/tom-select-rails/cjs/utils.js +32 -28
  10. data/vendor/assets/javascripts/tom-select-rails/cjs/utils.js.map +1 -1
  11. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/caret_position/plugin.js +67 -23
  12. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/caret_position/plugin.js.map +1 -1
  13. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/change_listener/plugin.js +4 -3
  14. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/change_listener/plugin.js.map +1 -1
  15. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/checkbox_options/plugin.js +103 -41
  16. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/checkbox_options/plugin.js.map +1 -1
  17. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/clear_button/plugin.js +59 -20
  18. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/clear_button/plugin.js.map +1 -1
  19. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/drag_drop/plugin.js +249 -29
  20. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/drag_drop/plugin.js.map +1 -1
  21. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_header/plugin.js +59 -18
  22. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_header/plugin.js.map +1 -1
  23. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_input/plugin.js +72 -32
  24. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_input/plugin.js.map +1 -1
  25. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/input_autogrow/plugin.js +5 -7
  26. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/input_autogrow/plugin.js.map +1 -1
  27. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_active_items/plugin.js +2 -1
  28. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_active_items/plugin.js.map +1 -1
  29. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_backspace_delete/plugin.js +2 -2
  30. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_backspace_delete/plugin.js.map +1 -1
  31. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/optgroup_columns/plugin.js +59 -22
  32. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/optgroup_columns/plugin.js.map +1 -1
  33. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/remove_button/plugin.js +68 -23
  34. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/remove_button/plugin.js.map +1 -1
  35. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/restore_on_backspace/plugin.js +2 -3
  36. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/restore_on_backspace/plugin.js.map +1 -1
  37. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/virtual_scroll/plugin.js +97 -57
  38. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/virtual_scroll/plugin.js.map +1 -1
  39. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.complete.js +691 -859
  40. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.complete.js.map +1 -1
  41. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.js +487 -723
  42. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.js.map +1 -1
  43. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.popular.js +512 -743
  44. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.popular.js.map +1 -1
  45. data/vendor/assets/javascripts/tom-select-rails/esm/utils.js +32 -27
  46. data/vendor/assets/javascripts/tom-select-rails/esm/utils.js.map +1 -1
  47. data/vendor/assets/javascripts/tom-select-rails/js/plugins/caret_position.js +67 -23
  48. data/vendor/assets/javascripts/tom-select-rails/js/plugins/caret_position.js.map +1 -1
  49. data/vendor/assets/javascripts/tom-select-rails/js/plugins/change_listener.js +4 -3
  50. data/vendor/assets/javascripts/tom-select-rails/js/plugins/change_listener.js.map +1 -1
  51. data/vendor/assets/javascripts/tom-select-rails/js/plugins/checkbox_options.js +103 -41
  52. data/vendor/assets/javascripts/tom-select-rails/js/plugins/checkbox_options.js.map +1 -1
  53. data/vendor/assets/javascripts/tom-select-rails/js/plugins/clear_button.js +59 -20
  54. data/vendor/assets/javascripts/tom-select-rails/js/plugins/clear_button.js.map +1 -1
  55. data/vendor/assets/javascripts/tom-select-rails/js/plugins/drag_drop.js +249 -29
  56. data/vendor/assets/javascripts/tom-select-rails/js/plugins/drag_drop.js.map +1 -1
  57. data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_header.js +59 -18
  58. data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_header.js.map +1 -1
  59. data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_input.js +72 -32
  60. data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_input.js.map +1 -1
  61. data/vendor/assets/javascripts/tom-select-rails/js/plugins/input_autogrow.js +5 -7
  62. data/vendor/assets/javascripts/tom-select-rails/js/plugins/input_autogrow.js.map +1 -1
  63. data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_active_items.js +2 -1
  64. data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_active_items.js.map +1 -1
  65. data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_backspace_delete.js +2 -2
  66. data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_backspace_delete.js.map +1 -1
  67. data/vendor/assets/javascripts/tom-select-rails/js/plugins/optgroup_columns.js +59 -22
  68. data/vendor/assets/javascripts/tom-select-rails/js/plugins/optgroup_columns.js.map +1 -1
  69. data/vendor/assets/javascripts/tom-select-rails/js/plugins/remove_button.js +68 -23
  70. data/vendor/assets/javascripts/tom-select-rails/js/plugins/remove_button.js.map +1 -1
  71. data/vendor/assets/javascripts/tom-select-rails/js/plugins/restore_on_backspace.js +2 -3
  72. data/vendor/assets/javascripts/tom-select-rails/js/plugins/restore_on_backspace.js.map +1 -1
  73. data/vendor/assets/javascripts/tom-select-rails/js/plugins/virtual_scroll.js +97 -57
  74. data/vendor/assets/javascripts/tom-select-rails/js/plugins/virtual_scroll.js.map +1 -1
  75. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.js +487 -723
  76. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.js.map +1 -1
  77. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.min.js +168 -160
  78. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.min.js.map +1 -1
  79. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.js +691 -859
  80. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.js.map +1 -1
  81. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.min.js +208 -190
  82. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.min.js.map +1 -1
  83. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.js +512 -743
  84. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.js.map +1 -1
  85. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.min.js +180 -172
  86. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.min.js.map +1 -1
  87. data/vendor/assets/javascripts/tom-select-rails/types/contrib/microevent.d.ts +1 -1
  88. data/vendor/assets/javascripts/tom-select-rails/types/contrib/microplugin.d.ts +4 -4
  89. data/vendor/assets/javascripts/tom-select-rails/types/defaults.d.ts +1 -0
  90. data/vendor/assets/javascripts/tom-select-rails/types/getSettings.d.ts +2 -2
  91. data/vendor/assets/javascripts/tom-select-rails/types/plugins/checkbox_options/plugin.d.ts +3 -2
  92. data/vendor/assets/javascripts/tom-select-rails/types/plugins/checkbox_options/types.d.ts +14 -0
  93. data/vendor/assets/javascripts/tom-select-rails/types/plugins/clear_button/types.d.ts +1 -1
  94. data/vendor/assets/javascripts/tom-select-rails/types/plugins/dropdown_header/types.d.ts +1 -1
  95. data/vendor/assets/javascripts/tom-select-rails/types/plugins/remove_button/types.d.ts +1 -1
  96. data/vendor/assets/javascripts/tom-select-rails/types/plugins/restore_on_backspace/plugin.d.ts +1 -1
  97. data/vendor/assets/javascripts/tom-select-rails/types/tom-select.d.ts +12 -14
  98. data/vendor/assets/javascripts/tom-select-rails/types/types/core.d.ts +16 -12
  99. data/vendor/assets/javascripts/tom-select-rails/types/types/settings.d.ts +3 -2
  100. data/vendor/assets/javascripts/tom-select-rails/types/utils.d.ts +8 -1
  101. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.css +224 -216
  102. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.css.map +1 -1
  103. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.min.css +1 -1
  104. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.min.css.map +1 -1
  105. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.css +245 -252
  106. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.css.map +1 -1
  107. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.min.css +1 -1
  108. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.min.css.map +1 -1
  109. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.css +213 -210
  110. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.css.map +1 -1
  111. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.css +223 -215
  112. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.css.map +1 -1
  113. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.min.css +1 -1
  114. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.min.css.map +1 -1
  115. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.min.css +1 -1
  116. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.min.css.map +1 -1
  117. data/vendor/assets/stylesheets/tom-select-rails/scss/_dropdown.scss +7 -10
  118. data/vendor/assets/stylesheets/tom-select-rails/scss/_items.scss +2 -5
  119. data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/checkbox_options.scss +8 -2
  120. data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/clear_button.scss +16 -14
  121. data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/drag_drop.scss +6 -12
  122. data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/dropdown_header.scss +3 -2
  123. data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/dropdown_input.scss +7 -11
  124. data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/input_autogrow.scss +0 -3
  125. data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/optgroup_columns.scss +7 -5
  126. data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/remove_button.scss +20 -20
  127. data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.bootstrap4.scss +33 -39
  128. data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.bootstrap5.scss +54 -80
  129. data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.default.scss +16 -14
  130. data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.scss +52 -57
  131. metadata +8 -7
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tom-select.css (v2.2.1)
2
+ * tom-select.css (v2.3.1)
3
3
  * Copyright (c) contributors
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
@@ -12,39 +12,203 @@
12
12
  * governing permissions and limitations under the License.
13
13
  *
14
14
  */
15
- :root {
16
- --ts-pr-clear-button: 0;
17
- --ts-pr-caret: 0;
18
- --ts-pr-min: .75rem;
15
+ .ts-control {
16
+ border: 1px solid #d0d0d0;
17
+ padding: 8px 8px;
18
+ width: 100%;
19
+ overflow: hidden;
20
+ position: relative;
21
+ z-index: 1;
22
+ box-sizing: border-box;
23
+ box-shadow: none;
24
+ border-radius: 3px;
25
+ display: flex;
26
+ flex-wrap: wrap;
19
27
  }
20
-
21
- .ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {
28
+ .ts-wrapper.multi.has-items .ts-control {
29
+ padding: calc(8px - 2px - 0) 8px calc(8px - 2px - 3px - 0);
30
+ }
31
+ .full .ts-control {
32
+ background-color: #fff;
33
+ }
34
+ .disabled .ts-control, .disabled .ts-control * {
35
+ cursor: default !important;
36
+ }
37
+ .focus .ts-control {
38
+ box-shadow: none;
39
+ }
40
+ .ts-control > * {
41
+ vertical-align: baseline;
42
+ display: inline-block;
43
+ }
44
+ .ts-wrapper.multi .ts-control > div {
22
45
  cursor: pointer;
46
+ margin: 0 3px 3px 0;
47
+ padding: 2px 6px;
48
+ background: #f2f2f2;
49
+ color: #303030;
50
+ border: 0 solid #d0d0d0;
51
+ }
52
+ .ts-wrapper.multi .ts-control > div.active {
53
+ background: #e8e8e8;
54
+ color: #303030;
55
+ border: 0 solid #cacaca;
56
+ }
57
+ .ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {
58
+ color: #7d7d7d;
59
+ background: white;
60
+ border: 0 solid white;
61
+ }
62
+ .ts-control > input {
63
+ flex: 1 1 auto;
64
+ min-width: 7rem;
65
+ display: inline-block !important;
66
+ padding: 0 !important;
67
+ min-height: 0 !important;
68
+ max-height: none !important;
69
+ max-width: 100% !important;
70
+ margin: 0 !important;
71
+ text-indent: 0 !important;
72
+ border: 0 none !important;
73
+ background: none !important;
74
+ line-height: inherit !important;
75
+ -webkit-user-select: auto !important;
76
+ -moz-user-select: auto !important;
77
+ -ms-user-select: auto !important;
78
+ user-select: auto !important;
79
+ box-shadow: none !important;
80
+ }
81
+ .ts-control > input::-ms-clear {
82
+ display: none;
83
+ }
84
+ .ts-control > input:focus {
85
+ outline: none !important;
86
+ }
87
+ .has-items .ts-control > input {
88
+ margin: 0 4px !important;
89
+ }
90
+ .ts-control.rtl {
91
+ text-align: right;
92
+ }
93
+ .ts-control.rtl.single .ts-control:after {
94
+ left: 15px;
95
+ right: auto;
96
+ }
97
+ .ts-control.rtl .ts-control > input {
98
+ margin: 0 4px 0 -2px !important;
99
+ }
100
+ .disabled .ts-control {
101
+ opacity: 0.5;
102
+ background-color: #fafafa;
103
+ }
104
+ .input-hidden .ts-control > input {
105
+ opacity: 0;
106
+ position: absolute;
107
+ left: -10000px;
23
108
  }
24
109
 
25
- .ts-control {
26
- padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;
110
+ .ts-dropdown {
111
+ position: absolute;
112
+ top: 100%;
113
+ left: 0;
114
+ width: 100%;
115
+ z-index: 10;
116
+ border: 1px solid #d0d0d0;
117
+ background: #fff;
118
+ margin: 0.25rem 0 0;
119
+ border-top: 0 none;
120
+ box-sizing: border-box;
121
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
122
+ border-radius: 0 0 3px 3px;
123
+ }
124
+ .ts-dropdown [data-selectable] {
125
+ cursor: pointer;
126
+ overflow: hidden;
127
+ }
128
+ .ts-dropdown [data-selectable] .highlight {
129
+ background: rgba(125, 168, 208, 0.2);
130
+ border-radius: 1px;
131
+ }
132
+ .ts-dropdown .option,
133
+ .ts-dropdown .optgroup-header,
134
+ .ts-dropdown .no-results,
135
+ .ts-dropdown .create {
136
+ padding: 5px 8px;
137
+ }
138
+ .ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {
139
+ cursor: inherit;
140
+ opacity: 0.5;
141
+ }
142
+ .ts-dropdown [data-selectable].option {
143
+ opacity: 1;
144
+ cursor: pointer;
145
+ }
146
+ .ts-dropdown .optgroup:first-child .optgroup-header {
147
+ border-top: 0 none;
148
+ }
149
+ .ts-dropdown .optgroup-header {
150
+ color: #303030;
151
+ background: #fff;
152
+ cursor: default;
153
+ }
154
+ .ts-dropdown .active {
155
+ background-color: #f5fafd;
156
+ color: #495c68;
157
+ }
158
+ .ts-dropdown .active.create {
159
+ color: #495c68;
160
+ }
161
+ .ts-dropdown .create {
162
+ color: rgba(48, 48, 48, 0.5);
163
+ }
164
+ .ts-dropdown .spinner {
165
+ display: inline-block;
166
+ width: 30px;
167
+ height: 30px;
168
+ margin: 5px 8px;
169
+ }
170
+ .ts-dropdown .spinner::after {
171
+ content: " ";
172
+ display: block;
173
+ width: 24px;
174
+ height: 24px;
175
+ margin: 3px;
176
+ border-radius: 50%;
177
+ border: 5px solid #d0d0d0;
178
+ border-color: #d0d0d0 transparent #d0d0d0 transparent;
179
+ animation: lds-dual-ring 1.2s linear infinite;
180
+ }
181
+ @keyframes lds-dual-ring {
182
+ 0% {
183
+ transform: rotate(0deg);
184
+ }
185
+ 100% {
186
+ transform: rotate(360deg);
187
+ }
27
188
  }
28
189
 
29
- .ts-wrapper.plugin-drag_drop.multi > .ts-control > div.ui-sortable-placeholder {
30
- visibility: visible !important;
31
- background: #f2f2f2 !important;
32
- background: rgba(0, 0, 0, 0.06) !important;
33
- border: 0 none !important;
34
- box-shadow: inset 0 0 12px 4px #fff;
190
+ .ts-dropdown-content {
191
+ overflow: hidden auto;
192
+ max-height: 200px;
193
+ scroll-behavior: smooth;
35
194
  }
36
- .ts-wrapper.plugin-drag_drop .ui-sortable-placeholder::after {
37
- content: "!";
38
- visibility: hidden;
195
+
196
+ .ts-wrapper.plugin-drag_drop .ts-dragging {
197
+ color: transparent !important;
39
198
  }
40
- .ts-wrapper.plugin-drag_drop .ui-sortable-helper {
41
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
199
+ .ts-wrapper.plugin-drag_drop .ts-dragging > * {
200
+ visibility: hidden !important;
42
201
  }
43
202
 
44
- .plugin-checkbox_options .option input {
203
+ .plugin-checkbox_options:not(.rtl) .option input {
45
204
  margin-right: 0.5rem;
46
205
  }
47
206
 
207
+ .plugin-checkbox_options.rtl .option input {
208
+ margin-left: 0.5rem;
209
+ }
210
+
211
+ /* stylelint-disable function-name-case */
48
212
  .plugin-clear_button {
49
213
  --ts-pr-clear-button: 1em;
50
214
  }
@@ -60,7 +224,7 @@
60
224
  cursor: pointer;
61
225
  }
62
226
  .plugin-clear_button.form-select .clear-button, .plugin-clear_button.single .clear-button {
63
- right: max( var(--ts-pr-caret), 8px);
227
+ right: max(var(--ts-pr-caret), 8px);
64
228
  }
65
229
  .plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button {
66
230
  opacity: 1;
@@ -70,7 +234,7 @@
70
234
  position: relative;
71
235
  padding: 10px 8px;
72
236
  border-bottom: 1px solid #d0d0d0;
73
- background: #f8f8f8;
237
+ background: color-mix(#fff, #d0d0d0, 85%);
74
238
  border-radius: 3px 3px 0 0;
75
239
  }
76
240
  .ts-wrapper .dropdown-header-close {
@@ -93,7 +257,7 @@
93
257
  }
94
258
  .plugin-dropdown_input .dropdown-input {
95
259
  border: 1px solid #d0d0d0;
96
- border-width: 0 0 1px 0;
260
+ border-width: 0 0 1px;
97
261
  display: block;
98
262
  padding: 8px 8px;
99
263
  box-shadow: none;
@@ -136,7 +300,7 @@
136
300
  .ts-dropdown.plugin-optgroup_columns .optgroup:last-child {
137
301
  border-right: 0 none;
138
302
  }
139
- .ts-dropdown.plugin-optgroup_columns .optgroup:before {
303
+ .ts-dropdown.plugin-optgroup_columns .optgroup::before {
140
304
  display: none;
141
305
  }
142
306
  .ts-dropdown.plugin-optgroup_columns .optgroup-header {
@@ -146,7 +310,6 @@
146
310
  .ts-wrapper.plugin-remove_button .item {
147
311
  display: inline-flex;
148
312
  align-items: center;
149
- padding-right: 0 !important;
150
313
  }
151
314
  .ts-wrapper.plugin-remove_button .item .remove {
152
315
  color: inherit;
@@ -170,6 +333,9 @@
170
333
  font-size: 23px;
171
334
  }
172
335
 
336
+ .ts-wrapper.plugin-remove_button:not(.rtl) .item {
337
+ padding-right: 0 !important;
338
+ }
173
339
  .ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {
174
340
  border-left: 1px solid #d0d0d0;
175
341
  margin-left: 6px;
@@ -181,6 +347,9 @@
181
347
  border-left-color: white;
182
348
  }
183
349
 
350
+ .ts-wrapper.plugin-remove_button.rtl .item {
351
+ padding-left: 0 !important;
352
+ }
184
353
  .ts-wrapper.plugin-remove_button.rtl .item .remove {
185
354
  border-right: 1px solid #d0d0d0;
186
355
  margin-right: 6px;
@@ -192,6 +361,24 @@
192
361
  border-right-color: white;
193
362
  }
194
363
 
364
+ :root {
365
+ --ts-pr-clear-button: 0;
366
+ --ts-pr-caret: 0;
367
+ --ts-pr-min: .75rem;
368
+ }
369
+
370
+ .ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {
371
+ cursor: pointer;
372
+ }
373
+
374
+ .ts-control:not(.rtl) {
375
+ padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;
376
+ }
377
+
378
+ .ts-control.rtl {
379
+ padding-left: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;
380
+ }
381
+
195
382
  .ts-wrapper {
196
383
  position: relative;
197
384
  }
@@ -203,7 +390,6 @@
203
390
  font-family: inherit;
204
391
  font-size: 13px;
205
392
  line-height: 18px;
206
- font-smoothing: inherit;
207
393
  }
208
394
 
209
395
  .ts-control,
@@ -212,189 +398,6 @@
212
398
  cursor: text;
213
399
  }
214
400
 
215
- .ts-control {
216
- border: 1px solid #d0d0d0;
217
- padding: 8px 8px;
218
- width: 100%;
219
- overflow: hidden;
220
- position: relative;
221
- z-index: 1;
222
- box-sizing: border-box;
223
- box-shadow: none;
224
- border-radius: 3px;
225
- display: flex;
226
- flex-wrap: wrap;
227
- }
228
- .ts-wrapper.multi.has-items .ts-control {
229
- padding: calc( 8px - 2px - 0px) 8px calc( 8px - 2px - 3px - 0px);
230
- }
231
- .full .ts-control {
232
- background-color: #fff;
233
- }
234
- .disabled .ts-control, .disabled .ts-control * {
235
- cursor: default !important;
236
- }
237
- .focus .ts-control {
238
- box-shadow: none;
239
- }
240
- .ts-control > * {
241
- vertical-align: baseline;
242
- display: inline-block;
243
- }
244
- .ts-wrapper.multi .ts-control > div {
245
- cursor: pointer;
246
- margin: 0 3px 3px 0;
247
- padding: 2px 6px;
248
- background: #f2f2f2;
249
- color: #303030;
250
- border: 0px solid #d0d0d0;
251
- }
252
- .ts-wrapper.multi .ts-control > div.active {
253
- background: #e8e8e8;
254
- color: #303030;
255
- border: 0px solid #cacaca;
256
- }
257
- .ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {
258
- color: #7d7d7d;
259
- background: white;
260
- border: 0px solid white;
261
- }
262
- .ts-control > input {
263
- flex: 1 1 auto;
264
- min-width: 7rem;
265
- display: inline-block !important;
266
- padding: 0 !important;
267
- min-height: 0 !important;
268
- max-height: none !important;
269
- max-width: 100% !important;
270
- margin: 0 !important;
271
- text-indent: 0 !important;
272
- border: 0 none !important;
273
- background: none !important;
274
- line-height: inherit !important;
275
- -webkit-user-select: auto !important;
276
- -moz-user-select: auto !important;
277
- -ms-user-select: auto !important;
278
- user-select: auto !important;
279
- box-shadow: none !important;
280
- }
281
- .ts-control > input::-ms-clear {
282
- display: none;
283
- }
284
- .ts-control > input:focus {
285
- outline: none !important;
286
- }
287
- .has-items .ts-control > input {
288
- margin: 0px 4px !important;
289
- }
290
- .ts-control.rtl {
291
- text-align: right;
292
- }
293
- .ts-control.rtl.single .ts-control:after {
294
- left: 15px;
295
- right: auto;
296
- }
297
- .ts-control.rtl .ts-control > input {
298
- margin: 0px 4px 0px -2px !important;
299
- }
300
- .disabled .ts-control {
301
- opacity: 0.5;
302
- background-color: #fafafa;
303
- }
304
- .input-hidden .ts-control > input {
305
- opacity: 0;
306
- position: absolute;
307
- left: -10000px;
308
- }
309
-
310
- .ts-dropdown {
311
- position: absolute;
312
- top: 100%;
313
- left: 0;
314
- width: 100%;
315
- z-index: 10;
316
- border: 1px solid #d0d0d0;
317
- background: #fff;
318
- margin: 0.25rem 0 0 0;
319
- border-top: 0 none;
320
- box-sizing: border-box;
321
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
322
- border-radius: 0 0 3px 3px;
323
- }
324
- .ts-dropdown [data-selectable] {
325
- cursor: pointer;
326
- overflow: hidden;
327
- }
328
- .ts-dropdown [data-selectable] .highlight {
329
- background: rgba(125, 168, 208, 0.2);
330
- border-radius: 1px;
331
- }
332
- .ts-dropdown .option,
333
- .ts-dropdown .optgroup-header,
334
- .ts-dropdown .no-results,
335
- .ts-dropdown .create {
336
- padding: 5px 8px;
337
- }
338
- .ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {
339
- cursor: inherit;
340
- opacity: 0.5;
341
- }
342
- .ts-dropdown [data-selectable].option {
343
- opacity: 1;
344
- cursor: pointer;
345
- }
346
- .ts-dropdown .optgroup:first-child .optgroup-header {
347
- border-top: 0 none;
348
- }
349
- .ts-dropdown .optgroup-header {
350
- color: #303030;
351
- background: #fff;
352
- cursor: default;
353
- }
354
- .ts-dropdown .active {
355
- background-color: #f5fafd;
356
- color: #495c68;
357
- }
358
- .ts-dropdown .active.create {
359
- color: #495c68;
360
- }
361
- .ts-dropdown .create {
362
- color: rgba(48, 48, 48, 0.5);
363
- }
364
- .ts-dropdown .spinner {
365
- display: inline-block;
366
- width: 30px;
367
- height: 30px;
368
- margin: 5px 8px;
369
- }
370
- .ts-dropdown .spinner:after {
371
- content: " ";
372
- display: block;
373
- width: 24px;
374
- height: 24px;
375
- margin: 3px;
376
- border-radius: 50%;
377
- border: 5px solid #d0d0d0;
378
- border-color: #d0d0d0 transparent #d0d0d0 transparent;
379
- animation: lds-dual-ring 1.2s linear infinite;
380
- }
381
- @keyframes lds-dual-ring {
382
- 0% {
383
- transform: rotate(0deg);
384
- }
385
- 100% {
386
- transform: rotate(360deg);
387
- }
388
- }
389
-
390
- .ts-dropdown-content {
391
- overflow-y: auto;
392
- overflow-x: hidden;
393
- max-height: 200px;
394
- overflow-scrolling: touch;
395
- scroll-behavior: smooth;
396
- }
397
-
398
401
  .ts-hidden-accessible {
399
402
  border: 0 !important;
400
403
  clip: rect(0 0 0 0) !important;
@@ -1 +1 @@
1
- {"version":3,"sources":["tom-select.css"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;EAaE;AACF;EACE,uBAAuB;EACvB,gBAAgB;EAChB,mBAAmB;AACrB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,+FAA+F;AACjG;;AAEA;EACE,8BAA8B;EAC9B,8BAA8B;EAC9B,0CAA0C;EAC1C,yBAAyB;EACzB,mCAAmC;AACrC;AACA;EACE,YAAY;EACZ,kBAAkB;AACpB;AACA;EACE,wCAAwC;AAC1C;;AAEA;EACE,oBAAoB;AACtB;;AAEA;EACE,yBAAyB;AAC3B;AACA;EACE,UAAU;EACV,kBAAkB;EAClB,QAAQ;EACR,2BAA2B;EAC3B,sBAAsB;EACtB,0BAA0B;EAC1B,kCAAkC;EAClC,wBAAwB;EACxB,eAAe;AACjB;AACA;EACE,oCAAoC;AACtC;AACA;EACE,UAAU;AACZ;;AAEA;EACE,kBAAkB;EAClB,iBAAiB;EACjB,gCAAgC;EAChC,mBAAmB;EACnB,0BAA0B;AAC5B;AACA;EACE,kBAAkB;EAClB,UAAU;EACV,QAAQ;EACR,cAAc;EACd,YAAY;EACZ,iBAAiB;EACjB,iBAAiB;EACjB,0BAA0B;AAC5B;AACA;EACE,YAAY;AACd;;AAEA;EACE,gBAAgB;EAChB,yBAAyB;AAC3B;AACA;EACE,yBAAyB;EACzB,u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ChB;AACA;EACE,4BAA4B;AAC9B;AACA;EACE,qBAAqB;EACrB,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;AACA;EACE,YAAY;EACZ,cAAc;EACd,WAAW;EACX,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,yBAAyB;EACzB,qDAAqD;EACrD,6CAA6C;AAC/C;AACA;EACE;IACE,uBAAuB;EACzB;EACA;IACE,yBAAyB;EAC3B;AACF;;AAEA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,iBAAiB;EACjB,yBAAyB;EACzB,uBAAuB;AACzB;;AAEA;EACE,oBAAoB;EACpB,8BAA8B;EAC9B,wCAAgC;UAAhC,gCAAgC;EAChC,2BAA2B;EAC3B,qBAAqB;EACrB,6BAA6B;EAC7B,qBAAqB;EACrB,8BAA8B;AAChC","file":"tom-select.css","sourcesContent":["/**\n * tom-select.css (v//@@version)\n * Copyright (c) contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this\n * file except in compliance with the License. You may obtain a copy of the License at:\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF\n * ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n *\n */\n:root {\n --ts-pr-clear-button:\t0;\n --ts-pr-caret:\t0;\n --ts-pr-min:\t.75rem;\n}\n\n.ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {\n cursor: pointer;\n}\n\n.ts-control {\n padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;\n}\n\n.ts-wrapper.plugin-drag_drop.multi > .ts-control > div.ui-sortable-placeholder {\n visibility: visible !important;\n background: #f2f2f2 !important;\n background: rgba(0, 0, 0, 0.06) !important;\n border: 0 none !important;\n box-shadow: inset 0 0 12px 4px #fff;\n}\n.ts-wrapper.plugin-drag_drop .ui-sortable-placeholder::after {\n content: \"!\";\n visibility: hidden;\n}\n.ts-wrapper.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.plugin-checkbox_options .option input {\n margin-right: 0.5rem;\n}\n\n.plugin-clear_button {\n --ts-pr-clear-button: 1em;\n}\n.plugin-clear_button .clear-button {\n opacity: 0;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: calc(8px - 6px);\n margin-right: 0 !important;\n background: transparent !important;\n transition: opacity 0.5s;\n cursor: pointer;\n}\n.plugin-clear_button.form-select .clear-button, .plugin-clear_button.single .clear-button {\n right: max( var(--ts-pr-caret), 8px);\n}\n.plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button {\n opacity: 1;\n}\n\n.ts-wrapper .dropdown-header {\n position: relative;\n padding: 10px 8px;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 3px 3px 0 0;\n}\n.ts-wrapper .dropdown-header-close {\n position: absolute;\n right: 8px;\n top: 50%;\n color: #303030;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.ts-wrapper .dropdown-header-close:hover {\n color: black;\n}\n\n.plugin-dropdown_input.focus.dropdown-active .ts-control {\n box-shadow: none;\n border: 1px solid #d0d0d0;\n}\n.plugin-dropdown_input .dropdown-input {\n border: 1px solid #d0d0d0;\n border-width: 0 0 1px 0;\n display: block;\n padding: 8px 8px;\n box-shadow: none;\n width: 100%;\n background: transparent;\n}\n.plugin-dropdown_input .items-placeholder {\n border: 0 none !important;\n box-shadow: none !important;\n width: 100%;\n}\n.plugin-dropdown_input.has-items .items-placeholder, .plugin-dropdown_input.dropdown-active .items-placeholder {\n display: none !important;\n}\n\n.ts-wrapper.plugin-input_autogrow.has-items .ts-control > input {\n min-width: 0;\n}\n.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input {\n flex: none;\n min-width: 4px;\n}\n.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::placeholder {\n color: transparent;\n}\n\n.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {\n display: flex;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup {\n border-right: 1px solid #f2f2f2;\n border-top: 0 none;\n flex-grow: 1;\n flex-basis: 0;\n min-width: 0;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.ts-wrapper.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-wrapper.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 0 6px;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n}\n.ts-wrapper.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-wrapper.plugin-remove_button.disabled .item .remove:hover {\n background: none;\n}\n.ts-wrapper.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {\n border-left: 1px solid #d0d0d0;\n margin-left: 6px;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove {\n border-left-color: #cacaca;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove {\n border-left-color: white;\n}\n\n.ts-wrapper.plugin-remove_button.rtl .item .remove {\n border-right: 1px solid #d0d0d0;\n margin-right: 6px;\n}\n.ts-wrapper.plugin-remove_button.rtl .item.active .remove {\n border-right-color: #cacaca;\n}\n.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove {\n border-right-color: white;\n}\n\n.ts-wrapper {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-control,\n.ts-control input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.ts-control,\n.ts-wrapper.single.input-active .ts-control {\n background: #fff;\n cursor: text;\n}\n\n.ts-control {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n width: 100%;\n overflow: hidden;\n position: relative;\n z-index: 1;\n box-sizing: border-box;\n box-shadow: none;\n border-radius: 3px;\n display: flex;\n flex-wrap: wrap;\n}\n.ts-wrapper.multi.has-items .ts-control {\n padding: calc( 8px - 2px - 0px) 8px calc( 8px - 2px - 3px - 0px);\n}\n.full .ts-control {\n background-color: #fff;\n}\n.disabled .ts-control, .disabled .ts-control * {\n cursor: default !important;\n}\n.focus .ts-control {\n box-shadow: none;\n}\n.ts-control > * {\n vertical-align: baseline;\n display: inline-block;\n}\n.ts-wrapper.multi .ts-control > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 2px 6px;\n background: #f2f2f2;\n color: #303030;\n border: 0px solid #d0d0d0;\n}\n.ts-wrapper.multi .ts-control > div.active {\n background: #e8e8e8;\n color: #303030;\n border: 0px solid #cacaca;\n}\n.ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {\n color: #7d7d7d;\n background: white;\n border: 0px solid white;\n}\n.ts-control > input {\n flex: 1 1 auto;\n min-width: 7rem;\n display: inline-block !important;\n padding: 0 !important;\n min-height: 0 !important;\n max-height: none !important;\n max-width: 100% !important;\n margin: 0 !important;\n text-indent: 0 !important;\n border: 0 none !important;\n background: none !important;\n line-height: inherit !important;\n user-select: auto !important;\n box-shadow: none !important;\n}\n.ts-control > input::-ms-clear {\n display: none;\n}\n.ts-control > input:focus {\n outline: none !important;\n}\n.has-items .ts-control > input {\n margin: 0px 4px !important;\n}\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-control:after {\n left: 15px;\n right: auto;\n}\n.ts-control.rtl .ts-control > input {\n margin: 0px 4px 0px -2px !important;\n}\n.disabled .ts-control {\n opacity: 0.5;\n background-color: #fafafa;\n}\n.input-hidden .ts-control > input {\n opacity: 0;\n position: absolute;\n left: -10000px;\n}\n\n.ts-dropdown {\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: 0.25rem 0 0 0;\n border-top: 0 none;\n box-sizing: border-box;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n border-radius: 0 0 3px 3px;\n}\n.ts-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.ts-dropdown [data-selectable] .highlight {\n background: rgba(125, 168, 208, 0.2);\n border-radius: 1px;\n}\n.ts-dropdown .option,\n.ts-dropdown .optgroup-header,\n.ts-dropdown .no-results,\n.ts-dropdown .create {\n padding: 5px 8px;\n}\n.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.ts-dropdown [data-selectable].option {\n opacity: 1;\n cursor: pointer;\n}\n.ts-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.ts-dropdown .optgroup-header {\n color: #303030;\n background: #fff;\n cursor: default;\n}\n.ts-dropdown .active {\n background-color: #f5fafd;\n color: #495c68;\n}\n.ts-dropdown .active.create {\n color: #495c68;\n}\n.ts-dropdown .create {\n color: rgba(48, 48, 48, 0.5);\n}\n.ts-dropdown .spinner {\n display: inline-block;\n width: 30px;\n height: 30px;\n margin: 5px 8px;\n}\n.ts-dropdown .spinner:after {\n content: \" \";\n display: block;\n width: 24px;\n height: 24px;\n margin: 3px;\n border-radius: 50%;\n border: 5px solid #d0d0d0;\n border-color: #d0d0d0 transparent #d0d0d0 transparent;\n animation: lds-dual-ring 1.2s linear infinite;\n}\n@keyframes lds-dual-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n scroll-behavior: smooth;\n}\n\n.ts-hidden-accessible {\n border: 0 !important;\n clip: rect(0 0 0 0) !important;\n clip-path: inset(50%) !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important;\n white-space: nowrap !important;\n}"]}
1
+ {"version":3,"sources":["tom-select.css"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;EAaE;AACF;EACE,yBAAyB;EACzB,gBAAgB;EAChB,WAAW;EACX,gBAAgB;EAChB,kBAAkB;EAClB,UAAU;EACV,sBAAsB;EACtB,gBAAgB;EAChB,kBAAkB;EAClB,aAAa;EACb,eAAe;AACjB;AACA;EACE,0DAA0D;AAC5D;AACA;EACE,sBAAsB;AACxB;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,gBAAgB;AAClB;AACA;EACE,wBAAwB;EACxB,qBAAqB;AACvB;AACA;EACE,eAAe;EACf,mBAAmB;EACnB,gBAAgB;EAChB,mBAAmB;EACnB,cAAc;EACd,uBAAuB;AACzB;AACA;EACE,mBAAmB;EACnB,cAAc;EACd,uBAAuB;AACzB;AACA;EACE,cAAc;EACd,iBAAiB;EACjB,qBAAqB;AACvB;AACA;EACE,cAAc;EACd,eAAe;EACf,gCAAgC;EAChC,qBAAqB;EACrB,wBAAwB;EACxB,2BAA2B;EAC3B,0BAA0B;EAC1B,oBAAoB;EACpB,yBAAyB;EACzB,yBAAyB;EACzB,2BAA2B;EAC3B,+BAA+B;EAC/B,oCAA4B;KAA5B,iCAA4B;MAA5B,gCAA4B;UAA5B,4BAA4B;EAC5B,2BAA2B;AAC7B;AACA;EACE,aAAa;AACf;AACA;EACE,wBAAwB;AAC1B;AACA;EACE,wBAAwB;AAC1B;AACA;EACE,iBAAiB;AACnB;AACA;EACE,UAAU;EACV,WAAW;AACb;AACA;EACE,+BAA+B;AACjC;AACA;EACE,YAAY;EACZ,yBAAyB;AAC3B;AACA;EACE,UAAU;EACV,kBAAkB;EAClB,cAAc;AAChB;;AAEA;EACE,kBAAkB;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;EAGE,cAAc;EACd,oBAAoB;EACpB,eAAe;EACf,iBAAiB;AACnB;;AAEA;;EAEE,gBAAgB;EAChB,YAAY;AACd;;AAEA;EACE,oBAAoB;EACpB,8BAA8B;EAC9B,wCAAgC;UAAhC,gCAAgC;EAChC,2BAA2B;EAC3B,qBAAqB;EACrB,6BAA6B;EAC7B,qBAAqB;EACrB,8BAA8B;AAChC","file":"tom-select.css","sourcesContent":["/**\n * tom-select.css (v//@@version)\n * Copyright (c) contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this\n * file except in compliance with the License. You may obtain a copy of the License at:\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF\n * ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n *\n */\n.ts-control {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n width: 100%;\n overflow: hidden;\n position: relative;\n z-index: 1;\n box-sizing: border-box;\n box-shadow: none;\n border-radius: 3px;\n display: flex;\n flex-wrap: wrap;\n}\n.ts-wrapper.multi.has-items .ts-control {\n padding: calc(8px - 2px - 0) 8px calc(8px - 2px - 3px - 0);\n}\n.full .ts-control {\n background-color: #fff;\n}\n.disabled .ts-control, .disabled .ts-control * {\n cursor: default !important;\n}\n.focus .ts-control {\n box-shadow: none;\n}\n.ts-control > * {\n vertical-align: baseline;\n display: inline-block;\n}\n.ts-wrapper.multi .ts-control > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 2px 6px;\n background: #f2f2f2;\n color: #303030;\n border: 0 solid #d0d0d0;\n}\n.ts-wrapper.multi .ts-control > div.active {\n background: #e8e8e8;\n color: #303030;\n border: 0 solid #cacaca;\n}\n.ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {\n color: #7d7d7d;\n background: white;\n border: 0 solid white;\n}\n.ts-control > input {\n flex: 1 1 auto;\n min-width: 7rem;\n display: inline-block !important;\n padding: 0 !important;\n min-height: 0 !important;\n max-height: none !important;\n max-width: 100% !important;\n margin: 0 !important;\n text-indent: 0 !important;\n border: 0 none !important;\n background: none !important;\n line-height: inherit !important;\n user-select: auto !important;\n box-shadow: none !important;\n}\n.ts-control > input::-ms-clear {\n display: none;\n}\n.ts-control > input:focus {\n outline: none !important;\n}\n.has-items .ts-control > input {\n margin: 0 4px !important;\n}\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-control:after {\n left: 15px;\n right: auto;\n}\n.ts-control.rtl .ts-control > input {\n margin: 0 4px 0 -2px !important;\n}\n.disabled .ts-control {\n opacity: 0.5;\n background-color: #fafafa;\n}\n.input-hidden .ts-control > input {\n opacity: 0;\n position: absolute;\n left: -10000px;\n}\n\n.ts-dropdown {\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: 0.25rem 0 0;\n border-top: 0 none;\n box-sizing: border-box;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n border-radius: 0 0 3px 3px;\n}\n.ts-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.ts-dropdown [data-selectable] .highlight {\n background: rgba(125, 168, 208, 0.2);\n border-radius: 1px;\n}\n.ts-dropdown .option,\n.ts-dropdown .optgroup-header,\n.ts-dropdown .no-results,\n.ts-dropdown .create {\n padding: 5px 8px;\n}\n.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.ts-dropdown [data-selectable].option {\n opacity: 1;\n cursor: pointer;\n}\n.ts-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.ts-dropdown .optgroup-header {\n color: #303030;\n background: #fff;\n cursor: default;\n}\n.ts-dropdown .active {\n background-color: #f5fafd;\n color: #495c68;\n}\n.ts-dropdown .active.create {\n color: #495c68;\n}\n.ts-dropdown .create {\n color: rgba(48, 48, 48, 0.5);\n}\n.ts-dropdown .spinner {\n display: inline-block;\n width: 30px;\n height: 30px;\n margin: 5px 8px;\n}\n.ts-dropdown .spinner::after {\n content: \" \";\n display: block;\n width: 24px;\n height: 24px;\n margin: 3px;\n border-radius: 50%;\n border: 5px solid #d0d0d0;\n border-color: #d0d0d0 transparent #d0d0d0 transparent;\n animation: lds-dual-ring 1.2s linear infinite;\n}\n@keyframes lds-dual-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.ts-dropdown-content {\n overflow: hidden auto;\n max-height: 200px;\n scroll-behavior: smooth;\n}\n\n.ts-wrapper.plugin-drag_drop .ts-dragging {\n color: transparent !important;\n}\n.ts-wrapper.plugin-drag_drop .ts-dragging > * {\n visibility: hidden !important;\n}\n\n.plugin-checkbox_options:not(.rtl) .option input {\n margin-right: 0.5rem;\n}\n\n.plugin-checkbox_options.rtl .option input {\n margin-left: 0.5rem;\n}\n\n/* stylelint-disable function-name-case */\n.plugin-clear_button {\n --ts-pr-clear-button: 1em;\n}\n.plugin-clear_button .clear-button {\n opacity: 0;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: calc(8px - 6px);\n margin-right: 0 !important;\n background: transparent !important;\n transition: opacity 0.5s;\n cursor: pointer;\n}\n.plugin-clear_button.form-select .clear-button, .plugin-clear_button.single .clear-button {\n right: max(var(--ts-pr-caret), 8px);\n}\n.plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button {\n opacity: 1;\n}\n\n.ts-wrapper .dropdown-header {\n position: relative;\n padding: 10px 8px;\n border-bottom: 1px solid #d0d0d0;\n background: color-mix(#fff, #d0d0d0, 85%);\n border-radius: 3px 3px 0 0;\n}\n.ts-wrapper .dropdown-header-close {\n position: absolute;\n right: 8px;\n top: 50%;\n color: #303030;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.ts-wrapper .dropdown-header-close:hover {\n color: black;\n}\n\n.plugin-dropdown_input.focus.dropdown-active .ts-control {\n box-shadow: none;\n border: 1px solid #d0d0d0;\n}\n.plugin-dropdown_input .dropdown-input {\n border: 1px solid #d0d0d0;\n border-width: 0 0 1px;\n display: block;\n padding: 8px 8px;\n box-shadow: none;\n width: 100%;\n background: transparent;\n}\n.plugin-dropdown_input .items-placeholder {\n border: 0 none !important;\n box-shadow: none !important;\n width: 100%;\n}\n.plugin-dropdown_input.has-items .items-placeholder, .plugin-dropdown_input.dropdown-active .items-placeholder {\n display: none !important;\n}\n\n.ts-wrapper.plugin-input_autogrow.has-items .ts-control > input {\n min-width: 0;\n}\n.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input {\n flex: none;\n min-width: 4px;\n}\n.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::placeholder {\n color: transparent;\n}\n\n.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {\n display: flex;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup {\n border-right: 1px solid #f2f2f2;\n border-top: 0 none;\n flex-grow: 1;\n flex-basis: 0;\n min-width: 0;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup::before {\n display: none;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.ts-wrapper.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n}\n.ts-wrapper.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 0 6px;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n}\n.ts-wrapper.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-wrapper.plugin-remove_button.disabled .item .remove:hover {\n background: none;\n}\n.ts-wrapper.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-wrapper.plugin-remove_button:not(.rtl) .item {\n padding-right: 0 !important;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {\n border-left: 1px solid #d0d0d0;\n margin-left: 6px;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove {\n border-left-color: #cacaca;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove {\n border-left-color: white;\n}\n\n.ts-wrapper.plugin-remove_button.rtl .item {\n padding-left: 0 !important;\n}\n.ts-wrapper.plugin-remove_button.rtl .item .remove {\n border-right: 1px solid #d0d0d0;\n margin-right: 6px;\n}\n.ts-wrapper.plugin-remove_button.rtl .item.active .remove {\n border-right-color: #cacaca;\n}\n.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove {\n border-right-color: white;\n}\n\n:root {\n --ts-pr-clear-button: 0;\n --ts-pr-caret: 0;\n --ts-pr-min: .75rem;\n}\n\n.ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {\n cursor: pointer;\n}\n\n.ts-control:not(.rtl) {\n padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;\n}\n\n.ts-control.rtl {\n padding-left: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;\n}\n\n.ts-wrapper {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-control,\n.ts-control input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n}\n\n.ts-control,\n.ts-wrapper.single.input-active .ts-control {\n background: #fff;\n cursor: text;\n}\n\n.ts-hidden-accessible {\n border: 0 !important;\n clip: rect(0 0 0 0) !important;\n clip-path: inset(50%) !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important;\n white-space: nowrap !important;\n}"]}