tom-select-rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +26 -0
- data/Rakefile +3 -0
- data/lib/tom-select-rails/engine.rb +8 -0
- data/lib/tom-select-rails/version.rb +5 -0
- data/lib/tom-select-rails.rb +7 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.complete.js +4887 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.complete.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.js +4085 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.popular.js +4337 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/tom-select.popular.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/utils.js +196 -0
- data/vendor/assets/javascripts/tom-select-rails/cjs/utils.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/caret_position/plugin.js +162 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/caret_position/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/change_listener/plugin.js +50 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/change_listener/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/checkbox_options/plugin.js +172 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/checkbox_options/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/clear_button/plugin.js +91 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/clear_button/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/drag_drop/plugin.js +62 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/drag_drop/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_header/plugin.js +118 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_header/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_input/plugin.js +230 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/dropdown_input/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/input_autogrow/plugin.js +80 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/input_autogrow/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_active_items/plugin.js +25 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_active_items/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_backspace_delete/plugin.js +32 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/no_backspace_delete/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/optgroup_columns/plugin.js +108 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/optgroup_columns/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/remove_button/plugin.js +146 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/remove_button/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/restore_on_backspace/plugin.js +43 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/restore_on_backspace/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/virtual_scroll/plugin.js +261 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/plugins/virtual_scroll/plugin.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.complete.js +4885 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.complete.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.js +4083 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.popular.js +4335 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/tom-select.popular.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/utils.js +181 -0
- data/vendor/assets/javascripts/tom-select-rails/esm/utils.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/caret_position.js +170 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/caret_position.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/change_listener.js +58 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/change_listener.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/checkbox_options.js +180 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/checkbox_options.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/clear_button.js +99 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/clear_button.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/drag_drop.js +70 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/drag_drop.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_header.js +126 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_header.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_input.js +238 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/dropdown_input.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/input_autogrow.js +88 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/input_autogrow.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_active_items.js +33 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_active_items.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_backspace_delete.js +40 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/no_backspace_delete.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/optgroup_columns.js +116 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/optgroup_columns.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/remove_button.js +154 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/remove_button.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/restore_on_backspace.js +51 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/restore_on_backspace.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/virtual_scroll.js +269 -0
- data/vendor/assets/javascripts/tom-select-rails/js/plugins/virtual_scroll.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.js +4092 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.min.js +303 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.base.min.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.js +4894 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.min.js +362 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.complete.min.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.js +4344 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.min.js +324 -0
- data/vendor/assets/javascripts/tom-select-rails/js/tom-select.popular.min.js.map +1 -0
- data/vendor/assets/javascripts/tom-select-rails/types/constants.d.ts +12 -0
- data/vendor/assets/javascripts/tom-select-rails/types/contrib/highlight.d.ts +13 -0
- data/vendor/assets/javascripts/tom-select-rails/types/contrib/microevent.d.ts +20 -0
- data/vendor/assets/javascripts/tom-select-rails/types/contrib/microplugin.d.ts +71 -0
- data/vendor/assets/javascripts/tom-select-rails/types/defaults.d.ts +51 -0
- data/vendor/assets/javascripts/tom-select-rails/types/getSettings.d.ts +3 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/caret_position/plugin.d.ts +16 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/change_listener/plugin.d.ts +16 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/checkbox_options/plugin.d.ts +16 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/clear_button/plugin.d.ts +17 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/clear_button/types.d.ts +5 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/drag_drop/plugin.d.ts +16 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/dropdown_header/plugin.d.ts +17 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/dropdown_header/types.d.ts +8 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/dropdown_input/plugin.d.ts +16 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/input_autogrow/plugin.d.ts +15 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/no_active_items/plugin.d.ts +15 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/no_backspace_delete/plugin.d.ts +15 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/optgroup_columns/plugin.d.ts +16 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/remove_button/plugin.d.ts +17 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/remove_button/types.d.ts +6 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/restore_on_backspace/plugin.d.ts +21 -0
- data/vendor/assets/javascripts/tom-select-rails/types/plugins/virtual_scroll/plugin.d.ts +16 -0
- data/vendor/assets/javascripts/tom-select-rails/types/tom-select.complete.d.ts +2 -0
- data/vendor/assets/javascripts/tom-select-rails/types/tom-select.d.ts +579 -0
- data/vendor/assets/javascripts/tom-select-rails/types/tom-select.popular.d.ts +2 -0
- data/vendor/assets/javascripts/tom-select-rails/types/types/core.d.ts +44 -0
- data/vendor/assets/javascripts/tom-select-rails/types/types/index.d.ts +2 -0
- data/vendor/assets/javascripts/tom-select-rails/types/types/settings.d.ts +81 -0
- data/vendor/assets/javascripts/tom-select-rails/types/utils.d.ts +76 -0
- data/vendor/assets/javascripts/tom-select-rails/types/vanilla.d.ts +76 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.css +548 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.css.map +1 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.min.css +2 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap4.min.css.map +1 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.css +592 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.css.map +1 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.min.css +2 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.bootstrap5.min.css.map +1 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.css +391 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.css.map +1 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.css +476 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.css.map +1 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.min.css +2 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.default.min.css.map +1 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.min.css +2 -0
- data/vendor/assets/stylesheets/tom-select-rails/css/tom-select.min.css.map +1 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/_dropdown.scss +104 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/_items.scss +115 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/checkbox_options.scss +5 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/clear_button.scss +30 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/drag_drop.scss +16 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/dropdown_header.scss +23 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/dropdown_input.scss +47 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/input_autogrow.scss +18 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/optgroup_columns.scss +23 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/plugins/remove_button.scss +44 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.bootstrap4.scss +219 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.bootstrap5.scss +274 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.default.scss +87 -0
- data/vendor/assets/stylesheets/tom-select-rails/scss/tom-select.scss +175 -0
- metadata +195 -0
@@ -0,0 +1,51 @@
|
|
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
|
+
loadThrottle: number;
|
24
|
+
loadingClass: string;
|
25
|
+
dataAttr: null;
|
26
|
+
optgroupField: string;
|
27
|
+
valueField: string;
|
28
|
+
labelField: string;
|
29
|
+
disabledField: string;
|
30
|
+
optgroupLabelField: string;
|
31
|
+
optgroupValueField: string;
|
32
|
+
lockOptgroupOrder: boolean;
|
33
|
+
sortField: string;
|
34
|
+
searchField: string[];
|
35
|
+
searchConjunction: string;
|
36
|
+
mode: null;
|
37
|
+
wrapperClass: string;
|
38
|
+
controlClass: string;
|
39
|
+
dropdownClass: string;
|
40
|
+
dropdownContentClass: string;
|
41
|
+
itemClass: string;
|
42
|
+
optionClass: string;
|
43
|
+
dropdownParent: null;
|
44
|
+
controlInput: string;
|
45
|
+
copyClassesToDropdown: boolean;
|
46
|
+
placeholder: null;
|
47
|
+
hidePlaceholder: null;
|
48
|
+
shouldLoad: (query: string) => boolean;
|
49
|
+
render: {};
|
50
|
+
};
|
51
|
+
export default _default;
|
@@ -0,0 +1,16 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
export default function (this: TomSelect): void;
|
@@ -0,0 +1,16 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
export default function (this: TomSelect): void;
|
@@ -0,0 +1,16 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
export default function (this: TomSelect): void;
|
@@ -0,0 +1,17 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
import { CBOptions } from './types';
|
17
|
+
export default function (this: TomSelect, userOptions: CBOptions): void;
|
@@ -0,0 +1,16 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
export default function (this: TomSelect): void;
|
@@ -0,0 +1,17 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
import { DHOptions } from './types';
|
17
|
+
export default function (this: TomSelect, userOptions: DHOptions): void;
|
@@ -0,0 +1,16 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
export default function (this: TomSelect): void;
|
@@ -0,0 +1,15 @@
|
|
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 TomSelect from '../../tom-select';
|
15
|
+
export default function (this: TomSelect): void;
|
@@ -0,0 +1,15 @@
|
|
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 TomSelect from '../../tom-select';
|
15
|
+
export default function (this: TomSelect): void;
|
@@ -0,0 +1,15 @@
|
|
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 TomSelect from '../../tom-select';
|
15
|
+
export default function (this: TomSelect): void;
|
@@ -0,0 +1,16 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
export default function (this: TomSelect): void;
|
@@ -0,0 +1,17 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
import { RBOptions } from './types';
|
17
|
+
export default function (this: TomSelect, userOptions: RBOptions): void;
|
data/vendor/assets/javascripts/tom-select-rails/types/plugins/restore_on_backspace/plugin.d.ts
ADDED
@@ -0,0 +1,21 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
import { TomOption } from '../../types/index';
|
17
|
+
declare type TPluginOptions = {
|
18
|
+
text?: (option: TomOption) => string;
|
19
|
+
};
|
20
|
+
export default function (this: TomSelect, userOptions: TPluginOptions): void;
|
21
|
+
export {};
|
@@ -0,0 +1,16 @@
|
|
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 TomSelect from '../../tom-select';
|
16
|
+
export default function (this: TomSelect): void;
|