@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,7 +1,7 @@
|
|
|
1
1
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
2
2
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
3
|
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
4
|
-
import type {
|
|
4
|
+
import type { ChartLayerInput } from "../../interfaces.js";
|
|
5
5
|
import type { WebChartDataItem, WebChartDataItemValue, WebChartDataTypes } from "../../spec/data-source.js";
|
|
6
6
|
import type { WebChart, WebChartDataFilters, WebChartPieChartSlice, WebGaugeChart } from "../../spec/web-chart.js";
|
|
7
7
|
import type { ActionModes, CursorRange } from "../../utils/cursor/interfaces.js";
|
|
@@ -12,11 +12,6 @@ export interface NotifyOptions {
|
|
|
12
12
|
closable?: boolean;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export interface GaugeMinMaxFromData {
|
|
16
|
-
minimumFromData?: number;
|
|
17
|
-
maximumFromData?: number;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
15
|
/**
|
|
21
16
|
* Describes the signature of the callback function used to customize the pie chart legend value labels.
|
|
22
17
|
*
|
|
@@ -63,9 +58,17 @@ export type PreRenderCallback = (props: {
|
|
|
63
58
|
|
|
64
59
|
/** JSON representation of the runtime chart options for the update or initialization. */
|
|
65
60
|
export interface ChartOptions {
|
|
66
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Whether to allow the object id to be used as a statistic other than `COUNT`.
|
|
63
|
+
*
|
|
64
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
65
|
+
*/
|
|
67
66
|
allowUsingObjectIdStat?: boolean;
|
|
68
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* Whether to consider a `null` statistic as valid.
|
|
69
|
+
*
|
|
70
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
71
|
+
*/
|
|
69
72
|
nullAsValid?: boolean;
|
|
70
73
|
/**
|
|
71
74
|
* A property representing the selection to apply on the chart.
|
|
@@ -89,6 +92,8 @@ export interface ChartOptions {
|
|
|
89
92
|
* - Data source using a feature layer compatible with envelope aggregation
|
|
90
93
|
*
|
|
91
94
|
* The extent (IExtent) is returned through the property [featuresExtentField](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/index/#featuresExtentField).
|
|
95
|
+
*
|
|
96
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
92
97
|
*/
|
|
93
98
|
returnFeaturesExtent?: boolean;
|
|
94
99
|
/**
|
|
@@ -100,24 +105,33 @@ export interface ChartOptions {
|
|
|
100
105
|
/** Used to perform client-side queries. */
|
|
101
106
|
view?: MapView | SceneView;
|
|
102
107
|
/** Used to perform queries. */
|
|
103
|
-
layer?:
|
|
108
|
+
layer?: ChartLayerInput | FeatureLayerView;
|
|
104
109
|
/** Enable filter by selection. */
|
|
105
110
|
filterBySelection?: boolean;
|
|
106
111
|
/**
|
|
107
112
|
* Re-initialize chart object if the chart object is disposed. Honored only during the update call.
|
|
108
113
|
*
|
|
114
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
109
115
|
* @default true
|
|
110
116
|
*/
|
|
111
117
|
autoRecreateChart?: boolean;
|
|
112
118
|
/**
|
|
113
|
-
* Indicates whether to automatically
|
|
119
|
+
* Indicates whether to automatically adjust the data label text color for readability based on its background color.
|
|
114
120
|
*
|
|
115
|
-
* **Note**:
|
|
121
|
+
* **Note**: Applicable to heat charts only.
|
|
116
122
|
*/
|
|
117
123
|
autoInverseDataLabelTextColor?: boolean;
|
|
118
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* Optional create message to be displayed in the chart container.
|
|
126
|
+
*
|
|
127
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
128
|
+
*/
|
|
119
129
|
createMessage?: string;
|
|
120
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* Used to hide the loader animation (curtain and spinner), showed by default at every update.
|
|
132
|
+
*
|
|
133
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
134
|
+
*/
|
|
121
135
|
hideLoaderAnimation?: boolean;
|
|
122
136
|
/**
|
|
123
137
|
* Indicates whether to enable or disable interactions on the chart.
|
|
@@ -170,6 +184,7 @@ export interface ChartOptions {
|
|
|
170
184
|
* When data is retrieved from the server, the server excludes all features having a count of 0 from the response; hence resulting in missing entries on the charts.
|
|
171
185
|
* When this property is set to true, the dataset will keep these gaps instead of filling them with 0s.
|
|
172
186
|
*
|
|
187
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
173
188
|
* @default false
|
|
174
189
|
*/
|
|
175
190
|
hideZeroCountCategories?: boolean;
|
|
@@ -182,12 +197,15 @@ export interface ChartOptions {
|
|
|
182
197
|
*/
|
|
183
198
|
chartLimits?: ChartElementLimit;
|
|
184
199
|
/**
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
* - `
|
|
188
|
-
* - `
|
|
189
|
-
* - `
|
|
190
|
-
* - `
|
|
200
|
+
* Specifies how user interactions on the chart are handled.
|
|
201
|
+
*
|
|
202
|
+
* - `monoSelection`: Select one data point or series at a time. Each new selection replaces the previous selection.
|
|
203
|
+
* - `multiSelection`: Select multiple data points or series. Each new selection is added to the existing selection.
|
|
204
|
+
* - `multiSelectionWithCtrlKey`: Select multiple data points or series only while holding Ctrl (or Cmd on macOS). Without the key, selection behaves like `monoSelection`.
|
|
205
|
+
* - `zoom`: Zoom into an area of the chart.
|
|
206
|
+
* - `none`: Disable interaction-driven selection and zoom actions.
|
|
207
|
+
*
|
|
208
|
+
* **Note**: Not applicable to gauges.
|
|
191
209
|
*/
|
|
192
210
|
actionMode?: ActionModes;
|
|
193
211
|
/**
|
|
@@ -205,7 +223,11 @@ export interface ChartOptions {
|
|
|
205
223
|
* This is used to support a selection workflow while the filter by extent mode is enabled.
|
|
206
224
|
*/
|
|
207
225
|
viewExtentUpdated?: boolean;
|
|
208
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* Used to apply runtime filters to the chart's data while in Feature Layer mode.
|
|
228
|
+
*
|
|
229
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
230
|
+
*/
|
|
209
231
|
runtimeDataFilters?: WebChartDataFilters;
|
|
210
232
|
/**
|
|
211
233
|
* This property will be effective when the component's `view` is provided or when the `layer` is set to a `FeatureLayerView`.
|
|
@@ -268,6 +290,8 @@ export interface ChartOptions {
|
|
|
268
290
|
* Callback function executed after the data has been processed and before the chart renders.
|
|
269
291
|
* Can be used to alter the config from information extracted from the data for instance.
|
|
270
292
|
* Only applicable to pie chart and gauge.
|
|
293
|
+
*
|
|
294
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
271
295
|
*/
|
|
272
296
|
chartWillRender?: PreRenderCallback;
|
|
273
297
|
/**
|
|
@@ -281,6 +305,8 @@ export interface ChartOptions {
|
|
|
281
305
|
/**
|
|
282
306
|
* Whether the chart considers the view's time zone (`timeZone`) and refreshes whenever it changes.
|
|
283
307
|
* **Note**: This applies to all temporal charts but heat chart which benefits automatically from the feature.
|
|
308
|
+
*
|
|
309
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
284
310
|
*/
|
|
285
311
|
syncViewTimeZone?: boolean;
|
|
286
312
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { g
|
|
3
|
-
import { i as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { D as e,
|
|
7
|
-
import {
|
|
2
|
+
import { g } from "./series-types.js";
|
|
3
|
+
import { i as B } from "./rotated-state.js";
|
|
4
|
+
import { a } from "./chart-object-literals.js";
|
|
5
|
+
import { m as x, h as f, a as u, A as b } from "./index2.js";
|
|
6
|
+
import { D as e, c as o, A as n } from "./index5.js";
|
|
7
|
+
import { p as F } from "./index.js";
|
|
8
8
|
import { i as I } from "./index4.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { i as L } from "./type-guards.js";
|
|
10
|
+
import { i as E, g as D } from "./type-guards2.js";
|
|
11
11
|
const T = [
|
|
12
12
|
e.EditChart,
|
|
13
13
|
e.Legend,
|
|
@@ -21,7 +21,7 @@ const T = [
|
|
|
21
21
|
e.SwitchSelection,
|
|
22
22
|
e.ExportAsCSV,
|
|
23
23
|
e.ExportAsImage
|
|
24
|
-
],
|
|
24
|
+
], V = [
|
|
25
25
|
e.EditChart,
|
|
26
26
|
e.Legend,
|
|
27
27
|
e.RotateChart,
|
|
@@ -34,7 +34,7 @@ const T = [
|
|
|
34
34
|
e.SwitchSelection,
|
|
35
35
|
e.ExportAsImage,
|
|
36
36
|
e.ExportAsCSV
|
|
37
|
-
],
|
|
37
|
+
], v = [
|
|
38
38
|
e.EditChart,
|
|
39
39
|
e.Legend,
|
|
40
40
|
e.RotateChart,
|
|
@@ -47,7 +47,7 @@ const T = [
|
|
|
47
47
|
e.SwitchSelection,
|
|
48
48
|
e.ExportAsImage,
|
|
49
49
|
e.ExportAsCSV
|
|
50
|
-
],
|
|
50
|
+
], w = [
|
|
51
51
|
e.EditChart,
|
|
52
52
|
e.Legend,
|
|
53
53
|
e.FilterBySelection,
|
|
@@ -110,16 +110,16 @@ const T = [
|
|
|
110
110
|
e.ExportAsImage,
|
|
111
111
|
e.ExportAsCSV
|
|
112
112
|
];
|
|
113
|
-
function
|
|
114
|
-
switch (
|
|
113
|
+
function Q(c) {
|
|
114
|
+
switch (c) {
|
|
115
115
|
case a.BarSeries:
|
|
116
116
|
return T;
|
|
117
117
|
case a.LineSeries:
|
|
118
|
-
return
|
|
118
|
+
return V;
|
|
119
119
|
case a.ComboLineAndBarSeries:
|
|
120
|
-
return
|
|
120
|
+
return v;
|
|
121
121
|
case a.PieSeries:
|
|
122
|
-
return
|
|
122
|
+
return w;
|
|
123
123
|
case a.HistogramSeries:
|
|
124
124
|
return P;
|
|
125
125
|
case a.ScatterSeries:
|
|
@@ -134,40 +134,32 @@ function K(r) {
|
|
|
134
134
|
return [];
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
const
|
|
138
|
-
const
|
|
139
|
-
return
|
|
140
|
-
actionBar:
|
|
137
|
+
const U = (c, i, t) => {
|
|
138
|
+
const l = c.target.assignedNodes().find((S) => "legendToggle" in S), s = g(t?.series);
|
|
139
|
+
return l && (l.chartType = s, W({
|
|
140
|
+
actionBar: l,
|
|
141
141
|
chartComponent: i,
|
|
142
142
|
config: t
|
|
143
|
-
})),
|
|
143
|
+
})), l;
|
|
144
144
|
};
|
|
145
|
-
function
|
|
146
|
-
const { actionBar: i, chartComponent: t, config:
|
|
147
|
-
if (i.chartType =
|
|
148
|
-
const
|
|
149
|
-
i.hiddenActions =
|
|
145
|
+
function W(c) {
|
|
146
|
+
const { actionBar: i, chartComponent: t, config: r, isInfoModalDisplayed: l } = c, s = x(t.selectionData), S = r?.legend ? r.legend.visible ?? !0 : !1;
|
|
147
|
+
if (i.chartType = g(r?.series), t.enableConfiguration || t.configurationEnabled) {
|
|
148
|
+
const p = i.hiddenActions ?? [];
|
|
149
|
+
i.hiddenActions = p.filter((y) => y !== e.EditChart);
|
|
150
150
|
}
|
|
151
151
|
i.editChartState = t.enableConfiguration || t.configurationEnabled ? o.Enabled : o.Disabled;
|
|
152
|
-
const
|
|
153
|
-
i.legendState =
|
|
154
|
-
const
|
|
155
|
-
i.legendToggle =
|
|
156
|
-
const
|
|
157
|
-
i.rotateChartToggle =
|
|
158
|
-
const h = F(
|
|
159
|
-
i.filterBySelectionState = !A && !h && (t.filterBySelection || !
|
|
160
|
-
}
|
|
161
|
-
function U(r) {
|
|
162
|
-
return r?.tagName.toLowerCase() === "arcgis-chart";
|
|
163
|
-
}
|
|
164
|
-
function X(r) {
|
|
165
|
-
return r !== void 0 && d(r.series) === a.GaugeSeries;
|
|
152
|
+
const d = r && f(r.series);
|
|
153
|
+
i.legendState = d ? o.Enabled : o.Disabled;
|
|
154
|
+
const m = E(t?.model) && D(t?.model) ? t.model.legendVisibility : S;
|
|
155
|
+
i.legendToggle = d && m ? n.Active : n.Inactive;
|
|
156
|
+
const C = E(t?.model) && B(t.model) ? t.model.rotated : r?.rotated;
|
|
157
|
+
i.rotateChartToggle = C ? n.Active : n.Inactive;
|
|
158
|
+
const h = F(r?.series ?? []) === u.PieFromFields, A = L(t.layer);
|
|
159
|
+
i.filterBySelectionState = !A && !h && (t.filterBySelection || !s && !t.filterByExtent) ? o.Enabled : o.Disabled, i.filterBySelectionToggle = t.filterBySelection ? n.Active : n.Inactive, i.filterByExtentState = t.filterByViewExtent || !t.filterBySelection ? o.Enabled : o.Disabled, i.filterByExtentToggle = t.filterByViewExtent ? n.Active : n.Inactive, i.zoomState = t.filterBySelection ? o.Disabled : o.Enabled, i.zoomToggle = t.actionMode === b.Zoom ? n.Active : n.Inactive, i.selectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.selectionToggle = (t.actionMode ?? i.actionBarSelectionMode) === i.actionBarSelectionMode ? n.Active : n.Inactive, i.clearSelectionState = s ? o.Disabled : o.Enabled, i.fullExtentState = t.filterBySelection ? o.Disabled : o.Enabled, i.switchSelectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.exportActionState = l || I(r) ? o.Disabled : o.Enabled;
|
|
166
160
|
}
|
|
167
161
|
export {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
Q as o,
|
|
172
|
-
G as u
|
|
162
|
+
Q as g,
|
|
163
|
+
U as o,
|
|
164
|
+
W as u
|
|
173
165
|
};
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { C as r, m as a } from "./model-setter.js";
|
|
3
3
|
import { a as f, s as c } from "./utils2.js";
|
|
4
4
|
import { cloneDeep as x } from "lodash-es";
|
|
5
|
-
import {
|
|
5
|
+
import { a3 as y, a5 as b, a4 as m, t as S } from "./index3.js";
|
|
6
6
|
var p = Object.defineProperty, v = Object.getOwnPropertyDescriptor, _ = (s, e, t, l) => {
|
|
7
7
|
for (var i = v(e, t), o = s.length - 1, n; o >= 0; o--)
|
|
8
8
|
(n = s[o]) && (i = n(e, t, i) || i);
|
|
9
9
|
return i && p(e, t, i), i;
|
|
10
10
|
};
|
|
11
|
-
function
|
|
11
|
+
function X(s) {
|
|
12
12
|
return s !== void 0 && "xAxisTitleSymbol" in s;
|
|
13
13
|
}
|
|
14
14
|
class d extends r {
|
|
@@ -46,7 +46,7 @@ const A = (s) => {
|
|
|
46
46
|
}) : t.labels.content = x(s), t.labels.content.text = l;
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
function
|
|
49
|
+
function B(s) {
|
|
50
50
|
return s !== void 0 && "axisLabelsSymbol" in s;
|
|
51
51
|
}
|
|
52
52
|
class O extends r {
|
|
@@ -76,7 +76,7 @@ const W = (s) => {
|
|
|
76
76
|
for (const t of e.axes ?? [])
|
|
77
77
|
t !== void 0 && (t.lineSymbol = x(s) ?? S());
|
|
78
78
|
};
|
|
79
|
-
function
|
|
79
|
+
function E(s) {
|
|
80
80
|
return s !== void 0 && "axisLinesSymbol" in s;
|
|
81
81
|
}
|
|
82
82
|
class w extends r {
|
|
@@ -95,9 +95,9 @@ D([
|
|
|
95
95
|
], w.prototype, "axisLinesSymbol");
|
|
96
96
|
export {
|
|
97
97
|
d as W,
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
B as a,
|
|
99
|
+
X as b,
|
|
100
100
|
O as c,
|
|
101
101
|
w as d,
|
|
102
|
-
|
|
102
|
+
E as i
|
|
103
103
|
};
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { m as
|
|
3
|
-
import {
|
|
2
|
+
import { m as d } from "./model-setter.js";
|
|
3
|
+
import { g, s as h, a as m, b as S, W as p } from "./rounded-corners.js";
|
|
4
|
+
import { S as y, s as u, a as v, b } from "./serial-chart-model.js";
|
|
4
5
|
import { h as c } from "./serial-chart-data.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { an as
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
import { C } from "./index2.js";
|
|
7
|
+
import { f as O } from "./data.js";
|
|
8
|
+
import { f as _ } from "./utils.js";
|
|
9
|
+
import { a as I } from "./chart-object-literals.js";
|
|
10
|
+
import { an as L, $ as z, g as B, r as H } from "./index3.js";
|
|
11
|
+
import { r as n } from "./index.js";
|
|
12
|
+
var x = Object.defineProperty, D = Object.getOwnPropertyDescriptor, l = (a, e, t, r) => {
|
|
13
|
+
for (var i = D(e, t), s = a.length - 1, f; s >= 0; s--)
|
|
14
|
+
(f = a[s]) && (i = f(e, t, i) || i);
|
|
15
|
+
return i && x(e, t, i), i;
|
|
14
16
|
};
|
|
15
|
-
class
|
|
17
|
+
class o extends y {
|
|
16
18
|
constructor() {
|
|
17
|
-
super(...arguments), this._chartType =
|
|
19
|
+
super(...arguments), this._chartType = I.BarSeries;
|
|
18
20
|
}
|
|
19
21
|
async setup(e) {
|
|
20
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && this.
|
|
22
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.rebuildSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
21
23
|
}
|
|
22
24
|
// #endregion
|
|
23
25
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -25,10 +27,10 @@ class l extends S {
|
|
|
25
27
|
// ---------------------------------------------------------------------------------------------
|
|
26
28
|
/** @private */
|
|
27
29
|
generateDefaultConfig() {
|
|
28
|
-
const e =
|
|
30
|
+
const e = L(this.commonStrings);
|
|
29
31
|
return e.series = [
|
|
30
|
-
|
|
31
|
-
objectIDField:
|
|
32
|
+
z({
|
|
33
|
+
objectIDField: n(this.layerInfo.layer).idField,
|
|
32
34
|
commonStrings: this.commonStrings
|
|
33
35
|
})
|
|
34
36
|
], e;
|
|
@@ -44,10 +46,14 @@ class l extends S {
|
|
|
44
46
|
* @param seriesIndex - The index of the series.
|
|
45
47
|
*/
|
|
46
48
|
getSeriesHideOversizedSideBySideLabels(e) {
|
|
47
|
-
return
|
|
49
|
+
return g(e, this._config);
|
|
48
50
|
}
|
|
49
51
|
setSeriesHideOversizedSideBySideLabels(e, t) {
|
|
50
|
-
|
|
52
|
+
h({
|
|
53
|
+
hide: e,
|
|
54
|
+
seriesIndex: t,
|
|
55
|
+
config: this._config
|
|
56
|
+
});
|
|
51
57
|
}
|
|
52
58
|
/**
|
|
53
59
|
* Gets whether to hide oversized stacked labels of the series based on the series index.
|
|
@@ -56,10 +62,10 @@ class l extends S {
|
|
|
56
62
|
* @param seriesIndex - The index of the series.
|
|
57
63
|
*/
|
|
58
64
|
getSeriesHideOversizedStackedLabels(e) {
|
|
59
|
-
return
|
|
65
|
+
return m(e, this._config);
|
|
60
66
|
}
|
|
61
67
|
setSeriesHideOversizedStackedLabels(e, t) {
|
|
62
|
-
|
|
68
|
+
S({ hide: e, seriesIndex: t, config: this._config });
|
|
63
69
|
}
|
|
64
70
|
// #endregion
|
|
65
71
|
//#region Sorting Methods
|
|
@@ -68,25 +74,25 @@ class l extends S {
|
|
|
68
74
|
* @returns {"xAxisAsc" | "xAxisDesc" | "yAxisAsc" | "yAxisDesc" | "customSort"}
|
|
69
75
|
*/
|
|
70
76
|
getSortOrder() {
|
|
71
|
-
return
|
|
77
|
+
return O(this._config);
|
|
72
78
|
}
|
|
73
79
|
resetSeriesStyling() {
|
|
74
80
|
for (let e = 0; e < this.seriesLength; e += 1) {
|
|
75
|
-
const t = this.getSeriesId(e), r =
|
|
81
|
+
const t = this.getSeriesId(e), r = B({
|
|
76
82
|
colorIndex: e,
|
|
77
|
-
opacity:
|
|
83
|
+
opacity: H
|
|
78
84
|
});
|
|
79
|
-
if (
|
|
85
|
+
if (u(r, e, this._config), this.layerInfo !== void 0) {
|
|
80
86
|
const i = c({
|
|
81
87
|
config: this._config,
|
|
82
88
|
seriesIndex: e,
|
|
83
89
|
layerInfo: this.layerInfo,
|
|
84
90
|
commonStrings: this.commonStrings
|
|
85
91
|
});
|
|
86
|
-
i !==
|
|
92
|
+
i !== n(this.layerInfo.layer).idField && v(i ?? t, e, this._config);
|
|
87
93
|
}
|
|
88
94
|
}
|
|
89
|
-
this._config.colorMatch = !0;
|
|
95
|
+
this.nullCategory !== void 0 && b(this._config, C.nullCategory), this._config.colorMatch = !0;
|
|
90
96
|
}
|
|
91
97
|
/**
|
|
92
98
|
* Returns whether the series styling is able to be reset.
|
|
@@ -102,7 +108,7 @@ class l extends S {
|
|
|
102
108
|
layerInfo: this.layerInfo,
|
|
103
109
|
commonStrings: this.commonStrings
|
|
104
110
|
}), s = this.getSeriesName(r);
|
|
105
|
-
if (i !== void 0 && i !==
|
|
111
|
+
if (i !== void 0 && i !== n(this.layerInfo.layer).idField && i !== s) {
|
|
106
112
|
t = !0;
|
|
107
113
|
break;
|
|
108
114
|
}
|
|
@@ -111,15 +117,17 @@ class l extends S {
|
|
|
111
117
|
}
|
|
112
118
|
// #endregion
|
|
113
119
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
],
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
],
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
],
|
|
120
|
+
l([
|
|
121
|
+
d
|
|
122
|
+
], o.prototype, "setSeriesHideOversizedSideBySideLabels");
|
|
123
|
+
l([
|
|
124
|
+
d
|
|
125
|
+
], o.prototype, "setSeriesHideOversizedStackedLabels");
|
|
126
|
+
l([
|
|
127
|
+
d
|
|
128
|
+
], o.prototype, "resetSeriesStyling");
|
|
129
|
+
const F = [p];
|
|
130
|
+
_(o, F);
|
|
123
131
|
export {
|
|
124
|
-
|
|
132
|
+
o as BarChartModel
|
|
125
133
|
};
|