@arcgis/charts-components 5.1.0-next.97 → 5.1.0-next.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{XO3XI5UW.js → 2L4KRFAO.js} +1 -1
- package/dist/cdn/{474MEOFZ.js → 2WMGX4LG.js} +1 -1
- package/dist/cdn/{HZAQ4CU2.js → 3LHIBPWU.js} +1 -1
- package/dist/cdn/{SRVSS5LG.js → 3NHSJC2V.js} +1 -1
- package/dist/cdn/{DZCGO7SQ.js → 3TYKSX6S.js} +1 -1
- package/dist/cdn/{PH5QB66G.js → 4A46GMQH.js} +1 -1
- package/dist/cdn/{BRPXLQXN.js → 4AP7OF2H.js} +1 -1
- package/dist/cdn/{Q4FWAO2U.js → 4F4XNNGS.js} +35 -35
- package/dist/cdn/{MSYJXEJZ.js → 4MGAAHBF.js} +1 -1
- package/dist/cdn/{6P6JRYTL.js → 533OIYHT.js} +1 -1
- package/dist/cdn/{FPWXPIYT.js → 54JMGDNM.js} +1 -1
- package/dist/cdn/{MZIUWLFR.js → 6WQO34EX.js} +1 -1
- package/dist/cdn/{Q5LFOZZV.js → 7BIC7WRS.js} +1 -1
- package/dist/cdn/{EOSVOYYW.js → 7JYYEL7C.js} +1 -1
- package/dist/cdn/{44YOQYY5.js → ABRBND33.js} +1 -1
- package/dist/cdn/{7PRT6KPV.js → AKNI6ZDM.js} +1 -1
- package/dist/cdn/{VKLAEROZ.js → B5DED64I.js} +1 -1
- package/dist/cdn/{X63PQOKY.js → BDROQPZY.js} +1 -1
- package/dist/cdn/{S5ZNTUEJ.js → BGHKBRAY.js} +1 -1
- package/dist/cdn/{V6ZSMHGW.js → BIBH7Z6B.js} +1 -1
- package/dist/cdn/{C4VB5VOE.js → BYMLWT4F.js} +1 -1
- package/dist/cdn/{W6PWWHW7.js → C6VFUQYR.js} +1 -1
- package/dist/cdn/{S2MYZR2R.js → CBAUBDVW.js} +1 -1
- package/dist/cdn/{J7DSGIMM.js → DOKKZWPP.js} +1 -1
- package/dist/cdn/{P7KZJ4LD.js → DQOPCAYH.js} +1 -1
- package/dist/cdn/{S6M3THYB.js → ETKEDYJI.js} +1 -1
- package/dist/cdn/{MPULRJBL.js → FPOY54UW.js} +1 -1
- package/dist/cdn/{YGXP2KRA.js → FSPMT24F.js} +1 -1
- package/dist/cdn/{B5NVKUWE.js → FTTFIYT7.js} +1 -1
- package/dist/cdn/{ZO4QGPQK.js → FXE7IJTK.js} +1 -1
- package/dist/cdn/{54D7BEVF.js → FXXKMSX7.js} +1 -1
- package/dist/cdn/{3KOLO2DZ.js → GCLBISUU.js} +1 -1
- package/dist/cdn/{EERE56JC.js → GG4V6IWC.js} +1 -1
- package/dist/cdn/{6EGDY2R6.js → GN55TJMJ.js} +1 -1
- package/dist/cdn/{A2SOHKNU.js → GOCPXSNF.js} +1 -1
- package/dist/cdn/{LDBOH522.js → GR2MDXNR.js} +1 -1
- package/dist/cdn/{C7BVZIR6.js → GSIQ3AM5.js} +4 -3
- package/dist/cdn/{7MGBETN6.js → HAPHXGDG.js} +1 -1
- package/dist/cdn/{EZ6IWMWU.js → HRWT2MVN.js} +1 -1
- package/dist/cdn/{AXQIU56U.js → HZLHE35F.js} +1 -1
- package/dist/cdn/{424JJGJE.js → IYAA5JNA.js} +1 -1
- package/dist/cdn/{VMKLIIN4.js → J34XNLVV.js} +1 -1
- package/dist/cdn/{KNI5Z6M6.js → JII3X6GD.js} +1 -1
- package/dist/cdn/{E672GJOI.js → JIJTDQNZ.js} +1 -1
- package/dist/cdn/{A2QGNOIM.js → JP5QECNE.js} +1 -1
- package/dist/cdn/{QDQ3XMGW.js → JQAYCBRF.js} +1 -1
- package/dist/cdn/{DUPIQDJR.js → JUTIXOZ7.js} +1 -1
- package/dist/cdn/{MS3WQ4R4.js → JXUQXIWS.js} +1 -1
- package/dist/cdn/{43CJXSHJ.js → KDU3ISRJ.js} +1 -1
- package/dist/cdn/{5MVPQ5JO.js → KHK4ESCR.js} +1 -1
- package/dist/cdn/{DGMBW6MF.js → KZQPT32K.js} +1 -1
- package/dist/cdn/{6QC2WOB4.js → L5ESAQAD.js} +1 -1
- package/dist/cdn/{NFMUWJ4B.js → LRLFI235.js} +1 -1
- package/dist/cdn/{UQYUM5RQ.js → LTPICGE4.js} +1 -1
- package/dist/cdn/{JIMR7C5L.js → M6AWZ4GQ.js} +1 -1
- package/dist/cdn/{OB3LBS5F.js → N3QESBWD.js} +1 -1
- package/dist/cdn/{WBQNIKK7.js → N72JHWOW.js} +1 -1
- package/dist/cdn/{FQWSL4WE.js → NJOCWENE.js} +1 -1
- package/dist/cdn/{U2ZQR6TN.js → NLPIWZ6O.js} +1 -1
- package/dist/cdn/{FOBAMFDQ.js → OG6XNLNH.js} +1 -1
- package/dist/cdn/{LDRGQ4QJ.js → OGYHFMDK.js} +1 -1
- package/dist/cdn/{6T5JVUTW.js → OM2N4R7B.js} +1 -1
- package/dist/cdn/{OXA5TGBO.js → OSLQS2GQ.js} +1 -1
- package/dist/cdn/{ZRLN2MXQ.js → OXOPYUOS.js} +1 -1
- package/dist/cdn/{LRI7NSY6.js → PE5WVBYF.js} +1 -1
- package/dist/cdn/{P2FI3ZHN.js → PECU6KQ5.js} +1 -1
- package/dist/cdn/{5PVOIZ3O.js → PHSAVE6E.js} +1 -1
- package/dist/cdn/{GPK2DP6R.js → PMSMMLY4.js} +1 -1
- package/dist/cdn/{U72HCS3R.js → PSDHB4WG.js} +1 -1
- package/dist/cdn/{OD77ESN2.js → PZAAA62R.js} +1 -1
- package/dist/cdn/{HIHW6ORI.js → QCLX4TIM.js} +1 -1
- package/dist/cdn/{KNWOWXLU.js → QCNYOXG2.js} +1 -1
- package/dist/cdn/{DHCP4FMK.js → QNEGICXV.js} +1 -1
- package/dist/cdn/{PV7KP6OZ.js → QQNMK2QL.js} +1 -1
- package/dist/cdn/{QE2DFL3U.js → RK3BAJOA.js} +1 -1
- package/dist/cdn/{DKPZTFA5.js → SCVQSDX5.js} +1 -1
- package/dist/cdn/{WQDJ5V5V.js → TNXVGUYE.js} +1 -1
- package/dist/cdn/{LFY34FCB.js → TQG6RDX5.js} +1 -1
- package/dist/cdn/{3LYLITEZ.js → URBTZGXF.js} +1 -1
- package/dist/cdn/{4D2OWE4B.js → VFNQXIXU.js} +1 -1
- package/dist/cdn/{DY3IXHQM.js → VFULMUE5.js} +1 -1
- package/dist/cdn/W553UCBH.js +4 -0
- package/dist/cdn/{GGUZK63V.js → WMLNHOVN.js} +1 -1
- package/dist/cdn/{X4ZH6AQA.js → WTPRSRPB.js} +1 -1
- package/dist/cdn/{YQJFV4BR.js → XEDWXXF3.js} +1 -1
- package/dist/cdn/{VMCT7EK7.js → Y4DORYPQ.js} +1 -1
- package/dist/cdn/{2GOV45XT.js → YEOSKZ4Q.js} +1 -1
- package/dist/cdn/{QV3QDDVU.js → ZAKAJKUI.js} +1 -1
- package/dist/cdn/{X2Y44TIN.js → ZNOJBKUZ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +5 -0
- package/dist/chunks/index.js +1112 -1080
- package/dist/chunks/web-component-utils.js +405 -293
- package/dist/components/arcgis-chart/customElement.d.ts +18 -1
- package/dist/components/arcgis-chart/customElement.js +3527 -3471
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/interfaces.d.ts +5 -0
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/utils/index.d.ts +1 -1
- package/dist/utils/components/watch-handlers.d.ts +14 -0
- package/dist/utils/layer/query-features/index.d.ts +1 -0
- package/dist/utils/layer/query-parser/index.d.ts +2 -1
- package/package.json +3 -3
- package/dist/cdn/FIT55NW2.js +0 -4
|
@@ -5,10 +5,10 @@ import type AttributeBinsQuery from "@arcgis/core/rest/support/AttributeBinsQuer
|
|
|
5
5
|
import type Query from "@arcgis/core/rest/support/Query.js";
|
|
6
6
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
7
7
|
import type { QueryProperties } from "@arcgis/core/rest/support/Query.js";
|
|
8
|
+
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
8
9
|
import type { RESTFieldType } from "../../../spec/rest-js-object-literals.js";
|
|
9
10
|
import type { WebChartHeatChartSeries, WebChartQuery, WebChartTemporalBinning } from "../../../spec/web-chart.js";
|
|
10
11
|
import type { QueryObject, QueryObjectOrRaster } from "../interfaces.js";
|
|
11
|
-
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Indicates whether a query can be cached. It is not when:
|
|
@@ -86,6 +86,7 @@ export function mapAttributeBinsQueryForTemporalData(props: {
|
|
|
86
86
|
dateField: string;
|
|
87
87
|
splitByField?: string;
|
|
88
88
|
axisTimeZone?: string;
|
|
89
|
+
options?: ChartOptions;
|
|
89
90
|
}): AttributeBinsQuery;
|
|
90
91
|
|
|
91
92
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "5.1.0-next.
|
|
3
|
+
"version": "5.1.0-next.98",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"luxon": "~3.7.2",
|
|
40
40
|
"simple-statistics": "^7.8.8",
|
|
41
41
|
"tslib": "^2.8.1",
|
|
42
|
-
"@arcgis/lumina": "5.1.0-next.
|
|
43
|
-
"@arcgis/toolkit": "5.1.0-next.
|
|
42
|
+
"@arcgis/lumina": "5.1.0-next.98",
|
|
43
|
+
"@arcgis/toolkit": "5.1.0-next.98"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@arcgis/core": "^5.1.0-next",
|
package/dist/cdn/FIT55NW2.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{c as R}from"./FPDW4F45.js";import h from"./7PRT6KPV.js";import g from"./WBQNIKK7.js";import f from"./MPULRJBL.js";import e from"./2GOV45XT.js";import d from"./W6PWWHW7.js";import c from"./44YOQYY5.js";import a from"./C7BVZIR6.js";import{e as b,l as G,m as w,s as q,t as Q}from"./URX6VCYJ.js";import{e as V}from"./EZM4ZDQI.js";import{a as M,y as J}from"./ETLJKITO.js";export default $arcgis.t(([{C:S,Db:d,Dc:X,Fc:Y,Ma:U,Na:h,Pa:v,Qa:L,Ud:k,Zc:C,ic:W,zb:P},{c:z},{f:ee,g:E},{ga:oe,ha:te,ia:ie},{k:T,l:I,m:K,x:se},{b:ne},{a:ae,c:re,d:le}])=>{function ce(l,e){return!G(l,e)}function he(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),r=i.split(t)[1]?.length??3;i=new Intl.NumberFormat(s,{maximumFractionDigits:r}).format(e).replace(/\u202F/gu," ")}return(o||/[",\r\n]/u.test(i))&&(i=`"${i.replace(/"/gu,'""')}"`),i};function Re(l,e={}){let{columns:o,delimiter:s,includeHeader:i=!0,quoteAll:t=!1,locale:r}=e,m=l.length===0,n="";if(!m){let f=o??Object.keys(l[0]),y=[],p=s??fe(r??"en");if(r!==void 0&&p!==","&&(n+=`sep=${p}\r
|
|
3
|
-
`),i){let g=f.map(a=>de({value:a,quoteAll:t,locale:r}));y.push(g.join(p))}l.forEach(g=>{let a=f.map(u=>de({value:g[u],quoteAll:t,locale:r}));y.push(a.join(p))}),n+=y.join(`\r
|
|
4
|
-
`)}return n}function Te(l){let{rawData:e,config:o,layer:s,fieldList:i}=l,t=e;if(o!==void 0&&Array.isArray(e)&&e.length>0){let r=J(o?.series);r===M.HistogramSeries?t=ge(o,e):r===M.BarSeries||r===M.LineSeries||r===M.ComboLineAndBarSeries?t=xe({config:o,rows:e,layer:s,fieldList:i}):r===M.PieSeries?t=ye({config:o,rows:e,layer:s,fieldList:i}):r===M.BoxPlotSeries&&(t=Pe({config:o,rows:e,fieldList:i}))}return t}function ge(l,e){let o=ne(l),s=`${b(R.Min)} of ${o}`,i=`${b(R.Max)} of ${o}`,t=`${b(R.Count)} of ${o}`;return e.map(r=>{let{minValue:m,maxValue:n,count:f}=r,y=w(m),p=w(n),g=w(f),a={};return y&&(a[s]=m.toFixed(2)),p&&(a[i]=n.toFixed(2)),y&&p&&(a.Label=`${m.toFixed(2)} - ${n.toFixed(2)}`),g&&(a[t]=f),a})}function pe(l,e,o){let s=Object.keys(l),i=[];return o?i=o.map(t=>s.find(r=>r.toLowerCase().includes(t.toLowerCase()))||""):i=s.filter(t=>t.toLowerCase().includes(e.toLowerCase())),i.filter(t=>t.trim()!=="")}function xe(l){let{config:e,rows:o,layer:s,fieldList:i}=l,t=ee(e),r=oe(e),m=b(r),n=ie(e),f=C(e.series),y=z(e),p=te(e),{idField:g,isTraditionalTypeOID:a}=X(W(s)),u=a&&n.length===1&&n[0]===g,c;switch(f){case d.BarAndLineNoAggregation:c=o.map(x=>{let F=$({field:t,value:x[t],fieldList:i}),B={[t]:F};return Object.assign(B,...n.map(A=>({[A]:x[A]}))),B});break;case d.BarAndLineFromFields:c=q(n,o).map(([x,F])=>{let B=k(e.series)[0],A={};return F!==void 0&&x!==void 0&&(A.Field=F[t],A.Value=F[B]),A});break;case d.BarAndLineMonoField:case d.BarAndLineMultiFields:c=o.map(x=>{let F=$({field:t,value:x[t],fieldList:i}),B={[t]:F};return n.forEach((A,O)=>{let j=E({config:e,xAxisField:t,numericFields:n,aggregationType:r,layer:s,numericFieldIndex:O,fieldList:i}),_=k(e.series)[O],Z=_,H=_;_.toLowerCase()===j.name.toLowerCase()&&(Z=j.description,H=j.name),B[Z]=x[H]}),B});break;case d.BarAndLineSplitBy:c=o.flatMap(x=>{let F=k(e.series),B=$({field:t,value:x[t],fieldList:i});return y.map((A,O)=>({[t]:B,[p]:A,[u?m:`${m} of ${n[0]}`]:x[F[O]]}))});break;case d.BarAndLineSplitByNoAggregation:c=o.map(x=>{let F=$({field:t,value:x[t],fieldList:i}),B=pe(x,n[0],y);return{[t]:F,[p]:x[p],[n[0]]:x[B[0]]}});break;default:c=o}return c}function be(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 r=t/e[i];s[`${i}${v}`]=r.toPrecision(2)}return s})}function ye(l){let{config:e,rows:o,layer:s,fieldList:i}=l,t=ae(e),r=C(e.series),m=be(o),n=re(e),f=r!==d.PieFromFields?V.Category:V.Fields,y=le(e,f),p=E({config:e,xAxisField:t,numericFields:n,aggregationType:y,mode:f,layer:s,fieldList:i}),g=k(e.series)[0];return r===d.PieFromCategory||r===d.PieNoAggregation?m=m.map(a=>{let u=$({field:t,value:a[t],fieldList:i}),c={[t]:u},x=g,F=g;return r===d.PieFromCategory&&g.toLowerCase()===p.name.toLowerCase()&&(x=p.description,F=p.name),c[x]=a[F],c[b(v.trim())]=a[`${F}${v}`],c}):r===d.PieFromFields&&(m=q(n,m).map(([a,u])=>{let c={};return u!==void 0&&a!==void 0&&(c.Field=u[t],c.Value=u[g],c[b(v.trim())]=u[`${g}${v}`]),c})),m}function N(l){let{rawData:e,keyBase:o="",outRow:s}=l;for(let[i,t]of Object.entries(P)){let r=e[o+t];r!==void 0&&(s[i]=w(r)?r.toFixed(2):r);let m=e[o+t+U];m!==void 0&&(s[`${i} Outlier`]=w(m)?m.toFixed(2):m);let n=e[o+t+h];n!==void 0&&(s[`${i} Z-Score`]=w(n)?n.toFixed(2):n)}}function D(l){let{rawData:e,outRow:o,config:s,boxPlotSubType:i,fieldList:t}=l,r=T(s),m=K(s),n=I(s),f=P.Outlier,y=S;switch(i){case d.BoxPlotMonoFieldAndCategory:{let a=$({field:r,value:e[r],fieldList:t});o[r]=a,o[b(P.Outlier)]=e[f];break}case d.BoxPlotMultiFieldsAndCategory:{o[b(r)]=e[r],f=`${m.find(a=>Object.keys(e).some(u=>u.toLowerCase().includes(a.toLowerCase())))??""}_${f}`,o[b(P.Outlier)]=e[f];break}case d.BoxPlotMonoFieldAndSplitBy:case d.BoxPlotMultiFieldsAndSplitBy:{let a=e[n];f=`${a}_${f}`,o.Field=e[y],o[b(n)]=a,o[b(P.Outlier)]=e[f];break}case d.BoxPlotMonoFieldAndCategoryAndSplitBy:{let a=e[n];f=`${a}_${f}`,o[b(r)]=e[r],o[b(n)]=a,o[b(P.Outlier)]=e[f];break}case d.BoxPlotMonoField:case d.BoxPlotMultiFields:default:{o.Field=e[y],o[b(P.Outlier)]=e[f];break}}let p=`${f}${h}`,g=e[p];g!==void 0&&(o[`${b(P.Outlier)} Z-Score`]=w(g)?g.toFixed(2):g)}function Fe(l){let{rawData:e,outRow:o,config:s,splitByValue:i}=l,t=C(s.series),r=e[`${i}_${P.Average}`],m=I(s),n=T(s),f="";switch(t){case d.BoxPlotMonoFieldAndSplitBy:{f=`${i}_${m}`,o.Field=e[S],o[b(m)]=e[f];break}case d.BoxPlotMultiFieldsAndSplitBy:{f=`${i}_${P.Average}`,o.Field=e[S],o[b(m)]=e[f];break}case d.BoxPlotMonoFieldAndCategoryAndSplitBy:{f=`${i}_${P.Average}`,o[n]=e[n],o[b(m)]=i;break}}o[b(P.Average)]=w(r)?r.toFixed(2):r;let y=`${r}${h}`,p=e[y];p!==void 0&&(o[`${b(P.Average)} Z-Score`]=w(p)?p.toFixed(2):p)}function Pe(l){let{config:e,rows:o,fieldList:s}=l,i=C(e.series),t=i,r=se(e),m=Array.isArray(o)&&o.length>0&&o.every(a=>a[L.boxPlot.boxPlotMeanLineMarkerId]!==void 0);r&&!m&&(i===d.BoxPlotMonoFieldAndSplitBy?t=d.BoxPlotMonoField:i===d.BoxPlotMultiFieldsAndSplitBy?t=d.BoxPlotMultiFields:i===d.BoxPlotMonoFieldAndCategoryAndSplitBy&&(t=d.BoxPlotMonoFieldAndCategory));let n=T(e),f=K(e),y=z(e),p=I(e),g;switch(t){case d.BoxPlotMonoField:case d.BoxPlotMonoFieldAndCategory:{g=o.map(a=>{let u={};if(a[L.boxPlot.boxPlotOutlierId])D({rawData:a,outRow:u,config:e,boxPlotSubType:t});else{if(t===d.BoxPlotMonoFieldAndCategory){let c=$({field:n,value:a[n],fieldList:s});u[n]=c}else t===d.BoxPlotMonoField&&(u.Field=a[S]);N({rawData:a,outRow:u})}return u});break}case d.BoxPlotMultiFields:{g=o.flatMap(a=>{let u={};return a[L.boxPlot.boxPlotOutlierId]?D({rawData:a,outRow:u,config:e,boxPlotSubType:t}):(u.Field=a[S],N({rawData:a,outRow:u})),[u]});break}case d.BoxPlotMultiFieldsAndCategory:{g=o.flatMap(a=>f.map(u=>{let c={},x="";if(c.Field=u,a[L.boxPlot.boxPlotOutlierId])D({rawData:a,outRow:c,config:e,boxPlotSubType:t});else{if(t===d.BoxPlotMultiFieldsAndCategory){let F=$({field:n,value:a[n],fieldList:s});c[n]=F,x=`${u}_`}N({rawData:a,outRow:c,keyBase:x})}return c}));break}case d.BoxPlotMonoFieldAndSplitBy:case d.BoxPlotMultiFieldsAndSplitBy:case d.BoxPlotMonoFieldAndCategoryAndSplitBy:{g=o.flatMap(a=>{if(a[L.boxPlot.boxPlotOutlierId]){let u={};return D({rawData:a,outRow:u,config:e,boxPlotSubType:t}),[u]}else return a[L.boxPlot.boxPlotMeanLineMarkerId]?y?.map(u=>{let c={};return Fe({rawData:a,outRow:c,splitByValue:u,config:e}),c}):y.map(u=>{let c={};if(t===d.BoxPlotMonoFieldAndCategoryAndSplitBy){let x=$({field:n,value:a[n],fieldList:s});c[n]=x}return a[L.boxPlot.boxPlotOutlierId]?D({rawData:a,outRow:c,config:e,boxPlotSubType:t}):(c[p]=u,N({rawData:a,outRow:c,keyBase:`${u}_`})),c})});break}default:g=o}return g}var ue=l=>{let e=!1;return(typeof l=="string"||typeof l=="number")&&(e=!Number.isNaN(new Date(l).getTime())),e},$=l=>{let{field:e,value:o,fieldList:s}=l,i=o,t=s?.find(r=>r.name===e);if(t){let r=t.type===Q.DateOnly;Y(t)&&!r?i=ue(o)?new Date(o).toISOString():o:r&&typeof o!="string"&&(i=ue(o)?new Date(o).toISOString().split("T")[0]:o)}return i};function Ie(){let l=()=>((1+Math.random())*65536|0).toString(16).substring(1);return`${l()+l()}-${l()}-${l()}-${l()}-${l()}${l()}${l()}`}return{a:ce,b:he,c:Re,d:Te,e:Ie}},a,c,d,e,f,g,h)
|