@apexcura/core 0.0.16-Beta224 → 0.0.16-Beta225

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 CHANGED
@@ -36,8 +36,6 @@ 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 import_ui_components = require("@apexcura/ui-components");
42
40
 
43
41
  // src/services/http-service.tsx
@@ -378,133 +376,7 @@ var ElementExecutor = (props) => {
378
376
  return null;
379
377
  });
380
378
  };
381
- let graph_data = {
382
- chart: {
383
- height: "50%"
384
- },
385
- title: {
386
- text: "U.S Solar Employment Growth",
387
- align: "left"
388
- },
389
- subtitle: {
390
- text: 'By Job Category. Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>.',
391
- align: "left"
392
- },
393
- yAxis: {
394
- title: {
395
- text: "Number of Employees"
396
- }
397
- },
398
- xAxis: {
399
- accessibility: {
400
- rangeDescription: "Range: 2010 to 2020"
401
- }
402
- },
403
- legend: {
404
- layout: "vertical",
405
- align: "right",
406
- verticalAlign: "middle"
407
- },
408
- plotOptions: {
409
- series: {
410
- label: {
411
- connectorAllowed: false
412
- },
413
- pointStart: 2010
414
- }
415
- },
416
- series: [{
417
- name: "Installation & Developers",
418
- data: [
419
- 43934,
420
- 48656,
421
- 65165,
422
- 81827,
423
- 112143,
424
- 142383,
425
- 171533,
426
- 165174,
427
- 155157,
428
- 161454,
429
- 154610
430
- ]
431
- }, {
432
- name: "Manufacturing",
433
- data: [
434
- 24916,
435
- 37941,
436
- 29742,
437
- 29851,
438
- 32490,
439
- 30282,
440
- 38121,
441
- 36885,
442
- 33726,
443
- 34243,
444
- 31050
445
- ]
446
- }, {
447
- name: "Sales & Distribution",
448
- data: [
449
- 11744,
450
- 3e4,
451
- 16005,
452
- 19771,
453
- 20185,
454
- 24377,
455
- 32147,
456
- 30912,
457
- 29243,
458
- 29213,
459
- 25663
460
- ]
461
- }, {
462
- name: "Operations & Maintenance",
463
- data: [
464
- null,
465
- null,
466
- null,
467
- null,
468
- null,
469
- null,
470
- null,
471
- null,
472
- 11164,
473
- 11218,
474
- 10077
475
- ]
476
- }, {
477
- name: "Other",
478
- data: [
479
- 21908,
480
- 5548,
481
- 8105,
482
- 11248,
483
- 8989,
484
- 11816,
485
- 18274,
486
- 17300,
487
- 13053,
488
- 11906,
489
- 10073
490
- ]
491
- }],
492
- responsive: {
493
- rules: [{
494
- condition: {
495
- maxWidth: 500
496
- },
497
- chartOptions: {
498
- legend: {
499
- layout: "horizontal",
500
- align: "center",
501
- verticalAlign: "bottom"
502
- }
503
- }
504
- }]
505
- }
506
- };
507
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("h1", null, "direct"), /* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: graph_data }), /* @__PURE__ */ import_react.default.createElement("div", { className: props.data.className }, renderFields(schema)));
379
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("h1", null, "direct"), /* @__PURE__ */ import_react.default.createElement("div", { className: props.data.className }, renderFields(schema)));
508
380
  };
509
381
  // Annotate the CommonJS export names for ESM import in node:
510
382
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -1,7 +1,5 @@
1
1
  // src/libraries/element-executor.tsx
2
2
  import React, { useState } from "react";
3
- import Highcharts from "highcharts";
4
- import HighchartsReact from "highcharts-react-official";
5
3
  import {
6
4
  TextElement,
7
5
  NumberElement,
@@ -373,133 +371,7 @@ var ElementExecutor = (props) => {
373
371
  return null;
374
372
  });
375
373
  };
376
- let graph_data = {
377
- chart: {
378
- height: "50%"
379
- },
380
- title: {
381
- text: "U.S Solar Employment Growth",
382
- align: "left"
383
- },
384
- subtitle: {
385
- text: 'By Job Category. Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>.',
386
- align: "left"
387
- },
388
- yAxis: {
389
- title: {
390
- text: "Number of Employees"
391
- }
392
- },
393
- xAxis: {
394
- accessibility: {
395
- rangeDescription: "Range: 2010 to 2020"
396
- }
397
- },
398
- legend: {
399
- layout: "vertical",
400
- align: "right",
401
- verticalAlign: "middle"
402
- },
403
- plotOptions: {
404
- series: {
405
- label: {
406
- connectorAllowed: false
407
- },
408
- pointStart: 2010
409
- }
410
- },
411
- series: [{
412
- name: "Installation & Developers",
413
- data: [
414
- 43934,
415
- 48656,
416
- 65165,
417
- 81827,
418
- 112143,
419
- 142383,
420
- 171533,
421
- 165174,
422
- 155157,
423
- 161454,
424
- 154610
425
- ]
426
- }, {
427
- name: "Manufacturing",
428
- data: [
429
- 24916,
430
- 37941,
431
- 29742,
432
- 29851,
433
- 32490,
434
- 30282,
435
- 38121,
436
- 36885,
437
- 33726,
438
- 34243,
439
- 31050
440
- ]
441
- }, {
442
- name: "Sales & Distribution",
443
- data: [
444
- 11744,
445
- 3e4,
446
- 16005,
447
- 19771,
448
- 20185,
449
- 24377,
450
- 32147,
451
- 30912,
452
- 29243,
453
- 29213,
454
- 25663
455
- ]
456
- }, {
457
- name: "Operations & Maintenance",
458
- data: [
459
- null,
460
- null,
461
- null,
462
- null,
463
- null,
464
- null,
465
- null,
466
- null,
467
- 11164,
468
- 11218,
469
- 10077
470
- ]
471
- }, {
472
- name: "Other",
473
- data: [
474
- 21908,
475
- 5548,
476
- 8105,
477
- 11248,
478
- 8989,
479
- 11816,
480
- 18274,
481
- 17300,
482
- 13053,
483
- 11906,
484
- 10073
485
- ]
486
- }],
487
- responsive: {
488
- rules: [{
489
- condition: {
490
- maxWidth: 500
491
- },
492
- chartOptions: {
493
- legend: {
494
- layout: "horizontal",
495
- align: "center",
496
- verticalAlign: "bottom"
497
- }
498
- }
499
- }]
500
- }
501
- };
502
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("h1", null, "direct"), /* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: graph_data }), /* @__PURE__ */ React.createElement("div", { className: props.data.className }, renderFields(schema)));
374
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("h1", null, "direct"), /* @__PURE__ */ React.createElement("div", { className: props.data.className }, renderFields(schema)));
503
375
  };
504
376
  export {
505
377
  ElementExecutor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/core",
3
- "version": "0.0.16-Beta224",
3
+ "version": "0.0.16-Beta225",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",