genesys-spark-chart-components 4.261.2 → 4.262.0
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-C_iF_Anm.js → color-palette-CTgjADKU.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-D0Kx8SxK.js → color-palette-DbEYnACe.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-892250df.entry.js → p-0f3f5daf.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-1fe849cd.entry.js → p-8b023519.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-60c98d8c.entry.js → p-9b341fa2.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-D0Kx8SxK.js → p-DbEYnACe.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-1387dc51.entry.js → p-c898641d.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-4914c0bf.entry.js → p-d0ad2ec9.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-31239dfb.entry.js → p-e6940804.entry.js} +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var t="4.
|
|
1
|
+
var t="4.262.0";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}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,g as e}from"./p-B1rXZ1zs.js";import{D as s,a,V as h,t as o}from"./p-
|
|
1
|
+
import{r as t,h as i,g as e}from"./p-B1rXZ1zs.js";import{D as s,a,V as h,t as o}from"./p-DbEYnACe.js";import{l}from"./p-nsqlWzyl.js";const n="category",r=class{constructor(i){t(this,i),this.labelColor=s,this.domainColor=a,this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v6.json",params:[{name:"onHover",select:{type:"point",on:"mouseover"}}],config:{axis:{ticks:!1,titlePadding:8,gridColor:"#F6F7F9",labelColor:s,domainColor:a},axisX:{labelAngle:0},legend:{symbolType:"circle"}},width:{step:40},encoding:{x:{type:"nominal"},y:{type:"quantitative"},color:{field:n,type:"nominal",scale:{range:h},legend:null},size:{condition:[{param:"onHover",empty:!1,value:100}],value:40}}},this.legendPosition="right",this.xGridVisible=!0,this.yGridVisible=!1}parseData(){this.xFieldName&&this.yFieldName||l(this.root,"requires x-field-name and y-field-name"),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=-45),this.baseChartSpec.config.legend.orient=this.legendPosition;const t=this.xFieldName,i=this.xAxisTitle,e=this.yFieldName,s=this.yAxisTitle,a=this.legendTitle,h=this.useShape||"circle",o=this.colorFieldName||n;this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),t&&(this.baseChartSpec.encoding.x.field=t),this.baseChartSpec.encoding.x.axis=Object.assign(Object.assign({},this.baseChartSpec.encoding.x.axis),{grid:this.yGridVisible}),i&&(this.baseChartSpec.encoding.x.title=i),e&&(this.baseChartSpec.encoding.y.field=e),this.baseChartSpec.encoding.y.axis=Object.assign(Object.assign({},this.baseChartSpec.encoding.y.axis),{grid:this.xGridVisible}),s&&(this.baseChartSpec.encoding.y.title=s),this.baseChartSpec.encoding.color.field=o,a&&(this.baseChartSpec.encoding.color.title=a),this.baseChartSpec.mark={type:h,filled:!0},this.baseChartSpec.config.legend.symbolType=h,this.baseChartSpec.encoding.shape={field:o,type:"nominal"},this.baseChartSpec.encoding.tooltip=[{field:t,type:"nominal",title:i},{field:e,type:"quantitative",title:s},{field:o,type:"nominal",title:a}],this.chartData&&(this.baseChartSpec.data=this.chartData),this.visualizationSpec=JSON.parse(JSON.stringify(this.baseChartSpec))}componentWillLoad(){o(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"8e87c0daedfbc677eb570ee954742ed058b617ed",visualizationSpec:this.visualizationSpec})}get root(){return e(this)}static get watchers(){return{chartData:[{parseData:0}]}}};r.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{r as gux_chart_scatter_plot_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,g as s}from"./p-B1rXZ1zs.js";import{D as e,a,V as h,t as n}from"./p-
|
|
1
|
+
import{r as t,h as i,g as s}from"./p-B1rXZ1zs.js";import{D as e,a,V as h,t as n}from"./p-DbEYnACe.js";import{l as o}from"./p-nsqlWzyl.js";const r="category",l=class{constructor(i){t(this,i),this.labelColor=e,this.domainColor=a,this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v6.json",mark:{type:"line",interpolate:"linear",point:!1},config:{axis:{ticks:!1,titlePadding:8,labelColor:e,domainColor:a},axisX:{labelAngle:0},legend:{symbolType:"circle"}},encoding:{x:{type:"nominal"},y:{type:"quantitative"},color:{field:r,type:"nominal",scale:{range:h},legend:null},tooltip:{aggregate:"count",type:"quantitative"}}},this.legendPosition="right",this.xGridVisible=!0,this.yGridVisible=!1}parseData(){this.xFieldName&&this.yFieldName||o(this.root,"requires x-field-name and y-field-name"),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=45),this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),this.baseChartSpec.config.legend.orient=this.legendPosition;const t=this.xFieldName,i=this.xAxisTitle,s=this.yFieldName,e=this.yAxisTitle,a=this.legendTitle,h=this.colorFieldName||r,n=this.interpolation,l=this.strokeDash,c=this.includeDataPointMarkers;t&&(this.baseChartSpec.encoding.x.field=t),this.baseChartSpec.encoding.x.axis=Object.assign(Object.assign({},this.baseChartSpec.encoding.x.axis),{grid:this.yGridVisible}),i&&(this.baseChartSpec.encoding.x.title=i),s&&(this.baseChartSpec.encoding.y.field=s),this.baseChartSpec.encoding.y.axis=Object.assign(Object.assign({},this.baseChartSpec.encoding.y.axis),{grid:this.xGridVisible}),e&&(this.baseChartSpec.encoding.y.title=e),this.baseChartSpec.encoding.color.field=h,a&&(this.baseChartSpec.encoding.color.title=a),l&&(this.baseChartSpec.encoding.strokeDash={field:h,type:"nominal"}),n&&(this.baseChartSpec.mark.interpolate=n),c&&(this.baseChartSpec.mark.point=c),this.chartData&&(this.baseChartSpec.data=this.chartData),this.visualizationSpec=JSON.parse(JSON.stringify(this.baseChartSpec))}componentWillLoad(){n(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"f0d52101782cd4c59f787b6d26ef2b627b637f90",visualizationSpec:this.visualizationSpec})}get root(){return s(this)}static get watchers(){return{chartData:[{parseData:0}]}}};l.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{l as gux_chart_line_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-B1rXZ1zs.js";import{V as a,t as s}from"./p-
|
|
1
|
+
import{r as t,h as e,g as i}from"./p-B1rXZ1zs.js";import{V as a,t as s}from"./p-DbEYnACe.js";import{l as n}from"./p-nsqlWzyl.js";const r="category",h="value",l=class{constructor(e){t(this,e),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v6.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.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,this.baseChartSpec.encoding.color.field=this.colorFieldName||r;this.baseChartSpec.encoding.color.title=this.legendTitle||"";let e=this.outerRadius,i=this.innerRadius;e||(e=i+32),i||(i=e-32);let a=1;this.gauge?(this.baseChartSpec.layer=[{data:{values:[{progress:"default",value:100}]},mark:{type:"arc",innerRadius:i},encoding:{theta:{field:"value",type:"quantitative"},color:{value:"#E4E9F0"},tooltip:null}},{mark:{type:"arc",outerRadius:e,innerRadius:i,padAngle:.01}},{mark:{type:"arc",innerRadius:i,padAngle:.01}}],a=2):this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:e,innerRadius:i}},{mark:{type:"arc",innerRadius:i,stroke:"#fff"}}];const s=this.centerText;s&&this.baseChartSpec.layer.push({data:{values:[{centerText:s,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 l=this.centerSubText;l&&this.baseChartSpec.layer.push({data:{values:[{centerSubText:l,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 o=this.labelRadius,u=this.labelField||h;o&&this.baseChartSpec.layer.push({mark:{type:"text",radius:o},encoding:{text:{field:u,type:"quantitative"}}}),this.showTooltip&&(this.tooltipOptions?(this.baseChartSpec.layer[a].mark.tooltip={content:"data"},this.tooltipSpec={actions:!1,tooltip:this.tooltipOptions}):this.baseChartSpec.encoding.tooltip={field:u,aggregate:"count",type:"quantitative"});const c=Object.assign(this.baseChartSpec,t);this.visualizationSpec=c}componentWillLoad(){s(this.root),this.parseData()}render(){return e("gux-visualization-beta",{key:"9c6ad7f05c2f788bd677dca62fd91505cba0b525",visualizationSpec:this.visualizationSpec,embedOptions:this.tooltipSpec})}get root(){return i(this)}static get watchers(){return{chartData:[{parseData:0}]}}};l.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{l as gux_chart_donut_beta}
|