@drecchia/tom-select 2.5.2-virtual-scroll.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +104 -0
- package/dist/css/tom-select.bootstrap4.css +573 -0
- package/dist/css/tom-select.bootstrap5.css +612 -0
- package/dist/css/tom-select.css +405 -0
- package/dist/css/tom-select.default.css +497 -0
- package/dist/css/tom-select.default.css.map +1 -0
- package/dist/esm/plugins/caret_position/plugin.js +163 -0
- package/dist/esm/plugins/caret_position/plugin.js.map +1 -0
- package/dist/esm/plugins/change_listener/plugin.js +51 -0
- package/dist/esm/plugins/change_listener/plugin.js.map +1 -0
- package/dist/esm/plugins/checkbox_options/plugin.js +179 -0
- package/dist/esm/plugins/checkbox_options/plugin.js.map +1 -0
- package/dist/esm/plugins/clear_button/plugin.js +76 -0
- package/dist/esm/plugins/clear_button/plugin.js.map +1 -0
- package/dist/esm/plugins/drag_drop/plugin.js +220 -0
- package/dist/esm/plugins/drag_drop/plugin.js.map +1 -0
- package/dist/esm/plugins/dropdown_header/plugin.js +102 -0
- package/dist/esm/plugins/dropdown_header/plugin.js.map +1 -0
- package/dist/esm/plugins/dropdown_input/plugin.js +224 -0
- package/dist/esm/plugins/dropdown_input/plugin.js.map +1 -0
- package/dist/esm/plugins/input_autogrow/plugin.js +74 -0
- package/dist/esm/plugins/input_autogrow/plugin.js.map +1 -0
- package/dist/esm/plugins/local_virtual_scroll/plugin.js +305 -0
- package/dist/esm/plugins/local_virtual_scroll/plugin.js.map +1 -0
- package/dist/esm/plugins/no_active_items/plugin.js +26 -0
- package/dist/esm/plugins/no_active_items/plugin.js.map +1 -0
- package/dist/esm/plugins/no_backspace_delete/plugin.js +32 -0
- package/dist/esm/plugins/no_backspace_delete/plugin.js.map +1 -0
- package/dist/esm/plugins/optgroup_columns/plugin.js +86 -0
- package/dist/esm/plugins/optgroup_columns/plugin.js.map +1 -0
- package/dist/esm/plugins/remove_button/plugin.js +134 -0
- package/dist/esm/plugins/remove_button/plugin.js.map +1 -0
- package/dist/esm/plugins/restore_on_backspace/plugin.js +42 -0
- package/dist/esm/plugins/restore_on_backspace/plugin.js.map +1 -0
- package/dist/esm/plugins/virtual_scroll/plugin.js +272 -0
- package/dist/esm/plugins/virtual_scroll/plugin.js.map +1 -0
- package/dist/js/plugins/caret_position.js +171 -0
- package/dist/js/plugins/caret_position.js.map +1 -0
- package/dist/js/plugins/change_listener.js +59 -0
- package/dist/js/plugins/change_listener.js.map +1 -0
- package/dist/js/plugins/checkbox_options.js +187 -0
- package/dist/js/plugins/checkbox_options.js.map +1 -0
- package/dist/js/plugins/clear_button.js +84 -0
- package/dist/js/plugins/clear_button.js.map +1 -0
- package/dist/js/plugins/drag_drop.js +228 -0
- package/dist/js/plugins/drag_drop.js.map +1 -0
- package/dist/js/plugins/dropdown_header.js +110 -0
- package/dist/js/plugins/dropdown_header.js.map +1 -0
- package/dist/js/plugins/dropdown_input.js +232 -0
- package/dist/js/plugins/dropdown_input.js.map +1 -0
- package/dist/js/plugins/input_autogrow.js +82 -0
- package/dist/js/plugins/input_autogrow.js.map +1 -0
- package/dist/js/plugins/local_virtual_scroll.js +313 -0
- package/dist/js/plugins/local_virtual_scroll.js.map +1 -0
- package/dist/js/plugins/no_active_items.js +34 -0
- package/dist/js/plugins/no_active_items.js.map +1 -0
- package/dist/js/plugins/no_backspace_delete.js +40 -0
- package/dist/js/plugins/no_backspace_delete.js.map +1 -0
- package/dist/js/plugins/optgroup_columns.js +94 -0
- package/dist/js/plugins/optgroup_columns.js.map +1 -0
- package/dist/js/plugins/remove_button.js +142 -0
- package/dist/js/plugins/remove_button.js.map +1 -0
- package/dist/js/plugins/restore_on_backspace.js +50 -0
- package/dist/js/plugins/restore_on_backspace.js.map +1 -0
- package/dist/js/plugins/virtual_scroll.js +280 -0
- package/dist/js/plugins/virtual_scroll.js.map +1 -0
- package/dist/js/tom-select.base.js +4167 -0
- package/dist/js/tom-select.base.js.map +1 -0
- package/dist/js/tom-select.base.min.js +373 -0
- package/dist/js/tom-select.base.min.js.map +1 -0
- package/dist/js/tom-select.complete.js +5364 -0
- package/dist/js/tom-select.complete.js.map +1 -0
- package/dist/js/tom-select.complete.min.js +489 -0
- package/dist/js/tom-select.complete.min.js.map +1 -0
- package/dist/js/tom-select.popular.js +4436 -0
- package/dist/js/tom-select.popular.js.map +1 -0
- package/dist/js/tom-select.popular.min.js +396 -0
- package/dist/js/tom-select.popular.min.js.map +1 -0
- package/dist/types/constants.d.ts +12 -0
- package/dist/types/contrib/highlight.d.ts +13 -0
- package/dist/types/contrib/microevent.d.ts +20 -0
- package/dist/types/contrib/microplugin.d.ts +71 -0
- package/dist/types/defaults.d.ts +53 -0
- package/dist/types/getSettings.d.ts +3 -0
- package/dist/types/plugins/caret_position/plugin.d.ts +16 -0
- package/dist/types/plugins/change_listener/plugin.d.ts +16 -0
- package/dist/types/plugins/checkbox_options/plugin.d.ts +17 -0
- package/dist/types/plugins/checkbox_options/types.d.ts +14 -0
- package/dist/types/plugins/clear_button/plugin.d.ts +17 -0
- package/dist/types/plugins/clear_button/types.d.ts +7 -0
- package/dist/types/plugins/drag_drop/plugin.d.ts +16 -0
- package/dist/types/plugins/dropdown_header/plugin.d.ts +17 -0
- package/dist/types/plugins/dropdown_header/types.d.ts +8 -0
- package/dist/types/plugins/dropdown_input/plugin.d.ts +16 -0
- package/dist/types/plugins/input_autogrow/plugin.d.ts +15 -0
- package/dist/types/plugins/local_virtual_scroll/plugin.d.ts +19 -0
- package/dist/types/plugins/local_virtual_scroll/types.d.ts +14 -0
- package/dist/types/plugins/no_active_items/plugin.d.ts +15 -0
- package/dist/types/plugins/no_backspace_delete/plugin.d.ts +15 -0
- package/dist/types/plugins/optgroup_columns/plugin.d.ts +16 -0
- package/dist/types/plugins/remove_button/plugin.d.ts +17 -0
- package/dist/types/plugins/remove_button/types.d.ts +6 -0
- package/dist/types/plugins/restore_on_backspace/plugin.d.ts +21 -0
- package/dist/types/plugins/virtual_scroll/plugin.d.ts +16 -0
- package/dist/types/tom-select.complete.d.ts +2 -0
- package/dist/types/tom-select.d.ts +594 -0
- package/dist/types/tom-select.popular.d.ts +2 -0
- package/dist/types/types/core.d.ts +50 -0
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/settings.d.ts +81 -0
- package/dist/types/utils.d.ts +95 -0
- package/dist/types/vanilla.d.ts +76 -0
- package/package.json +156 -0
- package/src/constants.ts +13 -0
- package/src/contrib/highlight.ts +81 -0
- package/src/contrib/microevent.ts +73 -0
- package/src/contrib/microplugin.ts +137 -0
- package/src/defaults.ts +95 -0
- package/src/getSettings.ts +176 -0
- package/src/plugins/caret_position/plugin.ts +73 -0
- package/src/plugins/change_listener/plugin.ts +23 -0
- package/src/plugins/checkbox_options/plugin.scss +11 -0
- package/src/plugins/checkbox_options/plugin.ts +130 -0
- package/src/plugins/checkbox_options/types.ts +15 -0
- package/src/plugins/clear_button/plugin.scss +33 -0
- package/src/plugins/clear_button/plugin.ts +54 -0
- package/src/plugins/clear_button/types.ts +8 -0
- package/src/plugins/drag_drop/plugin.scss +10 -0
- package/src/plugins/drag_drop/plugin.ts +143 -0
- package/src/plugins/dropdown_header/plugin.scss +24 -0
- package/src/plugins/dropdown_header/plugin.ts +57 -0
- package/src/plugins/dropdown_header/types.ts +9 -0
- package/src/plugins/dropdown_input/plugin.scss +43 -0
- package/src/plugins/dropdown_input/plugin.ts +97 -0
- package/src/plugins/input_autogrow/plugin.scss +15 -0
- package/src/plugins/input_autogrow/plugin.ts +56 -0
- package/src/plugins/local_virtual_scroll/plugin.ts +309 -0
- package/src/plugins/local_virtual_scroll/types.ts +9 -0
- package/src/plugins/no_active_items/plugin.ts +20 -0
- package/src/plugins/no_backspace_delete/plugin.ts +30 -0
- package/src/plugins/optgroup_columns/plugin.scss +25 -0
- package/src/plugins/optgroup_columns/plugin.ts +59 -0
- package/src/plugins/remove_button/plugin.scss +70 -0
- package/src/plugins/remove_button/plugin.ts +78 -0
- package/src/plugins/remove_button/types.ts +7 -0
- package/src/plugins/restore_on_backspace/plugin.ts +44 -0
- package/src/plugins/virtual_scroll/plugin.ts +219 -0
- package/src/scss/-tom-select.bootstrap4.scss +4 -0
- package/src/scss/-tom-select.bootstrap5.scss +4 -0
- package/src/scss/_dropdown.scss +99 -0
- package/src/scss/_items.scss +114 -0
- package/src/scss/tom-select.bootstrap4.scss +218 -0
- package/src/scss/tom-select.bootstrap5.scss +270 -0
- package/src/scss/tom-select.default.scss +89 -0
- package/src/scss/tom-select.scss +179 -0
- package/src/tom-select.complete.ts +35 -0
- package/src/tom-select.popular.ts +15 -0
- package/src/tom-select.ts +2807 -0
- package/src/types/core.ts +68 -0
- package/src/types/index.ts +3 -0
- package/src/types/settings.ts +98 -0
- package/src/utils.ts +230 -0
- package/src/vanilla.ts +210 -0
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* tom-select.css (v//@@version)
|
|
3
|
+
* Copyright (c) contributors
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
+
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
+
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
+
* governing permissions and limitations under the License.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
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;
|
|
27
|
+
}
|
|
28
|
+
.ts-wrapper.multi.has-items .ts-control {
|
|
29
|
+
padding: calc(8px - 2px - 0px) 8px calc(8px - 2px - 3px - 0px);
|
|
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 {
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
margin: 0 3px 3px 0;
|
|
47
|
+
padding: 2px 6px;
|
|
48
|
+
background: #f2f2f2;
|
|
49
|
+
color: #303030;
|
|
50
|
+
border: 0px solid #d0d0d0;
|
|
51
|
+
overflow: auto;
|
|
52
|
+
}
|
|
53
|
+
.ts-wrapper.multi .ts-control > div.active {
|
|
54
|
+
background: #e8e8e8;
|
|
55
|
+
color: #303030;
|
|
56
|
+
border: 0px solid #cacaca;
|
|
57
|
+
}
|
|
58
|
+
.ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {
|
|
59
|
+
color: rgb(124.5, 124.5, 124.5);
|
|
60
|
+
background: white;
|
|
61
|
+
border: 0px solid white;
|
|
62
|
+
}
|
|
63
|
+
.ts-control > input {
|
|
64
|
+
flex: 1 1 auto;
|
|
65
|
+
min-width: 7rem;
|
|
66
|
+
display: inline-block !important;
|
|
67
|
+
padding: 0 !important;
|
|
68
|
+
min-height: 0 !important;
|
|
69
|
+
max-height: none !important;
|
|
70
|
+
max-width: 100% !important;
|
|
71
|
+
margin: 0 !important;
|
|
72
|
+
text-indent: 0 !important;
|
|
73
|
+
border: 0 none !important;
|
|
74
|
+
background: none !important;
|
|
75
|
+
line-height: inherit !important;
|
|
76
|
+
user-select: auto !important;
|
|
77
|
+
box-shadow: none !important;
|
|
78
|
+
}
|
|
79
|
+
.ts-control > input::-ms-clear {
|
|
80
|
+
display: none;
|
|
81
|
+
}
|
|
82
|
+
.ts-control > input:focus {
|
|
83
|
+
outline: none !important;
|
|
84
|
+
}
|
|
85
|
+
.has-items .ts-control > input {
|
|
86
|
+
margin: 0px 4px !important;
|
|
87
|
+
}
|
|
88
|
+
.ts-control.rtl {
|
|
89
|
+
text-align: right;
|
|
90
|
+
}
|
|
91
|
+
.ts-control.rtl.single .ts-control:after {
|
|
92
|
+
left: 15px;
|
|
93
|
+
right: auto;
|
|
94
|
+
}
|
|
95
|
+
.ts-control.rtl .ts-control > input {
|
|
96
|
+
margin: 0px 4px 0px -2px !important;
|
|
97
|
+
}
|
|
98
|
+
.disabled .ts-control {
|
|
99
|
+
opacity: 0.5;
|
|
100
|
+
background-color: #fafafa;
|
|
101
|
+
}
|
|
102
|
+
.input-hidden .ts-control > input {
|
|
103
|
+
opacity: 0;
|
|
104
|
+
position: absolute;
|
|
105
|
+
left: -10000px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ts-dropdown {
|
|
109
|
+
position: absolute;
|
|
110
|
+
top: 100%;
|
|
111
|
+
left: 0;
|
|
112
|
+
width: 100%;
|
|
113
|
+
z-index: 10;
|
|
114
|
+
border: 1px solid #d0d0d0;
|
|
115
|
+
background: #fff;
|
|
116
|
+
margin: 0.25rem 0 0;
|
|
117
|
+
border-top: 0 none;
|
|
118
|
+
box-sizing: border-box;
|
|
119
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
120
|
+
border-radius: 0 0 3px 3px;
|
|
121
|
+
}
|
|
122
|
+
.ts-dropdown [data-selectable] {
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
}
|
|
126
|
+
.ts-dropdown [data-selectable] .highlight {
|
|
127
|
+
background: rgba(125, 168, 208, 0.2);
|
|
128
|
+
border-radius: 1px;
|
|
129
|
+
}
|
|
130
|
+
.ts-dropdown .option,
|
|
131
|
+
.ts-dropdown .optgroup-header,
|
|
132
|
+
.ts-dropdown .no-results,
|
|
133
|
+
.ts-dropdown .create {
|
|
134
|
+
padding: 5px 8px;
|
|
135
|
+
}
|
|
136
|
+
.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {
|
|
137
|
+
cursor: inherit;
|
|
138
|
+
opacity: 0.5;
|
|
139
|
+
}
|
|
140
|
+
.ts-dropdown [data-selectable].option {
|
|
141
|
+
opacity: 1;
|
|
142
|
+
cursor: pointer;
|
|
143
|
+
}
|
|
144
|
+
.ts-dropdown .optgroup:first-child .optgroup-header {
|
|
145
|
+
border-top: 0 none;
|
|
146
|
+
}
|
|
147
|
+
.ts-dropdown .optgroup-header {
|
|
148
|
+
color: #303030;
|
|
149
|
+
background: #fff;
|
|
150
|
+
cursor: default;
|
|
151
|
+
}
|
|
152
|
+
.ts-dropdown .active {
|
|
153
|
+
background-color: #f5fafd;
|
|
154
|
+
color: #495c68;
|
|
155
|
+
}
|
|
156
|
+
.ts-dropdown .active.create {
|
|
157
|
+
color: #495c68;
|
|
158
|
+
}
|
|
159
|
+
.ts-dropdown .create {
|
|
160
|
+
color: rgba(48, 48, 48, 0.5);
|
|
161
|
+
}
|
|
162
|
+
.ts-dropdown .spinner {
|
|
163
|
+
display: inline-block;
|
|
164
|
+
width: 30px;
|
|
165
|
+
height: 30px;
|
|
166
|
+
margin: 5px 8px;
|
|
167
|
+
}
|
|
168
|
+
.ts-dropdown .spinner::after {
|
|
169
|
+
content: " ";
|
|
170
|
+
display: block;
|
|
171
|
+
width: 24px;
|
|
172
|
+
height: 24px;
|
|
173
|
+
margin: 3px;
|
|
174
|
+
border-radius: 50%;
|
|
175
|
+
border: 5px solid #d0d0d0;
|
|
176
|
+
border-color: #d0d0d0 transparent #d0d0d0 transparent;
|
|
177
|
+
animation: lds-dual-ring 1.2s linear infinite;
|
|
178
|
+
}
|
|
179
|
+
@keyframes lds-dual-ring {
|
|
180
|
+
0% {
|
|
181
|
+
transform: rotate(0deg);
|
|
182
|
+
}
|
|
183
|
+
100% {
|
|
184
|
+
transform: rotate(360deg);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.ts-dropdown-content {
|
|
189
|
+
overflow: hidden auto;
|
|
190
|
+
max-height: 200px;
|
|
191
|
+
scroll-behavior: smooth;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.ts-wrapper.plugin-drag_drop .ts-dragging {
|
|
195
|
+
color: transparent !important;
|
|
196
|
+
}
|
|
197
|
+
.ts-wrapper.plugin-drag_drop .ts-dragging > * {
|
|
198
|
+
visibility: hidden !important;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.plugin-checkbox_options:not(.rtl) .option input {
|
|
202
|
+
margin-right: 0.5rem;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.plugin-checkbox_options.rtl .option input {
|
|
206
|
+
margin-left: 0.5rem;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* stylelint-disable function-name-case */
|
|
210
|
+
.plugin-clear_button {
|
|
211
|
+
--ts-pr-clear-button: 1em;
|
|
212
|
+
}
|
|
213
|
+
.plugin-clear_button .clear-button {
|
|
214
|
+
opacity: 0;
|
|
215
|
+
position: absolute;
|
|
216
|
+
top: 50%;
|
|
217
|
+
transform: translateY(-50%);
|
|
218
|
+
right: calc(8px - 6px);
|
|
219
|
+
margin-right: 0 !important;
|
|
220
|
+
background: transparent !important;
|
|
221
|
+
transition: opacity 0.5s;
|
|
222
|
+
cursor: pointer;
|
|
223
|
+
}
|
|
224
|
+
.plugin-clear_button.form-select .clear-button, .plugin-clear_button.single .clear-button {
|
|
225
|
+
right: max(var(--ts-pr-caret), 8px);
|
|
226
|
+
}
|
|
227
|
+
.plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button {
|
|
228
|
+
opacity: 1;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.ts-wrapper .dropdown-header {
|
|
232
|
+
position: relative;
|
|
233
|
+
padding: 10px 8px;
|
|
234
|
+
border-bottom: 1px solid #d0d0d0;
|
|
235
|
+
background: color-mix(#fff, #d0d0d0, 85%);
|
|
236
|
+
border-radius: 3px 3px 0 0;
|
|
237
|
+
}
|
|
238
|
+
.ts-wrapper .dropdown-header-close {
|
|
239
|
+
position: absolute;
|
|
240
|
+
right: 8px;
|
|
241
|
+
top: 50%;
|
|
242
|
+
color: #303030;
|
|
243
|
+
opacity: 0.4;
|
|
244
|
+
margin-top: -12px;
|
|
245
|
+
line-height: 20px;
|
|
246
|
+
font-size: 20px !important;
|
|
247
|
+
}
|
|
248
|
+
.ts-wrapper .dropdown-header-close:hover {
|
|
249
|
+
color: black;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.plugin-dropdown_input.focus.dropdown-active .ts-control {
|
|
253
|
+
box-shadow: none;
|
|
254
|
+
border: 1px solid #d0d0d0;
|
|
255
|
+
}
|
|
256
|
+
.plugin-dropdown_input .dropdown-input {
|
|
257
|
+
border: 1px solid #d0d0d0;
|
|
258
|
+
border-width: 0 0 1px;
|
|
259
|
+
display: block;
|
|
260
|
+
padding: 8px 8px;
|
|
261
|
+
box-shadow: none;
|
|
262
|
+
width: 100%;
|
|
263
|
+
background: transparent;
|
|
264
|
+
}
|
|
265
|
+
.plugin-dropdown_input .items-placeholder {
|
|
266
|
+
border: 0 none !important;
|
|
267
|
+
box-shadow: none !important;
|
|
268
|
+
width: 100%;
|
|
269
|
+
}
|
|
270
|
+
.plugin-dropdown_input.has-items .items-placeholder, .plugin-dropdown_input.dropdown-active .items-placeholder {
|
|
271
|
+
display: none !important;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.ts-wrapper.plugin-input_autogrow.has-items .ts-control > input {
|
|
275
|
+
min-width: 0;
|
|
276
|
+
}
|
|
277
|
+
.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input {
|
|
278
|
+
flex: none;
|
|
279
|
+
min-width: 4px;
|
|
280
|
+
}
|
|
281
|
+
.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::placeholder {
|
|
282
|
+
color: transparent;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {
|
|
286
|
+
display: flex;
|
|
287
|
+
}
|
|
288
|
+
.ts-dropdown.plugin-optgroup_columns .optgroup {
|
|
289
|
+
border-right: 1px solid #f2f2f2;
|
|
290
|
+
border-top: 0 none;
|
|
291
|
+
flex-grow: 1;
|
|
292
|
+
flex-basis: 0;
|
|
293
|
+
min-width: 0;
|
|
294
|
+
}
|
|
295
|
+
.ts-dropdown.plugin-optgroup_columns .optgroup:last-child {
|
|
296
|
+
border-right: 0 none;
|
|
297
|
+
}
|
|
298
|
+
.ts-dropdown.plugin-optgroup_columns .optgroup::before {
|
|
299
|
+
display: none;
|
|
300
|
+
}
|
|
301
|
+
.ts-dropdown.plugin-optgroup_columns .optgroup-header {
|
|
302
|
+
border-top: 0 none;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.ts-wrapper.plugin-remove_button .item {
|
|
306
|
+
display: inline-flex;
|
|
307
|
+
align-items: center;
|
|
308
|
+
}
|
|
309
|
+
.ts-wrapper.plugin-remove_button .item .remove {
|
|
310
|
+
color: inherit;
|
|
311
|
+
text-decoration: none;
|
|
312
|
+
vertical-align: middle;
|
|
313
|
+
display: inline-block;
|
|
314
|
+
padding: 0 6px;
|
|
315
|
+
border-radius: 0 2px 2px 0;
|
|
316
|
+
box-sizing: border-box;
|
|
317
|
+
}
|
|
318
|
+
.ts-wrapper.plugin-remove_button .item .remove:hover {
|
|
319
|
+
background: rgba(0, 0, 0, 0.05);
|
|
320
|
+
}
|
|
321
|
+
.ts-wrapper.plugin-remove_button.disabled .item .remove:hover {
|
|
322
|
+
background: none;
|
|
323
|
+
}
|
|
324
|
+
.ts-wrapper.plugin-remove_button .remove-single {
|
|
325
|
+
position: absolute;
|
|
326
|
+
right: 0;
|
|
327
|
+
top: 0;
|
|
328
|
+
font-size: 23px;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.ts-wrapper.plugin-remove_button:not(.rtl) .item {
|
|
332
|
+
padding-right: 0 !important;
|
|
333
|
+
}
|
|
334
|
+
.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {
|
|
335
|
+
border-left: 1px solid #d0d0d0;
|
|
336
|
+
margin-left: 6px;
|
|
337
|
+
}
|
|
338
|
+
.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove {
|
|
339
|
+
border-left-color: #cacaca;
|
|
340
|
+
}
|
|
341
|
+
.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove {
|
|
342
|
+
border-left-color: white;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.ts-wrapper.plugin-remove_button.rtl .item {
|
|
346
|
+
padding-left: 0 !important;
|
|
347
|
+
}
|
|
348
|
+
.ts-wrapper.plugin-remove_button.rtl .item .remove {
|
|
349
|
+
border-right: 1px solid #d0d0d0;
|
|
350
|
+
margin-right: 6px;
|
|
351
|
+
}
|
|
352
|
+
.ts-wrapper.plugin-remove_button.rtl .item.active .remove {
|
|
353
|
+
border-right-color: #cacaca;
|
|
354
|
+
}
|
|
355
|
+
.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove {
|
|
356
|
+
border-right-color: white;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
:root {
|
|
360
|
+
--ts-pr-clear-button: 0px;
|
|
361
|
+
--ts-pr-caret: 0px;
|
|
362
|
+
--ts-pr-min: .75rem;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {
|
|
366
|
+
cursor: pointer;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.ts-control:not(.rtl) {
|
|
370
|
+
padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.ts-control.rtl {
|
|
374
|
+
padding-left: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.ts-wrapper {
|
|
378
|
+
position: relative;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.ts-dropdown,
|
|
382
|
+
.ts-control,
|
|
383
|
+
.ts-control input {
|
|
384
|
+
color: #303030;
|
|
385
|
+
font-family: inherit;
|
|
386
|
+
font-size: 13px;
|
|
387
|
+
line-height: 18px;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.ts-control,
|
|
391
|
+
.ts-wrapper.single.input-active .ts-control {
|
|
392
|
+
background: #fff;
|
|
393
|
+
cursor: text;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.ts-hidden-accessible {
|
|
397
|
+
border: 0 !important;
|
|
398
|
+
clip: rect(0 0 0 0) !important;
|
|
399
|
+
clip-path: inset(50%) !important;
|
|
400
|
+
overflow: hidden !important;
|
|
401
|
+
padding: 0 !important;
|
|
402
|
+
position: absolute !important;
|
|
403
|
+
width: 1px !important;
|
|
404
|
+
white-space: nowrap !important;
|
|
405
|
+
}
|