@arcgis/charts-components 5.2.0-next.11 → 5.2.0-next.110
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/{VDKFC44J.js → 2EUPFLNW.js} +2 -2
- package/dist/cdn/{L5DROI2A.js → 2IWBCO6Z.js} +2 -2
- package/dist/cdn/{II2ZPEUZ.js → 2VJWHI5H.js} +2 -2
- package/dist/cdn/{H3EXGCE7.js → 2VUR2GRV.js} +2 -2
- package/dist/cdn/{IHO3OLL3.js → 3DIZRBOJ.js} +2 -2
- package/dist/cdn/3LVNK4EI.js +2 -0
- package/dist/cdn/{2XXW3WF3.js → 3R6MHDQW.js} +2 -2
- package/dist/cdn/{OBPAQN4H.js → 3WARDHOQ.js} +1 -1
- package/dist/cdn/3XY3OEMH.js +2 -0
- package/dist/cdn/{FEKSPYHM.js → 3Z2C6NLH.js} +2 -2
- package/dist/cdn/{ZYOWZCR7.js → 4ABAUNOO.js} +2 -2
- package/dist/cdn/4DGRKLXO.js +2 -0
- package/dist/cdn/4G3OQ5FC.js +2 -0
- package/dist/cdn/{TACQVUBU.js → 4H2QKHO3.js} +2 -2
- package/dist/cdn/4L4ZZUIW.js +2 -0
- package/dist/cdn/{TFPQDMER.js → 4L6FQOVC.js} +2 -2
- package/dist/cdn/{ZBIVDGNH.js → 4RDHGQAL.js} +2 -2
- package/dist/cdn/5AMXSBVD.js +2 -0
- package/dist/cdn/{244ZX2UP.js → 5FBHUYVN.js} +2 -2
- package/dist/cdn/5GZBRQP2.js +2 -0
- package/dist/cdn/5HR252CM.js +2 -0
- package/dist/cdn/5L2GOXND.js +2 -0
- package/dist/cdn/62M4DHW3.js +2 -0
- package/dist/cdn/66O67DDO.js +2 -0
- package/dist/cdn/6KYYHQBS.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → 6ZDEWZ4A.js} +2 -2
- package/dist/cdn/{TYUVXRBO.js → 7EUVBNRP.js} +2 -2
- package/dist/cdn/7PAQCBZ7.js +2 -0
- package/dist/cdn/7RRUD4HM.js +2 -0
- package/dist/cdn/{3VMHKSYP.js → 7YROV2MS.js} +1 -1
- package/dist/cdn/{FWAXKDYV.js → AG3BRYP2.js} +2 -2
- package/dist/cdn/{7YXTWBT4.js → AJDNZRJP.js} +4 -4
- package/dist/cdn/AK34H2Z4.js +2 -0
- package/dist/cdn/{4USHOYLT.js → AMIF7IUE.js} +2 -2
- package/dist/cdn/AYS37I6F.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → B5M3UYOD.js} +2 -2
- package/dist/cdn/{6B7JCDQC.js → B6K3UJ5E.js} +2 -2
- package/dist/cdn/{2OHFSVV5.js → BE3IE4CJ.js} +2 -2
- package/dist/cdn/BGA3UX4U.js +2 -0
- package/dist/cdn/{KX7KGXKQ.js → BIXQAUTT.js} +1 -1
- package/dist/cdn/{IVLVCLDE.js → BK4JKDTR.js} +1 -1
- package/dist/cdn/BPYN2X7Q.js +45 -0
- package/dist/cdn/{KDJ5RVHA.js → BYSF3WH4.js} +2 -2
- package/dist/cdn/C4LXB6MK.js +2 -0
- package/dist/cdn/C4OPIUNW.js +2 -0
- package/dist/cdn/C7IT74BS.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → CAFMZZWU.js} +2 -2
- package/dist/cdn/CHCM5ZNC.js +2 -0
- package/dist/cdn/CKRMPTUO.js +2 -0
- package/dist/cdn/{SERX6V5M.js → CPPCFOXI.js} +2 -2
- package/dist/cdn/{O4HUYRYL.js → D4EPE7SG.js} +2 -2
- package/dist/cdn/{QR2OOC4D.js → DDKQH6CG.js} +2 -2
- package/dist/cdn/{7JIHGRTB.js → DGE5LAEC.js} +2 -2
- package/dist/cdn/{XY4TRZCG.js → DMCP4KFE.js} +2 -2
- package/dist/cdn/DMTY4NTC.js +2 -0
- package/dist/cdn/{NAXNRCMZ.js → DY4LKAXR.js} +2 -2
- package/dist/cdn/{Y6ZCTPJW.js → EEWNYPKP.js} +2 -2
- package/dist/cdn/EJCQJK4X.js +2 -0
- package/dist/cdn/EQLEA5AG.js +2 -0
- package/dist/cdn/EQNW3D27.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → EQUJMGCQ.js} +2 -2
- package/dist/cdn/EUSDSRSD.js +4 -0
- package/dist/cdn/EXQDBBLY.js +2 -0
- package/dist/cdn/F5C2X2NS.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → FAP35T3M.js} +2 -2
- package/dist/cdn/{MK5ZYSOD.js → FVIQ4YK2.js} +2 -2
- package/dist/cdn/FWVZY2DN.js +2 -0
- package/dist/cdn/FZ4P2E22.js +2 -0
- package/dist/cdn/G5NLV2CS.js +2 -0
- package/dist/cdn/{X2LW7GTR.js → G5NNGGAX.js} +2 -2
- package/dist/cdn/{N4L5KE23.js → GA2SIPMS.js} +2 -2
- package/dist/cdn/GDFKEJO4.js +2 -0
- package/dist/cdn/GFIZPXVK.js +2 -0
- package/dist/cdn/GG7KDNXF.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → GGLXIQWK.js} +2 -2
- package/dist/cdn/GQ6A5FQG.js +2 -0
- package/dist/cdn/{SP2IPHWF.js → GUQ44MLO.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → GVBJWBHM.js} +2 -2
- package/dist/cdn/GY72TEIZ.js +2 -0
- package/dist/cdn/H3GVLNRJ.js +2 -0
- package/dist/cdn/{AASL4RKT.js → HHMRE4ZV.js} +2 -2
- package/dist/cdn/{XMPLEHTW.js → HVB5AZOB.js} +2 -2
- package/dist/cdn/{JQKRGUBU.js → HX6ZTJDH.js} +2 -2
- package/dist/cdn/{VT4WJZN6.js → I5WKBYXW.js} +2 -2
- package/dist/cdn/{S3ZSZXYG.js → I6SPDO4B.js} +2 -2
- package/dist/cdn/{BDGHBTPU.js → IH7IBNZZ.js} +2 -2
- package/dist/cdn/IICYSP6T.js +2 -0
- package/dist/cdn/IOG2IVJN.js +2 -0
- package/dist/cdn/{UYXCGSXU.js → IUALCYH2.js} +2 -2
- package/dist/cdn/{ETOGNYFU.js → IWEPAHDN.js} +2 -2
- package/dist/cdn/{BXYNEUQY.js → IXQLYXG3.js} +2 -2
- package/dist/cdn/J22FARAC.js +2 -0
- package/dist/cdn/J5SIGRGU.js +2 -0
- package/dist/cdn/JCGY4PXV.js +2 -0
- package/dist/cdn/JDCNFE5C.js +2 -0
- package/dist/cdn/JFRRNZCG.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → JFVAFJ4H.js} +2 -2
- package/dist/cdn/JGDOGMER.js +2 -0
- package/dist/cdn/JJLZNOU5.js +3 -0
- package/dist/cdn/JKDSYFI5.js +2 -0
- package/dist/cdn/{WAINRCCJ.js → JNPALTZY.js} +2 -2
- package/dist/cdn/{RSNZMJ6I.js → JYBHESZC.js} +2 -2
- package/dist/cdn/K4PGZCDZ.js +2 -0
- package/dist/cdn/K6PMOUYR.js +2 -0
- package/dist/cdn/{PMIWXHTG.js → K7M3AA6L.js} +2 -2
- package/dist/cdn/KSDWPX5N.js +2 -0
- package/dist/cdn/{4OH4NSIW.js → KW37MJXK.js} +2 -2
- package/dist/cdn/{XYKXBWIT.js → KW5VRQR3.js} +2 -2
- package/dist/cdn/{AY6IOQ3H.js → KZ2R4OLR.js} +2 -2
- package/dist/cdn/LBOJGYSL.js +2 -0
- package/dist/cdn/{I5T7JUDH.js → LD7OU6HP.js} +2 -2
- package/dist/cdn/{XG2KN6YJ.js → LF7NQGHA.js} +2 -2
- package/dist/cdn/LJOG5J2V.js +2 -0
- package/dist/cdn/{7QXRWMUN.js → LJYMDBF4.js} +2 -2
- package/dist/cdn/LTZBWR5K.js +2 -0
- package/dist/cdn/{ULWJ57VT.js → MBMJNR7H.js} +2 -2
- package/dist/cdn/{L47EGLUH.js → ME2NTJW5.js} +2 -2
- package/dist/cdn/{I6UPUSLQ.js → NOODYKYT.js} +2 -2
- package/dist/cdn/{OFWEHJDH.js → NQ3QW4ED.js} +2 -2
- package/dist/cdn/NRKA3PVS.js +2 -0
- package/dist/cdn/{OXYJKZEP.js → NS256ILC.js} +2 -2
- package/dist/cdn/{3JYZJUOM.js → NSZKEEMN.js} +2 -2
- package/dist/cdn/NVWHMHFJ.js +2 -0
- package/dist/cdn/O3F4PKL5.js +2 -0
- package/dist/cdn/O522WPHN.js +2 -0
- package/dist/cdn/ORXX53NO.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → OVUN4PSA.js} +2 -2
- package/dist/cdn/P6HJNWKL.js +2 -0
- package/dist/cdn/P7L3ARQ3.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → PCMTYFOA.js} +2 -2
- package/dist/cdn/{UE5VX2RL.js → POUXDWR6.js} +2 -2
- package/dist/cdn/{VY3KBD6N.js → PQCKQMUH.js} +2 -2
- package/dist/cdn/{7LYAWWOE.js → PUYHEQW6.js} +2 -2
- package/dist/cdn/PVNWEM36.js +2 -0
- package/dist/cdn/{SX6SDBU7.js → QBN2RUK7.js} +2 -2
- package/dist/cdn/{7UQHB6KY.js → QBRPQBRE.js} +2 -2
- package/dist/cdn/{QP5UAIC6.js → QIST2E6D.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → QKD52Y6W.js} +2 -2
- package/dist/cdn/{ZQDADGLQ.js → QPTOSFND.js} +2 -2
- package/dist/cdn/QQE67EPU.js +2 -0
- package/dist/cdn/QZCSTDPS.js +2 -0
- package/dist/cdn/{YJ6TRXMU.js → R5KXZK6C.js} +2 -2
- package/dist/cdn/{P5AO3V3M.js → RAWFU6UX.js} +2 -2
- package/dist/cdn/{XDMGH7YU.js → RD2GIVHJ.js} +2 -2
- package/dist/cdn/REC66TO6.js +2 -0
- package/dist/cdn/{YKDW7ZW3.js → RP3YFUJH.js} +2 -2
- package/dist/cdn/{N5ZUO6F3.js → RPILNNIB.js} +2 -2
- package/dist/cdn/{77A4T4FJ.js → RRFVH5KA.js} +2 -2
- package/dist/cdn/RT3RIRB5.js +2 -0
- package/dist/cdn/RYSXQJEF.js +2 -0
- package/dist/cdn/{SSQ3VCZ2.js → SCTII7J3.js} +2 -2
- package/dist/cdn/{ANN3O54W.js → SE6FHLO2.js} +2 -2
- package/dist/cdn/{5SIAOUPO.js → SILAGY2P.js} +2 -2
- package/dist/cdn/SMLGQATL.js +2 -0
- package/dist/cdn/SXOHCOAC.js +2 -0
- package/dist/cdn/{FOYOG3G7.js → TCW4HYMN.js} +2 -2
- package/dist/cdn/{VE3GFNNM.js → TI332EPG.js} +2 -2
- package/dist/cdn/{WMPWOPRZ.js → TIKRHNQ7.js} +2 -2
- package/dist/cdn/U4LGTOAJ.js +2 -0
- package/dist/cdn/U4LJEOCU.js +2 -0
- package/dist/cdn/UCS6KWEF.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → UNK7GZT3.js} +2 -2
- package/dist/cdn/UOXDMZSI.js +2 -0
- package/dist/cdn/UPENS2HR.js +3 -0
- package/dist/cdn/{LROW4Y6O.js → UWXENGPT.js} +2 -2
- package/dist/cdn/{L7CMLBHB.js → UZFD4QWD.js} +1 -1
- package/dist/cdn/UZKSCM2S.js +2 -0
- package/dist/cdn/VAWXK4TO.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → VIKLBNPF.js} +2 -2
- package/dist/cdn/VKEJFHGG.js +2 -0
- package/dist/cdn/VPWZC6PQ.js +2 -0
- package/dist/cdn/{AK7X7SGI.js → VTGIHCBG.js} +2 -2
- package/dist/cdn/{DFKVPDMJ.js → VUWVVCEB.js} +16 -14
- package/dist/cdn/{4C6KWLWN.js → W5VC7K62.js} +2 -2
- package/dist/cdn/WCG6VBHW.js +2 -0
- package/dist/cdn/WZZIHATO.js +2 -0
- package/dist/cdn/X4P4OY6S.js +2 -0
- package/dist/cdn/X6C44FPC.js +2 -0
- package/dist/cdn/XB5AI5AU.js +2 -0
- package/dist/cdn/XETRBEFO.js +2 -0
- package/dist/cdn/XHJGXDGC.js +2 -0
- package/dist/cdn/{IYA7HQMS.js → XI6IYELV.js} +2 -2
- package/dist/cdn/XJEWRYSH.js +2 -0
- package/dist/cdn/{Q7J7EKQW.js → XJWB6DUA.js} +2 -2
- package/dist/cdn/XURXJVLT.js +2 -0
- package/dist/cdn/Y3WE42BQ.js +2 -0
- package/dist/cdn/YCM6O6HX.js +2 -0
- package/dist/cdn/{VRZ2SY6M.js → YHBSS2N2.js} +2 -2
- package/dist/cdn/{DSIFL2DF.js → YHMODCYK.js} +2 -2
- package/dist/cdn/{H2A5GZ55.js → YJW653RP.js} +2 -2
- package/dist/cdn/YKAA3D7I.js +2 -0
- package/dist/cdn/{P2F2O6MH.js → YRPBDTCB.js} +2 -2
- package/dist/cdn/{3TZEMBXR.js → YX7IFYJP.js} +2 -2
- package/dist/cdn/Z2MRSW74.js +2 -0
- package/dist/cdn/{4Z23HWDH.js → Z56TJBFK.js} +2 -2
- package/dist/cdn/ZE4S6J2S.js +2 -0
- package/dist/cdn/ZJIYZYVK.js +2 -0
- package/dist/cdn/ZN7K5ISR.js +2 -0
- package/dist/cdn/{TXB2I2U5.js → ZYCKBTVS.js} +2 -2
- 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 +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -2
- package/dist/chart-rendering/common/interfaces.d.ts +104 -66
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +38 -46
- package/dist/chunks/axis-lines-symbol.js +8 -8
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +47 -39
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/box-plot-data.js +292 -275
- package/dist/chunks/box-plot-model.js +144 -131
- package/dist/chunks/chart-model.js +66 -57
- package/dist/chunks/chart-object-literals.js +27 -26
- package/dist/chunks/chart-ui-utils.js +149 -67
- package/dist/chunks/chart-ui-utils2.js +69 -150
- package/dist/chunks/class-breaks.js +271 -239
- package/dist/chunks/combo-bar-line-chart-model.js +123 -102
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +40 -25
- package/dist/chunks/data-labels-visibility.js +9 -9
- package/dist/chunks/data.js +42 -42
- package/dist/chunks/default.js +7 -7
- package/dist/chunks/gauge-model.js +62 -62
- package/dist/chunks/generate-x-axis-title.js +20 -16
- package/dist/chunks/heat-chart-model.js +96 -67
- package/dist/chunks/histogram-data.js +24 -24
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index.js +9349 -1080
- package/dist/chunks/index2.js +852 -8758
- package/dist/chunks/index3.js +1170 -850
- package/dist/chunks/index4.js +412 -252
- package/dist/chunks/index5.js +67 -101
- package/dist/chunks/interfaces.js +10 -10
- package/dist/chunks/line-chart-model.js +41 -25
- package/dist/chunks/model-setter.js +60 -65
- package/dist/chunks/model-types.js +2 -2
- package/dist/chunks/model-with-line-marker-styling.js +73 -48
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +252 -272
- package/dist/chunks/negative-values-stacked-to-baseline.js +123 -72
- package/dist/chunks/pie-chart-data.js +176 -194
- package/dist/chunks/pie-chart-model.js +389 -321
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +414 -47
- package/dist/chunks/resource.js +2 -2
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +11 -11
- package/dist/chunks/rotated-state.js +2 -2
- package/dist/chunks/rounded-corners.js +90 -0
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +23 -23
- package/dist/chunks/serial-chart-data.js +935 -819
- package/dist/chunks/serial-chart-model.js +146 -124
- package/dist/chunks/series-length.js +18 -18
- package/dist/chunks/series-types.js +23 -19
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +50 -24
- package/dist/chunks/type-guards2.js +62 -53
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +111 -88
- package/dist/chunks/utils2.js +55 -38
- package/dist/chunks/web-component-utils.js +414 -384
- package/dist/chunks/x-bounds.js +104 -99
- package/dist/components/arcgis-chart/customElement.d.ts +728 -255
- package/dist/components/arcgis-chart/customElement.js +10834 -10589
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +35 -32
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +71 -65
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +40 -34
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +44 -44
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +55 -54
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +14 -13
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +32 -40
- 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 +49 -50
- 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 +11 -11
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +245 -231
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-format/customElement.js +90 -83
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-guide/customElement.js +22 -23
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +13 -14
- 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 +56 -56
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -24
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +6 -7
- 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 +39 -39
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +57 -64
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -54
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +68 -69
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +28 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +16 -16
- 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 -18
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +58 -27
- package/dist/components/arcgis-charts-info-modal/customElement.js +8 -8
- 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 +489 -465
- package/dist/interfaces.d.ts +57 -14
- package/dist/json-schema/index.d.ts +154 -6
- package/dist/loader.js +3 -3
- 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/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/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 +69 -106
- 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/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/setup-utils.js +1 -1
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +4 -3
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/web-chart.d.ts +34 -4
- 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 +369 -350
- package/dist/utils/chart-config/utils/index.d.ts +28 -10
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
- 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 +18 -2
- 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 +30 -4
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/layer/index.d.ts +23 -5
- 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 +10 -6
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/dist/utils/localization/interfaces.d.ts +9 -1
- 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/package.json +8 -9
- package/dist/cdn/24AOJE7B.js +0 -2
- package/dist/cdn/3KRPCKJZ.js +0 -2
- package/dist/cdn/3TBK72EK.js +0 -3
- package/dist/cdn/425PZ2QJ.js +0 -2
- package/dist/cdn/4PHYDOBF.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/567CLBG4.js +0 -2
- package/dist/cdn/5IIF22XN.js +0 -2
- package/dist/cdn/5IN5WK2R.js +0 -2
- package/dist/cdn/5LXX2PUM.js +0 -2
- package/dist/cdn/5NTIKQP4.js +0 -2
- package/dist/cdn/5YEADAVZ.js +0 -2
- package/dist/cdn/6R7VSDDU.js +0 -2
- package/dist/cdn/76MOP26H.js +0 -2
- package/dist/cdn/AHYYQWKY.js +0 -2
- package/dist/cdn/ASI7RDYV.js +0 -2
- package/dist/cdn/AXS3UMQJ.js +0 -2
- package/dist/cdn/BHUFE4DA.js +0 -2
- package/dist/cdn/CEWH3LQO.js +0 -2
- package/dist/cdn/CTBQ5Y4Z.js +0 -2
- package/dist/cdn/CVK7KFEC.js +0 -2
- package/dist/cdn/DJGEQ42V.js +0 -2
- package/dist/cdn/DL43NPDO.js +0 -2
- package/dist/cdn/E2DO2HQ6.js +0 -2
- package/dist/cdn/E4LJWBRC.js +0 -2
- package/dist/cdn/EDSF5KGV.js +0 -233
- package/dist/cdn/EE3KEIAT.js +0 -2
- package/dist/cdn/EJCGZPIV.js +0 -2
- package/dist/cdn/ETSB7KD3.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/F6QRLYSF.js +0 -2
- package/dist/cdn/FBMA7FW4.js +0 -2
- package/dist/cdn/FFS73X36.js +0 -142
- package/dist/cdn/FUAA6IFR.js +0 -4
- package/dist/cdn/FWRMJQXY.js +0 -2
- package/dist/cdn/G5FULTB5.js +0 -2
- package/dist/cdn/GISGGO3Z.js +0 -2
- package/dist/cdn/GQPOEX7B.js +0 -58
- package/dist/cdn/GYXK3DV7.js +0 -2
- package/dist/cdn/H45LPCQ2.js +0 -2
- package/dist/cdn/HW6MJJSX.js +0 -2
- package/dist/cdn/HZFHTWL6.js +0 -2
- package/dist/cdn/I2EERAZ3.js +0 -2
- package/dist/cdn/IE3GLZJZ.js +0 -2
- package/dist/cdn/IL2FG26D.js +0 -2
- package/dist/cdn/JBPYGZPJ.js +0 -2
- package/dist/cdn/JEOBO5JM.js +0 -2
- package/dist/cdn/KPWHYSA5.js +0 -2
- package/dist/cdn/KXUQJ6GE.js +0 -2
- package/dist/cdn/KZQFX7LH.js +0 -2
- package/dist/cdn/LL7NH3VV.js +0 -2
- package/dist/cdn/LUMOL7ZP.js +0 -2
- package/dist/cdn/LYJFZA2M.js +0 -2
- package/dist/cdn/MBSMC77K.js +0 -2
- package/dist/cdn/MVGAATR7.js +0 -2
- package/dist/cdn/NNZCIR7W.js +0 -2
- package/dist/cdn/NZXQ5BWP.js +0 -2
- package/dist/cdn/O4LKWTBY.js +0 -2
- package/dist/cdn/OW2DLJGU.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/P4UJJCPG.js +0 -2
- package/dist/cdn/P56ROGSK.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PXIAM4CZ.js +0 -2
- package/dist/cdn/QPSJ6XOX.js +0 -2
- package/dist/cdn/R7HW5WVG.js +0 -2
- package/dist/cdn/RJCJ3F5C.js +0 -2
- package/dist/cdn/RKB6QZNW.js +0 -2
- package/dist/cdn/S6LH7YS6.js +0 -2
- package/dist/cdn/S74GCXXK.js +0 -3
- package/dist/cdn/SA22QZNW.js +0 -2
- package/dist/cdn/SJVVFOAX.js +0 -2
- package/dist/cdn/SOKKWGPA.js +0 -2
- package/dist/cdn/SQYOFBS6.js +0 -2
- package/dist/cdn/SVGAVKBQ.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TTBRUBXY.js +0 -2
- package/dist/cdn/U5IM4KAQ.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UIRKQREJ.js +0 -2
- package/dist/cdn/UIY2PSG4.js +0 -2
- package/dist/cdn/UNTIPIBS.js +0 -2
- package/dist/cdn/VIY3BCJZ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WHJU66P4.js +0 -2
- package/dist/cdn/WJ2VDT6B.js +0 -2
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/WU3C7BQU.js +0 -2
- package/dist/cdn/WWO326JE.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/XNWSVHA3.js +0 -2
- package/dist/cdn/XOM6LSIW.js +0 -2
- package/dist/cdn/XP4S2M7F.js +0 -2
- package/dist/cdn/XUERYUEG.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/Y7HBWU3M.js +0 -2
- package/dist/cdn/YALB4GSA.js +0 -2
- package/dist/cdn/YUF4ZSA5.js +0 -2
- package/dist/cdn/ZJHV3UVG.js +0 -2
- package/dist/cdn/ZQ2WG55W.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/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,35 +1,34 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import { g as
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { g as m, s as b, a as p, b as L, W as _ } from "./rounded-corners.js";
|
|
3
3
|
import { m as a } from "./model-setter.js";
|
|
4
|
-
import { g as u, a as k, e as C, b as
|
|
5
|
-
import { S as T, s as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return t && G(e, i, t), t;
|
|
4
|
+
import { g as u, a as k, e as C, b as M, f as v, s as z, h as O, c as B, i as V, d as D, j as A, k as F, n as H, o as g, p as W, q as j, r as w, W as P } from "./negative-values-stacked-to-baseline.js";
|
|
5
|
+
import { S as T, s as I } from "./serial-chart-model.js";
|
|
6
|
+
import { h as N } from "./utils.js";
|
|
7
|
+
import { a as n } from "./chart-object-literals.js";
|
|
8
|
+
import { b$ as $, r as S, c1 as d, b_ as q } from "./index.js";
|
|
9
|
+
import { an as R, $ as h, Y as y } from "./index3.js";
|
|
10
|
+
var Y = Object.defineProperty, E = Object.getOwnPropertyDescriptor, l = (c, e, i, o) => {
|
|
11
|
+
for (var s = E(e, i), t = c.length - 1, f; t >= 0; t--)
|
|
12
|
+
(f = c[t]) && (s = f(e, i, s) || s);
|
|
13
|
+
return s && Y(e, i, s), s;
|
|
15
14
|
};
|
|
16
|
-
class
|
|
15
|
+
class r extends T {
|
|
17
16
|
constructor() {
|
|
18
|
-
super(...arguments), this._chartType =
|
|
17
|
+
super(...arguments), this._chartType = n.ComboLineAndBarSeries;
|
|
19
18
|
}
|
|
20
19
|
async setup(e) {
|
|
21
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (
|
|
20
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && ($(e.config?.series) && this.initDefaultSeries(), await this.rebuildSeries()), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
22
21
|
}
|
|
23
22
|
// ---------------------------------------------------------------------------------------------
|
|
24
23
|
// Protected Methods
|
|
25
24
|
// ---------------------------------------------------------------------------------------------
|
|
26
25
|
/** @private */
|
|
27
26
|
generateDefaultConfig() {
|
|
28
|
-
const e =
|
|
27
|
+
const e = R(this.commonStrings);
|
|
29
28
|
return e.series = [
|
|
30
|
-
|
|
29
|
+
h({
|
|
31
30
|
commonStrings: this.commonStrings,
|
|
32
|
-
objectIDField:
|
|
31
|
+
objectIDField: S(this.layerInfo.layer).idField
|
|
33
32
|
})
|
|
34
33
|
], e;
|
|
35
34
|
}
|
|
@@ -39,44 +38,44 @@ class o extends T {
|
|
|
39
38
|
* @private
|
|
40
39
|
*/
|
|
41
40
|
initDefaultSeries() {
|
|
42
|
-
this.defaultSeries =
|
|
41
|
+
this.defaultSeries = y({
|
|
43
42
|
commonStrings: this.commonStrings,
|
|
44
|
-
objectIDField:
|
|
43
|
+
objectIDField: S(this.layerInfo.layer).idField
|
|
45
44
|
});
|
|
46
45
|
}
|
|
47
46
|
setSeriesType(e, i) {
|
|
48
47
|
if (e < this._config.series.length && e >= 0) {
|
|
49
|
-
const
|
|
50
|
-
let
|
|
51
|
-
if (i ===
|
|
52
|
-
const
|
|
53
|
-
delete
|
|
54
|
-
...
|
|
48
|
+
const o = this._config.series[e];
|
|
49
|
+
let s;
|
|
50
|
+
if (i === n.BarSeries && d(o)) {
|
|
51
|
+
const t = { ...o };
|
|
52
|
+
delete t.lineSymbol, delete t.markerSymbol, delete t.lineSmoothed, delete t.markerVisible, delete t.areaColor, delete t.stackNegativeValuesToBaseline, s = {
|
|
53
|
+
...h({
|
|
55
54
|
commonStrings: this.commonStrings,
|
|
56
|
-
objectIDField:
|
|
55
|
+
objectIDField: S(this.layerInfo.layer).idField
|
|
57
56
|
}),
|
|
58
|
-
...
|
|
59
|
-
type:
|
|
60
|
-
y: [
|
|
61
|
-
},
|
|
62
|
-
...
|
|
63
|
-
color:
|
|
57
|
+
...t,
|
|
58
|
+
type: n.BarSeries,
|
|
59
|
+
y: [o.y].flat()[0]
|
|
60
|
+
}, s.fillSymbol && (s.fillSymbol = {
|
|
61
|
+
...s.fillSymbol,
|
|
62
|
+
color: o.lineSymbol?.color
|
|
64
63
|
});
|
|
65
|
-
} else if (i ===
|
|
66
|
-
const
|
|
67
|
-
delete
|
|
68
|
-
...
|
|
64
|
+
} else if (i === n.LineSeries && q(o)) {
|
|
65
|
+
const t = { ...o };
|
|
66
|
+
delete t.fillSymbol, delete t.hideOversizedStackedLabels, delete t.hideOversizedSideBySideLabels, s = {
|
|
67
|
+
...y({
|
|
69
68
|
commonStrings: this.commonStrings,
|
|
70
|
-
objectIDField:
|
|
69
|
+
objectIDField: S(this.layerInfo.layer).idField
|
|
71
70
|
}),
|
|
72
|
-
...
|
|
73
|
-
type:
|
|
74
|
-
},
|
|
75
|
-
...
|
|
76
|
-
color:
|
|
71
|
+
...t,
|
|
72
|
+
type: n.LineSeries
|
|
73
|
+
}, s.lineSymbol && (s.lineSymbol = {
|
|
74
|
+
...s.lineSymbol,
|
|
75
|
+
color: o.fillSymbol?.color
|
|
77
76
|
});
|
|
78
77
|
}
|
|
79
|
-
|
|
78
|
+
s !== void 0 && (this._config.series[e] = s);
|
|
80
79
|
}
|
|
81
80
|
}
|
|
82
81
|
/**
|
|
@@ -89,8 +88,11 @@ class o extends T {
|
|
|
89
88
|
return u(e, this._config);
|
|
90
89
|
}
|
|
91
90
|
setSeriesLineStyle(e, i) {
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
k({
|
|
92
|
+
style: e,
|
|
93
|
+
seriesIndex: i,
|
|
94
|
+
config: this._config
|
|
95
|
+
});
|
|
94
96
|
}
|
|
95
97
|
/**
|
|
96
98
|
* Gets the line width of the series based on the series index.
|
|
@@ -102,8 +104,11 @@ class o extends T {
|
|
|
102
104
|
return C(e, this._config);
|
|
103
105
|
}
|
|
104
106
|
setSeriesLineWidth(e, i) {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
+
M({
|
|
108
|
+
width: e,
|
|
109
|
+
seriesIndex: i,
|
|
110
|
+
config: this._config
|
|
111
|
+
});
|
|
107
112
|
}
|
|
108
113
|
/**
|
|
109
114
|
* Gets the marker color of the series based on the series index.
|
|
@@ -112,11 +117,11 @@ class o extends T {
|
|
|
112
117
|
* @param seriesIndex - The index of the series.
|
|
113
118
|
*/
|
|
114
119
|
getSeriesMarkerColor(e) {
|
|
115
|
-
return
|
|
120
|
+
return v(e, this._config);
|
|
116
121
|
}
|
|
117
122
|
setSeriesMarkerColor(e, i) {
|
|
118
|
-
const
|
|
119
|
-
|
|
123
|
+
const o = this._config.series?.[i];
|
|
124
|
+
d(o) && z(e, i, this._config);
|
|
120
125
|
}
|
|
121
126
|
/**
|
|
122
127
|
* Gets the marker style of the series based on the series index.
|
|
@@ -128,8 +133,11 @@ class o extends T {
|
|
|
128
133
|
return O(e, this._config);
|
|
129
134
|
}
|
|
130
135
|
setSeriesMarkerStyle(e, i) {
|
|
131
|
-
|
|
132
|
-
|
|
136
|
+
B({
|
|
137
|
+
style: e,
|
|
138
|
+
seriesIndex: i,
|
|
139
|
+
config: this._config
|
|
140
|
+
});
|
|
133
141
|
}
|
|
134
142
|
/**
|
|
135
143
|
* Gets the marker size of the series based on the series index.
|
|
@@ -140,8 +148,11 @@ class o extends T {
|
|
|
140
148
|
return V(e, this._config);
|
|
141
149
|
}
|
|
142
150
|
setSeriesMarkerSize(e, i) {
|
|
143
|
-
|
|
144
|
-
|
|
151
|
+
D({
|
|
152
|
+
size: e,
|
|
153
|
+
seriesIndex: i,
|
|
154
|
+
config: this._config
|
|
155
|
+
});
|
|
145
156
|
}
|
|
146
157
|
/**
|
|
147
158
|
* Specify whether line segments of the series should be smoothed.
|
|
@@ -149,11 +160,10 @@ class o extends T {
|
|
|
149
160
|
* @param seriesIndex - The index of the series.
|
|
150
161
|
*/
|
|
151
162
|
isLineSmoothed(e) {
|
|
152
|
-
return
|
|
163
|
+
return A(e, this._config);
|
|
153
164
|
}
|
|
154
165
|
setLineSmoothed(e, i) {
|
|
155
|
-
|
|
156
|
-
l(s) && A({
|
|
166
|
+
F({
|
|
157
167
|
smoothed: e,
|
|
158
168
|
seriesIndex: i,
|
|
159
169
|
config: this._config
|
|
@@ -168,8 +178,7 @@ class o extends T {
|
|
|
168
178
|
return H(e, this._config);
|
|
169
179
|
}
|
|
170
180
|
setAreaVisible(e, i) {
|
|
171
|
-
|
|
172
|
-
l(s) && d({
|
|
181
|
+
g({
|
|
173
182
|
visible: e,
|
|
174
183
|
seriesIndex: i,
|
|
175
184
|
config: this._config
|
|
@@ -181,16 +190,26 @@ class o extends T {
|
|
|
181
190
|
* @param seriesIndex - The index of the series.
|
|
182
191
|
*/
|
|
183
192
|
isMarkerVisible(e) {
|
|
184
|
-
return
|
|
193
|
+
return W(e, this._config);
|
|
185
194
|
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
l(s) && W({
|
|
195
|
+
setMarkersVisible(e, i) {
|
|
196
|
+
j({
|
|
189
197
|
visible: e,
|
|
190
198
|
seriesIndex: i,
|
|
191
199
|
config: this._config
|
|
192
200
|
});
|
|
193
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
204
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
205
|
+
*
|
|
206
|
+
* @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
207
|
+
* @param seriesIndex - The index of the series.
|
|
208
|
+
* @deprecated since 5.2. Use {@link model/combo-bar-line-chart-model/combo-bar-line-chart-model#setMarkersVisible setMarkersVisible} instead. This method will be removed from `ComboBarLineChartModel` in 6.0.
|
|
209
|
+
*/
|
|
210
|
+
setMarkerVisible(e, i) {
|
|
211
|
+
this.setMarkersVisible(e, i);
|
|
212
|
+
}
|
|
194
213
|
/**
|
|
195
214
|
* Gets the color of the filled area for line chart.
|
|
196
215
|
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
@@ -201,26 +220,29 @@ class o extends T {
|
|
|
201
220
|
return w(e, this._config);
|
|
202
221
|
}
|
|
203
222
|
setAreaColor(e, i) {
|
|
204
|
-
const
|
|
205
|
-
|
|
223
|
+
const o = this._config.series?.[i];
|
|
224
|
+
d(o) && (g({
|
|
206
225
|
visible: !0,
|
|
207
226
|
seriesIndex: i,
|
|
208
227
|
config: this._config
|
|
209
|
-
}),
|
|
228
|
+
}), I(e, i, this._config));
|
|
210
229
|
}
|
|
211
230
|
/**
|
|
212
|
-
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
231
|
+
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
213
232
|
*
|
|
214
233
|
* If the index is out of bounds, it will return `undefined`.
|
|
215
234
|
*
|
|
216
235
|
* @param seriesIndex - The index of the series.
|
|
217
236
|
*/
|
|
218
237
|
getSeriesHideOversizedSideBySideLabels(e) {
|
|
219
|
-
return
|
|
238
|
+
return m(e, this._config);
|
|
220
239
|
}
|
|
221
240
|
setSeriesHideOversizedSideBySideLabels(e, i) {
|
|
222
|
-
|
|
223
|
-
|
|
241
|
+
b({
|
|
242
|
+
hide: e,
|
|
243
|
+
seriesIndex: i,
|
|
244
|
+
config: this._config
|
|
245
|
+
});
|
|
224
246
|
}
|
|
225
247
|
/**
|
|
226
248
|
* Gets whether to hide oversized data labels of the stacked series based on the series index.
|
|
@@ -229,51 +251,50 @@ class o extends T {
|
|
|
229
251
|
* @param seriesIndex - The index of the series.
|
|
230
252
|
*/
|
|
231
253
|
getSeriesHideOversizedStackedLabels(e) {
|
|
232
|
-
return
|
|
254
|
+
return p(e, this._config);
|
|
233
255
|
}
|
|
234
256
|
setSeriesHideOversizedStackedLabels(e, i) {
|
|
235
|
-
|
|
236
|
-
g(s) && L(e, i, this._config);
|
|
257
|
+
L({ hide: e, seriesIndex: i, config: this._config });
|
|
237
258
|
}
|
|
238
259
|
}
|
|
239
|
-
|
|
260
|
+
l([
|
|
240
261
|
a
|
|
241
|
-
],
|
|
242
|
-
|
|
262
|
+
], r.prototype, "setSeriesType");
|
|
263
|
+
l([
|
|
243
264
|
a
|
|
244
|
-
],
|
|
245
|
-
|
|
265
|
+
], r.prototype, "setSeriesLineStyle");
|
|
266
|
+
l([
|
|
246
267
|
a
|
|
247
|
-
],
|
|
248
|
-
|
|
268
|
+
], r.prototype, "setSeriesLineWidth");
|
|
269
|
+
l([
|
|
249
270
|
a
|
|
250
|
-
],
|
|
251
|
-
|
|
271
|
+
], r.prototype, "setSeriesMarkerColor");
|
|
272
|
+
l([
|
|
252
273
|
a
|
|
253
|
-
],
|
|
254
|
-
|
|
274
|
+
], r.prototype, "setSeriesMarkerStyle");
|
|
275
|
+
l([
|
|
255
276
|
a
|
|
256
|
-
],
|
|
257
|
-
|
|
277
|
+
], r.prototype, "setSeriesMarkerSize");
|
|
278
|
+
l([
|
|
258
279
|
a
|
|
259
|
-
],
|
|
260
|
-
|
|
280
|
+
], r.prototype, "setLineSmoothed");
|
|
281
|
+
l([
|
|
261
282
|
a
|
|
262
|
-
],
|
|
263
|
-
|
|
283
|
+
], r.prototype, "setAreaVisible");
|
|
284
|
+
l([
|
|
264
285
|
a
|
|
265
|
-
],
|
|
266
|
-
|
|
286
|
+
], r.prototype, "setMarkersVisible");
|
|
287
|
+
l([
|
|
267
288
|
a
|
|
268
|
-
],
|
|
269
|
-
|
|
289
|
+
], r.prototype, "setAreaColor");
|
|
290
|
+
l([
|
|
270
291
|
a
|
|
271
|
-
],
|
|
272
|
-
|
|
292
|
+
], r.prototype, "setSeriesHideOversizedSideBySideLabels");
|
|
293
|
+
l([
|
|
273
294
|
a
|
|
274
|
-
],
|
|
275
|
-
const
|
|
276
|
-
|
|
295
|
+
], r.prototype, "setSeriesHideOversizedStackedLabels");
|
|
296
|
+
const G = [P, _];
|
|
297
|
+
N(r, G);
|
|
277
298
|
export {
|
|
278
|
-
|
|
299
|
+
r as ComboBarLineChartModel
|
|
279
300
|
};
|
package/dist/chunks/common.js
CHANGED
|
@@ -1,43 +1,58 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import { C as
|
|
4
|
-
import {
|
|
5
|
-
var
|
|
6
|
-
for (var s =
|
|
7
|
-
(
|
|
8
|
-
return s &&
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { cloneDeep as m } from "lodash-es";
|
|
3
|
+
import { C as L, m as d } from "./model-setter.js";
|
|
4
|
+
import { a0 as p, a2 as l, a1 as v } from "./index3.js";
|
|
5
|
+
var y = Object.defineProperty, u = Object.getOwnPropertyDescriptor, f = (e, t, a, r) => {
|
|
6
|
+
for (var s = u(t, a), o = e.length - 1, i; o >= 0; o--)
|
|
7
|
+
(i = e[o]) && (s = i(t, a, s) || s);
|
|
8
|
+
return s && y(t, a, s), s;
|
|
9
9
|
};
|
|
10
10
|
function h(e) {
|
|
11
11
|
return e !== void 0 && "dataLabelsSymbol" in e;
|
|
12
12
|
}
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
const n = (e, t) => {
|
|
14
|
+
if (t !== void 0)
|
|
15
|
+
return e.series[t]?.dataLabels?.content;
|
|
16
|
+
for (const a of e.series)
|
|
17
|
+
if (a.dataLabels !== void 0)
|
|
18
|
+
return a.dataLabels.content;
|
|
19
|
+
}, b = (e, t, a) => {
|
|
20
|
+
const r = a !== void 0 ? [t.series[a]] : t.series;
|
|
21
|
+
for (const s of r)
|
|
22
|
+
s !== void 0 && ((s.dataLabels === void 0 || e === void 0) && (s.dataLabels = p({
|
|
20
23
|
text: "",
|
|
21
24
|
visible: !0,
|
|
22
|
-
font:
|
|
23
|
-
type:
|
|
24
|
-
})), e !== void 0 && (
|
|
25
|
+
font: v(l.DataLabels),
|
|
26
|
+
type: l.DataLabels
|
|
27
|
+
})), e !== void 0 && (s.dataLabels.content = m(e)));
|
|
25
28
|
};
|
|
26
|
-
class
|
|
29
|
+
class c extends L {
|
|
27
30
|
/**
|
|
28
31
|
* Data labels text symbol (font, color, style).
|
|
29
32
|
*/
|
|
30
33
|
get dataLabelsSymbol() {
|
|
31
|
-
return
|
|
34
|
+
return n(this._config);
|
|
32
35
|
}
|
|
33
36
|
set dataLabelsSymbol(t) {
|
|
34
|
-
|
|
37
|
+
b(t, this._config);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Gets the data labels text symbol for a specific series in the chart config.
|
|
41
|
+
*/
|
|
42
|
+
getDataLabelsSymbol(t) {
|
|
43
|
+
return n(this._config, t);
|
|
44
|
+
}
|
|
45
|
+
setDataLabelsSymbol(t, a) {
|
|
46
|
+
b(t, this._config, a);
|
|
35
47
|
}
|
|
36
48
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
],
|
|
49
|
+
f([
|
|
50
|
+
d
|
|
51
|
+
], c.prototype, "dataLabelsSymbol");
|
|
52
|
+
f([
|
|
53
|
+
d
|
|
54
|
+
], c.prototype, "setDataLabelsSymbol");
|
|
40
55
|
export {
|
|
41
|
-
|
|
56
|
+
c as W,
|
|
42
57
|
h as i
|
|
43
58
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import { C as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { m as o, C as
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { C as f } from "./chart-model.js";
|
|
3
|
+
import { f as y } from "./chart-object-literals.js";
|
|
4
|
+
import { a6 as d, a0 as b, a2 as r, a1 as v } from "./index3.js";
|
|
5
|
+
import { m as o, C as h } from "./model-setter.js";
|
|
6
6
|
const L = (t) => {
|
|
7
7
|
let e = !1;
|
|
8
8
|
return t.legend !== void 0 && (e = t.legend.visible ?? !0), e;
|
|
@@ -65,7 +65,7 @@ var H = Object.defineProperty, W = Object.getOwnPropertyDescriptor, a = (t, e, i
|
|
|
65
65
|
(n = t[s]) && (l = n(e, i, l) || l);
|
|
66
66
|
return l && H(e, i, l), l;
|
|
67
67
|
};
|
|
68
|
-
class g extends
|
|
68
|
+
class g extends f {
|
|
69
69
|
// ---------------------------------------------------------------------------------------------
|
|
70
70
|
// Data Props
|
|
71
71
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -186,7 +186,7 @@ var q = Object.defineProperty, z = Object.getOwnPropertyDescriptor, T = (t, e, i
|
|
|
186
186
|
(n = t[s]) && (l = n(e, i, l) || l);
|
|
187
187
|
return l && q(e, i, l), l;
|
|
188
188
|
};
|
|
189
|
-
class _ extends
|
|
189
|
+
class _ extends f {
|
|
190
190
|
/**
|
|
191
191
|
* Gets the visibility of the data tooltips.
|
|
192
192
|
* - If the `seriesIndex` is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
|
|
@@ -228,7 +228,7 @@ var A = Object.defineProperty, G = Object.getOwnPropertyDescriptor, J = (t, e, i
|
|
|
228
228
|
const K = (t) => t.colorMatch ?? !0, N = (t, e) => {
|
|
229
229
|
e.colorMatch = t;
|
|
230
230
|
};
|
|
231
|
-
class Q extends
|
|
231
|
+
class Q extends h {
|
|
232
232
|
/**
|
|
233
233
|
* Whether the chart should attempt to match the data source's colors.
|
|
234
234
|
*
|
|
@@ -260,7 +260,7 @@ const Z = (t) => t.series[0]?.dataLabels?.visible ?? !1, I = (t, e) => {
|
|
|
260
260
|
});
|
|
261
261
|
});
|
|
262
262
|
};
|
|
263
|
-
class ee extends
|
|
263
|
+
class ee extends h {
|
|
264
264
|
/**
|
|
265
265
|
* Whether data labels are visible.
|
|
266
266
|
*/
|
package/dist/chunks/data.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "lodash-es";
|
|
3
|
-
import {
|
|
4
|
-
import { g as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
function
|
|
3
|
+
import { p as B, r as L, q as $, co as N, bY as h, bA as I, w as H, aM as P, c8 as _, y as M } from "./index.js";
|
|
4
|
+
import { g as C } from "./series-types.js";
|
|
5
|
+
import { P as v, H as A, S as o } from "./common.js";
|
|
6
|
+
import { a as d, d as g, g as l, t as n } from "./chart-object-literals.js";
|
|
7
|
+
import { a as U } from "./index2.js";
|
|
8
|
+
import { l as W } from "./index3.js";
|
|
9
|
+
import { i as Y } from "./type-guards.js";
|
|
10
|
+
function E(e, r) {
|
|
11
11
|
let s;
|
|
12
12
|
return r === n.Category && Array.isArray(e) ? s = o.customSort : r === n.Category ? s = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? s = o.yAxisAsc : s = o.yAxisDesc, s;
|
|
13
13
|
}
|
|
@@ -15,25 +15,25 @@ function w(e, r) {
|
|
|
15
15
|
let s;
|
|
16
16
|
return r === n.Category && Array.isArray(e) ? s = A.customSort : s = e === l.Ascending ? A.Asc : A.Desc, s;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const K = (e) => {
|
|
19
19
|
const r = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
20
|
-
return
|
|
20
|
+
return E(
|
|
21
21
|
r,
|
|
22
22
|
e.orderOptions?.data?.orderType ?? n.Category
|
|
23
23
|
);
|
|
24
|
-
},
|
|
25
|
-
const r =
|
|
24
|
+
}, R = (e) => {
|
|
25
|
+
const r = C(e.series);
|
|
26
26
|
let s = !1;
|
|
27
|
-
return (r === d.BarSeries || r === d.LineSeries) && (s =
|
|
27
|
+
return (r === d.BarSeries || r === d.LineSeries) && (s = K(e) === o.customSort), s;
|
|
28
28
|
}, ee = (e) => {
|
|
29
29
|
let r = [];
|
|
30
30
|
const s = e.orderOptions?.data?.orderType;
|
|
31
|
-
return
|
|
31
|
+
return R(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
|
|
32
32
|
}, re = (e, r, s, t) => {
|
|
33
|
-
const i =
|
|
33
|
+
const i = C(r.series), m = P(r);
|
|
34
34
|
r.orderOptions ??= {};
|
|
35
|
-
let a =
|
|
36
|
-
if (
|
|
35
|
+
let a = m ? [""] : l.Ascending;
|
|
36
|
+
if (m)
|
|
37
37
|
e === A.customSort && s !== void 0 ? a = [...s] : a = e === A.Desc ? l.Descending : l.Ascending, t ? r.orderOptions.data = {
|
|
38
38
|
...r.orderOptions.data,
|
|
39
39
|
orderByY: a,
|
|
@@ -59,25 +59,25 @@ const E = (e) => {
|
|
|
59
59
|
xAxisField: s,
|
|
60
60
|
numericFields: t,
|
|
61
61
|
aggregationType: i,
|
|
62
|
-
mode:
|
|
62
|
+
mode: m,
|
|
63
63
|
layer: a,
|
|
64
64
|
numericFieldIndex: c,
|
|
65
|
-
seriesIndex:
|
|
65
|
+
seriesIndex: x,
|
|
66
66
|
splitByField: S = "",
|
|
67
67
|
fieldList: O
|
|
68
|
-
} = e, T =
|
|
68
|
+
} = e, T = C(r.series), b = B(r.series);
|
|
69
69
|
let f;
|
|
70
70
|
if (Y(a)) {
|
|
71
|
-
const
|
|
72
|
-
f = t.length === 1 && t[0] ===
|
|
71
|
+
const y = N(a);
|
|
72
|
+
f = t.length === 1 && t[0] === y;
|
|
73
73
|
} else {
|
|
74
|
-
const { idField:
|
|
75
|
-
f = D && t.length === 1 && t[0] ===
|
|
74
|
+
const { idField: y, isTraditionalTypeOID: D } = L($(a));
|
|
75
|
+
f = D && t.length === 1 && t[0] === y;
|
|
76
76
|
}
|
|
77
|
-
let p = "y",
|
|
77
|
+
let p = "y", F = "y";
|
|
78
78
|
switch (T) {
|
|
79
79
|
case d.PieSeries: {
|
|
80
|
-
i !== g.NoAggregation ?
|
|
80
|
+
i !== g.NoAggregation ? m === v.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = M : p = t[0];
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
case d.BarSeries:
|
|
@@ -86,39 +86,39 @@ const E = (e) => {
|
|
|
86
86
|
case d.RadarSeries:
|
|
87
87
|
case d.HeatSeries: {
|
|
88
88
|
if (S === "" || t.length > 1)
|
|
89
|
-
|
|
89
|
+
j({
|
|
90
90
|
fieldName: s,
|
|
91
91
|
numericFields: t,
|
|
92
92
|
fieldList: O ?? []
|
|
93
|
-
}) || b === U.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0],
|
|
93
|
+
}) || b === U.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
|
|
94
94
|
else {
|
|
95
|
-
const
|
|
96
|
-
p = i !== g.NoAggregation ? `${i}_${
|
|
95
|
+
const y = t[0];
|
|
96
|
+
p = i !== g.NoAggregation ? `${i}_${y}_${x ?? 0}`.toUpperCase() : y, F = f ? u(g.Count) : u(`${i} of ${y}`);
|
|
97
97
|
}
|
|
98
98
|
break;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
return {
|
|
102
102
|
name: p,
|
|
103
|
-
description:
|
|
103
|
+
description: F
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
function R(e) {
|
|
107
|
-
const { fieldName: r, fieldList: s } = e, t = x(s ?? [], r);
|
|
108
|
-
return r === B || r === L || r === W || r === void 0 || r.trim() === "" || t === void 0;
|
|
109
|
-
}
|
|
110
106
|
function V(e) {
|
|
111
|
-
const { fieldName: r, fieldList: s
|
|
112
|
-
return
|
|
107
|
+
const { fieldName: r, fieldList: s } = e, t = h(s ?? [], r);
|
|
108
|
+
return r === I || r === H || r === W || r === void 0 || r.trim() === "" || t === void 0;
|
|
109
|
+
}
|
|
110
|
+
function j(e) {
|
|
111
|
+
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((m) => h(s ?? [], m)?.type !== "esriFieldTypeOID");
|
|
112
|
+
return V({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
|
|
113
113
|
}
|
|
114
114
|
export {
|
|
115
115
|
se as a,
|
|
116
116
|
w as b,
|
|
117
|
-
|
|
117
|
+
E as c,
|
|
118
118
|
re as d,
|
|
119
119
|
ee as e,
|
|
120
|
-
|
|
120
|
+
K as f,
|
|
121
121
|
te as g,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
j as s,
|
|
123
|
+
V as x
|
|
124
124
|
};
|