genesys-spark-chart-components 4.258.1 → 4.259.1

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 (34) hide show
  1. package/dist/cjs/{color-palette-DC3JNBeR.js → color-palette-DKD-pNiV.js} +1 -1
  2. package/dist/cjs/genesys-chart-webcomponents.cjs.js +2 -2
  3. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +2 -2
  8. package/dist/cjs/gux-visualization-beta.cjs.entry.js +2 -2
  9. package/dist/cjs/{index-7q22DyA6.js → index-B2yCxXKo.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/collection/collection-manifest.json +1 -1
  12. package/dist/esm/{color-palette-0jFz2AhN.js → color-palette-BMlqHxMg.js} +1 -1
  13. package/dist/esm/genesys-chart-webcomponents.js +3 -3
  14. package/dist/esm/gux-chart-column-beta.entry.js +2 -2
  15. package/dist/esm/gux-chart-donut-beta.entry.js +2 -2
  16. package/dist/esm/gux-chart-line-beta.entry.js +2 -2
  17. package/dist/esm/gux-chart-pie-beta.entry.js +2 -2
  18. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +2 -2
  19. package/dist/esm/gux-visualization-beta.entry.js +2 -2
  20. package/dist/esm/{index-YmhHejqr.js → index-B1rXZ1zs.js} +1 -1
  21. package/dist/esm/loader.js +2 -2
  22. package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
  23. package/dist/genesys-chart-webcomponents/{p-a12961c7.entry.js → p-4b03fbcb.entry.js} +1 -1
  24. package/dist/genesys-chart-webcomponents/p-5a2d7a6d.entry.js +1 -0
  25. package/dist/genesys-chart-webcomponents/{p-053ce5ee.entry.js → p-5e5ac1a3.entry.js} +3 -3
  26. package/dist/genesys-chart-webcomponents/{p-0jFz2AhN.js → p-BMlqHxMg.js} +1 -1
  27. package/dist/genesys-chart-webcomponents/p-a5c5b206.entry.js +1 -0
  28. package/dist/genesys-chart-webcomponents/{p-993a3ef0.entry.js → p-b0a168e9.entry.js} +1 -1
  29. package/dist/genesys-chart-webcomponents/{p-4a7b40a8.entry.js → p-fde27052.entry.js} +1 -1
  30. package/dist/types/stencil-public-runtime.d.ts +1 -0
  31. package/package.json +5 -5
  32. package/dist/genesys-chart-webcomponents/p-c2fcf971.entry.js +0 -1
  33. package/dist/genesys-chart-webcomponents/p-cb202c7e.entry.js +0 -1
  34. /package/dist/genesys-chart-webcomponents/{p-YmhHejqr.js → p-B1rXZ1zs.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const version = "4.258.1";
3
+ const version = "4.259.1";
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-7q22DyA6.js');
3
+ var index = require('./index-B2yCxXKo.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.43.4 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.43.5 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-7q22DyA6.js');
4
- var colorPalette = require('./color-palette-DC3JNBeR.js');
3
+ var index = require('./index-B2yCxXKo.js');
4
+ var colorPalette = require('./color-palette-DKD-pNiV.js');
5
5
  var logError = require('./log-error-BMPVm36Q.js');
6
6
 
7
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}`;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-7q22DyA6.js');
4
- var colorPalette = require('./color-palette-DC3JNBeR.js');
3
+ var index = require('./index-B2yCxXKo.js');
4
+ var colorPalette = require('./color-palette-DKD-pNiV.js');
5
5
  var logError = require('./log-error-BMPVm36Q.js');
6
6
 
7
7
  const guxChartDonutCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-7q22DyA6.js');
4
- var colorPalette = require('./color-palette-DC3JNBeR.js');
3
+ var index = require('./index-B2yCxXKo.js');
4
+ var colorPalette = require('./color-palette-DKD-pNiV.js');
5
5
  var logError = require('./log-error-BMPVm36Q.js');
6
6
 
7
7
  const guxChartLineCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-7q22DyA6.js');
4
- var colorPalette = require('./color-palette-DC3JNBeR.js');
3
+ var index = require('./index-B2yCxXKo.js');
4
+ var colorPalette = require('./color-palette-DKD-pNiV.js');
5
5
  var logError = require('./log-error-BMPVm36Q.js');
6
6
 
7
7
  const guxChartPieCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-7q22DyA6.js');
4
- var colorPalette = require('./color-palette-DC3JNBeR.js');
3
+ var index = require('./index-B2yCxXKo.js');
4
+ var colorPalette = require('./color-palette-DKD-pNiV.js');
5
5
  var logError = require('./log-error-BMPVm36Q.js');
6
6
 
7
7
  const guxChartScatterPlotCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index$2 = require('./index-7q22DyA6.js');
4
- var colorPalette = require('./color-palette-DC3JNBeR.js');
3
+ var index$2 = require('./index-B2yCxXKo.js');
4
+ var colorPalette = require('./color-palette-DKD-pNiV.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
@@ -22,7 +22,7 @@ const NAMESPACE = 'genesys-chart-webcomponents';
22
22
  const BUILD = /* genesys-chart-webcomponents */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: true, updatable: true};
23
23
 
24
24
  /*
25
- Stencil Client Platform v4.43.4 | MIT Licensed | https://stenciljs.com
25
+ Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
26
26
  */
27
27
 
28
28
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-7q22DyA6.js');
3
+ var index = require('./index-B2yCxXKo.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -10,7 +10,7 @@
10
10
  "mixins": [],
11
11
  "compiler": {
12
12
  "name": "@stencil/core",
13
- "version": "4.43.4",
13
+ "version": "4.43.5",
14
14
  "typescriptVersion": "5.8.3"
15
15
  },
16
16
  "collections": [],
@@ -1,4 +1,4 @@
1
- const version = "4.258.1";
1
+ const version = "4.259.1";
2
2
  var packageInfo = {
3
3
  version: version};
4
4
 
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-YmhHejqr.js';
2
- export { s as setNonce } from './index-YmhHejqr.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-B1rXZ1zs.js';
2
+ export { s as setNonce } from './index-B1rXZ1zs.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.43.4 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.43.5 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-YmhHejqr.js';
2
- import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-0jFz2AhN.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-B1rXZ1zs.js';
2
+ import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BMlqHxMg.js';
3
3
  import { l as logError } from './log-error-nsqlWzyl.js';
4
4
 
5
5
  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}`;
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-YmhHejqr.js';
2
- import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-0jFz2AhN.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-B1rXZ1zs.js';
2
+ import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BMlqHxMg.js';
3
3
  import { l as logError } from './log-error-nsqlWzyl.js';
4
4
 
5
5
  const guxChartDonutCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-YmhHejqr.js';
2
- import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-0jFz2AhN.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-B1rXZ1zs.js';
2
+ import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BMlqHxMg.js';
3
3
  import { l as logError } from './log-error-nsqlWzyl.js';
4
4
 
5
5
  const guxChartLineCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-YmhHejqr.js';
2
- import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-0jFz2AhN.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-B1rXZ1zs.js';
2
+ import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BMlqHxMg.js';
3
3
  import { l as logError } from './log-error-nsqlWzyl.js';
4
4
 
5
5
  const guxChartPieCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-YmhHejqr.js';
2
- import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-0jFz2AhN.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-B1rXZ1zs.js';
2
+ import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BMlqHxMg.js';
3
3
  import { l as logError } from './log-error-nsqlWzyl.js';
4
4
 
5
5
  const guxChartScatterPlotCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h as h$1, g as getElement } from './index-YmhHejqr.js';
2
- import { a as DEFAULT_DOMAIN_COLOR, D as DEFAULT_LABEL_COLOR, t as trackComponent } from './color-palette-0jFz2AhN.js';
1
+ import { r as registerInstance, c as createEvent, h as h$1, g as getElement } from './index-B1rXZ1zs.js';
2
+ import { a as DEFAULT_DOMAIN_COLOR, D as DEFAULT_LABEL_COLOR, t as trackComponent } from './color-palette-BMlqHxMg.js';
3
3
 
4
4
  // Note: This regex matches even invalid JSON strings, but since we’re
5
5
  // working on the output of `JSON.stringify` we know that only valid strings
@@ -2,7 +2,7 @@ const NAMESPACE = 'genesys-chart-webcomponents';
2
2
  const BUILD = /* genesys-chart-webcomponents */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: true, updatable: true};
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.43.4 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
 
8
8
 
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-YmhHejqr.js';
2
- export { s as setNonce } from './index-YmhHejqr.js';
1
+ import { b as bootstrapLazy } from './index-B1rXZ1zs.js';
2
+ export { s as setNonce } from './index-B1rXZ1zs.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1 +1 @@
1
- import{p as e,b as l}from"./p-YmhHejqr.js";export{s as setNonce}from"./p-YmhHejqr.js";import{g as a}from"./p-DQuL1Twl.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((async e=>(await a(),l([["p-053ce5ee",[[1,"gux-visualization-beta",{visualizationSpec:[16],embedOptions:[16],screenreaderDescription:[1,"screenreader-description"]}]]],["p-c2fcf971",[[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}]}]]],["p-993a3ef0",[[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}]}]]],["p-a12961c7",[[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}]}]]],["p-4a7b40a8",[[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}]}]]],["p-cb202c7e",[[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}]}]]]],e))));
1
+ import{p as e,b as l}from"./p-B1rXZ1zs.js";export{s as setNonce}from"./p-B1rXZ1zs.js";import{g as a}from"./p-DQuL1Twl.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((async e=>(await a(),l([["p-5e5ac1a3",[[1,"gux-visualization-beta",{visualizationSpec:[16],embedOptions:[16],screenreaderDescription:[1,"screenreader-description"]}]]],["p-a5c5b206",[[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}]}]]],["p-b0a168e9",[[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}]}]]],["p-4b03fbcb",[[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}]}]]],["p-fde27052",[[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}]}]]],["p-5a2d7a6d",[[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}]}]]]],e))));
@@ -1 +1 @@
1
- import{r as t,h as i,g as s}from"./p-YmhHejqr.js";import{D as a,a as e,V as h,t as n}from"./p-0jFz2AhN.js";import{l as o}from"./p-nsqlWzyl.js";const l="category",r=class{constructor(i){t(this,i),this.labelColor=a,this.domainColor=e,this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v6.json",mark:{type:"line",interpolate:"linear",point:!1},config:{axis:{ticks:!1,titlePadding:8,labelColor:a,domainColor:e},axisX:{labelAngle:0},legend:{symbolType:"circle"}},encoding:{x:{type:"nominal"},y:{type:"quantitative"},color:{field:l,type:"nominal",scale:{range:h},legend:null},tooltip:{aggregate:"count",type:"quantitative"}}},this.legendPosition="right"}parseData(){this.xFieldName&&this.yFieldName||o(this.root,"requires x-field-name and y-field-name");let t={};this.chartData&&(t={data:this.chartData}),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=45),this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),this.baseChartSpec.config.legend.orient=this.legendPosition;const i=this.xFieldName,s=this.xAxisTitle,a=this.yFieldName,e=this.yAxisTitle,h=this.legendTitle,n=this.colorFieldName||l,r=this.interpolation,c=this.strokeDash,g=this.includeDataPointMarkers;i&&(this.baseChartSpec.encoding.x.field=i),s&&(this.baseChartSpec.encoding.x.title=s),a&&(this.baseChartSpec.encoding.y.field=a),e&&(this.baseChartSpec.encoding.y.title=e),this.baseChartSpec.encoding.color.field=n,h&&(this.baseChartSpec.encoding.color.title=h),c&&(this.baseChartSpec.encoding.strokeDash={field:n,type:"nominal"}),r&&(this.baseChartSpec.mark.interpolate=r),g&&(this.baseChartSpec.mark.point=g);const p=Object.assign(this.baseChartSpec,t);this.visualizationSpec=p}componentWillLoad(){n(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"2a94c2f912ccab3d0b1312a81c9aefde8180ccda",visualizationSpec:this.visualizationSpec})}get root(){return s(this)}static get watchers(){return{chartData:[{parseData:0}]}}};r.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{r as gux_chart_line_beta}
1
+ import{r as t,h as i,g as s}from"./p-B1rXZ1zs.js";import{D as a,a as e,V as h,t as n}from"./p-BMlqHxMg.js";import{l as o}from"./p-nsqlWzyl.js";const l="category",r=class{constructor(i){t(this,i),this.labelColor=a,this.domainColor=e,this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v6.json",mark:{type:"line",interpolate:"linear",point:!1},config:{axis:{ticks:!1,titlePadding:8,labelColor:a,domainColor:e},axisX:{labelAngle:0},legend:{symbolType:"circle"}},encoding:{x:{type:"nominal"},y:{type:"quantitative"},color:{field:l,type:"nominal",scale:{range:h},legend:null},tooltip:{aggregate:"count",type:"quantitative"}}},this.legendPosition="right"}parseData(){this.xFieldName&&this.yFieldName||o(this.root,"requires x-field-name and y-field-name");let t={};this.chartData&&(t={data:this.chartData}),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=45),this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),this.baseChartSpec.config.legend.orient=this.legendPosition;const i=this.xFieldName,s=this.xAxisTitle,a=this.yFieldName,e=this.yAxisTitle,h=this.legendTitle,n=this.colorFieldName||l,r=this.interpolation,c=this.strokeDash,g=this.includeDataPointMarkers;i&&(this.baseChartSpec.encoding.x.field=i),s&&(this.baseChartSpec.encoding.x.title=s),a&&(this.baseChartSpec.encoding.y.field=a),e&&(this.baseChartSpec.encoding.y.title=e),this.baseChartSpec.encoding.color.field=n,h&&(this.baseChartSpec.encoding.color.title=h),c&&(this.baseChartSpec.encoding.strokeDash={field:n,type:"nominal"}),r&&(this.baseChartSpec.mark.interpolate=r),g&&(this.baseChartSpec.mark.point=g);const p=Object.assign(this.baseChartSpec,t);this.visualizationSpec=p}componentWillLoad(){n(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"2a94c2f912ccab3d0b1312a81c9aefde8180ccda",visualizationSpec:this.visualizationSpec})}get root(){return s(this)}static get watchers(){return{chartData:[{parseData:0}]}}};r.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{r as gux_chart_line_beta}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,g as e}from"./p-B1rXZ1zs.js";import{D as s,a,V as o,t as l}from"./p-BMlqHxMg.js";import{l as h}from"./p-nsqlWzyl.js";const n="category",r=class{constructor(i){t(this,i),this.labelColor=s,this.domainColor=a,this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v6.json",params:[{name:"onHover",select:{type:"point",on:"mouseover"}}],config:{axis:{ticks:!1,titlePadding:8,gridColor:"#F6F7F9",labelColor:s,domainColor:a},axisX:{labelAngle:0,grid:!0},legend:{symbolType:"circle"}},width:{step:40},encoding:{x:{type:"nominal"},y:{type:"quantitative"},color:{field:n,type:"nominal",scale:{range:o},legend:null},size:{condition:[{param:"onHover",empty:!1,value:100}],value:40}}},this.legendPosition="right"}parseData(){this.xFieldName&&this.yFieldName||h(this.root,"requires x-field-name and y-field-name");let t={};this.chartData&&(t={data:this.chartData}),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=-45),this.baseChartSpec.config.legend.orient=this.legendPosition;const i=this.xFieldName,e=this.xAxisTitle,s=this.yFieldName,a=this.yAxisTitle,o=this.legendTitle,l=this.useShape||"circle",r=this.colorFieldName||n;this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),i&&(this.baseChartSpec.encoding.x.field=i),e&&(this.baseChartSpec.encoding.x.title=e),s&&(this.baseChartSpec.encoding.y.field=s),a&&(this.baseChartSpec.encoding.y.title=a),this.baseChartSpec.encoding.color.field=r,o&&(this.baseChartSpec.encoding.color.title=o),this.baseChartSpec.mark={type:l,filled:!0},this.baseChartSpec.config.legend.symbolType=l,this.baseChartSpec.encoding.shape={field:r,type:"nominal"},this.baseChartSpec.encoding.tooltip=[{field:i,type:"nominal",title:e},{field:s,type:"quantitative",title:a},{field:r,type:"nominal",title:o}];const c=Object.assign(this.baseChartSpec,t);this.visualizationSpec=c}componentWillLoad(){l(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"b963fc0939b5762c809703d23eb2eec30be2f339",visualizationSpec:this.visualizationSpec})}get root(){return e(this)}static get watchers(){return{chartData:[{parseData:0}]}}};r.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{r as gux_chart_scatter_plot_beta}