tom-select-rails 2.4.3 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/Rakefile +0 -2
- data/config/importmap.rb +2 -0
- data/lib/tom-select-rails/engine.rb +5 -2
- data/lib/tom-select-rails/version.rb +1 -3
- data/lib/tom-select-rails.rb +0 -2
- data/vendor/assets/javascripts/tom-select-rails/cjs/defaults.d.ts +1 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/defaults.js +1 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/defaults.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/cjs/plugins/clear_button/plugin.js +4 -1
- data/vendor/assets/javascripts/tom-select-rails/cjs/plugins/clear_button/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/cjs/plugins/clear_button/types.d.ts +2 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/plugins/dropdown_input/plugin.js +11 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/plugins/dropdown_input/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.js +36 -12
- data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/cjs/types/settings.d.ts +2 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/defaults.d.ts +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/defaults.js +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/defaults.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/caret_position/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/caret_position/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/change_listener/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/change_listener/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/checkbox_options/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/checkbox_options/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/clear_button/plugin.js +5 -2
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/clear_button/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/clear_button/types.d.ts +2 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/drag_drop/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/drag_drop/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_header/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_header/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_input/plugin.js +11 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_input/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/input_autogrow/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/input_autogrow/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_active_items/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_active_items/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_backspace_delete/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_backspace_delete/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/optgroup_columns/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/optgroup_columns/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/remove_button/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/remove_button/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/restore_on_backspace/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/restore_on_backspace/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/virtual_scroll/plugin.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/virtual_scroll/plugin.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.js +36 -12
- data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/esm/types/settings.d.ts +2 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/caret_position.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/caret_position.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/change_listener.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/change_listener.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/checkbox_options.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/checkbox_options.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/clear_button.js +5 -2
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/clear_button.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/drag_drop.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/drag_drop.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_header.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_header.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_input.js +11 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_input.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/input_autogrow.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/input_autogrow.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_active_items.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_active_items.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_backspace_delete.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_backspace_delete.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/optgroup_columns.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/optgroup_columns.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/remove_button.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/remove_button.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/restore_on_backspace.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/restore_on_backspace.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/virtual_scroll.js +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/virtual_scroll.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.js +38 -14
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.min.js +97 -98
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.min.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.js +52 -15
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.min.js +143 -141
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.min.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.js +48 -14
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.min.js +119 -117
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.min.js.map +1 -1
- data/vendor/assets/javascripts/tom-select-rails/tom-select.esm.js +3 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.css +16 -5
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.css.map +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.min.css +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.min.css.map +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.css +25 -9
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.css.map +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.min.css +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.min.css.map +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.css +8 -7
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.css.map +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.css +5 -4
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.css.map +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.min.css +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.min.css.map +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.min.css +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.min.css.map +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/scss/_items.scss +1 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.bootstrap4.scss +5 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.bootstrap5.scss +14 -2
- data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.default.scss +1 -1
- data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.scss +4 -4
- metadata +5 -35
- data/vendor/assets/javascripts/tom-select-rails/types/constants.d.ts +0 -12
- data/vendor/assets/javascripts/tom-select-rails/types/contrib/highlight.d.ts +0 -13
- data/vendor/assets/javascripts/tom-select-rails/types/contrib/microevent.d.ts +0 -20
- data/vendor/assets/javascripts/tom-select-rails/types/contrib/microplugin.d.ts +0 -71
- data/vendor/assets/javascripts/tom-select-rails/types/defaults.d.ts +0 -52
- data/vendor/assets/javascripts/tom-select-rails/types/getSettings.d.ts +0 -3
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/caret_position/plugin.d.ts +0 -16
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/change_listener/plugin.d.ts +0 -16
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/checkbox_options/plugin.d.ts +0 -17
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/checkbox_options/types.d.ts +0 -14
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/clear_button/plugin.d.ts +0 -17
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/clear_button/types.d.ts +0 -5
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/drag_drop/plugin.d.ts +0 -16
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/dropdown_header/plugin.d.ts +0 -17
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/dropdown_header/types.d.ts +0 -8
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/dropdown_input/plugin.d.ts +0 -16
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/input_autogrow/plugin.d.ts +0 -15
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/no_active_items/plugin.d.ts +0 -15
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/no_backspace_delete/plugin.d.ts +0 -15
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/optgroup_columns/plugin.d.ts +0 -16
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/remove_button/plugin.d.ts +0 -17
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/remove_button/types.d.ts +0 -6
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/restore_on_backspace/plugin.d.ts +0 -21
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/virtual_scroll/plugin.d.ts +0 -16
- data/vendor/assets/javascripts/tom-select-rails/types/tom-select.complete.d.ts +0 -2
- data/vendor/assets/javascripts/tom-select-rails/types/tom-select.d.ts +0 -594
- data/vendor/assets/javascripts/tom-select-rails/types/tom-select.popular.d.ts +0 -2
- data/vendor/assets/javascripts/tom-select-rails/types/types/core.d.ts +0 -49
- data/vendor/assets/javascripts/tom-select-rails/types/types/index.d.ts +0 -2
- data/vendor/assets/javascripts/tom-select-rails/types/types/settings.d.ts +0 -79
- data/vendor/assets/javascripts/tom-select-rails/types/utils.d.ts +0 -95
- data/vendor/assets/javascripts/tom-select-rails/types/vanilla.d.ts +0 -76
|
@@ -28,7 +28,7 @@ $select-color-dropdown-border-top: color-mix($input-border-color, $input-bg, 80%
|
|
|
28
28
|
$select-color-dropdown-item-active: $dropdown-link-hover-bg !default;
|
|
29
29
|
$select-color-dropdown-item-active-text: $dropdown-link-hover-color !default;
|
|
30
30
|
$select-color-dropdown-item-create-active-text: $dropdown-link-hover-color !default;
|
|
31
|
-
$select-opacity-disabled:
|
|
31
|
+
$select-opacity-disabled: 1 !default;
|
|
32
32
|
$select-border: 1px solid $input-border-color !default;
|
|
33
33
|
$select-border-radius: $input-border-radius !default;
|
|
34
34
|
$select-width-item-border: 0 !default;
|
|
@@ -142,6 +142,11 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
|
|
|
142
142
|
display: flex;
|
|
143
143
|
align-items: center;
|
|
144
144
|
}
|
|
145
|
+
|
|
146
|
+
input::placeholder {
|
|
147
|
+
color: var(--bs-secondary-color, #a7aeb8);
|
|
148
|
+
opacity: 1;
|
|
149
|
+
}
|
|
145
150
|
}
|
|
146
151
|
|
|
147
152
|
@include ts-form-validation-state-selector('invalid');
|
|
@@ -163,7 +168,6 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
|
|
|
163
168
|
|
|
164
169
|
&.has-items .#{$select-ns}-control {
|
|
165
170
|
font-size: $input-font-size-sm;
|
|
166
|
-
padding-bottom: 0;
|
|
167
171
|
}
|
|
168
172
|
}
|
|
169
173
|
|
|
@@ -256,3 +260,11 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
|
|
|
256
260
|
border-bottom-right-radius: 0;
|
|
257
261
|
}
|
|
258
262
|
}
|
|
263
|
+
|
|
264
|
+
.form-select {
|
|
265
|
+
.#{$select-ns}-dropdown,
|
|
266
|
+
.#{$select-ns}-control,
|
|
267
|
+
.#{$select-ns}-control input {
|
|
268
|
+
color: $form-select-color;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tom-select.css (v2.
|
|
2
|
+
* tom-select.css (v2.5.1)
|
|
3
3
|
* Copyright (c) contributors
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
@@ -49,7 +49,7 @@ $select-border-width: 1px !default;
|
|
|
49
49
|
$select-border: $select-border-width solid $select-color-border !default;
|
|
50
50
|
$select-dropdown-border: 1px solid $select-color-dropdown-border !default;
|
|
51
51
|
$select-border-radius: 3px !default;
|
|
52
|
-
$select-width-item-border:
|
|
52
|
+
$select-width-item-border: 0px !default;
|
|
53
53
|
$select-max-height-dropdown: 200px !default;
|
|
54
54
|
$select-padding-x: 8px !default;
|
|
55
55
|
$select-padding-y: 8px !default;
|
|
@@ -62,8 +62,8 @@ $select-margin-item-y: 3px !default;
|
|
|
62
62
|
$select-arrow-size: 5px !default;
|
|
63
63
|
$select-arrow-color: #808080 !default;
|
|
64
64
|
$select-arrow-offset: 15px !default;
|
|
65
|
-
$select-caret-margin:
|
|
66
|
-
$select-caret-margin-rtl:
|
|
65
|
+
$select-caret-margin: 0px 4px !default;
|
|
66
|
+
$select-caret-margin-rtl: 0px 4px 0px -2px !default;
|
|
67
67
|
$select-spinner-size: 30px !default;
|
|
68
68
|
$select-spinner-border-size: 5px !default;
|
|
69
69
|
$select-spinner-border-color: $select-color-border !default;
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tom-select-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tyson Gach
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
12
|
email: tyson@tysongach.com
|
|
13
13
|
executables: []
|
|
@@ -17,6 +17,7 @@ files:
|
|
|
17
17
|
- LICENSE.txt
|
|
18
18
|
- README.md
|
|
19
19
|
- Rakefile
|
|
20
|
+
- config/importmap.rb
|
|
20
21
|
- lib/tom-select-rails.rb
|
|
21
22
|
- lib/tom-select-rails/engine.rb
|
|
22
23
|
- lib/tom-select-rails/version.rb
|
|
@@ -254,38 +255,7 @@ files:
|
|
|
254
255
|
- vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.js.map
|
|
255
256
|
- vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.min.js
|
|
256
257
|
- vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.min.js.map
|
|
257
|
-
- vendor/assets/javascripts/tom-select-rails/
|
|
258
|
-
- vendor/assets/javascripts/tom-select-rails/types/contrib/highlight.d.ts
|
|
259
|
-
- vendor/assets/javascripts/tom-select-rails/types/contrib/microevent.d.ts
|
|
260
|
-
- vendor/assets/javascripts/tom-select-rails/types/contrib/microplugin.d.ts
|
|
261
|
-
- vendor/assets/javascripts/tom-select-rails/types/defaults.d.ts
|
|
262
|
-
- vendor/assets/javascripts/tom-select-rails/types/getSettings.d.ts
|
|
263
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/caret_position/plugin.d.ts
|
|
264
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/change_listener/plugin.d.ts
|
|
265
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/checkbox_options/plugin.d.ts
|
|
266
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/checkbox_options/types.d.ts
|
|
267
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/clear_button/plugin.d.ts
|
|
268
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/clear_button/types.d.ts
|
|
269
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/drag_drop/plugin.d.ts
|
|
270
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/dropdown_header/plugin.d.ts
|
|
271
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/dropdown_header/types.d.ts
|
|
272
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/dropdown_input/plugin.d.ts
|
|
273
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/input_autogrow/plugin.d.ts
|
|
274
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/no_active_items/plugin.d.ts
|
|
275
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/no_backspace_delete/plugin.d.ts
|
|
276
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/optgroup_columns/plugin.d.ts
|
|
277
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/remove_button/plugin.d.ts
|
|
278
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/remove_button/types.d.ts
|
|
279
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/restore_on_backspace/plugin.d.ts
|
|
280
|
-
- vendor/assets/javascripts/tom-select-rails/types/plugins/virtual_scroll/plugin.d.ts
|
|
281
|
-
- vendor/assets/javascripts/tom-select-rails/types/tom-select.complete.d.ts
|
|
282
|
-
- vendor/assets/javascripts/tom-select-rails/types/tom-select.d.ts
|
|
283
|
-
- vendor/assets/javascripts/tom-select-rails/types/tom-select.popular.d.ts
|
|
284
|
-
- vendor/assets/javascripts/tom-select-rails/types/types/core.d.ts
|
|
285
|
-
- vendor/assets/javascripts/tom-select-rails/types/types/index.d.ts
|
|
286
|
-
- vendor/assets/javascripts/tom-select-rails/types/types/settings.d.ts
|
|
287
|
-
- vendor/assets/javascripts/tom-select-rails/types/utils.d.ts
|
|
288
|
-
- vendor/assets/javascripts/tom-select-rails/types/vanilla.d.ts
|
|
258
|
+
- vendor/assets/javascripts/tom-select-rails/tom-select.esm.js
|
|
289
259
|
- vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.css
|
|
290
260
|
- vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.css.map
|
|
291
261
|
- vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.min.css
|
|
@@ -336,7 +306,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
336
306
|
- !ruby/object:Gem::Version
|
|
337
307
|
version: '0'
|
|
338
308
|
requirements: []
|
|
339
|
-
rubygems_version:
|
|
309
|
+
rubygems_version: 4.0.5
|
|
340
310
|
specification_version: 4
|
|
341
311
|
summary: Integrate Tom Select with the asset pipeline in Rails.
|
|
342
312
|
test_files: []
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const KEY_A = 65;
|
|
2
|
-
export declare const KEY_RETURN = 13;
|
|
3
|
-
export declare const KEY_ESC = 27;
|
|
4
|
-
export declare const KEY_LEFT = 37;
|
|
5
|
-
export declare const KEY_UP = 38;
|
|
6
|
-
export declare const KEY_RIGHT = 39;
|
|
7
|
-
export declare const KEY_DOWN = 40;
|
|
8
|
-
export declare const KEY_BACKSPACE = 8;
|
|
9
|
-
export declare const KEY_DELETE = 46;
|
|
10
|
-
export declare const KEY_TAB = 9;
|
|
11
|
-
export declare const IS_MAC: boolean;
|
|
12
|
-
export declare const KEY_SHORTCUT: string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* highlight v3 | MIT license | Johann Burkard <jb@eaio.com>
|
|
3
|
-
* Highlights arbitrary terms in a node.
|
|
4
|
-
*
|
|
5
|
-
* - Modified by Marshal <beatgates@gmail.com> 2011-6-24 (added regex)
|
|
6
|
-
* - Modified by Brian Reavis <brian@thirdroute.com> 2012-8-27 (cleanup)
|
|
7
|
-
*/
|
|
8
|
-
export declare const highlight: (element: HTMLElement, regex: string | RegExp) => void;
|
|
9
|
-
/**
|
|
10
|
-
* removeHighlight fn copied from highlight v5 and
|
|
11
|
-
* edited to remove with(), pass js strict mode, and use without jquery
|
|
12
|
-
*/
|
|
13
|
-
export declare const removeHighlight: (el: HTMLElement) => void;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MicroEvent - to make any js object an event emitter
|
|
3
|
-
*
|
|
4
|
-
* - pure javascript - server compatible, browser compatible
|
|
5
|
-
* - dont rely on the browser doms
|
|
6
|
-
* - super simple - you get it immediatly, no mistery, no magic involved
|
|
7
|
-
*
|
|
8
|
-
* @author Jerome Etienne (https://github.com/jeromeetienne)
|
|
9
|
-
*/
|
|
10
|
-
type TCallback = (...args: any) => any;
|
|
11
|
-
export default class MicroEvent {
|
|
12
|
-
_events: {
|
|
13
|
-
[key: string]: TCallback[];
|
|
14
|
-
};
|
|
15
|
-
constructor();
|
|
16
|
-
on(events: string, fct: TCallback): void;
|
|
17
|
-
off(events: string, fct: TCallback): void;
|
|
18
|
-
trigger(events: string, ...args: any): void;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* microplugin.js
|
|
3
|
-
* Copyright (c) 2013 Brian Reavis & contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
* @author Brian Reavis <brian@thirdroute.com>
|
|
15
|
-
*/
|
|
16
|
-
type TSettings = {
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
};
|
|
19
|
-
type TPlugins = {
|
|
20
|
-
names: string[];
|
|
21
|
-
settings: TSettings;
|
|
22
|
-
requested: {
|
|
23
|
-
[key: string]: boolean;
|
|
24
|
-
};
|
|
25
|
-
loaded: {
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export type TPluginItem = {
|
|
30
|
-
name: string;
|
|
31
|
-
options: {};
|
|
32
|
-
};
|
|
33
|
-
export type TPluginHash = {
|
|
34
|
-
[key: string]: {};
|
|
35
|
-
};
|
|
36
|
-
export default function MicroPlugin(Interface: any): {
|
|
37
|
-
new (): {
|
|
38
|
-
[x: string]: any;
|
|
39
|
-
plugins: TPlugins;
|
|
40
|
-
/**
|
|
41
|
-
* Initializes the listed plugins (with options).
|
|
42
|
-
* Acceptable formats:
|
|
43
|
-
*
|
|
44
|
-
* List (without options):
|
|
45
|
-
* ['a', 'b', 'c']
|
|
46
|
-
*
|
|
47
|
-
* List (with options):
|
|
48
|
-
* [{'name': 'a', options: {}}, {'name': 'b', options: {}}]
|
|
49
|
-
*
|
|
50
|
-
* Hash (with options):
|
|
51
|
-
* {'a': { ... }, 'b': { ... }, 'c': { ... }}
|
|
52
|
-
*
|
|
53
|
-
* @param {array|object} plugins
|
|
54
|
-
*/
|
|
55
|
-
initializePlugins(plugins: string[] | TPluginItem[] | TPluginHash): void;
|
|
56
|
-
loadPlugin(name: string): void;
|
|
57
|
-
/**
|
|
58
|
-
* Initializes a plugin.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
require(name: string): any;
|
|
62
|
-
};
|
|
63
|
-
[x: string]: any;
|
|
64
|
-
/**
|
|
65
|
-
* Registers a plugin.
|
|
66
|
-
*
|
|
67
|
-
* @param {function} fn
|
|
68
|
-
*/
|
|
69
|
-
define(name: string, fn: (this: any, settings: TSettings) => any): void;
|
|
70
|
-
};
|
|
71
|
-
export {};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
options: never[];
|
|
3
|
-
optgroups: never[];
|
|
4
|
-
plugins: never[];
|
|
5
|
-
delimiter: string;
|
|
6
|
-
splitOn: null;
|
|
7
|
-
persist: boolean;
|
|
8
|
-
diacritics: boolean;
|
|
9
|
-
create: null;
|
|
10
|
-
createOnBlur: boolean;
|
|
11
|
-
createFilter: null;
|
|
12
|
-
highlight: boolean;
|
|
13
|
-
openOnFocus: boolean;
|
|
14
|
-
shouldOpen: null;
|
|
15
|
-
maxOptions: number;
|
|
16
|
-
maxItems: null;
|
|
17
|
-
hideSelected: null;
|
|
18
|
-
duplicates: boolean;
|
|
19
|
-
addPrecedence: boolean;
|
|
20
|
-
selectOnTab: boolean;
|
|
21
|
-
preload: null;
|
|
22
|
-
allowEmptyOption: boolean;
|
|
23
|
-
refreshThrottle: number;
|
|
24
|
-
loadThrottle: number;
|
|
25
|
-
loadingClass: string;
|
|
26
|
-
dataAttr: null;
|
|
27
|
-
optgroupField: string;
|
|
28
|
-
valueField: string;
|
|
29
|
-
labelField: string;
|
|
30
|
-
disabledField: string;
|
|
31
|
-
optgroupLabelField: string;
|
|
32
|
-
optgroupValueField: string;
|
|
33
|
-
lockOptgroupOrder: boolean;
|
|
34
|
-
sortField: string;
|
|
35
|
-
searchField: string[];
|
|
36
|
-
searchConjunction: string;
|
|
37
|
-
mode: null;
|
|
38
|
-
wrapperClass: string;
|
|
39
|
-
controlClass: string;
|
|
40
|
-
dropdownClass: string;
|
|
41
|
-
dropdownContentClass: string;
|
|
42
|
-
itemClass: string;
|
|
43
|
-
optionClass: string;
|
|
44
|
-
dropdownParent: null;
|
|
45
|
-
controlInput: string;
|
|
46
|
-
copyClassesToDropdown: boolean;
|
|
47
|
-
placeholder: null;
|
|
48
|
-
hidePlaceholder: null;
|
|
49
|
-
shouldLoad: (query: string) => boolean;
|
|
50
|
-
render: {};
|
|
51
|
-
};
|
|
52
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "dropdown_input" (Tom Select)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
export default function (this: TomSelect): void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "change_listener" (Tom Select)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
export default function (this: TomSelect): void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "checkbox_options" (Tom Select)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
import { CBOptions } from './types.ts';
|
|
17
|
-
export default function (this: TomSelect, userOptions: CBOptions): void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type CBOptions = {
|
|
2
|
-
/**
|
|
3
|
-
* a unique class name for the checkbox to find the input
|
|
4
|
-
*/
|
|
5
|
-
className?: string;
|
|
6
|
-
/**
|
|
7
|
-
* class name to add if checkbox is checked and remove otherwise
|
|
8
|
-
*/
|
|
9
|
-
checkedClassNames?: string[];
|
|
10
|
-
/**
|
|
11
|
-
* class name to add if checkbox was not checked and remove otherwise
|
|
12
|
-
*/
|
|
13
|
-
uncheckedClassNames?: string[];
|
|
14
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "dropdown_header" (Tom Select)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
import { CBOptions } from './types.ts';
|
|
17
|
-
export default function (this: TomSelect, userOptions: CBOptions): void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "drag_drop" (Tom Select)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
export default function (this: TomSelect): void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "dropdown_header" (Tom Select)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
import { DHOptions } from './types.ts';
|
|
17
|
-
export default function (this: TomSelect, userOptions: DHOptions): void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "dropdown_input" (Tom Select)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
export default function (this: TomSelect): void;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "input_autogrow" (Tom Select)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
5
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
6
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
*
|
|
8
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
9
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
10
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
11
|
-
* governing permissions and limitations under the License.
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
import type TomSelect from '../../tom-select.ts';
|
|
15
|
-
export default function (this: TomSelect): void;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "no_active_items" (Tom Select)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
5
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
6
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
*
|
|
8
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
9
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
10
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
11
|
-
* governing permissions and limitations under the License.
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
import type TomSelect from '../../tom-select.ts';
|
|
15
|
-
export default function (this: TomSelect): void;
|
data/vendor/assets/javascripts/tom-select-rails/types/plugins/no_backspace_delete/plugin.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "input_autogrow" (Tom Select)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
5
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
6
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
*
|
|
8
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
9
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
10
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
11
|
-
* governing permissions and limitations under the License.
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
import type TomSelect from '../../tom-select.ts';
|
|
15
|
-
export default function (this: TomSelect): void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "optgroup_columns" (Tom Select.js)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
export default function (this: TomSelect): void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "remove_button" (Tom Select)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
import { RBOptions } from './types.ts';
|
|
17
|
-
export default function (this: TomSelect, userOptions: RBOptions): void;
|
data/vendor/assets/javascripts/tom-select-rails/types/plugins/restore_on_backspace/plugin.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "restore_on_backspace" (Tom Select)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
import { TomOption } from '../../types/index.ts';
|
|
17
|
-
type TPluginOptions = {
|
|
18
|
-
text?: (option: TomOption) => string;
|
|
19
|
-
};
|
|
20
|
-
export default function (this: TomSelect, userOptions: TPluginOptions): void;
|
|
21
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin: "restore_on_backspace" (Tom Select)
|
|
3
|
-
* Copyright (c) contributors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
-
* governing permissions and limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
import type TomSelect from '../../tom-select.ts';
|
|
16
|
-
export default function (this: TomSelect): void;
|