From 71d4f06d7749d96f36fb741753b5673fdd250f31 Mon Sep 17 00:00:00 2001 From: Josh Schmidt Date: Mon, 28 Sep 2020 10:55:22 -0600 Subject: [PATCH] v1.0.0-b.3 Release --- dist/css/tom-select.bootstrap3.css | 203 +++++++++++--------- dist/css/tom-select.bootstrap3.css.map | 2 +- dist/css/tom-select.bootstrap3.min.css | 2 +- dist/css/tom-select.bootstrap3.min.css.map | 2 +- dist/css/tom-select.bootstrap4.css | 211 ++++++++++++--------- dist/css/tom-select.bootstrap4.css.map | 2 +- dist/css/tom-select.bootstrap4.min.css | 2 +- dist/css/tom-select.bootstrap4.min.css.map | 2 +- dist/css/tom-select.css | 175 ++++++++++------- dist/css/tom-select.css.map | 2 +- dist/css/tom-select.default.css | 197 +++++++++++-------- dist/css/tom-select.default.css.map | 2 +- dist/css/tom-select.default.min.css | 2 +- dist/css/tom-select.default.min.css.map | 2 +- dist/css/tom-select.min.css | 2 +- dist/css/tom-select.min.css.map | 2 +- dist/js/tom-select.complete.js | 84 ++++---- dist/js/tom-select.complete.min.js | 4 +- dist/js/tom-select.js | 84 ++++---- dist/js/tom-select.js.map | 2 +- dist/js/tom-select.min.js | 4 +- dist/scss/plugins/optgroup_columns.scss | 2 +- dist/scss/tom-select.scss | 43 ++++- package.json | 2 +- 24 files changed, 607 insertions(+), 428 deletions(-) diff --git a/dist/css/tom-select.bootstrap3.css b/dist/css/tom-select.bootstrap3.css index 0a257372..4343c4a0 100644 --- a/dist/css/tom-select.bootstrap3.css +++ b/dist/css/tom-select.bootstrap3.css @@ -1,5 +1,5 @@ /** - * tom-select.css (v1.0.0-b.1) + * tom-select.css (v1.0.0-b.3) * Copyright (c) contributors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this @@ -12,29 +12,29 @@ * governing permissions and limitations under the License. * */ -.tomselect-control.plugin-drag_drop.multi > .tomselect-input > div.ui-sortable-placeholder { +.ts-control.plugin-drag_drop.multi > .ts-input > div.ui-sortable-placeholder { visibility: visible !important; background: #f2f2f2 !important; background: rgba(0, 0, 0, 0.06) !important; border: 0 none !important; box-shadow: inset 0 0 12px 4px #fff; } -.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after { +.ts-control.plugin-drag_drop .ui-sortable-placeholder::after { content: '!'; visibility: hidden; } -.tomselect-control.plugin-drag_drop .ui-sortable-helper { +.ts-control.plugin-drag_drop .ui-sortable-helper { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } -.tomselect-control .dropdown-header { +.ts-control .dropdown-header { position: relative; padding: 6px 12px; border-bottom: 1px solid #d0d0d0; background: #f8f8f8; border-radius: 4px 4px 0 0; } -.tomselect-control .dropdown-header-close { +.ts-control .dropdown-header-close { position: absolute; right: 12px; top: 50%; @@ -44,41 +44,36 @@ line-height: 20px; font-size: 20px !important; } -.tomselect-control .dropdown-header-close:hover { +.ts-control .dropdown-header-close:hover { color: black; } -.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content { - display: -ms-flexbox; +.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content { display: flex; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup { +.ts-dropdown.plugin-optgroup_columns .optgroup { border-right: 1px solid #f2f2f2; border-top: 0 none; - -ms-flex-positive: 1; - flex-grow: 1; - -ms-flex-preferred-size: 0; - flex-basis: 0; + flex-grow: 1; + flex-basis: 0; min-width: 0; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child { +.ts-dropdown.plugin-optgroup_columns .optgroup:last-child { border-right: 0 none; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup:before { +.ts-dropdown.plugin-optgroup_columns .optgroup:before { display: none; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup-header { +.ts-dropdown.plugin-optgroup_columns .optgroup-header { border-top: 0 none; } -.tomselect-control.plugin-remove_button .item { - display: -ms-inline-flexbox; +.ts-control.plugin-remove_button .item { display: inline-flex; - -ms-flex-align: center; - align-items: center; + align-items: center; padding-right: 0 !important; } -.tomselect-control.plugin-remove_button .item .remove { +.ts-control.plugin-remove_button .item .remove { color: inherit; text-decoration: none; vertical-align: middle; @@ -89,31 +84,31 @@ box-sizing: border-box; margin-left: 5px; } -.tomselect-control.plugin-remove_button .item .remove:hover { +.ts-control.plugin-remove_button .item .remove:hover { background: rgba(0, 0, 0, 0.05); } -.tomselect-control.plugin-remove_button .item.active .remove { +.ts-control.plugin-remove_button .item.active .remove { border-left-color: rgba(0, 0, 0, 0); } -.tomselect-control.plugin-remove_button .disabled .item .remove:hover { +.ts-control.plugin-remove_button .disabled .item .remove:hover { background: none; } -.tomselect-control.plugin-remove_button .disabled .item .remove { +.ts-control.plugin-remove_button .disabled .item .remove { border-left-color: rgba(77, 77, 77, 0); } -.tomselect-control.plugin-remove_button .remove-single { +.ts-control.plugin-remove_button .remove-single { position: absolute; right: 0; top: 0; font-size: 23px; } -.tomselect-control { +.ts-control { position: relative; } -.tomselect-dropdown, -.tomselect-input, .tomselect-input input { +.ts-dropdown, +.ts-input, .ts-input input { color: #333333; font-family: inherit; font-size: inherit; @@ -121,14 +116,14 @@ font-smoothing: inherit; } -.tomselect-input, -.tomselect-control.single .tomselect-input.input-active { +.ts-input, +.ts-control.single .ts-input.input-active { background: #fff; cursor: text; display: inline-block; } -.tomselect-input { +.ts-input { border: 1px solid #ccc; padding: 6px 12px; display: inline-block; @@ -140,27 +135,27 @@ box-shadow: none; border-radius: 4px; } -.tomselect-control.multi .tomselect-input.has-items { +.ts-control.multi .ts-input.has-items { padding: calc( 6px - 1px - 0) 12px calc( 6px - 1px - 3px - 0); } -.tomselect-input.full { +.ts-input.full { background-color: #fff; } -.tomselect-input.disabled, .tomselect-input.disabled * { +.ts-input.disabled, .ts-input.disabled * { cursor: default !important; } -.tomselect-input.focus { +.ts-input.focus { box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15); } -.tomselect-input.dropdown-active { +.ts-input.dropdown-active { border-radius: 4px 4px 0 0; } -.tomselect-input > * { +.ts-input > * { vertical-align: baseline; display: inline-block; zoom: 1; } -.tomselect-control.multi .tomselect-input > div { +.ts-control.multi .ts-input > div { cursor: pointer; margin: 0 3px 3px 0; padding: 1px 5px; @@ -168,17 +163,17 @@ color: #333333; border: 0 solid rgba(0, 0, 0, 0); } -.tomselect-control.multi .tomselect-input > div.active { +.ts-control.multi .ts-input > div.active { background: #337ab7; color: #fff; border: 0 solid rgba(0, 0, 0, 0); } -.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active { +.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active { color: gray; background: white; border: 0 solid rgba(77, 77, 77, 0); } -.tomselect-input > input { +.ts-input > input { display: inline-block !important; padding: 0 !important; min-height: 0 !important; @@ -195,23 +190,23 @@ user-select: auto !important; box-shadow: none !important; } -.tomselect-input > input::-ms-clear { +.ts-input > input::-ms-clear { display: none; } -.tomselect-input > input:focus { +.ts-input > input:focus { outline: none !important; } -.tomselect-input.has-items > input { +.ts-input.has-items > input { margin: 0 4px !important; } -.tomselect-input::after { +.ts-input::after { content: ' '; display: block; clear: left; } -.tomselect-input.dropdown-active::before { +.ts-input.dropdown-active::before { content: ' '; display: block; position: absolute; @@ -222,8 +217,11 @@ right: 0; } -.tomselect-dropdown { +.ts-dropdown { position: absolute; + top: 100%; + left: 0; + width: 100%; z-index: 10; border: 1px solid #d0d0d0; background: #fff; @@ -233,60 +231,95 @@ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); border-radius: 0 0 4px 4px; } -.tomselect-dropdown [data-selectable] { +.ts-dropdown [data-selectable] { cursor: pointer; overflow: hidden; } -.tomselect-dropdown [data-selectable] .highlight { +.ts-dropdown [data-selectable] .highlight { background: rgba(255, 237, 40, 0.4); border-radius: 1px; } -.tomselect-dropdown .option, -.tomselect-dropdown .optgroup-header, -.tomselect-dropdown .no-results, -.tomselect-dropdown .create { +.ts-dropdown .option, +.ts-dropdown .optgroup-header, +.ts-dropdown .no-results, +.ts-dropdown .create { padding: 3px 12px; } -.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option { +.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option { cursor: inherit; opacity: 0.5; } -.tomselect-dropdown [data-selectable].option { +.ts-dropdown [data-selectable].option { opacity: 1; + cursor: pointer; } -.tomselect-dropdown .optgroup:first-child .optgroup-header { +.ts-dropdown .optgroup:first-child .optgroup-header { border-top: 0 none; } -.tomselect-dropdown .optgroup-header { +.ts-dropdown .optgroup-header { color: #777777; background: #fff; cursor: default; } -.tomselect-dropdown .active { +.ts-dropdown .active { background-color: #f5f5f5; color: #262626; } -.tomselect-dropdown .active.create { +.ts-dropdown .active.create { color: #262626; } -.tomselect-dropdown .create { +.ts-dropdown .create { color: rgba(51, 51, 51, 0.5); } -.tomselect-dropdown-content { +.ts-dropdown-content { overflow-y: auto; overflow-x: hidden; max-height: 200px; overflow-scrolling: touch; } -.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input { +.ts-dropdown .spinner { + display: inline-block; + width: 30px; + height: 30px; + margin: 3px 12px; +} +.ts-dropdown .spinner:after { + content: " "; + display: block; + width: 24px; + height: 24px; + margin: 3px; + border-radius: 50%; + border: 5px solid #d0d0d0; + border-color: #d0d0d0 transparent #d0d0d0 transparent; + -webkit-animation: lds-dual-ring 1.2s linear infinite; + animation: lds-dual-ring 1.2s linear infinite; +} +@-webkit-keyframes lds-dual-ring { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +@keyframes lds-dual-ring { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +.ts-control.single .ts-input, .ts-control.single .ts-input input { cursor: pointer; } -.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input { +.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input { cursor: text; } -.tomselect-control.single .tomselect-input:after { +.ts-control.single .ts-input:after { content: ' '; display: block; position: absolute; @@ -299,29 +332,29 @@ border-width: 5px 5px 0 5px; border-color: #333333 transparent transparent transparent; } -.tomselect-control.single .tomselect-input.dropdown-active:after { +.ts-control.single .ts-input.dropdown-active:after { margin-top: -4px; border-width: 0 5px 5px 5px; border-color: transparent transparent #333333 transparent; } -.tomselect-control.rtl { +.ts-control.rtl { text-align: right; } -.tomselect-control.rtl.single .tomselect-input:after { +.ts-control.rtl.single .ts-input:after { left: 17px; right: auto; } -.tomselect-control.rtl .tomselect-input > input { +.ts-control.rtl .ts-input > input { margin: 0 4px 0 -2px !important; } -.tomselect-control .tomselect-input.disabled { +.ts-control .ts-input.disabled { opacity: 0.5; background-color: #fff; } -.tomselect-dropdown, .tomselect-dropdown.form-control { +.ts-dropdown, .ts-dropdown.form-control { height: auto; padding: 0; margin: 2px 0 0 0; @@ -333,14 +366,14 @@ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); } -.tomselect-dropdown .optgroup-header { +.ts-dropdown .optgroup-header { font-size: 12px; line-height: 1.428571429; } -.tomselect-dropdown .optgroup:first-child:before { +.ts-dropdown .optgroup:first-child:before { display: none; } -.tomselect-dropdown .optgroup:before { +.ts-dropdown .optgroup:before { content: ' '; display: block; height: 1px; @@ -351,43 +384,43 @@ margin-right: -12px; } -.tomselect-dropdown-content { +.ts-dropdown-content { padding: 5px 0; } -.tomselect-input { +.ts-input { min-height: 34px; } -.tomselect-input.dropdown-active { +.ts-input.dropdown-active { border-radius: 4px; } -.tomselect-input.dropdown-active::before { +.ts-input.dropdown-active::before { display: none; } -.tomselect-input.focus { +.ts-input.focus { border-color: #66afe9; outline: 0; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); } -.has-error .tomselect-input { +.has-error .ts-input { border-color: #a94442; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } -.has-error .tomselect-input:focus { +.has-error .ts-input:focus { border-color: #843534; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; } -.tomselect-control.multi .tomselect-input.has-items { +.ts-control.multi .ts-input.has-items { padding-left: 7px; padding-right: 7px; } -.tomselect-control.multi .tomselect-input > div { +.ts-control.multi .ts-input > div { border-radius: 3px; } -.form-control.tomselect-control { +.form-control.ts-control { padding: 0; height: auto; border: none; diff --git a/dist/css/tom-select.bootstrap3.css.map b/dist/css/tom-select.bootstrap3.css.map index 30fd1ea9..c1f09cdd 100644 --- a/dist/css/tom-select.bootstrap3.css.map +++ b/dist/css/tom-select.bootstrap3.css.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/scss/tom-select.scss","../../src/plugins/drag_drop/plugin.scss","tom-select.bootstrap3.css","../../src/plugins/dropdown_header/plugin.scss","../../src/scss/tom-select.bootstrap3.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss","../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;ACZF;EACC,+BAA8B;EAC9B,+BAA8B;EAC9B,2CAAuC;EACvC,0BAAyB;EACzB,oCAAmC;CCcpC;ADZA;EACC,aAAY;EACZ,mBAAkB;CCcnB;ADZA;EACC,yCAAqC;CCctC;;ACzBA;EACC,mBAAkB;EAClB,kBAA8E;EAC9E,iCAA6C;EAC7C,oBAAkE;EAClE,2BAA8D;CD4B/D;AC1BA;EACC,mBAAkB;EAClB,YC2BuD;ED1BvD,SAAQ;EACR,eHiB8C;EGhB9C,aAAY;EACZ,kBAAiB;EACjB,kBAAiB;EACjB,2BAA0B;CD4B3B;AC1BA;EACC,aAAsC;CD4BvC;;AG9CA;EACC,qBAAa;EAAb,cAAa;CHiDd;AG9CA;EACC,gCAA+B;EAC/B,mBAAkB;EACf,qBAAY;MAAZ,aAAY;EACZ,2BAAa;MAAb,cAAa;EAChB,aAAY;CHgDb;AG9CA;EACC,qB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SAAQ;EACR,UAAS;EACT,oBAAmB;EACnB,4BAAwE;EACxE,0DAAqE;CEYtE;AFVA;EACC,iBAAqC;EACrC,4BAAwE;EACxE,0DAAqE;CEYtE;;AFRD;EACC,kBAAiB;CEWjB;AFVA;EACC,WIrP2C;EJsP3C,YAAW;CEYZ;AFVA;EACC,gCAA2C;CEY5C;;AFRD;EACC,aIlR4B;EJmR5B,uBIjSgC;CF4ShC;;AEpQD;EACC,aAAY;EACZ,WAAU;EACV,kBAAiB;EACjB,cG4N8B;EH3N9B,iBApCmC;EAqCnC,uBAA2C;EAC3C,sCAAkC;EAClC,mBGgD8B;EH/C9B,4CAAuC;CFuQvC;;AEnQA;EACC,gBGdqD;EHerD,yBGLmC;CL2QpC;AEpQA;EACC,cAAa;CFsQd;AEpQA;EACC,aAAY;EACZ,eAAc;EItEd,YAAW;EACX,cAA2C;EAC3C,iBAAgB;EAChB,0BAJgC;EJyEhC,mBAAiD;EACjD,oBAAkD;CFyQnD;;AErQD;EACC,eAAc;CFwQd;;AEpQD;EACC,iBG6HyF;CL0IzF;AErQA;EACC,mBA1DyC;CFiU1C;AErQA;EACC,cAAa;CFuQd;AErQA;EAGC,sBAF2B;EAG3B,WAAU;EACV,mFAAiE;CFqQlE;;AEjQD;EACI,sBA/FyC;EAgGzC,iDA7E2D;CFiV9D;AElQG;EACI,sBAlG+D;EAmG/D,kEAhF8G;CFoVrH;;AE9PC;EACC,kBAAwD;EACxD,mBAAyD;CFiQ3D;AE/PC;EACC,mBAA0C;CFiQ5C;;AE5PD;EACC,WAAU;EACV,aAAY;EACZ,aAAY;EACZ,iBAAgB;EAChB,iBAAgB;EAChB,iBAAgB;CF+PhB","file":"tom-select.bootstrap3.css","sourcesContent":[null,null,"/**\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.tomselect-control.plugin-drag_drop.multi > .tomselect-input > 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.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.tomselect-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.tomselect-control .dropdown-header {\n position: relative;\n padding: 6px 12px;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 4px 4px 0 0;\n}\n.tomselect-control .dropdown-header-close {\n position: absolute;\n right: 12px;\n top: 50%;\n color: #333333;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.tomselect-control .dropdown-header-close:hover {\n color: black;\n}\n\n.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content {\n display: flex;\n}\n.tomselect-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.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.tomselect-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.tomselect-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 1px 5px;\n border-left: 1px solid rgba(0, 0, 0, 0);\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 5px;\n}\n.tomselect-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.tomselect-control.plugin-remove_button .item.active .remove {\n border-left-color: rgba(0, 0, 0, 0);\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove {\n border-left-color: rgba(77, 77, 77, 0);\n}\n.tomselect-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.tomselect-control {\n position: relative;\n}\n\n.tomselect-dropdown,\n.tomselect-input, .tomselect-input input {\n color: #333333;\n font-family: inherit;\n font-size: inherit;\n line-height: 20px;\n font-smoothing: inherit;\n}\n\n.tomselect-input,\n.tomselect-control.single .tomselect-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.tomselect-input {\n border: 1px solid #ccc;\n padding: 6px 12px;\n display: inline-block;\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: 4px;\n}\n.tomselect-control.multi .tomselect-input.has-items {\n padding: calc( 6px - 1px - 0) 12px calc( 6px - 1px - 3px - 0);\n}\n.tomselect-input.full {\n background-color: #fff;\n}\n.tomselect-input.disabled, .tomselect-input.disabled * {\n cursor: default !important;\n}\n.tomselect-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.tomselect-input.dropdown-active {\n border-radius: 4px 4px 0 0;\n}\n.tomselect-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.tomselect-control.multi .tomselect-input > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 1px 5px;\n background: #efefef;\n color: #333333;\n border: 0 solid rgba(0, 0, 0, 0);\n}\n.tomselect-control.multi .tomselect-input > div.active {\n background: #337ab7;\n color: #fff;\n border: 0 solid rgba(0, 0, 0, 0);\n}\n.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active {\n color: gray;\n background: white;\n border: 0 solid rgba(77, 77, 77, 0);\n}\n.tomselect-input > input {\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.tomselect-input > input::-ms-clear {\n display: none;\n}\n.tomselect-input > input:focus {\n outline: none !important;\n}\n.tomselect-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.tomselect-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.tomselect-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: white;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.tomselect-dropdown {\n position: absolute;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: -1px 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 4px 4px;\n}\n.tomselect-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.tomselect-dropdown [data-selectable] .highlight {\n background: rgba(255, 237, 40, 0.4);\n border-radius: 1px;\n}\n.tomselect-dropdown .option,\n.tomselect-dropdown .optgroup-header,\n.tomselect-dropdown .no-results,\n.tomselect-dropdown .create {\n padding: 3px 12px;\n}\n.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.tomselect-dropdown [data-selectable].option {\n opacity: 1;\n}\n.tomselect-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.tomselect-dropdown .optgroup-header {\n color: #777777;\n background: #fff;\n cursor: default;\n}\n.tomselect-dropdown .active {\n background-color: #f5f5f5;\n color: #262626;\n}\n.tomselect-dropdown .active.create {\n color: #262626;\n}\n.tomselect-dropdown .create {\n color: rgba(51, 51, 51, 0.5);\n}\n\n.tomselect-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input {\n cursor: pointer;\n}\n.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input {\n cursor: text;\n}\n.tomselect-control.single .tomselect-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 17px;\n margin-top: -3px;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 5px 0 5px;\n border-color: #333333 transparent transparent transparent;\n}\n.tomselect-control.single .tomselect-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #333333 transparent;\n}\n\n.tomselect-control.rtl {\n text-align: right;\n}\n.tomselect-control.rtl.single .tomselect-input:after {\n left: 17px;\n right: auto;\n}\n.tomselect-control.rtl .tomselect-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.tomselect-control .tomselect-input.disabled {\n opacity: 0.5;\n background-color: #fff;\n}\n\n.tomselect-dropdown, .tomselect-dropdown.form-control {\n height: auto;\n padding: 0;\n margin: 2px 0 0 0;\n z-index: 1000;\n background: #fff;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n}\n\n.tomselect-dropdown .optgroup-header {\n font-size: 12px;\n line-height: 1.428571429;\n}\n.tomselect-dropdown .optgroup:first-child:before {\n display: none;\n}\n.tomselect-dropdown .optgroup:before {\n content: ' ';\n display: block;\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n margin-left: -12px;\n margin-right: -12px;\n}\n\n.tomselect-dropdown-content {\n padding: 5px 0;\n}\n\n.tomselect-input {\n min-height: 34px;\n}\n.tomselect-input.dropdown-active {\n border-radius: 4px;\n}\n.tomselect-input.dropdown-active::before {\n display: none;\n}\n.tomselect-input.focus {\n border-color: #66afe9;\n outline: 0;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\n}\n\n.has-error .tomselect-input {\n border-color: #a94442;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.has-error .tomselect-input:focus {\n border-color: #843534;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;\n}\n\n.tomselect-control.multi .tomselect-input.has-items {\n padding-left: 7px;\n padding-right: 7px;\n}\n.tomselect-control.multi .tomselect-input > div {\n border-radius: 3px;\n}\n\n.form-control.tomselect-control {\n padding: 0;\n height: auto;\n border: none;\n background: none;\n box-shadow: none;\n border-radius: 0;\n}\n\n/*# sourceMappingURL=tom-select.bootstrap3.css.map */\n",null,null,null,null,null,null]} \ No newline at end of file +{"version":3,"sources":["../../src/scss/tom-select.scss","../../src/plugins/drag_drop/plugin.scss","tom-select.bootstrap3.css","../../src/plugins/dropdown_header/plugin.scss","../../src/scss/tom-select.bootstrap3.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss","../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;ACZF;EACC,+BAA8B;EAC9B,+BAA8B;EAC9B,2CAAuC;EACvC,0BAAyB;EACzB,oCAAmC;CCcpC;ADZA;EACC,aAAY;EACZ,mBAAkB;CCcnB;ADZA;EACC,yCAAqC;CCctC;;ACzBA;EACC,mBAAkB;EAClB,kBAA8E;EAC9E,iCAA6C;EAC7C,oBAAkE;EAClE,2BAA8D;CD4B/D;AC1BA;EACC,mBAAkB;EAClB,YC2BuD;ED1BvD,SAAQ;EACR,eHi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F;AElSA;EACC,mBA1DyC;CF8V1C;AElSA;EACC,cAAa;CFoSd;AElSA;EAGC,sBAF2B;EAG3B,WAAU;EACV,mFAAiE;CFkSlE;;AE9RD;EACI,sBA/FyC;EAgGzC,iDA7E2D;CF8W9D;AE/RG;EACI,sBAlG+D;EAmG/D,kEAhF8G;CFiXrH;;AE3RC;EACC,kBAAwD;EACxD,mBAAyD;CF8R3D;AE5RC;EACC,mBAA0C;CF8R5C;;AEzRD;EACC,WAAU;EACV,aAAY;EACZ,aAAY;EACZ,iBAAgB;EAChB,iBAAgB;EAChB,iBAAgB;CF4RhB","file":"tom-select.bootstrap3.css","sourcesContent":[null,null,"/**\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.plugin-drag_drop.multi > .ts-input > 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-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.ts-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.ts-control .dropdown-header {\n position: relative;\n padding: 6px 12px;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 4px 4px 0 0;\n}\n.ts-control .dropdown-header-close {\n position: absolute;\n right: 12px;\n top: 50%;\n color: #333333;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.ts-control .dropdown-header-close:hover {\n color: black;\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-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 1px 5px;\n border-left: 1px solid rgba(0, 0, 0, 0);\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 5px;\n}\n.ts-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-control.plugin-remove_button .item.active .remove {\n border-left-color: rgba(0, 0, 0, 0);\n}\n.ts-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.ts-control.plugin-remove_button .disabled .item .remove {\n border-left-color: rgba(77, 77, 77, 0);\n}\n.ts-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-control {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-input, .ts-input input {\n color: #333333;\n font-family: inherit;\n font-size: inherit;\n line-height: 20px;\n font-smoothing: inherit;\n}\n\n.ts-input,\n.ts-control.single .ts-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.ts-input {\n border: 1px solid #ccc;\n padding: 6px 12px;\n display: inline-block;\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: 4px;\n}\n.ts-control.multi .ts-input.has-items {\n padding: calc( 6px - 1px - 0) 12px calc( 6px - 1px - 3px - 0);\n}\n.ts-input.full {\n background-color: #fff;\n}\n.ts-input.disabled, .ts-input.disabled * {\n cursor: default !important;\n}\n.ts-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.ts-input.dropdown-active {\n border-radius: 4px 4px 0 0;\n}\n.ts-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.ts-control.multi .ts-input > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 1px 5px;\n background: #efefef;\n color: #333333;\n border: 0 solid rgba(0, 0, 0, 0);\n}\n.ts-control.multi .ts-input > div.active {\n background: #337ab7;\n color: #fff;\n border: 0 solid rgba(0, 0, 0, 0);\n}\n.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active {\n color: gray;\n background: white;\n border: 0 solid rgba(77, 77, 77, 0);\n}\n.ts-input > input {\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-input > input::-ms-clear {\n display: none;\n}\n.ts-input > input:focus {\n outline: none !important;\n}\n.ts-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.ts-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.ts-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: white;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\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: -1px 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 4px 4px;\n}\n.ts-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.ts-dropdown [data-selectable] .highlight {\n background: rgba(255, 237, 40, 0.4);\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: 3px 12px;\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: #777777;\n background: #fff;\n cursor: default;\n}\n.ts-dropdown .active {\n background-color: #f5f5f5;\n color: #262626;\n}\n.ts-dropdown .active.create {\n color: #262626;\n}\n.ts-dropdown .create {\n color: rgba(51, 51, 51, 0.5);\n}\n\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.ts-dropdown .spinner {\n display: inline-block;\n width: 30px;\n height: 30px;\n margin: 3px 12px;\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.ts-control.single .ts-input, .ts-control.single .ts-input input {\n cursor: pointer;\n}\n.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input {\n cursor: text;\n}\n.ts-control.single .ts-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 17px;\n margin-top: -3px;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 5px 0 5px;\n border-color: #333333 transparent transparent transparent;\n}\n.ts-control.single .ts-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #333333 transparent;\n}\n\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-input:after {\n left: 17px;\n right: auto;\n}\n.ts-control.rtl .ts-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.ts-control .ts-input.disabled {\n opacity: 0.5;\n background-color: #fff;\n}\n\n.ts-dropdown, .ts-dropdown.form-control {\n height: auto;\n padding: 0;\n margin: 2px 0 0 0;\n z-index: 1000;\n background: #fff;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n}\n\n.ts-dropdown .optgroup-header {\n font-size: 12px;\n line-height: 1.428571429;\n}\n.ts-dropdown .optgroup:first-child:before {\n display: none;\n}\n.ts-dropdown .optgroup:before {\n content: ' ';\n display: block;\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n margin-left: -12px;\n margin-right: -12px;\n}\n\n.ts-dropdown-content {\n padding: 5px 0;\n}\n\n.ts-input {\n min-height: 34px;\n}\n.ts-input.dropdown-active {\n border-radius: 4px;\n}\n.ts-input.dropdown-active::before {\n display: none;\n}\n.ts-input.focus {\n border-color: #66afe9;\n outline: 0;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\n}\n\n.has-error .ts-input {\n border-color: #a94442;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.has-error .ts-input:focus {\n border-color: #843534;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;\n}\n\n.ts-control.multi .ts-input.has-items {\n padding-left: 7px;\n padding-right: 7px;\n}\n.ts-control.multi .ts-input > div {\n border-radius: 3px;\n}\n\n.form-control.ts-control {\n padding: 0;\n height: auto;\n border: none;\n background: none;\n box-shadow: none;\n border-radius: 0;\n}\n\n/*# sourceMappingURL=tom-select.bootstrap3.css.map */\n",null,null,null,null,null,null]} \ No newline at end of file diff --git a/dist/css/tom-select.bootstrap3.min.css b/dist/css/tom-select.bootstrap3.min.css index 309699e7..29a7edc4 100644 --- a/dist/css/tom-select.bootstrap3.min.css +++ b/dist/css/tom-select.bootstrap3.min.css @@ -1,2 +1,2 @@ -.tomselect-control.plugin-drag_drop.multi>.tomselect-input>div.ui-sortable-placeholder{visibility:visible!important;background:#f2f2f2!important;background:rgba(0,0,0,.06)!important;border:0!important;box-shadow:inset 0 0 12px 4px #fff}.tomselect-control.plugin-drag_drop .ui-sortable-placeholder:after{content:"!";visibility:hidden}.tomselect-control.plugin-drag_drop .ui-sortable-helper{box-shadow:0 2px 5px rgba(0,0,0,.2)}.tomselect-control .dropdown-header{position:relative;padding:6px 12px;border-bottom:1px solid #d0d0d0;background:#f8f8f8;border-radius:4px 4px 0 0}.tomselect-control .dropdown-header-close{position:absolute;right:12px;top:50%;color:#333;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.tomselect-control .dropdown-header-close:hover{color:#000}.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content{display:-ms-flexbox;display:flex}.tomselect-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;min-width:0}.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0}.tomselect-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.tomselect-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0}.tomselect-control.plugin-remove_button .item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-right:0!important}.tomselect-control.plugin-remove_button .item .remove{color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:1px 5px;border-left:1px solid transparent;border-radius:0 2px 2px 0;box-sizing:border-box;margin-left:5px}.tomselect-control.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.tomselect-control.plugin-remove_button .item.active .remove{border-left-color:transparent}.tomselect-control.plugin-remove_button .disabled .item .remove:hover{background:none}.tomselect-control.plugin-remove_button .disabled .item .remove{border-left-color:rgba(77,77,77,0)}.tomselect-control.plugin-remove_button .remove-single{position:absolute;right:0;top:0;font-size:23px}.tomselect-control{position:relative}.tomselect-dropdown,.tomselect-input,.tomselect-input input{color:#333;font-family:inherit;font-size:inherit;line-height:20px;font-smoothing:inherit}.tomselect-control.single .tomselect-input.input-active,.tomselect-input{background:#fff;cursor:text;display:inline-block}.tomselect-input{border:1px solid #ccc;padding:6px 12px;display:inline-block;width:100%;overflow:hidden;position:relative;z-index:1;box-sizing:border-box;box-shadow:none;border-radius:4px}.tomselect-control.multi .tomselect-input.has-items{padding:5px 12px 2px}.tomselect-input.full{background-color:#fff}.tomselect-input.disabled,.tomselect-input.disabled *{cursor:default!important}.tomselect-input.focus{box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.tomselect-input.dropdown-active{border-radius:4px 4px 0 0}.tomselect-input>*{vertical-align:baseline;display:inline-block;zoom:1}.tomselect-control.multi .tomselect-input>div{cursor:pointer;margin:0 3px 3px 0;padding:1px 5px;background:#efefef;color:#333;border:0 solid transparent}.tomselect-control.multi .tomselect-input>div.active{background:#337ab7;color:#fff;border:0 solid transparent}.tomselect-control.multi .tomselect-input.disabled>div,.tomselect-control.multi .tomselect-input.disabled>div.active{color:grey;background:#fff;border:0 solid rgba(77,77,77,0)}.tomselect-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0!important;text-indent:0!important;border:0!important;background:none!important;line-height:inherit!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important;box-shadow:none!important}.tomselect-input>input::-ms-clear{display:none}.tomselect-input>input:focus{outline:none!important}.tomselect-input.has-items>input{margin:0 4px!important}.tomselect-input:after{content:" ";display:block;clear:left}.tomselect-input.dropdown-active:before{content:" ";display:block;position:absolute;background:#fff;height:1px;bottom:0;left:0;right:0}.tomselect-dropdown{position:absolute;z-index:10;background:#fff;margin:-1px 0 0;border:1px solid #d0d0d0;border-top:0;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.1);border-radius:0 0 4px 4px}.tomselect-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.tomselect-dropdown [data-selectable] .highlight{background:rgba(255,237,40,.4);border-radius:1px}.tomselect-dropdown .create,.tomselect-dropdown .no-results,.tomselect-dropdown .optgroup-header,.tomselect-dropdown .option{padding:3px 12px}.tomselect-dropdown .option,.tomselect-dropdown [data-disabled],.tomselect-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.tomselect-dropdown [data-selectable].option{opacity:1}.tomselect-dropdown .optgroup:first-child .optgroup-header{border-top:0}.tomselect-dropdown .optgroup-header{color:#777;background:#fff;cursor:default}.tomselect-dropdown .active{background-color:#f5f5f5;color:#262626}.tomselect-dropdown .active.create{color:#262626}.tomselect-dropdown .create{color:rgba(51,51,51,.5)}.tomselect-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;overflow-scrolling:touch}.tomselect-control.single .tomselect-input,.tomselect-control.single .tomselect-input input{cursor:pointer}.tomselect-control.single .tomselect-input.input-active,.tomselect-control.single .tomselect-input.input-active input{cursor:text}.tomselect-control.single .tomselect-input:after{content:" ";display:block;position:absolute;top:50%;right:17px;margin-top:-3px;width:0;height:0;border-color:#333 transparent transparent;border-style:solid;border-width:5px 5px 0}.tomselect-control.single .tomselect-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px;border-color:transparent transparent #333}.tomselect-control.rtl{text-align:right}.tomselect-control.rtl.single .tomselect-input:after{left:17px;right:auto}.tomselect-control.rtl .tomselect-input>input{margin:0 4px 0 -2px!important}.tomselect-control .tomselect-input.disabled{opacity:.5;background-color:#fff}.tomselect-dropdown,.tomselect-dropdown.form-control{height:auto;padding:0;margin:2px 0 0;z-index:1000;background:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px rgba(0,0,0,.175)}.tomselect-dropdown .optgroup-header{font-size:12px;line-height:1.428571429}.tomselect-dropdown .optgroup:first-child:before{display:none}.tomselect-dropdown .optgroup:before{content:" ";display:block;height:1px;overflow:hidden;background-color:#e5e5e5;margin:9px -12px}.tomselect-dropdown-content{padding:5px 0}.tomselect-input{min-height:34px}.tomselect-input.dropdown-active{border-radius:4px}.tomselect-input.dropdown-active:before{display:none}.tomselect-input.focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.has-error .tomselect-input{border-color:#a94442;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .tomselect-input:focus{border-color:#843534;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.tomselect-control.multi .tomselect-input.has-items{padding-left:7px;padding-right:7px}.tomselect-control.multi .tomselect-input>div{border-radius:3px}.form-control.tomselect-control{padding:0;height:auto;border:none;background:none;box-shadow:none;border-radius:0} +.ts-control.plugin-drag_drop.multi>.ts-input>div.ui-sortable-placeholder{visibility:visible!important;background:#f2f2f2!important;background:rgba(0,0,0,.06)!important;border:0!important;box-shadow:inset 0 0 12px 4px #fff}.ts-control.plugin-drag_drop .ui-sortable-placeholder:after{content:"!";visibility:hidden}.ts-control.plugin-drag_drop .ui-sortable-helper{box-shadow:0 2px 5px rgba(0,0,0,.2)}.ts-control .dropdown-header{position:relative;padding:6px 12px;border-bottom:1px solid #d0d0d0;background:#f8f8f8;border-radius:4px 4px 0 0}.ts-control .dropdown-header-close{position:absolute;right:12px;top:50%;color:#333;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.ts-control .dropdown-header-close:hover{color:#000}.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content{display:flex}.ts-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0;flex-grow:1;flex-basis:0;min-width:0}.ts-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0}.ts-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.ts-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0}.ts-control.plugin-remove_button .item{display:inline-flex;align-items:center;padding-right:0!important}.ts-control.plugin-remove_button .item .remove{color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:1px 5px;border-left:1px solid transparent;border-radius:0 2px 2px 0;box-sizing:border-box;margin-left:5px}.ts-control.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.ts-control.plugin-remove_button .item.active .remove{border-left-color:transparent}.ts-control.plugin-remove_button .disabled .item .remove:hover{background:none}.ts-control.plugin-remove_button .disabled .item .remove{border-left-color:rgba(77,77,77,0)}.ts-control.plugin-remove_button .remove-single{position:absolute;right:0;top:0;font-size:23px}.ts-control{position:relative}.ts-dropdown,.ts-input,.ts-input input{color:#333;font-family:inherit;font-size:inherit;line-height:20px;font-smoothing:inherit}.ts-control.single .ts-input.input-active,.ts-input{background:#fff;cursor:text;display:inline-block}.ts-input{border:1px solid #ccc;padding:6px 12px;display:inline-block;width:100%;overflow:hidden;position:relative;z-index:1;box-sizing:border-box;box-shadow:none;border-radius:4px}.ts-control.multi .ts-input.has-items{padding:5px 12px 2px}.ts-input.full{background-color:#fff}.ts-input.disabled,.ts-input.disabled *{cursor:default!important}.ts-input.focus{box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.ts-input.dropdown-active{border-radius:4px 4px 0 0}.ts-input>*{vertical-align:baseline;display:inline-block;zoom:1}.ts-control.multi .ts-input>div{cursor:pointer;margin:0 3px 3px 0;padding:1px 5px;background:#efefef;color:#333;border:0 solid transparent}.ts-control.multi .ts-input>div.active{background:#337ab7;color:#fff;border:0 solid transparent}.ts-control.multi .ts-input.disabled>div,.ts-control.multi .ts-input.disabled>div.active{color:grey;background:#fff;border:0 solid rgba(77,77,77,0)}.ts-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0!important;text-indent:0!important;border:0!important;background:none!important;line-height:inherit!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important;box-shadow:none!important}.ts-input>input::-ms-clear{display:none}.ts-input>input:focus{outline:none!important}.ts-input.has-items>input{margin:0 4px!important}.ts-input:after{content:" ";display:block;clear:left}.ts-input.dropdown-active:before{content:" ";display:block;position:absolute;background:#fff;height:1px;bottom:0;left:0;right:0}.ts-dropdown{position:absolute;top:100%;left:0;width:100%;z-index:10;background:#fff;margin:-1px 0 0;border:1px solid #d0d0d0;border-top:0;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.1);border-radius:0 0 4px 4px}.ts-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.ts-dropdown [data-selectable] .highlight{background:rgba(255,237,40,.4);border-radius:1px}.ts-dropdown .create,.ts-dropdown .no-results,.ts-dropdown .optgroup-header,.ts-dropdown .option{padding:3px 12px}.ts-dropdown .option,.ts-dropdown [data-disabled],.ts-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.ts-dropdown [data-selectable].option{opacity:1;cursor:pointer}.ts-dropdown .optgroup:first-child .optgroup-header{border-top:0}.ts-dropdown .optgroup-header{color:#777;background:#fff;cursor:default}.ts-dropdown .active{background-color:#f5f5f5;color:#262626}.ts-dropdown .active.create{color:#262626}.ts-dropdown .create{color:rgba(51,51,51,.5)}.ts-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;overflow-scrolling:touch}.ts-dropdown .spinner{display:inline-block;width:30px;height:30px;margin:3px 12px}.ts-dropdown .spinner:after{content:" ";display:block;width:24px;height:24px;margin:3px;border-radius:50%;border-color:#d0d0d0 transparent;border-style:solid;border-width:5px;-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite}@-webkit-keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ts-control.single .ts-input,.ts-control.single .ts-input input{cursor:pointer}.ts-control.single .ts-input.input-active,.ts-control.single .ts-input.input-active input{cursor:text}.ts-control.single .ts-input:after{content:" ";display:block;position:absolute;top:50%;right:17px;margin-top:-3px;width:0;height:0;border-color:#333 transparent transparent;border-style:solid;border-width:5px 5px 0}.ts-control.single .ts-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px;border-color:transparent transparent #333}.ts-control.rtl{text-align:right}.ts-control.rtl.single .ts-input:after{left:17px;right:auto}.ts-control.rtl .ts-input>input{margin:0 4px 0 -2px!important}.ts-control .ts-input.disabled{opacity:.5;background-color:#fff}.ts-dropdown,.ts-dropdown.form-control{height:auto;padding:0;margin:2px 0 0;z-index:1000;background:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px rgba(0,0,0,.175)}.ts-dropdown .optgroup-header{font-size:12px;line-height:1.428571429}.ts-dropdown .optgroup:first-child:before{display:none}.ts-dropdown .optgroup:before{content:" ";display:block;height:1px;overflow:hidden;background-color:#e5e5e5;margin:9px -12px}.ts-dropdown-content{padding:5px 0}.ts-input{min-height:34px}.ts-input.dropdown-active{border-radius:4px}.ts-input.dropdown-active:before{display:none}.ts-input.focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.has-error .ts-input{border-color:#a94442;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .ts-input:focus{border-color:#843534;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.ts-control.multi .ts-input.has-items{padding-left:7px;padding-right:7px}.ts-control.multi .ts-input>div{border-radius:3px}.form-control.ts-control{padding:0;height:auto;border:none;background:none;box-shadow:none;border-radius:0} /*# sourceMappingURL=tom-select.bootstrap3.min.css.map */ \ No newline at end of file diff --git a/dist/css/tom-select.bootstrap3.min.css.map b/dist/css/tom-select.bootstrap3.min.css.map index 5df580f6..45dd879a 100644 --- a/dist/css/tom-select.bootstrap3.min.css.map +++ b/dist/css/tom-select.bootstrap3.min.css.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/plugins/drag_drop/plugin.scss","tom-select.bootstrap3.css","../../src/plugins/dropdown_header/plugin.scss","../../src/scss/tom-select.bootstrap3.scss","../../src/scss/tom-select.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss","../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss"],"names":[],"mappings":"AACC,uFACC,6BAA8B,AAC9B,6BAA8B,AAC9B,qCAAuC,AACvC,mBAAyB,AACzB,kCAAmC,CCcpC,ADZA,mEACC,YAAY,AACZ,iBAAkB,CCcnB,ADZA,wDACC,mCAAqC,CCctC,ACzBA,oCACC,kBAAkB,AAClB,iBAA8E,AAC9E,gCAA6C,AAC7C,mBAAkE,AAClE,yBAA8D,CD4B/D,AC1BA,0CACC,kBAAkB,AAClB,WC2BuD,AD1BvD,QAAQ,AACR,WEiB8C,AFhB9C,WAAY,AACZ,iBAAiB,AACjB,iBAAiB,AACjB,wBAA0B,CD4B3B,AC1BA,gDACC,UAAsC,CD4BvC,AI9CA,wEACC,oBAAa,AAAb,YAAa,CJiDd,AI9CA,sDACC,+BAA+B,AAC/B,aAAkB,AACf,oBAAY,AAAZ,YAAY,AACZ,0BAAa,AAAb,aAAa,AAChB,WAAY,CJgDb,AI9CA,iEACC,cAAoB,CJgDrB,AI9CA,6DACC,YAAa,CJgDd,AI9CA,6DACC,YAAkB,CJgDnB,AKlEA,8CACC,2BAAqB,AAArB,oBAAqB,AACrB,sBAAmB,AAAnB,mBAAmB,AACnB,yBAA2B,CLqE5B,AKlEA,sDACC,cAAiB,AACjB,qBAAqB,AACrB,sBAAuB,AACvB,qBAAuB,AACvB,gBAAwD,AACxD,kCAAiD,AACjD,0BAA2B,AAC3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ShC,AEpQD,qDACC,YAAY,AACZ,UAAU,AACV,eAAiB,AACjB,aI4N8B,AJ3N9B,gBApCmC,AAqCnC,sBAA2C,AAC3C,iCAAkC,AAClC,kBIgD8B,AJ/C9B,sCAAuC,CFuQvC,AEnQA,qCACC,eIdqD,AJerD,uBILmC,CN2QpC,AEpQA,iDACC,YAAa,CFsQd,AEpQA,qCACC,YAAY,AACZ,cAAc,AKtEd,WAAW,AAEX,gBAAgB,AAChB,yBAJgC,AL0EhC,gBAAkD,CFyQnD,AErQD,4BACC,aAAc,CFwQd,AEpQD,iBACC,eI6HyF,CN0IzF,AErQA,iCACC,iBA1DyC,CFiU1C,AErQA,wCACC,YAAa,CFuQd,AErQA,uBAGC,qBAF2B,AAG3B,UAAU,AACV,wEAAiE,CFqQlE,AEjQD,4BACI,qBA/FyC,AAgGzC,2CA7E2D,CFiV9D,AElQG,kCACI,qBAlG+D,AAmG/D,2DAhF8G,CFoVrH,AE9PC,oDACC,iBAAwD,AACxD,iBAAyD,CFiQ3D,AE/PC,8CACC,iBAA0C,CFiQ5C,AE5PD,gCACC,UAAU,AACV,YAAY,AACZ,YAAY,AACZ,gBAAgB,AAChB,gBAAgB,AAChB,eAAgB,CF+PhB","file":"tom-select.bootstrap3.min.css","sourcesContent":[null,"/**\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.tomselect-control.plugin-drag_drop.multi > .tomselect-input > 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.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.tomselect-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.tomselect-control .dropdown-header {\n position: relative;\n padding: 6px 12px;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 4px 4px 0 0;\n}\n.tomselect-control .dropdown-header-close {\n position: absolute;\n right: 12px;\n top: 50%;\n color: #333333;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.tomselect-control .dropdown-header-close:hover {\n color: black;\n}\n\n.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content {\n display: flex;\n}\n.tomselect-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.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.tomselect-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.tomselect-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 1px 5px;\n border-left: 1px solid rgba(0, 0, 0, 0);\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 5px;\n}\n.tomselect-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.tomselect-control.plugin-remove_button .item.active .remove {\n border-left-color: rgba(0, 0, 0, 0);\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove {\n border-left-color: rgba(77, 77, 77, 0);\n}\n.tomselect-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.tomselect-control {\n position: relative;\n}\n\n.tomselect-dropdown,\n.tomselect-input, .tomselect-input input {\n color: #333333;\n font-family: inherit;\n font-size: inherit;\n line-height: 20px;\n font-smoothing: inherit;\n}\n\n.tomselect-input,\n.tomselect-control.single .tomselect-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.tomselect-input {\n border: 1px solid #ccc;\n padding: 6px 12px;\n display: inline-block;\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: 4px;\n}\n.tomselect-control.multi .tomselect-input.has-items {\n padding: calc( 6px - 1px - 0) 12px calc( 6px - 1px - 3px - 0);\n}\n.tomselect-input.full {\n background-color: #fff;\n}\n.tomselect-input.disabled, .tomselect-input.disabled * {\n cursor: default !important;\n}\n.tomselect-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.tomselect-input.dropdown-active {\n border-radius: 4px 4px 0 0;\n}\n.tomselect-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.tomselect-control.multi .tomselect-input > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 1px 5px;\n background: #efefef;\n color: #333333;\n border: 0 solid rgba(0, 0, 0, 0);\n}\n.tomselect-control.multi .tomselect-input > div.active {\n background: #337ab7;\n color: #fff;\n border: 0 solid rgba(0, 0, 0, 0);\n}\n.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active {\n color: gray;\n background: white;\n border: 0 solid rgba(77, 77, 77, 0);\n}\n.tomselect-input > input {\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.tomselect-input > input::-ms-clear {\n display: none;\n}\n.tomselect-input > input:focus {\n outline: none !important;\n}\n.tomselect-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.tomselect-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.tomselect-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: white;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.tomselect-dropdown {\n position: absolute;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: -1px 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 4px 4px;\n}\n.tomselect-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.tomselect-dropdown [data-selectable] .highlight {\n background: rgba(255, 237, 40, 0.4);\n border-radius: 1px;\n}\n.tomselect-dropdown .option,\n.tomselect-dropdown .optgroup-header,\n.tomselect-dropdown .no-results,\n.tomselect-dropdown .create {\n padding: 3px 12px;\n}\n.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.tomselect-dropdown [data-selectable].option {\n opacity: 1;\n}\n.tomselect-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.tomselect-dropdown .optgroup-header {\n color: #777777;\n background: #fff;\n cursor: default;\n}\n.tomselect-dropdown .active {\n background-color: #f5f5f5;\n color: #262626;\n}\n.tomselect-dropdown .active.create {\n color: #262626;\n}\n.tomselect-dropdown .create {\n color: rgba(51, 51, 51, 0.5);\n}\n\n.tomselect-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input {\n cursor: pointer;\n}\n.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input {\n cursor: text;\n}\n.tomselect-control.single .tomselect-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 17px;\n margin-top: -3px;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 5px 0 5px;\n border-color: #333333 transparent transparent transparent;\n}\n.tomselect-control.single .tomselect-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #333333 transparent;\n}\n\n.tomselect-control.rtl {\n text-align: right;\n}\n.tomselect-control.rtl.single .tomselect-input:after {\n left: 17px;\n right: auto;\n}\n.tomselect-control.rtl .tomselect-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.tomselect-control .tomselect-input.disabled {\n opacity: 0.5;\n background-color: #fff;\n}\n\n.tomselect-dropdown, .tomselect-dropdown.form-control {\n height: auto;\n padding: 0;\n margin: 2px 0 0 0;\n z-index: 1000;\n background: #fff;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n}\n\n.tomselect-dropdown .optgroup-header {\n font-size: 12px;\n line-height: 1.428571429;\n}\n.tomselect-dropdown .optgroup:first-child:before {\n display: none;\n}\n.tomselect-dropdown .optgroup:before {\n content: ' ';\n display: block;\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n margin-left: -12px;\n margin-right: -12px;\n}\n\n.tomselect-dropdown-content {\n padding: 5px 0;\n}\n\n.tomselect-input {\n min-height: 34px;\n}\n.tomselect-input.dropdown-active {\n border-radius: 4px;\n}\n.tomselect-input.dropdown-active::before {\n display: none;\n}\n.tomselect-input.focus {\n border-color: #66afe9;\n outline: 0;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\n}\n\n.has-error .tomselect-input {\n border-color: #a94442;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.has-error .tomselect-input:focus {\n border-color: #843534;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;\n}\n\n.tomselect-control.multi .tomselect-input.has-items {\n padding-left: 7px;\n padding-right: 7px;\n}\n.tomselect-control.multi .tomselect-input > div {\n border-radius: 3px;\n}\n\n.form-control.tomselect-control {\n padding: 0;\n height: auto;\n border: none;\n background: none;\n box-shadow: none;\n border-radius: 0;\n}\n\n/*# sourceMappingURL=tom-select.bootstrap3.css.map */\n",null,null,null,null,null,null,null]} \ No newline at end of file +{"version":3,"sources":["../../src/plugins/drag_drop/plugin.scss","tom-select.bootstrap3.css","../../src/plugins/dropdown_header/plugin.scss","../../src/scss/tom-select.bootstrap3.scss","../../src/scss/tom-select.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss","../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss"],"names":[],"mappings":"AACC,yEACC,6BAA8B,AAC9B,6BAA8B,AAC9B,qCAAuC,AACvC,mBAAyB,AACzB,kCAAmC,CCcpC,ADZA,4DACC,YAAY,AACZ,iBAAkB,CCcnB,ADZA,iDACC,mCAAqC,CCctC,ACzBA,6BACC,kBAAkB,AAClB,iBAA8E,AAC9E,gCAA6C,AAC7C,mBAAkE,AAClE,yBAA8D,CD4B/D,AC1BA,mCACC,kBAAkB,AAClB,WC2BuD,AD1BvD,QAAQ,AACR,WEiB8C,AFhB9C,WAAY,AACZ,iBAAiB,AACjB,iBAAiB,AACjB,wBAA0B,CD4B3B,AC1BA,yCACC,UAAsC,CD4BvC,AI9CA,0DACC,YAAa,CJiDd,AI9CA,+CACC,+BAA+B,AAC/B,aAAkB,AACf,YAAY,AACZ,aAAa,AAChB,WAAY,CJgDb,AI9CA,0DACC,cAAoB,CJgDrB,AI9CA,sDACC,YAAa,CJgDd,AI9CA,sDACC,YAAkB,CJgDnB,AKlEA,uCACC,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BACC,UAAU,AACV,YAAY,AACZ,YAAY,AACZ,gBAAgB,AAChB,gBAAgB,AAChB,eAAgB,CF4RhB","file":"tom-select.bootstrap3.min.css","sourcesContent":[null,"/**\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.plugin-drag_drop.multi > .ts-input > 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-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.ts-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.ts-control .dropdown-header {\n position: relative;\n padding: 6px 12px;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 4px 4px 0 0;\n}\n.ts-control .dropdown-header-close {\n position: absolute;\n right: 12px;\n top: 50%;\n color: #333333;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.ts-control .dropdown-header-close:hover {\n color: black;\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-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 1px 5px;\n border-left: 1px solid rgba(0, 0, 0, 0);\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 5px;\n}\n.ts-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-control.plugin-remove_button .item.active .remove {\n border-left-color: rgba(0, 0, 0, 0);\n}\n.ts-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.ts-control.plugin-remove_button .disabled .item .remove {\n border-left-color: rgba(77, 77, 77, 0);\n}\n.ts-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-control {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-input, .ts-input input {\n color: #333333;\n font-family: inherit;\n font-size: inherit;\n line-height: 20px;\n font-smoothing: inherit;\n}\n\n.ts-input,\n.ts-control.single .ts-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.ts-input {\n border: 1px solid #ccc;\n padding: 6px 12px;\n display: inline-block;\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: 4px;\n}\n.ts-control.multi .ts-input.has-items {\n padding: calc( 6px - 1px - 0) 12px calc( 6px - 1px - 3px - 0);\n}\n.ts-input.full {\n background-color: #fff;\n}\n.ts-input.disabled, .ts-input.disabled * {\n cursor: default !important;\n}\n.ts-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.ts-input.dropdown-active {\n border-radius: 4px 4px 0 0;\n}\n.ts-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.ts-control.multi .ts-input > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 1px 5px;\n background: #efefef;\n color: #333333;\n border: 0 solid rgba(0, 0, 0, 0);\n}\n.ts-control.multi .ts-input > div.active {\n background: #337ab7;\n color: #fff;\n border: 0 solid rgba(0, 0, 0, 0);\n}\n.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active {\n color: gray;\n background: white;\n border: 0 solid rgba(77, 77, 77, 0);\n}\n.ts-input > input {\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-input > input::-ms-clear {\n display: none;\n}\n.ts-input > input:focus {\n outline: none !important;\n}\n.ts-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.ts-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.ts-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: white;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\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: -1px 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 4px 4px;\n}\n.ts-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.ts-dropdown [data-selectable] .highlight {\n background: rgba(255, 237, 40, 0.4);\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: 3px 12px;\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: #777777;\n background: #fff;\n cursor: default;\n}\n.ts-dropdown .active {\n background-color: #f5f5f5;\n color: #262626;\n}\n.ts-dropdown .active.create {\n color: #262626;\n}\n.ts-dropdown .create {\n color: rgba(51, 51, 51, 0.5);\n}\n\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.ts-dropdown .spinner {\n display: inline-block;\n width: 30px;\n height: 30px;\n margin: 3px 12px;\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.ts-control.single .ts-input, .ts-control.single .ts-input input {\n cursor: pointer;\n}\n.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input {\n cursor: text;\n}\n.ts-control.single .ts-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 17px;\n margin-top: -3px;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 5px 0 5px;\n border-color: #333333 transparent transparent transparent;\n}\n.ts-control.single .ts-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #333333 transparent;\n}\n\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-input:after {\n left: 17px;\n right: auto;\n}\n.ts-control.rtl .ts-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.ts-control .ts-input.disabled {\n opacity: 0.5;\n background-color: #fff;\n}\n\n.ts-dropdown, .ts-dropdown.form-control {\n height: auto;\n padding: 0;\n margin: 2px 0 0 0;\n z-index: 1000;\n background: #fff;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n}\n\n.ts-dropdown .optgroup-header {\n font-size: 12px;\n line-height: 1.428571429;\n}\n.ts-dropdown .optgroup:first-child:before {\n display: none;\n}\n.ts-dropdown .optgroup:before {\n content: ' ';\n display: block;\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n margin-left: -12px;\n margin-right: -12px;\n}\n\n.ts-dropdown-content {\n padding: 5px 0;\n}\n\n.ts-input {\n min-height: 34px;\n}\n.ts-input.dropdown-active {\n border-radius: 4px;\n}\n.ts-input.dropdown-active::before {\n display: none;\n}\n.ts-input.focus {\n border-color: #66afe9;\n outline: 0;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\n}\n\n.has-error .ts-input {\n border-color: #a94442;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.has-error .ts-input:focus {\n border-color: #843534;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;\n}\n\n.ts-control.multi .ts-input.has-items {\n padding-left: 7px;\n padding-right: 7px;\n}\n.ts-control.multi .ts-input > div {\n border-radius: 3px;\n}\n\n.form-control.ts-control {\n padding: 0;\n height: auto;\n border: none;\n background: none;\n box-shadow: none;\n border-radius: 0;\n}\n\n/*# sourceMappingURL=tom-select.bootstrap3.css.map */\n",null,null,null,null,null,null,null]} \ No newline at end of file diff --git a/dist/css/tom-select.bootstrap4.css b/dist/css/tom-select.bootstrap4.css index 4c504332..48fea8b2 100644 --- a/dist/css/tom-select.bootstrap4.css +++ b/dist/css/tom-select.bootstrap4.css @@ -2,7 +2,7 @@ * Tom Select bootstrap 4 */ /** - * tom-select.css (v1.0.0-b.1) + * tom-select.css (v1.0.0-b.3) * Copyright (c) contributors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this @@ -15,29 +15,29 @@ * governing permissions and limitations under the License. * */ -.tomselect-control.plugin-drag_drop.multi > .tomselect-input > div.ui-sortable-placeholder { +.ts-control.plugin-drag_drop.multi > .ts-input > div.ui-sortable-placeholder { visibility: visible !important; background: #f2f2f2 !important; background: rgba(0, 0, 0, 0.06) !important; border: 0 none !important; box-shadow: inset 0 0 12px 4px #fff; } -.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after { +.ts-control.plugin-drag_drop .ui-sortable-placeholder::after { content: '!'; visibility: hidden; } -.tomselect-control.plugin-drag_drop .ui-sortable-helper { +.ts-control.plugin-drag_drop .ui-sortable-helper { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } -.tomselect-control .dropdown-header { +.ts-control .dropdown-header { position: relative; padding: 6px 0.75rem; border-bottom: 1px solid #d0d0d0; background: #f8f8f8; border-radius: 0.25rem 0.25rem 0 0; } -.tomselect-control .dropdown-header-close { +.ts-control .dropdown-header-close { position: absolute; right: 0.75rem; top: 50%; @@ -47,41 +47,36 @@ line-height: 20px; font-size: 20px !important; } -.tomselect-control .dropdown-header-close:hover { +.ts-control .dropdown-header-close:hover { color: black; } -.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content { - display: -ms-flexbox; +.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content { display: flex; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup { +.ts-dropdown.plugin-optgroup_columns .optgroup { border-right: 1px solid #f2f2f2; border-top: 0 none; - -ms-flex-positive: 1; - flex-grow: 1; - -ms-flex-preferred-size: 0; - flex-basis: 0; + flex-grow: 1; + flex-basis: 0; min-width: 0; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child { +.ts-dropdown.plugin-optgroup_columns .optgroup:last-child { border-right: 0 none; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup:before { +.ts-dropdown.plugin-optgroup_columns .optgroup:before { display: none; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup-header { +.ts-dropdown.plugin-optgroup_columns .optgroup-header { border-top: 0 none; } -.tomselect-control.plugin-remove_button .item { - display: -ms-inline-flexbox; +.ts-control.plugin-remove_button .item { display: inline-flex; - -ms-flex-align: center; - align-items: center; + align-items: center; padding-right: 0 !important; } -.tomselect-control.plugin-remove_button .item .remove { +.ts-control.plugin-remove_button .item .remove { color: inherit; text-decoration: none; vertical-align: middle; @@ -92,31 +87,31 @@ box-sizing: border-box; margin-left: 5px; } -.tomselect-control.plugin-remove_button .item .remove:hover { +.ts-control.plugin-remove_button .item .remove:hover { background: rgba(0, 0, 0, 0.05); } -.tomselect-control.plugin-remove_button .item.active .remove { +.ts-control.plugin-remove_button .item.active .remove { border-left-color: rgba(0, 0, 0, 0); } -.tomselect-control.plugin-remove_button .disabled .item .remove:hover { +.ts-control.plugin-remove_button .disabled .item .remove:hover { background: none; } -.tomselect-control.plugin-remove_button .disabled .item .remove { +.ts-control.plugin-remove_button .disabled .item .remove { border-left-color: white; } -.tomselect-control.plugin-remove_button .remove-single { +.ts-control.plugin-remove_button .remove-single { position: absolute; right: 0; top: 0; font-size: 23px; } -.tomselect-control { +.ts-control { position: relative; } -.tomselect-dropdown, -.tomselect-input, .tomselect-input input { +.ts-dropdown, +.ts-input, .ts-input input { color: #343a40; font-family: inherit; font-size: inherit; @@ -124,14 +119,14 @@ font-smoothing: inherit; } -.tomselect-input, -.tomselect-control.single .tomselect-input.input-active { +.ts-input, +.ts-control.single .ts-input.input-active { background: #fff; cursor: text; display: inline-block; } -.tomselect-input { +.ts-input { border: 1px solid #ced4da; padding: 0.375rem 0.75rem; display: inline-block; @@ -143,27 +138,27 @@ box-shadow: none; border-radius: 0.25rem; } -.tomselect-control.multi .tomselect-input.has-items { +.ts-control.multi .ts-input.has-items { padding: calc( 0.375rem - 1px - 0px) 0.75rem calc( 0.375rem - 1px - 3px - 0px); } -.tomselect-input.full { +.ts-input.full { background-color: #fff; } -.tomselect-input.disabled, .tomselect-input.disabled * { +.ts-input.disabled, .ts-input.disabled * { cursor: default !important; } -.tomselect-input.focus { +.ts-input.focus { box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15); } -.tomselect-input.dropdown-active { +.ts-input.dropdown-active { border-radius: 0.25rem 0.25rem 0 0; } -.tomselect-input > * { +.ts-input > * { vertical-align: baseline; display: inline-block; zoom: 1; } -.tomselect-control.multi .tomselect-input > div { +.ts-control.multi .ts-input > div { cursor: pointer; margin: 0 3px 3px 0; padding: 1px 5px; @@ -171,17 +166,17 @@ color: #343a40; border: 0px solid #dee2e6; } -.tomselect-control.multi .tomselect-input > div.active { +.ts-control.multi .ts-input > div.active { background: #007bff; color: #fff; border: 0px solid rgba(0, 0, 0, 0); } -.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active { +.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active { color: #878787; background: white; border: 0px solid white; } -.tomselect-input > input { +.ts-input > input { display: inline-block !important; padding: 0 !important; min-height: 0 !important; @@ -198,23 +193,23 @@ user-select: auto !important; box-shadow: none !important; } -.tomselect-input > input::-ms-clear { +.ts-input > input::-ms-clear { display: none; } -.tomselect-input > input:focus { +.ts-input > input:focus { outline: none !important; } -.tomselect-input.has-items > input { +.ts-input.has-items > input { margin: 0 4px !important; } -.tomselect-input::after { +.ts-input::after { content: ' '; display: block; clear: left; } -.tomselect-input.dropdown-active::before { +.ts-input.dropdown-active::before { content: ' '; display: block; position: absolute; @@ -225,8 +220,11 @@ right: 0; } -.tomselect-dropdown { +.ts-dropdown { position: absolute; + top: 100%; + left: 0; + width: 100%; z-index: 10; border: 1px solid #d0d0d0; background: #fff; @@ -236,60 +234,95 @@ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); border-radius: 0 0 0.25rem 0.25rem; } -.tomselect-dropdown [data-selectable] { +.ts-dropdown [data-selectable] { cursor: pointer; overflow: hidden; } -.tomselect-dropdown [data-selectable] .highlight { +.ts-dropdown [data-selectable] .highlight { background: rgba(255, 237, 40, 0.4); border-radius: 1px; } -.tomselect-dropdown .option, -.tomselect-dropdown .optgroup-header, -.tomselect-dropdown .no-results, -.tomselect-dropdown .create { +.ts-dropdown .option, +.ts-dropdown .optgroup-header, +.ts-dropdown .no-results, +.ts-dropdown .create { padding: 3px 0.75rem; } -.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option { +.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option { cursor: inherit; opacity: 0.5; } -.tomselect-dropdown [data-selectable].option { +.ts-dropdown [data-selectable].option { opacity: 1; + cursor: pointer; } -.tomselect-dropdown .optgroup:first-child .optgroup-header { +.ts-dropdown .optgroup:first-child .optgroup-header { border-top: 0 none; } -.tomselect-dropdown .optgroup-header { +.ts-dropdown .optgroup-header { color: #6c757d; background: #fff; cursor: default; } -.tomselect-dropdown .active { +.ts-dropdown .active { background-color: #f8f9fa; color: #16181b; } -.tomselect-dropdown .active.create { +.ts-dropdown .active.create { color: #16181b; } -.tomselect-dropdown .create { +.ts-dropdown .create { color: rgba(52, 58, 64, 0.5); } -.tomselect-dropdown-content { +.ts-dropdown-content { overflow-y: auto; overflow-x: hidden; max-height: 200px; overflow-scrolling: touch; } -.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input { +.ts-dropdown .spinner { + display: inline-block; + width: 30px; + height: 30px; + margin: 3px 0.75rem; +} +.ts-dropdown .spinner:after { + content: " "; + display: block; + width: 24px; + height: 24px; + margin: 3px; + border-radius: 50%; + border: 5px solid #d0d0d0; + border-color: #d0d0d0 transparent #d0d0d0 transparent; + -webkit-animation: lds-dual-ring 1.2s linear infinite; + animation: lds-dual-ring 1.2s linear infinite; +} +@-webkit-keyframes lds-dual-ring { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +@keyframes lds-dual-ring { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +.ts-control.single .ts-input, .ts-control.single .ts-input input { cursor: pointer; } -.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input { +.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input { cursor: text; } -.tomselect-control.single .tomselect-input:after { +.ts-control.single .ts-input:after { content: ' '; display: block; position: absolute; @@ -302,29 +335,29 @@ border-width: 5px 5px 0 5px; border-color: #343a40 transparent transparent transparent; } -.tomselect-control.single .tomselect-input.dropdown-active:after { +.ts-control.single .ts-input.dropdown-active:after { margin-top: -4px; border-width: 0 5px 5px 5px; border-color: transparent transparent #343a40 transparent; } -.tomselect-control.rtl { +.ts-control.rtl { text-align: right; } -.tomselect-control.rtl.single .tomselect-input:after { +.ts-control.rtl.single .ts-input:after { left: calc(0.75rem + 5px); right: auto; } -.tomselect-control.rtl .tomselect-input > input { +.ts-control.rtl .ts-input > input { margin: 0 4px 0 -2px !important; } -.tomselect-control .tomselect-input.disabled { +.ts-control .ts-input.disabled { opacity: 0.5; background-color: #fff; } -.tomselect-dropdown, .tomselect-dropdown.form-control { +.ts-dropdown, .ts-dropdown.form-control { height: auto; padding: 0; margin: 2px 0 0 0; @@ -335,14 +368,14 @@ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); } -.tomselect-dropdown .optgroup-header { +.ts-dropdown .optgroup-header { font-size: 0.875rem; line-height: 1.5; } -.tomselect-dropdown .optgroup:first-child:before { +.ts-dropdown .optgroup:first-child:before { display: none; } -.tomselect-dropdown .optgroup:before { +.ts-dropdown .optgroup:before { content: ' '; display: block; height: 0; @@ -352,60 +385,60 @@ margin-left: -0.75rem; margin-right: -0.75rem; } -.tomselect-dropdown .create { +.ts-dropdown .create { padding-left: 0.75rem; } -.tomselect-dropdown-content { +.ts-dropdown-content { padding: 5px 0; } -.tomselect-input { +.ts-input { min-height: calc(1.5em + 0.75rem + 2px); transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { - .tomselect-input { + .ts-input { transition: none; } } -.tomselect-input.dropdown-active { +.ts-input.dropdown-active { border-radius: 0.25rem; } -.tomselect-input.dropdown-active::before { +.ts-input.dropdown-active::before { display: none; } -.tomselect-input.focus { +.ts-input.focus { border-color: #80bdff; outline: 0; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } -.is-invalid .tomselect-input { +.is-invalid .ts-input { border-color: #dc3545; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } -.is-invalid .tomselect-input:focus { +.is-invalid .ts-input:focus { border-color: #bd2130; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eb8c95; } -.tomselect-control.form-control-sm .tomselect-input.has-items { +.ts-control.form-control-sm .ts-input.has-items { min-height: calc(1.5em + 0.5rem + 2px) !important; height: calc(1.5em + 0.5rem + 2px) !important; padding: 0.25rem 0.5rem !important; font-size: 0.875rem; line-height: 1.5; } -.tomselect-control.multi .tomselect-input.has-items { +.ts-control.multi .ts-input.has-items { padding-left: calc(0.75rem - 5px); padding-right: calc(0.75rem - 5px); } -.tomselect-control.multi .tomselect-input > div { +.ts-control.multi .ts-input > div { border-radius: calc(0.25rem - 1px); } -.form-control.tomselect-control { +.form-control.ts-control { padding: 0; height: auto; border: none; @@ -414,7 +447,7 @@ border-radius: 0; } -.input-group .tomselect-input { +.input-group .ts-input { overflow: unset; border-radius: 0 0.25rem 0.25rem 0; } diff --git a/dist/css/tom-select.bootstrap4.css.map b/dist/css/tom-select.bootstrap4.css.map index 522acfb8..79397fc7 100644 --- a/dist/css/tom-select.bootstrap4.css.map +++ b/dist/css/tom-select.bootstrap4.css.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/scss/tom-select.bootstrap4.scss","../../src/scss/tom-select.scss","../../src/plugins/drag_drop/plugin.scss","tom-select.bootstrap4.css","../../src/plugins/dropdown_header/plugin.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../node_modules/bootstrap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iD;EACjD,uBAAkD;CGoQlD;AHjQC;EACD,sBA9CoD;CGiTpD;;AH/PD;EACE,eAAc;CGkQf;;AH/PD;EACE,wCOihB+C;ECnmB3C,yEAAuB;CLqV5B;AKjVK;ER6EN;IQ5EQ,iBAAgB;GLoVrB;CACF;AHpQC;EACE,uBAjEuC;CGuU1C;AHpQC;EACE,cAAa;CGsQhB;AHpQC;EACE,sBOwgByD;EPvgBzD,WAAU;EAIR,iDO+qByD;CJ5a9D;;AH9PD;EACE,sBAxG8C;EAyG9C,iDAtF8D;CGuV/D;AH/PC;EACD,sBA3GsE;EA4GtE,kEAzFsH;CG0VtH;;AH3PG;EACE,kDAAuC;EACvC,8CAAmC;EACnC,mCAA2D;EAC3D,oBOouB2C;EPnuB3C,iBOwU2D;CJ1EhE;AHzPA;EACE,kCAAoE;EACpE,mCAAqE;CG2PvE;AHzPA;EACE,mCAAmD;CG2PrD;;AHtPD;EACE,WAAU;EACV,aAAY;EACZ,aAAY;EACZ,iBAAgB;EAChB,iBAAgB;EAChB,iBAAgB;CGyPjB;;AHtPD;EACC,gBAAe;EACf,mCAA8D;CGyP9D","file":"tom-select.bootstrap4.css","sourcesContent":[null,null,null,"/**\n * Tom Select bootstrap 4\n */\n/**\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.tomselect-control.plugin-drag_drop.multi > .tomselect-input > 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.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.tomselect-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.tomselect-control .dropdown-header {\n position: relative;\n padding: 6px 0.75rem;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 0.25rem 0.25rem 0 0;\n}\n.tomselect-control .dropdown-header-close {\n position: absolute;\n right: 0.75rem;\n top: 50%;\n color: #343a40;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.tomselect-control .dropdown-header-close:hover {\n color: black;\n}\n\n.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content {\n display: flex;\n}\n.tomselect-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.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.tomselect-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.tomselect-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 1px 5px;\n border-left: 1px solid #dee2e6;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 5px;\n}\n.tomselect-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.tomselect-control.plugin-remove_button .item.active .remove {\n border-left-color: rgba(0, 0, 0, 0);\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove {\n border-left-color: white;\n}\n.tomselect-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.tomselect-control {\n position: relative;\n}\n\n.tomselect-dropdown,\n.tomselect-input, .tomselect-input input {\n color: #343a40;\n font-family: inherit;\n font-size: inherit;\n line-height: 1.5;\n font-smoothing: inherit;\n}\n\n.tomselect-input,\n.tomselect-control.single .tomselect-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.tomselect-input {\n border: 1px solid #ced4da;\n padding: 0.375rem 0.75rem;\n display: inline-block;\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: 0.25rem;\n}\n.tomselect-control.multi .tomselect-input.has-items {\n padding: calc( 0.375rem - 1px - 0px) 0.75rem calc( 0.375rem - 1px - 3px - 0px);\n}\n.tomselect-input.full {\n background-color: #fff;\n}\n.tomselect-input.disabled, .tomselect-input.disabled * {\n cursor: default !important;\n}\n.tomselect-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.tomselect-input.dropdown-active {\n border-radius: 0.25rem 0.25rem 0 0;\n}\n.tomselect-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.tomselect-control.multi .tomselect-input > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 1px 5px;\n background: #efefef;\n color: #343a40;\n border: 0px solid #dee2e6;\n}\n.tomselect-control.multi .tomselect-input > div.active {\n background: #007bff;\n color: #fff;\n border: 0px solid rgba(0, 0, 0, 0);\n}\n.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active {\n color: #878787;\n background: white;\n border: 0px solid white;\n}\n.tomselect-input > input {\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.tomselect-input > input::-ms-clear {\n display: none;\n}\n.tomselect-input > input:focus {\n outline: none !important;\n}\n.tomselect-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.tomselect-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.tomselect-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: white;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.tomselect-dropdown {\n position: absolute;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: -1px 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 0.25rem 0.25rem;\n}\n.tomselect-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.tomselect-dropdown [data-selectable] .highlight {\n background: rgba(255, 237, 40, 0.4);\n border-radius: 1px;\n}\n.tomselect-dropdown .option,\n.tomselect-dropdown .optgroup-header,\n.tomselect-dropdown .no-results,\n.tomselect-dropdown .create {\n padding: 3px 0.75rem;\n}\n.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.tomselect-dropdown [data-selectable].option {\n opacity: 1;\n}\n.tomselect-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.tomselect-dropdown .optgroup-header {\n color: #6c757d;\n background: #fff;\n cursor: default;\n}\n.tomselect-dropdown .active {\n background-color: #f8f9fa;\n color: #16181b;\n}\n.tomselect-dropdown .active.create {\n color: #16181b;\n}\n.tomselect-dropdown .create {\n color: rgba(52, 58, 64, 0.5);\n}\n\n.tomselect-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input {\n cursor: pointer;\n}\n.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input {\n cursor: text;\n}\n.tomselect-control.single .tomselect-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: calc(0.75rem + 5px);\n margin-top: -3px;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 5px 0 5px;\n border-color: #343a40 transparent transparent transparent;\n}\n.tomselect-control.single .tomselect-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #343a40 transparent;\n}\n\n.tomselect-control.rtl {\n text-align: right;\n}\n.tomselect-control.rtl.single .tomselect-input:after {\n left: calc(0.75rem + 5px);\n right: auto;\n}\n.tomselect-control.rtl .tomselect-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.tomselect-control .tomselect-input.disabled {\n opacity: 0.5;\n background-color: #fff;\n}\n\n.tomselect-dropdown, .tomselect-dropdown.form-control {\n height: auto;\n padding: 0;\n margin: 2px 0 0 0;\n z-index: 1000;\n background: #fff;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 0.25rem;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n}\n\n.tomselect-dropdown .optgroup-header {\n font-size: 0.875rem;\n line-height: 1.5;\n}\n.tomselect-dropdown .optgroup:first-child:before {\n display: none;\n}\n.tomselect-dropdown .optgroup:before {\n content: ' ';\n display: block;\n height: 0;\n margin: 0.5rem 0;\n overflow: hidden;\n border-top: 1px solid #e9ecef;\n margin-left: -0.75rem;\n margin-right: -0.75rem;\n}\n.tomselect-dropdown .create {\n padding-left: 0.75rem;\n}\n\n.tomselect-dropdown-content {\n padding: 5px 0;\n}\n\n.tomselect-input {\n min-height: calc(1.5em + 0.75rem + 2px);\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .tomselect-input {\n transition: none;\n }\n}\n.tomselect-input.dropdown-active {\n border-radius: 0.25rem;\n}\n.tomselect-input.dropdown-active::before {\n display: none;\n}\n.tomselect-input.focus {\n border-color: #80bdff;\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.is-invalid .tomselect-input {\n border-color: #dc3545;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.is-invalid .tomselect-input:focus {\n border-color: #bd2130;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eb8c95;\n}\n\n.tomselect-control.form-control-sm .tomselect-input.has-items {\n min-height: calc(1.5em + 0.5rem + 2px) !important;\n height: calc(1.5em + 0.5rem + 2px) !important;\n padding: 0.25rem 0.5rem !important;\n font-size: 0.875rem;\n line-height: 1.5;\n}\n.tomselect-control.multi .tomselect-input.has-items {\n padding-left: calc(0.75rem - 5px);\n padding-right: calc(0.75rem - 5px);\n}\n.tomselect-control.multi .tomselect-input > div {\n border-radius: calc(0.25rem - 1px);\n}\n\n.form-control.tomselect-control {\n padding: 0;\n height: auto;\n border: none;\n background: none;\n box-shadow: none;\n border-radius: 0;\n}\n\n.input-group .tomselect-input {\n overflow: unset;\n border-radius: 0 0.25rem 0.25rem 0;\n}\n\n/*# sourceMappingURL=tom-select.bootstrap4.css.map */\n",null,null,null,null,null]} \ No newline at end of file +{"version":3,"sources":["../../src/scss/tom-select.bootstrap4.scss","../../src/scss/tom-select.scss","../../src/plugins/drag_drop/plugin.scss","tom-select.bootstrap4.css","../../src/plugins/dropdown_header/plugin.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../node_modules/bootstrap/scss/_variables.scss","../../node_modules/bootstrap/scss/mixins/_transition.scss"],"names":[],"mappings":"AAAA;;GAEG;ACFH;;;;;;;;;;;;;GAaG;ACZF;EACC,+BAA8B;EAC9B,+BAA8B;EAC9B,2CAAuC;EACvC,0BAAyB;EACzB,oCAAmC;CCiBpC;ADfA;EACC,aAAY;EACZ,mBAAkB;CCiBnB;ADfA;EACC,yCAAqC;CCiBtC;;AC5BA;EACC,mBAAkB;EAClB,qBAA8E;EAC9E,iCAA6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,sBAAiD;EACjD,uBAAkD;CGiSlD;AH9RC;EACD,sBA9CoD;CG8UpD;;AH5RD;EACE,eAAc;CG+Rf;;AH5RD;EACE,wCOihB+C;ECnmB3C,yEAAuB;CLkX5B;AK9WK;ER6EN;IQ5EQ,iBAAgB;GLiXrB;CACF;AHjSC;EACE,uBAjEuC;CGoW1C;AHjSC;EACE,cAAa;CGmShB;AHjSC;EACE,sBOwgByD;EPvgBzD,WAAU;EAIR,iDO+qByD;CJ/Y9D;;AH3RD;EACE,sBAxG8C;EAyG9C,iDAtF8D;CGoX/D;AH5RC;EACD,sBA3GsE;EA4GtE,kEAzFsH;CGuXtH;;AHxRG;EACE,kDAAuC;EACvC,8CAAmC;EACnC,mCAA2D;EAC3D,oBOouB2C;EPnuB3C,iBOwU2D;CJ7ChE;AHtRA;EACE,kCAAoE;EACpE,mCAAqE;CGwRvE;AHtRA;EACE,mCAAmD;CGwRrD;;AHnRD;EACE,WAAU;EACV,aAAY;EACZ,aAAY;EACZ,iBAAgB;EAChB,iBAAgB;EAChB,iBAAgB;CGsRjB;;AHnRD;EACC,gBAAe;EACf,mCAA8D;CGsR9D","file":"tom-select.bootstrap4.css","sourcesContent":[null,null,null,"/**\n * Tom Select bootstrap 4\n */\n/**\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.plugin-drag_drop.multi > .ts-input > 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-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.ts-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.ts-control .dropdown-header {\n position: relative;\n padding: 6px 0.75rem;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 0.25rem 0.25rem 0 0;\n}\n.ts-control .dropdown-header-close {\n position: absolute;\n right: 0.75rem;\n top: 50%;\n color: #343a40;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.ts-control .dropdown-header-close:hover {\n color: black;\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-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 1px 5px;\n border-left: 1px solid #dee2e6;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 5px;\n}\n.ts-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-control.plugin-remove_button .item.active .remove {\n border-left-color: rgba(0, 0, 0, 0);\n}\n.ts-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.ts-control.plugin-remove_button .disabled .item .remove {\n border-left-color: white;\n}\n.ts-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-control {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-input, .ts-input input {\n color: #343a40;\n font-family: inherit;\n font-size: inherit;\n line-height: 1.5;\n font-smoothing: inherit;\n}\n\n.ts-input,\n.ts-control.single .ts-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.ts-input {\n border: 1px solid #ced4da;\n padding: 0.375rem 0.75rem;\n display: inline-block;\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: 0.25rem;\n}\n.ts-control.multi .ts-input.has-items {\n padding: calc( 0.375rem - 1px - 0px) 0.75rem calc( 0.375rem - 1px - 3px - 0px);\n}\n.ts-input.full {\n background-color: #fff;\n}\n.ts-input.disabled, .ts-input.disabled * {\n cursor: default !important;\n}\n.ts-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.ts-input.dropdown-active {\n border-radius: 0.25rem 0.25rem 0 0;\n}\n.ts-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.ts-control.multi .ts-input > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 1px 5px;\n background: #efefef;\n color: #343a40;\n border: 0px solid #dee2e6;\n}\n.ts-control.multi .ts-input > div.active {\n background: #007bff;\n color: #fff;\n border: 0px solid rgba(0, 0, 0, 0);\n}\n.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active {\n color: #878787;\n background: white;\n border: 0px solid white;\n}\n.ts-input > input {\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-input > input::-ms-clear {\n display: none;\n}\n.ts-input > input:focus {\n outline: none !important;\n}\n.ts-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.ts-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.ts-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: white;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\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: -1px 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 0.25rem 0.25rem;\n}\n.ts-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.ts-dropdown [data-selectable] .highlight {\n background: rgba(255, 237, 40, 0.4);\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: 3px 0.75rem;\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: #6c757d;\n background: #fff;\n cursor: default;\n}\n.ts-dropdown .active {\n background-color: #f8f9fa;\n color: #16181b;\n}\n.ts-dropdown .active.create {\n color: #16181b;\n}\n.ts-dropdown .create {\n color: rgba(52, 58, 64, 0.5);\n}\n\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.ts-dropdown .spinner {\n display: inline-block;\n width: 30px;\n height: 30px;\n margin: 3px 0.75rem;\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.ts-control.single .ts-input, .ts-control.single .ts-input input {\n cursor: pointer;\n}\n.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input {\n cursor: text;\n}\n.ts-control.single .ts-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: calc(0.75rem + 5px);\n margin-top: -3px;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 5px 0 5px;\n border-color: #343a40 transparent transparent transparent;\n}\n.ts-control.single .ts-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #343a40 transparent;\n}\n\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-input:after {\n left: calc(0.75rem + 5px);\n right: auto;\n}\n.ts-control.rtl .ts-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.ts-control .ts-input.disabled {\n opacity: 0.5;\n background-color: #fff;\n}\n\n.ts-dropdown, .ts-dropdown.form-control {\n height: auto;\n padding: 0;\n margin: 2px 0 0 0;\n z-index: 1000;\n background: #fff;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 0.25rem;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n}\n\n.ts-dropdown .optgroup-header {\n font-size: 0.875rem;\n line-height: 1.5;\n}\n.ts-dropdown .optgroup:first-child:before {\n display: none;\n}\n.ts-dropdown .optgroup:before {\n content: ' ';\n display: block;\n height: 0;\n margin: 0.5rem 0;\n overflow: hidden;\n border-top: 1px solid #e9ecef;\n margin-left: -0.75rem;\n margin-right: -0.75rem;\n}\n.ts-dropdown .create {\n padding-left: 0.75rem;\n}\n\n.ts-dropdown-content {\n padding: 5px 0;\n}\n\n.ts-input {\n min-height: calc(1.5em + 0.75rem + 2px);\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .ts-input {\n transition: none;\n }\n}\n.ts-input.dropdown-active {\n border-radius: 0.25rem;\n}\n.ts-input.dropdown-active::before {\n display: none;\n}\n.ts-input.focus {\n border-color: #80bdff;\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.is-invalid .ts-input {\n border-color: #dc3545;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.is-invalid .ts-input:focus {\n border-color: #bd2130;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eb8c95;\n}\n\n.ts-control.form-control-sm .ts-input.has-items {\n min-height: calc(1.5em + 0.5rem + 2px) !important;\n height: calc(1.5em + 0.5rem + 2px) !important;\n padding: 0.25rem 0.5rem !important;\n font-size: 0.875rem;\n line-height: 1.5;\n}\n.ts-control.multi .ts-input.has-items {\n padding-left: calc(0.75rem - 5px);\n padding-right: calc(0.75rem - 5px);\n}\n.ts-control.multi .ts-input > div {\n border-radius: calc(0.25rem - 1px);\n}\n\n.form-control.ts-control {\n padding: 0;\n height: auto;\n border: none;\n background: none;\n box-shadow: none;\n border-radius: 0;\n}\n\n.input-group .ts-input {\n overflow: unset;\n border-radius: 0 0.25rem 0.25rem 0;\n}\n\n/*# sourceMappingURL=tom-select.bootstrap4.css.map */\n",null,null,null,null,null]} \ No newline at end of file diff --git a/dist/css/tom-select.bootstrap4.min.css b/dist/css/tom-select.bootstrap4.min.css index ef021f5e..f7d970e9 100644 --- a/dist/css/tom-select.bootstrap4.min.css +++ b/dist/css/tom-select.bootstrap4.min.css @@ -1,2 +1,2 @@ -.tomselect-control.plugin-drag_drop.multi>.tomselect-input>div.ui-sortable-placeholder{visibility:visible!important;background:#f2f2f2!important;background:rgba(0,0,0,.06)!important;border:0!important;box-shadow:inset 0 0 12px 4px #fff}.tomselect-control.plugin-drag_drop .ui-sortable-placeholder:after{content:"!";visibility:hidden}.tomselect-control.plugin-drag_drop .ui-sortable-helper{box-shadow:0 2px 5px rgba(0,0,0,.2)}.tomselect-control .dropdown-header{position:relative;padding:6px .75rem;border-bottom:1px solid #d0d0d0;background:#f8f8f8;border-radius:.25rem .25rem 0 0}.tomselect-control .dropdown-header-close{position:absolute;right:.75rem;top:50%;color:#343a40;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.tomselect-control .dropdown-header-close:hover{color:#000}.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content{display:-ms-flexbox;display:flex}.tomselect-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;min-width:0}.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0}.tomselect-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.tomselect-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0}.tomselect-control.plugin-remove_button .item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-right:0!important}.tomselect-control.plugin-remove_button .item .remove{color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:1px 5px;border-left:1px solid #dee2e6;border-radius:0 2px 2px 0;box-sizing:border-box;margin-left:5px}.tomselect-control.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.tomselect-control.plugin-remove_button .item.active .remove{border-left-color:transparent}.tomselect-control.plugin-remove_button .disabled .item .remove:hover{background:none}.tomselect-control.plugin-remove_button .disabled .item .remove{border-left-color:#fff}.tomselect-control.plugin-remove_button .remove-single{position:absolute;right:0;top:0;font-size:23px}.tomselect-control{position:relative}.tomselect-dropdown,.tomselect-input,.tomselect-input input{color:#343a40;font-family:inherit;font-size:inherit;line-height:1.5;font-smoothing:inherit}.tomselect-control.single .tomselect-input.input-active,.tomselect-input{background:#fff;cursor:text;display:inline-block}.tomselect-input{border:1px solid #ced4da;padding:.375rem .75rem;display:inline-block;width:100%;overflow:hidden;position:relative;z-index:1;box-sizing:border-box;box-shadow:none;border-radius:.25rem}.tomselect-control.multi .tomselect-input.has-items{padding:calc(.375rem - 1px) .75rem calc(.375rem - 4px)}.tomselect-input.full{background-color:#fff}.tomselect-input.disabled,.tomselect-input.disabled *{cursor:default!important}.tomselect-input.focus{box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.tomselect-input.dropdown-active{border-radius:.25rem .25rem 0 0}.tomselect-input>*{vertical-align:baseline;display:inline-block;zoom:1}.tomselect-control.multi .tomselect-input>div{cursor:pointer;margin:0 3px 3px 0;padding:1px 5px;background:#efefef;color:#343a40;border:0 solid #dee2e6}.tomselect-control.multi .tomselect-input>div.active{background:#007bff;color:#fff;border:0 solid transparent}.tomselect-control.multi .tomselect-input.disabled>div,.tomselect-control.multi .tomselect-input.disabled>div.active{color:#878787;background:#fff;border:0 solid #fff}.tomselect-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0!important;text-indent:0!important;border:0!important;background:none!important;line-height:inherit!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important;box-shadow:none!important}.tomselect-input>input::-ms-clear{display:none}.tomselect-input>input:focus{outline:none!important}.tomselect-input.has-items>input{margin:0 4px!important}.tomselect-input:after{content:" ";display:block;clear:left}.tomselect-input.dropdown-active:before{content:" ";display:block;position:absolute;background:#fff;height:1px;bottom:0;left:0;right:0}.tomselect-dropdown{position:absolute;z-index:10;background:#fff;margin:-1px 0 0;border:1px solid #d0d0d0;border-top:0;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.1);border-radius:0 0 .25rem .25rem}.tomselect-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.tomselect-dropdown [data-selectable] .highlight{background:rgba(255,237,40,.4);border-radius:1px}.tomselect-dropdown .create,.tomselect-dropdown .no-results,.tomselect-dropdown .optgroup-header,.tomselect-dropdown .option{padding:3px .75rem}.tomselect-dropdown .option,.tomselect-dropdown [data-disabled],.tomselect-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.tomselect-dropdown [data-selectable].option{opacity:1}.tomselect-dropdown .optgroup:first-child .optgroup-header{border-top:0}.tomselect-dropdown .optgroup-header{color:#6c757d;background:#fff;cursor:default}.tomselect-dropdown .active{background-color:#f8f9fa;color:#16181b}.tomselect-dropdown .active.create{color:#16181b}.tomselect-dropdown .create{color:rgba(52,58,64,.5)}.tomselect-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;overflow-scrolling:touch}.tomselect-control.single .tomselect-input,.tomselect-control.single .tomselect-input input{cursor:pointer}.tomselect-control.single .tomselect-input.input-active,.tomselect-control.single .tomselect-input.input-active input{cursor:text}.tomselect-control.single .tomselect-input:after{content:" ";display:block;position:absolute;top:50%;right:calc(.75rem + 5px);margin-top:-3px;width:0;height:0;border-color:#343a40 transparent transparent;border-style:solid;border-width:5px 5px 0}.tomselect-control.single .tomselect-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px;border-color:transparent transparent #343a40}.tomselect-control.rtl{text-align:right}.tomselect-control.rtl.single .tomselect-input:after{left:calc(.75rem + 5px);right:auto}.tomselect-control.rtl .tomselect-input>input{margin:0 4px 0 -2px!important}.tomselect-control .tomselect-input.disabled{opacity:.5;background-color:#fff}.tomselect-dropdown,.tomselect-dropdown.form-control{height:auto;padding:0;margin:2px 0 0;z-index:1000;background:#fff;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;box-shadow:0 6px 12px rgba(0,0,0,.175)}.tomselect-dropdown .optgroup-header{font-size:.875rem;line-height:1.5}.tomselect-dropdown .optgroup:first-child:before{display:none}.tomselect-dropdown .optgroup:before{content:" ";display:block;height:0;overflow:hidden;border-top:1px solid #e9ecef;margin:.5rem -.75rem}.tomselect-dropdown .create{padding-left:.75rem}.tomselect-dropdown-content{padding:5px 0}.tomselect-input{min-height:calc(1.5em + .75rem + 2px);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.tomselect-input{transition:none}}.tomselect-input.dropdown-active{border-radius:.25rem}.tomselect-input.dropdown-active:before{display:none}.tomselect-input.focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.is-invalid .tomselect-input{border-color:#dc3545;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.is-invalid .tomselect-input:focus{border-color:#bd2130;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #eb8c95}.tomselect-control.form-control-sm .tomselect-input.has-items{min-height:calc(1.5em + .5rem + 2px)!important;height:calc(1.5em + .5rem + 2px)!important;padding:.25rem .5rem!important;font-size:.875rem;line-height:1.5}.tomselect-control.multi .tomselect-input.has-items{padding-left:calc(.75rem - 5px);padding-right:calc(.75rem - 5px)}.tomselect-control.multi .tomselect-input>div{border-radius:calc(.25rem - 1px)}.form-control.tomselect-control{padding:0;height:auto;border:none;background:none;box-shadow:none;border-radius:0}.input-group .tomselect-input{overflow:unset;border-radius:0 .25rem .25rem 0} +.ts-control.plugin-drag_drop.multi>.ts-input>div.ui-sortable-placeholder{visibility:visible!important;background:#f2f2f2!important;background:rgba(0,0,0,.06)!important;border:0!important;box-shadow:inset 0 0 12px 4px #fff}.ts-control.plugin-drag_drop .ui-sortable-placeholder:after{content:"!";visibility:hidden}.ts-control.plugin-drag_drop .ui-sortable-helper{box-shadow:0 2px 5px rgba(0,0,0,.2)}.ts-control .dropdown-header{position:relative;padding:6px .75rem;border-bottom:1px solid #d0d0d0;background:#f8f8f8;border-radius:.25rem .25rem 0 0}.ts-control .dropdown-header-close{position:absolute;right:.75rem;top:50%;color:#343a40;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.ts-control .dropdown-header-close:hover{color:#000}.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content{display:flex}.ts-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0;flex-grow:1;flex-basis:0;min-width:0}.ts-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0}.ts-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.ts-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0}.ts-control.plugin-remove_button .item{display:inline-flex;align-items:center;padding-right:0!important}.ts-control.plugin-remove_button .item .remove{color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:1px 5px;border-left:1px solid #dee2e6;border-radius:0 2px 2px 0;box-sizing:border-box;margin-left:5px}.ts-control.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.ts-control.plugin-remove_button .item.active .remove{border-left-color:transparent}.ts-control.plugin-remove_button .disabled .item .remove:hover{background:none}.ts-control.plugin-remove_button .disabled .item .remove{border-left-color:#fff}.ts-control.plugin-remove_button .remove-single{position:absolute;right:0;top:0;font-size:23px}.ts-control{position:relative}.ts-dropdown,.ts-input,.ts-input input{color:#343a40;font-family:inherit;font-size:inherit;line-height:1.5;font-smoothing:inherit}.ts-control.single .ts-input.input-active,.ts-input{background:#fff;cursor:text;display:inline-block}.ts-input{border:1px solid #ced4da;padding:.375rem .75rem;display:inline-block;width:100%;overflow:hidden;position:relative;z-index:1;box-sizing:border-box;box-shadow:none;border-radius:.25rem}.ts-control.multi .ts-input.has-items{padding:calc(.375rem - 1px) .75rem calc(.375rem - 4px)}.ts-input.full{background-color:#fff}.ts-input.disabled,.ts-input.disabled *{cursor:default!important}.ts-input.focus{box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.ts-input.dropdown-active{border-radius:.25rem .25rem 0 0}.ts-input>*{vertical-align:baseline;display:inline-block;zoom:1}.ts-control.multi .ts-input>div{cursor:pointer;margin:0 3px 3px 0;padding:1px 5px;background:#efefef;color:#343a40;border:0 solid #dee2e6}.ts-control.multi .ts-input>div.active{background:#007bff;color:#fff;border:0 solid transparent}.ts-control.multi .ts-input.disabled>div,.ts-control.multi .ts-input.disabled>div.active{color:#878787;background:#fff;border:0 solid #fff}.ts-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0!important;text-indent:0!important;border:0!important;background:none!important;line-height:inherit!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important;box-shadow:none!important}.ts-input>input::-ms-clear{display:none}.ts-input>input:focus{outline:none!important}.ts-input.has-items>input{margin:0 4px!important}.ts-input:after{content:" ";display:block;clear:left}.ts-input.dropdown-active:before{content:" ";display:block;position:absolute;background:#fff;height:1px;bottom:0;left:0;right:0}.ts-dropdown{position:absolute;top:100%;left:0;width:100%;z-index:10;background:#fff;margin:-1px 0 0;border:1px solid #d0d0d0;border-top:0;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.1);border-radius:0 0 .25rem .25rem}.ts-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.ts-dropdown [data-selectable] .highlight{background:rgba(255,237,40,.4);border-radius:1px}.ts-dropdown .create,.ts-dropdown .no-results,.ts-dropdown .optgroup-header,.ts-dropdown .option{padding:3px .75rem}.ts-dropdown .option,.ts-dropdown [data-disabled],.ts-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.ts-dropdown [data-selectable].option{opacity:1;cursor:pointer}.ts-dropdown .optgroup:first-child .optgroup-header{border-top:0}.ts-dropdown .optgroup-header{color:#6c757d;background:#fff;cursor:default}.ts-dropdown .active{background-color:#f8f9fa;color:#16181b}.ts-dropdown .active.create{color:#16181b}.ts-dropdown .create{color:rgba(52,58,64,.5)}.ts-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;overflow-scrolling:touch}.ts-dropdown .spinner{display:inline-block;width:30px;height:30px;margin:3px .75rem}.ts-dropdown .spinner:after{content:" ";display:block;width:24px;height:24px;margin:3px;border-radius:50%;border-color:#d0d0d0 transparent;border-style:solid;border-width:5px;-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite}@-webkit-keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ts-control.single .ts-input,.ts-control.single .ts-input input{cursor:pointer}.ts-control.single .ts-input.input-active,.ts-control.single .ts-input.input-active input{cursor:text}.ts-control.single .ts-input:after{content:" ";display:block;position:absolute;top:50%;right:calc(.75rem + 5px);margin-top:-3px;width:0;height:0;border-color:#343a40 transparent transparent;border-style:solid;border-width:5px 5px 0}.ts-control.single .ts-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px;border-color:transparent transparent #343a40}.ts-control.rtl{text-align:right}.ts-control.rtl.single .ts-input:after{left:calc(.75rem + 5px);right:auto}.ts-control.rtl .ts-input>input{margin:0 4px 0 -2px!important}.ts-control .ts-input.disabled{opacity:.5;background-color:#fff}.ts-dropdown,.ts-dropdown.form-control{height:auto;padding:0;margin:2px 0 0;z-index:1000;background:#fff;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;box-shadow:0 6px 12px rgba(0,0,0,.175)}.ts-dropdown .optgroup-header{font-size:.875rem;line-height:1.5}.ts-dropdown .optgroup:first-child:before{display:none}.ts-dropdown .optgroup:before{content:" ";display:block;height:0;overflow:hidden;border-top:1px solid #e9ecef;margin:.5rem -.75rem}.ts-dropdown .create{padding-left:.75rem}.ts-dropdown-content{padding:5px 0}.ts-input{min-height:calc(1.5em + .75rem + 2px);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.ts-input{transition:none}}.ts-input.dropdown-active{border-radius:.25rem}.ts-input.dropdown-active:before{display:none}.ts-input.focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.is-invalid .ts-input{border-color:#dc3545;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.is-invalid .ts-input:focus{border-color:#bd2130;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #eb8c95}.ts-control.form-control-sm .ts-input.has-items{min-height:calc(1.5em + .5rem + 2px)!important;height:calc(1.5em + .5rem + 2px)!important;padding:.25rem .5rem!important;font-size:.875rem;line-height:1.5}.ts-control.multi .ts-input.has-items{padding-left:calc(.75rem - 5px);padding-right:calc(.75rem - 5px)}.ts-control.multi .ts-input>div{border-radius:calc(.25rem - 1px)}.form-control.ts-control{padding:0;height:auto;border:none;background:none;box-shadow:none;border-radius:0}.input-group .ts-input{overflow:unset;border-radius:0 .25rem .25rem 0} /*# sourceMappingURL=tom-select.bootstrap4.min.css.map */ \ No newline at end of file diff --git a/dist/css/tom-select.bootstrap4.min.css.map b/dist/css/tom-select.bootstrap4.min.css.map index 4c6bca64..c4c404a5 100644 --- a/dist/css/tom-select.bootstrap4.min.css.map +++ b/dist/css/tom-select.bootstrap4.min.css.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/plugins/drag_drop/plugin.scss","tom-select.bootstrap4.css","../../src/plugins/dropdown_header/plugin.scss","../../src/scss/tom-select.bootstrap4.scss","../../src/scss/tom-select.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../node_modules/bootstrap/scss/_variables.scss","../../node_modules/bootstrap/scss/mixins/_transition.scss"],"names":[],"mappings":"AACC,uFACC,6BAA8B,AAC9B,6BAA8B,AAC9B,qCAAuC,AACvC,mBAAyB,AACzB,kCAAmC,CCiBpC,ADfA,mEACC,YAAY,AACZ,iBAAkB,CCiBnB,ADfA,wDACC,mCAAqC,CCiBtC,AC5BA,oCACC,kBAAkB,AAClB,mBAA8E,AAC9E,gCAA6C,AAC7C,mBAAkE,AAClE,+BAA8D,CD+B/D,AC7BA,0CACC,kBAAkB,AAClB,aCgCmD,AD/BnD,QAAQ,AACR,cEiB8C,AFhB9C,WAAY,AACZ,iBAAiB,AACjB,iBAAiB,AACjB,wBAA0B,CD+B3B,AC7BA,gDACC,UAAsC,CD+BvC,AIjDA,wEACC,oBAAa,AAAb,YAAa,CJoDd,AIjDA,sDACC,+BAA+B,AAC/B,aAAkB,AACf,oBAAY,AAAZ,YAAY,AACZ,0BAAa,AAAb,aAAa,AAChB,WAAY,CJmDb,AIjDA,iEAC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,8BACC,eAAe,AACf,+BAA8D,CFyP9D","file":"tom-select.bootstrap4.min.css","sourcesContent":[null,"/**\n * Tom Select bootstrap 4\n */\n/**\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.tomselect-control.plugin-drag_drop.multi > .tomselect-input > 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.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.tomselect-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.tomselect-control .dropdown-header {\n position: relative;\n padding: 6px 0.75rem;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 0.25rem 0.25rem 0 0;\n}\n.tomselect-control .dropdown-header-close {\n position: absolute;\n right: 0.75rem;\n top: 50%;\n color: #343a40;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.tomselect-control .dropdown-header-close:hover {\n color: black;\n}\n\n.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content {\n display: flex;\n}\n.tomselect-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.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.tomselect-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.tomselect-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 1px 5px;\n border-left: 1px solid #dee2e6;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 5px;\n}\n.tomselect-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.tomselect-control.plugin-remove_button .item.active .remove {\n border-left-color: rgba(0, 0, 0, 0);\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove {\n border-left-color: white;\n}\n.tomselect-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.tomselect-control {\n position: relative;\n}\n\n.tomselect-dropdown,\n.tomselect-input, .tomselect-input input {\n color: #343a40;\n font-family: inherit;\n font-size: inherit;\n line-height: 1.5;\n font-smoothing: inherit;\n}\n\n.tomselect-input,\n.tomselect-control.single .tomselect-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.tomselect-input {\n border: 1px solid #ced4da;\n padding: 0.375rem 0.75rem;\n display: inline-block;\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: 0.25rem;\n}\n.tomselect-control.multi .tomselect-input.has-items {\n padding: calc( 0.375rem - 1px - 0px) 0.75rem calc( 0.375rem - 1px - 3px - 0px);\n}\n.tomselect-input.full {\n background-color: #fff;\n}\n.tomselect-input.disabled, .tomselect-input.disabled * {\n cursor: default !important;\n}\n.tomselect-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.tomselect-input.dropdown-active {\n border-radius: 0.25rem 0.25rem 0 0;\n}\n.tomselect-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.tomselect-control.multi .tomselect-input > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 1px 5px;\n background: #efefef;\n color: #343a40;\n border: 0px solid #dee2e6;\n}\n.tomselect-control.multi .tomselect-input > div.active {\n background: #007bff;\n color: #fff;\n border: 0px solid rgba(0, 0, 0, 0);\n}\n.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active {\n color: #878787;\n background: white;\n border: 0px solid white;\n}\n.tomselect-input > input {\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.tomselect-input > input::-ms-clear {\n display: none;\n}\n.tomselect-input > input:focus {\n outline: none !important;\n}\n.tomselect-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.tomselect-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.tomselect-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: white;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.tomselect-dropdown {\n position: absolute;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: -1px 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 0.25rem 0.25rem;\n}\n.tomselect-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.tomselect-dropdown [data-selectable] .highlight {\n background: rgba(255, 237, 40, 0.4);\n border-radius: 1px;\n}\n.tomselect-dropdown .option,\n.tomselect-dropdown .optgroup-header,\n.tomselect-dropdown .no-results,\n.tomselect-dropdown .create {\n padding: 3px 0.75rem;\n}\n.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.tomselect-dropdown [data-selectable].option {\n opacity: 1;\n}\n.tomselect-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.tomselect-dropdown .optgroup-header {\n color: #6c757d;\n background: #fff;\n cursor: default;\n}\n.tomselect-dropdown .active {\n background-color: #f8f9fa;\n color: #16181b;\n}\n.tomselect-dropdown .active.create {\n color: #16181b;\n}\n.tomselect-dropdown .create {\n color: rgba(52, 58, 64, 0.5);\n}\n\n.tomselect-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input {\n cursor: pointer;\n}\n.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input {\n cursor: text;\n}\n.tomselect-control.single .tomselect-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: calc(0.75rem + 5px);\n margin-top: -3px;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 5px 0 5px;\n border-color: #343a40 transparent transparent transparent;\n}\n.tomselect-control.single .tomselect-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #343a40 transparent;\n}\n\n.tomselect-control.rtl {\n text-align: right;\n}\n.tomselect-control.rtl.single .tomselect-input:after {\n left: calc(0.75rem + 5px);\n right: auto;\n}\n.tomselect-control.rtl .tomselect-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.tomselect-control .tomselect-input.disabled {\n opacity: 0.5;\n background-color: #fff;\n}\n\n.tomselect-dropdown, .tomselect-dropdown.form-control {\n height: auto;\n padding: 0;\n margin: 2px 0 0 0;\n z-index: 1000;\n background: #fff;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 0.25rem;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n}\n\n.tomselect-dropdown .optgroup-header {\n font-size: 0.875rem;\n line-height: 1.5;\n}\n.tomselect-dropdown .optgroup:first-child:before {\n display: none;\n}\n.tomselect-dropdown .optgroup:before {\n content: ' ';\n display: block;\n height: 0;\n margin: 0.5rem 0;\n overflow: hidden;\n border-top: 1px solid #e9ecef;\n margin-left: -0.75rem;\n margin-right: -0.75rem;\n}\n.tomselect-dropdown .create {\n padding-left: 0.75rem;\n}\n\n.tomselect-dropdown-content {\n padding: 5px 0;\n}\n\n.tomselect-input {\n min-height: calc(1.5em + 0.75rem + 2px);\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .tomselect-input {\n transition: none;\n }\n}\n.tomselect-input.dropdown-active {\n border-radius: 0.25rem;\n}\n.tomselect-input.dropdown-active::before {\n display: none;\n}\n.tomselect-input.focus {\n border-color: #80bdff;\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.is-invalid .tomselect-input {\n border-color: #dc3545;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.is-invalid .tomselect-input:focus {\n border-color: #bd2130;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eb8c95;\n}\n\n.tomselect-control.form-control-sm .tomselect-input.has-items {\n min-height: calc(1.5em + 0.5rem + 2px) !important;\n height: calc(1.5em + 0.5rem + 2px) !important;\n padding: 0.25rem 0.5rem !important;\n font-size: 0.875rem;\n line-height: 1.5;\n}\n.tomselect-control.multi .tomselect-input.has-items {\n padding-left: calc(0.75rem - 5px);\n padding-right: calc(0.75rem - 5px);\n}\n.tomselect-control.multi .tomselect-input > div {\n border-radius: calc(0.25rem - 1px);\n}\n\n.form-control.tomselect-control {\n padding: 0;\n height: auto;\n border: none;\n background: none;\n box-shadow: none;\n border-radius: 0;\n}\n\n.input-group .tomselect-input {\n overflow: unset;\n border-radius: 0 0.25rem 0.25rem 0;\n}\n\n/*# sourceMappingURL=tom-select.bootstrap4.css.map */\n",null,null,null,null,null,null,null]} \ No newline at end of file +{"version":3,"sources":["../../src/plugins/drag_drop/plugin.scss","tom-select.bootstrap4.css","../../src/plugins/dropdown_header/plugin.scss","../../src/scss/tom-select.bootstrap4.scss","../../src/scss/tom-select.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../node_modules/bootstrap/scss/_variables.scss","../../node_modules/bootstrap/scss/mixins/_transition.scss"],"names":[],"mappings":"AACC,yEACC,6BAA8B,AAC9B,6BAA8B,AAC9B,qCAAuC,AACvC,mBAAyB,AACzB,kCAAmC,CCiBpC,ADfA,4DACC,YAAY,AACZ,iBAAkB,CCiBnB,ADfA,iDACC,mCAAqC,CCiBtC,AC5BA,6BACC,kBAAkB,AAClB,mBAA8E,AAC9E,gCAA6C,AAC7C,mBAAkE,AAClE,+BAA8D,CD+B/D,AC7BA,mCACC,kBAAkB,AAClB,aCgCmD,AD/BnD,QAAQ,AACR,cEiB8C,AFhB9C,WAAY,AACZ,iBAAiB,AACjB,iBAAiB,AACjB,wBAA0B,CD+B3B,AC7BA,yCACC,UAAsC,CD+BvC,AIjDA,0DACC,YAAa,CJoDd,AIjDA,+CACC,+BAA+B,AAC/B,aAAkB,AACf,YAAY,AACZ,aAAa,AAChB,WAAY,CJmDb,AIjDA,0DACC,cAAoB,CJmDrB,AIjDA,sDACC,YAAa,CJmDd,AIjDA,sDACC,YAAkB,CJmDnB,AKrEA,uCACC,oBAAqB,AACrB,mBAAmB,AACnB,yBAA2B,CLwE5B,AKrEA,+CACC,cAAiB,AACjB,qBAAqB,AACrB,sBAAuB,AACvB,qBAAuB,AACvB,gBAAwD,AACxD,8BAAiD,AACjD,0BAA2B,AAC3B,sBAAwB,AACxB,eH4ByB,CF2C1B,AKpEA,qDACC,0BAA4B,CLsE7B,AKnEA,sDACC,6BHF6C,CFuE9C,AKlEA,+DACC,eAAgB,CLoEjB,AKjEA,yDACC,sB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e,AACf,+BAA8D,CFsR9D","file":"tom-select.bootstrap4.min.css","sourcesContent":[null,"/**\n * Tom Select bootstrap 4\n */\n/**\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.plugin-drag_drop.multi > .ts-input > 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-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.ts-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.ts-control .dropdown-header {\n position: relative;\n padding: 6px 0.75rem;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 0.25rem 0.25rem 0 0;\n}\n.ts-control .dropdown-header-close {\n position: absolute;\n right: 0.75rem;\n top: 50%;\n color: #343a40;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.ts-control .dropdown-header-close:hover {\n color: black;\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-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 1px 5px;\n border-left: 1px solid #dee2e6;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 5px;\n}\n.ts-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-control.plugin-remove_button .item.active .remove {\n border-left-color: rgba(0, 0, 0, 0);\n}\n.ts-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.ts-control.plugin-remove_button .disabled .item .remove {\n border-left-color: white;\n}\n.ts-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-control {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-input, .ts-input input {\n color: #343a40;\n font-family: inherit;\n font-size: inherit;\n line-height: 1.5;\n font-smoothing: inherit;\n}\n\n.ts-input,\n.ts-control.single .ts-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.ts-input {\n border: 1px solid #ced4da;\n padding: 0.375rem 0.75rem;\n display: inline-block;\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: 0.25rem;\n}\n.ts-control.multi .ts-input.has-items {\n padding: calc( 0.375rem - 1px - 0px) 0.75rem calc( 0.375rem - 1px - 3px - 0px);\n}\n.ts-input.full {\n background-color: #fff;\n}\n.ts-input.disabled, .ts-input.disabled * {\n cursor: default !important;\n}\n.ts-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.ts-input.dropdown-active {\n border-radius: 0.25rem 0.25rem 0 0;\n}\n.ts-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.ts-control.multi .ts-input > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 1px 5px;\n background: #efefef;\n color: #343a40;\n border: 0px solid #dee2e6;\n}\n.ts-control.multi .ts-input > div.active {\n background: #007bff;\n color: #fff;\n border: 0px solid rgba(0, 0, 0, 0);\n}\n.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active {\n color: #878787;\n background: white;\n border: 0px solid white;\n}\n.ts-input > input {\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-input > input::-ms-clear {\n display: none;\n}\n.ts-input > input:focus {\n outline: none !important;\n}\n.ts-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.ts-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.ts-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: white;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\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: -1px 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 0.25rem 0.25rem;\n}\n.ts-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.ts-dropdown [data-selectable] .highlight {\n background: rgba(255, 237, 40, 0.4);\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: 3px 0.75rem;\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: #6c757d;\n background: #fff;\n cursor: default;\n}\n.ts-dropdown .active {\n background-color: #f8f9fa;\n color: #16181b;\n}\n.ts-dropdown .active.create {\n color: #16181b;\n}\n.ts-dropdown .create {\n color: rgba(52, 58, 64, 0.5);\n}\n\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.ts-dropdown .spinner {\n display: inline-block;\n width: 30px;\n height: 30px;\n margin: 3px 0.75rem;\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.ts-control.single .ts-input, .ts-control.single .ts-input input {\n cursor: pointer;\n}\n.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input {\n cursor: text;\n}\n.ts-control.single .ts-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: calc(0.75rem + 5px);\n margin-top: -3px;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 5px 0 5px;\n border-color: #343a40 transparent transparent transparent;\n}\n.ts-control.single .ts-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #343a40 transparent;\n}\n\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-input:after {\n left: calc(0.75rem + 5px);\n right: auto;\n}\n.ts-control.rtl .ts-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.ts-control .ts-input.disabled {\n opacity: 0.5;\n background-color: #fff;\n}\n\n.ts-dropdown, .ts-dropdown.form-control {\n height: auto;\n padding: 0;\n margin: 2px 0 0 0;\n z-index: 1000;\n background: #fff;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 0.25rem;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n}\n\n.ts-dropdown .optgroup-header {\n font-size: 0.875rem;\n line-height: 1.5;\n}\n.ts-dropdown .optgroup:first-child:before {\n display: none;\n}\n.ts-dropdown .optgroup:before {\n content: ' ';\n display: block;\n height: 0;\n margin: 0.5rem 0;\n overflow: hidden;\n border-top: 1px solid #e9ecef;\n margin-left: -0.75rem;\n margin-right: -0.75rem;\n}\n.ts-dropdown .create {\n padding-left: 0.75rem;\n}\n\n.ts-dropdown-content {\n padding: 5px 0;\n}\n\n.ts-input {\n min-height: calc(1.5em + 0.75rem + 2px);\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .ts-input {\n transition: none;\n }\n}\n.ts-input.dropdown-active {\n border-radius: 0.25rem;\n}\n.ts-input.dropdown-active::before {\n display: none;\n}\n.ts-input.focus {\n border-color: #80bdff;\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.is-invalid .ts-input {\n border-color: #dc3545;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.is-invalid .ts-input:focus {\n border-color: #bd2130;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eb8c95;\n}\n\n.ts-control.form-control-sm .ts-input.has-items {\n min-height: calc(1.5em + 0.5rem + 2px) !important;\n height: calc(1.5em + 0.5rem + 2px) !important;\n padding: 0.25rem 0.5rem !important;\n font-size: 0.875rem;\n line-height: 1.5;\n}\n.ts-control.multi .ts-input.has-items {\n padding-left: calc(0.75rem - 5px);\n padding-right: calc(0.75rem - 5px);\n}\n.ts-control.multi .ts-input > div {\n border-radius: calc(0.25rem - 1px);\n}\n\n.form-control.ts-control {\n padding: 0;\n height: auto;\n border: none;\n background: none;\n box-shadow: none;\n border-radius: 0;\n}\n\n.input-group .ts-input {\n overflow: unset;\n border-radius: 0 0.25rem 0.25rem 0;\n}\n\n/*# sourceMappingURL=tom-select.bootstrap4.css.map */\n",null,null,null,null,null,null,null]} \ No newline at end of file diff --git a/dist/css/tom-select.css b/dist/css/tom-select.css index 36c2758c..8bfd1796 100644 --- a/dist/css/tom-select.css +++ b/dist/css/tom-select.css @@ -1,5 +1,5 @@ /** - * tom-select.css (v1.0.0-b.1) + * tom-select.css (v1.0.0-b.3) * Copyright (c) contributors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this @@ -12,29 +12,29 @@ * governing permissions and limitations under the License. * */ -.tomselect-control.plugin-drag_drop.multi > .tomselect-input > div.ui-sortable-placeholder { +.ts-control.plugin-drag_drop.multi > .ts-input > div.ui-sortable-placeholder { visibility: visible !important; background: #f2f2f2 !important; background: rgba(0, 0, 0, 0.06) !important; border: 0 none !important; box-shadow: inset 0 0 12px 4px #fff; } -.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after { +.ts-control.plugin-drag_drop .ui-sortable-placeholder::after { content: '!'; visibility: hidden; } -.tomselect-control.plugin-drag_drop .ui-sortable-helper { +.ts-control.plugin-drag_drop .ui-sortable-helper { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } -.tomselect-control .dropdown-header { +.ts-control .dropdown-header { position: relative; padding: 10px 8px; border-bottom: 1px solid #d0d0d0; background: #f8f8f8; border-radius: 3px 3px 0 0; } -.tomselect-control .dropdown-header-close { +.ts-control .dropdown-header-close { position: absolute; right: 8px; top: 50%; @@ -44,41 +44,36 @@ line-height: 20px; font-size: 20px !important; } -.tomselect-control .dropdown-header-close:hover { +.ts-control .dropdown-header-close:hover { color: black; } -.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content { - display: -ms-flexbox; +.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content { display: flex; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup { +.ts-dropdown.plugin-optgroup_columns .optgroup { border-right: 1px solid #f2f2f2; border-top: 0 none; - -ms-flex-positive: 1; - flex-grow: 1; - -ms-flex-preferred-size: 0; - flex-basis: 0; + flex-grow: 1; + flex-basis: 0; min-width: 0; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child { +.ts-dropdown.plugin-optgroup_columns .optgroup:last-child { border-right: 0 none; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup:before { +.ts-dropdown.plugin-optgroup_columns .optgroup:before { display: none; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup-header { +.ts-dropdown.plugin-optgroup_columns .optgroup-header { border-top: 0 none; } -.tomselect-control.plugin-remove_button .item { - display: -ms-inline-flexbox; +.ts-control.plugin-remove_button .item { display: inline-flex; - -ms-flex-align: center; - align-items: center; + align-items: center; padding-right: 0 !important; } -.tomselect-control.plugin-remove_button .item .remove { +.ts-control.plugin-remove_button .item .remove { color: inherit; text-decoration: none; vertical-align: middle; @@ -89,31 +84,31 @@ box-sizing: border-box; margin-left: 6px; } -.tomselect-control.plugin-remove_button .item .remove:hover { +.ts-control.plugin-remove_button .item .remove:hover { background: rgba(0, 0, 0, 0.05); } -.tomselect-control.plugin-remove_button .item.active .remove { +.ts-control.plugin-remove_button .item.active .remove { border-left-color: #cacaca; } -.tomselect-control.plugin-remove_button .disabled .item .remove:hover { +.ts-control.plugin-remove_button .disabled .item .remove:hover { background: none; } -.tomselect-control.plugin-remove_button .disabled .item .remove { +.ts-control.plugin-remove_button .disabled .item .remove { border-left-color: white; } -.tomselect-control.plugin-remove_button .remove-single { +.ts-control.plugin-remove_button .remove-single { position: absolute; right: 0; top: 0; font-size: 23px; } -.tomselect-control { +.ts-control { position: relative; } -.tomselect-dropdown, -.tomselect-input, .tomselect-input input { +.ts-dropdown, +.ts-input, .ts-input input { color: #303030; font-family: inherit; font-size: 13px; @@ -121,14 +116,14 @@ font-smoothing: inherit; } -.tomselect-input, -.tomselect-control.single .tomselect-input.input-active { +.ts-input, +.ts-control.single .ts-input.input-active { background: #fff; cursor: text; display: inline-block; } -.tomselect-input { +.ts-input { border: 1px solid #d0d0d0; padding: 8px 8px; display: inline-block; @@ -140,27 +135,27 @@ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); border-radius: 3px; } -.tomselect-control.multi .tomselect-input.has-items { +.ts-control.multi .ts-input.has-items { padding: calc( 8px - 2px - 0) 8px calc( 8px - 2px - 3px - 0); } -.tomselect-input.full { +.ts-input.full { background-color: #fff; } -.tomselect-input.disabled, .tomselect-input.disabled * { +.ts-input.disabled, .ts-input.disabled * { cursor: default !important; } -.tomselect-input.focus { +.ts-input.focus { box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15); } -.tomselect-input.dropdown-active { +.ts-input.dropdown-active { border-radius: 3px 3px 0 0; } -.tomselect-input > * { +.ts-input > * { vertical-align: baseline; display: inline-block; zoom: 1; } -.tomselect-control.multi .tomselect-input > div { +.ts-control.multi .ts-input > div { cursor: pointer; margin: 0 3px 3px 0; padding: 2px 6px; @@ -168,17 +163,17 @@ color: #303030; border: 0 solid #d0d0d0; } -.tomselect-control.multi .tomselect-input > div.active { +.ts-control.multi .ts-input > div.active { background: #e8e8e8; color: #303030; border: 0 solid #cacaca; } -.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active { +.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active { color: #7d7d7d; background: white; border: 0 solid white; } -.tomselect-input > input { +.ts-input > input { display: inline-block !important; padding: 0 !important; min-height: 0 !important; @@ -195,23 +190,23 @@ user-select: auto !important; box-shadow: none !important; } -.tomselect-input > input::-ms-clear { +.ts-input > input::-ms-clear { display: none; } -.tomselect-input > input:focus { +.ts-input > input:focus { outline: none !important; } -.tomselect-input.has-items > input { +.ts-input.has-items > input { margin: 0 4px !important; } -.tomselect-input::after { +.ts-input::after { content: ' '; display: block; clear: left; } -.tomselect-input.dropdown-active::before { +.ts-input.dropdown-active::before { content: ' '; display: block; position: absolute; @@ -222,8 +217,11 @@ right: 0; } -.tomselect-dropdown { +.ts-dropdown { position: absolute; + top: 100%; + left: 0; + width: 100%; z-index: 10; border: 1px solid #d0d0d0; background: #fff; @@ -233,60 +231,95 @@ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); border-radius: 0 0 3px 3px; } -.tomselect-dropdown [data-selectable] { +.ts-dropdown [data-selectable] { cursor: pointer; overflow: hidden; } -.tomselect-dropdown [data-selectable] .highlight { +.ts-dropdown [data-selectable] .highlight { background: rgba(125, 168, 208, 0.2); border-radius: 1px; } -.tomselect-dropdown .option, -.tomselect-dropdown .optgroup-header, -.tomselect-dropdown .no-results, -.tomselect-dropdown .create { +.ts-dropdown .option, +.ts-dropdown .optgroup-header, +.ts-dropdown .no-results, +.ts-dropdown .create { padding: 5px 8px; } -.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option { +.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option { cursor: inherit; opacity: 0.5; } -.tomselect-dropdown [data-selectable].option { +.ts-dropdown [data-selectable].option { opacity: 1; + cursor: pointer; } -.tomselect-dropdown .optgroup:first-child .optgroup-header { +.ts-dropdown .optgroup:first-child .optgroup-header { border-top: 0 none; } -.tomselect-dropdown .optgroup-header { +.ts-dropdown .optgroup-header { color: #303030; background: #fff; cursor: default; } -.tomselect-dropdown .active { +.ts-dropdown .active { background-color: #f5fafd; color: #495c68; } -.tomselect-dropdown .active.create { +.ts-dropdown .active.create { color: #495c68; } -.tomselect-dropdown .create { +.ts-dropdown .create { color: rgba(48, 48, 48, 0.5); } -.tomselect-dropdown-content { +.ts-dropdown-content { overflow-y: auto; overflow-x: hidden; max-height: 200px; overflow-scrolling: touch; } -.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input { +.ts-dropdown .spinner { + display: inline-block; + width: 30px; + height: 30px; + margin: 5px 8px; +} +.ts-dropdown .spinner:after { + content: " "; + display: block; + width: 24px; + height: 24px; + margin: 3px; + border-radius: 50%; + border: 5px solid #d0d0d0; + border-color: #d0d0d0 transparent #d0d0d0 transparent; + -webkit-animation: lds-dual-ring 1.2s linear infinite; + animation: lds-dual-ring 1.2s linear infinite; +} +@-webkit-keyframes lds-dual-ring { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +@keyframes lds-dual-ring { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +.ts-control.single .ts-input, .ts-control.single .ts-input input { cursor: pointer; } -.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input { +.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input { cursor: text; } -.tomselect-control.single .tomselect-input:after { +.ts-control.single .ts-input:after { content: ' '; display: block; position: absolute; @@ -299,24 +332,24 @@ border-width: 5px 5px 0 5px; border-color: #808080 transparent transparent transparent; } -.tomselect-control.single .tomselect-input.dropdown-active:after { +.ts-control.single .ts-input.dropdown-active:after { margin-top: -4px; border-width: 0 5px 5px 5px; border-color: transparent transparent #808080 transparent; } -.tomselect-control.rtl { +.ts-control.rtl { text-align: right; } -.tomselect-control.rtl.single .tomselect-input:after { +.ts-control.rtl.single .ts-input:after { left: 15px; right: auto; } -.tomselect-control.rtl .tomselect-input > input { +.ts-control.rtl .ts-input > input { margin: 0 4px 0 -2px !important; } -.tomselect-control .tomselect-input.disabled { +.ts-control .ts-input.disabled { opacity: 0.5; background-color: #fafafa; } diff --git a/dist/css/tom-select.css.map b/dist/css/tom-select.css.map index 98618f70..cc9ba00f 100644 --- a/dist/css/tom-select.css.map +++ b/dist/css/tom-select.css.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/scss/tom-select.scss","../../src/plugins/drag_drop/plugin.scss","tom-select.css","../../src/plugins/dropdown_header/plugin.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG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B;AFVC;EACC,qCApMgD;EAqMhD,mBAAkB;CEYpB;AFTA;;;;EAIC,iBAAwE;CEWzE;AFTA;EACC,gBAAe;EACf,aAAY;CEWb;AFTA;EACC,WAAU;CEWX;AFTA;EACC,mBAAkB;CEWnB;AFTA;EACC,eAvMiD;EAwMjD,iBAzMkD;EA0MlD,gBAAe;CEWhB;AFTA;EACC,0BAjN4C;EAkN5C,eA/MqF;CE0NtF;AFVC;EACC,eAjNoF;CE6NtF;AFTA;EACC,6BAtN+H;CEiOhI;;AFPD;EACC,iBAAgB;EAChB,mBAAkB;EAClB,kBA7MqC;EA8MrC,0BAAyB;CEUzB;;AFNA;EAAW,gBAAe;CEU1B;AFTA;EAAuC,aAAY;CEYnD;AFVA;EACC,aAAY;EACZ,eAAc;EACd,mBAAkB;EAClB,SAAQ;EACR,YA7M8B;EA8M9B,iBAAgD;EAChD,SAAQ;EACR,UAAS;EACT,oBAAmB;EACnB,4BAAwE;EACxE,0DAAqE;CEYtE;AFVA;EACC,iBAAqC;EACrC,4BAAwE;EACxE,0DAAqE;CEYtE;;AFRD;EACC,kBAAiB;CEWjB;AFVA;EACC,WA/N8B;EAgO9B,YAAW;CEYZ;AFVA;EACC,gCAA2C;CEY5C;;AFRD;EACC,aA9PiC;EA+PjC,0BAlRoC;CE6RpC","file":"tom-select.css","sourcesContent":[null,null,"/**\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.tomselect-control.plugin-drag_drop.multi > .tomselect-input > 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.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.tomselect-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.tomselect-control .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.tomselect-control .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.tomselect-control .dropdown-header-close:hover {\n color: black;\n}\n\n.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content {\n display: flex;\n}\n.tomselect-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.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.tomselect-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.tomselect-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 2px 6px;\n border-left: 1px solid #d0d0d0;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 6px;\n}\n.tomselect-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.tomselect-control.plugin-remove_button .item.active .remove {\n border-left-color: #cacaca;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove {\n border-left-color: white;\n}\n.tomselect-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.tomselect-control {\n position: relative;\n}\n\n.tomselect-dropdown,\n.tomselect-input, .tomselect-input input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.tomselect-input,\n.tomselect-control.single .tomselect-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.tomselect-input {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n display: inline-block;\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}\n.tomselect-control.multi .tomselect-input.has-items {\n padding: calc( 8px - 2px - 0) 8px calc( 8px - 2px - 3px - 0);\n}\n.tomselect-input.full {\n background-color: #fff;\n}\n.tomselect-input.disabled, .tomselect-input.disabled * {\n cursor: default !important;\n}\n.tomselect-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.tomselect-input.dropdown-active {\n border-radius: 3px 3px 0 0;\n}\n.tomselect-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.tomselect-control.multi .tomselect-input > 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.tomselect-control.multi .tomselect-input > div.active {\n background: #e8e8e8;\n color: #303030;\n border: 0 solid #cacaca;\n}\n.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active {\n color: #7d7d7d;\n background: white;\n border: 0 solid white;\n}\n.tomselect-input > input {\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.tomselect-input > input::-ms-clear {\n display: none;\n}\n.tomselect-input > input:focus {\n outline: none !important;\n}\n.tomselect-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.tomselect-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.tomselect-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: #f0f0f0;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.tomselect-dropdown {\n position: absolute;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: -1px 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.tomselect-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.tomselect-dropdown [data-selectable] .highlight {\n background: rgba(125, 168, 208, 0.2);\n border-radius: 1px;\n}\n.tomselect-dropdown .option,\n.tomselect-dropdown .optgroup-header,\n.tomselect-dropdown .no-results,\n.tomselect-dropdown .create {\n padding: 5px 8px;\n}\n.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.tomselect-dropdown [data-selectable].option {\n opacity: 1;\n}\n.tomselect-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.tomselect-dropdown .optgroup-header {\n color: #303030;\n background: #fff;\n cursor: default;\n}\n.tomselect-dropdown .active {\n background-color: #f5fafd;\n color: #495c68;\n}\n.tomselect-dropdown .active.create {\n color: #495c68;\n}\n.tomselect-dropdown .create {\n color: rgba(48, 48, 48, 0.5);\n}\n\n.tomselect-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input {\n cursor: pointer;\n}\n.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input {\n cursor: text;\n}\n.tomselect-control.single .tomselect-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 15px;\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.tomselect-control.single .tomselect-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #808080 transparent;\n}\n\n.tomselect-control.rtl {\n text-align: right;\n}\n.tomselect-control.rtl.single .tomselect-input:after {\n left: 15px;\n right: auto;\n}\n.tomselect-control.rtl .tomselect-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.tomselect-control .tomselect-input.disabled {\n opacity: 0.5;\n background-color: #fafafa;\n}\n\n/*# sourceMappingURL=tom-select.css.map */\n",null,null,null]} \ No newline at end of file +{"version":3,"sources":["../../src/scss/tom-select.scss","../../src/plugins/drag_drop/plugin.scss","tom-select.css","../../src/plugins/dropdown_header/plugin.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;ACZF;EACC,+BAA8B;EAC9B,+BAA8B;EAC9B,2CAAuC;EACvC,0BAAyB;EACzB,oCAAmC;CCcpC;ADZA;EACC,aAAY;EACZ,mBAAkB;CCcnB;ADZA;EACC,yCAAqC;CCctC;;ACzBA;EACC,mBAAkB;EAClB,kBAA8E;EAC9E,iCAA6C;EAC7C,oBAAkE;EAClE,2BAA8D;CD4B/D;AC1BA;EACC,mBAAkB;EAClB,WHmDoD;EGlDpD,SAAQ;EACR,eH8BiD;EG7BjD,aAAY;EACZ,kBAAiB;EACjB,kBAAiB;EACjB,2BAA0B;CD4B3B;AC1BA;EACC,aAAsC;CD4BvC;;AE9CA;EACC,cAAa;CFiDd;AE9CA;EACC,gCAA+B;EAC/B,mBAAkB;EACf,aAAY;EACZ,cAAa;EAChB,aAAY;C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;EACjC,YAAiC;EACjC,mBAAkB;EAClB,0BAAsE;EACtE,sDAA+F;EAC/F,sDAA6C;UAA7C,8CAA6C;CEI9C;AFFA;EACC;IACC,wBAAuB;GEIvB;EFFD;IACC,0BAAyB;GEIzB;CACF;AFVA;EACC;IACC,wBAAuB;GEIvB;EFFD;IACC,0BAAyB;GEIzB;CACF;AFGA;EAAW,gBAAe;CEA1B;AFCA;EAAuC,aAAY;CEEnD;AFAA;EACC,aAAY;EACZ,eAAc;EACd,mBAAkB;EAClB,SAAQ;EACR,YApP8B;EAqP9B,iBAAgD;EAChD,SAAQ;EACR,UAAS;EACT,oBAAmB;EACnB,4BAAwE;EACxE,0DAAqE;CEEtE;AFAA;EACC,iBAAqC;EACrC,4BAAwE;EACxE,0DAAqE;CEEtE;;AFED;EACC,kBAAiB;CECjB;AFAA;EACC,WAtQ8B;EAuQ9B,YAAW;CEEZ;AFAA;EACC,gCAA2C;CEE5C;;AFED;EACC,aArSiC;EAsSjC,0BAzToC;CE0TpC","file":"tom-select.css","sourcesContent":[null,null,"/**\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.plugin-drag_drop.multi > .ts-input > 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-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.ts-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.ts-control .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-control .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-control .dropdown-header-close:hover {\n color: black;\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-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 2px 6px;\n border-left: 1px solid #d0d0d0;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 6px;\n}\n.ts-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-control.plugin-remove_button .item.active .remove {\n border-left-color: #cacaca;\n}\n.ts-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.ts-control.plugin-remove_button .disabled .item .remove {\n border-left-color: white;\n}\n.ts-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-control {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-input, .ts-input input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.ts-input,\n.ts-control.single .ts-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.ts-input {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n display: inline-block;\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}\n.ts-control.multi .ts-input.has-items {\n padding: calc( 8px - 2px - 0) 8px calc( 8px - 2px - 3px - 0);\n}\n.ts-input.full {\n background-color: #fff;\n}\n.ts-input.disabled, .ts-input.disabled * {\n cursor: default !important;\n}\n.ts-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.ts-input.dropdown-active {\n border-radius: 3px 3px 0 0;\n}\n.ts-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.ts-control.multi .ts-input > 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-control.multi .ts-input > div.active {\n background: #e8e8e8;\n color: #303030;\n border: 0 solid #cacaca;\n}\n.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active {\n color: #7d7d7d;\n background: white;\n border: 0 solid white;\n}\n.ts-input > input {\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-input > input::-ms-clear {\n display: none;\n}\n.ts-input > input:focus {\n outline: none !important;\n}\n.ts-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.ts-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.ts-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: #f0f0f0;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\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: -1px 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\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\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.ts-control.single .ts-input, .ts-control.single .ts-input input {\n cursor: pointer;\n}\n.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input {\n cursor: text;\n}\n.ts-control.single .ts-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 15px;\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-control.single .ts-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #808080 transparent;\n}\n\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-input:after {\n left: 15px;\n right: auto;\n}\n.ts-control.rtl .ts-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.ts-control .ts-input.disabled {\n opacity: 0.5;\n background-color: #fafafa;\n}\n\n/*# sourceMappingURL=tom-select.css.map */\n",null,null,null]} \ No newline at end of file diff --git a/dist/css/tom-select.default.css b/dist/css/tom-select.default.css index d1af3931..f287d373 100644 --- a/dist/css/tom-select.default.css +++ b/dist/css/tom-select.default.css @@ -1,5 +1,5 @@ /** - * tom-select.css (v1.0.0-b.1) + * tom-select.css (v1.0.0-b.3) * Copyright (c) contributors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this @@ -12,29 +12,29 @@ * governing permissions and limitations under the License. * */ -.tomselect-control.plugin-drag_drop.multi > .tomselect-input > div.ui-sortable-placeholder { +.ts-control.plugin-drag_drop.multi > .ts-input > div.ui-sortable-placeholder { visibility: visible !important; background: #f2f2f2 !important; background: rgba(0, 0, 0, 0.06) !important; border: 0 none !important; box-shadow: inset 0 0 12px 4px #fff; } -.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after { +.ts-control.plugin-drag_drop .ui-sortable-placeholder::after { content: '!'; visibility: hidden; } -.tomselect-control.plugin-drag_drop .ui-sortable-helper { +.ts-control.plugin-drag_drop .ui-sortable-helper { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } -.tomselect-control .dropdown-header { +.ts-control .dropdown-header { position: relative; padding: 10px 8px; border-bottom: 1px solid #d0d0d0; background: #f8f8f8; border-radius: 3px 3px 0 0; } -.tomselect-control .dropdown-header-close { +.ts-control .dropdown-header-close { position: absolute; right: 8px; top: 50%; @@ -44,41 +44,36 @@ line-height: 20px; font-size: 20px !important; } -.tomselect-control .dropdown-header-close:hover { +.ts-control .dropdown-header-close:hover { color: black; } -.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content { - display: -ms-flexbox; +.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content { display: flex; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup { +.ts-dropdown.plugin-optgroup_columns .optgroup { border-right: 1px solid #f2f2f2; border-top: 0 none; - -ms-flex-positive: 1; - flex-grow: 1; - -ms-flex-preferred-size: 0; - flex-basis: 0; + flex-grow: 1; + flex-basis: 0; min-width: 0; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child { +.ts-dropdown.plugin-optgroup_columns .optgroup:last-child { border-right: 0 none; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup:before { +.ts-dropdown.plugin-optgroup_columns .optgroup:before { display: none; } -.tomselect-dropdown.plugin-optgroup_columns .optgroup-header { +.ts-dropdown.plugin-optgroup_columns .optgroup-header { border-top: 0 none; } -.tomselect-control.plugin-remove_button .item { - display: -ms-inline-flexbox; +.ts-control.plugin-remove_button .item { display: inline-flex; - -ms-flex-align: center; - align-items: center; + align-items: center; padding-right: 0 !important; } -.tomselect-control.plugin-remove_button .item .remove { +.ts-control.plugin-remove_button .item .remove { color: inherit; text-decoration: none; vertical-align: middle; @@ -89,31 +84,31 @@ box-sizing: border-box; margin-left: 6px; } -.tomselect-control.plugin-remove_button .item .remove:hover { +.ts-control.plugin-remove_button .item .remove:hover { background: rgba(0, 0, 0, 0.05); } -.tomselect-control.plugin-remove_button .item.active .remove { +.ts-control.plugin-remove_button .item.active .remove { border-left-color: #00578d; } -.tomselect-control.plugin-remove_button .disabled .item .remove:hover { +.ts-control.plugin-remove_button .disabled .item .remove:hover { background: none; } -.tomselect-control.plugin-remove_button .disabled .item .remove { +.ts-control.plugin-remove_button .disabled .item .remove { border-left-color: #aaaaaa; } -.tomselect-control.plugin-remove_button .remove-single { +.ts-control.plugin-remove_button .remove-single { position: absolute; right: 0; top: 0; font-size: 23px; } -.tomselect-control { +.ts-control { position: relative; } -.tomselect-dropdown, -.tomselect-input, .tomselect-input input { +.ts-dropdown, +.ts-input, .ts-input input { color: #303030; font-family: inherit; font-size: 13px; @@ -121,14 +116,14 @@ font-smoothing: inherit; } -.tomselect-input, -.tomselect-control.single .tomselect-input.input-active { +.ts-input, +.ts-control.single .ts-input.input-active { background: #fff; cursor: text; display: inline-block; } -.tomselect-input { +.ts-input { border: 1px solid #d0d0d0; padding: 8px 8px; display: inline-block; @@ -140,27 +135,27 @@ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); border-radius: 3px; } -.tomselect-control.multi .tomselect-input.has-items { +.ts-control.multi .ts-input.has-items { padding: calc( 8px - 2px - 1px) 8px calc( 8px - 2px - 3px - 1px); } -.tomselect-input.full { +.ts-input.full { background-color: #fff; } -.tomselect-input.disabled, .tomselect-input.disabled * { +.ts-input.disabled, .ts-input.disabled * { cursor: default !important; } -.tomselect-input.focus { +.ts-input.focus { box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15); } -.tomselect-input.dropdown-active { +.ts-input.dropdown-active { border-radius: 3px 3px 0 0; } -.tomselect-input > * { +.ts-input > * { vertical-align: baseline; display: inline-block; zoom: 1; } -.tomselect-control.multi .tomselect-input > div { +.ts-control.multi .ts-input > div { cursor: pointer; margin: 0 3px 3px 0; padding: 2px 6px; @@ -168,17 +163,17 @@ color: #fff; border: 1px solid #0073bb; } -.tomselect-control.multi .tomselect-input > div.active { +.ts-control.multi .ts-input > div.active { background: #92c836; color: #fff; border: 1px solid #00578d; } -.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active { +.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active { color: white; background: #d2d2d2; border: 1px solid #aaaaaa; } -.tomselect-input > input { +.ts-input > input { display: inline-block !important; padding: 0 !important; min-height: 0 !important; @@ -195,23 +190,23 @@ user-select: auto !important; box-shadow: none !important; } -.tomselect-input > input::-ms-clear { +.ts-input > input::-ms-clear { display: none; } -.tomselect-input > input:focus { +.ts-input > input:focus { outline: none !important; } -.tomselect-input.has-items > input { +.ts-input.has-items > input { margin: 0 4px !important; } -.tomselect-input::after { +.ts-input::after { content: ' '; display: block; clear: left; } -.tomselect-input.dropdown-active::before { +.ts-input.dropdown-active::before { content: ' '; display: block; position: absolute; @@ -222,8 +217,11 @@ right: 0; } -.tomselect-dropdown { +.ts-dropdown { position: absolute; + top: 100%; + left: 0; + width: 100%; z-index: 10; border: 1px solid #d0d0d0; background: #fff; @@ -233,60 +231,95 @@ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); border-radius: 0 0 3px 3px; } -.tomselect-dropdown [data-selectable] { +.ts-dropdown [data-selectable] { cursor: pointer; overflow: hidden; } -.tomselect-dropdown [data-selectable] .highlight { +.ts-dropdown [data-selectable] .highlight { background: rgba(125, 168, 208, 0.2); border-radius: 1px; } -.tomselect-dropdown .option, -.tomselect-dropdown .optgroup-header, -.tomselect-dropdown .no-results, -.tomselect-dropdown .create { +.ts-dropdown .option, +.ts-dropdown .optgroup-header, +.ts-dropdown .no-results, +.ts-dropdown .create { padding: 5px 8px; } -.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option { +.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option { cursor: inherit; opacity: 0.5; } -.tomselect-dropdown [data-selectable].option { +.ts-dropdown [data-selectable].option { opacity: 1; + cursor: pointer; } -.tomselect-dropdown .optgroup:first-child .optgroup-header { +.ts-dropdown .optgroup:first-child .optgroup-header { border-top: 0 none; } -.tomselect-dropdown .optgroup-header { +.ts-dropdown .optgroup-header { color: #303030; background: #fff; cursor: default; } -.tomselect-dropdown .active { +.ts-dropdown .active { background-color: #f5fafd; color: #495c68; } -.tomselect-dropdown .active.create { +.ts-dropdown .active.create { color: #495c68; } -.tomselect-dropdown .create { +.ts-dropdown .create { color: rgba(48, 48, 48, 0.5); } -.tomselect-dropdown-content { +.ts-dropdown-content { overflow-y: auto; overflow-x: hidden; max-height: 200px; overflow-scrolling: touch; } -.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input { +.ts-dropdown .spinner { + display: inline-block; + width: 30px; + height: 30px; + margin: 5px 8px; +} +.ts-dropdown .spinner:after { + content: " "; + display: block; + width: 24px; + height: 24px; + margin: 3px; + border-radius: 50%; + border: 5px solid #d0d0d0; + border-color: #d0d0d0 transparent #d0d0d0 transparent; + -webkit-animation: lds-dual-ring 1.2s linear infinite; + animation: lds-dual-ring 1.2s linear infinite; +} +@-webkit-keyframes lds-dual-ring { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +@keyframes lds-dual-ring { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +.ts-control.single .ts-input, .ts-control.single .ts-input input { cursor: pointer; } -.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input { +.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input { cursor: text; } -.tomselect-control.single .tomselect-input:after { +.ts-control.single .ts-input:after { content: ' '; display: block; position: absolute; @@ -299,45 +332,45 @@ border-width: 5px 5px 0 5px; border-color: #808080 transparent transparent transparent; } -.tomselect-control.single .tomselect-input.dropdown-active:after { +.ts-control.single .ts-input.dropdown-active:after { margin-top: -4px; border-width: 0 5px 5px 5px; border-color: transparent transparent #808080 transparent; } -.tomselect-control.rtl { +.ts-control.rtl { text-align: right; } -.tomselect-control.rtl.single .tomselect-input:after { +.ts-control.rtl.single .ts-input:after { left: 15px; right: auto; } -.tomselect-control.rtl .tomselect-input > input { +.ts-control.rtl .ts-input > input { margin: 0 4px 0 -2px !important; } -.tomselect-control .tomselect-input.disabled { +.ts-control .ts-input.disabled { opacity: 0.5; background-color: #fafafa; } -.tomselect-control.multi .tomselect-input.has-items { +.ts-control.multi .ts-input.has-items { padding-left: 5px; padding-right: 5px; } -.tomselect-control.multi .tomselect-input.disabled [data-value] { +.ts-control.multi .ts-input.disabled [data-value] { color: #999; text-shadow: none; background: none; box-shadow: none; } -.tomselect-control.multi .tomselect-input.disabled [data-value], .tomselect-control.multi .tomselect-input.disabled [data-value] .remove { +.ts-control.multi .ts-input.disabled [data-value], .ts-control.multi .ts-input.disabled [data-value] .remove { border-color: #e6e6e6; } -.tomselect-control.multi .tomselect-input.disabled [data-value] .remove { +.ts-control.multi .ts-input.disabled [data-value] .remove { background: none; } -.tomselect-control.multi .tomselect-input [data-value] { +.ts-control.multi .ts-input [data-value] { text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3); border-radius: 3px; background-color: #1b9dec; @@ -345,31 +378,31 @@ background-repeat: repeat-x; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03); } -.tomselect-control.multi .tomselect-input [data-value].active { +.ts-control.multi .ts-input [data-value].active { background-color: #0085d4; background-image: linear-gradient(to bottom, #008fd8, #0075cf); background-repeat: repeat-x; } -.tomselect-control.single .tomselect-input { +.ts-control.single .ts-input { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8); background-color: #f9f9f9; background-image: linear-gradient(to bottom, #fefefe, #f2f2f2); background-repeat: repeat-x; } -.tomselect-control.single .tomselect-input, .tomselect-dropdown.single { +.ts-control.single .ts-input, .ts-dropdown.single { border-color: #b8b8b8; } -.tomselect-dropdown .optgroup-header { +.ts-dropdown .optgroup-header { padding-top: 7px; font-weight: bold; font-size: 0.85em; } -.tomselect-dropdown .optgroup { +.ts-dropdown .optgroup { border-top: 1px solid #f0f0f0; } -.tomselect-dropdown .optgroup:first-child { +.ts-dropdown .optgroup:first-child { border-top: 0 none; } diff --git a/dist/css/tom-select.default.css.map b/dist/css/tom-select.default.css.map index 8e392d7d..5094a4d5 100644 --- a/dist/css/tom-select.default.css.map +++ b/dist/css/tom-select.default.css.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/scss/tom-select.scss","../../src/plugins/drag_drop/plugin.scss","tom-select.default.css","../../src/plugins/dropdown_header/plugin.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../src/scss/tom-select.default.scss"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;ACZF;EACC,+BAA8B;EAC9B,+BAA8B;EAC9B,2CAAuC;EACvC,0BAAyB;EACzB,oCAAmC;CCcpC;ADZA;EACC,aAAY;EACZ,mBAAkB;CCcnB;ADZA;EACC,yCAAqC;CCctC;;ACzBA;EACC,mBAAkB;EAClB,kBAA8E;EAC9E,iCAA6C;EAC7C,oBAAkE;EAClE,2BAA8D;CD4B/D;AC1BA;EACC,mBAAkB;EAClB,WHmDoD;EGlDpD,SAAQ;EACR,eH8BiD;EG7BjD,aAAY;EACZ,kBAAiB;EACjB,kBAAiB;EACjB,2BAA0B;CD4B3B;AC1BA;EACC,aAAsC;CD4BvC;;AE9CA;EACC,qBAAa;EAAb,cAAa;CFiDd;AE9CA;EACC,gCAA+B;EAC/B,mBAAkB;EACf,qBAAY;MAAZ,aAAY;EACZ,2BAAa;MAAb,cAAa;EAChB,aAAY;CFgDb;AE9CA;EACC,qBAAoB;CFgDrB;AE9CA;EACC,cAAa;CFgDd;AE9CA;EACC,mBAAkB;CFgDnB;;AGlEA;EACC,4BAAqB;EAArB,qBAAqB;EACrB,uBAAmB;MAAnB,oBAAmB;EACnB,4BAA2B;CHqE5B;AGlEA;EACC,eAAiB;EACjB,sBAAqB;EACrB,uBAAuB;EACvB,sBAAuB;EACvB,iBAAwD;EACxD,+BAAiD;EACjD,2BAA2B;EAC3B,uBAAwB;EACxB,iBL2C+B;CEyBhC;AGjEA;EACC,gCAA4B;CHmE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B;EACjB,iBAAgB;EAChB,iBAAgB;CJySnB;AIvSG;EACC,sBAAqB;CJySzB;AIvSG;EACC,iBAAgB;CJySpB;AItSE;EACC,0CAAsC;EACtC,mBAAkB;ENsClB,0BAAqD;EACrD,+DAAuE;EACvE,4BAA2B;EMtC3B,8EAAsE;CJ0SzE;AIzSG;ENmCA,0BAAqD;EACrD,+DAAuE;EACvE,4BAA2B;CEyQ9B;AIvSC;EACC,gFAAyE;EN2BxE,0BAAqD;EACrD,+DAAuE;EACvE,4BAA2B;CE+Q9B;;AItSD;EACC,sBAAqB;CJySrB;;AIrSA;EACC,iBAAkD;EAClD,kBAAiB;EACjB,kBAAiB;CJwSlB;AItSA;EACC,8BAAuD;CJwSxD;AIvSC;EACC,mBAAkB;CJySpB","file":"tom-select.default.css","sourcesContent":[null,null,"/**\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.tomselect-control.plugin-drag_drop.multi > .tomselect-input > 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.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.tomselect-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.tomselect-control .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.tomselect-control .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.tomselect-control .dropdown-header-close:hover {\n color: black;\n}\n\n.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content {\n display: flex;\n}\n.tomselect-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.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.tomselect-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.tomselect-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 2px 6px;\n border-left: 1px solid #0073bb;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 6px;\n}\n.tomselect-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.tomselect-control.plugin-remove_button .item.active .remove {\n border-left-color: #00578d;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove {\n border-left-color: #aaaaaa;\n}\n.tomselect-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.tomselect-control {\n position: relative;\n}\n\n.tomselect-dropdown,\n.tomselect-input, .tomselect-input input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.tomselect-input,\n.tomselect-control.single .tomselect-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.tomselect-input {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n display: inline-block;\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}\n.tomselect-control.multi .tomselect-input.has-items {\n padding: calc( 8px - 2px - 1px) 8px calc( 8px - 2px - 3px - 1px);\n}\n.tomselect-input.full {\n background-color: #fff;\n}\n.tomselect-input.disabled, .tomselect-input.disabled * {\n cursor: default !important;\n}\n.tomselect-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.tomselect-input.dropdown-active {\n border-radius: 3px 3px 0 0;\n}\n.tomselect-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.tomselect-control.multi .tomselect-input > 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}\n.tomselect-control.multi .tomselect-input > div.active {\n background: #92c836;\n color: #fff;\n border: 1px solid #00578d;\n}\n.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active {\n color: white;\n background: #d2d2d2;\n border: 1px solid #aaaaaa;\n}\n.tomselect-input > input {\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.tomselect-input > input::-ms-clear {\n display: none;\n}\n.tomselect-input > input:focus {\n outline: none !important;\n}\n.tomselect-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.tomselect-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.tomselect-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: #f0f0f0;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.tomselect-dropdown {\n position: absolute;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: -1px 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.tomselect-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.tomselect-dropdown [data-selectable] .highlight {\n background: rgba(125, 168, 208, 0.2);\n border-radius: 1px;\n}\n.tomselect-dropdown .option,\n.tomselect-dropdown .optgroup-header,\n.tomselect-dropdown .no-results,\n.tomselect-dropdown .create {\n padding: 5px 8px;\n}\n.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.tomselect-dropdown [data-selectable].option {\n opacity: 1;\n}\n.tomselect-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.tomselect-dropdown .optgroup-header {\n color: #303030;\n background: #fff;\n cursor: default;\n}\n.tomselect-dropdown .active {\n background-color: #f5fafd;\n color: #495c68;\n}\n.tomselect-dropdown .active.create {\n color: #495c68;\n}\n.tomselect-dropdown .create {\n color: rgba(48, 48, 48, 0.5);\n}\n\n.tomselect-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input {\n cursor: pointer;\n}\n.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input {\n cursor: text;\n}\n.tomselect-control.single .tomselect-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 15px;\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.tomselect-control.single .tomselect-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #808080 transparent;\n}\n\n.tomselect-control.rtl {\n text-align: right;\n}\n.tomselect-control.rtl.single .tomselect-input:after {\n left: 15px;\n right: auto;\n}\n.tomselect-control.rtl .tomselect-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.tomselect-control .tomselect-input.disabled {\n opacity: 0.5;\n background-color: #fafafa;\n}\n\n.tomselect-control.multi .tomselect-input.has-items {\n padding-left: 5px;\n padding-right: 5px;\n}\n.tomselect-control.multi .tomselect-input.disabled [data-value] {\n color: #999;\n text-shadow: none;\n background: none;\n box-shadow: none;\n}\n.tomselect-control.multi .tomselect-input.disabled [data-value], .tomselect-control.multi .tomselect-input.disabled [data-value] .remove {\n border-color: #e6e6e6;\n}\n.tomselect-control.multi .tomselect-input.disabled [data-value] .remove {\n background: none;\n}\n.tomselect-control.multi .tomselect-input [data-value] {\n text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);\n border-radius: 3px;\n background-color: #1b9dec;\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.tomselect-control.multi .tomselect-input [data-value].active {\n background-color: #0085d4;\n background-image: linear-gradient(to bottom, #008fd8, #0075cf);\n background-repeat: repeat-x;\n}\n.tomselect-control.single .tomselect-input {\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: #f9f9f9;\n background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);\n background-repeat: repeat-x;\n}\n\n.tomselect-control.single .tomselect-input, .tomselect-dropdown.single {\n border-color: #b8b8b8;\n}\n\n.tomselect-dropdown .optgroup-header {\n padding-top: 7px;\n font-weight: bold;\n font-size: 0.85em;\n}\n.tomselect-dropdown .optgroup {\n border-top: 1px solid #f0f0f0;\n}\n.tomselect-dropdown .optgroup:first-child {\n border-top: 0 none;\n}\n\n/*# sourceMappingURL=tom-select.default.css.map */\n",null,null,null,null]} \ No newline at end of file +{"version":3,"sources":["../../src/scss/tom-select.scss","../../src/plugins/drag_drop/plugin.scss","tom-select.default.css","../../src/plugins/dropdown_header/plugin.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../src/scss/tom-select.default.scss"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;ACZF;EACC,+BAA8B;EAC9B,+BAA8B;EAC9B,2CAAuC;EACvC,0BAAyB;EACzB,oCAAmC;CCcpC;ADZA;EACC,aAAY;EACZ,mBAAkB;CCcnB;ADZA;EACC,yCAAqC;CCctC;;ACzBA;EACC,mBAAkB;EAClB,kBAA8E;EAC9E,iCAA6C;EAC7C,oBAAkE;EAClE,2BAA8D;CD4B/D;AC1BA;EACC,mBAAkB;EAClB,WHmDoD;EGlDpD,SAAQ;EACR,eH8BiD;EG7BjD,aAAY;EACZ,kBAAiB;EACjB,kBAAiB;EACjB,2BAA0B;CD4B3B;AC1BA;EACC,aAAsC;CD4BvC;;AE9CA;EACC,cAAa;CFiDd;AE9CA;EACC,gCAA+B;EAC/B,mBAAkB;EACf,aAAY;EACZ,cAAa;EAChB,aAAY;CFgDb;AE9CA;EACC,qBAAoB;CFgDrB;AE9CA;EACC,cAAa;CFgDd;AE9CA;EACC,mBAAkB;CFgDnB;;AGlEA;EACC,qBAAqB;EACrB,oBAAmB;EACnB,4BAA2B;CHqE5B;AGlEA;EACC,eAAiB;EACjB,sBAAqB;EACrB,uBAAuB;EACvB,sBAAuB;EACvB,iBAAwD;EACxD,+BAAiD;EACjD,2BAA2B;EAC3B,uBAAwB;EACxB,iBL2C+B;CEyBhC;AGjEA;EACC,gCAA4B;CHmE7B;AGhEA;EACC,2BClBuC;CJoFxC;AG/DA;EACC,iBAAgB;CHiEjB;AG9DA;EACC,2BAA6G;CHgE9G;AG7DA;EACC,mBAAkB;EAClB,SAAQ;EACR,OAAM;EACN,gBAAe;CH+DhB;;AFZD;EACC,mBAAkB;CEelB;;AFZD;;EAEC,eAtDkD;EAuD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WAtQ8B;EAuQ9B,YAAW;CEEZ;AFAA;EACC,gCAA2C;CEE5C;;AFED;EACC,aArSiC;EAsSjC,0BAzToC;CE0TpC;;AIpUE;EAEC,kBADmC;EAEnC,mBAFmC;CJwUtC;AIpUE;EACC,YAAW;EACX,kBAAiB;EACjB,iBAAgB;EAChB,iBAAgB;CJsUnB;AIpUG;EACC,sBAAqB;CJsUzB;AIpUG;EACC,iBAAgB;CJsUpB;AInUE;EACC,0CAAsC;EACtC,mBAAkB;ENyClB,0BAAqD;EACrD,+DAAuE;EACvE,4BAA2B;EMzC3B,8EAAsE;CJuUzE;AItUG;ENsCA,0BAAqD;EACrD,+DAAuE;EACvE,4BAA2B;CEmS9B;AIpUC;EACC,gFAAyE;EN8BxE,0BAAqD;EACrD,+DAAuE;EACvE,4BAA2B;CEyS9B;;AInUD;EACC,sBAAqB;CJsUrB;;AIlUA;EACC,iBAAkD;EAClD,kBAAiB;EACjB,kBAAiB;CJqUlB;AInUA;EACC,8BAAuD;CJqUxD;AIpUC;EACC,mBAAkB;CJsUpB","file":"tom-select.default.css","sourcesContent":[null,null,"/**\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.plugin-drag_drop.multi > .ts-input > 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-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.ts-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.ts-control .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-control .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-control .dropdown-header-close:hover {\n color: black;\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-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 2px 6px;\n border-left: 1px solid #0073bb;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 6px;\n}\n.ts-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-control.plugin-remove_button .item.active .remove {\n border-left-color: #00578d;\n}\n.ts-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.ts-control.plugin-remove_button .disabled .item .remove {\n border-left-color: #aaaaaa;\n}\n.ts-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-control {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-input, .ts-input input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.ts-input,\n.ts-control.single .ts-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.ts-input {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n display: inline-block;\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}\n.ts-control.multi .ts-input.has-items {\n padding: calc( 8px - 2px - 1px) 8px calc( 8px - 2px - 3px - 1px);\n}\n.ts-input.full {\n background-color: #fff;\n}\n.ts-input.disabled, .ts-input.disabled * {\n cursor: default !important;\n}\n.ts-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.ts-input.dropdown-active {\n border-radius: 3px 3px 0 0;\n}\n.ts-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.ts-control.multi .ts-input > 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}\n.ts-control.multi .ts-input > div.active {\n background: #92c836;\n color: #fff;\n border: 1px solid #00578d;\n}\n.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active {\n color: white;\n background: #d2d2d2;\n border: 1px solid #aaaaaa;\n}\n.ts-input > input {\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-input > input::-ms-clear {\n display: none;\n}\n.ts-input > input:focus {\n outline: none !important;\n}\n.ts-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.ts-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.ts-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: #f0f0f0;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\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: -1px 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\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\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.ts-control.single .ts-input, .ts-control.single .ts-input input {\n cursor: pointer;\n}\n.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input {\n cursor: text;\n}\n.ts-control.single .ts-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 15px;\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-control.single .ts-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #808080 transparent;\n}\n\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-input:after {\n left: 15px;\n right: auto;\n}\n.ts-control.rtl .ts-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.ts-control .ts-input.disabled {\n opacity: 0.5;\n background-color: #fafafa;\n}\n\n.ts-control.multi .ts-input.has-items {\n padding-left: 5px;\n padding-right: 5px;\n}\n.ts-control.multi .ts-input.disabled [data-value] {\n color: #999;\n text-shadow: none;\n background: none;\n box-shadow: none;\n}\n.ts-control.multi .ts-input.disabled [data-value], .ts-control.multi .ts-input.disabled [data-value] .remove {\n border-color: #e6e6e6;\n}\n.ts-control.multi .ts-input.disabled [data-value] .remove {\n background: none;\n}\n.ts-control.multi .ts-input [data-value] {\n text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);\n border-radius: 3px;\n background-color: #1b9dec;\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-control.multi .ts-input [data-value].active {\n background-color: #0085d4;\n background-image: linear-gradient(to bottom, #008fd8, #0075cf);\n background-repeat: repeat-x;\n}\n.ts-control.single .ts-input {\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: #f9f9f9;\n background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);\n background-repeat: repeat-x;\n}\n\n.ts-control.single .ts-input, .ts-dropdown.single {\n border-color: #b8b8b8;\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\n/*# sourceMappingURL=tom-select.default.css.map */\n",null,null,null,null]} \ No newline at end of file diff --git a/dist/css/tom-select.default.min.css b/dist/css/tom-select.default.min.css index 1f7881b5..8f302212 100644 --- a/dist/css/tom-select.default.min.css +++ b/dist/css/tom-select.default.min.css @@ -1,2 +1,2 @@ -.tomselect-control.plugin-drag_drop.multi>.tomselect-input>div.ui-sortable-placeholder{visibility:visible!important;background:#f2f2f2!important;background:rgba(0,0,0,.06)!important;border:0!important;box-shadow:inset 0 0 12px 4px #fff}.tomselect-control.plugin-drag_drop .ui-sortable-placeholder:after{content:"!";visibility:hidden}.tomselect-control.plugin-drag_drop .ui-sortable-helper{box-shadow:0 2px 5px rgba(0,0,0,.2)}.tomselect-control .dropdown-header{position:relative;padding:10px 8px;border-bottom:1px solid #d0d0d0;background:#f8f8f8;border-radius:3px 3px 0 0}.tomselect-control .dropdown-header-close{position:absolute;right:8px;top:50%;color:#303030;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.tomselect-control .dropdown-header-close:hover{color:#000}.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content{display:-ms-flexbox;display:flex}.tomselect-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;min-width:0}.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0}.tomselect-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.tomselect-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0}.tomselect-control.plugin-remove_button .item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-right:0!important}.tomselect-control.plugin-remove_button .item .remove{color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:2px 6px;border-left:1px solid #0073bb;border-radius:0 2px 2px 0;box-sizing:border-box;margin-left:6px}.tomselect-control.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.tomselect-control.plugin-remove_button .item.active .remove{border-left-color:#00578d}.tomselect-control.plugin-remove_button .disabled .item .remove:hover{background:none}.tomselect-control.plugin-remove_button .disabled .item .remove{border-left-color:#aaa}.tomselect-control.plugin-remove_button .remove-single{position:absolute;right:0;top:0;font-size:23px}.tomselect-control{position:relative}.tomselect-dropdown,.tomselect-input,.tomselect-input input{color:#303030;font-family:inherit;font-size:13px;line-height:18px;font-smoothing:inherit}.tomselect-control.single .tomselect-input.input-active,.tomselect-input{background:#fff;cursor:text;display:inline-block}.tomselect-input{border:1px solid #d0d0d0;padding:8px;display:inline-block;width:100%;overflow:hidden;position:relative;z-index:1;box-sizing:border-box;box-shadow:inset 0 1px 1px rgba(0,0,0,.1);border-radius:3px}.tomselect-control.multi .tomselect-input.has-items{padding:5px 8px 2px}.tomselect-input.full{background-color:#fff}.tomselect-input.disabled,.tomselect-input.disabled *{cursor:default!important}.tomselect-input.focus{box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.tomselect-input.dropdown-active{border-radius:3px 3px 0 0}.tomselect-input>*{vertical-align:baseline;display:inline-block;zoom:1}.tomselect-control.multi .tomselect-input>div{cursor:pointer;margin:0 3px 3px 0;padding:2px 6px;background:#1da7ee;color:#fff;border:1px solid #0073bb}.tomselect-control.multi .tomselect-input>div.active{background:#92c836;color:#fff;border:1px solid #00578d}.tomselect-control.multi .tomselect-input.disabled>div,.tomselect-control.multi .tomselect-input.disabled>div.active{color:#fff;background:#d2d2d2;border:1px solid #aaa}.tomselect-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0!important;text-indent:0!important;border:0!important;background:none!important;line-height:inherit!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important;box-shadow:none!important}.tomselect-input>input::-ms-clear{display:none}.tomselect-input>input:focus{outline:none!important}.tomselect-input.has-items>input{margin:0 4px!important}.tomselect-input:after{content:" ";display:block;clear:left}.tomselect-input.dropdown-active:before{content:" ";display:block;position:absolute;background:#f0f0f0;height:1px;bottom:0;left:0;right:0}.tomselect-dropdown{position:absolute;z-index:10;background:#fff;margin:-1px 0 0;border:1px solid #d0d0d0;border-top:0;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.1);border-radius:0 0 3px 3px}.tomselect-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.tomselect-dropdown [data-selectable] .highlight{background:rgba(125,168,208,.2);border-radius:1px}.tomselect-dropdown .create,.tomselect-dropdown .no-results,.tomselect-dropdown .optgroup-header,.tomselect-dropdown .option{padding:5px 8px}.tomselect-dropdown .option,.tomselect-dropdown [data-disabled],.tomselect-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.tomselect-dropdown [data-selectable].option{opacity:1}.tomselect-dropdown .optgroup:first-child .optgroup-header{border-top:0}.tomselect-dropdown .optgroup-header{color:#303030;background:#fff;cursor:default}.tomselect-dropdown .active{background-color:#f5fafd;color:#495c68}.tomselect-dropdown .active.create{color:#495c68}.tomselect-dropdown .create{color:rgba(48,48,48,.5)}.tomselect-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;overflow-scrolling:touch}.tomselect-control.single .tomselect-input,.tomselect-control.single .tomselect-input input{cursor:pointer}.tomselect-control.single .tomselect-input.input-active,.tomselect-control.single .tomselect-input.input-active input{cursor:text}.tomselect-control.single .tomselect-input:after{content:" ";display:block;position:absolute;top:50%;right:15px;margin-top:-3px;width:0;height:0;border-color:grey transparent transparent;border-style:solid;border-width:5px 5px 0}.tomselect-control.single .tomselect-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px;border-color:transparent transparent grey}.tomselect-control.rtl{text-align:right}.tomselect-control.rtl.single .tomselect-input:after{left:15px;right:auto}.tomselect-control.rtl .tomselect-input>input{margin:0 4px 0 -2px!important}.tomselect-control .tomselect-input.disabled{opacity:.5;background-color:#fafafa}.tomselect-control.multi .tomselect-input.has-items{padding-left:5px;padding-right:5px}.tomselect-control.multi .tomselect-input.disabled [data-value]{color:#999;text-shadow:none;background:none;box-shadow:none}.tomselect-control.multi .tomselect-input.disabled [data-value],.tomselect-control.multi .tomselect-input.disabled [data-value] .remove{border-color:#e6e6e6}.tomselect-control.multi .tomselect-input.disabled [data-value] .remove{background:none}.tomselect-control.multi .tomselect-input [data-value]{text-shadow:0 1px 0 rgba(0,51,83,.3);border-radius:3px;background-color:#1b9dec;background-image:linear-gradient(180deg,#1da7ee,#178ee9);background-repeat:repeat-x;box-shadow:0 1px 0 rgba(0,0,0,.2),inset 0 1px hsla(0,0%,100%,.03)}.tomselect-control.multi .tomselect-input [data-value].active{background-color:#0085d4;background-image:linear-gradient(180deg,#008fd8,#0075cf);background-repeat:repeat-x}.tomselect-control.single .tomselect-input{box-shadow:0 1px 0 rgba(0,0,0,.05),inset 0 1px 0 hsla(0,0%,100%,.8);background-color:#f9f9f9;background-image:linear-gradient(180deg,#fefefe,#f2f2f2);background-repeat:repeat-x}.tomselect-control.single .tomselect-input,.tomselect-dropdown.single{border-color:#b8b8b8}.tomselect-dropdown .optgroup-header{padding-top:7px;font-weight:700;font-size:.85em}.tomselect-dropdown .optgroup{border-top:1px solid #f0f0f0}.tomselect-dropdown .optgroup:first-child{border-top:0} +.ts-control.plugin-drag_drop.multi>.ts-input>div.ui-sortable-placeholder{visibility:visible!important;background:#f2f2f2!important;background:rgba(0,0,0,.06)!important;border:0!important;box-shadow:inset 0 0 12px 4px #fff}.ts-control.plugin-drag_drop .ui-sortable-placeholder:after{content:"!";visibility:hidden}.ts-control.plugin-drag_drop .ui-sortable-helper{box-shadow:0 2px 5px rgba(0,0,0,.2)}.ts-control .dropdown-header{position:relative;padding:10px 8px;border-bottom:1px solid #d0d0d0;background:#f8f8f8;border-radius:3px 3px 0 0}.ts-control .dropdown-header-close{position:absolute;right:8px;top:50%;color:#303030;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.ts-control .dropdown-header-close:hover{color:#000}.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content{display:flex}.ts-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0;flex-grow:1;flex-basis:0;min-width:0}.ts-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0}.ts-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.ts-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0}.ts-control.plugin-remove_button .item{display:inline-flex;align-items:center;padding-right:0!important}.ts-control.plugin-remove_button .item .remove{color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:2px 6px;border-left:1px solid #0073bb;border-radius:0 2px 2px 0;box-sizing:border-box;margin-left:6px}.ts-control.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.ts-control.plugin-remove_button .item.active .remove{border-left-color:#00578d}.ts-control.plugin-remove_button .disabled .item .remove:hover{background:none}.ts-control.plugin-remove_button .disabled .item .remove{border-left-color:#aaa}.ts-control.plugin-remove_button .remove-single{position:absolute;right:0;top:0;font-size:23px}.ts-control{position:relative}.ts-dropdown,.ts-input,.ts-input input{color:#303030;font-family:inherit;font-size:13px;line-height:18px;font-smoothing:inherit}.ts-control.single .ts-input.input-active,.ts-input{background:#fff;cursor:text;display:inline-block}.ts-input{border:1px solid #d0d0d0;padding:8px;display:inline-block;width:100%;overflow:hidden;position:relative;z-index:1;box-sizing:border-box;box-shadow:inset 0 1px 1px rgba(0,0,0,.1);border-radius:3px}.ts-control.multi .ts-input.has-items{padding:5px 8px 2px}.ts-input.full{background-color:#fff}.ts-input.disabled,.ts-input.disabled *{cursor:default!important}.ts-input.focus{box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.ts-input.dropdown-active{border-radius:3px 3px 0 0}.ts-input>*{vertical-align:baseline;display:inline-block;zoom:1}.ts-control.multi .ts-input>div{cursor:pointer;margin:0 3px 3px 0;padding:2px 6px;background:#1da7ee;color:#fff;border:1px solid #0073bb}.ts-control.multi .ts-input>div.active{background:#92c836;color:#fff;border:1px solid #00578d}.ts-control.multi .ts-input.disabled>div,.ts-control.multi .ts-input.disabled>div.active{color:#fff;background:#d2d2d2;border:1px solid #aaa}.ts-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0!important;text-indent:0!important;border:0!important;background:none!important;line-height:inherit!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important;box-shadow:none!important}.ts-input>input::-ms-clear{display:none}.ts-input>input:focus{outline:none!important}.ts-input.has-items>input{margin:0 4px!important}.ts-input:after{content:" ";display:block;clear:left}.ts-input.dropdown-active:before{content:" ";display:block;position:absolute;background:#f0f0f0;height:1px;bottom:0;left:0;right:0}.ts-dropdown{position:absolute;top:100%;left:0;width:100%;z-index:10;background:#fff;margin:-1px 0 0;border:1px solid #d0d0d0;border-top:0;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.1);border-radius:0 0 3px 3px}.ts-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.ts-dropdown [data-selectable] .highlight{background:rgba(125,168,208,.2);border-radius:1px}.ts-dropdown .create,.ts-dropdown .no-results,.ts-dropdown .optgroup-header,.ts-dropdown .option{padding:5px 8px}.ts-dropdown .option,.ts-dropdown [data-disabled],.ts-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.ts-dropdown [data-selectable].option{opacity:1;cursor:pointer}.ts-dropdown .optgroup:first-child .optgroup-header{border-top:0}.ts-dropdown .optgroup-header{color:#303030;background:#fff;cursor:default}.ts-dropdown .active{background-color:#f5fafd;color:#495c68}.ts-dropdown .active.create{color:#495c68}.ts-dropdown .create{color:rgba(48,48,48,.5)}.ts-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;overflow-scrolling:touch}.ts-dropdown .spinner{display:inline-block;width:30px;height:30px;margin:5px 8px}.ts-dropdown .spinner:after{content:" ";display:block;width:24px;height:24px;margin:3px;border-radius:50%;border-color:#d0d0d0 transparent;border-style:solid;border-width:5px;-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite}@-webkit-keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ts-control.single .ts-input,.ts-control.single .ts-input input{cursor:pointer}.ts-control.single .ts-input.input-active,.ts-control.single .ts-input.input-active input{cursor:text}.ts-control.single .ts-input:after{content:" ";display:block;position:absolute;top:50%;right:15px;margin-top:-3px;width:0;height:0;border-color:grey transparent transparent;border-style:solid;border-width:5px 5px 0}.ts-control.single .ts-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px;border-color:transparent transparent grey}.ts-control.rtl{text-align:right}.ts-control.rtl.single .ts-input:after{left:15px;right:auto}.ts-control.rtl .ts-input>input{margin:0 4px 0 -2px!important}.ts-control .ts-input.disabled{opacity:.5;background-color:#fafafa}.ts-control.multi .ts-input.has-items{padding-left:5px;padding-right:5px}.ts-control.multi .ts-input.disabled [data-value]{color:#999;text-shadow:none;background:none;box-shadow:none}.ts-control.multi .ts-input.disabled [data-value],.ts-control.multi .ts-input.disabled [data-value] .remove{border-color:#e6e6e6}.ts-control.multi .ts-input.disabled [data-value] .remove{background:none}.ts-control.multi .ts-input [data-value]{text-shadow:0 1px 0 rgba(0,51,83,.3);border-radius:3px;background-color:#1b9dec;background-image:linear-gradient(180deg,#1da7ee,#178ee9);background-repeat:repeat-x;box-shadow:0 1px 0 rgba(0,0,0,.2),inset 0 1px hsla(0,0%,100%,.03)}.ts-control.multi .ts-input [data-value].active{background-color:#0085d4;background-image:linear-gradient(180deg,#008fd8,#0075cf);background-repeat:repeat-x}.ts-control.single .ts-input{box-shadow:0 1px 0 rgba(0,0,0,.05),inset 0 1px 0 hsla(0,0%,100%,.8);background-color:#f9f9f9;background-image:linear-gradient(180deg,#fefefe,#f2f2f2);background-repeat:repeat-x}.ts-control.single .ts-input,.ts-dropdown.single{border-color:#b8b8b8}.ts-dropdown .optgroup-header{padding-top:7px;font-weight:700;font-size:.85em}.ts-dropdown .optgroup{border-top:1px solid #f0f0f0}.ts-dropdown .optgroup:first-child{border-top:0} /*# sourceMappingURL=tom-select.default.min.css.map */ \ No newline at end of file diff --git a/dist/css/tom-select.default.min.css.map b/dist/css/tom-select.default.min.css.map index 394885df..7580c06a 100644 --- a/dist/css/tom-select.default.min.css.map +++ b/dist/css/tom-select.default.min.css.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/plugins/drag_drop/plugin.scss","tom-select.default.css","../../src/plugins/dropdown_header/plugin.scss","../../src/scss/tom-select.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../src/scss/tom-select.default.scss"],"names":[],"mappings":"AACC,uFACC,6BAA8B,AAC9B,6BAA8B,AAC9B,qCAAuC,AACvC,mBAAyB,AACzB,kCAAmC,CCcpC,ADZA,mEACC,YAAY,AACZ,iBAAkB,CCcnB,ADZA,wDACC,mCAAqC,CCctC,ACzBA,oCACC,kBAAkB,AAClB,iBAA8E,AAC9E,gCAA6C,AAC7C,mBAAkE,AAClE,yBAA8D,CD4B/D,AC1BA,0CACC,kBAAkB,AAClB,UCmDoD,ADlDpD,QAAQ,AACR,cC8BiD,AD7BjD,WAAY,AACZ,iBAAiB,AACjB,iBAAiB,AACjB,wBAA0B,CD4B3B,AC1BA,gDACC,UAAsC,CD4BvC,AG9CA,wEACC,oBAAa,AAAb,YAAa,CHiDd,AG9CA,sDACC,+BAA+B,AAC/B,aAAkB,AACf,oBAAY,AAAZ,YAAY,AACZ,0BAAa,AAAb,aAAa,AAChB,WAAY,CHgDb,AG9CA,iEACC,cAAoB,CHgDrB,AG9CA,6DACC,YAAa,CH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,sBAAqE,CFYtE,AEVA,iEACC,gBAAqC,AACrC,uBAAwE,AACxE,yCAAqE,CFYtE,AERD,uBACC,gBAAiB,CFWjB,AEVA,qDACC,UA/N8B,AAgO9B,UAAW,CFYZ,AEVA,8CACC,6BAA2C,CFY5C,AERD,6CACC,WA9PiC,AA+PjC,wBAlRoC,CF6RpC,AKvSE,oDAEC,iBADmC,AAEnC,iBAFmC,CL2StC,AKvSE,gEACC,WAAW,AACX,iBAAiB,AACjB,gBAAgB,AAChB,eAAgB,CLySnB,AKvSG,wIACC,oBAAqB,CLySzB,AKvSG,wEACC,eAAgB,CLySpB,AKtSE,uDACC,qCAAsC,AACtC,kBAAkB,AHsClB,yBAAqD,AACrD,yDAAuE,AACvE,2BAA2B,AGtC3B,iEAAsE,CL0SzE,AKzSG,8DHmCA,yBAAqD,AACrD,yDAAuE,AACvE,0BAA2B,CFyQ9B,AKvSC,2CACC,oEAAyE,AH2BxE,yBAAqD,AACrD,yDAAuE,AACvE,0BAA2B,CF+Q9B,AKtSD,sEACC,oBAAqB,CLySrB,AKrSA,qCACC,gBAAkD,AAClD,gBAAiB,AACjB,eAAiB,CLwSlB,AKtSA,8BACC,4BAAuD,CLwSxD,AKvSC,0CACC,YAAkB,CLySpB","file":"tom-select.default.min.css","sourcesContent":[null,"/**\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.tomselect-control.plugin-drag_drop.multi > .tomselect-input > 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.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.tomselect-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.tomselect-control .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.tomselect-control .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.tomselect-control .dropdown-header-close:hover {\n color: black;\n}\n\n.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content {\n display: flex;\n}\n.tomselect-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.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.tomselect-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.tomselect-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 2px 6px;\n border-left: 1px solid #0073bb;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 6px;\n}\n.tomselect-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.tomselect-control.plugin-remove_button .item.active .remove {\n border-left-color: #00578d;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove {\n border-left-color: #aaaaaa;\n}\n.tomselect-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.tomselect-control {\n position: relative;\n}\n\n.tomselect-dropdown,\n.tomselect-input, .tomselect-input input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.tomselect-input,\n.tomselect-control.single .tomselect-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.tomselect-input {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n display: inline-block;\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}\n.tomselect-control.multi .tomselect-input.has-items {\n padding: calc( 8px - 2px - 1px) 8px calc( 8px - 2px - 3px - 1px);\n}\n.tomselect-input.full {\n background-color: #fff;\n}\n.tomselect-input.disabled, .tomselect-input.disabled * {\n cursor: default !important;\n}\n.tomselect-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.tomselect-input.dropdown-active {\n border-radius: 3px 3px 0 0;\n}\n.tomselect-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.tomselect-control.multi .tomselect-input > 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}\n.tomselect-control.multi .tomselect-input > div.active {\n background: #92c836;\n color: #fff;\n border: 1px solid #00578d;\n}\n.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active {\n color: white;\n background: #d2d2d2;\n border: 1px solid #aaaaaa;\n}\n.tomselect-input > input {\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.tomselect-input > input::-ms-clear {\n display: none;\n}\n.tomselect-input > input:focus {\n outline: none !important;\n}\n.tomselect-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.tomselect-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.tomselect-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: #f0f0f0;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.tomselect-dropdown {\n position: absolute;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: -1px 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.tomselect-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.tomselect-dropdown [data-selectable] .highlight {\n background: rgba(125, 168, 208, 0.2);\n border-radius: 1px;\n}\n.tomselect-dropdown .option,\n.tomselect-dropdown .optgroup-header,\n.tomselect-dropdown .no-results,\n.tomselect-dropdown .create {\n padding: 5px 8px;\n}\n.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.tomselect-dropdown [data-selectable].option {\n opacity: 1;\n}\n.tomselect-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.tomselect-dropdown .optgroup-header {\n color: #303030;\n background: #fff;\n cursor: default;\n}\n.tomselect-dropdown .active {\n background-color: #f5fafd;\n color: #495c68;\n}\n.tomselect-dropdown .active.create {\n color: #495c68;\n}\n.tomselect-dropdown .create {\n color: rgba(48, 48, 48, 0.5);\n}\n\n.tomselect-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input {\n cursor: pointer;\n}\n.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input {\n cursor: text;\n}\n.tomselect-control.single .tomselect-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 15px;\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.tomselect-control.single .tomselect-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #808080 transparent;\n}\n\n.tomselect-control.rtl {\n text-align: right;\n}\n.tomselect-control.rtl.single .tomselect-input:after {\n left: 15px;\n right: auto;\n}\n.tomselect-control.rtl .tomselect-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.tomselect-control .tomselect-input.disabled {\n opacity: 0.5;\n background-color: #fafafa;\n}\n\n.tomselect-control.multi .tomselect-input.has-items {\n padding-left: 5px;\n padding-right: 5px;\n}\n.tomselect-control.multi .tomselect-input.disabled [data-value] {\n color: #999;\n text-shadow: none;\n background: none;\n box-shadow: none;\n}\n.tomselect-control.multi .tomselect-input.disabled [data-value], .tomselect-control.multi .tomselect-input.disabled [data-value] .remove {\n border-color: #e6e6e6;\n}\n.tomselect-control.multi .tomselect-input.disabled [data-value] .remove {\n background: none;\n}\n.tomselect-control.multi .tomselect-input [data-value] {\n text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);\n border-radius: 3px;\n background-color: #1b9dec;\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.tomselect-control.multi .tomselect-input [data-value].active {\n background-color: #0085d4;\n background-image: linear-gradient(to bottom, #008fd8, #0075cf);\n background-repeat: repeat-x;\n}\n.tomselect-control.single .tomselect-input {\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: #f9f9f9;\n background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);\n background-repeat: repeat-x;\n}\n\n.tomselect-control.single .tomselect-input, .tomselect-dropdown.single {\n border-color: #b8b8b8;\n}\n\n.tomselect-dropdown .optgroup-header {\n padding-top: 7px;\n font-weight: bold;\n font-size: 0.85em;\n}\n.tomselect-dropdown .optgroup {\n border-top: 1px solid #f0f0f0;\n}\n.tomselect-dropdown .optgroup:first-child {\n border-top: 0 none;\n}\n\n/*# sourceMappingURL=tom-select.default.css.map */\n",null,null,null,null,null]} \ No newline at end of file +{"version":3,"sources":["../../src/plugins/drag_drop/plugin.scss","tom-select.default.css","../../src/plugins/dropdown_header/plugin.scss","../../src/scss/tom-select.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss","../../src/scss/tom-select.default.scss"],"names":[],"mappings":"AACC,yEACC,6BAA8B,AAC9B,6BAA8B,AAC9B,qCAAuC,AACvC,mBAAyB,AACzB,kCAAmC,CCcpC,ADZA,4DACC,YAAY,AACZ,iBAAkB,CCcnB,ADZA,iDACC,mCAAqC,CCctC,ACzBA,6BACC,kBAAkB,AAClB,iBAA8E,AAC9E,gCAA6C,AAC7C,mBAAkE,AAClE,yBAA8D,CD4B/D,AC1BA,mCACC,kBAAkB,AAClB,UCmDoD,ADlDpD,QAAQ,AACR,cC8BiD,AD7BjD,WAAY,AACZ,iBAAiB,AACjB,iBAAiB,AACjB,wBAA0B,CD4B3B,AC1BA,yCACC,UAAsC,CD4BvC,AG9CA,0DACC,YAAa,CHiDd,AG9CA,+CACC,+BAA+B,AAC/B,aAAkB,AACf,YAAY,AACZ,aAAa,AAChB,WAAY,CHgDb,AG9CA,0DACC,cAAoB,CHgDrB,AG9CA,sDACC,YAAa,CHgDd,AG9CA,sDACC,YAAkB,CHgDnB,AIlEA,uCACC,oBAAqB,AACrB,mBAAmB,AACnB,yBAA2B,CJqE5B,AIlEA,+CACC,cAAiB,AACjB,qBAAqB,AACrB,sBAAuB,AACvB,qBAAuB,AACvB,gBAAwD,AACxD,8BAAiD,AACjD,0BA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Ae,CFA1B,AECA,0FAAuC,WAAY,CFEnD,AEAA,mCACC,YAAY,AACZ,cAAc,AACd,kBAAkB,AAClB,QAAQ,AACR,WApP8B,AAqP9B,gBAAgD,AAChD,QAAQ,AACR,SAAS,AAGT,0CAAqE,AAArE,mBAAqE,AAArE,sBAAqE,CFEtE,AEAA,mDACC,gBAAqC,AACrC,uBAAwE,AACxE,yCAAqE,CFEtE,AEED,gBACC,gBAAiB,CFCjB,AEAA,uCACC,UAtQ8B,AAuQ9B,UAAW,CFEZ,AEAA,gCACC,6BAA2C,CFE5C,AEED,+BACC,WArSiC,AAsSjC,wBAzToC,CF0TpC,AKpUE,sCAEC,iBADmC,AAEnC,iBAFmC,CLwUtC,AKpUE,kDACC,WAAW,AACX,iBAAiB,AACjB,gBAAgB,AAChB,eAAgB,CLsUnB,AKpUG,4GACC,oBAAqB,CLsUzB,AKpUG,0DACC,eAAgB,CLsUpB,AKnUE,yCACC,qCAAsC,AACtC,kBAAkB,AHyClB,yBAAqD,AACrD,yDAAuE,AACvE,2BAA2B,AGzC3B,iEAAsE,CLuUzE,AKtUG,gDHsCA,yBAAqD,AACrD,yDAAuE,AACvE,0BAA2B,CFmS9B,AKpUC,6BACC,oEAAyE,AH8BxE,yBAAqD,AACrD,yDAAuE,AACvE,0BAA2B,CFyS9B,AKnUD,iDACC,oBAAqB,CLsUrB,AKlUA,8BACC,gBAAkD,AAClD,gBAAiB,AACjB,eAAiB,CLqUlB,AKnUA,uBACC,4BAAuD,CLqUxD,AKpUC,mCACC,YAAkB,CLsUpB","file":"tom-select.default.min.css","sourcesContent":[null,"/**\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.plugin-drag_drop.multi > .ts-input > 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-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.ts-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.ts-control .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-control .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-control .dropdown-header-close:hover {\n color: black;\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-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 2px 6px;\n border-left: 1px solid #0073bb;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 6px;\n}\n.ts-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-control.plugin-remove_button .item.active .remove {\n border-left-color: #00578d;\n}\n.ts-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.ts-control.plugin-remove_button .disabled .item .remove {\n border-left-color: #aaaaaa;\n}\n.ts-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-control {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-input, .ts-input input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.ts-input,\n.ts-control.single .ts-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.ts-input {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n display: inline-block;\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}\n.ts-control.multi .ts-input.has-items {\n padding: calc( 8px - 2px - 1px) 8px calc( 8px - 2px - 3px - 1px);\n}\n.ts-input.full {\n background-color: #fff;\n}\n.ts-input.disabled, .ts-input.disabled * {\n cursor: default !important;\n}\n.ts-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.ts-input.dropdown-active {\n border-radius: 3px 3px 0 0;\n}\n.ts-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.ts-control.multi .ts-input > 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}\n.ts-control.multi .ts-input > div.active {\n background: #92c836;\n color: #fff;\n border: 1px solid #00578d;\n}\n.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active {\n color: white;\n background: #d2d2d2;\n border: 1px solid #aaaaaa;\n}\n.ts-input > input {\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-input > input::-ms-clear {\n display: none;\n}\n.ts-input > input:focus {\n outline: none !important;\n}\n.ts-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.ts-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.ts-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: #f0f0f0;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\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: -1px 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\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\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.ts-control.single .ts-input, .ts-control.single .ts-input input {\n cursor: pointer;\n}\n.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input {\n cursor: text;\n}\n.ts-control.single .ts-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 15px;\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-control.single .ts-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #808080 transparent;\n}\n\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-input:after {\n left: 15px;\n right: auto;\n}\n.ts-control.rtl .ts-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.ts-control .ts-input.disabled {\n opacity: 0.5;\n background-color: #fafafa;\n}\n\n.ts-control.multi .ts-input.has-items {\n padding-left: 5px;\n padding-right: 5px;\n}\n.ts-control.multi .ts-input.disabled [data-value] {\n color: #999;\n text-shadow: none;\n background: none;\n box-shadow: none;\n}\n.ts-control.multi .ts-input.disabled [data-value], .ts-control.multi .ts-input.disabled [data-value] .remove {\n border-color: #e6e6e6;\n}\n.ts-control.multi .ts-input.disabled [data-value] .remove {\n background: none;\n}\n.ts-control.multi .ts-input [data-value] {\n text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);\n border-radius: 3px;\n background-color: #1b9dec;\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-control.multi .ts-input [data-value].active {\n background-color: #0085d4;\n background-image: linear-gradient(to bottom, #008fd8, #0075cf);\n background-repeat: repeat-x;\n}\n.ts-control.single .ts-input {\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: #f9f9f9;\n background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);\n background-repeat: repeat-x;\n}\n\n.ts-control.single .ts-input, .ts-dropdown.single {\n border-color: #b8b8b8;\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\n/*# sourceMappingURL=tom-select.default.css.map */\n",null,null,null,null,null]} \ No newline at end of file diff --git a/dist/css/tom-select.min.css b/dist/css/tom-select.min.css index 4535a510..bca8f614 100644 --- a/dist/css/tom-select.min.css +++ b/dist/css/tom-select.min.css @@ -1,2 +1,2 @@ -.tomselect-control.plugin-drag_drop.multi>.tomselect-input>div.ui-sortable-placeholder{visibility:visible!important;background:#f2f2f2!important;background:rgba(0,0,0,.06)!important;border:0!important;box-shadow:inset 0 0 12px 4px #fff}.tomselect-control.plugin-drag_drop .ui-sortable-placeholder:after{content:"!";visibility:hidden}.tomselect-control.plugin-drag_drop .ui-sortable-helper{box-shadow:0 2px 5px rgba(0,0,0,.2)}.tomselect-control .dropdown-header{position:relative;padding:10px 8px;border-bottom:1px solid #d0d0d0;background:#f8f8f8;border-radius:3px 3px 0 0}.tomselect-control .dropdown-header-close{position:absolute;right:8px;top:50%;color:#303030;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.tomselect-control .dropdown-header-close:hover{color:#000}.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content{display:-ms-flexbox;display:flex}.tomselect-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;min-width:0}.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0}.tomselect-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.tomselect-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0}.tomselect-control.plugin-remove_button .item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-right:0!important}.tomselect-control.plugin-remove_button .item .remove{color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:2px 6px;border-left:1px solid #d0d0d0;border-radius:0 2px 2px 0;box-sizing:border-box;margin-left:6px}.tomselect-control.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.tomselect-control.plugin-remove_button .item.active .remove{border-left-color:#cacaca}.tomselect-control.plugin-remove_button .disabled .item .remove:hover{background:none}.tomselect-control.plugin-remove_button .disabled .item .remove{border-left-color:#fff}.tomselect-control.plugin-remove_button .remove-single{position:absolute;right:0;top:0;font-size:23px}.tomselect-control{position:relative}.tomselect-dropdown,.tomselect-input,.tomselect-input input{color:#303030;font-family:inherit;font-size:13px;line-height:18px;font-smoothing:inherit}.tomselect-control.single .tomselect-input.input-active,.tomselect-input{background:#fff;cursor:text;display:inline-block}.tomselect-input{border:1px solid #d0d0d0;padding:8px;display:inline-block;width:100%;overflow:hidden;position:relative;z-index:1;box-sizing:border-box;box-shadow:inset 0 1px 1px rgba(0,0,0,.1);border-radius:3px}.tomselect-control.multi .tomselect-input.has-items{padding:6px 8px 3px}.tomselect-input.full{background-color:#fff}.tomselect-input.disabled,.tomselect-input.disabled *{cursor:default!important}.tomselect-input.focus{box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.tomselect-input.dropdown-active{border-radius:3px 3px 0 0}.tomselect-input>*{vertical-align:baseline;display:inline-block;zoom:1}.tomselect-control.multi .tomselect-input>div{cursor:pointer;margin:0 3px 3px 0;padding:2px 6px;background:#f2f2f2;color:#303030;border:0 solid #d0d0d0}.tomselect-control.multi .tomselect-input>div.active{background:#e8e8e8;color:#303030;border:0 solid #cacaca}.tomselect-control.multi .tomselect-input.disabled>div,.tomselect-control.multi .tomselect-input.disabled>div.active{color:#7d7d7d;background:#fff;border:0 solid #fff}.tomselect-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0!important;text-indent:0!important;border:0!important;background:none!important;line-height:inherit!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important;box-shadow:none!important}.tomselect-input>input::-ms-clear{display:none}.tomselect-input>input:focus{outline:none!important}.tomselect-input.has-items>input{margin:0 4px!important}.tomselect-input:after{content:" ";display:block;clear:left}.tomselect-input.dropdown-active:before{content:" ";display:block;position:absolute;background:#f0f0f0;height:1px;bottom:0;left:0;right:0}.tomselect-dropdown{position:absolute;z-index:10;background:#fff;margin:-1px 0 0;border:1px solid #d0d0d0;border-top:0;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.1);border-radius:0 0 3px 3px}.tomselect-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.tomselect-dropdown [data-selectable] .highlight{background:rgba(125,168,208,.2);border-radius:1px}.tomselect-dropdown .create,.tomselect-dropdown .no-results,.tomselect-dropdown .optgroup-header,.tomselect-dropdown .option{padding:5px 8px}.tomselect-dropdown .option,.tomselect-dropdown [data-disabled],.tomselect-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.tomselect-dropdown [data-selectable].option{opacity:1}.tomselect-dropdown .optgroup:first-child .optgroup-header{border-top:0}.tomselect-dropdown .optgroup-header{color:#303030;background:#fff;cursor:default}.tomselect-dropdown .active{background-color:#f5fafd;color:#495c68}.tomselect-dropdown .active.create{color:#495c68}.tomselect-dropdown .create{color:rgba(48,48,48,.5)}.tomselect-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;overflow-scrolling:touch}.tomselect-control.single .tomselect-input,.tomselect-control.single .tomselect-input input{cursor:pointer}.tomselect-control.single .tomselect-input.input-active,.tomselect-control.single .tomselect-input.input-active input{cursor:text}.tomselect-control.single .tomselect-input:after{content:" ";display:block;position:absolute;top:50%;right:15px;margin-top:-3px;width:0;height:0;border-color:grey transparent transparent;border-style:solid;border-width:5px 5px 0}.tomselect-control.single .tomselect-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px;border-color:transparent transparent grey}.tomselect-control.rtl{text-align:right}.tomselect-control.rtl.single .tomselect-input:after{left:15px;right:auto}.tomselect-control.rtl .tomselect-input>input{margin:0 4px 0 -2px!important}.tomselect-control .tomselect-input.disabled{opacity:.5;background-color:#fafafa} +.ts-control.plugin-drag_drop.multi>.ts-input>div.ui-sortable-placeholder{visibility:visible!important;background:#f2f2f2!important;background:rgba(0,0,0,.06)!important;border:0!important;box-shadow:inset 0 0 12px 4px #fff}.ts-control.plugin-drag_drop .ui-sortable-placeholder:after{content:"!";visibility:hidden}.ts-control.plugin-drag_drop .ui-sortable-helper{box-shadow:0 2px 5px rgba(0,0,0,.2)}.ts-control .dropdown-header{position:relative;padding:10px 8px;border-bottom:1px solid #d0d0d0;background:#f8f8f8;border-radius:3px 3px 0 0}.ts-control .dropdown-header-close{position:absolute;right:8px;top:50%;color:#303030;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.ts-control .dropdown-header-close:hover{color:#000}.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content{display:flex}.ts-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0;flex-grow:1;flex-basis:0;min-width:0}.ts-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0}.ts-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.ts-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0}.ts-control.plugin-remove_button .item{display:inline-flex;align-items:center;padding-right:0!important}.ts-control.plugin-remove_button .item .remove{color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:2px 6px;border-left:1px solid #d0d0d0;border-radius:0 2px 2px 0;box-sizing:border-box;margin-left:6px}.ts-control.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.ts-control.plugin-remove_button .item.active .remove{border-left-color:#cacaca}.ts-control.plugin-remove_button .disabled .item .remove:hover{background:none}.ts-control.plugin-remove_button .disabled .item .remove{border-left-color:#fff}.ts-control.plugin-remove_button .remove-single{position:absolute;right:0;top:0;font-size:23px}.ts-control{position:relative}.ts-dropdown,.ts-input,.ts-input input{color:#303030;font-family:inherit;font-size:13px;line-height:18px;font-smoothing:inherit}.ts-control.single .ts-input.input-active,.ts-input{background:#fff;cursor:text;display:inline-block}.ts-input{border:1px solid #d0d0d0;padding:8px;display:inline-block;width:100%;overflow:hidden;position:relative;z-index:1;box-sizing:border-box;box-shadow:inset 0 1px 1px rgba(0,0,0,.1);border-radius:3px}.ts-control.multi .ts-input.has-items{padding:6px 8px 3px}.ts-input.full{background-color:#fff}.ts-input.disabled,.ts-input.disabled *{cursor:default!important}.ts-input.focus{box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.ts-input.dropdown-active{border-radius:3px 3px 0 0}.ts-input>*{vertical-align:baseline;display:inline-block;zoom:1}.ts-control.multi .ts-input>div{cursor:pointer;margin:0 3px 3px 0;padding:2px 6px;background:#f2f2f2;color:#303030;border:0 solid #d0d0d0}.ts-control.multi .ts-input>div.active{background:#e8e8e8;color:#303030;border:0 solid #cacaca}.ts-control.multi .ts-input.disabled>div,.ts-control.multi .ts-input.disabled>div.active{color:#7d7d7d;background:#fff;border:0 solid #fff}.ts-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0!important;text-indent:0!important;border:0!important;background:none!important;line-height:inherit!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important;box-shadow:none!important}.ts-input>input::-ms-clear{display:none}.ts-input>input:focus{outline:none!important}.ts-input.has-items>input{margin:0 4px!important}.ts-input:after{content:" ";display:block;clear:left}.ts-input.dropdown-active:before{content:" ";display:block;position:absolute;background:#f0f0f0;height:1px;bottom:0;left:0;right:0}.ts-dropdown{position:absolute;top:100%;left:0;width:100%;z-index:10;background:#fff;margin:-1px 0 0;border:1px solid #d0d0d0;border-top:0;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.1);border-radius:0 0 3px 3px}.ts-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.ts-dropdown [data-selectable] .highlight{background:rgba(125,168,208,.2);border-radius:1px}.ts-dropdown .create,.ts-dropdown .no-results,.ts-dropdown .optgroup-header,.ts-dropdown .option{padding:5px 8px}.ts-dropdown .option,.ts-dropdown [data-disabled],.ts-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.ts-dropdown [data-selectable].option{opacity:1;cursor:pointer}.ts-dropdown .optgroup:first-child .optgroup-header{border-top:0}.ts-dropdown .optgroup-header{color:#303030;background:#fff;cursor:default}.ts-dropdown .active{background-color:#f5fafd;color:#495c68}.ts-dropdown .active.create{color:#495c68}.ts-dropdown .create{color:rgba(48,48,48,.5)}.ts-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;overflow-scrolling:touch}.ts-dropdown .spinner{display:inline-block;width:30px;height:30px;margin:5px 8px}.ts-dropdown .spinner:after{content:" ";display:block;width:24px;height:24px;margin:3px;border-radius:50%;border-color:#d0d0d0 transparent;border-style:solid;border-width:5px;-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite}@-webkit-keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ts-control.single .ts-input,.ts-control.single .ts-input input{cursor:pointer}.ts-control.single .ts-input.input-active,.ts-control.single .ts-input.input-active input{cursor:text}.ts-control.single .ts-input:after{content:" ";display:block;position:absolute;top:50%;right:15px;margin-top:-3px;width:0;height:0;border-color:grey transparent transparent;border-style:solid;border-width:5px 5px 0}.ts-control.single .ts-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px;border-color:transparent transparent grey}.ts-control.rtl{text-align:right}.ts-control.rtl.single .ts-input:after{left:15px;right:auto}.ts-control.rtl .ts-input>input{margin:0 4px 0 -2px!important}.ts-control .ts-input.disabled{opacity:.5;background-color:#fafafa} /*# sourceMappingURL=tom-select.min.css.map */ \ No newline at end of file diff --git a/dist/css/tom-select.min.css.map b/dist/css/tom-select.min.css.map index 5425610a..8f4a89dc 100644 --- a/dist/css/tom-select.min.css.map +++ b/dist/css/tom-select.min.css.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/plugins/drag_drop/plugin.scss","tom-select.css","../../src/plugins/dropdown_header/plugin.scss","../../src/scss/tom-select.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src/plugins/remove_button/plugin.scss"],"names":[],"mappings":"AACC,uFACC,6BAA8B,AAC9B,6BAA8B,AAC9B,qCAAuC,AACvC,mBAAyB,AACzB,kCAAmC,CCcpC,ADZA,mEACC,YAAY,AACZ,iBAAkB,CCcnB,ADZA,wDACC,mCAAqC,CCctC,ACzBA,oCACC,kBAAkB,AAClB,iBAA8E,AAC9E,gCAA6C,AAC7C,mBAAkE,AAClE,yBAA8D,CD4B/D,AC1BA,0CACC,kBAAkB,AAClB,UCmDoD,ADlDpD,QAAQ,AACR,cC8BiD,AD7BjD,WAAY,AACZ,iBAAiB,AACjB,iBAAiB,AACjB,wBAA0B,CD4B3B,AC1BA,gDACC,UAAsC,CD4BvC,AG9CA,wEACC,oBAAa,AAAb,YAAa,CHiDd,AG9CA,sDACC,+BAA+B,AAC/B,aAAkB,AACf,oBAAY,AAAZ,YAAY,AACZ,0BAAa,AAAb,aAAa,AAChB,WAAY,CHgDb,AG9CA,iEACC,cAAoB,CHgDrB,AG9CA,6DACC,YAAa,CHgDd,AG9CA,6DACC,YAAkB,CHgDnB,AIlEA,8CACC,2BAAqB,AAArB,oBAAqB,AACrB,sB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,gBAAiB,CFWjB,AEVA,qDACC,UA/N8B,AAgO9B,UAAW,CFYZ,AEVA,8CACC,6BAA2C,CFY5C,AERD,6CACC,WA9PiC,AA+PjC,wBAlRoC,CF6RpC","file":"tom-select.min.css","sourcesContent":[null,"/**\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.tomselect-control.plugin-drag_drop.multi > .tomselect-input > 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.tomselect-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.tomselect-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.tomselect-control .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.tomselect-control .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.tomselect-control .dropdown-header-close:hover {\n color: black;\n}\n\n.tomselect-dropdown.plugin-optgroup_columns .tomselect-dropdown-content {\n display: flex;\n}\n.tomselect-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.tomselect-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.tomselect-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.tomselect-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.tomselect-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 2px 6px;\n border-left: 1px solid #d0d0d0;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 6px;\n}\n.tomselect-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.tomselect-control.plugin-remove_button .item.active .remove {\n border-left-color: #cacaca;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.tomselect-control.plugin-remove_button .disabled .item .remove {\n border-left-color: white;\n}\n.tomselect-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.tomselect-control {\n position: relative;\n}\n\n.tomselect-dropdown,\n.tomselect-input, .tomselect-input input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.tomselect-input,\n.tomselect-control.single .tomselect-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.tomselect-input {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n display: inline-block;\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}\n.tomselect-control.multi .tomselect-input.has-items {\n padding: calc( 8px - 2px - 0) 8px calc( 8px - 2px - 3px - 0);\n}\n.tomselect-input.full {\n background-color: #fff;\n}\n.tomselect-input.disabled, .tomselect-input.disabled * {\n cursor: default !important;\n}\n.tomselect-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.tomselect-input.dropdown-active {\n border-radius: 3px 3px 0 0;\n}\n.tomselect-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.tomselect-control.multi .tomselect-input > 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.tomselect-control.multi .tomselect-input > div.active {\n background: #e8e8e8;\n color: #303030;\n border: 0 solid #cacaca;\n}\n.tomselect-control.multi .tomselect-input.disabled > div, .tomselect-control.multi .tomselect-input.disabled > div.active {\n color: #7d7d7d;\n background: white;\n border: 0 solid white;\n}\n.tomselect-input > input {\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.tomselect-input > input::-ms-clear {\n display: none;\n}\n.tomselect-input > input:focus {\n outline: none !important;\n}\n.tomselect-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.tomselect-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.tomselect-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: #f0f0f0;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.tomselect-dropdown {\n position: absolute;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: -1px 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.tomselect-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.tomselect-dropdown [data-selectable] .highlight {\n background: rgba(125, 168, 208, 0.2);\n border-radius: 1px;\n}\n.tomselect-dropdown .option,\n.tomselect-dropdown .optgroup-header,\n.tomselect-dropdown .no-results,\n.tomselect-dropdown .create {\n padding: 5px 8px;\n}\n.tomselect-dropdown .option, .tomselect-dropdown [data-disabled], .tomselect-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.tomselect-dropdown [data-selectable].option {\n opacity: 1;\n}\n.tomselect-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.tomselect-dropdown .optgroup-header {\n color: #303030;\n background: #fff;\n cursor: default;\n}\n.tomselect-dropdown .active {\n background-color: #f5fafd;\n color: #495c68;\n}\n.tomselect-dropdown .active.create {\n color: #495c68;\n}\n.tomselect-dropdown .create {\n color: rgba(48, 48, 48, 0.5);\n}\n\n.tomselect-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\n\n.tomselect-control.single .tomselect-input, .tomselect-control.single .tomselect-input input {\n cursor: pointer;\n}\n.tomselect-control.single .tomselect-input.input-active, .tomselect-control.single .tomselect-input.input-active input {\n cursor: text;\n}\n.tomselect-control.single .tomselect-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 15px;\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.tomselect-control.single .tomselect-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #808080 transparent;\n}\n\n.tomselect-control.rtl {\n text-align: right;\n}\n.tomselect-control.rtl.single .tomselect-input:after {\n left: 15px;\n right: auto;\n}\n.tomselect-control.rtl .tomselect-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.tomselect-control .tomselect-input.disabled {\n opacity: 0.5;\n background-color: #fafafa;\n}\n\n/*# sourceMappingURL=tom-select.css.map */\n",null,null,null,null]} \ No newline at end of file +{"version":3,"sources":["../../src/plugins/drag_drop/plugin.scss","tom-select.css","../../src/plugins/dropdown_header/plugin.scss","../../src/scss/tom-select.scss","../../src/plugins/optgroup_columns/plugin.scss","../../src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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.plugin-drag_drop.multi > .ts-input > 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-control.plugin-drag_drop .ui-sortable-placeholder::after {\n content: '!';\n visibility: hidden;\n}\n.ts-control.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.ts-control .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-control .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-control .dropdown-header-close:hover {\n color: black;\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-control.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-control.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 2px 6px;\n border-left: 1px solid #d0d0d0;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 6px;\n}\n.ts-control.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-control.plugin-remove_button .item.active .remove {\n border-left-color: #cacaca;\n}\n.ts-control.plugin-remove_button .disabled .item .remove:hover {\n background: none;\n}\n.ts-control.plugin-remove_button .disabled .item .remove {\n border-left-color: white;\n}\n.ts-control.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-control {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-input, .ts-input input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.ts-input,\n.ts-control.single .ts-input.input-active {\n background: #fff;\n cursor: text;\n display: inline-block;\n}\n\n.ts-input {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n display: inline-block;\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}\n.ts-control.multi .ts-input.has-items {\n padding: calc( 8px - 2px - 0) 8px calc( 8px - 2px - 3px - 0);\n}\n.ts-input.full {\n background-color: #fff;\n}\n.ts-input.disabled, .ts-input.disabled * {\n cursor: default !important;\n}\n.ts-input.focus {\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);\n}\n.ts-input.dropdown-active {\n border-radius: 3px 3px 0 0;\n}\n.ts-input > * {\n vertical-align: baseline;\n display: inline-block;\n zoom: 1;\n}\n.ts-control.multi .ts-input > 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-control.multi .ts-input > div.active {\n background: #e8e8e8;\n color: #303030;\n border: 0 solid #cacaca;\n}\n.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active {\n color: #7d7d7d;\n background: white;\n border: 0 solid white;\n}\n.ts-input > input {\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-input > input::-ms-clear {\n display: none;\n}\n.ts-input > input:focus {\n outline: none !important;\n}\n.ts-input.has-items > input {\n margin: 0 4px !important;\n}\n\n.ts-input::after {\n content: ' ';\n display: block;\n clear: left;\n}\n\n.ts-input.dropdown-active::before {\n content: ' ';\n display: block;\n position: absolute;\n background: #f0f0f0;\n height: 1px;\n bottom: 0;\n left: 0;\n right: 0;\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: -1px 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\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n}\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.ts-control.single .ts-input, .ts-control.single .ts-input input {\n cursor: pointer;\n}\n.ts-control.single .ts-input.input-active, .ts-control.single .ts-input.input-active input {\n cursor: text;\n}\n.ts-control.single .ts-input:after {\n content: ' ';\n display: block;\n position: absolute;\n top: 50%;\n right: 15px;\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-control.single .ts-input.dropdown-active:after {\n margin-top: -4px;\n border-width: 0 5px 5px 5px;\n border-color: transparent transparent #808080 transparent;\n}\n\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-input:after {\n left: 15px;\n right: auto;\n}\n.ts-control.rtl .ts-input > input {\n margin: 0 4px 0 -2px !important;\n}\n\n.ts-control .ts-input.disabled {\n opacity: 0.5;\n background-color: #fafafa;\n}\n\n/*# sourceMappingURL=tom-select.css.map */\n",null,null,null,null]} \ No newline at end of file diff --git a/dist/js/tom-select.complete.js b/dist/js/tom-select.complete.js index c2e56d43..f09462fe 100644 --- a/dist/js/tom-select.complete.js +++ b/dist/js/tom-select.complete.js @@ -635,7 +635,7 @@ })); /** - * Tom Select (v1.0.0-b.1) + * Tom Select (v1.0.0-b.3) * Copyright (c) contributors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this @@ -1386,7 +1386,7 @@ control = getDom('
'); addClasses(control, settings.inputClass); wrapper.append(control); - dropdown = getDom('
'); + dropdown = self.render('dropdown'); addClasses(dropdown, settings.dropdownClass, inputMode); dropdown_content = getDom('
'); addClasses(dropdown_content, settings.dropdownContentClass); @@ -1630,6 +1630,12 @@ }, 'no_results': function no_results(data, escape) { return '
No results found
'; + }, + 'loading': function loading(data, escape) { + return '
'; + }, + 'dropdown': function dropdown() { + return '
'; } }; self.settings.render = Object.assign({}, templates, self.settings.render); @@ -2116,8 +2122,9 @@ var self = this; addClasses(self.wrapper, self.settings.loadingClass); self.loading++; - fn.apply(self, [function (options, optgroups) { + fn.call(self, function (options, optgroups) { self.loading = Math.max(self.loading - 1, 0); + self.lastQuery = null; self.setupOptions(options, optgroups); self.refreshOptions(self.isFocused && !self.isInputHidden); @@ -2126,7 +2133,7 @@ } self.trigger('load', options); - }]); + }); } /** * Debounce the user provided load function @@ -2235,8 +2242,8 @@ if (eventName === 'mousedown' && this.isKeyDown(KEY_SHIFT, e) && this.activeItems.length) { last = this.getLastActive(); - begin = Array.prototype.indexOf.apply(this.control.children, [last]); - end = Array.prototype.indexOf.apply(this.control.children, [item]); + begin = Array.prototype.indexOf.call(this.control.children, last); + end = Array.prototype.indexOf.call(this.control.children, item); if (begin > end) { swap = begin; @@ -2489,7 +2496,7 @@ var options = this.getSearchOptions(); // validate user-provided result scoring function if (settings.score) { - calculateScore = self.settings.score.apply(this, [query]); + calculateScore = self.settings.score.call(this, query); if (typeof calculateScore !== 'function') { throw new Error('Tom Select "score" setting must be a function that returns a function'); @@ -2641,26 +2648,30 @@ addClasses(_option, 'selected'); } } - } // add no_results message + } // helper method for adding templates to dropdown - if (results.items.length === 0 && self.settings.render['no_results'] && !self.loading && query.length) { - var msg = self.render('no_results', { + var add_template = function add_template(template) { + show_dropdown = true; + var content = self.render(template, { input: query }); - show_dropdown = true; - self.dropdown_content.insertBefore(msg, self.dropdown_content.firstChild); + self.dropdown_content.insertBefore(content, self.dropdown_content.firstChild); + return content; + }; // add loading message + + + if (self.loading) { + add_template('loading'); // add no_results message + } else if (results.items.length === 0 && self.settings.render['no_results'] && query.length) { + add_template('no_results'); } // add create option has_create_option = self.canCreate(query); if (has_create_option) { - show_dropdown = true; - create = self.render('option_create', { - input: query - }); - self.dropdown_content.insertBefore(create, self.dropdown_content.firstChild); + create = add_template('option_create'); } // activate @@ -3406,30 +3417,23 @@ } /** * Calculates and applies the appropriate - * position of the dropdown. + * position of the dropdown if dropdownParent = 'body'. + * Otherwise, position is determined by css */ }, { key: "positionDropdown", value: function positionDropdown() { - var left = 0; - var context = this.control; - var top = context.offsetHeight; - - if (this.settings.dropdownParent === 'body') { - var rect = context.getBoundingClientRect(); - top += rect.top + window.scrollY; - left = rect.left + window.scrollX; - } else if (this.settings.dropdownParent) { - context = getDom(this.settings.dropdownParent); - top = context.offsetHeight; - } else { - top += context.offsetTop; - left = context.offsetLeft; + if (this.settings.dropdownParent !== 'body') { + return; } + var context = this.control; + var rect = context.getBoundingClientRect(); + var top = context.offsetHeight + rect.top + window.scrollY; + var left = rect.left + window.scrollX; applyCSS(this.dropdown, { - width: context.getBoundingClientRect().width + 'px', + width: rect.width + 'px', top: top + 'px', left: left + 'px' }); @@ -3828,7 +3832,7 @@ value: function canCreate(input) { if (!this.settings.create) return false; var filter = this.settings.createFilter; - return input.length && (typeof filter !== 'function' || filter.apply(this, [input])) && (!(filter instanceof RegExp) || filter.test(input)); + return input.length && (typeof filter !== 'function' || filter.call(this, input)) && (!(filter instanceof RegExp) || filter.test(input)); } /** * Return true if the requested key is down @@ -3929,7 +3933,7 @@ createFilter: null, highlight: true, openOnFocus: true, - maxOptions: 1000, + maxOptions: 50, maxItems: null, hideSelected: null, duplicates: false, @@ -3954,10 +3958,10 @@ searchField: ['text'], searchConjunction: 'and', mode: null, - wrapperClass: 'tomselect-control', - inputClass: 'tomselect-input', - dropdownClass: 'tomselect-dropdown', - dropdownContentClass: 'tomselect-dropdown-content', + wrapperClass: 'ts-control', + inputClass: 'ts-input', + dropdownClass: 'ts-dropdown', + dropdownContentClass: 'ts-dropdown-content', itemClass: 'item', optionClass: 'option', dropdownParent: null, @@ -4200,7 +4204,7 @@ option = self.options[self.items[index]]; if (self.deleteSelection(evt)) { - self.setTextboxValue(options.text.apply(self, [option])); + self.setTextboxValue(options.text.call(self, option)); self.refreshOptions(true); } diff --git a/dist/js/tom-select.complete.min.js b/dist/js/tom-select.complete.min.js index c0b598d5..74c4426c 100644 --- a/dist/js/tom-select.complete.min.js +++ b/dist/js/tom-select.complete.min.js @@ -1,3 +1,3 @@ -/*! tom-select.js - v1.0.0-b.1 | https://github.com/orchidjs/tom-select | Apache License (v2) */ +/*! tom-select.js - v1.0.0-b.3 | https://github.com/orchidjs/tom-select | Apache License (v2) */ -!function(e,t){"function"==typeof define&&define.amd?define("sifter",t):"object"==typeof exports?module.exports=t():e.Sifter=t()}(this,function(){function e(e,t){this.items=e,this.settings=t||{diacritics:!0}}e.prototype.tokenize=function(e){if(!(e=a(String(e||"").toLowerCase()))||!e.length)return[];for(var t,n,i=[],o=e.split(/ +/),r=0,s=o.length;re.length)&&(t=e.length);for(var n=0,i=new Array(t);n/g,">").replace(/"/g,""")}function f(t,n,e){var i,o=t.trigger,r={};for(i in t.trigger=function(){var e=arguments[0];if(-1===n.indexOf(e))return o.apply(t,arguments);r[e]=arguments},e.apply(t,[]),t.trigger=o,r)r.hasOwnProperty(i)&&o.apply(t,r[i])}function g(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!1),e.dispatchEvent(n)}function v(t,n){Object.keys(n).forEach(function(e){t.style[e]=n[e]})}function x(e){var t=C.apply(null,arguments);e=A(e);for(var n,i=0;i");if(x(h,u.wrapperClass,d,p),n=k('
'),x(n,u.inputClass),h.append(n),t=k('
'),x(t,u.dropdownClass,p),i=k('
'),x(i,u.dropdownContentClass),t.append(i),k(u.dropdownParent||h).appendChild(t),u.controlInput)e=k(u.controlInput);else{e=k('');for(var f=["autocorrect","autocapitalize","autocomplete"],g=0;g'+t(e[i])+"
"},option:function(e,t){return"
"+t(e[n])+"
"},item:function(e,t){return"
"+t(e[n])+"
"},option_create:function(e,t){return'
Add '+t(e.input)+"
"},no_results:function(){return'
No results found
'}};this.settings.render=Object.assign({},e,this.settings.render)}},{key:"setupCallbacks",value:function(){var e,t,n={initialize:"onInitialize",change:"onChange",item_add:"onItemAdd",item_remove:"onItemRemove",clear:"onClear",option_add:"onOptionAdd",option_remove:"onOptionRemove",option_clear:"onOptionClear",optgroup_add:"onOptionGroupAdd",optgroup_remove:"onOptionGroupRemove",optgroup_clear:"onOptionGroupClear",dropdown_open:"onDropdownOpen",dropdown_close:"onDropdownClose",type:"onType",load:"onLoad",focus:"onFocus",blur:"onBlur"};for(e in n)(t=this.settings[n[e]])&&this.on(e,t)}},{key:"onClick",value:function(e){this.isFocused&&this.isOpen||(this.focus(),e.preventDefault())}},{key:"onMouseDown",value:function(e){var t=this;if(t.isFocused){if(e.target!==t.control_input)return"single"===t.settings.mode?t.isOpen?t.close():t.open():t.setActiveItem(null),!1}else window.setTimeout(function(){t.focus()},0)}},{key:"onChange",value:function(){g(this.input,"change")}},{key:"onPaste",value:function(e){var o=this;o.isFull()||o.isInputHidden||o.isLocked?e.preventDefault():o.settings.splitOn&&setTimeout(function(){var e=o.inputValue();if(e.match(o.settings.splitOn))for(var t=e.trim().split(o.settings.splitOn),n=0,i=t.length;n=this.settings.maxItems}},{key:"updateOriginalInput",value:function(e){var t,n,i,o,r=this;if(e=e||{},r.is_select_tag){for(i=[],t=0,n=r.items.length;t'+h(o)+"");i.length||this.input.hasAttribute("multiple")||i.push(''),r.input.innerHTML=i.join("")}else r.input.value=r.getValue(),r.input.setAttribute("value",r.input.value);r.isSetup&&(e.silent||r.trigger("change",r.input.value))}},{key:"open",value:function(){var e=this;e.isLocked||e.isOpen||"multi"===e.settings.mode&&e.isFull()||(e.focus(),e.isOpen=!0,e.refreshState(),v(e.dropdown,{visibility:"hidden",display:"block"}),e.positionDropdown(),v(e.dropdown,{visibility:"visible",display:"block"}),e.trigger("dropdown_open",e.dropdown))}},{key:"close",value:function(){var e=this,t=e.isOpen;"single"===e.settings.mode&&e.items.length&&(e.hideInput(),e.isBlurring||e.blur()),e.isOpen=!1,v(e.dropdown,{display:"none"}),e.setActiveOption(null),e.refreshState(),t&&e.trigger("dropdown_close",e.dropdown)}},{key:"positionDropdown",value:function(){var e,t=0,n=this.control,i=n.offsetHeight;"body"===this.settings.dropdownParent?(i+=(e=n.getBoundingClientRect()).top+window.scrollY,t=e.left+window.scrollX):this.settings.dropdownParent?i=(n=k(this.settings.dropdownParent)).offsetHeight:(i+=n.offsetTop,t=n.offsetLeft),v(this.dropdown,{width:n.getBoundingClientRect().width+"px",top:i+"px",left:t+"px"})}},{key:"clear",value:function(e){if(this.items.length){for(var t=this.controlChildren(),n=0;n
'+e.title+'×
'}},t),n.hook("after","setup",function(){var e=k(t.html(t));n.dropdown.insertBefore(e,n.dropdown.firstChild)})}),_.define("input_autogrow",function(e){var a=this;a.hook("after","setup",function(){var e=document.createElement("span"),t=this.control_input;e.style.position="absolute",e.style.top="-99999px",e.style.left="-99999px",e.style.width="auto",e.style.padding=0,e.style.whiteSpace="pre",a.wrapper.appendChild(e);for(var n=["letterSpacing","fontSize","fontFamily","fontWeight","textTransform"],i=0,o=n.length;i'+e.label+"",o.hook("after","setupTemplates",function(){var t=o.settings.render.item;o.settings.render.item=function(){var n=k(t.apply(o,arguments)),e=k(i);return n.appendChild(e),e.addEventListener("mousedown",function(e){e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",function(e){var t;e.preventDefault(),e.stopPropagation(),"single"!==o.settings.mode&&e.stopPropagation(),o.isLocked||(t=n.dataset.value,o.removeItem(t),o.refreshOptions(!1))}),n}}))}),_.define("restore_on_backspace",function(i){var o=this;i.text=i.text||function(e){return e[o.settings.labelField]};var r=o.onKeyDown;o.hook("instead","onKeyDown",function(e){var t,n;return 8===e.keyCode&&""===o.control_input.value&&!o.activeItems.length&&0<=(t=o.caretPos-1)&&te.length)&&(t=e.length);for(var n=0,i=new Array(t);n/g,">").replace(/"/g,""")}function f(t,n,e){var i,o=t.trigger,r={};for(i in t.trigger=function(){var e=arguments[0];if(-1===n.indexOf(e))return o.apply(t,arguments);r[e]=arguments},e.apply(t,[]),t.trigger=o,r)r.hasOwnProperty(i)&&o.apply(t,r[i])}function g(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!1),e.dispatchEvent(n)}function v(t,n){Object.keys(n).forEach(function(e){t.style[e]=n[e]})}function x(e){var t=C.apply(null,arguments);e=A(e);for(var n,i=0;i");if(x(h,u.wrapperClass,d,p),n=k('
'),x(n,u.inputClass),h.append(n),t=l.render("dropdown"),x(t,u.dropdownClass,p),i=k('
'),x(i,u.dropdownContentClass),t.append(i),k(u.dropdownParent||h).appendChild(t),u.controlInput)e=k(u.controlInput);else{e=k('');for(var f=["autocorrect","autocapitalize","autocomplete"],g=0;g'+t(e[i])+"
"},option:function(e,t){return"
"+t(e[n])+"
"},item:function(e,t){return"
"+t(e[n])+"
"},option_create:function(e,t){return'
Add '+t(e.input)+"
"},no_results:function(){return'
No results found
'},loading:function(){return'
'},dropdown:function(){return'
'}};this.settings.render=Object.assign({},e,this.settings.render)}},{key:"setupCallbacks",value:function(){var e,t,n={initialize:"onInitialize",change:"onChange",item_add:"onItemAdd",item_remove:"onItemRemove",clear:"onClear",option_add:"onOptionAdd",option_remove:"onOptionRemove",option_clear:"onOptionClear",optgroup_add:"onOptionGroupAdd",optgroup_remove:"onOptionGroupRemove",optgroup_clear:"onOptionGroupClear",dropdown_open:"onDropdownOpen",dropdown_close:"onDropdownClose",type:"onType",load:"onLoad",focus:"onFocus",blur:"onBlur"};for(e in n)(t=this.settings[n[e]])&&this.on(e,t)}},{key:"onClick",value:function(e){this.isFocused&&this.isOpen||(this.focus(),e.preventDefault())}},{key:"onMouseDown",value:function(e){var t=this;if(t.isFocused){if(e.target!==t.control_input)return"single"===t.settings.mode?t.isOpen?t.close():t.open():t.setActiveItem(null),!1}else window.setTimeout(function(){t.focus()},0)}},{key:"onChange",value:function(){g(this.input,"change")}},{key:"onPaste",value:function(e){var o=this;o.isFull()||o.isInputHidden||o.isLocked?e.preventDefault():o.settings.splitOn&&setTimeout(function(){var e=o.inputValue();if(e.match(o.settings.splitOn))for(var t=e.trim().split(o.settings.splitOn),n=0,i=t.length;n=this.settings.maxItems}},{key:"updateOriginalInput",value:function(e){var t,n,i,o,r=this;if(e=e||{},r.is_select_tag){for(i=[],t=0,n=r.items.length;t'+h(o)+"");i.length||this.input.hasAttribute("multiple")||i.push(''),r.input.innerHTML=i.join("")}else r.input.value=r.getValue(),r.input.setAttribute("value",r.input.value);r.isSetup&&(e.silent||r.trigger("change",r.input.value))}},{key:"open",value:function(){var e=this;e.isLocked||e.isOpen||"multi"===e.settings.mode&&e.isFull()||(e.focus(),e.isOpen=!0,e.refreshState(),v(e.dropdown,{visibility:"hidden",display:"block"}),e.positionDropdown(),v(e.dropdown,{visibility:"visible",display:"block"}),e.trigger("dropdown_open",e.dropdown))}},{key:"close",value:function(){var e=this,t=e.isOpen;"single"===e.settings.mode&&e.items.length&&(e.hideInput(),e.isBlurring||e.blur()),e.isOpen=!1,v(e.dropdown,{display:"none"}),e.setActiveOption(null),e.refreshState(),t&&e.trigger("dropdown_close",e.dropdown)}},{key:"positionDropdown",value:function(){var e,t,n,i;"body"===this.settings.dropdownParent&&(t=(e=this.control).getBoundingClientRect(),n=e.offsetHeight+t.top+window.scrollY,i=t.left+window.scrollX,v(this.dropdown,{width:t.width+"px",top:n+"px",left:i+"px"}))}},{key:"clear",value:function(e){if(this.items.length){for(var t=this.controlChildren(),n=0;n
'+e.title+'×
'}},t),n.hook("after","setup",function(){var e=k(t.html(t));n.dropdown.insertBefore(e,n.dropdown.firstChild)})}),_.define("input_autogrow",function(e){var a=this;a.hook("after","setup",function(){var e=document.createElement("span"),t=this.control_input;e.style.position="absolute",e.style.top="-99999px",e.style.left="-99999px",e.style.width="auto",e.style.padding=0,e.style.whiteSpace="pre",a.wrapper.appendChild(e);for(var n=["letterSpacing","fontSize","fontFamily","fontWeight","textTransform"],i=0,o=n.length;i'+e.label+"",o.hook("after","setupTemplates",function(){var t=o.settings.render.item;o.settings.render.item=function(){var n=k(t.apply(o,arguments)),e=k(i);return n.appendChild(e),e.addEventListener("mousedown",function(e){e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",function(e){var t;e.preventDefault(),e.stopPropagation(),"single"!==o.settings.mode&&e.stopPropagation(),o.isLocked||(t=n.dataset.value,o.removeItem(t),o.refreshOptions(!1))}),n}}))}),_.define("restore_on_backspace",function(i){var o=this;i.text=i.text||function(e){return e[o.settings.labelField]};var r=o.onKeyDown;o.hook("instead","onKeyDown",function(e){var t,n;return 8===e.keyCode&&""===o.control_input.value&&!o.activeItems.length&&0<=(t=o.caretPos-1)&&t'); addClasses(control, settings.inputClass); wrapper.append(control); - dropdown = getDom('
'); + dropdown = self.render('dropdown'); addClasses(dropdown, settings.dropdownClass, inputMode); dropdown_content = getDom('
'); addClasses(dropdown_content, settings.dropdownContentClass); @@ -994,6 +994,12 @@ }, 'no_results': function no_results(data, escape) { return '
No results found
'; + }, + 'loading': function loading(data, escape) { + return '
'; + }, + 'dropdown': function dropdown() { + return '
'; } }; self.settings.render = Object.assign({}, templates, self.settings.render); @@ -1480,8 +1486,9 @@ var self = this; addClasses(self.wrapper, self.settings.loadingClass); self.loading++; - fn.apply(self, [function (options, optgroups) { + fn.call(self, function (options, optgroups) { self.loading = Math.max(self.loading - 1, 0); + self.lastQuery = null; self.setupOptions(options, optgroups); self.refreshOptions(self.isFocused && !self.isInputHidden); @@ -1490,7 +1497,7 @@ } self.trigger('load', options); - }]); + }); } /** * Debounce the user provided load function @@ -1599,8 +1606,8 @@ if (eventName === 'mousedown' && this.isKeyDown(KEY_SHIFT, e) && this.activeItems.length) { last = this.getLastActive(); - begin = Array.prototype.indexOf.apply(this.control.children, [last]); - end = Array.prototype.indexOf.apply(this.control.children, [item]); + begin = Array.prototype.indexOf.call(this.control.children, last); + end = Array.prototype.indexOf.call(this.control.children, item); if (begin > end) { swap = begin; @@ -1853,7 +1860,7 @@ var options = this.getSearchOptions(); // validate user-provided result scoring function if (settings.score) { - calculateScore = self.settings.score.apply(this, [query]); + calculateScore = self.settings.score.call(this, query); if (typeof calculateScore !== 'function') { throw new Error('Tom Select "score" setting must be a function that returns a function'); @@ -2005,26 +2012,30 @@ addClasses(_option, 'selected'); } } - } // add no_results message + } // helper method for adding templates to dropdown - if (results.items.length === 0 && self.settings.render['no_results'] && !self.loading && query.length) { - var msg = self.render('no_results', { + var add_template = function add_template(template) { + show_dropdown = true; + var content = self.render(template, { input: query }); - show_dropdown = true; - self.dropdown_content.insertBefore(msg, self.dropdown_content.firstChild); + self.dropdown_content.insertBefore(content, self.dropdown_content.firstChild); + return content; + }; // add loading message + + + if (self.loading) { + add_template('loading'); // add no_results message + } else if (results.items.length === 0 && self.settings.render['no_results'] && query.length) { + add_template('no_results'); } // add create option has_create_option = self.canCreate(query); if (has_create_option) { - show_dropdown = true; - create = self.render('option_create', { - input: query - }); - self.dropdown_content.insertBefore(create, self.dropdown_content.firstChild); + create = add_template('option_create'); } // activate @@ -2770,30 +2781,23 @@ } /** * Calculates and applies the appropriate - * position of the dropdown. + * position of the dropdown if dropdownParent = 'body'. + * Otherwise, position is determined by css */ }, { key: "positionDropdown", value: function positionDropdown() { - var left = 0; - var context = this.control; - var top = context.offsetHeight; - - if (this.settings.dropdownParent === 'body') { - var rect = context.getBoundingClientRect(); - top += rect.top + window.scrollY; - left = rect.left + window.scrollX; - } else if (this.settings.dropdownParent) { - context = getDom(this.settings.dropdownParent); - top = context.offsetHeight; - } else { - top += context.offsetTop; - left = context.offsetLeft; + if (this.settings.dropdownParent !== 'body') { + return; } + var context = this.control; + var rect = context.getBoundingClientRect(); + var top = context.offsetHeight + rect.top + window.scrollY; + var left = rect.left + window.scrollX; applyCSS(this.dropdown, { - width: context.getBoundingClientRect().width + 'px', + width: rect.width + 'px', top: top + 'px', left: left + 'px' }); @@ -3192,7 +3196,7 @@ value: function canCreate(input) { if (!this.settings.create) return false; var filter = this.settings.createFilter; - return input.length && (typeof filter !== 'function' || filter.apply(this, [input])) && (!(filter instanceof RegExp) || filter.test(input)); + return input.length && (typeof filter !== 'function' || filter.call(this, input)) && (!(filter instanceof RegExp) || filter.test(input)); } /** * Return true if the requested key is down @@ -3293,7 +3297,7 @@ createFilter: null, highlight: true, openOnFocus: true, - maxOptions: 1000, + maxOptions: 50, maxItems: null, hideSelected: null, duplicates: false, @@ -3318,10 +3322,10 @@ searchField: ['text'], searchConjunction: 'and', mode: null, - wrapperClass: 'tomselect-control', - inputClass: 'tomselect-input', - dropdownClass: 'tomselect-dropdown', - dropdownContentClass: 'tomselect-dropdown-content', + wrapperClass: 'ts-control', + inputClass: 'ts-input', + dropdownClass: 'ts-dropdown', + dropdownContentClass: 'ts-dropdown-content', itemClass: 'item', optionClass: 'option', dropdownParent: null, @@ -3564,7 +3568,7 @@ option = self.options[self.items[index]]; if (self.deleteSelection(evt)) { - self.setTextboxValue(options.text.apply(self, [option])); + self.setTextboxValue(options.text.call(self, option)); self.refreshOptions(true); } diff --git a/dist/js/tom-select.js.map b/dist/js/tom-select.js.map index 3af85cd1..9b9aef2a 100644 --- a/dist/js/tom-select.js.map +++ b/dist/js/tom-select.js.map @@ -1 +1 @@ -{"version":3,"sources":["tom-select.js"],"names":["highlight","element","pattern","length","regex","RegExp","node","skip","nodeType","pos","data","search","match","spannode","document","createElement","className","middlebit","splitText","endbit","middleclone","cloneNode","appendChild","parentNode","replaceChild","childNodes","test","tagName","i","removeHighlight","el","elements","querySelectorAll","Array","prototype","forEach","call","parent","firstChild","normalize","MicroEvent","on","event","fct","_events","push","off","n","arguments","splice","indexOf","trigger","apply","slice","IS_MAC","navigator","userAgent","KEY_A","KEY_COMMA","KEY_RETURN","KEY_ESC","KEY_LEFT","KEY_UP","KEY_RIGHT","KEY_DOWN","KEY_BACKSPACE","KEY_DELETE","KEY_SHIFT","KEY_CTRL","KEY_TAB","KEY_CTRL_NAME","getSettings","input","settings_user","settings","Object","assign","TomSelect","defaults","attr_data","dataAttr","field_label","labelField","field_value","valueField","field_disabled","disabledField","field_optgroup","optgroupField","field_optgroup_label","optgroupLabelField","field_optgroup_value","optgroupValueField","tag_name","toLowerCase","placeholder","getAttribute","allowEmptyOption","option","querySelector","textContent","settings_element","init_select","children","options","optionsMap","readData","dataset","json","JSON","parse","addOption","group","value","hash_key","hasOwnProperty","arr","isArray","option_data","disabled","selected","items","addGroup","optgroup","id","optgroup_data","optgroups","maxItems","hasAttribute","init_textbox","values","data_raw","trim","split","delimiter","isset","object","escape_html","str","replace","escape_replace","debounce_events","self","types","fn","type","event_args","getSelection","start","selectionStart","selectionEnd","getDom","query","jquery","HTMLElement","div","innerHTML","triggerEvent","dom_el","event_name","createEvent","initEvent","dispatchEvent","applyCSS","css","keys","name","style","addClasses","classes","classesArray","castAsArray","classList","add","removeClasses","remove","_classes","concat","filter","Boolean","arg","onEvent","eventName","elementSelector","handler","event_names","_handler","e","target_match","parentMatch","target","delegateTarget","addEventListener","selector","matches","querySelectorEnd","direction","result","getTail","array","isEmptyObject","obj","nodeIndex","amongst","nodeName","previousElementSibling","dir","tomselect","Error","computedStyle","window","getComputedStyle","getPropertyValue","order","tabIndex","is_select_tag","rtl","highlightedValue","isBlurring","isOpen","isDisabled","isRequired","required","isInvalid","isLocked","isFocused","isInputHidden","isSetup","ignoreFocus","ignoreBlur","ignoreHover","hasOptions","currentResults","lastValue","caretPos","loading","loadedSearches","activeOption","activeItems","userOptions","renderCache","load","loadThrottle","loadDebounce","sifter","Sifter","diacritics","setupOptions","mode","hideSelected","createFilter","initializePlugins","plugins","setupCallbacks","setupTemplates","setup","wrapper","control","control_input","dropdown","dropdown_content","inputMode","timeout_blur","timeout_focus","classes_plugins","inputId","wrapperClass","inputClass","append","dropdownClass","dropdownContentClass","dropdownParent","controlInput","attrs","attr","setAttribute","label","copyClassesToDropdown","width","names","join","splitOn","delimiterEscaped","onOptionHover","onOptionSelect","evt","itemClass","onItemSelect","onMouseDown","onClick","stopPropagation","onKeyDown","onKeyUp","onKeyPress","positionDropdown","onBlur","onFocus","onPaste","doc_mousedown","blur","win_scroll","win_hover","_destroy","removeEventListener","revertSettings","tabindex","insertAdjacentElement","setValue","supportsValidity","preventDefault","refreshState","updateOriginalInput","refreshItems","disable","onChange","preload","onSearchChange","validity","registerOption","registerOptionGroup","templates","escape","render","key","callbacks","focus","close","open","setActiveItem","setTimeout","isFull","pastedText","inputValue","splitInput","createItem","character","String","fromCharCode","keyCode","which","create","isInput","isKeyDown","selectAll","next","getAdjacent","setActiveOption","prev","advanceSelection","selectOnTab","deleteSelection","refreshOptions","callback","wasFocused","showInput","openOnFocus","dest","activeElement","deactivate","setCaret","createOnBlur","contains","closeAfterSelect","lastQuery","addItem","getOption","loadingClass","Math","max","delay","timeout","args","clearTimeout","changed","silent","events","clear","addItems","item","begin","end","swap","last","getLastActive","setActiveItemClass","removeActiveItem","hideInput","last_active","idx","scroll","height_menu","height_item","y","clientHeight","scrollTop","offsetHeight","getBoundingClientRect","top","controlChildren","setTextboxValue","opacity","position","left","getScoreFunction","getSearchOptions","sort","sortField","field","fields","searchField","conjunction","searchConjunction","nesting","score","calculateScore","triggerDropdown","j","k","groups","groups_order","html","has_create_option","active","active_before","results","active_before_hash","show_dropdown","maxOptions","min","opt_value","option_el","createDocumentFragment","lockOptgroupOrder","a","b","a_order","$order","b_order","group_options","group_html","tokens","msg","insertBefore","canCreate","active_index","addPrecedence","selectable","clearCache","item_new","value_new","index_item","cache_items","cache_options","order_old","getItem","removeItem","getElementWithValue","type_class","optionClass","all","els","buffer","isPending","wasFull","duplicates","insertAtCaret","persist","removeOption","caret","output","lock","created","unlock","refreshValidityState","toggle","invalid","opts","getValue","visibility","display","context","rect","scrollY","scrollX","offsetTop","offsetLeft","selection","tail","onDelete","pop","adjacent","child","removeAttribute","templateName","regex_tag","key_code","altKey","shiftKey","when","method","new_fn","orig_method","result_new","MicroPlugin","mixin","count","scrollDuration","define","$","sortable","orig_lock","orig_unlock","hook","enable","$control","forcePlaceholderSize","ui","helper","overflow","stop","each","title","headerClass","titleRowClass","labelClass","closeClass","header","test_input","padding","whiteSpace","transfer_styles","style_name","resize","clientWidth","orig_keydown","index","previousSibling","nextSibling","orig_render_item","rendered","close_button","text"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAIA,SAAS,GAAG,mBAASC,OAAT,EAAkBC,OAAlB,EAA2B;AAC1C,MAAI,OAAOA,OAAP,KAAmB,QAAnB,IAA+B,CAACA,OAAO,CAACC,MAA5C,EAAoD;AACpD,MAAIC,KAAK,GAAI,OAAOF,OAAP,KAAmB,QAApB,GAAgC,IAAIG,MAAJ,CAAWH,OAAX,EAAoB,GAApB,CAAhC,GAA2DA,OAAvE;;AAEA,MAAIF,SAAS,GAAG,SAAZA,SAAY,CAASM,IAAT,EAAe;AAC9B,QAAIC,IAAI,GAAG,CAAX,CAD8B,CAE9B;AACA;;AACA,QAAID,IAAI,CAACE,QAAL,KAAkB,CAAtB,EAAyB;AACxB,UAAIC,GAAG,GAAGH,IAAI,CAACI,IAAL,CAAUC,MAAV,CAAiBP,KAAjB,CAAV;;AACA,UAAIK,GAAG,IAAI,CAAP,IAAYH,IAAI,CAACI,IAAL,CAAUP,MAAV,GAAmB,CAAnC,EAAsC;AACrC,YAAIS,KAAK,GAAGN,IAAI,CAACI,IAAL,CAAUE,KAAV,CAAgBR,KAAhB,CAAZ;AACA,YAAIS,QAAQ,GAAGC,QAAQ,CAACC,aAAT,CAAuB,MAAvB,CAAf;AACAF,QAAAA,QAAQ,CAACG,SAAT,GAAqB,WAArB;AACA,YAAIC,SAAS,GAAGX,IAAI,CAACY,SAAL,CAAeT,GAAf,CAAhB;AACA,YA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AAasC,IAAI,CAACrB,KAAL,CAAW8Z,KAAX,CAAb,CAAT;;AACA,YAAIzY,IAAI,CAACgN,eAAL,CAAqBjE,GAArB,CAAJ,EAA+B;AAC9B/I,UAAAA,IAAI,CAACiQ,eAAL,CAAqBvS,OAAO,CAACqb,IAAR,CAAaze,KAAb,CAAmB0F,IAAnB,EAAyB,CAAC5C,MAAD,CAAzB,CAArB;AACA4C,UAAAA,IAAI,CAACiN,cAAL,CAAoB,IAApB;AACA;;AACDlE,QAAAA,GAAG,CAACwB,cAAJ;AACA;AACA;AACD;;AACD,WAAOiO,YAAY,CAACle,KAAb,CAAmB0F,IAAnB,EAAyB9F,SAAzB,CAAP;AACA,GAfD;AAiBA,CA1BD","sourcesContent":["var highlight = function(element, pattern) {\n\tif (typeof pattern === 'string' && !pattern.length) return;\n\tvar regex = (typeof pattern === 'string') ? new RegExp(pattern, 'i') : pattern;\n\n\tvar highlight = function(node) {\n\t\tvar skip = 0;\n\t\t// Wrap matching part of text node with highlighting , e.g.\n\t\t// Soccer -> Soccer for regex = /soc/i\n\t\tif (node.nodeType === 3) {\n\t\t\tvar pos = node.data.search(regex);\n\t\t\tif (pos >= 0 && node.data.length > 0) {\n\t\t\t\tvar match = node.data.match(regex);\n\t\t\t\tvar spannode = document.createElement('span');\n\t\t\t\tspannode.className = 'highlight';\n\t\t\t\tvar middlebit = node.splitText(pos);\n\t\t\t\tvar endbit = middlebit.splitText(match[0].length);\n\t\t\t\tvar middleclone = middlebit.cloneNode(true);\n\t\t\t\tspannode.appendChild(middleclone);\n\t\t\t\tmiddlebit.parentNode.replaceChild(spannode, middlebit);\n\t\t\t\tskip = 1;\n\t\t\t}\n\t\t} \n\t\t// Recurse element node, looking for child text nodes to highlight, unless element \n\t\t// is childless,