@apexcura/core 0.0.16-Beta217 → 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,133 @@ var ElementExecutor = (props) => {
355
355
  case "linechart3":
356
356
  return /* @__PURE__ */ import_react.default.createElement("h1", null, "linechart-3");
357
357
  case "highchart":
358
- return /* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: elementProps.data_options });
358
+ let data_options2 = {
359
+ chart: {
360
+ height: "45%"
361
+ },
362
+ title: {
363
+ text: "U.S Solar Employment Growth",
364
+ align: "left"
365
+ },
366
+ subtitle: {
367
+ text: 'By Job Category. Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>.',
368
+ align: "left"
369
+ },
370
+ yAxis: {
371
+ title: {
372
+ text: "Number of Employees"
373
+ }
374
+ },
375
+ xAxis: {
376
+ accessibility: {
377
+ rangeDescription: "Range: 2010 to 2020"
378
+ }
379
+ },
380
+ legend: {
381
+ layout: "vertical",
382
+ align: "right",
383
+ verticalAlign: "middle"
384
+ },
385
+ plotOptions: {
386
+ series: {
387
+ label: {
388
+ connectorAllowed: false
389
+ },
390
+ pointStart: 2010
391
+ }
392
+ },
393
+ series: [{
394
+ name: "Installation & Developers",
395
+ data: [
396
+ 43934,
397
+ 48656,
398
+ 65165,
399
+ 81827,
400
+ 112143,
401
+ 142383,
402
+ 171533,
403
+ 165174,
404
+ 155157,
405
+ 161454,
406
+ 154610
407
+ ]
408
+ }, {
409
+ name: "Manufacturing",
410
+ data: [
411
+ 24916,
412
+ 37941,
413
+ 29742,
414
+ 29851,
415
+ 32490,
416
+ 30282,
417
+ 38121,
418
+ 36885,
419
+ 33726,
420
+ 34243,
421
+ 31050
422
+ ]
423
+ }, {
424
+ name: "Sales & Distribution",
425
+ data: [
426
+ 11744,
427
+ 3e4,
428
+ 16005,
429
+ 19771,
430
+ 20185,
431
+ 24377,
432
+ 32147,
433
+ 30912,
434
+ 29243,
435
+ 29213,
436
+ 25663
437
+ ]
438
+ }, {
439
+ name: "Operations & Maintenance",
440
+ data: [
441
+ null,
442
+ null,
443
+ null,
444
+ null,
445
+ null,
446
+ null,
447
+ null,
448
+ null,
449
+ 11164,
450
+ 11218,
451
+ 10077
452
+ ]
453
+ }, {
454
+ name: "Other",
455
+ data: [
456
+ 21908,
457
+ 5548,
458
+ 8105,
459
+ 11248,
460
+ 8989,
461
+ 11816,
462
+ 18274,
463
+ 17300,
464
+ 13053,
465
+ 11906,
466
+ 10073
467
+ ]
468
+ }],
469
+ responsive: {
470
+ rules: [{
471
+ condition: {
472
+ maxWidth: 500
473
+ },
474
+ chartOptions: {
475
+ legend: {
476
+ layout: "horizontal",
477
+ align: "center",
478
+ verticalAlign: "bottom"
479
+ }
480
+ }
481
+ }]
482
+ }
483
+ };
484
+ return /* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: data_options2 });
359
485
  case "double-barchart":
360
486
  return /* @__PURE__ */ import_react.default.createElement(
361
487
  import_ui_components.DoubleBarChart,
@@ -384,7 +510,133 @@ var ElementExecutor = (props) => {
384
510
  return null;
385
511
  });
386
512
  };
387
- 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 }));
388
640
  };
389
641
  // Annotate the CommonJS export names for ESM import in node:
390
642
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -350,7 +350,133 @@ var ElementExecutor = (props) => {
350
350
  case "linechart3":
351
351
  return /* @__PURE__ */ React.createElement("h1", null, "linechart-3");
352
352
  case "highchart":
353
- return /* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: elementProps.data_options });
353
+ let data_options2 = {
354
+ chart: {
355
+ height: "45%"
356
+ },
357
+ title: {
358
+ text: "U.S Solar Employment Growth",
359
+ align: "left"
360
+ },
361
+ subtitle: {
362
+ text: 'By Job Category. Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>.',
363
+ align: "left"
364
+ },
365
+ yAxis: {
366
+ title: {
367
+ text: "Number of Employees"
368
+ }
369
+ },
370
+ xAxis: {
371
+ accessibility: {
372
+ rangeDescription: "Range: 2010 to 2020"
373
+ }
374
+ },
375
+ legend: {
376
+ layout: "vertical",
377
+ align: "right",
378
+ verticalAlign: "middle"
379
+ },
380
+ plotOptions: {
381
+ series: {
382
+ label: {
383
+ connectorAllowed: false
384
+ },
385
+ pointStart: 2010
386
+ }
387
+ },
388
+ series: [{
389
+ name: "Installation & Developers",
390
+ data: [
391
+ 43934,
392
+ 48656,
393
+ 65165,
394
+ 81827,
395
+ 112143,
396
+ 142383,
397
+ 171533,
398
+ 165174,
399
+ 155157,
400
+ 161454,
401
+ 154610
402
+ ]
403
+ }, {
404
+ name: "Manufacturing",
405
+ data: [
406
+ 24916,
407
+ 37941,
408
+ 29742,
409
+ 29851,
410
+ 32490,
411
+ 30282,
412
+ 38121,
413
+ 36885,
414
+ 33726,
415
+ 34243,
416
+ 31050
417
+ ]
418
+ }, {
419
+ name: "Sales & Distribution",
420
+ data: [
421
+ 11744,
422
+ 3e4,
423
+ 16005,
424
+ 19771,
425
+ 20185,
426
+ 24377,
427
+ 32147,
428
+ 30912,
429
+ 29243,
430
+ 29213,
431
+ 25663
432
+ ]
433
+ }, {
434
+ name: "Operations & Maintenance",
435
+ data: [
436
+ null,
437
+ null,
438
+ null,
439
+ null,
440
+ null,
441
+ null,
442
+ null,
443
+ null,
444
+ 11164,
445
+ 11218,
446
+ 10077
447
+ ]
448
+ }, {
449
+ name: "Other",
450
+ data: [
451
+ 21908,
452
+ 5548,
453
+ 8105,
454
+ 11248,
455
+ 8989,
456
+ 11816,
457
+ 18274,
458
+ 17300,
459
+ 13053,
460
+ 11906,
461
+ 10073
462
+ ]
463
+ }],
464
+ responsive: {
465
+ rules: [{
466
+ condition: {
467
+ maxWidth: 500
468
+ },
469
+ chartOptions: {
470
+ legend: {
471
+ layout: "horizontal",
472
+ align: "center",
473
+ verticalAlign: "bottom"
474
+ }
475
+ }
476
+ }]
477
+ }
478
+ };
479
+ return /* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: data_options2 });
354
480
  case "double-barchart":
355
481
  return /* @__PURE__ */ React.createElement(
356
482
  DoubleBarChart,
@@ -379,7 +505,133 @@ var ElementExecutor = (props) => {
379
505
  return null;
380
506
  });
381
507
  };
382
- 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 }));
383
635
  };
384
636
  export {
385
637
  ElementExecutor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/core",
3
- "version": "0.0.16-Beta217",
3
+ "version": "0.0.16-Beta219",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",