genesys-spark-chart-components 4.164.0 → 4.164.2
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-Dc3ZbDxs.js → color-palette-9x6S7U1C.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 +1 -1
- package/dist/esm/{color-palette-CfreEl5c.js → color-palette-D77QR9Rs.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 +1 -1
- package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
- package/dist/genesys-chart-webcomponents/{p-0851f0d9.entry.js → p-45099e0a.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-127bb7ae.entry.js → p-66ddba79.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-934e5860.entry.js → p-971ed443.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-CfreEl5c.js → p-D77QR9Rs.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-bfefeb5c.entry.js → p-ad07349f.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-401876dc.entry.js → p-f70a146a.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-5b620a2d.entry.js → p-f7804780.entry.js} +1 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,g as a}from"./p-CDeWGOwC.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-CDeWGOwC.js";import{D as s,a as e,V as r,t as h}from"./p-D77QR9Rs.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/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}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genesys-spark-chart-components",
|
|
3
|
-
"version": "4.164.
|
|
3
|
+
"version": "4.164.2",
|
|
4
4
|
"description": "Common chart webcomponents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/stencil-wrapper.js",
|
|
@@ -61,21 +61,21 @@
|
|
|
61
61
|
"@types/jest": "^29.5.14",
|
|
62
62
|
"axe-core": "^4.10.3",
|
|
63
63
|
"axe-live": "^1.0.1",
|
|
64
|
-
"eslint": "^9.
|
|
64
|
+
"eslint": "^9.33.0",
|
|
65
65
|
"eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
|
|
66
66
|
"file-loader": "^6.2.0",
|
|
67
67
|
"genesys-spark-tokens": "file:../genesys-spark-tokens",
|
|
68
68
|
"glob": "^11.0.3",
|
|
69
69
|
"globals": "^16.3.0",
|
|
70
70
|
"handlebars": "^4.7.8",
|
|
71
|
-
"inquirer": "^12.9.
|
|
71
|
+
"inquirer": "^12.9.1",
|
|
72
72
|
"jest": "^29.7.0",
|
|
73
73
|
"jest-cli": "^29.7.0",
|
|
74
74
|
"jest-config": "^29.7.0",
|
|
75
75
|
"jest-environment-node": "^29.7.0",
|
|
76
76
|
"jest-junit": "^16.0.0",
|
|
77
77
|
"jest-silent-reporter": "^0.6.0",
|
|
78
|
-
"lint-staged": "^16.1.
|
|
78
|
+
"lint-staged": "^16.1.5",
|
|
79
79
|
"node-fetch": "^3.3.2",
|
|
80
80
|
"npm-run-all": "^4.1.5",
|
|
81
81
|
"postcss-html": "^1.8.0",
|
|
@@ -84,15 +84,15 @@
|
|
|
84
84
|
"prettier": "^3.6.2",
|
|
85
85
|
"prettier-config-genesys-spark-components": "file:../../shared-configs/prettier-config-genesys-spark-components",
|
|
86
86
|
"prettier-package-json": "^2.8.0",
|
|
87
|
-
"puppeteer": "^24.
|
|
87
|
+
"puppeteer": "^24.16.1",
|
|
88
88
|
"rollup-plugin-copy": "^3.5.0",
|
|
89
89
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
90
90
|
"semver-sort": "^1.0.0",
|
|
91
91
|
"smob": "^1.5.0",
|
|
92
|
-
"stylelint": "^16.
|
|
92
|
+
"stylelint": "^16.23.1",
|
|
93
93
|
"stylelint-config-genesys-spark-components": "file:../../shared-configs/stylelint-config-genesys-spark-components",
|
|
94
94
|
"stylelint-config-html": "^1.1.0",
|
|
95
|
-
"stylelint-config-recess-order": "^7.
|
|
95
|
+
"stylelint-config-recess-order": "^7.2.0",
|
|
96
96
|
"stylelint-config-standard": "^38.0.0",
|
|
97
97
|
"stylelint-order": "^7.0.0",
|
|
98
98
|
"stylelint-scss": "^6.12.1",
|