@arcgis/charts-components 5.2.0-next.8 → 5.2.0-next.85
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/{5MEQANMY.js → 26DDVOQ7.js} +1 -1
- package/dist/cdn/2BA2QD2A.js +3 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2MF442VT.js +2 -0
- package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/3AYNHY7J.js +2 -0
- package/dist/cdn/{DCZWZOPF.js → 3FFCWEMV.js} +1 -1
- package/dist/cdn/3H3PFQTD.js +2 -0
- package/dist/cdn/3KDTVBIG.js +2 -0
- package/dist/cdn/3SSQPYQA.js +2 -0
- package/dist/cdn/{JRHMUFED.js → 3YPGCLG4.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/4KF7SUJE.js +2 -0
- package/dist/cdn/{MVHQR4FJ.js → 4U2HIMOR.js} +1 -1
- package/dist/cdn/52NR6B2J.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5DHMYPPF.js +2 -0
- package/dist/cdn/5NGIGJYR.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → 6AXYQGBN.js} +1 -1
- package/dist/cdn/6LV3ASGE.js +2 -0
- package/dist/cdn/6SQNRMJG.js +2 -0
- package/dist/cdn/{ETKPMU7Z.js → 6U6VAS2O.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → 6WWEQU3O.js} +1 -1
- package/dist/cdn/72KEQM4K.js +2 -0
- package/dist/cdn/72VGCAR5.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7CZMR2WF.js +2 -0
- package/dist/cdn/7JA63ENU.js +45 -0
- package/dist/cdn/7P3FHJUU.js +2 -0
- package/dist/cdn/7SIKOCYK.js +4 -0
- package/dist/cdn/7ZAT46VE.js +2 -0
- package/dist/cdn/{A5AECJXP.js → A2KSCV2I.js} +1 -1
- package/dist/cdn/ACMHG3RB.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → AF2GUPVE.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AS3QP77N.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → B5Z7FBO7.js} +1 -1
- package/dist/cdn/{2HUAW34Q.js → B7J5YIWF.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BV7UUWYI.js +2 -0
- package/dist/cdn/{N6AOFBBX.js → BWR5ONE2.js} +1 -1
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{AWF4R7WL.js → C2ZX67U4.js} +1 -1
- package/dist/cdn/C5UI5MYS.js +2 -0
- package/dist/cdn/C7F4AVQU.js +104 -0
- package/dist/cdn/{EXXLJVGS.js → CFOB77PI.js} +1 -1
- package/dist/cdn/CSOYZJU5.js +2 -0
- package/dist/cdn/CVWT6DGY.js +2 -0
- package/dist/cdn/CXWBQG5O.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{L4G6FO7A.js → DDNOUE2T.js} +1 -1
- package/dist/cdn/DE3CJJG3.js +2 -0
- package/dist/cdn/DKC4NIUA.js +2 -0
- package/dist/cdn/DW5NK2B3.js +2 -0
- package/dist/cdn/DZWIVB6V.js +2 -0
- package/dist/cdn/EMOHROY3.js +2 -0
- package/dist/cdn/{HVO4LIXR.js → EQTI5Z4G.js} +1 -1
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EYYTKCXM.js +2 -0
- package/dist/cdn/EZLKMWI5.js +2 -0
- package/dist/cdn/F3LVXDV4.js +2 -0
- package/dist/cdn/FBU4ODQE.js +2 -0
- package/dist/cdn/{A4GEWIPY.js → FFJTVPE4.js} +1 -1
- package/dist/cdn/FQKGQHVK.js +2 -0
- package/dist/cdn/{JCH3RDLR.js → FRTPDJGW.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → G45UKTNI.js} +1 -1
- package/dist/cdn/GDGYKODO.js +2 -0
- package/dist/cdn/GX64OP3A.js +2 -0
- package/dist/cdn/GZEVPH4Y.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → H2DUFQAG.js} +1 -1
- package/dist/cdn/{JJIGLOJA.js → HABS63VB.js} +1 -1
- package/dist/cdn/HDIBDW52.js +2 -0
- package/dist/cdn/HOASAQAB.js +2 -0
- package/dist/cdn/HQ2JPCTQ.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3BMYY7N.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IN2IL6T2.js +2 -0
- package/dist/cdn/IVM37XFX.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → J3BB5KXD.js} +1 -1
- package/dist/cdn/JMMNRCD4.js +2 -0
- package/dist/cdn/JQM5R6XW.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → JUFBIV44.js} +1 -1
- package/dist/cdn/JUU3BZT7.js +2 -0
- package/dist/cdn/KAQ5XSCQ.js +2 -0
- package/dist/cdn/KG574LAE.js +2 -0
- package/dist/cdn/KHJC5P5T.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → KTYFDFMQ.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → KWN3N6VE.js} +1 -1
- package/dist/cdn/KYOBS7XL.js +2 -0
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L4BZX57U.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LCTDNI27.js +2 -0
- package/dist/cdn/LM6VCILT.js +2 -0
- package/dist/cdn/LMTSW3JM.js +2 -0
- package/dist/cdn/LPS3VU35.js +2 -0
- package/dist/cdn/{6XTKJ7DO.js → LXZXXY7V.js} +1 -1
- package/dist/cdn/M6OCFMDB.js +2 -0
- package/dist/cdn/MITW5XKW.js +2 -0
- package/dist/cdn/MJHVSD5B.js +2 -0
- package/dist/cdn/MNYNXHXE.js +2 -0
- package/dist/cdn/NH2A5QEU.js +2 -0
- package/dist/cdn/NIDXK3GN.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{YOT6DVSU.js → NNHJ75EA.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/{TF7TE7K5.js → NWQ2L7IJ.js} +1 -1
- 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/OMORDJT2.js +2 -0
- package/dist/cdn/{DEGBVJ76.js → OMU647X3.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → OXPXA3PS.js} +1 -1
- package/dist/cdn/OYXDCECZ.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/{BJDRJUEJ.js → P7FI5QUW.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → PCFEAGXP.js} +1 -1
- package/dist/cdn/PF6QOHZR.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → PMTNALXO.js} +1 -1
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → PZP57FJ2.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → Q466K37N.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/QIG7WTJF.js +2 -0
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QXQC4CH5.js +2 -0
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/{7FZC3RZK.js → R5LIRRMK.js} +1 -1
- package/dist/cdn/R5VDQBUH.js +2 -0
- package/dist/cdn/RCAPTQFV.js +2 -0
- package/dist/cdn/{K3GNHGEW.js → RHUEVXMR.js} +1 -1
- package/dist/cdn/{IPM2XKST.js → RMIIDRGC.js} +1 -1
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/S2HIF3ZX.js +2 -0
- package/dist/cdn/{KFONSKQF.js → S4NQCINT.js} +1 -1
- package/dist/cdn/SC26LLWP.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → SILDOKXS.js} +1 -1
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{FF4DUQDZ.js → SVLOD3HQ.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TBW6K2TY.js +2 -0
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{5XTQQOTT.js → TJ2NRLF6.js} +1 -1
- package/dist/cdn/{KUZR6CGB.js → TOCBEPNS.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/TSU6UVTL.js +2 -0
- package/dist/cdn/U3542JBJ.js +2 -0
- package/dist/cdn/U7GQGHZY.js +2 -0
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UYDDYD3O.js +2 -0
- package/dist/cdn/V3ITNIER.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/VSPKBQS6.js +2 -0
- package/dist/cdn/WC22SRVJ.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/XBRRJQVR.js +2 -0
- package/dist/cdn/XFCDAI5T.js +2 -0
- package/dist/cdn/XHZAAQMF.js +2 -0
- package/dist/cdn/{SBYD2EKR.js → XR4O3AQ6.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → XU7TGV75.js} +1 -1
- package/dist/cdn/XVCBLLWW.js +2 -0
- package/dist/cdn/YAWW63A5.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → Z5EJIWAY.js} +1 -1
- package/dist/cdn/{GV3TT7L5.js → ZARYZFJ4.js} +1 -1
- package/dist/cdn/ZDUW3TBJ.js +2 -0
- package/dist/cdn/ZGIM53IQ.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{ZFZ5AEUQ.js → ZVOX72AF.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/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +52 -22
- 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 +42 -38
- package/dist/chunks/box-plot-data.js +270 -279
- package/dist/chunks/box-plot-model.js +159 -144
- package/dist/chunks/chart-model.js +182 -150
- 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 +24 -24
- package/dist/chunks/combo-bar-line-chart-model.js +48 -40
- 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 +9363 -1079
- package/dist/chunks/index2.js +852 -8752
- package/dist/chunks/index3.js +1169 -847
- package/dist/chunks/index4.js +315 -86
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +18 -18
- package/dist/chunks/model-setter.js +57 -34
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +18 -9
- package/dist/chunks/model-with-y-guides.js +52 -67
- package/dist/chunks/negative-values-stacked-to-baseline.js +40 -36
- 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 +397 -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 +73 -0
- package/dist/chunks/scatterplot-model.js +12 -12
- package/dist/chunks/serial-chart-data.js +868 -748
- 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 +16 -12
- 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 +628 -254
- package/dist/components/arcgis-chart/customElement.js +10420 -10099
- 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 +244 -230
- 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 +21 -22
- 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 +58 -59
- 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 +80 -80
- 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 +61 -61
- package/dist/index.js +476 -463
- package/dist/interfaces.d.ts +9 -11
- 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 +4 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
- 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 +19 -7
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- 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 +16 -7
- 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/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 +58 -8
- package/dist/utils/chart-config/validator/index.d.ts +1 -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 -6
- 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 +6 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +10 -6
- package/dist/utils/localization/interfaces.d.ts +8 -0
- 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 +7 -8
- package/dist/cdn/24RLLXS6.js +0 -2
- package/dist/cdn/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/4ACX3XOE.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/6AF2OTL6.js +0 -2
- package/dist/cdn/6C6AH4LL.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7OF2IANH.js +0 -2
- package/dist/cdn/7VN3A7S2.js +0 -2
- package/dist/cdn/7YWZG3ZS.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADGMA3ST.js +0 -3
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/AWKELFV6.js +0 -2
- package/dist/cdn/B4KAJRUJ.js +0 -2
- package/dist/cdn/BBUPTHPL.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/C2FOUUEM.js +0 -2
- package/dist/cdn/CBNT3DO7.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CVU3UPPF.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D73VV2AZ.js +0 -2
- package/dist/cdn/DF5P34HK.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/EGISZTGB.js +0 -2
- package/dist/cdn/EP34TF4L.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FDFYTCDO.js +0 -2
- package/dist/cdn/G72TNKCS.js +0 -2
- package/dist/cdn/GQ5QBLRO.js +0 -2
- package/dist/cdn/HWJGWDU3.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/IXRBZPQL.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JPPGHHIA.js +0 -2
- package/dist/cdn/JS2KOBA2.js +0 -2
- package/dist/cdn/JTTJ455Y.js +0 -2
- package/dist/cdn/JWO5WVTZ.js +0 -2
- package/dist/cdn/JWPAMNU4.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KCMZSNBL.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KVUFR34S.js +0 -2
- package/dist/cdn/LTQRSPSC.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MRTKZZTF.js +0 -2
- package/dist/cdn/NNEDF6G4.js +0 -2
- package/dist/cdn/NSOZIR5F.js +0 -2
- package/dist/cdn/NTSTL3FK.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O5A25X5K.js +0 -2
- package/dist/cdn/OAAJ6CIN.js +0 -2
- package/dist/cdn/OGYY2Y22.js +0 -2
- package/dist/cdn/OJIUI56Z.js +0 -2
- package/dist/cdn/OSNA56IW.js +0 -4
- package/dist/cdn/P3YHDWG2.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PBWZYX5M.js +0 -58
- package/dist/cdn/PPGRM3VJ.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PRMN6W5R.js +0 -2
- package/dist/cdn/PROSIXIF.js +0 -2
- package/dist/cdn/Q5JDSPJA.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/R75MHIRF.js +0 -2
- package/dist/cdn/RDA5NV6M.js +0 -2
- package/dist/cdn/RG3DO2OE.js +0 -2
- package/dist/cdn/RPNZL6AC.js +0 -2
- package/dist/cdn/S5UDCCRH.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SRPOC65M.js +0 -2
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/U2CYVAIC.js +0 -102
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VQU6N5HX.js +0 -2
- package/dist/cdn/VZTLODMQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XCUXUZXY.js +0 -2
- package/dist/cdn/XG3WW5GG.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZS6EP5BD.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,31 +1,30 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { g as
|
|
2
|
+
import { g as b, s as p, a as _, b as L, W as u } from "./rounded-corners.js";
|
|
3
3
|
import { m as a } from "./model-setter.js";
|
|
4
|
-
import { g as
|
|
5
|
-
import { S as
|
|
4
|
+
import { g as k, a as C, e as M, b as v, f as z, s as O, h as B, c as V, i as D, d as A, j as F, k as H, n as W, o as d, p as j, q as w, r as P, W as T } from "./negative-values-stacked-to-baseline.js";
|
|
5
|
+
import { S as N, s as $ } from "./serial-chart-model.js";
|
|
6
6
|
import { f as q } from "./utils.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return t && G(e, i, t), t;
|
|
7
|
+
import { a as S } from "./chart-object-literals.js";
|
|
8
|
+
import { b$ as R, r as f, c1 as l, b_ as h } from "./index.js";
|
|
9
|
+
import { an as Y, $ as y, Y as m } from "./index3.js";
|
|
10
|
+
var E = Object.defineProperty, G = Object.getOwnPropertyDescriptor, n = (c, e, i, s) => {
|
|
11
|
+
for (var t = G(e, i), r = c.length - 1, g; r >= 0; r--)
|
|
12
|
+
(g = c[r]) && (t = g(e, i, t) || t);
|
|
13
|
+
return t && E(e, i, t), t;
|
|
15
14
|
};
|
|
16
|
-
class o extends
|
|
15
|
+
class o extends N {
|
|
17
16
|
constructor() {
|
|
18
17
|
super(...arguments), this._chartType = S.ComboLineAndBarSeries;
|
|
19
18
|
}
|
|
20
19
|
async setup(e) {
|
|
21
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (
|
|
20
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (R(e.config?.series) && this.initDefaultSeries(), await this.rebuildSeries()), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
22
21
|
}
|
|
23
22
|
// ---------------------------------------------------------------------------------------------
|
|
24
23
|
// Protected Methods
|
|
25
24
|
// ---------------------------------------------------------------------------------------------
|
|
26
25
|
/** @private */
|
|
27
26
|
generateDefaultConfig() {
|
|
28
|
-
const e =
|
|
27
|
+
const e = Y(this.commonStrings);
|
|
29
28
|
return e.series = [
|
|
30
29
|
y({
|
|
31
30
|
commonStrings: this.commonStrings,
|
|
@@ -62,7 +61,7 @@ class o extends T {
|
|
|
62
61
|
...t.fillSymbol,
|
|
63
62
|
color: s.lineSymbol?.color
|
|
64
63
|
});
|
|
65
|
-
} else if (i === S.LineSeries &&
|
|
64
|
+
} else if (i === S.LineSeries && h(s)) {
|
|
66
65
|
const r = { ...s };
|
|
67
66
|
delete r.fillSymbol, delete r.hideOversizedStackedLabels, delete r.hideOversizedSideBySideLabels, t = {
|
|
68
67
|
...m({
|
|
@@ -86,11 +85,11 @@ class o extends T {
|
|
|
86
85
|
* @param seriesIndex The index of the series.
|
|
87
86
|
*/
|
|
88
87
|
getSeriesLineStyle(e) {
|
|
89
|
-
return
|
|
88
|
+
return k(e, this._config);
|
|
90
89
|
}
|
|
91
90
|
setSeriesLineStyle(e, i) {
|
|
92
91
|
const s = this._config.series?.[i];
|
|
93
|
-
l(s) &&
|
|
92
|
+
l(s) && C(e, i, this._config);
|
|
94
93
|
}
|
|
95
94
|
/**
|
|
96
95
|
* Gets the line width of the series based on the series index.
|
|
@@ -99,7 +98,7 @@ class o extends T {
|
|
|
99
98
|
* @param seriesIndex - The index of the series.
|
|
100
99
|
*/
|
|
101
100
|
getSeriesLineWidth(e) {
|
|
102
|
-
return
|
|
101
|
+
return M(e, this._config);
|
|
103
102
|
}
|
|
104
103
|
setSeriesLineWidth(e, i) {
|
|
105
104
|
const s = this._config.series?.[i];
|
|
@@ -112,11 +111,11 @@ class o extends T {
|
|
|
112
111
|
* @param seriesIndex - The index of the series.
|
|
113
112
|
*/
|
|
114
113
|
getSeriesMarkerColor(e) {
|
|
115
|
-
return
|
|
114
|
+
return z(e, this._config);
|
|
116
115
|
}
|
|
117
116
|
setSeriesMarkerColor(e, i) {
|
|
118
117
|
const s = this._config.series?.[i];
|
|
119
|
-
l(s) &&
|
|
118
|
+
l(s) && O(e, i, this._config);
|
|
120
119
|
}
|
|
121
120
|
/**
|
|
122
121
|
* Gets the marker style of the series based on the series index.
|
|
@@ -125,11 +124,11 @@ class o extends T {
|
|
|
125
124
|
* @param seriesIndex - The index of the series.
|
|
126
125
|
*/
|
|
127
126
|
getSeriesMarkerStyle(e) {
|
|
128
|
-
return
|
|
127
|
+
return B(e, this._config);
|
|
129
128
|
}
|
|
130
129
|
setSeriesMarkerStyle(e, i) {
|
|
131
130
|
const s = this._config.series?.[i];
|
|
132
|
-
l(s) &&
|
|
131
|
+
l(s) && V(e, i, this._config);
|
|
133
132
|
}
|
|
134
133
|
/**
|
|
135
134
|
* Gets the marker size of the series based on the series index.
|
|
@@ -137,11 +136,11 @@ class o extends T {
|
|
|
137
136
|
* @param seriesIndex - The index of the series.
|
|
138
137
|
*/
|
|
139
138
|
getSeriesMarkerSize(e) {
|
|
140
|
-
return
|
|
139
|
+
return D(e, this._config);
|
|
141
140
|
}
|
|
142
141
|
setSeriesMarkerSize(e, i) {
|
|
143
142
|
const s = this._config.series?.[i];
|
|
144
|
-
l(s) &&
|
|
143
|
+
l(s) && A(e, i, this._config);
|
|
145
144
|
}
|
|
146
145
|
/**
|
|
147
146
|
* Specify whether line segments of the series should be smoothed.
|
|
@@ -153,7 +152,7 @@ class o extends T {
|
|
|
153
152
|
}
|
|
154
153
|
setLineSmoothed(e, i) {
|
|
155
154
|
const s = this._config.series?.[i];
|
|
156
|
-
l(s) &&
|
|
155
|
+
l(s) && H({
|
|
157
156
|
smoothed: e,
|
|
158
157
|
seriesIndex: i,
|
|
159
158
|
config: this._config
|
|
@@ -165,11 +164,10 @@ class o extends T {
|
|
|
165
164
|
* @param seriesIndex - The index of the series.
|
|
166
165
|
*/
|
|
167
166
|
isAreaVisible(e) {
|
|
168
|
-
return
|
|
167
|
+
return W(e, this._config);
|
|
169
168
|
}
|
|
170
169
|
setAreaVisible(e, i) {
|
|
171
|
-
|
|
172
|
-
l(s) && d({
|
|
170
|
+
d({
|
|
173
171
|
visible: e,
|
|
174
172
|
seriesIndex: i,
|
|
175
173
|
config: this._config
|
|
@@ -183,14 +181,24 @@ class o extends T {
|
|
|
183
181
|
isMarkerVisible(e) {
|
|
184
182
|
return j(e, this._config);
|
|
185
183
|
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
l(s) && W({
|
|
184
|
+
setMarkersVisible(e, i) {
|
|
185
|
+
w({
|
|
189
186
|
visible: e,
|
|
190
187
|
seriesIndex: i,
|
|
191
188
|
config: this._config
|
|
192
189
|
});
|
|
193
190
|
}
|
|
191
|
+
/**
|
|
192
|
+
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
193
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
194
|
+
*
|
|
195
|
+
* @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
196
|
+
* @param seriesIndex - The index of the series.
|
|
197
|
+
* @deprecated since 5.2. Use {@link model/combo-bar-line-chart-model/combo-bar-line-chart-model#setMarkersVisible setMarkersVisible} instead. This method will be removed from `ComboBarLineChartModel` in 6.0.
|
|
198
|
+
*/
|
|
199
|
+
setMarkerVisible(e, i) {
|
|
200
|
+
this.setMarkersVisible(e, i);
|
|
201
|
+
}
|
|
194
202
|
/**
|
|
195
203
|
* Gets the color of the filled area for line chart.
|
|
196
204
|
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
@@ -198,7 +206,7 @@ class o extends T {
|
|
|
198
206
|
* @param seriesIndex - The index of the series.
|
|
199
207
|
*/
|
|
200
208
|
getAreaColor(e) {
|
|
201
|
-
return
|
|
209
|
+
return P(e, this._config);
|
|
202
210
|
}
|
|
203
211
|
setAreaColor(e, i) {
|
|
204
212
|
const s = this._config.series?.[i];
|
|
@@ -206,21 +214,21 @@ class o extends T {
|
|
|
206
214
|
visible: !0,
|
|
207
215
|
seriesIndex: i,
|
|
208
216
|
config: this._config
|
|
209
|
-
}),
|
|
217
|
+
}), $(e, i, this._config));
|
|
210
218
|
}
|
|
211
219
|
/**
|
|
212
|
-
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
220
|
+
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
213
221
|
*
|
|
214
222
|
* If the index is out of bounds, it will return `undefined`.
|
|
215
223
|
*
|
|
216
224
|
* @param seriesIndex - The index of the series.
|
|
217
225
|
*/
|
|
218
226
|
getSeriesHideOversizedSideBySideLabels(e) {
|
|
219
|
-
return
|
|
227
|
+
return b(e, this._config);
|
|
220
228
|
}
|
|
221
229
|
setSeriesHideOversizedSideBySideLabels(e, i) {
|
|
222
230
|
const s = this._config.series?.[i];
|
|
223
|
-
|
|
231
|
+
h(s) && p(e, i, this._config);
|
|
224
232
|
}
|
|
225
233
|
/**
|
|
226
234
|
* Gets whether to hide oversized data labels of the stacked series based on the series index.
|
|
@@ -233,7 +241,7 @@ class o extends T {
|
|
|
233
241
|
}
|
|
234
242
|
setSeriesHideOversizedStackedLabels(e, i) {
|
|
235
243
|
const s = this._config.series?.[i];
|
|
236
|
-
|
|
244
|
+
h(s) && L(e, i, this._config);
|
|
237
245
|
}
|
|
238
246
|
}
|
|
239
247
|
n([
|
|
@@ -262,7 +270,7 @@ n([
|
|
|
262
270
|
], o.prototype, "setAreaVisible");
|
|
263
271
|
n([
|
|
264
272
|
a
|
|
265
|
-
], o.prototype, "
|
|
273
|
+
], o.prototype, "setMarkersVisible");
|
|
266
274
|
n([
|
|
267
275
|
a
|
|
268
276
|
], o.prototype, "setAreaColor");
|
|
@@ -272,8 +280,8 @@ n([
|
|
|
272
280
|
n([
|
|
273
281
|
a
|
|
274
282
|
], o.prototype, "setSeriesHideOversizedStackedLabels");
|
|
275
|
-
const
|
|
276
|
-
q(o,
|
|
283
|
+
const J = [T, u];
|
|
284
|
+
q(o, J);
|
|
277
285
|
export {
|
|
278
286
|
o as ComboBarLineChartModel
|
|
279
287
|
};
|
|
@@ -1,43 +1,58 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import { C as
|
|
4
|
-
import {
|
|
5
|
-
var
|
|
6
|
-
for (var s =
|
|
7
|
-
(
|
|
8
|
-
return s &&
|
|
2
|
+
import { cloneDeep as m } from "lodash-es";
|
|
3
|
+
import { C as L, m as d } from "./model-setter.js";
|
|
4
|
+
import { a3 as p, a5 as l, a4 as v } from "./index3.js";
|
|
5
|
+
var y = Object.defineProperty, u = Object.getOwnPropertyDescriptor, f = (e, t, a, r) => {
|
|
6
|
+
for (var s = u(t, a), o = e.length - 1, i; o >= 0; o--)
|
|
7
|
+
(i = e[o]) && (s = i(t, a, s) || s);
|
|
8
|
+
return s && y(t, a, s), s;
|
|
9
9
|
};
|
|
10
10
|
function h(e) {
|
|
11
11
|
return e !== void 0 && "dataLabelsSymbol" in e;
|
|
12
12
|
}
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
const n = (e, t) => {
|
|
14
|
+
if (t !== void 0)
|
|
15
|
+
return e.series[t]?.dataLabels?.content;
|
|
16
|
+
for (const a of e.series)
|
|
17
|
+
if (a.dataLabels !== void 0)
|
|
18
|
+
return a.dataLabels.content;
|
|
19
|
+
}, b = (e, t, a) => {
|
|
20
|
+
const r = a !== void 0 ? [t.series[a]] : t.series;
|
|
21
|
+
for (const s of r)
|
|
22
|
+
s !== void 0 && ((s.dataLabels === void 0 || e === void 0) && (s.dataLabels = p({
|
|
20
23
|
text: "",
|
|
21
24
|
visible: !0,
|
|
22
|
-
font:
|
|
23
|
-
type:
|
|
24
|
-
})), e !== void 0 && (
|
|
25
|
+
font: v(l.DataLabels),
|
|
26
|
+
type: l.DataLabels
|
|
27
|
+
})), e !== void 0 && (s.dataLabels.content = m(e)));
|
|
25
28
|
};
|
|
26
|
-
class
|
|
29
|
+
class c extends L {
|
|
27
30
|
/**
|
|
28
31
|
* Data labels text symbol (font, color, style).
|
|
29
32
|
*/
|
|
30
33
|
get dataLabelsSymbol() {
|
|
31
|
-
return
|
|
34
|
+
return n(this._config);
|
|
32
35
|
}
|
|
33
36
|
set dataLabelsSymbol(t) {
|
|
34
|
-
|
|
37
|
+
b(t, this._config);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Gets the data labels text symbol for a specific series in the chart config.
|
|
41
|
+
*/
|
|
42
|
+
getDataLabelsSymbol(t) {
|
|
43
|
+
return n(this._config, t);
|
|
44
|
+
}
|
|
45
|
+
setDataLabelsSymbol(t, a) {
|
|
46
|
+
b(t, this._config, a);
|
|
35
47
|
}
|
|
36
48
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
],
|
|
49
|
+
f([
|
|
50
|
+
d
|
|
51
|
+
], c.prototype, "dataLabelsSymbol");
|
|
52
|
+
f([
|
|
53
|
+
d
|
|
54
|
+
], c.prototype, "setDataLabelsSymbol");
|
|
40
55
|
export {
|
|
41
|
-
|
|
56
|
+
c as W,
|
|
42
57
|
h as i
|
|
43
58
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { C as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { m as o, C as
|
|
2
|
+
import { C as f } from "./chart-model.js";
|
|
3
|
+
import { f as y } from "./chart-object-literals.js";
|
|
4
|
+
import { a6 as d, a3 as b, a5 as r, a4 as v } from "./index3.js";
|
|
5
|
+
import { m as o, C as h } from "./model-setter.js";
|
|
6
6
|
const L = (t) => {
|
|
7
7
|
let e = !1;
|
|
8
8
|
return t.legend !== void 0 && (e = t.legend.visible ?? !0), e;
|
|
@@ -65,7 +65,7 @@ var H = Object.defineProperty, W = Object.getOwnPropertyDescriptor, a = (t, e, i
|
|
|
65
65
|
(n = t[s]) && (l = n(e, i, l) || l);
|
|
66
66
|
return l && H(e, i, l), l;
|
|
67
67
|
};
|
|
68
|
-
class g extends
|
|
68
|
+
class g extends f {
|
|
69
69
|
// ---------------------------------------------------------------------------------------------
|
|
70
70
|
// Data Props
|
|
71
71
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -186,7 +186,7 @@ var q = Object.defineProperty, z = Object.getOwnPropertyDescriptor, T = (t, e, i
|
|
|
186
186
|
(n = t[s]) && (l = n(e, i, l) || l);
|
|
187
187
|
return l && q(e, i, l), l;
|
|
188
188
|
};
|
|
189
|
-
class _ extends
|
|
189
|
+
class _ extends f {
|
|
190
190
|
/**
|
|
191
191
|
* Gets the visibility of the data tooltips.
|
|
192
192
|
* - If the `seriesIndex` is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
|
|
@@ -228,7 +228,7 @@ var A = Object.defineProperty, G = Object.getOwnPropertyDescriptor, J = (t, e, i
|
|
|
228
228
|
const K = (t) => t.colorMatch ?? !0, N = (t, e) => {
|
|
229
229
|
e.colorMatch = t;
|
|
230
230
|
};
|
|
231
|
-
class Q extends
|
|
231
|
+
class Q extends h {
|
|
232
232
|
/**
|
|
233
233
|
* Whether the chart should attempt to match the data source's colors.
|
|
234
234
|
*
|
|
@@ -260,7 +260,7 @@ const Z = (t) => t.series[0]?.dataLabels?.visible ?? !1, I = (t, e) => {
|
|
|
260
260
|
});
|
|
261
261
|
});
|
|
262
262
|
};
|
|
263
|
-
class ee extends
|
|
263
|
+
class ee extends h {
|
|
264
264
|
/**
|
|
265
265
|
* Whether data labels are visible.
|
|
266
266
|
*/
|
package/dist/chunks/data.js
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "lodash-es";
|
|
3
|
-
import {
|
|
4
|
-
import { g as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
function
|
|
11
|
-
let
|
|
12
|
-
return
|
|
3
|
+
import { p as B, r as L, q as $, co as N, aN as I, bY as h, bA as H, w as P, c8 as _, y as v } from "./index.js";
|
|
4
|
+
import { g as C } from "./series-types.js";
|
|
5
|
+
import { P as M, H as A, S as o } from "./common.js";
|
|
6
|
+
import { a as d, d as g, g as l, t as n } from "./chart-object-literals.js";
|
|
7
|
+
import { a as U } from "./index2.js";
|
|
8
|
+
import { l as W } from "./index3.js";
|
|
9
|
+
import { i as Y } from "./type-guards.js";
|
|
10
|
+
function E(e, r) {
|
|
11
|
+
let s;
|
|
12
|
+
return r === n.Category && Array.isArray(e) ? s = o.customSort : r === n.Category ? s = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? s = o.yAxisAsc : s = o.yAxisDesc, s;
|
|
13
13
|
}
|
|
14
|
-
function w(e,
|
|
15
|
-
let
|
|
16
|
-
return
|
|
14
|
+
function w(e, r) {
|
|
15
|
+
let s;
|
|
16
|
+
return r === n.Category && Array.isArray(e) ? s = A.customSort : s = e === l.Ascending ? A.Asc : A.Desc, s;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
return
|
|
21
|
-
|
|
18
|
+
const K = (e) => {
|
|
19
|
+
const r = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
20
|
+
return E(
|
|
21
|
+
r,
|
|
22
22
|
e.orderOptions?.data?.orderType ?? n.Category
|
|
23
23
|
);
|
|
24
|
-
},
|
|
25
|
-
const
|
|
26
|
-
let
|
|
27
|
-
return (
|
|
24
|
+
}, R = (e) => {
|
|
25
|
+
const r = C(e.series);
|
|
26
|
+
let s = !1;
|
|
27
|
+
return (r === d.BarSeries || r === d.LineSeries) && (s = K(e) === o.customSort), s;
|
|
28
28
|
}, ee = (e) => {
|
|
29
|
-
let
|
|
30
|
-
const
|
|
31
|
-
return
|
|
32
|
-
},
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
let
|
|
29
|
+
let r = [];
|
|
30
|
+
const s = e.orderOptions?.data?.orderType;
|
|
31
|
+
return R(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
|
|
32
|
+
}, re = (e, r, s, t) => {
|
|
33
|
+
const i = C(r.series), m = I(r);
|
|
34
|
+
r.orderOptions ??= {};
|
|
35
|
+
let a = m ? [""] : l.Ascending;
|
|
36
36
|
if (m)
|
|
37
|
-
e ===
|
|
38
|
-
...
|
|
39
|
-
orderByY:
|
|
37
|
+
e === A.customSort && s !== void 0 ? a = [...s] : a = e === A.Desc ? l.Descending : l.Ascending, t ? r.orderOptions.data = {
|
|
38
|
+
...r.orderOptions.data,
|
|
39
|
+
orderByY: a,
|
|
40
40
|
orderType: n.MultiAxes
|
|
41
|
-
} :
|
|
42
|
-
...
|
|
43
|
-
orderByX:
|
|
41
|
+
} : r.orderOptions.data = {
|
|
42
|
+
...r.orderOptions.data,
|
|
43
|
+
orderByX: a,
|
|
44
44
|
orderType: n.MultiAxes
|
|
45
45
|
};
|
|
46
|
-
else if (
|
|
46
|
+
else if (i === d.BarSeries || i === d.LineSeries) {
|
|
47
47
|
let c = n.Category;
|
|
48
|
-
e === o.customSort &&
|
|
48
|
+
e === o.customSort && s !== void 0 ? (a = [...s], r.orderOptions.data = {
|
|
49
49
|
orderType: c,
|
|
50
|
-
orderBy:
|
|
51
|
-
}) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue,
|
|
50
|
+
orderBy: a
|
|
51
|
+
}) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue, a = e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending, r.orderOptions.data = {
|
|
52
52
|
orderType: c,
|
|
53
|
-
orderBy:
|
|
53
|
+
orderBy: a
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
},
|
|
56
|
+
}, se = (e) => e?.series?.[0]?.x ?? "", te = (e) => {
|
|
57
57
|
const {
|
|
58
|
-
config:
|
|
59
|
-
xAxisField:
|
|
58
|
+
config: r,
|
|
59
|
+
xAxisField: s,
|
|
60
60
|
numericFields: t,
|
|
61
|
-
aggregationType:
|
|
61
|
+
aggregationType: i,
|
|
62
62
|
mode: m,
|
|
63
|
-
layer:
|
|
63
|
+
layer: a,
|
|
64
64
|
numericFieldIndex: c,
|
|
65
|
-
seriesIndex:
|
|
65
|
+
seriesIndex: x,
|
|
66
66
|
splitByField: S = "",
|
|
67
67
|
fieldList: O
|
|
68
|
-
} = e, T =
|
|
68
|
+
} = e, T = C(r.series), b = B(r.series);
|
|
69
69
|
let f;
|
|
70
|
-
if (
|
|
71
|
-
const y =
|
|
70
|
+
if (Y(a)) {
|
|
71
|
+
const y = N(a);
|
|
72
72
|
f = t.length === 1 && t[0] === y;
|
|
73
73
|
} else {
|
|
74
|
-
const { idField: y, isTraditionalTypeOID: D } =
|
|
74
|
+
const { idField: y, isTraditionalTypeOID: D } = L($(a));
|
|
75
75
|
f = D && t.length === 1 && t[0] === y;
|
|
76
76
|
}
|
|
77
|
-
let p = "y",
|
|
77
|
+
let p = "y", F = "y";
|
|
78
78
|
switch (T) {
|
|
79
79
|
case d.PieSeries: {
|
|
80
|
-
|
|
80
|
+
i !== g.NoAggregation ? m === M.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = v : p = t[0];
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
case d.BarSeries:
|
|
@@ -86,39 +86,39 @@ const k = (e) => {
|
|
|
86
86
|
case d.RadarSeries:
|
|
87
87
|
case d.HeatSeries: {
|
|
88
88
|
if (S === "" || t.length > 1)
|
|
89
|
-
|
|
90
|
-
fieldName:
|
|
89
|
+
j({
|
|
90
|
+
fieldName: s,
|
|
91
91
|
numericFields: t,
|
|
92
92
|
fieldList: O ?? []
|
|
93
|
-
}) || b ===
|
|
93
|
+
}) || b === U.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
|
|
94
94
|
else {
|
|
95
95
|
const y = t[0];
|
|
96
|
-
p = `${
|
|
96
|
+
p = i !== g.NoAggregation ? `${i}_${y}_${x ?? 0}`.toUpperCase() : y, F = f ? u(g.Count) : u(`${i} of ${y}`);
|
|
97
97
|
}
|
|
98
98
|
break;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
return {
|
|
102
102
|
name: p,
|
|
103
|
-
description:
|
|
103
|
+
description: F
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
function K(e) {
|
|
107
|
-
const { fieldName: s, fieldList: r } = e, t = x(r ?? [], s);
|
|
108
|
-
return s === B || s === L || s === U || s === void 0 || s.trim() === "" || t === void 0;
|
|
109
|
-
}
|
|
110
106
|
function V(e) {
|
|
111
|
-
const { fieldName:
|
|
112
|
-
return
|
|
107
|
+
const { fieldName: r, fieldList: s } = e, t = h(s ?? [], r);
|
|
108
|
+
return r === H || r === P || r === W || r === void 0 || r.trim() === "" || t === void 0;
|
|
109
|
+
}
|
|
110
|
+
function j(e) {
|
|
111
|
+
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((m) => h(s ?? [], m)?.type !== "esriFieldTypeOID");
|
|
112
|
+
return V({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
|
|
113
113
|
}
|
|
114
114
|
export {
|
|
115
|
-
|
|
115
|
+
se as a,
|
|
116
116
|
w as b,
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
E as c,
|
|
118
|
+
re as d,
|
|
119
119
|
ee as e,
|
|
120
|
-
|
|
120
|
+
K as f,
|
|
121
121
|
te as g,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
j as s,
|
|
123
|
+
V as x
|
|
124
124
|
};
|
package/dist/chunks/default.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
2
|
+
import { R as t, b as e } from "./rest-js-object-literals.js";
|
|
3
|
+
import { a as o } from "./chart-object-literals.js";
|
|
4
|
+
const l = 153, i = {
|
|
5
5
|
type: o.Guide,
|
|
6
6
|
style: {
|
|
7
7
|
type: e.SLS,
|
|
8
|
-
color: [127, 127, 127,
|
|
8
|
+
color: [127, 127, 127, l],
|
|
9
9
|
width: 2,
|
|
10
10
|
style: t.Solid
|
|
11
11
|
},
|
|
12
12
|
label: { type: e.TS }
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
i as d,
|
|
16
|
+
l as g
|
|
17
17
|
};
|