tom-select-rails 0.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tom-select-rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.complete.js +882 -310
  4. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.complete.js.map +1 -1
  5. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.js +838 -281
  6. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.js.map +1 -1
  7. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.popular.js +846 -287
  8. data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.popular.js.map +1 -1
  9. data/vendor/assets/javascripts/tom-select-rails/cjs/utils.js +1 -1
  10. data/vendor/assets/javascripts/tom-select-rails/cjs/utils.js.map +1 -1
  11. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/caret_position/plugin.js +9 -5
  12. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/caret_position/plugin.js.map +1 -1
  13. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/change_listener/plugin.js +1 -1
  14. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/change_listener/plugin.js.map +1 -1
  15. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/checkbox_options/plugin.js +18 -11
  16. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/checkbox_options/plugin.js.map +1 -1
  17. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/clear_button/plugin.js +13 -8
  18. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/clear_button/plugin.js.map +1 -1
  19. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/drag_drop/plugin.js +1 -1
  20. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/drag_drop/plugin.js.map +1 -1
  21. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_header/plugin.js +12 -7
  22. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_header/plugin.js.map +1 -1
  23. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_input/plugin.js +15 -9
  24. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_input/plugin.js.map +1 -1
  25. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/input_autogrow/plugin.js +3 -7
  26. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/input_autogrow/plugin.js.map +1 -1
  27. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_active_items/plugin.js +1 -1
  28. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_active_items/plugin.js.map +1 -1
  29. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_backspace_delete/plugin.js +1 -1
  30. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_backspace_delete/plugin.js.map +1 -1
  31. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/optgroup_columns/plugin.js +10 -4
  32. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/optgroup_columns/plugin.js.map +1 -1
  33. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/remove_button/plugin.js +17 -12
  34. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/remove_button/plugin.js.map +1 -1
  35. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/restore_on_backspace/plugin.js +1 -1
  36. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/restore_on_backspace/plugin.js.map +1 -1
  37. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/virtual_scroll/plugin.js +35 -17
  38. data/vendor/assets/javascripts/tom-select-rails/esm/plugins/virtual_scroll/plugin.js.map +1 -1
  39. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.complete.js +882 -310
  40. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.complete.js.map +1 -1
  41. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.js +838 -281
  42. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.js.map +1 -1
  43. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.popular.js +846 -287
  44. data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.popular.js.map +1 -1
  45. data/vendor/assets/javascripts/tom-select-rails/esm/utils.js +1 -1
  46. data/vendor/assets/javascripts/tom-select-rails/esm/utils.js.map +1 -1
  47. data/vendor/assets/javascripts/tom-select-rails/js/plugins/caret_position.js +164 -160
  48. data/vendor/assets/javascripts/tom-select-rails/js/plugins/caret_position.js.map +1 -1
  49. data/vendor/assets/javascripts/tom-select-rails/js/plugins/change_listener.js +1 -1
  50. data/vendor/assets/javascripts/tom-select-rails/js/plugins/change_listener.js.map +1 -1
  51. data/vendor/assets/javascripts/tom-select-rails/js/plugins/checkbox_options.js +18 -11
  52. data/vendor/assets/javascripts/tom-select-rails/js/plugins/checkbox_options.js.map +1 -1
  53. data/vendor/assets/javascripts/tom-select-rails/js/plugins/clear_button.js +94 -89
  54. data/vendor/assets/javascripts/tom-select-rails/js/plugins/clear_button.js.map +1 -1
  55. data/vendor/assets/javascripts/tom-select-rails/js/plugins/drag_drop.js +1 -1
  56. data/vendor/assets/javascripts/tom-select-rails/js/plugins/drag_drop.js.map +1 -1
  57. data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_header.js +121 -116
  58. data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_header.js.map +1 -1
  59. data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_input.js +234 -228
  60. data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_input.js.map +1 -1
  61. data/vendor/assets/javascripts/tom-select-rails/js/plugins/input_autogrow.js +3 -7
  62. data/vendor/assets/javascripts/tom-select-rails/js/plugins/input_autogrow.js.map +1 -1
  63. data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_active_items.js +1 -1
  64. data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_active_items.js.map +1 -1
  65. data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_backspace_delete.js +1 -1
  66. data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_backspace_delete.js.map +1 -1
  67. data/vendor/assets/javascripts/tom-select-rails/js/plugins/optgroup_columns.js +112 -106
  68. data/vendor/assets/javascripts/tom-select-rails/js/plugins/optgroup_columns.js.map +1 -1
  69. data/vendor/assets/javascripts/tom-select-rails/js/plugins/remove_button.js +149 -144
  70. data/vendor/assets/javascripts/tom-select-rails/js/plugins/remove_button.js.map +1 -1
  71. data/vendor/assets/javascripts/tom-select-rails/js/plugins/restore_on_backspace.js +1 -1
  72. data/vendor/assets/javascripts/tom-select-rails/js/plugins/restore_on_backspace.js.map +1 -1
  73. data/vendor/assets/javascripts/tom-select-rails/js/plugins/virtual_scroll.js +277 -259
  74. data/vendor/assets/javascripts/tom-select-rails/js/plugins/virtual_scroll.js.map +1 -1
  75. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.js +838 -281
  76. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.js.map +1 -1
  77. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.min.js +331 -274
  78. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.min.js.map +1 -1
  79. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.js +882 -310
  80. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.js.map +1 -1
  81. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.min.js +281 -221
  82. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.min.js.map +1 -1
  83. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.js +846 -287
  84. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.js.map +1 -1
  85. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.min.js +350 -294
  86. data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.min.js.map +1 -1
  87. data/vendor/assets/javascripts/tom-select-rails/types/tom-select.d.ts +26 -9
  88. data/vendor/assets/javascripts/tom-select-rails/types/types/core.d.ts +2 -1
  89. data/vendor/assets/javascripts/tom-select-rails/types/types/settings.d.ts +19 -22
  90. data/vendor/assets/javascripts/tom-select-rails/types/utils.d.ts +5 -5
  91. data/vendor/assets/javascripts/tom-select-rails/types/vanilla.d.ts +2 -2
  92. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.css +43 -25
  93. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.css.map +1 -1
  94. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.min.css +1 -1
  95. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.min.css.map +1 -1
  96. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.css +63 -40
  97. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.css.map +1 -1
  98. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.min.css +1 -1
  99. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.min.css.map +1 -1
  100. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.css +45 -27
  101. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.css.map +1 -1
  102. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.css +43 -25
  103. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.css.map +1 -1
  104. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.min.css +1 -1
  105. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.min.css.map +1 -1
  106. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.min.css +1 -1
  107. data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.min.css.map +1 -1
  108. data/vendor/assets/stylesheets/tom-select-rails/scss/_dropdown.scss +0 -2
  109. data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/clear_button.scss +12 -5
  110. data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/remove_button.scss +34 -8
  111. data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.bootstrap4.scss +1 -1
  112. data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.bootstrap5.scss +20 -10
  113. data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.default.scss +1 -1
  114. data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.scss +14 -5
  115. metadata +3 -3
@@ -1,2 +1,2 @@
1
- .ts-wrapper.single .ts-control,.ts-wrapper.single .ts-control input{cursor:pointer}.ts-wrapper.plugin-drag_drop.multi>.ts-control>div.ui-sortable-placeholder{background:#f2f2f2!important;background:rgba(0,0,0,.06)!important;border:0!important;box-shadow:inset 0 0 12px 4px #fff;visibility:visible!important}.ts-wrapper.plugin-drag_drop .ui-sortable-placeholder:after{content:"!";visibility:hidden}.ts-wrapper.plugin-drag_drop .ui-sortable-helper{box-shadow:0 2px 5px rgba(0,0,0,.2)}.plugin-checkbox_options .option input{margin-right:.5rem}.plugin-clear_button .ts-control{padding-right:calc(1em + 18px)!important}.plugin-clear_button .clear-button{background:transparent!important;cursor:pointer;margin-right:0!important;opacity:0;position:absolute;right:2px;top:8px;transition:opacity .5s}.plugin-clear_button.single .clear-button{right:calc(2px + 2rem)}.plugin-clear_button.focus.has-items .clear-button,.plugin-clear_button:not(.disabled):hover.has-items .clear-button{opacity:1}.ts-wrapper .dropdown-header{background:#f8f8f8;border-bottom:1px solid #d0d0d0;border-radius:3px 3px 0 0;padding:10px 8px;position:relative}.ts-wrapper .dropdown-header-close{color:#303030;font-size:20px!important;line-height:20px;margin-top:-12px;opacity:.4;position:absolute;right:8px;top:50%}.ts-wrapper .dropdown-header-close:hover{color:#000}.plugin-dropdown_input.focus.dropdown-active .ts-control{border:1px solid #d0d0d0;box-shadow:none}.plugin-dropdown_input .dropdown-input{background:transparent;border:solid #d0d0d0;border-width:0 0 1px;box-shadow:none;display:block;padding:8px;width:100%}.plugin-dropdown_input .items-placeholder{border:0!important;box-shadow:none!important;width:100%}.plugin-dropdown_input.dropdown-active .items-placeholder,.plugin-dropdown_input.has-items .items-placeholder{display:none!important}.ts-wrapper.plugin-input_autogrow.has-items .ts-control>input{min-width:0}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input{flex:none;min-width:4px}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::-webkit-input-placeholder{color:transparent}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::-ms-input-placeholder{color:transparent}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::placeholder{color:transparent}.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-basis:0;flex-grow:1;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-wrapper.plugin-remove_button .item{align-items:center;display:inline-flex;padding-right:0!important}.ts-wrapper.plugin-remove_button .item .remove{border-left:1px solid #d0d0d0;border-radius:0 2px 2px 0;box-sizing:border-box;color:inherit;display:inline-block;margin-left:6px;padding:0 6px;text-decoration:none;vertical-align:middle}.ts-wrapper.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.ts-wrapper.plugin-remove_button .item.active .remove{border-left-color:#cacaca}.ts-wrapper.plugin-remove_button.disabled .item .remove:hover{background:none}.ts-wrapper.plugin-remove_button.disabled .item .remove{border-left-color:#fff}.ts-wrapper.plugin-remove_button .remove-single{font-size:23px;position:absolute;right:0;top:0}.ts-wrapper{position:relative}.ts-control,.ts-control input,.ts-dropdown{font-smoothing:inherit;color:#303030;font-family:inherit;font-size:13px;line-height:18px}.ts-control,.ts-wrapper.single.input-active .ts-control{background:#fff;cursor:text}.ts-control{border:1px solid #d0d0d0;border-radius:3px;box-shadow:none;box-sizing:border-box;display:flex;flex-wrap:wrap;overflow:hidden;padding:8px;position:relative;width:100%;z-index:1}.ts-wrapper.multi.has-items .ts-control{padding:6px 8px 3px}.full .ts-control{background-color:#fff}.disabled .ts-control,.disabled .ts-control *{cursor:default!important}.focus .ts-control{box-shadow:none}.ts-control>*{display:inline-block;vertical-align:baseline}.ts-wrapper.multi .ts-control>div{background:#f2f2f2;border:0 solid #d0d0d0;color:#303030;cursor:pointer;margin:0 3px 3px 0;padding:2px 6px}.ts-wrapper.multi .ts-control>div.active{background:#e8e8e8;border:0 solid #cacaca;color:#303030}.ts-wrapper.multi.disabled .ts-control>div,.ts-wrapper.multi.disabled .ts-control>div.active{background:#fff;border:0 solid #fff;color:#7d7d7d}.ts-control>input{background:none!important;border:0!important;box-shadow:none!important;display:inline-block!important;flex:1 1 auto;line-height:inherit!important;margin:0!important;max-height:none!important;max-width:100%!important;min-height:0!important;min-width:7rem;padding:0!important;text-indent:0!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.ts-control>input::-ms-clear{display:none}.ts-control>input:focus{outline:none!important}.has-items .ts-control>input{margin:0 4px!important}.ts-control.rtl{text-align:right}.ts-control.rtl.single .ts-control:after{left:15px;right:auto}.ts-control.rtl .ts-control>input{margin:0 4px 0 -2px!important}.disabled .ts-control{background-color:#fafafa;opacity:.5}.input-hidden .ts-control>input{left:-10000px;opacity:0;position:absolute}.ts-dropdown{background:#fff;border:1px solid #d0d0d0;border-radius:0 0 3px 3px;border-top:0;box-shadow:0 1px 3px rgba(0,0,0,.1);box-sizing:border-box;left:0;margin:.25rem 0 0;position:absolute;top:100%;width:100%;z-index:10}.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{cursor:pointer;opacity:1}.ts-dropdown .optgroup:first-child .optgroup-header{border-top:0}.ts-dropdown .optgroup-header{background:#fff;color:#303030;cursor:default}.ts-dropdown .active,.ts-dropdown .create:hover,.ts-dropdown .option:hover{background-color:#f5fafd;color:#495c68}.ts-dropdown .active.create,.ts-dropdown .create:hover.create,.ts-dropdown .option:hover.create{color:#495c68}.ts-dropdown .create{color:rgba(48,48,48,.5)}.ts-dropdown .spinner{display:inline-block;height:30px;margin:5px 8px;width:30px}.ts-dropdown .spinner:after{animation:lds-dual-ring 1.2s linear infinite;border-color:#d0d0d0 transparent;border-radius:50%;border-style:solid;border-width:5px;content:" ";display:block;height:24px;margin:3px;width:24px}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ts-dropdown-content{overflow-scrolling:touch;max-height:200px;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth}.ts-hidden-accessible{clip:rect(0 0 0 0)!important;border:0!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}
1
+ :root{--ts-pr-clear-button:0;--ts-pr-caret:0;--ts-pr-min:.75rem}.ts-wrapper.single .ts-control,.ts-wrapper.single .ts-control input{cursor:pointer}.ts-control{padding-right:max(var(--ts-pr-min),var(--ts-pr-clear-button) + var(--ts-pr-caret))!important}.ts-wrapper.plugin-drag_drop.multi>.ts-control>div.ui-sortable-placeholder{background:#f2f2f2!important;background:rgba(0,0,0,.06)!important;border:0!important;box-shadow:inset 0 0 12px 4px #fff;visibility:visible!important}.ts-wrapper.plugin-drag_drop .ui-sortable-placeholder:after{content:"!";visibility:hidden}.ts-wrapper.plugin-drag_drop .ui-sortable-helper{box-shadow:0 2px 5px rgba(0,0,0,.2)}.plugin-checkbox_options .option input{margin-right:.5rem}.plugin-clear_button{--ts-pr-clear-button:1em}.plugin-clear_button .clear-button{background:transparent!important;cursor:pointer;margin-right:0!important;opacity:0;position:absolute;right:2px;top:50%;transform:translateY(-50%);transition:opacity .5s}.plugin-clear_button.form-select .clear-button,.plugin-clear_button.single .clear-button{right:max(var(--ts-pr-caret),8px)}.plugin-clear_button.focus.has-items .clear-button,.plugin-clear_button:not(.disabled):hover.has-items .clear-button{opacity:1}.ts-wrapper .dropdown-header{background:#f8f8f8;border-bottom:1px solid #d0d0d0;border-radius:3px 3px 0 0;padding:10px 8px;position:relative}.ts-wrapper .dropdown-header-close{color:#303030;font-size:20px!important;line-height:20px;margin-top:-12px;opacity:.4;position:absolute;right:8px;top:50%}.ts-wrapper .dropdown-header-close:hover{color:#000}.plugin-dropdown_input.focus.dropdown-active .ts-control{border:1px solid #d0d0d0;box-shadow:none}.plugin-dropdown_input .dropdown-input{background:transparent;border:solid #d0d0d0;border-width:0 0 1px;box-shadow:none;display:block;padding:8px;width:100%}.plugin-dropdown_input .items-placeholder{border:0!important;box-shadow:none!important;width:100%}.plugin-dropdown_input.dropdown-active .items-placeholder,.plugin-dropdown_input.has-items .items-placeholder{display:none!important}.ts-wrapper.plugin-input_autogrow.has-items .ts-control>input{min-width:0}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input{flex:none;min-width:4px}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::-ms-input-placeholder{color:transparent}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::placeholder{color:transparent}.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-basis:0;flex-grow:1;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-wrapper.plugin-remove_button .item{align-items:center;display:inline-flex;padding-right:0!important}.ts-wrapper.plugin-remove_button .item .remove{border-radius:0 2px 2px 0;box-sizing:border-box;color:inherit;display:inline-block;padding:0 6px;text-decoration:none;vertical-align:middle}.ts-wrapper.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.ts-wrapper.plugin-remove_button.disabled .item .remove:hover{background:none}.ts-wrapper.plugin-remove_button .remove-single{font-size:23px;position:absolute;right:0;top:0}.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove{border-left:1px solid #d0d0d0;margin-left:6px}.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove{border-left-color:#cacaca}.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove{border-left-color:#fff}.ts-wrapper.plugin-remove_button.rtl .item .remove{border-right:1px solid #d0d0d0;margin-right:6px}.ts-wrapper.plugin-remove_button.rtl .item.active .remove{border-right-color:#cacaca}.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove{border-right-color:#fff}.ts-wrapper{position:relative}.ts-control,.ts-control input,.ts-dropdown{font-smoothing:inherit;color:#303030;font-family:inherit;font-size:13px;line-height:18px}.ts-control,.ts-wrapper.single.input-active .ts-control{background:#fff;cursor:text}.ts-control{border:1px solid #d0d0d0;border-radius:3px;box-shadow:none;box-sizing:border-box;display:flex;flex-wrap:wrap;overflow:hidden;padding:8px;position:relative;width:100%;z-index:1}.ts-wrapper.multi.has-items .ts-control{padding:6px 8px 3px}.full .ts-control{background-color:#fff}.disabled .ts-control,.disabled .ts-control *{cursor:default!important}.focus .ts-control{box-shadow:none}.ts-control>*{display:inline-block;vertical-align:baseline}.ts-wrapper.multi .ts-control>div{background:#f2f2f2;border:0 solid #d0d0d0;color:#303030;cursor:pointer;margin:0 3px 3px 0;padding:2px 6px}.ts-wrapper.multi .ts-control>div.active{background:#e8e8e8;border:0 solid #cacaca;color:#303030}.ts-wrapper.multi.disabled .ts-control>div,.ts-wrapper.multi.disabled .ts-control>div.active{background:#fff;border:0 solid #fff;color:#7d7d7d}.ts-control>input{background:none!important;border:0!important;box-shadow:none!important;display:inline-block!important;flex:1 1 auto;line-height:inherit!important;margin:0!important;max-height:none!important;max-width:100%!important;min-height:0!important;min-width:7rem;padding:0!important;text-indent:0!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.ts-control>input::-ms-clear{display:none}.ts-control>input:focus{outline:none!important}.has-items .ts-control>input{margin:0 4px!important}.ts-control.rtl{text-align:right}.ts-control.rtl.single .ts-control:after{left:15px;right:auto}.ts-control.rtl .ts-control>input{margin:0 4px 0 -2px!important}.disabled .ts-control{background-color:#fafafa;opacity:.5}.input-hidden .ts-control>input{left:-10000px;opacity:0;position:absolute}.ts-dropdown{background:#fff;border:1px solid #d0d0d0;border-radius:0 0 3px 3px;border-top:0;box-shadow:0 1px 3px rgba(0,0,0,.1);box-sizing:border-box;left:0;margin:.25rem 0 0;position:absolute;top:100%;width:100%;z-index:10}.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{cursor:pointer;opacity:1}.ts-dropdown .optgroup:first-child .optgroup-header{border-top:0}.ts-dropdown .optgroup-header{background:#fff;color:#303030;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 .spinner{display:inline-block;height:30px;margin:5px 8px;width:30px}.ts-dropdown .spinner:after{animation:lds-dual-ring 1.2s linear infinite;border-color:#d0d0d0 transparent;border-radius:50%;border-style:solid;border-width:5px;content:" ";display:block;height:24px;margin:3px;width:24px}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ts-dropdown-content{overflow-scrolling:touch;max-height:200px;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth}.ts-hidden-accessible{clip:rect(0 0 0 0)!important;border:0!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}
2
2
  /*# sourceMappingURL=tom-select.min.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["tom-select.css"],"names":[],"mappings":"AAcA,oEACE,cACF,CAEA,2EAEE,4BAA8B,CAC9B,oCAA0C,CAC1C,kBAAyB,CACzB,kCAAmC,CAJnC,4BAKF,CACA,4DACE,WAAY,CACZ,iBACF,CACA,iDACE,mCACF,CAEA,uCACE,kBACF,CAEA,iCACE,wCACF,CACA,mCAME,gCAAkC,CAElC,cAAe,CAHf,wBAA0B,CAJ1B,SAAU,CACV,iBAAkB,CAElB,SAAsB,CADtB,OAAQ,CAIR,sBAEF,CACA,0CACE,sBACF,CACA,qHACE,SACF,CAEA,6BAIE,kBAAmB,CADnB,+BAAgC,CAEhC,yBAA0B,CAH1B,gBAAiB,CADjB,iBAKF,CACA,mCAIE,aAAc,CAId,wBAA0B,CAD1B,gBAAiB,CADjB,gBAAiB,CADjB,UAAY,CAJZ,iBAAkB,CAClB,SAAU,CACV,OAMF,CACA,yCACE,UACF,CAEA,yDAEE,wBAAyB,CADzB,eAEF,CACA,uCAOE,sBAAuB,CALvB,oBAAuB,CAAvB,oBAAuB,CAGvB,eAAgB,CAFhB,aAAc,CACd,WAAgB,CAEhB,UAEF,CACA,0CACE,kBAAyB,CACzB,yBAA2B,CAC3B,UACF,CACA,8GACE,sBACF,CAEA,8DACE,WACF,CACA,oEACE,SAAU,CACV,aACF,CACA,+FACE,iBACF,CAFA,2FACE,iBACF,CAFA,iFACE,iBACF,CAEA,0DACE,YACF,CACA,+CACE,8BAA+B,CAC/B,YAAkB,CAElB,YAAa,CADb,WAAY,CAEZ,WACF,CACA,0DACE,cACF,CACA,sDACE,YACF,CACA,sDACE,YACF,CAEA,uCAEE,kBAAmB,CADnB,mBAAoB,CAEpB,yBACF,CACA,+CAME,6BAA8B,CAC9B,yBAA0B,CAC1B,qBAAsB,CAPtB,aAAc,CAGd,oBAAqB,CAKrB,eAAgB,CAJhB,aAAc,CAHd,oBAAqB,CACrB,qBAOF,CACA,qDACE,0BACF,CACA,sDACE,yBACF,CACA,8DACE,eACF,CACA,wDACE,sBACF,CACA,gDAIE,cAAe,CAHf,iBAAkB,CAClB,OAAQ,CACR,KAEF,CAEA,YACE,iBACF,CAEA,2CAOE,sBAAuB,CAJvB,aAAc,CACd,mBAAoB,CACpB,cAAe,CACf,gBAEF,CAEA,wDAEE,eAAgB,CAChB,WACF,CAEA,YACE,wBAAyB,CAQzB,iBAAkB,CADlB,eAAgB,CADhB,qBAAsB,CAGtB,YAAa,CACb,cAAe,CAPf,eAAgB,CAFhB,WAAgB,CAGhB,iBAAkB,CAFlB,UAAW,CAGX,SAMF,CACA,wCACE,mBACF,CACA,kBACE,qBACF,CACA,8CACE,wBACF,CACA,mBACE,eACF,CACA,cAEE,oBAAqB,CADrB,uBAEF,CACA,kCAIE,kBAAmB,CAEnB,sBAAuB,CADvB,aAAc,CAJd,cAAe,CACf,kBAAmB,CACnB,eAIF,CACA,yCACE,kBAAmB,CAEnB,sBAAuB,CADvB,aAEF,CACA,6FAEE,eAAiB,CACjB,mBAAqB,CAFrB,aAGF,CACA,kBAWE,yBAA2B,CAD3B,kBAAyB,CAIzB,yBAA2B,CAX3B,8BAAgC,CAFhC,aAAc,CAWd,6BAA+B,CAJ/B,kBAAoB,CAFpB,yBAA2B,CAC3B,wBAA0B,CAF1B,sBAAwB,CAHxB,cAAe,CAEf,mBAAqB,CAKrB,uBAAyB,CAIzB,kCAA4B,CAA5B,+BAA4B,CAA5B,8BAA4B,CAA5B,0BAEF,CACA,6BACE,YACF,CACA,wBACE,sBACF,CACA,6BACE,sBACF,CACA,gBACE,gBACF,CACA,yCACE,SAAU,CACV,UACF,CACA,kCACE,6BACF,CACA,sBAEE,wBAAyB,CADzB,UAEF,CACA,gCAGE,aAAc,CAFd,SAAU,CACV,iBAEF,CAEA,aAOE,eAAgB,CAEhB,wBAAkB,CAGlB,yBAA0B,CAH1B,YAAkB,CAElB,mCAAwC,CADxC,qBAAsB,CAPtB,MAAO,CAKP,iBAAqB,CAPrB,iBAAkB,CAClB,QAAS,CAET,UAAW,CACX,UAQF,CACA,+BACE,cAAe,CACf,eACF,CACA,0CACE,+BAAoC,CACpC,iBACF,CACA,iGAIE,eACF,CACA,wGACE,cAAe,CACf,UACF,CACA,sCAEE,cAAe,CADf,SAEF,CACA,oDACE,YACF,CACA,8BAEE,eAAgB,CADhB,aAAc,CAEd,cACF,CACA,2EAGE,wBAAyB,CACzB,aACF,CACA,gGAGE,aACF,CACA,qBACE,uBACF,CACA,sBACE,oBAAqB,CAErB,WAAY,CACZ,cAAe,CAFf,UAGF,CACA,4BASE,4CAA6C,CAD7C,gCAAqD,CAFrD,iBAAkB,CAElB,kBAAqD,CAArD,gBAAqD,CAPrD,WAAY,CACZ,aAAc,CAEd,WAAY,CACZ,UAAW,CAFX,UAOF,CACA,yBACE,GACE,sBACF,CACA,GACE,uBACF,CACF,CAEA,qBAIE,wBAAyB,CADzB,gBAAiB,CADjB,iBAAkB,CADlB,eAAgB,CAIhB,sBACF,CAEA,sBAEE,4BAA8B,CAD9B,kBAAoB,CAEpB,sCAAgC,CAAhC,8BAAgC,CAChC,yBAA2B,CAC3B,mBAAqB,CACrB,2BAA6B,CAE7B,4BAA8B,CAD9B,mBAEF","file":"tom-select.min.css","sourcesContent":["/**\n * tom-select.css (v//@@version)\n * Copyright (c) contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this\n * file except in compliance with the License. You may obtain a copy of the License at:\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF\n * ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n *\n */\n.ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {\n cursor: pointer;\n}\n\n.ts-wrapper.plugin-drag_drop.multi > .ts-control > div.ui-sortable-placeholder {\n visibility: visible !important;\n background: #f2f2f2 !important;\n background: rgba(0, 0, 0, 0.06) !important;\n border: 0 none !important;\n box-shadow: inset 0 0 12px 4px #fff;\n}\n.ts-wrapper.plugin-drag_drop .ui-sortable-placeholder::after {\n content: \"!\";\n visibility: hidden;\n}\n.ts-wrapper.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.plugin-checkbox_options .option input {\n margin-right: 0.5rem;\n}\n\n.plugin-clear_button .ts-control {\n padding-right: calc(1em + (3 * 6px)) !important;\n}\n.plugin-clear_button .clear-button {\n opacity: 0;\n position: absolute;\n top: 8px;\n right: calc(8px - 6px);\n margin-right: 0 !important;\n background: transparent !important;\n transition: opacity 0.5s;\n cursor: pointer;\n}\n.plugin-clear_button.single .clear-button {\n right: calc(8px - 6px + 2rem);\n}\n.plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button {\n opacity: 1;\n}\n\n.ts-wrapper .dropdown-header {\n position: relative;\n padding: 10px 8px;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 3px 3px 0 0;\n}\n.ts-wrapper .dropdown-header-close {\n position: absolute;\n right: 8px;\n top: 50%;\n color: #303030;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.ts-wrapper .dropdown-header-close:hover {\n color: black;\n}\n\n.plugin-dropdown_input.focus.dropdown-active .ts-control {\n box-shadow: none;\n border: 1px solid #d0d0d0;\n}\n.plugin-dropdown_input .dropdown-input {\n border: 1px solid #d0d0d0;\n border-width: 0 0 1px 0;\n display: block;\n padding: 8px 8px;\n box-shadow: none;\n width: 100%;\n background: transparent;\n}\n.plugin-dropdown_input .items-placeholder {\n border: 0 none !important;\n box-shadow: none !important;\n width: 100%;\n}\n.plugin-dropdown_input.has-items .items-placeholder, .plugin-dropdown_input.dropdown-active .items-placeholder {\n display: none !important;\n}\n\n.ts-wrapper.plugin-input_autogrow.has-items .ts-control > input {\n min-width: 0;\n}\n.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input {\n flex: none;\n min-width: 4px;\n}\n.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::placeholder {\n color: transparent;\n}\n\n.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {\n display: flex;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup {\n border-right: 1px solid #f2f2f2;\n border-top: 0 none;\n flex-grow: 1;\n flex-basis: 0;\n min-width: 0;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.ts-wrapper.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-wrapper.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 0 6px;\n border-left: 1px solid #d0d0d0;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n margin-left: 6px;\n}\n.ts-wrapper.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-wrapper.plugin-remove_button .item.active .remove {\n border-left-color: #cacaca;\n}\n.ts-wrapper.plugin-remove_button.disabled .item .remove:hover {\n background: none;\n}\n.ts-wrapper.plugin-remove_button.disabled .item .remove {\n border-left-color: white;\n}\n.ts-wrapper.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-wrapper {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-control,\n.ts-control input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.ts-control,\n.ts-wrapper.single.input-active .ts-control {\n background: #fff;\n cursor: text;\n}\n\n.ts-control {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n width: 100%;\n overflow: hidden;\n position: relative;\n z-index: 1;\n box-sizing: border-box;\n box-shadow: none;\n border-radius: 3px;\n display: flex;\n flex-wrap: wrap;\n}\n.ts-wrapper.multi.has-items .ts-control {\n padding: calc( 8px - 2px - 0) 8px calc( 8px - 2px - 3px - 0);\n}\n.full .ts-control {\n background-color: #fff;\n}\n.disabled .ts-control, .disabled .ts-control * {\n cursor: default !important;\n}\n.focus .ts-control {\n box-shadow: none;\n}\n.ts-control > * {\n vertical-align: baseline;\n display: inline-block;\n}\n.ts-wrapper.multi .ts-control > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 2px 6px;\n background: #f2f2f2;\n color: #303030;\n border: 0 solid #d0d0d0;\n}\n.ts-wrapper.multi .ts-control > div.active {\n background: #e8e8e8;\n color: #303030;\n border: 0 solid #cacaca;\n}\n.ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {\n color: #7d7d7d;\n background: white;\n border: 0 solid white;\n}\n.ts-control > input {\n flex: 1 1 auto;\n min-width: 7rem;\n display: inline-block !important;\n padding: 0 !important;\n min-height: 0 !important;\n max-height: none !important;\n max-width: 100% !important;\n margin: 0 !important;\n text-indent: 0 !important;\n border: 0 none !important;\n background: none !important;\n line-height: inherit !important;\n user-select: auto !important;\n box-shadow: none !important;\n}\n.ts-control > input::-ms-clear {\n display: none;\n}\n.ts-control > input:focus {\n outline: none !important;\n}\n.has-items .ts-control > input {\n margin: 0 4px !important;\n}\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-control:after {\n left: 15px;\n right: auto;\n}\n.ts-control.rtl .ts-control > input {\n margin: 0 4px 0 -2px !important;\n}\n.disabled .ts-control {\n opacity: 0.5;\n background-color: #fafafa;\n}\n.input-hidden .ts-control > input {\n opacity: 0;\n position: absolute;\n left: -10000px;\n}\n\n.ts-dropdown {\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: 0.25rem 0 0 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 .create:hover,\n.ts-dropdown .option:hover,\n.ts-dropdown .active {\n background-color: #f5fafd;\n color: #495c68;\n}\n.ts-dropdown .create:hover.create,\n.ts-dropdown .option:hover.create,\n.ts-dropdown .active.create {\n color: #495c68;\n}\n.ts-dropdown .create {\n color: rgba(48, 48, 48, 0.5);\n}\n.ts-dropdown .spinner {\n display: inline-block;\n width: 30px;\n height: 30px;\n margin: 5px 8px;\n}\n.ts-dropdown .spinner:after {\n content: \" \";\n display: block;\n width: 24px;\n height: 24px;\n margin: 3px;\n border-radius: 50%;\n border: 5px solid #d0d0d0;\n border-color: #d0d0d0 transparent #d0d0d0 transparent;\n animation: lds-dual-ring 1.2s linear infinite;\n}\n@keyframes lds-dual-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n scroll-behavior: smooth;\n}\n\n.ts-hidden-accessible {\n border: 0 !important;\n clip: rect(0 0 0 0) !important;\n clip-path: inset(50%) !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important;\n white-space: nowrap !important;\n}"]}
1
+ {"version":3,"sources":["tom-select.css"],"names":[],"mappings":"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","file":"tom-select.min.css","sourcesContent":["/**\n * tom-select.css (v//@@version)\n * Copyright (c) contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this\n * file except in compliance with the License. You may obtain a copy of the License at:\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF\n * ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n *\n */\n:root {\n --ts-pr-clear-button:\t0;\n --ts-pr-caret:\t0;\n --ts-pr-min:\t.75rem;\n}\n\n.ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {\n cursor: pointer;\n}\n\n.ts-control {\n padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;\n}\n\n.ts-wrapper.plugin-drag_drop.multi > .ts-control > div.ui-sortable-placeholder {\n visibility: visible !important;\n background: #f2f2f2 !important;\n background: rgba(0, 0, 0, 0.06) !important;\n border: 0 none !important;\n box-shadow: inset 0 0 12px 4px #fff;\n}\n.ts-wrapper.plugin-drag_drop .ui-sortable-placeholder::after {\n content: \"!\";\n visibility: hidden;\n}\n.ts-wrapper.plugin-drag_drop .ui-sortable-helper {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.plugin-checkbox_options .option input {\n margin-right: 0.5rem;\n}\n\n.plugin-clear_button {\n --ts-pr-clear-button: 1em;\n}\n.plugin-clear_button .clear-button {\n opacity: 0;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: calc(8px - 6px);\n margin-right: 0 !important;\n background: transparent !important;\n transition: opacity 0.5s;\n cursor: pointer;\n}\n.plugin-clear_button.form-select .clear-button, .plugin-clear_button.single .clear-button {\n right: max( var(--ts-pr-caret), 8px);\n}\n.plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button {\n opacity: 1;\n}\n\n.ts-wrapper .dropdown-header {\n position: relative;\n padding: 10px 8px;\n border-bottom: 1px solid #d0d0d0;\n background: #f8f8f8;\n border-radius: 3px 3px 0 0;\n}\n.ts-wrapper .dropdown-header-close {\n position: absolute;\n right: 8px;\n top: 50%;\n color: #303030;\n opacity: 0.4;\n margin-top: -12px;\n line-height: 20px;\n font-size: 20px !important;\n}\n.ts-wrapper .dropdown-header-close:hover {\n color: black;\n}\n\n.plugin-dropdown_input.focus.dropdown-active .ts-control {\n box-shadow: none;\n border: 1px solid #d0d0d0;\n}\n.plugin-dropdown_input .dropdown-input {\n border: 1px solid #d0d0d0;\n border-width: 0 0 1px 0;\n display: block;\n padding: 8px 8px;\n box-shadow: none;\n width: 100%;\n background: transparent;\n}\n.plugin-dropdown_input .items-placeholder {\n border: 0 none !important;\n box-shadow: none !important;\n width: 100%;\n}\n.plugin-dropdown_input.has-items .items-placeholder, .plugin-dropdown_input.dropdown-active .items-placeholder {\n display: none !important;\n}\n\n.ts-wrapper.plugin-input_autogrow.has-items .ts-control > input {\n min-width: 0;\n}\n.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input {\n flex: none;\n min-width: 4px;\n}\n.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::placeholder {\n color: transparent;\n}\n\n.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {\n display: flex;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup {\n border-right: 1px solid #f2f2f2;\n border-top: 0 none;\n flex-grow: 1;\n flex-basis: 0;\n min-width: 0;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup:last-child {\n border-right: 0 none;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup:before {\n display: none;\n}\n.ts-dropdown.plugin-optgroup_columns .optgroup-header {\n border-top: 0 none;\n}\n\n.ts-wrapper.plugin-remove_button .item {\n display: inline-flex;\n align-items: center;\n padding-right: 0 !important;\n}\n.ts-wrapper.plugin-remove_button .item .remove {\n color: inherit;\n text-decoration: none;\n vertical-align: middle;\n display: inline-block;\n padding: 0 6px;\n border-radius: 0 2px 2px 0;\n box-sizing: border-box;\n}\n.ts-wrapper.plugin-remove_button .item .remove:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.ts-wrapper.plugin-remove_button.disabled .item .remove:hover {\n background: none;\n}\n.ts-wrapper.plugin-remove_button .remove-single {\n position: absolute;\n right: 0;\n top: 0;\n font-size: 23px;\n}\n\n.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {\n border-left: 1px solid #d0d0d0;\n margin-left: 6px;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove {\n border-left-color: #cacaca;\n}\n.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove {\n border-left-color: white;\n}\n\n.ts-wrapper.plugin-remove_button.rtl .item .remove {\n border-right: 1px solid #d0d0d0;\n margin-right: 6px;\n}\n.ts-wrapper.plugin-remove_button.rtl .item.active .remove {\n border-right-color: #cacaca;\n}\n.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove {\n border-right-color: white;\n}\n\n.ts-wrapper {\n position: relative;\n}\n\n.ts-dropdown,\n.ts-control,\n.ts-control input {\n color: #303030;\n font-family: inherit;\n font-size: 13px;\n line-height: 18px;\n font-smoothing: inherit;\n}\n\n.ts-control,\n.ts-wrapper.single.input-active .ts-control {\n background: #fff;\n cursor: text;\n}\n\n.ts-control {\n border: 1px solid #d0d0d0;\n padding: 8px 8px;\n width: 100%;\n overflow: hidden;\n position: relative;\n z-index: 1;\n box-sizing: border-box;\n box-shadow: none;\n border-radius: 3px;\n display: flex;\n flex-wrap: wrap;\n}\n.ts-wrapper.multi.has-items .ts-control {\n padding: calc( 8px - 2px - 0px) 8px calc( 8px - 2px - 3px - 0px);\n}\n.full .ts-control {\n background-color: #fff;\n}\n.disabled .ts-control, .disabled .ts-control * {\n cursor: default !important;\n}\n.focus .ts-control {\n box-shadow: none;\n}\n.ts-control > * {\n vertical-align: baseline;\n display: inline-block;\n}\n.ts-wrapper.multi .ts-control > div {\n cursor: pointer;\n margin: 0 3px 3px 0;\n padding: 2px 6px;\n background: #f2f2f2;\n color: #303030;\n border: 0px solid #d0d0d0;\n}\n.ts-wrapper.multi .ts-control > div.active {\n background: #e8e8e8;\n color: #303030;\n border: 0px solid #cacaca;\n}\n.ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {\n color: #7d7d7d;\n background: white;\n border: 0px solid white;\n}\n.ts-control > input {\n flex: 1 1 auto;\n min-width: 7rem;\n display: inline-block !important;\n padding: 0 !important;\n min-height: 0 !important;\n max-height: none !important;\n max-width: 100% !important;\n margin: 0 !important;\n text-indent: 0 !important;\n border: 0 none !important;\n background: none !important;\n line-height: inherit !important;\n user-select: auto !important;\n box-shadow: none !important;\n}\n.ts-control > input::-ms-clear {\n display: none;\n}\n.ts-control > input:focus {\n outline: none !important;\n}\n.has-items .ts-control > input {\n margin: 0px 4px !important;\n}\n.ts-control.rtl {\n text-align: right;\n}\n.ts-control.rtl.single .ts-control:after {\n left: 15px;\n right: auto;\n}\n.ts-control.rtl .ts-control > input {\n margin: 0px 4px 0px -2px !important;\n}\n.disabled .ts-control {\n opacity: 0.5;\n background-color: #fafafa;\n}\n.input-hidden .ts-control > input {\n opacity: 0;\n position: absolute;\n left: -10000px;\n}\n\n.ts-dropdown {\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n z-index: 10;\n border: 1px solid #d0d0d0;\n background: #fff;\n margin: 0.25rem 0 0 0;\n border-top: 0 none;\n box-sizing: border-box;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n border-radius: 0 0 3px 3px;\n}\n.ts-dropdown [data-selectable] {\n cursor: pointer;\n overflow: hidden;\n}\n.ts-dropdown [data-selectable] .highlight {\n background: rgba(125, 168, 208, 0.2);\n border-radius: 1px;\n}\n.ts-dropdown .option,\n.ts-dropdown .optgroup-header,\n.ts-dropdown .no-results,\n.ts-dropdown .create {\n padding: 5px 8px;\n}\n.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {\n cursor: inherit;\n opacity: 0.5;\n}\n.ts-dropdown [data-selectable].option {\n opacity: 1;\n cursor: pointer;\n}\n.ts-dropdown .optgroup:first-child .optgroup-header {\n border-top: 0 none;\n}\n.ts-dropdown .optgroup-header {\n color: #303030;\n background: #fff;\n cursor: default;\n}\n.ts-dropdown .active {\n background-color: #f5fafd;\n color: #495c68;\n}\n.ts-dropdown .active.create {\n color: #495c68;\n}\n.ts-dropdown .create {\n color: rgba(48, 48, 48, 0.5);\n}\n.ts-dropdown .spinner {\n display: inline-block;\n width: 30px;\n height: 30px;\n margin: 5px 8px;\n}\n.ts-dropdown .spinner:after {\n content: \" \";\n display: block;\n width: 24px;\n height: 24px;\n margin: 3px;\n border-radius: 50%;\n border: 5px solid #d0d0d0;\n border-color: #d0d0d0 transparent #d0d0d0 transparent;\n animation: lds-dual-ring 1.2s linear infinite;\n}\n@keyframes lds-dual-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.ts-dropdown-content {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 200px;\n overflow-scrolling: touch;\n scroll-behavior: smooth;\n}\n\n.ts-hidden-accessible {\n border: 0 !important;\n clip: rect(0 0 0 0) !important;\n clip-path: inset(50%) !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important;\n white-space: nowrap !important;\n}"]}
@@ -52,8 +52,6 @@
52
52
  cursor: default;
53
53
  }
54
54
 
55
- .create:hover,
56
- .option:hover,
57
55
  .active {
58
56
  background-color: $select-color-dropdown-item-active;
59
57
  color: $select-color-dropdown-item-active-text;
@@ -1,14 +1,14 @@
1
1
 
2
2
  .plugin-clear_button{
3
3
 
4
- .#{$select-ns}-control{
5
- padding-right: calc( 1em + (3 * #{$select-padding-item-x}) ) !important;
6
- }
4
+ --ts-pr-clear-button: 1em;
5
+
7
6
 
8
7
  .clear-button{
9
8
  opacity: 0;
10
9
  position: absolute;
11
- top: $select-padding-y;
10
+ top: 50%;
11
+ transform: translateY(-50%);
12
12
  right: calc(#{$select-padding-x} - #{$select-padding-item-x});
13
13
  margin-right: 0 !important;
14
14
  background: transparent !important;
@@ -16,8 +16,15 @@
16
16
  cursor: pointer;
17
17
  }
18
18
 
19
+ &.form-select .clear-button,
19
20
  &.single .clear-button{
20
- right: calc(#{$select-padding-x} - #{$select-padding-item-x} + 2rem);
21
+
22
+ @if variable-exists(select-padding-dropdown-item-x) {
23
+ right: max( var(--ts-pr-caret), #{$select-padding-dropdown-item-x});
24
+ }
25
+ @else{
26
+ right: max( var(--ts-pr-caret), calc(#{$select-padding-x} - #{$select-padding-item-x}) );
27
+ }
21
28
  }
22
29
 
23
30
  &.focus.has-items .clear-button,
@@ -12,27 +12,19 @@
12
12
  vertical-align: middle;
13
13
  display: inline-block;
14
14
  padding: 0 $select-padding-item-x;
15
- border-left: 1px solid $select-color-item-border;
16
15
  border-radius: 0 2px 2px 0;
17
16
  box-sizing: border-box;
18
- margin-left: $select-padding-item-x;
19
17
  }
20
18
 
21
19
  .item .remove:hover {
22
20
  background: rgba(0,0,0,0.05);
23
21
  }
24
22
 
25
- .item.active .remove {
26
- border-left-color: $select-color-item-active-border;
27
- }
28
23
 
29
24
  &.disabled .item .remove:hover {
30
25
  background: none;
31
26
  }
32
27
 
33
- &.disabled .item .remove {
34
- border-left-color: lighten(desaturate($select-color-item-border, 100%), $select-lighten-disabled-item-border);
35
- }
36
28
 
37
29
  .remove-single {
38
30
  position: absolute;
@@ -42,3 +34,37 @@
42
34
  }
43
35
 
44
36
  }
37
+
38
+ .#{$select-ns}-wrapper.plugin-remove_button:not(.rtl){
39
+
40
+ .item .remove {
41
+ border-left: 1px solid $select-color-item-border;
42
+ margin-left: $select-padding-item-x;
43
+ }
44
+
45
+ .item.active .remove {
46
+ border-left-color: $select-color-item-active-border;
47
+ }
48
+
49
+ &.disabled .item .remove {
50
+ border-left-color: lighten(desaturate($select-color-item-border, 100%), $select-lighten-disabled-item-border);
51
+ }
52
+
53
+ }
54
+
55
+ .#{$select-ns}-wrapper.plugin-remove_button.rtl {
56
+
57
+ .item .remove {
58
+ border-right: 1px solid $select-color-item-border;
59
+ margin-right: $select-padding-item-x;
60
+ }
61
+
62
+ .item.active .remove {
63
+ border-right-color: $select-color-item-active-border;
64
+ }
65
+
66
+ &.disabled .item .remove {
67
+ border-right-color: lighten(desaturate($select-color-item-border, 100%), $select-lighten-disabled-item-border);
68
+ }
69
+
70
+ }
@@ -175,7 +175,7 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
175
175
  &.multi {
176
176
  &.has-items .#{$select-ns}-control {
177
177
  padding-left: calc(#{$select-padding-x} - #{$select-padding-item-x});
178
- padding-right: calc(#{$select-padding-x} - #{$select-padding-item-x});
178
+ --ts-pr-min: calc(#{$select-padding-x} - #{$select-padding-item-x});
179
179
  }
180
180
  .#{$select-ns}-control > div {
181
181
  border-radius: calc(#{$select-border-radius} - 1px);
@@ -180,7 +180,6 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
180
180
  min-height: $input-height-sm;
181
181
 
182
182
  .#{$select-ns}-control{
183
- padding: 0 .75rem;
184
183
  //padding: $input-padding-y-sm $input-padding-x-sm;
185
184
  @include border-radius($input-border-radius-sm);
186
185
  @include font-size($input-font-size-sm);
@@ -209,7 +208,7 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
209
208
  &.multi {
210
209
  &.has-items .#{$select-ns}-control {
211
210
  padding-left: calc(#{$select-padding-x} - #{$select-padding-item-x});
212
- padding-right: calc(#{$select-padding-x} - #{$select-padding-item-x});
211
+ --ts-pr-min: calc(#{$select-padding-x} - #{$select-padding-item-x});
213
212
  }
214
213
  .#{$select-ns}-control > div {
215
214
  border-radius: calc(#{$select-border-radius} - 1px);
@@ -228,19 +227,26 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
228
227
  }
229
228
 
230
229
 
231
- .#{$select-ns}-wrapper:not(.form-control):not(.form-select){
232
- padding: 0;
230
+ .#{$select-ns}-wrapper{
231
+
232
+ &:not(.form-control):not(.form-select){
233
+ padding: 0;
233
234
  border: none;
234
235
  height: auto;
235
236
  box-shadow: none;
236
237
  background: none;
237
238
 
238
- &.single .#{$select-ns}-control{
239
- background-image: escape-svg($form-select-indicator);
240
- background-repeat: no-repeat;
241
- background-position: $form-select-bg-position;
242
- background-size: $form-select-bg-size;
243
- padding-right: 2rem;
239
+ &.single .#{$select-ns}-control{
240
+ background-image: escape-svg($form-select-indicator);
241
+ background-repeat: no-repeat;
242
+ background-position: $form-select-bg-position;
243
+ background-size: $form-select-bg-size;
244
+ }
245
+ }
246
+
247
+ &.form-select,
248
+ &.single{
249
+ --ts-pr-caret: #{$form-select-indicator-padding};
244
250
  }
245
251
 
246
252
  }
@@ -251,6 +257,10 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
251
257
  .#{$select-ns}-control,
252
258
  &.single.input-active .#{$select-ns}-control{
253
259
  border: none !important;
260
+ }
261
+
262
+ &:not(.disabled) .#{$select-ns}-control,
263
+ &:not(.disabled).single.input-active .#{$select-ns}-control{
254
264
  background: transparent !important; // let the background of .form-select show through
255
265
  }
256
266
 
@@ -24,7 +24,7 @@ $select-shadow-input-focus: inset 0 1px 2px rgba(0,0,0,0.15) !default;
24
24
  &.has-items .#{$select-ns}-control {
25
25
  $padding-x: $select-padding-x - 3px;
26
26
  padding-left: $padding-x;
27
- padding-right: $padding-x;
27
+ --ts-pr-min:$padding-x;
28
28
  }
29
29
 
30
30
  .#{$select-ns}-control {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tom-select.css (v2.0.3)
2
+ * tom-select.css (v2.2.0)
3
3
  * Copyright (c) contributors
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
@@ -54,7 +54,7 @@ $select-border: $select-border-width solid $select-color-border !default
54
54
  $select-dropdown-border: 1px solid $select-color-dropdown-border !default;
55
55
  $select-border-radius: 3px !default;
56
56
 
57
- $select-width-item-border: 0 !default;
57
+ $select-width-item-border: 0px !default;
58
58
  $select-max-height-dropdown: 200px !default;
59
59
 
60
60
  $select-padding-x: 8px !default;
@@ -70,13 +70,19 @@ $select-arrow-size: 5px !default;
70
70
  $select-arrow-color: #808080 !default;
71
71
  $select-arrow-offset: 15px !default;
72
72
 
73
- $select-caret-margin: 0 4px !default;
74
- $select-caret-margin-rtl: 0 4px 0 -2px !default;
73
+ $select-caret-margin: 0px 4px !default;
74
+ $select-caret-margin-rtl: 0px 4px 0px -2px !default;
75
75
 
76
76
  $select-spinner-size: 30px !default;
77
77
  $select-spinner-border-size: 5px !default;
78
78
  $select-spinner-border-color: $select-color-border !default;
79
79
 
80
+ :root{
81
+ --ts-pr-clear-button: 0;
82
+ --ts-pr-caret: 0;
83
+ --ts-pr-min: .75rem;
84
+ }
85
+
80
86
  @mixin selectize-vertical-gradient($color-top, $color-bottom) {
81
87
  background-color: mix($color-top, $color-bottom, 60%);
82
88
  background-image: linear-gradient(to bottom, $color-top, $color-bottom);
@@ -92,13 +98,16 @@ $select-spinner-border-color: $select-color-border !default;
92
98
  }
93
99
  }
94
100
 
101
+ .#{$select-ns}-control {
102
+ padding-right: max( var(--ts-pr-min), calc( var(--ts-pr-clear-button) + var(--ts-pr-caret)) ) !important;
103
+ }
95
104
 
96
105
  @mixin ts-caret(){
97
106
 
98
107
  .#{$select-ns}-wrapper.single{
99
108
 
100
109
  .#{$select-ns}-control {
101
- padding-right: 2rem;
110
+ --ts-pr-caret: 2rem;
102
111
 
103
112
  &:after {
104
113
  content: ' ';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tom-select-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyson Gach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-11-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: tyson@tysongach.com
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
190
  requirements: []
191
- rubygems_version: 3.3.11
191
+ rubygems_version: 3.1.6
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: Integrate Tom Select with the asset pipeline in Rails.