lucos_search_component 2.0.18 → 2.0.20
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.
|
@@ -13,7 +13,7 @@ permissions:
|
|
|
13
13
|
|
|
14
14
|
jobs:
|
|
15
15
|
reusable:
|
|
16
|
-
uses: lucas42/.github/.github/workflows/reusable-code-reviewer-auto-merge.yml@v1.
|
|
16
|
+
uses: lucas42/.github/.github/workflows/reusable-code-reviewer-auto-merge.yml@v1.15.0
|
|
17
17
|
secrets:
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
LUCOS_CI_APP_ID: ${{ secrets.LUCOS_CI_APP_ID }}
|
|
19
|
+
LUCOS_CI_PRIVATE_KEY: ${{ secrets.LUCOS_CI_PRIVATE_KEY }}
|
|
@@ -9,7 +9,7 @@ permissions:
|
|
|
9
9
|
|
|
10
10
|
jobs:
|
|
11
11
|
dependabot:
|
|
12
|
-
uses: lucas42/.github/.github/workflows/reusable-dependabot-auto-merge.yml@v1.
|
|
12
|
+
uses: lucas42/.github/.github/workflows/reusable-dependabot-auto-merge.yml@v1.15.0
|
|
13
13
|
secrets:
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
LUCOS_CI_APP_ID: ${{ secrets.LUCOS_CI_APP_ID }}
|
|
15
|
+
LUCOS_CI_PRIVATE_KEY: ${{ secrets.LUCOS_CI_PRIVATE_KEY }}
|
package/dist/index.js
CHANGED
|
@@ -1698,6 +1698,7 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
1698
1698
|
this.isFocused = false;
|
|
1699
1699
|
this.isInputHidden = false;
|
|
1700
1700
|
this.isSetup = false;
|
|
1701
|
+
this.isDropdownContentStale = true;
|
|
1701
1702
|
this.ignoreFocus = false;
|
|
1702
1703
|
this.ignoreHover = false;
|
|
1703
1704
|
this.hasOptions = false;
|
|
@@ -2074,7 +2075,6 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
2074
2075
|
const settings = get_settings ? getSettings(self.input, { delimiter: self.settings.delimiter, allowEmptyOption: self.settings.allowEmptyOption }) : self.settings;
|
|
2075
2076
|
self.setupOptions(settings.options, settings.optgroups);
|
|
2076
2077
|
self.setValue(settings.items || [], true); // silent prevents recursion
|
|
2077
|
-
self.lastQuery = null; // so updated options will be displayed in dropdown
|
|
2078
2078
|
}
|
|
2079
2079
|
/**
|
|
2080
2080
|
* Triggered when the main control element
|
|
@@ -2378,7 +2378,7 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
2378
2378
|
else {
|
|
2379
2379
|
value = option.dataset.value;
|
|
2380
2380
|
if (typeof value !== 'undefined') {
|
|
2381
|
-
self.
|
|
2381
|
+
self.isDropdownContentStale = self.settings.hideSelected;
|
|
2382
2382
|
self.addItem(value);
|
|
2383
2383
|
if (self.settings.closeAfterSelect) {
|
|
2384
2384
|
self.close();
|
|
@@ -2459,7 +2459,7 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
2459
2459
|
loadCallback(options, optgroups) {
|
|
2460
2460
|
const self = this;
|
|
2461
2461
|
self.loading = Math.max(self.loading - 1, 0);
|
|
2462
|
-
self.
|
|
2462
|
+
self.isDropdownContentStale = true;
|
|
2463
2463
|
self.clearActiveOption(); // when new results load, focus should be on first option
|
|
2464
2464
|
self.setupOptions(options, optgroups);
|
|
2465
2465
|
self.refreshOptions(self.isFocused && !self.isInputHidden);
|
|
@@ -2790,7 +2790,7 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
2790
2790
|
}
|
|
2791
2791
|
}
|
|
2792
2792
|
// perform search
|
|
2793
|
-
if (query !== self.lastQuery) {
|
|
2793
|
+
if (self.isDropdownContentStale || query !== self.lastQuery) {
|
|
2794
2794
|
self.lastQuery = query;
|
|
2795
2795
|
// temp fix for https://github.com/orchidjs/tom-select/issues/987
|
|
2796
2796
|
// UI crashed when more than 30 same chars in a row, prevent search and return empt result
|
|
@@ -2940,6 +2940,7 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
2940
2940
|
});
|
|
2941
2941
|
dropdown_content.innerHTML = '';
|
|
2942
2942
|
append(dropdown_content, html);
|
|
2943
|
+
self.isDropdownContentStale = false;
|
|
2943
2944
|
// highlight matching terms inline
|
|
2944
2945
|
if (self.settings.highlight) {
|
|
2945
2946
|
removeHighlight(dropdown_content);
|
|
@@ -3034,12 +3035,13 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
3034
3035
|
}
|
|
3035
3036
|
const key = hash_key$1(data[self.settings.valueField]);
|
|
3036
3037
|
if (key === null || self.options.hasOwnProperty(key)) {
|
|
3038
|
+
self.updateOption(data[self.settings.valueField], data);
|
|
3037
3039
|
return false;
|
|
3038
3040
|
}
|
|
3039
3041
|
data.$order = data.$order || ++self.order;
|
|
3040
3042
|
data.$id = self.inputId + '-opt-' + data.$order;
|
|
3041
3043
|
self.options[key] = data;
|
|
3042
|
-
self.
|
|
3044
|
+
self.isDropdownContentStale = true;
|
|
3043
3045
|
if (user_created) {
|
|
3044
3046
|
self.userOptions[key] = user_created;
|
|
3045
3047
|
self.trigger('option_add', key, data);
|
|
@@ -3155,8 +3157,8 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
3155
3157
|
addClasses$2(item_new, 'active');
|
|
3156
3158
|
replaceNode(item, item_new);
|
|
3157
3159
|
}
|
|
3158
|
-
//
|
|
3159
|
-
self.
|
|
3160
|
+
// we might have updated the sortField
|
|
3161
|
+
self.isDropdownContentStale = true;
|
|
3160
3162
|
}
|
|
3161
3163
|
/**
|
|
3162
3164
|
* Removes a single option.
|
|
@@ -3168,7 +3170,7 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
3168
3170
|
self.uncacheValue(value);
|
|
3169
3171
|
delete self.userOptions[value];
|
|
3170
3172
|
delete self.options[value];
|
|
3171
|
-
self.
|
|
3173
|
+
self.isDropdownContentStale = true;
|
|
3172
3174
|
self.trigger('option_remove', value);
|
|
3173
3175
|
self.removeItem(value, silent);
|
|
3174
3176
|
}
|
|
@@ -3187,7 +3189,7 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
3187
3189
|
}
|
|
3188
3190
|
});
|
|
3189
3191
|
this.options = this.sifter.items = selected;
|
|
3190
|
-
this.
|
|
3192
|
+
this.isDropdownContentStale = true;
|
|
3191
3193
|
this.trigger('option_clear');
|
|
3192
3194
|
}
|
|
3193
3195
|
/**
|
|
@@ -3366,7 +3368,7 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
3366
3368
|
removeClasses$1(item, 'active');
|
|
3367
3369
|
}
|
|
3368
3370
|
self.items.splice(i, 1);
|
|
3369
|
-
self.
|
|
3371
|
+
self.isDropdownContentStale = true;
|
|
3370
3372
|
if (!self.settings.persist && self.userOptions.hasOwnProperty(value)) {
|
|
3371
3373
|
self.removeOption(value, silent);
|
|
3372
3374
|
}
|
|
@@ -3445,7 +3447,7 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
3445
3447
|
*/
|
|
3446
3448
|
refreshItems() {
|
|
3447
3449
|
var self = this;
|
|
3448
|
-
self.
|
|
3450
|
+
self.isDropdownContentStale = true;
|
|
3449
3451
|
if (self.isSetup) {
|
|
3450
3452
|
self.addItems(self.items);
|
|
3451
3453
|
}
|
|
@@ -3975,7 +3977,7 @@ class TomSelect extends MicroPlugin(MicroEvent) {
|
|
|
3975
3977
|
}
|
|
3976
3978
|
|
|
3977
3979
|
/**
|
|
3978
|
-
* Tom Select v2.
|
|
3980
|
+
* Tom Select v2.6.0
|
|
3979
3981
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3980
3982
|
*/
|
|
3981
3983
|
|
|
@@ -4024,7 +4026,7 @@ function plugin$d () {
|
|
|
4024
4026
|
}
|
|
4025
4027
|
|
|
4026
4028
|
/**
|
|
4027
|
-
* Tom Select v2.
|
|
4029
|
+
* Tom Select v2.6.0
|
|
4028
4030
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4029
4031
|
*/
|
|
4030
4032
|
|
|
@@ -4201,7 +4203,7 @@ function plugin$c (userOptions) {
|
|
|
4201
4203
|
}
|
|
4202
4204
|
|
|
4203
4205
|
/**
|
|
4204
|
-
* Tom Select v2.
|
|
4206
|
+
* Tom Select v2.6.0
|
|
4205
4207
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4206
4208
|
*/
|
|
4207
4209
|
|
|
@@ -4275,7 +4277,7 @@ function plugin$b (userOptions) {
|
|
|
4275
4277
|
}
|
|
4276
4278
|
|
|
4277
4279
|
/**
|
|
4278
|
-
* Tom Select v2.
|
|
4280
|
+
* Tom Select v2.6.0
|
|
4279
4281
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4280
4282
|
*/
|
|
4281
4283
|
|
|
@@ -4493,7 +4495,7 @@ function plugin$a () {
|
|
|
4493
4495
|
}
|
|
4494
4496
|
|
|
4495
4497
|
/**
|
|
4496
|
-
* Tom Select v2.
|
|
4498
|
+
* Tom Select v2.6.0
|
|
4497
4499
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4498
4500
|
*/
|
|
4499
4501
|
|
|
@@ -4593,7 +4595,7 @@ function plugin$9 (userOptions) {
|
|
|
4593
4595
|
}
|
|
4594
4596
|
|
|
4595
4597
|
/**
|
|
4596
|
-
* Tom Select v2.
|
|
4598
|
+
* Tom Select v2.6.0
|
|
4597
4599
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4598
4600
|
*/
|
|
4599
4601
|
|
|
@@ -4754,7 +4756,7 @@ function plugin$8 () {
|
|
|
4754
4756
|
}
|
|
4755
4757
|
|
|
4756
4758
|
/**
|
|
4757
|
-
* Tom Select v2.
|
|
4759
|
+
* Tom Select v2.6.0
|
|
4758
4760
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4759
4761
|
*/
|
|
4760
4762
|
|
|
@@ -4976,7 +4978,7 @@ function plugin$7 () {
|
|
|
4976
4978
|
}
|
|
4977
4979
|
|
|
4978
4980
|
/**
|
|
4979
|
-
* Tom Select v2.
|
|
4981
|
+
* Tom Select v2.6.0
|
|
4980
4982
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4981
4983
|
*/
|
|
4982
4984
|
|
|
@@ -5048,7 +5050,7 @@ function plugin$6 () {
|
|
|
5048
5050
|
}
|
|
5049
5051
|
|
|
5050
5052
|
/**
|
|
5051
|
-
* Tom Select v2.
|
|
5053
|
+
* Tom Select v2.6.0
|
|
5052
5054
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5053
5055
|
*/
|
|
5054
5056
|
|
|
@@ -5078,7 +5080,7 @@ function plugin$5 () {
|
|
|
5078
5080
|
}
|
|
5079
5081
|
|
|
5080
5082
|
/**
|
|
5081
|
-
* Tom Select v2.
|
|
5083
|
+
* Tom Select v2.6.0
|
|
5082
5084
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5083
5085
|
*/
|
|
5084
5086
|
|
|
@@ -5102,7 +5104,7 @@ function plugin$4 () {
|
|
|
5102
5104
|
}
|
|
5103
5105
|
|
|
5104
5106
|
/**
|
|
5105
|
-
* Tom Select v2.
|
|
5107
|
+
* Tom Select v2.6.0
|
|
5106
5108
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5107
5109
|
*/
|
|
5108
5110
|
|
|
@@ -5186,7 +5188,7 @@ function plugin$3 () {
|
|
|
5186
5188
|
}
|
|
5187
5189
|
|
|
5188
5190
|
/**
|
|
5189
|
-
* Tom Select v2.
|
|
5191
|
+
* Tom Select v2.6.0
|
|
5190
5192
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5191
5193
|
*/
|
|
5192
5194
|
|
|
@@ -5318,7 +5320,7 @@ function plugin$2 (userOptions) {
|
|
|
5318
5320
|
}
|
|
5319
5321
|
|
|
5320
5322
|
/**
|
|
5321
|
-
* Tom Select v2.
|
|
5323
|
+
* Tom Select v2.6.0
|
|
5322
5324
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5323
5325
|
*/
|
|
5324
5326
|
|
|
@@ -5358,7 +5360,7 @@ function plugin$1 (userOptions) {
|
|
|
5358
5360
|
}
|
|
5359
5361
|
|
|
5360
5362
|
/**
|
|
5361
|
-
* Tom Select v2.
|
|
5363
|
+
* Tom Select v2.6.0
|
|
5362
5364
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5363
5365
|
*/
|
|
5364
5366
|
|
|
@@ -5442,7 +5444,7 @@ const castAsArray = arg => {
|
|
|
5442
5444
|
};
|
|
5443
5445
|
|
|
5444
5446
|
/**
|
|
5445
|
-
* Plugin: "
|
|
5447
|
+
* Plugin: "virtual_scroll" (Tom Select)
|
|
5446
5448
|
* Copyright (c) contributors
|
|
5447
5449
|
*
|
|
5448
5450
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
@@ -5568,6 +5570,15 @@ function plugin () {
|
|
|
5568
5570
|
loading_more = false;
|
|
5569
5571
|
});
|
|
5570
5572
|
|
|
5573
|
+
// as the “loading_more” element will be removed from the dropdown,
|
|
5574
|
+
// we activate the previous option if needed
|
|
5575
|
+
// to avoid the dropdown being scrolled back to the first one
|
|
5576
|
+
self.hook('before', 'refreshOptions', () => {
|
|
5577
|
+
if (self.activeOption && "option" !== self.activeOption.getAttribute("role")) {
|
|
5578
|
+
self.setActiveOption(self.activeOption.previousElementSibling);
|
|
5579
|
+
}
|
|
5580
|
+
});
|
|
5581
|
+
|
|
5571
5582
|
// add templates to dropdown
|
|
5572
5583
|
// loading_more if we have another url in the queue
|
|
5573
5584
|
// no_more_results if we don't have another url in the queue
|
|
@@ -5642,7 +5653,7 @@ TomSelect.define('remove_button', plugin$2);
|
|
|
5642
5653
|
TomSelect.define('restore_on_backspace', plugin$1);
|
|
5643
5654
|
TomSelect.define('virtual_scroll', plugin);
|
|
5644
5655
|
|
|
5645
|
-
var tomSelectStylesheet = "/**\n * tom-select.css (v2.5.2)\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: inset 0 1px 1px rgba(0, 0, 0, 0.1);\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 - 1px) 8px calc(8px - 2px - 3px - 1px);\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: inset 0 1px 2px rgba(0, 0, 0, 0.15);\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: #1da7ee;\n color: #fff;\n border: 1px solid #0073bb;\n overflow: auto;\n}\n.ts-wrapper.multi .ts-control > div.active {\n background: #92c836;\n color: #fff;\n border: 1px solid #00578d;\n}\n.ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {\n color: white;\n background: #d2d2d2;\n border: 1px solid #aaaaaa;\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 -webkit-user-select: auto !important;\n -moz-user-select: auto !important;\n -ms-user-select: auto !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;\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: inset 0 1px 1px rgba(0, 0, 0, 0.1);\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::-ms-input-placeholder {\n color: transparent;\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 #0073bb;\n margin-left: 6px;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove {\n border-left-color: #00578d;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove {\n border-left-color: #aaaaaa;\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 #0073bb;\n margin-right: 6px;\n}\n.ts-wrapper.plugin-remove_button.rtl .item.active .remove {\n border-right-color: #00578d;\n}\n.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove {\n border-right-color: #aaaaaa;\n}\n\n:root {\n --ts-pr-clear-button: 0px;\n --ts-pr-caret: 0px;\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 -webkit-clip-path: inset(50%) !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}\n\n.ts-wrapper.single .ts-control {\n --ts-pr-caret: 2rem;\n}\n.ts-wrapper.single .ts-control::after {\n content: \" \";\n display: block;\n position: absolute;\n top: 50%;\n margin-top: -3px;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 5px 0 5px;\n border-color: #808080 transparent transparent transparent;\n}\n.ts-wrapper.single .ts-control:not(.rtl)::after {\n right: 15px;\n}\n.ts-wrapper.single .ts-control.rtl::after {\n left: 15px;\n}\n.ts-wrapper.single.dropdown-active .ts-control::after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #808080 transparent;\n}\n.ts-wrapper.single.input-active .ts-control, .ts-wrapper.single.input-active .ts-control input {\n cursor: text;\n}\n\n.ts-wrapper {\n display: flex;\n min-height: 36px;\n}\n.ts-wrapper.multi.has-items .ts-control {\n padding-left: 5px;\n --ts-pr-min: 5px;\n}\n.ts-wrapper.multi .ts-control [data-value] {\n text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);\n border-radius: 3px;\n background-color: color-mix(#1da7ee, #178ee9, 60%);\n background-image: linear-gradient(to bottom, #1da7ee, #178ee9);\n background-repeat: repeat-x;\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);\n}\n.ts-wrapper.multi .ts-control [data-value].active {\n background-color: color-mix(#008fd8, #0075cf, 60%);\n background-image: linear-gradient(to bottom, #008fd8, #0075cf);\n background-repeat: repeat-x;\n}\n.ts-wrapper.multi.disabled .ts-control [data-value] {\n color: #999;\n text-shadow: none;\n background: none;\n box-shadow: none;\n}\n.ts-wrapper.multi.disabled .ts-control [data-value], .ts-wrapper.multi.disabled .ts-control [data-value] .remove {\n border-color: #e6e6e6;\n}\n.ts-wrapper.multi.disabled .ts-control [data-value] .remove {\n background: none;\n}\n.ts-wrapper.single .ts-control {\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);\n background-color: color-mix(#fefefe, #f2f2f2, 60%);\n background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);\n background-repeat: repeat-x;\n}\n\n.ts-wrapper.single .ts-control, .ts-dropdown.single {\n border-color: #b8b8b8;\n}\n\n.dropdown-active .ts-control {\n border-radius: 3px 3px 0 0;\n}\n\n.ts-dropdown .optgroup-header {\n padding-top: 7px;\n font-weight: bold;\n font-size: 0.85em;\n}\n.ts-dropdown .optgroup {\n border-top: 1px solid #f0f0f0;\n}\n.ts-dropdown .optgroup:first-child {\n border-top: 0 none;\n}\n/*# sourceMappingURL=tom-select.default.css.map */";
|
|
5656
|
+
var tomSelectStylesheet = "/**\n * tom-select.css (v2.6.0)\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: inset 0 1px 1px rgba(0, 0, 0, 0.1);\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 - 1px) 8px calc(8px - 2px - 3px - 1px);\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: inset 0 1px 2px rgba(0, 0, 0, 0.15);\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: #1da7ee;\n color: #fff;\n border: 1px solid #0073bb;\n overflow: auto;\n}\n.ts-wrapper.multi .ts-control > div.active {\n background: #92c836;\n color: #fff;\n border: 1px solid #00578d;\n}\n.ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {\n color: white;\n background: #d2d2d2;\n border: 1px solid #aaaaaa;\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 -webkit-user-select: auto !important;\n -moz-user-select: auto !important;\n -ms-user-select: auto !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;\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: inset 0 1px 1px rgba(0, 0, 0, 0.1);\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::-ms-input-placeholder {\n color: transparent;\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 #0073bb;\n margin-left: 6px;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove {\n border-left-color: #00578d;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove {\n border-left-color: #aaaaaa;\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 #0073bb;\n margin-right: 6px;\n}\n.ts-wrapper.plugin-remove_button.rtl .item.active .remove {\n border-right-color: #00578d;\n}\n.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove {\n border-right-color: #aaaaaa;\n}\n\n:root {\n --ts-pr-clear-button: 0px;\n --ts-pr-caret: 0px;\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 -webkit-clip-path: inset(50%) !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}\n\n.ts-wrapper.single .ts-control {\n --ts-pr-caret: 2rem;\n}\n.ts-wrapper.single .ts-control::after {\n content: \" \";\n display: block;\n position: absolute;\n top: 50%;\n margin-top: -3px;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 5px 0 5px;\n border-color: #808080 transparent transparent transparent;\n}\n.ts-wrapper.single .ts-control:not(.rtl)::after {\n right: 15px;\n}\n.ts-wrapper.single .ts-control.rtl::after {\n left: 15px;\n}\n.ts-wrapper.single.dropdown-active .ts-control::after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #808080 transparent;\n}\n.ts-wrapper.single.input-active .ts-control, .ts-wrapper.single.input-active .ts-control input {\n cursor: text;\n}\n\n.ts-wrapper {\n display: flex;\n min-height: 36px;\n}\n.ts-wrapper.multi.has-items .ts-control {\n padding-left: 5px;\n --ts-pr-min: 5px;\n}\n.ts-wrapper.multi .ts-control [data-value] {\n text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);\n border-radius: 3px;\n background-color: color-mix(#1da7ee, #178ee9, 60%);\n background-image: linear-gradient(to bottom, #1da7ee, #178ee9);\n background-repeat: repeat-x;\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);\n}\n.ts-wrapper.multi .ts-control [data-value].active {\n background-color: color-mix(#008fd8, #0075cf, 60%);\n background-image: linear-gradient(to bottom, #008fd8, #0075cf);\n background-repeat: repeat-x;\n}\n.ts-wrapper.multi.disabled .ts-control [data-value] {\n color: #999;\n text-shadow: none;\n background: none;\n box-shadow: none;\n}\n.ts-wrapper.multi.disabled .ts-control [data-value], .ts-wrapper.multi.disabled .ts-control [data-value] .remove {\n border-color: #e6e6e6;\n}\n.ts-wrapper.multi.disabled .ts-control [data-value] .remove {\n background: none;\n}\n.ts-wrapper.single .ts-control {\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);\n background-color: color-mix(#fefefe, #f2f2f2, 60%);\n background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);\n background-repeat: repeat-x;\n}\n\n.ts-wrapper.single .ts-control, .ts-dropdown.single {\n border-color: #b8b8b8;\n}\n\n.dropdown-active .ts-control {\n border-radius: 3px 3px 0 0;\n}\n\n.ts-dropdown .optgroup-header {\n padding-top: 7px;\n font-weight: bold;\n font-size: 0.85em;\n}\n.ts-dropdown .optgroup {\n border-top: 1px solid #f0f0f0;\n}\n.ts-dropdown .optgroup:first-child {\n border-top: 0 none;\n}\n/*# sourceMappingURL=tom-select.default.css.map */";
|
|
5646
5657
|
|
|
5647
5658
|
class LucosSearchComponent extends HTMLSpanElement {
|
|
5648
5659
|
static get observedAttributes() {
|