File tree 2 files changed +3
-0
lines changed
java/com/flowingcode/vaadin/addons/orgchart
resources/META-INF/frontend
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 54
54
@ Tag ("fc-orgchart" )
55
55
@ JsModule ("./fc-orgchart.js" )
56
56
@ CssImport ("./fc-orgchart-styles.css" )
57
+ @ NpmPackage (value = "json-digger" , version = "2.0.2" )
57
58
public class OrgChart extends Div {
58
59
59
60
private OrgChartItem orgChartItem ;
Original file line number Diff line number Diff line change 20
20
import { html , PolymerElement } from '@polymer/polymer/polymer-element.js' ;
21
21
import jQuery from "jquery" ;
22
22
import html2canvas from 'html2canvas' ;
23
+ import JSONDigger from "json-digger/dist/json-digger.js" ;
23
24
24
25
/**
25
26
* `fc-orgchart`
@@ -93,6 +94,7 @@ class FCOrgChart extends PolymerElement {
93
94
} ) ;
94
95
95
96
window . html2canvas = html2canvas ;
97
+ window . JSONDigger = JSONDigger ;
96
98
97
99
// add title
98
100
var title = state . chartTitle ;
You can’t perform that action at this time.
0 commit comments