@arcgis/charts-components 5.2.0-next.70 → 5.2.0-next.71

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.
Files changed (100) hide show
  1. package/dist/cdn/{MFYVUIPM.js → 25MA553Z.js} +1 -1
  2. package/dist/cdn/{FNJOMPCS.js → 27RKQQPS.js} +1 -1
  3. package/dist/cdn/{3PJG5RPA.js → 2K4MIK4T.js} +1 -1
  4. package/dist/cdn/{UW3WL44H.js → 2SLJKRSD.js} +1 -1
  5. package/dist/cdn/{WTB23TU5.js → 33JR3GH6.js} +1 -1
  6. package/dist/cdn/{ZSTPZFF6.js → 3B6QE7OV.js} +1 -1
  7. package/dist/cdn/3FM3YR57.js +2 -0
  8. package/dist/cdn/{55FTLFES.js → 3PDVKKKZ.js} +1 -1
  9. package/dist/cdn/{7GO7L6K4.js → 3V4ZETXH.js} +1 -1
  10. package/dist/cdn/{LTHNRIKF.js → 3WOYVXSZ.js} +1 -1
  11. package/dist/cdn/{E76O5CL2.js → 3XB2RWHK.js} +1 -1
  12. package/dist/cdn/{7AFOMUPB.js → 4DC4ARHU.js} +1 -1
  13. package/dist/cdn/{BKENQZVC.js → 4IO3VF3L.js} +1 -1
  14. package/dist/cdn/{24UNROUY.js → 4JUR3VIE.js} +1 -1
  15. package/dist/cdn/{5BMIWC4E.js → 4JWIBRGO.js} +1 -1
  16. package/dist/cdn/{3FNSOFZW.js → 4M4SAEH4.js} +1 -1
  17. package/dist/cdn/{MFVIGPEF.js → 4ODTQZJK.js} +1 -1
  18. package/dist/cdn/{NS22JUJ7.js → 54VUGIAU.js} +1 -1
  19. package/dist/cdn/{7IUKJ5PU.js → 5GZDXWTQ.js} +1 -1
  20. package/dist/cdn/{UXVU3KHY.js → 5NVOWYWZ.js} +1 -1
  21. package/dist/cdn/{7ENBCEQR.js → 6TJIHHQF.js} +1 -1
  22. package/dist/cdn/{SKQQFLCU.js → 7KNUJIOC.js} +1 -1
  23. package/dist/cdn/{SNLS5YDJ.js → 7REEJ3OW.js} +1 -1
  24. package/dist/cdn/{2WVTUVN4.js → 7XWR4EVM.js} +1 -1
  25. package/dist/cdn/{4SHVP5PZ.js → AVE3KXWQ.js} +1 -1
  26. package/dist/cdn/{KHGILG5X.js → BAFCVCT4.js} +1 -1
  27. package/dist/cdn/{GZVU6ATV.js → BNNBHYRP.js} +1 -1
  28. package/dist/cdn/BQORJ3LU.js +2 -0
  29. package/dist/cdn/{CQS3N3YT.js → BZ6FUIQF.js} +1 -1
  30. package/dist/cdn/CNI32IL3.js +2 -0
  31. package/dist/cdn/CRQK4CKK.js +2 -0
  32. package/dist/cdn/{OF3OQQID.js → CVFKL3S2.js} +1 -1
  33. package/dist/cdn/{76BU2ZWA.js → DT5BOM5F.js} +1 -1
  34. package/dist/cdn/{BIPFB5HW.js → E7QFC64H.js} +1 -1
  35. package/dist/cdn/{CGCRNEFM.js → EJWHEBKW.js} +1 -1
  36. package/dist/cdn/{KEHRL2MP.js → F5AR3N3Z.js} +1 -1
  37. package/dist/cdn/{TYVMAK67.js → GIH3U7YP.js} +1 -1
  38. package/dist/cdn/{LZABQV52.js → GKEW5JYD.js} +1 -1
  39. package/dist/cdn/{S6C5PJP4.js → I5DMUUEL.js} +1 -1
  40. package/dist/cdn/{MLPHSOJB.js → IK4FPUFJ.js} +1 -1
  41. package/dist/cdn/{CH7EMYXL.js → IO6A77U4.js} +1 -1
  42. package/dist/cdn/{MGUUHKYW.js → IODRBLGT.js} +1 -1
  43. package/dist/cdn/{OJDYJETX.js → JAQYU6KP.js} +1 -1
  44. package/dist/cdn/{6PGKTC6F.js → JYLEN3VQ.js} +1 -1
  45. package/dist/cdn/{P4VJYOCL.js → K6F2LRKI.js} +1 -1
  46. package/dist/cdn/{2GXX5IMS.js → L6DFXTSQ.js} +1 -1
  47. package/dist/cdn/{NJKSUAO7.js → LAPBDR32.js} +1 -1
  48. package/dist/cdn/{HEWG4ZZE.js → LIDWAYQH.js} +1 -1
  49. package/dist/cdn/{DGGCAG3N.js → LPYRKK25.js} +1 -1
  50. package/dist/cdn/{ANMO6CLA.js → MAC4MPUA.js} +1 -1
  51. package/dist/cdn/{EKBLEUCP.js → MOG5ZVLX.js} +1 -1
  52. package/dist/cdn/{VWOS4FBW.js → NAGOJPIX.js} +1 -1
  53. package/dist/cdn/{CWSAYMFQ.js → NF4EBNLN.js} +1 -1
  54. package/dist/cdn/{XRRDA4TC.js → NP24UZGI.js} +1 -1
  55. package/dist/cdn/{BSCFYA5P.js → NUHPR7BM.js} +1 -1
  56. package/dist/cdn/{OCYSGUCY.js → O2BQ374Y.js} +1 -1
  57. package/dist/cdn/{UGAHTOBA.js → OE7FIKPS.js} +1 -1
  58. package/dist/cdn/{AQOCENW4.js → OE7Q4MG5.js} +1 -1
  59. package/dist/cdn/{VZCYTHM2.js → OTFA727N.js} +1 -1
  60. package/dist/cdn/{V75KABKD.js → P6DBPQZO.js} +1 -1
  61. package/dist/cdn/{T2G5XRL5.js → PIEX577B.js} +1 -1
  62. package/dist/cdn/{P3WSMZJU.js → PTUMQCFF.js} +1 -1
  63. package/dist/cdn/{LNRNJHH3.js → QAXXYD6N.js} +1 -1
  64. package/dist/cdn/{PZ3FNMU7.js → QC3FMJKL.js} +1 -1
  65. package/dist/cdn/{FLKBGFAC.js → QSGJ3MAT.js} +1 -1
  66. package/dist/cdn/{YWMVQFAN.js → QT64PB4L.js} +1 -1
  67. package/dist/cdn/{ZNGT5LSV.js → QWCNHH6G.js} +1 -1
  68. package/dist/cdn/{VPHWRDJI.js → RCLHFY6O.js} +1 -1
  69. package/dist/cdn/{QB5VLM5A.js → RCZLTGQI.js} +1 -1
  70. package/dist/cdn/{A2OP6Q3D.js → ROG3HFDT.js} +1 -1
  71. package/dist/cdn/{TSQYRV3W.js → SL7NRRSJ.js} +1 -1
  72. package/dist/cdn/{UULF2NFJ.js → SSQPRUUN.js} +1 -1
  73. package/dist/cdn/{E7RGF2VG.js → V2FHLWYC.js} +1 -1
  74. package/dist/cdn/{WGPNG4C5.js → VAF3UIVA.js} +1 -1
  75. package/dist/cdn/{6JJHAS2P.js → VHW4OAKG.js} +1 -1
  76. package/dist/cdn/{W665SH4P.js → VNYRZDY5.js} +1 -1
  77. package/dist/cdn/VUHFYOLC.js +2 -0
  78. package/dist/cdn/{ILI6Z4H3.js → WDUTZ6EO.js} +1 -1
  79. package/dist/cdn/{YXOUH52R.js → WM6SCZHN.js} +1 -1
  80. package/dist/cdn/{UDAL44H7.js → WPLHZAZ3.js} +1 -1
  81. package/dist/cdn/{VWY7QP3W.js → XH57C72H.js} +1 -1
  82. package/dist/cdn/index.js +1 -1
  83. package/dist/cdn/model/shared/setup-utils.js +1 -1
  84. package/dist/chunks/bar-chart-model.js +24 -23
  85. package/dist/chunks/box-plot-model.js +36 -36
  86. package/dist/chunks/index2.js +4 -2
  87. package/dist/chunks/pie-chart-model.js +246 -242
  88. package/dist/chunks/serial-chart-model.js +2 -1
  89. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +40 -26
  90. package/dist/components/arcgis-charts-config-create-flow/customElement.js +236 -224
  91. package/dist/docs/api.json +1 -1
  92. package/dist/docs/docs.json +1 -1
  93. package/dist/docs/web-types.json +1 -1
  94. package/dist/model/shared/type-guards.d.ts +1 -1
  95. package/package.json +3 -3
  96. package/dist/cdn/FLYZW7XF.js +0 -2
  97. package/dist/cdn/O2K4WDQR.js +0 -2
  98. package/dist/cdn/OANIWZFQ.js +0 -2
  99. package/dist/cdn/ODNJBXGP.js +0 -2
  100. package/dist/cdn/Z4LBCIER.js +0 -2
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import w from"./BKENQZVC.js";import v from"./LTHNRIKF.js";import u from"./CH7EMYXL.js";import t from"./P4VJYOCL.js";import s from"./MFVIGPEF.js";import r from"./A2OP6Q3D.js";import q from"./SKQQFLCU.js";import o from"./4SHVP5PZ.js";import n from"./2GXX5IMS.js";import l from"./UXVU3KHY.js";import k from"./WTB23TU5.js";import j from"./YXOUH52R.js";import i from"./UW3WL44H.js";import"./OAXHS4LE.js";import f from"./ILI6Z4H3.js";import e from"./AQOCENW4.js";import"./WDMYVS4F.js";import d from"./EKBLEUCP.js";import c from"./CGCRNEFM.js";import b from"./5BMIWC4E.js";import a from"./VWOS4FBW.js";import"./CRNIOME2.js";import"./BGOWDCTO.js";import{B as m,ea as S,i as g,la as p}from"./USNJZCHH.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./LJTJTGIW.js";import"./7SBVBD4E.js";import"./DAFNQT4C.js";import"./QP5UAIC6.js";import"./KJZTU3DV.js";import{a as h}from"./K4APZJ2O.js";import"./BYSUABOV.js";export default $arcgis.t(([{za:a},{q:y},,{c:n},,,,,,,,,,,{c:u},,{ta:f},{b:v,c:I,d:b},{a:_,b:L,c:O,d:z,e:H}])=>{var x=Object.defineProperty,B=Object.getOwnPropertyDescriptor,d=(c,e,s,t)=>{for(var i=B(e,s),o=c.length-1,l;o>=0;o--)(l=c[o])&&(i=l(e,s,i)||i);return i&&x(e,s,i),i},r=class extends b{constructor(){super(...arguments),this._chartType=h.BarSeries}async setup(e){await this.loadConfigFromLayer(e),this.setupLocalProps(),e.config!==void 0&&await this.rebuildSeries(),typeof this.resolveSetup=="function"&&this.resolveSetup()}generateDefaultConfig(){let e=p(this.commonStrings);return e.series=[S({objectIDField:a(this.layerInfo.layer).idField,commonStrings:this.commonStrings})],e}getSeriesHideOversizedSideBySideLabels(e){return _(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,s){L(e,s,this._config)}getSeriesHideOversizedStackedLabels(e){return O(e,this._config)}setSeriesHideOversizedStackedLabels(e,s){z(e,s,this._config)}getSortOrder(){return u(this._config)}resetSeriesStyling(){for(let e=0;e<this.seriesLength;e+=1){let s=this.getSeriesId(e),t=m({colorIndex:e,opacity:g});if(I(t,e,this._config),this.layerInfo!==void 0){let i=f({config:this._config,seriesIndex:e,layerInfo:this.layerInfo,commonStrings:this.commonStrings});i!==a(this.layerInfo.layer).idField&&v(i??s,e,this._config)}}this._config.colorMatch=!0}resetAvailable(){let e=!this.colorMatch,s=!1;if(!e&&this.layerInfo!==void 0)for(let t=0;t<this.seriesLength;t+=1){let i=f({config:this._config,seriesIndex:t,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),o=this.getSeriesName(t);if(i!==void 0&&i!==a(this.layerInfo.layer).idField&&i!==o){s=!0;break}}return e||s}};d([n],r.prototype,"setSeriesHideOversizedSideBySideLabels");d([n],r.prototype,"setSeriesHideOversizedStackedLabels");d([n],r.prototype,"resetSeriesStyling");var F=[H];y(r,F);return r},a,b,c,d,e,f,i,j,k,l,n,o,q,r,s,t,u,v,w)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import v from"./BIPFB5HW.js";import{a as se}from"./L7CMLBHB.js";import{a as ie}from"./D3YWSIAT.js";import{a as w}from"./IPEJCIHO.js";import{a as re}from"./IHO3OLL3.js";import u from"./6JJHAS2P.js";import{a as $,b as ee,e as te}from"./OBPAQN4H.js";import{a as f}from"./7NWEE7T2.js";import t from"./MLPHSOJB.js";import{d as n}from"./JYC77MVD.js";import{a as I}from"./SN4KBI42.js";import s from"./PZ3FNMU7.js";import r from"./OJDYJETX.js";import p from"./V75KABKD.js";import{a as W}from"./VZCYTHM2.js";import m from"./CH7EMYXL.js";import l from"./P4VJYOCL.js";import k from"./MFVIGPEF.js";import j from"./2GXX5IMS.js";import{b as q,c as P,i as Y,l as B,p as L,r as Q}from"./OAXHS4LE.js";import i from"./AQOCENW4.js";import"./WDMYVS4F.js";import g from"./EKBLEUCP.js";import e from"./CGCRNEFM.js";import d from"./5BMIWC4E.js";import a from"./VWOS4FBW.js";import{C as T,c as H,q as S}from"./CRNIOME2.js";import{d as b,e as R}from"./BGOWDCTO.js";import"./USNJZCHH.js";import"./KX7KGXKQ.js";import{l as M}from"./SP2IPHWF.js";import"./LJTJTGIW.js";import{A,B as V,C as h,D as _,F as x,H as z,g as F,i as c,n as C,z as N}from"./7SBVBD4E.js";import"./DAFNQT4C.js";import"./QP5UAIC6.js";import"./KJZTU3DV.js";import{a as o,k as U}from"./K4APZJ2O.js";import"./BYSUABOV.js";export default $arcgis.t(([{substitute:ne},{Lc:K,jc:Z,oa:X,sa:G,v:O},,,,,{b:v},,{a:J},,,,,{r:ae},{e:y,f:j},{b:D}])=>{var d={chartUIComponent:"chart-ui-component",tabBar:"tab-bar",tab:"tab"};function oe(m,e){let s=new Set,t=e;return m?.forEach((a,i)=>{let r=a.chartId;(s.has(r)||r===void 0||r==="")&&(a.chartId=`Chart_${Date.now()}_${i}`,e===r&&(t=a.chartId)),s.add(r)}),t}function ce(m,e,s){return m?.filter(t=>S(s,t.config)&&t.layer?.id===e)??[]}function he(m){let{modelList:e,layerList:s,activeLayerId:t,disableEditing:a}=m,i=new Map;return e?.forEach(r=>{let l=r.layer;l&&i.set(l.id,l)}),a||s.forEach(r=>i.set(r.id,r)),Array.from(i.values()).filter(r=>!t||r.id===t)}function de(m,e){m.forEach(s=>{e.forEach(t=>{s?.id===t.layer?.id&&le(s,t)})})}function le(m,e){let s=m;if(s){let t=[...s?.charts??[]],a=t?.findIndex(r=>r.id===e.chartId),i=!1;a!==void 0&&a>-1?(i=!M(t[a],e.config),t[a]=e.config):s&&!v(e.config)&&(i=!0,t.push(e.config)),i&&(s.charts=t)}}function me(m,e){let s=m;if(s){let t=[...s.charts??[]],a=t.findIndex(i=>i.id===e);a>-1&&(t.splice(a,1),s.charts=t)}}function pe(m,e){let s=m;if(s){let t=[...s.charts??[]];t=T({arrayA:t,arrayB:e.map(a=>a.config),getKey:a=>a.id??a.title?.content.text??""}),s.charts=t}}var ge=F`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`,k=class extends V{constructor(){super(),this.selectChartTypePopover=null,this.chartsListFlowItem=N(),this.supportedChartTypes=[o.BarSeries,o.BoxPlotSeries,o.LineSeries,o.PieSeries,o.HistogramSeries,o.ScatterSeries,o.HeatSeries],this._messages=I(),this.commonStrings=I({name:"common",blocking:!0}),this.chartDataProcessComplete=e=>{let s=e,{chartData:t,model:a}=s.detail,i=this.getModel(this.selectedChartId);if(a?.isSameChartAs(i))switch(i?.chartType){case o.HistogramSeries:if(this.chartData=t,a&&(a.dataStore.chartData=t,R(a.layer))){let r=a,l=t?.bins?.length;l!==void 0&&r.binCount!==l&&(r.binCount=l)}break;case o.PieSeries:{this.chartData=t,a&&(a.dataStore.chartData=t);break}case o.ScatterSeries:{let r=t,{dataItems:l,r2:u,aggregated:g}=r,p=u;Number.isFinite(u)||(p=void 0),this.r2=p,Y(a)&&(a.dataStore.r2=p,a.dataStore.aggregated=g,g&&(a.additionalTooltipField=void 0)),this.calculatedDataMinMaxBounds=this.getDataExtent(l),a&&(a.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds);break}case o.LineSeries:case o.BarSeries:{let{dataItems:r,timeIntervalInfo:l}=t;(P(i)||q(i)&&i.binTemporalData)&&(l?.size!==void 0&&i.temporalBinningSize!==l?.size&&(i.temporalBinningSize=l?.size),l?.unit!==void 0&&i.temporalBinningUnit!==l?.unit&&l?.unit!==U.Quarter&&(i.temporalBinningUnit=l?.unit),l?.size!==void 0&&l?.unit!==void 0&&te($,{size:l.size,unit:l.unit})),this.calculatedDataMinMaxBounds=this.getDataExtent(r),a&&(a.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds),this.applyDefaultNullCategoryIfNeeded(i,r);break}}},this.applyDefaultNullCategoryIfNeeded=(e,s)=>{if(Q(e)&&e.nullCategory===void 0){let t=e.xAxisField;s.some(a=>a[t]===null)&&(e.nullCategory=H.nullCategory)}},this.chartAxesMinMaxChange=e=>{let s=e,{bounds:t,model:a}=s.detail,i=this.getModel(this.selectedChartId),r=a?.isSameChartAs(i),l=i?.chartType;if(r)switch(l){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:case o.ScatterSeries:this.calculatedMinMaxBounds=t,a&&(a.dataStore.calculatedMinMaxBounds=t),this.updateAxesBoundsInAppState(t);break}},this.chartSeriesColorChange=e=>{let s=e,{data:t,model:a}=s.detail,i=this.getModel(this.selectedChartId);if(a?.isSameChartAs(i))switch(i?.chartType){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:this.seriesColor=t,a&&(a.dataStore.seriesColor=t);break;case o.PieSeries:{let r=new Map([[0,t]]);this.seriesColor=r,a&&(a.dataStore.seriesColor=r);break}case o.ScatterSeries:}},this.chartNoRenderPropChange=e=>{let s=e,{propName:t,value:a,model:i}=s.detail,r=this.modelList.find(l=>i?.isSameChartAs(l));if(r)switch(t){case"rotation":typeof a=="boolean"&&J(r)&&(r.rotated=a);break;case"legendPosition":typeof a=="string"&&L(r)&&(r.legendPosition=a);break;case"legendVisibility":typeof a=="boolean"&&L(r)&&(r.legendVisibility=a);break}},this.chartLegendItemVisibilityChange=e=>{let s=e,{legendItemVisibility:t,model:a}=s.detail,i=this.modelList.find(r=>a?.isSameChartAs(r));i?.setSeriesVisibility(t),B(i)&&((i.getMinBound(1)===null||Number.isNaN(i.getMinBound(1)))&&i.setMinBound(null,1),(i.getMaxBound(1)===null||Number.isNaN(i.getMaxBound(1)))&&i.setMaxBound(null,1),P(i)&&((i.getMinBound(0)===null||Number.isNaN(i.getMinBound(0)))&&i.setMinBound(null,0),(i.getMaxBound(0)===null||Number.isNaN(i.getMaxBound(0)))&&i.setMaxBound(null,0)))},this.onSelectChartTypeChange=e=>{this.currentChartTypeText="",this.calculatedDataMinMaxBounds=void 0,this.calculatedMinMaxBounds=void 0,this.removeSelectChartTypePopover();let{selectedModelType:s,layerId:t}=e.target;s!==void 0&&(this.allowChartSyncing=!0,this.arcgisChartsConfigNewChart.emit({key:"key",chartType:s,layerId:t}))},this.onAddChartClose=()=>{this.removeSelectChartTypePopover()},this.onModelConfigChange=e=>{if(this.syncChartsToLayers&&this.allowChartSyncing){let s=e.target;le(s?.layer,s)}this.requestUpdate()},this.allowChartSyncing=!1,this.currentChartTypeText="",this.modelList=[],this.layerList=[],this.disableEditing=!1,this.syncChartsToLayers=!1,this.close=!1,this.usePopupTemplateFieldsInfo=!1,this.panelNumber=0,this.filterBySelection=!1,this.arcgisChartsConfigChartViewChartClose=C(),this.arcgisChartsConfigModelListChange=C(),this.arcgisChartsConfigNewChart=C(),this.arcgisChartsConfigPanelNumberChange=C(),this.arcgisChartsConfigSelectedChartChange=C(),this.addChartEventListeners(),this.listen("arcgisChartsConfigModelListReorder",this.modelListReorderChangeListener)}static{this.properties={selectedPanel:16,currentChartTypeText:16,messageOverrides:0,modelList:[0,{hasChanged:y}],layerList:[0,{hasChanged:y}],selectedChartId:1,activeLayerId:1,disableEditing:5,syncChartsToLayers:5,timeZone:1,headerTitle:1,close:5,chartData:[0,{hasChanged:y}],r2:9,calculatedDataMinMaxBounds:[0,{hasChanged:y}],calculatedMinMaxBounds:[0,{hasChanged:y}],seriesColor:[0,{hasChanged:j}],popoverPlacement:1,usePopupTemplateFieldsInfo:5,popupTemplateFieldInfosEnabled:5,panelNumber:9,filterBySelection:5}}static{this.styles=ge}async setFocus(){await this.chartsListFlowItem.value?.setFocus()}async load(){await this.layerListChange();let e=this.getModel(this.selectedChartId);this.setEventBasedPropsFromModelData(e)}willUpdate(e){e.has("layerList")&&this.layerListChange(),e.has("panelNumber")&&this.panelNumberChange(this.panelNumber),e.has("modelList")&&this.modelListChange(this.modelList,e.get("modelList")),e.has("selectedChartId")&&this.selectedChartIdChange(this.selectedChartId)}disconnectedCallback(){super.disconnectedCallback(),this.clearPartialModels(),this.removeSelectChartTypePopover()}modelListReorderChangeListener(e){let{modelList:s}=e.detail;if(this.modelList=T({arrayA:this.modelList,arrayB:s,getKey:t=>t.chartId??t.titleText??""}),this.syncChartsToLayers){let t=s.find(a=>a.layer?.id!==void 0)?.layer?.id;if(t){let a=this.layerList.find(i=>i.id.toString()===t);a&&pe(a,s)}}}async layerListChange(){let e=[],s=this.layerList.map(a=>a.id.toString()),t=[...this.modelList.filter(a=>s.includes(a.layer?.id??""))];for(let a of this.layerList??[]){if(a.type==="sublayer"){let r=await a.createFeatureLayer();if(!r)continue;a=r}let i=a.charts;for(let r of i??[]){let l=await W({layer:a,config:r,commonStrings:this.commonStrings});l!==void 0&&e.push(l)}}oe(e),e.forEach(a=>{t.find(i=>i.isSameChartAs(a))===void 0&&t.push(a)}),t=t.filter(a=>!Z(a.config)),this.modelList=t}modelListChange(e,s){this.selectedChartId=oe(e,this.selectedChartId),s?.forEach(a=>{a.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e.forEach(a=>{a.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)});let t=this.getModel(this.selectedChartId);this.currentChartTypeText=t?.chartType!==void 0?D({chartType:t.chartType,commonStrings:this.commonStrings,config:t.config}):"",this.syncChartsToLayers&&this.allowChartSyncing&&de(this.layerList,e),this.arcgisChartsConfigModelListChange.emit({modelList:e})}selectedChartIdChange(e){this.selectedChartId===void 0&&(this.panelNumber=0),this.selectedPanel=n.Data;let s=this.getModel(e);this.setEventBasedPropsFromModelData(s),this.currentChartTypeText=s?.chartType!==void 0?D({chartType:s.chartType,commonStrings:this.commonStrings,config:s.config}):"",e!==void 0&&e!==$.selectedChartId&&($.selectedChartId=e),this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:s})}panelNumberChange(e){e===0?this.clearPartialModels():e===1&&this.removeSelectChartTypePopover(),this.arcgisChartsConfigPanelNumberChange.emit({panelNumber:e,modelList:this.modelList})}addChartEventListeners(){this.listenOn(document,f.DataProcessComplete,this.chartDataProcessComplete),this.listenOn(document,f.AxesMinMaxChange,this.chartAxesMinMaxChange),this.listenOn(document,f.SeriesColorChange,this.chartSeriesColorChange),this.listenOn(document,f.NoRenderPropChange,this.chartNoRenderPropChange),this.listenOn(document,f.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}getDataExtent(e){let s=this.getModel(this.selectedChartId)?.config,t=[];if(s!==void 0&&e!==void 0){let a=K({chartConfig:s,chartData:e}),{minY:i,maxY:r,minX:l,maxX:u}=a;t=[{isXAxis:!0,minimum:l,maximum:u},{isXAxis:!1,minimum:i,maximum:r}]}return t}updateAxesBoundsInAppState(e){e?.forEach(s=>{let{isXAxis:t,maximum:a,minimum:i}=s,r=this.getModel(this.selectedChartId);if(r!==void 0&&B(r)&&this.selectedChartId!==void 0){let l=new se(r,t),u=ee({chartId:this.selectedChartId,isXAxis:t,isLogarithmic:l.getLogarithmic()}),g=$.chartAxesBoundDataMap;g[this.selectedChartId]===void 0&&(g[this.selectedChartId]={});let p=g[this.selectedChartId]?.[u],E={defaultMinBound:p?.defaultMinBound===p?.currMinBound?i:p?.defaultMinBound,currMinBound:i,defaultMaxBound:p?.defaultMaxBound===p?.currMaxBound?a:p?.defaultMaxBound,currMaxBound:a};!M(p,E)&&this.selectedChartId!==void 0&&g?.[this.selectedChartId]!==void 0&&(g[this.selectedChartId][u]=E)}})}getPlacement(){let e;return this.popoverPlacement!==void 0?e=this.popoverPlacement:e=this.modelList?.filter(s=>S(O,s.config)).length<=2?"bottom":"top",e}onBackFlow(){this.panelNumber-=1}async onAddChartClick(e){let{referenceElement:s,layerId:t,layerType:a}=e.detail,i=!0;if(b(a)&&t){let r=this.layerList.find(l=>l.id===t);b(r?.type)&&(i=!!(await G(r))?.attributeTable)}this.setupSelectChartTypePopover(s,t,a,i)}setupSelectChartTypePopover(e,s,t,a=!0){let i=this.getPlacement();this.removeSelectChartTypePopover(),this.selectChartTypePopover=x(c`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${s} .layerType=${t} .isRasterBarChartSupported=${a} .popoverPlacement=${i} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`),!document.body.contains(this.selectChartTypePopover)&&this.selectChartTypePopover!==null&&document.body.appendChild(this.selectChartTypePopover)}getModel(e){return this.modelList?.find(s=>s.chartId===e)}removeSelectChartTypePopover(){this.selectChartTypePopover!==void 0&&(this.selectChartTypePopover?.remove(),this.selectChartTypePopover=re(this.selectChartTypePopover))}clearPartialModels(){this.modelList=this.modelList.filter(e=>!v(e.config))}onViewChartDelete(e){let{chartId:s}=e.detail;if(s!==void 0){let t=this.modelList.find(i=>i.chartId===s),a=this.layerList.find(i=>i.id===t?.layer?.id);this.modelList=[...this.modelList.filter(i=>i.chartId!==s)],a&&this.syncChartsToLayers&&this.allowChartSyncing&&me(a,s)}}onViewChartsSelect(e){this.selectedChartId===e.detail.chartId&&(this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:this.getModel(this.selectedChartId)})),this.selectedChartId=e.detail.chartId}onViewChartsEdit(e){this.onViewChartsSelect(e),this.panelNumber=1}onViewChartClose(){this.close=!0,this.removeSelectChartTypePopover(),this.arcgisChartsConfigChartViewChartClose.emit()}setEventBasedPropsFromModelData(e){this.chartData=e?.dataStore.chartData,this.r2=e?.dataStore.r2,this.seriesColor=e?.dataStore.seriesColor,this.calculatedMinMaxBounds=e?.dataStore.calculatedMinMaxBounds,this.calculatedDataMinMaxBounds=e?.dataStore.calculatedDataMinMaxBounds}createTooltip(e){let s=e.target,t="";switch(s.icon){case"configure":t=this._messages.data??"";break;case"graph-bar-stacked":case"graph-line-series":case"box-chart-series":t=this._messages.series??"";break;case"graph-pie-slice":t=this._messages.slices??"";break;case"graph-axis":t=this._messages.axes??"";break;case"graph-guides":t=this._messages.guides??"";break;case"palette":t=this._messages.format??"";break;case"text":t=this._messages.general??"";break;default:t="";break}this.tooltip=x(c`<calcite-tooltip style=${_({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${s} open placement=top>${t}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){ae(this.tooltip)}renderViewCharts(){let e=he({modelList:this.modelList,layerList:this.layerList,activeLayerId:this.activeLayerId,disableEditing:this.disableEditing});return ie(e,s=>s.id,s=>c`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId!==void 0} .modelList=${ce(this.modelList,s.id.toString(),b(s.type)?X:this.supportedChartTypes)} .selectedChartId=${this.selectedChartId??""} .layer=${s} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`)}render(){return this.close?null:c`<calcite-flow>${w("charts-list",c`<calcite-flow-item .selected=${this.panelNumber===0||this.disableEditing} .heading=${this.headerTitle??this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${A(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.panelNumber>=1&&!this.disableEditing?this.renderTabs():null}</calcite-flow>`}renderTabs(){let e=this.getModel(this.selectedChartId);return w("chart-edit",c`<calcite-flow-item .selected=${this.panelNumber>=1&&!this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel??n.Data]} .description=${this.currentChartTypeText!==""&&this._messages.pageFlowTitle!==void 0?ne(this._messages.pageFlowTitle,{chartName:e?.titleText??this.currentChartTypeText,layerName:e?.layer?.title??""}):""}>${e?.chartType!==void 0?c`<calcite-action-bar class=${h(d.tabBar)} layout=horizontal expand-disabled><calcite-action class=${h(d.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel===n.Data||this.selectedPanel===void 0} @click=${()=>{this.selectedPanel=n.Data}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType===o.BarSeries?c`<calcite-action class=${h(d.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.series??""}></calcite-action>`:null}${e?.chartType===o.LineSeries?c`<calcite-action class=${h(d.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.series??""}></calcite-action>`:null}${e?.chartType===o.BoxPlotSeries?c`<calcite-action class=${h(d.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.series??""}></calcite-action>`:null}${e?.chartType===o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel===n.Slices} @click=${()=>{this.selectedPanel=n.Slices}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.slices??""}></calcite-action>`:null}${e?.chartType!==o.PieSeries&&e?.chartType!==o.HeatSeries?c`<calcite-action class=${h(d.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel===n.Axes} @click=${()=>{this.selectedPanel=n.Axes}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.axes??""}></calcite-action>`:null}${e?.chartType!==o.PieSeries&&e?.chartType!==o.HeatSeries?c`<calcite-action class=${h(d.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel===n.Guides} @click=${()=>{this.selectedPanel=n.Guides}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.guides??""}></calcite-action>`:null}<calcite-action class=${h(d.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel===n.Format} @click=${()=>{this.selectedPanel=n.Format}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.format??""}></calcite-action><calcite-action class=${h(d.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel===n.General} @click=${()=>{this.selectedPanel=n.General}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.general??""}></calcite-action></calcite-action-bar>`:null}${this.renderChartUIComponent()}</calcite-flow-item>`)}renderChartUIComponent(){let e=this.getModel(this.selectedChartId),s=e?.layer,t=null;if(e!==void 0&&!this.disableEditing)switch(e?.chartType){case o.BarSeries:t=c`<arcgis-charts-config-bar-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${s} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;break;case o.LineSeries:t=c`<arcgis-charts-config-line-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${s} .page=${this.selectedPanel??n.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;break;case o.PieSeries:t=c`<arcgis-charts-config-pie-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${s} .chartData=${this.chartData} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;break;case o.HistogramSeries:t=c`<arcgis-charts-config-histogram class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${s} .page=${this.selectedPanel??n.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;break;case o.ScatterSeries:t=c`<arcgis-charts-config-scatter-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${s} .page=${this.selectedPanel??n.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;break;case o.BoxPlotSeries:t=c`<arcgis-charts-config-box-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${s} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;break;case o.HeatSeries:t=c`<arcgis-charts-config-heat-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${s} .page=${this.selectedPanel??n.Data}></arcgis-charts-config-heat-chart>`;break}return t}};z("arcgis-charts-config-create-flow",k);return k},"intl",a,d,e,g,i,j,k,l,m,p,r,s,t,u,v)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import u from"./V75KABKD.js";import{a as Ce,b as v,c as Ie,d as M}from"./ASYRUV4T.js";import t from"./P4VJYOCL.js";import s from"./MFVIGPEF.js";import r from"./A2OP6Q3D.js";import q from"./SKQQFLCU.js";import o from"./4SHVP5PZ.js";import n from"./2GXX5IMS.js";import l from"./WTB23TU5.js";import k from"./YXOUH52R.js";import j from"./UW3WL44H.js";import"./OAXHS4LE.js";import i from"./ILI6Z4H3.js";import h from"./AQOCENW4.js";import"./WDMYVS4F.js";import e from"./EKBLEUCP.js";import c from"./CGCRNEFM.js";import b from"./5BMIWC4E.js";import a from"./VWOS4FBW.js";import"./CRNIOME2.js";import"./BGOWDCTO.js";import{B as D,Ga as d,fa as E,i as O,m as f,ma as P,n as p,p as m}from"./USNJZCHH.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./LJTJTGIW.js";import{l as g}from"./7SBVBD4E.js";import"./DAFNQT4C.js";import{b as N}from"./QP5UAIC6.js";import"./KJZTU3DV.js";import{a as x}from"./K4APZJ2O.js";import"./BYSUABOV.js";export default $arcgis.t(([{fb:h,tb:W},{n:V,o:A,p:R,q:z},,{c:r},,ae,{b:_e,d:Fe,f:Be},{b:ye,d:ue,f:Se},{d:fe,e:pe},,{b:Le},{a:he,b:le,c:ce,d:ge},{a:me,b:de},,{b:we},{A:C,B:I,C:re,D:oe,E:ne,a:U,b:y,c:j,d:k,e:u,f:S,g:T,h:q,i:H,j:Y,k:G,l:J,m:K,n:_,o:Q,p:X,q:Z,r:F,s:$,t:ee,u:se,v:B,w:L,x:ie,y:te,z:w}])=>{var xe=Object.defineProperty,Oe=Object.getOwnPropertyDescriptor,n=(c,e,s,t)=>{for(var o=Oe(e,s),a=c.length-1,l;a>=0;a--)(l=c[a])&&(o=l(e,s,o)||o);return o&&xe(e,s,o),o},i=class extends ae{constructor(){super(...arguments),this._chartType=x.BoxPlotSeries,this._category=m,this._splitByField="",this._numericFields=[]}async setup(e){await this.loadConfigFromLayer(e),this.setupLocalProps(),e.config!==void 0&&await this.rebuildSeries(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get category(){return this._category}set category(e){let s=e.trim()==="";this._category=s?m:e,this.processSeriesRebuild("category")}get numericFields(){return this._numericFields}set numericFields(e){let{layerFieldsInfo:s}=this.layerInfo;typeof e=="string"&&(e=[e]),R(s,e)?(this._numericFields=e,oe(this._category,this._numericFields)&&(this._splitByField=""),this.processSeriesRebuild("numericFields")):g("error","box-plot-model","Invalid `numericFields`")}get splitByField(){return this._splitByField}set splitByField(e){A(this.layerInfo.layerFieldsInfo,e)?(this._splitByField=e,this.processSeriesRebuild("splitByField")):g("error","box-plot-model","Invalid `splitByField`")}get showOutliers(){return $(this._config)}set showOutliers(e){ee({newShowOutliers:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get standardizeValues(){return Q(this._config)}set standardizeValues(e){se({newStandardizeValues:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}getSortOrder(){return B(this._config)}setSortOrder(e,s){L(e,this._config,s)}async getCustomSortValues(){return await I({config:this._config,layerInfo:this.layerInfo,errorStrings:this.commonStrings.errorStrings})}async setDataFilters(e){super.setDataFilters(e);let s=B(this._config);if(s===N.customSort){this.startAsyncUpdate();let t=await I({config:this._config,layerInfo:this.layerInfo,errorStrings:this.commonStrings.errorStrings});L(s,this._config,t),this.finishAsyncUpdate()}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get orderByList(){return w(this._config)}set orderByList(e){C(e,this._config)}async updateSeriesFromLayerFilter(){await this.processSeriesRebuild("updateSeriesFromLayerFilter")}async rebuildSeries(){await this.processSeriesRebuild("rebuildSeries")}get showMeanLines(){return ie(this._config)}set showMeanLines(e){let{previousMeanLinesBoxColor:s}=te({newShowMeanLines:e,config:this._config,commonStrings:this.commonStrings,previousMeanLinesBoxColor:this.previousMeanLinesBoxColor});this.previousMeanLinesBoxColor=s}get meanLinesBoxColor(){return k(this._config)}set meanLinesBoxColor(e){u(e,this._config)}setupLocalProps(){this._category=G(this._config),this._splitByField=J(this._config),this._numericFields=K(this._config)}generateDefaultConfig(){let e=P(this.commonStrings);return e.series=[E(this.commonStrings)],e}resetConfig(){let e=this._config.id;this._config=this.generateDefaultConfig(),this._config.id=e,this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}usingSplitBy(){return ne(this.category,this.numericFields,this.splitByField)}async processSeriesRebuild(e){this.usingSplitBy()?(this.startAsyncUpdate(),await this.fetchSplitByFieldInfos(),_(this.getBuildNewSeriesProps()),this.finishAsyncUpdate()):_(this.getBuildNewSeriesProps()),this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate(e)}async fetchSplitByFieldInfos(){let{fetchNullValues:e}=W(this._config)?.query??{};return this.splitByFieldInfos=await V({config:this._config,layer:this.layerInfo.layer,layerFieldsInfo:this.layerInfo.layerFieldsInfo,xAxisField:re(this._category)?void 0:this._category,aggregationFields:this.numericFields,splitByField:this._splitByField,fetchNullValues:e,errorStrings:this.commonStrings?.errorStrings}),this.splitByFieldInfos}getBuildNewSeriesProps(){return{category:this.category,splitByField:this.splitByField,numericFields:this.numericFields,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings,splitByFieldInfos:this.splitByFieldInfos}}getSeriesName(e){return U(e,this._config)}setSeriesName(e,s){y(e,s,this._config)}getSeriesColor(e){return j(e,this._config)}setSeriesColor(e,s){S(e,s,this._config)}getSeriesLineStyle(e){let s=this._config.series[e];if(this.showMeanLines===!0&&h(s))return Ce(s)}setSeriesLineStyle(e,s){let t=this._config.series[s];this.showMeanLines===!0&&h(t)&&v(e,t)}getSeriesLineWidth(e){let s=this._config.series[e];if(this.showMeanLines===!0&&h(s))return Ie(s)}setSeriesLineWidth(e,s){let t=this._config.series[s];this.showMeanLines===!0&&h(t)&&M(e,t)}get orderOfSeries(){return T(this._config)}set orderOfSeries(e){q(e,this._config)}moveSeries(e,s){H(e,s,this._config)}get boxPlotSeriesIndexWhenMeanLinesShown(){return Y(this._config)}moveCustomSortValuesInOrderByList(e,s){let t=w(this._config),[o]=t.splice(e,1);t.splice(s,0,o),C(t,this._config)}generateChartTitle(){return Z(this._config,this.layerInfo,this.commonStrings)}generateYAxisTitle(){return X(this._config,this.layerInfo,this.commonStrings)}resetSeriesStyling(){for(let e=this.showMeanLines===!0?1:0;e<this.seriesLength;e+=1){let s=this.getSeriesId(e),t=D({colorIndex:e,opacity:O}),o=this._config.series[e];S(t,e,this._config);let a=F({series:o,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings});y(a??s,e,this._config),this.showMeanLines===!0&&h(o)&&(v(f,o),M(p,o))}this.showMeanLines===!0&&u(d,this._config),this._config.colorMatch=!0}resetAvailable(){let e=!this.colorMatch,s=this.showMeanLines===!0&&this.meanLinesBoxColor!==d,t=!1,o=!1;if(!e)for(let a=this.showMeanLines===!0?1:0;a<this.seriesLength;a+=1){let l=this._config.series[a],b=F({series:l,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),ve=this.getSeriesName(a);if(b!==void 0&&b!==ve){t=!0;break}if(this.showMeanLines===!0&&h(l)){let Me=this.getSeriesLineStyle(a),be=this.getSeriesLineWidth(a);if(Me!==f||be!==p){o=!0;break}}}return e||s||t||o}};n([r],i.prototype,"showOutliers");n([r],i.prototype,"standardizeValues");n([r],i.prototype,"setSortOrder");n([r],i.prototype,"setDataFilters");n([r],i.prototype,"orderByList");n([r],i.prototype,"showMeanLines");n([r],i.prototype,"meanLinesBoxColor");n([r],i.prototype,"resetConfig");n([r],i.prototype,"setSeriesName");n([r],i.prototype,"setSeriesColor");n([r],i.prototype,"setSeriesLineStyle");n([r],i.prototype,"setSeriesLineWidth");n([r],i.prototype,"orderOfSeries");n([r],i.prototype,"moveSeries");n([r],i.prototype,"moveCustomSortValuesInOrderByList");n([r],i.prototype,"resetSeriesStyling");var De=[me,he,le,ce,we,ge,Le,de,_e,fe,Fe,pe,ye,ue,Se,Be];z(i,De);return i},a,b,c,e,h,i,j,k,l,n,o,q,r,s,t,u)