@arcgis/charts-components 5.0.1 → 5.0.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.
Files changed (105) hide show
  1. package/dist/cdn/{TIU77PF5.js → 2FDEHI6Q.js} +1 -1
  2. package/dist/cdn/{4NOEMMK4.js → 2FZME6M6.js} +1 -1
  3. package/dist/cdn/{RCV3DJY6.js → 2K3WHNP5.js} +1 -1
  4. package/dist/cdn/{TWSLFHDO.js → 2XB67ZS2.js} +1 -1
  5. package/dist/cdn/{KHTOVPJO.js → 4BSCTOX5.js} +1 -1
  6. package/dist/cdn/{J73WL5JO.js → 4UHLNQN3.js} +1 -1
  7. package/dist/cdn/{PSLM45RT.js → 4VYVD447.js} +1 -1
  8. package/dist/cdn/{LP3MXWHL.js → 4XJMXD4I.js} +1 -1
  9. package/dist/cdn/{MDOUUZKO.js → 4YDM6RK5.js} +1 -1
  10. package/dist/cdn/{375JRZOK.js → 55CLPWJX.js} +1 -1
  11. package/dist/cdn/{ODO4BDUS.js → 5CTTKEBK.js} +1 -1
  12. package/dist/cdn/{D5DZV7CJ.js → 5J63XNDL.js} +1 -1
  13. package/dist/cdn/{FD6EIA5R.js → 5QHVV2YN.js} +1 -1
  14. package/dist/cdn/{TTEHTJ5Y.js → 66YQJBNA.js} +1 -1
  15. package/dist/cdn/{U6WVSG5F.js → 6HBQLBAJ.js} +1 -1
  16. package/dist/cdn/{HH2NY6WG.js → 6JKVJ65Z.js} +1 -1
  17. package/dist/cdn/{UNBAWF3C.js → 6OBJHHUC.js} +1 -1
  18. package/dist/cdn/{WH57ENHQ.js → 6UX7ZQMC.js} +1 -1
  19. package/dist/cdn/{NCG3GUKL.js → 6YRPMZ44.js} +1 -1
  20. package/dist/cdn/{TDJZ6RXO.js → 6ZVODKF3.js} +1 -1
  21. package/dist/cdn/{EHUGMZOQ.js → 7HOJZKQW.js} +1 -1
  22. package/dist/cdn/{ZRETFIP2.js → 7NETDNX5.js} +1 -1
  23. package/dist/cdn/{SMRJ6LI7.js → 7TRDB5QA.js} +1 -1
  24. package/dist/cdn/{7TXZKUUG.js → BBVAGD2J.js} +1 -1
  25. package/dist/cdn/{LZZVRQLM.js → BFNL4GK2.js} +1 -1
  26. package/dist/cdn/{64UWRKDS.js → BOAXFRF5.js} +1 -1
  27. package/dist/cdn/{PM3KDJXT.js → BUWSEYFL.js} +1 -1
  28. package/dist/cdn/{Z346W3HQ.js → BWRBGGV6.js} +1 -1
  29. package/dist/cdn/{W7BJ6VKT.js → C3ANBXHC.js} +1 -1
  30. package/dist/cdn/{VCYVKLRD.js → CDTLB2EI.js} +1 -1
  31. package/dist/cdn/{6SAQURCH.js → CZAC4UL6.js} +1 -1
  32. package/dist/cdn/{DH55ULKA.js → EBUYFZ2V.js} +1 -1
  33. package/dist/cdn/{ZTRR2XRE.js → EINLJ5DL.js} +1 -1
  34. package/dist/cdn/{GUMKU5SI.js → EORFZND4.js} +1 -1
  35. package/dist/cdn/{CTAWZBO7.js → EXO7TLAC.js} +1 -1
  36. package/dist/cdn/{XIGAIZQD.js → F4JFGJU6.js} +1 -1
  37. package/dist/cdn/{QZYE6VEP.js → FDBMN6TO.js} +1 -1
  38. package/dist/cdn/{ARRUIIXG.js → FEARDNEM.js} +1 -1
  39. package/dist/cdn/{Q77FFEA2.js → FGQ3WZMI.js} +1 -1
  40. package/dist/cdn/{KJYU6TDV.js → GD6GVYOW.js} +1 -1
  41. package/dist/cdn/{NPEERBZF.js → GEIHDT3D.js} +1 -1
  42. package/dist/cdn/{RRHMMRT3.js → GRH7VWUH.js} +1 -1
  43. package/dist/cdn/{XGYYA4LT.js → HLT4SPFX.js} +1 -1
  44. package/dist/cdn/{PEVI2ZQA.js → HPUNJQ4R.js} +1 -1
  45. package/dist/cdn/{ELSOUOTF.js → HUZF3HU3.js} +1 -1
  46. package/dist/cdn/{WHTFGE3P.js → I46PT633.js} +1 -1
  47. package/dist/cdn/{FBQN2WCE.js → IDY44TEC.js} +1 -1
  48. package/dist/cdn/{CQ6XBKND.js → IGSB3VOT.js} +1 -1
  49. package/dist/cdn/{GR4A6VEA.js → JAJLWLMU.js} +1 -1
  50. package/dist/cdn/{GP2TZXSP.js → JB2JZVMY.js} +1 -1
  51. package/dist/cdn/{7A2SNYZ5.js → K6YWPR46.js} +1 -1
  52. package/dist/cdn/{NFG2DTPJ.js → KCJ3GTSS.js} +1 -1
  53. package/dist/cdn/{UHJNBCNI.js → KD3MWKRQ.js} +1 -1
  54. package/dist/cdn/{QB2UM4AT.js → KPTOCGQU.js} +1 -1
  55. package/dist/cdn/{FLYUDCVM.js → LC23SPTL.js} +1 -1
  56. package/dist/cdn/LQJNAE3J.js +2 -0
  57. package/dist/cdn/{PRXZKJ6E.js → LSDOKPTF.js} +1 -1
  58. package/dist/cdn/{CCT3BJZC.js → M22JNWBX.js} +1 -1
  59. package/dist/cdn/{B6A4WEOD.js → MB7ZIVHT.js} +1 -1
  60. package/dist/cdn/{BQFJYZ45.js → MBCIBL5G.js} +1 -1
  61. package/dist/cdn/{GTU57ADE.js → MBRRVQSF.js} +1 -1
  62. package/dist/cdn/{SDFGSIZI.js → MDIDA3I7.js} +1 -1
  63. package/dist/cdn/{M2QMDNGL.js → MLCFK3M2.js} +1 -1
  64. package/dist/cdn/{ZPTMY3EI.js → MTUZLTGA.js} +1 -1
  65. package/dist/cdn/{4E4SF5CE.js → MYIFDXF3.js} +1 -1
  66. package/dist/cdn/{KKEPM22V.js → MZHU6CSR.js} +1 -1
  67. package/dist/cdn/{IGDJRM7U.js → O6ZY7UXX.js} +1 -1
  68. package/dist/cdn/{R7BV4KL6.js → OXWXRCBH.js} +1 -1
  69. package/dist/cdn/{CJXGZ3X2.js → P3BSS72V.js} +1 -1
  70. package/dist/cdn/{OPSRITJO.js → PGKEV4HH.js} +1 -1
  71. package/dist/cdn/{ZQQNU3AX.js → PKFMK77U.js} +1 -1
  72. package/dist/cdn/{QPICGLJE.js → PQ2LHNEU.js} +1 -1
  73. package/dist/cdn/{4PSIVYKU.js → PRIZ52YI.js} +1 -1
  74. package/dist/cdn/{PVELVHN6.js → QABKJ4FC.js} +1 -1
  75. package/dist/cdn/{UJFI4NZ5.js → QE2SO6Y5.js} +1 -1
  76. package/dist/cdn/{EK4VIS6G.js → QGWXGY7E.js} +1 -1
  77. package/dist/cdn/{P6UWCEG3.js → RD7423HO.js} +1 -1
  78. package/dist/cdn/{V6QBMUMI.js → RSBHPQD3.js} +1 -1
  79. package/dist/cdn/{PHBAHYK5.js → RUI27WA5.js} +1 -1
  80. package/dist/cdn/{CIANWJAS.js → S52QCHEP.js} +1 -1
  81. package/dist/cdn/{PD35LGUE.js → SJDHK6FF.js} +1 -1
  82. package/dist/cdn/{CRJZJ45P.js → SQ2D552P.js} +1 -1
  83. package/dist/cdn/{S24YGUH7.js → U76PZUND.js} +1 -1
  84. package/dist/cdn/{GU3KWFF7.js → US6DWP7A.js} +1 -1
  85. package/dist/cdn/{Y6ZM643L.js → V2AGS53C.js} +1 -1
  86. package/dist/cdn/{YKYKBI6V.js → V6K2ZIH3.js} +1 -1
  87. package/dist/cdn/{WIFKJ5FZ.js → VCEKY4WV.js} +1 -1
  88. package/dist/cdn/{RY6TBLUZ.js → VOUUBE2V.js} +1 -1
  89. package/dist/cdn/{NIBX4D7R.js → VOXDIZKS.js} +1 -1
  90. package/dist/cdn/{JU6OXNN6.js → VTBFNOSE.js} +1 -1
  91. package/dist/cdn/{D3MTTGTV.js → W4U4V3LF.js} +1 -1
  92. package/dist/cdn/{VVOW4M7X.js → WICOAQC7.js} +1 -1
  93. package/dist/cdn/{Y6A4FBTP.js → X2AD4Y2B.js} +1 -1
  94. package/dist/cdn/{KI4PYXUZ.js → YBAMML2K.js} +1 -1
  95. package/dist/cdn/{NVMWUDTP.js → YY7LIECR.js} +1 -1
  96. package/dist/cdn/{VF4LQ2AY.js → ZEY2H5FS.js} +1 -1
  97. package/dist/cdn/{2K7OY2JG.js → ZO6PCV3K.js} +1 -1
  98. package/dist/cdn/index.js +1 -1
  99. package/dist/chunks/runtime.js +1 -1
  100. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -60
  101. package/dist/docs/api.json +1 -1
  102. package/dist/docs/docs.json +1 -1
  103. package/dist/docs/web-types.json +1 -1
  104. package/package.json +3 -3
  105. package/dist/cdn/I7OJQY3B.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{g as O,i as w}from"./Y6ZM643L.js";import{G as P,a as x,b as y,c as h,d as u,e as b,f as E,l as f,n as C}from"./YKYKBI6V.js";var L=e=>(...n)=>{let t=u(),o=new e(...n),r=o.exports;h(t.at(-1));let s=o.component.manager;s.W(o,r),o.watchExports(s.W.bind(s,o)),b(o);let a=[o.component,...t].reverse();return f(a,i=>i===void 0?void 0:D(o,i,r),r)},D=(e,{host:n,key:t,isReactive:o},r)=>{let s=n,a=s[t]!==e.exports,i=s[t]!==r,c=r!==e.exports;if(a&&!i&&c&&(s[t]=e.exports),n===e.component){if(o){let p=e.component.manager;i&&p.W(e,s[t]),e.onUpdate(m=>{if(m.has(t)){let g=s[t];g!==e.exports&&p.W(e,g)}})}e.O=o?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{s[t]!==e.exports&&(d?E(()=>{s[t]=e.exports}):s[t]=e.exports)})};var A=e=>M(void 0,e);var v=class extends C{constructor(n,t){super(n);let o=this.exports;try{y(this.component);let r=t(this.component,this),s=this.exports!==o;if(x(r)){s||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i)});this.onLoad(async()=>await a)}else(!s||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r)}}catchUpLifecycle(){}},M=L(v);var _=e=>(n={})=>A((t,o)=>{let r=O(t.el),s={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=t;o.onLifecycle(()=>w(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};o.exports=p;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),i(a.messageOverrides)},n.name));let i=c=>{let l=o.exports,d=l._original??l,p=N(d,c);c&&(p._original=d),o.exports=p};return"messageOverrides"in a&&o.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),n.blocking?(o.setProvisionalExports(s,!1),o.ready):s}),N=(e,n)=>{if(!n)return e;let t={...e};return Object.entries(n).forEach(([o,r])=>{e[o]!==void 0&&(typeof r=="object"?t[o]=N(e[o],r):t[o]=r??e[o])}),t};var z=_(P);export{z as a};
2
+ import{g as O,i as w}from"./V2AGS53C.js";import{G as P,a as x,b as y,c as h,d as u,e as b,f as E,l as f,n as C}from"./V6K2ZIH3.js";var L=e=>(...n)=>{let t=u(),o=new e(...n),r=o.exports;h(t.at(-1));let s=o.component.manager;s.W(o,r),o.watchExports(s.W.bind(s,o)),b(o);let a=[o.component,...t].reverse();return f(a,i=>i===void 0?void 0:D(o,i,r),r)},D=(e,{host:n,key:t,isReactive:o},r)=>{let s=n,a=s[t]!==e.exports,i=s[t]!==r,c=r!==e.exports;if(a&&!i&&c&&(s[t]=e.exports),n===e.component){if(o){let p=e.component.manager;i&&p.W(e,s[t]),e.onUpdate(m=>{if(m.has(t)){let g=s[t];g!==e.exports&&p.W(e,g)}})}e.O=o?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{s[t]!==e.exports&&(d?E(()=>{s[t]=e.exports}):s[t]=e.exports)})};var A=e=>M(void 0,e);var v=class extends C{constructor(n,t){super(n);let o=this.exports;try{y(this.component);let r=t(this.component,this),s=this.exports!==o;if(x(r)){s||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i)});this.onLoad(async()=>await a)}else(!s||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r)}}catchUpLifecycle(){}},M=L(v);var _=e=>(n={})=>A((t,o)=>{let r=O(t.el),s={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=t;o.onLifecycle(()=>w(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};o.exports=p;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),i(a.messageOverrides)},n.name));let i=c=>{let l=o.exports,d=l._original??l,p=N(d,c);c&&(p._original=d),o.exports=p};return"messageOverrides"in a&&o.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),n.blocking?(o.setProvisionalExports(s,!1),o.ready):s}),N=(e,n)=>{if(!n)return e;let t={...e};return Object.entries(n).forEach(([o,r])=>{e[o]!==void 0&&(typeof r=="object"?t[o]=N(e[o],r):t[o]=r??e[o])}),t};var z=_(P);export{z as a};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{d as i}from"./DPJE33GY.js";import{c as g,g as p}from"./UG7LOBJE.js";import a from"./D5DZV7CJ.js";import{n as o}from"./4B3QBH5T.js";import"./Y6ZM643L.js";import"./NKG4FLLR.js";import{F as c,g as n,h as t,z as h}from"./YKYKBI6V.js";import"./OR4HXHSY.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Kc:m,Mc:d}])=>{var f=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,r=class extends h{constructor(){super(...arguments),this.onModelConfigChange=async a=>{let e=a?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)}}static{this.properties={layerFieldsInfo:16,model:0,chartData:0,seriesColor:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=f}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(a){let e=!1;a.has("model")&&this.modelChange(this.model,a.get("model")),a.has("layer")&&this.layer!==void 0&&!o(a.get("layer"),this.layer)&&(e=!0),a.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==a.get("usePopupTemplateFieldsInfo")&&(e=!0),a.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(e=!0),e&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(a,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),a?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(a){this.model.colorMatch&&a?.forEach(e=>{g(e)&&a?.get(0)!==void 0&&!o(this.model.binSymbol,e)&&(this.model.binSymbol=e)})}async updateFetchLayerFieldsInfo(a){let e=a??this.model.config,s=this.layer;if(!s){let l=p(e)?e.iLayer:void 0;l&&(s=await m(l))}s&&(this.layerFieldsInfo=await d(s,this.usePopupTemplateFieldsInfo))}render(){let a;switch(this.page){case i.Data:a=t`<arcgis-charts-config-histogram-data .model=${this.model} .meanValue=${this.chartData?.mean} .medianValue=${this.chartData?.median} .standardDevValue=${this.chartData?.stddev} .minValue=${this.chartData?.min} .maxValue=${this.chartData?.max} .sumValue=${this.chartData?.sum} .nullsValue=${this.chartData?.nulls} .countValue=${this.chartData?.count} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-histogram-data>`;break;case i.Axes:a=t`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;break;case i.Guides:a=t`<arcgis-charts-config-guides .model=${this.model} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case i.Format:a=t`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case i.General:a=t`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:a="";break}return a}};c("arcgis-charts-config-histogram",r);return r},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a)
2
+ import{d as i}from"./DPJE33GY.js";import{c as g,g as p}from"./UG7LOBJE.js";import a from"./5J63XNDL.js";import{n as o}from"./4B3QBH5T.js";import"./V2AGS53C.js";import"./NKG4FLLR.js";import{F as c,g as n,h as t,z as h}from"./V6K2ZIH3.js";import"./OR4HXHSY.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Kc:m,Mc:d}])=>{var f=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,r=class extends h{constructor(){super(...arguments),this.onModelConfigChange=async a=>{let e=a?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)}}static{this.properties={layerFieldsInfo:16,model:0,chartData:0,seriesColor:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=f}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(a){let e=!1;a.has("model")&&this.modelChange(this.model,a.get("model")),a.has("layer")&&this.layer!==void 0&&!o(a.get("layer"),this.layer)&&(e=!0),a.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==a.get("usePopupTemplateFieldsInfo")&&(e=!0),a.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(e=!0),e&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(a,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),a?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(a){this.model.colorMatch&&a?.forEach(e=>{g(e)&&a?.get(0)!==void 0&&!o(this.model.binSymbol,e)&&(this.model.binSymbol=e)})}async updateFetchLayerFieldsInfo(a){let e=a??this.model.config,s=this.layer;if(!s){let l=p(e)?e.iLayer:void 0;l&&(s=await m(l))}s&&(this.layerFieldsInfo=await d(s,this.usePopupTemplateFieldsInfo))}render(){let a;switch(this.page){case i.Data:a=t`<arcgis-charts-config-histogram-data .model=${this.model} .meanValue=${this.chartData?.mean} .medianValue=${this.chartData?.median} .standardDevValue=${this.chartData?.stddev} .minValue=${this.chartData?.min} .maxValue=${this.chartData?.max} .sumValue=${this.chartData?.sum} .nullsValue=${this.chartData?.nulls} .countValue=${this.chartData?.count} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-histogram-data>`;break;case i.Axes:a=t`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;break;case i.Guides:a=t`<arcgis-charts-config-guides .model=${this.model} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case i.Format:a=t`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case i.General:a=t`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:a="";break}return a}};c("arcgis-charts-config-histogram",r);return r},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{j as r,q as s,r as i,u as o}from"./YKYKBI6V.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
2
+ import{j as r,q as s,r as i,u as o}from"./V6K2ZIH3.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import c from"./CRJZJ45P.js";import b from"./6SAQURCH.js";import a from"./Y6A4FBTP.js";import{j as s}from"./KUVOINJC.js";export default $arcgis.t(([{q:f},{c:a},{c:g,d:c,e:d}])=>{var u=Object.defineProperty,x=Object.getOwnPropertyDescriptor,m=(r,e,o,G)=>{for(var t=x(e,o),n=r.length-1,p;n>=0;n--)(p=r[n])&&(t=p(e,o,t)||t);return t&&u(e,o,t),t},i=class extends d{getXGuidesLength(){return this._config.axes?.[0]?.guides?.length}addXAxisGuide(e,o){g({config:this._config,name:e,index:o,orientation:s.X})}deleteXAxisGuide(e){c({config:this._config,index:e,orientation:s.X})}};m([a],i.prototype,"addXAxisGuide");m([a],i.prototype,"deleteXAxisGuide");var h=[d];f(i,h);return i},a,b,c)
2
+ import c from"./SQ2D552P.js";import b from"./CZAC4UL6.js";import a from"./X2AD4Y2B.js";import{j as s}from"./KUVOINJC.js";export default $arcgis.t(([{q:f},{c:a},{c:g,d:c,e:d}])=>{var u=Object.defineProperty,x=Object.getOwnPropertyDescriptor,m=(r,e,o,G)=>{for(var t=x(e,o),n=r.length-1,p;n>=0;n--)(p=r[n])&&(t=p(e,o,t)||t);return t&&u(e,o,t),t},i=class extends d{getXGuidesLength(){return this._config.axes?.[0]?.guides?.length}addXAxisGuide(e,o){g({config:this._config,name:e,index:o,orientation:s.X})}deleteXAxisGuide(e){c({config:this._config,index:e,orientation:s.X})}};m([a],i.prototype,"addXAxisGuide");m([a],i.prototype,"deleteXAxisGuide");var h=[d];f(i,h);return i},a,b,c)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{d as a}from"./DPJE33GY.js";import{g as f}from"./UG7LOBJE.js";import b from"./D5DZV7CJ.js";import{n as t}from"./4B3QBH5T.js";import"./Y6ZM643L.js";import"./NKG4FLLR.js";import{F as c,g as n,h as s,m,z as h}from"./YKYKBI6V.js";import"./OR4HXHSY.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Kc:d,Mc:g,Oc:p,Pc:y}])=>{var C=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends h{constructor(){super(...arguments),this.onModelConfigChange=async i=>{let e=i?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=m()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:1,popoverPlacement:1,seriesColor:0,calculatedDataMinMaxBounds:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=C}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(i){let e=!1;i.has("model")&&this.modelChange(this.model,i.get("model")),i.has("layer")&&this.layer!==void 0&&!t(i.get("layer"),this.layer)&&(e=!0),i.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==i.get("usePopupTemplateFieldsInfo")&&(e=!0),i.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(e=!0),e&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(i,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),i?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(i){this.activeColorMatch=i?.get(0)?.markerSymbol===void 0,this.model.colorMatch&&i?.forEach((e,o)=>{e&&i?.get(0)!==void 0&&("lineSymbol"in e&&(e.lineSymbol?.color!==void 0&&!t(this.model.getSeriesColor(o),e.lineSymbol.color)&&this.model.setSeriesColor(e.lineSymbol.color,o),e.lineSymbol?.style!==void 0&&!t(this.model.getSeriesLineStyle(o),e.lineSymbol.style)&&this.model.setSeriesLineStyle(e.lineSymbol.style,o),e.lineSymbol?.width!==void 0&&!t(this.model.getSeriesLineWidth(o),e.lineSymbol.width)&&this.model.setSeriesLineWidth(e.lineSymbol.width,o)),"markerSymbol"in e&&(e.markerSymbol?.color!==void 0&&!t(this.model.getSeriesMarkerColor(o),e.markerSymbol?.color)&&this.model.setSeriesMarkerColor(e.markerSymbol?.color,o),e.markerSymbol?.style!==void 0&&!t(this.model.getSeriesMarkerStyle(o),e.markerSymbol?.style)&&this.model.setSeriesMarkerStyle(e.markerSymbol?.style,o),e.markerSymbol?.size!==void 0&&this.model.getSeriesMarkerSize(o)!==e.markerSymbol?.size&&this.model.setSeriesMarkerSize(e.markerSymbol?.size,o)))})}async updateFetchLayerFieldsInfo(i){let e=i??this.model.config,o=this.layer;if(!o){let r=f(e)?e.iLayer:void 0;r&&(o=await d(r))}o&&(this.layerFieldsInfo=await g(o,this.usePopupTemplateFieldsInfo))}render(){let i=this.layerFieldsInfo?.find(r=>r.name===this.model.xAxisField),e=i!==void 0&&(p(i)||y(i)),o;switch(this.page){case a.Data:o=s`<arcgis-charts-config-line-chart-data .model=${this.model} .resetTimeInterval=${this.model.resetTimeInterval} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-line-chart-data>`;break;case a.Series:o=s`<arcgis-charts-config-line-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-line-chart-series>`;break;case a.Axes:o=s`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option show-enable-x-log-option show-enable-y-log-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds}></arcgis-charts-config-axes>`;break;case a.Guides:o=s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .enableXAxisGuide=${e} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case a.Format:o=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case a.General:o=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:o="";break}return o}};c("arcgis-charts-config-line-chart",l);return l},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b)
2
+ import{d as a}from"./DPJE33GY.js";import{g as f}from"./UG7LOBJE.js";import b from"./5J63XNDL.js";import{n as t}from"./4B3QBH5T.js";import"./V2AGS53C.js";import"./NKG4FLLR.js";import{F as c,g as n,h as s,m,z as h}from"./V6K2ZIH3.js";import"./OR4HXHSY.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Kc:d,Mc:g,Oc:p,Pc:y}])=>{var C=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends h{constructor(){super(...arguments),this.onModelConfigChange=async i=>{let e=i?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=m()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:1,popoverPlacement:1,seriesColor:0,calculatedDataMinMaxBounds:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=C}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(i){let e=!1;i.has("model")&&this.modelChange(this.model,i.get("model")),i.has("layer")&&this.layer!==void 0&&!t(i.get("layer"),this.layer)&&(e=!0),i.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==i.get("usePopupTemplateFieldsInfo")&&(e=!0),i.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(e=!0),e&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(i,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),i?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(i){this.activeColorMatch=i?.get(0)?.markerSymbol===void 0,this.model.colorMatch&&i?.forEach((e,o)=>{e&&i?.get(0)!==void 0&&("lineSymbol"in e&&(e.lineSymbol?.color!==void 0&&!t(this.model.getSeriesColor(o),e.lineSymbol.color)&&this.model.setSeriesColor(e.lineSymbol.color,o),e.lineSymbol?.style!==void 0&&!t(this.model.getSeriesLineStyle(o),e.lineSymbol.style)&&this.model.setSeriesLineStyle(e.lineSymbol.style,o),e.lineSymbol?.width!==void 0&&!t(this.model.getSeriesLineWidth(o),e.lineSymbol.width)&&this.model.setSeriesLineWidth(e.lineSymbol.width,o)),"markerSymbol"in e&&(e.markerSymbol?.color!==void 0&&!t(this.model.getSeriesMarkerColor(o),e.markerSymbol?.color)&&this.model.setSeriesMarkerColor(e.markerSymbol?.color,o),e.markerSymbol?.style!==void 0&&!t(this.model.getSeriesMarkerStyle(o),e.markerSymbol?.style)&&this.model.setSeriesMarkerStyle(e.markerSymbol?.style,o),e.markerSymbol?.size!==void 0&&this.model.getSeriesMarkerSize(o)!==e.markerSymbol?.size&&this.model.setSeriesMarkerSize(e.markerSymbol?.size,o)))})}async updateFetchLayerFieldsInfo(i){let e=i??this.model.config,o=this.layer;if(!o){let r=f(e)?e.iLayer:void 0;r&&(o=await d(r))}o&&(this.layerFieldsInfo=await g(o,this.usePopupTemplateFieldsInfo))}render(){let i=this.layerFieldsInfo?.find(r=>r.name===this.model.xAxisField),e=i!==void 0&&(p(i)||y(i)),o;switch(this.page){case a.Data:o=s`<arcgis-charts-config-line-chart-data .model=${this.model} .resetTimeInterval=${this.model.resetTimeInterval} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-line-chart-data>`;break;case a.Series:o=s`<arcgis-charts-config-line-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-line-chart-series>`;break;case a.Axes:o=s`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option show-enable-x-log-option show-enable-y-log-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds}></arcgis-charts-config-axes>`;break;case a.Guides:o=s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .enableXAxisGuide=${e} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case a.Format:o=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case a.General:o=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:o="";break}return o}};c("arcgis-charts-config-line-chart",l);return l},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import a from"./D5DZV7CJ.js";import{B as x,h as C,k as M,l as S,t as B,w as F,y as R}from"./4B3QBH5T.js";export default $arcgis.t(([I,{Sd:k}])=>{function w(t,s,r){let n=Math.max(0,Math.min(1,r));return[Math.round(t[0]+(s[0]-t[0])*n),Math.round(t[1]+(s[1]-t[1])*n),Math.round(t[2]+(s[2]-t[2])*n),Math.round(t[3]+(s[3]-t[3])*n)]}function P(t){let{colorRamp:s,numberOfClassBreaks:r,isFlipped:n}=t,c=[],e=[],l=!1;if(s.colorsForClassBreaks&&s.colorsForClassBreaks.length>0){let o=s.colorsForClassBreaks.find(a=>a.numClasses===r);if(o?.colors?.length===r){let a=o.colors.map(i=>d(i));a.every(i=>i!==void 0)&&(e=n?a.reverse():a,l=!0)}}if(!l){let o=s.colors||[];if(o.length>0){for(let a=0;a<r;a++){let i=r>1?a/(r-1):0,m=Math.floor(i*(o.length-1)),u=Math.min(m+1,o.length-1),p=i*(o.length-1)-m,f=d(o[m]),g=d(o[u]);if(!f||!g){c=[];break}let b=w(f,g,p);c.push(b)}e=c}}return e}function v(t){let{numberOfClassBreaks:s,selectedColorRamp:r,colorRamp:n,isFlipped:c=!1}=t,e=[],l=[136,65,157,255],o=[237,248,251,255];if(n&&n.length>0&&n.length===s?e=n:r&&(e=P({colorRamp:r,numberOfClassBreaks:s,isFlipped:c})),e.length!==s){o=e[0]??n?.[0]??o,l=e.length>1&&e[e.length-1]!==void 0?e[e.length-1]:l;let a=[o];if(s>1){for(let i=1;i<s;i++){let m=i/(s-1),u=w(o,l,m);a.push(u)}a.push(l)}e=a}return e}function Y(t,s=2){return`\u2264 ${(r=>{let n="";return r%1===0?n=r.toString():n=r.toFixed(s),n})(t)}`}function T(t){let{classBreaksRendererResult:s,numberOfClassBreaks:r,selectedColorRamp:n,colorRamp:c,isFlipped:e}=t,l=[],o=s.classBreaksResult.classBreakInfos;if(o&&o.length>0){let a=v({numberOfClassBreaks:r,selectedColorRamp:n,colorRamp:c,isFlipped:e}),i=j(o.flatMap(m=>[m.maxValue]));o.forEach((m,u)=>{let{maxValue:p,minValue:f}=m,g=Y(p,i);l.push({classMinValue:f,classMaxValue:p,label:g,symbol:{type:x.SFS,style:R.Solid,color:a[u]||[0,0,0,255],outline:{style:F.Solid,width:.5,color:[50,50,50,.6]}}})})}return l}function U(t){let s="#000000";if(t&&Array.isArray(t)&&t.length>=3){let r=h(t[0]||0),n=h(t[1]||0),c=h(t[2]||0),e=r.toString(16).padStart(2,"0"),l=n.toString(16).padStart(2,"0"),o=c.toString(16).padStart(2,"0");s=`#${e}${l}${o}`}return s}var W={all:["*"],light:["light"],dark:["dark"],redsAndYellows:["oranges","reds","yellows"],greens:["greens"],blues:["blues"],purplesAndPinks:["purples","pinks"],browns:["browns"],grays:["grays"],bright:["bright"],subdued:["subdued"],colorblindFriendly:["colorblind-friendly"]},q={all:"all"},j=t=>{let s=0,r=e=>{let l=0;return e.forEach(o=>{let a=o.toString().split(".")[1];a&&(l=Math.max(l,a.length))}),l},n=[...t].sort((e,l)=>e-l),c=r(n);for(;s<=c&&n.some((e,l)=>l>0&&k(e,s)<=k(n[l-1],s));)s++;return Math.min(s,c)};function h(t){return Math.max(0,Math.min(255,Math.round(t)))}function d(t){let s;if(t instanceof I){let r=t.toRgba();s=[h(r[0]),h(r[1]),h(r[2]),h(r[3]*255)]}else if(Array.isArray(t)&&t.every(r=>typeof r=="number")&&(t.length===3||t.length===4)){let r=t.length>=4?t[3]??255:255,n=h(r<=1?r*255:r);return[h(t[0]??0),h(t[1]??0),h(t[2]??0),n]}return s}function z(t,s){let r={exactN:100,generated:10,anyOverlap:1},n=o=>o.join(","),c=o=>C(o.map(d)),e=(o,a)=>S([...o],[...a]).length,l;if(t?.length){let o=c(t.map(p=>p.symbol?.color)),a=new Set(o.map(n)),i=o.length,m=s.map(p=>{let f=new Set(c(v({numberOfClassBreaks:i,selectedColorRamp:p})).map(n)),g=e(a,f),b=p.colorsForClassBreaks?.find(y=>y.numClasses===i)?.colors??[],O=new Set(c(b).map(n)),A=e(a,O),V=[...p.colors??[],...M(p.colorsForClassBreaks??[],y=>y.colors??[])],$=new Set(c(V).map(n)),E=e(a,$),N=A*r.exactN+g*r.generated+E*r.anyOverlap;return{ramp:p,score:N}}),u=B(m,[p=>-p.score,p=>p.ramp.name]);u[0]?.score>0&&(l=u[0].ramp)}return l}function K(t,s){let r=!0;if(!t?.length||s.length<2)r=!1;else{let n=t.map(d),c=s.map(e=>e.symbol.color);if(n.length!==c.length)r=!1;else{let e=(a,i)=>!!a&&!!i&&a.length===i.length&&a.every((m,u)=>m===i[u]),l=0,o=c.length-1;for(;l<n.length&&o>=0;){if(!e(n[l],c[o])){r=!1;break}l++,o--}}}return r}return{a:v,b:T,c:U,d:W,e:q,f:z,g:K}},"Color",a)
2
+ import a from"./5J63XNDL.js";import{B as x,h as C,k as M,l as S,t as B,w as F,y as R}from"./4B3QBH5T.js";export default $arcgis.t(([I,{Sd:k}])=>{function w(t,s,r){let n=Math.max(0,Math.min(1,r));return[Math.round(t[0]+(s[0]-t[0])*n),Math.round(t[1]+(s[1]-t[1])*n),Math.round(t[2]+(s[2]-t[2])*n),Math.round(t[3]+(s[3]-t[3])*n)]}function P(t){let{colorRamp:s,numberOfClassBreaks:r,isFlipped:n}=t,c=[],e=[],l=!1;if(s.colorsForClassBreaks&&s.colorsForClassBreaks.length>0){let o=s.colorsForClassBreaks.find(a=>a.numClasses===r);if(o?.colors?.length===r){let a=o.colors.map(i=>d(i));a.every(i=>i!==void 0)&&(e=n?a.reverse():a,l=!0)}}if(!l){let o=s.colors||[];if(o.length>0){for(let a=0;a<r;a++){let i=r>1?a/(r-1):0,m=Math.floor(i*(o.length-1)),u=Math.min(m+1,o.length-1),p=i*(o.length-1)-m,f=d(o[m]),g=d(o[u]);if(!f||!g){c=[];break}let b=w(f,g,p);c.push(b)}e=c}}return e}function v(t){let{numberOfClassBreaks:s,selectedColorRamp:r,colorRamp:n,isFlipped:c=!1}=t,e=[],l=[136,65,157,255],o=[237,248,251,255];if(n&&n.length>0&&n.length===s?e=n:r&&(e=P({colorRamp:r,numberOfClassBreaks:s,isFlipped:c})),e.length!==s){o=e[0]??n?.[0]??o,l=e.length>1&&e[e.length-1]!==void 0?e[e.length-1]:l;let a=[o];if(s>1){for(let i=1;i<s;i++){let m=i/(s-1),u=w(o,l,m);a.push(u)}a.push(l)}e=a}return e}function Y(t,s=2){return`\u2264 ${(r=>{let n="";return r%1===0?n=r.toString():n=r.toFixed(s),n})(t)}`}function T(t){let{classBreaksRendererResult:s,numberOfClassBreaks:r,selectedColorRamp:n,colorRamp:c,isFlipped:e}=t,l=[],o=s.classBreaksResult.classBreakInfos;if(o&&o.length>0){let a=v({numberOfClassBreaks:r,selectedColorRamp:n,colorRamp:c,isFlipped:e}),i=j(o.flatMap(m=>[m.maxValue]));o.forEach((m,u)=>{let{maxValue:p,minValue:f}=m,g=Y(p,i);l.push({classMinValue:f,classMaxValue:p,label:g,symbol:{type:x.SFS,style:R.Solid,color:a[u]||[0,0,0,255],outline:{style:F.Solid,width:.5,color:[50,50,50,.6]}}})})}return l}function U(t){let s="#000000";if(t&&Array.isArray(t)&&t.length>=3){let r=h(t[0]||0),n=h(t[1]||0),c=h(t[2]||0),e=r.toString(16).padStart(2,"0"),l=n.toString(16).padStart(2,"0"),o=c.toString(16).padStart(2,"0");s=`#${e}${l}${o}`}return s}var W={all:["*"],light:["light"],dark:["dark"],redsAndYellows:["oranges","reds","yellows"],greens:["greens"],blues:["blues"],purplesAndPinks:["purples","pinks"],browns:["browns"],grays:["grays"],bright:["bright"],subdued:["subdued"],colorblindFriendly:["colorblind-friendly"]},q={all:"all"},j=t=>{let s=0,r=e=>{let l=0;return e.forEach(o=>{let a=o.toString().split(".")[1];a&&(l=Math.max(l,a.length))}),l},n=[...t].sort((e,l)=>e-l),c=r(n);for(;s<=c&&n.some((e,l)=>l>0&&k(e,s)<=k(n[l-1],s));)s++;return Math.min(s,c)};function h(t){return Math.max(0,Math.min(255,Math.round(t)))}function d(t){let s;if(t instanceof I){let r=t.toRgba();s=[h(r[0]),h(r[1]),h(r[2]),h(r[3]*255)]}else if(Array.isArray(t)&&t.every(r=>typeof r=="number")&&(t.length===3||t.length===4)){let r=t.length>=4?t[3]??255:255,n=h(r<=1?r*255:r);return[h(t[0]??0),h(t[1]??0),h(t[2]??0),n]}return s}function z(t,s){let r={exactN:100,generated:10,anyOverlap:1},n=o=>o.join(","),c=o=>C(o.map(d)),e=(o,a)=>S([...o],[...a]).length,l;if(t?.length){let o=c(t.map(p=>p.symbol?.color)),a=new Set(o.map(n)),i=o.length,m=s.map(p=>{let f=new Set(c(v({numberOfClassBreaks:i,selectedColorRamp:p})).map(n)),g=e(a,f),b=p.colorsForClassBreaks?.find(y=>y.numClasses===i)?.colors??[],O=new Set(c(b).map(n)),A=e(a,O),V=[...p.colors??[],...M(p.colorsForClassBreaks??[],y=>y.colors??[])],$=new Set(c(V).map(n)),E=e(a,$),N=A*r.exactN+g*r.generated+E*r.anyOverlap;return{ramp:p,score:N}}),u=B(m,[p=>-p.score,p=>p.ramp.name]);u[0]?.score>0&&(l=u[0].ramp)}return l}function K(t,s){let r=!0;if(!t?.length||s.length<2)r=!1;else{let n=t.map(d),c=s.map(e=>e.symbol.color);if(n.length!==c.length)r=!1;else{let e=(a,i)=>!!a&&!!i&&a.length===i.length&&a.every((m,u)=>m===i[u]),l=0,o=c.length-1;for(;l<n.length&&o>=0;){if(!e(n[l],c[o])){r=!1;break}l++,o--}}}return r}return{a:v,b:T,c:U,d:W,e:q,f:z,g:K}},"Color",a)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import b from"./6SAQURCH.js";import a from"./D5DZV7CJ.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Bb:a},{b:n,c:s}])=>{var c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=(t,r,i,h)=>{for(var o=d(r,i),p=t.length-1,e;p>=0;p--)(e=t[p])&&(o=e(r,i,o)||o);return o&&c(r,i,o),o};function A(t){return t!==void 0&&"rotatedState"in t}var g=t=>a(t),S=(t,r)=>{r.rotated=t},m=class extends n{get rotatedState(){return g(this._config)}set rotatedState(r){S(r,this._config)}};f([s],m.prototype,"rotatedState");return{a:A,b:m}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b)
2
+ import b from"./CZAC4UL6.js";import a from"./5J63XNDL.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Bb:a},{b:n,c:s}])=>{var c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=(t,r,i,h)=>{for(var o=d(r,i),p=t.length-1,e;p>=0;p--)(e=t[p])&&(o=e(r,i,o)||o);return o&&c(r,i,o),o};function A(t){return t!==void 0&&"rotatedState"in t}var g=t=>a(t),S=(t,r)=>{r.rotated=t},m=class extends n{get rotatedState(){return g(this._config)}set rotatedState(r){S(r,this._config)}};f([s],m.prototype,"rotatedState");return{a:A,b:m}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import r from"./R7BV4KL6.js";import q from"./MDOUUZKO.js";import p from"./PSLM45RT.js";import o from"./QZYE6VEP.js";import n from"./EK4VIS6G.js";import m from"./NPEERBZF.js";import l from"./TDJZ6RXO.js";import k from"./CRJZJ45P.js";import j from"./64UWRKDS.js";import i from"./UHJNBCNI.js";import f from"./S24YGUH7.js";import e from"./NCG3GUKL.js";import d from"./Q77FFEA2.js";import c from"./6SAQURCH.js";import b from"./Y6A4FBTP.js";import{i as h}from"./UG7LOBJE.js";import a from"./D5DZV7CJ.js";import"./4B3QBH5T.js";import"./Y6ZM643L.js";import"./IHRGRUHQ.js";import{b as W}from"./KUVOINJC.js";import{a as x}from"./NKG4FLLR.js";import{k as g}from"./YKYKBI6V.js";import"./OR4HXHSY.js";export default $arcgis.t(([{B:p,C:f,E:y,P:O,Pa:d,qa:P,xa:D,z:A},{o:U,p:N,q:R},{c:r},,,as,{b:Ss,d:_s,f:Ls},{b:fs,d:ys,f:ds},{a:ms,b:us},{b:ps},{a:hs,b:cs,c:ls,d:gs},{a:Fs,b:ws},,{b:E},{a:os,b:M,c:ns,d:I},{A:B,B:v,C:is,D:rs,a:V,b:m,c:z,d:j,e:u,f:S,g:k,h:T,i:q,j:J,k:Y,l:G,m:H,n:_,o:K,p:Q,q:X,r:L,s:Z,t:$,u:ss,v:F,w:w,x:es,y:ts,z:C}])=>{var Ms=Object.defineProperty,Is=Object.getOwnPropertyDescriptor,n=(l,s,e,i)=>{for(var o=Is(s,e),a=l.length-1,c;a>=0;a--)(c=l[a])&&(o=c(s,e,o)||o);return o&&Ms(s,e,o),o},t=class extends as{constructor(){super(...arguments),this._chartType=x.BoxPlotSeries,this._category=y,this._splitByField="",this._numericFields=[]}async setup(s){await this.loadConfigFromLayer(s),this.setupLocalProps(),s.config!==void 0&&await this.updateSeriesFromLayerFilter(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get category(){return this._category}set category(s){let e=s.trim()==="";this._category=e?y:s,this.dirtyAsyncSetters.push("category"),this.processSeriesRebuild()}get numericFields(){return this._numericFields}set numericFields(s){let{layerFieldsInfo:e}=this.layerInfo;typeof s=="string"&&(s=[s]),N(e,s)?(this._numericFields=s,this.dirtyAsyncSetters.push("numericFields"),is(this._category,this._numericFields)&&(this._splitByField="",this.dirtyAsyncSetters.push("splitByField")),this.processSeriesRebuild()):g("error","box-plot-model","Invalid `numericFields`")}get splitByField(){return this._splitByField}set splitByField(s){U(this.layerInfo.layerFieldsInfo,s)?(this._splitByField=s,this.dirtyAsyncSetters.push("splitByField"),this.processSeriesRebuild()):g("error","box-plot-model","Invalid `splitByField`")}get showOutliers(){return Z(this._config)}set showOutliers(s){$({newShowOutliers:s,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get standardizeValues(){return K(this._config)}set standardizeValues(s){ss({newStandardizeValues:s,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}getSortOrder(){return F(this._config)}setSortOrder(s,e){w(s,this._config,e)}async getCustomSortValues(){return await v(this._config,this.layerInfo)}async setDataFilters(s){super.setDataFilters(s);let e=F(this._config);if(e===W.customSort){this.startAsyncUpdate();let i=await v(this._config,this.layerInfo);w(e,this._config,i),this.finishAsyncUpdate()}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get orderByList(){return C(this._config)}set orderByList(s){B(s,this._config)}async updateSeriesFromLayerFilter(){this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"),await this.processSeriesRebuild()}get showMeanLines(){return es(this._config)}set showMeanLines(s){let{previousMeanLinesBoxColor:e}=ts({newShowMeanLines:s,config:this._config,commonStrings:this.commonStrings,previousMeanLinesBoxColor:this.previousMeanLinesBoxColor});this.previousMeanLinesBoxColor=e}get meanLinesBoxColor(){return j(this._config)}set meanLinesBoxColor(s){u(s,this._config)}setupLocalProps(){this._category=Y(this._config),this._splitByField=G(this._config),this._numericFields=H(this._config)}generateDefaultConfig(){let s=D(this.commonStrings);return s.series=[P(this.commonStrings)],s}resetConfig(){let s=this._config.id;this._config=this.generateDefaultConfig(),this._config.id=s,this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}canUseSynchronousSeriesRebuild(){return!rs(this.category,this.numericFields,this.splitByField)}async processSeriesRebuild(){if(this.layerInfo!==void 0){let s=this.dirtyAsyncSetters[this.dirtyAsyncSetters.length-1];if(this.canUseSynchronousSeriesRebuild())this.dirtyAsyncSetters=[],_(this.getBuildNewSeriesProps());else if(!this.asyncConfigUpdateInProgress){for(this.startAsyncUpdate();this.dirtyAsyncSetters.length>0;)this.dirtyAsyncSetters=[],await _(this.getBuildNewSeriesProps());this.finishAsyncUpdate()}this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate(s)}}getBuildNewSeriesProps(){return{category:this.category,splitByField:this.splitByField,numericFields:this.numericFields,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}}getSeriesName(s){return V(s,this._config)}setSeriesName(s,e){m(s,e,this._config)}getSeriesColor(s){return z(s,this._config)}setSeriesColor(s,e){S(s,e,this._config)}getSeriesLineStyle(s){let e=this._config.series[s];if(this.showMeanLines===!0&&h(e))return os(e)}setSeriesLineStyle(s,e){let i=this._config.series[e];this.showMeanLines===!0&&h(i)&&M(s,i)}getSeriesLineWidth(s){let e=this._config.series[s];if(this.showMeanLines===!0&&h(e))return ns(e)}setSeriesLineWidth(s,e){let i=this._config.series[e];this.showMeanLines===!0&&h(i)&&I(s,i)}get orderOfSeries(){return k(this._config)}set orderOfSeries(s){T(s,this._config)}moveSeries(s,e){q(s,e,this._config)}get boxPlotSeriesIndexWhenMeanLinesShown(){return J(this._config)}moveCustomSortValuesInOrderByList(s,e){let i=C(this._config),[o]=i.splice(s,1);i.splice(e,0,o),B(i,this._config)}generateChartTitle(){return X(this._config,this.layerInfo,this.commonStrings)}generateYAxisTitle(){return Q(this._config,this.layerInfo,this.commonStrings)}resetSeriesStyling(){for(let s=this.showMeanLines===!0?1:0;s<this.seriesLength;s+=1){let e=this.getSeriesId(s),i=O({colorIndex:s,opacity:A}),o=this._config.series[s];S(i,s,this._config);let a=L({series:o,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings});m(a??e,s,this._config),this.showMeanLines===!0&&h(o)&&(M(p,o),I(f,o))}this.showMeanLines===!0&&u(d,this._config),this._config.colorMatch=!0}resetAvailable(){let s=!this.colorMatch,e=this.showMeanLines===!0&&this.meanLinesBoxColor!==d,i=!1,o=!1;if(!s)for(let a=this.showMeanLines===!0?1:0;a<this.seriesLength;a+=1){let c=this._config.series[a],b=L({series:c,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),Cs=this.getSeriesName(a);if(b!==void 0&&b!==Cs){i=!0;break}if(this.showMeanLines===!0&&h(c)){let Bs=this.getSeriesLineStyle(a),vs=this.getSeriesLineWidth(a);if(Bs!==p||vs!==f){o=!0;break}}}return s||e||i||o}};n([r],t.prototype,"showOutliers");n([r],t.prototype,"standardizeValues");n([r],t.prototype,"setSortOrder");n([r],t.prototype,"setDataFilters");n([r],t.prototype,"orderByList");n([r],t.prototype,"showMeanLines");n([r],t.prototype,"meanLinesBoxColor");n([r],t.prototype,"resetConfig");n([r],t.prototype,"setSeriesName");n([r],t.prototype,"setSeriesColor");n([r],t.prototype,"setSeriesLineStyle");n([r],t.prototype,"setSeriesLineWidth");n([r],t.prototype,"orderOfSeries");n([r],t.prototype,"moveSeries");n([r],t.prototype,"moveCustomSortValuesInOrderByList");n([r],t.prototype,"resetSeriesStyling");var bs=[Fs,ls,gs,hs,E,cs,ps,ws,Ss,us,_s,ms,fs,ys,ds,Ls];R(t,bs);return t},a,b,c,d,e,f,i,j,k,l,m,n,o,p,q,r)
2
+ import r from"./OXWXRCBH.js";import q from"./4YDM6RK5.js";import p from"./4VYVD447.js";import o from"./FDBMN6TO.js";import n from"./QGWXGY7E.js";import m from"./GEIHDT3D.js";import l from"./6ZVODKF3.js";import k from"./SQ2D552P.js";import j from"./BOAXFRF5.js";import i from"./KD3MWKRQ.js";import f from"./U76PZUND.js";import e from"./6YRPMZ44.js";import d from"./FGQ3WZMI.js";import c from"./CZAC4UL6.js";import b from"./X2AD4Y2B.js";import{i as h}from"./UG7LOBJE.js";import a from"./5J63XNDL.js";import"./4B3QBH5T.js";import"./V2AGS53C.js";import"./IHRGRUHQ.js";import{b as W}from"./KUVOINJC.js";import{a as x}from"./NKG4FLLR.js";import{k as g}from"./V6K2ZIH3.js";import"./OR4HXHSY.js";export default $arcgis.t(([{B:p,C:f,E:y,P:O,Pa:d,qa:P,xa:D,z:A},{o:U,p:N,q:R},{c:r},,,as,{b:Ss,d:_s,f:Ls},{b:fs,d:ys,f:ds},{a:ms,b:us},{b:ps},{a:hs,b:cs,c:ls,d:gs},{a:Fs,b:ws},,{b:E},{a:os,b:M,c:ns,d:I},{A:B,B:v,C:is,D:rs,a:V,b:m,c:z,d:j,e:u,f:S,g:k,h:T,i:q,j:J,k:Y,l:G,m:H,n:_,o:K,p:Q,q:X,r:L,s:Z,t:$,u:ss,v:F,w:w,x:es,y:ts,z:C}])=>{var Ms=Object.defineProperty,Is=Object.getOwnPropertyDescriptor,n=(l,s,e,i)=>{for(var o=Is(s,e),a=l.length-1,c;a>=0;a--)(c=l[a])&&(o=c(s,e,o)||o);return o&&Ms(s,e,o),o},t=class extends as{constructor(){super(...arguments),this._chartType=x.BoxPlotSeries,this._category=y,this._splitByField="",this._numericFields=[]}async setup(s){await this.loadConfigFromLayer(s),this.setupLocalProps(),s.config!==void 0&&await this.updateSeriesFromLayerFilter(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get category(){return this._category}set category(s){let e=s.trim()==="";this._category=e?y:s,this.dirtyAsyncSetters.push("category"),this.processSeriesRebuild()}get numericFields(){return this._numericFields}set numericFields(s){let{layerFieldsInfo:e}=this.layerInfo;typeof s=="string"&&(s=[s]),N(e,s)?(this._numericFields=s,this.dirtyAsyncSetters.push("numericFields"),is(this._category,this._numericFields)&&(this._splitByField="",this.dirtyAsyncSetters.push("splitByField")),this.processSeriesRebuild()):g("error","box-plot-model","Invalid `numericFields`")}get splitByField(){return this._splitByField}set splitByField(s){U(this.layerInfo.layerFieldsInfo,s)?(this._splitByField=s,this.dirtyAsyncSetters.push("splitByField"),this.processSeriesRebuild()):g("error","box-plot-model","Invalid `splitByField`")}get showOutliers(){return Z(this._config)}set showOutliers(s){$({newShowOutliers:s,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get standardizeValues(){return K(this._config)}set standardizeValues(s){ss({newStandardizeValues:s,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}getSortOrder(){return F(this._config)}setSortOrder(s,e){w(s,this._config,e)}async getCustomSortValues(){return await v(this._config,this.layerInfo)}async setDataFilters(s){super.setDataFilters(s);let e=F(this._config);if(e===W.customSort){this.startAsyncUpdate();let i=await v(this._config,this.layerInfo);w(e,this._config,i),this.finishAsyncUpdate()}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get orderByList(){return C(this._config)}set orderByList(s){B(s,this._config)}async updateSeriesFromLayerFilter(){this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"),await this.processSeriesRebuild()}get showMeanLines(){return es(this._config)}set showMeanLines(s){let{previousMeanLinesBoxColor:e}=ts({newShowMeanLines:s,config:this._config,commonStrings:this.commonStrings,previousMeanLinesBoxColor:this.previousMeanLinesBoxColor});this.previousMeanLinesBoxColor=e}get meanLinesBoxColor(){return j(this._config)}set meanLinesBoxColor(s){u(s,this._config)}setupLocalProps(){this._category=Y(this._config),this._splitByField=G(this._config),this._numericFields=H(this._config)}generateDefaultConfig(){let s=D(this.commonStrings);return s.series=[P(this.commonStrings)],s}resetConfig(){let s=this._config.id;this._config=this.generateDefaultConfig(),this._config.id=s,this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}canUseSynchronousSeriesRebuild(){return!rs(this.category,this.numericFields,this.splitByField)}async processSeriesRebuild(){if(this.layerInfo!==void 0){let s=this.dirtyAsyncSetters[this.dirtyAsyncSetters.length-1];if(this.canUseSynchronousSeriesRebuild())this.dirtyAsyncSetters=[],_(this.getBuildNewSeriesProps());else if(!this.asyncConfigUpdateInProgress){for(this.startAsyncUpdate();this.dirtyAsyncSetters.length>0;)this.dirtyAsyncSetters=[],await _(this.getBuildNewSeriesProps());this.finishAsyncUpdate()}this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate(s)}}getBuildNewSeriesProps(){return{category:this.category,splitByField:this.splitByField,numericFields:this.numericFields,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}}getSeriesName(s){return V(s,this._config)}setSeriesName(s,e){m(s,e,this._config)}getSeriesColor(s){return z(s,this._config)}setSeriesColor(s,e){S(s,e,this._config)}getSeriesLineStyle(s){let e=this._config.series[s];if(this.showMeanLines===!0&&h(e))return os(e)}setSeriesLineStyle(s,e){let i=this._config.series[e];this.showMeanLines===!0&&h(i)&&M(s,i)}getSeriesLineWidth(s){let e=this._config.series[s];if(this.showMeanLines===!0&&h(e))return ns(e)}setSeriesLineWidth(s,e){let i=this._config.series[e];this.showMeanLines===!0&&h(i)&&I(s,i)}get orderOfSeries(){return k(this._config)}set orderOfSeries(s){T(s,this._config)}moveSeries(s,e){q(s,e,this._config)}get boxPlotSeriesIndexWhenMeanLinesShown(){return J(this._config)}moveCustomSortValuesInOrderByList(s,e){let i=C(this._config),[o]=i.splice(s,1);i.splice(e,0,o),B(i,this._config)}generateChartTitle(){return X(this._config,this.layerInfo,this.commonStrings)}generateYAxisTitle(){return Q(this._config,this.layerInfo,this.commonStrings)}resetSeriesStyling(){for(let s=this.showMeanLines===!0?1:0;s<this.seriesLength;s+=1){let e=this.getSeriesId(s),i=O({colorIndex:s,opacity:A}),o=this._config.series[s];S(i,s,this._config);let a=L({series:o,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings});m(a??e,s,this._config),this.showMeanLines===!0&&h(o)&&(M(p,o),I(f,o))}this.showMeanLines===!0&&u(d,this._config),this._config.colorMatch=!0}resetAvailable(){let s=!this.colorMatch,e=this.showMeanLines===!0&&this.meanLinesBoxColor!==d,i=!1,o=!1;if(!s)for(let a=this.showMeanLines===!0?1:0;a<this.seriesLength;a+=1){let c=this._config.series[a],b=L({series:c,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),Cs=this.getSeriesName(a);if(b!==void 0&&b!==Cs){i=!0;break}if(this.showMeanLines===!0&&h(c)){let Bs=this.getSeriesLineStyle(a),vs=this.getSeriesLineWidth(a);if(Bs!==p||vs!==f){o=!0;break}}}return s||e||i||o}};n([r],t.prototype,"showOutliers");n([r],t.prototype,"standardizeValues");n([r],t.prototype,"setSortOrder");n([r],t.prototype,"setDataFilters");n([r],t.prototype,"orderByList");n([r],t.prototype,"showMeanLines");n([r],t.prototype,"meanLinesBoxColor");n([r],t.prototype,"resetConfig");n([r],t.prototype,"setSeriesName");n([r],t.prototype,"setSeriesColor");n([r],t.prototype,"setSeriesLineStyle");n([r],t.prototype,"setSeriesLineWidth");n([r],t.prototype,"orderOfSeries");n([r],t.prototype,"moveSeries");n([r],t.prototype,"moveCustomSortValuesInOrderByList");n([r],t.prototype,"resetSeriesStyling");var bs=[Fs,ls,gs,hs,E,cs,ps,ws,Ss,us,_s,ms,fs,ys,ds,Ls];R(t,bs);return t},a,b,c,d,e,f,i,j,k,l,m,n,o,p,q,r)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import a from"./D5DZV7CJ.js";export default $arcgis.t(([,,,,,,,,,,,,,,{fa:i}])=>{var q=o=>o.lineSymbol?.style,v=(o,m)=>{m.lineSymbol??=i(),m.lineSymbol.style=o},x=o=>o.lineSymbol?.width,u=(o,m)=>{m.lineSymbol??=i(),m.lineSymbol.width=o};return{a:q,b:v,c:x,d:u}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a)
2
+ import a from"./5J63XNDL.js";export default $arcgis.t(([,,,,,,,,,,,,,,{fa:i}])=>{var q=o=>o.lineSymbol?.style,v=(o,m)=>{m.lineSymbol??=i(),m.lineSymbol.style=o},x=o=>o.lineSymbol?.width,u=(o,m)=>{m.lineSymbol??=i(),m.lineSymbol.width=o};return{a:q,b:v,c:x,d:u}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a)
@@ -1,4 +1,4 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import{c as h}from"./DPJE33GY.js";import g from"./U6WVSG5F.js";import f from"./PM3KDJXT.js";import e from"./R7BV4KL6.js";import d from"./7TXZKUUG.js";import c from"./QZYE6VEP.js";import b from"./NCG3GUKL.js";import a from"./D5DZV7CJ.js";import{e as x,n as K,o as A,u as V,v as J}from"./4B3QBH5T.js";import{e as q}from"./KUVOINJC.js";import{a as B,y as W}from"./NKG4FLLR.js";export default $arcgis.t(([{Dc:U,E:M,Na:Q,Nc:X,Nd:k,Oa:R,Pc:Y,Qa:v,Ra:L,gd:C,xb:P,yb:d},{c:H},{f:ee,g:E},{ea:oe,fa:te,ga:ie},{k:T,l:I,m:Z,x:re},{b:ae},{a:le,c:ne,d:se}])=>{var Re=[B.BarSeries,B.BoxPlotSeries,B.LineSeries,B.PieSeries,B.HistogramSeries,B.ScatterSeries],he=1,Te={PNG:"png"};function ce(l,e){return!K(l,e)}function Ie(l,e){return ce(l,e)||l!==e}function fe(l){return(new Intl.NumberFormat(l,{minimumFractionDigits:1,maximumFractionDigits:1}).formatToParts(1.1).find(e=>e.type==="decimal")?.value??".")==="."?",":";"}function me(l){return new Intl.NumberFormat(l,{minimumFractionDigits:1,maximumFractionDigits:1}).formatToParts(1.1).find(e=>e.type==="decimal")?.value??"."}var de=l=>{let{value:e,quoteAll:o=!1,locale:s}=l,i=e==null?"":String(e);if(e===null)i="null";else if(e===void 0)i="";else if(typeof e=="number"&&Number.isFinite(e)&&s!==void 0){let t=me(s),a=i.split(t)[1]?.length??3;i=new Intl.NumberFormat(s,{maximumFractionDigits:a}).format(e).replace(/\u202F/gu," ")}return(o||/[",\r\n]/u.test(i))&&(i=`"${i.replace(/"/gu,'""')}"`),i};function Ne(l,e={}){let{columns:o,delimiter:s,includeHeader:i=!0,quoteAll:t=!1,locale:a}=e,m=l.length===0,n="";if(!m){let f=o??Object.keys(l[0]),y=[],b=s??fe(a??"en");if(a!==void 0&&b!==","&&(n+=`sep=${b}\r
2
+ import{c as h}from"./DPJE33GY.js";import g from"./6HBQLBAJ.js";import f from"./BUWSEYFL.js";import e from"./OXWXRCBH.js";import d from"./BBVAGD2J.js";import c from"./FDBMN6TO.js";import b from"./6YRPMZ44.js";import a from"./5J63XNDL.js";import{e as x,n as K,o as A,u as V,v as J}from"./4B3QBH5T.js";import{e as q}from"./KUVOINJC.js";import{a as B,y as W}from"./NKG4FLLR.js";export default $arcgis.t(([{Dc:U,E:M,Na:Q,Nc:X,Nd:k,Oa:R,Pc:Y,Qa:v,Ra:L,gd:C,xb:P,yb:d},{c:H},{f:ee,g:E},{ea:oe,fa:te,ga:ie},{k:T,l:I,m:Z,x:re},{b:ae},{a:le,c:ne,d:se}])=>{var Re=[B.BarSeries,B.BoxPlotSeries,B.LineSeries,B.PieSeries,B.HistogramSeries,B.ScatterSeries],he=1,Te={PNG:"png"};function ce(l,e){return!K(l,e)}function Ie(l,e){return ce(l,e)||l!==e}function fe(l){return(new Intl.NumberFormat(l,{minimumFractionDigits:1,maximumFractionDigits:1}).formatToParts(1.1).find(e=>e.type==="decimal")?.value??".")==="."?",":";"}function me(l){return new Intl.NumberFormat(l,{minimumFractionDigits:1,maximumFractionDigits:1}).formatToParts(1.1).find(e=>e.type==="decimal")?.value??"."}var de=l=>{let{value:e,quoteAll:o=!1,locale:s}=l,i=e==null?"":String(e);if(e===null)i="null";else if(e===void 0)i="";else if(typeof e=="number"&&Number.isFinite(e)&&s!==void 0){let t=me(s),a=i.split(t)[1]?.length??3;i=new Intl.NumberFormat(s,{maximumFractionDigits:a}).format(e).replace(/\u202F/gu," ")}return(o||/[",\r\n]/u.test(i))&&(i=`"${i.replace(/"/gu,'""')}"`),i};function Ne(l,e={}){let{columns:o,delimiter:s,includeHeader:i=!0,quoteAll:t=!1,locale:a}=e,m=l.length===0,n="";if(!m){let f=o??Object.keys(l[0]),y=[],b=s??fe(a??"en");if(a!==void 0&&b!==","&&(n+=`sep=${b}\r
3
3
  `),i){let p=f.map(r=>de({value:r,quoteAll:t,locale:a}));y.push(p.join(b))}l.forEach(p=>{let r=f.map(u=>de({value:p[u],quoteAll:t,locale:a}));y.push(r.join(b))}),n+=y.join(`\r
4
4
  `)}return n}function je(l){let{rawData:e,config:o,layer:s,fieldList:i}=l,t=e;if(o!==void 0&&Array.isArray(e)&&e.length>0){let a=W(o?.series);a===B.HistogramSeries?t=pe(o,e):a===B.BarSeries||a===B.LineSeries||a===B.ComboLineAndBarSeries?t=ge({config:o,rows:e,layer:s,fieldList:i}):a===B.PieSeries?t=ye({config:o,rows:e,layer:s,fieldList:i}):a===B.BoxPlotSeries&&(t=Pe({config:o,rows:e,fieldList:i}))}return t}function pe(l,e){let o=ae(l),s=`${x(h.Min)} of ${o}`,i=`${x(h.Max)} of ${o}`,t=`${x(h.Count)} of ${o}`;return e.map(a=>{let{minValue:m,maxValue:n,count:f}=a,y=A(m),b=A(n),p=A(f),r={};return y&&(r[s]=m.toFixed(2)),b&&(r[i]=n.toFixed(2)),y&&b&&(r.Label=`${m.toFixed(2)} - ${n.toFixed(2)}`),p&&(r[t]=f),r})}function be(l,e,o){let s=Object.keys(l),i=[];return o?i=o.map(t=>s.find(a=>a.toLowerCase().includes(t.toLowerCase()))||""):i=s.filter(t=>t.toLowerCase().includes(e.toLowerCase())),i.filter(t=>t.trim()!=="")}function ge(l){let{config:e,rows:o,layer:s,fieldList:i}=l,t=ee(e),a=oe(e),m=x(a),n=ie(e),f=C(e.series),y=H(e),b=te(e),{idField:p,isTraditionalTypeOID:r}=X(U(s)),u=r&&n.length===1&&n[0]===p,c;switch(f){case d.BarAndLineNoAggregation:c=o.map(g=>{let F=S({field:t,value:g[t],fieldList:i}),w={[t]:F};return Object.assign(w,...n.map($=>({[$]:g[$]}))),w});break;case d.BarAndLineFromFields:c=V(n,o).map(([g,F])=>{let w=k(e.series)[0],$={};return F!==void 0&&g!==void 0&&($.Field=F[t],$.Value=F[w]),$});break;case d.BarAndLineMonoField:case d.BarAndLineMultiFields:c=o.map(g=>{let F=S({field:t,value:g[t],fieldList:i}),w={[t]:F};return n.forEach(($,O)=>{let j=E({config:e,xAxisField:t,numericFields:n,aggregationType:a,layer:s,numericFieldIndex:O,fieldList:i}),_=k(e.series)[O],z=_,G=_;_.toLowerCase()===j.name.toLowerCase()&&(z=j.description,G=j.name),w[z]=g[G]}),w});break;case d.BarAndLineSplitBy:c=o.flatMap(g=>{let F=k(e.series),w=S({field:t,value:g[t],fieldList:i});return y.map(($,O)=>({[t]:w,[b]:$,[u?m:`${m} of ${n[0]}`]:g[F[O]]}))});break;case d.BarAndLineSplitByNoAggregation:c=o.map(g=>{let F=S({field:t,value:g[t],fieldList:i}),w=be(g,n[0],y);return{[t]:F,[b]:g[b],[n[0]]:g[w[0]]}});break;default:c=o}return c}function xe(l){if(l.length===0)return[];let e=l.reduce((o,s)=>{for(let[i,t]of Object.entries(s))typeof t=="number"&&Number.isFinite(t)&&(o[i]=(o[i]??0)+t);return o},{});return l.map(o=>{let s={...o};for(let[i,t]of Object.entries(o))if(typeof t=="number"&&e[i]>0){let a=t/e[i];s[`${i}${v}`]=a.toPrecision(2)}return s})}function ye(l){let{config:e,rows:o,layer:s,fieldList:i}=l,t=le(e),a=C(e.series),m=xe(o),n=ne(e),f=a!==d.PieFromFields?q.Category:q.Fields,y=se(e,f),b=E({config:e,xAxisField:t,numericFields:n,aggregationType:y,mode:f,layer:s,fieldList:i}),p=k(e.series)[0];return a===d.PieFromCategory||a===d.PieNoAggregation?m=m.map(r=>{let u=S({field:t,value:r[t],fieldList:i}),c={[t]:u},g=p,F=p;return a===d.PieFromCategory&&p.toLowerCase()===b.name.toLowerCase()&&(g=b.description,F=b.name),c[g]=r[F],c[x(v.trim())]=r[`${F}${v}`],c}):a===d.PieFromFields&&(m=V(n,m).map(([r,u])=>{let c={};return u!==void 0&&r!==void 0&&(c.Field=u[t],c.Value=u[p],c[x(v.trim())]=u[`${p}${v}`]),c})),m}function N(l){let{rawData:e,keyBase:o="",outRow:s}=l;for(let[i,t]of Object.entries(P)){let a=e[o+t];a!==void 0&&(s[i]=A(a)?a.toFixed(2):a);let m=e[o+t+Q];m!==void 0&&(s[`${i} Outlier`]=A(m)?m.toFixed(2):m);let n=e[o+t+R];n!==void 0&&(s[`${i} Z-Score`]=A(n)?n.toFixed(2):n)}}function D(l){let{rawData:e,outRow:o,config:s,boxPlotSubType:i,fieldList:t}=l,a=T(s),m=Z(s),n=I(s),f=P.Outlier,y=M;switch(i){case d.BoxPlotMonoFieldAndCategory:{let r=S({field:a,value:e[a],fieldList:t});o[a]=r,o[x(P.Outlier)]=e[f];break}case d.BoxPlotMultiFieldsAndCategory:{o[x(a)]=e[a],f=`${m.find(r=>Object.keys(e).some(u=>u.toLowerCase().includes(r.toLowerCase())))??""}_${f}`,o[x(P.Outlier)]=e[f];break}case d.BoxPlotMonoFieldAndSplitBy:case d.BoxPlotMultiFieldsAndSplitBy:{let r=e[n];f=`${r}_${f}`,o.Field=e[y],o[x(n)]=r,o[x(P.Outlier)]=e[f];break}case d.BoxPlotMonoFieldAndCategoryAndSplitBy:{let r=e[n];f=`${r}_${f}`,o[x(a)]=e[a],o[x(n)]=r,o[x(P.Outlier)]=e[f];break}case d.BoxPlotMonoField:case d.BoxPlotMultiFields:default:{o.Field=e[y],o[x(P.Outlier)]=e[f];break}}let b=`${f}${R}`,p=e[b];p!==void 0&&(o[`${x(P.Outlier)} Z-Score`]=A(p)?p.toFixed(2):p)}function Fe(l){let{rawData:e,outRow:o,config:s,splitByValue:i}=l,t=C(s.series),a=e[`${i}_${P.Average}`],m=I(s),n=T(s),f="";switch(t){case d.BoxPlotMonoFieldAndSplitBy:{f=`${i}_${m}`,o.Field=e[M],o[x(m)]=e[f];break}case d.BoxPlotMultiFieldsAndSplitBy:{f=`${i}_${P.Average}`,o.Field=e[M],o[x(m)]=e[f];break}case d.BoxPlotMonoFieldAndCategoryAndSplitBy:{f=`${i}_${P.Average}`,o[n]=e[n],o[x(m)]=i;break}}o[x(P.Average)]=A(a)?a.toFixed(2):a;let y=`${a}${R}`,b=e[y];b!==void 0&&(o[`${x(P.Average)} Z-Score`]=A(b)?b.toFixed(2):b)}function Pe(l){let{config:e,rows:o,fieldList:s}=l,i=C(e.series),t=i,a=re(e),m=Array.isArray(o)&&o.length>0&&o.every(r=>r[L.boxPlot.boxPlotMeanLineMarkerId]!==void 0);a&&!m&&(i===d.BoxPlotMonoFieldAndSplitBy?t=d.BoxPlotMonoField:i===d.BoxPlotMultiFieldsAndSplitBy?t=d.BoxPlotMultiFields:i===d.BoxPlotMonoFieldAndCategoryAndSplitBy&&(t=d.BoxPlotMonoFieldAndCategory));let n=T(e),f=Z(e),y=H(e),b=I(e),p;switch(t){case d.BoxPlotMonoField:case d.BoxPlotMonoFieldAndCategory:{p=o.map(r=>{let u={};if(r[L.boxPlot.boxPlotOutlierId])D({rawData:r,outRow:u,config:e,boxPlotSubType:t});else{if(t===d.BoxPlotMonoFieldAndCategory){let c=S({field:n,value:r[n],fieldList:s});u[n]=c}else t===d.BoxPlotMonoField&&(u.Field=r[M]);N({rawData:r,outRow:u})}return u});break}case d.BoxPlotMultiFields:{p=o.flatMap(r=>{let u={};return r[L.boxPlot.boxPlotOutlierId]?D({rawData:r,outRow:u,config:e,boxPlotSubType:t}):(u.Field=r[M],N({rawData:r,outRow:u})),[u]});break}case d.BoxPlotMultiFieldsAndCategory:{p=o.flatMap(r=>f.map(u=>{let c={},g="";if(c.Field=u,r[L.boxPlot.boxPlotOutlierId])D({rawData:r,outRow:c,config:e,boxPlotSubType:t});else{if(t===d.BoxPlotMultiFieldsAndCategory){let F=S({field:n,value:r[n],fieldList:s});c[n]=F,g=`${u}_`}N({rawData:r,outRow:c,keyBase:g})}return c}));break}case d.BoxPlotMonoFieldAndSplitBy:case d.BoxPlotMultiFieldsAndSplitBy:case d.BoxPlotMonoFieldAndCategoryAndSplitBy:{p=o.flatMap(r=>{if(r[L.boxPlot.boxPlotOutlierId]){let u={};return D({rawData:r,outRow:u,config:e,boxPlotSubType:t}),[u]}else return r[L.boxPlot.boxPlotMeanLineMarkerId]?y?.map(u=>{let c={};return Fe({rawData:r,outRow:c,splitByValue:u,config:e}),c}):y.map(u=>{let c={};if(t===d.BoxPlotMonoFieldAndCategoryAndSplitBy){let g=S({field:n,value:r[n],fieldList:s});c[n]=g}return r[L.boxPlot.boxPlotOutlierId]?D({rawData:r,outRow:c,config:e,boxPlotSubType:t}):(c[b]=u,N({rawData:r,outRow:c,keyBase:`${u}_`})),c})});break}default:p=o}return p}var ue=l=>{let e=!1;return(typeof l=="string"||typeof l=="number")&&(e=!Number.isNaN(new Date(l).getTime())),e},S=l=>{let{field:e,value:o,fieldList:s}=l,i=o,t=s?.find(a=>a.name===e);if(t){let a=t.type===J.DateOnly;Y(t)&&!a?i=ue(o)?new Date(o).toISOString():o:a&&typeof o!="string"&&(i=ue(o)?new Date(o).toISOString().split("T")[0]:o)}return i};function _e(){let l=()=>((1+Math.random())*65536|0).toString(16).substring(1);return`${l()+l()}-${l()}-${l()}-${l()}-${l()}${l()}${l()}`}return{a:Re,b:he,c:Te,d:ce,e:Ie,f:Ne,g:je,h:_e}},a,b,c,d,e,f,g)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import f from"./ZPTMY3EI.js";import"./DPJE33GY.js";import{a as b}from"./TIU77PF5.js";import e from"./Y6A4FBTP.js";import"./UG7LOBJE.js";import c from"./D5DZV7CJ.js";import"./4B3QBH5T.js";import"./Y6ZM643L.js";import"./KUVOINJC.js";import"./NKG4FLLR.js";import{A as a,F as d,g as l,h as o,m as u,x as h,y as g,z as p}from"./YKYKBI6V.js";import"./OR4HXHSY.js";export default $arcgis.t(([,,{f:f,g:v,h:r,i:m}])=>{var s={container:"container",label:"label",numberInput:"number-input"},x=l`.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)}.container{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));margin-top:.5rem}.container>.number-input{margin-bottom:.5rem;display:flex}.container>.number-input>div{width:100%}.label{display:flex;margin-bottom:.5rem;justify-content:space-between}`,c=class extends p{constructor(){super(...arguments),this._messages=b(),this.decimalPlacesInputElement=h(),this.arcgisChartsConfigNumberFormatChange=u()}static{this.properties={messageOverrides:0,numberFormat:0}}static{this.styles=x}onDecimalPlacesChange(){let t=this.decimalPlacesInputElement.value?.value,i=Math.floor(Number(t)),n=i===Number(t)&&i>=0;if(t!==void 0&&n&&f(t,this.decimalPlacesInputElement.value?.min,this.decimalPlacesInputElement.value?.max)){let F=Number.parseInt(t),e={minimumFractionDigits:this.numberFormat?.minimumFractionDigits,maximumFractionDigits:F};e.maximumFractionDigits!==void 0&&e.minimumFractionDigits!==void 0&&e.minimumFractionDigits>e.maximumFractionDigits&&(e.minimumFractionDigits=e.maximumFractionDigits);let C=this.getUpdatedNumberFormat(e);this.arcgisChartsConfigNumberFormatChange.emit(C),this.decimalPlacesInputElement.value&&r({inputElement:this.decimalPlacesInputElement.value,status:m.IDLE})}else this.decimalPlacesInputElement.value&&r({inputElement:this.decimalPlacesInputElement.value,status:m.INVALID})}onShowThousandsSeparatorChange(t){let i=t.target.checked,n=this.getUpdatedNumberFormat({useGrouping:i});this.arcgisChartsConfigNumberFormatChange.emit(n)}getUpdatedNumberFormat(t){return{...this.numberFormat,...t}}render(){return o`<div class=${a(s.container)}><calcite-label class=${a(s.label)}>${this._messages.decimalPlaces}<calcite-input type=number class=${a(s.numberInput)} min=0 max=20 step=1 .value=${v(this.numberFormat?.maximumFractionDigits,2)} @calciteInputInput=${this.onDecimalPlacesChange} ${g(this.decimalPlacesInputElement)}></calcite-input></calcite-label><calcite-label layout=inline-space-between class=${a(s.label)}>${this._messages.showThousandSeparators}<calcite-switch name=useGrouping .checked=${!!(this.numberFormat?.useGrouping??!0)} @calciteSwitchChange=${this.onShowThousandsSeparatorChange}></calcite-switch></calcite-label></div>`}};d("arcgis-charts-config-number-format",c);return c},c,e,f)
2
+ import f from"./MTUZLTGA.js";import"./DPJE33GY.js";import{a as b}from"./2FDEHI6Q.js";import e from"./X2AD4Y2B.js";import"./UG7LOBJE.js";import c from"./5J63XNDL.js";import"./4B3QBH5T.js";import"./V2AGS53C.js";import"./KUVOINJC.js";import"./NKG4FLLR.js";import{A as a,F as d,g as l,h as o,m as u,x as h,y as g,z as p}from"./V6K2ZIH3.js";import"./OR4HXHSY.js";export default $arcgis.t(([,,{f:f,g:v,h:r,i:m}])=>{var s={container:"container",label:"label",numberInput:"number-input"},x=l`.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)}.container{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));margin-top:.5rem}.container>.number-input{margin-bottom:.5rem;display:flex}.container>.number-input>div{width:100%}.label{display:flex;margin-bottom:.5rem;justify-content:space-between}`,c=class extends p{constructor(){super(...arguments),this._messages=b(),this.decimalPlacesInputElement=h(),this.arcgisChartsConfigNumberFormatChange=u()}static{this.properties={messageOverrides:0,numberFormat:0}}static{this.styles=x}onDecimalPlacesChange(){let t=this.decimalPlacesInputElement.value?.value,i=Math.floor(Number(t)),n=i===Number(t)&&i>=0;if(t!==void 0&&n&&f(t,this.decimalPlacesInputElement.value?.min,this.decimalPlacesInputElement.value?.max)){let F=Number.parseInt(t),e={minimumFractionDigits:this.numberFormat?.minimumFractionDigits,maximumFractionDigits:F};e.maximumFractionDigits!==void 0&&e.minimumFractionDigits!==void 0&&e.minimumFractionDigits>e.maximumFractionDigits&&(e.minimumFractionDigits=e.maximumFractionDigits);let C=this.getUpdatedNumberFormat(e);this.arcgisChartsConfigNumberFormatChange.emit(C),this.decimalPlacesInputElement.value&&r({inputElement:this.decimalPlacesInputElement.value,status:m.IDLE})}else this.decimalPlacesInputElement.value&&r({inputElement:this.decimalPlacesInputElement.value,status:m.INVALID})}onShowThousandsSeparatorChange(t){let i=t.target.checked,n=this.getUpdatedNumberFormat({useGrouping:i});this.arcgisChartsConfigNumberFormatChange.emit(n)}getUpdatedNumberFormat(t){return{...this.numberFormat,...t}}render(){return o`<div class=${a(s.container)}><calcite-label class=${a(s.label)}>${this._messages.decimalPlaces}<calcite-input type=number class=${a(s.numberInput)} min=0 max=20 step=1 .value=${v(this.numberFormat?.maximumFractionDigits,2)} @calciteInputInput=${this.onDecimalPlacesChange} ${g(this.decimalPlacesInputElement)}></calcite-input></calcite-label><calcite-label layout=inline-space-between class=${a(s.label)}>${this._messages.showThousandSeparators}<calcite-switch name=useGrouping .checked=${!!(this.numberFormat?.useGrouping??!0)} @calciteSwitchChange=${this.onShowThousandsSeparatorChange}></calcite-switch></calcite-label></div>`}};d("arcgis-charts-config-number-format",c);return c},c,e,f)