genesys-spark-chart-components 4.262.7 → 4.264.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.
- package/dist/cjs/{color-palette-oGmXTF-5.js → color-palette-C-7QTSvc.js} +1 -1
- package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-visualization-beta.cjs.entry.js +3 -2
- package/dist/collection/components/beta/gux-visualization/gux-visualization.js +2 -1
- package/dist/esm/{color-palette-BH9zhAvb.js → color-palette-Ccp_WziH.js} +1 -1
- package/dist/esm/gux-chart-column-beta.entry.js +1 -1
- package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
- package/dist/esm/gux-chart-line-beta.entry.js +1 -1
- package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
- package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
- package/dist/esm/gux-visualization-beta.entry.js +3 -2
- package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
- package/dist/genesys-chart-webcomponents/{p-b98f3044.entry.js → p-0df6135c.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-a3574178.entry.js → p-139c2fcd.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-e195e791.entry.js → p-140856d6.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-87576cfe.entry.js → p-2ad5fcfd.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-7b3718fb.entry.js → p-77b8e816.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-BH9zhAvb.js → p-Ccp_WziH.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-57556bf9.entry.js → p-f433eee7.entry.js} +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BU_h9-dW.js');
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
4
|
+
var colorPalette = require('./color-palette-C-7QTSvc.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
3
|
var index = require('./index-BU_h9-dW.js');
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
4
|
+
var colorPalette = require('./color-palette-C-7QTSvc.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
3
|
var index = require('./index-BU_h9-dW.js');
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
4
|
+
var colorPalette = require('./color-palette-C-7QTSvc.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
3
|
var index = require('./index-BU_h9-dW.js');
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
4
|
+
var colorPalette = require('./color-palette-C-7QTSvc.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
3
|
var index = require('./index-BU_h9-dW.js');
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
4
|
+
var colorPalette = require('./color-palette-C-7QTSvc.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
3
|
var index$4 = require('./index-BU_h9-dW.js');
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
4
|
+
var colorPalette = require('./color-palette-C-7QTSvc.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
|
|
@@ -71815,6 +71815,7 @@ const GuxVisualization = class {
|
|
|
71815
71815
|
};
|
|
71816
71816
|
this.defaultEmbedOptions = {
|
|
71817
71817
|
actions: false,
|
|
71818
|
+
ast: true,
|
|
71818
71819
|
renderer: 'svg'
|
|
71819
71820
|
};
|
|
71820
71821
|
}
|
|
@@ -71867,7 +71868,7 @@ const GuxVisualization = class {
|
|
|
71867
71868
|
this.chartComponentReady.emit();
|
|
71868
71869
|
}
|
|
71869
71870
|
render() {
|
|
71870
|
-
return (index$4.h("div", { key: '
|
|
71871
|
+
return (index$4.h("div", { key: '5a97a5d021c91b8bb74c1172c638238151f6d58e', class: "gux-chart-container", ref: el => (this.chartContainer = el) }));
|
|
71871
71872
|
}
|
|
71872
71873
|
get root() { return index$4.getElement(this); }
|
|
71873
71874
|
};
|
|
@@ -21,6 +21,7 @@ export class GuxVisualization {
|
|
|
21
21
|
};
|
|
22
22
|
this.defaultEmbedOptions = {
|
|
23
23
|
actions: false,
|
|
24
|
+
ast: true,
|
|
24
25
|
renderer: 'svg'
|
|
25
26
|
};
|
|
26
27
|
}
|
|
@@ -73,7 +74,7 @@ export class GuxVisualization {
|
|
|
73
74
|
this.chartComponentReady.emit();
|
|
74
75
|
}
|
|
75
76
|
render() {
|
|
76
|
-
return (h("div", { key: '
|
|
77
|
+
return (h("div", { key: '5a97a5d021c91b8bb74c1172c638238151f6d58e', class: "gux-chart-container", ref: el => (this.chartContainer = el) }));
|
|
77
78
|
}
|
|
78
79
|
static get is() { return "gux-visualization-beta"; }
|
|
79
80
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-B5vpMGHk.js';
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-Ccp_WziH.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
1
|
import { r as registerInstance, h, g as getElement } from './index-B5vpMGHk.js';
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-Ccp_WziH.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
1
|
import { r as registerInstance, h, g as getElement } from './index-B5vpMGHk.js';
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-Ccp_WziH.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
1
|
import { r as registerInstance, h, g as getElement } from './index-B5vpMGHk.js';
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-Ccp_WziH.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
1
|
import { r as registerInstance, h, g as getElement } from './index-B5vpMGHk.js';
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-Ccp_WziH.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
1
|
import { r as registerInstance, c as createEvent, h as h$1, g as getElement } from './index-B5vpMGHk.js';
|
|
2
|
-
import { a as DEFAULT_DOMAIN_COLOR, D as DEFAULT_LABEL_COLOR, t as trackComponent } from './color-palette-
|
|
2
|
+
import { a as DEFAULT_DOMAIN_COLOR, D as DEFAULT_LABEL_COLOR, t as trackComponent } from './color-palette-Ccp_WziH.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
|
|
@@ -71813,6 +71813,7 @@ const GuxVisualization = class {
|
|
|
71813
71813
|
};
|
|
71814
71814
|
this.defaultEmbedOptions = {
|
|
71815
71815
|
actions: false,
|
|
71816
|
+
ast: true,
|
|
71816
71817
|
renderer: 'svg'
|
|
71817
71818
|
};
|
|
71818
71819
|
}
|
|
@@ -71865,7 +71866,7 @@ const GuxVisualization = class {
|
|
|
71865
71866
|
this.chartComponentReady.emit();
|
|
71866
71867
|
}
|
|
71867
71868
|
render() {
|
|
71868
|
-
return (h$1("div", { key: '
|
|
71869
|
+
return (h$1("div", { key: '5a97a5d021c91b8bb74c1172c638238151f6d58e', class: "gux-chart-container", ref: el => (this.chartContainer = el) }));
|
|
71869
71870
|
}
|
|
71870
71871
|
get root() { return getElement(this); }
|
|
71871
71872
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as l}from"./p-B5vpMGHk.js";export{s as setNonce}from"./p-B5vpMGHk.js";import{g as i}from"./p-DQuL1Twl.js";(()=>{const l=import.meta.url,i={};return""!==l&&(i.resourcesUrl=new URL(".",l).href),e(i)})().then((async e=>(await i(),l([["p-
|
|
1
|
+
import{p as e,b as l}from"./p-B5vpMGHk.js";export{s as setNonce}from"./p-B5vpMGHk.js";import{g as i}from"./p-DQuL1Twl.js";(()=>{const l=import.meta.url,i={};return""!==l&&(i.resourcesUrl=new URL(".",l).href),e(i)})().then((async e=>(await i(),l([["p-f433eee7",[[1,"gux-visualization-beta",{visualizationSpec:[16],embedOptions:[16],screenreaderDescription:[1,"screenreader-description"]}]]],["p-0df6135c",[[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-139c2fcd",[[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-2ad5fcfd",[[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"],xGridVisible:[4,"x-grid-visible"],yGridVisible:[4,"y-grid-visible"],strokeDash:[4,"stroke-dash"],interpolation:[1],embedOptions:[16]},null,{chartData:[{parseData:0}]}]]],["p-77b8e816",[[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-140856d6",[[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"],xGridVisible:[4,"x-grid-visible"],yGridVisible:[4,"y-grid-visible"],embedOptions:[16]},null,{chartData:[{parseData:0}]}]]]],e))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,g as a}from"./p-B5vpMGHk.js";import{D as s,a as e,V as r,t as h}from"./p-
|
|
1
|
+
import{r as t,h as i,g as a}from"./p-B5vpMGHk.js";import{D as s,a as e,V as r,t as h}from"./p-Ccp_WziH.js";import{l as n}from"./p-nsqlWzyl.js";const o=class{constructor(i){t(this,i),this.labelColor=s,this.domainColor=e,this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v6.json",mark:{type:"bar"},config:{axis:{ticks:!1,titlePadding:8,labelColor:s,domainColor:e},axisX:{labelAngle:0},scale:{bandPaddingInner:.4,bandPaddingOuter:.4},legend:{symbolType:"circle"},bar:{color:r[0]}},encoding:{x:{type:"nominal"},y:{type:"quantitative"},tooltip:{aggregate:"count",type:"quantitative"}}},this.legendPosition="right"}parseData(){this.xFieldName&&this.yFieldName||n(this.root,"requires x-field-name and y-field-name"),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=45),this.includeLegend&&(this.baseChartSpec.encoding.color={field:"category"}),this.baseChartSpec.config.legend.orient=this.legendPosition;const t=this.xFieldName,i=this.yFieldName,a=this.xAxisTitle,s=this.yAxisTitle,e=this.legendTitle;if(this.chartLayers){const a=this.chartLayers.map((a=>({mark:"bar",transform:[{filter:{field:"series",equal:a}}],encoding:{x:{field:t,type:"nominal"},y:{field:i,type:"quantitative"}}})));this.baseChartSpec.layer=a}else t&&(this.baseChartSpec.encoding.x.field=t),i&&(this.baseChartSpec.encoding.y.field=i),a&&(this.baseChartSpec.encoding.x.title=a),s&&(this.baseChartSpec.encoding.y.title=s),e&&(this.baseChartSpec.encoding.color.title=e);const h=t;this.baseChartSpec.config.range={[h]:r},this.chartData&&(this.baseChartSpec.data=this.chartData),this.visualizationSpec=JSON.parse(JSON.stringify(this.baseChartSpec))}componentWillLoad(){h(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"bd2bf20b792ced36ea252d1332b3049c3ff5a652",visualizationSpec:this.visualizationSpec})}get root(){return a(this)}static get watchers(){return{chartData:[{parseData:0}]}}};o.style="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}";export{o as gux_chart_column_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-B5vpMGHk.js";import{V as s,t as a}from"./p-
|
|
1
|
+
import{r as t,h as e,g as i}from"./p-B5vpMGHk.js";import{V as s,t as a}from"./p-Ccp_WziH.js";import{l as r}from"./p-nsqlWzyl.js";const n="category",h="value",l=class{constructor(e){t(this,e),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v6.json",config:{legend:{symbolType:"circle"}},encoding:{theta:{field:"value",type:"quantitative",stack:!0},color:{field:n,type:"nominal",scale:{range:s},legend:null}},layer:[{mark:{type:"arc",outerRadius:80}},{mark:{type:"text",radius:90},encoding:{text:{field:h,type:"quantitative"}}}],view:{stroke:null}},this.legendPosition="right",this.showTooltip=!0}parseData(){this.outerRadius||this.innerRadius||r(this.root,"requires at least one of outer-radius or inner-radius"),this.baseChartSpec.config.legend.orient=this.legendPosition,this.includeLegend?(this.baseChartSpec.encoding.color.legend={},(this.legendX||this.legendY)&&(this.baseChartSpec.config.legend.orient="none",this.legendX&&(this.baseChartSpec.encoding.color.legend.legendX=this.legendX),this.legendY&&(this.baseChartSpec.encoding.color.legend.legendY=this.legendY)),this.legendFontSize&&(this.baseChartSpec.encoding.color.legend.labelFontSize=this.legendFontSize),this.legendSymbolSize&&(this.baseChartSpec.encoding.color.legend.symbolSize=this.legendSymbolSize)):this.baseChartSpec.encoding.color.legend=null,this.baseChartSpec.encoding.color.field=this.colorFieldName||n;this.baseChartSpec.encoding.color.title=this.legendTitle||"";let t=this.outerRadius,e=this.innerRadius;t||(t=e+32),e||(e=t-32);let i=1;this.gauge?(this.baseChartSpec.layer=[{data:{values:[{progress:"default",value:100}]},mark:{type:"arc",innerRadius:e},encoding:{theta:{field:"value",type:"quantitative"},color:{value:"#E4E9F0"},tooltip:null}},{mark:{type:"arc",outerRadius:t,innerRadius:e,padAngle:.01}},{mark:{type:"arc",innerRadius:e,padAngle:.01}}],i=2):this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:t,innerRadius:e}},{mark:{type:"arc",innerRadius:e,stroke:"#fff"}}];const s=this.centerText;s&&this.baseChartSpec.layer.push({data:{values:[{centerText:s,value:0}]},mark:{align:"center",type:"text",baseline:"middle"},encoding:{color:{value:"#4C5054"},text:{field:"centerText"},size:{value:{expr:"height * 0.09"}},tooltip:null}});const a=this.centerSubText;a&&this.baseChartSpec.layer.push({data:{values:[{centerSubText:a,value:0}]},mark:{align:"center",type:"text",baseline:"middle",y:{expr:"height/2 + 20"}},encoding:{color:{value:"#6A6D70"},text:{field:"centerSubText"},size:{value:{expr:"height * 0.06"}},tooltip:null}});const l=this.labelRadius,o=this.labelField||h;l&&this.baseChartSpec.layer.push({mark:{type:"text",radius:l},encoding:{text:{field:o,type:"quantitative"}}}),this.showTooltip&&(this.tooltipOptions?(this.baseChartSpec.layer[i].mark.tooltip={content:"data"},this.tooltipSpec={actions:!1,tooltip:this.tooltipOptions}):this.baseChartSpec.encoding.tooltip={field:o,aggregate:"count",type:"quantitative"}),this.chartData&&(this.baseChartSpec.data=this.chartData),this.visualizationSpec=JSON.parse(JSON.stringify(this.baseChartSpec))}componentWillLoad(){a(this.root),this.parseData()}render(){return e("gux-visualization-beta",{key:"d8fd27820d40a737e614891b68c579d03422399e",visualizationSpec:this.visualizationSpec,embedOptions:this.tooltipSpec})}get root(){return i(this)}static get watchers(){return{chartData:[{parseData:0}]}}};l.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{l as gux_chart_donut_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,g as e}from"./p-B5vpMGHk.js";import{D as s,a,V as h,t as o}from"./p-
|
|
1
|
+
import{r as t,h as i,g as e}from"./p-B5vpMGHk.js";import{D as s,a,V as h,t as o}from"./p-Ccp_WziH.js";import{l}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},legend:{symbolType:"circle"}},width:{step:40},encoding:{x:{type:"nominal"},y:{type:"quantitative"},color:{field:n,type:"nominal",scale:{range:h},legend:null},size:{condition:[{param:"onHover",empty:!1,value:100}],value:40}}},this.legendPosition="right",this.xGridVisible=!0,this.yGridVisible=!1}parseData(){this.xFieldName&&this.yFieldName||l(this.root,"requires x-field-name and y-field-name"),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=-45),this.baseChartSpec.config.legend.orient=this.legendPosition;const t=this.xFieldName,i=this.xAxisTitle,e=this.yFieldName,s=this.yAxisTitle,a=this.legendTitle,h=this.useShape||"circle",o=this.colorFieldName||n;this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),t&&(this.baseChartSpec.encoding.x.field=t),this.baseChartSpec.encoding.x.axis=Object.assign(Object.assign({},this.baseChartSpec.encoding.x.axis),{grid:this.yGridVisible}),i&&(this.baseChartSpec.encoding.x.title=i),e&&(this.baseChartSpec.encoding.y.field=e),this.baseChartSpec.encoding.y.axis=Object.assign(Object.assign({},this.baseChartSpec.encoding.y.axis),{grid:this.xGridVisible}),s&&(this.baseChartSpec.encoding.y.title=s),this.baseChartSpec.encoding.color.field=o,a&&(this.baseChartSpec.encoding.color.title=a),this.baseChartSpec.mark={type:h,filled:!0},this.baseChartSpec.config.legend.symbolType=h,this.baseChartSpec.encoding.shape={field:o,type:"nominal"},this.baseChartSpec.encoding.tooltip=[{field:t,type:"nominal",title:i},{field:e,type:"quantitative",title:s},{field:o,type:"nominal",title:a}],this.chartData&&(this.baseChartSpec.data=this.chartData),this.visualizationSpec=JSON.parse(JSON.stringify(this.baseChartSpec))}componentWillLoad(){o(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"8e87c0daedfbc677eb570ee954742ed058b617ed",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}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,g as s}from"./p-B5vpMGHk.js";import{D as e,a,V as h,t as n}from"./p-
|
|
1
|
+
import{r as t,h as i,g as s}from"./p-B5vpMGHk.js";import{D as e,a,V as h,t as n}from"./p-Ccp_WziH.js";import{l as o}from"./p-nsqlWzyl.js";const r="category",l=class{constructor(i){t(this,i),this.labelColor=e,this.domainColor=a,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:e,domainColor:a},axisX:{labelAngle:0},legend:{symbolType:"circle"}},encoding:{x:{type:"nominal"},y:{type:"quantitative"},color:{field:r,type:"nominal",scale:{range:h},legend:null},tooltip:{aggregate:"count",type:"quantitative"}}},this.legendPosition="right",this.xGridVisible=!0,this.yGridVisible=!1}parseData(){this.xFieldName&&this.yFieldName||o(this.root,"requires x-field-name and y-field-name"),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=45),this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),this.baseChartSpec.config.legend.orient=this.legendPosition;const t=this.xFieldName,i=this.xAxisTitle,s=this.yFieldName,e=this.yAxisTitle,a=this.legendTitle,h=this.colorFieldName||r,n=this.interpolation,l=this.strokeDash,c=this.includeDataPointMarkers;t&&(this.baseChartSpec.encoding.x.field=t),this.baseChartSpec.encoding.x.axis=Object.assign(Object.assign({},this.baseChartSpec.encoding.x.axis),{grid:this.yGridVisible}),i&&(this.baseChartSpec.encoding.x.title=i),s&&(this.baseChartSpec.encoding.y.field=s),this.baseChartSpec.encoding.y.axis=Object.assign(Object.assign({},this.baseChartSpec.encoding.y.axis),{grid:this.xGridVisible}),e&&(this.baseChartSpec.encoding.y.title=e),this.baseChartSpec.encoding.color.field=h,a&&(this.baseChartSpec.encoding.color.title=a),l&&(this.baseChartSpec.encoding.strokeDash={field:h,type:"nominal"}),n&&(this.baseChartSpec.mark.interpolate=n),c&&(this.baseChartSpec.mark.point=c),this.chartData&&(this.baseChartSpec.data=this.chartData),this.visualizationSpec=JSON.parse(JSON.stringify(this.baseChartSpec))}componentWillLoad(){n(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"f0d52101782cd4c59f787b6d26ef2b627b637f90",visualizationSpec:this.visualizationSpec})}get root(){return s(this)}static get watchers(){return{chartData:[{parseData:0}]}}};l.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{l as gux_chart_line_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,g as e}from"./p-B5vpMGHk.js";import{V as a,t as s}from"./p-
|
|
1
|
+
import{r as t,h as i,g as e}from"./p-B5vpMGHk.js";import{V as a,t as s}from"./p-Ccp_WziH.js";import{l as r}from"./p-nsqlWzyl.js";const o="category",h="value",n=class{constructor(i){t(this,i),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v6.json",config:{legend:{symbolType:"circle"}},encoding:{theta:{field:"value",type:"quantitative",stack:!0},color:{field:o,type:"nominal",scale:{range:a},legend:null},tooltip:{aggregate:"count",type:"quantitative"}},layer:[{mark:{type:"arc",outerRadius:80}},{mark:{type:"text",radius:90},encoding:{text:{field:h,type:"quantitative"}}}],view:{stroke:null}},this.legendPosition="right"}parseData(){this.outerRadius||r(this.root,"requires outer-radius"),this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),this.baseChartSpec.config.legend.orient=this.legendPosition,this.baseChartSpec.encoding.color.field=this.colorFieldName||o;const t=this.legendTitle;t&&(this.baseChartSpec.encoding.color.title=t),this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:this.outerRadius}}];const i=this.labelRadius;i&&this.baseChartSpec.layer.push({mark:{type:"text",radius:i},encoding:{text:{field:this.labelField||h,type:"quantitative"}}}),this.chartData&&(this.baseChartSpec.data=this.chartData),this.visualizationSpec=JSON.parse(JSON.stringify(this.baseChartSpec))}componentWillLoad(){s(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"14ea025a649390ac62820a42990bbbf4f7b8f4f5",visualizationSpec:this.visualizationSpec})}get root(){return e(this)}static get watchers(){return{chartData:[{parseData:0}]}}};n.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{n as gux_chart_pie_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var t="4.
|
|
1
|
+
var t="4.264.0";const e=[function(t){const[e,n,...o]=t.split(".");return{name:"spark-library",metadata:{fullVersion:`${e}.${n}.${o.join(".")}`,majorVersion:e,minorVersion:`${e}.${n}`}}}(t)];function n(){const t=window.newrelic;if(t){for(let o=0;o<20;o++){if(0==e.length)return void setTimeout(n,3e4);const o=e.shift();t.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:e.length}))}setTimeout(n,3e4)}}const o=new Set;let r="",i=!1;function a(a,s){if(!window.newrelic)return;if(Math.random()>.1)return;if(i||(i=!0,n()),!document.contains(a))return;window.location.pathname!==r&&(o.clear(),r=window.location.pathname);const c=a.tagName.toLowerCase();let u=c;o.has(u)||(o.add(u),e.push({name:"spark-component",metadata:Object.assign(Object.assign({},s),{component:c,version:t})}))}const s=["#203B73","#1DA8B3","#75A8FF","#8452CF","#B5B5EB","#CC3EBE","#5E5782","#FF8FDD","#868C1E","#DDD933"],c="#596373",u="#596373";export{c as D,s as V,u as a,a as t}
|