@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
package/dist/chunks/index5.js
CHANGED
|
@@ -1,103 +1,69 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
return e.every((t) => t.type === r.PieSeries);
|
|
59
|
-
}
|
|
60
|
-
function R(e) {
|
|
61
|
-
return e.every(n);
|
|
62
|
-
}
|
|
63
|
-
function P(e) {
|
|
64
|
-
return e?.type === r.NumberAxisFormat;
|
|
65
|
-
}
|
|
66
|
-
function H(e) {
|
|
67
|
-
return e === void 0 || "bins" in e;
|
|
68
|
-
}
|
|
69
|
-
function O(e) {
|
|
70
|
-
return e === void 0 || "dataItems" in e;
|
|
71
|
-
}
|
|
72
|
-
function W(e) {
|
|
73
|
-
return e === void 0 || "dataItems" in e && "r2" in e;
|
|
74
|
-
}
|
|
75
|
-
function D(e) {
|
|
76
|
-
return "value" in e;
|
|
77
|
-
}
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
const a = {
|
|
3
|
+
DataProcessComplete: "arcgisDataProcessComplete",
|
|
4
|
+
DataFetchComplete: "arcgisDataFetchComplete",
|
|
5
|
+
DataProcessError: "arcgisDataProcessError",
|
|
6
|
+
LegendItemVisibilityChange: "arcgisLegendItemVisibilityChange",
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated since 5.2. Use RenderingComplete from {@link utils/types/#ChartComponentEvents} instead.
|
|
9
|
+
*/
|
|
10
|
+
UpdateComplete: "arcgisUpdateComplete",
|
|
11
|
+
SeriesColorChange: "arcgisSeriesColorChange",
|
|
12
|
+
AxesMinMaxChange: "arcgisAxesMinMaxChange",
|
|
13
|
+
DefaultActionSelect: "arcgisDefaultActionSelect",
|
|
14
|
+
SelectionComplete: "arcgisSelectionComplete",
|
|
15
|
+
ActionBarToggle: "arcgisActionBarToggle",
|
|
16
|
+
NoRenderPropChange: "arcgisNoRenderPropChange",
|
|
17
|
+
BadDataWarningRaise: "arcgisBadDataWarningRaise",
|
|
18
|
+
InvalidConfigRaise: "arcgisInvalidConfigWarningRaise",
|
|
19
|
+
SeriesOrder: "arcgisSeriesOrder",
|
|
20
|
+
RuntimeError: "arcgisRuntimeError",
|
|
21
|
+
ConfigChange: "arcgisConfigChange",
|
|
22
|
+
RenderingComplete: "arcgisRenderingComplete"
|
|
23
|
+
}, t = {
|
|
24
|
+
FilterBySelection: "filterBySelection",
|
|
25
|
+
FilterByExtent: "filterByExtent",
|
|
26
|
+
Legend: "legend",
|
|
27
|
+
RotateChart: "rotateChart",
|
|
28
|
+
Selection: "selection",
|
|
29
|
+
ClearSelection: "clearSelection",
|
|
30
|
+
SwitchSelection: "switchSelection",
|
|
31
|
+
Zoom: "zoom",
|
|
32
|
+
FullExtent: "fullExtent",
|
|
33
|
+
EditChart: "editChart",
|
|
34
|
+
ExportAsImage: "exportAsImage",
|
|
35
|
+
ExportAsCSV: "exportAsCSV"
|
|
36
|
+
}, i = {
|
|
37
|
+
Active: "active",
|
|
38
|
+
Inactive: "inactive"
|
|
39
|
+
}, n = {
|
|
40
|
+
Enabled: "enabled",
|
|
41
|
+
Disabled: "disabled"
|
|
42
|
+
}, r = {
|
|
43
|
+
Ignore: "ignore",
|
|
44
|
+
Throw: "throw"
|
|
45
|
+
}, e = {
|
|
46
|
+
Ignore: "ignore",
|
|
47
|
+
Refresh: "refresh"
|
|
48
|
+
}, o = e, s = e, c = e, l = e, g = {
|
|
49
|
+
/**
|
|
50
|
+
* Enable syncing selections between chart and layer view
|
|
51
|
+
*/
|
|
52
|
+
Enabled: "enabled",
|
|
53
|
+
/**
|
|
54
|
+
* Disable syncing selections between chart and layer view
|
|
55
|
+
*/
|
|
56
|
+
Disabled: "disabled"
|
|
57
|
+
};
|
|
78
58
|
export {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
P as k,
|
|
90
|
-
I as l,
|
|
91
|
-
l as m,
|
|
92
|
-
A as n,
|
|
93
|
-
c as o,
|
|
94
|
-
y as p,
|
|
95
|
-
h as q,
|
|
96
|
-
d as r,
|
|
97
|
-
p as s,
|
|
98
|
-
D as t,
|
|
99
|
-
O as u,
|
|
100
|
-
H as v,
|
|
101
|
-
W as w,
|
|
102
|
-
f as x
|
|
59
|
+
i as A,
|
|
60
|
+
a as C,
|
|
61
|
+
t as D,
|
|
62
|
+
r as E,
|
|
63
|
+
o as L,
|
|
64
|
+
g as S,
|
|
65
|
+
l as V,
|
|
66
|
+
s as a,
|
|
67
|
+
c as b,
|
|
68
|
+
n as c
|
|
103
69
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import {
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { d as e } from "./chart-object-literals.js";
|
|
3
3
|
const t = {
|
|
4
4
|
actionBar: "action-bar",
|
|
5
5
|
customActionTop: "custom-action-top",
|
|
@@ -93,16 +93,16 @@ export {
|
|
|
93
93
|
l as B,
|
|
94
94
|
o as C,
|
|
95
95
|
r as F,
|
|
96
|
-
|
|
96
|
+
n as H,
|
|
97
97
|
s as L,
|
|
98
98
|
d as P,
|
|
99
|
-
|
|
99
|
+
t as S,
|
|
100
100
|
u as W,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
F as a,
|
|
102
|
+
g as b,
|
|
103
|
+
y as c,
|
|
104
|
+
c as d,
|
|
105
|
+
i as e,
|
|
106
|
+
m as f,
|
|
107
107
|
p as g
|
|
108
108
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { m as
|
|
6
|
-
import { M as
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { a as d } from "./chart-object-literals.js";
|
|
3
|
+
import { av as m, Y as l, g as S, r as c } from "./index3.js";
|
|
4
|
+
import { r as a } from "./index.js";
|
|
5
|
+
import { m as g } from "./model-setter.js";
|
|
6
|
+
import { M as y } from "./model-with-line-marker-styling.js";
|
|
7
7
|
import { s as u, a as p, b, c as I, d as v, W as _ } from "./negative-values-stacked-to-baseline.js";
|
|
8
|
-
import { S as C, s as
|
|
8
|
+
import { S as C, s as M, a as k } from "./serial-chart-model.js";
|
|
9
9
|
import { h as f } from "./serial-chart-data.js";
|
|
10
|
-
import {
|
|
11
|
-
var
|
|
12
|
-
for (var i =
|
|
13
|
-
(
|
|
14
|
-
return i &&
|
|
10
|
+
import { h as x } from "./utils.js";
|
|
11
|
+
var L = Object.defineProperty, D = Object.getOwnPropertyDescriptor, w = (o, e, s, t) => {
|
|
12
|
+
for (var i = D(e, s), r = o.length - 1, n; r >= 0; r--)
|
|
13
|
+
(n = o[r]) && (i = n(e, s, i) || i);
|
|
14
|
+
return i && L(e, s, i), i;
|
|
15
15
|
};
|
|
16
16
|
class h extends C {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this._chartType =
|
|
18
|
+
super(...arguments), this._chartType = d.LineSeries;
|
|
19
19
|
}
|
|
20
20
|
async setup(e) {
|
|
21
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && this.
|
|
21
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.rebuildSeries(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
22
22
|
}
|
|
23
23
|
// #end region
|
|
24
24
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -26,9 +26,9 @@ class h extends C {
|
|
|
26
26
|
// ---------------------------------------------------------------------------------------------
|
|
27
27
|
/** @private */
|
|
28
28
|
generateDefaultConfig() {
|
|
29
|
-
const e =
|
|
29
|
+
const e = m(this.commonStrings);
|
|
30
30
|
return e.series = [
|
|
31
|
-
|
|
31
|
+
l({
|
|
32
32
|
commonStrings: this.commonStrings,
|
|
33
33
|
objectIDField: a(this.layerInfo.layer).idField
|
|
34
34
|
})
|
|
@@ -39,27 +39,43 @@ class h extends C {
|
|
|
39
39
|
* @private
|
|
40
40
|
*/
|
|
41
41
|
initDefaultSeries() {
|
|
42
|
-
this.defaultSeries =
|
|
42
|
+
this.defaultSeries = l({
|
|
43
43
|
commonStrings: this.commonStrings,
|
|
44
44
|
objectIDField: a(this.layerInfo.layer).idField
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
resetSeriesStyling() {
|
|
48
48
|
for (let e = 0; e < this.seriesLength; e += 1) {
|
|
49
|
-
const s =
|
|
49
|
+
const s = S({
|
|
50
50
|
colorIndex: e,
|
|
51
51
|
opacity: c
|
|
52
52
|
});
|
|
53
|
-
if (
|
|
53
|
+
if (M(s, e, this._config), u(s, e, this._config), this.layerInfo !== void 0) {
|
|
54
54
|
const t = this.getSeriesId(e), i = f({
|
|
55
55
|
config: this._config,
|
|
56
56
|
seriesIndex: e,
|
|
57
57
|
layerInfo: this.layerInfo,
|
|
58
58
|
commonStrings: this.commonStrings
|
|
59
59
|
});
|
|
60
|
-
i !== a(this.layerInfo.layer).idField &&
|
|
60
|
+
i !== a(this.layerInfo.layer).idField && k(i ?? t, e, this._config);
|
|
61
61
|
}
|
|
62
|
-
p(
|
|
62
|
+
p({
|
|
63
|
+
style: this.defaultSeries?.lineSymbol?.style,
|
|
64
|
+
seriesIndex: e,
|
|
65
|
+
config: this._config
|
|
66
|
+
}), b({
|
|
67
|
+
width: this.defaultSeries?.lineSymbol?.width,
|
|
68
|
+
seriesIndex: e,
|
|
69
|
+
config: this._config
|
|
70
|
+
}), I({
|
|
71
|
+
style: this.defaultSeries?.markerSymbol?.style,
|
|
72
|
+
seriesIndex: e,
|
|
73
|
+
config: this._config
|
|
74
|
+
}), v({
|
|
75
|
+
size: this.defaultSeries?.markerSymbol?.size,
|
|
76
|
+
seriesIndex: e,
|
|
77
|
+
config: this._config
|
|
78
|
+
});
|
|
63
79
|
}
|
|
64
80
|
this._config.colorMatch = !0;
|
|
65
81
|
}
|
|
@@ -88,11 +104,11 @@ class h extends C {
|
|
|
88
104
|
return e || s;
|
|
89
105
|
}
|
|
90
106
|
}
|
|
91
|
-
|
|
92
|
-
|
|
107
|
+
w([
|
|
108
|
+
g
|
|
93
109
|
], h.prototype, "resetSeriesStyling");
|
|
94
|
-
const
|
|
95
|
-
|
|
110
|
+
const F = [_, y];
|
|
111
|
+
x(h, F);
|
|
96
112
|
export {
|
|
97
113
|
h as LineChartModel
|
|
98
114
|
};
|
|
@@ -1,49 +1,28 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import { fetchT9nStringsBundle as
|
|
3
|
-
import { g } from "
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
17
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
18
|
-
import "./index3.js";
|
|
19
|
-
import "@arcgis/core/Graphic.js";
|
|
20
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
21
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
22
|
-
import "@esri/arcgis-html-sanitizer";
|
|
23
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
24
|
-
import "@arcgis/core/request.js";
|
|
25
|
-
import "@arcgis/core/geometry/Point.js";
|
|
26
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
27
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
28
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
29
|
-
import "@arcgis/core/intl.js";
|
|
30
|
-
import "@arcgis/toolkit/dom";
|
|
31
|
-
import "simple-statistics";
|
|
32
|
-
import "@arcgis/core/core/sql.js";
|
|
33
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
34
|
-
import "@arcgis/toolkit/type";
|
|
35
|
-
import "./class-breaks.js";
|
|
36
|
-
class $ extends EventTarget {
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { fetchT9nStringsBundle as f } from "@arcgis/toolkit/intl";
|
|
3
|
+
import { getElementLocale as g } from "@arcgis/toolkit/intl/dom";
|
|
4
|
+
import { g as l } from "./runtime.js";
|
|
5
|
+
import { convertChartSpec as m } from "../utils/chart-config/converter/index.js";
|
|
6
|
+
import { a6 as y } from "./index3.js";
|
|
7
|
+
import { bD as o, b9 as p, t as u, r as _ } from "./index.js";
|
|
8
|
+
import { cloneDeep as C } from "lodash-es";
|
|
9
|
+
const h = 30;
|
|
10
|
+
function U(r, e, t, i) {
|
|
11
|
+
const s = h - 1, n = Math.max(r - s, 0);
|
|
12
|
+
if (i === void 0 && (i = r - 1), !(i < n || i > r))
|
|
13
|
+
return i === r ? e : t[i - n];
|
|
14
|
+
}
|
|
15
|
+
class A extends EventTarget {
|
|
37
16
|
/**
|
|
38
17
|
* @param args
|
|
39
18
|
* @privateRemarks This "any" constructor is needed for TypeScript to merge
|
|
40
19
|
* the base class and mixin classes types together smoothly.
|
|
41
20
|
*/
|
|
42
|
-
constructor(...
|
|
43
|
-
super(), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this.dataStore = {}, this.asyncUpdatesPromise = new Promise((t) => {
|
|
21
|
+
constructor(...e) {
|
|
22
|
+
super(), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this._revision = 0, this._configHistory = [void 0], this.dataStore = {}, this.asyncUpdatesPromise = new Promise((t) => {
|
|
44
23
|
this.resolveSetup = t;
|
|
45
24
|
}), this.emitConfigUpdate = (t) => {
|
|
46
|
-
this.dispatchEvent(
|
|
25
|
+
this._revision += 1, this._configHistory.push(C(this._config)), this._configHistory.length > h && this._configHistory.shift(), this.dispatchEvent(
|
|
47
26
|
new CustomEvent("arcgisChartsModelConfigChange", {
|
|
48
27
|
detail: { config: this._config, setterName: t }
|
|
49
28
|
})
|
|
@@ -58,14 +37,28 @@ class $ extends EventTarget {
|
|
|
58
37
|
get chartType() {
|
|
59
38
|
return this._chartType;
|
|
60
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* The current revision number of the chart configuration. Increments with each update.
|
|
42
|
+
*/
|
|
43
|
+
get revision() {
|
|
44
|
+
return this._revision;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Recalls a previous chart configuration based on its revision number. Returns `undefined` if the requested revision is not available (beyond the stored history limit).
|
|
48
|
+
*
|
|
49
|
+
* If no `configRevision` number is provided, it recalls the last configuration just before the current one.
|
|
50
|
+
*/
|
|
51
|
+
recall(e) {
|
|
52
|
+
return U(this._revision, this._config, this._configHistory, e);
|
|
53
|
+
}
|
|
61
54
|
/**
|
|
62
55
|
* Checks if the current chart model is for the same chart as another chart model.
|
|
63
56
|
*
|
|
64
57
|
* @param otherModel - The other chart model to compare to.
|
|
65
58
|
*/
|
|
66
|
-
isSameChartAs(
|
|
67
|
-
const t =
|
|
68
|
-
return t !== void 0 && this._config.id ===
|
|
59
|
+
isSameChartAs(e) {
|
|
60
|
+
const t = e?.layer;
|
|
61
|
+
return t !== void 0 && this._config.id === e?.chartId && this.layerInfo?.layer.id === t.id;
|
|
69
62
|
}
|
|
70
63
|
/**
|
|
71
64
|
* Can be awaited to allow any pending async updates to complete.
|
|
@@ -83,32 +76,32 @@ class $ extends EventTarget {
|
|
|
83
76
|
* @param params.commonStrings - The t9n common strings
|
|
84
77
|
* @private
|
|
85
78
|
*/
|
|
86
|
-
async loadConfigFromLayer(
|
|
87
|
-
const { layer: t, iLayer:
|
|
88
|
-
this.commonStrings =
|
|
89
|
-
|
|
90
|
-
|
|
79
|
+
async loadConfigFromLayer(e) {
|
|
80
|
+
const { layer: t, iLayer: i, config: s, commonStrings: n } = e;
|
|
81
|
+
this.commonStrings = n ?? await f(
|
|
82
|
+
g(document.documentElement).t9nLocale,
|
|
83
|
+
l("./assets/common/t9n"),
|
|
91
84
|
"messages."
|
|
92
85
|
);
|
|
93
|
-
let
|
|
94
|
-
if (!
|
|
95
|
-
await
|
|
96
|
-
const
|
|
86
|
+
let a = t;
|
|
87
|
+
if (!a && i ? a = await o(i) : !a && s?.iLayer && (a = await o(s.iLayer)), a) {
|
|
88
|
+
await p(a);
|
|
89
|
+
const d = u(a, !0), c = _(a).idField;
|
|
97
90
|
this.layerInfo = {
|
|
98
|
-
layer:
|
|
99
|
-
layerFieldsInfo:
|
|
100
|
-
objectIdField:
|
|
91
|
+
layer: a,
|
|
92
|
+
layerFieldsInfo: d,
|
|
93
|
+
objectIdField: c
|
|
101
94
|
};
|
|
102
95
|
}
|
|
103
|
-
this._config =
|
|
96
|
+
this._config = s ? await m(s) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = y().title), i && (this._config.iLayer = i);
|
|
104
97
|
}
|
|
105
98
|
/**
|
|
106
99
|
* Manually block the async guard to queue up config updates until unblocked.
|
|
107
100
|
* @private
|
|
108
101
|
*/
|
|
109
102
|
startAsyncUpdate() {
|
|
110
|
-
this.pendingUpdates === 0 && (this.asyncConfigUpdateInProgress = !0, this.asyncUpdatesPromise = new Promise((
|
|
111
|
-
this.resolveSetup =
|
|
103
|
+
this.pendingUpdates === 0 && (this.asyncConfigUpdateInProgress = !0, this.asyncUpdatesPromise = new Promise((e) => {
|
|
104
|
+
this.resolveSetup = e;
|
|
112
105
|
})), this.pendingUpdates += 1;
|
|
113
106
|
}
|
|
114
107
|
/**
|
|
@@ -120,19 +113,21 @@ class $ extends EventTarget {
|
|
|
120
113
|
}
|
|
121
114
|
// #endregion
|
|
122
115
|
}
|
|
123
|
-
function
|
|
124
|
-
const
|
|
125
|
-
return
|
|
116
|
+
function x(r, e, t) {
|
|
117
|
+
const i = t.set, s = t.value;
|
|
118
|
+
return i && (t.set = function(n) {
|
|
126
119
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
127
|
-
|
|
120
|
+
i.call(this, n), this.emitConfigUpdate(e);
|
|
128
121
|
});
|
|
129
|
-
}),
|
|
122
|
+
}), s && (t.value = function(...n) {
|
|
130
123
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
131
|
-
|
|
124
|
+
s.apply(this, n), this.emitConfigUpdate(e);
|
|
132
125
|
});
|
|
133
126
|
}), t;
|
|
134
127
|
}
|
|
135
128
|
export {
|
|
136
|
-
|
|
137
|
-
|
|
129
|
+
A as C,
|
|
130
|
+
h as M,
|
|
131
|
+
x as m,
|
|
132
|
+
U as r
|
|
138
133
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { M as e } from "./common.js";
|
|
3
3
|
import { g as i } from "./series-types.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a as r } from "./chart-object-literals.js";
|
|
5
5
|
function o(t) {
|
|
6
6
|
switch (t) {
|
|
7
7
|
case r.BarSeries:
|