@arcgis/charts-components 4.34.0-next.138 → 4.34.0-next.139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{V7PMJLZ7.js → 24727M32.js} +2 -2
- package/dist/cdn/{XQRVM6V5.js → 24AOABIJ.js} +2 -2
- package/dist/cdn/{K2BWSS6E.js → 275IWBUL.js} +2 -2
- package/dist/cdn/{6JEFQ2QU.js → 2BBHT77V.js} +2 -2
- package/dist/cdn/{HC6PSK2U.js → 2DFVXYZZ.js} +2 -2
- package/dist/cdn/{7XUFB7BU.js → 2HWLESX7.js} +1 -1
- package/dist/cdn/2TQVJANU.js +4 -0
- package/dist/cdn/{5XKKOFWY.js → 2Z5QZCFJ.js} +2 -2
- package/dist/cdn/{2WQ24E5T.js → 35M3UULX.js} +2 -2
- package/dist/cdn/{EGEMLKBU.js → 3EZ5I5OP.js} +2 -2
- package/dist/cdn/3F4JEJEA.js +4 -0
- package/dist/cdn/{A3SVOZ3N.js → 3NNFVET2.js} +2 -2
- package/dist/cdn/{BVYUMK6P.js → 3R42OOYX.js} +2 -2
- package/dist/cdn/{EAFROOME.js → 3SIQACVN.js} +2 -2
- package/dist/cdn/{VB2QU35Z.js → 3YWAYBOP.js} +2 -2
- package/dist/cdn/{5ZFLRUAQ.js → 4AV33IV4.js} +2 -2
- package/dist/cdn/{4DNOT2SM.js → 4CMMHISB.js} +2 -2
- package/dist/cdn/{7P7ZCI4D.js → 4EPKGG7E.js} +2 -2
- package/dist/cdn/{7NPU76EB.js → 4FUBFI63.js} +2 -2
- package/dist/cdn/{2A2KORG3.js → 4KAYRNBJ.js} +2 -2
- package/dist/cdn/{UXIANTBG.js → 4Q6VLLNL.js} +2 -2
- package/dist/cdn/{JULFMHYU.js → 4QIMBRET.js} +2 -2
- package/dist/cdn/{FP4XXXH4.js → 4RW7YIQW.js} +2 -2
- package/dist/cdn/53EV3MZT.js +4 -0
- package/dist/cdn/{24XWETQR.js → 55F4PKIU.js} +2 -2
- package/dist/cdn/{65WCP3U4.js → 5HTKVNVU.js} +2 -2
- package/dist/cdn/{PNEHBKTZ.js → 5LPFIGE5.js} +2 -2
- package/dist/cdn/{3V5HP27T.js → 62YLRCZ3.js} +2 -2
- package/dist/cdn/{MMO5YA25.js → 6HKTEN26.js} +2 -2
- package/dist/cdn/6KWDDRP3.js +4 -0
- package/dist/cdn/{MVV5BSUB.js → 6MLVADSL.js} +2 -2
- package/dist/cdn/{QBKRNEI4.js → 7JKH3A3L.js} +1 -1
- package/dist/cdn/{W6TH42I6.js → 7M6O44MJ.js} +2 -2
- package/dist/cdn/{LI37MVAT.js → 7SP4VWKX.js} +2 -2
- package/dist/cdn/{OLN4GDJ5.js → 7VT3JILN.js} +2 -2
- package/dist/cdn/{ZHAUZSGZ.js → 7YIGASYS.js} +2 -2
- package/dist/cdn/{3HFOQMHO.js → A43LOI3S.js} +2 -2
- package/dist/cdn/{7TU33QBB.js → AASZ2NNB.js} +2 -2
- package/dist/cdn/{GHHYPSDM.js → AGR66VGN.js} +1 -1
- package/dist/cdn/{6NOW5STW.js → AIOJRVUP.js} +2 -2
- package/dist/cdn/{NUS5MWN3.js → AIPWFENR.js} +2 -2
- package/dist/cdn/{TRAYYR57.js → AO7SKWWW.js} +2 -2
- package/dist/cdn/{AVFLUZGG.js → ARSERCLF.js} +2 -2
- package/dist/cdn/{SGGWXSAT.js → ATJ7PUAG.js} +2 -2
- package/dist/cdn/{IVAFZR5S.js → AUOLPYT4.js} +2 -2
- package/dist/cdn/{BQBNGYUY.js → AVMOQPLZ.js} +2 -2
- package/dist/cdn/{J3PDSHB4.js → B7AQO23Y.js} +2 -2
- package/dist/cdn/BKBDVEMA.js +4 -0
- package/dist/cdn/{Q4ETO6KX.js → BNUYM65P.js} +2 -2
- package/dist/cdn/{UQCYC6RS.js → C5OMHPCP.js} +2 -2
- package/dist/cdn/{H3O4CV2N.js → CKG455T3.js} +2 -2
- package/dist/cdn/{KJTGNGE7.js → CL5PS2ZQ.js} +2 -2
- package/dist/cdn/{AQ545GQW.js → CLHKW2R4.js} +2 -2
- package/dist/cdn/{J4Q4Y52Q.js → CO2FLJ3Y.js} +2 -2
- package/dist/cdn/{NW7QSNZQ.js → CQNULM3X.js} +2 -2
- package/dist/cdn/{7NSN7PKK.js → CVNAPOVD.js} +2 -2
- package/dist/cdn/{MKOIRYD2.js → CYIPOL2X.js} +2 -2
- package/dist/cdn/CZJXXGG4.js +4 -0
- package/dist/cdn/{VL5P2YF2.js → D3Y5X2RZ.js} +2 -2
- package/dist/cdn/{3FV2W2TJ.js → D5QIJWED.js} +2 -2
- package/dist/cdn/{E2UK3VPZ.js → DKVFP5PU.js} +2 -2
- package/dist/cdn/{ZJQNS6C6.js → DRXGR5N6.js} +2 -2
- package/dist/cdn/{2EFMHI5C.js → E33WMWB7.js} +2 -2
- package/dist/cdn/{3VMADFU7.js → EEUKLBDN.js} +2 -2
- package/dist/cdn/{3RARKOUO.js → ESFDWI2T.js} +2 -2
- package/dist/cdn/{YXDOYMXQ.js → ESOFQM6P.js} +2 -2
- package/dist/cdn/{S264YT4E.js → F55XH6IZ.js} +2 -2
- package/dist/cdn/{2OTKLLUH.js → F7JABPNG.js} +2 -2
- package/dist/cdn/{WSUW2SRX.js → FC5NKDA3.js} +2 -2
- package/dist/cdn/{3F4YDB4N.js → FCORKVAA.js} +1 -1
- package/dist/cdn/{WS37TO2K.js → FHCA75QA.js} +2 -2
- package/dist/cdn/{WVWLCTA7.js → G45PGUQN.js} +2 -2
- package/dist/cdn/{AQ6EKAVQ.js → GJ3JLCUX.js} +2 -2
- package/dist/cdn/{HZO43CCS.js → GRZUDJ23.js} +2 -2
- package/dist/cdn/{LAKNTP3E.js → GS6HMLEU.js} +2 -2
- package/dist/cdn/{62GUSPPZ.js → GSG2VUXI.js} +2 -2
- package/dist/cdn/{JXZWLSDG.js → GWQI56LV.js} +2 -2
- package/dist/cdn/{63LOCIDR.js → H5D47BKX.js} +2 -2
- package/dist/cdn/{C7YKHH2X.js → HDLBXV7M.js} +2 -2
- package/dist/cdn/{2GMGLR5P.js → HFTUMX5C.js} +2 -2
- package/dist/cdn/HGYMKMCV.js +4 -0
- package/dist/cdn/{Z5VFVQJS.js → HMY5IMMX.js} +2 -2
- package/dist/cdn/{P7B4CUVV.js → HMZXUUOL.js} +2 -2
- package/dist/cdn/HNKRKWC3.js +4 -0
- package/dist/cdn/{VMVXNHIE.js → HROD7HBX.js} +2 -2
- package/dist/cdn/{QYPJB6KJ.js → HSE5TX37.js} +2 -2
- package/dist/cdn/{47C2USD3.js → HTIIP76D.js} +2 -2
- package/dist/cdn/{LQ6O6S4G.js → HYQ6RQRD.js} +2 -2
- package/dist/cdn/{KV6YLRHG.js → I5XKWJQ3.js} +2 -2
- package/dist/cdn/{4AWPOLH2.js → IESXX2ZN.js} +2 -2
- package/dist/cdn/{ZJQQ25X3.js → IIEO3CUM.js} +2 -2
- package/dist/cdn/{QEARPOGE.js → IQNSNAPF.js} +2 -2
- package/dist/cdn/J6O2Q7JQ.js +4 -0
- package/dist/cdn/{3GXCBHN7.js → JI4SCCKL.js} +2 -2
- package/dist/cdn/{CQ6CAS5V.js → JJBMFIJR.js} +2 -2
- package/dist/cdn/{BIKOLGHP.js → JNEUGJJP.js} +2 -2
- package/dist/cdn/{655VV6J7.js → KKQ5YMWB.js} +2 -2
- package/dist/cdn/KOSZILX5.js +4 -0
- package/dist/cdn/{5QYBQGM4.js → KWN5Q4E5.js} +2 -2
- package/dist/cdn/{2BJLMLSJ.js → KYFB56YJ.js} +2 -2
- package/dist/cdn/{6YELTPCV.js → KZ7R2GNT.js} +2 -2
- package/dist/cdn/{MGEXMURL.js → L2IRDB6T.js} +2 -2
- package/dist/cdn/{OEPX4LYZ.js → L6SJIJ4U.js} +2 -2
- package/dist/cdn/{UBTXULZC.js → LEYFIB5I.js} +2 -2
- package/dist/cdn/{E34GIVUN.js → LIN2JSC3.js} +2 -2
- package/dist/cdn/{EGEWNOKE.js → LO7TZSPN.js} +1 -1
- package/dist/cdn/{2SKX4UWZ.js → LYHLT7KP.js} +2 -2
- package/dist/cdn/M46AKLTX.js +4 -0
- package/dist/cdn/{YIR2SBJB.js → MSP6ENWY.js} +2 -2
- package/dist/cdn/{P2U3VERW.js → MV3JUDYG.js} +2 -2
- package/dist/cdn/MYXBBS5N.js +6 -0
- package/dist/cdn/{ADT2ADOP.js → N4ALCYUU.js} +2 -2
- package/dist/cdn/{BM42PZQA.js → N4FD6GFX.js} +2 -2
- package/dist/cdn/{HNFXK5BC.js → NBK3IGYG.js} +2 -2
- package/dist/cdn/{LD574V2G.js → NDPTI4DK.js} +2 -2
- package/dist/cdn/{U44MT23C.js → NHGBQNGR.js} +2 -2
- package/dist/cdn/{PU3IMZ4C.js → NTA7RIMK.js} +1 -1
- package/dist/cdn/{OQJR5UYE.js → NTOPMFTD.js} +1 -1
- package/dist/cdn/{R2UCVSOJ.js → NVNTOMN3.js} +2 -2
- package/dist/cdn/{X2B3TOT2.js → NXQ4SDPQ.js} +2 -2
- package/dist/cdn/{GA5DDTA4.js → OKCKTHTO.js} +2 -2
- package/dist/cdn/{RWUGTZKD.js → OMLAJ4TO.js} +2 -2
- package/dist/cdn/{QZ45JGUL.js → OMSVBDXG.js} +2 -2
- package/dist/cdn/{KA72OML2.js → ORRKIZWH.js} +2 -2
- package/dist/cdn/{5DZ4PENM.js → OZKXMCJA.js} +2 -2
- package/dist/cdn/{QH4CXIBG.js → OZYGBOFG.js} +2 -2
- package/dist/cdn/{6BQ3LNWC.js → PAG6XWJA.js} +2 -2
- package/dist/cdn/{KKK6NKAK.js → PRJSC3RV.js} +2 -2
- package/dist/cdn/{IWZN6Z2X.js → PTM7SNSE.js} +2 -2
- package/dist/cdn/QW5PY2X3.js +4 -0
- package/dist/cdn/{T4I7CMUA.js → QWI2A6ZL.js} +2 -2
- package/dist/cdn/{6RCZYLQV.js → QX27BY34.js} +2 -2
- package/dist/cdn/{SJ3KH7ID.js → RD6AKW5W.js} +2 -2
- package/dist/cdn/{6LMPGM6X.js → RL3EEN44.js} +2 -2
- package/dist/cdn/{MGD3RS3B.js → S4HKPNOQ.js} +2 -2
- package/dist/cdn/{7CBCONCT.js → S52ZYYIM.js} +2 -2
- package/dist/cdn/{CQ37CKSP.js → S5ZFBXHP.js} +2 -2
- package/dist/cdn/{26WOYBLS.js → SGY3Y3T2.js} +2 -2
- package/dist/cdn/{QBOP4WZB.js → SIC5Q5IQ.js} +2 -2
- package/dist/cdn/{V5GN2LL4.js → SKCZJNTG.js} +2 -2
- package/dist/cdn/{ET3IDOQP.js → SPI4CDXV.js} +2 -2
- package/dist/cdn/{BHGFCAVN.js → SRPLJB2L.js} +2 -2
- package/dist/cdn/{KKG3W27G.js → SX77MTL5.js} +2 -2
- package/dist/cdn/T265JJO4.js +4 -0
- package/dist/cdn/{TOCU34T4.js → T37XLGRC.js} +2 -2
- package/dist/cdn/{MSFB4KBJ.js → TD557D5H.js} +2 -2
- package/dist/cdn/TIAZ2E3Q.js +4 -0
- package/dist/cdn/{KN6NW37P.js → TVN64B5W.js} +2 -2
- package/dist/cdn/{5DJTALER.js → TX33Y4PI.js} +2 -2
- package/dist/cdn/{3746J2IS.js → U3LR4SEM.js} +2 -2
- package/dist/cdn/{QQWXEUYG.js → U64R6C4H.js} +2 -2
- package/dist/cdn/{ZPBAWQHF.js → UESGPZ3P.js} +2 -2
- package/dist/cdn/{JUKLBBIL.js → UFZXQNXX.js} +2 -2
- package/dist/cdn/{IJAGBSJZ.js → UHPYWYXH.js} +2 -2
- package/dist/cdn/{HTE6EJSS.js → UMVCJSEL.js} +2 -2
- package/dist/cdn/{JUOH3GUW.js → UPJNAB23.js} +2 -2
- package/dist/cdn/{SBYEL7EE.js → UPK33ANF.js} +2 -2
- package/dist/cdn/{FUWYL4ML.js → VAJCC7MO.js} +2 -2
- package/dist/cdn/VGT6OV7C.js +4 -0
- package/dist/cdn/VMKHC6RQ.js +4 -0
- package/dist/cdn/{WIKE7CRP.js → W3KQRTPP.js} +2 -2
- package/dist/cdn/{YRI2KAO3.js → W6IWMH2N.js} +2 -2
- package/dist/cdn/{AJKXVHWW.js → WZNK5TL7.js} +2 -2
- package/dist/cdn/{B64JGUDN.js → X244JP3P.js} +2 -2
- package/dist/cdn/{WWF7JFCF.js → XGMCJCID.js} +2 -2
- package/dist/cdn/{3UFHPC6W.js → XJQ3SQ2F.js} +2 -2
- package/dist/cdn/{4JCXTUTP.js → XLFDFDKQ.js} +2 -2
- package/dist/cdn/{CCQVL7XZ.js → XSODGSTK.js} +2 -2
- package/dist/cdn/{7BD5455G.js → XV7SKWTW.js} +9 -9
- package/dist/cdn/{CLLSYEA5.js → XYKFL3V6.js} +2 -2
- package/dist/cdn/{QJPMZ5PV.js → Y23T3DSI.js} +2 -2
- package/dist/cdn/{2WAIYIQS.js → Y2OO5FYQ.js} +2 -2
- package/dist/cdn/{EY37HPEB.js → Y4VP5EK2.js} +2 -2
- package/dist/cdn/{3HICWNID.js → YBO24WWY.js} +2 -2
- package/dist/cdn/{IVAT7IEB.js → YSAMGVP7.js} +2 -2
- package/dist/cdn/{TTUWIA2P.js → Z2AMZVEI.js} +2 -2
- package/dist/cdn/{6XN5OMSG.js → Z5AQSMCG.js} +2 -2
- package/dist/cdn/{7DSG22B6.js → ZHPMZD6C.js} +2 -2
- package/dist/cdn/{TXPWICK7.js → ZZILHPFL.js} +22 -22
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -0
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +8 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +12 -11
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +5 -5
- package/dist/chunks/bar-chart-series.js +3 -3
- package/dist/chunks/baseline-stacking.js +23 -23
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +34 -34
- package/dist/chunks/box-plot-model.js +23 -23
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +122 -77
- package/dist/chunks/combo-bar-line-chart-model.js +10 -10
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +435 -400
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/events.js +18 -0
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +69 -6163
- package/dist/chunks/index2.js +16 -38
- package/dist/chunks/index3.js +6124 -35
- package/dist/chunks/interfaces.js +90 -16216
- package/dist/chunks/interfaces2.js +16120 -90
- package/dist/chunks/interfaces3.js +491 -0
- package/dist/chunks/interfaces4.js +18 -0
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +11 -11
- package/dist/chunks/model-with-multi-axes.js +50 -50
- package/dist/chunks/model-with-rotation.js +4 -4
- package/dist/chunks/pie-chart-data.js +29 -28
- package/dist/chunks/pie-chart-model.js +12 -12
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +8 -8
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +5 -5
- package/dist/chunks/serial-chart-model.js +109 -84
- package/dist/chunks/series-types.js +16 -21
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +304 -770
- package/dist/components/arcgis-chart/customElement.js +3510 -3474
- package/dist/components/arcgis-charts-action-bar/customElement.js +43 -42
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +76 -71
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +68 -44
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +7 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +79 -75
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +18 -17
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +4 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +90 -542
- package/dist/json-schema/index.d.ts +52 -25
- package/dist/loader.js +2 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +11 -1
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +16 -1
- package/dist/model.js +1 -1
- package/dist/spec/index.d.ts +2 -2
- package/dist/spec/web-chart.d.ts +28 -1
- package/dist/utils/chart-config/converter/index.d.ts +3 -3
- package/package.json +3 -3
- package/dist/cdn/33ZN6PCD.js +0 -4
- package/dist/cdn/47OMAX2Z.js +0 -4
- package/dist/cdn/4K6MOKTP.js +0 -4
- package/dist/cdn/6IQDK4QF.js +0 -4
- package/dist/cdn/747VV5WK.js +0 -6
- package/dist/cdn/BPYIIPNZ.js +0 -4
- package/dist/cdn/GRQM5NKM.js +0 -4
- package/dist/cdn/HACFQS62.js +0 -4
- package/dist/cdn/HHPHUIUM.js +0 -4
- package/dist/cdn/IXIWUOLD.js +0 -4
- package/dist/cdn/N2IAZOQ7.js +0 -4
- package/dist/cdn/SQAKVW23.js +0 -4
- package/dist/cdn/TZUL5VVX.js +0 -4
- package/dist/cdn/WR4YXJE2.js +0 -4
- package/dist/cdn/XR2EF3UR.js +0 -4
- package/dist/chunks/index4.js +0 -68
- package/dist/chunks/index5.js +0 -95
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
3
|
+
v4.34.0-next.139 */
|
|
4
4
|
const e = {
|
|
5
5
|
Blob: "esriFieldTypeBlob",
|
|
6
6
|
Date: "esriFieldTypeDate",
|
|
@@ -88,13 +88,13 @@ const e = {
|
|
|
88
88
|
Kilometers: "kilometers"
|
|
89
89
|
};
|
|
90
90
|
export {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
91
|
+
e as R,
|
|
92
|
+
i as a,
|
|
93
|
+
l as b,
|
|
94
|
+
s as c,
|
|
95
|
+
r as d,
|
|
96
|
+
t as e,
|
|
97
|
+
S as f,
|
|
98
98
|
a as g,
|
|
99
99
|
o as h,
|
|
100
100
|
n as i,
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -3,7 +3,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
|
|
|
3
3
|
import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.139 */
|
|
7
7
|
const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/charts-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: h } = t;
|
|
8
8
|
t.t = s;
|
|
9
9
|
t.o = r;
|
|
@@ -2,7 +2,7 @@ import { W as _ } from "./series-types.js";
|
|
|
2
2
|
import { fetchT9nStringsBundle as w, getElementLocale as I } from "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEmpty as y, isEqual as X } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { a1 as Y, a2 as l, c as o, i as m, a3 as P, a4 as U } from "./interfaces2.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -12,13 +12,13 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
12
12
|
import "@arcgis/core/request.js";
|
|
13
13
|
import { g as E } from "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { g as W, a as v, s as u, u as T,
|
|
15
|
+
import { g as W, a as v, s as u, u as T, r as k, e as z } from "./data.js";
|
|
16
16
|
import { substitute as O } from "@arcgis/core/intl.js";
|
|
17
17
|
import { C as D, M as B, b as V, a as G } from "./model-with-multi-axes.js";
|
|
18
18
|
import { M as q, a as j, b as H, c as J } from "./model-with-data-labels.js";
|
|
19
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
20
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
21
|
-
v4.34.0-next.
|
|
21
|
+
v4.34.0-next.139 */
|
|
22
22
|
const S = (t) => {
|
|
23
23
|
u({ config: t, value: null, axisIndex: 0, isMax: !1 }), u({ config: t, value: null, axisIndex: 0, isMax: !0 }), u({ config: t, value: null, axisIndex: 1, isMax: !1 }), u({ config: t, value: null, axisIndex: 1, isMax: !0 });
|
|
24
24
|
}, F = (t) => {
|
|
@@ -46,8 +46,8 @@ async function h(t, e) {
|
|
|
46
46
|
return O(d.titleLabels.xAndY, { x: a, y: n });
|
|
47
47
|
}
|
|
48
48
|
const C = async (t) => {
|
|
49
|
-
const { x: e, y: s, config: i, layerInfo: r, updateChartTitle: a, updateXAxisTitle: n, updateYAxisTitle: d } = t, { layerFieldsInfo: c } = r,
|
|
50
|
-
!y(e) && n && T(i, 0,
|
|
49
|
+
const { x: e, y: s, config: i, layerInfo: r, updateChartTitle: a, updateXAxisTitle: n, updateYAxisTitle: d } = t, { layerFieldsInfo: c } = r, M = o(c, e), b = o(c, s);
|
|
50
|
+
!y(e) && n && T(i, 0, M), !y(s) && d && T(i, 1, b), !y(e) && !y(s) && i.title && a && (i.title.content.text = await h(i, r));
|
|
51
51
|
}, p = (t) => t.series[0]?.x ?? "", x = (t) => t.series[0]?.y ?? "", K = async (t, e, s) => {
|
|
52
52
|
const i = await g(e, s), r = L(e, s), a = f(e, s);
|
|
53
53
|
S(e), e.series[0] && (e.series[0].x = t), await C({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
|
-
import "lodash-es";
|
|
3
|
-
import { e as
|
|
2
|
+
import { isEqual as _ } from "lodash-es";
|
|
3
|
+
import { e as C, W as A } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { au as F, s as x, av as v, aw as B, ax as b, m as d, C as h, i as O, c as M } from "./interfaces2.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -12,70 +12,70 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
12
12
|
import "@arcgis/core/request.js";
|
|
13
13
|
import "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { C as
|
|
16
|
-
import {
|
|
17
|
-
import { t as
|
|
18
|
-
import { M as
|
|
19
|
-
import { M as
|
|
15
|
+
import { C as T, M as U, b as N, a as L } from "./model-with-multi-axes.js";
|
|
16
|
+
import { b as n, a as r, f as g } from "./index.js";
|
|
17
|
+
import { t as w, v as D, w as E, x as V, y as W, z as k, A as P, B as X, C as z, D as j, E as K, b as S, j as f, k as o, u as G, s as m, h as R, F as Y, G as p, H as q, m as H, f as J, I as Q, i as Z, J as $, K as ee, L as ie, M as y, N as u, O as te, P as se, Q as ae, R as oe, e as ne } from "./data.js";
|
|
18
|
+
import { M as re, a as le, b as ge, c as fe } from "./model-with-data-labels.js";
|
|
19
|
+
import { M as ce } from "./model-with-rotation.js";
|
|
20
20
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
21
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
22
|
-
v4.34.0-next.
|
|
23
|
-
class
|
|
22
|
+
v4.34.0-next.139 */
|
|
23
|
+
class de extends T {
|
|
24
24
|
/**
|
|
25
25
|
* Sets the time interval size for a temporal bar/line chart.
|
|
26
26
|
* @returns {number | undefined}
|
|
27
27
|
*/
|
|
28
28
|
getTemporalBinningSize() {
|
|
29
|
-
return
|
|
29
|
+
return w(this._config);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Sets the time interval size for a temporal bar/line chart.
|
|
33
33
|
* @param {number | undefined} newSize The new time interval size.
|
|
34
34
|
*/
|
|
35
35
|
setTemporalBinningSize(e) {
|
|
36
|
-
|
|
36
|
+
D(e, this._config), this.emitConfigUpdate("setTemporalBinningSize");
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Gets the time interval units for a temporal bar/line chart.
|
|
40
40
|
* @returns {WebChartTemporalBinningUnits | undefined}
|
|
41
41
|
*/
|
|
42
42
|
getTemporalBinningUnit() {
|
|
43
|
-
return
|
|
43
|
+
return E(this._config);
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* Sets the time interval units for a temporal bar/line chart.
|
|
47
47
|
* @param {WebChartTemporalBinningUnits | undefined} newUnit The new time interval units.
|
|
48
48
|
*/
|
|
49
49
|
setTemporalBinningUnit(e) {
|
|
50
|
-
|
|
50
|
+
V(e, this._config), this.emitConfigUpdate("setTemporalBinningUnit");
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Gets the time aggregation type for a temporal bar/line chart.
|
|
54
54
|
* @returns {WebChartTimeAggregationTypes | undefined}
|
|
55
55
|
*/
|
|
56
56
|
getTimeAggregationType() {
|
|
57
|
-
return
|
|
57
|
+
return W(this._config);
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* Sets the time aggregation type for a temporal bar/line chart.
|
|
61
61
|
* @param {WebChartTimeAggregationTypes | undefined} newTimeAggregationType The new time aggregation type.
|
|
62
62
|
*/
|
|
63
63
|
setTimeAggregationType(e) {
|
|
64
|
-
|
|
64
|
+
k(e, this._config), this.emitConfigUpdate("setTimeAggregationType");
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Gets whether to trim incomplete time intervals for a temporal bar/line chart.
|
|
68
68
|
* @returns {boolean | undefined}
|
|
69
69
|
*/
|
|
70
70
|
getTrimIncompleteTimeInterval() {
|
|
71
|
-
return
|
|
71
|
+
return P(this._config);
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* Sets whether to trim incomplete time intervals for a temporal bar/line chart.
|
|
75
75
|
* @param {boolean | undefined} newTrimIncompleteTimeInterval The new state.
|
|
76
76
|
*/
|
|
77
77
|
setTrimIncompleteTimeInterval(e) {
|
|
78
|
-
|
|
78
|
+
X(e, this._config), this.emitConfigUpdate("setTrimIncompleteTimeInterval");
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* Gets the policy which tells the chart how to handle null values.
|
|
@@ -89,7 +89,7 @@ class fe extends y {
|
|
|
89
89
|
* @return {WebChartNullPolicyTypes | undefined}
|
|
90
90
|
*/
|
|
91
91
|
getNullPolicy() {
|
|
92
|
-
return
|
|
92
|
+
return z(this._config);
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
95
|
* Sets the policy which tells the chart how to handle null values.
|
|
@@ -103,54 +103,64 @@ class fe extends y {
|
|
|
103
103
|
* @param {WebChartNullPolicyTypes | undefined} newNullPolicy The new null policy.
|
|
104
104
|
*/
|
|
105
105
|
setNullPolicy(e) {
|
|
106
|
-
|
|
106
|
+
j(e, this._config), this.emitConfigUpdate("setNullPolicy");
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
109
|
* Resets the time interval to default for a temporal line chart.
|
|
110
110
|
*/
|
|
111
111
|
resetTimeInterval() {
|
|
112
|
-
|
|
112
|
+
K(this._config), this.emitConfigUpdate("resetTimeInterval");
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
const
|
|
116
|
-
s && i.axes !== void 0 && !i.axes?.[2] && (i.axes[2] = (await
|
|
115
|
+
const he = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, me = async (s, e, i) => {
|
|
116
|
+
s && i.axes !== void 0 && !i.axes?.[2] && (i.axes[2] = (await v(A.BarSeries))[1]), i.series && i.series.forEach((t, a) => {
|
|
117
117
|
a === e ? t.assignToSecondValueAxis = s : a !== e && t?.assignToSecondValueAxis !== !0 && (t.assignToSecondValueAxis = !1);
|
|
118
118
|
}), i.axes?.[2] && !i.series.some((t) => t.assignToSecondValueAxis) && i.axes.splice(2, 1);
|
|
119
|
-
},
|
|
119
|
+
}, pe = (s, e) => e.series?.[s]?.name, ye = (s, e, i) => {
|
|
120
120
|
i.series?.[e] && (i.series[e].name = s);
|
|
121
|
-
},
|
|
121
|
+
}, ue = (s, e) => {
|
|
122
122
|
const i = e.series?.[s];
|
|
123
123
|
let t;
|
|
124
|
-
return
|
|
125
|
-
},
|
|
124
|
+
return n(i) ? t = i.fillSymbol?.color : r(i) && (t = i.lineSymbol?.color), t;
|
|
125
|
+
}, Ce = (s, e, i) => {
|
|
126
126
|
const t = i.series?.[e];
|
|
127
|
-
t && (
|
|
128
|
-
...
|
|
127
|
+
t && (n(t) ? t.fillSymbol = {
|
|
128
|
+
...F(e),
|
|
129
129
|
...t.fillSymbol,
|
|
130
130
|
color: s
|
|
131
|
-
} :
|
|
132
|
-
...
|
|
131
|
+
} : r(t) && (t.lineSymbol = {
|
|
132
|
+
...x(e),
|
|
133
133
|
...t.lineSymbol,
|
|
134
134
|
color: s
|
|
135
135
|
}));
|
|
136
|
-
},
|
|
136
|
+
}, Te = (s) => s.series.map((e) => e.id), Se = (s, e) => {
|
|
137
137
|
e.series?.sort(
|
|
138
138
|
(i, t) => s.findIndex((a) => i.id === a) - s.findIndex((a) => t.id === a)
|
|
139
139
|
);
|
|
140
|
-
},
|
|
140
|
+
}, Ie = (s) => s.stackedType ?? C.Side, _e = async (s) => {
|
|
141
141
|
const { newStackedType: e, config: i, layerInfo: t } = s;
|
|
142
142
|
if (i.stackedType = e, t !== void 0) {
|
|
143
143
|
const a = await S({
|
|
144
144
|
config: i,
|
|
145
145
|
layerInfo: t,
|
|
146
146
|
numericFields: o(i),
|
|
147
|
-
aggregationType:
|
|
147
|
+
aggregationType: f(i)
|
|
148
148
|
});
|
|
149
|
-
|
|
149
|
+
G(i, 1, a);
|
|
150
150
|
}
|
|
151
|
-
i.axes?.[1] && (e ===
|
|
151
|
+
i.axes?.[1] && (e === C.Stacked100 ? i.axes[1].valueFormat = B() : i.axes[1].valueFormat = b()), m({ config: i, value: null, axisIndex: 1, isMax: !1 }), m({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
152
|
+
}, Ae = (s) => {
|
|
153
|
+
let e;
|
|
154
|
+
const i = s.series.find(
|
|
155
|
+
(t) => (n(t) || r(t) || g(t)) && t.nullCategory !== void 0
|
|
156
|
+
);
|
|
157
|
+
return (n(i) || r(i) || g(i)) && (e = i?.nullCategory), e;
|
|
158
|
+
}, Fe = (s, e) => {
|
|
159
|
+
s.series.forEach((i) => {
|
|
160
|
+
(n(i) || r(i) || g(i)) && (i.nullCategory = e);
|
|
161
|
+
});
|
|
152
162
|
};
|
|
153
|
-
class
|
|
163
|
+
class xe extends T {
|
|
154
164
|
static {
|
|
155
165
|
this.supportsCustomSort = !0;
|
|
156
166
|
}
|
|
@@ -162,7 +172,7 @@ class Ie extends y {
|
|
|
162
172
|
* @returns {string}
|
|
163
173
|
*/
|
|
164
174
|
getXAxisField() {
|
|
165
|
-
return
|
|
175
|
+
return R(this._config);
|
|
166
176
|
}
|
|
167
177
|
/**
|
|
168
178
|
* Sets the x-axis field for the chart.
|
|
@@ -170,12 +180,12 @@ class Ie extends y {
|
|
|
170
180
|
*/
|
|
171
181
|
async setXAxisField(e) {
|
|
172
182
|
const i = e.trim() === "";
|
|
173
|
-
!i && this.layerInfo && await
|
|
174
|
-
const t = o(this._config),
|
|
175
|
-
if (i ||
|
|
183
|
+
!i && this.layerInfo && await Y(e, this._config, this.layerInfo);
|
|
184
|
+
const t = o(this._config), c = d(this._config.series) === h.BarAndLineFromFields, l = t.includes(this.layerInfo?.objectIdField ?? "");
|
|
185
|
+
if (i || c && l) {
|
|
176
186
|
await this.resetConfig();
|
|
177
|
-
const
|
|
178
|
-
this.layerInfo && t.length > 0 && !
|
|
187
|
+
const I = t.length === 1 && t[0] === this.layerInfo?.objectIdField;
|
|
188
|
+
this.layerInfo && t.length > 0 && !I && await p(t, this._config, this.layerInfo);
|
|
179
189
|
}
|
|
180
190
|
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setXAxisField");
|
|
181
191
|
}
|
|
@@ -184,7 +194,7 @@ class Ie extends y {
|
|
|
184
194
|
* @returns {WebChartStatisticType}
|
|
185
195
|
*/
|
|
186
196
|
getAggregationType() {
|
|
187
|
-
return
|
|
197
|
+
return f(this._config);
|
|
188
198
|
}
|
|
189
199
|
/**
|
|
190
200
|
* Sets the aggregation type for the chart.
|
|
@@ -192,7 +202,7 @@ class Ie extends y {
|
|
|
192
202
|
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
193
203
|
*/
|
|
194
204
|
async setAggregationType(e) {
|
|
195
|
-
this.layerInfo && (await
|
|
205
|
+
this.layerInfo && (await q(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setAggregationType"));
|
|
196
206
|
}
|
|
197
207
|
/**
|
|
198
208
|
* Gets whether the series should be assigned to the second value axis.
|
|
@@ -200,7 +210,7 @@ class Ie extends y {
|
|
|
200
210
|
* @returns {boolean}
|
|
201
211
|
*/
|
|
202
212
|
getAssignToSecondValueAxis(e) {
|
|
203
|
-
return
|
|
213
|
+
return he(e, this._config);
|
|
204
214
|
}
|
|
205
215
|
/**
|
|
206
216
|
* Sets whether the series should be assigned to the second value axis.
|
|
@@ -208,14 +218,14 @@ class Ie extends y {
|
|
|
208
218
|
* @param seriesIndex - The index of the series.
|
|
209
219
|
*/
|
|
210
220
|
async setAssignToSecondValueAxis(e, i) {
|
|
211
|
-
await
|
|
221
|
+
await me(e, i, this._config), this.emitConfigUpdate("setAssignToSecondValueAxis");
|
|
212
222
|
}
|
|
213
223
|
/**
|
|
214
224
|
* Gets the split-by field for the chart.
|
|
215
225
|
* @returns {string}
|
|
216
226
|
*/
|
|
217
227
|
getSplitByField() {
|
|
218
|
-
return
|
|
228
|
+
return H(this._config);
|
|
219
229
|
}
|
|
220
230
|
/**
|
|
221
231
|
* Sets the split-by field for the chart.
|
|
@@ -223,7 +233,7 @@ class Ie extends y {
|
|
|
223
233
|
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
224
234
|
*/
|
|
225
235
|
async setSplitByField(e) {
|
|
226
|
-
this.layerInfo?.layerFieldsInfo &&
|
|
236
|
+
this.layerInfo?.layerFieldsInfo && J(this.layerInfo?.layerFieldsInfo, e) && (await Q(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setSplitByField"));
|
|
227
237
|
}
|
|
228
238
|
/**
|
|
229
239
|
* Gets the numeric fields array for the chart.
|
|
@@ -238,10 +248,10 @@ class Ie extends y {
|
|
|
238
248
|
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
239
249
|
*/
|
|
240
250
|
async setNumericFields(e) {
|
|
241
|
-
if (typeof e == "string" && (e = [e]),
|
|
242
|
-
await
|
|
251
|
+
if (typeof e == "string" && (e = [e]), Z(this.layerInfo?.layerFieldsInfo ?? [], e) && this.layerInfo) {
|
|
252
|
+
await p(e, this._config, this.layerInfo);
|
|
243
253
|
const t = o(this._config);
|
|
244
|
-
|
|
254
|
+
d(this._config.series) === h.BarAndLineFromFields && t.some((l) => l === this.layerInfo?.objectIdField) && await this.resetConfig(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setNumericFields");
|
|
245
255
|
}
|
|
246
256
|
}
|
|
247
257
|
/**
|
|
@@ -249,7 +259,7 @@ class Ie extends y {
|
|
|
249
259
|
* @returns {"xAxisAsc" | "xAxisDesc" | "yAxisAsc" | "yAxisDesc" | "customSort"}
|
|
250
260
|
*/
|
|
251
261
|
getSortOrder() {
|
|
252
|
-
return
|
|
262
|
+
return $(this._config);
|
|
253
263
|
}
|
|
254
264
|
/**
|
|
255
265
|
* Sets the sort order for the bar chart.
|
|
@@ -257,35 +267,35 @@ class Ie extends y {
|
|
|
257
267
|
* @param {string[]} orderByList The list of category's values to order by.
|
|
258
268
|
*/
|
|
259
269
|
setSortOrder(e, i) {
|
|
260
|
-
|
|
270
|
+
ee(e, this._config, i), this.emitConfigUpdate("setSortOrder");
|
|
261
271
|
}
|
|
262
272
|
/**
|
|
263
273
|
* Gets the list of the category values for the chart.
|
|
264
274
|
* @returns {string[]}
|
|
265
275
|
*/
|
|
266
276
|
async getCustomSortValues() {
|
|
267
|
-
return await
|
|
277
|
+
return await ie(this._config, this.layerInfo);
|
|
268
278
|
}
|
|
269
279
|
/**
|
|
270
280
|
* Gets the list of custom sort values for custom sort
|
|
271
281
|
* @returns {string[]}
|
|
272
282
|
*/
|
|
273
283
|
getOrderByList() {
|
|
274
|
-
return
|
|
284
|
+
return y(this._config);
|
|
275
285
|
}
|
|
276
286
|
/**
|
|
277
287
|
* Sets the list of custom sort values for custom sort
|
|
278
288
|
* @param {string[]} newOrderByList The new list of custom sort values
|
|
279
289
|
*/
|
|
280
290
|
setOrderByList(e) {
|
|
281
|
-
!
|
|
291
|
+
!O(this._config) && (u(e, this._config), this.emitConfigUpdate("setOrderByList"));
|
|
282
292
|
}
|
|
283
293
|
/**
|
|
284
294
|
* Updates the series based on the layer filter.
|
|
285
295
|
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
286
296
|
*/
|
|
287
297
|
async updateSeriesFromLayerFilter() {
|
|
288
|
-
this.layerInfo !== void 0 && (await
|
|
298
|
+
this.layerInfo !== void 0 && (await te({
|
|
289
299
|
splitByField: this.getSplitByField(),
|
|
290
300
|
numericFields: this.getNumericFields(),
|
|
291
301
|
aggregationType: this.getAggregationType(),
|
|
@@ -298,7 +308,7 @@ class Ie extends y {
|
|
|
298
308
|
* @returns {boolean} - Whether temporal binning is enabled.
|
|
299
309
|
*/
|
|
300
310
|
getBinTemporalData() {
|
|
301
|
-
return
|
|
311
|
+
return se(this._config);
|
|
302
312
|
}
|
|
303
313
|
/**
|
|
304
314
|
* Enable or disable temporal binning for all series in the config.
|
|
@@ -307,7 +317,7 @@ class Ie extends y {
|
|
|
307
317
|
* **NOTE** This method removes any existing temporal binning settings if `value` is set to `false`.
|
|
308
318
|
*/
|
|
309
319
|
setBinTemporalData(e) {
|
|
310
|
-
|
|
320
|
+
ae(e, this._config), this.emitConfigUpdate("enableTemporalBinning");
|
|
311
321
|
}
|
|
312
322
|
// #endregion
|
|
313
323
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -320,7 +330,7 @@ class Ie extends y {
|
|
|
320
330
|
* @returns {string | undefined}
|
|
321
331
|
*/
|
|
322
332
|
getSeriesName(e) {
|
|
323
|
-
return
|
|
333
|
+
return pe(e, this._config);
|
|
324
334
|
}
|
|
325
335
|
/**
|
|
326
336
|
* Sets name of the series based on the series index.
|
|
@@ -328,7 +338,7 @@ class Ie extends y {
|
|
|
328
338
|
* @param {number} seriesIndex The index of the series.
|
|
329
339
|
*/
|
|
330
340
|
setSeriesName(e, i) {
|
|
331
|
-
|
|
341
|
+
ye(e, i, this._config), this.emitConfigUpdate("setSeriesName");
|
|
332
342
|
}
|
|
333
343
|
/**
|
|
334
344
|
* Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -336,7 +346,7 @@ class Ie extends y {
|
|
|
336
346
|
* @returns {Color | undefined}
|
|
337
347
|
*/
|
|
338
348
|
getSeriesColor(e) {
|
|
339
|
-
return
|
|
349
|
+
return ue(e, this._config);
|
|
340
350
|
}
|
|
341
351
|
/**
|
|
342
352
|
* Sets the color of the series based on the series index.
|
|
@@ -344,21 +354,21 @@ class Ie extends y {
|
|
|
344
354
|
* @param {number} seriesIndex The index of the series.
|
|
345
355
|
*/
|
|
346
356
|
setSeriesColor(e, i) {
|
|
347
|
-
|
|
357
|
+
Ce(e, i, this._config), this.emitConfigUpdate("setSeriesColor");
|
|
348
358
|
}
|
|
349
359
|
/**
|
|
350
360
|
* Gets the order of the series array by returning an array of series ids.
|
|
351
361
|
* @returns {string[]}
|
|
352
362
|
*/
|
|
353
363
|
getOrderOfSeries() {
|
|
354
|
-
return
|
|
364
|
+
return Te(this._config);
|
|
355
365
|
}
|
|
356
366
|
/**
|
|
357
367
|
* Sets the order of the series array by providing an array of series ids.
|
|
358
368
|
* @param {string[]} newOrder The new order of the series array.
|
|
359
369
|
*/
|
|
360
370
|
setOrderOfSeries(e) {
|
|
361
|
-
|
|
371
|
+
Se(e, this._config), this.emitConfigUpdate("setOrderOfSeries");
|
|
362
372
|
}
|
|
363
373
|
/**
|
|
364
374
|
* Gets how the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or
|
|
@@ -371,7 +381,7 @@ class Ie extends y {
|
|
|
371
381
|
* @returns {WebChartStackedKinds | undefined}
|
|
372
382
|
*/
|
|
373
383
|
getStackedType() {
|
|
374
|
-
return
|
|
384
|
+
return Ie(this._config);
|
|
375
385
|
}
|
|
376
386
|
/**
|
|
377
387
|
* Sets how the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or
|
|
@@ -384,7 +394,7 @@ class Ie extends y {
|
|
|
384
394
|
* @default sideBySide
|
|
385
395
|
*/
|
|
386
396
|
async setStackedType(e) {
|
|
387
|
-
await
|
|
397
|
+
await _e({
|
|
388
398
|
newStackedType: e,
|
|
389
399
|
config: this._config,
|
|
390
400
|
layerInfo: this.layerInfo
|
|
@@ -407,8 +417,23 @@ class Ie extends y {
|
|
|
407
417
|
* @param {number} toIndex The index to move the custom sort value to.
|
|
408
418
|
*/
|
|
409
419
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
410
|
-
const t =
|
|
411
|
-
t.splice(i, 0, a),
|
|
420
|
+
const t = y(this._config), [a] = t.splice(e, 1);
|
|
421
|
+
t.splice(i, 0, a), u(t, this._config), this.emitConfigUpdate("moveCustomSortValuesInOrderByList");
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Gets the null category configuration of the bar chart.
|
|
425
|
+
* @returns {WebChartNullCategory | undefined}
|
|
426
|
+
*/
|
|
427
|
+
getNullCategory() {
|
|
428
|
+
return Ae(this._config);
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Sets the null category configuration of the bar chart.
|
|
432
|
+
* @param {WebChartNullCategory} nullCategory [Optional] The null category configuration to set.
|
|
433
|
+
*/
|
|
434
|
+
setNullCategory(e) {
|
|
435
|
+
const i = this.getNullCategory();
|
|
436
|
+
_(i, e) || (Fe(this._config, e), this.emitConfigUpdate("setNullCategory"));
|
|
412
437
|
}
|
|
413
438
|
/**
|
|
414
439
|
* Resets the config to the default config
|
|
@@ -427,7 +452,7 @@ class Ie extends y {
|
|
|
427
452
|
* @returns {string}
|
|
428
453
|
*/
|
|
429
454
|
async generateChartTitle() {
|
|
430
|
-
return this.layerInfo !== void 0 ? await
|
|
455
|
+
return this.layerInfo !== void 0 ? await oe(this._config, this.layerInfo) : "";
|
|
431
456
|
}
|
|
432
457
|
/**
|
|
433
458
|
* Generate the proper x-axis title given the current config.
|
|
@@ -436,7 +461,7 @@ class Ie extends y {
|
|
|
436
461
|
*/
|
|
437
462
|
generateXAxisTitle() {
|
|
438
463
|
const e = this.getXAxisField();
|
|
439
|
-
return this.layerInfo !== void 0 ?
|
|
464
|
+
return this.layerInfo !== void 0 ? M(this.layerInfo.layerFieldsInfo, e) : "";
|
|
440
465
|
}
|
|
441
466
|
/**
|
|
442
467
|
* Generate the proper y-axis title given the current config.
|
|
@@ -448,24 +473,24 @@ class Ie extends y {
|
|
|
448
473
|
config: this._config,
|
|
449
474
|
layerInfo: this.layerInfo,
|
|
450
475
|
numericFields: o(this._config),
|
|
451
|
-
aggregationType:
|
|
476
|
+
aggregationType: f(this._config)
|
|
452
477
|
}) : "";
|
|
453
478
|
}
|
|
454
479
|
// #endregion
|
|
455
480
|
}
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
oe,
|
|
459
|
-
ne,
|
|
481
|
+
ne(xe, [
|
|
482
|
+
U,
|
|
460
483
|
re,
|
|
461
|
-
ge,
|
|
462
484
|
le,
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
fe
|
|
485
|
+
ge,
|
|
486
|
+
ce,
|
|
487
|
+
fe,
|
|
488
|
+
N,
|
|
489
|
+
L,
|
|
490
|
+
de
|
|
466
491
|
]);
|
|
467
492
|
export {
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
493
|
+
xe as S,
|
|
494
|
+
ye as a,
|
|
495
|
+
Ce as s
|
|
471
496
|
};
|