@arcgis/charts-components 5.2.0-next.25 → 5.2.0-next.27

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/{MVNNQWQB.js → 2CCG5VRK.js} +1 -1
  2. package/dist/cdn/{JF7YQCM6.js → 2VERKODU.js} +1 -1
  3. package/dist/cdn/{2V4LOGZL.js → 3FDSEXHU.js} +1 -1
  4. package/dist/cdn/{DNSJAZKI.js → 3HT2XHTE.js} +1 -1
  5. package/dist/cdn/{BFIXNPQC.js → 3M2I2DRI.js} +1 -1
  6. package/dist/cdn/{U6MMH2LR.js → 3QFCHMXP.js} +1 -1
  7. package/dist/cdn/4UG5VYOC.js +2 -0
  8. package/dist/cdn/{YL45GUSC.js → 4X7O5PV4.js} +1 -1
  9. package/dist/cdn/{NUIBH3VT.js → 525WSDKI.js} +1 -1
  10. package/dist/cdn/{NOAJPX72.js → 54F7CW76.js} +1 -1
  11. package/dist/cdn/{L6NNUSXU.js → 54UV746F.js} +1 -1
  12. package/dist/cdn/{GOZIQ6A2.js → 5LVCC5LO.js} +1 -1
  13. package/dist/cdn/{ZERRCOSM.js → 6E2WAXRT.js} +1 -1
  14. package/dist/cdn/{LZMLIBIH.js → 6EX4GDM3.js} +1 -1
  15. package/dist/cdn/{5VQQA6MA.js → 6N4SYUQV.js} +1 -1
  16. package/dist/cdn/{S4SG2V5X.js → 6OC4X4GP.js} +1 -1
  17. package/dist/cdn/6WZLNZJI.js +2 -0
  18. package/dist/cdn/{XST7FY7F.js → 7UMBIDWG.js} +1 -1
  19. package/dist/cdn/{NUK4NPOT.js → 7ZQHAWKS.js} +1 -1
  20. package/dist/cdn/{YPRIULPN.js → A3DHDZLR.js} +1 -1
  21. package/dist/cdn/{IOAD36KI.js → ATQN27OC.js} +1 -1
  22. package/dist/cdn/BFVFX476.js +3 -0
  23. package/dist/cdn/{S6SBVFMN.js → BRG2PBG4.js} +1 -1
  24. package/dist/cdn/{RAUYMTSM.js → CEBE6KZ5.js} +1 -1
  25. package/dist/cdn/{GQK23IL4.js → CTTLJGLV.js} +1 -1
  26. package/dist/cdn/{O6CSF6KG.js → D2LXXBP5.js} +1 -1
  27. package/dist/cdn/{NDBH7YLO.js → DEN7277X.js} +1 -1
  28. package/dist/cdn/{6VDLIICW.js → DINELIBX.js} +1 -1
  29. package/dist/cdn/{CTXTTI3G.js → DL77MIWY.js} +1 -1
  30. package/dist/cdn/{QUR7IUKK.js → E4OZ432W.js} +1 -1
  31. package/dist/cdn/{C3MXUPEW.js → EA7AXGJI.js} +1 -1
  32. package/dist/cdn/{LVSNOD77.js → EJEUMMWZ.js} +1 -1
  33. package/dist/cdn/{APNALJWN.js → F5NJPXUK.js} +1 -1
  34. package/dist/cdn/{QSH4RLKM.js → FAOLLBXF.js} +1 -1
  35. package/dist/cdn/{XX6OXKZK.js → FSJ6RT4T.js} +1 -1
  36. package/dist/cdn/{GZU5HJCQ.js → FVGXWZBY.js} +1 -1
  37. package/dist/cdn/{GP5MHPDX.js → H4VTKKBN.js} +1 -1
  38. package/dist/cdn/{NNP7U57T.js → HFCAMEBX.js} +1 -1
  39. package/dist/cdn/{WHBJYAT4.js → HOZ4AHQR.js} +1 -1
  40. package/dist/cdn/{G5TRNV2I.js → HWUT7IFD.js} +1 -1
  41. package/dist/cdn/{KXKOTDCQ.js → HYDDSP4M.js} +1 -1
  42. package/dist/cdn/{UV5LIHCE.js → I4CGHGFK.js} +1 -1
  43. package/dist/cdn/{QQSX47ZE.js → I4NVKM3H.js} +1 -1
  44. package/dist/cdn/{TLP2PMYA.js → ICFXSFV6.js} +1 -1
  45. package/dist/cdn/{3XMGXTZB.js → JAJUMMUL.js} +1 -1
  46. package/dist/cdn/{5M57QONK.js → JIHUDUXV.js} +1 -1
  47. package/dist/cdn/{ZX4AZXEF.js → JPNGKMXS.js} +1 -1
  48. package/dist/cdn/{J72BLOD2.js → K2H47DLO.js} +1 -1
  49. package/dist/cdn/{YNHUPD3J.js → K473JQIX.js} +1 -1
  50. package/dist/cdn/{T5NY73Y2.js → LLICYFCD.js} +1 -1
  51. package/dist/cdn/{CU56A45C.js → MMPHPV2C.js} +1 -1
  52. package/dist/cdn/{6UVZ3NXS.js → MP4N4SFB.js} +1 -1
  53. package/dist/cdn/{KOKJLIPK.js → ODTCEPEL.js} +1 -1
  54. package/dist/cdn/{W6CKM3J3.js → OOVQ6IVC.js} +1 -1
  55. package/dist/cdn/{YPFJW7NS.js → OPMJTZOV.js} +1 -1
  56. package/dist/cdn/{XNJIGVQJ.js → OZEARYZA.js} +1 -1
  57. package/dist/cdn/{LHGLUPW5.js → PA5GXXDY.js} +1 -1
  58. package/dist/cdn/{KCJKQ44K.js → PHAOZ7SV.js} +1 -1
  59. package/dist/cdn/{OLPU6MNA.js → POPYMWVR.js} +1 -1
  60. package/dist/cdn/{FP72YYAO.js → Q5VREFP6.js} +1 -1
  61. package/dist/cdn/{MSN54T3T.js → QGJNZGQX.js} +1 -1
  62. package/dist/cdn/{OFP7FIPS.js → R4F7L2HV.js} +1 -1
  63. package/dist/cdn/{NNP5LCX5.js → RFU52ORA.js} +1 -1
  64. package/dist/cdn/{OQWDZSTM.js → RKZ2IOOP.js} +1 -1
  65. package/dist/cdn/{KXGVMPQJ.js → RMF3UYFS.js} +1 -1
  66. package/dist/cdn/{G7SXRDMI.js → S44GNLAE.js} +1 -1
  67. package/dist/cdn/{F2N6CMAL.js → S6MDSIET.js} +1 -1
  68. package/dist/cdn/SBP4RBXK.js +4 -0
  69. package/dist/cdn/{MDMUNG7R.js → SZ3VH4UZ.js} +1 -1
  70. package/dist/cdn/{A3TAYUWE.js → TR4ULKH5.js} +1 -1
  71. package/dist/cdn/{UYKZWTFH.js → TYJZR25X.js} +1 -1
  72. package/dist/cdn/{7LGIXLPP.js → U35HGES6.js} +1 -1
  73. package/dist/cdn/{WHLDUYAG.js → UU2LYQUI.js} +1 -1
  74. package/dist/cdn/{U7ZGT3IG.js → VQFCYPDR.js} +1 -1
  75. package/dist/cdn/{AQIUPTKW.js → VRF5VORO.js} +19 -19
  76. package/dist/cdn/{FRSKVY2N.js → WF76CIN2.js} +1 -1
  77. package/dist/cdn/{YMFG2IVU.js → WINZ53K3.js} +1 -1
  78. package/dist/cdn/{EUGGSDEV.js → YFYTXRLW.js} +1 -1
  79. package/dist/cdn/{6RD22S75.js → ZO27SWFU.js} +1 -1
  80. package/dist/cdn/index.js +1 -1
  81. package/dist/cdn/model/shared/setup-utils.js +1 -1
  82. package/dist/chunks/heat-chart-model.js +46 -26
  83. package/dist/chunks/index2.js +376 -374
  84. package/dist/chunks/model-with-y-guides.js +6 -6
  85. package/dist/chunks/serial-chart-data.js +63 -62
  86. package/dist/chunks/serial-chart-model.js +107 -92
  87. package/dist/chunks/web-component-utils.js +414 -384
  88. package/dist/components/arcgis-chart/customElement.js +1984 -1980
  89. package/dist/docs/api.json +1 -1
  90. package/dist/docs/docs.json +1 -1
  91. package/dist/docs/web-types.json +1 -1
  92. package/dist/model/heat-chart-model/heat-chart-model.d.ts +22 -0
  93. package/dist/model/mixins/model-with-multi-axes.d.ts +22 -22
  94. package/dist/model/serial-chart-model/serial-chart-model.d.ts +15 -0
  95. package/dist/utils/data/index.d.ts +1 -1
  96. package/package.json +3 -3
  97. package/dist/cdn/3RA3JNKB.js +0 -3
  98. package/dist/cdn/7WMOXCPU.js +0 -2
  99. package/dist/cdn/JGSF55NE.js +0 -2
  100. package/dist/cdn/RBAE74TA.js +0 -4
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import t from"./QUR7IUKK.js";import s from"./RAUYMTSM.js";import r from"./F2N6CMAL.js";import q from"./GP5MHPDX.js";import o from"./XST7FY7F.js";import n from"./JF7YQCM6.js";import l from"./EUGGSDEV.js";import j from"./LVSNOD77.js";import i from"./CU56A45C.js";import g from"./KXKOTDCQ.js";import f from"./WHBJYAT4.js";import e from"./YPFJW7NS.js";import d from"./GZU5HJCQ.js";import c from"./LZMLIBIH.js";import{i as h,j as y,k as p}from"./WNKDEOFZ.js";import a from"./3RA3JNKB.js";import{I as P,K as V,R as D,W as k,aa as E}from"./PAIRUVLU.js";import{l as b}from"./SP2IPHWF.js";import{a as L}from"./QP5UAIC6.js";import{a as w,b as m,f as F}from"./547RDEMV.js";export default $arcgis.t(([{rb:N,s:d},{a:M,b:x,d:I,n:U,o:W,p:j,q:q},{c:o},O,{b:R},{b:Te},{a:le,b:ge,c:ce,d:he},{b:ue,d:Se,f:_e},{b:Fe,d:xe,f:Ie},{d:pe,e:fe},{a:me,b:de},{d:T,e:B,f:z},{b:Be},ye,{a:X,b:Y,c:$,d:G,e:H,f:J,g:K,h:Q,i:Z,j:ee,k:ie,ka:te,l:se,la:u,ma:re,na:S,oa:A,pa:oe,qa:_,sa:C,ta:v,ua:ne,va:ae}])=>{var Ae=(t,e)=>e.series?.[t].assignToSecondValueAxis??!1,Ce=t=>{let{assign:e,seriesIndex:i,config:s,commonStrings:r}=t;e&&s.axes!==void 0&&!s.axes?.[2]&&(s.axes[2]=k(r,w.BarSeries)[1]),s.series&&s.series.forEach((a,c)=>{c===i?a.assignToSecondValueAxis=e:c!==i&&a?.assignToSecondValueAxis!==!0&&(a.assignToSecondValueAxis=!1)}),s.axes?.[2]&&!s.series.some(a=>a.assignToSecondValueAxis)&&s.axes.splice(2,1)},ve=(t,e)=>e.series?.[t]?.name,Oe=(t,e,i)=>{i.series?.[e]&&(i.series[e].name=t)},be=(t,e)=>{let i=e.series?.[t],s;return p(i)?s=i.fillSymbol?.color:h(i)&&(s=i.lineSymbol?.color),s},we=(t,e,i)=>{let s=i.series?.[e];s&&(p(s)?s.fillSymbol={...E(e),...s.fillSymbol,color:t}:h(s)&&(s.lineSymbol={...D(e),...s.lineSymbol,color:t}))},Pe=t=>t.series.map(e=>e.id),Ve=(t,e)=>{e.series?.sort((i,s)=>t.findIndex(r=>i.id===r)-t.findIndex(r=>s.id===r))},De=t=>t.stackedType??F.Side,ke=t=>{let{newStackedType:e,config:i,layerInfo:s,commonStrings:r}=t;if(i.stackedType=e,s!==void 0){let a=x({config:i,layerInfo:s,commonStrings:r,numericFields:S(i),aggregationType:u(i)});M(i,1,a)}i.axes?.[1]&&(e===F.Stacked100?i.axes[1].valueFormat=V():i.axes[1].valueFormat=P()),I({config:i,value:null,axisIndex:1,isMax:!1}),I({config:i,value:null,axisIndex:1,isMax:!0})},Ee=t=>{let e,i=t.series.find(s=>(p(s)||h(s)||y(s))&&s.nullCategory!==void 0);return(p(i)||h(i)||y(i))&&(e=i?.nullCategory),e},Ne=(t,e)=>{t.series.forEach(i=>{(p(i)||h(i)||y(i))&&(i.nullCategory=e)})},Le=Object.defineProperty,Me=Object.getOwnPropertyDescriptor,f=(t,e,i,s)=>{for(var r=Me(e,i),a=t.length-1,c;a>=0;a--)(c=t[a])&&(r=c(e,i,r)||r);return r&&Le(e,i,r),r},g=class extends O{get temporalBinningSize(){return X(this._config)}set temporalBinningSize(e){J(e,this._config)}get temporalBinningUnit(){return Y(this._config)}set temporalBinningUnit(e){Q(e,this._config)}get timeAggregationType(){return $(this._config)}set timeAggregationType(e){Z(e,this._config)}get trimIncompleteTimeInterval(){return G(this._config)}set trimIncompleteTimeInterval(e){ee(e,this._config)}get nullPolicy(){return H(this._config)}set nullPolicy(e){K(e,this._config)}resetTimeInterval(){ie(this._config)}};f([o],g.prototype,"temporalBinningSize");f([o],g.prototype,"temporalBinningUnit");f([o],g.prototype,"timeAggregationType");f([o],g.prototype,"trimIncompleteTimeInterval");f([o],g.prototype,"nullPolicy");f([o],g.prototype,"resetTimeInterval");var Ue=Object.defineProperty,We=Object.getOwnPropertyDescriptor,l=(t,e,i,s)=>{for(var r=We(e,i),a=t.length-1,c;a>=0;a--)(c=t[a])&&(r=c(e,i,r)||r);return r&&Ue(e,i,r),r},n=class extends O{constructor(){super(...arguments),this._xAxisField="",this._aggregationType=m.Count,this._splitByField="",this._numericFields=[]}get xAxisField(){return this._xAxisField}set xAxisField(e){if(this._xAxisField=e,e.trim()===""||e===d){let i=this.numericFields;this.resetConfig(),this.numericFields=i}this.processSeriesRebuild("xAxisField")}get aggregationType(){return this._aggregationType}set aggregationType(e){this._aggregationType=e,oe({aggregationType:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}get splitByField(){return this._splitByField}set splitByField(e){this.layerInfo?.layerFieldsInfo&&W(this.layerInfo?.layerFieldsInfo,e)&&(this._splitByField=e,this.processSeriesRebuild("splitByField"))}get numericFields(){return this._numericFields}set numericFields(e){typeof e=="string"&&(e=[e]);let i=j(this.layerInfo?.layerFieldsInfo??[],e),s=(this.xAxisField===""||this.xAxisField===d)&&e.length===0;if(i&&!s){let r=N(this.layerInfo.layer).idField;e.length===0&&r!==void 0?(e.push(r),this._aggregationType=m.Count):this._aggregationType===m.Count&&e.length>=1&&r!==void 0&&!e.includes(r)&&(this._aggregationType=m.Sum),this._numericFields=e,this.numericFields.length>1&&(this._splitByField=""),this.processSeriesRebuild("numericFields")}else s&&this.resetConfig()}getAssignToSecondValueAxis(e){return Ae(e,this._config)}setAssignToSecondValueAxis(e,i){Ce({assign:e,seriesIndex:i,config:this._config,commonStrings:this.commonStrings})}getSortOrder(){return A(this._config)[0]}setSortOrder(e,i){B(e,this._config,i)}async getCustomSortValues(){return await v({config:this._config,layerInfo:this.layerInfo,errorStrings:this.commonStrings?.errorStrings})}async setDataFilters(e){super.setDataFilters(e);let i=A(this._config)[0];if(i===L.customSort){this.startAsyncUpdate();let s=await v({config:this._config,layerInfo:this.layerInfo,errorStrings:this.commonStrings?.errorStrings});B(i,this._config,s),this.finishAsyncUpdate()}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get orderByList(){return T(this._config)}set orderByList(e){!R(this._config)&&C(e,this._config)}updateSeriesFromLayerFilter(){this.layerInfo!==void 0&&_(this.getBuildNewSeriesProps())}get binTemporalData(){return ne(this._config)}set binTemporalData(e){ae(e,this._config)}getSeriesName(e){return ve(e,this._config)}setSeriesName(e,i){Oe(e,i,this._config)}getSeriesColor(e){return be(e,this._config)}setSeriesColor(e,i){we(e,i,this._config)}getOrderOfSeries(){return Pe(this._config)}setOrderOfSeries(e){Ve(e,this._config)}get stackedType(){return De(this._config)}set stackedType(e){ke({newStackedType:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}moveSeries(e,i){let s=this.getOrderOfSeries(),[r]=s.splice(e,1);s.splice(i,0,r),this.setOrderOfSeries(s)}moveCustomSortValuesInOrderByList(e,i){let s=T(this._config),[r]=s.splice(e,1);s.splice(i,0,r),C(s,this._config)}get nullCategory(){return Ee(this._config)}set nullCategory(e){let i=this.nullCategory;b(i,e)||Ne(this._config,e)}setupLocalProps(){this._xAxisField=z(this._config),this._aggregationType=u(this._config),this._splitByField=re(this._config),this._numericFields=S(this._config)}resetConfig(){let e=this._config.id;this._config=this.generateDefaultConfig(),this._config.id=e,this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}usingSplitBy(){return this.splitByField!==""&&this.numericFields.length<=1}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(){return this.splitByFieldInfos=await U({config:this._config,layer:this.layerInfo.layer,layerFieldsInfo:this.layerInfo.layerFieldsInfo,xAxisField:this._xAxisField!==d?this._xAxisField:void 0,splitByField:this._splitByField,fetchNullValues:this._config?.series?.[0]?.query?.fetchNullValues,errorStrings:this.commonStrings?.errorStrings}),this.splitByFieldInfos}getBuildNewSeriesProps(){return{xAxisFieldName:this._xAxisField,splitByField:this._splitByField,numericFields:this._numericFields,aggregationType:this._aggregationType,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings,splitByFieldInfos:this.splitByFieldInfos}}generateChartTitle(){return this.layerInfo!==void 0?te(this._config,this.layerInfo,this.commonStrings):""}generateYAxisTitle(){return this.layerInfo!==void 0?x({config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings,numericFields:S(this._config),aggregationType:u(this._config)}):""}};l([o],n.prototype,"aggregationType");l([o],n.prototype,"setAssignToSecondValueAxis");l([o],n.prototype,"setSortOrder");l([o],n.prototype,"setDataFilters");l([o],n.prototype,"orderByList");l([o],n.prototype,"binTemporalData");l([o],n.prototype,"setSeriesName");l([o],n.prototype,"setSeriesColor");l([o],n.prototype,"setOrderOfSeries");l([o],n.prototype,"stackedType");l([o],n.prototype,"moveSeries");l([o],n.prototype,"moveCustomSortValuesInOrderByList");l([o],n.prototype,"nullCategory");l([o],n.prototype,"resetConfig");var je=[me,le,ge,ce,Be,he,Te,ye,de,g,Fe,pe,xe,fe,ue,Se,_e,Ie,se];q(n,je);return{a:ve,b:Oe,c:we,d:n}},a,c,d,e,f,g,i,j,l,n,o,q,r,s,t)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import t from"./7WMOXCPU.js";import s from"./QUR7IUKK.js";import q from"./RAUYMTSM.js";import p from"./F2N6CMAL.js";import o from"./GP5MHPDX.js";import n from"./XST7FY7F.js";import m from"./JF7YQCM6.js";import l from"./EUGGSDEV.js";import k from"./LVSNOD77.js";import"./THTYR6IL.js";import j from"./CU56A45C.js";import i from"./KXKOTDCQ.js";import h from"./WHBJYAT4.js";import g from"./YPFJW7NS.js";import f from"./OQWDZSTM.js";import"./Y7HBWU3M.js";import e from"./GZU5HJCQ.js";import d from"./W6CKM3J3.js";import b from"./LZMLIBIH.js";import"./WNKDEOFZ.js";import a from"./3RA3JNKB.js";import"./EZV7JSQJ.js";import{r as S}from"./3TBK72EK.js";import{pa as _}from"./PAIRUVLU.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./IHHPUKGG.js";import"./RIM4HLHN.js";import"./KDJ5RVHA.js";import{c as r}from"./QP5UAIC6.js";import"./XJFVSX2E.js";import{a as u,b as c}from"./547RDEMV.js";import"./U67P6YAZ.js";export default $arcgis.t(([{rb:l},,,{c:i},,,,,,,,,,{e:y},,,{$:Q,A:v,B:L,C:b,D:R,E:w,F:D,G:I,H:P,I:k,J:B,K:N,L:U,M:W,N:E,O:h,P:f,Q:M,R:Y,S:G,T:H,U:V,V:X,W:j,X:Z,Y:q,Z:J,_:K,aa:$,ba:z,ca:tt,da:et,ea:it,fa:st,ga:ot,ha:rt,ia:nt,ja:at,ka:gt,oa:m,u:C,v:T,w:A,x:F,y:O,z:x},{a:pt,b:ct,d:lt}])=>{var yt=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,s=(p,t,o,a)=>{for(var n=ht(t,o),g=p.length-1,d;g>=0;g--)(d=p[g])&&(n=d(t,o,n)||n);return n&&yt(t,o,n),n},e=class extends lt{constructor(){super(...arguments),this._chartType=u.HeatSeries}generateChartTitle(){return this.layerInfo!==void 0?gt(this._config,this.layerInfo,this.commonStrings):""}generateYAxisTitle(){let t=this.yTemporalBinning?.unit;return t!==void 0?this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[t]:""}get layer(){return super.layer}async setup(t){await this.loadConfigFromLayer(t),this.setupLocalProps(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get yAxisField(){return L(this._config)}set yAxisField(t){v({yField:t,config:this._config,layerInfo:this.layerInfo})}get viewType(){return K(this._config)}set viewType(t){this.guardSetterFromAsyncOverwrite(()=>{Q(t,this._config),this.emitConfigUpdate("heatChartViewType")})}get xTemporalBinning(){return R(this._config)}set xTemporalBinning(t){b({commonStrings:this.commonStrings,binning:t,config:this._config})}get yTemporalBinning(){return D(this._config)}set yTemporalBinning(t){w({commonStrings:this.commonStrings,binning:t,config:this._config})}get breaksCount(){return $(this._config)}set breaksCount(t){this.guardSetterFromAsyncOverwrite(()=>{z(t,this._config),this.emitConfigUpdate("breaksCount")})}get classificationMethod(){return tt(this._config)}set classificationMethod(t){this.guardSetterFromAsyncOverwrite(()=>{t&&(et(t,this._config),this.emitConfigUpdate("classificationMethod"))})}get colorRampName(){return ot(this._config)}set colorRampName(t){rt(t,this._config)}get isColorRampFlipped(){return nt(this._config)}set isColorRampFlipped(t){at(t,this._config)}get hideEmptyRowsAndColumns(){return C(this._config)}set hideEmptyRowsAndColumns(t){T(this._config,t)}get gridLineWidth(){return P(this._config)}set gridLineWidth(t){I(t,this._config)}get gridLineColor(){return B(this._config)}set gridLineColor(t){k(t,this._config)}get seriesName(){return pt(0,this._config)}set seriesName(t){typeof t=="string"&&ct(t,0,this._config)}get heatRulesType(){return F(this._config)}set heatRulesType(t){A(this._config,t)}get gradientRules(){return x(this._config)}set gradientRules(t){O(this._config,t)}getGridLinesSymbol(){return this._config.series?.[0]?.gridLine}setGridLinesSymbol(t){this._config.series?.[0]&&(this._config.series[0].gridLine=t)}get numericFields(){let t=W(this._config);return t!==void 0?[t]:[]}set numericFields(t){let{idField:o}=l(this.layerInfo.layer),a=S(t[0]),n=a?o:t[0];E({field:n,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings});let g=h(this._config);a&&g!==c.Count&&f({aggregationType:c.Count,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}get aggregationType(){return h(this._config)}set aggregationType(t){f({aggregationType:t,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}get splitByField(){return""}set splitByField(t){}get legendPosition(){return U(this._config)}set legendPosition(t){N(t,this._config)}get nullPolicy(){return M(this._config)}set nullPolicy(t){Y(t,this._config)}get emptyCell(){return G(this._config)}set emptyCell(t){this.guardSetterFromAsyncOverwrite(()=>{H(t,this._config),this.emitConfigUpdate("emptyCell")})}getSortOrder(){return r.Asc}setSortOrder(t,o){}getXAxisSortOrder(){let t=m(this._config)[0];return t===r.Asc||t===r.Desc||t===r.customSort?t:r.Asc}setXAxisSortOrder(t,o){y(t,this._config,o)}getYAxisSortOrder(){let t=m(this._config)[1];return t===r.Asc||t===r.Desc||t===r.customSort?t:r.Asc}setYAxisSortOrder(t,o){y(t,this._config,o,!0)}get emptyCellText(){return V(this._config)}set emptyCellText(t){X(t,this._config)}get includeLeapDay(){return j(this._config)}set includeLeapDay(t){this.guardSetterFromAsyncOverwrite(()=>{Z(t,this._config),this.emitConfigUpdate("includeLeapDay")})}get firstDayOfWeek(){return st(this._config)}set firstDayOfWeek(t){this.guardSetterFromAsyncOverwrite(()=>{it(t,this._config),this.emitConfigUpdate("firstDayOfWeek")})}get emptyCellSymbol(){return q(this._config)}set emptyCellSymbol(t){J(t,this._config)}get rotated(){return!1}set rotated(t){}setAssignToSecondValueAxis(t,o){}set stackedType(t){}set binTemporalData(t){}set nullCategory(t){}generateDefaultConfig(){let t=_(this.commonStrings,l(this.layerInfo.layer).idField);return t.axes?.forEach((o,a)=>{o&&(o.valueFormat={intlOptions:{timeZone:void 0,dateStyle:a>0?"long":"medium"},type:"date"})}),t}};s([i],e.prototype,"yAxisField");s([i],e.prototype,"xTemporalBinning");s([i],e.prototype,"yTemporalBinning");s([i],e.prototype,"colorRampName");s([i],e.prototype,"isColorRampFlipped");s([i],e.prototype,"hideEmptyRowsAndColumns");s([i],e.prototype,"gridLineWidth");s([i],e.prototype,"gridLineColor");s([i],e.prototype,"seriesName");s([i],e.prototype,"heatRulesType");s([i],e.prototype,"gradientRules");s([i],e.prototype,"setGridLinesSymbol");s([i],e.prototype,"numericFields");s([i],e.prototype,"aggregationType");s([i],e.prototype,"splitByField");s([i],e.prototype,"legendPosition");s([i],e.prototype,"nullPolicy");s([i],e.prototype,"setSortOrder");s([i],e.prototype,"setXAxisSortOrder");s([i],e.prototype,"setYAxisSortOrder");s([i],e.prototype,"emptyCellText");s([i],e.prototype,"firstDayOfWeek");s([i],e.prototype,"emptyCellSymbol");s([i],e.prototype,"rotated");s([i],e.prototype,"setAssignToSecondValueAxis");s([i],e.prototype,"stackedType");s([i],e.prototype,"binTemporalData");s([i],e.prototype,"nullCategory");return e},a,b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,s,t)
@@ -1,4 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{i as ve}from"./IVLVCLDE.js";import{c as W}from"./AK7X7SGI.js";import g from"./QUR7IUKK.js";import f from"./G5TRNV2I.js";import e from"./MSN54T3T.js";import d from"./NOAJPX72.js";import c from"./GP5MHPDX.js";import b from"./OQWDZSTM.js";import a from"./3RA3JNKB.js";import{c as D,d as y,r as V}from"./3TBK72EK.js";import{Ba as le,Ca as Y,Ea as O,Fa as ne,p as N,q as E}from"./PAIRUVLU.js";import{a as ie}from"./KX7KGXKQ.js";import{e as w,l as re,m as U,s as J}from"./SP2IPHWF.js";import{e as Q}from"./QP5UAIC6.js";import{a as oe}from"./XJFVSX2E.js";import{a as C,l as P}from"./547RDEMV.js";export default $arcgis.t(([{B:B,J:se,La:de,T:T,a:K,ic:I,rb:fe,tb:ce,wa:ue,zb:me},{c:G},{f:ye,g:_},{k:q,l:H,m:X,x:be},{b:ge},{a:xe,c:pe,d:Le},{la:ee,ma:Fe,na:te}])=>{function De(l){let{hour:e,minute:t=0,format:r,locale:a="en-US"}=l,o=r&&Object.keys(r).length>0?r:{hour:"numeric",minute:"2-digit",hour12:!1},i=e.toString();if(Number.isInteger(e)&&e>=0&&e<=23&&Number.isInteger(t)&&t>=0&&t<=59){let n=new Date(2e3,0,1,e,t);i=new Intl.DateTimeFormat(a,o).format(n),i.includes(":")||i.startsWith("0")&&(i=i.slice(1))}return i}function he(l){let{weekdayNumber:e,format:t,locale:r="en-US",firstDayOfWeek:a=7}=l,o=t&&Object.keys(t).length>0?t:{weekday:"long"},i=e.toString();if(Number.isInteger(e)&&e>0&&e<=7&&Number.isInteger(a)&&a>0&&a<=7){let n=(e+a-1)%7,s=new Date(2e3,0,2+n);i=new Intl.DateTimeFormat(r,o).format(s)}return i}function Ce(l){let{monthNumber:e,format:t,locale:r="en-US"}=l,a=t&&Object.keys(t).length>0?t:{month:"long"},o=e.toString();if(Number.isInteger(e)&&e>0&&e<=12){let i=new Date(2e3,e-1);o=new Intl.DateTimeFormat(r,a).format(i)}return o}function we(l){let{value:e,formatLocale:t,unit:r,config:a,utilsStrings:o}=l,i={label:"",value:e.toString()};switch(r){case P.DayOfWeek:i={label:o.heatChartCalendarDatePartsUnits.dayOfWeek,value:he({weekdayNumber:e,firstDayOfWeek:"firstDayOfWeek"in a?a.firstDayOfWeek:ne,locale:t})};break;case P.MonthOfYear:i={label:o.heatChartCalendarDatePartsUnits.monthOfYear,value:Ce({monthNumber:e,locale:t})};break;case P.HourOfDay:i={label:o.heatChartCalendarDatePartsUnits.hourOfDay,value:De({hour:e,format:{hour:"numeric",hour12:!1},locale:t})};break;case P.DayOfMonth:i={label:o.heatChartCalendarDatePartsUnits.dayOfMonth,value:typeof e=="string"?e:e?.toString()??""};break;case P.DayOfYear:i={label:o.heatChartCalendarDatePartsUnits.dayOfYear,value:typeof e=="string"?e:e?.toString()??""};break;case P.MinuteOfDay:i={label:o.heatChartCalendarDatePartsUnits.minuteOfDay,value:typeof e=="string"?e:e?.toString()??""};break;case P.WeekOfYear:i={label:o.heatChartCalendarDatePartsUnits.weekOfYear,value:typeof e=="string"?e:e?.toString()??""};break;case P.QuarterOfYear:i={label:o.heatChartCalendarDatePartsUnits.quarterOfYear,value:typeof e=="string"?e:e?.toString()??""};break}return i}function Oe(l,e){return!re(l,e)}function st(l,e){return Oe(l,e)||l!==e}function ke(l){return(new Intl.NumberFormat(l,{minimumFractionDigits:1,maximumFractionDigits:1}).formatToParts(1.1).find(e=>e.type==="decimal")?.value??".")==="."?",":";"}function $e(l){return new Intl.NumberFormat(l,{minimumFractionDigits:1,maximumFractionDigits:1}).formatToParts(1.1).find(e=>e.type==="decimal")?.value??"."}var Be=l=>{let{value:e,quoteAll:t=!1,locale:r,roundDecimals:a}=l,o=e==null?"":String(e);if(e===null)o="null";else if(e===void 0)o="";else if(typeof e=="number"&&Number.isFinite(e)&&r!==void 0){let i=$e(r),n=a??o.split(i)[1]?.length??2;o=new Intl.NumberFormat(r,{maximumFractionDigits:n}).format(e).replace(/\u202F/gu," ")}return(t||/[",\r\n]/u.test(o))&&(o=`"${o.replace(/"/gu,'""')}"`),o};function ut(l,e={}){let{columns:t,delimiter:r,includeHeader:a=!0,quoteAll:o=!1,locale:i,roundDecimals:n}=e,s=l.length===0,d="";if(!s){let u=t??Object.keys(l[0]),p=[],F=r??ke(i??"en");if(i!==void 0&&F!==","&&(d+=`sep=${F}\r
3
- `),a){let L=u.map(b=>Be({value:b,quoteAll:o,locale:i,roundDecimals:n}));p.push(L.join(F))}l.forEach(L=>{let b=u.map(g=>Be({value:L[g],quoteAll:o,locale:i,roundDecimals:n}));p.push(b.join(F))}),d+=p.join(`\r
4
- `)}return d}function dt(l){let{rawData:e,config:t,layer:r,fieldList:a,formatters:o,useRendererLabel:i,formatLocale:n,utilsStrings:s}=l,d=[];if(t!==void 0&&Array.isArray(e)&&e.length>0){let u=oe(t?.series);u===C.HistogramSeries?d=Ve(t,e,o):u===C.HeatSeries?d=Re({config:t,rows:e,layer:r,fieldList:a,formatLocale:n,utilsStrings:s}):u===C.BarSeries||u===C.LineSeries||u===C.ComboLineAndBarSeries?d=Ie({config:t,rows:e,layer:r,fieldList:a,formatters:o,useRendererLabel:i}):u===C.PieSeries?d=Ue({config:t,rows:e,layer:r,fieldList:a,formatters:o,useRendererLabel:i}):u===C.BoxPlotSeries&&(d=Ye({config:t,rows:e,layer:r,fieldList:a,formatters:o,useRendererLabel:i}))}return d}function S(l){let{value:e,originalValue:t,formatter:r}=l,a=e;return r!==void 0&&(e===null||e instanceof Date||typeof e=="number"||typeof e=="string")&&(a=r(e,t)),a}function $(l){let{field:e,value:t,dataContext:r,layer:a,fieldList:o,formatter:i}=l,n;if(t==null||typeof t=="boolean"||Array.isArray(t))n=t;else if(typeof t=="string"||typeof t=="number"||t instanceof Date){let s=Ne({fieldName:e,dataContext:r})??(a!==void 0&&(typeof t=="string"||typeof t=="number")?me({queryObject:a,fieldName:e,fieldValue:t}):void 0);n=Pe({field:e,value:s??t,fieldList:o})}else n=t;return S({value:n,originalValue:t,formatter:i})}function k(l){let{field:e,row:t,layer:r,fieldList:a,formatter:o,useRendererLabel:i=!1}=l,n=Object.keys(t).find(u=>u.toLocaleLowerCase()===e.toLocaleLowerCase()),s=t[n??e],d=ue({value:s,dataContext:t,useRendererLabel:i});return $({field:e,value:d,dataContext:t,layer:r,fieldList:a,formatter:o})}function Me(l,e){let t=!1;if(l===e)t=!0;else if(l!=null&&e!=null){let r=String(l),a=String(e);t=r===a||!Number.isNaN(Number(r))&&!Number.isNaN(Number(a))&&Number(r)===Number(a)}return t}function Ne(l){let{fieldName:e,dataContext:t}=l,r=D.rendererSymbolField;return e===r&&t!==void 0?de(t):void 0}function Se(l){let{config:e,splitByField:t,splitByValue:r,splitByValueIndex:a,layer:o,fieldList:i}=l,n,s=e.series[a??-1]?.name;return s!==void 0?n=s:n=$({field:t,value:r,layer:o,fieldList:i}),n}function Re(l){let{config:e,rows:t,layer:r,fieldList:a,formatLocale:o,utilsStrings:i}=l,[n]=e.series,s=n.x,d=ee(e),u=te(e),p=_({config:e,xAxisField:s,numericFields:u,aggregationType:d,layer:r,fieldList:a});return t.map(F=>{let L=F[E.xField],b=F[E.yField],g=F[E.valueField],f=typeof g=="number"&&Number.isFinite(g)?g.toFixed(2):g,c={label:n.x,value:L},m={label:n.y,value:b};if(n.xTemporalBinning!==void 0){let{label:x,value:v}=we({value:Number(L),config:e,formatLocale:o,unit:n.xTemporalBinning.unit,utilsStrings:i});!V(x)&&!V(v)&&(c={label:x,value:v})}if(n.yTemporalBinning!==void 0){let{label:x,value:v}=we({value:Number(b),config:e,formatLocale:o,unit:n.yTemporalBinning.unit,utilsStrings:i});!V(x)&&!V(v)&&(m={label:x,value:v})}return{[c.label]:c.value,[m.label]:m.value,[p.description]:f}})}function Ve(l,e,t){let r=ge(l),a=`${w(W.Min)} of ${r}`,o=`${w(W.Max)} of ${r}`,i=`${w(W.Count)} of ${r}`;return e.map(n=>{let{minValue:s,maxValue:d,count:u}=n,p=U(s),F=U(d),L=U(u),b={};if(p&&(b[a]=S({value:s,originalValue:s,formatter:t?.xAxisLabelFormatter})),F&&(b[o]=S({value:d,originalValue:d,formatter:t?.xAxisLabelFormatter})),p&&F){let g=S({value:s,originalValue:s,formatter:t?.xAxisLabelFormatter}),f=S({value:d,originalValue:d,formatter:t?.xAxisLabelFormatter});b.Label=`${String(g??"")} - ${String(f??"")}`}return L&&(b[i]=u),b})}function Te(l,e,t){let r=Object.keys(l),a=[];return t?a=t.map(o=>r.find(i=>i.toLowerCase().includes(o.toLowerCase()))||""):a=r.filter(o=>o.toLowerCase().includes(e.toLowerCase())),a.filter(o=>o.trim()!=="")}function Ie(l){let{config:e,rows:t,layer:r,fieldList:a,formatters:o,useRendererLabel:i=!1}=l,n=ye(e),s=ee(e),d=w(s),u=te(e),p=T(e.series),F=G(e),L=Fe(e),{idField:b,isTraditionalTypeOID:g}=fe(se(r)),f=g&&u.length===1&&u[0]===b,c;switch(p){case y.BarAndLineNoAggregation:c=t.map(m=>{let x=k({field:n,row:m,layer:r,fieldList:a,formatter:o?.xAxisLabelFormatter,useRendererLabel:i}),v={[n]:x};return Object.assign(v,...u.map(A=>({[A]:S({value:m[A],originalValue:m[A]})}))),v});break;case y.BarAndLineFromFields:c=J(u,t).map(([m,x])=>{let v=I(e.series)[0],A={};return x!==void 0&&m!==void 0&&(A.Field=S({value:x[n],originalValue:x[n],formatter:o?.xAxisLabelFormatter}),A.Value=S({value:x[v],originalValue:x[v]})),A});break;case y.BarAndLineMonoField:case y.BarAndLineMultiFields:c=t.map(m=>{let x=k({field:n,row:m,layer:r,fieldList:a,formatter:o?.xAxisLabelFormatter,useRendererLabel:i}),v={[n]:x};return u.forEach((A,h)=>{let M=_({config:e,xAxisField:n,numericFields:u,aggregationType:s,layer:r,numericFieldIndex:h,fieldList:a}),R=I(e.series)[h],ae=R,Z=R;R.toLowerCase()===M.name.toLowerCase()&&(ae=M.description,Z=M.name),v[ae]=S({value:m[Z],originalValue:m[Z]})}),v});break;case y.BarAndLineSplitBy:c=t.flatMap(m=>{let x=I(e.series),v=k({field:n,row:m,layer:r,fieldList:a,formatter:o?.xAxisLabelFormatter,useRendererLabel:i});return F.map((A,h)=>{let M=Se({config:e,splitByField:L,splitByValue:A,splitByValueIndex:h,layer:r,fieldList:a});return{[n]:v,[L]:M,[f?d:`${d} of ${u[0]}`]:m[x[h]]}})});break;case y.BarAndLineSplitByNoAggregation:c=t.map(m=>{let x=k({field:n,row:m,layer:r,fieldList:a,formatter:o?.xAxisLabelFormatter,useRendererLabel:i}),v=Te(m,u[0],F),A=m[L],h=F.findIndex(R=>Me(R,A)),M=Se({config:e,splitByField:L,splitByValue:A,splitByValueIndex:h>=0?h:void 0,layer:r,fieldList:a});return{[n]:x,[L]:M,[u[0]]:m[v[0]]}});break;default:c=t}return c}function je(l){if(l.length===0)return[];let e=l.reduce((t,r)=>{for(let[a,o]of Object.entries(r))typeof o=="number"&&Number.isFinite(o)&&(t[a]=(t[a]??0)+o);return t},{});return l.map(t=>{let r={...t};for(let[a,o]of Object.entries(t))if(typeof o=="number"&&e[a]>0){let i=o/e[a];r[`${a}${O}`]=i.toPrecision(2)}return r})}function Ue(l){let{config:e,rows:t,layer:r,fieldList:a,formatters:o,useRendererLabel:i=!1}=l,n=xe(e),s=T(e.series),d=je(t),u=pe(e),p=s!==y.PieFromFields?Q.Category:Q.Fields,F=Le(e,p),L=_({config:e,xAxisField:n,numericFields:u,aggregationType:F,mode:p,layer:r,fieldList:a}),b=I(e.series)[0];return s===y.PieFromCategory||s===y.PieNoAggregation?d=d.map(g=>{let f=k({field:n,row:g,layer:r,fieldList:a,formatter:o?.xAxisLabelFormatter,useRendererLabel:i}),c={[n]:f},m=b,x=b;return s===y.PieFromCategory&&b.toLowerCase()===L.name.toLowerCase()&&(m=L.description,x=L.name),c[m]=S({value:g[x],originalValue:g[x]}),c[w(O.trim())]=S({value:g[`${x}${O}`],originalValue:g[`${x}${O}`]}),c}):s===y.PieFromFields&&(d=J(u,d).map(([g,f])=>{let c={};return f!==void 0&&g!==void 0&&(c.Field=S({value:f[n],originalValue:f[n],formatter:o?.xAxisLabelFormatter}),c.Value=S({value:f[b],originalValue:f[b]}),c[w(O.trim())]=S({value:f[`${b}${O}`],originalValue:f[`${b}${O}`]})),c})),d}function z(l){let{rawData:e,keyBase:t="",outRow:r}=l;for(let[a,o]of Object.entries(B)){let i=e[t+o];i!==void 0&&(r[a]=i);let n=e[t+o+le];n!==void 0&&(r[`${a} Outlier`]=n);let s=e[t+o+Y];s!==void 0&&(r[`${a} Z-Score`]=s)}}function j(l){let{rawData:e,outRow:t,config:r,boxPlotSubType:a,layer:o,fieldList:i}=l,n=q(r),s=X(r),d=H(r),u=B.Outlier,p=N;switch(a){case y.BoxPlotMonoFieldAndCategory:{let b=Pe({field:n,value:e[n],fieldList:i});t[n]=b,t[w(B.Outlier)]=e[u];break}case y.BoxPlotMultiFieldsAndCategory:{t[w(n)]=e[n],u=`${s.find(b=>Object.keys(e).some(g=>g.toLowerCase().includes(b.toLowerCase())))??""}_${u}`,t[w(B.Outlier)]=e[u];break}case y.BoxPlotMonoFieldAndSplitBy:case y.BoxPlotMultiFieldsAndSplitBy:{let b=String(e[d]),g=$({field:d,value:b,layer:o,fieldList:i});u=`${b}_${u}`,t.Field=e[p],t[w(d)]=g,t[w(B.Outlier)]=e[u];break}case y.BoxPlotMonoFieldAndCategoryAndSplitBy:{let b=String(e[d]),g=$({field:d,value:b,layer:o,fieldList:i});u=`${b}_${u}`,t[w(n)]=e[n],t[w(d)]=g,t[w(B.Outlier)]=e[u];break}case y.BoxPlotMonoField:case y.BoxPlotMultiFields:default:{t.Field=e[p],t[w(B.Outlier)]=e[u];break}}let F=`${u}${Y}`,L=e[F];L!==void 0&&(t[`${w(B.Outlier)} Z-Score`]=L)}function Ee(l){let{rawData:e,outRow:t,config:r,splitByValue:a,layer:o,fieldList:i}=l,n=T(r.series),s=e[`${a}_${B.Average}`],d=H(r),u=q(r),p="";switch(n){case y.BoxPlotMonoFieldAndSplitBy:{p=`${a}_${d}`,t.Field=e[N],t[w(d)]=$({field:d,value:e[p],layer:o,fieldList:i});break}case y.BoxPlotMultiFieldsAndSplitBy:{p=`${a}_${B.Average}`,t.Field=e[N],t[w(d)]=$({field:d,value:e[p],layer:o,fieldList:i});break}case y.BoxPlotMonoFieldAndCategoryAndSplitBy:{p=`${a}_${B.Average}`,t[u]=e[u],t[w(d)]=$({field:d,value:a,layer:o,fieldList:i});break}}t[w(B.Average)]=s;let F=`${String(s)}${Y}`,L=e[F];L!==void 0&&(t[`${w(B.Average)} Z-Score`]=L)}function Ye(l){let{config:e,rows:t,layer:r,fieldList:a,formatters:o,useRendererLabel:i=!1}=l,n=T(e.series),s=n,d=be(e),u=Array.isArray(t)&&t.length>0&&t.every(f=>f[D.boxPlot.boxPlotMeanLineMarkerId]!==void 0);d&&!u&&(n===y.BoxPlotMonoFieldAndSplitBy?s=y.BoxPlotMonoField:n===y.BoxPlotMultiFieldsAndSplitBy?s=y.BoxPlotMultiFields:n===y.BoxPlotMonoFieldAndCategoryAndSplitBy&&(s=y.BoxPlotMonoFieldAndCategory));let p=q(e),F=X(e),L=G(e),b=H(e),g;switch(s){case y.BoxPlotMonoField:case y.BoxPlotMonoFieldAndCategory:{g=t.map(f=>{let c={};if(f[D.boxPlot.boxPlotOutlierId])j({rawData:f,outRow:c,config:e,boxPlotSubType:s,layer:r,fieldList:a});else{if(s===y.BoxPlotMonoFieldAndCategory){let m=k({field:p,row:f,layer:r,fieldList:a,formatter:o?.xAxisLabelFormatter,useRendererLabel:i});c[p]=m}else s===y.BoxPlotMonoField&&(c.Field=f[N]);z({rawData:f,outRow:c})}return c});break}case y.BoxPlotMultiFields:{g=t.flatMap(f=>{let c={};return f[D.boxPlot.boxPlotOutlierId]?j({rawData:f,outRow:c,config:e,boxPlotSubType:s,layer:r,fieldList:a}):(c.Field=f[N],z({rawData:f,outRow:c})),[c]});break}case y.BoxPlotMultiFieldsAndCategory:{g=t.flatMap(f=>F.map(c=>{let m={},x="";if(m.Field=c,f[D.boxPlot.boxPlotOutlierId])j({rawData:f,outRow:m,config:e,boxPlotSubType:s,layer:r,fieldList:a});else{if(s===y.BoxPlotMultiFieldsAndCategory){let v=k({field:p,row:f,layer:r,fieldList:a,formatter:o?.xAxisLabelFormatter,useRendererLabel:i});m[p]=v,x=`${c}_`}z({rawData:f,outRow:m,keyBase:x})}return m}));break}case y.BoxPlotMonoFieldAndSplitBy:case y.BoxPlotMultiFieldsAndSplitBy:case y.BoxPlotMonoFieldAndCategoryAndSplitBy:{g=t.flatMap(f=>{if(f[D.boxPlot.boxPlotOutlierId]){let c={};return j({rawData:f,outRow:c,config:e,boxPlotSubType:s,layer:r,fieldList:a}),[c]}else return f[D.boxPlot.boxPlotMeanLineMarkerId]?L?.map(c=>{let m={};return Ee({rawData:f,outRow:m,splitByValue:c,config:e,layer:r,fieldList:a}),m}):L.map(c=>{let m={},x=$({field:b,value:c,layer:r,fieldList:a});if(s===y.BoxPlotMonoFieldAndCategoryAndSplitBy){let v=k({field:p,row:f,layer:r,fieldList:a,formatter:o?.xAxisLabelFormatter,useRendererLabel:i});m[p]=v}return f[D.boxPlot.boxPlotOutlierId]?j({rawData:f,outRow:m,config:e,boxPlotSubType:s}):(m[b]=x,z({rawData:f,outRow:m,keyBase:`${c}_`})),m})});break}default:g=t}return g}var Ae=l=>{let e=!1;return(typeof l=="string"||typeof l=="number")&&(e=!Number.isNaN(new Date(l).getTime())),e},We=l=>K.fromJSDate(l,{zone:"local"}).toFormat("yyyy-LL-dd"),_e=l=>K.fromJSDate(l,{zone:"local"}).toFormat("yyyy-LL-dd'T'HH:mm:ss"),Pe=l=>{let{field:e,value:t,fieldList:r}=l,a=t,o=r?.find(i=>i.name===e);if(o){let i=o.type===ie.DateOnly;ce(o)&&!i?a=Ae(t)?_e(new Date(t)):t:i&&typeof t!="string"&&(a=Ae(t)?We(new Date(t)):t)}return a};function ft(l){let{runtimeDataFilters:e,view:t,viewTimeExtentChangePolicy:r,syncViewTimeExtent:a}=l,o=e;return t&&(r===ve.Refresh||a)&&t.timeExtent?.start!=null&&t.timeExtent?.end!=null&&(o={...e,timeExtent:[t.timeExtent.start.valueOf(),t.timeExtent.end.valueOf()]}),o}return{a:De,b:he,c:Ce,d:we,e:Oe,f:st,g:ut,h:dt,i:ft}},a,b,c,d,e,f,g)