@apexcura/core 0.0.16-Beta218 → 0.0.16-Beta219

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
@@ -355,7 +355,7 @@ var ElementExecutor = (props) => {
355
355
  case "linechart3":
356
356
  return /* @__PURE__ */ import_react.default.createElement("h1", null, "linechart-3");
357
357
  case "highchart":
358
- let data_options = {
358
+ let data_options2 = {
359
359
  chart: {
360
360
  height: "45%"
361
361
  },
@@ -481,7 +481,7 @@ var ElementExecutor = (props) => {
481
481
  }]
482
482
  }
483
483
  };
484
- return /* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: data_options });
484
+ return /* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: data_options2 });
485
485
  case "double-barchart":
486
486
  return /* @__PURE__ */ import_react.default.createElement(
487
487
  import_ui_components.DoubleBarChart,
@@ -510,7 +510,133 @@ var ElementExecutor = (props) => {
510
510
  return null;
511
511
  });
512
512
  };
513
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: props.data.className }, renderFields(schema)));
513
+ let data_options = {
514
+ chart: {
515
+ height: "45%"
516
+ },
517
+ title: {
518
+ text: "U.S Solar Employment Growth",
519
+ align: "left"
520
+ },
521
+ subtitle: {
522
+ text: 'By Job Category. Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>.',
523
+ align: "left"
524
+ },
525
+ yAxis: {
526
+ title: {
527
+ text: "Number of Employees"
528
+ }
529
+ },
530
+ xAxis: {
531
+ accessibility: {
532
+ rangeDescription: "Range: 2010 to 2020"
533
+ }
534
+ },
535
+ legend: {
536
+ layout: "vertical",
537
+ align: "right",
538
+ verticalAlign: "middle"
539
+ },
540
+ plotOptions: {
541
+ series: {
542
+ label: {
543
+ connectorAllowed: false
544
+ },
545
+ pointStart: 2010
546
+ }
547
+ },
548
+ series: [{
549
+ name: "Installation & Developers",
550
+ data: [
551
+ 43934,
552
+ 48656,
553
+ 65165,
554
+ 81827,
555
+ 112143,
556
+ 142383,
557
+ 171533,
558
+ 165174,
559
+ 155157,
560
+ 161454,
561
+ 154610
562
+ ]
563
+ }, {
564
+ name: "Manufacturing",
565
+ data: [
566
+ 24916,
567
+ 37941,
568
+ 29742,
569
+ 29851,
570
+ 32490,
571
+ 30282,
572
+ 38121,
573
+ 36885,
574
+ 33726,
575
+ 34243,
576
+ 31050
577
+ ]
578
+ }, {
579
+ name: "Sales & Distribution",
580
+ data: [
581
+ 11744,
582
+ 3e4,
583
+ 16005,
584
+ 19771,
585
+ 20185,
586
+ 24377,
587
+ 32147,
588
+ 30912,
589
+ 29243,
590
+ 29213,
591
+ 25663
592
+ ]
593
+ }, {
594
+ name: "Operations & Maintenance",
595
+ data: [
596
+ null,
597
+ null,
598
+ null,
599
+ null,
600
+ null,
601
+ null,
602
+ null,
603
+ null,
604
+ 11164,
605
+ 11218,
606
+ 10077
607
+ ]
608
+ }, {
609
+ name: "Other",
610
+ data: [
611
+ 21908,
612
+ 5548,
613
+ 8105,
614
+ 11248,
615
+ 8989,
616
+ 11816,
617
+ 18274,
618
+ 17300,
619
+ 13053,
620
+ 11906,
621
+ 10073
622
+ ]
623
+ }],
624
+ responsive: {
625
+ rules: [{
626
+ condition: {
627
+ maxWidth: 500
628
+ },
629
+ chartOptions: {
630
+ legend: {
631
+ layout: "horizontal",
632
+ align: "center",
633
+ verticalAlign: "bottom"
634
+ }
635
+ }
636
+ }]
637
+ }
638
+ };
639
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: data_options }));
514
640
  };
515
641
  // Annotate the CommonJS export names for ESM import in node:
516
642
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -350,7 +350,7 @@ var ElementExecutor = (props) => {
350
350
  case "linechart3":
351
351
  return /* @__PURE__ */ React.createElement("h1", null, "linechart-3");
352
352
  case "highchart":
353
- let data_options = {
353
+ let data_options2 = {
354
354
  chart: {
355
355
  height: "45%"
356
356
  },
@@ -476,7 +476,7 @@ var ElementExecutor = (props) => {
476
476
  }]
477
477
  }
478
478
  };
479
- return /* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: data_options });
479
+ return /* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: data_options2 });
480
480
  case "double-barchart":
481
481
  return /* @__PURE__ */ React.createElement(
482
482
  DoubleBarChart,
@@ -505,7 +505,133 @@ var ElementExecutor = (props) => {
505
505
  return null;
506
506
  });
507
507
  };
508
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: props.data.className }, renderFields(schema)));
508
+ let data_options = {
509
+ chart: {
510
+ height: "45%"
511
+ },
512
+ title: {
513
+ text: "U.S Solar Employment Growth",
514
+ align: "left"
515
+ },
516
+ subtitle: {
517
+ text: 'By Job Category. Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>.',
518
+ align: "left"
519
+ },
520
+ yAxis: {
521
+ title: {
522
+ text: "Number of Employees"
523
+ }
524
+ },
525
+ xAxis: {
526
+ accessibility: {
527
+ rangeDescription: "Range: 2010 to 2020"
528
+ }
529
+ },
530
+ legend: {
531
+ layout: "vertical",
532
+ align: "right",
533
+ verticalAlign: "middle"
534
+ },
535
+ plotOptions: {
536
+ series: {
537
+ label: {
538
+ connectorAllowed: false
539
+ },
540
+ pointStart: 2010
541
+ }
542
+ },
543
+ series: [{
544
+ name: "Installation & Developers",
545
+ data: [
546
+ 43934,
547
+ 48656,
548
+ 65165,
549
+ 81827,
550
+ 112143,
551
+ 142383,
552
+ 171533,
553
+ 165174,
554
+ 155157,
555
+ 161454,
556
+ 154610
557
+ ]
558
+ }, {
559
+ name: "Manufacturing",
560
+ data: [
561
+ 24916,
562
+ 37941,
563
+ 29742,
564
+ 29851,
565
+ 32490,
566
+ 30282,
567
+ 38121,
568
+ 36885,
569
+ 33726,
570
+ 34243,
571
+ 31050
572
+ ]
573
+ }, {
574
+ name: "Sales & Distribution",
575
+ data: [
576
+ 11744,
577
+ 3e4,
578
+ 16005,
579
+ 19771,
580
+ 20185,
581
+ 24377,
582
+ 32147,
583
+ 30912,
584
+ 29243,
585
+ 29213,
586
+ 25663
587
+ ]
588
+ }, {
589
+ name: "Operations & Maintenance",
590
+ data: [
591
+ null,
592
+ null,
593
+ null,
594
+ null,
595
+ null,
596
+ null,
597
+ null,
598
+ null,
599
+ 11164,
600
+ 11218,
601
+ 10077
602
+ ]
603
+ }, {
604
+ name: "Other",
605
+ data: [
606
+ 21908,
607
+ 5548,
608
+ 8105,
609
+ 11248,
610
+ 8989,
611
+ 11816,
612
+ 18274,
613
+ 17300,
614
+ 13053,
615
+ 11906,
616
+ 10073
617
+ ]
618
+ }],
619
+ responsive: {
620
+ rules: [{
621
+ condition: {
622
+ maxWidth: 500
623
+ },
624
+ chartOptions: {
625
+ legend: {
626
+ layout: "horizontal",
627
+ align: "center",
628
+ verticalAlign: "bottom"
629
+ }
630
+ }
631
+ }]
632
+ }
633
+ };
634
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: data_options }));
509
635
  };
510
636
  export {
511
637
  ElementExecutor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/core",
3
- "version": "0.0.16-Beta218",
3
+ "version": "0.0.16-Beta219",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",