@arcgis/charts-components 5.2.0-next.9 → 5.2.0-next.91
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/2B4DKL3R.js +2 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/3HG6OEAW.js +2 -0
- package/dist/cdn/3K7H52Y5.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{IYA7HQMS.js → 3ZNZH5XV.js} +1 -1
- package/dist/cdn/44ICH2UX.js +2 -0
- package/dist/cdn/4A42J7HF.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{3TZEMBXR.js → 4EWMZYXM.js} +1 -1
- package/dist/cdn/{TFPQDMER.js → 4JBUJYUG.js} +1 -1
- package/dist/cdn/4JMHK7HK.js +2 -0
- package/dist/cdn/{WASEMNYV.js → 4JWNKQ22.js} +1 -1
- package/dist/cdn/4O4L6CM3.js +2 -0
- package/dist/cdn/4QQRIMTI.js +2 -0
- package/dist/cdn/4VW736DF.js +2 -0
- package/dist/cdn/54LUEUIT.js +2 -0
- package/dist/cdn/57PMXO2G.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{XY4TRZCG.js → 5JV6PU34.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5YBMIR4F.js +2 -0
- package/dist/cdn/62EUOXR7.js +45 -0
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/65HVRSR6.js +2 -0
- package/dist/cdn/6K6Z6CQE.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/73DFT5MR.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7HANUCEA.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{5SIAOUPO.js → AI2WUG3K.js} +1 -1
- package/dist/cdn/{XYKXBWIT.js → AKEVK6VK.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{AASL4RKT.js → B4HOQOHS.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/{MK5ZYSOD.js → BG4CYK7C.js} +1 -1
- package/dist/cdn/BHJHX65O.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/BZEYWH2F.js +2 -0
- package/dist/cdn/BZIGQJAH.js +2 -0
- package/dist/cdn/{S3ZSZXYG.js → C6UUBWI2.js} +1 -1
- package/dist/cdn/CDWFPVYG.js +2 -0
- package/dist/cdn/{FWAXKDYV.js → CHHARRJP.js} +1 -1
- package/dist/cdn/{2GJX5OO6.js → CKRZTUGB.js} +1 -1
- package/dist/cdn/COSE26XR.js +2 -0
- package/dist/cdn/CPDE3ZSY.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{FOYOG3G7.js → D3ZXHZRV.js} +1 -1
- package/dist/cdn/D5O2M65G.js +2 -0
- package/dist/cdn/D7LBGWWL.js +2 -0
- package/dist/cdn/{ULWJ57VT.js → DF2SKHUD.js} +1 -1
- package/dist/cdn/DLCJMSYG.js +2 -0
- package/dist/cdn/DOE5S7EP.js +2 -0
- package/dist/cdn/{WAINRCCJ.js → E45CPXW6.js} +1 -1
- package/dist/cdn/EFXNPF4V.js +2 -0
- package/dist/cdn/ELNZ7PTF.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/{N5ZUO6F3.js → ESBQKSZF.js} +1 -1
- package/dist/cdn/F66W272X.js +2 -0
- package/dist/cdn/F6VXAPTT.js +2 -0
- package/dist/cdn/{3JYZJUOM.js → FPM6WDQ4.js} +1 -1
- package/dist/cdn/{SSQ3VCZ2.js → FXBSBXWY.js} +1 -1
- package/dist/cdn/{H3EXGCE7.js → G7W2RL4I.js} +1 -1
- package/dist/cdn/GK6IJBRW.js +2 -0
- package/dist/cdn/GUMN6KPP.js +2 -0
- package/dist/cdn/{73BVFUAA.js → GUWBPR2H.js} +1 -1
- package/dist/cdn/GVJF3VFV.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → H2NVXIPH.js} +2 -2
- package/dist/cdn/H4R2P2BO.js +2 -0
- package/dist/cdn/HIVJRWLF.js +2 -0
- package/dist/cdn/{UYXCGSXU.js → HPNWQANQ.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → HSIYQNVK.js} +1 -1
- package/dist/cdn/{ANN3O54W.js → HVWOLFLT.js} +1 -1
- package/dist/cdn/HZEGDF6W.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{7QXRWMUN.js → IBLGAXGT.js} +1 -1
- package/dist/cdn/{LROW4Y6O.js → IC7XUYKD.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IGE2Z7GO.js +2 -0
- package/dist/cdn/IHDWXIBS.js +3 -0
- package/dist/cdn/IIV6X3KV.js +2 -0
- package/dist/cdn/{RSNZMJ6I.js → IUZFB3JE.js} +1 -1
- package/dist/cdn/JSPNXGH3.js +2 -0
- package/dist/cdn/JXAPOWHG.js +2 -0
- package/dist/cdn/{RCK5VONL.js → KAUOH4F3.js} +1 -1
- package/dist/cdn/KHC2DMSU.js +2 -0
- package/dist/cdn/{PRFJNHPS.js → KHWZ54IX.js} +1 -1
- package/dist/cdn/{N4L5KE23.js → KIIS7OLN.js} +1 -1
- package/dist/cdn/KJAMXKR3.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KPEBWOLJ.js +2 -0
- package/dist/cdn/KQUI4CT6.js +2 -0
- package/dist/cdn/KVWM73YN.js +2 -0
- package/dist/cdn/KYCNUCTQ.js +2 -0
- package/dist/cdn/KZ4SCRQT.js +2 -0
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/L6IM34J7.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LCJVASMQ.js +2 -0
- package/dist/cdn/{QR2OOC4D.js → LCRLYOX6.js} +1 -1
- package/dist/cdn/LJJPOUVA.js +2 -0
- package/dist/cdn/LKC6J4IQ.js +2 -0
- package/dist/cdn/LU7UO6PR.js +2 -0
- package/dist/cdn/LZ3ZRY2F.js +2 -0
- package/dist/cdn/{YKDW7ZW3.js → MCWIIGOW.js} +1 -1
- package/dist/cdn/MF2ZBHWI.js +2 -0
- package/dist/cdn/MTFWTSTG.js +2 -0
- package/dist/cdn/{BDGHBTPU.js → MW6VSJEF.js} +1 -1
- package/dist/cdn/{JRN2TZSV.js → N4XXKTCN.js} +1 -1
- package/dist/cdn/NGGJIQHT.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/NYR4K242.js +2 -0
- package/dist/cdn/OCT2KA4Q.js +2 -0
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/OPMACXLA.js +2 -0
- package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/OQQIDPDH.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{4OH4NSIW.js → PSQDO4QK.js} +1 -1
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{2OHFSVV5.js → PWSEK3XV.js} +1 -1
- package/dist/cdn/QBBUOEKF.js +4 -0
- package/dist/cdn/QFXCVZYG.js +2 -0
- package/dist/cdn/QIBUTVUN.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{X2LW7GTR.js → QOQ5QNZV.js} +1 -1
- package/dist/cdn/QVLDIB2N.js +2 -0
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/RAJO727X.js +2 -0
- package/dist/cdn/RCAJJ24P.js +2 -0
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/SBJGOYJL.js +2 -0
- package/dist/cdn/SBZKGQBV.js +2 -0
- package/dist/cdn/SJBJ2N5C.js +104 -0
- package/dist/cdn/{OXYJKZEP.js → SLQPIX6X.js} +1 -1
- package/dist/cdn/SMTDJE55.js +2 -0
- package/dist/cdn/SOR4DYKA.js +2 -0
- package/dist/cdn/SQHEWY2J.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SZNZAD56.js +2 -0
- package/dist/cdn/{ZBIVDGNH.js → SZXVQMQV.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{VDKFC44J.js → TVKP2GAI.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/ULF3LG3W.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UZHQF5CV.js +2 -0
- package/dist/cdn/VBDLVCPP.js +2 -0
- package/dist/cdn/VCBFPEET.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{I6UPUSLQ.js → VQLXOQMY.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/VVOQ4Q2X.js +2 -0
- package/dist/cdn/{Y6ZCTPJW.js → WJY4AWHX.js} +1 -1
- package/dist/cdn/{L47EGLUH.js → WNDLNCF7.js} +1 -1
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/{ZAHVBXAQ.js → WPLJ5BXE.js} +1 -1
- package/dist/cdn/WTABMFFY.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/XW5I2M45.js +2 -0
- package/dist/cdn/XYJJ2PIL.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{SERX6V5M.js → YNED6356.js} +1 -1
- package/dist/cdn/YOUTTWJN.js +2 -0
- package/dist/cdn/YQL5A2WS.js +2 -0
- package/dist/cdn/YX7WAUQZ.js +2 -0
- package/dist/cdn/{XDMGH7YU.js → YZCWFNPW.js} +1 -1
- package/dist/cdn/{2XXW3WF3.js → ZEQF2W7Y.js} +1 -1
- package/dist/cdn/ZFHU5I2O.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{GQ3TDTO5.js → ZO4GRLG6.js} +1 -1
- package/dist/cdn/{OFWEHJDH.js → ZYK4DWCN.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +46 -20
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +46 -38
- package/dist/chunks/box-plot-data.js +291 -274
- package/dist/chunks/box-plot-model.js +143 -130
- package/dist/chunks/chart-model.js +194 -153
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +30 -30
- package/dist/chunks/combo-bar-line-chart-model.js +122 -101
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +8 -8
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +61 -61
- package/dist/chunks/generate-x-axis-title.js +15 -15
- package/dist/chunks/heat-chart-model.js +95 -66
- package/dist/chunks/histogram-data.js +23 -23
- package/dist/chunks/histogram-model.js +9 -9
- package/dist/chunks/index.js +9401 -1079
- package/dist/chunks/index2.js +851 -8751
- package/dist/chunks/index3.js +1169 -847
- package/dist/chunks/index4.js +467 -250
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +40 -24
- package/dist/chunks/model-setter.js +59 -64
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +72 -47
- package/dist/chunks/model-with-y-guides.js +52 -67
- package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
- package/dist/chunks/pie-chart-data.js +175 -193
- package/dist/chunks/pie-chart-model.js +388 -320
- package/dist/chunks/radar-chart-model.js +413 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +90 -0
- package/dist/chunks/scatterplot-model.js +12 -12
- package/dist/chunks/serial-chart-data.js +869 -746
- package/dist/chunks/serial-chart-model.js +145 -123
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +49 -23
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +101 -91
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +591 -540
- package/dist/chunks/x-bounds.js +98 -97
- package/dist/components/arcgis-chart/customElement.d.ts +611 -234
- package/dist/components/arcgis-chart/customElement.js +10433 -10078
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- 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 +243 -229
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +57 -58
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +488 -466
- package/dist/interfaces.d.ts +57 -14
- package/dist/json-schema/index.d.ts +211 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
- package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- 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 +3 -3
- package/dist/utils/chart-config/converter/index.js +210 -191
- package/dist/utils/chart-config/utils/index.d.ts +30 -9
- package/dist/utils/chart-config/validator/index.d.ts +2 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -1
- package/dist/utils/data/index.d.ts +28 -22
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +31 -5
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +26 -8
- package/dist/utils/layer/inline-conversion/index.d.ts +0 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +0 -12
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +13 -9
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/dist/utils/localization/interfaces.d.ts +9 -1
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/misc/interfaces.d.ts +1 -0
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +8 -9
- package/dist/cdn/2B4S6PH2.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3X5JIVJJ.js +0 -3
- package/dist/cdn/44GWFKSR.js +0 -2
- package/dist/cdn/4LLOMGO7.js +0 -2
- package/dist/cdn/4P7S3KIY.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/55UVN4AF.js +0 -4
- package/dist/cdn/5F54SB3S.js +0 -2
- package/dist/cdn/667DYS3D.js +0 -2
- package/dist/cdn/7DD3FFI5.js +0 -2
- package/dist/cdn/7LXWQH6J.js +0 -2
- package/dist/cdn/7TRRNFTL.js +0 -2
- package/dist/cdn/7XLZ42N6.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADGMA3ST.js +0 -3
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BSP7U5YN.js +0 -58
- package/dist/cdn/CAGJKKOW.js +0 -2
- package/dist/cdn/CG6PLENK.js +0 -2
- package/dist/cdn/CKRMYU2S.js +0 -2
- package/dist/cdn/CQTLTJ52.js +0 -2
- package/dist/cdn/CY7GY33F.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D57ESYPO.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DKXRIXFG.js +0 -2
- package/dist/cdn/EDSF5KGV.js +0 -233
- package/dist/cdn/EPUNY3VI.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FATECLIQ.js +0 -2
- package/dist/cdn/FFS73X36.js +0 -142
- package/dist/cdn/FGNRWY57.js +0 -2
- package/dist/cdn/FJ4UGRMY.js +0 -2
- package/dist/cdn/G7YZE67F.js +0 -2
- package/dist/cdn/GGHRYV36.js +0 -2
- package/dist/cdn/GOP2GNGE.js +0 -2
- package/dist/cdn/H2DP7HXE.js +0 -2
- package/dist/cdn/H42V247N.js +0 -2
- package/dist/cdn/H7TZ42RW.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/I5B6REVT.js +0 -2
- package/dist/cdn/IXKYQBM7.js +0 -2
- package/dist/cdn/J7XXIAQJ.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JRUIUNQA.js +0 -2
- package/dist/cdn/KI2YCXW6.js +0 -2
- package/dist/cdn/KPPNRDOP.js +0 -2
- package/dist/cdn/LB6EF2UN.js +0 -2
- package/dist/cdn/M7QVV7WC.js +0 -2
- package/dist/cdn/MICVGPGC.js +0 -2
- package/dist/cdn/MRTKZZTF.js +0 -2
- package/dist/cdn/MZHOWTY3.js +0 -2
- package/dist/cdn/NALKWY43.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OCE4FAJ4.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PQHVQQSI.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/QNUCPXBU.js +0 -2
- package/dist/cdn/QW5KML7L.js +0 -2
- package/dist/cdn/QXUR76TF.js +0 -2
- package/dist/cdn/RJW2DOIR.js +0 -102
- package/dist/cdn/RR63Q3C2.js +0 -2
- package/dist/cdn/RRC5ESYH.js +0 -2
- package/dist/cdn/SS42OW45.js +0 -2
- package/dist/cdn/STM26XZG.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TX43YOVC.js +0 -2
- package/dist/cdn/TYAN5HWQ.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UAGGYOZB.js +0 -2
- package/dist/cdn/UDKG7LGN.js +0 -2
- package/dist/cdn/UHQGJR3U.js +0 -2
- package/dist/cdn/UYOCWLLG.js +0 -2
- package/dist/cdn/UYTPOUP7.js +0 -2
- package/dist/cdn/VKYQGU2R.js +0 -2
- package/dist/cdn/VOSE67U2.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/W3OA4MKU.js +0 -2
- package/dist/cdn/W6KE6F3T.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WCJ5W5TE.js +0 -2
- package/dist/cdn/WHYRYWPW.js +0 -2
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WOJQ6BTB.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/XP6RGZ2N.js +0 -2
- package/dist/cdn/XRUOXTHH.js +0 -2
- package/dist/cdn/XTNDUDWE.js +0 -2
- package/dist/cdn/XUERYUEG.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YAR2TF55.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YRFSWIDQ.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZG7SUAGR.js +0 -2
- package/dist/cdn/ZTX2ULE6.js +0 -2
- package/dist/cdn/ZY44M3QZ.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { isEqual as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { i as
|
|
6
|
-
import { C as
|
|
2
|
+
import { isEqual as D } from "lodash-es";
|
|
3
|
+
import { a as u, c as b, d as h } from "./chart-object-literals.js";
|
|
4
|
+
import { b_ as I, c1 as v, bA as p, r as M } from "./index.js";
|
|
5
|
+
import { i as P } from "./index4.js";
|
|
6
|
+
import { C as O } from "./chart-model.js";
|
|
7
7
|
import { m as o } from "./model-setter.js";
|
|
8
|
-
import { S as
|
|
9
|
-
import { M as
|
|
10
|
-
import { M as
|
|
11
|
-
import { g as
|
|
12
|
-
import { M as
|
|
13
|
-
import { W as
|
|
14
|
-
import { W as
|
|
15
|
-
import { W as
|
|
16
|
-
import { W as
|
|
17
|
-
import { W as
|
|
18
|
-
import { W as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
|
|
23
|
-
const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
8
|
+
import { S as V } from "./common.js";
|
|
9
|
+
import { M as N, a as k, W as E, b as U } from "./data-labels-visibility.js";
|
|
10
|
+
import { M as j, a as X } from "./model-with-y-guides.js";
|
|
11
|
+
import { g as d, d as y, j as Y, k as w, l as z, m as R, n as K, o as q, q as G, t as $, v as Z, w as H, x as J, y as Q, z as S, A as _, B as x, C as m, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
|
|
12
|
+
import { M as oe } from "./model-with-x-guides.js";
|
|
13
|
+
import { W as ne, c as ae, d as le } from "./axis-lines-symbol.js";
|
|
14
|
+
import { W as ge, c as ce, d as fe } from "./generate-x-axis-title.js";
|
|
15
|
+
import { W as he, a as pe } from "./x-bounds.js";
|
|
16
|
+
import { W as me } from "./data-labels-symbol.js";
|
|
17
|
+
import { W as de } from "./rotated-state.js";
|
|
18
|
+
import { g as W, u as ye, s as T, h as ue, j as Se, k as _e, f as xe } from "./utils.js";
|
|
19
|
+
import { d as F, e as C, a as Te } from "./data.js";
|
|
20
|
+
import { u as Fe, m as Ce, a7 as Be, k as Ae, j as be } from "./index3.js";
|
|
21
|
+
import { s as L } from "./series-types.js";
|
|
22
|
+
const B = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
|
|
24
23
|
const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
|
|
25
|
-
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] =
|
|
26
|
-
g === i ?
|
|
27
|
-
}), t.axes?.[2] && !t.series.some((
|
|
28
|
-
},
|
|
24
|
+
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Be(r, u.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
|
|
25
|
+
g === i ? a.assignToSecondValueAxis = e : g !== i && a?.assignToSecondValueAxis !== !0 && (a.assignToSecondValueAxis = !1);
|
|
26
|
+
}), t.axes?.[2] && !t.series.some((a) => a.assignToSecondValueAxis) && t.axes.splice(2, 1);
|
|
27
|
+
}, Ie = (s, e) => e.series?.[s]?.name, ve = (s, e, i) => {
|
|
29
28
|
i.series?.[e] && (i.series[e].name = s);
|
|
30
29
|
}, Oe = (s, e) => {
|
|
31
30
|
const i = e.series?.[s];
|
|
32
31
|
let t;
|
|
33
|
-
return
|
|
32
|
+
return I(i) ? t = i.fillSymbol?.color : v(i) && (t = i.lineSymbol?.color), t;
|
|
34
33
|
}, We = (s, e, i) => {
|
|
35
34
|
const t = i.series?.[e];
|
|
36
|
-
t && (
|
|
37
|
-
...
|
|
35
|
+
t && (I(t) ? t.fillSymbol = {
|
|
36
|
+
...Fe(e),
|
|
38
37
|
...t.fillSymbol,
|
|
39
38
|
color: s
|
|
40
|
-
} :
|
|
41
|
-
...
|
|
39
|
+
} : v(t) && (t.lineSymbol = {
|
|
40
|
+
...Ce(e),
|
|
42
41
|
...t.lineSymbol,
|
|
43
42
|
color: s
|
|
44
43
|
}));
|
|
@@ -46,59 +45,58 @@ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
|
46
45
|
e.series?.sort(
|
|
47
46
|
(i, t) => s.findIndex((r) => i.id === r) - s.findIndex((r) => t.id === r)
|
|
48
47
|
);
|
|
49
|
-
}, Me = (s) => s.stackedType ??
|
|
48
|
+
}, Me = (s) => s.stackedType ?? b.Side, Pe = (s) => {
|
|
50
49
|
const { newStackedType: e, config: i, layerInfo: t, commonStrings: r } = s;
|
|
51
50
|
if (i.stackedType = e, t !== void 0) {
|
|
52
|
-
const
|
|
51
|
+
const a = W({
|
|
53
52
|
config: i,
|
|
54
53
|
layerInfo: t,
|
|
55
54
|
commonStrings: r,
|
|
56
|
-
numericFields:
|
|
57
|
-
aggregationType:
|
|
55
|
+
numericFields: y(i),
|
|
56
|
+
aggregationType: d(i)
|
|
58
57
|
});
|
|
59
|
-
|
|
58
|
+
ye(i, 1, a);
|
|
60
59
|
}
|
|
61
|
-
i.axes?.[1] && (e ===
|
|
60
|
+
i.axes?.[1] && (e === b.Stacked100 ? i.axes[1].valueFormat = Ae() : i.axes[1].valueFormat = be()), T({ config: i, value: null, axisIndex: 1, isMax: !1 }), T({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
62
61
|
}, Ve = (s) => {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
(
|
|
66
|
-
);
|
|
67
|
-
return (h(i) || p(i) || _(i)) && (e = i?.nullCategory), e;
|
|
62
|
+
const e = {};
|
|
63
|
+
return s.series.forEach((i) => {
|
|
64
|
+
L(i) && "nullCategory" in i && i.nullCategory !== void 0 && (e.text ??= i.nullCategory.text, i.type === u.BarSeries ? e.fillSymbol ??= i.nullCategory.fillSymbol : e.markerSymbol ??= i.nullCategory.markerSymbol);
|
|
65
|
+
}), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
|
|
68
66
|
}, Ne = (s, e) => {
|
|
69
67
|
s.series.forEach((i) => {
|
|
70
|
-
(
|
|
68
|
+
L(i) && (e ? i.type === u.BarSeries ? i.nullCategory = { text: e?.text, fillSymbol: e?.fillSymbol } : i.nullCategory = { text: e?.text, markerSymbol: e?.markerSymbol } : i.nullCategory = void 0);
|
|
71
69
|
});
|
|
72
70
|
};
|
|
73
|
-
var
|
|
74
|
-
for (var r =
|
|
75
|
-
(g = s[
|
|
76
|
-
return r &&
|
|
71
|
+
var ke = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, f = (s, e, i, t) => {
|
|
72
|
+
for (var r = Ee(e, i), a = s.length - 1, g; a >= 0; a--)
|
|
73
|
+
(g = s[a]) && (r = g(e, i, r) || r);
|
|
74
|
+
return r && ke(e, i, r), r;
|
|
77
75
|
};
|
|
78
|
-
class c extends
|
|
76
|
+
class c extends O {
|
|
79
77
|
/**
|
|
80
78
|
* Time interval size for a temporal bar chart or line chart.
|
|
81
79
|
*/
|
|
82
80
|
get temporalBinningSize() {
|
|
83
|
-
return
|
|
81
|
+
return Y(this._config);
|
|
84
82
|
}
|
|
85
83
|
set temporalBinningSize(e) {
|
|
86
|
-
|
|
84
|
+
w(e, this._config);
|
|
87
85
|
}
|
|
88
86
|
/**
|
|
89
87
|
* Time interval units for a temporal bar chart or line chart.
|
|
90
88
|
*/
|
|
91
89
|
get temporalBinningUnit() {
|
|
92
|
-
return
|
|
90
|
+
return z(this._config);
|
|
93
91
|
}
|
|
94
92
|
set temporalBinningUnit(e) {
|
|
95
|
-
|
|
93
|
+
R(e, this._config);
|
|
96
94
|
}
|
|
97
95
|
/**
|
|
98
96
|
* Time aggregation type for a temporal bar chart or line chart.
|
|
99
97
|
*/
|
|
100
98
|
get timeAggregationType() {
|
|
101
|
-
return
|
|
99
|
+
return K(this._config);
|
|
102
100
|
}
|
|
103
101
|
set timeAggregationType(e) {
|
|
104
102
|
q(e, this._config);
|
|
@@ -107,7 +105,7 @@ class c extends v {
|
|
|
107
105
|
* Whether to trim incomplete time intervals for a temporal bar chart or line chart.
|
|
108
106
|
*/
|
|
109
107
|
get trimIncompleteTimeInterval() {
|
|
110
|
-
return
|
|
108
|
+
return G(this._config);
|
|
111
109
|
}
|
|
112
110
|
set trimIncompleteTimeInterval(e) {
|
|
113
111
|
$(e, this._config);
|
|
@@ -122,13 +120,13 @@ class c extends v {
|
|
|
122
120
|
* - Line series: connects the lines across null values.
|
|
123
121
|
*/
|
|
124
122
|
get nullPolicy() {
|
|
125
|
-
return
|
|
123
|
+
return Z(this._config);
|
|
126
124
|
}
|
|
127
125
|
set nullPolicy(e) {
|
|
128
|
-
|
|
126
|
+
H(e, this._config);
|
|
129
127
|
}
|
|
130
128
|
resetTimeInterval() {
|
|
131
|
-
|
|
129
|
+
J(this._config);
|
|
132
130
|
}
|
|
133
131
|
}
|
|
134
132
|
f([
|
|
@@ -150,13 +148,13 @@ f([
|
|
|
150
148
|
o
|
|
151
149
|
], c.prototype, "resetTimeInterval");
|
|
152
150
|
var Ue = Object.defineProperty, je = Object.getOwnPropertyDescriptor, l = (s, e, i, t) => {
|
|
153
|
-
for (var r = je(e, i),
|
|
154
|
-
(g = s[
|
|
151
|
+
for (var r = je(e, i), a = s.length - 1, g; a >= 0; a--)
|
|
152
|
+
(g = s[a]) && (r = g(e, i, r) || r);
|
|
155
153
|
return r && Ue(e, i, r), r;
|
|
156
154
|
};
|
|
157
|
-
class
|
|
155
|
+
class n extends O {
|
|
158
156
|
constructor() {
|
|
159
|
-
super(...arguments), this._xAxisField = "", this._aggregationType =
|
|
157
|
+
super(...arguments), this._xAxisField = "", this._aggregationType = h.Count, this._splitByField = "", this._numericFields = [];
|
|
160
158
|
}
|
|
161
159
|
// #endregion
|
|
162
160
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -169,7 +167,7 @@ class a extends v {
|
|
|
169
167
|
return this._xAxisField;
|
|
170
168
|
}
|
|
171
169
|
set xAxisField(e) {
|
|
172
|
-
if (this._xAxisField = e, e.trim() === "" || e ===
|
|
170
|
+
if (this._xAxisField = e, e.trim() === "" || e === p) {
|
|
173
171
|
const r = this.numericFields;
|
|
174
172
|
this.resetConfig(), this.numericFields = r;
|
|
175
173
|
}
|
|
@@ -182,7 +180,7 @@ class a extends v {
|
|
|
182
180
|
return this._aggregationType;
|
|
183
181
|
}
|
|
184
182
|
set aggregationType(e) {
|
|
185
|
-
this._aggregationType = e,
|
|
183
|
+
this._aggregationType = e, Q({
|
|
186
184
|
aggregationType: e,
|
|
187
185
|
config: this._config,
|
|
188
186
|
layerInfo: this.layerInfo,
|
|
@@ -196,7 +194,7 @@ class a extends v {
|
|
|
196
194
|
return this._splitByField;
|
|
197
195
|
}
|
|
198
196
|
set splitByField(e) {
|
|
199
|
-
this.layerInfo?.layerFieldsInfo &&
|
|
197
|
+
this.layerInfo?.layerFieldsInfo && ue(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.processSeriesRebuild("splitByField"));
|
|
200
198
|
}
|
|
201
199
|
/**
|
|
202
200
|
* The numeric fields array for the chart.
|
|
@@ -206,37 +204,49 @@ class a extends v {
|
|
|
206
204
|
}
|
|
207
205
|
set numericFields(e) {
|
|
208
206
|
typeof e == "string" && (e = [e]);
|
|
209
|
-
const i =
|
|
207
|
+
const i = Se(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
|
|
210
208
|
if (i && !t) {
|
|
211
|
-
const r =
|
|
212
|
-
e.length === 0 && r !== void 0 ? (e
|
|
209
|
+
const r = M(this.layerInfo.layer).idField;
|
|
210
|
+
e.length === 0 && r !== void 0 ? (e = [r], this._aggregationType = h.Count) : this._aggregationType === h.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = h.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
|
|
213
211
|
} else t && this.resetConfig();
|
|
214
212
|
}
|
|
215
213
|
/**
|
|
216
214
|
* Gets whether the series should be assigned to the second value axis.
|
|
217
215
|
*
|
|
218
216
|
* @param seriesIndex - The index of the series.
|
|
217
|
+
* @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
|
|
219
218
|
*/
|
|
220
219
|
getAssignToSecondValueAxis(e) {
|
|
221
|
-
return
|
|
220
|
+
return B(e, this._config);
|
|
222
221
|
}
|
|
223
222
|
setAssignToSecondValueAxis(e, i) {
|
|
224
|
-
|
|
223
|
+
A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Gets whether the series should be assigned to the secondary y-axis.
|
|
227
|
+
*
|
|
228
|
+
* @param seriesIndex - The index of the series.
|
|
229
|
+
*/
|
|
230
|
+
getSeriesToSecondaryYAxis(e) {
|
|
231
|
+
return B(e, this._config);
|
|
232
|
+
}
|
|
233
|
+
setSeriesToSecondaryYAxis(e, i) {
|
|
234
|
+
A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
225
235
|
}
|
|
226
236
|
/**
|
|
227
237
|
* Gets the sort order for the bar chart.
|
|
228
238
|
*/
|
|
229
239
|
getSortOrder() {
|
|
230
|
-
return
|
|
240
|
+
return S(this._config)[0];
|
|
231
241
|
}
|
|
232
242
|
setSortOrder(e, i) {
|
|
233
|
-
|
|
243
|
+
F(e, this._config, i);
|
|
234
244
|
}
|
|
235
245
|
/**
|
|
236
246
|
* Gets the list of the category values for the chart.
|
|
237
247
|
*/
|
|
238
248
|
async getCustomSortValues() {
|
|
239
|
-
return await
|
|
249
|
+
return await _({
|
|
240
250
|
config: this._config,
|
|
241
251
|
layerInfo: this.layerInfo,
|
|
242
252
|
errorStrings: this.commonStrings?.errorStrings
|
|
@@ -244,15 +254,15 @@ class a extends v {
|
|
|
244
254
|
}
|
|
245
255
|
async setDataFilters(e) {
|
|
246
256
|
super.setDataFilters(e);
|
|
247
|
-
const i =
|
|
248
|
-
if (i ===
|
|
257
|
+
const i = S(this._config)[0];
|
|
258
|
+
if (i === V.customSort) {
|
|
249
259
|
this.startAsyncUpdate();
|
|
250
|
-
const t = await
|
|
260
|
+
const t = await _({
|
|
251
261
|
config: this._config,
|
|
252
262
|
layerInfo: this.layerInfo,
|
|
253
263
|
errorStrings: this.commonStrings?.errorStrings
|
|
254
264
|
});
|
|
255
|
-
|
|
265
|
+
F(i, this._config, t), this.finishAsyncUpdate();
|
|
256
266
|
}
|
|
257
267
|
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
258
268
|
}
|
|
@@ -260,16 +270,24 @@ class a extends v {
|
|
|
260
270
|
* The list of values for custom sort.
|
|
261
271
|
*/
|
|
262
272
|
get orderByList() {
|
|
263
|
-
return
|
|
273
|
+
return C(this._config);
|
|
264
274
|
}
|
|
265
275
|
set orderByList(e) {
|
|
266
|
-
!
|
|
276
|
+
!P(this._config) && x(e, this._config);
|
|
267
277
|
}
|
|
268
278
|
/**
|
|
269
279
|
* Updates the series based on the layer filter.
|
|
280
|
+
*
|
|
281
|
+
* @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#rebuildSeries rebuildSeries} instead.
|
|
270
282
|
*/
|
|
271
283
|
updateSeriesFromLayerFilter() {
|
|
272
|
-
this.layerInfo !== void 0 &&
|
|
284
|
+
this.layerInfo !== void 0 && m(this.getBuildNewSeriesProps());
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Rebuilds the series based on the current configuration.
|
|
288
|
+
*/
|
|
289
|
+
async rebuildSeries() {
|
|
290
|
+
await this.processSeriesRebuild("rebuildSeries");
|
|
273
291
|
}
|
|
274
292
|
/**
|
|
275
293
|
* Whether temporal binning is enabled for all series in the config.
|
|
@@ -277,10 +295,10 @@ class a extends v {
|
|
|
277
295
|
* **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
278
296
|
*/
|
|
279
297
|
get binTemporalData() {
|
|
280
|
-
return
|
|
298
|
+
return ee(this._config);
|
|
281
299
|
}
|
|
282
300
|
set binTemporalData(e) {
|
|
283
|
-
|
|
301
|
+
ie(e, this._config);
|
|
284
302
|
}
|
|
285
303
|
// #endregion
|
|
286
304
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -293,10 +311,10 @@ class a extends v {
|
|
|
293
311
|
* @param seriesIndex - The index of the series.
|
|
294
312
|
*/
|
|
295
313
|
getSeriesName(e) {
|
|
296
|
-
return
|
|
314
|
+
return Ie(e, this._config);
|
|
297
315
|
}
|
|
298
316
|
setSeriesName(e, i) {
|
|
299
|
-
|
|
317
|
+
ve(e, i, this._config);
|
|
300
318
|
}
|
|
301
319
|
/**
|
|
302
320
|
* Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -340,8 +358,8 @@ class a extends v {
|
|
|
340
358
|
t.splice(i, 0, r), this.setOrderOfSeries(t);
|
|
341
359
|
}
|
|
342
360
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
343
|
-
const t =
|
|
344
|
-
t.splice(i, 0, r),
|
|
361
|
+
const t = C(this._config), [r] = t.splice(e, 1);
|
|
362
|
+
t.splice(i, 0, r), x(t, this._config);
|
|
345
363
|
}
|
|
346
364
|
/**
|
|
347
365
|
* The null category configuration of the chart.
|
|
@@ -355,7 +373,7 @@ class a extends v {
|
|
|
355
373
|
}
|
|
356
374
|
set nullCategory(e) {
|
|
357
375
|
const i = this.nullCategory;
|
|
358
|
-
|
|
376
|
+
D(i, e) || Ne(this._config, e);
|
|
359
377
|
}
|
|
360
378
|
/**
|
|
361
379
|
* Sets up the local props based on the current config.
|
|
@@ -363,7 +381,7 @@ class a extends v {
|
|
|
363
381
|
* @private
|
|
364
382
|
*/
|
|
365
383
|
setupLocalProps() {
|
|
366
|
-
this._xAxisField =
|
|
384
|
+
this._xAxisField = Te(this._config), this._aggregationType = d(this._config), this._splitByField = te(this._config), this._numericFields = y(this._config);
|
|
367
385
|
}
|
|
368
386
|
resetConfig() {
|
|
369
387
|
const e = this._config.id;
|
|
@@ -386,17 +404,17 @@ class a extends v {
|
|
|
386
404
|
* @private
|
|
387
405
|
*/
|
|
388
406
|
async processSeriesRebuild(e) {
|
|
389
|
-
this.usingSplitBy() ? (this.startAsyncUpdate(), await this.fetchSplitByFieldInfos(),
|
|
407
|
+
this.usingSplitBy() ? (this.startAsyncUpdate(), await this.fetchSplitByFieldInfos(), m(this.getBuildNewSeriesProps()), this.finishAsyncUpdate()) : m(this.getBuildNewSeriesProps()), this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
|
|
390
408
|
}
|
|
391
409
|
/**
|
|
392
410
|
* Fetches the split-by field information and stores it in a private member for use in building the series.
|
|
393
411
|
*/
|
|
394
412
|
async fetchSplitByFieldInfos() {
|
|
395
|
-
return this.splitByFieldInfos = await
|
|
413
|
+
return this.splitByFieldInfos = await _e({
|
|
396
414
|
config: this._config,
|
|
397
415
|
layer: this.layerInfo.layer,
|
|
398
416
|
layerFieldsInfo: this.layerInfo.layerFieldsInfo,
|
|
399
|
-
xAxisField: this._xAxisField !==
|
|
417
|
+
xAxisField: this._xAxisField !== p ? this._xAxisField : void 0,
|
|
400
418
|
splitByField: this._splitByField,
|
|
401
419
|
fetchNullValues: this._config?.series?.[0]?.query?.fetchNullValues,
|
|
402
420
|
errorStrings: this.commonStrings?.errorStrings
|
|
@@ -427,89 +445,93 @@ class a extends v {
|
|
|
427
445
|
* Generate the proper chart title given the current config.
|
|
428
446
|
*/
|
|
429
447
|
generateChartTitle() {
|
|
430
|
-
return this.layerInfo !== void 0 ?
|
|
448
|
+
return this.layerInfo !== void 0 ? se(this._config, this.layerInfo, this.commonStrings) : "";
|
|
431
449
|
}
|
|
432
450
|
/**
|
|
433
451
|
* Generate the proper y-axis title given the current config.
|
|
434
452
|
*/
|
|
435
453
|
generateYAxisTitle() {
|
|
436
|
-
return this.layerInfo !== void 0 ?
|
|
454
|
+
return this.layerInfo !== void 0 ? W({
|
|
437
455
|
config: this._config,
|
|
438
456
|
layerInfo: this.layerInfo,
|
|
439
457
|
commonStrings: this.commonStrings,
|
|
440
|
-
numericFields:
|
|
441
|
-
aggregationType:
|
|
458
|
+
numericFields: y(this._config),
|
|
459
|
+
aggregationType: d(this._config)
|
|
442
460
|
}) : "";
|
|
443
461
|
}
|
|
444
462
|
// #endregion
|
|
445
463
|
}
|
|
446
464
|
l([
|
|
447
465
|
o
|
|
448
|
-
],
|
|
466
|
+
], n.prototype, "aggregationType");
|
|
449
467
|
l([
|
|
450
468
|
o
|
|
451
|
-
],
|
|
469
|
+
], n.prototype, "setAssignToSecondValueAxis");
|
|
452
470
|
l([
|
|
453
471
|
o
|
|
454
|
-
],
|
|
472
|
+
], n.prototype, "setSeriesToSecondaryYAxis");
|
|
455
473
|
l([
|
|
456
474
|
o
|
|
457
|
-
],
|
|
475
|
+
], n.prototype, "setSortOrder");
|
|
458
476
|
l([
|
|
459
477
|
o
|
|
460
|
-
],
|
|
478
|
+
], n.prototype, "setDataFilters");
|
|
461
479
|
l([
|
|
462
480
|
o
|
|
463
|
-
],
|
|
481
|
+
], n.prototype, "orderByList");
|
|
464
482
|
l([
|
|
465
483
|
o
|
|
466
|
-
],
|
|
484
|
+
], n.prototype, "binTemporalData");
|
|
467
485
|
l([
|
|
468
486
|
o
|
|
469
|
-
],
|
|
487
|
+
], n.prototype, "setSeriesName");
|
|
470
488
|
l([
|
|
471
489
|
o
|
|
472
|
-
],
|
|
490
|
+
], n.prototype, "setSeriesColor");
|
|
473
491
|
l([
|
|
474
492
|
o
|
|
475
|
-
],
|
|
493
|
+
], n.prototype, "setOrderOfSeries");
|
|
476
494
|
l([
|
|
477
495
|
o
|
|
478
|
-
],
|
|
496
|
+
], n.prototype, "stackedType");
|
|
479
497
|
l([
|
|
480
498
|
o
|
|
481
|
-
],
|
|
499
|
+
], n.prototype, "moveSeries");
|
|
482
500
|
l([
|
|
483
501
|
o
|
|
484
|
-
],
|
|
502
|
+
], n.prototype, "moveCustomSortValuesInOrderByList");
|
|
485
503
|
l([
|
|
486
504
|
o
|
|
487
|
-
],
|
|
505
|
+
], n.prototype, "nullCategory");
|
|
506
|
+
l([
|
|
507
|
+
o
|
|
508
|
+
], n.prototype, "resetConfig");
|
|
488
509
|
const Xe = [
|
|
489
|
-
|
|
490
|
-
P,
|
|
491
|
-
V,
|
|
510
|
+
j,
|
|
492
511
|
N,
|
|
493
|
-
|
|
512
|
+
k,
|
|
494
513
|
E,
|
|
495
|
-
|
|
496
|
-
te,
|
|
514
|
+
de,
|
|
497
515
|
U,
|
|
516
|
+
me,
|
|
517
|
+
oe,
|
|
518
|
+
X,
|
|
498
519
|
c,
|
|
499
|
-
ne,
|
|
500
520
|
ge,
|
|
501
|
-
|
|
521
|
+
he,
|
|
502
522
|
ce,
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
523
|
+
pe,
|
|
524
|
+
ne,
|
|
525
|
+
ae,
|
|
506
526
|
le,
|
|
507
|
-
|
|
527
|
+
fe,
|
|
528
|
+
re
|
|
508
529
|
];
|
|
509
|
-
|
|
530
|
+
xe(n, Xe);
|
|
510
531
|
export {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
532
|
+
n as S,
|
|
533
|
+
ve as a,
|
|
534
|
+
Ne as b,
|
|
535
|
+
Ie as g,
|
|
514
536
|
We as s
|
|
515
537
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { m as n, C as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { m as n, C as a } from "./model-setter.js";
|
|
3
|
+
import { a3 as o, a4 as g, a5 as h } from "./index3.js";
|
|
4
|
+
import { O as p } from "./index.js";
|
|
5
5
|
var f = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (t, e, i, _) => {
|
|
6
|
-
for (var s = c(e, i), r = t.length - 1,
|
|
7
|
-
(
|
|
6
|
+
for (var s = c(e, i), r = t.length - 1, l; r >= 0; r--)
|
|
7
|
+
(l = t[r]) && (s = l(e, i, s) || s);
|
|
8
8
|
return s && f(e, i, s), s;
|
|
9
9
|
};
|
|
10
10
|
const x = (t) => t.title?.content.text ?? "", d = (t, e) => {
|
|
@@ -14,7 +14,7 @@ const x = (t) => t.title?.content.text ?? "", d = (t, e) => {
|
|
|
14
14
|
font: g(h.ChartTitle)
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
|
-
class
|
|
17
|
+
class m extends a {
|
|
18
18
|
/**
|
|
19
19
|
* The chart title text.
|
|
20
20
|
*/
|
|
@@ -27,30 +27,30 @@ class T extends l {
|
|
|
27
27
|
}
|
|
28
28
|
u([
|
|
29
29
|
n
|
|
30
|
-
],
|
|
31
|
-
const
|
|
32
|
-
class C extends
|
|
30
|
+
], m.prototype, "titleText");
|
|
31
|
+
const v = (t) => t.series.map((e) => String(p({ where: e.query?.where }))).filter((e) => e !== void 0);
|
|
32
|
+
class C extends a {
|
|
33
33
|
/**
|
|
34
34
|
* The split-by values for the chart.
|
|
35
35
|
*/
|
|
36
36
|
get splitByValues() {
|
|
37
|
-
return
|
|
37
|
+
return v(this._config);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
const
|
|
41
|
-
class
|
|
40
|
+
const T = (t) => t.series.length ?? 0;
|
|
41
|
+
class O extends a {
|
|
42
42
|
/**
|
|
43
43
|
* The length of the series array.
|
|
44
44
|
*/
|
|
45
45
|
get seriesLength() {
|
|
46
|
-
return
|
|
46
|
+
return T(this._config);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
m as W,
|
|
51
51
|
v as a,
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
T as b,
|
|
53
|
+
O as c,
|
|
54
54
|
C as d,
|
|
55
|
-
|
|
55
|
+
x as g
|
|
56
56
|
};
|
|
@@ -1,31 +1,35 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { a as e } from "./chart-object-literals.js";
|
|
3
3
|
function r(t) {
|
|
4
|
-
return t.size === 2 && t.has(
|
|
4
|
+
return t.size === 2 && t.has(e.LineSeries) && t.has(e.BarSeries);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
return t.size === 2 && t.has(
|
|
6
|
+
function a(t) {
|
|
7
|
+
return t.size === 2 && t.has(e.LineSeries) && t.has(e.BoxPlotSeries) || t.size === 1 && t.has(e.BoxPlotSeries);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
let
|
|
9
|
+
function f(t, o) {
|
|
10
|
+
let n;
|
|
11
11
|
if (t !== void 0 && t.length > 0)
|
|
12
|
-
if (
|
|
13
|
-
|
|
12
|
+
if (o !== void 0 && o >= 0 && o < t.length)
|
|
13
|
+
n = t[o].type;
|
|
14
14
|
else {
|
|
15
|
-
const
|
|
16
|
-
|
|
15
|
+
const i = new Set(t.map((p) => p.type)), s = r(i), l = a(i);
|
|
16
|
+
s === !0 ? n = e.ComboLineAndBarSeries : l ? n = e.BoxPlotSeries : i.size >= 2 ? n = void 0 : n = t[0].type;
|
|
17
17
|
}
|
|
18
|
-
return
|
|
18
|
+
return n;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
return
|
|
20
|
+
function C(t, o = !0) {
|
|
21
|
+
return o ? t?.xTemporalBinning : t?.yTemporalBinning;
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const g = {
|
|
24
24
|
isComboLineAndBarChart: r,
|
|
25
|
-
isBoxPlotChart:
|
|
25
|
+
isBoxPlotChart: a
|
|
26
26
|
};
|
|
27
|
+
function m(t) {
|
|
28
|
+
return t.type === e.BarSeries || t.type === e.LineSeries || t.type === e.RadarSeries || t.type === e.ComboLineAndBarSeries;
|
|
29
|
+
}
|
|
27
30
|
export {
|
|
28
|
-
|
|
29
|
-
g,
|
|
30
|
-
|
|
31
|
+
C as a,
|
|
32
|
+
f as g,
|
|
33
|
+
m as s,
|
|
34
|
+
g as t
|
|
31
35
|
};
|
package/dist/chunks/series.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { m as i } from "./index3.js";
|
|
3
3
|
const o = (e) => e.lineSymbol?.style, n = (e, t) => {
|
|
4
4
|
t.lineSymbol ??= i(), t.lineSymbol.style = e;
|
|
5
5
|
}, s = (e) => e.lineSymbol?.width, S = (e, t) => {
|