@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,32 +1,32 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { log as d } from "@arcgis/toolkit/log";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { C as
|
|
3
|
+
import { a as W } from "./chart-object-literals.js";
|
|
4
|
+
import { l as f, ao as O, aa as P, g as D, r as A, ab as y, am as m, a9 as p } from "./index3.js";
|
|
5
|
+
import { c6 as V, c1 as h } from "./index.js";
|
|
6
|
+
import { C as T } from "./chart-model.js";
|
|
7
7
|
import { m as o } from "./model-setter.js";
|
|
8
8
|
import { B as E } from "./common.js";
|
|
9
|
-
import { M as
|
|
10
|
-
import { M as
|
|
11
|
-
import { W as
|
|
12
|
-
import { W as
|
|
13
|
-
import { W as
|
|
14
|
-
import { W as
|
|
15
|
-
import { W as
|
|
16
|
-
import { g as
|
|
17
|
-
import { j as
|
|
18
|
-
import { s as
|
|
19
|
-
var
|
|
20
|
-
for (var
|
|
21
|
-
(
|
|
22
|
-
return
|
|
9
|
+
import { M as N, a as R, W as z, b as U } from "./data-labels-visibility.js";
|
|
10
|
+
import { M as X, a as j } from "./model-with-y-guides.js";
|
|
11
|
+
import { W as k, c as G, d as K } from "./axis-lines-symbol.js";
|
|
12
|
+
import { W as Y, c as q, d as H } from "./generate-x-axis-title.js";
|
|
13
|
+
import { W as J, a as Q } from "./x-bounds.js";
|
|
14
|
+
import { W as Z } from "./data-labels-symbol.js";
|
|
15
|
+
import { W as $ } from "./rotated-state.js";
|
|
16
|
+
import { g as ee, b as te, s as ie, a as se } from "./series.js";
|
|
17
|
+
import { j as oe, h as re, k as ne, f as ae } from "./utils.js";
|
|
18
|
+
import { s as le, d as he, e as ce, f as ge, h as de, i as u, j as S, k as _, l as L, m as B, g as fe, n as ye, o as me, p as C, a as pe, c as ue, b as Se, q as _e, r as F, t as Le, u as Be, v as M, w as Ce, x, y as Fe, z as Me, A as xe, B as Ie, C as we, D as be, E as ve, F as We, G as I } from "./box-plot-data.js";
|
|
19
|
+
var Oe = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, r = (c, e, t, n) => {
|
|
20
|
+
for (var s = Pe(e, t), a = c.length - 1, l; a >= 0; a--)
|
|
21
|
+
(l = c[a]) && (s = l(e, t, s) || s);
|
|
22
|
+
return s && Oe(e, t, s), s;
|
|
23
23
|
};
|
|
24
|
-
class i extends
|
|
24
|
+
class i extends T {
|
|
25
25
|
constructor() {
|
|
26
|
-
super(...arguments), this._chartType =
|
|
26
|
+
super(...arguments), this._chartType = W.BoxPlotSeries, this._category = f, this._splitByField = "", this._numericFields = [];
|
|
27
27
|
}
|
|
28
28
|
async setup(e) {
|
|
29
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.
|
|
29
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.rebuildSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
30
30
|
}
|
|
31
31
|
// ---------------------------------------------------------------------------------------------
|
|
32
32
|
// #region Data Props
|
|
@@ -39,7 +39,7 @@ class i extends N {
|
|
|
39
39
|
}
|
|
40
40
|
set category(e) {
|
|
41
41
|
const t = e.trim() === "";
|
|
42
|
-
this._category = t ? f : e, this.
|
|
42
|
+
this._category = t ? f : e, this.processSeriesRebuild("category");
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* The numeric fields array for the box plot.
|
|
@@ -49,7 +49,7 @@ class i extends N {
|
|
|
49
49
|
}
|
|
50
50
|
set numericFields(e) {
|
|
51
51
|
const { layerFieldsInfo: t } = this.layerInfo;
|
|
52
|
-
typeof e == "string" && (e = [e]),
|
|
52
|
+
typeof e == "string" && (e = [e]), oe(t, e) ? (this._numericFields = e, le(this._category, this._numericFields) && (this._splitByField = ""), this.processSeriesRebuild("numericFields")) : d("error", "box-plot-model", "Invalid `numericFields`");
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* The split-by field for the box plot.
|
|
@@ -58,16 +58,16 @@ class i extends N {
|
|
|
58
58
|
return this._splitByField;
|
|
59
59
|
}
|
|
60
60
|
set splitByField(e) {
|
|
61
|
-
re(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.
|
|
61
|
+
re(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.processSeriesRebuild("splitByField")) : d("error", "box-plot-model", "Invalid `splitByField`");
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Whether outliers are shown.
|
|
65
65
|
*/
|
|
66
66
|
get showOutliers() {
|
|
67
|
-
return
|
|
67
|
+
return he(this._config);
|
|
68
68
|
}
|
|
69
69
|
set showOutliers(e) {
|
|
70
|
-
|
|
70
|
+
ce({
|
|
71
71
|
newShowOutliers: e,
|
|
72
72
|
config: this._config,
|
|
73
73
|
layerInfo: this.layerInfo,
|
|
@@ -78,10 +78,10 @@ class i extends N {
|
|
|
78
78
|
* Whether values are standardized as z-scores.
|
|
79
79
|
*/
|
|
80
80
|
get standardizeValues() {
|
|
81
|
-
return
|
|
81
|
+
return ge(this._config);
|
|
82
82
|
}
|
|
83
83
|
set standardizeValues(e) {
|
|
84
|
-
|
|
84
|
+
de({
|
|
85
85
|
newStandardizeValues: e,
|
|
86
86
|
config: this._config,
|
|
87
87
|
layerInfo: this.layerInfo,
|
|
@@ -92,16 +92,16 @@ class i extends N {
|
|
|
92
92
|
* Gets the sort order of the box plot data.
|
|
93
93
|
*/
|
|
94
94
|
getSortOrder() {
|
|
95
|
-
return
|
|
95
|
+
return u(this._config);
|
|
96
96
|
}
|
|
97
97
|
setSortOrder(e, t) {
|
|
98
|
-
|
|
98
|
+
S(e, this._config, t);
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
101
|
* Gets the list of the category values for the chart.
|
|
102
102
|
*/
|
|
103
103
|
async getCustomSortValues() {
|
|
104
|
-
return await
|
|
104
|
+
return await _({
|
|
105
105
|
config: this._config,
|
|
106
106
|
layerInfo: this.layerInfo,
|
|
107
107
|
errorStrings: this.commonStrings.errorStrings
|
|
@@ -109,15 +109,15 @@ class i extends N {
|
|
|
109
109
|
}
|
|
110
110
|
async setDataFilters(e) {
|
|
111
111
|
super.setDataFilters(e);
|
|
112
|
-
const t =
|
|
112
|
+
const t = u(this._config);
|
|
113
113
|
if (t === E.customSort) {
|
|
114
114
|
this.startAsyncUpdate();
|
|
115
|
-
const
|
|
115
|
+
const n = await _({
|
|
116
116
|
config: this._config,
|
|
117
117
|
layerInfo: this.layerInfo,
|
|
118
118
|
errorStrings: this.commonStrings.errorStrings
|
|
119
119
|
});
|
|
120
|
-
|
|
120
|
+
S(t, this._config, n), this.finishAsyncUpdate();
|
|
121
121
|
}
|
|
122
122
|
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
123
123
|
}
|
|
@@ -125,16 +125,24 @@ class i extends N {
|
|
|
125
125
|
* The list of category values for custom sort.
|
|
126
126
|
*/
|
|
127
127
|
get orderByList() {
|
|
128
|
-
return
|
|
128
|
+
return L(this._config);
|
|
129
129
|
}
|
|
130
130
|
set orderByList(e) {
|
|
131
|
-
|
|
131
|
+
B(e, this._config);
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
134
|
* Updates the series based on the layer filter.
|
|
135
|
+
*
|
|
136
|
+
* @deprecated since 5.2. Use {@link model/box-plot-model/box-plot-model#rebuildSeries rebuildSeries} instead.
|
|
135
137
|
*/
|
|
136
138
|
async updateSeriesFromLayerFilter() {
|
|
137
|
-
this.
|
|
139
|
+
await this.processSeriesRebuild("updateSeriesFromLayerFilter");
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Rebuilds the series based on the current configuration.
|
|
143
|
+
*/
|
|
144
|
+
async rebuildSeries() {
|
|
145
|
+
await this.processSeriesRebuild("rebuildSeries");
|
|
138
146
|
}
|
|
139
147
|
// ---------------------------------------------------------------------------------------------
|
|
140
148
|
// #region Series Props
|
|
@@ -143,10 +151,10 @@ class i extends N {
|
|
|
143
151
|
* Whether mean lines are shown.
|
|
144
152
|
*/
|
|
145
153
|
get showMeanLines() {
|
|
146
|
-
return
|
|
154
|
+
return fe(this._config);
|
|
147
155
|
}
|
|
148
156
|
set showMeanLines(e) {
|
|
149
|
-
const { previousMeanLinesBoxColor: t } =
|
|
157
|
+
const { previousMeanLinesBoxColor: t } = ye({
|
|
150
158
|
newShowMeanLines: e,
|
|
151
159
|
config: this._config,
|
|
152
160
|
commonStrings: this.commonStrings,
|
|
@@ -160,10 +168,10 @@ class i extends N {
|
|
|
160
168
|
* Only applicable when mean lines are shown.
|
|
161
169
|
*/
|
|
162
170
|
get meanLinesBoxColor() {
|
|
163
|
-
return
|
|
171
|
+
return me(this._config);
|
|
164
172
|
}
|
|
165
173
|
set meanLinesBoxColor(e) {
|
|
166
|
-
|
|
174
|
+
C(e, this._config);
|
|
167
175
|
}
|
|
168
176
|
// ---------------------------------------------------------------------------------------------
|
|
169
177
|
// #region Protected Methods
|
|
@@ -173,45 +181,51 @@ class i extends N {
|
|
|
173
181
|
* @private
|
|
174
182
|
*/
|
|
175
183
|
setupLocalProps() {
|
|
176
|
-
this._category =
|
|
184
|
+
this._category = pe(this._config), this._splitByField = ue(this._config), this._numericFields = Se(this._config);
|
|
177
185
|
}
|
|
178
186
|
/** @private */
|
|
179
187
|
generateDefaultConfig() {
|
|
180
|
-
const e =
|
|
181
|
-
return e.series = [
|
|
188
|
+
const e = O(this.commonStrings);
|
|
189
|
+
return e.series = [P(this.commonStrings)], e;
|
|
182
190
|
}
|
|
183
191
|
resetConfig() {
|
|
184
192
|
const e = this._config.id;
|
|
185
193
|
this._config = this.generateDefaultConfig(), this._config.id = e, this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
186
194
|
}
|
|
187
195
|
/**
|
|
188
|
-
* Determines if we
|
|
189
|
-
*
|
|
190
|
-
* - there is
|
|
191
|
-
* - there are multiple numeric fields
|
|
196
|
+
* Determines if we are using the split-by field, based on the following conditions:
|
|
197
|
+
*
|
|
198
|
+
* - there is split-by field
|
|
199
|
+
* - and, there are not multiple numeric fields
|
|
192
200
|
*
|
|
193
201
|
* @private
|
|
194
202
|
*/
|
|
195
|
-
|
|
196
|
-
return
|
|
203
|
+
usingSplitBy() {
|
|
204
|
+
return _e(this.category, this.numericFields, this.splitByField);
|
|
197
205
|
}
|
|
198
206
|
/**
|
|
199
207
|
* Processes the series rebuild.
|
|
200
|
-
*
|
|
208
|
+
*
|
|
201
209
|
* @private
|
|
202
210
|
*/
|
|
203
|
-
async processSeriesRebuild() {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
211
|
+
async processSeriesRebuild(e) {
|
|
212
|
+
this.usingSplitBy() ? (this.startAsyncUpdate(), await this.fetchSplitByFieldInfos(), F(this.getBuildNewSeriesProps()), this.finishAsyncUpdate()) : F(this.getBuildNewSeriesProps()), this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Fetches the split-by field information and stores it in a private member for use in building the series.
|
|
216
|
+
*/
|
|
217
|
+
async fetchSplitByFieldInfos() {
|
|
218
|
+
const { fetchNullValues: e } = V(this._config)?.query ?? {};
|
|
219
|
+
return this.splitByFieldInfos = await ne({
|
|
220
|
+
config: this._config,
|
|
221
|
+
layer: this.layerInfo.layer,
|
|
222
|
+
layerFieldsInfo: this.layerInfo.layerFieldsInfo,
|
|
223
|
+
xAxisField: Le(this._category) ? void 0 : this._category,
|
|
224
|
+
aggregationFields: this.numericFields,
|
|
225
|
+
splitByField: this._splitByField,
|
|
226
|
+
fetchNullValues: e,
|
|
227
|
+
errorStrings: this.commonStrings?.errorStrings
|
|
228
|
+
}), this.splitByFieldInfos;
|
|
215
229
|
}
|
|
216
230
|
//#endregion
|
|
217
231
|
// #region Private Methods
|
|
@@ -225,7 +239,8 @@ class i extends N {
|
|
|
225
239
|
numericFields: this.numericFields,
|
|
226
240
|
config: this._config,
|
|
227
241
|
layerInfo: this.layerInfo,
|
|
228
|
-
commonStrings: this.commonStrings
|
|
242
|
+
commonStrings: this.commonStrings,
|
|
243
|
+
splitByFieldInfos: this.splitByFieldInfos
|
|
229
244
|
};
|
|
230
245
|
}
|
|
231
246
|
// #endregion
|
|
@@ -238,10 +253,10 @@ class i extends N {
|
|
|
238
253
|
* @param seriesIndex - The index of the series.
|
|
239
254
|
*/
|
|
240
255
|
getSeriesName(e) {
|
|
241
|
-
return
|
|
256
|
+
return Be(e, this._config);
|
|
242
257
|
}
|
|
243
258
|
setSeriesName(e, t) {
|
|
244
|
-
|
|
259
|
+
M(e, t, this._config);
|
|
245
260
|
}
|
|
246
261
|
/**
|
|
247
262
|
* Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -249,10 +264,10 @@ class i extends N {
|
|
|
249
264
|
* @param seriesIndex - The index of the series.
|
|
250
265
|
*/
|
|
251
266
|
getSeriesColor(e) {
|
|
252
|
-
return
|
|
267
|
+
return Ce(e, this._config);
|
|
253
268
|
}
|
|
254
269
|
setSeriesColor(e, t) {
|
|
255
|
-
|
|
270
|
+
x(e, t, this._config);
|
|
256
271
|
}
|
|
257
272
|
/**
|
|
258
273
|
* Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -263,12 +278,11 @@ class i extends N {
|
|
|
263
278
|
*/
|
|
264
279
|
getSeriesLineStyle(e) {
|
|
265
280
|
const t = this._config.series[e];
|
|
266
|
-
if (this.showMeanLines === !0 &&
|
|
267
|
-
return
|
|
281
|
+
if (this.showMeanLines === !0 && h(t))
|
|
282
|
+
return ee(t);
|
|
268
283
|
}
|
|
269
284
|
setSeriesLineStyle(e, t) {
|
|
270
|
-
|
|
271
|
-
this.showMeanLines === !0 && l(s) && u(e, s);
|
|
285
|
+
this.showMeanLines === !0 && Fe({ style: e, seriesIndex: t, config: this._config });
|
|
272
286
|
}
|
|
273
287
|
/**
|
|
274
288
|
* Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -279,24 +293,23 @@ class i extends N {
|
|
|
279
293
|
*/
|
|
280
294
|
getSeriesLineWidth(e) {
|
|
281
295
|
const t = this._config.series[e];
|
|
282
|
-
if (this.showMeanLines === !0 &&
|
|
283
|
-
return
|
|
296
|
+
if (this.showMeanLines === !0 && h(t))
|
|
297
|
+
return te(t);
|
|
284
298
|
}
|
|
285
299
|
setSeriesLineWidth(e, t) {
|
|
286
|
-
|
|
287
|
-
this.showMeanLines === !0 && l(s) && S(e, s);
|
|
300
|
+
this.showMeanLines === !0 && Me({ width: e, seriesIndex: t, config: this._config });
|
|
288
301
|
}
|
|
289
302
|
/**
|
|
290
303
|
* The order of the series array by returning an array of series ids.
|
|
291
304
|
*/
|
|
292
305
|
get orderOfSeries() {
|
|
293
|
-
return
|
|
306
|
+
return xe(this._config);
|
|
294
307
|
}
|
|
295
308
|
set orderOfSeries(e) {
|
|
296
|
-
|
|
309
|
+
Ie(e, this._config);
|
|
297
310
|
}
|
|
298
311
|
moveSeries(e, t) {
|
|
299
|
-
|
|
312
|
+
we(e, t, this._config);
|
|
300
313
|
}
|
|
301
314
|
/**
|
|
302
315
|
* The index of the box plot series in the series array in config object when show mean is true.
|
|
@@ -304,11 +317,11 @@ class i extends N {
|
|
|
304
317
|
* **Note**: There is only one box plot series when show mean is `true`. The function returns `-1` if show mean is `false`.
|
|
305
318
|
*/
|
|
306
319
|
get boxPlotSeriesIndexWhenMeanLinesShown() {
|
|
307
|
-
return
|
|
320
|
+
return be(this._config);
|
|
308
321
|
}
|
|
309
322
|
moveCustomSortValuesInOrderByList(e, t) {
|
|
310
|
-
const
|
|
311
|
-
|
|
323
|
+
const n = L(this._config), [s] = n.splice(e, 1);
|
|
324
|
+
n.splice(t, 0, s), B(n, this._config);
|
|
312
325
|
}
|
|
313
326
|
// ---------------------------------------------------------------------------------------------
|
|
314
327
|
// #region General Methods
|
|
@@ -317,127 +330,127 @@ class i extends N {
|
|
|
317
330
|
* Generate the proper chart title given the current config.
|
|
318
331
|
*/
|
|
319
332
|
generateChartTitle() {
|
|
320
|
-
return
|
|
333
|
+
return ve(this._config, this.layerInfo, this.commonStrings);
|
|
321
334
|
}
|
|
322
335
|
/**
|
|
323
336
|
* Generate the proper y-axis title given the current config.
|
|
324
337
|
*/
|
|
325
338
|
generateYAxisTitle() {
|
|
326
|
-
return
|
|
339
|
+
return We(this._config, this.layerInfo, this.commonStrings);
|
|
327
340
|
}
|
|
328
341
|
resetSeriesStyling() {
|
|
329
342
|
for (let e = this.showMeanLines === !0 ? 1 : 0; e < this.seriesLength; e += 1) {
|
|
330
|
-
const t = this.getSeriesId(e),
|
|
343
|
+
const t = this.getSeriesId(e), n = D({
|
|
331
344
|
colorIndex: e,
|
|
332
|
-
opacity:
|
|
333
|
-
}),
|
|
334
|
-
|
|
335
|
-
const a =
|
|
336
|
-
series:
|
|
345
|
+
opacity: A
|
|
346
|
+
}), s = this._config.series[e];
|
|
347
|
+
x(n, e, this._config);
|
|
348
|
+
const a = I({
|
|
349
|
+
series: s,
|
|
337
350
|
splitByField: this._splitByField,
|
|
338
351
|
layerInfo: this.layerInfo,
|
|
339
352
|
commonStrings: this.commonStrings
|
|
340
353
|
});
|
|
341
|
-
|
|
354
|
+
M(a ?? t, e, this._config), this.showMeanLines === !0 && h(s) && (ie(m, s), se(p, s));
|
|
342
355
|
}
|
|
343
|
-
this.showMeanLines === !0 &&
|
|
356
|
+
this.showMeanLines === !0 && C(y, this._config), this._config.colorMatch = !0;
|
|
344
357
|
}
|
|
345
358
|
/**
|
|
346
359
|
* Returns whether the series styling is able to be reset.
|
|
347
360
|
*/
|
|
348
361
|
resetAvailable() {
|
|
349
362
|
const e = !this.colorMatch, t = this.showMeanLines === !0 && this.meanLinesBoxColor !== y;
|
|
350
|
-
let
|
|
363
|
+
let n = !1, s = !1;
|
|
351
364
|
if (!e)
|
|
352
365
|
for (let a = this.showMeanLines === !0 ? 1 : 0; a < this.seriesLength; a += 1) {
|
|
353
|
-
const
|
|
354
|
-
series:
|
|
366
|
+
const l = this._config.series[a], g = I({
|
|
367
|
+
series: l,
|
|
355
368
|
splitByField: this._splitByField,
|
|
356
369
|
layerInfo: this.layerInfo,
|
|
357
370
|
commonStrings: this.commonStrings
|
|
358
|
-
}),
|
|
359
|
-
if (g !== void 0 && g !==
|
|
360
|
-
|
|
371
|
+
}), w = this.getSeriesName(a);
|
|
372
|
+
if (g !== void 0 && g !== w) {
|
|
373
|
+
n = !0;
|
|
361
374
|
break;
|
|
362
375
|
}
|
|
363
|
-
if (this.showMeanLines === !0 && l
|
|
364
|
-
const
|
|
365
|
-
if (
|
|
366
|
-
|
|
376
|
+
if (this.showMeanLines === !0 && h(l)) {
|
|
377
|
+
const b = this.getSeriesLineStyle(a), v = this.getSeriesLineWidth(a);
|
|
378
|
+
if (b !== m || v !== p) {
|
|
379
|
+
s = !0;
|
|
367
380
|
break;
|
|
368
381
|
}
|
|
369
382
|
}
|
|
370
383
|
}
|
|
371
|
-
return e || t ||
|
|
384
|
+
return e || t || n || s;
|
|
372
385
|
}
|
|
373
386
|
}
|
|
374
|
-
|
|
387
|
+
r([
|
|
375
388
|
o
|
|
376
389
|
], i.prototype, "showOutliers");
|
|
377
|
-
|
|
390
|
+
r([
|
|
378
391
|
o
|
|
379
392
|
], i.prototype, "standardizeValues");
|
|
380
|
-
|
|
393
|
+
r([
|
|
381
394
|
o
|
|
382
395
|
], i.prototype, "setSortOrder");
|
|
383
|
-
|
|
396
|
+
r([
|
|
384
397
|
o
|
|
385
398
|
], i.prototype, "setDataFilters");
|
|
386
|
-
|
|
399
|
+
r([
|
|
387
400
|
o
|
|
388
401
|
], i.prototype, "orderByList");
|
|
389
|
-
|
|
402
|
+
r([
|
|
390
403
|
o
|
|
391
404
|
], i.prototype, "showMeanLines");
|
|
392
|
-
|
|
405
|
+
r([
|
|
393
406
|
o
|
|
394
407
|
], i.prototype, "meanLinesBoxColor");
|
|
395
|
-
|
|
408
|
+
r([
|
|
396
409
|
o
|
|
397
410
|
], i.prototype, "resetConfig");
|
|
398
|
-
|
|
411
|
+
r([
|
|
399
412
|
o
|
|
400
413
|
], i.prototype, "setSeriesName");
|
|
401
|
-
|
|
414
|
+
r([
|
|
402
415
|
o
|
|
403
416
|
], i.prototype, "setSeriesColor");
|
|
404
|
-
|
|
417
|
+
r([
|
|
405
418
|
o
|
|
406
419
|
], i.prototype, "setSeriesLineStyle");
|
|
407
|
-
|
|
420
|
+
r([
|
|
408
421
|
o
|
|
409
422
|
], i.prototype, "setSeriesLineWidth");
|
|
410
|
-
|
|
423
|
+
r([
|
|
411
424
|
o
|
|
412
425
|
], i.prototype, "orderOfSeries");
|
|
413
|
-
|
|
426
|
+
r([
|
|
414
427
|
o
|
|
415
428
|
], i.prototype, "moveSeries");
|
|
416
|
-
|
|
429
|
+
r([
|
|
417
430
|
o
|
|
418
431
|
], i.prototype, "moveCustomSortValuesInOrderByList");
|
|
419
|
-
|
|
432
|
+
r([
|
|
420
433
|
o
|
|
421
434
|
], i.prototype, "resetSeriesStyling");
|
|
422
|
-
const
|
|
423
|
-
|
|
435
|
+
const De = [
|
|
436
|
+
X,
|
|
437
|
+
N,
|
|
424
438
|
R,
|
|
425
|
-
U,
|
|
426
439
|
z,
|
|
427
|
-
ee,
|
|
428
|
-
X,
|
|
429
440
|
$,
|
|
430
|
-
|
|
431
|
-
q,
|
|
432
|
-
Q,
|
|
433
|
-
H,
|
|
441
|
+
U,
|
|
434
442
|
Z,
|
|
443
|
+
j,
|
|
435
444
|
Y,
|
|
445
|
+
J,
|
|
446
|
+
q,
|
|
447
|
+
Q,
|
|
436
448
|
k,
|
|
437
449
|
G,
|
|
438
|
-
|
|
450
|
+
K,
|
|
451
|
+
H
|
|
439
452
|
];
|
|
440
|
-
|
|
453
|
+
ae(i, De);
|
|
441
454
|
export {
|
|
442
455
|
i as BoxPlotModel
|
|
443
456
|
};
|