Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.flowingcode.vaadin.addons</groupId>
<artifactId>orgchart-addon</artifactId>
<version>4.2.3-SNAPSHOT</version>
<version>5.0.0-SNAPSHOT</version>
<name>OrgChart Add-on</name>

<properties>
Expand Down Expand Up @@ -192,10 +192,7 @@
<licenseName>apache_v2</licenseName>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<excludes>
<exclude>**/font-awesome.css</exclude>
<exclude>**/jquery.orgchart.js</exclude>
<exclude>**/jquery.orgchart.min.js</exclude>
<exclude>**/jquery.orgchart.min.css</exclude>
<exclude>**/font-awesome.css</exclude>
</excludes>
</configuration>
</plugin>
Expand Down Expand Up @@ -290,6 +287,7 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
import com.vaadin.flow.component.ComponentEvent;
import com.vaadin.flow.component.ComponentEventListener;
import com.vaadin.flow.component.Tag;
import com.vaadin.flow.component.dependency.CssImport;
import com.vaadin.flow.component.dependency.JsModule;
import com.vaadin.flow.component.dependency.NpmPackage;
import com.vaadin.flow.component.dependency.StyleSheet;
import com.vaadin.flow.component.html.Div;
import com.vaadin.flow.shared.Registration;
import java.util.List;
Expand All @@ -45,14 +45,15 @@
* @author pbartolo
*/
@SuppressWarnings("serial")
// @NpmPackage(value = "orgchart", version = "2.1.4")
@NpmPackage(value = "html2canvas", version = "^0.5.0-beta4")
@NpmPackage(value = "jquery", version = "3.4.1")
@NpmPackage(value = "orgchart", version = "3.7.0")
@NpmPackage(value = "html2canvas", version = "1.4.1")
@NpmPackage(value = "jquery", version = "3.6.2")
@JsModule("jquery/dist/jquery.js")
@JsModule("./orgchart/dist/js/jquery.orgchart.js")
@StyleSheet("context://frontend/jquery.orgchart.min.css")
@JsModule("orgchart/dist/js/jquery.orgchart.js")
@CssImport("orgchart/dist/css/jquery.orgchart.min.css")
@Tag("fc-orgchart")
@JsModule("./fc-orgchart.js")
@CssImport("./fc-orgchart-styles.css")
public class OrgChart extends Div {

private OrgChartItem orgChartItem;
Expand Down
Loading