genesys-spark-chart-components 4.156.2 → 4.156.3
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-D0Z1kvAl.js → color-palette-piIJSHEi.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-DmZB0eXZ.js → color-palette-C5PXLEXd.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-dca180ec.entry.js → p-04f5e3f9.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-24e262ca.entry.js → p-8305cda8.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-e64eb1b6.entry.js → p-915557cb.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-f14c2ca6.entry.js → p-9dc4faa6.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-DmZB0eXZ.js → p-C5PXLEXd.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-3e07a394.entry.js → p-a24b0f3a.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-30f63b60.entry.js → p-dd8cf09e.entry.js} +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,a as s}from"./p-7ILyl2XS.js";import{D as e,a,V as o,t as h}from"./p-
|
|
1
|
+
import{r as t,h as i,a as s}from"./p-7ILyl2XS.js";import{D as e,a,V as o,t as h}from"./p-C5PXLEXd.js";import{l}from"./p-nsqlWzyl.js";const n="category",r=class{constructor(i){t(this,i),this.labelColor=e,this.domainColor=a,this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",params:[{name:"onHover",select:{type:"point",on:"mouseover"}}],config:{axis:{ticks:!1,titlePadding:8,gridColor:"#F6F7F9",labelColor:this.labelColor||e,domainColor:this.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||l(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.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition);const i=this.xFieldName,s=this.xAxisTitle,e=this.yFieldName,a=this.yAxisTitle,o=this.legendTitle,h=this.useShape||"circle",r=this.colorFieldName||n;this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),i&&(this.baseChartSpec.encoding.x.field=i),s&&(this.baseChartSpec.encoding.x.title=s),e&&(this.baseChartSpec.encoding.y.field=e),a&&(this.baseChartSpec.encoding.y.title=a),this.baseChartSpec.encoding.color.field=r,o&&(this.baseChartSpec.encoding.color.title=o),this.baseChartSpec.mark={type:h,filled:!0},this.baseChartSpec.config.legend.symbolType=h,this.baseChartSpec.encoding.shape={field:r,type:"nominal"},this.baseChartSpec.encoding.tooltip=[{field:i,type:"nominal",title:s},{field:e,type:"quantitative",title:a},{field:r,type:"nominal",title:o}];const c=Object.assign(this.baseChartSpec,t);this.visualizationSpec=c}componentWillLoad(){h(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"99d30b8b621965db1bb64abc45fa8075f7f1db2f",visualizationSpec:this.visualizationSpec})}get root(){return s(this)}static get watchers(){return{chartData:["parseData"]}}};r.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{r as gux_chart_scatter_plot_beta}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genesys-spark-chart-components",
|
|
3
|
-
"version": "4.156.
|
|
3
|
+
"version": "4.156.3",
|
|
4
4
|
"description": "Common chart webcomponents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/stencil-wrapper.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
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.30.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",
|
|
@@ -84,7 +84,7 @@
|
|
|
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": "
|
|
87
|
+
"puppeteer": "24.11.0",
|
|
88
88
|
"rollup-plugin-copy": "^3.5.0",
|
|
89
89
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
90
90
|
"semver-sort": "^1.0.0",
|