@arcgis/charts-components 4.34.0-next.137 → 4.34.0-next.139
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/{MS4XYPSC.js → 24727M32.js} +2 -2
- package/dist/cdn/{QYNI75XR.js → 24AOABIJ.js} +2 -2
- package/dist/cdn/{SB4GITO4.js → 275IWBUL.js} +2 -2
- package/dist/cdn/{PSZTKTH5.js → 2BBHT77V.js} +2 -2
- package/dist/cdn/{2TG2EZ7L.js → 2DFVXYZZ.js} +2 -2
- package/dist/cdn/{NI233ASE.js → 2HWLESX7.js} +1 -1
- package/dist/cdn/2TQVJANU.js +4 -0
- package/dist/cdn/{LCGCWNCV.js → 2Z5QZCFJ.js} +2 -2
- package/dist/cdn/{K5EUTDCW.js → 35M3UULX.js} +2 -2
- package/dist/cdn/{QYM3POIV.js → 3EZ5I5OP.js} +2 -2
- package/dist/cdn/3F4JEJEA.js +4 -0
- package/dist/cdn/{UOCK6NRQ.js → 3NNFVET2.js} +2 -2
- package/dist/cdn/{WBHCQ35R.js → 3R42OOYX.js} +2 -2
- package/dist/cdn/{U5O5DU3K.js → 3SIQACVN.js} +2 -2
- package/dist/cdn/{COL4BR4N.js → 3YWAYBOP.js} +2 -2
- package/dist/cdn/{UWTLLLGA.js → 4AV33IV4.js} +2 -2
- package/dist/cdn/{TY4AACIT.js → 4CMMHISB.js} +2 -2
- package/dist/cdn/{EUKYYHZX.js → 4EPKGG7E.js} +2 -2
- package/dist/cdn/{RPXGXESV.js → 4FUBFI63.js} +2 -2
- package/dist/cdn/{NLCHH3PA.js → 4KAYRNBJ.js} +2 -2
- package/dist/cdn/{ZVMXU72W.js → 4Q6VLLNL.js} +2 -2
- package/dist/cdn/{WKW2EY33.js → 4QIMBRET.js} +2 -2
- package/dist/cdn/{RTVALPS6.js → 4RW7YIQW.js} +2 -2
- package/dist/cdn/53EV3MZT.js +4 -0
- package/dist/cdn/{GVEJNJ6W.js → 55F4PKIU.js} +2 -2
- package/dist/cdn/{T7RKBO5R.js → 5HTKVNVU.js} +2 -2
- package/dist/cdn/{C5T6VUHW.js → 5LPFIGE5.js} +2 -2
- package/dist/cdn/{DBD7TXON.js → 62YLRCZ3.js} +2 -2
- package/dist/cdn/{4IFQQ22Q.js → 6HKTEN26.js} +2 -2
- package/dist/cdn/6KWDDRP3.js +4 -0
- package/dist/cdn/{NWVFHYJ4.js → 6MLVADSL.js} +2 -2
- package/dist/cdn/{J2GDDFON.js → 7JKH3A3L.js} +1 -1
- package/dist/cdn/{MPNJZTIJ.js → 7M6O44MJ.js} +2 -2
- package/dist/cdn/{HF7QUOV2.js → 7SP4VWKX.js} +2 -2
- package/dist/cdn/{SLDAVWPQ.js → 7VT3JILN.js} +2 -2
- package/dist/cdn/{OO43JSJR.js → 7YIGASYS.js} +2 -2
- package/dist/cdn/{TD53ETQ2.js → A43LOI3S.js} +2 -2
- package/dist/cdn/{CYA55SRQ.js → AASZ2NNB.js} +2 -2
- package/dist/cdn/{RQ6P2WIA.js → AGR66VGN.js} +1 -1
- package/dist/cdn/{RHDN6GIU.js → AIOJRVUP.js} +2 -2
- package/dist/cdn/{W67II2AQ.js → AIPWFENR.js} +2 -2
- package/dist/cdn/{PQVQD6CJ.js → AO7SKWWW.js} +2 -2
- package/dist/cdn/{3O2NKJMU.js → ARSERCLF.js} +2 -2
- package/dist/cdn/{5HKR2XQN.js → ATJ7PUAG.js} +2 -2
- package/dist/cdn/{YONNDJAA.js → AUOLPYT4.js} +2 -2
- package/dist/cdn/{HXA66IKK.js → AVMOQPLZ.js} +2 -2
- package/dist/cdn/{OIJHYUNL.js → B7AQO23Y.js} +2 -2
- package/dist/cdn/BKBDVEMA.js +4 -0
- package/dist/cdn/{E6WS2PNI.js → BNUYM65P.js} +2 -2
- package/dist/cdn/{TQCCKX5J.js → C5OMHPCP.js} +2 -2
- package/dist/cdn/{ZRGIW4IF.js → CKG455T3.js} +2 -2
- package/dist/cdn/{VSCLREOC.js → CL5PS2ZQ.js} +2 -2
- package/dist/cdn/{3EKBIFG2.js → CLHKW2R4.js} +2 -2
- package/dist/cdn/{R7FHXTD7.js → CO2FLJ3Y.js} +2 -2
- package/dist/cdn/{Z4IW4CZO.js → CQNULM3X.js} +2 -2
- package/dist/cdn/{6NHNZUMU.js → CVNAPOVD.js} +2 -2
- package/dist/cdn/{QSXKJ4UY.js → CYIPOL2X.js} +2 -2
- package/dist/cdn/CZJXXGG4.js +4 -0
- package/dist/cdn/{W3VDAH5Z.js → D3Y5X2RZ.js} +2 -2
- package/dist/cdn/{Z3ILN5GE.js → D5QIJWED.js} +2 -2
- package/dist/cdn/{OBOJISEC.js → DKVFP5PU.js} +2 -2
- package/dist/cdn/{56ZMW6ZT.js → DRXGR5N6.js} +2 -2
- package/dist/cdn/{5GFYJO4N.js → E33WMWB7.js} +2 -2
- package/dist/cdn/{6LYUL32L.js → EEUKLBDN.js} +2 -2
- package/dist/cdn/{6NGUSG6Z.js → ESFDWI2T.js} +2 -2
- package/dist/cdn/{BPBJ6HHB.js → ESOFQM6P.js} +2 -2
- package/dist/cdn/{2IUXXBNE.js → F55XH6IZ.js} +2 -2
- package/dist/cdn/{XLS2ZIO5.js → F7JABPNG.js} +2 -2
- package/dist/cdn/{I7JRXIX6.js → FC5NKDA3.js} +2 -2
- package/dist/cdn/{NWANFRQZ.js → FCORKVAA.js} +1 -1
- package/dist/cdn/{3UHMFXPL.js → FHCA75QA.js} +2 -2
- package/dist/cdn/{2GM3JRET.js → G45PGUQN.js} +2 -2
- package/dist/cdn/{OE57TPY4.js → GJ3JLCUX.js} +2 -2
- package/dist/cdn/{T2KMQVDW.js → GRZUDJ23.js} +2 -2
- package/dist/cdn/{7EPB7NUQ.js → GS6HMLEU.js} +2 -2
- package/dist/cdn/{YWFIAFI5.js → GSG2VUXI.js} +2 -2
- package/dist/cdn/{WO5AZSNE.js → GWQI56LV.js} +2 -2
- package/dist/cdn/{RYW5RMKR.js → H5D47BKX.js} +2 -2
- package/dist/cdn/{H4ABW5RH.js → HDLBXV7M.js} +2 -2
- package/dist/cdn/{WFJWDHVE.js → HFTUMX5C.js} +2 -2
- package/dist/cdn/HGYMKMCV.js +4 -0
- package/dist/cdn/{WX6MHA4C.js → HMY5IMMX.js} +2 -2
- package/dist/cdn/{NS7LIL7G.js → HMZXUUOL.js} +2 -2
- package/dist/cdn/HNKRKWC3.js +4 -0
- package/dist/cdn/{LTNPY5NM.js → HROD7HBX.js} +2 -2
- package/dist/cdn/{Z3GHWLXO.js → HSE5TX37.js} +2 -2
- package/dist/cdn/{EIEO534N.js → HTIIP76D.js} +2 -2
- package/dist/cdn/{TCOATTAO.js → HYQ6RQRD.js} +2 -2
- package/dist/cdn/{LPF7LCEV.js → I5XKWJQ3.js} +2 -2
- package/dist/cdn/{SSTWJRPL.js → IESXX2ZN.js} +2 -2
- package/dist/cdn/{4GEYKPPZ.js → IIEO3CUM.js} +2 -2
- package/dist/cdn/{ZKTHH2D2.js → IQNSNAPF.js} +2 -2
- package/dist/cdn/J6O2Q7JQ.js +4 -0
- package/dist/cdn/{64E35VZF.js → JI4SCCKL.js} +2 -2
- package/dist/cdn/{BDE437TR.js → JJBMFIJR.js} +2 -2
- package/dist/cdn/{AZUJU64Z.js → JNEUGJJP.js} +2 -2
- package/dist/cdn/{GWU5GX73.js → KKQ5YMWB.js} +2 -2
- package/dist/cdn/KOSZILX5.js +4 -0
- package/dist/cdn/{UUXEUOIF.js → KWN5Q4E5.js} +2 -2
- package/dist/cdn/{MSYZQUPK.js → KYFB56YJ.js} +2 -2
- package/dist/cdn/{57WE222S.js → KZ7R2GNT.js} +2 -2
- package/dist/cdn/{AV4VWOKJ.js → L2IRDB6T.js} +2 -2
- package/dist/cdn/{IUKN5SK3.js → L6SJIJ4U.js} +2 -2
- package/dist/cdn/{GEDBEOAB.js → LEYFIB5I.js} +2 -2
- package/dist/cdn/{WS7UNU26.js → LIN2JSC3.js} +2 -2
- package/dist/cdn/{QUOXLAGO.js → LO7TZSPN.js} +1 -1
- package/dist/cdn/{L3IDJWBE.js → LYHLT7KP.js} +2 -2
- package/dist/cdn/M46AKLTX.js +4 -0
- package/dist/cdn/{MWP5HKFH.js → MSP6ENWY.js} +2 -2
- package/dist/cdn/{NQWOGRFC.js → MV3JUDYG.js} +2 -2
- package/dist/cdn/MYXBBS5N.js +6 -0
- package/dist/cdn/{C4SSBI7M.js → N4ALCYUU.js} +2 -2
- package/dist/cdn/{HB26JJPI.js → N4FD6GFX.js} +2 -2
- package/dist/cdn/{CKFADYI3.js → NBK3IGYG.js} +2 -2
- package/dist/cdn/{KB5VDJXS.js → NDPTI4DK.js} +2 -2
- package/dist/cdn/{QSU6IIFW.js → NHGBQNGR.js} +2 -2
- package/dist/cdn/{ZUP7EB7A.js → NTA7RIMK.js} +1 -1
- package/dist/cdn/{GEWDU66X.js → NTOPMFTD.js} +1 -1
- package/dist/cdn/{OAPUV56D.js → NVNTOMN3.js} +2 -2
- package/dist/cdn/{OHM2J36S.js → NXQ4SDPQ.js} +2 -2
- package/dist/cdn/{LCLE2R6O.js → OKCKTHTO.js} +2 -2
- package/dist/cdn/{MIMRBYW2.js → OMLAJ4TO.js} +2 -2
- package/dist/cdn/{NWAAWZP2.js → OMSVBDXG.js} +2 -2
- package/dist/cdn/{FP4XIAZA.js → ORRKIZWH.js} +2 -2
- package/dist/cdn/{35XS4G7U.js → OZKXMCJA.js} +2 -2
- package/dist/cdn/{RUVABNP7.js → OZYGBOFG.js} +2 -2
- package/dist/cdn/{XEU72CT2.js → PAG6XWJA.js} +2 -2
- package/dist/cdn/{N46QLWTZ.js → PRJSC3RV.js} +2 -2
- package/dist/cdn/{ORC6TL5X.js → PTM7SNSE.js} +2 -2
- package/dist/cdn/QW5PY2X3.js +4 -0
- package/dist/cdn/{UMRBGDBL.js → QWI2A6ZL.js} +2 -2
- package/dist/cdn/{ZF4MRQ56.js → QX27BY34.js} +2 -2
- package/dist/cdn/{OUSZB3WZ.js → RD6AKW5W.js} +2 -2
- package/dist/cdn/{5O7OVSZS.js → RL3EEN44.js} +2 -2
- package/dist/cdn/{QR6Z5QK5.js → S4HKPNOQ.js} +2 -2
- package/dist/cdn/{A4NWMBYH.js → S52ZYYIM.js} +2 -2
- package/dist/cdn/{QVELZ5IY.js → S5ZFBXHP.js} +2 -2
- package/dist/cdn/{ZGKEHJ64.js → SGY3Y3T2.js} +2 -2
- package/dist/cdn/{UVMNH23P.js → SIC5Q5IQ.js} +2 -2
- package/dist/cdn/{RM2JGKYW.js → SKCZJNTG.js} +2 -2
- package/dist/cdn/{3IJG35MT.js → SPI4CDXV.js} +2 -2
- package/dist/cdn/{PIYYGBED.js → SRPLJB2L.js} +2 -2
- package/dist/cdn/{LUZ7IF6Q.js → SX77MTL5.js} +2 -2
- package/dist/cdn/T265JJO4.js +4 -0
- package/dist/cdn/{EX4JU7GR.js → T37XLGRC.js} +2 -2
- package/dist/cdn/{MN5BI7ZH.js → TD557D5H.js} +2 -2
- package/dist/cdn/TIAZ2E3Q.js +4 -0
- package/dist/cdn/{IZXEJUQ7.js → TVN64B5W.js} +2 -2
- package/dist/cdn/{PD4XSNEZ.js → TX33Y4PI.js} +2 -2
- package/dist/cdn/{7QI2TCHJ.js → U3LR4SEM.js} +2 -2
- package/dist/cdn/{RO5T5LR7.js → U64R6C4H.js} +2 -2
- package/dist/cdn/{Z6LDW5WG.js → UESGPZ3P.js} +2 -2
- package/dist/cdn/{3YVN7ZEL.js → UFZXQNXX.js} +2 -2
- package/dist/cdn/{2MV6WAUW.js → UHPYWYXH.js} +2 -2
- package/dist/cdn/{4HXNMDS6.js → UMVCJSEL.js} +2 -2
- package/dist/cdn/{PXQRFZG3.js → UPJNAB23.js} +2 -2
- package/dist/cdn/{2N7KPE3X.js → UPK33ANF.js} +2 -2
- package/dist/cdn/{3SZRGL74.js → VAJCC7MO.js} +2 -2
- package/dist/cdn/VGT6OV7C.js +4 -0
- package/dist/cdn/VMKHC6RQ.js +4 -0
- package/dist/cdn/{DN7HLW7R.js → W3KQRTPP.js} +2 -2
- package/dist/cdn/{23A35FGI.js → W6IWMH2N.js} +2 -2
- package/dist/cdn/{AD6UTPKO.js → WZNK5TL7.js} +2 -2
- package/dist/cdn/{IJG2RPEH.js → X244JP3P.js} +2 -2
- package/dist/cdn/{7NKXAXRK.js → XGMCJCID.js} +2 -2
- package/dist/cdn/{FF64YKHU.js → XJQ3SQ2F.js} +2 -2
- package/dist/cdn/{KWGVVBCK.js → XLFDFDKQ.js} +2 -2
- package/dist/cdn/{CTXK6J6A.js → XSODGSTK.js} +2 -2
- package/dist/cdn/{NL5HWOSB.js → XV7SKWTW.js} +10 -10
- package/dist/cdn/{GRCBC7FY.js → XYKFL3V6.js} +2 -2
- package/dist/cdn/{IJM7TMTX.js → Y23T3DSI.js} +2 -2
- package/dist/cdn/{5DAAXFKZ.js → Y2OO5FYQ.js} +2 -2
- package/dist/cdn/{7TD3DUVR.js → Y4VP5EK2.js} +2 -2
- package/dist/cdn/{JNJRBTCS.js → YBO24WWY.js} +2 -2
- package/dist/cdn/{UOBY6NVK.js → YSAMGVP7.js} +2 -2
- package/dist/cdn/{F67CMYND.js → Z2AMZVEI.js} +2 -2
- package/dist/cdn/{QGCTZUSE.js → Z5AQSMCG.js} +2 -2
- package/dist/cdn/{QCPXEY3Y.js → ZHPMZD6C.js} +2 -2
- package/dist/cdn/{QLWFJ26E.js → ZZILHPFL.js} +20 -20
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -0
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +8 -1
- package/dist/chart-rendering/common/interfaces.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +12 -11
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +5 -5
- package/dist/chunks/bar-chart-series.js +3 -3
- package/dist/chunks/baseline-stacking.js +23 -23
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +34 -34
- package/dist/chunks/box-plot-model.js +23 -23
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +122 -77
- package/dist/chunks/combo-bar-line-chart-model.js +10 -10
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +435 -400
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/events.js +18 -0
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +69 -6163
- package/dist/chunks/index2.js +16 -38
- package/dist/chunks/index3.js +6124 -35
- package/dist/chunks/interfaces.js +90 -16212
- package/dist/chunks/interfaces2.js +16120 -90
- package/dist/chunks/interfaces3.js +491 -0
- package/dist/chunks/interfaces4.js +18 -0
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +11 -11
- package/dist/chunks/model-with-multi-axes.js +50 -50
- package/dist/chunks/model-with-rotation.js +4 -4
- package/dist/chunks/pie-chart-data.js +29 -28
- package/dist/chunks/pie-chart-model.js +12 -12
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +8 -8
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +5 -5
- package/dist/chunks/serial-chart-model.js +109 -84
- package/dist/chunks/series-types.js +16 -21
- package/dist/chunks/series.js +2 -2
- 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 +304 -770
- package/dist/components/arcgis-chart/customElement.js +3234 -3188
- package/dist/components/arcgis-charts-action-bar/customElement.js +43 -42
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +76 -71
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +68 -44
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +7 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +79 -75
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +18 -17
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +4 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +90 -542
- package/dist/json-schema/index.d.ts +55 -25
- package/dist/loader.js +2 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +11 -1
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +16 -1
- package/dist/model.js +1 -1
- package/dist/spec/index.d.ts +2 -2
- package/dist/spec/web-chart.d.ts +28 -1
- package/dist/utils/chart-config/converter/index.d.ts +3 -3
- package/package.json +3 -3
- package/dist/cdn/3XSLT5D7.js +0 -4
- package/dist/cdn/7K6HWWFH.js +0 -4
- package/dist/cdn/7L4GCMKU.js +0 -4
- package/dist/cdn/ADGH33XA.js +0 -4
- package/dist/cdn/EKKUUTLJ.js +0 -4
- package/dist/cdn/H4EKWUGZ.js +0 -4
- package/dist/cdn/H57THMT5.js +0 -6
- package/dist/cdn/KUH3QJNM.js +0 -4
- package/dist/cdn/P73CI4UI.js +0 -4
- package/dist/cdn/RP7TFTPB.js +0 -4
- package/dist/cdn/WB5LCPZU.js +0 -4
- package/dist/cdn/WXUZD5V2.js +0 -4
- package/dist/cdn/XWI545BD.js +0 -4
- package/dist/cdn/YRIZNPRL.js +0 -4
- package/dist/cdn/Z75YNMRA.js +0 -4
- package/dist/chunks/index4.js +0 -68
- package/dist/chunks/index5.js +0 -95
package/dist/chunks/data.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { substitute as k } from "@arcgis/core/intl.js";
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { fetchT9nStringsBundle as
|
|
2
|
+
import { cloneDeep as Z, capitalize as U, memoize as fe, isEmpty as Ne } from "lodash-es";
|
|
3
|
+
import { a as S, e as Ve, u as Q, W as h, g as O, t as w, m as te, n as De, i as se } from "./series-types.js";
|
|
4
|
+
import { R as Se, f as Oe } from "./rest-js-object-literals.js";
|
|
5
|
+
import { b as K, c as qe, a as Me } from "./events.js";
|
|
6
|
+
import { fetchT9nStringsBundle as ae, getElementLocale as re } from "@arcgis/toolkit/intl";
|
|
7
7
|
import "d3-array";
|
|
8
|
+
import { N as Fe, aI as $e, A as ke, a0 as ie, aJ as je, h as be, c as j, av as Pe, aA as V, aH as D, aG as L, b as Ee, m as W, C as E, at as M, aK as Ue, ar as Te, Y as le, Z as oe, ap as Ke, an as ne, ac as Re, X as We, Q as Xe, i as ce, o as ze, G as _e, w as Ye, a3 as ge, $ as Ge, ax as Ze } from "./interfaces2.js";
|
|
8
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
9
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
10
11
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,14 +14,47 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
13
14
|
import "@arcgis/core/core/promiseUtils.js";
|
|
14
15
|
import "@arcgis/core/request.js";
|
|
15
16
|
import { g as de } from "./runtime.js";
|
|
16
|
-
import {
|
|
17
|
+
import { m as Qe, b as I, i as Je, n as He, a as B, f as C } from "./index.js";
|
|
17
18
|
import "@arcgis/toolkit/dom";
|
|
18
|
-
import { a as
|
|
19
|
-
import { u as Te } from "./index3.js";
|
|
19
|
+
import { a as et, S as F } from "./common.js";
|
|
20
20
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
21
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
22
|
-
v4.34.0-next.
|
|
23
|
-
function
|
|
22
|
+
v4.34.0-next.139 */
|
|
23
|
+
async function Ae(t) {
|
|
24
|
+
const { queryObject: e, queryConfig: s, category: i, splitByField: a, chartLimits: r, abortKey: c } = t, n = a !== void 0, y = i !== ke ? [i] : [];
|
|
25
|
+
n && y.push(a);
|
|
26
|
+
const l = Fe(e), x = {
|
|
27
|
+
...s,
|
|
28
|
+
groupByFieldsForStatistics: Array.from(new Set(y)),
|
|
29
|
+
outStatistics: [
|
|
30
|
+
{
|
|
31
|
+
statisticType: S.Count,
|
|
32
|
+
onStatisticField: l.objectIdField,
|
|
33
|
+
// Generating an out stat field name. Letting it to COUNT only can fail the query on arcObject layers
|
|
34
|
+
outStatisticFieldName: `${S.Count}_OBJECTID`
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
orderByFields: void 0,
|
|
38
|
+
// Adding num (resultRecordCount) to match the query fetching the results (build by `buildUniqueQuery()). We pick an arbitrary limit (maxBarThreePlusSeriesCountTotal)
|
|
39
|
+
// as we don't know in advance how many results we will get.
|
|
40
|
+
// TODO: once the servers are able to make a distinction between values with a different number of trailing spaces we'll be able to revert that function to its previous
|
|
41
|
+
// state, using the `returnDistinctValues` on a specific field.
|
|
42
|
+
// Refer to: https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8208
|
|
43
|
+
num: r?.maxBarThreePlusSeriesCountTotal
|
|
44
|
+
}, d = await $e({
|
|
45
|
+
queryObject: e,
|
|
46
|
+
featureCount: 1,
|
|
47
|
+
// skipping the count
|
|
48
|
+
queryConfig: x,
|
|
49
|
+
abortKey: c
|
|
50
|
+
});
|
|
51
|
+
return Array.from(
|
|
52
|
+
new Set(
|
|
53
|
+
d.map((o) => o.attributes[n ? a : i])
|
|
54
|
+
)
|
|
55
|
+
).sort((o, u) => typeof o == "string" && typeof u == "string" ? o.localeCompare(u) : Number(o) - Number(u));
|
|
56
|
+
}
|
|
57
|
+
function z(t, e, s) {
|
|
24
58
|
const i = t?.axes?.[e];
|
|
25
59
|
i?.title !== void 0 ? i.title.content.text = s : i !== void 0 && (i.title = V({
|
|
26
60
|
text: s,
|
|
@@ -32,124 +66,124 @@ async function Y(t) {
|
|
|
32
66
|
const { config: e, layerInfo: s, numericFields: i, aggregationType: a } = t;
|
|
33
67
|
let r = "";
|
|
34
68
|
if (e) {
|
|
35
|
-
const c =
|
|
36
|
-
|
|
69
|
+
const c = je(e) === Ve.Stacked100, n = await ae(
|
|
70
|
+
re(document.documentElement).t9nLocale,
|
|
37
71
|
de("./assets/common/t9n"),
|
|
38
72
|
"messages."
|
|
39
73
|
);
|
|
40
74
|
if (c)
|
|
41
|
-
r =
|
|
75
|
+
r = n.utilsStrings.statistics.percent;
|
|
42
76
|
else {
|
|
43
77
|
const y = await be(a);
|
|
44
78
|
if (i.length === 1) {
|
|
45
79
|
const l = j(s.layerFieldsInfo, i[0]);
|
|
46
|
-
a ===
|
|
80
|
+
a === S.NoAggregation ? r = l : a === S.Count && i[0] === s.objectIdField ? r = n.utilsStrings.statistics.count : r = k(n.axisLabels.aggregationOfFieldName, {
|
|
47
81
|
aggregation: y,
|
|
48
82
|
fieldName: l
|
|
49
83
|
});
|
|
50
|
-
} else i.length > 1 && (a ===
|
|
84
|
+
} else i.length > 1 && (a === S.NoAggregation ? r = n.axisLabels.values : r = k(n.axisLabels.aggregationOfValues, {
|
|
51
85
|
aggregation: y
|
|
52
86
|
}));
|
|
53
87
|
}
|
|
54
88
|
}
|
|
55
89
|
return r;
|
|
56
90
|
}
|
|
57
|
-
const
|
|
91
|
+
const he = async (t, e) => t.axes?.[e] ?? (await Pe(t.type))[e], ve = (t) => {
|
|
58
92
|
const { config: e, axis: s, axisIndex: i } = t;
|
|
59
93
|
e.axes !== void 0 && (e.axes[i] = s);
|
|
60
|
-
},
|
|
94
|
+
}, Kt = (t) => {
|
|
61
95
|
const { config: e, axisIndex: s, isMax: i } = t;
|
|
62
96
|
let a = Number.NaN;
|
|
63
97
|
return i ? a = e.axes?.[s]?.maximum : a = e.axes?.[s]?.minimum, a ?? Number.NaN;
|
|
64
98
|
}, f = (t) => {
|
|
65
99
|
const { config: e, value: s, axisIndex: i, isMax: a } = t, r = e?.axes?.[i];
|
|
66
100
|
r !== void 0 && (a ? r.maximum = s : r.minimum = s);
|
|
67
|
-
},
|
|
101
|
+
}, Rt = (t, e) => {
|
|
68
102
|
f({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
69
|
-
},
|
|
70
|
-
const s = await
|
|
103
|
+
}, tt = (t) => t.axes?.[0]?.valueFormat ?? ie(), st = async (t, e) => {
|
|
104
|
+
const s = await he(t, 0);
|
|
71
105
|
if (s !== void 0 && e !== void 0) {
|
|
72
106
|
const i = {
|
|
73
107
|
...s,
|
|
74
108
|
valueFormat: e
|
|
75
109
|
};
|
|
76
|
-
|
|
110
|
+
ve({ config: t, axis: i, axisIndex: 0 });
|
|
77
111
|
}
|
|
78
112
|
}, pe = (t, e, s) => {
|
|
79
113
|
const i = t.axes?.[e];
|
|
80
114
|
i !== void 0 && (i.integerOnlyValues = s);
|
|
81
|
-
},
|
|
115
|
+
}, it = (t) => {
|
|
82
116
|
const e = Q(t.series);
|
|
83
117
|
return e === h.BarSeries || e === h.ComboLineAndBarSeries || e === h.LineSeries;
|
|
84
|
-
},
|
|
118
|
+
}, at = (t) => {
|
|
85
119
|
const { axisIndex: e, config: s, isMultiAxis: i } = t;
|
|
86
120
|
let a = !1;
|
|
87
|
-
return e === 0 || e === 1 && i ? a = !0 : e === 2 && (a =
|
|
88
|
-
},
|
|
121
|
+
return e === 0 || e === 1 && i ? a = !0 : e === 2 && (a = it(s)), a;
|
|
122
|
+
}, Wt = (t) => {
|
|
89
123
|
const { axisIndex: e, func: s, config: i } = t;
|
|
90
|
-
return
|
|
91
|
-
},
|
|
124
|
+
return at({ axisIndex: e, config: i, isMultiAxis: !0 }) ? s(e) : void 0;
|
|
125
|
+
}, Xt = (t, e) => {
|
|
92
126
|
let s;
|
|
93
127
|
const i = e.axes?.[t]?.valueFormat;
|
|
94
|
-
return (t === 0 || t >= 1 &&
|
|
95
|
-
},
|
|
96
|
-
const { config: e, valueFormat: s, axisIndex: i = 0 } = t, a = await
|
|
128
|
+
return (t === 0 || t >= 1 && Qe(i)) && (s = i), s;
|
|
129
|
+
}, zt = async (t) => {
|
|
130
|
+
const { config: e, valueFormat: s, axisIndex: i = 0 } = t, a = await he(e, i);
|
|
97
131
|
if (a !== void 0 && s !== void 0) {
|
|
98
132
|
const r = {
|
|
99
133
|
...a,
|
|
100
134
|
valueFormat: s
|
|
101
135
|
};
|
|
102
|
-
|
|
136
|
+
ve({
|
|
103
137
|
config: e,
|
|
104
138
|
axis: r,
|
|
105
139
|
axisIndex: i
|
|
106
140
|
});
|
|
107
141
|
}
|
|
108
|
-
},
|
|
142
|
+
}, _t = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Yt = (t) => {
|
|
109
143
|
const { config: e, isLogarithmic: s, axisIndex: i } = t, a = e.axes?.[i];
|
|
110
144
|
a && (a.isLogarithmic = s, f({ config: e, value: null, axisIndex: i, isMax: !0 }), f({ config: e, value: null, axisIndex: i, isMax: !1 }));
|
|
111
|
-
},
|
|
145
|
+
}, Gt = (t) => {
|
|
112
146
|
const { config: e, scrollbar: s, axisIndex: i } = t;
|
|
113
147
|
e.axes?.[i] !== void 0 && (e.axes[i].scrollbar = s);
|
|
114
|
-
},
|
|
148
|
+
}, rt = (t) => t.title?.content.text ?? "", Zt = (t, e) => {
|
|
115
149
|
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = V({
|
|
116
150
|
text: t,
|
|
117
151
|
visible: !0,
|
|
118
152
|
font: D(L.ChartTitle)
|
|
119
153
|
}));
|
|
120
|
-
},
|
|
154
|
+
}, Qt = (t) => t.subtitle?.content.text ?? "", Jt = (t, e) => {
|
|
121
155
|
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = V({
|
|
122
156
|
text: t,
|
|
123
157
|
visible: !0,
|
|
124
158
|
font: D(L.ChartSubtitle)
|
|
125
159
|
}));
|
|
126
|
-
},
|
|
160
|
+
}, Ht = (t) => t.footer?.content.text ?? "", es = (t, e) => {
|
|
127
161
|
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = V({
|
|
128
162
|
text: t,
|
|
129
163
|
visible: !0,
|
|
130
164
|
font: D(L.DescriptionText)
|
|
131
165
|
}));
|
|
132
|
-
},
|
|
166
|
+
}, ts = (t) => t.title ? t.title.visible ?? !0 : !1, ss = (t, e) => {
|
|
133
167
|
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = V({
|
|
134
168
|
text: "",
|
|
135
169
|
visible: t,
|
|
136
170
|
font: D(L.ChartTitle)
|
|
137
171
|
}));
|
|
138
|
-
},
|
|
172
|
+
}, is = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, as = (t, e) => {
|
|
139
173
|
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = V({
|
|
140
174
|
text: "",
|
|
141
175
|
visible: t,
|
|
142
176
|
font: D(L.ChartSubtitle)
|
|
143
177
|
}));
|
|
144
|
-
},
|
|
145
|
-
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !==
|
|
178
|
+
}, lt = (t) => t.footer?.visible ?? !1, rs = (t, e) => {
|
|
179
|
+
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== lt(e) && (e.footer = V({
|
|
146
180
|
text: "",
|
|
147
181
|
visible: !0,
|
|
148
182
|
font: D(L.DescriptionText)
|
|
149
183
|
}));
|
|
150
|
-
},
|
|
184
|
+
}, ls = (t) => t.chartRenderer, os = (t, e) => {
|
|
151
185
|
e.chartRenderer = t;
|
|
152
|
-
},
|
|
186
|
+
}, ns = (t, e) => t.axes?.[e]?.title?.content, cs = (t) => {
|
|
153
187
|
const { config: e, axisIndex: s, symbol: i } = t, a = e.axes?.[s];
|
|
154
188
|
if (a !== void 0) {
|
|
155
189
|
const r = a.title?.content.text;
|
|
@@ -160,11 +194,11 @@ const Ae = async (t, e) => t.axes?.[e] ?? (await qe(t.type))[e], he = (t) => {
|
|
|
160
194
|
type: L.AxisTitle
|
|
161
195
|
})), i !== void 0 && (a.title.content = i), a.title.content.text = r;
|
|
162
196
|
}
|
|
163
|
-
},
|
|
197
|
+
}, ds = (t) => {
|
|
164
198
|
for (const e of t.axes ?? [])
|
|
165
199
|
if (e?.labels !== void 0)
|
|
166
200
|
return e.labels.content;
|
|
167
|
-
},
|
|
201
|
+
}, us = (t, e) => {
|
|
168
202
|
for (const s of e.axes ?? [])
|
|
169
203
|
if (s !== void 0) {
|
|
170
204
|
const i = s.labels?.content.text;
|
|
@@ -173,75 +207,75 @@ const Ae = async (t, e) => t.axes?.[e] ?? (await qe(t.type))[e], he = (t) => {
|
|
|
173
207
|
visible: !0,
|
|
174
208
|
font: D(L.AxisLabels),
|
|
175
209
|
type: L.AxisLabels
|
|
176
|
-
}) : s.labels.content =
|
|
210
|
+
}) : s.labels.content = Z(t), s.labels.content.text = i;
|
|
177
211
|
}
|
|
178
|
-
},
|
|
212
|
+
}, ys = (t) => {
|
|
179
213
|
for (const e of t.axes ?? [])
|
|
180
214
|
if (e?.lineSymbol !== void 0)
|
|
181
215
|
return e.lineSymbol;
|
|
182
|
-
},
|
|
216
|
+
}, ms = (t, e) => {
|
|
183
217
|
for (const s of e.axes ?? [])
|
|
184
|
-
s !== void 0 && (s.lineSymbol =
|
|
185
|
-
},
|
|
218
|
+
s !== void 0 && (s.lineSymbol = Z(t) ?? Ee());
|
|
219
|
+
}, xs = (t) => {
|
|
186
220
|
for (const e of t.axes ?? [])
|
|
187
221
|
if (e?.grid !== void 0)
|
|
188
222
|
return e.grid;
|
|
189
|
-
},
|
|
223
|
+
}, gs = (t, e, s) => {
|
|
190
224
|
const i = e.axes;
|
|
191
225
|
s.forEach((a) => {
|
|
192
|
-
i?.[a] !== void 0 && (i[a].grid =
|
|
226
|
+
i?.[a] !== void 0 && (i[a].grid = Z(t));
|
|
193
227
|
});
|
|
194
|
-
}, ue = (t, e) => e.axes?.[t]?.title?.content.text ?? "",
|
|
228
|
+
}, ue = (t, e) => e.axes?.[t]?.title?.content.text ?? "", ps = (t, e, s) => {
|
|
195
229
|
const i = s.axes?.[e];
|
|
196
230
|
i?.title !== void 0 ? i.title.content.text = t : i !== void 0 && i?.title === void 0 && (i.title = V({
|
|
197
231
|
text: t,
|
|
198
232
|
visible: !0,
|
|
199
233
|
font: D(L.AxisTitle)
|
|
200
234
|
}));
|
|
201
|
-
},
|
|
235
|
+
}, fs = (t, e) => e.axes?.[t]?.title?.visible ?? !1, Ss = (t, e, s) => {
|
|
202
236
|
const i = s.axes?.[e];
|
|
203
237
|
i?.title !== void 0 ? i.title.visible = t : i !== void 0 && i?.title === void 0 && (i.title = V({
|
|
204
238
|
text: ue(e, s),
|
|
205
239
|
visible: t,
|
|
206
240
|
font: D(L.AxisTitle)
|
|
207
241
|
}));
|
|
208
|
-
},
|
|
242
|
+
}, Fs = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, bs = (t, e, s) => {
|
|
209
243
|
t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = e);
|
|
210
|
-
},
|
|
244
|
+
}, Ts = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, As = (t) => {
|
|
211
245
|
const { config: e, displayCursorTooltip: s, axisIndex: i } = t;
|
|
212
246
|
e.axes?.[i] !== void 0 && (e.axes[i].displayCursorTooltip = s);
|
|
213
|
-
},
|
|
247
|
+
}, hs = (t, e) => t.axes?.[e]?.buffer ?? !1, vs = (t) => {
|
|
214
248
|
const { config: e, buffer: s, axisIndex: i } = t, a = e.axes?.[i];
|
|
215
249
|
a !== void 0 && (a.buffer = s);
|
|
216
|
-
},
|
|
250
|
+
}, Bs = (t, e) => t.axes?.[e]?.tickSpacing, Cs = (t) => {
|
|
217
251
|
const { config: e, tickSpacing: s, axisIndex: i } = t;
|
|
218
252
|
e.axes?.[i] !== void 0 && (e.axes[i].tickSpacing = s);
|
|
219
|
-
},
|
|
253
|
+
}, Ls = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, Is = (t) => {
|
|
220
254
|
const { config: e, integerOnlyValues: s, axisIndex: i } = t;
|
|
221
255
|
e.axes?.[i] !== void 0 && (e.axes[i].integerOnlyValues = s);
|
|
222
|
-
},
|
|
223
|
-
let e =
|
|
256
|
+
}, ot = (t) => {
|
|
257
|
+
let e = F.xAxisAsc;
|
|
224
258
|
const s = t.orderOptions?.data?.orderType ?? w.Category, i = t.orderOptions?.data?.orderBy ?? O.Ascending;
|
|
225
|
-
return s === w.Category && Array.isArray(i) ? e =
|
|
226
|
-
},
|
|
259
|
+
return s === w.Category && Array.isArray(i) ? e = F.customSort : s === w.Category ? i === O.Ascending ? e = F.xAxisAsc : e = F.xAxisDesc : i === O.Ascending ? e = F.yAxisAsc : e = F.yAxisDesc, e;
|
|
260
|
+
}, nt = (t) => {
|
|
227
261
|
const e = Q(t.series);
|
|
228
262
|
let s = !1;
|
|
229
|
-
return (e === h.BarSeries || e === h.LineSeries) && (s =
|
|
230
|
-
},
|
|
263
|
+
return (e === h.BarSeries || e === h.LineSeries) && (s = ot(t) === F.customSort), s;
|
|
264
|
+
}, ws = (t) => {
|
|
231
265
|
let e = [];
|
|
232
266
|
const s = t.orderOptions?.data?.orderType;
|
|
233
|
-
return
|
|
234
|
-
},
|
|
267
|
+
return nt(t) && s === w.Category && (e = t.orderOptions?.data?.orderBy), e;
|
|
268
|
+
}, Ns = (t, e, s) => {
|
|
235
269
|
let i = w.Category, a = O.Ascending;
|
|
236
270
|
const r = Q(e.series);
|
|
237
|
-
e.orderOptions ??= {}, t ===
|
|
271
|
+
e.orderOptions ??= {}, t === F.customSort && s !== void 0 ? (a = [...s], e.orderOptions.data = {
|
|
238
272
|
orderType: i,
|
|
239
273
|
orderBy: a
|
|
240
|
-
}) : (r === h.BarSeries || r === h.LineSeries) && (i = t ===
|
|
274
|
+
}) : (r === h.BarSeries || r === h.LineSeries) && (i = t === F.xAxisAsc || t === F.xAxisDesc ? w.Category : w.YValue, a = t === F.xAxisAsc || t === F.yAxisAsc ? O.Ascending : O.Descending, e.orderOptions.data = {
|
|
241
275
|
orderType: i,
|
|
242
276
|
orderBy: a
|
|
243
277
|
});
|
|
244
|
-
},
|
|
278
|
+
}, P = (t) => t?.series?.[0]?.x ?? "", ye = (t) => {
|
|
245
279
|
const {
|
|
246
280
|
config: e,
|
|
247
281
|
numericFields: s,
|
|
@@ -249,13 +283,13 @@ const Ae = async (t, e) => t.axes?.[e] ?? (await qe(t.type))[e], he = (t) => {
|
|
|
249
283
|
mode: a,
|
|
250
284
|
layer: r,
|
|
251
285
|
numericFieldIndex: c,
|
|
252
|
-
seriesIndex:
|
|
286
|
+
seriesIndex: n,
|
|
253
287
|
splitByField: y = ""
|
|
254
|
-
} = t, l = Q(e.series),
|
|
288
|
+
} = t, l = Q(e.series), x = W(e.series), d = r ? Fe(r).objectIdField : "FID", g = P(e), o = s.length === 1 && s[0] === d;
|
|
255
289
|
let u = "y", m = "y";
|
|
256
290
|
switch (l) {
|
|
257
291
|
case h.PieSeries: {
|
|
258
|
-
i !==
|
|
292
|
+
i !== S.NoAggregation ? a === et.Category ? (u = `${i}_${s[0]}_0`.toUpperCase(), m = o ? U(S.Count) : U(`${i} of ${s[0]}`)) : u = Me : u = s[0];
|
|
259
293
|
break;
|
|
260
294
|
}
|
|
261
295
|
case h.BarSeries:
|
|
@@ -263,10 +297,10 @@ const Ae = async (t, e) => t.axes?.[e] ?? (await qe(t.type))[e], he = (t) => {
|
|
|
263
297
|
case h.ComboLineAndBarSeries:
|
|
264
298
|
case h.RadarSeries: {
|
|
265
299
|
if (y === "" || s.length > 1)
|
|
266
|
-
|
|
300
|
+
g === K || g === void 0 || g.trim() === "" || x === E.BarAndLineFromFields ? u = qe : (u = `${i}_${s[c ?? 0]}_${c ?? 0}`.toUpperCase(), m = o ? U(S.Count) : U(`${i} of ${s[c ?? 0]}`));
|
|
267
301
|
else {
|
|
268
|
-
const
|
|
269
|
-
u = `${i}_${
|
|
302
|
+
const p = s[0];
|
|
303
|
+
u = `${i}_${p}_${n ?? 0}`.toUpperCase(), m = o ? U(S.Count) : U(`${i} of ${p}`);
|
|
270
304
|
}
|
|
271
305
|
break;
|
|
272
306
|
}
|
|
@@ -275,76 +309,76 @@ const Ae = async (t, e) => t.axes?.[e] ?? (await qe(t.type))[e], he = (t) => {
|
|
|
275
309
|
name: u,
|
|
276
310
|
description: m
|
|
277
311
|
};
|
|
278
|
-
},
|
|
312
|
+
}, ct = (t) => {
|
|
279
313
|
let e;
|
|
280
314
|
const s = t.series[0];
|
|
281
315
|
return M(s) && (e = s.temporalBinning?.size), e;
|
|
282
|
-
},
|
|
316
|
+
}, dt = (t) => {
|
|
283
317
|
let e;
|
|
284
318
|
const s = t.series[0];
|
|
285
319
|
return M(s) && (e = s.temporalBinning?.unit), e;
|
|
286
|
-
},
|
|
320
|
+
}, ut = (t) => {
|
|
287
321
|
let e;
|
|
288
322
|
const s = t.series[0];
|
|
289
323
|
return M(s) && (e = s.temporalBinning?.timeAggregationType), e;
|
|
290
|
-
},
|
|
324
|
+
}, yt = (t) => {
|
|
291
325
|
let e;
|
|
292
326
|
const s = t.series[0];
|
|
293
327
|
return M(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
294
|
-
},
|
|
328
|
+
}, mt = (t) => {
|
|
295
329
|
let e;
|
|
296
330
|
const s = t.series[0];
|
|
297
331
|
return M(s) && (e = s.temporalBinning?.nullPolicy), e;
|
|
298
|
-
},
|
|
332
|
+
}, Be = (t, e) => {
|
|
299
333
|
e?.series?.forEach((s) => {
|
|
300
334
|
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
|
|
301
335
|
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
302
|
-
},
|
|
336
|
+
}, xt = (t, e) => {
|
|
303
337
|
e?.series?.forEach((s) => {
|
|
304
338
|
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
|
|
305
339
|
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
306
|
-
},
|
|
340
|
+
}, Vs = (t, e) => {
|
|
307
341
|
e.series?.forEach((s) => {
|
|
308
342
|
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
|
|
309
343
|
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
310
|
-
},
|
|
344
|
+
}, Ds = (t, e) => {
|
|
311
345
|
e.series?.forEach((s) => {
|
|
312
346
|
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
|
|
313
347
|
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
314
|
-
},
|
|
348
|
+
}, Os = (t, e) => {
|
|
315
349
|
e.series?.forEach((s) => {
|
|
316
350
|
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
|
|
317
351
|
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
318
|
-
},
|
|
319
|
-
|
|
352
|
+
}, qs = (t) => {
|
|
353
|
+
Be(0, t);
|
|
320
354
|
};
|
|
321
|
-
async function
|
|
322
|
-
const { config: e, layer: s, xAxisField: i, splitByField: a, layerFieldsInfo: r, aggregationFields: c, fetchNullValues:
|
|
323
|
-
where:
|
|
355
|
+
async function gt(t) {
|
|
356
|
+
const { config: e, layer: s, xAxisField: i, splitByField: a, layerFieldsInfo: r, aggregationFields: c, fetchNullValues: n } = t, l = r.filter((b) => b.name === a)[0]?.type, x = n !== !0 ? `${a} IS NOT NULL` : "", d = i && n !== !0 ? `${i} IS NOT NULL` : "", { where: g } = e?.dataFilters ?? {}, o = {
|
|
357
|
+
where: Te([g, x, d]),
|
|
324
358
|
// excluding the null values from the list
|
|
325
|
-
orderByFields:
|
|
359
|
+
orderByFields: Ke(a) ? [] : [`${a} ${O.Ascending}`],
|
|
326
360
|
// default sorting ascending for split-by field
|
|
327
361
|
geometry: e?.dataFilters?.geometry
|
|
328
362
|
}, u = s;
|
|
329
363
|
let m = "";
|
|
330
364
|
c.length === 0 ? m = u?.objectIdField ?? "" : [m] = c;
|
|
331
|
-
let
|
|
365
|
+
let p = await Ae({
|
|
332
366
|
queryObject: u,
|
|
333
367
|
category: e?.series[0].x ?? "",
|
|
334
368
|
splitByField: a,
|
|
335
|
-
queryConfig:
|
|
369
|
+
queryConfig: o
|
|
336
370
|
});
|
|
337
371
|
if (e) {
|
|
338
|
-
const
|
|
339
|
-
|
|
340
|
-
arrayA:
|
|
341
|
-
arrayB:
|
|
342
|
-
getKey: (
|
|
372
|
+
const b = e?.series.map((T) => ne({ where: T.query?.where })?.toString() ?? "").filter((T) => T !== void 0 && T !== "");
|
|
373
|
+
p = Re({
|
|
374
|
+
arrayA: p,
|
|
375
|
+
arrayB: b,
|
|
376
|
+
getKey: (T) => T === null ? null : T?.toString()
|
|
343
377
|
});
|
|
344
378
|
}
|
|
345
|
-
return { categoriesArray:
|
|
379
|
+
return { categoriesArray: p, splitByFieldType: l, numericalField: m };
|
|
346
380
|
}
|
|
347
|
-
function
|
|
381
|
+
function Ms(t, e) {
|
|
348
382
|
let s = e === "";
|
|
349
383
|
for (const i of t)
|
|
350
384
|
if (e === i.name) {
|
|
@@ -353,8 +387,8 @@ function Os(t, e) {
|
|
|
353
387
|
}
|
|
354
388
|
return s;
|
|
355
389
|
}
|
|
356
|
-
function
|
|
357
|
-
const s =
|
|
390
|
+
function $s(t, e) {
|
|
391
|
+
const s = Ue(t);
|
|
358
392
|
let i = e.length === 0, a = 0;
|
|
359
393
|
for (const r of e) {
|
|
360
394
|
for (const c of s)
|
|
@@ -367,7 +401,7 @@ function qs(t, e) {
|
|
|
367
401
|
}
|
|
368
402
|
return i;
|
|
369
403
|
}
|
|
370
|
-
function
|
|
404
|
+
function ks(t, e) {
|
|
371
405
|
e.forEach((s) => {
|
|
372
406
|
Object.getOwnPropertyNames(s.prototype).forEach((i) => {
|
|
373
407
|
Object.defineProperty(
|
|
@@ -378,25 +412,25 @@ function Ms(t, e) {
|
|
|
378
412
|
});
|
|
379
413
|
});
|
|
380
414
|
}
|
|
381
|
-
async function
|
|
382
|
-
const { layerInfo: e, config: s, category: i } = t, { layer: a } = e, { where: r } = s?.dataFilters ?? {}, { fetchNullValues: c } = s?.series?.[0]?.query ?? {},
|
|
383
|
-
where:
|
|
415
|
+
async function pt(t) {
|
|
416
|
+
const { layerInfo: e, config: s, category: i } = t, { layer: a } = e, { where: r } = s?.dataFilters ?? {}, { fetchNullValues: c } = s?.series?.[0]?.query ?? {}, n = c !== !0 ? `${i} IS NOT NULL` : "", y = {
|
|
417
|
+
where: Te([r, n]),
|
|
384
418
|
// excluding the null values from the list
|
|
385
419
|
orderByFields: [],
|
|
386
420
|
geometry: s?.dataFilters?.geometry
|
|
387
|
-
}, l =
|
|
421
|
+
}, l = le(a);
|
|
388
422
|
return (
|
|
389
423
|
// fetch unique category values asynchronously
|
|
390
|
-
(await
|
|
391
|
-
const
|
|
392
|
-
return
|
|
424
|
+
(await Ae({ queryObject: a, category: i, queryConfig: y })).map((d) => {
|
|
425
|
+
const g = String(d);
|
|
426
|
+
return oe({
|
|
393
427
|
fieldName: i,
|
|
394
|
-
fieldValueToMatch:
|
|
428
|
+
fieldValueToMatch: g,
|
|
395
429
|
subtypeInfo: l,
|
|
396
430
|
// use the retrieved subtype information
|
|
397
431
|
fieldList: e.layerFieldsInfo
|
|
398
432
|
// list of field information from the layer
|
|
399
|
-
}) ??
|
|
433
|
+
}) ?? g;
|
|
400
434
|
})
|
|
401
435
|
);
|
|
402
436
|
}
|
|
@@ -404,128 +438,128 @@ async function _(t) {
|
|
|
404
438
|
const { seriesIndex: e, config: s, layerInfo: i } = t, { objectIdField: a } = i ?? {};
|
|
405
439
|
let r;
|
|
406
440
|
const c = s.series[e ?? 0];
|
|
407
|
-
let
|
|
441
|
+
let n = !1, y = !1;
|
|
408
442
|
if (c === void 0) {
|
|
409
|
-
const
|
|
410
|
-
|
|
443
|
+
const o = s.series;
|
|
444
|
+
n = o.slice(0, e).every((u) => B(u)), y = o.slice(0, e).every((u) => C(u));
|
|
411
445
|
} else
|
|
412
|
-
|
|
413
|
-
|
|
446
|
+
n = B(c), y = C(c);
|
|
447
|
+
n ? r = await ze({
|
|
414
448
|
seriesIndex: e,
|
|
415
449
|
objectIDField: a
|
|
416
|
-
}) : y ? r = await
|
|
450
|
+
}) : y ? r = await _e({
|
|
417
451
|
seriesIndex: e,
|
|
418
452
|
objectIDField: a
|
|
419
|
-
}) : r = await
|
|
453
|
+
}) : r = await Ye({
|
|
420
454
|
seriesIndex: e,
|
|
421
455
|
objectIDField: a
|
|
422
456
|
});
|
|
423
|
-
const l =
|
|
457
|
+
const l = P(s), x = s.series[0]?.dataLabels?.visible ?? !1, d = {
|
|
424
458
|
...r,
|
|
425
459
|
x: l,
|
|
426
460
|
y: "",
|
|
427
461
|
dataLabels: {
|
|
428
462
|
...r.dataLabels,
|
|
429
463
|
type: r.dataLabels?.type ?? h.Text,
|
|
430
|
-
content: r.dataLabels?.content ?? { type:
|
|
431
|
-
visible:
|
|
464
|
+
content: r.dataLabels?.content ?? { type: Oe.TS },
|
|
465
|
+
visible: x
|
|
432
466
|
}
|
|
433
|
-
},
|
|
467
|
+
}, g = q(s);
|
|
434
468
|
if (d.query = {
|
|
435
469
|
groupByFieldsForStatistics: [l]
|
|
436
|
-
},
|
|
437
|
-
const
|
|
438
|
-
d.y =
|
|
470
|
+
}, g !== S.NoAggregation && a !== void 0) {
|
|
471
|
+
const o = `${g}_${a}_0`.toUpperCase();
|
|
472
|
+
d.y = o, d.query.outStatistics = [
|
|
439
473
|
{
|
|
440
|
-
statisticType:
|
|
474
|
+
statisticType: g,
|
|
441
475
|
onStatisticField: a,
|
|
442
|
-
outStatisticFieldName:
|
|
476
|
+
outStatisticFieldName: o
|
|
443
477
|
}
|
|
444
478
|
];
|
|
445
479
|
}
|
|
446
480
|
if (B(d) || C(d) || I(d) && s.series[0]?.binTemporalData) {
|
|
447
|
-
let
|
|
448
|
-
if (s?.series?.[0] !== void 0 && (
|
|
449
|
-
let u =
|
|
481
|
+
let o;
|
|
482
|
+
if (s?.series?.[0] !== void 0 && (o = W(s.series)), o !== E.BarAndLineNoAggregation && o !== E.BarAndLineSplitByNoAggregation) {
|
|
483
|
+
let u = dt(s);
|
|
450
484
|
u === se.Quarter && (u = se.Month), d.temporalBinning = {
|
|
451
|
-
size:
|
|
485
|
+
size: ct(s),
|
|
452
486
|
unit: u,
|
|
453
|
-
timeAggregationType:
|
|
454
|
-
trimIncompleteTimeInterval:
|
|
455
|
-
nullPolicy:
|
|
487
|
+
timeAggregationType: ut(s),
|
|
488
|
+
trimIncompleteTimeInterval: yt(s),
|
|
489
|
+
nullPolicy: mt(s)
|
|
456
490
|
};
|
|
457
491
|
}
|
|
458
492
|
}
|
|
459
|
-
return
|
|
493
|
+
return Z(d);
|
|
460
494
|
}
|
|
461
|
-
async function
|
|
462
|
-
const { layerFieldsInfo: s, objectIdField: i } = e, a =
|
|
463
|
-
let
|
|
464
|
-
const
|
|
465
|
-
|
|
495
|
+
async function G(t, e) {
|
|
496
|
+
const { layerFieldsInfo: s, objectIdField: i } = e, a = P(t), r = W(t.series), c = N(t), n = q(t), y = R(t), l = c.length === 0 || c.includes(i), x = await be(n), d = l ? "" : c.map((A) => j(s ?? [], A)).join(", "), g = j(s ?? [], a), o = j(s ?? [], y), u = t.series.some((A) => I(A)), m = u ? "category" : "xAxisField", p = g;
|
|
497
|
+
let b = "";
|
|
498
|
+
const T = await ae(
|
|
499
|
+
re(document.documentElement).t9nLocale,
|
|
466
500
|
de("./assets/common/t9n"),
|
|
467
501
|
"messages."
|
|
468
502
|
);
|
|
469
|
-
if (r ===
|
|
470
|
-
|
|
471
|
-
aggregationType:
|
|
503
|
+
if (r === E.BarAndLineFromFields)
|
|
504
|
+
b = k(T.titleLabels.aggrTypeOfAggrFields, {
|
|
505
|
+
aggregationType: x,
|
|
472
506
|
aggregationFields: d
|
|
473
507
|
});
|
|
474
|
-
else if (
|
|
475
|
-
const
|
|
508
|
+
else if (n === S.NoAggregation) {
|
|
509
|
+
const A = l ? i : d;
|
|
476
510
|
if (y === "") {
|
|
477
|
-
const
|
|
478
|
-
|
|
479
|
-
aggregationType:
|
|
480
|
-
[m]:
|
|
511
|
+
const X = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
512
|
+
b = k(T.titleLabels[X], {
|
|
513
|
+
aggregationType: A,
|
|
514
|
+
[m]: p
|
|
481
515
|
});
|
|
482
516
|
} else {
|
|
483
|
-
const
|
|
484
|
-
|
|
485
|
-
aggregationType:
|
|
486
|
-
[m]:
|
|
487
|
-
splitByField:
|
|
517
|
+
const X = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
518
|
+
b = k(T.titleLabels[X], {
|
|
519
|
+
aggregationType: A,
|
|
520
|
+
[m]: p,
|
|
521
|
+
splitByField: o
|
|
488
522
|
});
|
|
489
523
|
}
|
|
490
|
-
} else if (
|
|
524
|
+
} else if (n === S.Count)
|
|
491
525
|
if (y === "") {
|
|
492
|
-
const
|
|
493
|
-
|
|
494
|
-
aggregationType:
|
|
495
|
-
[m]:
|
|
526
|
+
const A = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
527
|
+
b = k(T.titleLabels[A], {
|
|
528
|
+
aggregationType: x,
|
|
529
|
+
[m]: p
|
|
496
530
|
});
|
|
497
531
|
} else {
|
|
498
|
-
const
|
|
499
|
-
|
|
500
|
-
aggregationType:
|
|
501
|
-
[m]:
|
|
502
|
-
splitByField:
|
|
532
|
+
const A = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
533
|
+
b = k(T.titleLabels[A], {
|
|
534
|
+
aggregationType: x,
|
|
535
|
+
[m]: p,
|
|
536
|
+
splitByField: o
|
|
503
537
|
});
|
|
504
538
|
}
|
|
505
539
|
else if (y !== "") {
|
|
506
|
-
const
|
|
507
|
-
|
|
508
|
-
aggregationType:
|
|
540
|
+
const A = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
541
|
+
b = k(T.titleLabels[A], {
|
|
542
|
+
aggregationType: x,
|
|
509
543
|
aggregationField: d,
|
|
510
|
-
[m]:
|
|
511
|
-
splitByField:
|
|
544
|
+
[m]: p,
|
|
545
|
+
splitByField: o
|
|
512
546
|
});
|
|
513
547
|
} else if (c.length > 0) {
|
|
514
|
-
const
|
|
515
|
-
|
|
516
|
-
aggregationType:
|
|
548
|
+
const A = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
549
|
+
b = k(T.titleLabels[A], {
|
|
550
|
+
aggregationType: x,
|
|
517
551
|
aggregationFields: d,
|
|
518
|
-
[m]:
|
|
552
|
+
[m]: p
|
|
519
553
|
});
|
|
520
554
|
}
|
|
521
|
-
return
|
|
555
|
+
return b;
|
|
522
556
|
}
|
|
523
|
-
const
|
|
557
|
+
const Ce = (t) => ne({
|
|
524
558
|
where: t.query?.where,
|
|
525
559
|
normalize: !1,
|
|
526
560
|
escape: !1
|
|
527
|
-
}) ?? "", q = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ??
|
|
528
|
-
const i = N(e), a =
|
|
561
|
+
}) ?? "", q = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? S.NoAggregation, js = async (t, e, s) => {
|
|
562
|
+
const i = N(e), a = R(e), r = await J(e, s), c = await H(e, s);
|
|
529
563
|
if (await xe({
|
|
530
564
|
splitByField: a,
|
|
531
565
|
numericFields: i,
|
|
@@ -533,23 +567,23 @@ const Be = (t) => le({
|
|
|
533
567
|
config: e,
|
|
534
568
|
layerInfo: s
|
|
535
569
|
}), c) {
|
|
536
|
-
const
|
|
570
|
+
const n = await Y({
|
|
537
571
|
config: e,
|
|
538
572
|
layerInfo: s,
|
|
539
573
|
numericFields: N(e),
|
|
540
574
|
aggregationType: q(e)
|
|
541
575
|
});
|
|
542
|
-
|
|
576
|
+
z(e, 1, n);
|
|
543
577
|
}
|
|
544
|
-
e.title && r && (e.title.content.text = await
|
|
545
|
-
},
|
|
578
|
+
e.title && r && (e.title.content.text = await G(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), me(e, s);
|
|
579
|
+
}, R = fe(
|
|
546
580
|
(t) => {
|
|
547
581
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
548
|
-
return
|
|
582
|
+
return We(t?.series?.[0]?.query?.where) ? "" : e;
|
|
549
583
|
},
|
|
550
584
|
(t) => t?.series?.[0]?.query?.where
|
|
551
|
-
),
|
|
552
|
-
const i = N(e), a = q(e), r = await
|
|
585
|
+
), Ps = async (t, e, s) => {
|
|
586
|
+
const i = N(e), a = q(e), r = await J(e, s), c = await H(e, s);
|
|
553
587
|
if (await xe({
|
|
554
588
|
splitByField: t,
|
|
555
589
|
numericFields: i,
|
|
@@ -557,21 +591,21 @@ const Be = (t) => le({
|
|
|
557
591
|
config: e,
|
|
558
592
|
layerInfo: s
|
|
559
593
|
}), c) {
|
|
560
|
-
const
|
|
594
|
+
const n = await Y({
|
|
561
595
|
config: e,
|
|
562
596
|
layerInfo: s,
|
|
563
597
|
numericFields: N(e),
|
|
564
598
|
aggregationType: q(e)
|
|
565
599
|
});
|
|
566
|
-
|
|
600
|
+
z(e, 1, n);
|
|
567
601
|
}
|
|
568
|
-
e.title && r && (e.title.content.text = await
|
|
602
|
+
e.title && r && (e.title.content.text = await G(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
569
603
|
}, N = fe(
|
|
570
604
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
571
605
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
572
606
|
(t) => {
|
|
573
607
|
let e = [];
|
|
574
|
-
if (
|
|
608
|
+
if (R(t) === "")
|
|
575
609
|
e = t?.series.map((s) => {
|
|
576
610
|
const i = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
577
611
|
return i?.length > 0 ? i : s.y;
|
|
@@ -584,14 +618,14 @@ const Be = (t) => le({
|
|
|
584
618
|
},
|
|
585
619
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
586
620
|
(t) => t?.series
|
|
587
|
-
),
|
|
621
|
+
), ft = async (t, e, s) => {
|
|
588
622
|
const { objectIdField: i } = s;
|
|
589
623
|
let a = q(e);
|
|
590
|
-
const r = await
|
|
591
|
-
t.length === 0 ? (t.push(i), a =
|
|
592
|
-
const
|
|
624
|
+
const r = await J(e, s), c = await H(e, s);
|
|
625
|
+
t.length === 0 ? (t.push(i), a = S.Count) : a === S.Count && t.length >= 1 && !t.includes(i) && (a = S.Sum);
|
|
626
|
+
const n = R(e);
|
|
593
627
|
if (await xe({
|
|
594
|
-
splitByField:
|
|
628
|
+
splitByField: n,
|
|
595
629
|
numericFields: t,
|
|
596
630
|
aggregationType: a,
|
|
597
631
|
config: e,
|
|
@@ -603,70 +637,70 @@ const Be = (t) => le({
|
|
|
603
637
|
numericFields: N(e),
|
|
604
638
|
aggregationType: q(e)
|
|
605
639
|
});
|
|
606
|
-
|
|
640
|
+
z(e, 1, y);
|
|
607
641
|
}
|
|
608
|
-
e.title && r && (e.title.content.text = await
|
|
609
|
-
},
|
|
610
|
-
const { layerFieldsInfo: i } = s ?? {}, a = e?.series?.length ?? 0, r =
|
|
642
|
+
e.title && r && (e.title.content.text = await G(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), me(e, s);
|
|
643
|
+
}, Es = async (t, e, s) => {
|
|
644
|
+
const { layerFieldsInfo: i } = s ?? {}, a = e?.series?.length ?? 0, r = P(e), c = await J(e, s), n = await H(e, s), y = await Tt(e, s);
|
|
611
645
|
let l;
|
|
612
|
-
const
|
|
646
|
+
const x = e.series.some((o) => I(o)), d = Je(e.series), g = He(e.series);
|
|
613
647
|
if (i !== void 0) {
|
|
614
|
-
const
|
|
615
|
-
!
|
|
648
|
+
const o = Xe(i);
|
|
649
|
+
!o.includes(r) && o.includes(t) ? l = Ge() : o.includes(r) && !o.includes(t) && (x ? l = ie() : l = Ze()), i.find((m) => m.name === t)?.type === Se.String && (l = ie()), l !== void 0 && await st(e, l);
|
|
616
650
|
}
|
|
617
|
-
if (a === 0 && (e.series = [await _({ config: e, layerInfo: s })]), e.series.forEach((
|
|
618
|
-
|
|
651
|
+
if (a === 0 && (e.series = [await _({ config: e, layerInfo: s })]), e.series.forEach((o) => {
|
|
652
|
+
o.x = t, o.query !== void 0 && (o.query.groupByFieldsForStatistics = [t]);
|
|
619
653
|
}), y) {
|
|
620
|
-
const
|
|
621
|
-
|
|
654
|
+
const o = j(i, t);
|
|
655
|
+
z(e, 0, o);
|
|
622
656
|
}
|
|
623
657
|
if (s !== void 0) {
|
|
624
|
-
if (
|
|
658
|
+
if (n) {
|
|
625
659
|
const u = await Y({
|
|
626
660
|
config: e,
|
|
627
661
|
layerInfo: s,
|
|
628
662
|
numericFields: N(e),
|
|
629
663
|
aggregationType: q(e)
|
|
630
664
|
});
|
|
631
|
-
|
|
665
|
+
z(e, 1, u);
|
|
632
666
|
}
|
|
633
|
-
e.title && c && (e.title.content.text = await
|
|
634
|
-
const
|
|
635
|
-
await
|
|
667
|
+
e.title && c && (e.title.content.text = await G(e, s)), me(e, s);
|
|
668
|
+
const o = N(e);
|
|
669
|
+
await ft(o, e, s);
|
|
636
670
|
}
|
|
637
|
-
if (f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), d ||
|
|
638
|
-
f({ config: e, value: null, axisIndex: 0, isMax: !1 }), f({ config: e, value: null, axisIndex: 0, isMax: !0 }),
|
|
639
|
-
const
|
|
640
|
-
|
|
671
|
+
if (f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), d || g) {
|
|
672
|
+
f({ config: e, value: null, axisIndex: 0, isMax: !1 }), f({ config: e, value: null, axisIndex: 0, isMax: !0 }), Be(0, e);
|
|
673
|
+
const o = l?.type === h.DateAxisFormat ? te.Null : te.Interpolate;
|
|
674
|
+
xt(o, e);
|
|
641
675
|
}
|
|
642
676
|
};
|
|
643
677
|
function me(t, e) {
|
|
644
678
|
let s = !1;
|
|
645
679
|
const i = q(t), a = N(t);
|
|
646
|
-
i ===
|
|
647
|
-
const y = e.layerFieldsInfo.find((l) => l.name ===
|
|
680
|
+
i === S.Count ? s = !0 : i === S.NoAggregation && (s = a.every((n) => {
|
|
681
|
+
const y = e.layerFieldsInfo.find((l) => l.name === n);
|
|
648
682
|
return y !== void 0 ? ge(y) : !1;
|
|
649
683
|
})), pe(t, 1, s);
|
|
650
|
-
const r = t.series.some((
|
|
684
|
+
const r = t.series.some((n) => B(n)), c = t.series.some((n) => C(n));
|
|
651
685
|
if (r || c) {
|
|
652
|
-
const
|
|
686
|
+
const n = P(t), y = e.layerFieldsInfo.find((x) => x.name === n), l = y !== void 0 && ge(y);
|
|
653
687
|
pe(t, 0, l);
|
|
654
688
|
}
|
|
655
689
|
}
|
|
656
|
-
const
|
|
657
|
-
let e =
|
|
690
|
+
const St = (t) => {
|
|
691
|
+
let e = F.xAxisAsc;
|
|
658
692
|
const s = t.orderOptions?.data?.orderType ?? w.Category, i = t.orderOptions?.data?.orderBy ?? O.Ascending;
|
|
659
|
-
return s === w.Category && Array.isArray(i) ? e =
|
|
693
|
+
return s === w.Category && Array.isArray(i) ? e = F.customSort : s === w.Category ? i === O.Ascending ? e = F.xAxisAsc : e = F.xAxisDesc : i === O.Ascending ? e = F.yAxisAsc : e = F.yAxisDesc, e;
|
|
660
694
|
};
|
|
661
|
-
async function
|
|
695
|
+
async function Ft(t) {
|
|
662
696
|
const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t;
|
|
663
697
|
let r = !1;
|
|
664
698
|
const c = await _({
|
|
665
699
|
config: i,
|
|
666
700
|
layerInfo: a,
|
|
667
701
|
seriesIndex: 0
|
|
668
|
-
}),
|
|
669
|
-
|
|
702
|
+
}), n = await ae(
|
|
703
|
+
re(document.documentElement).t9nLocale,
|
|
670
704
|
de("./assets/common/t9n"),
|
|
671
705
|
"messages."
|
|
672
706
|
), y = ye({
|
|
@@ -677,25 +711,25 @@ async function ft(t) {
|
|
|
677
711
|
}).name, l = {
|
|
678
712
|
...c,
|
|
679
713
|
id: `series_${Date.now()}`,
|
|
680
|
-
name:
|
|
681
|
-
x:
|
|
714
|
+
name: n.axisLabels.values,
|
|
715
|
+
x: K,
|
|
682
716
|
y
|
|
683
|
-
},
|
|
684
|
-
for (const
|
|
685
|
-
|
|
686
|
-
onStatisticField:
|
|
687
|
-
outStatisticFieldName: `${
|
|
717
|
+
}, x = [];
|
|
718
|
+
for (const g of e)
|
|
719
|
+
x.push({
|
|
720
|
+
onStatisticField: g,
|
|
721
|
+
outStatisticFieldName: `${g}_0`.toUpperCase(),
|
|
688
722
|
statisticType: s
|
|
689
723
|
});
|
|
690
|
-
l.query = { outStatistics:
|
|
724
|
+
l.query = { outStatistics: x };
|
|
691
725
|
const d = i.series[0];
|
|
692
726
|
return d !== void 0 && (l.id = d.id, i.colorMatch || (I(d) && I(l) ? l.fillSymbol = d.fillSymbol : (B(l) && B(d) || C(l) && C(d)) && (l.lineSymbol = d.lineSymbol, l.markerSymbol = d.markerSymbol), r = !0), l.id = d.id, d.name !== c.name && (l.name = d.name)), i.series.length === 1 && !i.colorMatch && (I(l) ? l.fillSymbol = i.series[0].fillSymbol : (B(l) || C(l)) && (l.lineSymbol = i.series[0].lineSymbol, l.markerSymbol = i.series[0].markerSymbol), r = !0), i.colorMatch = !r, [l];
|
|
693
727
|
}
|
|
694
|
-
async function
|
|
695
|
-
const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t, { layerFieldsInfo: r, objectIdField: c } = a,
|
|
728
|
+
async function Le(t) {
|
|
729
|
+
const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t, { layerFieldsInfo: r, objectIdField: c } = a, n = [];
|
|
696
730
|
let y = !1;
|
|
697
731
|
for (let l = 0; l < e.length; l += 1) {
|
|
698
|
-
const
|
|
732
|
+
const x = await _({
|
|
699
733
|
config: i,
|
|
700
734
|
layerInfo: a,
|
|
701
735
|
seriesIndex: l
|
|
@@ -705,290 +739,291 @@ async function Ce(t) {
|
|
|
705
739
|
aggregationType: s,
|
|
706
740
|
layer: a.layer,
|
|
707
741
|
numericFieldIndex: l
|
|
708
|
-
}).name,
|
|
709
|
-
let
|
|
710
|
-
...
|
|
742
|
+
}).name, g = e[l];
|
|
743
|
+
let o = {
|
|
744
|
+
...x,
|
|
711
745
|
query: {
|
|
712
|
-
...
|
|
746
|
+
...x.query
|
|
713
747
|
}
|
|
714
748
|
};
|
|
715
|
-
|
|
716
|
-
...
|
|
717
|
-
id:
|
|
718
|
-
name: j(r,
|
|
749
|
+
g !== c && (o = {
|
|
750
|
+
...o,
|
|
751
|
+
id: g,
|
|
752
|
+
name: j(r, g)
|
|
719
753
|
});
|
|
720
|
-
let u =
|
|
721
|
-
|
|
754
|
+
let u = g;
|
|
755
|
+
o.query !== void 0 && (s !== S.NoAggregation ? (u = d, o.query.outStatistics = [
|
|
722
756
|
{
|
|
723
|
-
...
|
|
724
|
-
onStatisticField:
|
|
757
|
+
...x.query?.outStatistics?.[0] ?? {},
|
|
758
|
+
onStatisticField: g,
|
|
725
759
|
outStatisticFieldName: d,
|
|
726
760
|
statisticType: s
|
|
727
761
|
}
|
|
728
|
-
]) : delete
|
|
762
|
+
]) : delete o.query.outStatistics), o.y = u;
|
|
729
763
|
const m = i.series.find(
|
|
730
|
-
(
|
|
764
|
+
(p) => p.query?.outStatistics?.[0]?.onStatisticField === g && p.query.where === void 0
|
|
731
765
|
);
|
|
732
766
|
if (m !== void 0 && typeof m.y == "string" && m.y.trim() !== "") {
|
|
733
|
-
i.colorMatch || (I(
|
|
734
|
-
const
|
|
767
|
+
i.colorMatch || (I(o) && I(m) ? o.fillSymbol = m.fillSymbol : (B(o) && B(m) || C(o) && C(m)) && (o.lineSymbol = m.lineSymbol, o.markerSymbol = m.markerSymbol), y = !0);
|
|
768
|
+
const p = await _({
|
|
735
769
|
config: i,
|
|
736
770
|
layerInfo: a,
|
|
737
771
|
seriesIndex: l
|
|
738
772
|
});
|
|
739
|
-
|
|
773
|
+
o.id = m.id, m.id !== p.id && m.name !== p.name && (o.id = m.id, o.name = m.name);
|
|
740
774
|
}
|
|
741
|
-
|
|
775
|
+
n.push(o);
|
|
742
776
|
}
|
|
743
|
-
return i.series.length === 1 &&
|
|
777
|
+
return i.series.length === 1 && n.length === 1 && !i.colorMatch && (I(i.series[0]) && I(n[0]) ? n[0].fillSymbol = i.series[0].fillSymbol : (B(i.series[0]) && B(n[0]) || C(i.series[0]) && C(n[0])) && (n[0].lineSymbol = i.series[0].lineSymbol, n[0].markerSymbol = i.series[0].markerSymbol), y = !0), i.colorMatch = !y, n;
|
|
744
778
|
}
|
|
745
|
-
async function
|
|
746
|
-
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { layer: c, layerFieldsInfo:
|
|
779
|
+
async function bt(t) {
|
|
780
|
+
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { layer: c, layerFieldsInfo: n } = r, { fetchNullValues: y } = a?.series?.[0]?.query ?? {}, l = P(a), x = l !== K ? l : void 0, { categoriesArray: d, splitByFieldType: g, numericalField: o } = await gt({
|
|
747
781
|
config: a,
|
|
748
782
|
layer: c,
|
|
749
|
-
layerFieldsInfo:
|
|
750
|
-
xAxisField:
|
|
783
|
+
layerFieldsInfo: n,
|
|
784
|
+
xAxisField: x,
|
|
751
785
|
aggregationFields: s,
|
|
752
786
|
splitByField: e,
|
|
753
787
|
fetchNullValues: y
|
|
754
788
|
});
|
|
755
789
|
let u = [], m = !1;
|
|
756
790
|
if (d.length === 0) {
|
|
757
|
-
u = await
|
|
791
|
+
u = await Le({
|
|
758
792
|
numericFields: s,
|
|
759
793
|
aggregationType: i,
|
|
760
794
|
config: a,
|
|
761
795
|
layerInfo: r
|
|
762
796
|
});
|
|
763
|
-
for (const
|
|
764
|
-
|
|
797
|
+
for (const p of u)
|
|
798
|
+
p.query && (p.query.where = `${e}=''`);
|
|
765
799
|
} else
|
|
766
|
-
for (let
|
|
767
|
-
const
|
|
800
|
+
for (let p = 0; p < d.length; p += 1) {
|
|
801
|
+
const b = d[p], T = ye({
|
|
768
802
|
config: a,
|
|
769
803
|
numericFields: s,
|
|
770
804
|
aggregationType: i,
|
|
771
805
|
layer: r.layer,
|
|
772
|
-
seriesIndex:
|
|
806
|
+
seriesIndex: p,
|
|
773
807
|
splitByField: e
|
|
774
|
-
}).name,
|
|
808
|
+
}).name, A = await _({
|
|
775
809
|
config: a,
|
|
776
810
|
layerInfo: r,
|
|
777
|
-
seriesIndex:
|
|
778
|
-
}),
|
|
811
|
+
seriesIndex: p
|
|
812
|
+
}), X = {
|
|
779
813
|
fieldName: e,
|
|
780
|
-
fieldValueToMatch:
|
|
781
|
-
subtypeInfo:
|
|
814
|
+
fieldValueToMatch: b ?? "",
|
|
815
|
+
subtypeInfo: le(r.layer),
|
|
782
816
|
fieldList: r.layerFieldsInfo
|
|
783
|
-
},
|
|
784
|
-
...
|
|
817
|
+
}, Ie = oe(X), ee = `${b}`, v = {
|
|
818
|
+
...A,
|
|
785
819
|
id: ee,
|
|
786
|
-
name:
|
|
787
|
-
y:
|
|
820
|
+
name: Ie ?? ee,
|
|
821
|
+
y: T,
|
|
788
822
|
query: {
|
|
789
|
-
...
|
|
790
|
-
where: `${e}=${
|
|
791
|
-
outStatistics: i !==
|
|
823
|
+
...A.query,
|
|
824
|
+
where: `${e}=${g === Se.String && b !== null ? `'${b}'` : b}`,
|
|
825
|
+
outStatistics: i !== S.NoAggregation ? [
|
|
792
826
|
{
|
|
793
|
-
...
|
|
794
|
-
onStatisticField:
|
|
795
|
-
outStatisticFieldName:
|
|
827
|
+
...A.query?.outStatistics?.[0] ?? {},
|
|
828
|
+
onStatisticField: o,
|
|
829
|
+
outStatisticFieldName: T,
|
|
796
830
|
statisticType: i
|
|
797
831
|
}
|
|
798
832
|
] : void 0
|
|
799
833
|
}
|
|
800
834
|
};
|
|
801
|
-
i ===
|
|
835
|
+
i === S.NoAggregation && (v.query !== void 0 && (delete v.query.outStatistics, delete v.query.groupByFieldsForStatistics), v.y = o);
|
|
802
836
|
const $ = a.series.find(
|
|
803
|
-
(
|
|
837
|
+
(we) => String(Ce(we)).trim().replace(/'/gu, "") === ee
|
|
804
838
|
);
|
|
805
839
|
$ !== void 0 && (a.colorMatch || (I(v) && I($) ? v.fillSymbol = $.fillSymbol : (B(v) && B($) || C(v) && C($)) && (v.lineSymbol = $.lineSymbol, v.markerSymbol = $.markerSymbol), m = !0), v.id = $.id, v.name = $.name), u.push(v);
|
|
806
840
|
}
|
|
807
841
|
return a.colorMatch = !m, u;
|
|
808
842
|
}
|
|
809
843
|
const xe = async (t) => {
|
|
810
|
-
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { x: c } = a.series[0],
|
|
811
|
-
e === "" || s.length > 1 ? c ===
|
|
844
|
+
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { x: c } = a.series[0], n = W(a.series);
|
|
845
|
+
e === "" || s.length > 1 ? c === K || c === void 0 || c.trim() === "" || n === E.BarAndLineFromFields ? a.series = await Ft({
|
|
812
846
|
config: a,
|
|
813
847
|
layerInfo: r,
|
|
814
848
|
numericFields: s,
|
|
815
849
|
aggregationType: i
|
|
816
|
-
}) : a.series = await
|
|
850
|
+
}) : a.series = await Le({
|
|
817
851
|
config: a,
|
|
818
852
|
layerInfo: r,
|
|
819
853
|
numericFields: s,
|
|
820
854
|
aggregationType: i
|
|
821
|
-
}) : a.series = await
|
|
855
|
+
}) : a.series = await bt({
|
|
822
856
|
config: a,
|
|
823
857
|
layerInfo: r,
|
|
824
858
|
splitByField: e,
|
|
825
859
|
numericFields: s,
|
|
826
860
|
aggregationType: i
|
|
827
861
|
});
|
|
828
|
-
},
|
|
829
|
-
const { config: e, seriesIndex: s, layerInfo: i, commonStrings: a } = t, r = e.series?.[s], c =
|
|
830
|
-
let
|
|
831
|
-
if (W(e.series) ===
|
|
832
|
-
|
|
833
|
-
else if (
|
|
862
|
+
}, Us = (t) => {
|
|
863
|
+
const { config: e, seriesIndex: s, layerInfo: i, commonStrings: a } = t, r = e.series?.[s], c = R(e);
|
|
864
|
+
let n;
|
|
865
|
+
if (W(e.series) === E.BarAndLineFromFields)
|
|
866
|
+
n = a.axisLabels.values;
|
|
867
|
+
else if (Ne(c)) {
|
|
834
868
|
const l = r.query?.outStatistics?.[0]?.onStatisticField;
|
|
835
|
-
l !== void 0 && l !== i.objectIdField && (
|
|
869
|
+
l !== void 0 && l !== i.objectIdField && (n = j(i.layerFieldsInfo, l));
|
|
836
870
|
} else {
|
|
837
|
-
const l = String(
|
|
838
|
-
fieldName:
|
|
871
|
+
const l = String(Ce(r)).trim().replace(/'/gu, ""), x = {
|
|
872
|
+
fieldName: R(e),
|
|
839
873
|
fieldValueToMatch: l ?? "",
|
|
840
|
-
subtypeInfo:
|
|
874
|
+
subtypeInfo: le(i.layer),
|
|
841
875
|
fieldList: i.layerFieldsInfo
|
|
842
876
|
};
|
|
843
|
-
|
|
877
|
+
n = oe(x) ?? l;
|
|
844
878
|
}
|
|
845
|
-
return
|
|
846
|
-
},
|
|
879
|
+
return n ?? r.id;
|
|
880
|
+
}, Ks = (t, e) => {
|
|
847
881
|
e.orderOptions ??= {};
|
|
848
882
|
const s = e.orderOptions?.data?.orderType;
|
|
849
|
-
|
|
883
|
+
St(e) === F.customSort && s === w.Category && (e.orderOptions.data = {
|
|
850
884
|
orderType: w.Category,
|
|
851
885
|
orderBy: [...t]
|
|
852
886
|
});
|
|
853
|
-
},
|
|
854
|
-
const s =
|
|
887
|
+
}, Rs = async (t, e) => {
|
|
888
|
+
const s = P(t), i = tt(t)?.type, a = N(t), r = W(t.series);
|
|
855
889
|
let c = [];
|
|
856
|
-
return i === h.CategoryAxisFormat && (r ===
|
|
890
|
+
return i === h.CategoryAxisFormat && (r === E.BarAndLineFromFields || s === K ? c = a.map((n) => j(e?.layerFieldsInfo, n)) : s.trim() !== "" && s !== K && e !== void 0 && (c = await pt({
|
|
857
891
|
layerInfo: e,
|
|
858
892
|
config: t,
|
|
859
893
|
category: s
|
|
860
894
|
}))), c;
|
|
861
895
|
};
|
|
862
|
-
async function
|
|
863
|
-
const s = await
|
|
896
|
+
async function J(t, e) {
|
|
897
|
+
const s = await G(t, e), i = rt(t), a = ce(t);
|
|
864
898
|
return s === i || a;
|
|
865
899
|
}
|
|
866
|
-
async function
|
|
900
|
+
async function H(t, e) {
|
|
867
901
|
const s = await Y({
|
|
868
902
|
config: t,
|
|
869
903
|
layerInfo: e,
|
|
870
904
|
numericFields: N(t),
|
|
871
905
|
aggregationType: q(t)
|
|
872
|
-
}), i = ue(1, t), a =
|
|
906
|
+
}), i = ue(1, t), a = ce(t);
|
|
873
907
|
return s === i || a;
|
|
874
908
|
}
|
|
875
|
-
async function
|
|
876
|
-
const s = j(e.layerFieldsInfo,
|
|
909
|
+
async function Tt(t, e) {
|
|
910
|
+
const s = j(e.layerFieldsInfo, P(t)), i = ue(0, t), a = ce(t);
|
|
877
911
|
return s === i || a;
|
|
878
912
|
}
|
|
879
|
-
function
|
|
913
|
+
function Ws(t) {
|
|
880
914
|
return t?.series?.[0]?.binTemporalData ?? !1;
|
|
881
915
|
}
|
|
882
|
-
function
|
|
916
|
+
function Xs(t, e) {
|
|
883
917
|
e?.series.forEach((s) => {
|
|
884
918
|
s.binTemporalData = t, t ? s.temporalBinning = {
|
|
885
919
|
unit: se.Day,
|
|
886
920
|
size: 0,
|
|
887
|
-
timeAggregationType:
|
|
921
|
+
timeAggregationType: De.Start,
|
|
888
922
|
trimIncompleteTimeInterval: !0,
|
|
889
923
|
nullPolicy: te.Null
|
|
890
924
|
} : delete s.temporalBinning;
|
|
891
925
|
});
|
|
892
926
|
}
|
|
893
|
-
const
|
|
927
|
+
const zs = (t, e) => {
|
|
894
928
|
e.series.forEach((s) => {
|
|
895
929
|
s.query && (s.query.fetchNullValues = t);
|
|
896
930
|
});
|
|
897
|
-
},
|
|
931
|
+
}, _s = (t) => t.series.some((e) => e.query?.fetchNullValues), Ys = (t) => (
|
|
898
932
|
// TODO: Look into split-by values gotchas cases once done
|
|
899
|
-
t.series.map((e) => String(
|
|
900
|
-
),
|
|
933
|
+
t.series.map((e) => String(ne({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
|
|
934
|
+
), Gs = (t) => t.dataFilters, Zs = (t, e) => {
|
|
901
935
|
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
902
936
|
};
|
|
903
937
|
export {
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
938
|
+
lt as $,
|
|
939
|
+
yt as A,
|
|
940
|
+
Os as B,
|
|
941
|
+
mt as C,
|
|
942
|
+
xt as D,
|
|
943
|
+
qs as E,
|
|
944
|
+
Es as F,
|
|
945
|
+
ft as G,
|
|
946
|
+
js as H,
|
|
947
|
+
Ps as I,
|
|
948
|
+
St as J,
|
|
949
|
+
Ns as K,
|
|
950
|
+
Rs as L,
|
|
951
|
+
ws as M,
|
|
952
|
+
Ks as N,
|
|
919
953
|
xe as O,
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
954
|
+
Ws as P,
|
|
955
|
+
Xs as Q,
|
|
956
|
+
G as R,
|
|
957
|
+
Ht as S,
|
|
958
|
+
Zt as T,
|
|
959
|
+
Qt as U,
|
|
960
|
+
Jt as V,
|
|
961
|
+
es as W,
|
|
962
|
+
ts as X,
|
|
963
|
+
ss as Y,
|
|
964
|
+
is as Z,
|
|
965
|
+
as as _,
|
|
932
966
|
ue as a,
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
zt as
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
bs as
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
vs as
|
|
967
|
-
|
|
968
|
-
|
|
967
|
+
rs as a0,
|
|
968
|
+
ls as a1,
|
|
969
|
+
os as a2,
|
|
970
|
+
zs as a3,
|
|
971
|
+
_s as a4,
|
|
972
|
+
Gs as a5,
|
|
973
|
+
Zs as a6,
|
|
974
|
+
ps as a7,
|
|
975
|
+
fs as a8,
|
|
976
|
+
Ss as a9,
|
|
977
|
+
Ae as aA,
|
|
978
|
+
Kt as aa,
|
|
979
|
+
Rt as ab,
|
|
980
|
+
ns as ac,
|
|
981
|
+
cs as ad,
|
|
982
|
+
ds as ae,
|
|
983
|
+
us as af,
|
|
984
|
+
ys as ag,
|
|
985
|
+
ms as ah,
|
|
986
|
+
Wt as ai,
|
|
987
|
+
xs as aj,
|
|
988
|
+
gs as ak,
|
|
989
|
+
Bs as al,
|
|
990
|
+
Xt as am,
|
|
991
|
+
zt as an,
|
|
992
|
+
_t as ao,
|
|
993
|
+
Yt as ap,
|
|
994
|
+
Gt as aq,
|
|
995
|
+
Fs as ar,
|
|
996
|
+
bs as as,
|
|
997
|
+
Ts as at,
|
|
998
|
+
As as au,
|
|
999
|
+
hs as av,
|
|
1000
|
+
vs as aw,
|
|
1001
|
+
Cs as ax,
|
|
1002
|
+
Ls as ay,
|
|
1003
|
+
Is as az,
|
|
969
1004
|
Y as b,
|
|
970
1005
|
ye as c,
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
1006
|
+
Us as d,
|
|
1007
|
+
ks as e,
|
|
1008
|
+
Ms as f,
|
|
1009
|
+
rt as g,
|
|
1010
|
+
P as h,
|
|
1011
|
+
$s as i,
|
|
1012
|
+
q as j,
|
|
1013
|
+
N as k,
|
|
1014
|
+
Ys as l,
|
|
1015
|
+
R as m,
|
|
1016
|
+
st as n,
|
|
1017
|
+
tt as o,
|
|
1018
|
+
pt as p,
|
|
1019
|
+
gt as q,
|
|
1020
|
+
pe as r,
|
|
986
1021
|
f as s,
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1022
|
+
ct as t,
|
|
1023
|
+
z as u,
|
|
1024
|
+
Be as v,
|
|
1025
|
+
dt as w,
|
|
1026
|
+
Vs as x,
|
|
1027
|
+
ut as y,
|
|
1028
|
+
Ds as z
|
|
994
1029
|
};
|