|
1 | 1 | import { Controller } from '@hotwired/stimulus';
|
2 | 2 | import TomSelect from 'tom-select';
|
3 | 3 |
|
4 |
| -/****************************************************************************** |
5 |
| -Copyright (c) Microsoft Corporation. |
6 |
| -
|
7 |
| -Permission to use, copy, modify, and/or distribute this software for any |
8 |
| -purpose with or without fee is hereby granted. |
9 |
| -
|
10 |
| -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH |
11 |
| -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY |
12 |
| -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, |
13 |
| -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM |
14 |
| -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR |
15 |
| -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
16 |
| -PERFORMANCE OF THIS SOFTWARE. |
17 |
| -***************************************************************************** */ |
18 |
| -/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ |
19 |
| - |
20 |
| - |
21 |
| -function __classPrivateFieldGet(receiver, state, kind, f) { |
22 |
| - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); |
23 |
| - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); |
24 |
| - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); |
25 |
| -} |
26 |
| - |
27 |
| -typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { |
28 |
| - var e = new Error(message); |
29 |
| - return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; |
| 4 | +/****************************************************************************** |
| 5 | +Copyright (c) Microsoft Corporation. |
| 6 | +
|
| 7 | +Permission to use, copy, modify, and/or distribute this software for any |
| 8 | +purpose with or without fee is hereby granted. |
| 9 | +
|
| 10 | +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH |
| 11 | +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY |
| 12 | +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, |
| 13 | +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM |
| 14 | +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR |
| 15 | +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 16 | +PERFORMANCE OF THIS SOFTWARE. |
| 17 | +***************************************************************************** */ |
| 18 | +/* global Reflect, Promise, SuppressedError, Symbol */ |
| 19 | + |
| 20 | + |
| 21 | +function __classPrivateFieldGet(receiver, state, kind, f) { |
| 22 | + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); |
| 23 | + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); |
| 24 | + return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); |
| 25 | +} |
| 26 | + |
| 27 | +typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { |
| 28 | + var e = new Error(message); |
| 29 | + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; |
30 | 30 | };
|
31 | 31 |
|
32 | 32 | var _default_1_instances, _default_1_getCommonConfig, _default_1_createAutocomplete, _default_1_createAutocompleteWithHtmlContents, _default_1_createAutocompleteWithRemoteData, _default_1_stripTags, _default_1_addSlashes, _default_1_mergeObjects, _default_1_createTomSelect;
|
|
0 commit comments