genesys-spark-chart-components 4.261.0 → 4.261.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-frooRpJb.js → color-palette-C_iF_Anm.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-B5ljY2m6.js → color-palette-D0Kx8SxK.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-a88c78a1.entry.js → p-1387dc51.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-7a842c4f.entry.js → p-1fe849cd.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-64bc0eff.entry.js → p-31239dfb.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-f7073cf4.entry.js → p-4914c0bf.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-c21d7467.entry.js → p-60c98d8c.entry.js} +3 -3
- package/dist/genesys-chart-webcomponents/p-892250df.entry.js +1 -0
- package/dist/genesys-chart-webcomponents/{p-B5ljY2m6.js → p-D0Kx8SxK.js} +1 -1
- package/package.json +1 -1
- package/dist/genesys-chart-webcomponents/p-ef8f2e58.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,g as a}from"./p-B1rXZ1zs.js";import{D as s,a as e,V as r,t as n}from"./p-D0Kx8SxK.js";import{l as o}from"./p-nsqlWzyl.js";const h=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||o(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.baseChartSpec.config.legend.orient=this.legendPosition;const i=this.xFieldName,a=this.yFieldName,s=this.xAxisTitle,e=this.yAxisTitle,n=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),n&&(this.baseChartSpec.encoding.color.title=n);const h=i;this.baseChartSpec.config.range={[h]:r};const l=Object.assign(this.baseChartSpec,t);this.visualizationSpec=l}componentWillLoad(){n(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"3747bc873408091885951d9b093bcb386a85b545",visualizationSpec:this.visualizationSpec})}get root(){return a(this)}static get watchers(){return{chartData:[{parseData:0}]}}};h.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{h as gux_chart_column_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var t="4.261.
|
|
1
|
+
var t="4.261.2";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}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,g as a}from"./p-B1rXZ1zs.js";import{D as s,a as e,V as r,t as n}from"./p-B5ljY2m6.js";import{l}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||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.includeLegend&&(this.baseChartSpec.encoding.color={field:"category"}),this.baseChartSpec.config.legend.orient=this.legendPosition;const i=this.xFieldName,a=this.yFieldName,s=this.xAxisTitle,e=this.yAxisTitle,n=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),n&&(this.baseChartSpec.encoding.color.title=n);const o=i;this.baseChartSpec.config.range={[o]:r};const h=Object.assign(this.baseChartSpec,t);this.visualizationSpec=h}componentWillLoad(){n(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"3747bc873408091885951d9b093bcb386a85b545",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}
|