@apexcura/core 0.0.16-Beta209 → 0.0.16-Beta210

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