@apexcura/core 0.0.16-Beta220 → 0.0.16-Beta221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -126
- package/dist/index.mjs +1 -126
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36,133 +36,8 @@ module.exports = __toCommonJS(src_exports);
|
|
|
36
36
|
|
|
37
37
|
// src/libraries/element-executor.tsx
|
|
38
38
|
var import_react = __toESM(require("react"));
|
|
39
|
-
var import_highcharts = __toESM(require("highcharts"));
|
|
40
|
-
var import_highcharts_react_official = __toESM(require("highcharts-react-official"));
|
|
41
39
|
var HighchartsLineChart = (props) => {
|
|
42
|
-
|
|
43
|
-
title: {
|
|
44
|
-
text: "U.S Solar Employment Growth",
|
|
45
|
-
align: "left"
|
|
46
|
-
},
|
|
47
|
-
subtitle: {
|
|
48
|
-
text: 'By Job Category. Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>.',
|
|
49
|
-
align: "left"
|
|
50
|
-
},
|
|
51
|
-
yAxis: {
|
|
52
|
-
title: {
|
|
53
|
-
text: "Number of Employees"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
xAxis: {
|
|
57
|
-
accessibility: {
|
|
58
|
-
rangeDescription: "Range: 2010 to 2020"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
legend: {
|
|
62
|
-
layout: "vertical",
|
|
63
|
-
align: "right",
|
|
64
|
-
verticalAlign: "middle"
|
|
65
|
-
},
|
|
66
|
-
plotOptions: {
|
|
67
|
-
series: {
|
|
68
|
-
label: {
|
|
69
|
-
connectorAllowed: false
|
|
70
|
-
},
|
|
71
|
-
pointStart: 2010
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
series: [{
|
|
75
|
-
name: "Installation & Developers",
|
|
76
|
-
data: [
|
|
77
|
-
43934,
|
|
78
|
-
48656,
|
|
79
|
-
65165,
|
|
80
|
-
81827,
|
|
81
|
-
112143,
|
|
82
|
-
142383,
|
|
83
|
-
171533,
|
|
84
|
-
165174,
|
|
85
|
-
155157,
|
|
86
|
-
161454,
|
|
87
|
-
154610
|
|
88
|
-
]
|
|
89
|
-
}, {
|
|
90
|
-
name: "Manufacturing",
|
|
91
|
-
data: [
|
|
92
|
-
24916,
|
|
93
|
-
37941,
|
|
94
|
-
29742,
|
|
95
|
-
29851,
|
|
96
|
-
32490,
|
|
97
|
-
30282,
|
|
98
|
-
38121,
|
|
99
|
-
36885,
|
|
100
|
-
33726,
|
|
101
|
-
34243,
|
|
102
|
-
31050
|
|
103
|
-
]
|
|
104
|
-
}, {
|
|
105
|
-
name: "Sales & Distribution",
|
|
106
|
-
data: [
|
|
107
|
-
11744,
|
|
108
|
-
3e4,
|
|
109
|
-
16005,
|
|
110
|
-
19771,
|
|
111
|
-
20185,
|
|
112
|
-
24377,
|
|
113
|
-
32147,
|
|
114
|
-
30912,
|
|
115
|
-
29243,
|
|
116
|
-
29213,
|
|
117
|
-
25663
|
|
118
|
-
]
|
|
119
|
-
}, {
|
|
120
|
-
name: "Operations & Maintenance",
|
|
121
|
-
data: [
|
|
122
|
-
null,
|
|
123
|
-
null,
|
|
124
|
-
null,
|
|
125
|
-
null,
|
|
126
|
-
null,
|
|
127
|
-
null,
|
|
128
|
-
null,
|
|
129
|
-
null,
|
|
130
|
-
11164,
|
|
131
|
-
11218,
|
|
132
|
-
10077
|
|
133
|
-
]
|
|
134
|
-
}, {
|
|
135
|
-
name: "Other",
|
|
136
|
-
data: [
|
|
137
|
-
21908,
|
|
138
|
-
5548,
|
|
139
|
-
8105,
|
|
140
|
-
11248,
|
|
141
|
-
8989,
|
|
142
|
-
11816,
|
|
143
|
-
18274,
|
|
144
|
-
17300,
|
|
145
|
-
13053,
|
|
146
|
-
11906,
|
|
147
|
-
10073
|
|
148
|
-
]
|
|
149
|
-
}],
|
|
150
|
-
responsive: {
|
|
151
|
-
rules: [{
|
|
152
|
-
condition: {
|
|
153
|
-
maxWidth: 500
|
|
154
|
-
},
|
|
155
|
-
chartOptions: {
|
|
156
|
-
legend: {
|
|
157
|
-
layout: "horizontal",
|
|
158
|
-
align: "center",
|
|
159
|
-
verticalAlign: "bottom"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}]
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: graph_data }));
|
|
40
|
+
return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("h1", null, "asf"));
|
|
166
41
|
};
|
|
167
42
|
// Annotate the CommonJS export names for ESM import in node:
|
|
168
43
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
|
@@ -1,132 +1,7 @@
|
|
|
1
1
|
// src/libraries/element-executor.tsx
|
|
2
2
|
import React from "react";
|
|
3
|
-
import Highcharts from "highcharts";
|
|
4
|
-
import HighchartsReact from "highcharts-react-official";
|
|
5
3
|
var HighchartsLineChart = (props) => {
|
|
6
|
-
|
|
7
|
-
title: {
|
|
8
|
-
text: "U.S Solar Employment Growth",
|
|
9
|
-
align: "left"
|
|
10
|
-
},
|
|
11
|
-
subtitle: {
|
|
12
|
-
text: 'By Job Category. Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>.',
|
|
13
|
-
align: "left"
|
|
14
|
-
},
|
|
15
|
-
yAxis: {
|
|
16
|
-
title: {
|
|
17
|
-
text: "Number of Employees"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
xAxis: {
|
|
21
|
-
accessibility: {
|
|
22
|
-
rangeDescription: "Range: 2010 to 2020"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
legend: {
|
|
26
|
-
layout: "vertical",
|
|
27
|
-
align: "right",
|
|
28
|
-
verticalAlign: "middle"
|
|
29
|
-
},
|
|
30
|
-
plotOptions: {
|
|
31
|
-
series: {
|
|
32
|
-
label: {
|
|
33
|
-
connectorAllowed: false
|
|
34
|
-
},
|
|
35
|
-
pointStart: 2010
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
series: [{
|
|
39
|
-
name: "Installation & Developers",
|
|
40
|
-
data: [
|
|
41
|
-
43934,
|
|
42
|
-
48656,
|
|
43
|
-
65165,
|
|
44
|
-
81827,
|
|
45
|
-
112143,
|
|
46
|
-
142383,
|
|
47
|
-
171533,
|
|
48
|
-
165174,
|
|
49
|
-
155157,
|
|
50
|
-
161454,
|
|
51
|
-
154610
|
|
52
|
-
]
|
|
53
|
-
}, {
|
|
54
|
-
name: "Manufacturing",
|
|
55
|
-
data: [
|
|
56
|
-
24916,
|
|
57
|
-
37941,
|
|
58
|
-
29742,
|
|
59
|
-
29851,
|
|
60
|
-
32490,
|
|
61
|
-
30282,
|
|
62
|
-
38121,
|
|
63
|
-
36885,
|
|
64
|
-
33726,
|
|
65
|
-
34243,
|
|
66
|
-
31050
|
|
67
|
-
]
|
|
68
|
-
}, {
|
|
69
|
-
name: "Sales & Distribution",
|
|
70
|
-
data: [
|
|
71
|
-
11744,
|
|
72
|
-
3e4,
|
|
73
|
-
16005,
|
|
74
|
-
19771,
|
|
75
|
-
20185,
|
|
76
|
-
24377,
|
|
77
|
-
32147,
|
|
78
|
-
30912,
|
|
79
|
-
29243,
|
|
80
|
-
29213,
|
|
81
|
-
25663
|
|
82
|
-
]
|
|
83
|
-
}, {
|
|
84
|
-
name: "Operations & Maintenance",
|
|
85
|
-
data: [
|
|
86
|
-
null,
|
|
87
|
-
null,
|
|
88
|
-
null,
|
|
89
|
-
null,
|
|
90
|
-
null,
|
|
91
|
-
null,
|
|
92
|
-
null,
|
|
93
|
-
null,
|
|
94
|
-
11164,
|
|
95
|
-
11218,
|
|
96
|
-
10077
|
|
97
|
-
]
|
|
98
|
-
}, {
|
|
99
|
-
name: "Other",
|
|
100
|
-
data: [
|
|
101
|
-
21908,
|
|
102
|
-
5548,
|
|
103
|
-
8105,
|
|
104
|
-
11248,
|
|
105
|
-
8989,
|
|
106
|
-
11816,
|
|
107
|
-
18274,
|
|
108
|
-
17300,
|
|
109
|
-
13053,
|
|
110
|
-
11906,
|
|
111
|
-
10073
|
|
112
|
-
]
|
|
113
|
-
}],
|
|
114
|
-
responsive: {
|
|
115
|
-
rules: [{
|
|
116
|
-
condition: {
|
|
117
|
-
maxWidth: 500
|
|
118
|
-
},
|
|
119
|
-
chartOptions: {
|
|
120
|
-
legend: {
|
|
121
|
-
layout: "horizontal",
|
|
122
|
-
align: "center",
|
|
123
|
-
verticalAlign: "bottom"
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}]
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: graph_data }));
|
|
4
|
+
return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("h1", null, "asf"));
|
|
130
5
|
};
|
|
131
6
|
export {
|
|
132
7
|
HighchartsLineChart
|