genesys-spark-chart-components 4.152.0 → 4.153.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.
- package/dist/cjs/{color-palette-69b7275e.js → color-palette-dd496c72.js} +4 -4
- 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 +1 -1
- package/dist/esm/{color-palette-0309d981.js → color-palette-166fadc4.js} +4 -4
- 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 +1 -1
- package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
- package/dist/genesys-chart-webcomponents/{p-936ece7b.entry.js → p-04d1304a.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-06315ceb.entry.js → p-1268af6f.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-bf9d2f73.js → p-6787070c.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-40c38fe2.entry.js → p-81decf73.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-5b05ab09.entry.js → p-9ae29d1a.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-0fe68403.entry.js → p-b0d325c4.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-539d7326.entry.js → p-da18cc0e.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const name = "genesys-spark-chart-components";
|
|
4
|
-
const version = "4.
|
|
4
|
+
const version = "4.153.1";
|
|
5
5
|
const description = "Common chart webcomponents";
|
|
6
6
|
const license = "MIT";
|
|
7
7
|
const main = "dist/stencil-wrapper.js";
|
|
@@ -59,7 +59,7 @@ const dependencies = {
|
|
|
59
59
|
"vega-lite": "5.23.0"
|
|
60
60
|
};
|
|
61
61
|
const devDependencies = {
|
|
62
|
-
"@babel/core": "^7.27.
|
|
62
|
+
"@babel/core": "^7.27.4",
|
|
63
63
|
"@babel/preset-env": "^7.27.2",
|
|
64
64
|
"@stencil/core": "4.23.2",
|
|
65
65
|
"@stencil/react-output-target": "^0.5.3",
|
|
@@ -68,7 +68,7 @@ const devDependencies = {
|
|
|
68
68
|
"@types/puppeteer": "^5.4.7",
|
|
69
69
|
"axe-core": "^4.10.3",
|
|
70
70
|
"axe-live": "^1.0.1",
|
|
71
|
-
eslint: "^9.
|
|
71
|
+
eslint: "^9.28.0",
|
|
72
72
|
"eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
|
|
73
73
|
"file-loader": "^6.2.0",
|
|
74
74
|
"genesys-spark-tokens": "file:../genesys-spark-tokens",
|
|
@@ -95,7 +95,7 @@ const devDependencies = {
|
|
|
95
95
|
"rollup-plugin-copy": "^3.5.0",
|
|
96
96
|
"semver-sort": "^1.0.0",
|
|
97
97
|
smob: "^1.5.0",
|
|
98
|
-
stylelint: "^16.
|
|
98
|
+
stylelint: "^16.20.0",
|
|
99
99
|
"stylelint-config-genesys-spark-components": "file:../../shared-configs/stylelint-config-genesys-spark-components",
|
|
100
100
|
"stylelint-config-html": "^1.1.0",
|
|
101
101
|
"stylelint-config-recess-order": "^6.0.0",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-dd496c72.js');
|
|
7
7
|
const logError = require('./log-error-8f448752.js');
|
|
8
8
|
|
|
9
9
|
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 .mark-rect.layer_1_marks path{fill:#1da8b3}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-dd496c72.js');
|
|
7
7
|
const logError = require('./log-error-8f448752.js');
|
|
8
8
|
|
|
9
9
|
const guxChartDonutCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-dd496c72.js');
|
|
7
7
|
const logError = require('./log-error-8f448752.js');
|
|
8
8
|
|
|
9
9
|
const guxChartLineCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-dd496c72.js');
|
|
7
7
|
const logError = require('./log-error-8f448752.js');
|
|
8
8
|
|
|
9
9
|
const guxChartPieCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-dd496c72.js');
|
|
7
7
|
const logError = require('./log-error-8f448752.js');
|
|
8
8
|
|
|
9
9
|
const guxChartScatterPlotCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index$2 = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-dd496c72.js');
|
|
7
7
|
|
|
8
8
|
// Note: This regex matches even invalid JSON strings, but since we’re
|
|
9
9
|
// working on the output of `JSON.stringify` we know that only valid strings
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const name = "genesys-spark-chart-components";
|
|
2
|
-
const version = "4.
|
|
2
|
+
const version = "4.153.1";
|
|
3
3
|
const description = "Common chart webcomponents";
|
|
4
4
|
const license = "MIT";
|
|
5
5
|
const main = "dist/stencil-wrapper.js";
|
|
@@ -57,7 +57,7 @@ const dependencies = {
|
|
|
57
57
|
"vega-lite": "5.23.0"
|
|
58
58
|
};
|
|
59
59
|
const devDependencies = {
|
|
60
|
-
"@babel/core": "^7.27.
|
|
60
|
+
"@babel/core": "^7.27.4",
|
|
61
61
|
"@babel/preset-env": "^7.27.2",
|
|
62
62
|
"@stencil/core": "4.23.2",
|
|
63
63
|
"@stencil/react-output-target": "^0.5.3",
|
|
@@ -66,7 +66,7 @@ const devDependencies = {
|
|
|
66
66
|
"@types/puppeteer": "^5.4.7",
|
|
67
67
|
"axe-core": "^4.10.3",
|
|
68
68
|
"axe-live": "^1.0.1",
|
|
69
|
-
eslint: "^9.
|
|
69
|
+
eslint: "^9.28.0",
|
|
70
70
|
"eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
|
|
71
71
|
"file-loader": "^6.2.0",
|
|
72
72
|
"genesys-spark-tokens": "file:../genesys-spark-tokens",
|
|
@@ -93,7 +93,7 @@ const devDependencies = {
|
|
|
93
93
|
"rollup-plugin-copy": "^3.5.0",
|
|
94
94
|
"semver-sort": "^1.0.0",
|
|
95
95
|
smob: "^1.5.0",
|
|
96
|
-
stylelint: "^16.
|
|
96
|
+
stylelint: "^16.20.0",
|
|
97
97
|
"stylelint-config-genesys-spark-components": "file:../../shared-configs/stylelint-config-genesys-spark-components",
|
|
98
98
|
"stylelint-config-html": "^1.1.0",
|
|
99
99
|
"stylelint-config-recess-order": "^6.0.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-eabc38b4.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-166fadc4.js';
|
|
3
3
|
import { l as logError } from './log-error-fbbfc3ab.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 .mark-rect.layer_1_marks path{fill:#1da8b3}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-eabc38b4.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-166fadc4.js';
|
|
3
3
|
import { l as logError } from './log-error-fbbfc3ab.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-eabc38b4.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-166fadc4.js';
|
|
3
3
|
import { l as logError } from './log-error-fbbfc3ab.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-eabc38b4.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-166fadc4.js';
|
|
3
3
|
import { l as logError } from './log-error-fbbfc3ab.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-eabc38b4.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-166fadc4.js';
|
|
3
3
|
import { l as logError } from './log-error-fbbfc3ab.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-eabc38b4.js';
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, t as trackComponent } from './color-palette-
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, t as trackComponent } from './color-palette-166fadc4.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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as l}from"./p-977a4087.js";export{s as setNonce}from"./p-977a4087.js";import{g as a}from"./p-e1255160.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((async e=>(await a(),l([["p-
|
|
1
|
+
import{p as e,b as l}from"./p-977a4087.js";export{s as setNonce}from"./p-977a4087.js";import{g as a}from"./p-e1255160.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((async e=>(await a(),l([["p-81decf73",[[1,"gux-visualization-beta",{visualizationSpec:[16],embedOptions:[16]}]]],["p-da18cc0e",[[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"]}]]],["p-04d1304a",[[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"]}]]],["p-b0d325c4",[[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"]}]]],["p-1268af6f",[[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"]}]]],["p-9ae29d1a",[[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"]}]]]],e))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-977a4087.js";import{V as a,t as s}from"./p-
|
|
1
|
+
import{r as t,h as e,g as i}from"./p-977a4087.js";import{V as a,t as s}from"./p-6787070c.js";import{l as n}from"./p-23610106.js";const r="category",h="value",l=class{constructor(e){t(this,e),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",config:{legend:{symbolType:"circle"}},encoding:{theta:{field:"value",type:"quantitative",stack:!0},color:{field:r,type:"nominal",scale:{range:a},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||n(this.root,"requires at least one of outer-radius or inner-radius");let t={};this.chartData&&(t={data:this.chartData}),this.legendPosition&&(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;const e=this.colorFieldName||r;e&&(this.baseChartSpec.encoding.color.field=e);this.baseChartSpec.encoding.color.title=this.legendTitle||"";let i=this.outerRadius,a=this.innerRadius;i||(i=a+32),a||(a=i-32);let s=1;this.gauge?(this.baseChartSpec.layer=[{data:{values:[{progress:"default",value:100}]},mark:{type:"arc",innerRadius:a},encoding:{theta:{field:"value",type:"quantitative"},color:{value:"#E4E9F0"},tooltip:null}},{mark:{type:"arc",outerRadius:i,innerRadius:a,padAngle:.01}},{mark:{type:"arc",innerRadius:a,padAngle:.01}}],s=2):this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:i,innerRadius:a}},{mark:{type:"arc",innerRadius:a,stroke:"#fff"}}];const l=this.centerText;l&&this.baseChartSpec.layer.push({data:{values:[{centerText:l,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 o=this.centerSubText;o&&this.baseChartSpec.layer.push({data:{values:[{centerSubText:o,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 u=this.labelRadius,c=this.labelField||h;u&&this.baseChartSpec.layer.push({mark:{type:"text",radius:u},encoding:{text:{field:c,type:"quantitative"}}}),this.showTooltip&&(this.tooltipOptions?(this.baseChartSpec.layer[s].mark.tooltip={content:"data"},this.tooltipSpec={actions:!1,tooltip:this.tooltipOptions}):this.baseChartSpec.encoding.tooltip={field:c,aggregate:"count",type:"quantitative"});const d=Object.assign(this.baseChartSpec,t);this.visualizationSpec=d}componentWillLoad(){s(this.root),this.parseData()}render(){return e("gux-visualization-beta",{key:"1841c32ed4312b87b8bdeca52a007a6905effce9",visualizationSpec:this.visualizationSpec,embedOptions:this.tooltipSpec})}get root(){return i(this)}static get watchers(){return{chartData:["parseData"]}}};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 e,g as i}from"./p-977a4087.js";import{V as a,t as s}from"./p-
|
|
1
|
+
import{r as t,h as e,g as i}from"./p-977a4087.js";import{V as a,t as s}from"./p-6787070c.js";import{l as r}from"./p-23610106.js";const o="category",h="value",n=class{constructor(e){t(this,e),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.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");let t={};this.chartData&&(t={data:this.chartData}),this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition);const e=this.colorFieldName||o;e&&(this.baseChartSpec.encoding.color.field=e);const i=this.legendTitle;i&&(this.baseChartSpec.encoding.color.title=i),this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:this.outerRadius}}];const a=this.labelRadius;a&&this.baseChartSpec.layer.push({mark:{type:"text",radius:a},encoding:{text:{field:this.labelField||h,type:"quantitative"}}});const s=Object.assign(this.baseChartSpec,t);this.visualizationSpec=s}componentWillLoad(){s(this.root),this.parseData()}render(){return e("gux-visualization-beta",{key:"b3049772a9d436bf4d6aa1b0e9ebe21a9d9e84e9",visualizationSpec:this.visualizationSpec})}get root(){return i(this)}static get watchers(){return{chartData:["parseData"]}}};n.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{n as gux_chart_pie_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t="4.
|
|
1
|
+
const t="4.153.1",e=20,n=3e4,o=[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 a(){const t=window.newrelic;if(t){for(let s=0;s<e;s++){if(0==o.length)return void setTimeout(a,n);const e=o.shift();t.addPageAction(e.name,Object.assign(Object.assign({},e.metadata),{queueDepth:o.length}))}setTimeout(a,n)}}let s=!1;function i(e,n){window.newrelic&&(s||(s=!0,a()),document.contains(e)&&o.push({name:"spark-component",metadata:Object.assign(Object.assign({},n),{component:e.tagName.toLowerCase(),version:t})}))}const r=["#203B73","#1DA8B3","#75A8FF","#8452CF","#B5B5EB","#CC3EBE","#5E5782","#FF8FDD","#868C1E","#DDD933"],c="#596373",m="#596373";export{c as D,r as V,m as a,i as t}
|