|
1 | 1 | package com.vaadin.componentfactory;
|
2 | 2 |
|
3 |
| -import java.util.Collection; |
| 3 | +import com.vaadin.componentfactory.Autocomplete.AutocompleteValueAppliedEvent; |
| 4 | +import com.vaadin.flow.component.*; |
| 5 | +import com.vaadin.flow.component.dependency.JsModule; |
| 6 | +import com.vaadin.flow.component.dependency.NpmPackage; |
| 7 | +import com.vaadin.flow.component.polymertemplate.EventHandler; |
| 8 | +import com.vaadin.flow.component.polymertemplate.Id; |
| 9 | +import com.vaadin.flow.component.polymertemplate.PolymerTemplate; |
| 10 | +import com.vaadin.flow.component.textfield.TextField; |
| 11 | +import com.vaadin.flow.shared.Registration; |
| 12 | +import com.vaadin.flow.templatemodel.TemplateModel; |
| 13 | + |
| 14 | +import java.util.List; |
4 | 15 |
|
5 | 16 | /*
|
6 | 17 | * #%L
|
7 | 18 | * VCF Autocomplete for Vaadin 10
|
8 | 19 | * %%
|
9 |
| - * Copyright (C) 2017 - 2018 Vaadin Ltd |
| 20 | + * Copyright (C) 2021 Vaadin Ltd |
10 | 21 | * %%
|
11 |
| - * This program is available under Commercial Vaadin Add-On License 3.0 |
12 |
| - * (CVALv3). |
| 22 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 23 | + * you may not use this file except in compliance with the License. |
| 24 | + * You may obtain a copy of the License at |
13 | 25 | *
|
14 |
| - * See the file license.html distributed with this software for more |
15 |
| - * information about licensing. |
| 26 | + * http://www.apache.org/licenses/LICENSE-2.0 |
16 | 27 | *
|
17 |
| - * You should have received a copy of the CVALv3 along with this program. |
18 |
| - * If not, see <http://vaadin.com/license/cval-3>. |
| 28 | + * Unless required by applicable law or agreed to in writing, software |
| 29 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 30 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 31 | + * See the License for the specific language governing permissions and |
| 32 | + * limitations under the License. |
19 | 33 | * #L%
|
20 | 34 | */
|
21 | 35 |
|
22 |
| -import java.util.List; |
23 |
| - |
24 |
| -import com.vaadin.flow.component.ComponentEvent; |
25 |
| -import com.vaadin.flow.component.ComponentEventListener; |
26 |
| -import com.vaadin.flow.component.DomEvent; |
27 |
| -import com.vaadin.flow.component.EventData; |
28 |
| -import com.vaadin.flow.component.Focusable; |
29 |
| -import com.vaadin.flow.component.HasSize; |
30 |
| -import com.vaadin.flow.component.HasTheme; |
31 |
| -import com.vaadin.flow.component.HasValidation; |
32 |
| -import com.vaadin.flow.component.HasValue; |
33 |
| -import com.vaadin.flow.component.Key; |
34 |
| -import com.vaadin.flow.component.KeyModifier; |
35 |
| -import com.vaadin.flow.component.ShortcutRegistration; |
36 |
| -import com.vaadin.flow.component.Synchronize; |
37 |
| -import com.vaadin.flow.component.Tag; |
38 |
| -import com.vaadin.flow.component.dependency.HtmlImport; |
39 |
| -import com.vaadin.flow.component.dependency.JsModule; |
40 |
| -import com.vaadin.flow.component.dependency.NpmPackage; |
41 |
| -import com.vaadin.flow.component.polymertemplate.EventHandler; |
42 |
| -import com.vaadin.flow.component.polymertemplate.Id; |
43 |
| -import com.vaadin.flow.component.polymertemplate.PolymerTemplate; |
44 |
| -import com.vaadin.flow.component.textfield.TextField; |
45 |
| -import com.vaadin.flow.shared.Registration; |
46 |
| -import com.vaadin.flow.templatemodel.TemplateModel; |
47 |
| -import com.vaadin.componentfactory.Autocomplete.AutocompleteValueAppliedEvent; |
48 |
| - |
49 | 36 | /**
|
50 | 37 | * Server-side component for the <code>vcf-autocomplete</code> element.
|
51 | 38 | * <p>
|
|
55 | 42 | * @author Vaadin Ltd
|
56 | 43 | */
|
57 | 44 | @Tag("vcf-autocomplete")
|
58 |
| -@NpmPackage(value = "@vaadin-component-factory/vcf-autocomplete", version = "1.2.7") |
| 45 | +@NpmPackage(value = "@vaadin-component-factory/vcf-autocomplete", version = "1.2.8") |
59 | 46 | @JsModule("@vaadin-component-factory/vcf-autocomplete/src/vcf-autocomplete.js")
|
60 | 47 | public class Autocomplete extends
|
61 | 48 | PolymerTemplate<Autocomplete.AutocompleteTemplateModel> implements
|
|
0 commit comments