|
520 | 520 | <input v-if="elementsType == 'datasets'" v-model="hideSourceItems" type="checkbox" /> |
521 | 521 | <div v-if="extension && showFileTypeSelector" class="rule-footer-extension-group"> |
522 | 522 | <label>{{ l("Type") }}:</label> |
523 | | - <Select2 v-model="extension" name="extension" class="extension-select"> |
| 523 | + <SelectBasic v-model="extension" name="extension" class="extension-select"> |
524 | 524 | <option v-for="col in extensions" :key="col.id" :value="col['id']"> |
525 | 525 | {{ col["text"] }} |
526 | 526 | </option> |
527 | | - </Select2> |
| 527 | + </SelectBasic> |
528 | 528 | </div> |
529 | 529 | <div v-if="genome && showGenomeSelector" class="rule-footer-genome-group"> |
530 | 530 | <label>{{ l("Genome") }}:</label> |
531 | | - <Select2 v-model="genome" class="genome-select"> |
| 531 | + <SelectBasic v-model="genome" class="genome-select"> |
532 | 532 | <option v-for="col in genomes" :key="col.id" :value="col['id']">{{ col["text"] }}</option> |
533 | | - </Select2> |
| 533 | + </SelectBasic> |
534 | 534 | </div> |
535 | 535 | <label v-if="showAddNameTag">{{ l("Add nametag for name") }}:</label> |
536 | 536 | <input v-if="showAddNameTag" v-model="addNameTag" type="checkbox" /> |
@@ -625,8 +625,8 @@ import RuleModalMiddle from "components/RuleBuilder/RuleModalMiddle"; |
625 | 625 | import RuleTargetComponent from "components/RuleBuilder/RuleTargetComponent"; |
626 | 626 | import SavedRulesSelector from "components/RuleBuilder/SavedRulesSelector"; |
627 | 627 | import SaveRules from "components/RuleBuilder/SaveRules"; |
| 628 | +import SelectBasic from "components/RuleBuilder/SelectBasic"; |
628 | 629 | import StateDiv from "components/RuleBuilder/StateDiv"; |
629 | | -import Select2 from "components/Select2"; |
630 | 630 | import UploadUtils from "components/Upload/utils"; |
631 | 631 | import { getAppRoot } from "onload/loadConfig"; |
632 | 632 | import { useHistoryStore } from "stores/historyStore"; |
@@ -661,7 +661,7 @@ export default { |
661 | 661 | RuleModalHeader, |
662 | 662 | RuleModalMiddle, |
663 | 663 | RuleModalFooter, |
664 | | - Select2, |
| 664 | + SelectBasic, |
665 | 665 | GButton, |
666 | 666 | }, |
667 | 667 | mixins: [SaveRules], |
@@ -1837,15 +1837,15 @@ export default { |
1837 | 1837 | }, |
1838 | 1838 | highlightColumn(n) { |
1839 | 1839 | const headerSelection = document.querySelectorAll(`.htCore > thead > tr > th:nth-child(${n + 1})`); |
1840 | | - headerSelection.forEach(el => el.classList.add("ht__highlight")); |
| 1840 | + headerSelection.forEach((el) => el.classList.add("ht__highlight")); |
1841 | 1841 | const bodySelection = document.querySelectorAll(`.htCore > tbody > tr > td:nth-child(${n + 1})`); |
1842 | | - bodySelection.forEach(el => el.classList.add("rule-highlight")); |
| 1842 | + bodySelection.forEach((el) => el.classList.add("rule-highlight")); |
1843 | 1843 | }, |
1844 | 1844 | unhighlightColumn(n) { |
1845 | 1845 | const headerSelection = document.querySelectorAll(`.htCore > thead > tr > th:nth-child(${n + 1})`); |
1846 | | - headerSelection.forEach(el => el.classList.remove("ht__highlight")); |
| 1846 | + headerSelection.forEach((el) => el.classList.remove("ht__highlight")); |
1847 | 1847 | const bodySelection = document.querySelectorAll(`.htCore > tbody > tr > td:nth-child(${n + 1})`); |
1848 | | - bodySelection.forEach(el => el.classList.remove("rule-highlight")); |
| 1848 | + bodySelection.forEach((el) => el.classList.remove("rule-highlight")); |
1849 | 1849 | }, |
1850 | 1850 | _datasetFor(dataIndex, data, mappingAsDict) { |
1851 | 1851 | const res = {}; |
@@ -1956,7 +1956,7 @@ export default { |
1956 | 1956 | width: 100%; |
1957 | 1957 | overflow: hidden; |
1958 | 1958 | } |
1959 | | - .select2-container { |
| 1959 | + .select-basic { |
1960 | 1960 | min-width: 60px; |
1961 | 1961 | } |
1962 | 1962 | .vertical #hot-table { |
@@ -2052,7 +2052,7 @@ export default { |
2052 | 2052 | padding-left: 20px; |
2053 | 2053 | align-self: baseline; |
2054 | 2054 | } |
2055 | | - .rule-footer-inputs .select2-container { |
| 2055 | + .rule-footer-inputs .select-basic { |
2056 | 2056 | align-self: baseline; |
2057 | 2057 | } |
2058 | 2058 | .rule-footer-inputs { |
|
0 commit comments