genesys-spark-chart-components 4.218.0 → 4.220.0

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.
Files changed (42) hide show
  1. package/dist/cjs/{color-palette-CrDdTn2J.js → color-palette-CPqzTpNw.js} +1 -1
  2. package/dist/cjs/genesys-chart-webcomponents.cjs.js +3 -3
  3. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +7 -5
  4. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +7 -5
  5. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +7 -5
  6. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +7 -5
  7. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +7 -5
  8. package/dist/cjs/gux-visualization-beta.cjs.entry.js +7 -7
  9. package/dist/cjs/{index-DEg9dZRu.js → index-kxjkn7bw.js} +283 -239
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/collection/collection-manifest.json +3 -2
  12. package/dist/collection/components/beta/gux-chart-column/gux-chart-column.js +3 -2
  13. package/dist/collection/components/beta/gux-chart-donut/gux-chart-donut.js +5 -3
  14. package/dist/collection/components/beta/gux-chart-line/gux-chart-line.js +3 -2
  15. package/dist/collection/components/beta/gux-chart-pie/gux-chart-pie.js +3 -2
  16. package/dist/collection/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.js +3 -2
  17. package/dist/collection/components/beta/gux-visualization/gux-visualization.js +5 -3
  18. package/dist/esm/{color-palette-2YDNLtJs.js → color-palette-DOlcugcs.js} +1 -1
  19. package/dist/esm/genesys-chart-webcomponents.js +4 -4
  20. package/dist/esm/gux-chart-column-beta.entry.js +7 -5
  21. package/dist/esm/gux-chart-donut-beta.entry.js +7 -5
  22. package/dist/esm/gux-chart-line-beta.entry.js +7 -5
  23. package/dist/esm/gux-chart-pie-beta.entry.js +7 -5
  24. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +7 -5
  25. package/dist/esm/gux-visualization-beta.entry.js +7 -7
  26. package/dist/esm/{index-WPqt-wWR.js → index-ClAytgPt.js} +283 -239
  27. package/dist/esm/loader.js +3 -3
  28. package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
  29. package/dist/genesys-chart-webcomponents/{p-a9ee4391.entry.js → p-597f85d8.entry.js} +1 -1
  30. package/dist/genesys-chart-webcomponents/{p-857da5c9.entry.js → p-87532e68.entry.js} +1 -1
  31. package/dist/genesys-chart-webcomponents/p-ClAytgPt.js +2 -0
  32. package/dist/genesys-chart-webcomponents/{p-2YDNLtJs.js → p-DOlcugcs.js} +1 -1
  33. package/dist/genesys-chart-webcomponents/p-ad400e65.entry.js +11 -0
  34. package/dist/genesys-chart-webcomponents/{p-2c8bc15b.entry.js → p-c3887f57.entry.js} +1 -1
  35. package/dist/genesys-chart-webcomponents/{p-fce5edbc.entry.js → p-e28918e2.entry.js} +1 -1
  36. package/dist/genesys-chart-webcomponents/p-e49733aa.entry.js +1 -0
  37. package/dist/types/components.d.ts +126 -12
  38. package/dist/types/stencil-public-runtime.d.ts +109 -5
  39. package/package.json +11 -11
  40. package/dist/genesys-chart-webcomponents/p-1de2be2f.entry.js +0 -1
  41. package/dist/genesys-chart-webcomponents/p-WPqt-wWR.js +0 -2
  42. package/dist/genesys-chart-webcomponents/p-f5085f84.entry.js +0 -11
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const version = "4.218.0";
3
+ const version = "4.220.0";
4
4
  var packageInfo = {
5
5
  version: version};
6
6
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DEg9dZRu.js');
3
+ var index = require('./index-kxjkn7bw.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.38.3 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.43.2 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["gux-visualization-beta.cjs",[[257,"gux-visualization-beta",{"visualizationSpec":[16],"embedOptions":[16],"screenreaderDescription":[1,"screenreader-description"]}]]],["gux-chart-column-beta.cjs",[[257,"gux-chart-column-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"xFieldName":[1,"x-field-name"],"yFieldName":[1,"y-field-name"],"xAxisTitle":[1,"x-axis-title"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"legendPosition":[1,"legend-position"],"chartLayers":[16],"embedOptions":[16]},null,{"chartData":["parseData"]}]]],["gux-chart-donut-beta.cjs",[[257,"gux-chart-donut-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"innerRadius":[2,"inner-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"gauge":[4],"centerText":[1,"center-text"],"centerSubText":[1,"center-sub-text"],"showTooltip":[4,"show-tooltip"],"tooltipOptions":[16],"legendX":[2,"legend-x"],"legendY":[2,"legend-y"],"legendFontSize":[2,"legend-font-size"],"legendSymbolSize":[2,"legend-symbol-size"],"embedOptions":[16]},null,{"chartData":["parseData"]}]]],["gux-chart-line-beta.cjs",[[257,"gux-chart-line-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"includeDataPointMarkers":[4,"include-data-point-markers"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"strokeDash":[4,"stroke-dash"],"interpolation":[1],"embedOptions":[16]},null,{"chartData":["parseData"]}]]],["gux-chart-pie-beta.cjs",[[257,"gux-chart-pie-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"embedOptions":[16]},null,{"chartData":["parseData"]}]]],["gux-chart-scatter-plot-beta.cjs",[[257,"gux-chart-scatter-plot-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"useShape":[1,"use-shape"],"embedOptions":[16]},null,{"chartData":["parseData"]}]]]], options);
22
+ return index.bootstrapLazy([["gux-visualization-beta.cjs",[[1,"gux-visualization-beta",{"visualizationSpec":[16],"embedOptions":[16],"screenreaderDescription":[1,"screenreader-description"]}]]],["gux-chart-column-beta.cjs",[[1,"gux-chart-column-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"xFieldName":[1,"x-field-name"],"yFieldName":[1,"y-field-name"],"xAxisTitle":[1,"x-axis-title"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"legendPosition":[1,"legend-position"],"chartLayers":[16],"embedOptions":[16]},null,{"chartData":[{"parseData":0}]}]]],["gux-chart-donut-beta.cjs",[[1,"gux-chart-donut-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"innerRadius":[2,"inner-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"gauge":[4],"centerText":[1,"center-text"],"centerSubText":[1,"center-sub-text"],"showTooltip":[4,"show-tooltip"],"tooltipOptions":[16],"legendX":[2,"legend-x"],"legendY":[2,"legend-y"],"legendFontSize":[2,"legend-font-size"],"legendSymbolSize":[2,"legend-symbol-size"],"embedOptions":[16]},null,{"chartData":[{"parseData":0}]}]]],["gux-chart-line-beta.cjs",[[1,"gux-chart-line-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"includeDataPointMarkers":[4,"include-data-point-markers"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"strokeDash":[4,"stroke-dash"],"interpolation":[1],"embedOptions":[16]},null,{"chartData":[{"parseData":0}]}]]],["gux-chart-pie-beta.cjs",[[1,"gux-chart-pie-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"embedOptions":[16]},null,{"chartData":[{"parseData":0}]}]]],["gux-chart-scatter-plot-beta.cjs",[[1,"gux-chart-scatter-plot-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"useShape":[1,"use-shape"],"embedOptions":[16]},null,{"chartData":[{"parseData":0}]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DEg9dZRu.js');
4
- var colorPalette = require('./color-palette-CrDdTn2J.js');
3
+ var index = require('./index-kxjkn7bw.js');
4
+ var colorPalette = require('./color-palette-CPqzTpNw.js');
5
5
  var logError = require('./log-error-BMPVm36Q.js');
6
6
 
7
- const guxChartColumnCss = "gux-visualization-beta{height:fit-content;color:#2e394c;}gux-visualization-beta .mark-rect.layer_0_marks path{fill:url(#diagonalHatch0)}gux-visualization-beta{}gux-visualization-beta .mark-rect.layer_1_marks path{fill:#1da8b3}";
7
+ const guxChartColumnCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c;}gux-visualization-beta .mark-rect.layer_0_marks path{fill:url(#diagonalHatch0)}gux-visualization-beta{}gux-visualization-beta .mark-rect.layer_1_marks path{fill:#1da8b3}`;
8
8
 
9
9
  const GuxColumnChart = class {
10
10
  constructor(hostRef) {
@@ -130,9 +130,11 @@ const GuxColumnChart = class {
130
130
  }
131
131
  get root() { return index.getElement(this); }
132
132
  static get watchers() { return {
133
- "chartData": ["parseData"]
133
+ "chartData": [{
134
+ "parseData": 0
135
+ }]
134
136
  }; }
135
137
  };
136
- GuxColumnChart.style = guxChartColumnCss;
138
+ GuxColumnChart.style = guxChartColumnCss();
137
139
 
138
140
  exports.gux_chart_column_beta = GuxColumnChart;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DEg9dZRu.js');
4
- var colorPalette = require('./color-palette-CrDdTn2J.js');
3
+ var index = require('./index-kxjkn7bw.js');
4
+ var colorPalette = require('./color-palette-CPqzTpNw.js');
5
5
  var logError = require('./log-error-BMPVm36Q.js');
6
6
 
7
- const guxChartDonutCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
7
+ const guxChartDonutCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
8
8
 
9
9
  const DEFAULT_COLOR_FIELD_NAME = 'category';
10
10
  const DEFAULT_LABEL_FIELD_NAME = 'value';
@@ -202,9 +202,11 @@ const GuxDonutChart = class {
202
202
  }
203
203
  get root() { return index.getElement(this); }
204
204
  static get watchers() { return {
205
- "chartData": ["parseData"]
205
+ "chartData": [{
206
+ "parseData": 0
207
+ }]
206
208
  }; }
207
209
  };
208
- GuxDonutChart.style = guxChartDonutCss;
210
+ GuxDonutChart.style = guxChartDonutCss();
209
211
 
210
212
  exports.gux_chart_donut_beta = GuxDonutChart;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DEg9dZRu.js');
4
- var colorPalette = require('./color-palette-CrDdTn2J.js');
3
+ var index = require('./index-kxjkn7bw.js');
4
+ var colorPalette = require('./color-palette-CPqzTpNw.js');
5
5
  var logError = require('./log-error-BMPVm36Q.js');
6
6
 
7
- const guxChartLineCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
7
+ const guxChartLineCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
8
8
 
9
9
  const DEFAULT_COLOR_FIELD_NAME = 'category';
10
10
  const GuxLineChart = class {
@@ -122,9 +122,11 @@ const GuxLineChart = class {
122
122
  }
123
123
  get root() { return index.getElement(this); }
124
124
  static get watchers() { return {
125
- "chartData": ["parseData"]
125
+ "chartData": [{
126
+ "parseData": 0
127
+ }]
126
128
  }; }
127
129
  };
128
- GuxLineChart.style = guxChartLineCss;
130
+ GuxLineChart.style = guxChartLineCss();
129
131
 
130
132
  exports.gux_chart_line_beta = GuxLineChart;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DEg9dZRu.js');
4
- var colorPalette = require('./color-palette-CrDdTn2J.js');
3
+ var index = require('./index-kxjkn7bw.js');
4
+ var colorPalette = require('./color-palette-CPqzTpNw.js');
5
5
  var logError = require('./log-error-BMPVm36Q.js');
6
6
 
7
- const guxChartPieCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
7
+ const guxChartPieCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
8
8
 
9
9
  const DEFAULT_COLOR_FIELD_NAME = 'category';
10
10
  const DEFAULT_LABEL_FIELD_NAME = 'value';
@@ -95,9 +95,11 @@ const GuxPieChart = class {
95
95
  }
96
96
  get root() { return index.getElement(this); }
97
97
  static get watchers() { return {
98
- "chartData": ["parseData"]
98
+ "chartData": [{
99
+ "parseData": 0
100
+ }]
99
101
  }; }
100
102
  };
101
- GuxPieChart.style = guxChartPieCss;
103
+ GuxPieChart.style = guxChartPieCss();
102
104
 
103
105
  exports.gux_chart_pie_beta = GuxPieChart;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DEg9dZRu.js');
4
- var colorPalette = require('./color-palette-CrDdTn2J.js');
3
+ var index = require('./index-kxjkn7bw.js');
4
+ var colorPalette = require('./color-palette-CPqzTpNw.js');
5
5
  var logError = require('./log-error-BMPVm36Q.js');
6
6
 
7
- const guxChartScatterPlotCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
7
+ const guxChartScatterPlotCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
8
8
 
9
9
  const DEFAULT_COLOR_FIELD_NAME = 'category';
10
10
  const GuxScatterPlotChart = class {
@@ -132,9 +132,11 @@ const GuxScatterPlotChart = class {
132
132
  }
133
133
  get root() { return index.getElement(this); }
134
134
  static get watchers() { return {
135
- "chartData": ["parseData"]
135
+ "chartData": [{
136
+ "parseData": 0
137
+ }]
136
138
  }; }
137
139
  };
138
- GuxScatterPlotChart.style = guxChartScatterPlotCss;
140
+ GuxScatterPlotChart.style = guxChartScatterPlotCss();
139
141
 
140
142
  exports.gux_chart_scatter_plot_beta = GuxScatterPlotChart;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index$2 = require('./index-DEg9dZRu.js');
4
- var colorPalette = require('./color-palette-CrDdTn2J.js');
3
+ var index$2 = require('./index-kxjkn7bw.js');
4
+ var colorPalette = require('./color-palette-CPqzTpNw.js');
5
5
 
6
6
  // Note: This regex matches even invalid JSON strings, but since we’re
7
7
  // working on the output of `JSON.stringify` we know that only valid strings
@@ -22834,7 +22834,7 @@ var boundsStream$1 = {
22834
22834
  boundsStream$1.lineEnd = boundsLineEnd;
22835
22835
  if (areaRingSum$1 < 0) lambda0 = -(lambda1 = 180), phi0 = -(phi1 = 90);
22836
22836
  else if (deltaSum > epsilon$3) phi1 = 90;
22837
- else if (deltaSum < -1e-6) phi0 = -90;
22837
+ else if (deltaSum < -epsilon$3) phi0 = -90;
22838
22838
  range$4[0] = lambda0, range$4[1] = lambda1;
22839
22839
  },
22840
22840
  sphere: function() {
@@ -23435,7 +23435,7 @@ function polygonContains(polygon, point) {
23435
23435
  // from the point to the South pole. If it is zero, then the point is the
23436
23436
  // same side as the South pole.
23437
23437
 
23438
- return (angle < -1e-6 || angle < epsilon$3 && sum < -1e-12) ^ (winding & 1);
23438
+ return (angle < -epsilon$3 || angle < epsilon$3 && sum < -epsilon2) ^ (winding & 1);
23439
23439
  }
23440
23440
 
23441
23441
  function clip$1(pointVisible, clipLine, interpolate, start) {
@@ -23886,7 +23886,7 @@ function clipLine(a, b, x0, y0, x1, y1) {
23886
23886
  return true;
23887
23887
  }
23888
23888
 
23889
- var clipMax = 1e9, clipMin = -1e9;
23889
+ var clipMax = 1e9, clipMin = -clipMax;
23890
23890
 
23891
23891
  // TODO Use d3-polygon’s polygonContains here for the ring check?
23892
23892
  // TODO Eliminate duplicate buffering in clipBuffer and polygon.push?
@@ -67837,7 +67837,7 @@ function browserLocaleOverride(localeString) {
67837
67837
  }
67838
67838
  }
67839
67839
 
67840
- const guxVisualizationCss = ":host{height:fit-content}.gux-chart-container{width:100%;height:100%}";
67840
+ const guxVisualizationCss = () => `:host{height:fit-content}.gux-chart-container{width:100%;height:100%}`;
67841
67841
 
67842
67842
  const GuxVisualization = class {
67843
67843
  constructor(hostRef) {
@@ -67911,6 +67911,6 @@ const GuxVisualization = class {
67911
67911
  }
67912
67912
  get root() { return index$2.getElement(this); }
67913
67913
  };
67914
- GuxVisualization.style = guxVisualizationCss;
67914
+ GuxVisualization.style = guxVisualizationCss();
67915
67915
 
67916
67916
  exports.gux_visualization_beta = GuxVisualization;