@arcgis/charts-components 4.34.0-next.106 → 4.34.0-next.108
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/{IBILFFIW.js → 25F6NYYE.js} +2 -2
- package/dist/cdn/{O2S76R3D.js → 2F7AEO2X.js} +2 -2
- package/dist/cdn/{HYEQE6CF.js → 2LOQH4HR.js} +1 -1
- package/dist/cdn/{HDSHQHBP.js → 2RJHYZBN.js} +2 -2
- package/dist/cdn/{LDTBTEO7.js → 33NWOVCN.js} +2 -2
- package/dist/cdn/{X7VTAHI2.js → 34FMAN4B.js} +2 -2
- package/dist/cdn/{DMUFNRDJ.js → 373GU2DB.js} +2 -2
- package/dist/cdn/{64GTOMGC.js → 3CF6BYEQ.js} +2 -2
- package/dist/cdn/{BOIMJW2S.js → 3VOG4AEP.js} +2 -2
- package/dist/cdn/{K3RPZQVJ.js → 3WWCW2MB.js} +2 -2
- package/dist/cdn/{XCE25QY5.js → 43LL76Q7.js} +2 -2
- package/dist/cdn/{6LIPFKLX.js → 4GCD4WVL.js} +2 -2
- package/dist/cdn/{YGNSLCDZ.js → 4M4HLMJF.js} +2 -2
- package/dist/cdn/{J5UXQH6C.js → 4MSBPT6Q.js} +2 -2
- package/dist/cdn/{GESPDM3O.js → 4S2HF5KI.js} +2 -2
- package/dist/cdn/{I6OBRMNO.js → 4SB23WVF.js} +2 -2
- package/dist/cdn/{IJTDDJPY.js → 5B32TSON.js} +2 -2
- package/dist/cdn/{X3BSMWV2.js → 5G5OKN3X.js} +2 -2
- package/dist/cdn/{55CQN7PB.js → 5SW73Y3B.js} +2 -2
- package/dist/cdn/{JPSX3KCY.js → 5TYZNXTQ.js} +2 -2
- package/dist/cdn/{X5LEPFRQ.js → 662UDJSU.js} +2 -2
- package/dist/cdn/{CQTPATOB.js → 6D7WXQMT.js} +2 -2
- package/dist/cdn/{723YAS6Q.js → 6ISJCSWD.js} +2 -2
- package/dist/cdn/{5FSSV2HN.js → 6NSBB7AU.js} +2 -2
- package/dist/cdn/{WO4Z4N3M.js → 6P6FE33X.js} +2 -2
- package/dist/cdn/{BNQJYFNS.js → 6TYCTRHT.js} +2 -2
- package/dist/cdn/{6GPQH5C5.js → 6UUREVSH.js} +2 -2
- package/dist/cdn/{OKPAKIQK.js → 6XA5QHGB.js} +2 -2
- package/dist/cdn/{6L3ZZYTK.js → 7NHSPIA2.js} +2 -2
- package/dist/cdn/{T4AWLIP2.js → 7PIVCE2L.js} +2 -2
- package/dist/cdn/{LTHUJ6UU.js → A57M76YQ.js} +2 -2
- package/dist/cdn/{F6KF3BK2.js → AJP43KGV.js} +1 -1
- package/dist/cdn/{T7LWGYYB.js → AK2TINHE.js} +2 -2
- package/dist/cdn/{4C3TGQAQ.js → AT7EVI5A.js} +2 -2
- package/dist/cdn/{TVRAETF5.js → B4MWLWDA.js} +2 -2
- package/dist/cdn/{7EEMNEYR.js → B6XGQ62F.js} +2 -2
- package/dist/cdn/{T3U7I6ZE.js → B7FMGVRM.js} +2 -2
- package/dist/cdn/{6MCJRGCK.js → BCORBVES.js} +2 -2
- package/dist/cdn/{ZZBRQYE7.js → BF6ZY2GS.js} +2 -2
- package/dist/cdn/{EWQG5FCA.js → BGDKQQ6R.js} +2 -2
- package/dist/cdn/{C4SVLT5E.js → BJ653SJR.js} +2 -2
- package/dist/cdn/{TWCO3M7J.js → BK6IBEY2.js} +2 -2
- package/dist/cdn/{FTLUUN4R.js → BNU7WF3L.js} +2 -2
- package/dist/cdn/{SMYFPI4B.js → BRLFX7IS.js} +2 -2
- package/dist/cdn/{MXRG7QLG.js → BV637DXJ.js} +2 -2
- package/dist/cdn/{3KD37V2V.js → CD6NVJ2A.js} +2 -2
- package/dist/cdn/{FAKKIW4J.js → CUFWURCO.js} +2 -2
- package/dist/cdn/{3S3GBDEK.js → DCLA6XYR.js} +2 -2
- package/dist/cdn/{AHOCLLKM.js → DNROGZWO.js} +2 -2
- package/dist/cdn/{QM6ZTDSA.js → DPRSAB7V.js} +2 -2
- package/dist/cdn/{SBK6OXJ4.js → DPXIWVVZ.js} +2 -2
- package/dist/cdn/{CEU3OIBZ.js → E2GIY6KW.js} +2 -2
- package/dist/cdn/{PNWOAP76.js → E5QRVWBX.js} +2 -2
- package/dist/cdn/{GHG7ERU2.js → E7R6NE5A.js} +2 -2
- package/dist/cdn/{PSJWLZWC.js → EHSUKWIB.js} +2 -2
- package/dist/cdn/{UGSTM6Y7.js → EM2536KU.js} +2 -2
- package/dist/cdn/{EIUOE4Z2.js → EYYHOISP.js} +2 -2
- package/dist/cdn/{SEWD7YT5.js → F77SHNSO.js} +2 -2
- package/dist/cdn/{X4MGO5X7.js → FBNFH6GE.js} +2 -2
- package/dist/cdn/{UB3YEBGI.js → FC2MFHKO.js} +2 -2
- package/dist/cdn/{U7GPJFS4.js → FJRNG67L.js} +1 -1
- package/dist/cdn/{PNKDVDMN.js → FPNDTQQP.js} +1 -1
- package/dist/cdn/{XL7VHGPU.js → FUU5BGBB.js} +2 -2
- package/dist/cdn/{TMLHJD22.js → FXXHYNGA.js} +2 -2
- package/dist/cdn/{3XPYM3IZ.js → G27BI3M7.js} +2 -2
- package/dist/cdn/{IDX3N5RO.js → GUHQRZPD.js} +2 -2
- package/dist/cdn/{7JRQB2RM.js → GUXUXPVE.js} +2 -2
- package/dist/cdn/{YLZBOHVB.js → GY2JENNB.js} +2 -2
- package/dist/cdn/{OQBM7EZ6.js → HPBK5EHC.js} +2 -2
- package/dist/cdn/{AJGF4CPE.js → HVZJJJIO.js} +2 -2
- package/dist/cdn/{2CT4YHF6.js → HWUAEALL.js} +2 -2
- package/dist/cdn/HXPS5P4F.js +4 -0
- package/dist/cdn/{P7GFZZ7D.js → HY44E4NM.js} +2 -2
- package/dist/cdn/{7ES6QCNG.js → I5JWX2IL.js} +2 -2
- package/dist/cdn/{TW376O55.js → IBGLUE3W.js} +2 -2
- package/dist/cdn/{A2J3AH5T.js → IBRPWKTO.js} +2 -2
- package/dist/cdn/{H7O2DI2M.js → IBVLUKQ4.js} +2 -2
- package/dist/cdn/{CDEKZK4L.js → ID2LCOES.js} +2 -2
- package/dist/cdn/{FPNVBYPV.js → IJXLNSZ6.js} +2 -2
- package/dist/cdn/{2LGIQ2Z7.js → IUDLQ27O.js} +2 -2
- package/dist/cdn/{SBGUYQSX.js → J3MFJNFP.js} +2 -2
- package/dist/cdn/{SR6LPDKZ.js → J3NF7QIP.js} +2 -2
- package/dist/cdn/{UHRQTV43.js → J4E7SB7X.js} +2 -2
- package/dist/cdn/{W3C2D2UK.js → J5MBPOGR.js} +2 -2
- package/dist/cdn/{YDUEXUAE.js → JFVTMTON.js} +2 -2
- package/dist/cdn/{W4FDDQT4.js → JHURUGHS.js} +2 -2
- package/dist/cdn/{XHZIQIPI.js → JNBHKVXA.js} +2 -2
- package/dist/cdn/{35V7AG3D.js → JRPOC26V.js} +2 -2
- package/dist/cdn/{SZYCAMWX.js → JZ6QDAZE.js} +2 -2
- package/dist/cdn/{FAWWMJ7S.js → K4FQQWGG.js} +2 -2
- package/dist/cdn/{KBZTDGOE.js → K754AEFR.js} +2 -2
- package/dist/cdn/{YL65CLQJ.js → KII7X7MC.js} +2 -2
- package/dist/cdn/{5B6SWFPA.js → KKYZJW5G.js} +2 -2
- package/dist/cdn/{HGJBK6KU.js → KMWC3G5C.js} +2 -2
- package/dist/cdn/{K4WKFPQL.js → KQRN5PBY.js} +2 -2
- package/dist/cdn/{S237VITE.js → KWIJ74SW.js} +2 -2
- package/dist/cdn/{ULJX3LV5.js → KWYXLR4A.js} +2 -2
- package/dist/cdn/{VFRVEU3G.js → L4K7T7EU.js} +1 -1
- package/dist/cdn/{7HGGKX4M.js → L4WIQGNI.js} +2 -2
- package/dist/cdn/{242VR6GP.js → LJHR4U2E.js} +1 -1
- package/dist/cdn/{O4MKMBCT.js → LQI5JMEO.js} +2 -2
- package/dist/cdn/{ZQUEN2G2.js → LQNRNJRH.js} +2 -2
- package/dist/cdn/{2J7SQLIO.js → LTUGQGQ4.js} +2 -2
- package/dist/cdn/{CLUQAGWR.js → LVFNWZAV.js} +2 -2
- package/dist/cdn/{XC6RIEH6.js → LWAKGZKZ.js} +2 -2
- package/dist/cdn/{G3DJKJTF.js → LYKCFVKQ.js} +2 -2
- package/dist/cdn/{EYFFEWPX.js → M2KUBWGU.js} +2 -2
- package/dist/cdn/{HOMJDU23.js → MGY5NUCU.js} +2 -2
- package/dist/cdn/{SCNTMYUP.js → MHQKYLI2.js} +2 -2
- package/dist/cdn/{FHYE5GDD.js → MQIQRQFV.js} +2 -2
- package/dist/cdn/{5QQCLQEM.js → MXMPJIQ3.js} +2 -2
- package/dist/cdn/{QVYVQNUX.js → N2R7BFQI.js} +2 -2
- package/dist/cdn/{D7SI7YPY.js → NHZHYWZ2.js} +2 -2
- package/dist/cdn/{CRBOOB5Q.js → NNZK3YJT.js} +2 -2
- package/dist/cdn/{ALXDYSMF.js → O6ZWKSYO.js} +2 -2
- package/dist/cdn/{NRXZAYVC.js → OKYMXEDN.js} +2 -2
- package/dist/cdn/{B43QKFII.js → ONOA22SX.js} +1 -1
- package/dist/cdn/{43YDOXTB.js → OPFK3APB.js} +2 -2
- package/dist/cdn/{A7RGSKK4.js → OZNEMDDU.js} +2 -2
- package/dist/cdn/{3FWRAMKB.js → P2BKRNMB.js} +2 -2
- package/dist/cdn/{DZ6FC4R6.js → PFWDTAOK.js} +2 -2
- package/dist/cdn/{CIF726GR.js → PK6MF7LF.js} +2 -2
- package/dist/cdn/{FFUVWDTQ.js → PMLDS4XR.js} +2 -2
- package/dist/cdn/{BL7PDTKI.js → PVUW4HLA.js} +2 -2
- package/dist/cdn/{77JIASV7.js → QIE4IR2X.js} +5 -5
- package/dist/cdn/{XPEBLLED.js → QKGACHEP.js} +2 -2
- package/dist/cdn/{7FYJZFDK.js → QLKSOFJ3.js} +2 -2
- package/dist/cdn/{FGCKBMBK.js → QPPAHZWY.js} +2 -2
- package/dist/cdn/{UVL5UW4O.js → QTSXYKMY.js} +2 -2
- package/dist/cdn/{WXKPU75E.js → QW4IDAYP.js} +2 -2
- package/dist/cdn/{V475L2LL.js → RC3ILYF3.js} +1 -1
- package/dist/cdn/{3VAPMJ3Q.js → RECYV363.js} +2 -2
- package/dist/cdn/{DM25N43X.js → REJ76RH5.js} +2 -2
- package/dist/cdn/{6KGWC6FU.js → REWRI2QL.js} +2 -2
- package/dist/cdn/{SPPZ2WOV.js → RN2X4DGO.js} +2 -2
- package/dist/cdn/{LQ36BAZS.js → RTT5ERYP.js} +2 -2
- package/dist/cdn/{IPBGCG6J.js → RWPXUK52.js} +2 -2
- package/dist/cdn/{DSHWCWXU.js → SI4U7J5W.js} +2 -2
- package/dist/cdn/{F55PZZHZ.js → SJMEJH2J.js} +2 -2
- package/dist/cdn/{GIACT7MS.js → SPVUXUM7.js} +2 -2
- package/dist/cdn/{EG6XWRVR.js → SQYWXPGQ.js} +2 -2
- package/dist/cdn/{D7OJ2GGO.js → SYST4QIX.js} +2 -2
- package/dist/cdn/{BMCLA2ZG.js → TASOVNTG.js} +2 -2
- package/dist/cdn/{Q4VDL7SK.js → TBNFTRUD.js} +2 -2
- package/dist/cdn/{D3PZL6AU.js → TC4XPS4S.js} +2 -2
- package/dist/cdn/{IETXBVID.js → TDYFWCWT.js} +1 -1
- package/dist/cdn/{EGY6C2UF.js → TFMFSYM5.js} +22 -22
- package/dist/cdn/{QD56WVL3.js → TWHLK5X4.js} +2 -2
- package/dist/cdn/{4RGREVHG.js → TXJR74ED.js} +2 -2
- package/dist/cdn/{XFNE6IH6.js → TZZK6TBV.js} +1 -1
- package/dist/cdn/{HO4OZ2TD.js → U4CQJ7CC.js} +2 -2
- package/dist/cdn/{MQZY743E.js → UJW2HZ5J.js} +2 -2
- package/dist/cdn/{FSPA4G3L.js → URUZEVGG.js} +2 -2
- package/dist/cdn/{TCFU32IX.js → UTEUCV6L.js} +2 -2
- package/dist/cdn/{3WIUZIZN.js → V4UZQTUM.js} +2 -2
- package/dist/cdn/{CJ3Z2Y3E.js → V4VABQIH.js} +2 -2
- package/dist/cdn/{DUOMGL6P.js → V5DC56FF.js} +2 -2
- package/dist/cdn/{324R7XTO.js → VA3SSWHZ.js} +2 -2
- package/dist/cdn/{OZBQLAWY.js → VC46WAHT.js} +2 -2
- package/dist/cdn/{5MKM6ARD.js → VI6JG52B.js} +2 -2
- package/dist/cdn/{R6YKCHNR.js → VNMSLFKE.js} +2 -2
- package/dist/cdn/{COOXBOVF.js → VYCAZPKF.js} +2 -2
- package/dist/cdn/{MEJRDU3G.js → W4GVNBQ7.js} +2 -2
- package/dist/cdn/{CBC6GMEP.js → WGI5JQK7.js} +2 -2
- package/dist/cdn/{BBFF44EO.js → WIBU43LZ.js} +2 -2
- package/dist/cdn/{C5REOAEW.js → WNZ3R54R.js} +2 -2
- package/dist/cdn/{2UNATQTZ.js → X2SD3BDU.js} +2 -2
- package/dist/cdn/{C7RXQCFN.js → XAV67FGT.js} +2 -2
- package/dist/cdn/{X7B52VII.js → XBFMSFSU.js} +2 -2
- package/dist/cdn/{NOMEUZ7M.js → XVUURUSS.js} +2 -2
- package/dist/cdn/{LAYCWGZF.js → Y3IW7VIR.js} +2 -2
- package/dist/cdn/{A2TXFLX3.js → Y77QVPB7.js} +1 -1
- package/dist/cdn/{RSK45BTL.js → YAEVA653.js} +2 -2
- package/dist/cdn/{GOUFRY3A.js → YMXGRU6W.js} +2 -2
- package/dist/cdn/{UPIGN5ZN.js → YN3MMETD.js} +2 -2
- package/dist/cdn/{6AI7F5BR.js → YO742YTS.js} +2 -2
- package/dist/cdn/{LCRIIOHN.js → YPSUSWLK.js} +2 -2
- package/dist/cdn/{EIHZLZ3S.js → YSRLTKMT.js} +2 -2
- package/dist/cdn/{Q7KJPJBZ.js → YU2ZDHVN.js} +1 -1
- package/dist/cdn/{ZIH457XI.js → ZMRVBRNO.js} +2 -2
- package/dist/cdn/{7WC2DGMP.js → ZQPO7IVR.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/model.js +2 -2
- package/dist/cdn/spec.js +2 -2
- package/dist/chart-rendering/common/data/utils/selection/index.d.ts +0 -7
- package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-format/category-axis/index.d.ts +12 -0
- package/dist/chart-rendering/next/chart-library-elements/labels/utils/index.d.ts +46 -0
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-object-literals.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +229 -226
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/model-with-y-guides.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +23 -19
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +1 -9
- package/dist/components/arcgis-chart/customElement.js +4575 -4457
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -51
- package/dist/docs/docs.json +2 -38
- package/dist/docs/vscode.html-custom-data.json +0 -12
- package/dist/docs/web-types.json +1 -17
- package/dist/index.js +28 -27
- package/dist/loader.js +2 -2
- package/dist/model.js +1 -1
- package/dist/spec/web-chart.d.ts +3 -3
- package/dist/spec.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/components/interfaces.d.ts +0 -1
- package/dist/utils/type-guards/series-types.d.ts +8 -1
- package/package.json +3 -3
- package/dist/cdn/PQH6GTMO.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as L, j as we, c as ie, d as Te, W as c, S as bi, b as St, l as gi, k as E, h as vt, n as
|
|
1
|
+
import { a as L, j as we, c as ie, d as Te, W as c, S as bi, b as St, l as gi, k as E, h as vt, n as ke, r as Si, m as vi, e as le, G as wi, s as ge } from "./chart-object-literals.js";
|
|
2
2
|
import { c as Fe, R as q, f as tt, b as Ae, d as wt, e as It, j as fe, a as R, k as He } from "./rest-js-object-literals.js";
|
|
3
3
|
import { WebChartCurrentVersion as re, OverlayTerms as K, defaultPieFromFieldsName as it, defaultPieFromFieldsValue as xt, defaultBarLineFromFieldsName as Ii, defaultBarLineFromFieldsValue as xi } from "../spec.js";
|
|
4
4
|
import { substitute as V } from "@arcgis/core/intl.js";
|
|
@@ -18,13 +18,13 @@ import $i from "@arcgis/core/layers/FeatureLayer.js";
|
|
|
18
18
|
import Bi from "@arcgis/core/portal/Portal.js";
|
|
19
19
|
import Ri from "fast-memoize";
|
|
20
20
|
import Pi from "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
21
|
-
import
|
|
22
|
-
import
|
|
21
|
+
import ji from "@arcgis/core/rest/support/Query.js";
|
|
22
|
+
import ki from "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
23
23
|
import Tt from "@arcgis/core/time/TimeExtent.js";
|
|
24
24
|
import * as Ft from "@arcgis/core/core/promiseUtils.js";
|
|
25
25
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
26
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
27
|
-
v4.34.0-next.
|
|
27
|
+
v4.34.0-next.108 */
|
|
28
28
|
const ut = {
|
|
29
29
|
Count: "count",
|
|
30
30
|
Start: "minValue",
|
|
@@ -643,7 +643,7 @@ async function Pa(e = ae()) {
|
|
|
643
643
|
legend: pe()
|
|
644
644
|
};
|
|
645
645
|
}
|
|
646
|
-
async function
|
|
646
|
+
async function ja(e = ae()) {
|
|
647
647
|
return {
|
|
648
648
|
version: re,
|
|
649
649
|
type: c.Chart,
|
|
@@ -675,7 +675,7 @@ async function ka(e = ae()) {
|
|
|
675
675
|
showOutliers: !1
|
|
676
676
|
};
|
|
677
677
|
}
|
|
678
|
-
async function
|
|
678
|
+
async function ka(e = ae()) {
|
|
679
679
|
return {
|
|
680
680
|
version: re,
|
|
681
681
|
type: c.Chart,
|
|
@@ -1022,7 +1022,7 @@ async function za(e) {
|
|
|
1022
1022
|
return i;
|
|
1023
1023
|
}
|
|
1024
1024
|
function sr() {
|
|
1025
|
-
return
|
|
1025
|
+
return ke.Side;
|
|
1026
1026
|
}
|
|
1027
1027
|
async function Ga() {
|
|
1028
1028
|
return (await $(
|
|
@@ -1106,17 +1106,17 @@ var fr = {
|
|
|
1106
1106
|
return String.prototype.trimRight ? e.trimRight() : e.replace(/(\s*$)/g, "");
|
|
1107
1107
|
}
|
|
1108
1108
|
}, Se = fr;
|
|
1109
|
-
function
|
|
1109
|
+
function yr(e, t) {
|
|
1110
1110
|
e = Se.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
|
|
1111
1111
|
var i = e.length, r = !1, n = 0, a = 0, s = "";
|
|
1112
1112
|
function o() {
|
|
1113
1113
|
if (!r) {
|
|
1114
1114
|
var l = Se.trim(e.slice(n, a)), u = l.indexOf(":");
|
|
1115
1115
|
if (u !== -1) {
|
|
1116
|
-
var f = Se.trim(l.slice(0, u)),
|
|
1116
|
+
var f = Se.trim(l.slice(0, u)), y = Se.trim(l.slice(u + 1));
|
|
1117
1117
|
if (f) {
|
|
1118
|
-
var
|
|
1119
|
-
|
|
1118
|
+
var h = t(n, s.length, f, y, l);
|
|
1119
|
+
h && (s += h + "; ");
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
1122
1122
|
}
|
|
@@ -1133,8 +1133,8 @@ function hr(e, t) {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
return Se.trim(s);
|
|
1135
1135
|
}
|
|
1136
|
-
var
|
|
1137
|
-
function
|
|
1136
|
+
var hr = yr, Re = ue, mr = hr;
|
|
1137
|
+
function yt(e) {
|
|
1138
1138
|
return e == null;
|
|
1139
1139
|
}
|
|
1140
1140
|
function br(e) {
|
|
@@ -1149,20 +1149,20 @@ function Bt(e) {
|
|
|
1149
1149
|
Bt.prototype.process = function(e) {
|
|
1150
1150
|
if (e = e || "", e = e.toString(), !e) return "";
|
|
1151
1151
|
var t = this, i = t.options, r = i.whiteList, n = i.onAttr, a = i.onIgnoreAttr, s = i.safeAttrValue, o = mr(e, function(d, p, l, u, f) {
|
|
1152
|
-
var
|
|
1153
|
-
if (
|
|
1152
|
+
var y = r[l], h = !1;
|
|
1153
|
+
if (y === !0 ? h = y : typeof y == "function" ? h = y(u) : y instanceof RegExp && (h = y.test(u)), h !== !0 && (h = !1), u = s(l, u), !!u) {
|
|
1154
1154
|
var g = {
|
|
1155
1155
|
position: p,
|
|
1156
1156
|
sourcePosition: d,
|
|
1157
1157
|
source: f,
|
|
1158
|
-
isWhite:
|
|
1158
|
+
isWhite: h
|
|
1159
1159
|
};
|
|
1160
|
-
if (
|
|
1160
|
+
if (h) {
|
|
1161
1161
|
var b = n(l, u, g);
|
|
1162
|
-
return
|
|
1162
|
+
return yt(b) ? l + ":" + u : b;
|
|
1163
1163
|
} else {
|
|
1164
1164
|
var b = a(l, u, g);
|
|
1165
|
-
if (!
|
|
1165
|
+
if (!yt(b))
|
|
1166
1166
|
return b;
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
@@ -1304,7 +1304,7 @@ function xr(e, t, i) {
|
|
|
1304
1304
|
}
|
|
1305
1305
|
function Cr(e, t, i) {
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1307
|
+
function jt(e) {
|
|
1308
1308
|
return e.replace(Fr, "<").replace(Ar, ">");
|
|
1309
1309
|
}
|
|
1310
1310
|
function Tr(e, t, i, r) {
|
|
@@ -1316,14 +1316,14 @@ function Tr(e, t, i, r) {
|
|
|
1316
1316
|
if (Pe.lastIndex = 0, Pe.test(i))
|
|
1317
1317
|
return "";
|
|
1318
1318
|
} else if (t === "style") {
|
|
1319
|
-
if (
|
|
1319
|
+
if (ht.lastIndex = 0, ht.test(i) || (mt.lastIndex = 0, mt.test(i) && (Pe.lastIndex = 0, Pe.test(i))))
|
|
1320
1320
|
return "";
|
|
1321
1321
|
r !== !1 && (r = r || Pt, i = r.process(i));
|
|
1322
1322
|
}
|
|
1323
1323
|
return i = Mt(i), i;
|
|
1324
1324
|
}
|
|
1325
|
-
var Fr = /</g, Ar = />/g, Lr = /"/g, Dr = /"/g, Or = /&#([a-zA-Z0-9]*);?/gim, $r = /:?/gim, Br = /&newline;?/gim, Pe = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,
|
|
1326
|
-
function
|
|
1325
|
+
var Fr = /</g, Ar = />/g, Lr = /"/g, Dr = /"/g, Or = /&#([a-zA-Z0-9]*);?/gim, $r = /:?/gim, Br = /&newline;?/gim, Pe = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, ht = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, mt = /u\s*r\s*l\s*\(.*/gi;
|
|
1326
|
+
function kt(e) {
|
|
1327
1327
|
return e.replace(Lr, """);
|
|
1328
1328
|
}
|
|
1329
1329
|
function Wt(e) {
|
|
@@ -1346,7 +1346,7 @@ function Nt(e) {
|
|
|
1346
1346
|
return e = Wt(e), e = Et(e), e = qt(e), e = _t(e), e;
|
|
1347
1347
|
}
|
|
1348
1348
|
function Mt(e) {
|
|
1349
|
-
return e =
|
|
1349
|
+
return e = kt(e), e = jt(e), e;
|
|
1350
1350
|
}
|
|
1351
1351
|
function Rr() {
|
|
1352
1352
|
return "";
|
|
@@ -1381,7 +1381,7 @@ function Pr(e, t) {
|
|
|
1381
1381
|
}
|
|
1382
1382
|
};
|
|
1383
1383
|
}
|
|
1384
|
-
function
|
|
1384
|
+
function jr(e) {
|
|
1385
1385
|
for (var t = "", i = 0; i < e.length; ) {
|
|
1386
1386
|
var r = e.indexOf("<!--", i);
|
|
1387
1387
|
if (r === -1) {
|
|
@@ -1396,7 +1396,7 @@ function kr(e) {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
return t;
|
|
1398
1398
|
}
|
|
1399
|
-
function
|
|
1399
|
+
function kr(e) {
|
|
1400
1400
|
var t = e.split("");
|
|
1401
1401
|
return t = t.filter(function(i) {
|
|
1402
1402
|
var r = i.charCodeAt(0);
|
|
@@ -1410,8 +1410,8 @@ F.onIgnoreTag = Ir;
|
|
|
1410
1410
|
F.onTagAttr = xr;
|
|
1411
1411
|
F.onIgnoreTagAttr = Cr;
|
|
1412
1412
|
F.safeAttrValue = Tr;
|
|
1413
|
-
F.escapeHtml =
|
|
1414
|
-
F.escapeQuote =
|
|
1413
|
+
F.escapeHtml = jt;
|
|
1414
|
+
F.escapeQuote = kt;
|
|
1415
1415
|
F.unescapeQuote = Wt;
|
|
1416
1416
|
F.escapeHtmlEntities = Et;
|
|
1417
1417
|
F.escapeDangerHtml5Entities = qt;
|
|
@@ -1420,8 +1420,8 @@ F.friendlyAttrValue = Nt;
|
|
|
1420
1420
|
F.escapeAttrValue = Mt;
|
|
1421
1421
|
F.onIgnoreTagStripAll = Rr;
|
|
1422
1422
|
F.StripTagBody = Pr;
|
|
1423
|
-
F.stripCommentTag =
|
|
1424
|
-
F.stripBlankChar =
|
|
1423
|
+
F.stripCommentTag = jr;
|
|
1424
|
+
F.stripBlankChar = kr;
|
|
1425
1425
|
F.cssFilter = Pt;
|
|
1426
1426
|
F.getDefaultCSSWhiteList = vr;
|
|
1427
1427
|
var ze = {}, te = at;
|
|
@@ -1457,12 +1457,12 @@ function qr(e, t, i) {
|
|
|
1457
1457
|
continue;
|
|
1458
1458
|
}
|
|
1459
1459
|
if (u === '"' || u === "'")
|
|
1460
|
-
for (var f = 1,
|
|
1461
|
-
if (
|
|
1460
|
+
for (var f = 1, y = e.charAt(o - f); y.trim() === "" || y === "="; ) {
|
|
1461
|
+
if (y === "=") {
|
|
1462
1462
|
s = u;
|
|
1463
1463
|
continue e;
|
|
1464
1464
|
}
|
|
1465
|
-
|
|
1465
|
+
y = e.charAt(o - ++f);
|
|
1466
1466
|
}
|
|
1467
1467
|
} else if (u === s) {
|
|
1468
1468
|
s = !1;
|
|
@@ -1474,10 +1474,10 @@ function qr(e, t, i) {
|
|
|
1474
1474
|
var _r = /[^a-zA-Z0-9\\_:.-]/gim;
|
|
1475
1475
|
function Nr(e, t) {
|
|
1476
1476
|
var i = 0, r = 0, n = [], a = !1, s = e.length;
|
|
1477
|
-
function o(f,
|
|
1477
|
+
function o(f, y) {
|
|
1478
1478
|
if (f = te.trim(f), f = f.replace(_r, "").toLowerCase(), !(f.length < 1)) {
|
|
1479
|
-
var
|
|
1480
|
-
|
|
1479
|
+
var h = t(f, y || "");
|
|
1480
|
+
h && n.push(h);
|
|
1481
1481
|
}
|
|
1482
1482
|
}
|
|
1483
1483
|
for (var d = 0; d < s; d++) {
|
|
@@ -1539,7 +1539,7 @@ function bt(e) {
|
|
|
1539
1539
|
ze.parseTag = qr;
|
|
1540
1540
|
ze.parseAttr = Nr;
|
|
1541
1541
|
var Ur = nt.FilterCSS, z = F, Vt = ze, Hr = Vt.parseTag, Qr = Vt.parseAttr, Ee = at;
|
|
1542
|
-
function
|
|
1542
|
+
function je(e) {
|
|
1543
1543
|
return e == null;
|
|
1544
1544
|
}
|
|
1545
1545
|
function Jr(e) {
|
|
@@ -1586,24 +1586,24 @@ zt.prototype.process = function(e) {
|
|
|
1586
1586
|
), a = u.onIgnoreTag);
|
|
1587
1587
|
var f = Hr(
|
|
1588
1588
|
e,
|
|
1589
|
-
function(
|
|
1590
|
-
var
|
|
1591
|
-
sourcePosition:
|
|
1592
|
-
position:
|
|
1589
|
+
function(y, h, g, b, S) {
|
|
1590
|
+
var C = {
|
|
1591
|
+
sourcePosition: y,
|
|
1592
|
+
position: h,
|
|
1593
1593
|
isClosing: S,
|
|
1594
1594
|
isWhite: Object.prototype.hasOwnProperty.call(r, g)
|
|
1595
|
-
},
|
|
1596
|
-
if (!
|
|
1597
|
-
if (
|
|
1598
|
-
if (
|
|
1595
|
+
}, I = n(g, b, C);
|
|
1596
|
+
if (!je(I)) return I;
|
|
1597
|
+
if (C.isWhite) {
|
|
1598
|
+
if (C.isClosing)
|
|
1599
1599
|
return "</" + g + ">";
|
|
1600
|
-
var
|
|
1600
|
+
var k = Jr(b), D = r[g], W = Qr(k.html, function(H, _) {
|
|
1601
1601
|
var se = Ee.indexOf(D, H) !== -1, N = s(g, H, _, se);
|
|
1602
|
-
return
|
|
1602
|
+
return je(N) ? se ? (_ = d(g, H, _, l), _ ? H + '="' + _ + '"' : H) : (N = o(g, H, _, se), je(N) ? void 0 : N) : N;
|
|
1603
1603
|
});
|
|
1604
|
-
return b = "<" + g, W && (b += " " + W),
|
|
1604
|
+
return b = "<" + g, W && (b += " " + W), k.closing && (b += " /"), b += ">", b;
|
|
1605
1605
|
} else
|
|
1606
|
-
return
|
|
1606
|
+
return I = a(g, b, C), je(I) ? p(b) : I;
|
|
1607
1607
|
},
|
|
1608
1608
|
p
|
|
1609
1609
|
);
|
|
@@ -1627,7 +1627,7 @@ var Xr = zt;
|
|
|
1627
1627
|
}
|
|
1628
1628
|
s() && (self.filterXSS = e.exports);
|
|
1629
1629
|
})(Xe, Xe.exports);
|
|
1630
|
-
var
|
|
1630
|
+
var ye = Xe.exports, Yr = function(e) {
|
|
1631
1631
|
if (typeof e != "object" || e === null || Object.prototype.toString.call(e) !== "[object Object]")
|
|
1632
1632
|
return !1;
|
|
1633
1633
|
var t = Object.getPrototypeOf(e);
|
|
@@ -1722,7 +1722,7 @@ var he = Xe.exports, Yr = function(e) {
|
|
|
1722
1722
|
"preload",
|
|
1723
1723
|
"width"
|
|
1724
1724
|
]
|
|
1725
|
-
}, this.arcgisCSSWhiteList = qe(qe({},
|
|
1725
|
+
}, this.arcgisCSSWhiteList = qe(qe({}, ye.getDefaultCSSWhiteList()), { "align-items": !0, "align-self": !0, flex: !0, "flex-basis": !0, "flex-direction": !0, "flex-flow": !0, "flex-grow": !0, "flex-shrink": !0, "flex-wrap": !0, float: !0, gap: !0, grid: !0, "grid-area": !0, "grid-auto-columns": !0, "grid-auto-flow": !0, "grid-auto-rows": !0, "grid-column": !0, "grid-column-end": !0, "grid-column-start": !0, "grid-row": !0, "grid-row-end": !0, "grid-row-start": !0, "grid-template": !0, "grid-template-areas": !0, "grid-template-columns": !0, "grid-template-rows": !0, "justify-content": !0, "justify-items": !0, "justify-self": !0, "line-height": !0, overflow: !0 }), this.allowedProtocols = [
|
|
1726
1726
|
"http",
|
|
1727
1727
|
"https",
|
|
1728
1728
|
"mailto",
|
|
@@ -1752,7 +1752,7 @@ var he = Xe.exports, Yr = function(e) {
|
|
|
1752
1752
|
], this.arcgisFilterOptions = {
|
|
1753
1753
|
allowCommentTag: !0,
|
|
1754
1754
|
safeAttrValue: function(a, s, o, d) {
|
|
1755
|
-
return a === "a" && s === "href" || (a === "img" || a === "source") && s === "src" ? r.sanitizeUrl(o) :
|
|
1755
|
+
return a === "a" && s === "href" || (a === "img" || a === "source") && s === "src" ? r.sanitizeUrl(o) : ye.safeAttrValue(a, s, o, d);
|
|
1756
1756
|
}
|
|
1757
1757
|
}, this._entityMap = {
|
|
1758
1758
|
"&": "8",
|
|
@@ -1776,7 +1776,7 @@ var he = Xe.exports, Yr = function(e) {
|
|
|
1776
1776
|
});
|
|
1777
1777
|
} else
|
|
1778
1778
|
n[a] = t[a];
|
|
1779
|
-
})) : (n = Object.create(this.arcgisFilterOptions), n.whiteList = this.arcgisWhiteList, n.css = { whiteList: this.arcgisCSSWhiteList }), this.xssFilterOptions = n, this._xssFilter = new
|
|
1779
|
+
})) : (n = Object.create(this.arcgisFilterOptions), n.whiteList = this.arcgisWhiteList, n.css = { whiteList: this.arcgisCSSWhiteList }), this.xssFilterOptions = n, this._xssFilter = new ye.FilterXSS(n);
|
|
1780
1780
|
}
|
|
1781
1781
|
return e.prototype.sanitize = function(t, i) {
|
|
1782
1782
|
switch (i === void 0 && (i = {}), typeof t) {
|
|
@@ -1793,7 +1793,7 @@ var he = Xe.exports, Yr = function(e) {
|
|
|
1793
1793
|
}
|
|
1794
1794
|
}, e.prototype.sanitizeUrl = function(t, i) {
|
|
1795
1795
|
var r = (i ?? {}).isProtocolRequired, n = r === void 0 ? !0 : r, a = this._trim(t.substring(0, t.indexOf(":"))), s = t === "/", o = /^#/.test(t), d = a && this.allowedProtocols.indexOf(a.toLowerCase()) > -1;
|
|
1796
|
-
return s || o || d ?
|
|
1796
|
+
return s || o || d ? ye.escapeAttrValue(t) : !a && !n ? ye.escapeAttrValue("https://".concat(t)) : "";
|
|
1797
1797
|
}, e.prototype.sanitizeHTMLAttribute = function(t, i, r, n) {
|
|
1798
1798
|
return typeof this.xssFilterOptions.safeAttrValue == "function" ? this.xssFilterOptions.safeAttrValue(
|
|
1799
1799
|
t,
|
|
@@ -1801,7 +1801,7 @@ var he = Xe.exports, Yr = function(e) {
|
|
|
1801
1801
|
r,
|
|
1802
1802
|
// @ts-expect-error safeAttrValue does handle undefined cssFilter
|
|
1803
1803
|
n
|
|
1804
|
-
) :
|
|
1804
|
+
) : ye.safeAttrValue(t, i, r, n);
|
|
1805
1805
|
}, e.prototype.validate = function(t, i) {
|
|
1806
1806
|
i === void 0 && (i = {});
|
|
1807
1807
|
var r = this.sanitize(t, i);
|
|
@@ -1853,7 +1853,7 @@ var he = Xe.exports, Yr = function(e) {
|
|
|
1853
1853
|
}, e;
|
|
1854
1854
|
}()
|
|
1855
1855
|
);
|
|
1856
|
-
const
|
|
1856
|
+
const m = {
|
|
1857
1857
|
// chart with no specific subtype
|
|
1858
1858
|
NonSpecific: "nonSpecific",
|
|
1859
1859
|
// non aggregated bar/line chart
|
|
@@ -1954,14 +1954,14 @@ function Ya(e) {
|
|
|
1954
1954
|
maxBarTwoSeriesCountTotal: l,
|
|
1955
1955
|
maxBarThreePlusSeriesCountPerSeries: u,
|
|
1956
1956
|
maxBarThreePlusSeriesCountTotal: f,
|
|
1957
|
-
maxLineChartSeriesCount:
|
|
1958
|
-
maxLineUniqueSeriesCountTotal:
|
|
1957
|
+
maxLineChartSeriesCount: y,
|
|
1958
|
+
maxLineUniqueSeriesCountTotal: h,
|
|
1959
1959
|
maxLineTwoSeriesCountPerSeries: g,
|
|
1960
1960
|
maxLineTwoSeriesCountTotal: b,
|
|
1961
1961
|
maxLineThreePlusSeriesCountPerSeries: S,
|
|
1962
|
-
maxLineThreePlusSeriesCountTotal:
|
|
1963
|
-
maxPieChartSliceCountTotal:
|
|
1964
|
-
maxGaugeByFeaturesLimit:
|
|
1962
|
+
maxLineThreePlusSeriesCountTotal: C,
|
|
1963
|
+
maxPieChartSliceCountTotal: I,
|
|
1964
|
+
maxGaugeByFeaturesLimit: k,
|
|
1965
1965
|
maxBoxPlotSeriesCount: D,
|
|
1966
1966
|
maxBoxUniqueSeriesCountTotal: W,
|
|
1967
1967
|
maxBoxTwoSeriesCountTotal: H,
|
|
@@ -1981,11 +1981,11 @@ function Ya(e) {
|
|
|
1981
1981
|
case c.RadarSeries:
|
|
1982
1982
|
{
|
|
1983
1983
|
const A = t / i;
|
|
1984
|
-
i <=
|
|
1984
|
+
i <= y ? i === 0 ? s = !0 : i === 1 ? s = t <= h : i === 2 ? s = t <= b && A <= g : i > 2 && (s = t <= C && A <= S) : s = !1;
|
|
1985
1985
|
}
|
|
1986
1986
|
break;
|
|
1987
1987
|
case c.PieSeries:
|
|
1988
|
-
s = t <=
|
|
1988
|
+
s = t <= I;
|
|
1989
1989
|
break;
|
|
1990
1990
|
case c.BoxPlotSeries:
|
|
1991
1991
|
{
|
|
@@ -1994,7 +1994,7 @@ function Ya(e) {
|
|
|
1994
1994
|
}
|
|
1995
1995
|
break;
|
|
1996
1996
|
case c.GaugeSeries:
|
|
1997
|
-
s = t <=
|
|
1997
|
+
s = t <= k;
|
|
1998
1998
|
break;
|
|
1999
1999
|
}
|
|
2000
2000
|
}
|
|
@@ -2167,7 +2167,7 @@ function ln(e) {
|
|
|
2167
2167
|
return e.orderOptions?.orderByFields?.map((t) => on(t).fieldToSort) ?? [];
|
|
2168
2168
|
}
|
|
2169
2169
|
function cs(e) {
|
|
2170
|
-
return e ===
|
|
2170
|
+
return e === m.BarAndLineSplitBy || e === m.BarAndLineSplitByNoAggregation || e === m.BoxPlotMonoFieldAndSplitBy || e === m.BoxPlotMultiFieldsAndSplitBy || e === m.BoxPlotMonoFieldAndCategoryAndSplitBy;
|
|
2171
2171
|
}
|
|
2172
2172
|
function us(e, t) {
|
|
2173
2173
|
let { selectionItems: i } = e ?? {};
|
|
@@ -2184,7 +2184,7 @@ function us(e, t) {
|
|
|
2184
2184
|
function fs(e) {
|
|
2185
2185
|
return e?.selectionOIDs === void 0 || e.selectionOIDs.length === 0;
|
|
2186
2186
|
}
|
|
2187
|
-
function
|
|
2187
|
+
function ys(e = {
|
|
2188
2188
|
arrayA: [],
|
|
2189
2189
|
arrayB: [],
|
|
2190
2190
|
getKey: (t) => t
|
|
@@ -2210,7 +2210,7 @@ function hs(e = {
|
|
|
2210
2210
|
o[d] = s[p];
|
|
2211
2211
|
}), o;
|
|
2212
2212
|
}
|
|
2213
|
-
const
|
|
2213
|
+
const hs = {
|
|
2214
2214
|
isSupportedHistogram: Ht,
|
|
2215
2215
|
isSupportedPieChart: Qt,
|
|
2216
2216
|
isSupportedScatterplot: Ut
|
|
@@ -2339,7 +2339,7 @@ function fn(e) {
|
|
|
2339
2339
|
t = le.Unrecognized, i.push(pn);
|
|
2340
2340
|
return { versionStatus: t, versions: i };
|
|
2341
2341
|
}
|
|
2342
|
-
function
|
|
2342
|
+
function yn(e) {
|
|
2343
2343
|
const { series: t } = e;
|
|
2344
2344
|
let r = ("showMean" in e ? e.showMean : !1) === !0 ? t.find((n) => n.type === c.LineSeries) : t[0];
|
|
2345
2345
|
return r ??= t[0], r;
|
|
@@ -2378,29 +2378,29 @@ function bs(e) {
|
|
|
2378
2378
|
return a !== "" && s !== "" && (o = `${a}=${s}`), o;
|
|
2379
2379
|
}
|
|
2380
2380
|
function Jt(e) {
|
|
2381
|
-
let t =
|
|
2382
|
-
return e[0].query?.outStatistics === void 0 ? t =
|
|
2381
|
+
let t = m.PieFromCategory;
|
|
2382
|
+
return e[0].query?.outStatistics === void 0 ? t = m.PieNoAggregation : e[0].query?.groupByFieldsForStatistics === void 0 && (t = m.PieFromFields), t;
|
|
2383
2383
|
}
|
|
2384
2384
|
function Kt(e) {
|
|
2385
|
-
let t =
|
|
2385
|
+
let t = m.BarAndLineMonoField;
|
|
2386
2386
|
const i = e[0].query?.where;
|
|
2387
|
-
return e[0].query?.groupByFieldsForStatistics === void 0 && (e[0].query?.outStatistics ?? []).length > 0 ? t =
|
|
2387
|
+
return e[0].query?.groupByFieldsForStatistics === void 0 && (e[0].query?.outStatistics ?? []).length > 0 ? t = m.BarAndLineFromFields : i === void 0 && e[0].query?.outStatistics === void 0 ? t = m.BarAndLineNoAggregation : me(i) ? e.length > 1 && (t = m.BarAndLineMultiFields) : t = e[0].query?.outStatistics === void 0 ? m.BarAndLineSplitByNoAggregation : m.BarAndLineSplitBy, t;
|
|
2388
2388
|
}
|
|
2389
|
-
function
|
|
2390
|
-
let t =
|
|
2389
|
+
function hn(e) {
|
|
2390
|
+
let t = m.BoxPlotMonoField;
|
|
2391
2391
|
const i = e.length === 1, r = e.find((o) => o.type === c.LineSeries) ?? e[0], { x: n } = r, a = "y" in r ? r.y : "", s = r.query?.where;
|
|
2392
2392
|
switch (n) {
|
|
2393
2393
|
case rt:
|
|
2394
|
-
typeof a == "object" && a.length > 1 ? me(s) ? i && (t =
|
|
2394
|
+
typeof a == "object" && a.length > 1 ? me(s) ? i && (t = m.BoxPlotMultiFields) : t = m.BoxPlotMultiFieldsAndSplitBy : i ? t = m.BoxPlotMonoField : me(s) || (t = m.BoxPlotMonoFieldAndSplitBy);
|
|
2395
2395
|
break;
|
|
2396
2396
|
default:
|
|
2397
|
-
i ? t =
|
|
2397
|
+
i ? t = m.BoxPlotMonoFieldAndCategory : me(s) ? t = m.BoxPlotMultiFieldsAndCategory : t = m.BoxPlotMonoFieldAndCategoryAndSplitBy;
|
|
2398
2398
|
break;
|
|
2399
2399
|
}
|
|
2400
2400
|
return t;
|
|
2401
2401
|
}
|
|
2402
2402
|
function Z(e) {
|
|
2403
|
-
let t =
|
|
2403
|
+
let t = m.NonSpecific;
|
|
2404
2404
|
if (e?.[0] !== void 0)
|
|
2405
2405
|
switch (M(e)) {
|
|
2406
2406
|
case c.PieSeries:
|
|
@@ -2413,7 +2413,7 @@ function Z(e) {
|
|
|
2413
2413
|
t = Kt(e);
|
|
2414
2414
|
break;
|
|
2415
2415
|
case c.BoxPlotSeries:
|
|
2416
|
-
t =
|
|
2416
|
+
t = hn(e);
|
|
2417
2417
|
break;
|
|
2418
2418
|
}
|
|
2419
2419
|
return t;
|
|
@@ -2423,7 +2423,7 @@ function gs(e) {
|
|
|
2423
2423
|
let n = !1;
|
|
2424
2424
|
if (mn(t) && t.binTemporalData !== !1 && i === c.DateAxisFormat) {
|
|
2425
2425
|
const a = Z([t]);
|
|
2426
|
-
if (t.temporalBinning && a !==
|
|
2426
|
+
if (t.temporalBinning && a !== m.BarAndLineNoAggregation && a !== m.BarAndLineSplitByNoAggregation) {
|
|
2427
2427
|
const { unit: s, size: o } = t.temporalBinning;
|
|
2428
2428
|
n = r === !0 || o !== void 0 && o > 0 && s !== void 0;
|
|
2429
2429
|
}
|
|
@@ -2469,7 +2469,7 @@ function vs(e) {
|
|
|
2469
2469
|
return e !== void 0 && ("bins" in e ? t = e.bins : "dataItems" in e && (t = e.dataItems)), t;
|
|
2470
2470
|
}
|
|
2471
2471
|
function Sn(e) {
|
|
2472
|
-
return e ===
|
|
2472
|
+
return e === m.BoxPlotMultiFields || e === m.BoxPlotMultiFieldsAndCategory || e === m.BoxPlotMultiFieldsAndSplitBy;
|
|
2473
2473
|
}
|
|
2474
2474
|
function Ne(e) {
|
|
2475
2475
|
const { key: t, y: i, chartSubType: r, splitBy: n, splitByValue: a, showOutliers: s, standardizeValues: o } = e;
|
|
@@ -2484,19 +2484,19 @@ function vn(e) {
|
|
|
2484
2484
|
const { configSeries: t, boxPlotDataItem: i, yList: r, showOutliers: n } = e, a = Z(t);
|
|
2485
2485
|
let s = !1;
|
|
2486
2486
|
switch (a) {
|
|
2487
|
-
case
|
|
2488
|
-
case
|
|
2489
|
-
case
|
|
2487
|
+
case m.BoxPlotMonoField:
|
|
2488
|
+
case m.BoxPlotMultiFields:
|
|
2489
|
+
case m.BoxPlotMonoFieldAndCategory:
|
|
2490
2490
|
s = Je({ dataItem: i, showOutliers: n });
|
|
2491
2491
|
break;
|
|
2492
|
-
case
|
|
2492
|
+
case m.BoxPlotMultiFieldsAndCategory:
|
|
2493
2493
|
s = r.some(
|
|
2494
2494
|
(o) => Je({ dataItem: i, y: o, showOutliers: n })
|
|
2495
2495
|
);
|
|
2496
2496
|
break;
|
|
2497
|
-
case
|
|
2498
|
-
case
|
|
2499
|
-
case
|
|
2497
|
+
case m.BoxPlotMonoFieldAndSplitBy:
|
|
2498
|
+
case m.BoxPlotMultiFieldsAndSplitBy:
|
|
2499
|
+
case m.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
2500
2500
|
s = t.some(
|
|
2501
2501
|
(o) => Je({
|
|
2502
2502
|
dataItem: i,
|
|
@@ -2519,7 +2519,7 @@ function Me(e, t) {
|
|
|
2519
2519
|
const r = t ?? Zt(e), n = Z(e);
|
|
2520
2520
|
return i = e.filter((a) => r.includes(a.id)).map((a) => {
|
|
2521
2521
|
let s = "y" in a ? a.y : void 0;
|
|
2522
|
-
return s !== void 0 && n ===
|
|
2522
|
+
return s !== void 0 && n === m.BarAndLineSplitByNoAggregation && (s = `${s.toString()}_${De({ where: a.query?.where })}`), s;
|
|
2523
2523
|
}).filter((a) => a !== void 0), Array.from(new Set(i.flat()));
|
|
2524
2524
|
}
|
|
2525
2525
|
function wn(e) {
|
|
@@ -2587,7 +2587,7 @@ function ws(e) {
|
|
|
2587
2587
|
{
|
|
2588
2588
|
const p = o;
|
|
2589
2589
|
let { x: l, y: u } = t.series[0];
|
|
2590
|
-
Z(t.series) ===
|
|
2590
|
+
Z(t.series) === m.PieFromFields && (l = it, u = xt);
|
|
2591
2591
|
const f = p[u];
|
|
2592
2592
|
d = p[l] !== void 0 && p[l] !== null && !Fi(f) && ee(Number(f), i);
|
|
2593
2593
|
}
|
|
@@ -2628,11 +2628,11 @@ function Cn(e) {
|
|
|
2628
2628
|
n.forEach((l) => {
|
|
2629
2629
|
if (a) {
|
|
2630
2630
|
let u = [], f = [];
|
|
2631
|
-
for (let
|
|
2632
|
-
const
|
|
2633
|
-
|
|
2631
|
+
for (let y = 0; y < l.length; y += 1) {
|
|
2632
|
+
const h = d[l[y]];
|
|
2633
|
+
h < 0 ? f[p] = (f[p] ?? 0) + h : u[p] = (u[p] ?? 0) + h;
|
|
2634
2634
|
}
|
|
2635
|
-
u = u.filter((
|
|
2635
|
+
u = u.filter((y) => Number.isFinite(y)).sort((y, h) => y - h), f = f.filter((y) => Number.isFinite(y)).sort((y, h) => y - h), s = Math.max(
|
|
2636
2636
|
s,
|
|
2637
2637
|
u.length > 0 ? u[u.length - 1] : f[f.length - 1]
|
|
2638
2638
|
), o = Math.min(
|
|
@@ -2642,8 +2642,8 @@ function Cn(e) {
|
|
|
2642
2642
|
} else {
|
|
2643
2643
|
let u = 0;
|
|
2644
2644
|
for (let f = 0; f < l.length; f += 1) {
|
|
2645
|
-
const
|
|
2646
|
-
u +=
|
|
2645
|
+
const y = d[l[f]];
|
|
2646
|
+
u += y, s = Math.max(s, u), o = Math.min(o, u);
|
|
2647
2647
|
}
|
|
2648
2648
|
}
|
|
2649
2649
|
});
|
|
@@ -2657,26 +2657,26 @@ function Is(e) {
|
|
|
2657
2657
|
let t = Number.NaN, i = Number.NaN, r, n;
|
|
2658
2658
|
const { chartConfig: a, chartData: s, filteredSeriesIds: o } = e, { series: d } = a;
|
|
2659
2659
|
if (d?.length > 0) {
|
|
2660
|
-
const { x: p } = d[0], l = s.filter((
|
|
2661
|
-
[r, n] = pt(l, (
|
|
2660
|
+
const { x: p } = d[0], l = s.filter((y) => y[p] !== null);
|
|
2661
|
+
[r, n] = pt(l, (y) => y[p]), a.axes?.[1]?.valueFormat.type === c.DateAxisFormat && r !== void 0 && n !== void 0 && ([r, n] = [new Date(r).valueOf(), new Date(n).valueOf()]);
|
|
2662
2662
|
const f = M(a.series);
|
|
2663
2663
|
if (f === c.HistogramSeries && s.length > 0) {
|
|
2664
|
-
const
|
|
2665
|
-
r = typeof
|
|
2664
|
+
const y = s[0]?.[ut.Start], h = s[s.length - 1]?.[ut.End];
|
|
2665
|
+
r = typeof y == "number" ? y : r, n = typeof h == "number" ? h : n;
|
|
2666
2666
|
} else if (f === c.BoxPlotSeries) {
|
|
2667
2667
|
t = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
|
|
2668
|
-
const
|
|
2668
|
+
const y = Me(d, o), h = Z(d), g = "standardizeValues" in a ? a.standardizeValues === !0 : void 0, b = a.series.map(
|
|
2669
2669
|
(S) => S.visible !== !1 ? De({ where: S.query?.where }) : ""
|
|
2670
2670
|
);
|
|
2671
2671
|
b.length === 0 && b.push(" ");
|
|
2672
2672
|
for (let S = 0; S < l.length; S += 1)
|
|
2673
|
-
for (let
|
|
2674
|
-
const
|
|
2675
|
-
for (let
|
|
2673
|
+
for (let C = 0; C < y.length; C += 1) {
|
|
2674
|
+
const I = h === m.BoxPlotMultiFieldsAndCategory ? y[C] : void 0;
|
|
2675
|
+
for (let k = 0; k < b.length; k += 1) {
|
|
2676
2676
|
const { min: D, max: W } = Tn({
|
|
2677
|
-
y:
|
|
2678
|
-
splitByValue: b[
|
|
2679
|
-
chartSubType:
|
|
2677
|
+
y: I,
|
|
2678
|
+
splitByValue: b[k],
|
|
2679
|
+
chartSubType: h,
|
|
2680
2680
|
showOutliers: !1,
|
|
2681
2681
|
standardizeValues: g,
|
|
2682
2682
|
dataItem: l[S]
|
|
@@ -2686,29 +2686,29 @@ function Is(e) {
|
|
|
2686
2686
|
}
|
|
2687
2687
|
} else
|
|
2688
2688
|
switch (tn(a)) {
|
|
2689
|
-
case
|
|
2689
|
+
case ke.Stacked100: {
|
|
2690
2690
|
t = Number.NaN, i = Number.NaN;
|
|
2691
2691
|
break;
|
|
2692
2692
|
}
|
|
2693
|
-
case
|
|
2694
|
-
const { stackedMinY:
|
|
2693
|
+
case ke.Stacked: {
|
|
2694
|
+
const { stackedMinY: h, stackedMaxY: g } = Cn({
|
|
2695
2695
|
seriesConfig: d,
|
|
2696
2696
|
filteredData: l,
|
|
2697
2697
|
filteredSeriesIds: o
|
|
2698
2698
|
});
|
|
2699
|
-
t =
|
|
2699
|
+
t = h, i = g;
|
|
2700
2700
|
break;
|
|
2701
2701
|
}
|
|
2702
|
-
case
|
|
2702
|
+
case ke.Side:
|
|
2703
2703
|
default: {
|
|
2704
2704
|
t = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
|
|
2705
|
-
const
|
|
2706
|
-
for (let g = 0; g <
|
|
2707
|
-
const b =
|
|
2705
|
+
const h = Me(d, o);
|
|
2706
|
+
for (let g = 0; g < h.length; g += 1) {
|
|
2707
|
+
const b = h[g], [S, C] = pt(
|
|
2708
2708
|
l,
|
|
2709
|
-
(
|
|
2709
|
+
(I) => I[b]
|
|
2710
2710
|
);
|
|
2711
|
-
S !== void 0 && S < t && (t = S),
|
|
2711
|
+
S !== void 0 && S < t && (t = S), C !== void 0 && C > i && (i = C);
|
|
2712
2712
|
}
|
|
2713
2713
|
break;
|
|
2714
2714
|
}
|
|
@@ -2767,12 +2767,12 @@ function Dn(e, t) {
|
|
|
2767
2767
|
}
|
|
2768
2768
|
function Ts(e) {
|
|
2769
2769
|
return P(
|
|
2770
|
-
|
|
2770
|
+
j(e)
|
|
2771
2771
|
)?.sourceJSON?.advancedQueryCapabilities.supportedOperationsWithCacheHint.includes("queryBins");
|
|
2772
2772
|
}
|
|
2773
2773
|
function Fs(e) {
|
|
2774
2774
|
let t = !1;
|
|
2775
|
-
const r = P(
|
|
2775
|
+
const r = P(j(e)).sourceJSON;
|
|
2776
2776
|
if (r) {
|
|
2777
2777
|
const n = r.queryBinsCapabilities?.supportsFixedIntervalBin, a = r.queryBinsCapabilities?.supportedStatisticTypes, s = [L.Maximum, L.Count].every(
|
|
2778
2778
|
(o) => a?.includes(o.toUpperCase()) || a?.includes(o.toLowerCase())
|
|
@@ -2785,7 +2785,7 @@ function As(e) {
|
|
|
2785
2785
|
let t;
|
|
2786
2786
|
return st(e) ? t = e.layer : t = e, t;
|
|
2787
2787
|
}
|
|
2788
|
-
function
|
|
2788
|
+
function j(e) {
|
|
2789
2789
|
let t;
|
|
2790
2790
|
return st(e) ? t = e.layer : t = e, t;
|
|
2791
2791
|
}
|
|
@@ -2797,7 +2797,7 @@ function On(e) {
|
|
|
2797
2797
|
function Ls(e) {
|
|
2798
2798
|
const { chartConfig: t, queryObject: i } = e;
|
|
2799
2799
|
let r;
|
|
2800
|
-
const n =
|
|
2800
|
+
const n = j(i);
|
|
2801
2801
|
return n && (r = {
|
|
2802
2802
|
id: n.id,
|
|
2803
2803
|
layerType: "ArcGISFeatureLayer"
|
|
@@ -2831,29 +2831,29 @@ function $n(e) {
|
|
|
2831
2831
|
async function Ds(e) {
|
|
2832
2832
|
const { queryObject: t, queryConfig: i, outputFormat: r, dataFormat: n, outAnalytics: a } = e, { where: s, geometry: o, distance: d, units: p, timeExtent: l } = i;
|
|
2833
2833
|
let u;
|
|
2834
|
-
const f =
|
|
2834
|
+
const f = j(t), y = P(f), g = { query: { where: Ce([s, y.definitionExpression]) } }, b = lt(o)?.extent?.toJSON();
|
|
2835
2835
|
if (b !== void 0) {
|
|
2836
|
-
const
|
|
2836
|
+
const C = $n(p), { xmin: I, ymin: k, xmax: D, ymax: W } = b;
|
|
2837
2837
|
g.query = {
|
|
2838
2838
|
...g.query,
|
|
2839
2839
|
geometryType: "esriGeometryEnvelope",
|
|
2840
|
-
geometry: `${
|
|
2840
|
+
geometry: `${I},${k},${D},${W}`,
|
|
2841
2841
|
distance: d,
|
|
2842
|
-
units:
|
|
2842
|
+
units: C,
|
|
2843
2843
|
inSR: o?.spatialReference?.wkid
|
|
2844
2844
|
};
|
|
2845
2845
|
}
|
|
2846
2846
|
l && (g.query.time = `${l[0]},${l[1]}`);
|
|
2847
|
-
const S = `${
|
|
2847
|
+
const S = `${y.url}/${y.layerId}/queryAnalytic?f=${r}&dataFormat=${n}&outAnalytics=${a}`;
|
|
2848
2848
|
try {
|
|
2849
2849
|
u = (await Ke(S, g)).data?.features?.[0]?.attributes;
|
|
2850
|
-
} catch (
|
|
2851
|
-
const
|
|
2850
|
+
} catch (C) {
|
|
2851
|
+
const I = (await $(
|
|
2852
2852
|
B(document.documentElement).t9nLocale,
|
|
2853
2853
|
O("./assets/common/t9n"),
|
|
2854
2854
|
"messages."
|
|
2855
2855
|
)).errorStrings;
|
|
2856
|
-
throw new X(U.QueryFeaturesError,
|
|
2856
|
+
throw new X(U.QueryFeaturesError, I.errors.queryError, C);
|
|
2857
2857
|
}
|
|
2858
2858
|
return u;
|
|
2859
2859
|
}
|
|
@@ -2867,7 +2867,7 @@ function Bn(e, t) {
|
|
|
2867
2867
|
async function Os(e) {
|
|
2868
2868
|
const { chartConfig: t, queryObject: i, queryConfig: r, errorStrings: n } = e;
|
|
2869
2869
|
let a;
|
|
2870
|
-
const s =
|
|
2870
|
+
const s = j(i), o = Ln(s);
|
|
2871
2871
|
if (o && i && "queryAttributeBins" in i && t.series[0].type === c.HeatChartSeries) {
|
|
2872
2872
|
const { x: d, y: p, xTemporalBinning: l, yTemporalBinning: u } = t.series[0], f = await Nn({
|
|
2873
2873
|
queryObject: i,
|
|
@@ -2879,8 +2879,8 @@ async function Os(e) {
|
|
|
2879
2879
|
});
|
|
2880
2880
|
try {
|
|
2881
2881
|
a = await i.queryAttributeBins(f);
|
|
2882
|
-
} catch (
|
|
2883
|
-
throw new X(U.QueryFeaturesError, n.errors.queryError,
|
|
2882
|
+
} catch (y) {
|
|
2883
|
+
throw new X(U.QueryFeaturesError, n.errors.queryError, y);
|
|
2884
2884
|
}
|
|
2885
2885
|
}
|
|
2886
2886
|
if (!o)
|
|
@@ -2929,21 +2929,21 @@ async function Bs(e) {
|
|
|
2929
2929
|
return l;
|
|
2930
2930
|
}
|
|
2931
2931
|
async function Rs(e) {
|
|
2932
|
-
const { queryConfig: t, x: i, queryObject: r, chartSubType: n, isGaugeByFeature: a } = e, s =
|
|
2932
|
+
const { queryConfig: t, x: i, queryObject: r, chartSubType: n, isGaugeByFeature: a } = e, s = j(r);
|
|
2933
2933
|
let o;
|
|
2934
2934
|
if (r !== void 0) {
|
|
2935
|
-
const d = s.objectIdField, { where: p, gdbVersion: l, timeExtent: u, geometry: f, distance:
|
|
2935
|
+
const d = s.objectIdField, { where: p, gdbVersion: l, timeExtent: u, geometry: f, distance: y, units: h } = t, g = Wn(u), b = lt(f), S = P(s), C = Ce([p, S.definitionExpression]), I = {
|
|
2936
2936
|
returnDistinctValues: !0,
|
|
2937
2937
|
// See issue #2653. We need a unique value for the outFields, no matter what it is, except "*", "" or multiple values.
|
|
2938
|
-
outFields: a === !0 || n ===
|
|
2939
|
-
where:
|
|
2938
|
+
outFields: a === !0 || n === m.PieNoAggregation || n === m.BarAndLineNoAggregation || n === m.BarAndLineSplitByNoAggregation ? [d] : [i],
|
|
2939
|
+
where: C,
|
|
2940
2940
|
gdbVersion: l ?? S.gdbVersion,
|
|
2941
2941
|
timeExtent: g ?? S.timeExtent,
|
|
2942
2942
|
geometry: b
|
|
2943
2943
|
};
|
|
2944
|
-
ti(
|
|
2944
|
+
ti(I) && (I.cacheHint = !0), I.geometry !== void 0 && Xt(s) && (y !== void 0 && (I.distance = y), h !== void 0 && (I.units = h));
|
|
2945
2945
|
try {
|
|
2946
|
-
o = await r.queryFeatureCount(
|
|
2946
|
+
o = await r.queryFeatureCount(I);
|
|
2947
2947
|
} catch {
|
|
2948
2948
|
o = Number.NaN;
|
|
2949
2949
|
}
|
|
@@ -2954,11 +2954,11 @@ async function Ps(e) {
|
|
|
2954
2954
|
const { queryObject: t, queryConfig: i, abortKey: r } = e, { outStatistics: n } = i, a = /* @__PURE__ */ new Map();
|
|
2955
2955
|
if (t !== void 0 && n !== void 0 && n.length > 0) {
|
|
2956
2956
|
const s = n.map((l) => {
|
|
2957
|
-
const { statisticType: u, onStatisticField: f, outStatisticFieldName:
|
|
2957
|
+
const { statisticType: u, onStatisticField: f, outStatisticFieldName: y } = l;
|
|
2958
2958
|
return {
|
|
2959
2959
|
statisticType: u,
|
|
2960
2960
|
onStatisticField: f,
|
|
2961
|
-
outStatisticFieldName:
|
|
2961
|
+
outStatisticFieldName: y?.toUpperCase()
|
|
2962
2962
|
};
|
|
2963
2963
|
});
|
|
2964
2964
|
i.outStatistics = s, delete i.num, delete i.orderByFields;
|
|
@@ -2995,7 +2995,7 @@ async function Ps(e) {
|
|
|
2995
2995
|
async function Yt(e) {
|
|
2996
2996
|
const { queryObject: t, queryConfig: i, returnUniqueIdsOnly: r, abortKey: n } = e;
|
|
2997
2997
|
let a = [];
|
|
2998
|
-
const s =
|
|
2998
|
+
const s = j(t);
|
|
2999
2999
|
if (t !== void 0) {
|
|
3000
3000
|
const o = Vn(s), d = ni({
|
|
3001
3001
|
queryObject: t,
|
|
@@ -3037,13 +3037,13 @@ async function Rn(e) {
|
|
|
3037
3037
|
async function ei(e) {
|
|
3038
3038
|
const { queryObject: t, queryConfig: i, returnUniqueIdsOnly: r, featureCount: n, noBatch: a, abortKey: s } = e;
|
|
3039
3039
|
let o = [];
|
|
3040
|
-
const d =
|
|
3040
|
+
const d = j(t);
|
|
3041
3041
|
if (t !== void 0) {
|
|
3042
3042
|
const p = n ?? 1, l = ii(d);
|
|
3043
3043
|
if (a !== !0 && p > l && d.capabilities?.query.supportsPagination) {
|
|
3044
3044
|
let u = 0, f = 0;
|
|
3045
|
-
const
|
|
3046
|
-
for (; f <
|
|
3045
|
+
const y = Math.ceil(p / l), h = Math.ceil(y / de.maxParallelRequests), g = [];
|
|
3046
|
+
for (; f < h; ) {
|
|
3047
3047
|
u = f * de.maxParallelRequests * l;
|
|
3048
3048
|
const S = Rn({
|
|
3049
3049
|
queryConfig: { ...i, start: u },
|
|
@@ -3065,7 +3065,7 @@ async function ei(e) {
|
|
|
3065
3065
|
}
|
|
3066
3066
|
return o;
|
|
3067
3067
|
}
|
|
3068
|
-
async function
|
|
3068
|
+
async function js(e) {
|
|
3069
3069
|
const { queryObject: t, queryConfig: i, uniqueFeature: r, abortKey: n } = e, a = { ...i, returnDistinctValues: !0 };
|
|
3070
3070
|
return await ei({
|
|
3071
3071
|
queryObject: t,
|
|
@@ -3076,7 +3076,7 @@ async function ks(e) {
|
|
|
3076
3076
|
// in case of querying for a unique feature, we know the query will bring back only 1 entry
|
|
3077
3077
|
});
|
|
3078
3078
|
}
|
|
3079
|
-
function
|
|
3079
|
+
function ks(e) {
|
|
3080
3080
|
if (e !== void 0) {
|
|
3081
3081
|
const t = xe.get(e);
|
|
3082
3082
|
t !== void 0 && t.abort(), xe.set(e, new AbortController());
|
|
@@ -3095,7 +3095,7 @@ async function Ws(e) {
|
|
|
3095
3095
|
const { unit: d } = a;
|
|
3096
3096
|
try {
|
|
3097
3097
|
if (d) {
|
|
3098
|
-
const p = P(
|
|
3098
|
+
const p = P(j(t));
|
|
3099
3099
|
if (o = Dn(p, r), o && t && "queryAttributeBins" in t) {
|
|
3100
3100
|
const l = await qn({
|
|
3101
3101
|
queryObject: t,
|
|
@@ -3149,15 +3149,15 @@ function Ce(e, t) {
|
|
|
3149
3149
|
n !== void 0 && (J(i) ? i = `(${n})` : i?.includes(`(${n})`) || (i = `${i} ${t ?? "AND"} (${n})`));
|
|
3150
3150
|
}), i ?? "1=1";
|
|
3151
3151
|
}
|
|
3152
|
-
function
|
|
3152
|
+
function jn(e, t) {
|
|
3153
3153
|
let i = t;
|
|
3154
3154
|
if (e !== void 0) {
|
|
3155
|
-
const r =
|
|
3155
|
+
const r = j(e), n = P(r).timeExtent;
|
|
3156
3156
|
n?.start != null && n?.end != null && (i = [n.start.valueOf(), n.end.valueOf()]);
|
|
3157
3157
|
}
|
|
3158
3158
|
return i;
|
|
3159
3159
|
}
|
|
3160
|
-
function
|
|
3160
|
+
function kn(e) {
|
|
3161
3161
|
const { queryObject: t, defaultGeometry: i, ignoreViewExtent: r } = e;
|
|
3162
3162
|
let n = i;
|
|
3163
3163
|
if (!r && st(t)) {
|
|
@@ -3181,20 +3181,23 @@ function ri(e) {
|
|
|
3181
3181
|
return e === void 0 ? ["*"] : Array.from(new Set(e));
|
|
3182
3182
|
}
|
|
3183
3183
|
function Ue(e) {
|
|
3184
|
-
const { queryObject: t, queryConfig: i, queryType: r } = e, { where: n, outStatistics: a, geometry: s, distance: o, units: d, timeExtent: p, returnDistinctValues: l } = i ?? {}, u = r === "Query" ? new
|
|
3185
|
-
|
|
3186
|
-
|
|
3184
|
+
const { queryObject: t, queryConfig: i, queryType: r } = e, { where: n, outStatistics: a, geometry: s, distance: o, units: d, timeExtent: p, returnDistinctValues: l } = i ?? {}, u = r === "Query" ? new ji({}) : new Pi({}), f = j(t), y = P(f);
|
|
3185
|
+
let h;
|
|
3186
|
+
r === "AttributeBinsQuery" && i?.objectIds?.[0] !== void 0 && (h = `${f.objectIdField} IN (${i.objectIds.join(",")})`);
|
|
3187
|
+
const g = [n, y.definitionExpression, h];
|
|
3188
|
+
if (u.where = Ce(g), u.returnDistinctValues = l ?? !1, a !== void 0) {
|
|
3189
|
+
const C = On(f);
|
|
3187
3190
|
u.outStatistics = a.filter(
|
|
3188
|
-
(I) => I.statisticType !== L.EnvelopeAggregate ||
|
|
3189
|
-
).map((I) =>
|
|
3191
|
+
(I) => I.statisticType !== L.EnvelopeAggregate || C
|
|
3192
|
+
).map((I) => ki.fromJSON(I));
|
|
3190
3193
|
}
|
|
3191
|
-
const
|
|
3192
|
-
|
|
3193
|
-
let
|
|
3194
|
-
return p && (
|
|
3194
|
+
const b = lt(s);
|
|
3195
|
+
b !== void 0 && (u.geometry = b, i?.spatialRelationship && (u.spatialRelationship = i.spatialRelationship), Xt(f) && (o !== void 0 && (u.distance = o), d !== void 0 && (u.units = d)));
|
|
3196
|
+
let S;
|
|
3197
|
+
return p && (S = new Tt({
|
|
3195
3198
|
start: p?.[0],
|
|
3196
3199
|
end: p?.[1]
|
|
3197
|
-
})),
|
|
3200
|
+
})), S !== void 0 ? u.timeExtent = S : y.timeExtent !== void 0 && (u.timeExtent = y.timeExtent), ti(u) && (u.cacheHint = !0), u;
|
|
3198
3201
|
}
|
|
3199
3202
|
function En(e) {
|
|
3200
3203
|
let t;
|
|
@@ -3209,19 +3212,19 @@ function En(e) {
|
|
|
3209
3212
|
return t;
|
|
3210
3213
|
}
|
|
3211
3214
|
async function qn(e) {
|
|
3212
|
-
const { queryObject: t, queryConfig: i, temporalBinning: r, dateField: n, splitByField: a } = e, s =
|
|
3215
|
+
const { queryObject: t, queryConfig: i, temporalBinning: r, dateField: n, splitByField: a } = e, s = j(t), d = (await Oe(t)).find((k) => k.name === n)?.type, p = Ue({
|
|
3213
3216
|
queryObject: t,
|
|
3214
3217
|
queryConfig: i,
|
|
3215
3218
|
queryType: "AttributeBinsQuery"
|
|
3216
|
-
}), { type: l, unit: u, size: f, trimIncompleteTimeInterval:
|
|
3217
|
-
if (p.lowerBoundaryAlias =
|
|
3219
|
+
}), { type: l, unit: u, size: f, trimIncompleteTimeInterval: y, timeAggregationType: h } = r, { start: g, end: b, offset: S, outTimeZone: C } = l === vt.CalendarBased ? r : {}, I = Pn(n);
|
|
3220
|
+
if (p.lowerBoundaryAlias = I.lowerBoundaryAlias, p.upperBoundaryAlias = I.upperBoundaryAlias, d !== R.DateOnly && (p.outTimeZone = C ?? Intl.DateTimeFormat().resolvedOptions().timeZone), p.binParameters = {
|
|
3218
3221
|
type: "date",
|
|
3219
3222
|
field: n,
|
|
3220
3223
|
interval: { unit: u, value: f },
|
|
3221
3224
|
start: g,
|
|
3222
3225
|
end: b,
|
|
3223
3226
|
offset: S ? { unit: S.unit, value: S.size } : null
|
|
3224
|
-
}, p.binParameters.type === "date" && (s.capabilities?.queryAttributeBins?.supportsSnapToData && (p.binParameters.snapToData = En(
|
|
3227
|
+
}, p.binParameters.type === "date" && (s.capabilities?.queryAttributeBins?.supportsSnapToData && (p.binParameters.snapToData = En(h)), s.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin && (p.binParameters.returnFullIntervalBin = y === !1)), !J(a)) {
|
|
3225
3228
|
const D = P(s).fields.find((W) => W.name === a)?.type;
|
|
3226
3229
|
(!D || D === "string" || D === "integer" || D === "small-integer" || D === "big-integer" || D === "double") && (p.binParameters.stackBy = {
|
|
3227
3230
|
type: "field",
|
|
@@ -3274,8 +3277,8 @@ async function Nn(e) {
|
|
|
3274
3277
|
temporalBinning: a,
|
|
3275
3278
|
xOrY: r,
|
|
3276
3279
|
xOrYFieldType: d
|
|
3277
|
-
}), { field: f, expression:
|
|
3278
|
-
f ? l.binParameters.field = f :
|
|
3280
|
+
}), { field: f, expression: y, start: h, end: g } = u;
|
|
3281
|
+
f ? l.binParameters.field = f : y && (l.binParameters.expression = y, l.binParameters.expressionValueType = "integer", l.binParameters.type === "fixed-interval" && (h !== void 0 && (l.binParameters.start = h), g !== void 0 && (l.binParameters.end = g)));
|
|
3279
3282
|
const b = gt({
|
|
3280
3283
|
temporalBinning: s,
|
|
3281
3284
|
xOrY: n,
|
|
@@ -3311,7 +3314,7 @@ function Mn(e) {
|
|
|
3311
3314
|
function ni(e) {
|
|
3312
3315
|
const { queryObject: t, queryConfig: i, maxRecordCountFactor: r } = e, { groupByFieldsForStatistics: n, orderByFields: a, gdbVersion: s, start: o, num: d, outFields: p } = i ?? {}, l = Ue({ queryObject: t, queryConfig: i, queryType: "Query" });
|
|
3313
3316
|
l.returnGeometry = !1;
|
|
3314
|
-
const u =
|
|
3317
|
+
const u = j(t), f = P(u);
|
|
3315
3318
|
return l.outFields = ri(p), l.groupByFieldsForStatistics = n ?? l.groupByFieldsForStatistics, l.orderByFields = a ?? [], l.objectIds = i?.objectIds, r !== void 0 && (l.maxRecordCountFactor = r), s !== void 0 && s !== "" ? l.gdbVersion = s : f.gdbVersion !== void 0 && f.gdbVersion !== "" && (l.gdbVersion = f.gdbVersion), d !== void 0 && (l.num = d), o !== void 0 && (l.start = o, l.num = l.num ?? ii(u)), l;
|
|
3316
3319
|
}
|
|
3317
3320
|
function Vn(e) {
|
|
@@ -3354,7 +3357,7 @@ async function _s(e) {
|
|
|
3354
3357
|
const { layer: t, view: i, chartConfig: r } = e;
|
|
3355
3358
|
let n;
|
|
3356
3359
|
if (t !== void 0) {
|
|
3357
|
-
const a =
|
|
3360
|
+
const a = j(t), s = P(a);
|
|
3358
3361
|
if (i !== void 0 && !s.isTable) {
|
|
3359
3362
|
s.outFields = ["*"];
|
|
3360
3363
|
const o = (p) => "highlight" in p, d = await i.whenLayerView(s);
|
|
@@ -3365,7 +3368,7 @@ async function _s(e) {
|
|
|
3365
3368
|
return n;
|
|
3366
3369
|
}
|
|
3367
3370
|
async function Oe(e, t) {
|
|
3368
|
-
const i =
|
|
3371
|
+
const i = j(e);
|
|
3369
3372
|
let r = [];
|
|
3370
3373
|
if (i !== void 0) {
|
|
3371
3374
|
await i.load();
|
|
@@ -3428,20 +3431,20 @@ function et(e, t) {
|
|
|
3428
3431
|
const { name: a, domains: s } = n;
|
|
3429
3432
|
let o = "id" in n ? n.id : void 0;
|
|
3430
3433
|
!o && "code" in n && (o = n.code);
|
|
3431
|
-
const d = Object.entries(s ?? {}), p = [], u = d?.filter(([f,
|
|
3432
|
-
let
|
|
3433
|
-
if (
|
|
3434
|
-
const g =
|
|
3434
|
+
const d = Object.entries(s ?? {}), p = [], u = d?.filter(([f, y]) => y?.type === "coded-value")?.map(([f, y]) => {
|
|
3435
|
+
let h = { fieldName: f, name: a, codedValues: p };
|
|
3436
|
+
if (y && "codedValues" in y) {
|
|
3437
|
+
const g = y.codedValues.map(({ code: b, name: S }) => ({
|
|
3435
3438
|
name: S,
|
|
3436
3439
|
code: b
|
|
3437
3440
|
}));
|
|
3438
|
-
|
|
3441
|
+
h = {
|
|
3439
3442
|
fieldName: f,
|
|
3440
|
-
name:
|
|
3443
|
+
name: y.name,
|
|
3441
3444
|
codedValues: g
|
|
3442
3445
|
};
|
|
3443
3446
|
}
|
|
3444
|
-
return
|
|
3447
|
+
return h;
|
|
3445
3448
|
});
|
|
3446
3449
|
i.push({ id: o ?? "", name: a, domains: u });
|
|
3447
3450
|
}), i.length === 0 ? void 0 : i;
|
|
@@ -3449,7 +3452,7 @@ function et(e, t) {
|
|
|
3449
3452
|
function Us(e) {
|
|
3450
3453
|
let t;
|
|
3451
3454
|
if (e !== void 0) {
|
|
3452
|
-
const i =
|
|
3455
|
+
const i = j(e);
|
|
3453
3456
|
if (!ot(i) && !J(i?.typeIdField)) {
|
|
3454
3457
|
const r = et(i, "types");
|
|
3455
3458
|
r !== void 0 && (t = {
|
|
@@ -3547,23 +3550,23 @@ function Ks(e) {
|
|
|
3547
3550
|
geometry: l,
|
|
3548
3551
|
distance: u,
|
|
3549
3552
|
units: f,
|
|
3550
|
-
objectIds:
|
|
3551
|
-
spatialRelationship:
|
|
3553
|
+
objectIds: y,
|
|
3554
|
+
spatialRelationship: h
|
|
3552
3555
|
} = s ?? {}, {
|
|
3553
3556
|
where: g,
|
|
3554
3557
|
gdbVersion: b,
|
|
3555
3558
|
timeExtent: S,
|
|
3556
|
-
geometry:
|
|
3557
|
-
distance:
|
|
3558
|
-
units:
|
|
3559
|
+
geometry: C,
|
|
3560
|
+
distance: I,
|
|
3561
|
+
units: k,
|
|
3559
3562
|
objectIds: D,
|
|
3560
3563
|
spatialRelationship: W
|
|
3561
3564
|
} = r ?? {}, H = a[0], { query: _ } = H, { where: se } = _ ?? {}, N = Z(a), A = { ..._ };
|
|
3562
|
-
return A.where = Ce([o, g]), N !==
|
|
3565
|
+
return A.where = Ce([o, g]), N !== m.BarAndLineSplitBy && N !== m.BoxPlotMonoFieldAndSplitBy && N !== m.BoxPlotMonoFieldAndCategoryAndSplitBy && N !== m.BoxPlotMultiFieldsAndSplitBy && N !== m.BarAndLineSplitByNoAggregation && (A.where = Ce([A.where, se])), i.orderOptions?.orderByFields !== void 0 && (A.orderByFields = i.orderOptions.orderByFields), A.gdbVersion = b ?? d, A.timeExtent = jn(t, S ?? p), A.geometry = kn({
|
|
3563
3566
|
queryObject: t,
|
|
3564
|
-
defaultGeometry:
|
|
3567
|
+
defaultGeometry: C ?? l,
|
|
3565
3568
|
ignoreViewExtent: n
|
|
3566
|
-
}), A.distance =
|
|
3569
|
+
}), A.distance = I ?? u, A.units = k ?? f, A.objectIds = D ?? y, A.spatialRelationship = W ?? h, _?.outStatistics?.[0]?.statisticType === L.Count && (A.returnDistinctValues = _?.returnDistinctValues ?? !1), A;
|
|
3567
3570
|
}
|
|
3568
3571
|
async function Zs(e) {
|
|
3569
3572
|
let t = [];
|
|
@@ -3576,8 +3579,8 @@ async function Un(e, t) {
|
|
|
3576
3579
|
let a = t;
|
|
3577
3580
|
if (e.iLayer && (a = await ai(e.iLayer)), a !== void 0) {
|
|
3578
3581
|
const s = n[0].x ?? "", o = n.map((f) => "y" in f ? f.y : "").flat(), d = Ge(e.series[0].query?.where), p = ln(e), l = e?.series.map((f) => {
|
|
3579
|
-
const
|
|
3580
|
-
return
|
|
3582
|
+
const y = f.query?.outStatistics?.map((h) => h.onStatisticField) ?? [];
|
|
3583
|
+
return y?.length > 0 ? y : "";
|
|
3581
3584
|
}).flat();
|
|
3582
3585
|
i.push(s), i.push(...o), i.push(d), i.push(...p), i.push(...l);
|
|
3583
3586
|
const u = await Gn({ fieldsList: i, queryObject: a, returnUndefinedIfNotFound: !0 });
|
|
@@ -3600,7 +3603,7 @@ const Xs = {
|
|
|
3600
3603
|
getServerRestInfo: li,
|
|
3601
3604
|
getSubtypeName: oi,
|
|
3602
3605
|
getFeatureTypes: et
|
|
3603
|
-
},
|
|
3606
|
+
}, he = {
|
|
3604
3607
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
3605
3608
|
definitions: {
|
|
3606
3609
|
ValueConversion: {
|
|
@@ -5997,7 +6000,7 @@ const Xs = {
|
|
|
5997
6000
|
$ref: "#/definitions/WebChartFixedDateBinning"
|
|
5998
6001
|
}
|
|
5999
6002
|
],
|
|
6000
|
-
description: 'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of
|
|
6003
|
+
description: 'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February).'
|
|
6001
6004
|
}
|
|
6002
6005
|
},
|
|
6003
6006
|
description: "Describes the properties related to a temporal series",
|
|
@@ -6020,7 +6023,7 @@ const Xs = {
|
|
|
6020
6023
|
$ref: "#/definitions/WebChartFixedDateBinning"
|
|
6021
6024
|
}
|
|
6022
6025
|
],
|
|
6023
|
-
description: 'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of
|
|
6026
|
+
description: 'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February).'
|
|
6024
6027
|
},
|
|
6025
6028
|
type: {
|
|
6026
6029
|
type: "string",
|
|
@@ -6883,7 +6886,7 @@ When this property is not defined, or when a pie slice does not have a matching
|
|
|
6883
6886
|
$ref: "#/definitions/WebChartFixedDateBinning"
|
|
6884
6887
|
}
|
|
6885
6888
|
],
|
|
6886
|
-
description: 'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of
|
|
6889
|
+
description: 'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February).'
|
|
6887
6890
|
},
|
|
6888
6891
|
type: {
|
|
6889
6892
|
type: "string",
|
|
@@ -7170,7 +7173,7 @@ When this property is not defined, or when a pie slice does not have a matching
|
|
|
7170
7173
|
],
|
|
7171
7174
|
description: `Defines the pattern to apply to bin the data for the x-axis, when the x-axis field is a date field.
|
|
7172
7175
|
|
|
7173
|
-
The "calendarDateParts" type will create bins extracting date parts from date values (e.g. a bin for each day of the week, a bin for each month or the year, etc.) The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) will go from the 18th
|
|
7176
|
+
The "calendarDateParts" type will create bins extracting date parts from date values (e.g. a bin for each day of the week, a bin for each month or the year, etc.) The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) For example, if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February.`
|
|
7174
7177
|
},
|
|
7175
7178
|
yTemporalBinning: {
|
|
7176
7179
|
anyOf: [
|
|
@@ -7181,7 +7184,7 @@ The "calendarDateParts" type will create bins extracting date parts from date va
|
|
|
7181
7184
|
$ref: "#/definitions/WebChartCalendarDatePartsBinning"
|
|
7182
7185
|
}
|
|
7183
7186
|
],
|
|
7184
|
-
description: 'Defines the pattern to apply to bin the data for the y-axis, when the y-axis field is a date field. The "calendarDateParts" type will create bins extracting date parts from date values (e.g. a bin for each day of the week, a bin for each month or the year, etc.) The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) will go from the 18th
|
|
7187
|
+
description: 'Defines the pattern to apply to bin the data for the y-axis, when the y-axis field is a date field. The "calendarDateParts" type will create bins extracting date parts from date values (e.g. a bin for each day of the week, a bin for each month or the year, etc.) The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) For example, if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February.'
|
|
7185
7188
|
},
|
|
7186
7189
|
firstDayOfWeek: {
|
|
7187
7190
|
type: "number",
|
|
@@ -7219,7 +7222,7 @@ The "calendarDateParts" type will create bins extracting date parts from date va
|
|
|
7219
7222
|
$ref: "#/definitions/WebChartFixedDateBinning"
|
|
7220
7223
|
}
|
|
7221
7224
|
],
|
|
7222
|
-
description: 'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of
|
|
7225
|
+
description: 'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February).'
|
|
7223
7226
|
},
|
|
7224
7227
|
type: {
|
|
7225
7228
|
type: "string",
|
|
@@ -15645,7 +15648,7 @@ async function ci(e) {
|
|
|
15645
15648
|
break;
|
|
15646
15649
|
case Y.AnyOf: {
|
|
15647
15650
|
let a = [];
|
|
15648
|
-
i.schemaPath === "#/properties/legend/anyOf" && (a =
|
|
15651
|
+
i.schemaPath === "#/properties/legend/anyOf" && (a = he.definitions.WebChart.properties.legend.anyOf.map(
|
|
15649
15652
|
(s) => pi(s.$ref)
|
|
15650
15653
|
)), r = {
|
|
15651
15654
|
...i,
|
|
@@ -15667,7 +15670,7 @@ async function ui(e) {
|
|
|
15667
15670
|
B(document.documentElement).t9nLocale,
|
|
15668
15671
|
O("./assets/common/t9n"),
|
|
15669
15672
|
"messages."
|
|
15670
|
-
)).errorStrings, r =
|
|
15673
|
+
)).errorStrings, r = j(e);
|
|
15671
15674
|
try {
|
|
15672
15675
|
await r.load();
|
|
15673
15676
|
} catch {
|
|
@@ -15685,19 +15688,19 @@ function Qn() {
|
|
|
15685
15688
|
return async (t) => {
|
|
15686
15689
|
let i = [];
|
|
15687
15690
|
const r = M(t?.series);
|
|
15688
|
-
let n =
|
|
15691
|
+
let n = he;
|
|
15689
15692
|
switch (r) {
|
|
15690
15693
|
case c.GaugeSeries:
|
|
15691
|
-
n = ve(
|
|
15694
|
+
n = ve(he, "WebGaugeChart");
|
|
15692
15695
|
break;
|
|
15693
15696
|
case c.BoxPlotSeries:
|
|
15694
|
-
n = ve(
|
|
15697
|
+
n = ve(he, "WebBoxPlot");
|
|
15695
15698
|
break;
|
|
15696
15699
|
case c.RadarSeries:
|
|
15697
|
-
n = ve(
|
|
15700
|
+
n = ve(he, "WebRadarChart");
|
|
15698
15701
|
break;
|
|
15699
15702
|
default:
|
|
15700
|
-
n = ve(
|
|
15703
|
+
n = ve(he, "WebChart");
|
|
15701
15704
|
break;
|
|
15702
15705
|
}
|
|
15703
15706
|
const a = e.compile(n);
|
|
@@ -15717,11 +15720,11 @@ async function fi(e) {
|
|
|
15717
15720
|
for (let p = 0; p < d.length; p += 1) {
|
|
15718
15721
|
const l = d[p], u = dt(l.onStatisticField, a);
|
|
15719
15722
|
if (u && !(u.type === R.OID && r || si(u)) && l.statisticType !== L.Count) {
|
|
15720
|
-
const
|
|
15723
|
+
const y = `series[${o}].query.outStatistics[${p}]`;
|
|
15721
15724
|
n.push({
|
|
15722
15725
|
keyword: di.NonNumericAggregation,
|
|
15723
|
-
message: V(s.errors.nonNumericAggregation, { dataPath:
|
|
15724
|
-
dataPath:
|
|
15726
|
+
message: V(s.errors.nonNumericAggregation, { dataPath: y }),
|
|
15727
|
+
dataPath: y,
|
|
15725
15728
|
params: {
|
|
15726
15729
|
fieldName: l.onStatisticField,
|
|
15727
15730
|
fieldType: u.type,
|
|
@@ -15733,7 +15736,7 @@ async function fi(e) {
|
|
|
15733
15736
|
}
|
|
15734
15737
|
return n;
|
|
15735
15738
|
}
|
|
15736
|
-
async function
|
|
15739
|
+
async function yi(e) {
|
|
15737
15740
|
const t = [], i = (await $(
|
|
15738
15741
|
B(document.documentElement).t9nLocale,
|
|
15739
15742
|
O("./assets/common/t9n"),
|
|
@@ -15762,11 +15765,11 @@ async function hi(e) {
|
|
|
15762
15765
|
return t;
|
|
15763
15766
|
}
|
|
15764
15767
|
function Kn(e) {
|
|
15765
|
-
const t = /* @__PURE__ */ new Set(), i =
|
|
15768
|
+
const t = /* @__PURE__ */ new Set(), i = yn(e);
|
|
15766
15769
|
if (i) {
|
|
15767
15770
|
const r = M(e.series), n = Z(e.series);
|
|
15768
|
-
r === c.GaugeSeries && !gn(e) || n ===
|
|
15769
|
-
const o = r === c.ScatterSeries || r === c.BoxPlotSeries || n ===
|
|
15771
|
+
r === c.GaugeSeries && !gn(e) || n === m.PieFromFields || n === m.BarAndLineFromFields || n === m.BoxPlotMonoField || n === m.BoxPlotMultiFields || n === m.BoxPlotMonoFieldAndSplitBy || n === m.BoxPlotMultiFieldsAndSplitBy || t.add(i.x);
|
|
15772
|
+
const o = r === c.ScatterSeries || r === c.BoxPlotSeries || n === m.BarAndLineNoAggregation || n === m.BarAndLineSplitByNoAggregation || n === m.PieNoAggregation, d = [
|
|
15770
15773
|
rt,
|
|
15771
15774
|
it,
|
|
15772
15775
|
Ii,
|
|
@@ -15808,7 +15811,7 @@ async function Zn(e, t) {
|
|
|
15808
15811
|
}
|
|
15809
15812
|
return i;
|
|
15810
15813
|
}
|
|
15811
|
-
async function
|
|
15814
|
+
async function hi(e) {
|
|
15812
15815
|
const { input: t, queryObject: i, allowUsingObjectIdStat: r } = e;
|
|
15813
15816
|
let n = [];
|
|
15814
15817
|
if (i !== void 0) {
|
|
@@ -15819,7 +15822,7 @@ async function yi(e) {
|
|
|
15819
15822
|
});
|
|
15820
15823
|
n = n.concat(a);
|
|
15821
15824
|
}
|
|
15822
|
-
return n = n.concat(await
|
|
15825
|
+
return n = n.concat(await yi(t)), n;
|
|
15823
15826
|
}
|
|
15824
15827
|
async function mi(e, t) {
|
|
15825
15828
|
let i = [];
|
|
@@ -15836,9 +15839,9 @@ async function mi(e, t) {
|
|
|
15836
15839
|
}
|
|
15837
15840
|
const eo = {
|
|
15838
15841
|
findCustomErrors: mi,
|
|
15839
|
-
findWarnings:
|
|
15842
|
+
findWarnings: hi,
|
|
15840
15843
|
findNumericAggregationWarnings: fi,
|
|
15841
|
-
findDuplicateSeriesIDWarnings:
|
|
15844
|
+
findDuplicateSeriesIDWarnings: yi,
|
|
15842
15845
|
findLayerLoadError: ui,
|
|
15843
15846
|
createStartingSchema: ve,
|
|
15844
15847
|
extractSchemaNameFromRefPath: pi,
|
|
@@ -15852,7 +15855,7 @@ async function to(e) {
|
|
|
15852
15855
|
else {
|
|
15853
15856
|
const a = await Jn(t);
|
|
15854
15857
|
let s = [], o = [];
|
|
15855
|
-
t !== void 0 && a.length === 0 && (o = await mi(i, t), o.length === 0 && (s = await
|
|
15858
|
+
t !== void 0 && a.length === 0 && (o = await mi(i, t), o.length === 0 && (s = await hi({ input: t, queryObject: i, allowUsingObjectIdStat: r }))), n = {
|
|
15856
15859
|
valid: a.length === 0 && s.length === 0 && o.length === 0,
|
|
15857
15860
|
schemaErrors: a,
|
|
15858
15861
|
customErrors: o,
|
|
@@ -15876,7 +15879,7 @@ function io(e) {
|
|
|
15876
15879
|
}
|
|
15877
15880
|
case c.PieSeries: {
|
|
15878
15881
|
const r = e?.series;
|
|
15879
|
-
Z(r) ===
|
|
15882
|
+
Z(r) === m.PieFromFields ? i = (r?.[0]?.query?.outStatistics?.length ?? 0) === 0 : i = (r?.[0]?.x?.length ?? 0) === 0 || r?.[0]?.x === it;
|
|
15880
15883
|
break;
|
|
15881
15884
|
}
|
|
15882
15885
|
case c.BoxPlotSeries: {
|
|
@@ -15889,7 +15892,7 @@ function io(e) {
|
|
|
15889
15892
|
case c.BarSeries:
|
|
15890
15893
|
case c.LineSeries: {
|
|
15891
15894
|
const r = e?.series;
|
|
15892
|
-
Z(r) ===
|
|
15895
|
+
Z(r) === m.BarAndLineFromFields ? i = (r?.[0]?.query?.outStatistics?.length ?? 0) === 0 : i = (r?.[0]?.x?.trim()?.length ?? 0) === 0;
|
|
15893
15896
|
break;
|
|
15894
15897
|
}
|
|
15895
15898
|
}
|
|
@@ -15994,8 +15997,8 @@ export {
|
|
|
15994
15997
|
Ze as a9,
|
|
15995
15998
|
Ie as aA,
|
|
15996
15999
|
Pa as aB,
|
|
15997
|
-
|
|
15998
|
-
|
|
16000
|
+
ja as aC,
|
|
16001
|
+
ka as aD,
|
|
15999
16002
|
Wa as aE,
|
|
16000
16003
|
Ea as aF,
|
|
16001
16004
|
qa as aG,
|
|
@@ -16045,7 +16048,7 @@ export {
|
|
|
16045
16048
|
tr as ax,
|
|
16046
16049
|
Ba as ay,
|
|
16047
16050
|
Ra as az,
|
|
16048
|
-
|
|
16051
|
+
yn as b,
|
|
16049
16052
|
ao as b$,
|
|
16050
16053
|
_s as b0,
|
|
16051
16054
|
Oe as b1,
|
|
@@ -16057,8 +16060,8 @@ export {
|
|
|
16057
16060
|
zs as b7,
|
|
16058
16061
|
Gs as b8,
|
|
16059
16062
|
Us as b9,
|
|
16060
|
-
|
|
16061
|
-
|
|
16063
|
+
jn as bA,
|
|
16064
|
+
kn as bB,
|
|
16062
16065
|
Wn as bC,
|
|
16063
16066
|
lt as bD,
|
|
16064
16067
|
qn as bE,
|
|
@@ -16081,7 +16084,7 @@ export {
|
|
|
16081
16084
|
Ts as bV,
|
|
16082
16085
|
Fs as bW,
|
|
16083
16086
|
As as bX,
|
|
16084
|
-
|
|
16087
|
+
j as bY,
|
|
16085
16088
|
On as bZ,
|
|
16086
16089
|
Ls as b_,
|
|
16087
16090
|
Hs as ba,
|
|
@@ -16102,8 +16105,8 @@ export {
|
|
|
16102
16105
|
Rs as bp,
|
|
16103
16106
|
Ps as bq,
|
|
16104
16107
|
ei as br,
|
|
16105
|
-
|
|
16106
|
-
|
|
16108
|
+
js as bs,
|
|
16109
|
+
ks as bt,
|
|
16107
16110
|
Pn as bu,
|
|
16108
16111
|
Ws as bv,
|
|
16109
16112
|
xe as bw,
|
|
@@ -16136,9 +16139,9 @@ export {
|
|
|
16136
16139
|
cs as cm,
|
|
16137
16140
|
us as cn,
|
|
16138
16141
|
fs as co,
|
|
16139
|
-
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
|
+
ys as cp,
|
|
16143
|
+
hs as cq,
|
|
16144
|
+
m as cr,
|
|
16142
16145
|
Ja as cs,
|
|
16143
16146
|
ut as ct,
|
|
16144
16147
|
ms as d,
|
|
@@ -16147,7 +16150,7 @@ export {
|
|
|
16147
16150
|
ai as g,
|
|
16148
16151
|
De as h,
|
|
16149
16152
|
me as i,
|
|
16150
|
-
|
|
16153
|
+
hn as j,
|
|
16151
16154
|
Z as k,
|
|
16152
16155
|
gs as l,
|
|
16153
16156
|
mn as m,
|