genesys-spark-chart-components 4.154.7 → 4.155.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-c82e85c6.js → color-palette-be056d9b.js} +5 -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-15ff78c3.js → color-palette-02460f9e.js} +5 -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-185cf3a6.entry.js → p-04c23e5f.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-0c56a5f4.entry.js → p-1681d47e.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-7173b463.entry.js → p-82be62e8.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-b66fe9bc.js → p-90b67456.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-d8169da2.entry.js → p-97297b0f.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-f509325e.entry.js → p-97417448.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-d7fde892.entry.js → p-d2cfd9f4.entry.js} +1 -1
- package/package.json +5 -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.155.1";
|
|
5
5
|
const description = "Common chart webcomponents";
|
|
6
6
|
const license = "MIT";
|
|
7
7
|
const main = "dist/stencil-wrapper.js";
|
|
@@ -82,13 +82,13 @@ const devDependencies = {
|
|
|
82
82
|
"jest-environment-node": "^29.7.0",
|
|
83
83
|
"jest-junit": "^16.0.0",
|
|
84
84
|
"jest-silent-reporter": "^0.6.0",
|
|
85
|
-
"lint-staged": "^
|
|
85
|
+
"lint-staged": "^16.1.2",
|
|
86
86
|
"node-fetch": "^3.3.2",
|
|
87
87
|
"npm-run-all": "^4.1.5",
|
|
88
88
|
"postcss-html": "^1.8.0",
|
|
89
89
|
"postcss-less": "^6.0.0",
|
|
90
90
|
"postcss-scss": "^4.0.9",
|
|
91
|
-
prettier: "^3.
|
|
91
|
+
prettier: "^3.6.0",
|
|
92
92
|
"prettier-config-genesys-spark-components": "file:../../shared-configs/prettier-config-genesys-spark-components",
|
|
93
93
|
"prettier-package-json": "^2.8.0",
|
|
94
94
|
puppeteer: "^14.4.1",
|
|
@@ -98,8 +98,9 @@ const devDependencies = {
|
|
|
98
98
|
stylelint: "^16.21.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
|
-
"stylelint-config-recess-order": "^
|
|
101
|
+
"stylelint-config-recess-order": "^7.1.0",
|
|
102
102
|
"stylelint-config-standard": "^38.0.0",
|
|
103
|
+
"stylelint-order": "^7.0.0",
|
|
103
104
|
"stylelint-scss": "^6.12.1",
|
|
104
105
|
"ts-loader": "^9.5.2",
|
|
105
106
|
typescript: "5.5.4",
|
|
@@ -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-be056d9b.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-be056d9b.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-be056d9b.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-be056d9b.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-be056d9b.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-be056d9b.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.155.1";
|
|
3
3
|
const description = "Common chart webcomponents";
|
|
4
4
|
const license = "MIT";
|
|
5
5
|
const main = "dist/stencil-wrapper.js";
|
|
@@ -80,13 +80,13 @@ const devDependencies = {
|
|
|
80
80
|
"jest-environment-node": "^29.7.0",
|
|
81
81
|
"jest-junit": "^16.0.0",
|
|
82
82
|
"jest-silent-reporter": "^0.6.0",
|
|
83
|
-
"lint-staged": "^
|
|
83
|
+
"lint-staged": "^16.1.2",
|
|
84
84
|
"node-fetch": "^3.3.2",
|
|
85
85
|
"npm-run-all": "^4.1.5",
|
|
86
86
|
"postcss-html": "^1.8.0",
|
|
87
87
|
"postcss-less": "^6.0.0",
|
|
88
88
|
"postcss-scss": "^4.0.9",
|
|
89
|
-
prettier: "^3.
|
|
89
|
+
prettier: "^3.6.0",
|
|
90
90
|
"prettier-config-genesys-spark-components": "file:../../shared-configs/prettier-config-genesys-spark-components",
|
|
91
91
|
"prettier-package-json": "^2.8.0",
|
|
92
92
|
puppeteer: "^14.4.1",
|
|
@@ -96,8 +96,9 @@ const devDependencies = {
|
|
|
96
96
|
stylelint: "^16.21.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
|
-
"stylelint-config-recess-order": "^
|
|
99
|
+
"stylelint-config-recess-order": "^7.1.0",
|
|
100
100
|
"stylelint-config-standard": "^38.0.0",
|
|
101
|
+
"stylelint-order": "^7.0.0",
|
|
101
102
|
"stylelint-scss": "^6.12.1",
|
|
102
103
|
"ts-loader": "^9.5.2",
|
|
103
104
|
typescript: "5.5.4",
|
|
@@ -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-02460f9e.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-02460f9e.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-02460f9e.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-02460f9e.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-02460f9e.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-02460f9e.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-82be62e8",[[1,"gux-visualization-beta",{visualizationSpec:[16],embedOptions:[16]}]]],["p-1681d47e",[[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-d2cfd9f4",[[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-97297b0f",[[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-04c23e5f",[[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-97417448",[[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-90b67456.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
|
-
import{r as t,h as i,g as a}from"./p-977a4087.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-977a4087.js";import{D as s,a as e,V as r,t as h}from"./p-90b67456.js";import{l as n}from"./p-23610106.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/v5.json",mark:{type:"bar"},config:{axis:{ticks:!1,titlePadding:8,labelColor:this.labelColor||s,domainColor:this.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");let t={};this.chartData&&(t={data:this.chartData}),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=45),this.includeLegend&&(this.baseChartSpec.encoding.color={field:"category"}),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition);const i=this.xFieldName,a=this.yFieldName,s=this.xAxisTitle,e=this.yAxisTitle,h=this.legendTitle;if(this.chartLayers){const t=this.chartLayers.map((t=>({mark:"bar",transform:[{filter:{field:"series",equal:t}}],encoding:{x:{field:i,type:"nominal"},y:{field:a,type:"quantitative"}}})));this.baseChartSpec.layer=t}else i&&(this.baseChartSpec.encoding.x.field=i),a&&(this.baseChartSpec.encoding.y.field=a),s&&(this.baseChartSpec.encoding.x.title=s),e&&(this.baseChartSpec.encoding.y.title=e),h&&(this.baseChartSpec.encoding.color.title=h);const o=i;this.baseChartSpec.config.range={[o]:r};const l=Object.assign(this.baseChartSpec,t);this.visualizationSpec=l}componentWillLoad(){h(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"5bcc2fcee3bfb4905b9fdbb572593402531f960d",visualizationSpec:this.visualizationSpec})}get root(){return a(this)}static get watchers(){return{chartData:["parseData"]}}};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 .mark-rect.layer_1_marks path{fill:#1da8b3}";export{o as gux_chart_column_beta}
|